Datasets:
Modalities:
Text
Formats:
json
Languages:
Ukrainian
Size:
1K - 10K
Tags:
legal
legal-nlp
legislative-quality
definitional-defects
circulus-in-definiendo
ignotum-per-ignotum
License:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- token-classification
|
| 6 |
+
language:
|
| 7 |
+
- uk
|
| 8 |
+
tags:
|
| 9 |
+
- legal
|
| 10 |
+
- legal-nlp
|
| 11 |
+
- legislative-quality
|
| 12 |
+
- definitional-defects
|
| 13 |
+
- circulus-in-definiendo
|
| 14 |
+
- ignotum-per-ignotum
|
| 15 |
+
- ukrainian-law
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# DefectRadar: Definitional Defects in Ukrainian Legislation
|
| 21 |
+
|
| 22 |
+
Corpus of 5,799 legal definitions extracted from 879 Ukrainian laws (out of 44,021 active legislative acts), annotated for two types of definitional defects:
|
| 23 |
+
|
| 24 |
+
- **Circulus in definiendo** (tautology): the definition uses the term being defined (or its morphological derivative) in the *differentia specifica*
|
| 25 |
+
- **Ignotum per ignotum** (unknown through unknown): the definition relies on terms that are not defined in the same law
|
| 26 |
+
|
| 27 |
+
## Key Statistics
|
| 28 |
+
|
| 29 |
+
| Metric | Value |
|
| 30 |
+
|--------|-------|
|
| 31 |
+
| Legislative acts scanned | 44,021 |
|
| 32 |
+
| Laws with definitions | 879 (2.0%) |
|
| 33 |
+
| Unique definitions | 5,799 |
|
| 34 |
+
| Circulus in definiendo | 1,880 (32.4%) |
|
| 35 |
+
| Cross-reference ignotum | 1,885 (32.5%) |
|
| 36 |
+
| Both defects | 749 (12.9%) |
|
| 37 |
+
| Any defect | 3,016 (52.0%) |
|
| 38 |
+
|
| 39 |
+
## Error Analysis (LLM-as-Judge Validation)
|
| 40 |
+
|
| 41 |
+
Pipeline-flagged circulus cases were independently classified by a RAG-augmented GPT-4o judge:
|
| 42 |
+
|
| 43 |
+
| Classification | % |
|
| 44 |
+
|---------------|---|
|
| 45 |
+
| Domain terminology reuse (morphologically circular but substantively meaningful) | 84.8% |
|
| 46 |
+
| True defect (normatively empty) | 9.1% |
|
| 47 |
+
| False positive | 6.1% |
|
| 48 |
+
|
| 49 |
+
Ignotum severity stratification:
|
| 50 |
+
|
| 51 |
+
| Severity | % |
|
| 52 |
+
|----------|---|
|
| 53 |
+
| Cross-reference gap (defined in another law) | 70.8% |
|
| 54 |
+
| Critical (undefined anywhere in corpus) | 20.8% |
|
| 55 |
+
| Common (well-known, no definition needed) | 8.3% |
|
| 56 |
+
|
| 57 |
+
## Data Fields
|
| 58 |
+
|
| 59 |
+
| Field | Type | Description |
|
| 60 |
+
|-------|------|-------------|
|
| 61 |
+
| `rada_id` | string | Verkhovna Rada law identifier |
|
| 62 |
+
| `law_title` | string | Official title of the law |
|
| 63 |
+
| `definiendum` | string | The term being defined |
|
| 64 |
+
| `genus_proximum` | string | Superordinate category (genus) |
|
| 65 |
+
| `differentia_specifica` | string | Distinguishing characteristics |
|
| 66 |
+
| `full_definiens` | string | Complete right-hand side of the definition |
|
| 67 |
+
| `is_circulus` | bool | Pipeline circulus detection result |
|
| 68 |
+
| `circulus_tier` | string | Detection tier (morphological / semantic) |
|
| 69 |
+
| `overlapping_lemmas` | list[str] | Lemmas shared between definiendum and differentia |
|
| 70 |
+
| `circulus_explanation` | string | Pipeline explanation |
|
| 71 |
+
| `has_ignotum` | bool | Whether undefined terms were found |
|
| 72 |
+
| `undefined_terms` | list[str] | Terms used but not defined in this law |
|
| 73 |
+
| `ignotum_severity` | string | Severity classification |
|
| 74 |
+
| `ignotum_explanation` | string | Pipeline explanation |
|
| 75 |
+
|
| 76 |
+
## Source
|
| 77 |
+
|
| 78 |
+
Definitions extracted from the Verkhovna Rada Open Data portal (`data.rada.gov.ua`) using the LEX AI platform's RadaLegislationAdapter. Corpus snapshot: April 2026.
|
| 79 |
+
|
| 80 |
+
## Pipeline
|
| 81 |
+
|
| 82 |
+
The DefectRadar pipeline operates in three stages:
|
| 83 |
+
1. **Definition extraction**: rule-based (em-dash copula patterns) + fine-tuned XLM-RoBERTa for inline definitions
|
| 84 |
+
2. **Circulus detection**: Ukrainian lemmatization (pymorphy2-uk) + genus exclusion + discriminating-adjective overlap
|
| 85 |
+
3. **Ignotum detection**: cross-legislative definition graph across 879 laws
|
| 86 |
+
|
| 87 |
+
Pipeline code: [github.com/overthelex/secondlayer/tree/main/scripts/defectradar](https://github.com/overthelex/secondlayer/tree/main/scripts/defectradar)
|
| 88 |
+
|
| 89 |
+
## Citation
|
| 90 |
+
|
| 91 |
+
```bibtex
|
| 92 |
+
@article{ovcharov2026defectradar,
|
| 93 |
+
title={DefectRadar: Automated Detection of Definitional Defects in Legislation via Morpho-Semantic NLP Pipeline over 24,000 Ukrainian Laws},
|
| 94 |
+
author={Ovcharov, Volodymyr and Kyrychenko, Ihor},
|
| 95 |
+
journal={arXiv preprint},
|
| 96 |
+
year={2026}
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
## License
|
| 101 |
+
|
| 102 |
+
CC BY 4.0
|