Repository navigation
release: apis c9f3a0c to production - #309
Merged
Merged
Conversation
…2 recorded at 133262c Moves all nine spec-kit pins to 7ef7f71. Its client contract adds the timeout-and-retries rule, the dfo cache root with legacy readerkit reads, the fetched/ cache entry, the FormatError and BundleError client codes, the party_totals_left_out outcome and the saved-file schema, takes party_totals: false as the request spelling of the cut, and is recorded against dev at 133262c.
…303) * fix(datasets): keep a year's whole totals and report each root's cut The party totals cut decides each (time period, provenance) cell of an open party role on its own. A cell where the role holds another party loses its totals. A cell that holds only totals keeps the ones the code index marks whole for that row and loses the rest; when none is whole, it loses them all, unless the role holds no other party anywhere in the frame, which keeps every total as before. So a year that publishes only totals keeps one disjoint figure, and a cut that leaves nothing out serves the frame's own version. Trace entries gain an optional `kept_periods`, one entry per group of totals kept in the same periods, and a stored trace replays exactly. Each root of the derived manifest carries the `party_totals_left_out` of its own version's trace. Ref roots are unchanged. * fix(datasets): decide party totals within each series The cut compared every series of a (time period, provenance) cell, so one recipient's whole official-donor total dropped another recipient's lone G7 row. It now decides each cell of a series: the frame's grain less the role, time_period and provenance. A cell of only totals keeps its whole totals; with none whole it drops them when the series holds a member in another period and keeps them otherwise. Trace entries replace `kept_periods` with `kept_in`, the cells of a time period and series in which the listed totals stayed, so a stored trace replays exactly. * fix(datasets): replay recorded cuts and group kept cells by series A recorded cut version re-rendered from its base frame, by the files door or the refresh door, replays the cut its trace records, so it re-hashes to its own content version under a changed rule or index. A fresh mint still cuts with the current rule. `kept_in` lists each series once with the time periods its totals stayed in. The cut decides cells in Arrow per chunk, reads a role without totals once, and drops rows with one semi-join per role and dataset, so a frame with no totals cuts as fast as before.
…ts own table
A question naming its source ("from the OECD DAC2a") pins the part's provenance to that table, and `scope.provider._not_offered` refused the inclusive option for any pinned provenance, so France's net ODA to every recipient in 2023 offered only bilateral flows. The inclusive composite reads the table the bilateral answer reads, so a pin to that table loses nothing. `_not_offered` now refuses only a pin that admits another table, and `scope.edits._with_source` lets a stacked composite replace a pin to its bilateral component's table, which the CRS switch needed.
The client contract now names the frame party columns of each role key. A contract test holds that table equal to ROLE_AXES.
…ive-pinned-provenance fix(search): keep the inclusive provider option on a part pinned to its own table
…-kit-pins-sdk-0.2 chore(registry): pin spec-kit 2f7462a, the client contract for SDK 0.2
This branch was previously 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 apis at
c9f3a0cto production, cut onrelease/2026-11-14-3: three pull requests after the release at2f3b925.kept_in). A derived manifest reports each root's cut underroots[].party_totals_left_out, and a recorded cut version rebuilt from its base replays its trace, so it keeps its content version. "OOF to India by donor" gains 1968'sDACOfficialDonorsrow.kept_inand the role-keyscolumnstable, and checks that table againstROLE_AXES.Release order: release this before the SDK 0.2.0 tags. The SDK reads
kept_inand the per-root reports when they are served and reads their absence as empty, so either order is safe. No migration, setting or secret change.Testing: CI, Migrations and Deploy dev passed on
c9f3a0c. On dev, the SDK journeys passed in both clients against #303, and "OOF to India by donor" returned 188 rows with 1968'sDACOfficialDonorsentry and itskept_inseries. The SDK release preflight passes against production.