Datasets:
Tasks:
Text Classification
Modalities:
Text
Sub-tasks:
multi-class-classification
Languages:
Ukrainian
Size:
1M - 10M
ArXiv:
License:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,106 +1,175 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
- name: validation
|
| 22 |
-
num_bytes: 5226257300
|
| 23 |
-
num_examples: 195989
|
| 24 |
-
- name: test
|
| 25 |
-
num_bytes: 5365271402
|
| 26 |
-
num_examples: 195991
|
| 27 |
-
download_size: 16277150563
|
| 28 |
-
dataset_size: 44535372152
|
| 29 |
-
- config_name: hybrid_war
|
| 30 |
-
features:
|
| 31 |
-
- name: text
|
| 32 |
-
dtype: string
|
| 33 |
-
- name: label
|
| 34 |
-
dtype: string
|
| 35 |
-
- name: language
|
| 36 |
-
dtype: string
|
| 37 |
-
- name: jurisdiction
|
| 38 |
-
dtype: string
|
| 39 |
-
- name: adjudication_date
|
| 40 |
-
dtype: timestamp[s]
|
| 41 |
-
- name: doc_id
|
| 42 |
-
dtype: string
|
| 43 |
-
splits:
|
| 44 |
-
- name: train
|
| 45 |
-
num_bytes: 39397455211
|
| 46 |
-
num_examples: 3349700
|
| 47 |
-
- name: validation
|
| 48 |
-
num_bytes: 6143191099
|
| 49 |
-
num_examples: 418712
|
| 50 |
-
- name: test
|
| 51 |
-
num_bytes: 9861234954
|
| 52 |
-
num_examples: 418714
|
| 53 |
-
download_size: 17839751898
|
| 54 |
-
dataset_size: 55401881264
|
| 55 |
-
- config_name: pre_war
|
| 56 |
-
features:
|
| 57 |
-
- name: text
|
| 58 |
-
dtype: string
|
| 59 |
-
- name: label
|
| 60 |
-
dtype: string
|
| 61 |
-
- name: language
|
| 62 |
-
dtype: string
|
| 63 |
-
- name: jurisdiction
|
| 64 |
-
dtype: string
|
| 65 |
-
- name: adjudication_date
|
| 66 |
-
dtype: timestamp[s]
|
| 67 |
-
- name: doc_id
|
| 68 |
-
dtype: string
|
| 69 |
-
splits:
|
| 70 |
-
- name: train
|
| 71 |
-
num_bytes: 3598755579
|
| 72 |
-
num_examples: 434609
|
| 73 |
-
- name: validation
|
| 74 |
-
num_bytes: 449176765
|
| 75 |
-
num_examples: 54326
|
| 76 |
-
- name: test
|
| 77 |
-
num_bytes: 497273380
|
| 78 |
-
num_examples: 54327
|
| 79 |
-
download_size: 1482386360
|
| 80 |
-
dataset_size: 4545205724
|
| 81 |
configs:
|
| 82 |
-
- config_name:
|
| 83 |
data_files:
|
| 84 |
- split: train
|
| 85 |
-
path:
|
| 86 |
- split: validation
|
| 87 |
-
path:
|
| 88 |
- split: test
|
| 89 |
-
path:
|
| 90 |
- config_name: hybrid_war
|
| 91 |
data_files:
|
| 92 |
- split: train
|
| 93 |
-
path: hybrid_war/train-*
|
| 94 |
- split: validation
|
| 95 |
-
path: hybrid_war/validation-*
|
| 96 |
- split: test
|
| 97 |
-
path: hybrid_war/test-*
|
| 98 |
-
- config_name:
|
| 99 |
data_files:
|
| 100 |
- split: train
|
| 101 |
-
path:
|
| 102 |
- split: validation
|
| 103 |
-
path:
|
| 104 |
- split: test
|
| 105 |
-
path:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- uk
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
task_ids:
|
| 8 |
+
- multi-class-classification
|
| 9 |
+
pretty_name: "Ukrainian Court Decisions: Case Outcome Prediction (6.7M)"
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1M<n<10M
|
| 12 |
+
tags:
|
| 13 |
+
- legal
|
| 14 |
+
- court-decisions
|
| 15 |
+
- ukraine
|
| 16 |
+
- judgment-prediction
|
| 17 |
+
- legal-nlp
|
| 18 |
+
- temporal-split
|
| 19 |
+
- edrsr
|
| 20 |
+
source_datasets: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
configs:
|
| 22 |
+
- config_name: pre_war
|
| 23 |
data_files:
|
| 24 |
- split: train
|
| 25 |
+
path: pre_war/train-*.parquet
|
| 26 |
- split: validation
|
| 27 |
+
path: pre_war/validation-*.parquet
|
| 28 |
- split: test
|
| 29 |
+
path: pre_war/test-*.parquet
|
| 30 |
- config_name: hybrid_war
|
| 31 |
data_files:
|
| 32 |
- split: train
|
| 33 |
+
path: hybrid_war/train-*.parquet
|
| 34 |
- split: validation
|
| 35 |
+
path: hybrid_war/validation-*.parquet
|
| 36 |
- split: test
|
| 37 |
+
path: hybrid_war/test-*.parquet
|
| 38 |
+
- config_name: full_scale
|
| 39 |
data_files:
|
| 40 |
- split: train
|
| 41 |
+
path: full_scale/train-*.parquet
|
| 42 |
- split: validation
|
| 43 |
+
path: full_scale/validation-*.parquet
|
| 44 |
- split: test
|
| 45 |
+
path: full_scale/test-*.parquet
|
| 46 |
+
dataset_info:
|
| 47 |
+
features:
|
| 48 |
+
- name: text
|
| 49 |
+
dtype: string
|
| 50 |
+
- name: label
|
| 51 |
+
dtype: string
|
| 52 |
+
- name: language
|
| 53 |
+
dtype: string
|
| 54 |
+
- name: jurisdiction
|
| 55 |
+
dtype: string
|
| 56 |
+
- name: adjudication_date
|
| 57 |
+
dtype: string
|
| 58 |
+
- name: doc_id
|
| 59 |
+
dtype: string
|
| 60 |
---
|
| 61 |
+
|
| 62 |
+
# Ukrainian Court Decisions: Case Outcome Prediction (6.7M)
|
| 63 |
+
|
| 64 |
+
The largest publicly available dataset of Ukrainian court decisions for **case outcome prediction**, extracted from the [State Court Decisions Registry](https://reyestr.court.gov.ua/) (EDRSR). Contains **6,690,284** substantive decisions from civil and commercial courts spanning 2008--2026, with temporal splits across three wartime epochs.
|
| 65 |
+
|
| 66 |
+
## Overview
|
| 67 |
+
|
| 68 |
+
Ukraine's EDRSR is one of the world's largest open judicial databases, containing 100M+ judicial documents. This dataset extracts the 12.6M substantive decisions (judgment_code=3, "Рішення") from civil and commercial jurisdictions, filtering to 6.7M with parseable case outcomes.
|
| 69 |
+
|
| 70 |
+
For the benchmark-sized version (428K balanced, with LEXTREME configs), see [overthelex/ukrainian-court-decisions](https://huggingface.co/datasets/overthelex/ukrainian-court-decisions).
|
| 71 |
+
|
| 72 |
+
## Dataset Structure
|
| 73 |
+
|
| 74 |
+
Three temporal epoch configs with chronological train/validation/test splits (80/10/10):
|
| 75 |
+
|
| 76 |
+
| Config | Train | Validation | Test | Total | Period |
|
| 77 |
+
|--------|------:|----------:|-----:|------:|--------|
|
| 78 |
+
| `pre_war` | 434,609 | 54,326 | 54,327 | 543,262 | 2008--2013 |
|
| 79 |
+
| `hybrid_war` | 3,349,700 | 418,712 | 418,714 | 4,187,126 | 2014--2021 |
|
| 80 |
+
| `full_scale` | 1,567,916 | 195,989 | 195,991 | 1,959,896 | 2022--2026 |
|
| 81 |
+
|
| 82 |
+
### Fields
|
| 83 |
+
|
| 84 |
+
| Field | Description |
|
| 85 |
+
|-------|-------------|
|
| 86 |
+
| `text` | Facts section of the decision (full, untruncated) |
|
| 87 |
+
| `label` | Case outcome: `approved`, `dismissed`, or `partial` |
|
| 88 |
+
| `language` | Always `uk` (Ukrainian) |
|
| 89 |
+
| `jurisdiction` | `civil` or `commercial` |
|
| 90 |
+
| `adjudication_date` | Date of the decision (YYYY-MM-DD) |
|
| 91 |
+
| `doc_id` | Unique document ID in EDRSR |
|
| 92 |
+
|
| 93 |
+
### Label distribution (natural, unbalanced)
|
| 94 |
+
|
| 95 |
+
| Epoch | approved | partial | dismissed |
|
| 96 |
+
|-------|---------|---------|-----------|
|
| 97 |
+
| pre_war | 78.8% | 16.0% | 5.2% |
|
| 98 |
+
| hybrid_war | 76.5% | 14.5% | 9.0% |
|
| 99 |
+
| full_scale | 79.0% | 13.2% | 7.8% |
|
| 100 |
+
|
| 101 |
+
## Temporal Epochs
|
| 102 |
+
|
| 103 |
+
The three epochs correspond to distinct phases of Ukrainian legal history, with substantial shifts in judicial practice:
|
| 104 |
+
|
| 105 |
+
| Epoch | Period | Context |
|
| 106 |
+
|-------|--------|---------|
|
| 107 |
+
| **pre_war** | 2008--2013 | Stable legal environment, ~832 courts operational |
|
| 108 |
+
| **hybrid_war** | 2014--2021 | Crimea annexation, Donbas conflict, ~40 courts lost, displaced judiciary |
|
| 109 |
+
| **full_scale** | 2022--2026 | Full-scale Russian invasion, nationwide martial law, new legal regimes |
|
| 110 |
+
|
| 111 |
+
Splits are **temporal** (chronological by adjudication date), not random. Earlier decisions are in train, later ones in test -- simulating real deployment conditions.
|
| 112 |
+
|
| 113 |
+
## Task
|
| 114 |
+
|
| 115 |
+
Given the **facts section** (ВСТАНОВИВ) of a court decision, predict the case outcome:
|
| 116 |
+
|
| 117 |
+
| Label | Ukrainian | Description |
|
| 118 |
+
|-------|-----------|-------------|
|
| 119 |
+
| `approved` | Задоволено | Claim fully satisfied |
|
| 120 |
+
| `dismissed` | Відмовлено | Claim dismissed |
|
| 121 |
+
| `partial` | Частково задоволено | Claim partially satisfied |
|
| 122 |
+
|
| 123 |
+
Only the facts section is provided as input. The court's reasoning and the dispositive (ruling) section are excluded to prevent trivial classification.
|
| 124 |
+
|
| 125 |
+
## Usage
|
| 126 |
+
|
| 127 |
+
```python
|
| 128 |
+
from datasets import load_dataset
|
| 129 |
+
|
| 130 |
+
# Load a specific epoch
|
| 131 |
+
ds = load_dataset("overthelex/ua-case-outcome-6m", "hybrid_war")
|
| 132 |
+
|
| 133 |
+
# Cross-epoch evaluation
|
| 134 |
+
train = load_dataset("overthelex/ua-case-outcome-6m", "pre_war", split="train")
|
| 135 |
+
test = load_dataset("overthelex/ua-case-outcome-6m", "full_scale", split="test")
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
## Related Datasets
|
| 139 |
+
|
| 140 |
+
- [overthelex/ukrainian-court-decisions](https://huggingface.co/datasets/overthelex/ukrainian-court-decisions) -- benchmark-sized version (428K balanced) with LEXTREME configs
|
| 141 |
+
- [overthelex/ua-court-citation-graph](https://huggingface.co/datasets/overthelex/ua-court-citation-graph) -- 2.3M co-citation edges from 99.5M court decisions
|
| 142 |
+
- [overthelex/ua-statute-retrieval](https://huggingface.co/datasets/overthelex/ua-statute-retrieval) -- statute retrieval benchmark from 396M citations
|
| 143 |
+
- [overthelex/ua-temporal-drift](https://huggingface.co/datasets/overthelex/ua-temporal-drift) -- temporal concept drift analysis data
|
| 144 |
+
- [joelniklaus/lextreme](https://huggingface.co/datasets/joelniklaus/lextreme) -- multilingual legal NLU benchmark (includes Ukrainian subset)
|
| 145 |
+
|
| 146 |
+
## Related Papers
|
| 147 |
+
|
| 148 |
+
- **Temporal Decay of Co-Citation Predictability: A 20-Year Statute Retrieval Benchmark from 396M Ukrainian Court Citations** ([arXiv:2605.17639](https://arxiv.org/abs/2605.17639)) -- uses the same EDRSR source registry; analyzes temporal effects on legal information retrieval
|
| 149 |
+
- **A Citation Graph from 100 Million Court Decisions: Structure, Dynamics, and Applications** ([arXiv:2605.15362](https://arxiv.org/abs/2605.15362)) -- constructs a citation network from the same 100M+ EDRSR documents
|
| 150 |
+
- **Tokenizer Fertility and Zero-Shot Performance on Ukrainian Legal Text** ([arXiv:2605.14890](https://arxiv.org/abs/2605.14890)) -- evaluates tokenizer quality on Ukrainian court decisions
|
| 151 |
+
- **LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domain** ([arXiv:2301.13126](https://arxiv.org/abs/2301.13126)) -- the benchmark this dataset contributes to
|
| 152 |
+
|
| 153 |
+
## Source Data
|
| 154 |
+
|
| 155 |
+
- **Registry**: State Court Decisions Registry of Ukraine (ЄДРСР), [reyestr.court.gov.ua](https://reyestr.court.gov.ua/)
|
| 156 |
+
- **Document type**: Substantive decisions only (judgment_code=3, "Рішення")
|
| 157 |
+
- **Jurisdictions**: Civil (justice_kind=1) and commercial (justice_kind=3)
|
| 158 |
+
- **Text processing**: anonymization tokens (ОСОБА_1, АДРЕСА_1, etc.) normalized to [PERSON], [ADDRESS], [NUMBER], [INFO]
|
| 159 |
+
- **Outcome extraction**: regex-based classification from the dispositive section
|
| 160 |
+
|
| 161 |
+
## Citation
|
| 162 |
+
|
| 163 |
+
```bibtex
|
| 164 |
+
@misc{ovcharov2025uacaseoutcome,
|
| 165 |
+
title={Ukrainian Court Decisions: Case Outcome Prediction Dataset (6.7M)},
|
| 166 |
+
author={Ovcharov, Volodymyr},
|
| 167 |
+
year={2025},
|
| 168 |
+
url={https://huggingface.co/datasets/overthelex/ua-case-outcome-6m},
|
| 169 |
+
note={Extracted from the State Court Decisions Registry of Ukraine (EDRSR)}
|
| 170 |
+
}
|
| 171 |
+
```
|
| 172 |
+
|
| 173 |
+
## License
|
| 174 |
+
|
| 175 |
+
CC-BY-4.0. The source data is published by the State Court Administration of Ukraine under open access provisions per Ukrainian law "On Access to Court Decisions" (2005).
|