tardis-sn / tardis

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

Pre-release 2024.08.25 #2809

Closed tardis-bot closed 2 weeks ago

tardis-bot commented 2 weeks 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.25 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.25
$ git add <file_1> <file_2> ...
$ git commit -m "<your_commit_message>"
$ git push tardis-bot HEAD:pre-release-2024.08.25

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

tardis-bot commented 2 weeks ago

*beep* *bop* Hi human, I ran ruff on the latest commit (726c89a6447ca023bdae7c9612eb634390450ea5). 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 2 weeks ago

Codecov Report

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

Project coverage is 70.79%. Comparing base (13b87ce) to head (726c89a). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2809 +/- ## ========================================== - Coverage 70.96% 70.79% -0.18% ========================================== Files 209 209 Lines 15638 15638 ========================================== - Hits 11098 11071 -27 - Misses 4540 4567 +27 ```

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

tardis-bot commented 2 weeks ago

*beep* *bop*

Hi, human.

The docs workflow has succeeded :heavy_check_mark:

Click here to see your results.

tardis-bot commented 2 weeks ago

*beep* *bop* Hi human, I ran benchmarks as you asked comparing master (13b87ce77b316c4db9cb4decaeb295768993c877) and the latest commit (726c89a6447ca023bdae7c9612eb634390450ea5). 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 [13b87ce7] | After [726c89a6] | Ratio | Benchmark (Parameter) | |----------|------------------------------|---------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------| | | 591±100ns | 731±100ns | ~1.24 | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_photoabsorption_opacity_calculation | | | 2.01±1μs | 2.31±1μs | ~1.15 | transport_montecarlo_estimators_radfield_estimator_calcs.BenchmarkMontecarloMontecarloNumbaPacket.time_update_line_estimators | | | 40.7±20μs | 45.9±20μs | ~1.13 | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_emission | | | 43.8±30μs | 48.9±30μs | ~1.12 | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_scatter | | | 571±90ns | 510±200ns | ~0.89 | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_compton_opacity_calculation | | | 7.34±0.8μs | 6.47±0.9μs | ~0.88 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket | | | 2.83±0.5ms | 2.47±0.4ms | ~0.87 | transport_montecarlo_single_packet_loop.BenchmarkTransportMontecarloSinglePacketLoop.time_single_packet_loop | | | 4.02±0.04ms | 3.46±0.03ms | ~0.86 | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('macroatom') | | | 561±100ns | 591±200ns | 1.05 | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_pair_creation_opacity_calculation | | | 1.18±0μs | 1.24±0μs | 1.05 | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_boundary | | | 26.3±7μs | 27.6±8μs | 1.05 | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_last_interaction_tracker_list | | | 737±0.7ns | 759±0.3ns | 1.03 | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_thomson_scatter | | | 65.4±0.02ms | 67.4±0.2ms | 1.03 | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_rpacket_trackers_to_dataframe | | | 1.06±0m | 1.07±0m | 1.01 | run_tardis.BenchmarkRunTardis.time_run_tardis_rpacket_tracking | | | 1.78±0.03ms | 1.81±0.05ms | 1.01 | transport_montecarlo_main_loop.BenchmarkTransportMontecarloMontecarloMainLoop.time_montecarlo_main_loop | | | 3.12±0.6μs | 3.15±0.6μs | 1.01 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_bad_vpacket | | | 2.07±0m | 2.07±0m | 1.00 | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_FormalIntegrator_functions | | | 206±0.04ns | 206±0ns | 1.00 | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_intensity_black_body | | | 1.52±0.3μs | 1.52±0.4μs | 1.00 | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_line | | | 3.62±0.5μs | 3.61±0.4μs | 1.00 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_within_shell | | | 40.0±0.04s | 39.2±0s | 0.98 | run_tardis.BenchmarkRunTardis.time_run_tardis | | | 2.76±0.01ms | 2.68±0.01ms | 0.97 | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('scatter') | | | 32.8±0.01μs | 31.0±0.1μs | 0.94 | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_tracker_list | | | 7.96±2μs | 7.52±2μs | 0.94 | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_volley | ```

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