EdgeBench / molecular_self_assembly.json
Odysseusqsl's picture
Initial release
f1720ff
Raw
History Blame Contribute Delete
2.19 kB
{
"task_id": "molecular_self_assembly",
"name": "Molecular Self Assembly",
"category": "Combinatorial Optimization",
"base_image": "python310",
"platform": "linux/amd64",
"internet": false,
"cwd": "/home/workspace/molecules",
"submit_paths": [
"solution.py"
],
"work": {
"image_tag": "6459dea01a82",
"specs_dir": "/home/workspace/molecules",
"agent_query": "## Molecules - Atom Bonding Optimization (AHC057)\n\nWrite `solution.py` in the project root that reads from stdin and writes to stdout.\n\n---\n\n## Problem Overview\n\nRead `README.md` and `tools/README.md` for full problem details. A baseline `solution.py` already exists (it produces syntactically valid but low-quality output). Your job is to improve it.\n\n---\n\n## Evaluation\n\nYour solution is scored on **50 fixed test cases**. Final score = sum of individual case scores. **Higher is better.**\n\n---\n\n## Local Testing\n\nGenerate local random tests with `./tools/bin/gen <seed>`, using seeds in the range **0..10000** only.\n\n```bash\n# Generate a random test case (seed-based, deterministic)\n./tools/bin/gen 0 > input.txt\n\n# Run your solution\npython3 solution.py < input.txt > output.txt\n\n# Score output (Higher is better)\n./tools/bin/tester input.txt output.txt\n# Outputs to stderr: Score = <N>\n```\n\n---\n\n## Rules\n\n- Write your solution as `solution.py` in the project root directory\n- Do NOT modify files in `tools/`\n- Use `tools/bin/gen` and `tools/bin/tester` for local testing\n- For local scoring, use only `./tools/bin/tester`; do not use `tools/src/verifier.py` for scores\n- Your program should read from stdin and write to stdout\n- Run your solution to completion and verify with the tester before finishing\n"
},
"judge": {
"image_tag": "96df6463f5e6",
"eval_cmd": "cd /home/workspace/molecules && python3 /tmp/eval_molecules.py",
"eval_timeout": 600,
"parser": "score_sum",
"score_direction": "maximize",
"selection": "score_first",
"rescale": {
"kind": "piecewise_max",
"baseline": 69170000.0,
"rank30": 235032102.6667,
"rank1": 300187365.6667,
"super_anchor": 322991707.7167
}
}
}