Skip to content

5-test-migration (7): money_carrier_cost_witness — witness authored, v1 module deleted - #6143

Merged
briansrls merged 4 commits into
mainfrom
test-migration/money-carrier
Jul 2, 2026
Merged

briansrls merged 4 commits into
mainfrom
test-migration/money-carrier

Conversation

@briansrls

@briansrls briansrls commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Seventh PR of the 5-test-migration lane. This slice closes only the money_carrier module; the lane node stays open.

What

Coverage mapping

  • Test 1 (v1_std_currency_dag_resolves): subsumed by the floor batch-1 dsl_compile_clean_gate (whole-corpus compile over both trees includes dsl/std/currency.dag).
  • Test 2 (cost_projection_float_witness_evaluates_true): the same witness fn, same interpreter path, now floor-enrolled via the new marker file.

Receipts (green-by-execution + perturb→red, layer justified)

  1. Green: claim_batch --entry dsl/test/claim/cost_estimate_float_witness_test.dag --functions cost_projection_float_witness_holds → PASS.
  2. Discriminating: the live realization is the .dag fn body itself (interpreter-evaluated, no native interceptor for these fns) — perturbing billable_hours from * to + in dsl/examples/cost_estimate/cost_estimate.dag reds the witness (exit 1). Perturb commit reverted in-branch.
  3. cargo clippy -p v1-compiler-tests --all-targets -- -D warnings green at head.

🤖 Generated with Claude Code

Brian Searls and others added 4 commits July 2, 2026 06:31
…tness authored)

Test 1 (currency.dag resolves) is covered by the floor batch-1
dsl_compile_clean_gate; test 2's cost_projection_float_witness is now
floor-enrolled via the new dsl/test/claim/cost_estimate_float_witness_test.dag
marker witness. Also dedups the orphaned #[cfg(test)] attributes inherited
from main (#6141 overlap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gunbai-bot gunbai-bot Bot changed the title 5-test-migration — v1 burn-down: migrate v1 Rust test modules (~90 modules/~939 tests) into floor witnesses so v1 deletes unblock. SMALL PRs, one module/cluster each: re-express discriminating behavior as *_test.dag (marker-discovered, no hand-enrollment), perturb->red proof, delete the v1 module in 5-test-migration (7): money_carrier_cost_witness — witness authored, v1 module deleted Jul 2, 2026
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review July 2, 2026 06:38
@briansrls
briansrls merged commit cb1c327 into main Jul 2, 2026
1 of 2 checks passed
@briansrls
briansrls deleted the test-migration/money-carrier branch July 2, 2026 15:11
briansrls added a commit that referenced this pull request Jul 3, 2026
Six rows were listing modules as full-debt after they had already
partially or fully migrated (per #6140/#6142/#6143/#6145/#6147/#6150/#6153):
render_repeat, cron_tag, money_carrier_cost_witness are fully deleted
from src/v1/tests/src/lib.rs (removed from table); fn_as_value_test,
witness_option_bridge_test, map_lookup_dual_dispatch_test,
coproduct_reflection_conformance_test shrunk to small pinned residuals
(LOC/test counts corrected against current main).

Co-authored-by: Brian Searls <briansrls@gmail.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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