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:    ArrowInvalid
Message:      JSON parse error: Column() changed from object to string in row 0
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 354, in _generate_tables
                  df = pandas_read_json(f)
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
                  return pd.read_json(path_or_buf, **kwargs)
                         ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
                  return json_reader.read()
                         ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
                  obj = self._get_object_parser(self.data)
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
                  obj = FrameParser(json, **kwargs).parse()
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
                  self._parse()
                  ~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1391, in _parse
                  self.obj = DataFrame(
                             ~~~~~~~~~^
                      ujson_loads(json, precise_float=self.precise_float), dtype=None
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/pandas/core/frame.py", line 782, in __init__
                  mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
                File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
                  return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
                File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
                  index = _extract_index(arrays)
                File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 677, in _extract_index
                  raise ValueError("All arrays must be of the same length")
              ValueError: All arrays must be of the same length
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 151, 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 131, 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 574, 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 546, in __iter__
                  yield from self.ex_iterable
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 438, in __iter__
                  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 357, in _generate_tables
                  raise e
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0

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.

GhostLocus-Bench v2

Author: Ryan Joshua Z. Gapac (ORCID: 0009-0004-2591-0219, ryanjoshuagapac.com) Paper #2 DOI: 10.5281/zenodo.24607074 (Omen, Instant-CLS & REM-Engram) Series: System-One & Bio-Memory Research Series (Paper #2), extending Warden-S1 (DOI: 10.5281/zenodo.24494405). License: Apache License, Version 2.0 (retaining the included NOTICE file).

Dataset Summary

GhostLocus-Bench v2 is a multi-day continual-learning and selective-unlearning benchmark for local coding-agent verification. It tests whether a verifier can look at a raw git diff touching file A, predict the untouched repository file B (the ghost locus) whose hidden contract is violated, pinpoint the guilty lines inside A, stay silent on benign same-file counterfactual twins, and forget invariants that have been cleanly retired by a subsequent architectural refactor.

Core Statistics

  • 60 cross-file invariant families (40 active on Day 6, 20 superseded by Days 4 to 5 refactors).
  • 5 open-source ecosystems (12 families each): FastAPI, Hono, Pydantic, Vite, and Zod.
  • M = 80 candidate repository files (60 invariant target file cards + 20 clean distractor modules).
  • 680 total episodes:
    • 420 training episodes (180 Days 1 to 3 breaking + 180 matched same-file safe twins + 60 Days 4 to 5 post-refactor clean commits).
    • 260 strictly held-out Day-6 test episodes (120 unseen active breaking + 80 unseen active safe twins + 60 unseen superseded clean diffs).
  • 6 structural failure classes: parser-differential (16), dual-write (12), check-then-act (11), contract-mismatch (10), unbounded-growth (6), and taint-escape (5).
  • Zero lexical path leakage: Programmatically audited across all 680 episodes (lexical_path_leakage_count = 0), ensuring no target ghost_file path appears anywhere in diff_text.

Splits & Schema

Split Episodes Timeline Alarm Label Description
train_days13_break 180 Days 1 to 3 1 Historical breaking diffs paired with privileged postmortem hindsight notes
train_days13_safe 180 Days 1 to 3 0 Matched same-file safe counterfactual twins touching the exact same source file
train_days45_superseded_clean 60 Days 4 to 5 0 Verified clean post-refactor commits retiring 20 historical contracts
test_active_break 120 Day 6 (held-out) 1 Unseen breaking variants on the 40 active invariants
test_active_safe 80 Day 6 (held-out) 0 Unseen benign edits to the same source files as active invariants
test_superseded_clean 60 Day 6 (held-out) 0 Unseen edits touching the 20 retired invariants (must not alarm)

Each episode record contains: episode_id, fam_id, repo, day, failure_class, src_file, ghost_file, ghost_file_id, is_breaking, alarm_label, guilty_lines, lines, diff_text, and (for training episodes) hindsight_note or refactor_note.

Reference Baselines (3-Seed Mean +/- Std, Qwen3-0.6B on Tesla T4)

  • Amnesiac Zero-Shot (Arm A): 5.0% Ghost R@1, 0.4476 Alarm AUROC, 50.0% Stale FPR.
  • Append-Only BM25 RAG (Arm B, top-8): 26.4% Ghost R@1, 0.6168 Alarm AUROC, 37.8% Stale FPR (872.4 prompt tokens).
  • Naive Uniform Replay SFT (Arm C): 91.4% Ghost R@1, 0.7183 Alarm AUROC, 98.3% Safe-Twin FPR, 36.1% Stale FPR.
  • Bio-REM Consolidation (Arm D, Ours): 97.5% Ghost R@1, 99.2% Ghost R@3, 0.9063 Alarm AUROC, 14.2% Safe-Twin FPR, 0.6% Stale FPR (125.6 prompt tokens).

Citation & License

Licensed under Apache-2.0 with the included NOTICE file. Cite both Paper #2 (Omen & REM-Engram) and Paper #1 (Warden-S1, DOI: 10.5281/zenodo.24494405).

Downloads last month
-