Skip to content

Test coverage inverts the risk: 6 of 8 test files cover v5b markets; plant, EKF, EMS, MPC and ledger share one smoke test #9

Description

@dim-sous

What is wrong

tests/ today:

file covers
test_greek_settlement.py v5b settlement
test_milp_bidding_invariants.py v5b MILP planner
test_milp_phase4_stress.py v5b stress
test_greek_milp_bidding_e2e.py v5b end-to-end (+ the bit-identity proof for pre-v5b traces)
test_clearing.py v5b clearing
test_imbalance.py v5b imbalance
test_simulation_smoke.py everything else

Six of eight files cover the newest code. The 980-line plant model (core/physics/plant.py), the EKF, the stochastic EMS, the economic MPC and the ledger — the physics and control that every number in every gate report rests on — are covered by one smoke test between them. The parts hardest to reason about after months away are the parts with least protection.

This is not a request for coverage percentage. It is that the seam work (#2#5) has no safety net where it cuts. Every seam issue says "proof: bit-identical traces before and after" — that proof needs a pinned reference trace per component, and none exists.

What it should be

Tests of the kind RCWS uses to hold structure, not just behaviour:

Done when

Precondition for phase 1 of the platform epic — the net goes up before the seams are cut.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineseams, run schema, data modelresearchopen empirical threads

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions