openai / orion-multistep-analysis
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 63 files with 7,495 lines of code.
    • 2 very long files (2,357 lines of code)
    • 1 long files (556 lines of code)
    • 9 medium size files (2,950 lines of code)
    • 3 small files (464 lines of code)
    • 48 very small files (1,168 lines of code)
31% | 7% | 39% | 6% | 15%
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
tsx50% | 0% | 46% | 0% | 2%
css94% | 0% | 0% | 0% | 5%
py0% | 16% | 52% | 10% | 20%
ts0% | 0% | 0% | 26% | 73%
html0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend56% | 0% | 28% | 3% | 11%
src0% | 16% | 53% | 10% | 19%
scripts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
RunDetailPage.tsx
in frontend/src/pages
1295 37
global.css
in frontend/src/styles
1062 -
orchestrator.py
in src/research_agent/supervisor
556 22
jobs.py
in src/research_agent/backend
418 22
PromptsPage.tsx
in frontend/src/pages
410 1
DatasetsPage.tsx
in frontend/src/pages
407 4
web_reporter.py
in src/research_agent/reporters
385 52
RunsPage.tsx
in frontend/src/pages
381 2
runtime.py
in src/research_agent/agents
290 12
__init__.py
in src/research_agent/tools
257 6
csv_importer.py
in src/research_agent/backend/services
201 8
prompts.py
in src/research_agent/backend
201 12
runs.py
in src/research_agent/backend/routes
197 10
databases.py
in src/research_agent/backend/routes
139 7
types.ts
in frontend/src/api
128 -
usePrompts.ts
in frontend/src/hooks
96 6
streams.py
in src/research_agent/backend
88 16
useRuns.ts
in frontend/src/hooks
84 8
config.py
in src/research_agent
78 5
prompts.py
in src/research_agent/backend/routes
76 7
storage.py
in src/research_agent/backend
76 5
useDatabases.ts
in frontend/src/hooks
71 8
layout.css
in frontend/src/styles
57 -
ingestion.py
in src/research_agent/analysis
47 3
useEventStream.ts
in frontend/src/hooks
44 1
__init__.py
in src/research_agent/agents/literature
41 1
executor.py
in src/research_agent/backend
35 2
contracts.py
in src/research_agent/agents
34 3
Layout.tsx
in frontend/src/components
32 -
data_analysis.py
in src/research_agent/agents
29 1
main.py
in src/research_agent/backend
25 2
client.ts
in frontend/src/api
24 1
cli.py
in src/research_agent/interface
24 1
vite.config.ts
in frontend
23 1
AppRoutes.tsx
in frontend/src/routes
21 -
19 1
main.tsx
in frontend/src
16 -
checks.py
in src/research_agent/supervisor
14 1
__init__.py
in src/research_agent/agents
14 -
stats.py
in src/research_agent/analysis
13 2
system.py
in src/research_agent/backend/routes
13 1
index.html
in frontend
12 -
9 -
eda.py
in src/research_agent/analysis
9 1
__init__.py
in src/research_agent/backend/routes
8 -
base.py
in src/research_agent/agents/literature/providers
6 1
eventSource.ts
in frontend/src/lib
4 1
logging.py
in src/research_agent/utils
4 1
config.py
in src/research_agent/backend
3 -
config.py
in src/research_agent/utils
3 -
Files With Most Units (Top 38)
File# lines# units
web_reporter.py
in src/research_agent/reporters
385 52
RunDetailPage.tsx
in frontend/src/pages
1295 37
jobs.py
in src/research_agent/backend
418 22
orchestrator.py
in src/research_agent/supervisor
556 22
streams.py
in src/research_agent/backend
88 16
prompts.py
in src/research_agent/backend
201 12
runtime.py
in src/research_agent/agents
290 12
runs.py
in src/research_agent/backend/routes
197 10
useRuns.ts
in frontend/src/hooks
84 8
useDatabases.ts
in frontend/src/hooks
71 8
csv_importer.py
in src/research_agent/backend/services
201 8
databases.py
in src/research_agent/backend/routes
139 7
prompts.py
in src/research_agent/backend/routes
76 7
usePrompts.ts
in frontend/src/hooks
96 6
__init__.py
in src/research_agent/tools
257 6
config.py
in src/research_agent
78 5
storage.py
in src/research_agent/backend
76 5
DatasetsPage.tsx
in frontend/src/pages
407 4
ingestion.py
in src/research_agent/analysis
47 3
contracts.py
in src/research_agent/agents
34 3
RunsPage.tsx
in frontend/src/pages
381 2
stats.py
in src/research_agent/analysis
13 2
main.py
in src/research_agent/backend
25 2
executor.py
in src/research_agent/backend
35 2
19 1
vite.config.ts
in frontend
23 1
client.ts
in frontend/src/api
24 1
useEventStream.ts
in frontend/src/hooks
44 1
PromptsPage.tsx
in frontend/src/pages
410 1
eventSource.ts
in frontend/src/lib
4 1
eda.py
in src/research_agent/analysis
9 1
cli.py
in src/research_agent/interface
24 1
system.py
in src/research_agent/backend/routes
13 1
checks.py
in src/research_agent/supervisor
14 1
logging.py
in src/research_agent/utils
4 1
data_analysis.py
in src/research_agent/agents
29 1
base.py
in src/research_agent/agents/literature/providers
6 1
__init__.py
in src/research_agent/agents/literature
41 1
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 30 long lines.

File# lines# units# long lines
DatasetsPage.tsx
in frontend/src/pages
407 4 5
RunDetailPage.tsx
in frontend/src/pages
1295 37 5
prompts.py
in src/research_agent/backend
201 12 4
orchestrator.py
in src/research_agent/supervisor
556 22 4
databases.py
in src/research_agent/backend/routes
139 7 3
executor.py
in src/research_agent/backend
35 2 2
index.html
in frontend
12 - 1
PromptsPage.tsx
in frontend/src/pages
410 1 1
csv_importer.py
in src/research_agent/backend/services
201 8 1
jobs.py
in src/research_agent/backend
418 22 1
checks.py
in src/research_agent/supervisor
14 1 1
__init__.py
in src/research_agent/agents/literature
41 1 1
__init__.py
in src/research_agent/tools
257 6 1