Qwen3.6 learns to fix chip design bugs, solving 74% of HWE-Bench tasks
Peking University researchers turned 18,257 public hardware code changes into runnable training tasks. An open Qwen model trained on them nearly doubled its score at repairing real chip bugs, but still trails the best commercial models.
scienceunderway.com/articles/qwen3-6-learns-to-fix-chip-design-bugs-solving-74-of-hwe-bench-tasks


What the study shows
The study tackles a known gap. AI coding agents, models that edit code and run tools on their own, have improved quickly on ordinary software. Chip design has lagged. Its code is rare in public datasets, and each project needs its own mix of simulators and build tools to check a fix.
The authors built a pipeline that mines merged pull requests, which are accepted code changes on GitHub. Software agents rebuild the project as it was before each fix. They then write two kinds of test. Target tests must fail before the fix and pass after it. Regression tests, which guard existing behaviour, must pass both times. A further agent writes a plain description of the bug, and a separate reviewer agent checks it for gaps and leaked hints.
The result is 18,257 runnable tasks from 90 repositories. They span chip design code, verification, chip design software (EDA tools), hardware description languages and firmware. More than half came from changes that had no tests of their own, so other pipelines would have discarded them. The authors also report that correct solutions usually differ from the original fix, which suggests the tests accept more than one valid answer.
Using these tasks, the authors trained Qwen3.6-35B-A3B, an open model. First came supervised fine-tuning, where the model copies successful worked examples from a stronger model, DeepSeek-V4.1 Flash. Then came reinforcement learning, where the model learns from pass or fail rewards. They used GRPO, a common method of this kind.
They tested on HWE-Bench v1.1: 417 real hardware bug-repair tasks from six projects kept out of training. The authors report the resolve rate rose from 40.8% for the base model to 66.8% after fine-tuning and 74.2% after reinforcement learning, averaged over three runs. Frontier systems on the public leaderboard score between about 90% and 99%. The paper is a preprint and has not been peer reviewed.

Our reading
In our reading, the main contribution is the training material, not the model. Turning old pull requests into checked exercises is a known idea in software. Making it work for hardware, where a ten-year-old project may need a different simulator and compiler, is the hard part. The authors handle this by building reusable toolchain setups per project era and reusing them across tasks.
The headline gain is real but needs context. The trained model still fails about one bug in four. The best commercial systems fail about one in a hundred. The comparison is also not like for like: the frontier scores come from the leaderboard, each run in its own tool, while the authors ran their models in OpenCode, an open agent harness.
A practical example: a team that cannot send proprietary chip code to an outside API could run this open model on its own servers. It could then try it on routine regressions in its own repositories. Whether it would help there is not tested in this paper.

The rest of this story is for members. Membership is free: read it at scienceunderway.com/articles/qwen3-6-learns-to-fix-chip-design-bugs-solving-74-of-hwe-bench-tasks
Read the rest of this story
Membership is free. You get every article in full, and can save stories and follow topics.
We send a sign-in link, no password needed. Already a member? Sign inReadiness assessment
| Level | Status | Evidence |
|---|---|---|
| I Lab only | Met | The paper describes a working pipeline and trained models, evaluated in experiments. |
| II Benchmarked | Met | It reports results on the public HWE-Bench v1.1 (417 tasks): 74.2% against a base of 40.8%, alongside leaderboard frontier scores of 90.4% to 99.0%. |
| III Open source | Met | The paper states that it releases code (Apache-2.0) at github.com/Henry-Jessie/origent. It also states that OriGent-SFT and OriGent-RL weights, sanitised tasks, trajectories and RL container images are at huggingface.co/henryen. We have not checked these links. |
| IV In production | Not yet | The paper documents no use by any named organisation in production. |
What would move it up
Documented use of the OriGent models or task pipeline by a named chip design or EDA organisation on live engineering work, with reported outcomes.
The study
Fan Cui, Kexing Zhou, Youwei Zhuo. OriGent: Post-Training Hardware Engineering Agents through Scalable Environment Synthesis. arXiv, 28 November 2026. arXiv:2611.38637
Notes
- Cui, Zhou and Zhuo, OriGent: Post-Training Hardware Engineering Agents through Scalable Environment Synthesis, arXiv preprint, November 2026 (not peer reviewed). Source
- Code, including repository templates and toolchain profiles, released under Apache-2.0 according to the paper. Source
- Model weights, sanitised tasks, trajectories and RL container images, according to the paper. Source
- Project page. Source
- Exact figures: HWE-Bench v1.1 resolve rate 40.8% (base), 66.8% (SFT), 74.2% (RL, 3-run mean); +26.0 and +33.4 points. Frontier leaderboard range 90.4% to 99.0%.
- HWE-Bench: Benchmarking LLM agents on real-world hardware bug repair tasks (Cui et al., 2026). Source
Edited and signed by
Stefan PerdalFounder. Twenty-five years of building digital products.220 stories editedStefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.
How this was made
An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.
No corrections to this article. Found an error? Report it.


