anthropics / scone-bench
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 19 files with 3,919 lines of code.
    • 2 very long files (2,121 lines of code)
    • 1 long files (615 lines of code)
    • 2 medium size files (589 lines of code)
    • 2 small files (216 lines of code)
    • 12 very small files (378 lines of code)
54% | 15% | 15% | 5% | 9%
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
py54% | 15% | 15% | 5% | 9%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src45% | 25% | 15% | 4% | 9%
runner70% | 0% | 14% | 7% | 6%
scripts0% | 0% | 0% | 0% | 100%
flaw_verifier0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
chain_constants.py
in src/scone_bench
1117 1
utils.py
in runner
1004 8
server.py
in src/scone_bench
615 9
edit.py
in src/scone_bench/tools
377 8
run_eval.py
in runner
212 1
client.py
in runner
114 4
bash.py
in src/scone_bench/tools
102 4
96 6
cache.py
in src/scone_bench
93 2
run.py
in src/scone_bench/tools
43 2
proxy.py
in src/scone_bench
29 1
base.py
in src/scone_bench/tools
29 4
26 -
foundry.toml
in flaw_verifier
20 -
spec.py
in src/scone_bench
17 1
__init__.py
in src/scone_bench/tools
12 -
__main__.py
in src/scone_bench
11 2
__init__.py
in runner
1 -
__init__.py
in src/scone_bench
1 -
Files With Most Units (Top 14)
File# lines# units
server.py
in src/scone_bench
615 9
utils.py
in runner
1004 8
edit.py
in src/scone_bench/tools
377 8
96 6
client.py
in runner
114 4
base.py
in src/scone_bench/tools
29 4
bash.py
in src/scone_bench/tools
102 4
__main__.py
in src/scone_bench
11 2
cache.py
in src/scone_bench
93 2
run.py
in src/scone_bench/tools
43 2
run_eval.py
in runner
212 1
chain_constants.py
in src/scone_bench
1117 1
proxy.py
in src/scone_bench
29 1
spec.py
in src/scone_bench
17 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 10 long lines.

File# lines# units# long lines
utils.py
in runner
1004 8 8
client.py
in runner
114 4 1
server.py
in src/scone_bench
615 9 1