Skip to content

Add smt_periastron_check setting#777

Merged
katiebreivik merged 9 commits into
COSMIC-PopSynth:developfrom
TomWagg:peri
May 1, 2026
Merged

Add smt_periastron_check setting#777
katiebreivik merged 9 commits into
COSMIC-PopSynth:developfrom
TomWagg:peri

Conversation

@TomWagg
Copy link
Copy Markdown
Collaborator

@TomWagg TomWagg commented Apr 29, 2026

Added smt_periastron_check setting, which allows the user to toggle whether to check for periastron collision during stable mass transfer. By default, we set this off, which changes the behaviour of previous versions since 3.6.0 (PR #694) which did check for contact at periastron during stable mass transfer. We set this to off as the radial expansion from SSE is likely overestimated, once we connect with COSMIC-METISSE this should likely be set to 1.

@TomWagg TomWagg requested a review from katiebreivik April 29, 2026 17:06
@TomWagg TomWagg self-assigned this Apr 29, 2026
@github-actions github-actions Bot added the needs-cmc-review PR touches cosmic core settings and needs CMC review label Apr 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🚨 CMC review requested

This pull request modifies one or more of:

  • src/cosmic/evolve.py
  • src/cosmic/data/cosmic-settings.json (only flagged when category: "bse" key-count changes)

Trigger: evolve file changed, probably needs CMC review

A CMC developer should review this PR to ensure corresponding changes are propagated upstream as needed.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

❌ Patch coverage is 57.89474% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.24%. Comparing base (8772c07) to head (63a1f1d).
⚠️ Report is 148 commits behind head on develop.

Files with missing lines Patch % Lines
src/cosmic/src/evolv2.f 0.00% 4 Missing and 2 partials ⚠️
src/cosmic/_version.py 0.00% 1 Missing ⚠️
src/cosmic/evolve.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (57.89%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #777      +/-   ##
===========================================
- Coverage    86.91%   77.24%   -9.66%     
===========================================
  Files           40       50      +10     
  Lines        25542    27760    +2218     
  Branches         0      954     +954     
===========================================
- Hits         22198    21443     -755     
- Misses        3344     6022    +2678     
- Partials         0      295     +295     

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Collaborator

@katiebreivik katiebreivik left a comment

Choose a reason for hiding this comment

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

👍

@katiebreivik katiebreivik merged commit c66a1b2 into COSMIC-PopSynth:develop May 1, 2026
4 of 6 checks passed
@TomWagg TomWagg deleted the peri branch May 4, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement needs-cmc-review PR touches cosmic core settings and needs CMC review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants