bartoszkobylinski1 commited on
Commit
ae093dd
·
verified ·
1 Parent(s): e96eddb

Update card for 2007-2025 scope (8250 items, 5 tracks)

Browse files
Files changed (1) hide show
  1. README.md +99 -70
README.md CHANGED
@@ -2,7 +2,7 @@
2
  license: cc-by-sa-4.0
3
  language:
4
  - pl
5
- pretty_name: Polish Legal Apprenticeship Entrance Exams (adw/radc, notarial, bailiff) 2016–2025
6
  size_categories:
7
  - 1K<n<10K
8
  task_categories:
@@ -19,15 +19,16 @@ configs:
19
  - config_name: default
20
  data_files:
21
  - split: test
22
- path: aplikacje_2016_2025.jsonl
23
  ---
24
 
25
- # Polish Legal Apprenticeship Entrance Exams — adwokacka/radcowska, notarialna, komornicza (2016–2025)
26
 
27
  Native-Polish, single-choice (A/B/C) **legal** MCQ benchmark built from the official entrance
28
  examinations for the Polish legal apprenticeships, published by the Ministry of Justice:
29
 
30
- - **adwokacka + radcowska** (advocate + legal counsel — a single shared test),
 
31
  - **notarialna** (notary),
32
  - **komornicza** (court-enforcement officer / bailiff).
33
 
@@ -44,27 +45,40 @@ Hub, GitHub, or in the literature (the closest prior art, *GAIus* / arXiv:2507.0
44
 
45
  | | |
46
  |---|---|
47
- | Items | **4350** |
48
- | Exams | 29 (10 years × 3 tracks, minus 2018 notarialna see below) |
49
- | Years | 2016 – 2025 |
50
- | Tracks | `adwokacka-radcowska`, `notarialna`, `komornicza` |
51
  | Format | single-choice, exactly **3 options** A/B/C, exactly one correct |
52
  | Language | Polish (native, not translated) |
53
- | Per exam | exactly 150 questions |
54
- | Gold distribution | A = 1453 · B = 1392 · C = 1505 |
55
- | Validation | 4350/4350 items have 3 non-empty options, gold ∈ {A,B,C} matching `answer_idx`, and a non-empty `legal_basis` carrying a legal token — 0 problems |
56
 
57
  ### Items per track × year
58
 
59
- | track | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | total |
60
- |---|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|
61
- | adwokacka-radcowska | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 1500 |
62
- | notarialna | 150 | 150 | — | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 1350 |
63
- | komornicza | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 1500 |
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  ## Schema
66
 
67
- One JSON object per line (`aplikacje_2016_2025.jsonl`):
68
 
69
  ```json
70
  {
@@ -86,8 +100,8 @@ One JSON object per line (`aplikacje_2016_2025.jsonl`):
86
  | field | type | meaning |
87
  |---|---|---|
88
  | `year` | int | exam year — **the legal-state anchor** (see caveat below) |
89
- | `track` | str | `adwokacka-radcowska` / `notarialna` / `komornicza` |
90
- | `q_no` | int | question number within the exam (1–150) |
91
  | `question` | str | the question stem |
92
  | `options` | list[str] (len 3) | answer options, order A, B, C |
93
  | `answer` | str | correct option letter (`A`/`B`/`C`) |
@@ -98,23 +112,24 @@ The natural item key is `(year, track, q_no)`.
98
 
99
  ## Domain coverage (by `legal_basis`)
100
 
101
- Number of questions citing each code (a question may cite more than one act; **2166 items cite
102
- a specific named statute** *ustawa* rather than a code, e.g. Prawo o adwokaturze, ustawa o
103
- radcach prawnych, Prawo o notariacie, ustawa o komornikach sądowych):
104
 
105
  | code | act | questions |
106
  |---|---|---|
107
- | k.c. | Kodeks cywilny (Civil Code) | 702 |
108
- | k.p.c. | Kodeks postępowania cywilnego (Civil Procedure) | 464 |
109
- | k.s.h. | Kodeks spółek handlowych (Commercial Companies) | 306 |
110
- | k.p.a. | Kodeks postępowania administracyjnego (Admin. Procedure) | 184 |
111
- | k.k. | Kodeks karny (Criminal Code) | 139 |
112
- | k.r.o. | Kodeks rodzinny i opiekuńczy (Family & Guardianship) | 135 |
113
- | k.p.k. | Kodeks postępowania karnego (Criminal Procedure) | 103 |
114
- | k.p. | Kodeks pracy (Labour Code) | 84 |
115
- | k.w. | Kodeks wykroczeń (Petty Offences) | 34 |
116
- | k.k.s. | Kodeks karny skarbowy (Fiscal Penal) | 16 |
117
- | k.p.s.w. | Kodeks postępowania w sprawach o wykroczenia | 13 |
 
118
 
119
  The civil / commercial / civil-procedure emphasis is heavier than a single-track set, because
120
  the notarialna and komornicza tracks lean strongly on k.c., k.p.c. and k.s.h.
@@ -122,54 +137,67 @@ the notarialna and komornicza tracks lean strongly on k.c., k.p.c. and k.s.h.
122
  ## Source & provenance
123
 
124
  - **Publisher:** Ministerstwo Sprawiedliwości (Polish Ministry of Justice).
125
- - **Hub:** https://www.gov.pl/web/sprawiedliwosc/zestawy-pytan-testowych — each year publishes,
126
- free of charge, the 150-question set **and** the official answer key (with legal basis) for
127
- every track.
128
- - The advocate and legal-counsel exams are a **single combined test**, so one set per year
129
- covers both professions.
130
- - Source formats as published vary by year: text-layer **PDF** (2017–2020, 2023–2025), **.docx**
131
- (2021 questions, all of 2022), and legacy **.doc** (all of 2016, 2021 keys). Exact source
132
- attachment URLs are recorded in the build provenance.
 
 
 
 
133
 
134
  ### Build method
135
 
136
- - **Questions:** PDFs via `pdftotext -layout`; `.docx` via `python-docx`; legacy `.doc` via
137
- `textutil` (macOS) → text. In all cases: stem anchored on `^\d+\.`, options `A./B./C.`,
138
- wrapped lines re-joined, page headers/form-feeds stripped.
 
 
139
  - **Answer key + `legal_basis`:** the key is a 3-column table
140
- `nr pytania | prawidłowa odpowiedź | podstawa prawna`. PDF keys via
141
- `pdfplumber.extract_table(strategy="lines")`; `.docx` keys via `python-docx` tables; legacy
142
- `.doc` keys via `textutil` linearisation so that multi-line legal-basis cells are joined
143
- within their real cell boundaries.
144
- - **Per-exam validation gate:** exactly 150 questions and 150 key rows; every item has 3
145
- non-empty options, gold ∈ {A,B,C}, and a `legal_basis` carrying a legal token. All 29 exams
146
- passed clean (4350/4350).
 
 
147
 
148
  ## Important caveats
149
 
150
  1. **Statute drift — answers are correct *według stanu prawnego* on the exam day.** Polish law
151
- changes; an option correct in 2016 may be wrong in 2025. **Every item is anchored to its
152
  `year`** — treat each year as its own legal snapshot and **never mix years silently** when
153
- scoring or fine-tuning.
154
- 2. **Recurring questions (a feature, kept on purpose).** 279 question stems recur across
155
- exams/years/tracks (348 extra rows). They are kept as **distinct items** keyed by
156
- `(year, track, q_no)`, because each is a separate exam instance. In **187 of those groups the
157
- gold answer differs** between instances options get reordered and statutes change over time,
158
- so the recurrences directly illustrate statute drift / option shuffling. Only **8** rows are
159
- exact duplicates (identical stem + options + gold + basis); they are retained for provenance
160
- completeness. No semantic deduplication was applied dedupe downstream if your use case needs
161
- it.
162
- 3. **komornicza 2016–2018 was an "egzamin konkursowy"** (competitive exam), renamed "egzamin
 
 
 
 
 
163
  wstępny" from 2019. Same 150 × 3-option format; derive the distinction from `year` if needed.
164
- 4. **2018 notarialna is intentionally absent.** On gov.pl, the 2018 notarialna *question* file is
165
  byte-identical to the 2018 adw/radc question file (the wstępny exam shared one question set
166
  across adw/radc/notarialna that year), while its published *key* matched a different set
167
  (agreed on only 65/150). To avoid a mismatched question↔key pairing, the 2018 notarialna split
168
  was dropped; 2018 adw/radc (with its own matching key) is kept.
169
- 5. **Invalidated questions (*pytania unieważnione*).** Questions struck during the official
170
  appeals process are not republished separately; the published key is treated as ground truth.
171
- 6. **Scope.** Covers gov.pl years 2016–2025. Earlier years (archived BIP, 2009–2015) are not yet
172
- included.
173
 
174
  ## License
175
 
@@ -185,14 +213,15 @@ the notarialna and komornicza tracks lean strongly on k.c., k.p.c. and k.s.h.
185
 
186
  ## Intended uses
187
 
188
- - **MCQ accuracy** on Polish professional-legal reasoning, across three legal professions.
 
189
  - **Legal-grounding / citation eval** via `legal_basis`.
190
- - **Per-act, per-track, per-year breakdowns** of legal-domain competence and statute drift.
191
 
192
  ## Citation
193
 
194
  ```
195
- Polish Legal Apprenticeship Entrance Exams (adw/radc, notarialna, komornicza) 2016–2025.
196
- Source: Ministerstwo Sprawiedliwości, https://www.gov.pl/web/sprawiedliwosc/zestawy-pytan-testowych
197
  Materiały urzędowe (art. 4 pr. aut.) · CC BY-SA 4.0.
198
  ```
 
2
  license: cc-by-sa-4.0
3
  language:
4
  - pl
5
+ pretty_name: Polish Legal Apprenticeship Entrance Exams (adw/radc, notarial, bailiff) 2007–2025
6
  size_categories:
7
  - 1K<n<10K
8
  task_categories:
 
19
  - config_name: default
20
  data_files:
21
  - split: test
22
+ path: aplikacje_2007_2025.jsonl
23
  ---
24
 
25
+ # Polish Legal Apprenticeship Entrance Exams — adwokacka/radcowska, notarialna, komornicza (2007–2025)
26
 
27
  Native-Polish, single-choice (A/B/C) **legal** MCQ benchmark built from the official entrance
28
  examinations for the Polish legal apprenticeships, published by the Ministry of Justice:
29
 
30
+ - **adwokacka + radcowska** (advocate + legal counsel — a single shared test from 2009 on;
31
+ two separate exams in 2007),
32
  - **notarialna** (notary),
33
  - **komornicza** (court-enforcement officer / bailiff).
34
 
 
45
 
46
  | | |
47
  |---|---|
48
+ | Items | **8250** |
49
+ | Exams | 53 exam-units (3 in 2007 @ 250 Q + 50 across 2009–2025 @ 150 Q) |
50
+ | Years | **2007, 2009 – 2025** (2008 was not held / not archived — genuine gap) |
51
+ | Tracks | `adwokacka-radcowska`, `adwokacka`, `radcowska`, `notarialna`, `komornicza` |
52
  | Format | single-choice, exactly **3 options** A/B/C, exactly one correct |
53
  | Language | Polish (native, not translated) |
54
+ | Per exam | exactly 150 questions (**250** for each 2007 exam) |
55
+ | Gold distribution | A = 2694 · B = 2697 · C = 2859 |
56
+ | Validation | 8250/8250 items have 3 non-empty options, gold ∈ {A,B,C} matching `answer_idx`, a non-empty `question`, and a non-empty `legal_basis` — 0 problems |
57
 
58
  ### Items per track × year
59
 
60
+ **2007** is a special vintage: the advocate and legal-counsel exams were **separate**, each exam
61
+ had **250 questions** (not 150), and there was no komornicza track:
62
+
63
+ | 2007 track | items |
64
+ |---|--:|
65
+ | adwokacka | 250 |
66
+ | radcowska | 250 |
67
+ | notarialna | 250 |
68
+
69
+ **2009–2025** (150 questions per exam; advocate + counsel share one combined test):
70
+
71
+ | track | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | total |
72
+ |---|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|--:|
73
+ | adwokacka-radcowska | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 2550 |
74
+ | notarialna | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | — | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 2550 |
75
+ | komornicza | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 150 | 2550 |
76
+
77
+ (`notarialna` total 2650 = 2550 above + 250 from 2007.)
78
 
79
  ## Schema
80
 
81
+ One JSON object per line (`aplikacje_2007_2025.jsonl`):
82
 
83
  ```json
84
  {
 
100
  | field | type | meaning |
101
  |---|---|---|
102
  | `year` | int | exam year — **the legal-state anchor** (see caveat below) |
103
+ | `track` | str | `adwokacka-radcowska` / `adwokacka` / `radcowska` / `notarialna` / `komornicza` |
104
+ | `q_no` | int | question number within the exam (1–150, or 1–250 in 2007) |
105
  | `question` | str | the question stem |
106
  | `options` | list[str] (len 3) | answer options, order A, B, C |
107
  | `answer` | str | correct option letter (`A`/`B`/`C`) |
 
112
 
113
  ## Domain coverage (by `legal_basis`)
114
 
115
+ Number of questions citing each code (a question may cite more than one act; **3391 items cite a
116
+ named *ustawa* / *Prawo o …* / treaty** e.g. Prawo o adwokaturze, ustawa o radcach prawnych,
117
+ Prawo o notariacie, ustawa o komornikach sądowych — rather than a code):
118
 
119
  | code | act | questions |
120
  |---|---|---|
121
+ | k.c. | Kodeks cywilny (Civil Code) | 1329 |
122
+ | k.p.c. | Kodeks postępowania cywilnego (Civil Procedure) | 1059 |
123
+ | k.s.h. | Kodeks spółek handlowych (Commercial Companies) | 616 |
124
+ | k.p.a. | Kodeks postępowania administracyjnego (Admin. Procedure) | 349 |
125
+ | Konstytucja | Konstytucja RP (Constitution) | 333 |
126
+ | k.k. | Kodeks karny (Criminal Code) | 255 |
127
+ | k.r.o. | Kodeks rodzinny i opiekuńczy (Family & Guardianship) | 249 |
128
+ | k.p.k. | Kodeks postępowania karnego (Criminal Procedure) | 245 |
129
+ | k.p. | Kodeks pracy (Labour Code) | 203 |
130
+ | k.w. | Kodeks wykroczeń (Petty Offences) | 60 |
131
+ | k.k.s. | Kodeks karny skarbowy (Fiscal Penal) | 40 |
132
+ | k.p.s.w. | Kodeks postępowania w sprawach o wykroczenia | 21 |
133
 
134
  The civil / commercial / civil-procedure emphasis is heavier than a single-track set, because
135
  the notarialna and komornicza tracks lean strongly on k.c., k.p.c. and k.s.h.
 
137
  ## Source & provenance
138
 
139
  - **Publisher:** Ministerstwo Sprawiedliwości (Polish Ministry of Justice).
140
+ - **2016–2025 hub:** https://www.gov.pl/web/sprawiedliwosc/zestawy-pytan-testowych — each year
141
+ publishes, free of charge, the 150-question set **and** the official answer key (with legal
142
+ basis) for every track.
143
+ - **2007 + 2009–2015** come from the Ministry's **archived BIP** (the pre-2019 CMS, e.g.
144
+ `arch-bip.ms.gov.pl`). Same publisher, same official material — only the host differs; archival
145
+ hosting does not change the legal status (materiały urzędowe). Exact source attachment URLs are
146
+ recorded in the build provenance.
147
+ - From 2009 on, the advocate and legal-counsel exams are a **single combined test**, so one set
148
+ per year covers both professions. In 2007 they were two separate exams (both included).
149
+ - Source formats vary by year: text-layer **PDF** (2007, 2017–2020, 2023–2025), **RTF**
150
+ (2009–2010), legacy **.doc** (2011–2016, 2021 keys), and **.docx** (2021–2022 questions). All
151
+ are digital text — **no scans, no OCR**.
152
 
153
  ### Build method
154
 
155
+ - **Questions:** PDFs via `pdftotext -layout`; RTF and legacy `.doc` via **LibreOffice headless**
156
+ (`soffice --convert-to txt`); `.docx` via the same. Stem anchored on `^\d+\.`, options
157
+ `A./B./C.` (a missing period is tolerated), wrapped lines re-joined, page markers / form-feeds /
158
+ BOMs stripped. A numbered instruction preamble (where present) is skipped by locating the first
159
+ `1.` that is followed by an `A./B./C.` option.
160
  - **Answer key + `legal_basis`:** the key is a 3-column table
161
+ `nr pytania | (prawidłowa) odpowiedź | podstawa prawna`. PDF keys via
162
+ `pdfplumber.extract_table(strategy="lines")` (so vertically-centred, multi-line legal-basis
163
+ cells join within their real cell boundaries); RTF / `.doc` / `.docx` keys parsed from the
164
+ tab/space-separated table text.
165
+ - **Per-exam validation gate:** exactly 150 questions and 150 key rows (250 in 2007); every item
166
+ has 3 non-empty options, gold ∈ {A,B,C} matching `answer_idx`, and a non-empty `legal_basis`.
167
+ All 53 exam-units passed clean (8250/8250).
168
+ - **Encoding:** one font-encoding glitch in the 2007 PDFs (`ż` rendered as `Ŝ`, 11 cells) was
169
+ corrected; article-number superscripts (`art. 36¹`, `art. 8³`) are genuine and preserved.
170
 
171
  ## Important caveats
172
 
173
  1. **Statute drift — answers are correct *według stanu prawnego* on the exam day.** Polish law
174
+ changes; an option correct in 2009 may be wrong in 2025. **Every item is anchored to its
175
  `year`** — treat each year as its own legal snapshot and **never mix years silently** when
176
+ scoring or fine-tuning. The 18-year span makes this set especially useful for *studying* drift,
177
+ but also makes year-mixing especially hazardous.
178
+ 2. **Recurring questions (a feature, kept on purpose).** Across the corpus 607 question stems
179
+ recur (826 extra rows). They are kept as **distinct items** keyed by `(year, track, q_no)`,
180
+ because each is a separate exam instance. In **404 of those groups the gold answer differs**
181
+ between instances options get reordered and statutes change over time, so the recurrences
182
+ directly illustrate statute drift / option shuffling. Only **29** rows are exact duplicates
183
+ (identical stem + options + gold + basis); they are retained for provenance completeness. No
184
+ semantic deduplication was applied — dedupe downstream if your use case needs it.
185
+ 3. **2007 is special.** Advocate and legal-counsel were **two separate exams** (tracks
186
+ `adwokacka` and `radcowska`), each exam had **250 questions**, and there was **no komornicza**
187
+ track that year. From 2009 on, adw/radc is the single joint `adwokacka-radcowska` track at 150
188
+ questions.
189
+ 4. **2008 is absent — a genuine gap** (no exam archived for that year), not a collection failure.
190
+ 5. **komornicza 2009–2018 was an "egzamin konkursowy"** (competitive exam), renamed "egzamin
191
  wstępny" from 2019. Same 150 × 3-option format; derive the distinction from `year` if needed.
192
+ 6. **2018 notarialna is intentionally absent.** On gov.pl, the 2018 notarialna *question* file is
193
  byte-identical to the 2018 adw/radc question file (the wstępny exam shared one question set
194
  across adw/radc/notarialna that year), while its published *key* matched a different set
195
  (agreed on only 65/150). To avoid a mismatched question↔key pairing, the 2018 notarialna split
196
  was dropped; 2018 adw/radc (with its own matching key) is kept.
197
+ 7. **Invalidated questions (*pytania unieważnione*).** Questions struck during the official
198
  appeals process are not republished separately; the published key is treated as ground truth.
199
+ 8. **Scope.** Covers 2007 and 2009–2025. The KSSiP judicial/prosecutorial track (konkurs ASiAP)
200
+ is not yet included (its papers are scans requiring OCR).
201
 
202
  ## License
203
 
 
213
 
214
  ## Intended uses
215
 
216
+ - **MCQ accuracy** on Polish professional-legal reasoning, across three legal professions and 18
217
+ years.
218
  - **Legal-grounding / citation eval** via `legal_basis`.
219
+ - **Per-act, per-track, per-year breakdowns** of legal-domain competence and **statute drift**.
220
 
221
  ## Citation
222
 
223
  ```
224
+ Polish Legal Apprenticeship Entrance Exams (adw/radc, notarialna, komornicza) 2007–2025.
225
+ Source: Ministerstwo Sprawiedliwości (gov.pl + archived BIP).
226
  Materiały urzędowe (art. 4 pr. aut.) · CC BY-SA 4.0.
227
  ```