Extension for accessing the LongEval test collections via ir_datasets.
Project description
💾 ir-datasets-longeval
Extension for accessing the LongEval datasets via ir_datasets.
Installation
Install the package from PyPI:
pip install ir-datasets-longeval
Usage
[!TIP] LongEval 2026: The new
longeval-sci-2026test collection is now available and we included extra tags for the shared task:longeval-sci-2026/clef-2026/sciandlongeval-sci-2026/clef-2026/rag.
The ir_datasets_longeval extension provides a load method that returns a LongEval ir_dataset that allows to load official versions of the LongEval datasets as well as modified versions that you have on your local file system:
from ir_datasets_longeval import load
# load an official version of the LongEval dataset.
dataset = load("longeval-sci-2026/snapshot-3")
# load a local copy of a LongEval dataset.
# E.g., so that you can easily run your approach on modified data.
dataset = load("<PATH-TO-A-DIRECTORY-ON-YOUR-MACHINE>")
# From now on, you can use dataset as any ir_dataset
LongEval datasets have a set of temporal specifics that you can use:
# At what time does/did a dataset take place?
dataset.get_timestamp()
# Each dataset can have a list of zero or more past datasets/interactions.
# You can incorporate them in your retrieval system:
for past_dataset in dataset.get_prior_datasets():
# `past_dataset` is an LongEval `ir_dataset` with the same functionality as the `dataset`
past_dataset.get_timestamp()
If you want to use the CLI, just use the ir_datasets_longeval instead of ir_datasets. All CLI commands will work as usual, e.g., to list the officially available datasets:
ir_datasets_longeval list
Datasets
LongEval 2026
Details
The fourth LongEval Lab in 2026 introduced a new LongEval-Sci test collection. It contains three snapshots that each span three months. snapshot-1 from March to May, snapshot-2 from June to August, snapshot-3 from September to November, all in 2025. Additionally, training queries and qrels are provided for snapshot-1. Each snapshot contains different qrels sets: raw qrels mark all clicked documents as relevant and dctr qrels use the Document Click Through Rate (DCTR) as pseudo relevance label. Additionally, a set of RAG questions is available for the most recent snapshot snapshot-3.
Meta Tags:
longeval-sci-2026/*longeval-sci-2026/clef-2026/scilongeval-sci-2026/clef-2026/sci/rawlongeval-sci-2026/clef-2026/sci/dctr
Tags:
longeval-sci-2026/snapshot-1longeval-sci-2026/snapshot-1/rawlongeval-sci-2026/snapshot-1/dctrlongeval-sci-2026/snapshot-2longeval-sci-2026/snapshot-2/rawlongeval-sci-2026/snapshot-2/dctrlongeval-sci-2026/snapshot-3longeval-sci-2026/snapshot-3/rawlongeval-sci-2026/snapshot-3/dctrlongeval-sci-2026/snapshot-3/ragsame aslongeval-sci-2026/clef-2026/rag
LongEval Sci
Details
The third LongEval Lab introduced the first LongEval-Sci test collection. It contains the two snapshots 2024-11 and 2025-01 and additional training queries and qrels for 2024-11.
Meta Tags:
longeval-sci/*longeval-sci/clef-2025-test
Tags:
longeval-sci/2024-11/trainlongeval-sci/2024-11longeval-sci/2025-01
Citation:
@inproceedings{DBLP:conf/ecir/AlkhalifaBDEAFSGGILMMMPPSZ24,
author = {Rabab Alkhalifa and
Hsuvas Borkakoty and
Romain Deveaud and
Alaa El{-}Ebshihy and
Luis Espinosa Anke and
Tobias Fink and
Gabriela Gonz{\'{a}}lez S{\'{a}}ez and
Petra Galusc{\'{a}}kov{\'{a}} and
Lorraine Goeuriot and
David Iommi and
Maria Liakata and
Harish Tayyar Madabushi and
Pablo Medina{-}Alias and
Philippe Mulhem and
Florina Piroi and
Martin Popel and
Christophe Servan and
Arkaitz Zubiaga},
editor = {Nazli Goharian and
Nicola Tonellotto and
Yulan He and
Aldo Lipani and
Graham McDonald and
Craig Macdonald and
Iadh Ounis},
title = {LongEval: Longitudinal Evaluation of Model Performance at {CLEF} 2024},
booktitle = {Advances in Information Retrieval - 46th European Conference on Information
Retrieval, {ECIR} 2024, Glasgow, UK, March 24-28, 2024, Proceedings,
Part {VI}},
series = {Lecture Notes in Computer Science},
volume = {14613},
pages = {60--66},
publisher = {Springer},
year = {2024},
url = {https://doi.org/10.1007/978-3-031-56072-9\_8},
doi = {10.1007/978-3-031-56072-9\_8},
timestamp = {Mon, 15 Apr 2024 08:25:15 +0200},
biburl = {https://dblp.org/rec/conf/ecir/AlkhalifaBDEAFSGGILMMMPPSZ24.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
LongEval Web
Details
The third LongEval Lab continued the LongEval test collection and made many more snapshots available. It is only available in French and contains the monthly snapshots 2022-06, 2022-07, 2022-08, 2022-09, 2022-10, 2022-11, 2022-12, 2023-01, 2023-02, 2023-03, 2023-04, 2023-05, 2023-06, 2023-07, 2023-08.
Meta Tags:
longeval-web/*longeval-web/clef-2025-test
Tags:
longeval-web/2022-06longeval-web/2022-07longeval-web/2022-08longeval-web/2022-09longeval-web/2022-10longeval-web/2022-11longeval-web/2022-12longeval-web/2023-01longeval-web/2023-02longeval-web/2023-03longeval-web/2023-04longeval-web/2023-05longeval-web/2023-06longeval-web/2023-07longeval-web/2023-08
Citation:
@inproceedings{DBLP:conf/ecir/AlkhalifaBDEAFSGGILMMMPPSZ24,
author = {Rabab Alkhalifa and
Hsuvas Borkakoty and
Romain Deveaud and
Alaa El{-}Ebshihy and
Luis Espinosa Anke and
Tobias Fink and
Gabriela Gonz{\'{a}}lez S{\'{a}}ez and
Petra Galusc{\'{a}}kov{\'{a}} and
Lorraine Goeuriot and
David Iommi and
Maria Liakata and
Harish Tayyar Madabushi and
Pablo Medina{-}Alias and
Philippe Mulhem and
Florina Piroi and
Martin Popel and
Christophe Servan and
Arkaitz Zubiaga},
editor = {Nazli Goharian and
Nicola Tonellotto and
Yulan He and
Aldo Lipani and
Graham McDonald and
Craig Macdonald and
Iadh Ounis},
title = {LongEval: Longitudinal Evaluation of Model Performance at {CLEF} 2024},
booktitle = {Advances in Information Retrieval - 46th European Conference on Information
Retrieval, {ECIR} 2024, Glasgow, UK, March 24-28, 2024, Proceedings,
Part {VI}},
series = {Lecture Notes in Computer Science},
volume = {14613},
pages = {60--66},
publisher = {Springer},
year = {2024},
url = {https://doi.org/10.1007/978-3-031-56072-9\_8},
doi = {10.1007/978-3-031-56072-9\_8},
timestamp = {Mon, 15 Apr 2024 08:25:15 +0200},
biburl = {https://dblp.org/rec/conf/ecir/AlkhalifaBDEAFSGGILMMMPPSZ24.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
LongEval 2023
The dataset is hosted at Lindat and a local copy is needed to be placed in the ir_dataset directory.
Details
The original LongEval test collection is available in French and English and comprises the three snapshots 2022-06 (WT), 2022-07 (ST), and 2022-08 (LT). The initial version assigned different IDs to documents and queries present in multiple snapshots. The original IDs are available in the non-unified tags.
Tags:
longeval-2023longeval-2023/2022-06/frlongeval-2023/2022-07/frlongeval-2023/2022-09/frlongeval-2023/2022-06/enlongeval-2023/2022-07/enlongeval-2023/2022-09/enlongeval-2023/2022-06/fr/non-unifiedlongeval-2023/2022-07/fr/non-unifiedlongeval-2023/2022-09/fr/non-unifiedlongeval-2023/2022-06/en/non-unifiedlongeval-2023/2022-07/en/non-unifiedlongeval-2023/2022-09/en/non-unified
Citation:
@inproceedings{DBLP:conf/sigir/GaluscakovaDSMG23,
author = {Petra Galusc{\'{a}}kov{\'{a}} and
Romain Deveaud and
Gabriela Gonz{\'{a}}lez S{\'{a}}ez and
Philippe Mulhem and
Lorraine Goeuriot and
Florina Piroi and
Martin Popel},
editor = {Hsin{-}Hsi Chen and
Wei{-}Jou (Edward) Duh and
Hen{-}Hsen Huang and
Makoto P. Kato and
Josiane Mothe and
Barbara Poblete},
title = {LongEval-Retrieval: French-English Dynamic Test Collection for Continuous
Web Search Evaluation},
booktitle = {Proceedings of the 46th International {ACM} {SIGIR} Conference on
Research and Development in Information Retrieval, {SIGIR} 2023, Taipei,
Taiwan, July 23-27, 2023},
pages = {3086--3094},
publisher = {{ACM}},
year = {2023},
url = {https://doi.org/10.1145/3539618.3591921},
doi = {10.1145/3539618.3591921},
timestamp = {Wed, 25 Feb 2026 08:28:08 +0100},
biburl = {https://dblp.org/rec/conf/sigir/GaluscakovaDSMG23.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
Citation
If you use this package, please cite the original ir_datasets paper and this extension:
@inproceedings{ir_datasets_longeval,
author = {J{\"{u}}ri Keller and Maik Fr{\"{o}}be and Gijs Hendriksen and Daria Alexander and Martin Potthast and Philipp Schaer},
title = {Simplified Longitudinal Retrieval Experiments: A Case Study on Query Expansion and Document Boosting},
booktitle = {Experimental {IR} Meets Multilinguality, Multimodality, and Interaction - 16th International Conference of the {CLEF} Association, {CLEF} 2024, Madrid, Spain, September 9-12, 2025, Proceedings, Part {I}},
series = {Lecture Notes in Computer Science},
publisher = {Springer},
year = {2025}
}
Development
To build this package and contribute to its development you need to install the build, setuptools, and wheel packages (pre-installed on most systems):
pip install build setuptools wheel
Create and activate a virtual environment:
python3.10 -m venv venv/
source venv/bin/activate
Dependencies
Install the package and test dependencies:
pip install -e .[tests]
Testing
Verify your changes against the test suite to verify.
ruff check . # Code format and LINT
mypy . # Static typing
bandit -c pyproject.toml -r . # Security
pytest . # Unit tests
Please also add tests for your newly developed code.
Build wheels
Wheels for this package can be built with:
python -m build
Support
If you have any problems using this package, please file an issue. We're happy to help!
Fork Notice
This repository is a fork of ir-datasets-clueweb22, originally developed by Jan Heinrich Merker. All credit for the original work goes to him, and this fork retains the original MIT License. The changes made in this fork include an adaptation from the clueweb22 dataset to the LongEval datasets.
License
This repository is released under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ir_datasets_longeval-0.0.15.tar.gz.
File metadata
- Download URL: ir_datasets_longeval-0.0.15.tar.gz
- Upload date:
- Size: 110.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa3da0f6f4e4b694836e1127da66102820e4e73a474bd9600d2ff07200434031
|
|
| MD5 |
78a1021dcd0d7a1ec3ae33d5f63e7d45
|
|
| BLAKE2b-256 |
34a4afcf3b8528fe48944abc0f00a70f9587737b144ad91105fd38e5d87bce4b
|
Provenance
The following attestation bundles were made for ir_datasets_longeval-0.0.15.tar.gz:
Publisher:
ci.yml on clef-longeval/ir-datasets-longeval
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ir_datasets_longeval-0.0.15.tar.gz -
Subject digest:
fa3da0f6f4e4b694836e1127da66102820e4e73a474bd9600d2ff07200434031 - Sigstore transparency entry: 1497403082
- Sigstore integration time:
-
Permalink:
clef-longeval/ir-datasets-longeval@6187814a982d43ca6fed76c73bf09f6345df1826 -
Branch / Tag:
refs/tags/v0.0.15 - Owner: https://github.com/clef-longeval
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@6187814a982d43ca6fed76c73bf09f6345df1826 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ir_datasets_longeval-0.0.15-py3-none-any.whl.
File metadata
- Download URL: ir_datasets_longeval-0.0.15-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64105db6da3c2b37c896e5a78cddc720b26ee02d1362eb848a9c5ec172d07412
|
|
| MD5 |
eccddfadd32ffae264ec198c93bfa97d
|
|
| BLAKE2b-256 |
c6b5caef79aec809f104898687de1fb22cc980523d440f509672125bec2fa1c0
|
Provenance
The following attestation bundles were made for ir_datasets_longeval-0.0.15-py3-none-any.whl:
Publisher:
ci.yml on clef-longeval/ir-datasets-longeval
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ir_datasets_longeval-0.0.15-py3-none-any.whl -
Subject digest:
64105db6da3c2b37c896e5a78cddc720b26ee02d1362eb848a9c5ec172d07412 - Sigstore transparency entry: 1497403184
- Sigstore integration time:
-
Permalink:
clef-longeval/ir-datasets-longeval@6187814a982d43ca6fed76c73bf09f6345df1826 -
Branch / Tag:
refs/tags/v0.0.15 - Owner: https://github.com/clef-longeval
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@6187814a982d43ca6fed76c73bf09f6345df1826 -
Trigger Event:
push
-
Statement type: