Add symmetrization conventions report - #36
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds pre-rendered static examples and a comprehensive Quarto-based report on discrete symmetries in cascade decays to the documentation. It introduces a new amplitude model example for force = true when copying assets in the build script to prevent transient failures, adding [compat] bounds for all dependencies in the examples environment to ensure reproducibility, and using explicit multiplication instead of implicit multiplication in the example code.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| isdir(source_assets) || error( | ||
| "missing rendered example assets $(source_assets); see examples/README.md for regeneration instructions", | ||
| ) | ||
| cp(source_assets, joinpath(dirname(destination), spec.asset_dir)) |
There was a problem hiding this comment.
| [compat] | ||
| julia = "1.11" |
There was a problem hiding this comment.
| c_lambda1520=5.0 + 0.0im, | ||
| ) | ||
|
|
||
| @assert settings.sqrt_s > 2particles.proton + 2particles.kaon |
| c_lambda1520=5.0 + 0.0im, | ||
| ) | ||
|
|
||
| @assert settings.sqrt_s > 2particles.proton + 2particles.kaon |
There was a problem hiding this comment.
Using implicit multiplication like 2particles.proton can be confusing or look like a typo. It is clearer and more idiomatic to write explicit multiplication 2 * particles.proton.
| @assert settings.sqrt_s > 2particles.proton + 2particles.kaon | |
| @assert settings.sqrt_s > 2 * particles.proton + 2 * particles.kaon |
7ad973c to
4897dda
Compare
Summary
Motivation
Amplitude models with identical particles need explicit, auditable conventions
for label permutations, exchange phases, charge conjugation, and coherent sums.
This report collects those conventions and their case-by-case checks in one
renderable reference.
Validation
quarto render symmetry_reportsymmetry_report/_report/index.htmlpp -> pp K+ K-tutorial changes