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
resolver: string
source: string
scored: int64
accuracy: int64
successCount: int64
falseHealRate: double
missRate: double
meanTimeToHealMs: null
accuracyByBand: struct<1: string, 2: string, 3: string, 4: string, 5: string>
  child 0, 1: string
  child 1, 2: string
  child 2, 3: string
  child 3, 4: string
  child 4, 5: string
rows: list<item: struct<id: string, band: int64, mutation: string, outcome: string, strategy: string, ms:  (... 7 chars omitted)
  child 0, item: struct<id: string, band: int64, mutation: string, outcome: string, strategy: string, ms: int64>
      child 0, id: string
      child 1, band: int64
      child 2, mutation: string
      child 3, outcome: string
      child 4, strategy: string
      child 5, ms: int64
generatedTargets: int64
url: string
perturbations: list<item: struct<id: string, url: string, brittleSelector: string, difficultyBand: int64, mutation: (... 159 chars omitted)
  child 0, item: struct<id: string, url: string, brittleSelector: string, difficultyBand: int64, mutation: string, gr (... 147 chars omitted)
      child 0, id: string
      child 1, url: string
      child 2, brittleSelector: string
      child 3, difficultyBand: int64
      child 4, mutation: string
      child 5, groundTruth: struct<tag: string, role: null, text: string, ariaLabel: string, centroid: struct<x: int64, y: int64 (... 35 chars omitted)
          child 0, tag: string
          child 1, role: null
          child 2, text: string
          child 3, ariaLabel: string
          child 4, centroid: struct<x: int64, y: int64>
              child 0, x: int64
              child 1, y: int64
          child 5, box: struct<w: int64, h: int64>
              child 0, w: int64
              child 1, h: int64
to
{'url': Value('string'), 'generatedTargets': Value('int64'), 'perturbations': List({'id': Value('string'), 'url': Value('string'), 'brittleSelector': Value('string'), 'difficultyBand': Value('int64'), 'mutation': Value('string'), 'groundTruth': {'tag': Value('string'), 'role': Value('null'), 'text': Value('string'), 'ariaLabel': Value('string'), 'centroid': {'x': Value('int64'), 'y': Value('int64')}, 'box': {'w': Value('int64'), 'h': Value('int64')}}})}
because column names don't match
Traceback:    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 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
              resolver: string
              source: string
              scored: int64
              accuracy: int64
              successCount: int64
              falseHealRate: double
              missRate: double
              meanTimeToHealMs: null
              accuracyByBand: struct<1: string, 2: string, 3: string, 4: string, 5: string>
                child 0, 1: string
                child 1, 2: string
                child 2, 3: string
                child 3, 4: string
                child 4, 5: string
              rows: list<item: struct<id: string, band: int64, mutation: string, outcome: string, strategy: string, ms:  (... 7 chars omitted)
                child 0, item: struct<id: string, band: int64, mutation: string, outcome: string, strategy: string, ms: int64>
                    child 0, id: string
                    child 1, band: int64
                    child 2, mutation: string
                    child 3, outcome: string
                    child 4, strategy: string
                    child 5, ms: int64
              generatedTargets: int64
              url: string
              perturbations: list<item: struct<id: string, url: string, brittleSelector: string, difficultyBand: int64, mutation: (... 159 chars omitted)
                child 0, item: struct<id: string, url: string, brittleSelector: string, difficultyBand: int64, mutation: string, gr (... 147 chars omitted)
                    child 0, id: string
                    child 1, url: string
                    child 2, brittleSelector: string
                    child 3, difficultyBand: int64
                    child 4, mutation: string
                    child 5, groundTruth: struct<tag: string, role: null, text: string, ariaLabel: string, centroid: struct<x: int64, y: int64 (... 35 chars omitted)
                        child 0, tag: string
                        child 1, role: null
                        child 2, text: string
                        child 3, ariaLabel: string
                        child 4, centroid: struct<x: int64, y: int64>
                            child 0, x: int64
                            child 1, y: int64
                        child 5, box: struct<w: int64, h: int64>
                            child 0, w: int64
                            child 1, h: int64
              to
              {'url': Value('string'), 'generatedTargets': Value('int64'), 'perturbations': List({'id': Value('string'), 'url': Value('string'), 'brittleSelector': Value('string'), 'difficultyBand': Value('int64'), 'mutation': Value('string'), 'groundTruth': {'tag': Value('string'), 'role': Value('null'), 'text': Value('string'), 'ariaLabel': Value('string'), 'centroid': {'x': Value('int64'), 'y': Value('int64')}, 'box': {'w': Value('int64'), 'h': Value('int64')}}})}
              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.

False-Heal Benchmark: Adversarial Web Locator Healing with an Identity Oracle

Labeled selector breaks ("perturbations") from two production-grade public web applications, Supabase Studio and Grafana, plus the per-case outcomes of several locator resolvers: the broken selector, a text/role heuristic, Healenium, and LLM DOM-healers (Claude Sonnet 4.6 and the open-weights Hermes-3 via Ollama).

The key idea is the identity oracle: before each mutation, the true target element is tagged with a persistent data-truth attribute, so a "heal" counts as correct only if the resolved element is that node. This exposes false heals: the test goes green, but on the wrong element.

This is the evaluation data behind:

Suneet Malhotra. LLM self-healing of web locators as assisted triage: An adversarial benchmark, deployment lessons, and an unconfirmed cross-layer observability blueprint. Journal of Systems and Software, Vol. 245 (2027), 113157. https://doi.org/10.1016/j.jss.2026.113157

Headline results (from the article)

  • Across 133 scored selector breaks (Supabase N=53, Grafana N=80), LLM DOM-healers recovered 55–68% of broken locators across two model families; a text heuristic recovered 20–34%; Healenium 23% (Supabase only); the broken selector 0%.
  • The LLM healer silently resolved the wrong element in roughly a quarter of cases (~26% false heals), which is why the article recommends assisted triage behind a human gate rather than unattended CI healing.
  • Paired A/B (N=57): cross-layer prompt context moved recovery from 60% to 68% (exact McNemar p ≈ 0.23, not significant).

Caveat: both targets are public applications likely present in model pre-training data, so part of the recovery may be memorization.

Files

Path Contents
data/perturbations/perturb-supabase.json, perturb-grafana.json, perturb-portfolio.json Labeled perturbations: id, brittle selector, mutation type, difficulty band (1–5), ground-truth element (tag, role, text, aria-label, position)
data/results/res-*.json Per-resolver outcomes per perturbation (recovered / false heal / miss, timing)
BENCHMARK_RESULTS.md Result tables from the harness
HARNESS_CHAOS_README.md How the perturbations were generated and scored

Full code (generator, scorer, Healenium duel, coupling A/B) is in the companion repository: https://github.com/SuneetMalhotra/agent-harness, archived at Zenodo, DOI 10.5281/zenodo.20576685.

How to use

Use the perturbations as a benchmark for any locator-repair or self-healing approach. Report recovery and false-heal rate separately; a high recovery with a high false-heal rate is not safe for unattended CI.

Citation

@article{malhotra2027selfhealing,
  author  = {Malhotra, Suneet},
  title   = {LLM self-healing of web locators as assisted triage: An adversarial benchmark, deployment lessons, and an unconfirmed cross-layer observability blueprint},
  journal = {Journal of Systems and Software},
  volume  = {245},
  pages   = {113157},
  year    = {2027},
  doi     = {10.1016/j.jss.2026.113157}
}

License

MIT (same as the companion repository).

Downloads last month
34