hackercupai/hackercup
Data Preview The data available in this preview contains a 10 row dataset: Sample Dataset ("sample"): This is a subset of the full dataset, containing data from 2023. To view full dataset, download output_dataset.parquet. This contains data from 2011 to 2023. Fields The dataset include the following fields: name (string) year (string) round (string) statement (string) input (string) solution (string) code (string) sample_input (string) sample_output (string)… See the full description on the dataset page: https://huggingface.co/datasets/hackercupai/hackercup.
242.2k
1---2license: apache-2.03pretty_name: Meta Hacker Cup 2011-20234tags:5- code6configs:7 - config_name: default8 data_files:9 - split: sample10 path: data_preview_sample_10rows.parquet11 - split: full12 path: output_dataset.parquet13---14# Data Preview15 16The data available in this preview contains a 10 row dataset:17- **Sample Dataset ("sample")**: This is a subset of the full dataset, containing data from 2023.18 19To view full dataset, download `output_dataset.parquet`. This contains data from 2011 to 2023.20 21## Fields22 23The dataset include the following fields:24 25- `name` (string)26- `year` (string)27- `round` (string)28- `statement` (string)29- `input` (string)30- `solution` (string)31- `code` (string)32- `sample_input` (string)33- `sample_output` (string)34- `images` (array of base64 image strings)35 36 37This dataset contains every Facebook/Meta Hacker Cup problem from 2011 through 2023. For each problem, you'll find these files:38 39* `<problem_name>.md`: The problem statement formatted in Markdown40* `<problem_name>.in`: The full input file41* `<problem_name>.out`: The full output file42 * Note that some problems accept multiple possible outputs, in which case the full output file is simply an example of an output that would be accepted43* `<problem_name>_sample_input.txt`: The sample input provided by the problem statement44* `<problem_name>_sample_output.txt`: The sample output provided by the problem statement45 46Note that for problems from 2011 thorugh 2019, the problems were initially typeset in html. For those problems you can find:47 48* `<problem_name>.html`: The problem statement formatted in HTML49 50For these problems, the Markdown version of the statement (`<problem_name>.md`) was automatically generated from the HTML version and may contain errors.51 52For some problems, written solutions/analyses are available:53 54* `<problem_name>.sol.md`55** 56For some problem, code solutions are available:57 58* `<problem_name>.(cpp|py|java)`59 60Some problems contains references to images that look like this:61 62* `{{PHOTO_ID:<photo_id>}}`, example: `{{PHOTO_ID:923060468192530}}`63 64In the same folder as the problem statement, you can find `<photo_id>.jpg` or `<photo_id>.gif`65 66## Starter Kits67Some quick start solutions for working with this data are available at [HackerCupAI Repo](https://github.com/HackerCupAI/starter-kits). Some frameworks include:68- [Langchain](https://www.langchain.com/)69- [AutoGen](https://github.com/microsoft/autogen)70 71The samples show basic steps for data ingest, generating solutions, and evaluation.72For an example of data ingest, check out [this example](https://github.com/HackerCupAI/starter-kits/blob/main/autogen/app/utils/utils.py)73 74## Notes75 76- Solutions prior to 2019 do not contain markdown solution files.77- The 2019 markdown solutions are not included in the dataset but can be found in `.cpp` files.78 79## Citation80 81If you use this dataset, please cite it as follows:82 83```bibtex84@misc{2024hackercupai,85 title = {2024 Hacker Cup Dataset},86 author = {May, Wesley and Harmeyer, David and Hoak, Amber and Li, Margaret and Dymchenko, Sergii and Yang, Weiwei and Saroufim, Mark},87}88```