devin-ai-integration[bot]
|
6db78dccf3
|
test(coverage): add 138 unit tests for least-covered modules (#78)
Four test files covering the modules with zero or near-zero test coverage:
- scripts/qc-flag/test_lean_qc_flagger.py (55 tests)
Covers all pure helpers, code-line detection, QCIssue/FileResult classes,
and all 5 check functions (structural, naming, Q16, proof quality, deps).
- 4-Infrastructure/shim/test_braid_diat_codec.py (22 tests)
Covers Q0_2 encode/decode, ChiralityDIAT roundtrips and verify_b,
MountainPacked dict↔bytes, BraidResidualPacked bracket↔bytes.
- 5-Applications/tools-scripts/llm/test_emitter_utils.py (33 tests)
Covers sha256_bytes, canonical_json_bytes, repo_relative, safe_slug,
timestamps, context bundles, message building, extract_answer,
auth guard, and verify_receipt schema rules.
- 4-Infrastructure/shim/test_validate_rrc_predictions.py (28 tests)
Covers require_path, parse_equation, build_proof_metrics,
build_receipt with all domain mappings, and MATH_* constant sets.
Build: all 138 tests pass (pytest), py_compile clean
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
|
2026-06-14 19:31:16 -05:00 |
|