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

オープン 初心者向け
#73 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

evaluator/judge.py(350~377行)とevaluator/scorer.py(170~204行)の該当する分岐を読み、完全一致がCapability 2のスコアにどう影響するかを追跡してください。ExactMatchJudgeとTurnScorerの既存テストを確認し、exactmatch_score == 1.0の不完全な回答に対するテストを追加してください。このケースで正しさが確認され、回答スコアとターンスコアが0.0になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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)

主要言語
Python
スター
79
フォーク
23
平均マージ
2日 7時間
マージ済み PR(30日)
3

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IBM/vakra のほかの issue

IBM/vakra の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。