overthelex commited on
Commit
9ce8fc6
·
verified ·
1 Parent(s): 8de79b4

Add Ukrainian court decisions judgment prediction subset

Browse files

Add a new SLTC subset: `ukrainian_court_decisions_judgment` — case outcome prediction for Ukrainian court decisions.

### Dataset details
- **Source**: [overthelex/ukrainian-court-decisions](https://huggingface.co/datasets/overthelex/ukrainian-court-decisions)
- **Language**: Ukrainian (uk)
- **Task**: Single-label text classification (SLTC)
- **Labels**: `approved`, `dismissed`, `partial`
- **Size**: 10,268 samples (8,214 train / 1,027 val / 1,027 test)
- **Input**: Facts section only (ВСТАНОВИВ marker to ВИРІШИВ marker)
- **Source registry**: State Court Decisions Registry of Ukraine (ЄДРСР, reyestr.court.gov.ua)
- **Jurisdiction**: Civil and commercial courts, 2010–2014

### Why facts only?
Following the approach from Swiss Judgment Prediction and Brazilian Court Decisions subsets, we provide only the facts section to avoid trivially solvable classification (the ruling section contains the answer directly).

### Changes
- Added `_UKRAINIAN_COURT_DECISIONS_JUDGMENT` config dict in `lextreme.py`
- Added `LextremeConfig` entry in `BUILDER_CONFIGS`

This is the first Cyrillic-script / Ukrainian language subset in LexTreme.

Files changed (1) hide show
  1. lextreme.py +28 -0
lextreme.py CHANGED
@@ -4101,6 +4101,33 @@ _MAPA_FINE = {
4101
  }
4102
 
4103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4104
  _TURKISH_CONSTITUTIONAL_COURT_DECISIONS_JUDGMENT = {
4105
  "task_type": TaskType.SLTC,
4106
  "hf_hub_name": "KocLab-Bilkent/turkish-constitutional-court",
@@ -4141,6 +4168,7 @@ class LEXTREME(datasets.GeneratorBasedBuilder):
4141
  LextremeConfig(name="greek_legal_code_chapter", **_GREEK_LEGAL_CODE_CHAPTER),
4142
  LextremeConfig(name="greek_legal_code_subject", **_GREEK_LEGAL_CODE_SUBJECT),
4143
  LextremeConfig(name="online_terms_of_service_unfairness_levels", **_ONLINE_TERMS_OF_SERVICE_UNFAIRNESS_LEVELS),
 
4144
  LextremeConfig(name="turkish_constitutional_court_decisions_judgment", **_TURKISH_CONSTITUTIONAL_COURT_DECISIONS_JUDGMENT),
4145
  LextremeConfig(name="swiss_criticality_prediction_bge_facts", **_SWISS_CRITICLALITY_PREDICTION_BGE_FACTS),
4146
  LextremeConfig(name="swiss_criticality_prediction_bge_considerations", **_SWISS_CRITICLALITY_PREDICTION_BGE_CONSIDERATIONS),
 
4101
  }
4102
 
4103
 
4104
+ _UKRAINIAN_COURT_DECISIONS_JUDGMENT = {
4105
+ "task_type": TaskType.SLTC,
4106
+ "hf_hub_name": "overthelex/ukrainian-court-decisions",
4107
+ "language": "uk",
4108
+ "input_col": "text",
4109
+ "label_col": "label",
4110
+ "url": "https://reyestr.court.gov.ua/",
4111
+ "description":
4112
+ """
4113
+ Ukrainian Court Decisions Judgment Prediction dataset. Contains facts sections (ВСТАНОВИВ) of civil and commercial court decisions from the State Court Decisions Registry of Ukraine (ЄДРСР). The task is to predict the judgment outcome: approved, dismissed, or partial. The dataset contains 10268 samples extracted from decisions between 2010 and 2014.
4114
+ """
4115
+ ,
4116
+ "citation":
4117
+ """
4118
+ @misc{ovcharov2025ukrainian,
4119
+ title = {{Ukrainian Court Decisions Dataset for Judgment Prediction}},
4120
+ author = {Ovcharov, Volodymyr},
4121
+ year = {2025},
4122
+ url = {https://huggingface.co/datasets/overthelex/ukrainian-court-decisions},
4123
+ note = {Extracted from the State Court Decisions Registry of Ukraine (ЄДРСР)}
4124
+ }
4125
+ """
4126
+ ,
4127
+ "label_classes": ["approved", "dismissed", "partial"],
4128
+ }
4129
+
4130
+
4131
  _TURKISH_CONSTITUTIONAL_COURT_DECISIONS_JUDGMENT = {
4132
  "task_type": TaskType.SLTC,
4133
  "hf_hub_name": "KocLab-Bilkent/turkish-constitutional-court",
 
4168
  LextremeConfig(name="greek_legal_code_chapter", **_GREEK_LEGAL_CODE_CHAPTER),
4169
  LextremeConfig(name="greek_legal_code_subject", **_GREEK_LEGAL_CODE_SUBJECT),
4170
  LextremeConfig(name="online_terms_of_service_unfairness_levels", **_ONLINE_TERMS_OF_SERVICE_UNFAIRNESS_LEVELS),
4171
+ LextremeConfig(name="ukrainian_court_decisions_judgment", **_UKRAINIAN_COURT_DECISIONS_JUDGMENT),
4172
  LextremeConfig(name="turkish_constitutional_court_decisions_judgment", **_TURKISH_CONSTITUTIONAL_COURT_DECISIONS_JUDGMENT),
4173
  LextremeConfig(name="swiss_criticality_prediction_bge_facts", **_SWISS_CRITICLALITY_PREDICTION_BGE_FACTS),
4174
  LextremeConfig(name="swiss_criticality_prediction_bge_considerations", **_SWISS_CRITICLALITY_PREDICTION_BGE_CONSIDERATIONS),