Add met_count and recall_limited_obligations to shadow telemetry
Reichert die Obligation-Shadow-Telemetrie um zwei Felder an für die Cross-Firmen- Auswertung: met_count (abgedeckte Obligations) + recall_limited_obligations (welche Obligations recall-limitiert sind) — erlaubt die Konzentrations-Analyse über Firmen. 7-Firmen-Shadow: 136 Control-Findings → 29 Obligation-Findings (4,7×); recall_limited nur 6/29, konzentriert auf third_country/safeguards in 2/7 Firmen → LLM-Fix bounded. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,7 @@ class TestComputeShadow:
|
||||
assert s["recall_limited"] == 0
|
||||
assert s["collapse_factor"] == 5.0
|
||||
assert s["met_failed_delta"] == 4
|
||||
assert s["met_count"] == 0
|
||||
top = s["top_collapsed_obligations"][0]
|
||||
assert top["obligation"] == NON_LLM and top["fehlt"] == 5
|
||||
assert top["recall_limited"] is False
|
||||
@@ -60,6 +61,7 @@ class TestRecallSegregation:
|
||||
assert s["obligation_findings"] == 1
|
||||
assert s["recall_limited"] == 1
|
||||
assert s["failed_by_current_checker"] == 0
|
||||
assert s["recall_limited_obligations"] == [LLM_REQ]
|
||||
assert s["top_collapsed_obligations"][0]["recall_limited"] is True
|
||||
|
||||
def test_mixed_real_gap_and_recall_limited(self):
|
||||
|
||||
Reference in New Issue
Block a user