Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-release 2024.08.18 #2802

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Conversation

tardis-bot
Copy link
Contributor

*beep* *bop*

Hi, human.

I prepared everything for a new TARDIS release.


⚠️ 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 [email protected]: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.

@epassaro epassaro enabled auto-merge (squash) August 18, 2024 00:28
@tardis-bot
Copy link
Contributor Author

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

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):

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

Copy link

codecov bot commented Aug 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tardis-bot
Copy link
Contributor Author

*beep* *bop*

Hi, human.

The docs workflow has succeeded ✔️

Click here to see your results.

@epassaro epassaro merged commit 4e532ee into tardis-sn:master Aug 18, 2024
16 of 17 checks passed
@tardis-bot
Copy link
Contributor Author

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

Significantly changed benchmarks:

All benchmarks:

Benchmarks that have stayed the same:

| Change   | Before [1f5ca78f] <master>   | 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants