Repository navigation
Conversation
M-Colley
force-pushed
the
codex/sumo-7889-format-trip-statistics-times
branch
from
December 3, 2026 19:21
d32890d to
245af99
Compare
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
behrisch
force-pushed
the
codex/sumo-7889-format-trip-statistics-times
branch
from
December 5, 2026 03:14
245af99 to
727e3cb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
With
--human-readable-time, write trip timestamps and intervals of at least one hour in magnitude using clock notation. Write shorter intervals in seconds. Use the same rule for individual vehicle, person, and container records and for console and XML trip statistics.Accept the signed time-loss and waiting-time values that SUMO emits. The walking-stage waiting-time declaration also covers the format addressed by #19852.
Refs #7889.
Evidence
The expanded regression fails on upstream main for tripinfo XML, statistics XML, and console statistics. The patched build passed 83 focused TextTest cases and the simulation-output schema regression. Direct microscopic, mesoscopic, and mesoscopic LTM comparisons verified the one-hour boundary, nine trip record types, and byte-equivalent trip records with the flag disabled. Existing negative waiting-time fixtures also validate. The strict documentation build and six clock-formatted state filename controls passed.
Merge Danger
Consumers that enable the option may receive decimal seconds for short intervals and clock strings for longer statistics. The time value stays the same. Direct comparisons cover both formats.