urt-rs / docs /research /RUST_STAT_TOTALS.md
nmarshall's picture
gameplay: port statistic totals and ratios
23ce463
|
Raw History Blame Contribute Delete
829 Bytes

Rust counter totals divisor and normalized ratio primitives

RE-765. Reproduce with python3 scripts/analyze_rust_stat_totals.py; validate with cargo xtask test-group gameplay. See the machine report.

Added explicit legacy/slot counter arrays, wrapping sums, signed divisor guards and source-order float32 ratio publication. Euclid preserves the source result while avoiding downward scans. Four Rust unit tests cover exclusions,20th slot, overflow, signed/zero divisor guards and ratio publication. Runtime counter ownership, publication integration and native/platform parity remain open.

No original executable/full VM/native world collision or rendering runs. Supplied callback/native responses and fixture domains remain explicit; complete macOS/Linux Rust/Bevy/Solari gameplay remains open.