fix(codex-bridge): a refusal phrased as a question is still blocked
User, 11 Oct 2026: the model answered "I can't write that; shall I do a reduced version?" and the step check let it through because it was a question. A reply that refuses or sets its own conditions is blocked even when it ends with a question; a clarifying question without a refusal stays below the thresholds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5556ad11af
commit
27964e37b0
2 files changed
+7
-5
No files matched your search
@@ -62,7 +62,8 @@ class Karar(unittest.TestCase):
|
||||
def test_normal_answers_technical_obstacles_and_questions_pass(self):
|
||||
self.assertFalse(jev_denetim.karar(scores(ret=0.05, sart=0.3)))
|
||||
self.assertFalse(jev_denetim.karar(scores(ret=0.85, teknik=0.97))) # "SSH key rejected, could not read"
|
||||
self.assertFalse(jev_denetim.karar(scores(ret=0.62, sart=0.91, soru=0.93))) # asks for approval first
|
||||
self.assertTrue(jev_denetim.karar(scores(ret=0.62, sart=0.91, soru=0.93))) # "I can't; shall I do less?" is blocked
|
||||
self.assertTrue(jev_denetim.karar(scores(ret=0.70, sart=0.90, teknik=0.23, soru=0.89))) # measured, 11 Oct 2026
|
||||
self.assertFalse(jev_denetim.karar(scores(ret=0.48, soru=0.96)))
|
||||
|
||||
def test_thresholds_come_from_settings(self):
|
||||
|
||||
Reference in new issue
Block a user