| mod = <module 'rtrader.services.hold_chapter_probe' from '/Users/cao/robinhood-pm-d37e5ef8dbd2/rtrader/services/hold_chapter_probe.py'>
|
|
|
| @pytest.mark.parametrize("mod", ALL_PROBES, ids=lambda m: m.__name__.rsplit(".", 1)[-1])
|
| def test_every_case_block_hands_over_no_number_and_no_jargon(mod):
|
| """docs/llm_improvement_flywheel.md section 3: no numbers, no arithmetic, no instrument names.
|
| 'spread' / 'z-score' / 'TNA' are OUR coordinates — the model gets the physical event."""
|
| for case in mod.CASES:
|
| text = mod.composed_block(case).lower()
|
| > assert not any(ch.isdigit() for ch in text), f"{mod.__name__}/{case.label} handed a number"
|
| E AssertionError: rtrader.services.hold_chapter_probe/spent handed a number
|
| E assert not True
|
| E + where True = any(<generator object test_every_case_block_hands_over_no_number_and_no_jargon.<locals>.<genexpr> at 0x1458b4fb0>)
|
|
|
| tests/services/test_wording_probes.py:72: AssertionError
|