upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/cpp_unwind_test.cpp
diff options
context:
space:
mode:
authorezbyDev <198480541+ezbyDev@users.noreply.github.com>2026-11-22 22:46:08 +0100
committerezbyDev <198480541+ezbyDev@users.noreply.github.com>2026-11-22 22:47:05 +0100
commit8327ebcc3a1ad87113e5a936c6cab047dd939828 (patch)
treef371e98ebd1b995ec4e92af364999c2aa6288d39 /runtime/test/cpp_unwind_test.cpp
parentf847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff)
docs/models: the fOverallRating weights and the 10 floor, measured (ASSET-299)
Measured over the 504 ratingsRoad/ratingsOffroad blocks of common.rpf's CVehicleBaseRatingsAndEstimatesMap (252 keys x 2 surfaces) from one retail 1.0.2.1 package: fOverallRating = 0.21 fSpeedRating + 0.38 fHandlingRating + 0.40 fAccelerationRating + 0.01 fBrakesRating, weights summing to 1. The residual is at most 7e-5 on the 345 blocks whose four parts are all above 10, and differencing the road and offroad blocks of the 139 keys that are above 10 on both surfaces recovers 0.2100 / 0.3800 / 0.4000 / 0.0100, so the weights do not depend on the surface. The 10 floor is on the overall too: 24 blocks whose parts run 10.0 to 11.97 carry an fOverallRating of exactly 10. The other 159 blocks, which have at least one part at exactly 10, sit up to 4.1 below the weighted mean, which parts raised to 10 from a lower value would explain; no block without a part at 10 deviates. Counts, ranges and coefficients only: no model names and no per-vehicle values, and no game file is committed.
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions