opendcai/dataflow-webui/bench-dataset-evaluator-question
Claude Code and agent skill by opendcai/dataflow-webui
- community
Checking that the SKILL.md file is still in the repository.
Reference documentation for the BenchDatasetEvaluatorQuestion operator. Extended version of BenchDatasetEvaluator with question and subquestion support. Use when: evaluating answers with question context or multiple subquestions.
Install
npx vskill@latest install opendcai/dataflow-webui/bench-dataset-evaluator-questionSKILL.md
BenchDatasetEvaluatorQuestion Operator Reference
BenchDatasetEvaluatorQuestion extends BenchDatasetEvaluator with support for question context and subquestions.
1. Import
2. Match Mode
Constructor
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
eval_result_path | No | Auto-generated | Path to save evaluation statistics | |
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 | AnswerJudgePromptQuestion | Not used in match mode |
run() Signature
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
storage | Yes | None | Storage step object | |
input_question_key | No | "question" | Question column | |
input_test_answer_key | No | "generated_cot" | Predicted answer column | |
input_gt_answer_key | No | "golden_answer" | Ground truth column |
Usage Example
3. Semantic Mode
Constructor
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
eval_result_path | No | Auto-generated | Path to save evaluation statistics | |
compare_method | Yes | None | Must be "semantic" | |
system_prompt | No | "You are..." | System prompt for LLM | |
llm_serving | Yes | None | LLM service object | |
prompt_template | No | AnswerJudgePromptQuestion | Pass None to use built-in fallback | |
support_subquestions | No | False | Enable subquestion evaluation |
run() Signature
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
storage | Yes | None | Storage step object | |
input_question_key | No | "question" | Question column | |
input_test_answer_key | No | "generated_cot" | Predicted answer column | |
input_gt_answer_key | No | "golden_answer" | Ground truth column |
Usage Example
4. Key Differences from BenchDatasetEvaluator
- Question context: Semantic mode includes
questionfield in the prompt alongsideanswerandreference_answer. - Subquestions support: When
support_subquestions=True, evaluates multiple subquestions per row. - Prompt templates: Uses
AnswerJudgePromptQuestion(single question) orAnswerJudgeMultipleQuestionsPrompt(subquestions).
5. AnswerJudgePromptQuestion
AnswerJudgePromptQuestion is the default prompt template class for semantic mode.
Important Notes on prompt_template
Although the source code sets the default value to AnswerJudgePromptQuestion, this default is a class object, not an instance.
In normal usage, it's recommended to use one of these two approaches:
Option 1: Pass `None` (recommended)
This uses the built-in fallback logic.
Option 2: Pass an instance
Fields Passed to build_prompt(...)
When prompt_template is an AnswerJudgePromptQuestion instance, the source code passes these fields:
question: The question being evaluatedanswer: The predicted answer to evaluatereference_answer: The ground truth answer
Expected LLM Response Format
LLM response must contain:
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-question/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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-question)