Update README.md
Browse files
README.md
CHANGED
|
@@ -48,28 +48,40 @@ dataset_info:
|
|
| 48 |
|
| 49 |
# English Appeal Court Judgments
|
| 50 |
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
## Dataset Details
|
| 54 |
|
| 55 |
### Dataset Description
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
|
| 59 |
-
|
|
|
|
|
|
|
| 60 |
- **Funded by:** CHIST ERA call ORD "Open & Re-usable Research Data & Software" (Judicial Decision Data Gathering, Encoding and Sharing/ No ANR-23-CHRO0001)
|
| 61 |
- **Language(s) (NLP):** English
|
| 62 |
- **License:** [More Information Needed]
|
| 63 |
|
| 64 |
### Dataset Sources
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
## Uses
|
| 69 |
|
| 70 |
### Direct Use
|
| 71 |
|
| 72 |
-
The dataset should be used for evaluating Large Language Models (LLMs) for information extraction in domain of
|
| 73 |
|
| 74 |
### Out-of-Scope Use
|
| 75 |
|
|
@@ -139,41 +151,80 @@ The output JSON object has the following fields:
|
|
| 139 |
|
| 140 |
## Dataset Creation
|
| 141 |
|
| 142 |
-
|
| 143 |
|
| 144 |
### Source Data
|
| 145 |
|
| 146 |
-
|
|
|
|
| 147 |
|
| 148 |
#### Data Collection and Processing
|
| 149 |
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
|
| 154 |
#### Who are the source data producers?
|
| 155 |
|
| 156 |
-
|
|
|
|
|
|
|
|
|
|
| 157 |
|
| 158 |
### Annotations
|
| 159 |
|
| 160 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
|
| 162 |
#### Annotation process
|
| 163 |
|
| 164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
|
| 166 |
#### Who are the annotators?
|
| 167 |
|
| 168 |
-
|
| 169 |
|
| 170 |
#### Personal and Sensitive Information
|
| 171 |
|
| 172 |
-
|
| 173 |
|
| 174 |
## Bias, Risks, and Limitations
|
| 175 |
|
| 176 |
-
|
|
|
|
| 177 |
|
| 178 |
### Recommendations
|
| 179 |
|
|
@@ -197,4 +248,5 @@ TBA
|
|
| 197 |
|
| 198 |
- [lukasz.augustyniak@pwr.edu.pl](mailto:lukasz.augustyniak@pwr.edu.pl)
|
| 199 |
- [jakub.binkowski@pwr.edu.pl](mailto:jakub.binkowski@pwr.edu.pl)
|
| 200 |
-
- [
|
|
|
|
|
|
| 48 |
|
| 49 |
# English Appeal Court Judgments
|
| 50 |
|
| 51 |
+
Dataset for training and evaluating large language models (LLMs) for information extraction in the domain of publicly available England and Wales Court of Appeal (Criminal Division) judgments. The coding schema includes 43 annotated codes across several categories of judgments, including:
|
| 52 |
+
|
| 53 |
+
1. Sampling judgments/cases
|
| 54 |
+
|
| 55 |
+
2. Extracting basic information on court hearings
|
| 56 |
+
|
| 57 |
+
3. Extracting basic information on offence, trial, and sentence
|
| 58 |
+
|
| 59 |
+
4. Extracting basic information on appeals
|
| 60 |
|
| 61 |
## Dataset Details
|
| 62 |
|
| 63 |
### Dataset Description
|
| 64 |
|
| 65 |
+
The instruction dataset for England and Wales was created using a manual process. Legal experts first defined extraction schemas and coding guidelines in a workshop. We then built an HTML parser to download all 6,154 Criminal Division Court of Appeal judgments (as XML, up to 15 May 2024) under the Crown Copyright and Open Government licences. Yearly word-length statistics (min/25th/median/75th/max) revealed a bi-modal distribution, a few extreme outliers (>40 k words), and an incomplete 2024 tranche.
|
| 66 |
+
|
| 67 |
+
For curator training, judgments were stratified into five token-length bins, with five cases sampled per bin (110 total; four later removed), yielding 106 candidates. Twenty were used for inter-rater (20 distinct coders) and intra-rater (10 recoded) reliability checks. Once reliability thresholds (>80%) were achieved, two further stratified batches of 800 judgments each were assigned to Curator 1 (531 annotations) and Curator 2 (96 annotations). After careful cleaning, 573 annotated judgments were selected for the final dataset.
|
| 68 |
|
| 69 |
+
Throughout, curators followed strict guidelines on text-span boundaries, code-type selection, comment conventions, and spreadsheet documentation, all anchored to a shared coding scheme.
|
| 70 |
+
|
| 71 |
+
- **Curated by:** Łukasz Augustyniak, Jakub Binkowski, Albert Sawczyn, Prof. Mandeep Dhami, Prof. David Windridge
|
| 72 |
- **Funded by:** CHIST ERA call ORD "Open & Re-usable Research Data & Software" (Judicial Decision Data Gathering, Encoding and Sharing/ No ANR-23-CHRO0001)
|
| 73 |
- **Language(s) (NLP):** English
|
| 74 |
- **License:** [More Information Needed]
|
| 75 |
|
| 76 |
### Dataset Sources
|
| 77 |
|
| 78 |
+
The dataset is primarily based on the [JuDDGES/en-court-raw dataset](https://huggingface.co/datasets/JuDDGES/en-court-raw), which is curated from publicly available judgments from the [Court of Appeal (Criminal Division)](https://caselaw.nationalarchives.gov.uk/search?query=&from_date_0=&from_date_1=&from_date_2=&to_date_0=&to_date_1=&to_date_2=&court=ewca%2Fcrim&party=&judge=).
|
| 79 |
|
| 80 |
## Uses
|
| 81 |
|
| 82 |
### Direct Use
|
| 83 |
|
| 84 |
+
The dataset should be used for evaluating Large Language Models (LLMs) for information extraction in domain of England and Wales Court of Appeal (Criminal Division) judgments.
|
| 85 |
|
| 86 |
### Out-of-Scope Use
|
| 87 |
|
|
|
|
| 151 |
|
| 152 |
## Dataset Creation
|
| 153 |
|
| 154 |
+
The dataset was created strictly adhering to the Annotation Guidelines for Curators:
|
| 155 |
|
| 156 |
### Source Data
|
| 157 |
|
| 158 |
+
The dataset sourced from [JuDDGES/en-court-raw dataset](https://huggingface.co/datasets/JuDDGES/en-court-raw), which is curated from publicly available judgments from the [Court of Appeal (Criminal Division)](https://caselaw.nationalarchives.gov.uk/search?query=&from_date_0=&from_date_1=&from_date_2=&to_date_0=&to_date_1=&to_date_2=&court=ewca%2Fcrim&party=&judge=).
|
| 159 |
+
|
| 160 |
|
| 161 |
#### Data Collection and Processing
|
| 162 |
|
| 163 |
+
The dataset consists of publicly available judgments from the Court of Appeal (Criminal Division) for England and Wales. Legal experts first defined extraction schemas and coding guidelines during a dedicated workshop. An HTML parser was subsequently developed to automatically download all 6,154 judgments (XML format) published by 15 May 2024 under the Crown Copyright and Open Government licences.
|
| 164 |
+
|
| 165 |
+
Yearly word-length statistics (minimum, 25th percentile, median, 75th percentile, maximum) indicated a bi-modal distribution, the presence of extreme outliers (judgments exceeding 40,000 words), and incomplete data for 2024. Judgment lengths showed considerable variability across years:
|
| 166 |
+
- 2003–2007: trend toward shorter judgments.
|
| 167 |
+
- 2008–2011: increasing lengths, peaking at 4,618 words in 2011.
|
| 168 |
+
- 2012–2016: consistently high median lengths.
|
| 169 |
+
- 2017–2024: fluctuations, notable peaks in 2019 and 2021, and declines in 2023 and 2024.
|
| 170 |
+
|
| 171 |
+
Significant outliers in judgment length occurred in 2015 and 2020, surpassing 70,000 and 115,000 words, respectively.
|
| 172 |
+
|
| 173 |
|
| 174 |
#### Who are the source data producers?
|
| 175 |
|
| 176 |
+
The original source of data is the from [JuDDGES/en-court-raw dataset](https://huggingface.co/datasets/JuDDGES/en-court-raw), which is curated from publicly available judgments from the [Court of Appeal (Criminal Division)](https://caselaw.nationalarchives.gov.uk/search?query=&from_date_0=&from_date_1=&from_date_2=&to_date_0=&to_date_1=&to_date_2=&court=ewca%2Fcrim&party=&judge=).
|
| 177 |
+
|
| 178 |
+
These judgments are official court documents published by the Court of Appeal (Criminal Division) in England and Wales.
|
| 179 |
+
|
| 180 |
|
| 181 |
### Annotations
|
| 182 |
|
| 183 |
+
Initially 20 documents have been given to two curators as part of training as well for checking the consistency of the annotations. Once a reliable annotion evaluation was reached the curators we assigned with additional 800 judgements to curate.
|
| 184 |
+
|
| 185 |
+
Annotaions have been curated using (Hypothes.is)[https://hypothes.is] Chrome plugin.
|
| 186 |
+
|
| 187 |
+
**Annotation Training Sample Selection:**
|
| 188 |
+
- Judgments were stratified into five token-length bins (min, 25th percentile, median, 75th percentile, max).
|
| 189 |
+
- 5 judgments were sampled per bin, resulting in 110 cases (106 after removing four for legal reasons).
|
| 190 |
+
- 20 were selected for reliability checks:
|
| 191 |
+
- Inter-rater: 20 coders annotated the same 20 documents
|
| 192 |
+
- Intra-rater: 10 of those documents were re-coded by the same curators
|
| 193 |
+
- Once >80% agreement was achieved (Krippendorff’s α), two additional batches of 800 cases were assigned:
|
| 194 |
+
- Curator 1: 531 annotations
|
| 195 |
+
- Curator 2: 96 annotations
|
| 196 |
+
- Final cleaned dataset includes 573 annotated judgments.
|
| 197 |
|
| 198 |
#### Annotation process
|
| 199 |
|
| 200 |
+
Annotations were created using the Hypothes.is Chrome extension.
|
| 201 |
+
|
| 202 |
+
**Steps:**
|
| 203 |
+
1. Install Hypothes.is from the Chrome Web Store.
|
| 204 |
+
2. Open the court judgment URL in the browser.
|
| 205 |
+
3. Use the extension to highlight and annotate relevant text spans.
|
| 206 |
+
4. Add tags as per the shared tagging scheme.
|
| 207 |
+
5. Add relevant comments (or a dash \"–\" if none).
|
| 208 |
+
6. Submit to the correct annotation group.
|
| 209 |
+
|
| 210 |
+
**Annotation Guidelines:**
|
| 211 |
+
- All annotations must remain within a single sentence.
|
| 212 |
+
- Spans must match predefined code types exactly.
|
| 213 |
+
- Comments must be relevant to the hypothesis.
|
| 214 |
+
- Missing or inapplicable fields should be marked as “N/A,” “–,” or “Don’t Know.”
|
| 215 |
|
| 216 |
#### Who are the annotators?
|
| 217 |
|
| 218 |
+
The annotators were post-graduate level students from Middlesex University under the supervison of Prof. Mandeep Dhami and Prof. David Windrige.
|
| 219 |
|
| 220 |
#### Personal and Sensitive Information
|
| 221 |
|
| 222 |
+
The context column contains the full text of the judgment. While court employees perform anonymization of the judgments before publishing them, several personal information, like name of the judges, offender names (aged more than 18) are still present in the data, as it permitted by law.
|
| 223 |
|
| 224 |
## Bias, Risks, and Limitations
|
| 225 |
|
| 226 |
+
The curation process might not find all cases present at the time of the curation which has a cut of date of May 2024.
|
| 227 |
+
|
| 228 |
|
| 229 |
### Recommendations
|
| 230 |
|
|
|
|
| 248 |
|
| 249 |
- [lukasz.augustyniak@pwr.edu.pl](mailto:lukasz.augustyniak@pwr.edu.pl)
|
| 250 |
- [jakub.binkowski@pwr.edu.pl](mailto:jakub.binkowski@pwr.edu.pl)
|
| 251 |
+
- [Prof. Mandeep Dhami](mailto:m.dhami@mdx.ac.uk)
|
| 252 |
+
- [Prof. David Windridge](mailto:d.windridge@mdx.ac.uk)
|