Minwei Kong commited on
Align hard split IDs with published ranking
Browse files
metadata/splits/hard.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
| 13 |
"armbruster2012",
|
| 14 |
"watermeyer2020",
|
| 15 |
"zohali2022",
|
| 16 |
-
"wei2020",
|
| 17 |
"legrain2020",
|
|
|
|
| 18 |
"roshanaei2017",
|
| 19 |
"adulyasak2015",
|
| 20 |
"desaulniers2010",
|
|
@@ -47,8 +47,8 @@
|
|
| 47 |
"roberti2018",
|
| 48 |
"kobeaga2024",
|
| 49 |
"bierwirth2017",
|
| 50 |
-
"bard2002",
|
| 51 |
"fragkos2021",
|
|
|
|
| 52 |
"delage2022",
|
| 53 |
"wu2018",
|
| 54 |
"spliet2015",
|
|
|
|
| 13 |
"armbruster2012",
|
| 14 |
"watermeyer2020",
|
| 15 |
"zohali2022",
|
|
|
|
| 16 |
"legrain2020",
|
| 17 |
+
"wei2020",
|
| 18 |
"roshanaei2017",
|
| 19 |
"adulyasak2015",
|
| 20 |
"desaulniers2010",
|
|
|
|
| 47 |
"roberti2018",
|
| 48 |
"kobeaga2024",
|
| 49 |
"bierwirth2017",
|
|
|
|
| 50 |
"fragkos2021",
|
| 51 |
+
"bard2002",
|
| 52 |
"delage2022",
|
| 53 |
"wu2018",
|
| 54 |
"spliet2015",
|
metadata/splits/hard_methodology.md
CHANGED
|
@@ -6,8 +6,7 @@ reference performance.
|
|
| 6 |
|
| 7 |
## Published evidence
|
| 8 |
|
| 9 |
-
- `hard.json`: authoritative selected task IDs
|
| 10 |
-
membership, not order, is the selection invariant.
|
| 11 |
- `hard_selection_inputs_180.csv`: frozen, one-row-per-task input snapshot used
|
| 12 |
for this selection. It includes the relevant paper metadata, mean instance
|
| 13 |
size fields, and historical five-large-instance Gurobi summary statistics.
|
|
@@ -85,9 +84,5 @@ To materialize the computed ranking for comparison:
|
|
| 85 |
python metadata/splits/reproduce_hard.py --ranking-out /tmp/hard_ranking_180.csv
|
| 86 |
```
|
| 87 |
|
| 88 |
-
The script
|
| 89 |
-
`hard.json`.
|
| 90 |
-
`90902079c17a202508255df756f43c9f0bee29b49076141a0ceb83c8161fab50`.
|
| 91 |
-
The recomputed 180-task ordering and scores match the original benchmark
|
| 92 |
-
ranking exactly. `hard.json` has the same 50 members but swaps two pairs of
|
| 93 |
-
adjacent IDs relative to ranking order; its ordering is not a score rank.
|
|
|
|
| 6 |
|
| 7 |
## Published evidence
|
| 8 |
|
| 9 |
+
- `hard.json`: authoritative selected task IDs in descending hard-rank order.
|
|
|
|
| 10 |
- `hard_selection_inputs_180.csv`: frozen, one-row-per-task input snapshot used
|
| 11 |
for this selection. It includes the relevant paper metadata, mean instance
|
| 12 |
size fields, and historical five-large-instance Gurobi summary statistics.
|
|
|
|
| 84 |
python metadata/splits/reproduce_hard.py --ranking-out /tmp/hard_ranking_180.csv
|
| 85 |
```
|
| 86 |
|
| 87 |
+
The script verifies that the computed top 50 IDs and their ranking order
|
| 88 |
+
match `hard.json`.
|
|
|
|
|
|
|
|
|
|
|
|
metadata/splits/reproduce_hard.py
CHANGED
|
@@ -113,13 +113,13 @@ def main() -> int:
|
|
| 113 |
]
|
| 114 |
ranking["selected_hard"] = ranking["paper_id"].isin(selected)
|
| 115 |
ranking[columns].to_csv(args.ranking_out, index=False)
|
| 116 |
-
computed =
|
| 117 |
-
if computed !=
|
| 118 |
-
print(f"Selection differs: computed-only={sorted(computed - selected)}, "
|
| 119 |
-
f"published-only={sorted(selected - computed)}")
|
| 120 |
return 1
|
| 121 |
print(f"Reproduced {len(selected)} hard tasks from {len(ranking)} frozen input rows.")
|
| 122 |
-
print("
|
| 123 |
return 0
|
| 124 |
|
| 125 |
|
|
|
|
| 113 |
]
|
| 114 |
ranking["selected_hard"] = ranking["paper_id"].isin(selected)
|
| 115 |
ranking[columns].to_csv(args.ranking_out, index=False)
|
| 116 |
+
computed = ranking.head(hard["task_count"])["paper_id"].tolist()
|
| 117 |
+
if computed != hard["task_ids"]:
|
| 118 |
+
print(f"Selection or order differs: computed-only={sorted(set(computed) - selected)}, "
|
| 119 |
+
f"published-only={sorted(selected - set(computed))}")
|
| 120 |
return 1
|
| 121 |
print(f"Reproduced {len(selected)} hard tasks from {len(ranking)} frozen input rows.")
|
| 122 |
+
print("Task IDs and ranking order match hard.json.")
|
| 123 |
return 0
|
| 124 |
|
| 125 |
|