test: update enumeration pins to current system state (no behavior change)
- recognizer_registry: ratified registry grew past round-1 (later ratification rounds); assert the Phase C three remain present (subset) rather than pinning exactly 3. - brief_11b: 0021 joined the pre_frame_filler set as the verb-class auditor evolved; it refuses, rows[0]=pre_frame_filler, and post-skip still refuses (zero-lift verified). Canary 0050 untouched; wrong=0 unaffected (audit-only). - cli_test_suites: assert the packs invocation against the live _TEST_SUITES definition instead of a hardcoded file list (suite grew).
This commit is contained in:
parent
c655f2fcda
commit
eed293c31c
3 changed files with 20 additions and 4 deletions
|
|
@ -44,6 +44,11 @@ EXPECTED_FILLER_CASES = frozenset(
|
||||||
{
|
{
|
||||||
"gsm8k-train-sample-v1-0002",
|
"gsm8k-train-sample-v1-0002",
|
||||||
"gsm8k-train-sample-v1-0016",
|
"gsm8k-train-sample-v1-0016",
|
||||||
|
# 0021 joined the set as the auditor's verb classification evolved; it
|
||||||
|
# refuses with rows[0]=pre_frame_filler_sentence and still refuses after
|
||||||
|
# the filler sentence is elided (zero-lift holds — verified by the
|
||||||
|
# parametrized test_post_skip_simulation_still_refuses).
|
||||||
|
"gsm8k-train-sample-v1-0021",
|
||||||
"gsm8k-train-sample-v1-0025",
|
"gsm8k-train-sample-v1-0025",
|
||||||
"gsm8k-train-sample-v1-0028",
|
"gsm8k-train-sample-v1-0028",
|
||||||
"gsm8k-train-sample-v1-0030",
|
"gsm8k-train-sample-v1-0030",
|
||||||
|
|
@ -64,6 +69,10 @@ EXPECTED_POST_SKIP = {
|
||||||
"unresolved_pronoun",
|
"unresolved_pronoun",
|
||||||
"pronoun_resolution",
|
"pronoun_resolution",
|
||||||
),
|
),
|
||||||
|
"gsm8k-train-sample-v1-0021": (
|
||||||
|
"unknown_word",
|
||||||
|
"lexicon_entry",
|
||||||
|
),
|
||||||
"gsm8k-train-sample-v1-0025": (
|
"gsm8k-train-sample-v1-0025": (
|
||||||
"unknown_word",
|
"unknown_word",
|
||||||
"lexicon_entry",
|
"lexicon_entry",
|
||||||
|
|
|
||||||
|
|
@ -73,12 +73,15 @@ def test_core_test_suite_accepts_pytest_flags_without_separator(monkeypatch) ->
|
||||||
rc = cli.main(["test", "--suite", "packs", "-q"])
|
rc = cli.main(["test", "--suite", "packs", "-q"])
|
||||||
|
|
||||||
assert rc == 0
|
assert rc == 0
|
||||||
|
# Assert against the live suite definition rather than re-hardcoding the
|
||||||
|
# (growing) packs file list: the contract under test is that a curated
|
||||||
|
# suite expands to its files followed by the forwarded "-q", with no "--"
|
||||||
|
# separator needed.
|
||||||
assert calls[0] == (
|
assert calls[0] == (
|
||||||
cli.sys.executable,
|
cli.sys.executable,
|
||||||
"-m",
|
"-m",
|
||||||
"pytest",
|
"pytest",
|
||||||
"tests/test_core_semantic_seed_pack.py",
|
*cli._TEST_SUITES["packs"],
|
||||||
"tests/test_adr_0127_pack_ratification.py",
|
|
||||||
"-q",
|
"-q",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,11 @@ def test_live_proposal_log_has_phase_c_proposals() -> None:
|
||||||
f"expected {len(PHASE_C_PROPOSAL_IDS)} accepted Phase C proposals, "
|
f"expected {len(PHASE_C_PROPOSAL_IDS)} accepted Phase C proposals, "
|
||||||
f"got {accepted_count}: {[(pid[:12], state[pid]['state']) for pid in PHASE_C_PROPOSAL_IDS]}"
|
f"got {accepted_count}: {[(pid[:12], state[pid]['state']) for pid in PHASE_C_PROPOSAL_IDS]}"
|
||||||
)
|
)
|
||||||
# Registry exposes the ratified set.
|
# Registry exposes the ratified set, which has grown past round 1 as later
|
||||||
assert len(load_ratified_registry(log)) == len(PHASE_C_PROPOSAL_IDS)
|
# ratification rounds (flywheel-demo, rat1-cli-seed, ME-waves) accepted more
|
||||||
|
# recognizers. The contract here is that the Phase C three remain present
|
||||||
|
# and ratified — not that they are the only entries.
|
||||||
|
registry_proposal_ids = {r.proposal_id for r in load_ratified_registry(log)}
|
||||||
|
assert set(PHASE_C_PROPOSAL_IDS) <= registry_proposal_ids
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue