Model 2.0
Public defaultEmpirical decision: not assessed
Method and Mathematics
Trace each input through the equations to see which calculations contribute to the road’s overall index.
Mapped coordinates and road tags supply the inputs. Local geometry and stated assumptions produce section values, which are combined using their available lengths. Physical diagnostics and evidence checks answer separate questions.
Coordinates, metres and road tags
Start with the source coordinates and road tags. Record the original vertex count and available length. A dense interpolated line does not contain more original observations.
Curvature in m⁻¹; radius in m where meaningful
Inspect shape over a declared support span. Model 3.2 retains local curvature and distinguishes a supported straight section, one arc, compound geometry, a reverse curve and insufficient support.
Lateral acceleration in m/s²; stopping distance in m
Combine speed with curvature to estimate lateral acceleration demand. Friction and reaction time support separate idealised comparisons. Neither a speed comparison nor a stopping distance is driving advice.
Speed, friction, exposure and context
Keep selected weather and behaviour separate from mapped data. Missing traffic or speed tags can invoke road-class proxies. Record which inputs were assumed for the selected road.
Dimensionless, displayed in percentage form
For Model 3.2, compare the geometry-demand branch with the reference floor, then apply exposure and context. Floors and caps can make different inputs produce the same output.
Available sections and represented length
A road mean weights available section values by length. An equally weighted section mean answers a different question. Missing output must stay missing, with the available count and length stated.
Source, model, scenario and calculation identity
Retain the geometry, settings and version so a result can be repeated. Known-answer fixtures test calculations; mapped-road comparisons test support and agreement; observed outcomes need a separate study.
Compare the geometry experiments · Inspect the saved R238 case
Analytical illustration · a = v²/r
| Speed | 50 m | 100 m | 200 m |
|---|---|---|---|
| 30 km/h | 1.39 | 0.69 | 0.35 |
| 50 km/h | 3.86 | 1.93 | 0.96 |
| 70 km/h | 7.56 | 3.78 | 1.89 |
| 90 km/h | 12.5 | 6.25 | 3.13 |
Uniform circular motion. Speed is converted to m/s before squaring. Each cell prints the calculated value.
Analytical illustration · level road
Scale 0 to 90 m · reaction time 1.5 s · friction μ = 0.70 · g = 9.80665 m/s². Values rounded independently.
The percentage display is 100 times the stored fraction. The road mean weights available section values by length; missing sections stay unavailable.
A unitless comparison shown in percentage form, not a collision probability.
Model 3.2: Controlled preview. For each available section, Model 3.2 uses the 95th percentile of local curvature magnitude, with zero curvature for a supported near-straight section. It forms the friction-normalised demand v²κ/(μg), bounds that demand between 0 and 3, and multiplies it by 0.015. The larger of this branch and the 0.000165 reference floor is multiplied by the exposure and context factors, then bounded between 0 and 1. The road summary weights available section values by their represented lengths.
The index does not estimate collision probability, expected collisions, a legal or recommended speed, or an official safety rating. Values from different model versions or differently selected collections are not interchangeable.
A unitless comparison shown in percentage form, not a collision probability.
Model 2.0: Public default and rollback model. The historical model constructs separate baseline and curvature branches, applies its scenario, intersection and traffic factors, selects the larger branch and bounds the output between zero and one. Its length and vehicle-mass rules differ from Model 3.2.
The index does not estimate collision probability, expected collisions, a legal or recommended speed, or an official safety rating. Values from different model versions or differently selected collections are not interchangeable.
Model ledger
A mathematical expression can be implemented correctly while the model using it still lacks empirical validation.
The register below carries these statuses into every record: Model 2.0 is the registered public default, Model 3.2 is the controlled preview with insufficient evidence, and Model 3.3 candidates cannot alter the App result.
Current model status
Empirical decision: not assessed
Empirical decision: insufficient evidence
Empirical decision: insufficient evidence
Software verification and deployment status are reported separately from empirical evidence. No model output is an official safety rating or collision prediction.
Guided calculation
The R238 chain distinguishes sequential calculations, parallel branches, branch selection, multiplication, numerical bounds, whole-road aggregation and separate diagnostics.
Guided R238 calculation
The chain distinguishes steps that continue, run in parallel, select a branch, apply a bound or aggregate sections. Every shown R238 value comes from the production model snapshot.
Open this R238 example in the AppWorked scope: Local section 34 of 38, followed by the complete-road aggregate.
Starting inputs. This is the source state. Nothing has been combined into a comparative output yet.
Comes from
This chain starts with the external road, scenario and model inputs listed below.
In plain language
The calculation must begin from an attributable road, scenario and model version before any branch is evaluated.
R238 result
59 frozen centreline coordinates; local section 34 of 38.
Use the frozen OpenStreetMap centreline and tags rather than requesting a live provider.
Inspect station 3630 m to 3740 m while preserving all other sections for the road aggregate.
Keep observed tags, scenario choices, fallbacks and model constants distinguishable.
Produces
Section 34: 110 m
A provenance-labelled input bundle ready for the two Model 2 branches.
Continues to
Why this step exists
Without a fixed input state, changes in geometry, scenario or fallbacks could be mistaken for changes caused by the equation itself.
Interpretation boundary. Model 2.0 produces comparative output under declared assumptions. It is not an observed collision probability, official safety rating or legal-speed recommendation.
Public road geometry, tags, assumptions, fallbacks and units enter the calculation with their source retained.
Coordinates are cleaned, measured, projected and located along a road centreline.
The road is divided into bounded local evidence sections with explicit tail and cap rules.
Heading changes and station-aligned geometry describe how the mapped centreline bends.
Simplified physical relationships compare speed, curvature, friction, reaction and braking demand.
Selected conditions, vehicle properties, road tags and traffic proxies modify the relevant model branches.
The public-default model combines baseline and curvature branches before traffic and road aggregation.
The controlled preview uses exact 100 m sections and local signed-curvature evidence.
Spatial tools reuse model outputs with separate sampling, clipping, coverage and cap rules.
Distribution summaries describe position, spread and tails within a sampled comparison set.
RSA records remain an external historical context used by evaluation procedures.
Percent conversion, fixed scales, clipping and colour interpolation affect display only.
Candidate geometry estimators are compared without changing the App result.
Worked mathematics
Every displayed substitution and result is composed from the current production trace at build time. The page does not maintain a copied set of model outputs.
Use this advanced view to compare the canonical trace records, substitutions and results after following the guided dependency chain above.
Frozen real-road walkthrough
OpenStreetMap way 302735492, version 21
Geometry and Inputs
Converts the scenario speed from kilometres per hour to metres per second.
Real OpenStreetMap centreline geometry, frozen for repeatable software demonstration. It is not a surveyed lane alignment, collision record, safety rating or empirical validation case. The two model versions may construct different local sections and their outputs are not observed collision probabilities.
Controlled examples
These are explanatory fixtures, not named-road results or empirical validation cases. Open an example to see its given values, calculated result and purpose.
Given: (53.000°, −7.000°) to (53.000°, −6.999°)
Calculated result: Production Haversine helper: 66.92 m.
What this demonstrates: Shows why latitude affects the east-west distance represented by one degree.
Given: 179° followed by −179°
Calculated result: Production heading-wrap helper: +2°, not −358°.
What this demonstrates: Preserves turn direction across the ±180° boundary.
Given: A controlled circular arc with radius 200 m
Calculated result: Known curvature 1/R = 0.005 m⁻¹.
What this demonstrates: Separates geometry-method recovery from real-road uncertainty.
Given: A 430 m road divided into 100 m sections
Calculated result: 5 sections: 100 m, 100 m, 100 m, 100 m, 30 m; total 430 m.
What this demonstrates: Shows why the final section is shorter without being discarded.
Given: Outputs 0.2 and 0.8 over lengths 100 m and 25 m
Calculated result: (0.2×100 + 0.8×25) / 125 = 0.32.
What this demonstrates: Prevents a short section from carrying the same road-wide weight as a long section.
Given: Values 1, 2, 2, 4 with selected value 2
Calculated result: Production percentile helper: (1 + 0.5×2) / 4 = 0.50.
What this demonstrates: Handles tied model outputs without arbitrary ordering.
Given: Values 1, 2, 2, 4; two requested histogram bins
Calculated result: Production helpers return bin counts 3 and 1 and KDE bandwidth 0.379.
What this demonstrates: Shows that graph shape depends on a declared display method, not new road evidence.
Given: Unavailable curvature and an output above the 2% display maximum
Calculated result: Curvature remains unavailable; only the colour position is clipped while the exact output remains visible.
What this demonstrates: Shows that missingness and visual clipping do not alter model values.
Complete register
The register reconciles the complete historical audit with current formula definitions, Model 3.2 geometry, spatial tools, presentation rules and diagnostic methods.
85
Typeset equations
6
Algorithms and rules
118
Constants and thresholds
3
Preserved historical steps
Open a record to inspect its equations and steps, or print the full method.
Showing 10 of 91 matching steps · 91 total
Constants, thresholds and defaults
Unsourced project choices are identified directly. A value appearing in a formula does not make it an external standard.
Showing 10 of 118 matching constants · 118 total
Purpose
Haversine/projection
Source or rationale
Standard mean Earth radius
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Purpose
Physics equations
Source or rationale
Established approximation
Basis
engineering simplification
Applicable model
2.0.0 or shared supporting method
Purpose
Curvature annual branch
Source or rationale
No source found
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Purpose
Baseline raw
Source or rationale
No source found
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Purpose
Point filtering
Source or rationale
Road Risk stability choice
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Purpose
Divide guard
Source or rationale
Numerical guard
Basis
numerical guard
Applicable model
2.0.0 or shared supporting method
Purpose
Score normalisation
Source or rationale
No source found
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Purpose
Score normalisation
Source or rationale
No source found
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Purpose
Score normalisation
Source or rationale
No source found
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Purpose
Score normalisation
Source or rationale
No source found
Basis
road risk heuristic
Applicable model
2.0.0 or shared supporting method
Preserved methods
Model 1, Model 3.0 and Model 3.1 artifacts remain provenance records. Their formulae and limitations are discoverable through the Historical lifecycle filter in the register.
Historical methods explain older imports without being promoted or silently recalculated. Known limitations, including the preserved Model 2 radius construction and superseded RGB presentation rule, remain attached to their records. Current citations or statuses are not inherited merely because a title is similar.
Reading rule
Speed, radius, friction and stopping relationships are simplified comparisons, not surveyed design checks or driving advice. The Annual Comparative Index is model-specific, not an expected collision count. RSA history can support future evaluation, but current context displays do not prove a named-road result.