Skip to content

Latest commit

 

History

History
168 lines (120 loc) · 5.26 KB

File metadata and controls

168 lines (120 loc) · 5.26 KB

Examples

Examples live under examples/.

Current example directories:

  • basic-json
  • taxonomy-complete-fixture
  • agent-quality-preset
  • llm-agent-evals
  • financial-domain-ollama-evals
  • vitest-evals
  • jest-custom-reporter
  • node-plain-eval
  • python-pytest-evals
  • langchain-evals
  • github-actions
  • azure-devops
  • static-html-dashboard
  • custom-reporter-plugin
  • benchmark-packs
  • screenshot-fixture
  • report-power-artifacts

Start with:

eval-dashboards report --input=examples/basic-json --reporter=html --report-dir=eval-report

basic-json

Use this when you already have eval-report/v1 JSON and only want to run report/check/publish.

eval-dashboards report --input=examples/basic-json --reporter=html --reporter=text --report-dir=eval-report
eval-dashboards publish --target=dir --input=examples/basic-json --report-dir=eval-report --out-dir=published-eval-report

Use a passing fixture for a "green" gate example:

eval-dashboards check --input=examples/agent-quality-preset/artifacts --allow-blocked-baseline

Trace-first triage example (4C.9)

examples/basic-json/run-trace-links.json includes rows[].trace with traceId, spanId, traceUrl, and spanUrl.

eval-dashboards report --input=examples/basic-json --run-id=run-trace-links --reporter=html --report-dir=eval-report

Open eval-report/index.html, find row agent/tool-timeout-001, then follow the row-level trace/span links from the details panel. This demonstrates dashboard row -> trace deep link triage.

report-power-artifacts

Use this for concrete, local-openable artifacts demonstrating history, progress, gate outcomes, and row-level detail analysis.

./scripts/generate-report-power-artifacts.sh

Artifacts produced under examples/report-power-artifacts/:

  • report/history.json (history trends)
  • report/summary.json (progress + detailed comparison)
  • gates/check-pass.json (passing gate result)
  • gates/check-fail.json (failing gate result)
  • report/index.html and report/summary.md (human-readable detail views)

agent-quality-preset

Use this when starting an agent-eval program and you want scaffolded suite/rubric/dataset conventions first.

eval-dashboards init --preset=agent-quality
eval-dashboards teach
eval-dashboards init --preset=agent-quality --write --dry-run
eval-dashboards lint --input=examples/agent-quality-preset/artifacts
eval-dashboards check --input=examples/agent-quality-preset/artifacts --allow-blocked-baseline
eval-dashboards report --input=examples/agent-quality-preset/artifacts --reporter=html --reporter=json-summary --report-dir=eval-report

Note: examples/agent-quality-preset/artifacts includes two reports by design:

  • run-agent-quality-template.json (current run)
  • run-agent-quality-calibration.json (independent calibration evidence, run.kind="calibration" so it is excluded from automatic baseline selection)

This keeps blocking calibration preflight examples runnable now that same-run calibration rows no longer satisfy blocking checks.

llm-agent-evals

Use this as a local reference for agent/chat eval rows with tool-call and judge evidence.

pnpm example:llm-agent-report

Generated artifacts are written under examples/llm-agent-evals/.evals_output/.

Applying this to a real agent playground

  • Replace the local runner call with your runtime call.
  • Keep scenario ids stable across runs.
  • Record promptVersion and agentVersion per row.
  • Put provider request ids and trace refs in metadata/trace fields.

financial-domain-ollama-evals

Use this for a real local-model eval run (Ollama) in a regulated-domain style workflow.

pnpm example:financial-domain-ollama-report

If Ollama is unavailable, treat this suite as opt-in infrastructure-dependent coverage.

benchmark-packs

Use this when you want versioned suite bundles for safety, tool-routing, and groundedness planning. Compatibility guidance: docs/benchmark-packs.md.

cat examples/benchmark-packs/safety-pack.v1.json
cat examples/benchmark-packs/tool-routing-pack.v1.json
cat examples/benchmark-packs/groundedness-pack.v1.json

These are template inputs for suite/dataset/rubric planning. Emit normal eval-report/v1 run artifacts after applying them.

Implementation status

Runnable local examples:

  • vitest-evals
  • jest-custom-reporter
  • node-plain-eval
  • python-pytest-evals
  • langchain-evals
  • llm-agent-evals
  • financial-domain-ollama-evals
  • agent-quality-preset
  • basic-json
  • taxonomy-complete-fixture

CI templates and workflow examples:

  • github-actions
  • azure-devops

Reference/template examples:

  • static-html-dashboard
  • custom-reporter-plugin
  • benchmark-packs
  • screenshot-fixture
  • report-power-artifacts

Teach labs and FDE workflow

Use docs/teach-labs/README.md for delivery-stage labs and the FDE role workflow.

  • Local dev loop: docs/teach-labs/01-local-dev-loop.md
  • Pre-PR gating: docs/teach-labs/02-pre-pr-gating.md
  • PR review triage: docs/teach-labs/03-pr-review-triage.md
  • Release readiness: docs/teach-labs/04-release-readiness.md
  • Post-release monitoring: docs/teach-labs/05-post-release-monitoring.md
  • FDE role analysis + workflow: docs/teach-labs/fde-role-workflow.md