small changes to prompts

This commit is contained in:
2026-09-14 09:49:01 +02:00
parent d60d5479d6
commit 5080274e8f
3 changed files with 22 additions and 1 deletions
+5
View File
@@ -121,6 +121,11 @@ class SelectiveGeminiTests(unittest.TestCase):
self.assertEqual(call.kwargs["contents"][0].parts[0].text, gemini.PROMPT_4)
self.assertTrue(call.kwargs["config"].automatic_function_calling.disable)
def test_rubric_prompt_omits_the_assumed_total_and_requires_latex(self):
self.assertIn("total est toujours implicite", gemini.PROMPT_4)
self.assertIn("caractères mathématiques Unicode", gemini.PROMPT_4)
self.assertIn(r"$\lfloor \sqrt{k} \rfloor$", gemini.PROMPT_4)
def test_incomplete_or_failed_rubrics_preserve_entire_persp(self):
before = self.snapshot()
for last in (self.response({"rubrics": []}), RuntimeError("API unavailable")):