File Size Overall
  • There are 35 files with 4,047 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 11 medium size files (2,729 lines of code)
    • 5 small files (750 lines of code)
    • 19 very small files (568 lines of code)
0% | 0% | 67% | 18% | 14%
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% | 61% | 20% | 18%
jsonl0% | 0% | 83% | 16% | 0%
yaml0% | 0% | 96% | 0% | 3%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
evaluation0% | 0% | 70% | 19% | 10%
replicate0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
jsonl
gaokao-mathqa.jsonl
in evaluation/datasets/agieval
351 -
run_tool_integrated_eval.py
in evaluation/infer
290 5
eval_utils.py
in evaluation/eval
262 12
environment.yml
in evaluation
256 -
jsonl
mgsm_zh.jsonl
in evaluation/datasets/mgsm_zh
250 -
answer_extraction.py
in evaluation/data_processing
250 19
231 12
run_pal_eval.py
in evaluation/infer
216 2
utils.py
in evaluation/eval
215 6
run_cot_eval.py
in evaluation/infer
204 3
ocwcourses_eval_utils.py
in evaluation/eval
204 11
170 3
process_utils.py
in evaluation/data_processing
157 11
eval_script.py
in evaluation/eval
154 9
python_executor.py
in evaluation/eval
151 10
jsonl
gaokao-mathcloze.jsonl
in evaluation/datasets/agieval
118 -
100 5
pal_gsm_8_shot.py
in evaluation/few_shot_prompts
92 11
73 2
predict.py
in replicate
70 2
submit_eval_jobs.py
in evaluation
61 1
utils.py
in evaluation
27 3
minif2f_isabelle.py
in evaluation/few_shot_prompts
19 3
cot_ocwcourses_4_shot.py
in evaluation/few_shot_prompts
13 3
cot_gaokao_mathqa_5_shot.py
in evaluation/few_shot_prompts
11 3
cot_gaokao_mathcloze_5_shot.py
in evaluation/few_shot_prompts
11 3
__init__.py
in evaluation/few_shot_prompts
11 -
cot_math_sat_4_shot.py
in evaluation/few_shot_prompts
11 3
cot_gsm_8_shot.py
in evaluation/few_shot_prompts
11 3
cot_cmath_6_shot.py
in evaluation/few_shot_prompts
11 3
cot_mmlu_stem_4_shot.py
in evaluation/few_shot_prompts
10 3
pal_math_4_shot.py
in evaluation/few_shot_prompts
10 3
cot_minerva_math_4_shot.py
in evaluation/few_shot_prompts
10 3
cog.yaml
in root
10 -
few_shot_prompting.py
in evaluation/few_shot_prompts
7 3
Files With Most Units (Top 29)
File# lines# units
answer_extraction.py
in evaluation/data_processing
250 19
eval_utils.py
in evaluation/eval
262 12
231 12
process_utils.py
in evaluation/data_processing
157 11
pal_gsm_8_shot.py
in evaluation/few_shot_prompts
92 11
ocwcourses_eval_utils.py
in evaluation/eval
204 11
python_executor.py
in evaluation/eval
151 10
eval_script.py
in evaluation/eval
154 9
utils.py
in evaluation/eval
215 6
100 5
run_tool_integrated_eval.py
in evaluation/infer
290 5
170 3
cot_mmlu_stem_4_shot.py
in evaluation/few_shot_prompts
10 3
cot_gaokao_mathqa_5_shot.py
in evaluation/few_shot_prompts
11 3
pal_math_4_shot.py
in evaluation/few_shot_prompts
10 3
cot_ocwcourses_4_shot.py
in evaluation/few_shot_prompts
13 3
cot_gaokao_mathcloze_5_shot.py
in evaluation/few_shot_prompts
11 3
cot_minerva_math_4_shot.py
in evaluation/few_shot_prompts
10 3
minif2f_isabelle.py
in evaluation/few_shot_prompts
19 3
cot_math_sat_4_shot.py
in evaluation/few_shot_prompts
11 3
few_shot_prompting.py
in evaluation/few_shot_prompts
7 3
cot_gsm_8_shot.py
in evaluation/few_shot_prompts
11 3
cot_cmath_6_shot.py
in evaluation/few_shot_prompts
11 3
utils.py
in evaluation
27 3
run_cot_eval.py
in evaluation/infer
204 3
predict.py
in replicate
70 2
73 2
run_pal_eval.py
in evaluation/infer
216 2
submit_eval_jobs.py
in evaluation
61 1
Files With Long Lines (Top 17)

There are 17 files with lines longer than 120 characters. In total, there are 787 long lines.

File# lines# units# long lines
jsonl
gaokao-mathqa.jsonl
in evaluation/datasets/agieval
351 - 351
jsonl
mgsm_zh.jsonl
in evaluation/datasets/mgsm_zh
250 - 250
jsonl
gaokao-mathcloze.jsonl
in evaluation/datasets/agieval
118 - 118
run_tool_integrated_eval.py
in evaluation/infer
290 5 14
pal_gsm_8_shot.py
in evaluation/few_shot_prompts
92 11 8
utils.py
in evaluation/eval
215 6 8
eval_utils.py
in evaluation/eval
262 12 8
run_cot_eval.py
in evaluation/infer
204 3 7
170 3 6
run_pal_eval.py
in evaluation/infer
216 2 5
process_utils.py
in evaluation/data_processing
157 11 3
python_executor.py
in evaluation/eval
151 10 3
73 2 2
predict.py
in replicate
70 2 1
pal_math_4_shot.py
in evaluation/few_shot_prompts
10 3 1
eval_script.py
in evaluation/eval
154 9 1
231 12 1
Correlations

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

evaluation/summarize_results.py x: 1 commits (all time) y: 100 lines of code cog.yaml x: 3 commits (all time) y: 10 lines of code replicate/predict.py x: 2 commits (all time) y: 70 lines of code replicate/predict_instruct.py x: 2 commits (all time) y: 73 lines of code evaluation/infer/run_cot_eval.py x: 1 commits (all time) y: 204 lines of code evaluation/infer/run_pal_eval.py x: 1 commits (all time) y: 216 lines of code evaluation/infer/run_tool_integrated_eval.py x: 1 commits (all time) y: 290 lines of code evaluation/submit_eval_jobs.py x: 1 commits (all time) y: 61 lines of code
290.0
lines of code
  min: 10.0
  average: 128.0
  25th percentile: 63.25
  median: 86.5
  75th percentile: 213.0
  max: 290.0
0 3.0
commits (all time)
min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0

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

evaluation/summarize_results.py x: 1 contributors (all time) y: 100 lines of code cog.yaml x: 2 contributors (all time) y: 10 lines of code replicate/predict.py x: 2 contributors (all time) y: 70 lines of code replicate/predict_instruct.py x: 2 contributors (all time) y: 73 lines of code evaluation/infer/run_cot_eval.py x: 1 contributors (all time) y: 204 lines of code evaluation/infer/run_pal_eval.py x: 1 contributors (all time) y: 216 lines of code evaluation/infer/run_tool_integrated_eval.py x: 1 contributors (all time) y: 290 lines of code evaluation/submit_eval_jobs.py x: 1 contributors (all time) y: 61 lines of code
290.0
lines of code
  min: 10.0
  average: 128.0
  25th percentile: 63.25
  median: 86.5
  75th percentile: 213.0
  max: 290.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.38 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.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".

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...