urt-rs / docs /research /QVM_VICTIM_STATS.md
nmarshall's picture
qvm: victim and team statistics
ae16be1
|
Raw History Blame Contribute Delete
1.2 kB

Victim team and hit statistic bookkeeping

RE-651. Reproduce with python3 scripts/analyze_qvm_victim_stats.py; check with python3 scripts/test_qvm_victim_stats.py. The machine report retains source identity and bounded fixtures.

The recovered mode predicate returns1 for signed mode≥3 except9/11. Complete279820 now executes category mapping and this predicate on valid location paths. It increments attempt/hit and location counters, accumulates supplied float values through source f32-add/integer truncation, updates corresponding victim counters and conditionally adds same-team counters/values. Invalid location remains the miss path. Independent full-stat-array oracles cover same/different teams, five modes, three location IDs, positive fractional and negative values, plus explicit attacker/victim aliasing. These are bookkeeping inputs, not evidence of geometry validation, actual health damage or legal self/negative-value gameplay.

No original executable/full QVM/native collision/physics/rendering executes. Native responses and legal input domains are supplied or unverified where stated; full runtime/macOS/Linux Rust/Bevy/Solari gameplay remains open.