Repository Analysis

eclipse-sumo/sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.

5.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of eclipse-sumo/sumo, a Python project with 4,099 GitHub stars. SynthScan v2.0 examined 3,908,392 lines of code across 32120 source files, recording 18838 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 5.2 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

5.2
Adjusted Score
5.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.1K
Stars
Python
Language
3.9M
Lines of Code
32.1K
Files
18.8K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 32HIGH 236MEDIUM 275LOW 18295

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 18838 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block14313 hits · 14192 pts
SeverityFileLineSnippetContext
LOWunittest/src/unittest_main.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/threadpool/ThreadPoolTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/threadpool/ThreadPoolTest.cpp21#include <config.h>COMMENT
LOWunittest/src/utils/common/StringUtilsTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/common/RandHelperTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/common/RandHelperTest.cpp21COMMENT
LOWunittest/src/utils/common/CommandMock.h1/****************************************************************************/COMMENT
LOWunittest/src/utils/common/FileHelpersTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/common/RGBColorTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/common/RGBColorTest.cpp21/****************************************************************************/COMMENT
LOWunittest/src/utils/common/StringTokenizerTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/common/ValueTimeLineTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/geom/GeoConvHelperTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/geom/BoundaryTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/geom/PositionVectorTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/geom/GeomHelperTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/foxtools/MFXWorkerThreadTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/utils/iodevices/OutputDeviceMock.h1/****************************************************************************/COMMENT
LOWunittest/src/utils/iodevices/OutputDeviceMock.h21COMMENT
LOWunittest/src/microsim/MSEventControlTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/microsim/MSCFModelTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/microsim/MSCFModel_IDMTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/microsim/MSCFModel_IDMTest.cpp21COMMENT
LOWunittest/src/netbuild/NBHeightMapperTest.cpp1/****************************************************************************/COMMENT
LOWunittest/src/netbuild/NBTrafficLightLogicTest.cpp1/****************************************************************************/COMMENT
LOWtools/generateBidiDistricts.py1#!/usr/bin/env pythonCOMMENT
LOWtools/generateContinuousRerouters.py1#!/usr/bin/env pythonCOMMENT
LOWtools/generateRailSignalConstraints.py1#!/usr/bin/env pythonCOMMENT
LOWtools/createVehTypeDistribution.py1#!/usr/bin/env pythonCOMMENT
LOWtools/findAllRoutes.py1#!/usr/bin/env pythonCOMMENT
LOWtools/generateLandmarks.py1#!/usr/bin/env pythonCOMMENT
LOWtools/ptlines2flows.py1#!/usr/bin/env pythonCOMMENT
LOWtools/osmWebWizard.py1#!/usr/bin/env pythonCOMMENT
LOWtools/distributeChargingStations.py1#!/usr/bin/env pythonCOMMENT
LOWtools/routeSampler.py1#!/usr/bin/env pythonCOMMENT
LOWtools/routeSampler.py821 countRound += 1COMMENT
LOWtools/tlsCoordinator.py1#!/usr/bin/env pythonCOMMENT
LOWtools/osmGet.py1#!/usr/bin/env pythonCOMMENT
LOWtools/tileGet.py1#!/usr/bin/env pythonCOMMENT
LOWtools/generateParkingLots.py1#!/usr/bin/env pythonCOMMENT
LOWtools/averageTripStatistics.py1#!/usr/bin/env pythonCOMMENT
LOWtools/extractTest.py1#!/usr/bin/env pythonCOMMENT
LOWtools/createScreenshotSequence.py1#!/usr/bin/env pythonCOMMENT
LOWtools/randomTrips.py1#!/usr/bin/env pythonCOMMENT
LOWtools/generateParkingAreaRerouters.py1#!/usr/bin/env pythonCOMMENT
LOWtools/tlsCycleAdaptation.py1#!/usr/bin/env pythonCOMMENT
LOWtools/generateParkingAreas.py1#!/usr/bin/env pythonCOMMENT
LOWtools/countEdgeUsage.py1#!/usr/bin/env pythonCOMMENT
LOWtools/jtcrouter.py1#!/usr/bin/env pythonCOMMENT
LOWtools/plot_trajectories.py1#!/usr/bin/env pythonCOMMENT
LOWtools/generateRerouters.py1#!/usr/bin/env pythonCOMMENT
LOWtools/fcdReplay.py1#!/usr/bin/env pythonCOMMENT
LOWtools/traceExporter.py1#!/usr/bin/env pythonCOMMENT
LOWtools/runSeeds.py1#!/usr/bin/env pythonCOMMENT
LOWtools/stateReplay.py1#!/usr/bin/env pythonCOMMENT
LOWtools/osmBuild.py1#!/usr/bin/env pythonCOMMENT
LOWtools/edgesInDistricts.py1#!/usr/bin/env pythonCOMMENT
LOWtools/devel/issues.py1#!/usr/bin/env pythonCOMMENT
LOWtools/devel/orphaned_tests.py1#!/usr/bin/env pythonCOMMENT
LOWtools/devel/rebuild_cscope.sh1#!/bin/bashCOMMENT
14253 more matches not shown…
Unused Imports2603 hits · 2543 pts
SeverityFileLineSnippetContext
LOWtools/generateBidiDistricts.py26CODE
LOWtools/generateContinuousRerouters.py22CODE
LOWtools/generateContinuousRerouters.py23CODE
LOWtools/generateContinuousRerouters.py31CODE
LOWtools/generateContinuousRerouters.py32CODE
LOWtools/generateContinuousRerouters.py32CODE
LOWtools/generateRailSignalConstraints.py142CODE
LOWtools/generateRailSignalConstraints.py143CODE
LOWtools/findAllRoutes.py21CODE
LOWtools/findAllRoutes.py22CODE
LOWtools/generateLandmarks.py26CODE
LOWtools/generateLandmarks.py27CODE
LOWtools/ptlines2flows.py20CODE
LOWtools/osmWebWizard.py21CODE
LOWtools/osmWebWizard.py22CODE
LOWtools/distributeChargingStations.py19CODE
LOWtools/distributeChargingStations.py20CODE
LOWtools/routeSampler.py22CODE
LOWtools/routeSampler.py23CODE
LOWtools/routeSampler.py41CODE
LOWtools/routeSampler.py188CODE
LOWtools/tlsCoordinator.py19CODE
LOWtools/tlsCoordinator.py20CODE
LOWtools/osmGet.py20CODE
LOWtools/osmGet.py21CODE
LOWtools/tileGet.py19CODE
LOWtools/tileGet.py20CODE
LOWtools/tileGet.py21CODE
LOWtools/generateParkingLots.py22CODE
LOWtools/generateParkingLots.py23CODE
LOWtools/generateParkingLots.py33CODE
LOWtools/averageTripStatistics.py22CODE
LOWtools/averageTripStatistics.py23CODE
LOWtools/extractTest.py26CODE
LOWtools/extractTest.py27CODE
LOWtools/createScreenshotSequence.py18CODE
LOWtools/randomTrips.py21CODE
LOWtools/randomTrips.py22CODE
LOWtools/generateParkingAreaRerouters.py22CODE
LOWtools/generateParkingAreaRerouters.py23CODE
LOWtools/tlsCycleAdaptation.py83CODE
LOWtools/tlsCycleAdaptation.py84CODE
LOWtools/generateParkingAreas.py20CODE
LOWtools/generateParkingAreas.py21CODE
LOWtools/countEdgeUsage.py19CODE
LOWtools/jtcrouter.py22CODE
LOWtools/jtcrouter.py23CODE
LOWtools/plot_trajectories.py27CODE
LOWtools/plot_trajectories.py28CODE
LOWtools/generateRerouters.py22CODE
LOWtools/generateRerouters.py23CODE
LOWtools/fcdReplay.py22CODE
LOWtools/traceExporter.py23CODE
LOWtools/traceExporter.py24CODE
LOWtools/runSeeds.py21CODE
LOWtools/runSeeds.py22CODE
LOWtools/stateReplay.py26CODE
LOWtools/osmBuild.py20CODE
LOWtools/edgesInDistricts.py25CODE
LOWtools/edgesInDistricts.py26CODE
2543 more matches not shown…
Cross-File Repetition227 hits · 1135 pts
SeverityFileLineSnippetContext
HIGHtools/visualization/mpl_dump_onNet.py0converts the given value (0-255) into its hexadecimal representationSTRING
HIGHtools/visualization/mpl_tripinfos_twoAgainst.py0converts the given value (0-255) into its hexadecimal representationSTRING
HIGHtools/visualization/mpl_dump_twoAgainst.py0converts the given value (0-255) into its hexadecimal representationSTRING
HIGHtools/sumolib/visualization/helpers.py0converts the given value (0-255) into its hexadecimal representationSTRING
HIGHtools/visualization/mpl_dump_onNet.py0converts the given value (0-1) into a color definition as parseable by matplotlibSTRING
HIGHtools/sumolib/visualization/helpers.py0converts the given value (0-1) into a color definition as parseable by matplotlibSTRING
HIGHtools/visualization/mpl_tripinfos_twoAgainst.py0converts the given value (0-1) into a color definition as parseable by matplotlibSTRING
HIGHtools/visualization/mpl_dump_twoAgainst.py0converts the given value (0-1) into a color definition as parseable by matplotlibSTRING
HIGH…/contributed/hybridPY/coremodules/misc/matplottools.py0expicit boundary box of the format [x_min, y_min,x_max, y_max]. empty list means no explicit bounding borders are applieSTRING
HIGHtools/contributed/hybridPY/coremodules/landuse/maps.py0expicit boundary box of the format [x_min, y_min,x_max, y_max]. empty list means no explicit bounding borders are applieSTRING
HIGH…ls/contributed/hybridPY/coremodules/landuse/landuse.py0expicit boundary box of the format [x_min, y_min,x_max, y_max]. empty list means no explicit bounding borders are applieSTRING
HIGH…s/contributed/hybridPY/coremodules/misc/shapeformat.py0expicit boundary box of the format [x_min, y_min,x_max, y_max]. empty list means no explicit bounding borders are applieSTRING
HIGHtools/contributed/hybridPY/coremodules/network/ue.py0expicit boundary box of the format [x_min, y_min,x_max, y_max]. empty list means no explicit bounding borders are applieSTRING
HIGH…s/contributed/hybridPY/coremodules/misc/shapeformat.py0tests if the given points are in the network boundaries, in matsim coordinates. returns a binary vector with one elementSTRING
HIGH…ls/contributed/hybridPY/coremodules/network/network.py0tests if the given points are in the network boundaries, in matsim coordinates. returns a binary vector with one elementSTRING
HIGH…ols/contributed/hybridPY/plugins/matsim/matsim_base.py0tests if the given points are in the network boundaries, in matsim coordinates. returns a binary vector with one elementSTRING
HIGHtools/contributed/hybridPY/coremodules/landuse/maps.py0make all parameters consistent. example: used by import osm to calculate/update number of tiles from process dialogSTRING
HIGH…ls/contributed/hybridPY/coremodules/landuse/landuse.py0make all parameters consistent. example: used by import osm to calculate/update number of tiles from process dialogSTRING
HIGH…contributed/hybridPY/coremodules/network/netconvert.py0make all parameters consistent. example: used by import osm to calculate/update number of tiles from process dialogSTRING
HIGH…ls/contributed/hybridPY/coremodules/network/network.py0make all parameters consistent. example: used by import osm to calculate/update number of tiles from process dialogSTRING
HIGH…s/contributed/hybridPY/coremodules/demand/turnflows.py0make all parameters consistent. example: used by import osm to calculate/update number of tiles from process dialogSTRING
HIGH…ntributed/hybridPY/coremodules/demand/detectorflows.py0make all parameters consistent. example: used by import osm to calculate/update number of tiles from process dialogSTRING
HIGH…ols/contributed/hybridPY/agilepy/lib_base/processes.py0make all parameters consistent. example: used by import osm to calculate/update number of tiles from process dialogSTRING
HIGHtools/contributed/hybridPY/coremodules/landuse/maps.py0called when network offset has changed. children may need to adjust their coordinates.STRING
HIGH…ls/contributed/hybridPY/coremodules/landuse/landuse.py0called when network offset has changed. children may need to adjust their coordinates.STRING
HIGH…/contributed/hybridPY/coremodules/scenario/scenario.py0called when network offset has changed. children may need to adjust their coordinates.STRING
HIGHtools/contributed/hybridPY/coremodules/demand/demand.py0called when network offset has changed. children may need to adjust their coordinates.STRING
HIGHtools/contributed/hybridPY/coremodules/landuse/wxgui.py0deletes an element from network and then in on canvas through callback on_del_elementSTRING
HIGH…buted/hybridPY/coremodules/network/network_editor-1.py0deletes an element from network and then in on canvas through callback on_del_elementSTRING
HIGH…ributed/hybridPY/coremodules/network/network_editor.py0deletes an element from network and then in on canvas through callback on_del_elementSTRING
HIGHtools/contributed/hybridPY/coremodules/landuse/wxgui.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGH…buted/hybridPY/coremodules/network/network_editor-1.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGH…ributed/hybridPY/coremodules/network/network_editor.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGH…PY/coremodules/demand/publictransportservices_wxgui.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGH…ributed/hybridPY/coremodules/demand/turnflows_wxgui.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGH…idPY/coremodules/demand/origin_to_destination_wxgui.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGH…ted/hybridPY/coremodules/demand/detectorflows_wxgui.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGHtools/contributed/hybridPY/plugins/prt/wxgui.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGHtools/contributed/hybridPY/agilepy/lib_wx/toolbox.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGHtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGH…s/contributed/hybridPY/agilepy/lib_wx/test_glcanvas.py0this call by metacanvas signals that the tool has been activated and can now interact with metacanvas.STRING
HIGHtools/contributed/hybridPY/coremodules/landuse/wxgui.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGH…buted/hybridPY/coremodules/network/network_editor-1.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGH…ributed/hybridPY/coremodules/network/network_editor.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGH…ed/hybridPY/coremodules/simulation/result_oglviewer.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGHtools/contributed/hybridPY/coremodules/demand/wxgui.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGH…ted/hybridPY/coremodules/demand/detectorflows_wxgui.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGHtools/contributed/hybridPY/plugins/mapmatching/wxgui.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGHtools/contributed/hybridPY/plugins/matsim/wxgui.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGHtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py0returns true if this tool can be applied to this drawobj. optionally a particular drawobj can be specified with id_drawoSTRING
HIGHtools/contributed/hybridPY/coremodules/landuse/wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGHtools/contributed/hybridPY/coremodules/network/wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGH…s/contributed/hybridPY/coremodules/simulation/wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGH…ols/contributed/hybridPY/coremodules/scenario/wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGHtools/contributed/hybridPY/coremodules/demand/wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGHtools/contributed/hybridPY/plugins/mapmatching/wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGHtools/contributed/hybridPY/plugins/common/wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGH…PY/coremodules/demand/publictransportservices_wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGH…ributed/hybridPY/coremodules/demand/turnflows_wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
HIGH…idPY/coremodules/demand/origin_to_destination_wxgui.py0contains functions that communicate between sav plugin and the widgets of the main wx gui and the functions of the plugiSTRING
167 more matches not shown…
Deep Nesting896 hits · 745 pts
SeverityFileLineSnippetContext
LOWtools/generateBidiDistricts.py71CODE
LOWtools/generateContinuousRerouters.py103CODE
LOWtools/generateContinuousRerouters.py128CODE
LOWtools/generateRailSignalConstraints.py345CODE
LOWtools/generateRailSignalConstraints.py414CODE
LOWtools/generateRailSignalConstraints.py477CODE
LOWtools/generateRailSignalConstraints.py512CODE
LOWtools/generateRailSignalConstraints.py558CODE
LOWtools/generateRailSignalConstraints.py619CODE
LOWtools/generateRailSignalConstraints.py737CODE
LOWtools/generateRailSignalConstraints.py953CODE
LOWtools/generateRailSignalConstraints.py1175CODE
LOWtools/generateRailSignalConstraints.py1209CODE
LOWtools/generateRailSignalConstraints.py1323CODE
LOWtools/generateRailSignalConstraints.py1459CODE
LOWtools/generateRailSignalConstraints.py1590CODE
LOWtools/generateRailSignalConstraints.py1692CODE
LOWtools/generateRailSignalConstraints.py1733CODE
LOWtools/generateRailSignalConstraints.py1818CODE
LOWtools/createVehTypeDistribution.py71CODE
LOWtools/findAllRoutes.py41CODE
LOWtools/ptlines2flows.py163CODE
LOWtools/ptlines2flows.py318CODE
LOWtools/ptlines2flows.py392CODE
LOWtools/ptlines2flows.py442CODE
LOWtools/osmWebWizard.py695CODE
LOWtools/osmWebWizard.py183CODE
LOWtools/distributeChargingStations.py114CODE
LOWtools/distributeChargingStations.py294CODE
LOWtools/routeSampler.py47CODE
LOWtools/routeSampler.py562CODE
LOWtools/routeSampler.py613CODE
LOWtools/routeSampler.py656CODE
LOWtools/routeSampler.py890CODE
LOWtools/routeSampler.py1026CODE
LOWtools/routeSampler.py1183CODE
LOWtools/routeSampler.py1256CODE
LOWtools/routeSampler.py1416CODE
LOWtools/routeSampler.py238CODE
LOWtools/routeSampler.py461CODE
LOWtools/routeSampler.py505CODE
LOWtools/tlsCoordinator.py73CODE
LOWtools/tlsCoordinator.py125CODE
LOWtools/osmGet.py49CODE
LOWtools/osmGet.py252CODE
LOWtools/tileGet.py310CODE
LOWtools/generateParkingLots.py88CODE
LOWtools/averageTripStatistics.py45CODE
LOWtools/averageTripStatistics.py51CODE
LOWtools/extractTest.py95CODE
LOWtools/createScreenshotSequence.py185CODE
LOWtools/randomTrips.py48CODE
LOWtools/randomTrips.py626CODE
LOWtools/randomTrips.py738CODE
LOWtools/generateParkingAreaRerouters.py304CODE
LOWtools/generateParkingAreaRerouters.py238CODE
LOWtools/tlsCycleAdaptation.py153CODE
LOWtools/tlsCycleAdaptation.py218CODE
LOWtools/tlsCycleAdaptation.py240CODE
LOWtools/tlsCycleAdaptation.py278CODE
836 more matches not shown…
Hallucination Indicators32 hits · 465 pts
SeverityFileLineSnippetContext
CRITICAL…contributed/hybridPY/coremodules/simulation/results.py177 ids_od_modes == self._edges.parent.modes.names.get_id_from_index('passenger'))]CODE
CRITICAL…contributed/hybridPY/coremodules/simulation/results.py179 ids_od_modes == self._edges.parent.modes.names.get_id_from_index('taxi'))]CODE
CRITICAL…contributed/hybridPY/coremodules/simulation/results.py182 ids_od_modes == self._edges.parent.modes.names.get_id_from_index('bicycle'))]CODE
CRITICAL…contributed/hybridPY/coremodules/simulation/results.py184 ids_od_modes == self._edges.parent.modes.names.get_id_from_index('motorcycle'))]CODE
CRITICAL…ls/contributed/hybridPY/coremodules/simulation/sumo.py1529 self.ids_edge_all_sumo = self.parent.net.edges.ids_sumo.get_value()CODE
CRITICAL…d/hybridPY/coremodules/demand/origin_to_destination.py978 modechoices = odintervals.parent.parent.net.modes.names.get_indexmap()CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1133 # id_mapmatch = self._scenario.demand.matsim.mapmatch.ids_matsim.get_id_from_indCOMMENT
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1134 # sumo_value_check = self._scenario.demand.matsim.mapmatch.get_row(id_mapmatch)[COMMENT
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1166 # id_mapmatch = self._scenario.demand.matsim.mapmatch.ids_matsim.get_id_fromCOMMENT
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1167 # sumo_value_check_prev = self._scenario.demand.matsim.mapmatch.get_row(id_mCOMMENT
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1138 id_mapmatch = self._scenario.demand.matsim.mapmatch.ids_matsim.get_id_from_iCODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1140 sumo_value_check = self._scenario.demand.matsim.mapmatch.get_row(id_mapmatchCODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1158 id_mapmatch = self._scenario.demand.matsim.mapmatch.ids_matsim.get_id_frCODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1160 sumo_value_check_prev = self._scenario.demand.matsim.mapmatch.get_row(idCODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1441 external = self.scenario.demand.matsim.net.edges.get_row(id)['ids_matsim']CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1443 id_mapmatch = self.scenario.demand.matsim.mapmatch.ids_matsim.get_id_from_index(id)CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1444 sumo_value = self.scenario.demand.matsim.mapmatch.get_row(id_mapmatch)['ids_sumo']CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1450 ind = self.scenario.net.edges.ids_sumo.get_id_from_index(id)CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1774 external = self.scenario.demand.matsim.net.edges.get_row(id)['ids_matsim']CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1776 id_mapmatch = self.scenario.demand.matsim.mapmatch.ids_matsim.get_id_from_index(id)CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1777 sumo_value = self.scenario.demand.matsim.mapmatch.get_row(id_mapmatch)['ids_sumo']CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1106 id_mapmatch = self._scenario.demand.matsim.mapmatch.ids_matsim.get_id_from_index(CODE
CRITICAL…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1108 sumo_value = self._scenario.demand.matsim.mapmatch.get_row(id_mapmatch)['ids_sumo']CODE
CRITICALtools/contributed/hybridPY/plugins/matsim/matsim_mpl.py110 x_min = np.min(self._matsim.net.nodes.coords.get_value()[:, 0])*mapscaleCODE
CRITICALtools/contributed/hybridPY/plugins/matsim/matsim_mpl.py111 x_max = np.max(self._matsim.net.nodes.coords.get_value()[:, 0])*mapscaleCODE
CRITICALtools/contributed/hybridPY/plugins/matsim/matsim_mpl.py112 y_min = np.min(self._matsim.net.nodes.coords.get_value()[:, 1])*mapscaleCODE
CRITICALtools/contributed/hybridPY/plugins/matsim/matsim_mpl.py113 y_max = np.max(self._matsim.net.nodes.coords.get_value()[:, 1])*mapscaleCODE
CRITICAL…buted/hybridPY/plugins/matsim/matsim_network_update.py828 ids_fromnode_matsim[index] = self._matsim.net.nodes.ids_matsim.get_id_from_index(from_node)CODE
CRITICAL…buted/hybridPY/plugins/matsim/matsim_network_update.py836 ids_tonode_matsim[index] = self._matsim.net.nodes.ids_matsim.get_id_from_index(to_node)CODE
CRITICAL…isum-core/src/main/java/de/dlr/ts/lisum/sumo/Sumo.java158 vehiclesCount = (int) conn.do_job_get(de.tudresden.sumo.cmd.Vehicle.getIDCount());CODE
CRITICALtools/webWizard/jquery-3.5.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALdocs/web/theme/js/jquery-3.7.0.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Decorative Section Separators118 hits · 331 pts
SeverityFileLineSnippetContext
MEDIUM…ls/contributed/hybridPY/coremodules/landuse/landuse.py2756 # --------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/landuse/wxgui.py995 # ------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6422 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6429 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6434 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6439 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6445 # ===================================================================COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6448 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6487 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6503 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6505 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6556 # --------------------------------------------------------------------COMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py8903 # ===================================================================STRING
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py8906 # --------------------------------------------------------------------STRING
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py8928 # --------------------------------------------------------------------STRING
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py336 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py338 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py340 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py342 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py344 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py310 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py447 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/coremodules/demand/wxgui.py451 # ----------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py382# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py399# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py415# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py432# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py445# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py526# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py548# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py581# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py608# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py628# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/mapmatching/wxgui.py654# -------------------------------------------------------------------------------COMMENT
MEDIUM…ontributed/hybridPY/plugins/mapmatching/results_mpl.py3007# -------------------------------------------------------------------------------COMMENT
MEDIUM…ontributed/hybridPY/plugins/mapmatching/results_mpl.py3286# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/prt/prt.py5777 # --------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/hcprt/hcprt.py8979 # --------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/plugins/hcprt/hcprt-old3.py7914 # --------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_base/arrayman.py437# -------------------------------------------------------------------------------COMMENT
MEDIUM…ted/hybridPY/agilepy/lib_base/test_classman_classes.py668# -------------------------------------------------------------------------------COMMENT
MEDIUM…ted/hybridPY/agilepy/lib_base/test_classman_classes.py712# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py271# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py356# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py2306# --------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py2432# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py4953# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py4961# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py4987# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5019# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5048# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5069# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5235# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5242# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5254# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5280# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5312# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5341# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5362# -------------------------------------------------------------------------------COMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py5374# -------------------------------------------------------------------------------COMMENT
58 more matches not shown…
Excessive Try-Catch Wrapping164 hits · 255 pts
SeverityFileLineSnippetContext
LOWtools/osmWebWizard.py154 except Exception:CODE
LOWtools/osmWebWizard.py332 except Exception as e:CODE
LOWtools/osmWebWizard.py535 except Exception:STRING
LOWtools/osmWebWizard.py579 except Exception as e:STRING
LOWtools/osmWebWizard.py623 except Exception as e:STRING
MEDIUMtools/osmWebWizard.py532def finalize(self):CODE
MEDIUMtools/routeSampler.py336 print("Error: no input routes loaded", file=sys.stderr)CODE
MEDIUMtools/routeSampler.py1424 print("Error: no intervals loaded", file=sys.stderr)CODE
LOWtools/routeSampler.py192 except Exception:CODE
MEDIUMtools/osmGet.py344 print("Error with SSL certificate, try 'pip install -U certifi'.", file=sys.stderr)CODE
MEDIUMtools/tileGet.py375 print("Error: Tile server returned %s." % e, file=sys.stderr)CODE
MEDIUMtools/tileGet.py379 print("Error: Tile server returned %s." % e, file=sys.stderr)CODE
MEDIUMtools/extractTest.py351 print("Error: '%s' failed for '%s'!" % (" ".join(getattr(p, "args", [str(p.pid)])), d))STRING
MEDIUMtools/randomTrips.py331 print("Error: Option %s requires option --additional-files for loading infrastructure elements" %CODE
MEDIUMtools/randomTrips.py575 print("Error: no valid edges for generating source or destination. Try using option --allow-fringe",CODE
MEDIUMtools/randomTrips.py587 print("Error: no valid edges for generating intermediate points", file=sys.stderr)CODE
LOWtools/randomTrips.py882 except Exception as exc:CODE
LOWtools/randomTrips.py942 except Exception as exc:CODE
LOWtools/randomTrips.py957 except Exception as exc:CODE
LOWtools/randomTrips.py977 except Exception as exc:CODE
MEDIUMtools/randomTrips.py1092 print("Error: Trips couldn't be generated as requested. ", file=sys.stderr)CODE
MEDIUMtools/randomTrips.py858def generate_one(idx, departureTime, arrivalTime, period, origin, destination, iCODE
MEDIUMtools/tlsCycleAdaptation.py586 print("Error: Either both the net file and the route file or one of them are/is missing.", file=sys.stderr)CODE
MEDIUMtools/generateRerouters.py126 print("Error: Unknown closed edge '%s'" % closedID, file=sys.stderr)CODE
MEDIUMtools/generateRerouters.py131 print("Error: found no edges to close.", file=sys.stderr)CODE
MEDIUMtools/visualization/plotStops.py109 print("Error: could not find vehicle trip or flow with id '%s' in route-file '%s'" % (CODE
MEDIUMtools/visualization/plot_net_dump.py112 print("Error: a network to load must be given.")CODE
MEDIUMtools/visualization/plot_net_dump.py119 print("Error: a dump file must be given.")CODE
MEDIUMtools/visualization/plotXMLAttributes.py309 print("Error: No elements found in input files.", file=sys.stderr)CODE
MEDIUMtools/visualization/plot_csv_timeline.py72 print("Error: an input file must be given")CODE
LOW…s/contributed/hybridPY/coremodules/misc/shapeformat.py232 except Exception as exc:CODE
MEDIUM…ted/hybridPY/coremodules/network/publictransportnet.py408 print("Error: Problems with reading file %s" % filepath, file=sys.stderr)CODE
MEDIUM…/contributed/hybridPY/coremodules/demand/demandbase.py2177 print("Error: Problems with reading routes!", file=sys.stderr)CODE
MEDIUM…/contributed/hybridPY/coremodules/demand/demandbase.py2194 print("Error: Problems with reading trips!", file=sys.stderr)CODE
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py7736 print("Error: Problems with reading routes!", file=sys.stderr)CODE
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py7759 print("Error: Problems with reading routes!", file=sys.stderr)CODE
MEDIUM…s/contributed/hybridPY/coremodules/demand/turnflows.py1122 print("Error: Problems with reading routes!", file=sys.stderr)CODE
LOWtools/neteditTestFunctions/setup.py68 except Exception as e:CODE
LOWtools/neteditTestFunctions/buildinternaltestdata.py52 except Exception:CODE
MEDIUMtools/net/netduplicate.py118 print("Something went wrong, check '%s'!" % tmpDir, file=sys.stderr)CODE
LOWtools/trigger/csv2vss.py54 except Exception:CODE
LOWtools/route/vehicle2flow.py42 except Exception:CODE
LOWtools/route/addStops2Routes.py241 except Exception:CODE
MEDIUMtools/route/cutRoutes.py296 print("Error handling ride in '%s'" % moving.id, e)CODE
LOWtools/sumolib/options.py289 except Exception:CODE
LOWtools/sumolib/vehicletype.py265 except Exception as e:CODE
LOWtools/sumolib/net/__init__.py340 except Exception:CODE
LOWtools/output/edgeDataStatistics.py98 except Exception:CODE
LOWtools/output/edgeDataStatistics.py109 except Exception:CODE
LOWtools/output/analyze_pedestrian_jam.py76 except Exception:CODE
LOWtools/output/edgeDataDiff.py123 except Exception:CODE
LOWtools/output/attributeStats.py145 except Exception:CODE
LOWtools/output/analyze_teleports.py76 except Exception:CODE
LOWtools/output/attributeDiff.py136 except Exception:CODE
LOWtools/output/attributeDiff.py154 except Exception:CODE
MEDIUMtools/output/vehrouteCountValidation.py120 print("Error: no intervals loaded", file=sys.stderr)CODE
LOWtools/output/attributeCompare.py140 except Exception:CODE
LOWtools/shapes/poi_atTLS.py39except Exception as e:CODE
MEDIUMtools/shapes/CSV2polyconvertXML.py29 print("Error: Missing argument(s)")CODE
LOWtools/game/runner.py120 except Exception:CODE
104 more matches not shown…
Hyper-Verbose Identifiers242 hits · 242 pts
SeverityFileLineSnippetContext
LOWtools/randomTrips.py751 def generate_origin_destination(trip_generator, options):CODE
LOWtools/generateParkingAreaRerouters.py157 def _load_parking_areas_from_file(self, filename):CODE
LOWtools/generateParkingAreaRerouters.py304def generate_rerouters_process(parameters):CODE
LOWtools/generateParkingAreaRerouters.py312 def _cached_get_shortest_path(from_edge, to_edge, fromPos, toPos):CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py446def plot_connectionvalues_lines(ax, ids_result=None, config_ids_connection=None, values=[],CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py631def plot_connectionvalues_arrows(ax, ids_result=None, config_ids_edge=None, values=[],CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py846def get_resultshape_connections(net, id_connection, dispacement):CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py1742 def plot_point_results_on_map(self, net, axis, x_coords, y_coords, values=[],CODE
LOW…s/contributed/hybridPY/coremodules/misc/shapeformat.py1279def edgesresults_to_shapefile(edgeresults, filepath, dataname='edgeresultsshapedata',CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py169 def get_landusetype_facility_from_area(self, id_landuse_area):CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py435 def update_landusetype_facilities(self):CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py583def download_google_places_extra(key, places, day_of_week, openinghours_default,CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py1196 def get_zoneedges_by_mode_fast(self, id_zone, id_mode, speed_max=None,CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py2129 def get_departure_probabilities(self):CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py2212 def get_departure_probabilities_landuse(self):CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py2286 def identify_landuse_from_area(self, ids_fac=None):CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py2858 def get_parkinglane_from_edge(self, id_edge, id_mode, id_mode_fallback=MODES['private'], length_min=15.0, priority_mCODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py3379 def _download_google_elevation(self, coords):CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py3613 def extract_zones_from_jasonfile(self):CODE
LOWtools/contributed/hybridPY/coremodules/landuse/wxgui.py1032 def on_update_landusetype_facilities_with_pois(self, event=None):CODE
LOWtools/contributed/hybridPY/coremodules/landuse/wxgui.py1043 def on_import_zones_from_geojason(self, event=None):CODE
LOWtools/contributed/hybridPY/coremodules/landuse/wxgui.py1071 def on_import_zones_from_shape(self, event=None):CODE
LOWtools/contributed/hybridPY/coremodules/landuse/wxgui.py1099 def on_import_zonedata_from_csv(self, event=None):CODE
LOWtools/contributed/hybridPY/coremodules/landuse/wxgui.py1458 def on_facilities_to_shapefile(self, event=None):CODE
LOW…tributed/hybridPY/coremodules/network/networkxtools.py209 def make_laneattrs_main_accessrestrict(self):CODE
LOW…tributed/hybridPY/coremodules/network/networkxtools.py673 def make_sidewalkattrs_largeroads(self):CODE
LOW…tributed/hybridPY/coremodules/network/networkxtools.py750 def make_sidewalkattrs_smallroads(self):CODE
LOW…tributed/hybridPY/coremodules/network/networkxtools.py2876 def get_id_edge_osm_from_id_sumo(self, id_sumo):CODE
LOW…ls/contributed/hybridPY/coremodules/network/routing.py477 def init_options_processing_common(self, **kwargs):CODE
LOW…ls/contributed/hybridPY/coremodules/network/routing.py511 def init_options_processing_dua(self, **kwargs):CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py1807 def get_id_lane_from_sumoinfo_check(self, id_sumo_edge, ind_lane):CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py1814 def get_id_lane_from_sumoinfo(self, id_sumo_edge, ind_lane):CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py1818 def get_sumoinfo_from_id_lane(self, id_lane):CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py1483 def get_accesslevel_bikecontrary_special(self, id_lane):CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py1520 def get_sumoinfo_from_id_lane(self, id_lane):CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py2654 def get_ids_edge_from_inds_seg(self, inds_seg):CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py2657 def get_inds_seg_from_id_edge(self, id_edge):CODE
LOWtools/contributed/hybridPY/coremodules/network/wxgui.py508 def on_configure_actuated_tls(self, event=None):CODE
LOWtools/contributed/hybridPY/coremodules/network/wxgui.py535 def on_set_zipper_roundabouts(self, event=None):CODE
LOW…ntributed/hybridPY/coremodules/network/networktools.py1821 def follow_major_route_backward(self, id_edge_next, shape):CODE
LOW…ntributed/hybridPY/coremodules/network/networktools.py1916 def follow_major_route_foreward(self, id_edge_next, shape):CODE
LOW…contributed/hybridPY/coremodules/simulation/results.py388 def evaluate_connection_flows(self, ident, modes, routes):CODE
LOW…contributed/hybridPY/coremodules/simulation/results.py825 def import_electricenergy_sumoxml_broke(self, filepath, sumo):CODE
LOW…contributed/hybridPY/coremodules/simulation/results.py1075 def _init_attributes_marouter(self):CODE
LOW…contributed/hybridPY/coremodules/simulation/results.py1837 def import_trajectories_sumoxml(self, filepath, sumo):CODE
LOW…contributed/hybridPY/coremodules/simulation/results.py1955 def import_electricenergy_sumoxml(self, filepath, sumo):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py485 def on_edgeresults_to_shapefile(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py511 def on_import_edgeresultsevolution_marouter(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py542 def on_import_edgeresultsevolution(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py677 def on_plot_xy_evolutionresults(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py750 def on_plot_sum_of_edgeflows_evolution(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py771 def on_plot_electrical_energy_results(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py822 def on_add_detectorflows_to_edgeresults(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py831 def on_add_detectorflows_to_edgeresultsevolution(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py965 def open_sumodialog_interactive(self, title='SUMO-Traci Dialog'):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py1002 def close_sumodialog_interactive(self, dlg):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py1013 def on_estimate_entered_demand(self, event=None):CODE
LOW…s/contributed/hybridPY/coremodules/simulation/wxgui.py1043 def on_estimate_entered_turnflows(self, event=None):CODE
LOW…tributed/hybridPY/coremodules/simulation/antijammer.py574 def del_veh_from_edge_from_edge(self, id_veh_sumo, id_edge_sumo, data=None, is_del_veh=True):CODE
LOW…ributed/hybridPY/coremodules/simulation/results_mpl.py62 def add_edgeresultplotteroptions(self, edgeresultattrconfigs, **kwargs):CODE
182 more matches not shown…
Self-Referential Comments35 hits · 102 pts
SeverityFileLineSnippetContext
MEDIUMtools/contributed/hybridPY/coremodules/landuse/wxgui.py1246 # Create the dialog. In this case the current directory is forced as the startingCOMMENT
MEDIUM…idPY/coremodules/demand/origin_to_destination_wxgui.py757 # Create a sizer to manage the Canvas and message windowCOMMENT
MEDIUM…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1564 # Define the landuse type and landuse ID for primary activityCOMMENT
MEDIUM…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1640 # Define the landuse type and landuse ID for secondary activity, choose either 'commercial', 'leCOMMENT
MEDIUM…s/contributed/hybridPY/plugins/matsim/matsim_demand.py1361 # Create a new figure and axisCOMMENT
MEDIUM…ples/scripts/tripdata_analysis_without_hybridpy_py3.py1542 # Create a list of dictionaries containing the variable names and valuesCOMMENT
MEDIUM…ples/scripts/tripdata_analysis_without_hybridpy_py3.py1592 # Define the filename for the CSV fileCOMMENT
MEDIUM…ples/scripts/tripdata_analysis_without_hybridpy_py3.py1597 # Create a CSV writer nodeCOMMENT
MEDIUM…s/contributed/hybridPY/agilepy/lib_wx/processdialog.py310 # Create a sizer to manage the Canvas and message windowCOMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py4328 # Create the popup menuCOMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py4535 # Create a sizer to manage the Canvas and message windowCOMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py4602 # Create a sizer to manage the Canvas and message windowCOMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/objbrowser.py117 # Create a sizer to manage the Canvas and message windowCOMMENT
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py136# Create the VBOSTRING
MEDIUMtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py4271 # Create the popup menuSTRING
MEDIUM…s/contributed/hybridPY/agilepy/lib_wx/test_glcanvas.py1040 # Create the canvasCOMMENT
MEDIUM…s/contributed/hybridPY/agilepy/lib_wx/test_notebook.py90 # Create the first tab and add it to the notebookCOMMENT
MEDIUMtools/neteditTestFunctions/input/keyboard.py24# Define the mapping from English to German keyboard layoutCOMMENT
MEDIUMtools/net/odConnectionsCheck.py34# This class is used to build the nodes in the investigated network andCOMMENT
MEDIUMtools/net/odConnectionsCheck.py54# This class is used to store link information and estimateCOMMENT
MEDIUMtools/sumolib/vehicletype.py20# This file is a port of createVehTypeDistribution.py to sumolibCOMMENT
MEDIUMtools/output/generateITetrisNetworkMetrics.py39# This class is for storing vehicle information, such as departure time,COMMENT
MEDIUMtools/output/statisticsElements.py30# This class is for storing vehicle information, such as departure time,COMMENT
MEDIUMtools/output/statisticsElements.py52# This class is used in the significance test.COMMENT
MEDIUMtools/output/statisticsElements.py99# This class is used for the Kruskal-Wallis test in the significance test.COMMENT
MEDIUMtools/drt/ortools_pdp.py481 # Create the routing index manager.COMMENT
MEDIUMtools/import/dxf/dxf2jupedsim.py79 # Create the XML element.COMMENT
MEDIUMtools/build_config/buildMacOSInstaller.py91 # Create the directory structure for the framework bundleCOMMENT
MEDIUMtools/build_config/buildMacOSInstaller.py116 # Create the Info.plist fileCOMMENT
MEDIUMtools/build_config/buildMacOSInstaller.py280 # Create a temporary directory to assemble everything for the installerSTRING
MEDIUMtools/build_config/buildMacOSInstaller.py588 # Create the output directory for the installer pkgSTRING
MEDIUMtools/purgatory/elements.py34# This class is used for finding the k shortest paths.COMMENT
MEDIUMtools/purgatory/elements.py44# This class is used to build the nodes in the investigated network andCOMMENT
MEDIUMtools/purgatory/elements.py106# This class is used to store link information and estimateCOMMENT
MEDIUMtools/purgatory/network.py360# This class is for parsing the additional/updated information aboutCOMMENT
AI Structural Patterns80 hits · 61 pts
SeverityFileLineSnippetContext
LOWtools/routeSampler.py579CODE
LOW…ols/contributed/hybridPY/coremodules/misc/shapefile.py967CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py176CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py347CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py446CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py537CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py631CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py718CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py770CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py1413CODE
LOW…/contributed/hybridPY/coremodules/misc/matplottools.py1482CODE
LOW…s/contributed/hybridPY/coremodules/misc/shapeformat.py365CODE
LOW…s/contributed/hybridPY/coremodules/misc/shapeformat.py835CODE
LOWtools/contributed/hybridPY/coremodules/landuse/maps.py485CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py1471CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py1689CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py1986CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py2904CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py4483CODE
LOW…ls/contributed/hybridPY/coremodules/network/routing.py790CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py2020CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py2328CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py2532CODE
LOW…ls/contributed/hybridPY/coremodules/network/network.py3157CODE
LOW…ibuted/hybridPY/coremodules/simulation/simplaconfig.py467CODE
LOW…ls/contributed/hybridPY/coremodules/simulation/sumo.py76CODE
LOW…ls/contributed/hybridPY/coremodules/simulation/sumo.py347CODE
LOW…/contributed/hybridPY/coremodules/demand/virtualpop.py5360CODE
LOW…/contributed/hybridPY/coremodules/demand/virtualpop.py5539CODE
LOW…/contributed/hybridPY/coremodules/demand/virtualpop.py5708CODE
LOW…/contributed/hybridPY/coremodules/demand/virtualpop.py5851CODE
LOW…/contributed/hybridPY/coremodules/demand/virtualpop.py7867CODE
LOW…ntributed/hybridPY/coremodules/demand/detectorflows.py499CODE
LOW…d/hybridPY/coremodules/demand/origin_to_destination.py347CODE
LOW…s/contributed/hybridPY/plugins/matsim/matsim_demand.py56CODE
LOW…contributed/hybridPY/plugins/matsim/matsim_mapmatch.py163CODE
LOWtools/contributed/hybridPY/agilepy/lib_misc/docgen.py171CODE
LOWtools/contributed/hybridPY/agilepy/lib_base/exports.py54CODE
LOWtools/contributed/hybridPY/agilepy/lib_base/classman.py224CODE
LOWtools/contributed/hybridPY/agilepy/lib_base/classman.py2522CODE
LOWtools/contributed/hybridPY/agilepy/lib_base/classman.py3080CODE
LOW…s/contributed/hybridPY/agilepy/lib_wx/processdialog.py87CODE
LOW…s/contributed/hybridPY/agilepy/lib_wx/processdialog.py150CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py2448CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3142CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3215CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3280CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3324CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3364CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3384CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3735CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3863CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3907CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py3935CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py4395CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/objbrowser.py28CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py1498CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/ogleditor.py2629CODE
LOWtools/contributed/hybridPY/agilepy/lib_wx/mainframe.py181CODE
LOWtools/neteditTestFunctions/files/reload.py29CODE
20 more matches not shown…
Redundant / Tautological Comments32 hits · 54 pts
SeverityFileLineSnippetContext
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py853 # Assign vehicles to respect mode share and by priority as fastest mode then the last is pedestrianCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1561 # Check if primary activity in the activity chainCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1638 # Check if secondary activity in the activity chainCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py756 if n_cars > 0 and len(ids_pers_car) > 0: # Assign cars to eligible people firstCODE
LOW…contributed/hybridPY/plugins/matsim/matsim_mapmatch.py324 # Check if the projection point lies between the start and end points of uCOMMENT
LOWtools/contributed/hybridPY/plugins/sav/taxi.py1330 # Check if the given start time and end time for the breakdown simulator are validCOMMENT
LOWtools/contributed/hybridPY/plugins/sav/taxi.py1421 # Check if the SAV that has been selected for the next random breakdown has been removedCOMMENT
LOWtools/contributed/hybridPY/plugins/sav/taxi.py1460 # Check if the SAV that has been selected for the next random breakdown has been removed from thCOMMENT
LOWtools/contributed/hybridPY/plugins/sav/taxi.py1566 # Check if the given start time and end time for the slowdown simulator are validCOMMENT
LOWtools/contributed/hybridPY/plugins/sav/taxi.py1596 # Check if the given start time and end time for the slowdown simulator is validCOMMENT
LOWtools/contributed/hybridPY/plugins/sav/taxi.py1774 # Check if the SAV that has been selected for the next random breakdown has been removed from the simulationCOMMENT
LOWtools/contributed/hybridPY/plugins/sav/taxi.py2191 # Check if the given start time and end time is validCOMMENT
LOWtools/contributed/hybridPY/plugins/hcprt/hcprt.py4889 # Check if all vehicles in the platoon are stopped at theCOMMENT
LOWtools/contributed/hybridPY/plugins/hcprt/hcprt-old3.py3909 # Check if all vehicles in the platoon are stopped at theCOMMENT
LOW…ples/scripts/tripdata_analysis_without_hybridpy_py3.py1595 # Open the file in write modeCOMMENT
LOWtools/neteditTestFunctions/files/reload.py41 # Check if net must be savedCOMMENT
LOWtools/neteditTestFunctions/files/reload.py47 # Check if additionals must be savedCOMMENT
LOWtools/neteditTestFunctions/files/reload.py53 # Check if demand elements must be savedCOMMENT
LOWtools/neteditTestFunctions/files/reload.py59 # Check if data elements must be savedCOMMENT
LOWtools/neteditTestFunctions/files/reload.py65 # Check if meanData elements must be savedCOMMENT
LOWtools/neteditTestFunctions/files/quit.py44 # Check if net must be savedCOMMENT
LOWtools/neteditTestFunctions/files/quit.py50 # Check if additionals must be savedCOMMENT
LOWtools/neteditTestFunctions/files/quit.py56 # Check if demand elements must be savedCOMMENT
LOWtools/neteditTestFunctions/files/quit.py62 # Check if data elements must be savedCOMMENT
LOWtools/neteditTestFunctions/files/quit.py68 # Check if meanData elements must be savedCOMMENT
LOWtools/simpla/_platoonmanager.py549 # Check if leader is on pltnLeader's routeCOMMENT
LOWtools/purgatory/assign.py332 # Check if the convergence reaches.COMMENT
LOWtests/updateTestsuiteFiles.py38 # Check if any of the target files exist in the current directoryCOMMENT
LOWtests/netedit/buildTextTest.py36 # Check if any of the target files exist in the current directoryCOMMENT
LOWtests/netedit/scripts/copyElements.py26 # Check if the source file existsCOMMENT
LOWtests/netedit/scripts/copyElements.py37 # Check if the reference file exists in the folderCOMMENT
LOWtests/netedit/scripts/copyConfigs/script.py43 # Check if the target folder exists in the current directory's subdirectoriesCOMMENT
Cross-Language Confusion8 hits · 50 pts
SeverityFileLineSnippetContext
HIGHtools/contributed/hybridPY/plugins/sav/taxi.py865 print(' BREAKDOWN START || BREAKDOWN END || SAV ID ')CODE
HIGHtools/sumolib/statistics.py290 return self.toString()CODE
HIGHtools/traci/_vehicle.py851 specified param name will be returned instead (or "" if undefined)STRING
HIGHtests/tools/sumolib/statistics/runner.py38print(s.toString())CODE
HIGHtests/tools/sumolib/statistics/runner.py40print(s.toString())CODE
HIGHtests/tools/sumolib/statistics/runner.py45print(s2.toString())CODE
HIGHtests/tools/sumolib/statistics/runner.py47print(s.toString())CODE
HIGHtests/tools/sumolib/statistics/runner.py49print(s.toString())CODE
Dead Code28 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py51CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py55CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py56CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py58CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py59CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py60CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py61CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py63CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py65CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py66CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py68CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py69CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py70CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py71CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py74CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py75CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py77CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py78CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py79CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py83CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py84CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py85CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py86CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py87CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py88CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py101CODE
MEDIUM…ntributed/hybridPY/coremodules/landuse/CREATE_ZONES.py102CODE
MEDIUM…s/contributed/hybridPY/coremodules/demand/turnflows.py1054CODE
Verbosity Indicators21 hits · 34 pts
SeverityFileLineSnippetContext
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1929 # Step 1: Get nearby edges from origin facilityCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1937 # Step 2: Find reachable edges using Dijkstra from those nearby edgesCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1965 # Step 3: Get reachable facilities (excluding home & origin)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1973 # Step 4: Get travel time to each reachable facilityCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2000 # Step 1: Classify reachable facilities by land-use typeCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2006 # Step 2: Try to use the desired land-use typeCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2011 # Step 3: Otherwise, try to use any other available land-use typeCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2019 # Step 4: Use fallback if nothing is reachableCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2028 # Step 5: Choose one facility from the selected candidatesCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1720 # Step 1: Calculate durations for each activity first (primary first, then secondary)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1734 # Step 2: Getting openning hour of primary activity to calculate min/max duration at home in the morCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1747 # Step 3: Assign begin times for sequential activities (primary -> secondary)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1785 # Step 4: Calculate time at home in the evening (after the last activity)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1801 # Step 5: Commit schedule to virtual populationCOMMENT
LOWsrc/utils/geom/Triangle.cpp98 // At this point, we need to check if any line of the shape intersects with the triangle.COMMENT
LOWsrc/netedit/GNEViewNet.cpp660 // we need to check if we're inspecting a overlapping elementCOMMENT
LOWsrc/netedit/GNEApplicationWindowHelper.cpp2553 // on this point, we need to check if create a new bucketCOMMENT
LOWsrc/netedit/frames/GNEAttributesEditorRow.cpp755 // first we need to check if all boolean values are equalCOMMENT
LOWsrc/netedit/frames/GNEAttributesEditorRow.cpp801 // first we need to check if all boolean values are equalCOMMENT
LOWsrc/netedit/frames/GNEElementTree.cpp204 // we need to check if we're removing the last person plan of a person.COMMENT
LOW…netedit/dialogs/fix/GNEFixAdditionalElementsDialog.cpp220 // we need to check if after first fix there is still invalid MultiLane Additionals with errorsCOMMENT
Structural Annotation Overuse14 hits · 24 pts
SeverityFileLineSnippetContext
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1929 # Step 1: Get nearby edges from origin facilityCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1937 # Step 2: Find reachable edges using Dijkstra from those nearby edgesCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1965 # Step 3: Get reachable facilities (excluding home & origin)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1973 # Step 4: Get travel time to each reachable facilityCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2000 # Step 1: Classify reachable facilities by land-use typeCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2006 # Step 2: Try to use the desired land-use typeCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2011 # Step 3: Otherwise, try to use any other available land-use typeCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2019 # Step 4: Use fallback if nothing is reachableCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py2028 # Step 5: Choose one facility from the selected candidatesCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1720 # Step 1: Calculate durations for each activity first (primary first, then secondary)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1734 # Step 2: Getting openning hour of primary activity to calculate min/max duration at home in the morCOMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1747 # Step 3: Assign begin times for sequential activities (primary -> secondary)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1785 # Step 4: Calculate time at home in the evening (after the last activity)COMMENT
LOW…ols/contributed/hybridPY/coremodules/demand/bitjoin.py1801 # Step 5: Commit schedule to virtual populationCOMMENT
AI Slop Vocabulary11 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUM…ls/contributed/hybridPY/coremodules/landuse/landuse.py4384 info="""Minimum edge length in order to qualify for parking.""",CODE
LOW…ls/contributed/hybridPY/coremodules/landuse/landuse.py1683 # here just use a random numberCOMMENT
LOW…ls/contributed/hybridPY/coremodules/network/network.py2041 # for pedestrians, just return accessible edgesCOMMENT
MEDIUM…contributed/hybridPY/coremodules/simulation/results.py1495 """Adapt intervals in order to fit given time range"""STRING
LOW…/contributed/hybridPY/coremodules/demand/virtualpop.py4095 # do not do anything , just add wait time to next stageCOMMENT
MEDIUM…/contributed/hybridPY/coremodules/demand/virtualpop.py6027 # from lanes, more precis, but less efficient and less robustSTRING
LOW…hybridPY/coremodules/demand/publictransportservices.py295 kwargs['time_end'] = kwargs['time_begin']+24*3600 # just add a day, does not matterCODE
MEDIUMtools/contributed/hybridPY/plugins/prt/prt.py1115 # but this may not be robust in the futureCOMMENT
MEDIUMtools/contributed/hybridPY/plugins/hcprt/hcprt.py1120 # but this may not be robust in the futureCOMMENT
MEDIUMtools/contributed/hybridPY/plugins/hcprt/hcprt-old3.py1117 # but this may not be robust in the futureCOMMENT
LOWtools/contributed/hybridPY/agilepy/lib_base/geometry.py286 # can just return the squared distance insteadCOMMENT
Slop Phrases4 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtools/contributed/hybridPY/plugins/sav/taxi.py367 # then you can use the last known location to figure outCOMMENT
MEDIUM…ples/scripts/tripdata_analysis_without_hybridpy_py3.py210 # + ' However, you can change the probability of which backup mode is used.COMMENT
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py640 # make sure to convert value in a native python scalarCOMMENT
LOWtools/contributed/hybridPY/agilepy/lib_wx/objpanel.py746 # make sure to convert value in a native python scalarCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtools/randomTrips.py734 # return wether trips could be generated as requestedCOMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ols/contributed/hybridPY/coremodules/misc/shapefile.py1037 # TODO: Implement validation methodCOMMENT
LOWsrc/microsim/lcmodels/MSLCM_LC2013.h33// TODO: implement this everywhere and remove workarounds for ballistic update in cases of possible '-1'-returns. Refs. COMMENT
LOWsrc/microsim/devices/MSDevice_SSM.cpp25// TODO: implement SSM time-gap (estimated conflict entry and exit times are already calculated for PET calculation)COMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/web/docs/Editing_Articles.md84Lorem *ipsum* dolor sit amet, *consetetur sadipscing elitr*, sed diam **nonumy** eirmod **tempor invidunt ut labore** etCODE
LOWdocs/web/docs/Editing_Articles.md88Lorem *ipsum* dolor sit amet, *consetetur sadipscing elitr*, sed diam **nonumy** eirmod **tempor invidunt ut labore** etCODE
LOWsrc/utils/gui/windows/GUIDialog_ChooserAbstract.cpp105 myCountLabel = new FXLabel(layoutRight, "placeholder", nullptr, LAYOUT_BOTTOM | LAYOUT_FILL_X | JUSTIFY_LEFT);CODE
LOWsrc/microsim/transportables/MSStageTrip.h38* A "placeholder" stage storing routing info which will result in real stages when routedCOMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/traci/__init__.py27__all__ = ['busstop', 'calibrator', 'chargingstation', 'edge', 'gui', 'inductionloop', 'junction', 'lane', 'lanearea', CODE
LOWtools/webWizard/SimpleWebSocketServer.py32__all__ = ['WebSocket',CODE