Mark sixty-nine as low-priority control route

This commit is contained in:
2026-06-29 08:58:26 +02:00
parent 3467acbd6a
commit 1e9794eed0
5 changed files with 75 additions and 5 deletions
+18
View File
@@ -53,6 +53,9 @@ def coverage_rows() -> list[dict[str, Any]]:
"family": variant.get("family") or "",
"action_family": variant.get("action_family") or "",
"status": status,
"difficulty": variant.get("difficulty") or "",
"priority": variant.get("priority") or "",
"control_requirement": variant.get("control_requirement") or "",
"coverage_state": _coverage_state(status, len(accepted)),
"accepted_evidence_count": len(accepted),
"total_evidence_count": len(evidence),
@@ -83,6 +86,11 @@ def coverage_summary() -> dict[str, Any]:
for row in rows
if row.get("coverage_state") in {"needs_fixed_seed_tests", "proven_missing_evidence"}
],
"stronger_control_cases": [
str(row.get("key"))
for row in rows
if row.get("coverage_state") == "needs_stronger_control"
],
}
@@ -256,6 +264,16 @@ def markdown_report(atlas_root: str | Path | None = None) -> str:
*[f"- {key}" for key in summary["next_test_candidates"]],
]
)
stronger_control_rows = [row for row in coverage_rows() if row.get("coverage_state") == "needs_stronger_control"]
if stronger_control_rows:
lines.extend(["", "## Stronger Control Cases", ""])
for row in stronger_control_rows:
difficulty = row.get("difficulty") or "unrated"
priority = row.get("priority") or "unprioritized"
control_requirement = row.get("control_requirement") or "control_needed"
lines.append(
f"- {row['key']}: {difficulty}, {priority} priority, {control_requirement}"
)
plans = next_test_plans()
if plans:
lines.extend(["", "## Next Test Plans"])