Repository navigation
Add Code Behind the Layout benchmark: generator-edit agents on SKY130 - #129
Closed
DonaldLucy wants to merge 1 commit into
Closed
DonaldLucy wants to merge 1 commit into
DonaldLucy wants to merge 1 commit into
Conversation
Code and frozen configurations for E1 (action level), E2 (evaluation fidelity), E3 (family test rules), E4 (point/family SFT and DPO) and E5 (cost). Frozen task packets and the E4 training set are fetched with scripts/fetch_data.sh.
Contributor
Author
|
Closing: this work will live as a separate project branch rather than a merge into main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
benchmarks/code_behind_layout/, the code and frozen configurations for The Code Behind the Layout: AI Agents for Analog Layout Generators. The study tests whether one shared edit to a gLayout generator's source improves post-extraction performance across a declared family of parameter configurations, without breaking any configuration that passed before. Every candidate goes through SKY130 GDS → DRC → LVS → RC extraction → SPICE at tt/ss/ff.The policies are Claude Opus 5.5 and GPT-6.1.
Data
The frozen task packets and the E4 training set (43 MB compressed) are published as a release asset rather than committed:
cd benchmarks/code_behind_layout bash scripts/fetch_data.shDependencies
5af536bwithreproducibility/glayout_fixes.patchapplied. The patch covers FVF/OTA routing and reference fixes, a SKY130 grule fix, netlist subcircuit naming and PEX top-cell loading.glayout.sharingandbenchmarks/textbook_sharingfrom Explicit diffusion and gate sharing in gLayout, with a three-PDK textbook benchmark #127.Testing
python3 -m unittest discover -s tests -p 'test_*.py': 625 tests pass (5 skipped).scripts/train_policy.py --validate-onlyadmits T1–T4.benchmarks/code_behind_layout/changes, and the existing CI collects only the top-leveltests/.