[Bug] Evaluation error: exactmatch_score==1.0 path bypasses ground truth check entirely

Aperta Adatta ai principianti
#73 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Leggi i rami referenziati in evaluator/judge.py (righe 350–377) e evaluator/scorer.py (righe 170–204) per ricostruire in che modo una corrispondenza esatta influisce sul punteggio di Capability 2. Controlla i test esistenti per ExactMatchJudge e TurnScorer, quindi aggiungi copertura per una risposta incompleta con exactmatch_score == 1.0. Il lavoro è completo quando la correttezza è verificata e i punteggi della risposta e del turno sono 0.0 per questo caso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug

ExactMatchJudge returns 1.0 when every expected tool response is present in the replayed responses. judge.py, lines 350–377

For Capability 2, TurnScorer then skips CorrectnessJudge and uses the groundedness score as the turn score. An incomplete or wrong answer supported by the tool output can receive full credit with answer_score=None. scorer.py, lines 170–204

Expected behavior

Run CorrectnessJudge even when exactmatch_score == 1.0. An incomplete answer should receive answer_score=0.0 and a turn score of 0.0.
Or harden exactmatch score to include the final gt answer.

Additional context

In one tested Capability 2 Books evaluation, adding the correctness check to the exactmatch_score == 1.0 path reduced the score from 67.9% to 57.7%, a drop of 10.2 percentage points. (Tested Qwen3.5-122B-A10B-FP8 at temp 0.6 for generation and scoring)

Lingua principale
Python
Stelle
79
Fork
23
Merge medio
2g 7h
PR unite (30g)
3

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IBM/vakra

Tutte le issue di IBM/vakra

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.