Skip to content

PLR0914 part1 - #4579

Merged
je-cook merged 16 commits into
ukaea:mainfrom
je-cook:PLR0914
Oct 9, 2026
Merged

je-cook merged 16 commits into
ukaea:mainfrom
je-cook:PLR0914

Conversation

@je-cook

@je-cook je-cook commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Description

Tackling (some of) PLR0914

Checklist

I confirm that I have completed the following checks:

  • My changes follow the PROCESS style guide
  • I have justified any large differences in the regression tests caused by this pull request in the comments.
  • I have added new tests where appropriate for the changes I have made.
  • If I have had to change any existing unit or integration tests, I have justified this change in the pull request comments.
  • If I have made documentation changes, I have checked they render correctly.
  • I have added documentation for my change, if appropriate.

@codecov-commenter

codecov-commenter commented Sep 3, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.72727% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.96%. Comparing base (a199a00) to head (99fc5c3).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
process/models/stellarator/neoclassics.py 92.72% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4579      +/-   ##
==========================================
- Coverage   49.98%   49.96%   -0.02%     
==========================================
  Files         151      151              
  Lines       30450    30127     -323     
==========================================
- Hits        15220    15053     -167     
+ Misses      15230    15074     -156     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@je-cook
je-cook force-pushed the PLR0914 branch 2 times, most recently from ef53162 to 29d1765 Compare September 10, 2026 09:51
@je-cook
je-cook marked this pull request as ready for review September 30, 2026 14:07
@je-cook
je-cook requested a review from a team as a code owner September 30, 2026 14:07
@je-cook je-cook changed the title PLR0914 PLR0914 part1 Sep 30, 2026
@je-cook
je-cook force-pushed the PLR0914 branch 2 times, most recently from dbba067 to 5515433 Compare October 5, 2026 14:37

@clmould clmould left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Mostly happy, just a few minor things!

Comment thread process/models/stellarator/neoclassics.py Outdated
Comment thread process/models/stellarator/neoclassics.py Outdated
Comment thread process/models/stellarator/neoclassics.py Outdated
Comment thread process/models/stellarator/neoclassics.py Outdated
Comment thread process/models/stellarator/neoclassics.py
Comment thread process/core/io/plot/summary.py Outdated
Comment thread process/core/io/plot/summary.py Outdated
Comment thread process/core/io/plot/summary.py Outdated
Comment thread process/core/io/plot/summary.py Outdated
Comment thread process/core/io/plot/summary.py
@je-cook
je-cook force-pushed the PLR0914 branch 2 times, most recently from b10b525 to 80b56a0 Compare October 9, 2026 08:02
Comment thread process/models/stellarator/neoclassics.py Outdated
Comment thread process/models/stellarator/neoclassics.py Outdated
Comment thread process/core/io/plot/summary.py
Comment thread process/core/io/plot/summary.py Outdated
Comment on lines +2253 to +2266
axis,
fig,
rmajor,
rminor,
triang,
radius_plasma_core_norm,
kappa,
i_single_null,
plasma_square,
big_q_plasma,
p_fw_alpha_mw,
f_p_alpha_plasma_deposited,
p_neutron_total_mw,
pflux_plasma_surface_neutron_avg_mw,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could these be typed and have brief descriptions in the docstring plz?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

will address in #4669

Comment thread process/core/io/plot/summary.py Outdated
je-cook and others added 2 commits October 9, 2026 13:49
Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
@je-cook
je-cook merged commit f1810e8 into ukaea:main Oct 9, 2026
9 of 11 checks passed
@je-cook
je-cook deleted the PLR0914 branch October 9, 2026 13:07
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