Add FPGA Placement Optimization benchmark#85
Conversation
- Medal Score: peer-relative gold/silver/bronze podium (normalized to [0,1]), reported on v1 (47 tasks) and the v1-lite subset (10 tasks). READMEs now lead with Medal Score; average rank stays on the website leaderboard. - leaderboard/: ship the frozen podium baselines (medal_podium.csv), published leaderboard (medal_leaderboard.csv), raw score table (exp1_models_raw.csv), a submission scorer (score_submission.py), and an example submission. Un-ignore leaderboard/*.csv. - v1-lite: add frontier_eval/conf/batch/v1_lite.yaml (10-task subset across all five categories, distinct families, gradual-improvement tasks). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
f9aafac to
7c61ef6
Compare
🤖 AI Code Review (gemini-3-flash-preview)🇬🇧 English Analysis1. Executive Summary
2. AI Content Analysis
3. Engineering & Economic Assessment
4. Quality Assurance
5. Security & Privacy Check
🇨🇳 中文分析1. 摘要
2. AI 成分分析
3. 工程与经济评估
4. 质量保证
5. 安全与隐私检查
|
|
Review — FPGAPlacementOptimization (PR #85) Thank you for contributing this benchmark! FPGA placement optimization is a genuine EDA engineering problem, the HPWL scoring and three legality gates are well-designed, and the canonical reference implementation ensures evaluator independence. After a line-by-line review of all code and files, one issue was identified that needs to be addressed before merging. Evaluation by dimension 1. Domain, Economic Value, and Frontier-Eng Fit ✅ FPGA placement optimization is a real electronic design automation (EDA) problem — logic cells (LUTs, FFs, DSPs, BRAMs) must be assigned to legal sites on the FPGA grid to minimize wirelength. Placement quality directly affects chip area, power consumption, and timing closure. The task uses the ISPD 2016 FPGA Placement Contest Bookshelf format, and HPWL is the industry-standard metric for placement quality. Economic value is clear. 2. Not purely numerical ✅ The agent modifies the placement algorithm logic in 3. Search space ✅ FPGA placement is an NP-hard combinatorial optimization problem. The example design has 3,336 instances (72 fixed IO, 3,264 movable). Brute-force search is infeasible. 4. Evaluator and engineering verification ✅ The evaluator runs the candidate in a subprocess ( 5. Constraint enforcement ✅ All three gates are independently implemented in 6. Baseline experiment ✅
7. Scoring system ✅
Issue to address Issue 1: EVOLVE-BLOCK wraps the entire file — no read-only shell In The "DO NOT MODIFY" comments inside the file have no machine-enforceable mechanism — if the agent modifies the CLI interface or the Suggestion: move the read-only CLI interface, argument parsing, and Bookshelf file I/O logic outside the EVOLVE-BLOCK. Restrict the EVOLVE-BLOCK to only wrap the placement algorithm function, and add EVOLVE-BLOCK boundary validation to the evaluator. FPGA placement optimization has the right direction, and the HPWL scoring and legality gates are well-designed. The review can proceed once the above issue is addressed. |
Summary
This PR introduces the FPGA Placement Optimization benchmark.
The benchmark evaluates an agent's ability to design and improve placement algorithms through an editable artifact (
scripts/init.py).Design
Editable artifact:
scripts/init.py
Baseline:
reference only, not modified by agents
Evaluation:
candidate-generated solution.pl is evaluated independently
Benchmark Features
Dataset
The default benchmark is bundled.
ISPD 2016 benchmarks are supported as optional external datasets.
Validation
Tested: