Repository navigation
PREFIX dissolution lens L1.1-L1.12 acceptance keys #3318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
e8060ba
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls b3cfd8c
Ratchet PREFIX dissolution lens acceptance rows
briansrls e74f755
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls c607917
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 2bf2413
Receipt PREFIX dissolution lens key ledger
briansrls d4f1322
Add SG-0 pairing receipt for PR 3318
briansrls 4624d6e
Fix PR 3318 SG-0 dispatch evidence
briansrls feca0cb
Correct PR 3318 SG-0 net delta
briansrls b258a10
Tighten dissolution coverage row ratchet
briansrls b1184bf
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 8ad0b86
Reclassify dissolution lens key scaffold
briansrls f9c2e14
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 084fb00
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 57a722b
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 83e7c91
Resolve dissolution lens design conflict
briansrls a7fedd0
Merge remote-tracking branch 'origin/main' into session/warm-koi-304
briansrls 12076e2
Align coverage lens receipt with ratchet
briansrls ac55359
Ratchet dissolution lens key variants
briansrls e9e3eab
Tighten dissolution lens key scaffold receipt
briansrls a666ed1
Merge remote-tracking branch 'origin/main' into session/warm-koi-304
briansrls 0ffa201
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 2605234
Resolve PR 3318 main merge conflicts
briansrls 5b3b280
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 274f8c2
Align dissolution coverage keys with canonical L1.10 split
briansrls e3347bc
Receipt retired L1.6 dissolution coverage key
briansrls 69465d9
Keep dissolution key tag adjacent
briansrls 6dc84bd
Merge remote-tracking branch 'origin/main' into session/warm-koi-304
briansrls 7d01e71
Merge remote-tracking branch 'origin/main' into session/warm-koi-304
briansrls 1b57cec
Merge remote-tracking branch 'origin/main' into session/warm-koi-304
briansrls 1a75f0d
Merge remote-tracking branch 'origin/main' into session/warm-koi-304
briansrls f36f4ec
WIP: PREFIX lens Acceptance batch (d): Wave-2 L1.1–L1.12 dissolution …
briansrls 80e1c52
Remove program markers from coverage defect ratchet
briansrls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| SG-0 hand-path delta: +1 | ||
|
|
||
| SG-0 pairing: (c) Net add is one `EXPECTED_HAND_AUTHORED_TEST` row for the v4 coverage lens ratchet (`v4_lens_coverage_dag_smoke_test.rs`) plus the matching `INVARIANTS.md` §P5(b) receipt row. Dispatch posture: retire this host check when the v4 coverage lens runs as `.dag` / generated coverage per ROADMAP T-PB-B (`pb_rust_tests_outside_residual_zero`); dispatch evidence: gunbc#3318 (this PR). |
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
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
54 changes: 54 additions & 0 deletions
54
src/v3/compiler/tests/integration/v4_lens_coverage_dag_smoke_test.rs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| //! **Layer:** integration | ||
| //! | ||
| //! Ratchet the PREFIX dissolution lens acceptance batch into the v4 | ||
| //! coverage-lens substrate. The check is intentionally structural and stays | ||
| //! at parse level because v4 single-file compile smokes do not load sibling | ||
| //! lens/std imports as a bundle yet. | ||
|
|
||
| use v3_compiler::parse_for_test; | ||
| use v3_compiler::parse_surface::SurfaceItem; | ||
| use v3_compiler::tokenize_for_test; | ||
|
|
||
| const COVERAGE_DAG: &str = include_str!("../../../../v4/lens/coverage.dag"); | ||
| const COVERAGE_PATH: &str = "src/v4/lens/coverage.dag"; | ||
|
|
||
| const EXPECTED_ACCEPTANCE_ROWS: &[&str] = &[ | ||
| "dissolution_l1_1_discriminant_predicate", | ||
| "dissolution_l1_2_degenerate_type", | ||
| "dissolution_l1_3_hollow_type", | ||
| "dissolution_l1_4_carrier_clone", | ||
| "dissolution_l1_5_catamorphism", | ||
| "dissolution_l1_6_emit_template", | ||
| "dissolution_l1_7_off_substrate_fact", | ||
| "dissolution_l1_8_wrong_home", | ||
| "dissolution_l1_9_vacuous_arm", | ||
| "dissolution_l1_10_string_escape_hatch", | ||
| "dissolution_l1_11_plausible_fallback", | ||
| "dissolution_l1_12_parallel_authority", | ||
| ]; | ||
|
|
||
| #[test] | ||
| fn v4_lens_coverage_names_all_l1_acceptance_rows() { | ||
| let module = parse_module(COVERAGE_DAG, COVERAGE_PATH); | ||
| let data_names = module | ||
| .items | ||
| .iter() | ||
| .filter_map(|item| match item { | ||
| SurfaceItem::Data { name, .. } => Some(name.as_str()), | ||
| _ => None, | ||
| }) | ||
| .collect::<Vec<_>>(); | ||
|
|
||
| for expected in EXPECTED_ACCEPTANCE_ROWS { | ||
| assert!( | ||
| data_names.contains(expected), | ||
| "{COVERAGE_PATH}: missing PREFIX dissolution acceptance row `{expected}`" | ||
| ); | ||
| } | ||
| } | ||
|
|
||
| fn parse_module(source: &str, file: &str) -> v3_compiler::parse_surface::SurfaceModule { | ||
| let tokens = tokenize_for_test(source, file) | ||
| .unwrap_or_else(|diag| panic!("{file}: tokenization failed: {diag:?}")); | ||
| parse_for_test(&tokens, file).unwrap_or_else(|diag| panic!("{file}: parse failed: {diag:?}")) | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.