aws-deepracer / aws-deepracer-simulation-training-notebook
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 238 files with 20,956 lines of code.
    • 1 very long files (1,209 lines of code)
    • 1 long files (685 lines of code)
    • 26 medium size files (7,916 lines of codeclsfd_ftr_w_mp_ins)
    • 35 small files (5,077 lines of code)
    • 175 very small files (6,069 lines of code)
5% | 3% | 37% | 24% | 28%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py5% | 3% | 38% | 23% | 28%
yaml0% | 0% | 0% | 40% | 59%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
common/sagemaker_rl/orchestrator35% | 0% | 40% | 19% | 4%
src/markov/agent_ctrl0% | 46% | 20% | 20% | 11%
src/markov0% | 0% | 79% | 6% | 14%
src/markov/boto0% | 0% | 48% | 28% | 22%
src/markov/multi_agent_coach0% | 0% | 38% | 36% | 25%
common/sagemaker_rl0% | 0% | 45% | 28% | 26%
src/markov/track_geom0% | 0% | 58% | 0% | 41%
src/markov/metrics0% | 0% | 71% | 21% | 7%
src/markov/sensors0% | 0% | 45% | 44% | 10%
src/markov/architecture0% | 0% | 59% | 24% | 16%
src/markov/memories0% | 0% | 99% | 0% | <1%
src/markov/virtual_event0% | 0% | 22% | 38% | 38%
src/markov/log_handler0% | 0% | 0% | 97% | 2%
common0% | 0% | 0% | 72% | 27%
src/markov/cameras0% | 0% | 0% | 31% | 68%
src/markov/gazebo_utils0% | 0% | 0% | 99% | <1%
src/markov/environments0% | 0% | 0% | 87% | 12%
src/lib/scripts0% | 0% | 0% | 100% | 0%
src/markov/presets0% | 0% | 0% | 23% | 76%
src/markov/gazebo_tracker0% | 0% | 0% | 0% | 100%
src/markov/reset0% | 0% | 0% | 0% | 100%
src/markov/spawn0% | 0% | 0% | 0% | 100%
src/artifacts/yaml0% | 0% | 0% | 0% | 100%
src/markov/domain_randomizations0% | 0% | 0% | 0% | 100%
src/markov/agents0% | 0% | 0% | 0% | 100%
src/lib/model_validator0% | 0% | 0% | 0% | 100%
src/markov/visual_effects0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/artifacts/rewards0% | 0% | 0% | 0% | 100%
src/lib0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/markov/state_machine0% | 0% | 0% | 0% | 100%
src/markov/filters0% | 0% | 0% | 0% | 100%
src/markov/exploration_policies0% | 0% | 0% | 0% | 100%
src/markov/visualizations0% | 0% | 0% | 0% | 100%
src/markov/auth0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
experiment_manager.py
in common/sagemaker_rl/orchestrator/workflow/manager
1209 41
rollout_agent_ctrl.py
in src/markov/agent_ctrl
685 30
multi_agent_graph_manager.py
in src/markov/multi_agent_coach
499 43
rollout_worker.py
in src/markov
429 4
track_data.py
in src/markov/track_geom
423 39
s3_metrics.py
in src/markov/metrics
392 21
sensors_rollout.py
in src/markov/sensors
376 44
join_manager.py
in common/sagemaker_rl/orchestrator/workflow/manager
373 20
resource_manager.py
in common/sagemaker_rl/orchestrator
370 25
model_manager.py
in common/sagemaker_rl/orchestrator/workflow/manager
346 13
evaluation_worker.py
in src/markov
342 2
tensorflow_model.py
in src/markov/boto/s3/files/checkpoint_files
334 9
training_worker.py
in src/markov
312 2
utils.py
in src/markov
309 32
bot_cars_agent_ctrl.py
in src/markov/agent_ctrl
307 17
custom_architectures.py
in src/markov/architecture
304 -
s3_boto_data_store.py
in src/markov
277 18
cloudwatch_logger.py
in common/sagemaker_rl/orchestrator/utils
274 8
deepracer_memory.py
in src/markov/memories
253 35
model_metadata.py
in src/markov/boto/s3/files
242 15
virtual_event_json_schema.py
in src/markov/virtual_event
241 -
ray_launcher.py
in common/sagemaker_rl
229 17
sagemaker_graph_manager.py
in src/markov
228 6
yaml_file.py
in src/markov/boto/s3/files
227 18
deepracer_memory.py
in src/markov
216 14
constants.py
in src/markov/boto/s3
208 2
rl_coach_checkpoint.py
in src/markov/boto/s3/files/checkpoint_files
203 11
coach_launcher.py
in common/sagemaker_rl
202 18
frustum.py
in src/markov/cameras
198 9
model_updater.py
in src/markov/gazebo_utils
184 17
sensors_training.py
in src/markov/sensors
180 30
utils.py
in src/markov/sensors
180 6
exception_handler.py
in src/markov/log_handler
176 7
utils.py
in src/markov/agent_ctrl
172 7
sac_agent.py
in src/markov/multi_agent_coach/agents
170 12
validation_worker.py
in src/markov
169 3
virtual_event_agent_data.py
in src/markov/virtual_event
167 12
deepracer_exceptions.py
in src/markov/log_handler
167 19
cloudformation.yaml
in common/sagemaker_rl/orchestrator
160 -
mpi_launcher.py
in common/sagemaker_rl
157 17
deepracer_racetrack_env.py
in src/markov/environments
154 8
checkpoint.py
in src/markov/boto/s3/files
153 9
s3_client.py
in src/markov/boto/s3
152 8
virtual_event.py
in src/markov/virtual_event
151 7
multi_agent_environment.py
in src/markov/multi_agent_coach
151 23
deepracer_checkpoint_json.py
in src/markov/boto/s3/files/checkpoint_files
149 8
multi_agent_level_manager.py
in src/markov/multi_agent_coach
147 22
model_db_client.py
in common/sagemaker_rl/orchestrator/clients/ddb
144 24
ip_config.py
in src/markov/boto/s3/files
140 6
obstacles_agent_ctrl.py
in src/markov/agent_ctrl
136 12
Files With Most Units (Top 20)
File# lines# units
sensors_rollout.py
in src/markov/sensors
376 44
multi_agent_graph_manager.py
in src/markov/multi_agent_coach
499 43
experiment_manager.py
in common/sagemaker_rl/orchestrator/workflow/manager
1209 41
track_data.py
in src/markov/track_geom
423 39
deepracer_memory.py
in src/markov/memories
253 35
utils.py
in src/markov
309 32
rollout_agent_ctrl.py
in src/markov/agent_ctrl
685 30
sensors_training.py
in src/markov/sensors
180 30
resource_manager.py
in common/sagemaker_rl/orchestrator
370 25
model_db_client.py
in common/sagemaker_rl/orchestrator/clients/ddb
144 24
multi_agent_environment.py
in src/markov/multi_agent_coach
151 23
multi_agent_level_manager.py
in src/markov/multi_agent_coach
147 22
s3_metrics.py
in src/markov/metrics
392 21
join_manager.py
in common/sagemaker_rl/orchestrator/workflow/manager
373 20
deepracer_exceptions.py
in src/markov/log_handler
167 19
experiment_db_client.py
in common/sagemaker_rl/orchestrator/clients/ddb
133 19
s3_boto_data_store.py
in src/markov
277 18
yaml_file.py
in src/markov/boto/s3/files
227 18
coach_launcher.py
in common/sagemaker_rl
202 18
bot_cars_agent_ctrl.py
in src/markov/agent_ctrl
307 17
Files With Long Lines (Top 20)

There are 28 files with lines longer than 120 characters. In total, there are 69 long lines.

File# lines# units# long lines
multi_agent_graph_manager.py
in src/markov/multi_agent_coach
499 43 11
experiment_manager.py
in common/sagemaker_rl/orchestrator/workflow/manager
1209 41 7
rollout_agent_ctrl.py
in src/markov/agent_ctrl
685 30 5
multi_agent_level_manager.py
in src/markov/multi_agent_coach
147 22 5
training_worker.py
in src/markov
312 2 5
virtual_event_agent_model.py
in src/markov/virtual_event
78 5 3
custom_architectures.py
in src/markov/architecture
304 - 3
cloudwatch_logger.py
in common/sagemaker_rl/orchestrator/utils
274 8 3
sac_head.py
in src/markov/multi_agent_coach/architectures/tensorflow_components/heads
74 5 2
rollout_worker.py
in src/markov
429 4 2
sagemaker_graph_manager.py
in src/markov
228 6 2
deepracer_memory.py
in src/markov/memories
253 35 2
s3_metrics.py
in src/markov/metrics
392 21 2
coach_launcher.py
in common/sagemaker_rl
202 18 2
resource_manager.py
in common/sagemaker_rl/orchestrator
370 25 2
bot_cars_agent_ctrl.py
in src/markov/agent_ctrl
307 17 1
action_space_configs.py
in src/markov/multi_agent_coach
99 5 1
model_updater.py
in src/markov/gazebo_utils
184 17 1
left_stereo_attention.py
in src/markov/presets
111 5 1
exception_handler.py
in src/markov/log_handler
176 7 1