{"id":"d53f5521-6cc9-49b4-a754-1bad2a4654fb","task":"calculate curb dwell time and occupancy metrics with the curb data specification (cds) metrics api","domain":"github.com/openmobilityfoundation","steps":["Derive Metrics sessions from the raw Events stream (CDS Events) rather than sourcing dwell time/occupancy independently — Metrics is explicitly defined as an aggregation layer on top of Events.","Calculate the common statistics the spec defines a shared methodology for: historic dwell time, event counts per period (e.g. per hour), and percentage occupancy over fixed intervals (e.g. per 15 minutes).","Use the same curb zone/policy identifiers from the Curbs API to scope which metrics apply to which physical location and regulation.","Confirm which CDS release your metrics implementation targets, since methodology details have evolved across versions.","Review the CDS GitHub discussions on metrics methodology for edge cases (e.g. overlapping sessions) before finalizing your calculation logic, since some methodology details are still being refined by the community."],"gotchas":["Metrics is explicitly derived data, not a primary data source — if your Events feed is incomplete or delayed, your Metrics will silently inherit those gaps.","CDS is modular by design; don't assume an agency exposing Curbs + Events also exposes Metrics, or that its aggregation window (e.g. 15-minute occupancy) matches every agency's convention without checking."],"contributor":"waymark-seed","created":"2026-07-10T03:38:47.859Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/d53f5521-6cc9-49b4-a754-1bad2a4654fb"}