GoogleCloudPlatform / terraform-genai-rag
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 58% | 20% | 21%
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
py0% | 0% | 62% | 21% | 16%
css0% | 0% | 100% | 0% | 0%
js0% | 0% | 78% | 0% | 21%
tf0% | 0% | 0% | 30% | 69%
html0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 64% | 19% | 15%
ROOT0% | 0% | 0% | 30% | 69%
build0% | 0% | 0% | 0% | 100%
mim0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
index.css
in src/frontend_service/static
378 -
postgres.py
in src/retrieval_service/datastore/providers
292 2
eval_golden.py
in src/frontend_service/evaluation
283 1
cloudsql_postgres.py
in src/retrieval_service/datastore/providers
282 2
tools.py
in src/frontend_service/orchestrator/langgraph
272 11
tools.py
in src/frontend_service/orchestrator/langchain_tools
261 11
index.js
in src/frontend_service/static
258 17
firestore.py
in src/retrieval_service/datastore/providers
230 2
langchain_tools_orchestrator.py
in src/frontend_service/orchestrator/langchain_tools
217 13
function_calling_orchestrator.py
in src/frontend_service/orchestrator/vertexai_function_calling
210 13
langgraph_orchestrator.py
in src/frontend_service/orchestrator/langgraph
205 14
functions.py
in src/frontend_service/orchestrator/vertexai_function_calling
204 5
app.py
in src/frontend_service
193 4
routes.py
in src/retrieval_service/app
183 1
datastore.py
in src/retrieval_service/datastore
181 3
react_graph.py
in src/frontend_service/orchestrator/langgraph
158 2
app.tf
in root
154 -
evaluation.py
in src/frontend_service/evaluation
106 2
index.html
in src/frontend_service/templates
102 -
tool_node.py
in src/frontend_service/orchestrator/langgraph
96 3
models.py
in src/retrieval_service/models
81 2
agent.py
in src/frontend_service
76 1
trace.js
in src/frontend_service/static
72 8
71 -
network.tf
in root
64 -
58 -
orchestrator.py
in src/frontend_service/orchestrator
56 9
run_evaluation.py
in src/frontend_service
55 2
run_generate_policy_dataset.py
in src/retrieval_service
54 3
run_generate_embeddings.py
in src/retrieval_service
49 -
47 -
main.tf
in root
43 -
secrets.tf
in root
43 -
app.py
in src/retrieval_service/app
41 3
evaluation.cloudbuild.yaml
in src/frontend_service
31 -
27 -
run_database_export.py
in src/retrieval_service
24 -
run_app.py
in src/frontend_service
19 -
outputs.tf
in root
19 -
run_database_init.py
in src/retrieval_service
18 -
run_app.py
in src/retrieval_service
14 -
__init__.py
in src/frontend_service/evaluation
12 -
__init__.py
in src/retrieval_service/datastore
9 -
__init__.py
in src/frontend_service/orchestrator
9 -
pyproject.toml
in src/retrieval_service
8 -
cloudbuild.yaml
in src/retrieval_service
7 -
cloudbuild.yaml
in src/frontend_service
7 -
7 -
utils.py
in src/retrieval_service/datastore/providers
6 1
pyproject.toml
in src/frontend_service
5 -
Files With Most Units (Top 25)
File# lines# units
index.js
in src/frontend_service/static
258 17
langgraph_orchestrator.py
in src/frontend_service/orchestrator/langgraph
205 14
function_calling_orchestrator.py
in src/frontend_service/orchestrator/vertexai_function_calling
210 13
langchain_tools_orchestrator.py
in src/frontend_service/orchestrator/langchain_tools
217 13
tools.py
in src/frontend_service/orchestrator/langgraph
272 11
tools.py
in src/frontend_service/orchestrator/langchain_tools
261 11
orchestrator.py
in src/frontend_service/orchestrator
56 9
trace.js
in src/frontend_service/static
72 8
functions.py
in src/frontend_service/orchestrator/vertexai_function_calling
204 5
app.py
in src/frontend_service
193 4
datastore.py
in src/retrieval_service/datastore
181 3
run_generate_policy_dataset.py
in src/retrieval_service
54 3
app.py
in src/retrieval_service/app
41 3
tool_node.py
in src/frontend_service/orchestrator/langgraph
96 3
cloudsql_postgres.py
in src/retrieval_service/datastore/providers
282 2
postgres.py
in src/retrieval_service/datastore/providers
292 2
firestore.py
in src/retrieval_service/datastore/providers
230 2
models.py
in src/retrieval_service/models
81 2
react_graph.py
in src/frontend_service/orchestrator/langgraph
158 2
run_evaluation.py
in src/frontend_service
55 2
evaluation.py
in src/frontend_service/evaluation
106 2
utils.py
in src/retrieval_service/datastore/providers
6 1
routes.py
in src/retrieval_service/app
183 1
agent.py
in src/frontend_service
76 1
eval_golden.py
in src/frontend_service/evaluation
283 1
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 6 long lines.

File# lines# units# long lines
functions.py
in src/frontend_service/orchestrator/vertexai_function_calling
204 5 2
eval_golden.py
in src/frontend_service/evaluation
283 1 2
routes.py
in src/retrieval_service/app
183 1 1
index.js
in src/frontend_service/static
258 17 1
Correlations

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

build/int.cloudbuild.yaml x: 6 commits (all time) y: 27 lines of code versions.tf x: 6 commits (all time) y: 47 lines of code app.tf x: 4 commits (all time) y: 154 lines of code database.tf x: 4 commits (all time) y: 71 lines of code main.tf x: 7 commits (all time) y: 43 lines of code network.tf x: 1 commits (all time) y: 64 lines of code src/frontend_service/app.py x: 1 commits (all time) y: 193 lines of code src/frontend_service/evaluation.cloudbuild.yaml x: 1 commits (all time) y: 31 lines of code src/frontend_service/evaluation/__init__.py x: 1 commits (all time) y: 12 lines of code src/frontend_service/evaluation/eval_golden.py x: 1 commits (all time) y: 283 lines of code src/frontend_service/evaluation/evaluation.py x: 1 commits (all time) y: 106 lines of code src/frontend_service/orchestrator/__init__.py x: 1 commits (all time) y: 9 lines of code src/frontend_service/orchestrator/langchain_tools/__init__.py x: 1 commits (all time) y: 2 lines of code src/frontend_service/orchestrator/langchain_tools/langchain_tools_orchestrator.py x: 1 commits (all time) y: 217 lines of code src/frontend_service/orchestrator/langchain_tools/tools.py x: 1 commits (all time) y: 261 lines of code src/frontend_service/orchestrator/langgraph/langgraph_orchestrator.py x: 1 commits (all time) y: 205 lines of code src/frontend_service/orchestrator/langgraph/react_graph.py x: 1 commits (all time) y: 158 lines of code src/frontend_service/orchestrator/langgraph/tool_node.py x: 1 commits (all time) y: 96 lines of code src/frontend_service/orchestrator/langgraph/tools.py x: 1 commits (all time) y: 272 lines of code src/frontend_service/orchestrator/orchestrator.py x: 1 commits (all time) y: 56 lines of code src/frontend_service/orchestrator/vertexai_function_calling/function_calling_orchestrator.py x: 1 commits (all time) y: 210 lines of code src/frontend_service/pyproject.toml x: 2 commits (all time) y: 5 lines of code src/frontend_service/run_app.py x: 2 commits (all time) y: 19 lines of code src/frontend_service/run_evaluation.py x: 1 commits (all time) y: 55 lines of code src/frontend_service/static/index.css x: 2 commits (all time) y: 378 lines of code src/frontend_service/static/index.js x: 2 commits (all time) y: 258 lines of code src/frontend_service/static/trace.js x: 1 commits (all time) y: 72 lines of code src/frontend_service/templates/index.html x: 2 commits (all time) y: 102 lines of code src/retrieval_service/app/app.py x: 3 commits (all time) y: 41 lines of code src/retrieval_service/app/routes.py x: 2 commits (all time) y: 183 lines of code src/retrieval_service/datastore/providers/cloudsql_postgres.py x: 3 commits (all time) y: 282 lines of code src/retrieval_service/run_app.py x: 2 commits (all time) y: 14 lines of code src/retrieval_service/run_database_init.py x: 1 commits (all time) y: 18 lines of code variables.tf x: 5 commits (all time) y: 58 lines of code src/retrieval_service/pyproject.toml x: 2 commits (all time) y: 8 lines of code src/retrieval_service/run_generate_embeddings.py x: 2 commits (all time) y: 49 lines of code mim/cloudbuild_mim.yaml x: 1 commits (all time) y: 7 lines of code outputs.tf x: 3 commits (all time) y: 19 lines of code secrets.tf x: 1 commits (all time) y: 43 lines of code src/frontend_service/agent.py x: 1 commits (all time) y: 76 lines of code src/retrieval_service/app/__init__.py x: 1 commits (all time) y: 1 lines of code src/retrieval_service/datastore/datastore.py x: 1 commits (all time) y: 181 lines of code src/retrieval_service/datastore/providers/firestore.py x: 1 commits (all time) y: 230 lines of code src/retrieval_service/datastore/providers/postgres.py x: 1 commits (all time) y: 292 lines of code src/retrieval_service/models/models.py x: 1 commits (all time) y: 81 lines of code src/retrieval_service/run_database_export.py x: 1 commits (all time) y: 24 lines of code
378.0
lines of code
  min: 1.0
  average: 94.77
  25th percentile: 9.75
  median: 54.5
  75th percentile: 182.5
  max: 378.0
0 7.0
commits (all time)
min: 1.0 | average: 1.73 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0

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

build/int.cloudbuild.yaml x: 3 contributors (all time) y: 27 lines of code versions.tf x: 3 contributors (all time) y: 47 lines of code app.tf x: 1 contributors (all time) y: 154 lines of code database.tf x: 1 contributors (all time) y: 71 lines of code main.tf x: 3 contributors (all time) y: 43 lines of code network.tf x: 1 contributors (all time) y: 64 lines of code src/frontend_service/app.py x: 1 contributors (all time) y: 193 lines of code src/frontend_service/evaluation.cloudbuild.yaml x: 1 contributors (all time) y: 31 lines of code src/frontend_service/evaluation/__init__.py x: 1 contributors (all time) y: 12 lines of code src/frontend_service/evaluation/eval_golden.py x: 1 contributors (all time) y: 283 lines of code src/frontend_service/evaluation/evaluation.py x: 1 contributors (all time) y: 106 lines of code src/frontend_service/orchestrator/__init__.py x: 1 contributors (all time) y: 9 lines of code src/frontend_service/orchestrator/langchain_tools/__init__.py x: 1 contributors (all time) y: 2 lines of code src/frontend_service/orchestrator/langchain_tools/langchain_tools_orchestrator.py x: 1 contributors (all time) y: 217 lines of code src/frontend_service/orchestrator/langchain_tools/tools.py x: 1 contributors (all time) y: 261 lines of code src/frontend_service/orchestrator/langgraph/langgraph_orchestrator.py x: 1 contributors (all time) y: 205 lines of code src/frontend_service/orchestrator/langgraph/react_graph.py x: 1 contributors (all time) y: 158 lines of code src/frontend_service/orchestrator/langgraph/tool_node.py x: 1 contributors (all time) y: 96 lines of code src/frontend_service/orchestrator/langgraph/tools.py x: 1 contributors (all time) y: 272 lines of code src/frontend_service/orchestrator/orchestrator.py x: 1 contributors (all time) y: 56 lines of code src/frontend_service/orchestrator/vertexai_function_calling/function_calling_orchestrator.py x: 1 contributors (all time) y: 210 lines of code src/frontend_service/pyproject.toml x: 1 contributors (all time) y: 5 lines of code src/frontend_service/run_app.py x: 1 contributors (all time) y: 19 lines of code src/frontend_service/run_evaluation.py x: 1 contributors (all time) y: 55 lines of code src/frontend_service/static/index.css x: 1 contributors (all time) y: 378 lines of code src/frontend_service/static/index.js x: 1 contributors (all time) y: 258 lines of code src/frontend_service/static/trace.js x: 1 contributors (all time) y: 72 lines of code src/frontend_service/templates/index.html x: 1 contributors (all time) y: 102 lines of code src/retrieval_service/app/app.py x: 2 contributors (all time) y: 41 lines of code src/retrieval_service/app/routes.py x: 1 contributors (all time) y: 183 lines of code src/retrieval_service/datastore/providers/cloudsql_postgres.py x: 1 contributors (all time) y: 282 lines of code src/retrieval_service/run_app.py x: 1 contributors (all time) y: 14 lines of code variables.tf x: 2 contributors (all time) y: 58 lines of code src/retrieval_service/pyproject.toml x: 2 contributors (all time) y: 8 lines of code src/retrieval_service/run_generate_embeddings.py x: 2 contributors (all time) y: 49 lines of code mim/cloudbuild_mim.yaml x: 1 contributors (all time) y: 7 lines of code outputs.tf x: 2 contributors (all time) y: 19 lines of code secrets.tf x: 1 contributors (all time) y: 43 lines of code src/frontend_service/agent.py x: 1 contributors (all time) y: 76 lines of code src/retrieval_service/app/__init__.py x: 1 contributors (all time) y: 1 lines of code src/retrieval_service/datastore/datastore.py x: 1 contributors (all time) y: 181 lines of code src/retrieval_service/datastore/providers/firestore.py x: 1 contributors (all time) y: 230 lines of code src/retrieval_service/datastore/providers/postgres.py x: 1 contributors (all time) y: 292 lines of code src/retrieval_service/models/models.py x: 1 contributors (all time) y: 81 lines of code src/retrieval_service/run_database_export.py x: 1 contributors (all time) y: 24 lines of code
378.0
lines of code
  min: 1.0
  average: 94.77
  25th percentile: 9.75
  median: 54.5
  75th percentile: 182.5
  max: 378.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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): 0 points

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

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

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