{
 "flight": {
  "id": 40488,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Fix commitment discount spend eligibility calculation",
  "number": 1623,
  "source": "aidev",
  "commits": 2,
  "debrief": "GitHub Copilot opened a fix for the commitment discount spend eligibility calculation in the Prices_transform_v1_0 KQL function, where all records were marked Not Eligible. Two commits changed two files: one addition, one deletion. Two reviews followed. The reviewer wrote that \"the issue does not lie with the problem described here.\" Closed unmerged after human review.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 1,
  "closed_at": "2025-05-22T09:32:18+00:00",
  "deletions": 1,
  "merged_at": null,
  "opened_at": "2025-05-22T06:19:16+00:00",
  "task_type": "fix",
  "body_chars": 1527,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:51:05.037886+00:00",
  "enriched_at": null,
  "body_excerpt": "## Problem\nThe logic for determining `x_CommitmentDiscountSpendEligibility` in the `Prices_transform_v1_0` KQL function was flawed, resulting in all records being marked as 'Not Eligible'.\n\nThe current implementation:\n```kql\nextend x_CommitmentDiscountSpendEligibility = iff(x_SkuMeterId in (riMeters",
  "review_count": 2,
  "files_changed": 2,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:51:05.037886+00:00",
  "reviewer_excerpt": "Further debugging revealed that the issue does not lie with the problem described here. Therefore, this PR and the associated issue will be closed, and",
  "review_comment_count": 2,
  "reviewer_excerpt_url": "https://github.com/microsoft/finops-toolkit/pull/1623#issuecomment-2900540039"
 },
 "repo": {
  "name": "finops-toolkit",
  "owner": "microsoft",
  "stars": 623,
  "license": "MIT",
  "full_name": "microsoft/finops-toolkit",
  "primary_language": "PowerShell"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": "2025-05-22T06:19:46+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "microsoft-github-policy-service[bot]"
  },
  {
   "at": "2025-05-22T06:19:47+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "microsoft-github-policy-service[bot]"
  },
  {
   "at": "2025-05-22T06:19:48+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "microsoft-github-policy-service[bot]"
  },
  {
   "at": "2025-05-22T06:19:50+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "microsoft-github-policy-service[bot]"
  },
  {
   "at": "2025-05-22T06:24:34+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "microsoft-github-policy-service[bot]"
  },
  {
   "at": "2025-05-22T06:24:37+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "microsoft-github-policy-service[bot]"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix New-FinOpsCostExport to handle colon characters in default storage paths",
   "number": 1764,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 62,
   "deletions": 4,
   "merged_at": "2025-07-14T15:35:17+00:00",
   "opened_at": "2025-07-12T19:36:48+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": 43.97
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Document behavior for negative and missing savings values in cost calculations",
   "number": 1741,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 150178,
   "deletions": 13042,
   "merged_at": "2025-07-17T17:44:51+00:00",
   "opened_at": "2025-07-02T10:00:14+00:00",
   "task_type": "docs",
   "files_changed": 305,
   "hours_to_merge": 367.74
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Document correct backfill order and MCA billing profile requirements for FinOps Hubs",
   "number": 1733,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 88,
   "deletions": 8,
   "merged_at": "2025-07-08T09:56:50+00:00",
   "opened_at": "2025-07-01T16:07:12+00:00",
   "task_type": "docs",
   "files_changed": 4,
   "hours_to_merge": 161.83
  }
 ],
 "pr_url": "https://github.com/microsoft/finops-toolkit/pull/1623",
 "page": "https://agentriders.com/logs/microsoft/finops-toolkit/1623/"
}