facebookresearch / MetaICL
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 138 files with 8,360 lines of code.
    • 1 very long files (2,402 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,089 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (924 lines of code)
    • 126 very small files (3,945 lines of code)
28% | 0% | 13% | 11% | 47%
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
py28% | 0% | 13% | 11% | 47%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
preprocess32% | 0% | 6% | 8% | 52%
metaicl0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 0% | 100% | 0%
utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
_md5sum.py
in preprocess
2402 -
data.py
in metaicl
397 12
model.py
in metaicl
245 16
utils.py
in preprocess
237 8
discovery.py
in preprocess
210 5
test.py
in root
177 2
fewshot_gym_dataset.py
in preprocess
147 6
unifiedqa.py
in preprocess
136 4
_all_tasks.py
in preprocess
127 -
_build_gym.py
in preprocess
121 6
blimp.py
in preprocess
111 5
train.py
in root
105 1
tweet_eval.py
in preprocess
82 4
trec_finegrained.py
in preprocess
78 5
dbpedia_14.py
in preprocess
54 5
acronym_identification.py
in preprocess
49 5
ethos.py
in preprocess
48 5
utils.py
in utils
47 2
superglue_multirc.py
in preprocess
44 5
circa.py
in preprocess
43 5
download.py
in utils
43 2
proto_qa.py
in preprocess
42 5
math_qa.py
in preprocess
42 5
empathetic_dialogues.py
in preprocess
42 5
yahoo_answers_topics.py
in preprocess
41 5
emo.py
in preprocess
40 5
crows_pairs.py
in preprocess
40 5
climate_fever.py
in preprocess
40 5
amazon_polarity.py
in preprocess
39 5
wiki_bio.py
in preprocess
39 6
lama.py
in preprocess
39 5
quartz.py
in preprocess
39 5
onestop_english.py
in preprocess
38 5
medical_questions_pairs.py
in preprocess
38 5
financial_phrasebank.py
in preprocess
38 5
hate_speech18.py
in preprocess
37 5
yelp_polarity.py
in preprocess
37 5
trec.py
in preprocess
37 5
commonsense_qa.py
in preprocess
36 6
sciq.py
in preprocess
36 5
race.py
in preprocess
35 5
agnews.py
in preprocess
35 5
mc_taco.py
in preprocess
35 5
ade_classification.py
in preprocess
34 5
anli.py
in preprocess
34 5
hate_speech_offensive.py
in preprocess
34 5
reddit_tifu.py
in preprocess
34 5
quarel.py
in preprocess
34 5
swag.py
in preprocess
33 5
dream.py
in preprocess
33 5
Files With Most Units (Top 20)
File# lines# units
model.py
in metaicl
245 16
data.py
in metaicl
397 12
utils.py
in preprocess
237 8
fewshot_gym_dataset.py
in preprocess
147 6
commonsense_qa.py
in preprocess
36 6
wiki_bio.py
in preprocess
39 6
_build_gym.py
in preprocess
121 6
ade_classification.py
in preprocess
34 5
emo.py
in preprocess
40 5
anli.py
in preprocess
34 5
wiki_auto.py
in preprocess
29 5
aslg_pc12.py
in preprocess
30 5
onestop_english.py
in preprocess
38 5
ai2_arc.py
in preprocess
31 5
trec_finegrained.py
in preprocess
78 5
amazon_polarity.py
in preprocess
39 5
yelp_review_full.py
in preprocess
28 5
jeopardy.py
in preprocess
30 5
swag.py
in preprocess
33 5
numer_sense.py
in preprocess
30 5
Files With Long Lines (Top 20)

There are 71 files with lines longer than 120 characters. In total, there are 89 long lines.

File# lines# units# long lines
unifiedqa.py
in preprocess
136 4 4
data.py
in metaicl
397 12 4
model.py
in metaicl
245 16 3
fewshot_gym_dataset.py
in preprocess
147 6 2
winogrande.py
in preprocess
24 4 2
ropes.py
in preprocess
29 5 2
glue_qqp.py
in preprocess
30 5 2
_build_gym.py
in preprocess
121 6 2
blimp.py
in preprocess
111 5 2
eli5.py
in preprocess
33 5 2
glue_mnli.py
in preprocess
33 5 2
yahoo_answers_topics.py
in preprocess
41 5 2
liar.py
in preprocess
30 4 2
anli.py
in preprocess
34 5 1
wiki_auto.py
in preprocess
29 5 1
search_qa.py
in preprocess
22 4 1
trec_finegrained.py
in preprocess
78 5 1
amazon_polarity.py
in preprocess
39 5 1
jeopardy.py
in preprocess
30 5 1
superglue_rte.py
in preprocess
25 4 1