MCPcopy Create free account
hub / github.com/antirez/ds4 / normalize_integer_answer

Function normalize_integer_answer

ds4_eval.c:2802–2812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2800 const char *status,
2801 const char *error,
2802 const char *system_prompt,
2803 const char *question_prompt,
2804 const char *model_output,
2805 ds4_think_mode effective_think_mode,
2806 int prompt_tokens,
2807 int generated_tokens,
2808 int generation_budget,
2809 double elapsed_sec,
2810 const char *picked,
2811 const eval_think_close_info *think_close) {
2812 if (!trace) return;
2813 int nchoices = eval_case_nchoices(tc);
2814 fprintf(trace,
2815 "===== CASE %d/%d %s/%s =====\n"

Callers 3

scan_first_integerFunction · 0.85
find_integer_answerFunction · 0.85
answer_matchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected