Update NPS within standard run_cfg file#499
Update NPS within standard run_cfg file#499Radiation-Transport wants to merge 1 commit intodevelopingfrom
Conversation
Update NPS to obtain suitable relative error.
WalkthroughConfiguration values updated in the default run settings to increase particle sample counts (nps) across seven benchmark simulation cases, improving computational resolution for neutron transport analysis benchmarks. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can enforce grammar and style rules using `languagetool`.Configure the |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/jade/resources/default_cfg/run_cfg.yml (1)
200-207:⚠️ Potential issue | 🟠 Major
IPPE-CFupdate is currently overridden by a later duplicate key.Line 207 sets
IPPE-CF.npsto1e9, but a secondIPPE-CFblock appears later (Line 321 onward) withnps: 1e8(Line 328). With duplicate YAML keys, the later block typically wins, so this PR likely does not apply the intended IPPE-CF increase at runtime.Suggested fix
IPPE-CF: codes: d1s: [] mcnp: [] openmc: [] serpent: [] custom_input: - nps: 1e8 + nps: 1e9 description: IPPE 252Cf experiment only_input: falseI’d also recommend removing/merging duplicate top-level benchmark keys in this file to avoid silent overrides.
Also applies to: 321-330
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/jade/resources/default_cfg/run_cfg.yml` around lines 200 - 207, The file contains duplicate top-level benchmark keys for "IPPE-CF" so the later block (with nps: 1e8) overrides the earlier nps: 1e9; fix by merging/removing the duplicate blocks so only one "IPPE-CF" mapping exists and ensure its nps is set to the intended value (1e9), keep the desired codes/custom_input entries from both blocks when merging, and remove the redundant second "IPPE-CF" block to avoid silent overrides.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@src/jade/resources/default_cfg/run_cfg.yml`:
- Around line 200-207: The file contains duplicate top-level benchmark keys for
"IPPE-CF" so the later block (with nps: 1e8) overrides the earlier nps: 1e9; fix
by merging/removing the duplicate blocks so only one "IPPE-CF" mapping exists
and ensure its nps is set to the intended value (1e9), keep the desired
codes/custom_input entries from both blocks when merging, and remove the
redundant second "IPPE-CF" block to avoid silent overrides.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 80360535-5f71-4238-b624-e0a95f0464b8
📒 Files selected for processing (1)
src/jade/resources/default_cfg/run_cfg.yml
dodu94
left a comment
There was a problem hiding this comment.
Thanks Marco, @alexvalentine94 for info
Update NPS to obtain suitable relative error as described in issue #498.
Summary by CodeRabbit