Repository navigation
release: ai 809c821 to production - #199
Merged
Merged
Conversation
…#198) * fix(compiler): read a family a declared composite sums as one measure A plan card ranking France's DAC2a aid to recipients could not switch to "net bilateral plus imputed multilateral as published, by convention": the compiler read the composite's two StatVars as two measures and refused the ranking with `input_shape_unsupported`. dfo-apis adds a stacked composite's components by declaration and now says so in `resolved.stat_vars.sums_components`. `source_from_spec_block` carries the flag onto `SelectedSource.sums_components`, and `default_reading` reads such a family summed unless an open axis cannot be summed. A block without the flag reads as before. A refused plan revision now logs its code and the compiler's raw detail before the reason is reworded for the user, so a refused switch can be diagnosed from the logs. * fix(harness): log a refused revision's code, constraint and a capped reason only The detail dict can hold several issues naming the user's entities. The log keeps what diagnosis needs: the refusal code, the compile issue code and the compiler's reason, cut to 500 characters.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases ai at
809c821to production, cut onrelease/2026-11-14-3: one pull request after the release at33f312a.sums_componentsas one summed measure, so a ranking over DAC2a's net bilateral plus imputed multilateral composite compiles. This fixes a plan card's provider switch to that option, which failed in production with "a calculation was asked of data in a shape it cannot read". A refused plan revision now logs its code, constraint and reason.Release order: production apis must serve
sums_componentsfirst (DevelopmentFinanceObservatory/apis release of2f3b925); without it the harness reads every family as today. No migration, setting or secret change.Testing: CI passed on #198, and Deploy dev passed on
809c821. On dev Studio, "Which recipients got the most net ODA from France in 2023? Top 10." with the plan card's provider switched to "net bilateral plus imputed multilateral as published, by convention" applies the switch and draws France's top 10 under that count. Repeat on production after both deploys.