Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 242, in _generate_tables
                  pa_table = paj.read_json(
                             ^^^^^^^^^^^^^^
                File "pyarrow/_json.pyx", line 342, 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
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 97, in _split_generators
                  pa_table = next(iter(self._generate_tables(**splits[0].gen_kwargs, allow_full_read=False)))[1]
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 256, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 106, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                         ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

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.

Dataset Card for ECHR Guide Paragraph Diffs

Dataset Summary

This dataset contains paragraph-level and section-level diffs between consecutive versions of European Court of Human Rights case law guide PDFs.

Each JSON file covers one guide version transition and records paragraph-by-paragraph changes (additions, deletions, edits, moves), section structural events (additions, deletions, renames), and cited-case list diffs.

It is the primary source corpus used to build lexgenie/echr-case-linked-guide-diffs — the modeling-ready citation-change layer.

Dataset Structure

Files are organized by guide directory (39 guide directories, 145 JSON files total):

<guide_id>/
    diff_<date_a>__<date_b>.json
    ...

Each JSON file has the following top-level keys:

  • version_a, version_b: ISO date strings for the two guide snapshots
  • delta_days: number of days between versions
  • guide_title: human-readable guide name
  • summary: aggregate counts by change type
  • section_events: list of section-level structural events
  • paragraph_changes: list of paragraph-level change records
  • cited_cases_diff: {added: [...], removed: [...]} citation list diffs

Paragraph change record fields

Field Description
change_type One of: unchanged, minor_edit, citation_added, citation_updated, citation_removed, reformulation, paragraph_added, paragraph_deleted, section_moved, section_moved_modified
section_path Hierarchical section identifier
section_title Section heading text
section_level Nesting depth
para_num_a, para_num_b Paragraph index in version A and B
similarity Text similarity score (0–1)
text_a, text_b Paragraph text before and after
citations_added, citations_removed Per-paragraph citation deltas
moved_from, moved_to Section move provenance (when applicable)

Dataset Statistics

  • Guide directories: 39
  • Diff files: 145
  • Total paragraph changes (all types): 39148
  • Of which minor edits: 6342
  • Of which paragraph additions: 1877
  • Of which paragraph deletions: 1418
  • Of which citation additions: 2147
  • Section events: 689 (238 added, 237 deleted, 192 renamed, 22 title-changed)
  • Cited cases added across all transitions: 2987
  • Cited cases removed across all transitions: 1084
  • Total size: ~83 MB

Intended Use

This dataset is intended for:

  • temporal guide-body analysis across ECHR case law guides
  • paragraph-level change classification
  • section localization for case-linked guide updates
  • training and evaluation of guide-update generation models

Provenance

Produced by Anas Belfathi from Wayback Machine PDF snapshots of ECHR-KS guides (2022–2025). Paragraph alignment and diff computation use a custom PDF-parsing and text-alignment pipeline.

The guide snapshot archive is not publicly distributed due to size and licensing considerations; the Wayback Machine URLs are documented in wayback/*/snapshot_metadata.jsonl in the lexgenie/lexgenie repository.

See lexgenie/echr-guide-citation-diffs for the underlying PDF snapshot metadata and citation-list diffs, and lexgenie/echr-case-linked-guide-diffs for the modeling-ready downstream layer.

Downloads last month
17