Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Size:
< 1K
ArXiv:
Tags:
code
Libraries:
Datasets
pandas
License:
kostis-init commited on
Commit
c403921
ยท
1 Parent(s): c7c64b9

update repo splits and README (v1, v1-verified, v2)

Browse files
Files changed (2) hide show
  1. README.md +21 -15
  2. cp_bench_changes.md +2 -2
README.md CHANGED
@@ -11,62 +11,68 @@ language:
11
  configs:
12
  - config_name: default
13
  data_files:
14
- - split: train
15
  path: "dataset.jsonl"
16
- - split: original
17
- path: "dataset.jsonl"
18
- - split: verified
19
  path: "dataset_verified.jsonl"
 
 
20
  ---
21
 
22
  # CP-Bench: A dataset for evaluating LLM-driven constraint modelling
23
 
24
  [![Hugging Face Space](https://img.shields.io/badge/Leaderboard-HF%20Space-blue?logo=huggingface)](https://huggingface.co/spaces/kostis-init/CP-Bench-Leaderboard)
25
 
26
- This dataset is designed to faciliate the evaluation of LLM-based methods for translating natural language problem descriptions into accurate constraint specifications. It contains diverse combinatorial problems, and is sourced from various well-established sources from the Constraint Programming community.
27
 
28
  ---
29
 
30
- ## Splits
31
 
32
- You will notice that the dataset contains two splits (which are not exactly splits, but rather two different versions of the dataset):
33
- - `original`: The original dataset, which contains all problems, including those with known issues.
34
- - `verified`: A version of the dataset that contains problems that did not have any severe issues.
35
 
36
- The split `train` also exists for backwards compatibility, and it is identical to the `original` split.
 
 
 
37
 
38
  ---
39
 
40
  ## ๐Ÿ“Š Leaderboard
41
 
42
- You can submit your results or view others' performance here:
43
- ๐Ÿ‘‰ **[CP-Bench Leaderboard on Hugging Face](https://huggingface.co/spaces/kostis-init/CP-Bench-Leaderboard)**
44
 
45
  ---
46
 
47
- # Dataset Breakdown
48
 
49
  The dataset contains problems from the following sources:
50
 
51
  - `aplai_course`: Problems from the APLAI course of KU Leuven, 2023-2024. As modelled [here](https://github.com/kostis-init/CP-LLMs-ICL/tree/main/data/APLAI_course).
 
52
  - `cpmpy_examples`: Problems from the [CPMpy repository](https://github.com/CPMpy/cpmpy/tree/master/examples)
53
  - All included, except for the ones that require enumeration of all solutions (e.g. `solveAll`).
54
  - [`csplib`](https://www.csplib.org/Problems/)
55
  - For now, only the ones modelled in the [CPMpy repository](https://github.com/CPMpy/cpmpy/tree/master/examples/csplib) are included, and the ones modelled by [Hakan Kjellerstrand](http://www.hakank.org/cpmpy/).
56
  - `hakan_examples`: Models created by [Hakan Kjellerstrand](http://www.hakank.org/cpmpy/)
57
- - In progress with alphabetical order. Currently, includes all problems until `crypta.py`, excluding the following:
58
  - Those already modelled from other sources (e.g. aplai_course, cpmpy_examples, csplib)
59
  - Those that contain `solveAll` (counting solutions).
60
  - Global constraints tests, e.g. http://www.hakank.org/cpmpy/atmost_test.py
61
 
 
 
62
  ## Diversity
63
 
64
  We attempted to include unique problems from different sources, in order to provide a diverse set of problems.
65
  However, as this was a manual process, there might be duplicates or similar problems. If you notice any issues, please let us know.
66
 
 
 
67
  ## Citation
68
 
69
- If you found this dataset useful, please consider citing it as follows:
70
 
71
  ```bib
72
  @dataset{michailidis_2025_15592407,
 
11
  configs:
12
  - config_name: default
13
  data_files:
14
+ - split: v1
15
  path: "dataset.jsonl"
16
+ - split: v1-verified
 
 
17
  path: "dataset_verified.jsonl"
18
+ - split: v2
19
+ path: "dataset_v2_2025-08-07_20-45-17.jsonl"
20
  ---
21
 
22
  # CP-Bench: A dataset for evaluating LLM-driven constraint modelling
23
 
24
  [![Hugging Face Space](https://img.shields.io/badge/Leaderboard-HF%20Space-blue?logo=huggingface)](https://huggingface.co/spaces/kostis-init/CP-Bench-Leaderboard)
25
 
26
+ This dataset is designed to facilitate the evaluation of LLM-based methods for translating natural language problem descriptions into accurate constraint specifications. It contains diverse combinatorial problems, and is sourced from various well-established sources from the Constraint Programming community.
27
 
28
  ---
29
 
30
+ ## Dataset Versions
31
 
32
+ > **_tl;dr:_** Use `v2`, it's the latest!
 
 
33
 
34
+ You will notice that the dataset contains various splits (which are not exactly splits, but rather different versions of the dataset):
35
+ - `v1`: The original dataset, which contains all problems initially designed, including those with known issues.
36
+ - `v1-verified`: A stripped-down version of the original dataset (v1) that contains only the problems that did not have any severe issues.
37
+ - `v2`: The latest version of the dataset, which includes additional problems and fixes to the issues found in v1. It is the recommended version for use.
38
 
39
  ---
40
 
41
  ## ๐Ÿ“Š Leaderboard
42
 
43
+ You can easily submit your results and view the global leaderboard here:
44
+ ๐Ÿ‘‰ **[CP-Bench Leaderboard](https://huggingface.co/spaces/kostis-init/CP-Bench-Leaderboard)**
45
 
46
  ---
47
 
48
+ ## Dataset Breakdown (v2)
49
 
50
  The dataset contains problems from the following sources:
51
 
52
  - `aplai_course`: Problems from the APLAI course of KU Leuven, 2023-2024. As modelled [here](https://github.com/kostis-init/CP-LLMs-ICL/tree/main/data/APLAI_course).
53
+ - `complex_or`: Problems from the [Complex OR repository](https://github.com/xzymustbexzy/Chain-of-Experts)
54
  - `cpmpy_examples`: Problems from the [CPMpy repository](https://github.com/CPMpy/cpmpy/tree/master/examples)
55
  - All included, except for the ones that require enumeration of all solutions (e.g. `solveAll`).
56
  - [`csplib`](https://www.csplib.org/Problems/)
57
  - For now, only the ones modelled in the [CPMpy repository](https://github.com/CPMpy/cpmpy/tree/master/examples/csplib) are included, and the ones modelled by [Hakan Kjellerstrand](http://www.hakank.org/cpmpy/).
58
  - `hakan_examples`: Models created by [Hakan Kjellerstrand](http://www.hakank.org/cpmpy/)
59
+ - In progress with alphabetical order, excluding the following:
60
  - Those already modelled from other sources (e.g. aplai_course, cpmpy_examples, csplib)
61
  - Those that contain `solveAll` (counting solutions).
62
  - Global constraints tests, e.g. http://www.hakank.org/cpmpy/atmost_test.py
63
 
64
+ ---
65
+
66
  ## Diversity
67
 
68
  We attempted to include unique problems from different sources, in order to provide a diverse set of problems.
69
  However, as this was a manual process, there might be duplicates or similar problems. If you notice any issues, please let us know.
70
 
71
+ ---
72
+
73
  ## Citation
74
 
75
+ If you found our work useful, please consider citing it:
76
 
77
  ```bib
78
  @dataset{michailidis_2025_15592407,
cp_bench_changes.md CHANGED
@@ -1,7 +1,7 @@
1
  # Verifying CP-bench: Changelog
2
 
3
- Here is a summary of the changes made to the CP-bench dataset, focusing on the removal of instances with critical issues.
4
- The resulted verified dataset is available in `dataset_verified.jsonl`.
5
 
6
  ### Symmetry-Breaking Constraints Removed
7
 
 
1
  # Verifying CP-bench: Changelog
2
 
3
+ Here is a list of the changed files made to the original (v1) CP-bench dataset, focusing on the removal of instances with critical issues.
4
+ The resulted verified dataset is available in `dataset_verified.jsonl`. All these issues are fixed in the latest version of the dataset, `v2`.
5
 
6
  ### Symmetry-Breaking Constraints Removed
7