TraceCase

data class TraceCase(val name: String, val fixes: List<Fix>, val truthMeters: Double? = null, val notes: String = "")

A recorded drive plus what it is known to have actually been.

truthMeters is the whole point and the hard part: an odometer photo pair, a surveyed route, or a second trusted device. It is nullable because a trace is still useful for crash/behaviour regression without it — but any accuracy claim made from a trace with no truth value is circular, so scoreAgainstTruth refuses rather than inventing one.

Constructors

Link copied to clipboard
constructor(name: String, fixes: List<Fix>, truthMeters: Double? = null, notes: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
val fixes: List<Fix>
Link copied to clipboard

Mean seconds between fixes — the single most important property of a trace, because nearly every threshold in a GPS algorithm is implicitly tuned to a sampling rate. A profile tuned on 1 s traces will behave differently at 30 s and the numbers will look inexplicable.

Link copied to clipboard
Link copied to clipboard

Free-form: "urban canyon", "highway", "tunnel", "parked 20min mid-trip", "walked to car first".

Link copied to clipboard

Functions

Link copied to clipboard