dotctrl-evals / README.md
remi's picture
Add targeted Mistral Medium consent consolidation with traces
b980a8d verified
|
Raw History Blame Contribute Delete
11.1 kB
metadata
language:
  - en
tags:
  - agent-evaluation
  - tool-calling
  - tau2-bench
  - policy-enforcement
pretty_name: dotctrl Evaluation Records
configs:
  - config_name: runs
    data_files:
      - split: test
        path: runs.parquet
  - config_name: decisions
    data_files:
      - split: test
        path: decisions.parquet
  - config_name: attempts
    data_files:
      - split: test
        path: attempts.parquet
  - config_name: large4_runs
    data_files:
      - split: test
        path: >-
          experiments/tau2-telecom-mistral-large4-2026-11-23-45075505086/runs.parquet
  - config_name: sol_runs
    data_files:
      - split: test
        path: experiments/tau2-telecom-sol-consolidated-2026-11-23/runs.parquet
  - config_name: medium_runs
    data_files:
      - split: test
        path: >-
          experiments/tau2-telecom-mistral-medium35-2026-11-23-45255323289/runs.parquet
  - config_name: medium_consolidated_runs
    data_files:
      - split: test
        path: >-
          experiments/tau2-telecom-mistral-medium35-consent-2026-11-24-45383937075/runs.parquet

Current Medium targeted consent consolidation (24 November 2026)

Results, full rerun traces and provenance. The original comparison below is retained unchanged. This selected-case mixed-revision diagnostic gives post-hoc success 331/456, compliant success 331/456, and pass^4 48/114. It does not establish a full fresh fixed-policy score. Load medium_consolidated_runs.

Mistral Medium 3.5 completed comparison (24 November 2026)

Full results, traces and reproduction.

Metric Baseline Post-hoc
Success 327/456 (71.7%) 322/456 (70.6%)
Compliant success 275/456 (60.3%) 322/456 (70.6%)
Pass^4 54/114 (47.4%) 44/114 (38.6%)
Compliant pass^4 37/114 (32.5%) 44/114 (38.6%)
Executed-call audit flags 78 0

Compliance uses the canonical rubric audit. Final-continuation cost bounds: $2.06 baseline and $83.38 post-hoc. Load config medium_runs.

Sol consolidated comparison (23 November 2026)

Results and full traces. This is the current Sol post-hoc aggregate: 22 episodes overwritten with consent-fix reruns, 434 retained. Both arms contain 456 trials. This combines two dotctrl revisions and is not a fresh full run of the fixed revision.

Metric Baseline Consolidated post-hoc
Success 343/456 (75.2%) 348/456 (76.3%)
Pass^4 60/114 (52.6%) 60/114 (52.6%)
Audited compliant success 339/456 (74.3%) 348/456 (76.3%)
Audited compliant pass^4 58/114 (50.9%) 60/114 (52.6%)
Executed-call audit flags 13 0

Load using load_dataset("dottxt/dotctrl-evals", "sol_runs", split="test"). Authoritative rows link to full original or replacement traces; superseded episodes remain only in provenance archives. Previous model configs are retained.

dotctrl evaluation records

Recorded agent evaluations with model outputs, tool observations, native policy judgments and provenance. This is evaluation evidence, not a new task benchmark or a curated training dataset. Failed trials and refused proposals are retained alongside successful ones.

Mistral Large 4 comparison (23 November 2026)

Completed experiment: tau2-telecom-mistral-large4-2026-11-23-45075505086. Full baseline and post-hoc traces are retained, including failed attempts.

Metric Baseline Post-hoc
Successes 436/456 (95.6%) 433/456 (95.0%)
Canonical audited compliant successes 374/456 (82.0%) 433/456 (95.0%)
Raw pass^4 97/114 (85.1%) 94/114 (82.5%)
Canonical audited compliant pass^4 64/114 (56.1%) 94/114 (82.5%)
Executed-call audit flags 72 0

Audit review: the 72 baseline flags include 27 clear agent violations, 32 clear false flags, 5 likely false flags and 8 ambiguous cases. Removing only the clear false flags gives provisional baseline compliant successes 403/456 (88.4%) and compliant pass^4 77/114 (67.5%). These are separately labeled sensitivity calculations; canonical scores remain unchanged. Zero automatic flags is not proof of zero natural-language policy violations. See the full case review.

Load the new experiment with load_dataset("dottxt/dotctrl-evals", "large4_runs", split="test"). The original runs, decisions and attempts configs still contain the GPT-4.1 comparison and have not been overwritten.

GPT-4.1 comparison

Experiment: tau2-telecom-gpt41-2026-11-22-45017065153. 114 tau2 telecom base tasks, four trials per task, two arms: 912 trials.

Metric Baseline Post-hoc
Successful trials 158/456 (34.6%) 207/456 (45.4%)
Compliant successful trials 126/456 (27.6%) 207/456 (45.4%)
pass^4 12/114 (10.5%) 28/114 (24.6%)
Compliant pass^4 10/114 (8.8%) 28/114 (24.6%)
Executed policy violations 302 0
Refused proposals 0 447
Agent input tokens 63,609,983 71,412,720
Agent output tokens 580,741 633,534

Post-hoc has 81 more compliant successes (+17.8 percentage points). Eight post-hoc trials exhausted the recovery limit and remain in the denominator. All trials were audited; no audit errors, infrastructure exclusions or hidden outcome-based retries were recorded. Recompute the exact counts from files. These are results from one comparison; trials within a task are not independent samples of task difficulty.

What compliance means

An audited trial is compliant when no executed, non-error agent tool call was denied by the translated Rubric policy using the recorded extracted facts. This is not an independent proof that every implicit prose rule was translated or that extracted facts are correct. The fact model derives quote arithmetic and general scope. The audit does not independently judge user confirmation agreement; calls held solely for agreement are judged on their other policy requirements. No claim of universal semantic safety is made.

Both arms receive the original tau2 policy prompt and matched strict tool schemas with explicit defaults. Baseline runs its proposals without enforcing Rubric. Post-hoc proposes a call, validates it, returns native refusal feedback when needed, and regenerates. This comparison does not narrow or hide tools. Descriptions of computed constraints in native records are not evidence of applied narrowing. Refusals and executed violations are different measures.

Reproduce the numbers

python -m pip install -r requirements-analysis.txt
python reproduce.py . --verify

This reads per-trial records and checks them against original run summaries; it makes no model/API calls. To inspect the tables with Hugging Face Datasets:

from datasets import load_dataset
runs = load_dataset("dottxt/dotctrl-evals", "runs", split="test")
decisions = load_dataset("dottxt/dotctrl-evals", "decisions", split="test")

Files and joins

  • runs.parquet: one row per final graded trial. Join by record_id. native_record_json retains the full original per-trial metric record.
  • decisions.parquet: every proposed agent call, including refused, invalid, held and executed proposals. Join by record ID, agent ID, turn and call ID. Variable-schema arguments/facts/judgments/audits are losslessly JSON-encoded. Baseline's proposals are labeled baseline_unchecked, with independent audit verdicts in separate columns. Do not interpret them as enforcement decisions.
  • attempts.parquet: every attempt, with final-attempt status and recovery-token counters. Preserve crashed attempts separately; do not select by reward.
  • experiments/<id>/*.simulations.jsonl.gz: original graded simulations, including ordered messages, tool results, reward breakdown and harness data.
  • *.trajectories.jsonl.gz: ordered native JSONL trace records, with stable joins and original sequence/timestamps, including fact extractions, HTTP exchanges, native judgments and confirmation records.
  • *.upstream.jsonl.gz: retained gateway-to-model exchanges when applicable, including rejected generations. Baseline's direct exchanges are in its traces.
  • policy/: exact Rubric/fact/tool-bound files, actual per-arm tool schemas and system prompts. Actual per-request prompts are also preserved in wire traces.
  • provenance/: original manifests, environment freezes, engine identity and reported summaries/metrics. manifest.json records pinned commit IDs and separates PR head from the Actions checkout merge commit.
  • summary.json: computed results; checksums.json: file SHA-256 values.

Agent tokens include all recovery generations. recovery_retry_*_tokens counts generations after the first proposal in each turn, and is not the same as the between-arm token difference. Cached input is retained separately. Fact-model and simulated-user tokens are separate from agent tokens. Fact input tokens are reconstructed from the recorded fact-extraction usage records (absent usage remains null rather than zero). Post-hoc agent cost is unknown because upstream calls were unpriced; it must not be interpreted as free.

Provenance and reproducibility

Agent: gpt-4.1-2025-04-14; fact/user model: gpt-4.1-mini-2025-04-14; seed 300; temperature 0; concurrency 4 per arm; 200 steps; 2,048 output tokens per response; 16,384 agent output tokens per simulation; provider retries 0; infrastructure retries at most 1. Exact settings and dependencies are in the original manifests/freezes. Hosted model APIs do not promise bitwise identical regeneration; the saved records support recomputing this experiment's measurements without regeneration.

Source run: https://github.com/dottxt-ai/evals/actions/runs/45017065153

Earlier runs 44998271607 and 44957722648 are catalogued in the experiment manifest as superseded/incomplete. Their missing audit/usage records have not been fabricated or pooled into these tables. Their archives remain linked at their source, rather than silently being represented as complete releases.

Attribution and data handling

Tasks, simulator, domain prompts and synthetic customer records originate from Sierra Research's tau2-bench at the pinned commit in the manifest. Its MIT notice is retained under licenses/. Other included records are model-generated evaluation outputs and .txt-authored policy/measurement data; no additional dataset-wide license is asserted here.

Credentials, authorization/cookie fields and credential-bearing URL userinfo are redacted. Synthetic names, phone numbers and account identifiers are retained to preserve the tool relationships needed for auditing. Native judgments and model-derived facts are published as measurements, not ground truth labels. The exact original archives remain available through the source run; package checksums apply to this sanitized export.