Skip to content

[Open Data] Update commitment discount eligibility (September 2026) - #2299

Open
Roland Krummenacher (RolandKrummenacher) wants to merge 1 commit into
devfrom
opendata/commitment-eligibility-20260902-30
Open

[Open Data] Update commitment discount eligibility (September 2026)#2299
Roland Krummenacher (RolandKrummenacher) wants to merge 1 commit into
devfrom
opendata/commitment-eligibility-20260902-30

Conversation

@RolandKrummenacher

@RolandKrummenacher Roland Krummenacher (RolandKrummenacher) commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Automated update of commitment discount eligibility data from the Azure Retail Prices API, produced by the Update Commitment Discount Eligibility workflow (run 33650494002).

Net +269 meters (92,624 → 92,893), composed of:

Change Count
Meters added 270
Meters removed 1
Eligibility changed on retained meters 2
Retained unchanged 92,621

Resulting distribution:

Spend / Usage eligibility dev This PR
Eligible / Eligible 56,337 56,392
Eligible / Not Eligible 26,529 26,735
Not Eligible / Eligible 9,758 9,766

The three non-additive rows, verified against the live API

All three were checked directly against prices.azure.com with api-version=2023-01-01-preview and meterRegion='primary' — the same parameters the fetch script uses. savingsPlan is only returned on that api-version, so a check without it reports no savings plan for every meter.

MeterId Service / meter dev This PR Live API
99031618-6869-5409-9d5d-617a392fa088 Virtual Machines / Type 1 Not Eligible / Eligible Eligible / Eligible savings plan 1Y+3Y, reservation 1Y+3Y
dc5d07a3-7915-5e95-921d-8beabf3c0c5a Virtual Machines / Type 1 Not Eligible / Eligible Eligible / Eligible savings plan 1Y+3Y, reservation 1Y+3Y
d0e8cf9a-e52a-5e56-ae17-318d9a1ad5c1 Foundry Models / Provisioned Managed Data Zone Unit Not Eligible / Eligible (removed) no savings plan, no reservation

The two VM meters gained savings plan pricing upstream, so Eligible / Eligible is now correct and dev is stale. The Foundry Models meter no longer has reservation or savings plan pricing, so it is eligible for neither; the script intentionally drops such meters rather than emitting Not Eligible / Not Eligible ("Meters not seen this run are dropped (so retired meters age out instead of accumulating forever)"). That combination does not exist anywhere in the dataset, before or after.

Notes

This run was dispatched manually rather than using the branch from the 2026-08-31 scheduled run (opendata/commitment-eligibility-20260831-29). That branch was cut before #2284 merged, so it still carried the pre-swap column orientation and would have reverted the FOCUS CommitmentDiscountCategory alignment across ~36k rows. It has been deleted, along with five older superseded snapshot branches.

Test plan

  • Open Data CI passes
  • Review the diff for unexpected changes (large drops in meter count, etc.)
  • Spot-check a few new meter IDs against the Azure Pricing Calculator

🤖 Generated by the Update Commitment Discount Eligibility workflow

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The PR description asserts “no meters removed” and “no eligibility flips,” but the updated CSV shows at least one meter ID missing and at least two existing meter IDs with changed eligibility, so either the data generation or the PR description needs correction.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the open data snapshot for commitment discount eligibility (generated from the Azure Retail Prices API) and refreshes associated rollup counts used for reporting/validation.

Changes:

  • Adds new meter eligibility rows to CommitmentDiscountEligibility.csv.
  • Updates service-family rollup counts in CommitmentDiscountEligibility.familycounts.json.
  • Includes at least one removed meter ID and at least two eligibility changes for existing meter IDs, which conflicts with the PR description’s “additive-only / no flips” claims.
File summaries
File Description
src/open-data/CommitmentDiscountEligibility.familycounts.json Updates rollup counts (e.g., Compute counts) to reflect the latest eligibility dataset.
src/open-data/CommitmentDiscountEligibility.csv Updates the eligibility table with newly added meter IDs and other row-level changes.
Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/open-data/CommitmentDiscountEligibility.csv
Comment thread src/open-data/CommitmentDiscountEligibility.csv
Comment thread src/open-data/CommitmentDiscountEligibility.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Review 👀 PR that is ready to be reviewed Tool: Open data Datasets to normalize and enhance FinOps reports

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants