tardis-sn / tardis

TARDIS - Temperature And Radiative Diffusion In Supernovae
https://tardis-sn.github.io/tardis
204 stars 406 forks source link

Pre-release 2024.08.18 #2802

Closed tardis-bot closed 3 months ago

tardis-bot commented 3 months ago

*beep* *bop*

Hi, human.

I prepared everything for a new TARDIS release.


:warning: WARNING:

This pull request should be auto-merged. Do not merge manually if any check fails.

Instead, disable auto-merge and push your fixes to the pre-release-2024.08.18 branch on tardis-bot/tardis.

$ git remote add tardis-bot git@github.com:tardis-bot/tardis.git
$ git fetch tardis-bot
$ git checkout tardis-bot/pre-release-2024.08.18
$ git add <file_1> <file_2> ...
$ git commit -m "<your_commit_message>"
$ git push tardis-bot HEAD:pre-release-2024.08.18

Once all the checks pass, you can safely merge this pull request manually.

tardis-bot commented 3 months ago

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

```diff 1 B018 [ ] Found useless expression. Either assign it to a variable or remove it. 1 W292 [*] No newline at end of file ```

Complete output(might be large):

```diff .zenodo.json:1:1: B018 Found useless expression. Either assign it to a variable or remove it. .zenodo.json:357:2: W292 [*] No newline at end of file Found 2 errors. [*] 1 fixable with the `--fix` option. ```
codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.37%. Comparing base (1f5ca78) to head (78ca99f). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2802 +/- ## ========================================== - Coverage 69.60% 69.37% -0.24% ========================================== Files 206 206 Lines 15518 15518 ========================================== - Hits 10802 10765 -37 - Misses 4716 4753 +37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tardis-bot commented 3 months ago

*beep* *bop*

Hi, human.

The docs workflow has succeeded :heavy_check_mark:

Click here to see your results.

tardis-bot commented 3 months ago

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

Significantly changed benchmarks:

```diff ```

All benchmarks:

```diff Benchmarks that have stayed the same: | Change | Before [1f5ca78f] | After [78ca99fa] | Ratio | Benchmark (Parameter) | |----------|------------------------------|---------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------| | | 23.7±6μs | 33.0±10μs | ~1.39 | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_last_interaction_tracker_list | | | 46.9±20μs | 56.6±20μs | ~1.21 | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_emission | | | 6.27±1μs | 7.21±1μs | ~1.15 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket | | | 1.28±0.7μs | 1.46±0.4μs | ~1.14 | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_line | | | 3.55±0.5μs | 3.18±0.5μs | ~0.90 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_within_shell | | | 701±200ns | 581±200ns | ~0.83 | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_photoabsorption_opacity_calculation | | | 2.42±0.4ms | 2.65±0.4ms | 1.10 | transport_montecarlo_single_packet_loop.BenchmarkTransportMontecarloSinglePacketLoop.time_single_packet_loop | | | 7.12±1μs | 7.79±2μs | 1.09 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_volley | | | 206±0.3ns | 219±0.2ns | 1.07 | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_intensity_black_body | | | 1.93±1μs | 2.03±2μs | 1.05 | transport_montecarlo_estimators_radfield_estimator_calcs.BenchmarkMontecarloMontecarloNumbaPacket.time_update_line_estimators | | | 30.5±0.03μs | 31.8±0.06μs | 1.05 | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_tracker_list | | | 45.7±20μs | 46.1±30μs | 1.01 | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_scatter | | | 39.8±0.1s | 39.9±0.02s | 1.00 | run_tardis.BenchmarkRunTardis.time_run_tardis | | | 2.07±0m | 2.06±0m | 1.00 | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_FormalIntegrator_functions | | | 740±0.6ns | 742±0.2ns | 1.00 | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_thomson_scatter | | | 1.05±0m | 1.03±0m | 0.99 | run_tardis.BenchmarkRunTardis.time_run_tardis_rpacket_tracking | | | 1.22±0μs | 1.20±0μs | 0.99 | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_boundary | | | 1.72±0.01ms | 1.71±0.01ms | 0.99 | transport_montecarlo_main_loop.BenchmarkTransportMontecarloMontecarloMainLoop.time_montecarlo_main_loop | | | 64.2±0.1ms | 63.6±0.02ms | 0.99 | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_rpacket_trackers_to_dataframe | | | 541±200ns | 531±100ns | 0.98 | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_compton_opacity_calculation | | | 601±200ns | 591±200ns | 0.98 | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_pair_creation_opacity_calculation | | | 2.63±0ms | 2.49±0ms | 0.95 | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('scatter') | | | 3.71±0.02ms | 3.46±0.02ms | 0.93 | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('macroatom') | | | 3.43±0.5μs | 3.12±0.6μs | 0.91 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_bad_vpacket | ```

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