fix: remove unreachable suppression branch in synthesizer._build_hypothesis_block #34
Labels
No labels
compliance
demo
deployment
docs
enhancement
parser
patterns
performance
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/turnstone#34
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
In
app/services/diagnose/synthesizer.py,_build_hypothesis_block()filters toactive = [rh for rh in ranked if not rh.suppress][:3]. Everyrhinactivetherefore hasrh.suppress == False. The branch below is unreachable:This always evaluates to
"No". Remove the dead branch or restructure to surface novelty score for active (non-suppressed) hypotheses.Found by
Post-implementation code review of feat/29-multi-agent-diagnose.