The gate.readiness.minScore config field (src/signals/focus-manifest.ts:426) parses and serializes but lacks explicit boundary/branch tests for the round-trip and the score-clamp arms. Add focused tests so the parse↔gateConfigToJson round-trip and out-of-range warnings are branch-covered. Pure test hardening, no behavior change.
Deliverables
References
src/signals/focus-manifest.ts:426 (readinessMinScore parse)
src/signals/focus-manifest.ts:479 (readiness serialization)
part of #1959 / #1681 (epic #1953)
Part of #1681.
size: XS · gittensor:bug
The
gate.readiness.minScoreconfig field (src/signals/focus-manifest.ts:426) parses and serializes but lacks explicit boundary/branch tests for the round-trip and the score-clamp arms. Add focused tests so the parse↔gateConfigToJson round-trip and out-of-range warnings are branch-covered. Pure test hardening, no behavior change.Deliverables
presentflag flips correctly when only minScore is setReferences
src/signals/focus-manifest.ts:426 (readinessMinScore parse)src/signals/focus-manifest.ts:479 (readiness serialization)part of #1959 / #1681 (epic #1953)Part of #1681.
size: XS · gittensor:bug