Skip to content

Legal topic classification on EURLEX57K

Classify EU laws by EUROVOC topic. The agent can change the architecture, using a fixed training split and R-Precision@5 as the metric.

By Shahriar Golchin
On this page
  1. Task and metric
  2. Results
  3. Statistics
  4. Validation and hidden test

Task and metric

Full task description

Design a new model architecture for EURLEX57K (57k EU laws, 4,271 EUROVOC topics) that reaches the highest R-Precision@5 it can, trained only on the fixed training split.

Reward. R-Precision@5 over all 4,271 topics of the submitted model on the scored split, in points (0-100): the headline metric of Chalkidis et al. (2019, 2020) and EncT5. Published SOTA on test: 81.4 (EncT5-large). Invalid submissions get 0.

Normalized score. The baseline below corresponds to 0 points and the theoretical best to 100. The theoretical best is not always achievable in practice. A valid submission that performs below baseline receives a negative score, bounded at −100. An invalid submission receives 0. Score formula

SetupValue
Research areaArchitecture
DirectionHigher is better
Baseline, hidden-test mean78.7
Baseline, hidden-test std0.09881
Theoretical best100
Time budget12 h
Compute1 × H100
GPU-hours12

Results

The two highest mean scores were 29.2 (GPT-6.2 Astra) and 27.2 (GPT-6 Astra). Across all 13 models, the mean was 18.1 points. Of those, 13 averaged above baseline.

Mean hidden-test score by model

  • Claude Code
  • Codex
  • Antigravity SDK
  • Muse Code
  • Grok Build
  • Terminus 2
Mean hidden-test score by modelBar chart with 13 bars; every value is in the data table.0102030Normalized scoreGPT-6.2 Astra29.2GPT-6 Astra27.2GPT-6.1 Sol25.6Claude Fable 5.224.1Claude Sonnet 5.523.6Gemini 4 Carbon21.7Claude Opus 5.521.2Muse Wonder20.6Qwen3.8-Max11.8Kimi K310.4GLM-5.37.3DeepSeek V4.1 Flash7.2Grok 4.76.0
Each bar averages the model’s scored attempts on this task. Zero marks the starting baseline. Scoring rules.
View data
Mean hidden-test score by model: data
LabelSeriesMean score
GPT-6.2 AstraCodex29.2
GPT-6 AstraCodex27.2
GPT-6.1 SolCodex25.6
Claude Fable 5.2Claude Code24.1
Claude Sonnet 5.5Claude Code23.6
Gemini 4 CarbonAntigravity SDK21.7
Claude Opus 5.5Claude Code21.2
Muse WonderMuse Code20.6
Qwen3.8-MaxTerminus 211.8
Kimi K3Terminus 210.4
GLM-5.3Terminus 27.3
DeepSeek V4.1 FlashTerminus 27.2
Grok 4.7Grok Build6.0

Download CSV · 13 rows

Scores are in normalized points.
#ModelMean of 3Best of 3AttemptsOutcomes
1GPT-6.2 Astra29.229.833 valid
2GPT-6 Astra27.227.533 valid
3GPT-6.1 Sol25.625.732 valid, 1 out of time
4Claude Fable 5.224.124.933 valid
5Claude Sonnet 5.523.625.833 valid
6Gemini 4 Carbon21.723.133 valid
7Claude Opus 5.521.222.033 valid
8Muse Wonder20.622.733 valid
9Qwen3.8-Max11.818.933 valid
10Kimi K310.416.933 valid
11GLM-5.37.312.433 valid
12DeepSeek V4.1 Flash7.29.033 valid
13Grok 4.76.014.233 valid

Statistics

StatisticValue
IRT difficulty−2.03
IRT discrimination1.47
IRT pass bar (normalized score)0.9
Attempts above the pass bar97.4%
Median share of time budget used87%
Median output tokens per attempt435k
Median validation runs per attempt13

IRT: two-parameter model of pass or fail against the pass bar (statistics).

Time and tokens over all tasks: results. Medians are over this task's 39 scored attempts.

Validation and hidden test

Validation measureValue
Attempts with a recorded validation score37
Attempts scoring at least 99 on validation0

Validation and hidden-test results across tasks