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 }}
This repository was archived by the owner on Aug 21, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 21, 2026. It is now read-only.
As a result, format() has no effect and the evaluator receives a prompt that lacks the actual question, the generated report, and the authoritative answer.
Hi @nariaki3551,
I can confirm this is indeed a bug. You are absolutely right, since the CORRECTNESS_PROMPT is static, the .format() call in evaluators.py is currently being ignored, which means the evaluator isn't actually seeing the report or the answer.I went ahead and tested the fix (adding the missing placeholders to the prompt string), and everything works perfectly now. Here are my verification results:
Verification Complete (By Doing it locally) :
Prompt Formatting Works: The CORRECTNESS_PROMPT.format() call now successfully substitutes all placeholders: {user_question}, {report}, {answer}, and {today}.
Exact Function Call Works: The specific format call used in eval_correctness() now executes without any KeyError.
Content Verification: I confirmed the formatted prompt correctly contains the injected data (e.g., "Test question", "Test report content").
Syntax Check: Both prompts.py and evaluators.py compile without errors.
Great catch! The fix is definitely to append those missing fields to the prompt definition.
Activity
krishnamurthi-ramesh commentedon Feb 5, 2026
Hi @nariaki3551,
I can confirm this is indeed a bug. You are absolutely right, since the CORRECTNESS_PROMPT is static, the .format() call in evaluators.py is currently being ignored, which means the evaluator isn't actually seeing the report or the answer.I went ahead and tested the fix (adding the missing placeholders to the prompt string), and everything works perfectly now. Here are my verification results:
Verification Complete (By Doing it locally) :
Prompt Formatting Works: The CORRECTNESS_PROMPT.format() call now successfully substitutes all placeholders: {user_question}, {report}, {answer}, and {today}.
Exact Function Call Works: The specific format call used in eval_correctness() now executes without any KeyError.
Content Verification: I confirmed the formatted prompt correctly contains the injected data (e.g., "Test question", "Test report content").
Syntax Check: Both prompts.py and evaluators.py compile without errors.
Great catch! The fix is definitely to append those missing fields to the prompt definition.
akshan-main commentedon Feb 12, 2026
I can look into this