Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
source: string
dropped_dirs: struct<pilot: int64, lp-server: int64, backup: int64>
  child 0, pilot: int64
  child 1, lp-server: int64
  child 2, backup: int64
dropped_files: struct<>
dropped_split_lines: int64
path_rewrites: int64
id_redactions: int64
kept_files: int64
kept_bytes: int64
binary_files: list<item: null>
  child 0, item: null
deny_hits: list<item: null>
  child 0, item: null
deny_hit_count: int64
rule_text_hits: list<item: null>
  child 0, item: null
symlinks: int64
source_run: string
to
{'source_run': Value('string'), 'kept_files': Value('int64'), 'kept_bytes': Value('int64'), 'dropped_dirs': {'bulk': Value('int64'), 'checkout': Value('int64'), 'lp-code': Value('int64')}, 'dropped_files': {}, 'symlinks': Value('int64'), 'rule_text_hits': List(Value('null'))}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 150, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 130, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 579, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              source: string
              dropped_dirs: struct<pilot: int64, lp-server: int64, backup: int64>
                child 0, pilot: int64
                child 1, lp-server: int64
                child 2, backup: int64
              dropped_files: struct<>
              dropped_split_lines: int64
              path_rewrites: int64
              id_redactions: int64
              kept_files: int64
              kept_bytes: int64
              binary_files: list<item: null>
                child 0, item: null
              deny_hits: list<item: null>
                child 0, item: null
              deny_hit_count: int64
              rule_text_hits: list<item: null>
                child 0, item: null
              symlinks: int64
              source_run: string
              to
              {'source_run': Value('string'), 'kept_files': Value('int64'), 'kept_bytes': Value('int64'), 'dropped_dirs': {'bulk': Value('int64'), 'checkout': Value('int64'), 'lp-code': Value('int64')}, 'dropped_files': {}, 'symlinks': Value('int64'), 'rule_text_hits': List(Value('null'))}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

LeoTrace A.S.E benchmark runs

The complete logs of the A.S.E runs behind the results on leotrace.io/benchmarks, so anyone can check them: every task, every run, what the coding agent did, what LeoPrevent told it, the code it left behind and how that code was graded.

A.S.E is a public benchmark from Tencent. Each task takes a real open-source project, removes the function behind a published CVE and asks a coding agent to write it back. The task's own exploit then shows whether the agent's code is vulnerable. We ran it with our fork, leotrace-benchmarking/AICGSecEval, which adds one thing to A.S.E: running the same task with and without a security tool attached to the agent.

The runs

run page tasks agents setups
ase38-astra-sol-opus55-2026-10 A.S.E, October 2026 38 web Claude Opus 5.5 (Claude Code), GPT-6 Astra and GPT-6.1 Sol (Codex CLI) no tool, LeoPrevent, Anthropic security-guidance (Claude only)
ase64-fable52-opus55-2026-11 Claude Fable 5.2 25 web + 39 C Claude Fable 5.2 and Claude Opus 5.5 (Claude Code) no tool, LeoPrevent
ase64-astra62-2026-11 GPT-6.2 Astra 25 web + 39 C GPT-6.2 Astra (Codex CLI) no tool, LeoPrevent

Every task ran three times (cycles 1 to 3) per agent and setup. Agent and tool versions are in each batch's agent-versions.txt. The runs were generated with our fork; to check or rerun them, use its public leobench branch.

What is here

tasks/      the exact task lists and retrieval context each run used
            ase38_*            October run (also in the fork's `leobench` branch at data/inscope38_*.json)
            ase64_web_*, ase64_c_*   November runs (25 web + 39 C tasks)
scripts/    the grading scripts we ran on top of A.S.E (verification and reporting)
runs/       one zip per run

Inside a run, per agent and setup (generated_code/<agent>__<setup>/):

  • _security/<task>_cycleN/: the prompt the agent got, its final message (conversation.txt), its diff (result.diff), the agent's own session transcript (_claude/projects/ or _codex/sessions/), and in LeoPrevent runs the LeoPrevent client log (_leoprevent/client.log) and a summary of its reviews (leoprevent_review.json).
  • *_eval_results.json, *_score.json: A.S.E's verdict for every task and cycle.
  • _genlogs/ and *.gen.log, *.verify*.log: the harness logs for generation and grading.

The October run predates per-task transcripts (added 8 October 2026). For that run the agents' full sessions are in the harness logs (<agent>/_genlogs/) instead, and each <task>_cycleN/ folder holds the agent's version of the file under test, which is what A.S.E copies into the task image when it grades.

What we removed

  • LeoPrevent's own code and server. The plugin, the server logs and the review rules are not included. What LeoPrevent told the agent is included in full, exactly as the agent saw it.
  • Accounts and machine details. Logins, account and user ids are removed. The operator's home folder is rewritten to /home/operator/ and the workspace folder to /work/.
  • Internal run bookkeeping. A few harness warning lines and files about our own pre-run checks.
  • Checkouts and dependencies. The project checkouts each agent worked in are left out (the diffs are included); they can be rebuilt from the task's repository and commit.
  • Trial runs. Pilot batches that are not part of any published result.

Each run has EXPORT.json and PUBLIC-EXPORT.json, which list what was left out and how much.

Checking a result yourself

The grading does not depend on LeoPrevent: A.S.E runs each task's exploit against the code the agent wrote. To re-grade a run from these files:

  1. Clone the fork's leobench branch and install A.S.E's requirements (git clone -b leobench https://github.com/leotrace-benchmarking/AICGSecEval.git && cd AICGSecEval && python3 -m venv .venv && .venv/bin/pip install -r requirements.txt).

  2. Unzip the run into outputs/ of that checkout.

  3. November runs only (the October run's cycle folders are ready to grade; move its scan_results/ aside to scan_results.published/ yourself). Rebuild the project tree of each cycle. The logs keep each cycle's diff, not the checkout; this clones the task's repository at its base commit, masks it the way A.S.E does and applies the agent's diff. It moves the published verdicts to scan_results.published/ (and scan_results.json to scan_results.published.json) so you can compare. Add task ids at the end to do only those. It is safe to run again; a cell that fails to rebuild is left as it was.

    python3 <this dataset>/scripts/rebuild_cells.py <this dataset>/tasks/ase64_web_tasks.json \
      outputs/ase64-fable52-opus55-2026-11/opus55-web
    
  4. Grade them with A.S.E. The task images (image field in the task file) are pulled from Docker Hub. They are amd64 images; on arm64 Docker runs them under emulation, which is slow but works.

    export ASE_HOME=$PWD
    DS=<this dataset>/tasks/ase64_web_tasks.json OUT=outputs/ase64-fable52-opus55-2026-11/opus55-web CYCLES=3 \
      bash <this dataset>/scripts/verify_local.sh claude_raw_sealed claude_lp_sealed
    
  5. Compare scan_results/ with scan_results.published/ file by file. poc_check: true means the original CVE's exploit failed against the agent's code; false means it still worked. scripts/report_ase.py tabulates both setups.

Batch names: the October run uses claude_raw, claude_lp, claude_sg, codex_raw and codex_lp (Opus 5.5 under claude/, Astra under astra/, Sol under sol/); the November runs add _sealed to each name.

Running the benchmark yourself

To run your own agent on the same tasks instead of re-grading ours, follow Run it yourself in the fork's README. It gives the commands to generate code with Claude Code or the Codex CLI on the task lists in tasks/ and to grade it with A.S.E. We tested them from a fresh clone on one task with each agent.

Two differences from our November runs. We started each agent in a fresh container using LeoBench, our benchmark harness; the fork's own commands run the agent on your machine instead, with the same prompt and the same sealed repository. And the LeoPrevent setup needs LeoPrevent itself.

Questions or a result that does not reproduce: open an issue on the fork.

Downloads last month
44