Early in build_phase, the test sets a hierarchy-wide default for everything under the agent. Further down, it sets this run’s override, scoped through the agent handle it just created.
Right nowThe override is 7, but a.channel_id comes out 999, the default.
uvm_config_db::set() takes its precedence from the depth of the component passed as its first argument, not from which call is more specific or runs last. A call scoped through a deeper component gets lower precedence than one through a shallower component.
Fix the test’s override so a.channel_id ends up 7. Don’t touch chan_agent.
One working answer: brokenbench's own fix for this exercise. Try a few runs first.
What changes, against the code you started with:
docker run --pull always --rm -p 127.0.0.1:8787:8787 ghcr.io/adibis/brokenbench-runnerLooking for a runner on this computer…
The first start downloads about 250 MB; after that it starts in seconds and only downloads again when there's an update. Your code goes to the runner on your computer, not to chipdv.io.