Skip to content

Latest commit

 

History

History

README.md

Examples

This directory contains the runnable examples referenced by the BenchFlow docs. They live under docs/examples/ so examples and docs move together.

Single Task

Use bench eval run for one task:

bench eval run \
  --source-repo benchflow-ai/skillsbench \
  --source-path tasks/edit-pdf \
  --agent gemini \
  --model gemini-3.1-flash-lite-preview \
  --sandbox daytona

Sandboxes are docker, daytona, and modal.

Skills

When an example or task has a skills directory, mount it with --skill-mode with-skill:

bench eval run \
  --tasks-dir tasks/my-task \
  --agent gemini \
  --model gemini-3.1-flash-lite-preview \
  --sandbox daytona \
  --skill-mode with-skill \
  --skills-dir tasks/my-task/environment/skills

See Architecture: skill loading for the skill loading semantics.

Demos

  • benchflow-grpo-pipeline.md documents the end-to-end BenchFlow-owned TRL GRPO workflow: HF task snapshots, baseline eval, GRPO training with BenchFlowSpec, final eval, and paired lift reporting.
  • coder-reviewer-demo.py runs a single-agent baseline and a coder-reviewer scene against a task directory.
  • scene-patterns.md explains single-agent, self-review, specialist-review, and client-advisor scene patterns.
  • nanofirm-task/ is a tiny task directory you can use when checking task layout, verifier behavior, and oracle execution. It intentionally stays in the legacy task.toml split layout as the input fixture for bench tasks migrate; do not convert it to task.md.
  • user_dogfood.py demonstrates a rule-based FunctionUser progressive disclosure loop.
  • swebench_pro_user_dogfood.py runs the progressive-disclosure pattern on SWE-bench Pro-style tasks.