Skip to content

Adds a basic test for scatter only mode - #3838

Merged
connor-mcclellan merged 2 commits into
tardis-sn:masterfrom
andrewfullard:line-scatter-test
Nov 16, 2026
Merged

connor-mcclellan merged 2 commits into
tardis-sn:masterfrom
andrewfullard:line-scatter-test

Conversation

@andrewfullard

@andrewfullard andrewfullard commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

📝 Description

Type: 🚦 testing

Nice simple PR to fix #2994

Needs tardis-sn/tardis-regression-data#133

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

@tardis-bot

tardis-bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

*beep* *bop*

Hi, human.

I'm the @tardis-bot and I noticed that your email is not associated with an ORCID ID in our database.

Please add your email and ORCID ID to the .orcid.csv file in your current branch and push the changes to this pull request.

If you don't have an ORCID ID yet, you can create one for free at orcid.org. ORCID IDs help ensure you get proper credit for your scientific contributions.

The format should be:

email,orcid
your.email@example.com,0000-0000-0000-0000

Runs: ORCID check · comment publisher

@jvshields

jvshields commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Tons of tests fail. I assume it's because the atomic_dataset fixture in atom_data.py has a session scope, and it gets prepared in from_config or something like that.

Other than that, I feel like I would want a test that verifies some output of a scatter sim than just that any packet scattered. It's a different enough simulation regime that I would argue it warrants a regression test.

@andrewfullard

Copy link
Copy Markdown
Contributor Author

Yeah that's a fun result. I was considering a regression test and I'm happy to make this one.

@jvshields jvshields 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.

Looks pretty good to me now. Happy with it, pending tests finishing successfully.

@codecov

codecov Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.36%. Comparing base (aeb5993) to head (40f80c7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3838      +/-   ##
==========================================
+ Coverage   71.35%   71.36%   +0.01%     
==========================================
  Files         207      207              
  Lines       15983    15983              
==========================================
+ Hits        11404    11407       +3     
+ Misses       4579     4576       -3     

☔ 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.

@connor-mcclellan
connor-mcclellan merged commit 6098f63 into tardis-sn:master Nov 16, 2026
22 of 25 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in DevOps Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add test to catch line_interaction=scatter properly

4 participants