facebookresearch / KILT
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 38 files with 3,918 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,101 lines of codeclsfd_ftr_w_mp_ins)
    • 14 small files (2,127 lines of code)
    • 20 very small files (690 lines of code)
0% | 0% | 28% | 54% | 17%
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% | 28% | 54% | 17%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kilt0% | 0% | 61% | 18% | 19%
kilt/readers/t50% | 0% | 63% | 36% | <1%
kilt/datasets0% | 0% | 0% | 90% | 9%
scripts0% | 0% | 0% | 77% | 22%
kilt/retrievers0% | 0% | 0% | 57% | 42%
kilt/readers/fid0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
kilt/configs0% | 0% | 0% | 0% | 100%
kilt/configs/retriever0% | 0% | 0% | 0% | 100%
Longest Files (Top 38)
File# lines# units
kilt_utils.py
in kilt
307 9
eval_retrieval.py
in kilt
293 15
base_transformer.py
in kilt/readers/t5
285 17
finetune.py
in kilt/readers/t5
216 16
create_kilt_data_paragraphs.py
in scripts
200 8
fact_verification.py
in kilt/datasets
193 5
natural_questions.py
in kilt/datasets
184 4
eval_downstream.py
in kilt
183 10
entity_linking.py
in kilt/datasets
181 5
data.py
in kilt/readers/t5
175 8
map_TAC-KBP2010_to_KILT.py
in scripts
171 1
hotpotqa.py
in kilt/datasets
163 4
BLINK_connector.py
in kilt/retrievers
122 3
triviaqa.py
in kilt/datasets
119 4
DPR_connector.py
in kilt/retrievers
111 3
evaluate_kilt_task.py
in kilt/readers/t5
109 4
execute_retrieval.py
in scripts
109 2
zero_shot_re.py
in kilt/datasets
107 6
knowledge_source.py
in kilt
81 9
get_triviaqa_input.py
in scripts
74 1
BM25_connector.py
in kilt/retrievers
73 4
hotpotqa_ks.py
in kilt/datasets
69 2
retrieval.py
in kilt
69 2
DrQA_tfidf.py
in kilt/retrievers
67 4
download_all_kilt_data.py
in scripts
47 -
dataset_mapper.py
in kilt
41 2
base_dataset.py
in kilt/datasets
34 7
preprocess.py
in kilt/readers/fid
32 1
postprocess.py
in kilt/readers/fid
31 1
base_retriever.py
in kilt/retrievers
30 6
map_datasets.py
in scripts
19 -
setup.py
in root
17 -
__init__.py
in kilt/retrievers
1 -
__init__.py
in kilt/datasets
1 -
__init__.py
in kilt
1 -
__init__.py
in kilt/configs
1 -
__init__.py
in kilt/configs/retriever
1 -
__init__.py
in kilt/readers/t5
1 -
Files With Most Units (Top 20)
File# lines# units
base_transformer.py
in kilt/readers/t5
285 17
finetune.py
in kilt/readers/t5
216 16
eval_retrieval.py
in kilt
293 15
eval_downstream.py
in kilt
183 10
kilt_utils.py
in kilt
307 9
knowledge_source.py
in kilt
81 9
data.py
in kilt/readers/t5
175 8
create_kilt_data_paragraphs.py
in scripts
200 8
base_dataset.py
in kilt/datasets
34 7
base_retriever.py
in kilt/retrievers
30 6
zero_shot_re.py
in kilt/datasets
107 6
fact_verification.py
in kilt/datasets
193 5
entity_linking.py
in kilt/datasets
181 5
DrQA_tfidf.py
in kilt/retrievers
67 4
BM25_connector.py
in kilt/retrievers
73 4
natural_questions.py
in kilt/datasets
184 4
hotpotqa.py
in kilt/datasets
163 4
triviaqa.py
in kilt/datasets
119 4
evaluate_kilt_task.py
in kilt/readers/t5
109 4
DPR_connector.py
in kilt/retrievers
111 3
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
eval_retrieval.py
in kilt
293 15 1