amazon-research / minimax-fair
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 20 files with 1,703 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (843 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (424 lines of code)
    • 15 very small files (436 lines of code)
0% | 0% | 49% | 24% | 25%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 49% | 24% | 25%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 39% | 25% | 35%
ROOT0% | 0% | 75% | 24% | 0%
Longest Files (Top 20)
File# lines# units
minmaxML.py
in src
493 17
main_driver.py
in root
350 -
plot_relaxed_pareto.py
in src
198 3
dataset_mapping.py
in root
114 1
plotting.py
in src
112 1
generate_matrices.py
in src
96 5
setup_matrices.py
in src
85 2
train_test_split.py
in src
44 1
torch_wrapper.py
in src
40 6
write_params_to_file.py
in src
26 2
save_models.py
in src
21 2
hull_to_pareto.py
in src
20 1
clean_communities_data.py
in src
19 -
save_dataset.py
in src
18 1
paired_regression_classifier.py
in src
15 3
setup_credit_dataset.py
in src
14 2
read_file.py
in src
13 1
save_plots.py
in src
10 1
clean_adult_data.py
in src
8 -
combine_wine_data.py
in src
7 -
Files With Most Units (Top 16)
File# lines# units
minmaxML.py
in src
493 17
torch_wrapper.py
in src
40 6
generate_matrices.py
in src
96 5
paired_regression_classifier.py
in src
15 3
plot_relaxed_pareto.py
in src
198 3
save_models.py
in src
21 2
setup_credit_dataset.py
in src
14 2
write_params_to_file.py
in src
26 2
setup_matrices.py
in src
85 2
train_test_split.py
in src
44 1
hull_to_pareto.py
in src
20 1
save_dataset.py
in src
18 1
save_plots.py
in src
10 1
read_file.py
in src
13 1
plotting.py
in src
112 1
dataset_mapping.py
in root
114 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
setup_credit_dataset.py
in src
14 2 3
generate_matrices.py
in src
96 5 1