eval-dashboards docs

Type to search.

    v1 pages

    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

    Paired comparison evidence

    examples/paired-comparison/generate.mjs writes two synthetic, taxonomy-aware reports for the same 100 passing cases. Its README shows the opt-in paired gate and offline report commands. The example intentionally yields an inconclusive comparison rather than interpreting identical observed outcomes as perfect certainty. It uses no model provider, database, or paid service.

    Repeated-trial uncertainty

    examples/repeated-trials/ generates two synthetic artifacts with stable case and measurement versions. One case declares fixed independent trials; the other keeps its sampling design unknown. Run its README commands to inspect per-case rates and conservative difference bounds without a provider, database, or paid service. These are demonstration counts, not model benchmark results.

    Complete policy evaluation

    Run pnpm exec tsx examples/policy-evaluation/run.ts from repository source. A synthetic answer passes ordinary gates but fails the complete policy because required calibration evidence is missing. The same evaluator powers CLI check and report; its README explains input validation and selection scope. This example needs 0.11.0 or newer and no provider, database or server. Version 0.11.0 was published on 2026-11-02; see the release receipt for installed-package evidence.

    Installed-package compatibility

    pnpm verify:package checks a fresh strict-engine tarball install, public API, offline HTML and file history. It also verifies GitHub comment create/update and Pages file updates using the real installed client with simulated fetch, plus mail message generation in memory. No GitHub request or email is sent. Required CI runs these consumers on Node 20/22/24/26; SQLite is checked on Node >=22.5.

    Hosted storage checks (source only)

    Run pnpm test:hosted-db with a local Docker engine. The harness starts and removes its own network-isolated PostgreSQL container and checks tenant/project policies, composite references, immutable revisions, idempotency associations and job metadata using a restricted runtime login. Credential checks use a separate lookup login and cover stored scope, expiry, revocation, membership changes and denied direct table access. It rejects remote Docker endpoints and takes no external database URL. See the storage guide. The same checks now exercise the HTTP intake handler, private files, transactional acceptance, concurrent retries and revision conflicts. No account login, deployed service or indexing worker is provided; portable examples continue to need no database. The bearer-header example runs with pnpm exec tsx hosted/auth/example.ts and prints only decisions. Its in-memory lookup is a demonstration; the database checks also authenticate a generated secret through the real restricted PostgreSQL lookup.

    The same pnpm test:hosted-db run verifies the worker lease protocol: concurrent claims, locked work, stale-token denial, heartbeat, delayed retries and bounded attempts. It exercises database coordination, not a running indexer.

    For calibration fixtures, put both judgeVerdict and groundTruthVerdict on the same row before using agreement/disagreement thresholds. Axis-delta fixtures need shared judge/human axis names. In source after 0.11.0, missing pairs fail a configured blocking threshold; report-only suites remain optional. See calibration gates. Preflight evidence also needs a declared minJudgeAgreementRate, maxJudgeDisagreementRate or minJudgeKappa that passes on the matching judge’s paired labels. The agent-quality preset declares a 0.9 agreement bar; a generic passRate alone no longer qualifies a calibration run in source after 0.11.0.

    The minimum sample example runs with pnpm dev check --input=examples/calibration-minimum-sample and demonstrates minCalibrationRows: 2 using two synthetic paired labels. This small example is not a production sample-size recommendation. Its two boolean label classes also demonstrate defined Cohen’s kappa. Use pnpm dev report --input=examples/calibration-minimum-sample --report-dir=./calibration-report --reporter=html --reporter=json-summary to inspect paired counts, raw agreement, kappa and human-category breakdowns. See the statistics guide for majority-label and undefined-metric examples.

    The four-class example keeps “fully answered”, “partially answered”, “not covered” and “wrong” distinct. Run pnpm dev check --input=examples/calibration-class-labels. It demonstrates agreement and kappa on named labels, with an explicit Pass mapping. Synthetic examples show the calculation, not production reliability. Requires source after npm 0.11.0.

    The version comparison example shows a planned model change with matching prompt, tools and configuration. Run pnpm dev check --input=examples/baseline-version-keys. Remove the declared reason and the same changed model blocks the baseline. The synthetic IDs show the workflow, not proof of a controlled production experiment. Requires source after npm 0.11.0.