Skip to content

Complete mean data defaults on empty edges and lanes - #19989

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-12460-complete-empty-meandata-defaults
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-12460-complete-empty-meandata-defaults

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fill applicable traffic measures on empty edges and lanes when mean data uses excludeEmpty="defaults".
  • Use the effective free-flow speed and travel time for empty rows so readers such as sumolib.output.parse_fast can read density on every emitted edge.

Fixes #12460.

Evidence

  • Stock SUMO fails the two expected output comparisons in the new fixture. The patched fixture passes.
  • Passed 387 targeted TextTest cases across microscopic, mesoscopic, and meso LTM models.
  • Checked XML and CSV output, attribute filtering, adapted speed limits, tracked vehicles, and minimum sample behavior. The native build and strict MkDocs build passed.

Merge Danger

The defaults output contains additional attributes on unused edges and lanes. Consumers that depend on exact output fields may need to update their snapshots.

M-Colley and others added 3 commits December 5, 2026 03:13
Refs eclipse-sumo#12460

Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: OpenAI Codex <noreply@openai.com>
Use zero for sample totals and the free-flow travel time for
overlap travel time. Preserve tracked-vehicle fields and the
minimum-sample filter.

Refs eclipse-sumo#12460

Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: OpenAI Codex <noreply@openai.com>
Refs eclipse-sumo#12460

Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: OpenAI Codex <noreply@openai.com>
@behrisch
behrisch force-pushed the codex/sumo-12460-complete-empty-meandata-defaults branch from 04799de to e399ef8 Compare December 5, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

excludeEmpty="defaults" should write all attributes

1 participant