Expand description
Surface-relevance gate for evidence modifiers.
Detects when a SameStatus Contradictory is mis-surfaced — i.e., the technique declares
Status as its primary surface, the SameStatus arm fired (statuses are equal), but the
body or headers show a significant differential. The actual oracle signal is on a non-status
surface, so the status-equality Contradictory conclusion is wrong and the outcome should
downgrade to Inapplicable.
Enums§
- Surface
Decision - Decision returned by
surface_relevance.
Functions§
- body_
diff_ ratio - Body content divergence ratio in
[0.0, 1.0]. - header_
diff_ ratio - Header divergence ratio in
[0.0, 1.0]. - surface_
relevance - Computes the surface relevance for a technique against a probe pair.