File size: 586 Bytes
b7f263c
 
 
 
 
 
 
 
 
 
1de55bd
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from pathlib import Path


def test_v11_5_wrapper_keeps_frozen_protocol_and_only_renames_underpowered_branch():
    text = (Path(__file__).resolve().parents[1] / "scripts" / "pimt_v11_5_powered_eval.py").read_text()
    assert 'gate.evaluate(rows)' in text
    assert 'material_profiles_v11_5.jsonl' in text
    assert 'report["verdict"] == "ambiguous"' in text
    assert 'report["verdict"] = "underpowered"' in text
    assert "evaluate_retriever" not in text
    assert '"scoring_time_leak_recheck"' in text
    assert '"previously_27_unrepresentable_now_representable": 14' in text