feat(trackb): S1 symbolic structure-mapping vertical slice (off-serving) #85
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/trackb-symbolic-sme-s1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Track B Increment 1 for ADR-0252: the first vertical slice of symbolic structure-mapping comprehension (Gentner SME), after §5 ruled geometric SME NO-GO (
conformal_procrustespresupposes correspondence). Closes the geometric path; PRs #83 and #84 already closed with the supersession note.What this PR adds (off-serving only)
MathProblemGraph→ role-graph convertercompare(b, a, k) ∧ total(a, b, sum)(role vars only)solve+verifyand multi-register Hamiltonian certificate; emit only when both agreeevals/structure_mapping/scoring/What this PR does not do
Measured results (see
docs/research/trackb-s1-slice-2026-07-20.md)correct=5 wrong=0 refused=0with per-case derivation[Verification]
uv run pytest tests/test_trackb_s1_structure_mapping.py -q— 16 passeduv run core test --suite smoke -q— 176 passed (~130s) before and after (byte-identical serving path; serving module diff = 0)correct=5 wrong=0 refused=495(no live-path edits)scripts/measure_trackb_s1_slice.pySTOP → RULING
Human reviewer verifies this slice against the code before S2–S4 or any serving change.
Mapper required only that total include {a,b}; rebuild-from-binding then dropped third entities and could emit a certified wrong answer (e.g. 15 instead of 115). Require exact total part-set {a,b}, refuse any contain outside reference a, and agree with original-graph classical solve before emit. Adds multi-entity refuse unit tests.