Skip to main content

Extension for accessing the LongEval test collections via ir_datasets.

Project description

PyPi CI Code coverage Python Issues Commit activity Downloads License

💾 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-2026 test collection is now available and we included extra tags for the shared task: longeval-sci-2026/clef-2026/sci and longeval-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/sci
  • longeval-sci-2026/clef-2026/sci/raw
  • longeval-sci-2026/clef-2026/sci/dctr

Tags:

  • longeval-sci/snapshot-1
  • longeval-sci/snapshot-1/raw
  • longeval-sci/snapshot-1/dctr
  • longeval-sci/snapshot-2
  • longeval-sci/snapshot-2/raw
  • longeval-sci/snapshot-2/dctr
  • longeval-sci/snapshot-3
  • longeval-sci/snapshot-3/raw
  • longeval-sci/snapshot-3/dctr
  • longeval-sci/snapshot-3/rag
  • longeval-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/train
  • longeval-sci/2024-11
  • longeval-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-06
  • longeval-web/2022-07
  • longeval-web/2022-08
  • longeval-web/2022-09
  • longeval-web/2022-10
  • longeval-web/2022-11
  • longeval-web/2022-12
  • longeval-web/2023-01
  • longeval-web/2023-02
  • longeval-web/2023-03
  • longeval-web/2023-04
  • longeval-web/2023-05
  • longeval-web/2023-06
  • longeval-web/2023-07
  • longeval-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-2023
  • longeval-2023/2022-06/fr
  • longeval-2023/2022-07/fr
  • longeval-2023/2022-09/fr
  • longeval-2023/2022-06/en
  • longeval-2023/2022-07/en
  • longeval-2023/2022-09/en
  • longeval-2023/2022-06/fr/non-unified
  • longeval-2023/2022-07/fr/non-unified
  • longeval-2023/2022-09/fr/non-unified
  • longeval-2023/2022-06/en/non-unified
  • longeval-2023/2022-07/en/non-unified
  • longeval-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ir_datasets_longeval-0.0.14.tar.gz (110.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ir_datasets_longeval-0.0.14-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file ir_datasets_longeval-0.0.14.tar.gz.

File metadata

  • Download URL: ir_datasets_longeval-0.0.14.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

Hashes for ir_datasets_longeval-0.0.14.tar.gz
Algorithm Hash digest
SHA256 f9692955f5a782fe4838c367c8aad8e4558f4ed568db2195a0297bdffa52d340
MD5 fdacb582bde6377613f3928fcbc5305f
BLAKE2b-256 be45136ad097b1016a514e0ecb4f582816b9ac09726d04ea1afc22b439c31c67

See more details on using hashes here.

Provenance

The following attestation bundles were made for ir_datasets_longeval-0.0.14.tar.gz:

Publisher: ci.yml on clef-longeval/ir-datasets-longeval

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ir_datasets_longeval-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for ir_datasets_longeval-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 0606c70fbc0822a103c3d80f23df208e2520a2fa172604a0b5811e38dbc98b1f
MD5 a20ace45806f192618bf75a32822b24e
BLAKE2b-256 3a72d72c63da34de4a430683e3e35ad0cfe0be260a1bc6e706a2fdae76b8b143

See more details on using hashes here.

Provenance

The following attestation bundles were made for ir_datasets_longeval-0.0.14-py3-none-any.whl:

Publisher: ci.yml on clef-longeval/ir-datasets-longeval

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page