Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
qid: string
reason: string
evidence: string
added: timestamp[s]
action_v03: string
to
{'qid': Value('string'), 'nugget_id': Value('string'), 'kind': Value('string'), 'pattern': Value('string'), 'required': Value('bool'), 'value': Value('timestamp[s]')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 764, in write_table
                  self.write_rows_on_file()  # in case there are buffered rows to write first
                  ~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 663, in write_rows_on_file
                  self._write_table(table)
                  ~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              qid: string
              reason: string
              evidence: string
              added: timestamp[s]
              action_v03: string
              to
              {'qid': Value('string'), 'nugget_id': Value('string'), 'kind': Value('string'), 'pattern': Value('string'), 'required': Value('bool'), 'value': Value('timestamp[s]')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 4 new columns ({'evidence', 'reason', 'added', 'action_v03'}) and 5 missing columns ({'pattern', 'value', 'kind', 'required', 'nugget_id'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/bartoszkobylinski1/pl-temporal/questions.json (at revision e285d6d72cd5a60fe081580cafc9915519c3327f), ['hf://datasets/bartoszkobylinski1/pl-temporal@e285d6d72cd5a60fe081580cafc9915519c3327f/nuggets.json', 'hf://datasets/bartoszkobylinski1/pl-temporal@e285d6d72cd5a60fe081580cafc9915519c3327f/quarantine.json', 'hf://datasets/bartoszkobylinski1/pl-temporal@e285d6d72cd5a60fe081580cafc9915519c3327f/questions.json'], ['hf://datasets/bartoszkobylinski1/pl-temporal@e285d6d72cd5a60fe081580cafc9915519c3327f/nuggets.json', 'hf://datasets/bartoszkobylinski1/pl-temporal@e285d6d72cd5a60fe081580cafc9915519c3327f/quarantine.json', 'hf://datasets/bartoszkobylinski1/pl-temporal@e285d6d72cd5a60fe081580cafc9915519c3327f/questions.json']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  num_examples, num_bytes = writer.finalize()
                                            ~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 781, in finalize
                  self.write_rows_on_file()
                  ~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 663, in write_rows_on_file
                  self._write_table(table)
                  ~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              qid: string
              reason: string
              evidence: string
              added: timestamp[s]
              action_v03: string
              to
              {'qid': Value('string'), 'nugget_id': Value('string'), 'kind': Value('string'), 'pattern': Value('string'), 'required': Value('bool'), 'value': Value('timestamp[s]')}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

qid
string
nugget_id
string
kind
string
pattern
string
required
bool
value
timestamp[us]
A3v-DU-1964-93
A3v-DU-1964-93-n0
regex
\bNIE\b
true
null
A2-DU-1974-141-2018-11-24
A2-DU-1974-141-2018-11-24-n0
regex
\b2018\b
true
null
A2-DU-1974-141-2018-11-24
A2-DU-1974-141-2018-11-24-n1
regex
\b917\b
true
null
A3v-DU-1960-168
A3v-DU-1960-168-n0
regex
\bNIE\b
true
null
A1-DU-2004-535
A1-DU-2004-535-n0
exact
null
true
2004-04-20T00:00:00
A1-DU-2000-1037
A1-DU-2000-1037-n0
exact
null
true
2001-01-01T00:00:00
A2-DU-1997-553-2020-03-20
A2-DU-1997-553-2020-03-20-n0
regex
\b2019\b
true
null
A2-DU-1997-553-2020-03-20
A2-DU-1997-553-2020-03-20-n1
regex
\b1950\b
true
null
A3v-DU-1997-553
A3v-DU-1997-553-n0
regex
\bNIE\b
true
null
A3v-DU-1997-555
A3v-DU-1997-555-n0
regex
\bNIE\b
true
null
A4y-DU-1997-555
A4y-DU-1997-555-n0
regex
\bTAK\b
true
null
A4y-DU-1964-296
A4y-DU-1964-296-n0
regex
\bTAK\b
true
null
A3n-DU-1997-926
A3n-DU-1997-926-n0
regex
\bNIE\b
true
null
A4y-DU-1997-926
A4y-DU-1997-926-n0
regex
\bTAK\b
true
null
A1-DU-2001-1408
A1-DU-2001-1408-n0
exact
null
true
2002-11-10T00:00:00
A1-DU-2005-1364
A1-DU-2005-1364-n0
exact
null
true
2005-09-26T00:00:00
A3n-DU-2005-1364
A3n-DU-2005-1364-n0
regex
\bNIE\b
true
null
A4n-DU-2005-1364
A4n-DU-2005-1364-n0
regex
\bNIE\b
true
null
A4n-DU-2004-2782
A4n-DU-2004-2782-n0
regex
\bNIE\b
true
null
A2-DU-2003-1590-2015-10-25
A2-DU-2003-1590-2015-10-25-n0
regex
\b2014\b
true
null
A2-DU-2003-1590-2015-10-25
A2-DU-2003-1590-2015-10-25-n1
regex
\b424\b
true
null
A4y-DU-2003-1590
A4y-DU-2003-1590-n0
regex
\bTAK\b
true
null
A2-DU-2001-1198-2016-05-17
A2-DU-2001-1198-2016-05-17-n0
regex
\b2015\b
true
null
A2-DU-2001-1198-2016-05-17
A2-DU-2001-1198-2016-05-17-n1
regex
\b2058\b
true
null
A1-DU-2003-962
A1-DU-2003-962-n0
exact
null
true
2003-06-28T00:00:00
A3n-DU-2008-902
A3n-DU-2008-902-n0
regex
\bNIE\b
true
null
A4y-DU-2019-1403
A4y-DU-2019-1403-n0
regex
\bTAK\b
true
null
A4n-DU-2024-1863
A4n-DU-2024-1863-n0
regex
\bNIE\b
true
null
A1-DU-2007-328
A1-DU-2007-328-n0
exact
null
true
2007-04-04T00:00:00
A3y-DU-2008-829
A3y-DU-2008-829-n0
regex
\bTAK\b
true
null
A1-DU-2017-1133
A1-DU-2017-1133-n0
exact
null
true
2017-07-13T00:00:00
A4y-DU-2010-530
A4y-DU-2010-530-n0
regex
\bTAK\b
true
null
A1-DU-2006-1701
A1-DU-2006-1701-n0
exact
null
true
2007-01-03T00:00:00
A3y-DU-2016-1203
A3y-DU-2016-1203-n0
regex
\bTAK\b
true
null
A1-DU-2004-2784
A1-DU-2004-2784-n0
exact
null
true
2005-01-01T00:00:00
A3y-DU-2015-1844
A3y-DU-2015-1844-n0
regex
\bTAK\b
true
null
A4n-DU-2014-1198
A4n-DU-2014-1198-n0
regex
\bNIE\b
true
null
A1-DU-2013-881
A1-DU-2013-881-n0
exact
null
true
2013-08-17T00:00:00
A4y-DU-2001-537
A4y-DU-2001-537-n0
regex
\bTAK\b
true
null
A3v-DU-2017-38
A3v-DU-2017-38-n0
regex
\bNIE\b
true
null
A3n-DU-2021-2349
A3n-DU-2021-2349-n0
regex
\bNIE\b
true
null
A1-DU-2004-624
A1-DU-2004-624-n0
exact
null
true
2004-05-05T00:00:00
A4n-DU-2004-624
A4n-DU-2004-624-n0
regex
\bNIE\b
true
null
A3v-DU-2015-1923
A3v-DU-2015-1923-n0
regex
\bNIE\b
true
null
A1-DU-2021-904
A1-DU-2021-904-n0
exact
null
true
2021-05-15T00:00:00
A4y-DU-2002-804
A4y-DU-2002-804-n0
regex
\bTAK\b
true
null
A4n-DU-2002-804
A4n-DU-2002-804-n0
regex
\bNIE\b
true
null
A2-DU-2001-353-2016-01-27
A2-DU-2001-353-2016-01-27-n0
regex
\b2015\b
true
null
A2-DU-2001-353-2016-01-27
A2-DU-2001-353-2016-01-27-n1
regex
\b103\b
true
null
A4y-DU-2001-353
A4y-DU-2001-353-n0
regex
\bTAK\b
true
null
A4n-DU-2003-2050
A4n-DU-2003-2050-n0
regex
\bNIE\b
true
null
A1-DU-2015-1830
A1-DU-2015-1830-n0
exact
null
true
2016-01-01T00:00:00
A3y-DU-2015-1830
A3y-DU-2015-1830-n0
regex
\bTAK\b
true
null
A4n-DU-2014-897
A4n-DU-2014-897-n0
regex
\bNIE\b
true
null
A2-DU-2006-1539-2014-10-05
A2-DU-2006-1539-2014-10-05-n0
regex
\b2013\b
true
null
A2-DU-2006-1539-2014-10-05
A2-DU-2006-1539-2014-10-05-n1
regex
\b144\b
true
null
A4y-DU-2006-1539
A4y-DU-2006-1539-n0
regex
\bTAK\b
true
null
A1-DU-2014-1682
A1-DU-2014-1682-n0
exact
null
true
2015-03-01T00:00:00
A3y-DU-2008-1389
A3y-DU-2008-1389-n0
regex
\bTAK\b
true
null
A2-DU-2010-1228-2017-05-14
A2-DU-2010-1228-2017-05-14-n0
regex
\b2016\b
true
null
A2-DU-2010-1228-2017-05-14
A2-DU-2010-1228-2017-05-14-n1
regex
\b1167\b
true
null
A3y-DU-2010-1228
A3y-DU-2010-1228-n0
regex
\bTAK\b
true
null
A2-DU-2002-558-2015-12-29
A2-DU-2002-558-2015-12-29-n0
regex
\b2014\b
true
null
A2-DU-2002-558-2015-12-29
A2-DU-2002-558-2015-12-29-n1
regex
\b333\b
true
null
A1-DU-2006-874
A1-DU-2006-874-n0
exact
null
true
2006-07-29T00:00:00
A3y-DU-2020-179
A3y-DU-2020-179-n0
regex
\bTAK\b
true
null
A1-DU-2006-1533
A1-DU-2006-1533-n0
exact
null
true
2006-12-06T00:00:00
A3y-DU-2021-41
A3y-DU-2021-41-n0
regex
\bTAK\b
true
null
A1-DU-2012-1091
A1-DU-2012-1091-n0
exact
null
true
2012-10-17T00:00:00
A3n-DU-2012-1091
A3n-DU-2012-1091-n0
regex
\bNIE\b
true
null
A1-DU-2008-226
A1-DU-2008-226-n0
exact
null
true
2008-03-22T00:00:00
A1-DU-2010-1129
A1-DU-2010-1129-n0
exact
null
true
2010-09-25T00:00:00
A3n-DU-2022-1719
A3n-DU-2022-1719-n0
regex
\bNIE\b
true
null
A1-DU-2011-202
A1-DU-2011-202-n0
exact
null
true
2011-03-08T00:00:00
A1-DU-2015-1163
A1-DU-2015-1163-n0
exact
null
true
2015-08-28T00:00:00
A3n-DU-2010-1459
A3n-DU-2010-1459-n0
regex
\bNIE\b
true
null
A4y-DU-2009-740
A4y-DU-2009-740-n0
regex
\bTAK\b
true
null
A4n-DU-2009-740
A4n-DU-2009-740-n0
regex
\bNIE\b
true
null
A3v-DU-2016-780
A3v-DU-2016-780-n0
regex
\bNIE\b
true
null
A1-DU-2015-892
A1-DU-2015-892-n0
exact
null
true
2015-07-11T00:00:00
A3n-DU-2015-892
A3n-DU-2015-892-n0
regex
\bNIE\b
true
null
A1-DU-2014-1071
A1-DU-2014-1071-n0
exact
null
true
2014-08-26T00:00:00
A4n-DU-2005-1412
A4n-DU-2005-1412-n0
regex
\bNIE\b
true
null
A4n-DU-2019-2294
A4n-DU-2019-2294-n0
regex
\bNIE\b
true
null
A1-DU-2004-1963
A1-DU-2004-1963-n0
exact
null
true
2004-10-01T00:00:00
A3v-DU-2023-556
A3v-DU-2023-556-n0
regex
\bNIE\b
true
null
A4n-DU-2023-556
A4n-DU-2023-556-n0
regex
\bNIE\b
true
null
A4y-DU-2002-1184
A4y-DU-2002-1184-n0
regex
\bTAK\b
true
null
A3v-DU-2023-556
null
null
null
null
null
_CANARY_
null
null
null
null
null
A1-DU-2007-328
null
null
null
null
null
A1-DU-2001-1408
null
null
null
null
null
A1-DU-2004-535
null
null
null
null
null
A1-DU-2014-1682
null
null
null
null
null
A1-DU-2004-1963
null
null
null
null
null
A1-DU-2012-1091
null
null
null
null
null
A1-DU-2021-904
null
null
null
null
null
A1-DU-2013-881
null
null
null
null
null
A1-DU-2003-962
null
null
null
null
null
A1-DU-2008-226
null
null
null
null
null
End of preview.

PL-Temporal — Track A (Diagnostic Challenge Set v0.2)

A diagnostic challenge set for closed-book temporal QA over Polish statutes: which version of the law was in force on a given date, when did an act enter into force, which Dziennik Ustaw position is the current consolidated text. 80 questions across 64 acts (79 scored, 1 quarantined after human legal review), 4 question families, deterministic string-nugget scoring — no LLM-as-judge.

Canonical repository (scoring scripts, results, review protocol): https://github.com/bartoszkobylinski/pl-temporal

Files

file content
questions.json 80 questions + gold answers + ELI act identifiers + a _CANARY_ record
nuggets.json scoring nuggets (exact / regex), one implementation of matching in the repo
quarantine.json items excluded from scoring, with evidence

Question families

family n what it tests
A1 24 commencement date of an act, derived from its commencement clause
A2 8 which Dz.U. position is the consolidated text in force on a date
A3 24 whether an act was in force on a given date (TAK/NIE)
A4 24 whether an act was amended in a given period (TAK/NIE)

v0.2 results (2026-08-14, 79 scored items; mean over valid draws)

Three metrics — no single leader without a utility function. Coverage: how often the model answers. Selective accuracy: how often it is right when it answers. End-to-end: usefulness when every question needs an answer.

model N valid coverage selective acc end-to-end abstained/draw
gpt-5.6-sol 5 100% 69.9% 69.9% 0
claude-opus-5 5 85.1% 74.2% 63.0% 11.6
gpt-5.6-terra 5 100% 57.2% 57.2% 0
gemini-3.1-pro 3 82.3% 64.6% 53.2% 14.0
gemini-3.5-flash 2 93.7% 56.8% 53.2% 5.0
pllum-12b 5 100% 44.3% 44.3% 0
bielik-11b-v3 5 100% 43.0% 43.0% 0

Majority baselines for the binary families: A3 = 65.2%, A4 = 50.0%. v0.2 is frozen as a diagnostic challenge set (no-signal pruning used v0.1 model results); a frozen v1.0 with a pre-registered selection procedure is planned. Full findings, limitations and incident log: RESULTS-v0.2.md in the canonical repo.

Gold answers for every analyzer-flagged item were verified by the dataset owner against ISAP commencement clauses (2026-08-14): zero gold edits, one ambiguous item quarantined; an independent second annotation pass is planned for v1.0. Notable finding: zero-abstention is a property of vendor training decisions, not of model size — both GPT-5.6 models abstained 0/400, matching the Polish models, while legacy gpt-5 was the heaviest abstainer in the roster.

Contamination canary

questions.json contains a _CANARY_ record with a unique GUID that is not a question and must never be sent to models during evaluation. If a model can reproduce this GUID, this dataset was in its training data — please report such a finding. Note the asymmetry: reproducing the GUID is positive evidence of contamination, but failing to reproduce it does not prove the absence of contamination.

Data provenance and legal basis

Source of legal texts and metadata: Internetowy System Aktów Prawnych (ISAP), Kancelaria Sejmu RP — https://isap.sejm.gov.pl — and the Sejm ELI API — https://api.sejm.gov.pl / https://eli.gov.pl. Retrieved: 2026-08-12/13. The texts have been processed (fragment extraction, paraphrase, derived dates); they are informational only and are not a source of law. Authentic texts are solely those promulgated in Dziennik Ustaw / Monitor Polski. This dataset is not legal advice.

Statute texts are excluded from copyright under art. 4 of the Polish Copyright Act and are in the public domain; the CC BY 4.0 license applies to the compilation, questions, nuggets, and metadata. Attribution required — cite this dataset and state the ISAP/ELI source. Provided as-is, no warranties (CC BY 4.0 Section 5).

Citation

Kobylinski, B. (2026). PL-Temporal: a benchmark of temporal legal reasoning over
Polish statutes (v0.2). https://github.com/bartoszkobylinski/pl-temporal
Downloads last month
51