Time Capsulo: A Sustainability Benchmark Dataset for Human and AI-Generated Code

Time Capsulo is a benchmark dataset for comparing the correctness and efficiency of AI-generated code with code written by humans before AI coding assistants. It contains 260 function-level tasks taken from 30 real open-source libraries whose releases date from 2018 to 2019. The tasks cover six languages: Python, Java, C++, JavaScript, Go and Rust. Each task is one real function, chosen by fixed rules. For every task the dataset provides a natural-language specification, the surrounding code context, a function stub, the original human-written function as the reference, the library version and commit, the covering tests, and seeded workloads (small, medium, large) with expected output digests. A model receives the prompt (specification, context and stub). Its answer is placed back into the original library, built in an era-appropriate Docker toolchain, and judged by the library's own tests and by an output-digest check. Only correct code is timed, so efficiency is never credited to wrong answers. The included harness measures runtime and peak memory. CPU energy can be measured on bare-metal Linux with RAPL support, following the procedure in the user guide (not automated in version 1.0). Library sources are not redistributed except for the function excerpts in the tasks: a setup script downloads each library at its pinned commit and verifies a content hash. The specifications were written with the help of a large language model and checked automatically for leakage and solvability. Licences: code is MIT; data and documentation are CC BY 4.0; third-party library excerpts keep their original licences (MIT, BSD-3-Clause, ISC, Apache-2.0), whose texts are included in the dataset.

Link
https://doi.org/10.17632/fc6bbvd95n.1
Found by
DataCite
Authors
Sheikh Tanvir Ahmed, Md. Motaharul Islam, Syed Ishtiaque Ahmed, Mohammad Mehedi Hassan
Organizations
United International University, University of Toronto Scarborough, King Saud University
Categories
benchmark, dataset
Published
2026-11-10
Last seen by the radar
2026-11-11
Citations
0
Downloads
0
Views
0
Radar score
43.71 / 100 (how it is scored)
Why it scored so
Also found via DataCite; Matched: benchmark, dataset; Primary record: DataCite
Related links
https://data.mendeley.com/datasets/fc6bbvd95n/1
https://doi.org/10.17632/fc6bbvd95n
https://data.mendeley.com/datasets/fc6bbvd95n
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by DataCite