Skip to content

Fix DA for (n,p3He) and (n,d3He) entries in DADZ - #4210

Merged
paulromano merged 1 commit into
openmc-dev:developfrom
yrrepy:patch-1
Oct 31, 2026
Merged

paulromano merged 1 commit into
openmc-dev:developfrom
yrrepy:patch-1

Conversation

@yrrepy

@yrrepy yrrepy commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Wrong ΔA sum.

All chains including these reactions should be regenerated. FYI @shimwell

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the reaction identifiers for the (n,p3He) and (n,d3He) entries.

@yrrepy
yrrepy marked this pull request as ready for review October 31, 2026 05:06
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8b339060-da25-4de3-9db9-2f9a3ec0859c
Commits

Reviewing files that changed from the base of the PR and between b1bb3ec and 27543a9.

Files selected for processing: 1
  • openmc/data/data.py

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

Walkthrough

The (n,p3He) and (n,d3He) entries in DADZ now use revised values.

Changes: Reaction data

Layer / File(s) Summary
Correct DADZ reaction values
openmc/data/data.py
The (n,p3He) entry changes from (-4, -3) to (-3, -3). The (n,d3He) entry changes from (-5, -3) to (-4, -3).

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to 27543

The data correction is mergeable; external user-generated chains may need regeneration separately.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The author gave a one-line description: "Wrong ΔA sum." It says all chains with these reactions need regeneration and tags a maintainer. It does not summarize the change, state which entries change, o… Expand the Description section. Name the DADZ entries changed for (n,p3He) and (n,d3He), state the old and new ΔA values, and explain why they were wrong. Add the issue or PR reference in the "Fixes # (issue)" line. Complete the AI Assistan…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the two affected reactions and the correction to their DADZ values.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Full details: Description check

Explanation

The author gave a one-line description: "Wrong ΔA sum." It says all chains with these reactions need regeneration and tags a maintainer. It does not summarize the change, state which entries change, or link an issue. The template's Description, Fixes # (issue), and AI Assistance sections are missing, and no checklist items are marked.

Resolution

Expand the Description section. Name the DADZ entries changed for (n,p3He) and (n,d3He), state the old and new ΔA values, and explain why they were wrong. Add the issue or PR reference in the "Fixes # (issue)" line. Complete the AI Assistance section: write "None" if no AI tool was used, or list the harness, model, and reasoning effort. Review the checklist and mark each item that applies. State whether tests cover the change, or whether the chain regeneration was run.

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@yrrepy
yrrepy requested a review from paulromano as a code owner October 31, 2026 05:06
@yrrepy yrrepy changed the title Fix values for (n,p3He) and (n,d3He) entries in DADZ Fix DA for (n,p3He) and (n,d3He) entries in DADZ Oct 31, 2026

@paulromano paulromano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yrrepy!

@paulromano
paulromano merged commit 0f41902 into openmc-dev:develop Oct 31, 2026
17 checks passed
@shimwell

Copy link
Copy Markdown
Member

Thanks for this fix. I guess this means we have quite a few chain files to remake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants