GoogleCloudPlatform / analytics-componentized-patterns
File Size

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

Intro
Learn more...
File Size Overall
80% | 6% | 0% | 4% | 8%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
ipynb92% | 7% | 0% | 0% | 0%
py0% | 0% | 0% | 37% | 62%
sql0% | 0% | 0% | 36% | 63%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
retail77% | 7% | 0% | 5% | 9%
gaming100% | 0% | 0% | 0% | 0%
Longest Files (Top 41)
File# lines# units
bqml_kfp_retail_propensity_to_purchase.ipynb
in retail/propensity-model/bqml
3240 -
ann01_create_index.ipynb
in retail/recommendation-system/bqml-scann
2518 -
bqml_ga4_gaming_propensity_to_churn.ipynb
in gaming/propensity-model/bqml
1640 -
ann02_run_pipeline.ipynb
in retail/recommendation-system/bqml-scann
1464 -
bqml_retail_recommendation_system.ipynb
in retail/recommendation-system/bqml
1097 -
vertex_ai_pipeline.ipynb
in retail/recommendation-system/bqml-mlops/part_3
766 -
pipeline.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
165 1
20_procedure_prepare.sql
in retail/ltv/bqml/scripts
158 -
scann_evaluator.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
144 2
pipeline.py
in retail/recommendation-system/bqml-mlops/part_2
134 11
sp_ComputePMI.sql
in retail/recommendation-system/bqml-scann/sql_scripts
85 -
scann_indexer.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
80 4
bq_components.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
76 3
runner.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
76 -
match_pb2_grpc.py
in retail/recommendation-system/bqml-scann/ann_grpc
72 6
lookup_creator.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
68 3
indexer.py
in retail/recommendation-system/bqml-scann/index_builder/builder
67 4
40_procedure_predict.sql
in retail/ltv/bqml/scripts
65 -
lookup_creator.py
in retail/recommendation-system/bqml-scann/embeddings_lookup
56 3
main.py
in retail/recommendation-system/bqml-scann/index_server
47 3
item_matcher.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
36 4
sp_ExractEmbeddings.sql
in retail/recommendation-system/bqml-scann/sql_scripts
34 -
task.py
in retail/recommendation-system/bqml-scann/index_builder/builder
34 2
pipeline.py
in retail/recommendation-system/bqml-scann/embeddings_exporter
33 3
50_procedure_top.sql
in retail/ltv/bqml/scripts
33 -
runner.py
in retail/recommendation-system/bqml-scann/embeddings_exporter
25 2
sp_TrainItemMatchingModel.sql
in retail/recommendation-system/bqml-scann/sql_scripts
22 -
matching.py
in retail/recommendation-system/bqml-scann/index_server
21 2
lookup.py
in retail/recommendation-system/bqml-scann/index_server
16 2
30_procedure_train.sql
in retail/ltv/bqml/scripts
16 -
10_procedure_match.sql
in retail/ltv/bqml/scripts
15 -
config.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
14 -
setup.py
in retail/recommendation-system/bqml-scann/index_builder
11 -
cloudbuild.yaml
in retail/recommendation-system/bqml-mlops/part_2
9 -
setup.py
in retail/recommendation-system/bqml-scann/embeddings_exporter
9 -
00_procedure_persist.sql
in retail/ltv/bqml/scripts
8 -
cloudbuild.yaml
in retail/recommendation-system/bqml-scann/index_server
5 -
config.yaml
in retail/recommendation-system/bqml-scann/index_builder
3 -
__init__.py
in retail/recommendation-system/bqml-scann/embeddings_exporter
1 -
__init__.py
in retail/recommendation-system/bqml-scann/index_builder/builder
1 -
__init__.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
1 -
Files With Most Units (Top 16)
File# lines# units
pipeline.py
in retail/recommendation-system/bqml-mlops/part_2
134 11
match_pb2_grpc.py
in retail/recommendation-system/bqml-scann/ann_grpc
72 6
indexer.py
in retail/recommendation-system/bqml-scann/index_builder/builder
67 4
scann_indexer.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
80 4
item_matcher.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
36 4
main.py
in retail/recommendation-system/bqml-scann/index_server
47 3
pipeline.py
in retail/recommendation-system/bqml-scann/embeddings_exporter
33 3
lookup_creator.py
in retail/recommendation-system/bqml-scann/embeddings_lookup
56 3
lookup_creator.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
68 3
bq_components.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
76 3
matching.py
in retail/recommendation-system/bqml-scann/index_server
21 2
lookup.py
in retail/recommendation-system/bqml-scann/index_server
16 2
runner.py
in retail/recommendation-system/bqml-scann/embeddings_exporter
25 2
task.py
in retail/recommendation-system/bqml-scann/index_builder/builder
34 2
scann_evaluator.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
144 2
pipeline.py
in retail/recommendation-system/bqml-scann/tfx_pipeline
165 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 368 long lines.

File# lines# units# long lines
ann01_create_index.ipynb
in retail/recommendation-system/bqml-scann
2518 - 99
bqml_ga4_gaming_propensity_to_churn.ipynb
in gaming/propensity-model/bqml
1640 - 83
vertex_ai_pipeline.ipynb
in retail/recommendation-system/bqml-mlops/part_3
766 - 54
bqml_kfp_retail_propensity_to_purchase.ipynb
in retail/propensity-model/bqml
3240 - 47
bqml_retail_recommendation_system.ipynb
in retail/recommendation-system/bqml
1097 - 38
ann02_run_pipeline.ipynb
in retail/recommendation-system/bqml-scann
1464 - 29
pipeline.py
in retail/recommendation-system/bqml-mlops/part_2
134 11 14
match_pb2_grpc.py
in retail/recommendation-system/bqml-scann/ann_grpc
72 6 2
20_procedure_prepare.sql
in retail/ltv/bqml/scripts
158 - 2
Correlations

File Size vs. Commits (all time): 41 points

retail/recommendation-system/bqml-scann/ann02_run_pipeline.ipynb x: 4 commits (all time) y: 1464 lines of code retail/recommendation-system/bqml-mlops/part_3/vertex_ai_pipeline.ipynb x: 1 commits (all time) y: 766 lines of code retail/recommendation-system/bqml/bqml_retail_recommendation_system.ipynb x: 5 commits (all time) y: 1097 lines of code retail/recommendation-system/bqml-mlops/part_2/cloudbuild.yaml x: 1 commits (all time) y: 9 lines of code retail/recommendation-system/bqml-mlops/part_2/pipeline.py x: 1 commits (all time) y: 134 lines of code gaming/propensity-model/bqml/bqml_ga4_gaming_propensity_to_churn.ipynb x: 4 commits (all time) y: 1640 lines of code retail/recommendation-system/bqml-scann/ann01_create_index.ipynb x: 2 commits (all time) y: 2518 lines of code retail/recommendation-system/bqml-scann/ann_grpc/match_pb2_grpc.py x: 3 commits (all time) y: 72 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/pipeline.py x: 27 commits (all time) y: 165 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/scann_evaluator.py x: 9 commits (all time) y: 144 lines of code retail/recommendation-system/bqml-scann/embeddings_lookup/lookup_creator.py x: 2 commits (all time) y: 56 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/lookup_creator.py x: 2 commits (all time) y: 68 lines of code retail/recommendation-system/bqml-scann/index_builder/builder/indexer.py x: 12 commits (all time) y: 67 lines of code retail/recommendation-system/bqml-scann/embeddings_exporter/pipeline.py x: 14 commits (all time) y: 33 lines of code retail/recommendation-system/bqml-scann/sql_scripts/sp_ComputePMI.sql x: 6 commits (all time) y: 85 lines of code retail/recommendation-system/bqml-scann/sql_scripts/sp_ExractEmbeddings.sql x: 6 commits (all time) y: 34 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/item_matcher.py x: 3 commits (all time) y: 36 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/scann_indexer.py x: 11 commits (all time) y: 80 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/runner.py x: 7 commits (all time) y: 76 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/__init__.py x: 2 commits (all time) y: 1 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/config.py x: 4 commits (all time) y: 14 lines of code retail/recommendation-system/bqml-scann/embeddings_exporter/setup.py x: 6 commits (all time) y: 9 lines of code retail/recommendation-system/bqml-scann/index_server/lookup.py x: 6 commits (all time) y: 16 lines of code retail/recommendation-system/bqml-scann/index_server/main.py x: 6 commits (all time) y: 47 lines of code retail/recommendation-system/bqml-scann/index_builder/builder/__init__.py x: 3 commits (all time) y: 1 lines of code retail/recommendation-system/bqml-scann/index_builder/builder/task.py x: 4 commits (all time) y: 34 lines of code retail/recommendation-system/bqml-scann/index_server/matching.py x: 3 commits (all time) y: 21 lines of code retail/ltv/bqml/scripts/10_procedure_match.sql x: 2 commits (all time) y: 15 lines of code retail/ltv/bqml/scripts/20_procedure_prepare.sql x: 2 commits (all time) y: 158 lines of code retail/ltv/bqml/scripts/50_procedure_top.sql x: 2 commits (all time) y: 33 lines of code retail/propensity-model/bqml/bqml_kfp_retail_propensity_to_purchase.ipynb x: 1 commits (all time) y: 3240 lines of code
3240.0
lines of code
  min: 1.0
  average: 301.59
  25th percentile: 14.5
  median: 36.0
  75th percentile: 109.5
  max: 3240.0
0 27.0
commits (all time)
min: 1.0 | average: 4.78 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 6.0 | max: 27.0

File Size vs. Contributors (all time): 41 points

retail/recommendation-system/bqml-scann/ann02_run_pipeline.ipynb x: 2 contributors (all time) y: 1464 lines of code retail/recommendation-system/bqml-mlops/part_3/vertex_ai_pipeline.ipynb x: 1 contributors (all time) y: 766 lines of code retail/recommendation-system/bqml/bqml_retail_recommendation_system.ipynb x: 3 contributors (all time) y: 1097 lines of code retail/recommendation-system/bqml-mlops/part_2/cloudbuild.yaml x: 1 contributors (all time) y: 9 lines of code retail/recommendation-system/bqml-mlops/part_2/pipeline.py x: 1 contributors (all time) y: 134 lines of code gaming/propensity-model/bqml/bqml_ga4_gaming_propensity_to_churn.ipynb x: 3 contributors (all time) y: 1640 lines of code retail/recommendation-system/bqml-scann/ann01_create_index.ipynb x: 1 contributors (all time) y: 2518 lines of code retail/recommendation-system/bqml-scann/ann_grpc/match_pb2_grpc.py x: 2 contributors (all time) y: 72 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/pipeline.py x: 2 contributors (all time) y: 165 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/scann_evaluator.py x: 2 contributors (all time) y: 144 lines of code retail/recommendation-system/bqml-scann/embeddings_lookup/lookup_creator.py x: 1 contributors (all time) y: 56 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/lookup_creator.py x: 1 contributors (all time) y: 68 lines of code retail/recommendation-system/bqml-scann/embeddings_exporter/pipeline.py x: 1 contributors (all time) y: 33 lines of code retail/recommendation-system/bqml-scann/sql_scripts/sp_ComputePMI.sql x: 2 contributors (all time) y: 85 lines of code retail/recommendation-system/bqml-scann/sql_scripts/sp_ExractEmbeddings.sql x: 2 contributors (all time) y: 34 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/__init__.py x: 2 contributors (all time) y: 1 lines of code retail/recommendation-system/bqml-scann/tfx_pipeline/config.py x: 2 contributors (all time) y: 14 lines of code retail/recommendation-system/bqml-scann/index_server/lookup.py x: 1 contributors (all time) y: 16 lines of code retail/recommendation-system/bqml-scann/index_server/main.py x: 1 contributors (all time) y: 47 lines of code retail/ltv/bqml/scripts/20_procedure_prepare.sql x: 1 contributors (all time) y: 158 lines of code retail/propensity-model/bqml/bqml_kfp_retail_propensity_to_purchase.ipynb x: 1 contributors (all time) y: 3240 lines of code
3240.0
lines of code
  min: 1.0
  average: 301.59
  25th percentile: 14.5
  median: 36.0
  75th percentile: 109.5
  max: 3240.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.39 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 1 points

retail/recommendation-system/bqml-scann/ann02_run_pipeline.ipynb x: 2 commits (90d) y: 1464 lines of code
1464.0
lines of code
  min: 1464.0
  average: 1464.0
  25th percentile: 1464.0
  median: 1464.0
  75th percentile: 1464.0
  max: 1464.0
0 2.0
commits (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (90 days): 1 points

retail/recommendation-system/bqml-scann/ann02_run_pipeline.ipynb x: 1 contributors (90d) y: 1464 lines of code
1464.0
lines of code
  min: 1464.0
  average: 1464.0
  25th percentile: 1464.0
  median: 1464.0
  75th percentile: 1464.0
  max: 1464.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0