frontieror commited on
Commit
d71ca3d
·
verified ·
1 Parent(s): c2b5aa9

Rename hard subset metadata to metadata/hardset

Browse files

Move the five hard subset metadata files, rename hard.json to hardset.json, and update the reproduction script and dataset documentation. Task IDs and ranking data are unchanged.

README.md CHANGED
@@ -52,7 +52,7 @@ paper's OR problem into runnable, verifiably-correct optimization code.
52
  | `metadata/` | Paper metadata, Gurobi reference summaries, and benchmark split metadata |
53
  | `metadata/paper_meta_info.json` | Metadata for all 180 canonical papers, including optimization direction |
54
  | `metadata/gurobi_references.parquet` / `.csv.gz` | Canonical Gurobi objectives, runtimes, statuses, and related reference fields |
55
- | `metadata/splits/` | Hard-set ids, ranking inputs, methodology, and reproduction script |
56
  | `tasks/<task_id>/` | Self-contained task package for one paper |
57
 
58
  ## What's in each task folder
 
52
  | `metadata/` | Paper metadata, Gurobi reference summaries, and benchmark split metadata |
53
  | `metadata/paper_meta_info.json` | Metadata for all 180 canonical papers, including optimization direction |
54
  | `metadata/gurobi_references.parquet` / `.csv.gz` | Canonical Gurobi objectives, runtimes, statuses, and related reference fields |
55
+ | `metadata/hardset/` | Hard-set ids, ranking inputs, methodology, and reproduction script |
56
  | `tasks/<task_id>/` | Self-contained task package for one paper |
57
 
58
  ## What's in each task folder
RELEASE_NOTES.md CHANGED
@@ -10,10 +10,10 @@ This update consolidates the dataset, reference results, validation logic, and e
10
  - Paper-level metadata, including optimization direction, is consolidated in:
11
  - `metadata/paper_meta_info.json`
12
  - The canonical 50-task hard subset is published in:
13
- - `metadata/splits/hard.json`
14
  - Its selection criteria, frozen input snapshot, full 180-task ranking, and
15
- reproduction script are published in `metadata/splits/` (see
16
- `metadata/splits/hard_methodology.md`).
17
 
18
 
19
  ### Canonical Gurobi references
@@ -61,7 +61,7 @@ Users of earlier FrontierOR snapshots should:
61
 
62
  - update task paths to `tasks/<task_id>/`;
63
  - use `metadata/paper_meta_info.json` for paper metadata;
64
- - use `metadata/splits/hard.json` for the hard subset;
65
  - use `metadata/gurobi_references.parquet` or `.csv.gz` for Gurobi references;
66
  - rerun feasibility checks when relying on results produced by older checker versions.
67
 
 
10
  - Paper-level metadata, including optimization direction, is consolidated in:
11
  - `metadata/paper_meta_info.json`
12
  - The canonical 50-task hard subset is published in:
13
+ - `metadata/hardset/hardset.json`
14
  - Its selection criteria, frozen input snapshot, full 180-task ranking, and
15
+ reproduction script are published in `metadata/hardset/` (see
16
+ `metadata/hardset/hard_methodology.md`).
17
 
18
 
19
  ### Canonical Gurobi references
 
61
 
62
  - update task paths to `tasks/<task_id>/`;
63
  - use `metadata/paper_meta_info.json` for paper metadata;
64
+ - use `metadata/hardset/hardset.json` for the hard subset;
65
  - use `metadata/gurobi_references.parquet` or `.csv.gz` for Gurobi references;
66
  - rerun feasibility checks when relying on results produced by older checker versions.
67
 
metadata/{splits → hardset}/hard_methodology.md RENAMED
@@ -1,19 +1,19 @@
1
  # FrontierOR hard-50 selection
2
 
3
- The published `hard.json` is a **frozen 50-task subset** of the 180 canonical
4
  tasks. It was selected using task metadata, instance-size summaries, and Gurobi
5
  reference performance.
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.
13
  - `hard_ranking_180.csv`: derived scores, rule flags, rank, and membership for
14
  all 180 tasks, including the 130 tasks not selected.
15
  - `reproduce_hard.py`: recomputes the ranks from the frozen inputs and checks
16
- the selected set against `hard.json`.
17
 
18
  The frozen Gurobi summary fields came from the benchmark's historical
19
  `gurobi_results_11/21/31/41/51.csv` analysis. In that analysis, `time_out`
@@ -86,14 +86,14 @@ scale score (all descending), then by `paper_id` (ascending); take the first
86
  With Python, `pandas`, and `numpy` installed, run from the dataset root:
87
 
88
  ```bash
89
- python metadata/splits/reproduce_hard.py
90
  ```
91
 
92
  To materialize the computed ranking for comparison:
93
 
94
  ```bash
95
- python metadata/splits/reproduce_hard.py --ranking-out /tmp/hard_ranking_180.csv
96
  ```
97
 
98
  The script verifies that the computed top 50 IDs and their ranking order
99
- match `hard.json`.
 
1
  # FrontierOR hard-50 selection
2
 
3
+ The published `hardset.json` is a **frozen 50-task subset** of the 180 canonical
4
  tasks. It was selected using task metadata, instance-size summaries, and Gurobi
5
  reference performance.
6
 
7
  ## Published evidence
8
 
9
+ - `hardset.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.
13
  - `hard_ranking_180.csv`: derived scores, rule flags, rank, and membership for
14
  all 180 tasks, including the 130 tasks not selected.
15
  - `reproduce_hard.py`: recomputes the ranks from the frozen inputs and checks
16
+ the selected set against `hardset.json`.
17
 
18
  The frozen Gurobi summary fields came from the benchmark's historical
19
  `gurobi_results_11/21/31/41/51.csv` analysis. In that analysis, `time_out`
 
86
  With Python, `pandas`, and `numpy` installed, run from the dataset root:
87
 
88
  ```bash
89
+ python metadata/hardset/reproduce_hard.py
90
  ```
91
 
92
  To materialize the computed ranking for comparison:
93
 
94
  ```bash
95
+ python metadata/hardset/reproduce_hard.py --ranking-out /tmp/hard_ranking_180.csv
96
  ```
97
 
98
  The script verifies that the computed top 50 IDs and their ranking order
99
+ match `hardset.json`.
metadata/{splits → hardset}/hard_ranking_180.csv RENAMED
File without changes
metadata/{splits → hardset}/hard_selection_inputs_180.csv RENAMED
File without changes
metadata/{splits/hard.json → hardset/hardset.json} RENAMED
File without changes
metadata/{splits → hardset}/reproduce_hard.py RENAMED
@@ -98,7 +98,7 @@ def rank_tasks(inputs: pd.DataFrame) -> pd.DataFrame:
98
  def main() -> int:
99
  parser = argparse.ArgumentParser(description=__doc__)
100
  parser.add_argument("--inputs", type=Path, default=HERE / "hard_selection_inputs_180.csv")
101
- parser.add_argument("--hard-json", type=Path, default=HERE / "hard.json")
102
  parser.add_argument("--ranking-out", type=Path, help="Optional path for the recomputed ranking CSV")
103
  args = parser.parse_args()
104
 
@@ -122,7 +122,7 @@ def main() -> int:
122
  f"published-only={sorted(selected - set(computed))}")
123
  return 1
124
  print(f"Reproduced {len(selected)} hard tasks from {len(ranking)} frozen input rows.")
125
- print("Task IDs and ranking order match hard.json.")
126
  return 0
127
 
128
 
 
98
  def main() -> int:
99
  parser = argparse.ArgumentParser(description=__doc__)
100
  parser.add_argument("--inputs", type=Path, default=HERE / "hard_selection_inputs_180.csv")
101
+ parser.add_argument("--hard-json", type=Path, default=HERE / "hardset.json")
102
  parser.add_argument("--ranking-out", type=Path, help="Optional path for the recomputed ranking CSV")
103
  args = parser.parse_args()
104
 
 
122
  f"published-only={sorted(selected - set(computed))}")
123
  return 1
124
  print(f"Reproduced {len(selected)} hard tasks from {len(ranking)} frozen input rows.")
125
+ print("Task IDs and ranking order match hardset.json.")
126
  return 0
127
 
128