You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(detection): include excluded entity types in augmenter instructions #369
Follow-up from PR #305 review C7. This behavior is pre-existing on main, not a newly introduced #305 regression.
In permissive label mode (entity_labels=None), excluded_entity_labels reaches post-generation admission but not the augmentation prompt. Admission rejects exact normalized labels; it does not establish semantic equivalence between arbitrary labels. The augmenter can therefore return a close synonym of an excluded type and have it admitted.
Do not claim prompt wording guarantees semantic synonym enforcement. Document the difference between exact label exclusions and semantic instructions; any deterministic alias taxonomy is a separate policy/design decision.
Validation
A prompt test confirms exclusions are present in permissive mode.
Retain tests for normalized exact-label rejection and explicitly allowed labels.
Add a mocked workflow case showing an excluded exact label is still rejected regardless of model compliance.
If making a live effectiveness claim about synonyms, use a separately approved evaluation rather than asserting prompt compliance from a mocked test.
This is a scoped follow-up, separate from #305's offset mismatch, output schema tolerance, and overlap-ranking tests.
Activity