opendcai/dataflow-webui/bench-dataset-evaluator
Claude Code and agent skill by opendcai/dataflow-webui
- community
- ext:[{"type":"template","description":"Custom templates for code generation"}]
Checking that the SKILL.md file is still in the repository.
Reference documentation for the BenchDatasetEvaluator operator. Covers the constructor, two comparison modes (match/semantic), and pipeline usage. Use when: comparing predicted answers against ground truth answers in benchmark evaluation.
Install
npx vskill@latest install opendcai/dataflow-webui/bench-dataset-evaluatorSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
BenchDatasetEvaluator Operator Reference
BenchDatasetEvaluator compares predicted answers against ground truth using two modes: match (math verification) or semantic (LLM-based).
1. Import
2. Match Mode
Constructor
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
eval_result_path | No | Auto-generated | Path to save evaluation statistics JSON file | |
compare_method | No | "match" | Must be "match" | |
system_prompt | No | "You are a helpful assistant..." | Not used in match mode | |
llm_serving | No | None | Not used in match mode | |
prompt_template | No | AnswerJudgePrompt | Not used in match mode |
run() Signature
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
storage | Yes | None | DataFlowStorage step object | |
input_test_answer_key | No | "generated_cot" | Column containing predicted answers | |
input_gt_answer_key | No | "golden_answer" | Column containing ground truth answers |
Runtime Logic
- Read DataFrame from storage.
- Create
answer_match_resultcolumn initialized toFalse. - For each row, extract answer using
AnswerExtractorand compare with ground truth usingmath_verify_compare(). - Write results to
answer_match_resultcolumn. - Save statistics to
eval_result_path. - Return column list.
Usage Example
3. Semantic Mode
Constructor
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
eval_result_path | No | Auto-generated | Path to save evaluation statistics JSON file | |
compare_method | Yes | None | Must be "semantic" | |
system_prompt | No | "You are a helpful assistant..." | System prompt for LLM | |
llm_serving | Yes | None | LLM service object | |
prompt_template | No | AnswerJudgePrompt | Pass None to use built-in fallback |
run() Signature
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
storage | Yes | None | DataFlowStorage step object | |
input_test_answer_key | No | "generated_cot" | Column containing predicted answers | |
input_gt_answer_key | No | "golden_answer" | Column containing ground truth answers |
Runtime Logic
- Read DataFrame from storage.
- Create
answer_match_resultcolumn initialized toFalse. - Skip rows where ground truth is empty/NaN.
- Build prompts using only
answerandreference_answerfields. - Call LLM to judge correctness.
- Parse LLM response for
"judgement_result": true/false. - Write results to
answer_match_resultcolumn. - Save statistics to
eval_result_path. - Return column list.
Usage Example
4. AnswerJudgePrompt
AnswerJudgePrompt is the default prompt template class for semantic mode.
Important Notes
- Default value issue: Constructor default is
prompt_template=AnswerJudgePrompt(class, not instance). - Recommended usage: Pass
prompt_template=Noneto use built-in fallback. - Custom template: Pass an instance if you need custom prompts.
Prompt Structure
The prompt template builds a JSON-formatted request:
answer: The predicted answer to evaluatereference_answer: The ground truth answer
LLM response must contain:
Custom Template Example
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/canonical/core_text/eval/bench-dataset-evaluator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
templateCustom templates for code generation
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opendcai/dataflow-webui/bench-dataset-evaluator)