fix: keep comparison baseline stable without junction quality

This commit is contained in:
que01 committed 2026-09-10 12:21:47 +08:00
1 parent 7e4d77afbe
commit e2ec728af3
1 file changed
+1 -1
+1 -1
View File
@@ -160,7 +160,7 @@ function compareOsm2Streets(area, model, compiled) {
nativeMovementCount: compiled.movements.length,
nativePublishedMovementCount: compiled.movements.filter((movement) => movement.geometryPublished).length,
nativeConnectionCount: model.connections.length,
junctionQuality: compiled.junctionQuality || [],
...(compiled.junctionQuality?.length ? { junctionQuality: compiled.junctionQuality } : {}),
unconnectedInteriorRoadEnds: dangling.length,
unconnectedEndsWithManualCandidates: dangling.filter((item) => item.manualCandidates?.length).length,
diagnosticsBySeverity,