File Size Overall
  • There are 71 files with 11,276 lines of code.
    • 1 very long files (1,319 lines of code)
    • 4 long files (2,534 lines of code)
    • 13 medium size files (4,266 lines of code)
    • 11 small files (1,611 lines of code)
    • 42 very small files (1,546 lines of code)
11% | 22% | 37% | 14% | 13%
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
jsonl83% | 0% | 16% | 0% | 0%
py0% | 26% | 41% | 16% | 15%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
eval_datasets71% | 0% | 27% | 0% | <1%
deepspec0% | 32% | 39% | 18% | 10%
scripts0% | 0% | 80% | 19% | 0%
config0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
jsonl
gsm8k.jsonl
in eval_datasets
1319 -
target_cache_dataset.py
in deepspec/data
778 52
base_evaluator.py
in deepspec/eval
643 22
modeling.py
in deepspec/modeling/dspark/gemma4
568 14
confidence_head.py
in deepspec/eval/dspark
545 22
modeling.py
in deepspec/modeling/dspark/qwen3
494 14
modeling.py
in deepspec/modeling/eagle3/gemma4
458 15
loss.py
in deepspec/modeling/eagle3
379 12
modeling.py
in deepspec/modeling/eagle3/qwen3
375 14
365 9
base_trainer.py
in deepspec/trainer
364 18
generate_train_data.py
in scripts/data
309 14
loss.py
in deepspec/modeling/dspark
306 8
common.py
in deepspec/modeling/dspark
257 12
jsonl
mbpp.jsonl
in eval_datasets
257 -
254 20
markov_head.py
in deepspec/modeling/dspark
242 16
ckpt_manager.py
in deepspec/trainer
206 10
evaluator.py
in deepspec/eval/dspark
200 12
parser.py
in deepspec/data
191 9
common.py
in deepspec/modeling/eagle3
165 11
download_and_split.py
in scripts/data
164 12
evaluator.py
in deepspec/eval/eagle3
163 7
metrics.py
in deepspec/utils
137 10
draft_ops.py
in deepspec/eval/dspark
133 5
optim.py
in deepspec/utils
124 12
jsonl_dataset.py
in deepspec/data
117 11
config.py
in deepspec/utils
111 11
distributed.py
in deepspec/utils
106 12
config.py
in deepspec/modeling/dspark/gemma4
92 3
training_logger.py
in deepspec/utils
82 6
config.py
in deepspec/modeling/eagle3/gemma4
80 3
__init__.py
in deepspec/utils
73 3
eagle3_trainer.py
in deepspec/trainer
61 4
dspark_gemma4_12b.py
in config/dspark
61 1
dspark_qwen3_14b.py
in config/dspark
61 1
hfai_suspend.py
in deepspec/utils
59 5
dflash_qwen3_14b.py
in config/dflash
59 1
dflash_gemma4_12b.py
in config/dflash
59 1
eval.py
in root
59 2
eagle3_qwen3_14b.py
in config/eagle3
53 1
eagle3_gemma4_12b.py
in config/eagle3
53 1
dspark_qwen3_8b.py
in config/dspark
53 1
dspark_qwen3_4b.py
in config/dspark
53 1
config.py
in deepspec/modeling/dspark/qwen3
52 1
dflash_qwen3_4b.py
in config/dflash
51 1
dflash_qwen3_8b.py
in config/dflash
51 1
eagle3_qwen3_8b.py
in config/eagle3
45 1
eagle3_qwen3_4b.py
in config/eagle3
45 1
cuda_prefetcher.py
in deepspec/data
43 6
Large Files That Change Often (Top 20)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
File# lines≈ tokens
to read
# changes
(1y)
≈ lines edited
per change
lines read per
line changed
base_evaluator.py
in deepspec/eval
643 ~3k–10k 2 ~2 ~300
modeling.py
in deepspec/modeling/dspark/gemma4
568 ~3k–10k 2 ~1 ~500
base_trainer.py
in deepspec/trainer
364 ~2k–7k 3 ~3 ~100
modeling.py
in deepspec/modeling/dspark/qwen3
494 ~3k–7k 2 ~1 ~500
365 ~2k–7k 2 ~2 ~200
distributed.py
in deepspec/utils
106 ~700–1.5k 3 ~3 ~30
optim.py
in deepspec/utils
124 ~700–2k 2 ~2 ~70
dspark_gemma4_12b.py
in config/dspark
61 ~300–1k 3 ~3 ~20
dspark_qwen3_14b.py
in config/dspark
61 ~300–1k 3 ~3 ~20
dflash_gemma4_12b.py
in config/dflash
59 ~300–1k 3 ~3 ~20
dflash_qwen3_14b.py
in config/dflash
59 ~300–1k 3 ~3 ~20
dspark_qwen3_4b.py
in config/dspark
53 ~300–1k 3 ~3 ~15
dspark_qwen3_8b.py
in config/dspark
53 ~300–1k 3 ~3 ~15
dflash_qwen3_4b.py
in config/dflash
51 ~300–1k 3 ~3 ~15
dflash_qwen3_8b.py
in config/dflash
51 ~300–1k 3 ~3 ~15
jsonl_dataset.py
in deepspec/data
117 ~700–2k 1 ~5 ~20
train.py
in root
38 under 1k 2 ~2 ~20
eagle3_gemma4_12b.py
in config/eagle3
53 ~300–1k 1 ~5 ~10
eagle3_qwen3_14b.py
in config/eagle3
53 ~300–1k 1 ~5 ~10
eagle3_qwen3_4b.py
in config/eagle3
45 under 1k 1 ~7 ~5

Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).

Files With Most Units (Top 50)
File# lines# units
target_cache_dataset.py
in deepspec/data
778 52
base_evaluator.py
in deepspec/eval
643 22
confidence_head.py
in deepspec/eval/dspark
545 22
254 20
base_trainer.py
in deepspec/trainer
364 18
markov_head.py
in deepspec/modeling/dspark
242 16
modeling.py
in deepspec/modeling/eagle3/gemma4
458 15
modeling.py
in deepspec/modeling/eagle3/qwen3
375 14
modeling.py
in deepspec/modeling/dspark/gemma4
568 14
modeling.py
in deepspec/modeling/dspark/qwen3
494 14
generate_train_data.py
in scripts/data
309 14
distributed.py
in deepspec/utils
106 12
optim.py
in deepspec/utils
124 12
loss.py
in deepspec/modeling/eagle3
379 12
common.py
in deepspec/modeling/dspark
257 12
evaluator.py
in deepspec/eval/dspark
200 12
download_and_split.py
in scripts/data
164 12
config.py
in deepspec/utils
111 11
common.py
in deepspec/modeling/eagle3
165 11
jsonl_dataset.py
in deepspec/data
117 11
metrics.py
in deepspec/utils
137 10
ckpt_manager.py
in deepspec/trainer
206 10
parser.py
in deepspec/data
191 9
365 9
loss.py
in deepspec/modeling/dspark
306 8
evaluator.py
in deepspec/eval/eagle3
163 7
training_logger.py
in deepspec/utils
82 6
cuda_prefetcher.py
in deepspec/data
43 6
hfai_suspend.py
in deepspec/utils
59 5
sampling.py
in deepspec/utils
39 5
draft_ops.py
in deepspec/eval/dspark
133 5
eagle3_trainer.py
in deepspec/trainer
61 4
__init__.py
in deepspec/utils
73 3
config.py
in deepspec/modeling/eagle3/gemma4
80 3
config.py
in deepspec/modeling/dspark/gemma4
92 3
dspark_trainer.py
in deepspec/trainer
41 3
io.py
in deepspec/utils
11 2
train.py
in root
38 2
eval.py
in root
59 2
config.py
in deepspec/modeling/eagle3/qwen3
36 1
config.py
in deepspec/modeling/dspark/qwen3
52 1
eagle3_qwen3_8b.py
in config/eagle3
45 1
eagle3_qwen3_14b.py
in config/eagle3
53 1
eagle3_gemma4_12b.py
in config/eagle3
53 1
eagle3_qwen3_4b.py
in config/eagle3
45 1
dspark_gemma4_12b.py
in config/dspark
61 1
dspark_qwen3_8b.py
in config/dspark
53 1
dspark_qwen3_14b.py
in config/dspark
61 1
dspark_qwen3_4b.py
in config/dspark
53 1
dflash_qwen3_14b.py
in config/dflash
59 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
jsonl
gsm8k.jsonl
in eval_datasets
1319 - 1319
jsonl
mbpp.jsonl
in eval_datasets
257 - 50
eval.py
in root
59 2 1
Correlations

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

deepspec/utils/io.py x: 2 commits (all time) y: 11 lines of code deepspec/eval/base_evaluator.py x: 2 commits (all time) y: 643 lines of code deepspec/utils/distributed.py x: 3 commits (all time) y: 106 lines of code scripts/data/prepare_target_cache.py x: 2 commits (all time) y: 365 lines of code train.py x: 2 commits (all time) y: 38 lines of code deepspec/data/jsonl_dataset.py x: 1 commits (all time) y: 117 lines of code deepspec/utils/constant/public.py x: 2 commits (all time) y: 9 lines of code config/dflash/dflash_gemma4_12b.py x: 3 commits (all time) y: 59 lines of code config/dflash/dflash_qwen3_4b.py x: 3 commits (all time) y: 51 lines of code config/dspark/dspark_gemma4_12b.py x: 3 commits (all time) y: 61 lines of code config/eagle3/eagle3_gemma4_12b.py x: 1 commits (all time) y: 53 lines of code config/eagle3/eagle3_qwen3_4b.py x: 1 commits (all time) y: 45 lines of code deepspec/trainer/base_trainer.py x: 3 commits (all time) y: 364 lines of code deepspec/utils/constant/__init__.py x: 1 commits (all time) y: 5 lines of code deepspec/utils/optim.py x: 2 commits (all time) y: 124 lines of code deepspec/modeling/dspark/gemma4/modeling.py x: 2 commits (all time) y: 568 lines of code deepspec/modeling/dspark/qwen3/modeling.py x: 2 commits (all time) y: 494 lines of code
643.0
lines of code
  min: 5.0
  average: 145.33
  25th percentile: 46.5
  median: 56.0
  75th percentile: 122.25
  max: 643.0
0 3.0
commits (all time)
min: 1.0 | average: 2.17 | 25th percentile: 1.25 | median: 2.0 | 75th percentile: 3.0 | max: 3.0

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

deepspec/utils/io.py x: 2 contributors (all time) y: 11 lines of code deepspec/eval/base_evaluator.py x: 2 contributors (all time) y: 643 lines of code deepspec/utils/distributed.py x: 3 contributors (all time) y: 106 lines of code scripts/data/prepare_target_cache.py x: 2 contributors (all time) y: 365 lines of code train.py x: 2 contributors (all time) y: 38 lines of code deepspec/data/jsonl_dataset.py x: 1 contributors (all time) y: 117 lines of code deepspec/utils/constant/public.py x: 1 contributors (all time) y: 9 lines of code config/dflash/dflash_gemma4_12b.py x: 3 contributors (all time) y: 59 lines of code config/dflash/dflash_qwen3_4b.py x: 3 contributors (all time) y: 51 lines of code config/dspark/dspark_gemma4_12b.py x: 3 contributors (all time) y: 61 lines of code config/eagle3/eagle3_gemma4_12b.py x: 1 contributors (all time) y: 53 lines of code config/eagle3/eagle3_qwen3_4b.py x: 1 contributors (all time) y: 45 lines of code deepspec/trainer/base_trainer.py x: 3 contributors (all time) y: 364 lines of code deepspec/utils/constant/__init__.py x: 1 contributors (all time) y: 5 lines of code deepspec/utils/optim.py x: 2 contributors (all time) y: 124 lines of code deepspec/modeling/dspark/gemma4/modeling.py x: 2 contributors (all time) y: 568 lines of code deepspec/modeling/dspark/qwen3/modeling.py x: 2 contributors (all time) y: 494 lines of code
643.0
lines of code
  min: 5.0
  average: 145.33
  25th percentile: 46.5
  median: 56.0
  75th percentile: 122.25
  max: 643.0
0 3.0
contributors (all time)
min: 1.0 | average: 2.13 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.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): 5 points

deepspec/utils/io.py x: 2 commits (90d) y: 11 lines of code deepspec/eval/base_evaluator.py x: 1 commits (90d) y: 643 lines of code deepspec/utils/distributed.py x: 1 commits (90d) y: 106 lines of code scripts/data/prepare_target_cache.py x: 1 commits (90d) y: 365 lines of code train.py x: 1 commits (90d) y: 38 lines of code
643.0
lines of code
  min: 11.0
  average: 232.6
  25th percentile: 24.5
  median: 106.0
  75th percentile: 504.0
  max: 643.0
0 2.0
commits (90d)
min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 2.0

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

deepspec/utils/io.py x: 2 contributors (90d) y: 11 lines of code deepspec/eval/base_evaluator.py x: 1 contributors (90d) y: 643 lines of code deepspec/utils/distributed.py x: 1 contributors (90d) y: 106 lines of code scripts/data/prepare_target_cache.py x: 1 contributors (90d) y: 365 lines of code train.py x: 1 contributors (90d) y: 38 lines of code
643.0
lines of code
  min: 11.0
  average: 232.6
  25th percentile: 24.5
  median: 106.0
  75th percentile: 504.0
  max: 643.0
0 2.0
contributors (90d)
min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 2.0
About This Analysis
  • 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...