Skip to content

deps - #1699

Merged
yagebu merged 2 commits into
beancount:mainfrom
yagebu:deps
Oct 25, 2023
Merged

deps#1699
yagebu merged 2 commits into
beancount:mainfrom
yagebu:deps

Conversation

@yagebu

@yagebu yagebu commented Oct 20, 2023

Copy link
Copy Markdown
Member
  • deps
  • lint

@yagebu
yagebu merged commit abf2b0b into beancount:main Oct 25, 2023
@yagebu
yagebu deleted the deps branch October 25, 2023 19:11
robcohen added a commit to rustledger/rustfava that referenced this pull request Jul 3, 2026
…s fixed (#237)

Supersedes the bot's gated draft (#236; the WIT gate correctly held both
0.20 bumps for human review). Engine v0.19.1 -> v0.20.1:

- RUSTLEDGER_VERSION -> v0.20.1, _WIT_VERSION -> 3.3.0, vendored component
  refreshed (sha256-verified). No new host imports (verified against the
  artifact — decrypt remains the only one).
- cost-number JSON surface: v0.20 tags by `type` with a `value` payload
  (per-unit-from-total as a two-string list) like every other variant;
  v0.19 tagged by `kind` with spread fields. The writer emits the new
  shape; both readers (component_engine, types.cost_number_values)
  tolerate all three historical forms. WIT 3.3 adds a `compound` input
  case, so cost-number detection is now a superset check.
- smoke suite gap list SHRUNK per its guard: only() NULL propagation is
  fixed upstream (rustledger#1702 <- our beancount#1699), so the Holdings
  by_currency query is back under assertion on every corpus ledger.
  abs() on NULL still errors in v0.20.1 — the one remaining gap entry,
  status updated on rustledger#1699.
- {a # b} compound cost now weighs N*a + b (rustledger#1704 <- our beancount#1700):
  the marshalling round-trip asserts the CORRECT booking arithmetic.
- bare {CUR} costs are now inferred from the residual (rustledger#1709):
  the R3 render test asserts the proper at-cost value (crash-free
  invariant unchanged).
- query snapshots: cost `kind`->`type`; payee column dtype object->str
  with real nulls instead of 'None' strings (rustledger#1703 <- our beancount#1701).
- types.py: pre-existing lint debt cleared (file now passes the pinned
  hooks it gates).

629 passed, 100.00% coverage under the tightened gate.
robcohen added a commit to rustledger/rustfava that referenced this pull request Jul 4, 2026
Engine bump v0.20.1 -> v0.20.2 (CI fetches the component by
RUSTLEDGER_VERSION), delivering rustledger#1711: typed scalar functions
propagate NULL (beanquery parity).

- KNOWN_ENGINE_GAPS: 'ABS expects a number' removed — the Holdings
  queries excused since beancount#1699 are asserted un-excused again (verified
  failing on v0.20.1, passing on v0.20.2). The guard test now asserts
  list emptiness and documents how to restore the marker-hit body when
  the next gap appears.
- WIT 3.3 'compound' cost-number (rustledger#1700) handled at both
  branch sites (closes #234): _cost_number_from_json builds the
  two-string tuple Variant (input surface — the only place compound
  appears; booked egress rewrites to per-unit-from-total), and
  cost_number_values extracts (per-unit, LUMP) for pre-booking display.

Full suite: 659 passed, 1 skipped against the v0.20.2 component.

Closes #234

Co-Authored-By: Claude Opus 4.8 <[email protected]>
robcohen added a commit to rustledger/rustfava that referenced this pull request Jul 4, 2026
* feat: rustledger v0.20.2 — gap re-arm, WIT 3.3 compound handling

Engine bump v0.20.1 -> v0.20.2 (CI fetches the component by
RUSTLEDGER_VERSION), delivering rustledger#1711: typed scalar functions
propagate NULL (beanquery parity).

- KNOWN_ENGINE_GAPS: 'ABS expects a number' removed — the Holdings
  queries excused since beancount#1699 are asserted un-excused again (verified
  failing on v0.20.1, passing on v0.20.2). The guard test now asserts
  list emptiness and documents how to restore the marker-hit body when
  the next gap appears.
- WIT 3.3 'compound' cost-number (rustledger#1700) handled at both
  branch sites (closes #234): _cost_number_from_json builds the
  two-string tuple Variant (input surface — the only place compound
  appears; booked egress rewrites to per-unit-from-total), and
  cost_number_values extracts (per-unit, LUMP) for pre-booking display.

Full suite: 659 passed, 1 skipped against the v0.20.2 component.

Closes #234

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* fix: narrow compound payload type for mypy

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant