Skip to content

Conversation

@atharva-2001
Copy link
Member

@atharva-2001 atharva-2001 commented Sep 12, 2025

📝 Description

Type: 🪲 bugfix | 🚀 feature | ☣️ breaking change | 🚦 testing | 📝 documentation | 🎢 infrastructure

Fixes the workflow to get the right zenodo.json- https://github.com/tardis-sn/tardis/actions/runs/17671137838?pr=3299 (this gets the new json)

📌 Resources

Examples, notebooks, and links to useful references.

🚦 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
Copy link
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

@tardis-bot
Copy link
Contributor

tardis-bot commented Sep 12, 2025

*beep* *bop*
Hi human,
I ran ruff on the latest commit (55816af).
Here are the outputs produced.
Results can also be downloaded as artifacts here.
Summarised output:

Details
215	    	[ ] syntax-error
7	W293	[ ] blank-line-with-whitespace
2	E701	[ ] multiple-statements-on-one-line-colon
1	F401	[*] unused-import
Found 225 errors.
[*] 1 fixable with the `--fix` option.

Complete output(might be large):

Details
tardis/plasma/equilibrium/tests/test_ion_populations.py:5:8: F401 [*] `pytest` imported but unused
Found 1 error.
[*] 1 fixable with the `--fix` option.

@atharva-2001 atharva-2001 marked this pull request as ready for review September 12, 2025 10:16
@github-project-automation github-project-automation bot moved this to Todo in DevOps Sep 12, 2025
@atharva-2001 atharva-2001 moved this from Todo to waiting for review in DevOps Sep 12, 2025
@codecov
Copy link

codecov bot commented Sep 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.01%. Comparing base (1979a41) to head (55816af).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3299      +/-   ##
==========================================
- Coverage   68.25%   68.01%   -0.24%     
==========================================
  Files         175      175              
  Lines       13338    13338              
==========================================
- Hits         9104     9072      -32     
- Misses       4234     4266      +32     

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

@tardis-bot
Copy link
Contributor

*beep* *bop*
Hi human,
I ran benchmarks as you asked comparing master (3c72256) and the latest commit (55816af).
Here are the logs produced by ASV.
Results can also be downloaded as artifacts here.

Significantly changed benchmarks:

Details

All benchmarks:

Details
Benchmarks that have stayed the same:

| Change   | Before [3c722562] <master>   | After [55816af3]    | Ratio   | Benchmark (Parameter)                                                                                                               |
|----------|------------------------------|---------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------|
|          | 3.97±0.01ms                  | 4.79±0.04ms         | ~1.21   | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('macroatom')                                   |
|          | 40.9±20μs                    | 48.5±20μs           | ~1.19   | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_emission                                         |
|          | 6.04±0.7μs                   | 7.18±1μs            | ~1.19   | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket                                           |
|          | 6.98±3μs                     | 8.32±3μs            | ~1.19   | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_volley                                    |
|          | 451±200ns                    | 531±100ns           | ~1.18   | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_compton_opacity_calculation                                      |
|          | 2.94±0.6μs                   | 3.28±0.2μs          | ~1.12   | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_bad_vpacket                                       |
|          | 612±200ns                    | 541±100ns           | ~0.88   | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_photoabsorption_opacity_calculation                              |
|          | 48.1±20μs                    | 42.0±30μs           | ~0.87   | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_scatter                                          |
|          | 1.55±0.3μs                   | 1.34±0.3μs          | ~0.86   | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_line                    |
|          | 541±100ns                    | 581±200ns           | 1.07    | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_pair_creation_opacity_calculation                                |
|          | 2.75±0ms                     | 2.93±0.01ms         | 1.06    | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('scatter')                                     |
|          | 21.5±5μs                     | 22.7±6μs            | 1.06    | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_last_interaction_tracker_list |
|          | 37.7±0.2μs                   | 39.9±0.06μs         | 1.06    | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_tracker_list                  |
|          | 1.11±0μs                     | 1.16±0μs            | 1.05    | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_boundary                |
|          | 36.7±0.2s                    | 38.0±0.04s          | 1.03    | run_tardis.BenchmarkRunTardis.time_run_tardis                                                                                       |
|          | 2.95±0.7μs                   | 3.05±0.5μs          | 1.03    | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_within_shell                              |
|          | 644±0.8ns                    | 652±2ns             | 1.01    | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_thomson_scatter                                       |
|          | 1.05±0m                      | 1.05±0m             | 1.00    | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_FormalIntegrator_functions                                 |
|          | 58.1±0.2ms                   | 57.4±0.1ms          | 0.99    | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_rpacket_trackers_to_dataframe                  |
|          | 1.87±1μs                     | 1.83±1μs            | 0.98    | transport_montecarlo_estimators_radfield_estimator_calcs.BenchmarkMontecarloMontecarloNumbaPacket.time_update_line_estimators       |
|          | 2.98±0.4ms                   | 2.93±0.4ms          | 0.98    | transport_montecarlo_single_packet_loop.BenchmarkTransportMontecarloSinglePacketLoop.time_single_packet_loop                        |
|          | 59.8±0s                      | 58.1±0.1s           | 0.97    | run_tardis.BenchmarkRunTardis.time_run_tardis_rpacket_tracking                                                                      |
|          | 2.53±0.01ms                  | 2.45±0.01ms         | 0.97    | transport_montecarlo_main_loop.BenchmarkTransportMontecarloMontecarloMainLoop.time_montecarlo_main_loop                             |
|          | 1.18±0μs                     | 1.13±0μs            | 0.96    | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_intensity_black_body                                       |

If you want to see the graph of the results, you can check it here

@andrewfullard
Copy link
Contributor

Hopefully we see this work tomorrow!

@andrewfullard andrewfullard merged commit c442910 into master Sep 12, 2025
26 of 27 checks passed
@github-project-automation github-project-automation bot moved this from waiting for review to Done in DevOps Sep 12, 2025
@atharva-2001 atharva-2001 deleted the zenodo_fixes branch September 15, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants