mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
CI flagged two issues on the rebased branch: 1. ruff format --check failed on server.py and test_traffic_learner.py after the rebase; line-collapse / trailing-whitespace nits. 2. Codecov reported 80% patch coverage with 20 lines missing in the matcher helpers — mostly branches not exercised by the high-level tests (empty Levenshtein inputs, source-prefix Bash parsing, env-var skip, equal-string short-circuit in binary match, the substantive- token path that beats the edit-distance gate, error_recovery patterns with non-canonical content in _drop_contradictions). Adds 16 targeted unit tests for those branches and applies ruff format. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_budget.py | ||
| test_core_operations.py | ||
| test_easy.py | ||
| test_extraction.py | ||
| test_factory.py | ||
| test_factory_external.py | ||
| test_hierarchical.py | ||
| test_learn_flag.py | ||
| test_mcp_server.py | ||
| test_qdrant_env.py | ||
| test_traffic_learner.py | ||
| test_writers.py | ||