aws-samples / aws-deepracer-workshops
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 209 files with 28,182 lines of code.
    • 4 very long files (6,086 lines of code)
    • 4 long files (2,889 lines of code)
    • 25 medium size files (7,517 lines of codeclsfd_ftr_w_mp_ins)
    • 47 small files (6,564 lines of code)
    • 129 very small files (5,126 lines of code)
21% | 10% | 26% | 23% | 18%
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
css61% | 8% | 17% | 2% | 8%
py11% | 11% | 31% | 27% | 16%
yaml0% | 0% | 0% | 96% | 3%
html0% | 0% | 0% | 13% | 86%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Advanced workshops/400 Level DeepRacer Workshop/static80% | 0% | 0% | 18% | <1%
Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO15% | 0% | 43% | 26% | 13%
Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN18% | 0% | 36% | 29% | 15%
Advanced workshops/400 Level DeepRacer Workshop/themes26% | 12% | 26% | 3% | 30%
Advanced workshops/reInvent2019-400/customize0% | 79% | 0% | 0% | 20%
Advanced workshops/reInvent2019-400/src0% | 29% | 26% | 35% | 9%
Advanced workshops/AI Driving Olympics 2019/challenge_eval_submit0% | 0% | 0% | 53% | 46%
Advanced workshops/reInvent2019-4000% | 0% | 0% | 63% | 36%
log-analysis0% | 0% | 0% | 67% | 32%
Advanced workshops/reInvent2019-400/common0% | 0% | 0% | 44% | 55%
Advanced workshops/400 Level DeepRacer Workshop/layouts0% | 0% | 0% | 0% | 100%
Advanced workshops/400 Level DeepRacer Workshop0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
all.css
in Advanced workshops/400 Level DeepRacer Workshop/static/css
2570 -
experiment_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/workflow/manager
1209 41
experiment_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/workflow/manager
1209 41
theme.css
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/static/css
1098 -
deepracer_racetrack_env.py
in Advanced workshops/reInvent2019-400/src/markov/environments
790 30
deepracer_racetrack_env_lidar_5cars.py
in Advanced workshops/reInvent2019-400/customize
790 30
deepracer_racetrack_env_lidar_3cars.py
in Advanced workshops/reInvent2019-400/customize
787 30
nucleus.css
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/static/css
522 -
deepracer_racetrack_env_cv2.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov/environments
440 20
deepracer_racetrack_env.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov/environments
440 20
deepracer_racetrack_env.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov/environments
429 20
deepracer_racetrack_env_original.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov/environments
429 20
join_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/workflow/manager
373 20
join_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/workflow/manager
373 20
resource_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator
370 25
resource_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator
370 25
model_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/workflow/manager
346 13
model_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/workflow/manager
346 13
mermaid.forest.css
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/static/mermaid
337 -
s3_boto_data_store.py
in Advanced workshops/reInvent2019-400/src/markov
278 18
cloudwatch_logger.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/utils
274 8
cloudwatch_logger.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/utils
274 8
mermaid.dark.css
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/static/mermaid
259 -
mermaid.css
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/static/mermaid
257 -
rollout_worker.py
in Advanced workshops/reInvent2019-400/src/markov
233 8
rollout_worker.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov
223 8
rollout_worker.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov
223 8
hugo-theme.css
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/static/css
212 -
training_worker.py
in Advanced workshops/reInvent2019-400/src
211 4
training_worker.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src
208 4
training_worker.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src
208 4
coach_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl
202 18
coach_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl
202 18
log_analysis.py
in Advanced workshops/reInvent2019-400
196 12
s3_boto_data_store.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov
196 15
s3_boto_data_store.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov
196 15
log_analysis.py
in Advanced workshops/AI Driving Olympics 2019/challenge_eval_submit
194 12
log_analysis.py
in log-analysis
179 11
ray_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl
178 15
ray_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl
178 15
s3_client.py
in Advanced workshops/reInvent2019-400/src/markov
175 12
bootstrap.cfn.yaml
in Advanced workshops/400 Level DeepRacer Workshop/static/cfn
163 -
cloudformation.yaml
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator
160 -
cloudformation.yaml
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator
160 -
mpi_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl
157 17
mpi_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl
157 17
bootstrap.rover.cfn.yaml
in Advanced workshops/400 Level DeepRacer Workshop/static/cfn
156 -
theme-mine.css
in Advanced workshops/400 Level DeepRacer Workshop/static/css
151 -
s3_simdata_upload.py
in Advanced workshops/reInvent2019-400/src/markov
150 9
s3_client.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov
150 11
Files With Most Units (Top 20)
File# lines# units
experiment_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/workflow/manager
1209 41
experiment_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/workflow/manager
1209 41
deepracer_racetrack_env.py
in Advanced workshops/reInvent2019-400/src/markov/environments
790 30
deepracer_racetrack_env_lidar_5cars.py
in Advanced workshops/reInvent2019-400/customize
790 30
deepracer_racetrack_env_lidar_3cars.py
in Advanced workshops/reInvent2019-400/customize
787 30
resource_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator
370 25
resource_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator
370 25
model_db_client.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/clients/ddb
144 24
model_db_client.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/clients/ddb
144 24
deepracer_racetrack_env.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov/environments
429 20
join_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/workflow/manager
373 20
deepracer_racetrack_env_cv2.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov/environments
440 20
deepracer_racetrack_env.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov/environments
440 20
deepracer_racetrack_env_original.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov/environments
429 20
join_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/workflow/manager
373 20
experiment_db_client.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/clients/ddb
133 19
experiment_db_client.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/clients/ddb
133 19
s3_boto_data_store.py
in Advanced workshops/reInvent2019-400/src/markov
278 18
coach_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl
202 18
coach_launcher.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl
202 18
Files With Long Lines (Top 20)

There are 97 files with lines longer than 120 characters. In total, there are 392 long lines.

File# lines# units# long lines
deepracer_racetrack_env.py
in Advanced workshops/reInvent2019-400/src/markov/environments
790 30 27
deepracer_racetrack_env_lidar_5cars.py
in Advanced workshops/reInvent2019-400/customize
790 30 27
deepracer_racetrack_env_lidar_3cars.py
in Advanced workshops/reInvent2019-400/customize
787 30 25
logo.html
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/exampleSite/layouts/partials
37 - 16
s3_simdata_upload.py
in Advanced workshops/reInvent2019-400/src/markov
150 9 15
footer.html
in Advanced workshops/400 Level DeepRacer Workshop/layouts/partials
70 - 14
footer.html
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/layouts/partials
64 - 14
children.html
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/layouts/shortcodes
77 - 12
rollout_worker.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov
223 8 12
rollout_worker.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov
223 8 12
s3_client.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov
150 11 11
s3_client.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov
150 11 11
rollout_worker.py
in Advanced workshops/reInvent2019-400/src/markov
233 8 9
theme.css
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/static/css
1098 - 8
menu.html
in Advanced workshops/400 Level DeepRacer Workshop/themes/learn/layouts/partials
140 - 8
s3_boto_data_store.py
in Advanced workshops/reInvent2019-400/src/markov
278 18 7
experiment_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/common/sagemaker_rl/orchestrator/workflow/manager
1209 41 7
experiment_manager.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/common/sagemaker_rl/orchestrator/workflow/manager
1209 41 7
deepracer_racetrack_env.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_DQN/src/markov/environments
429 20 5
deepracer_racetrack_env_cv2.py
in Advanced workshops/AI Driving Olympics 2019/challenge_train_w_PPO/src/markov/environments
440 20 5