amazon-research / generalized-fairness-metrics
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 63 files with 6,138 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (508 lines of code)
    • 8 medium size files (2,638 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,488 lines of code)
    • 43 very small files (1,504 lines of code)
0% | 8% | 42% | 24% | 24%
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% | 12% | 51% | 15% | 20%
ts0% | 0% | 72% | 13% | 13%
tsx0% | 0% | 0% | 60% | 39%
css0% | 0% | 0% | 100% | 0%
jsonnet0% | 0% | 0% | 44% | 55%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
expanded_checklist/checklist0% | 22% | 69% | 4% | 3%
expanded_checklist/visual_interface/src0% | 0% | 33% | 43% | 23%
expanded_checklist/checklist/graphs0% | 0% | 99% | 0% | <1%
ROOT0% | 0% | 0% | 80% | 19%
src/models0% | 0% | 0% | 66% | 33%
expanded_checklist/checklist/viewer0% | 0% | 0% | 45% | 54%
experiments0% | 0% | 0% | 44% | 55%
src/models/readers0% | 0% | 0% | 22% | 77%
src0% | 0% | 0% | 0% | 100%
expanded_checklist0% | 0% | 0% | 0% | 100%
expanded_checklist/visual_interface/lib0% | 0% | 0% | 0% | 100%
expanded_checklist/visual_interface0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
core_record.py
in expanded_checklist/checklist
508 18
graphs.py
in expanded_checklist/checklist/graphs
451 10
editor.py
in expanded_checklist/checklist
377 28
FakeData.ts
in expanded_checklist/visual_interface/src/stores
368 1
perturb.py
in expanded_checklist/checklist
356 14
utils.py
in expanded_checklist/checklist
301 19
eval_core.py
in expanded_checklist/checklist
293 17
text_generation.py
in expanded_checklist/checklist
282 20
Utils.ts
in expanded_checklist/visual_interface/src/stores
210 14
style.css
in expanded_checklist/visual_interface/src
197 -
SuiteSummarizer.tsx
in expanded_checklist/visual_interface/src/components/suite_summarizer
197 8
TokenSpan.tsx
in expanded_checklist/visual_interface/src/components/template_editor
154 13
reproduce.py
in root
144 7
process_predictions.py
in src/models
129 7
fake_data.py
in expanded_checklist/checklist/viewer
119 -
ner-roberta.jsonnet
in experiments
116 -
multilingual.py
in expanded_checklist/checklist
113 2
flexible_reader.py
in src/models/readers
110 4
TemplateStore.ts
in expanded_checklist/visual_interface/src/stores/templates
105 6
viewer.tsx
in expanded_checklist/visual_interface/src/components/suite_summarizer
104 8
sst_reader.py
in src/models/readers
96 4
TemplateEditor.tsx
in expanded_checklist/visual_interface/src/components/template_editor
89 6
template_editor.py
in expanded_checklist/checklist/viewer
79 4
semeval_reader.py
in src/models/readers
78 4
roberta.jsonnet
in experiments
73 -
electra.jsonnet
in experiments
73 -
simple_reader.py
in src/models/readers
68 4
setup.py
in expanded_checklist
68 7
huggingface_reader.py
in src/models/readers
67 3
read_data.py
in src/models/readers
59 1
viewer.tsx
in expanded_checklist/visual_interface/src/components/template_editor
56 6
ExampleViewer.tsx
in expanded_checklist/visual_interface/src/components/template_editor
55 4
App.tsx
in expanded_checklist/visual_interface/src/components
53 2
lexicons.py
in expanded_checklist/checklist
52 6
TemplateToken.ts
in expanded_checklist/visual_interface/src/stores/templates
50 7
utils.py
in src
49 4
suite_summarizer.py
in expanded_checklist/checklist/viewer
46 3
Interface.ts
in expanded_checklist/visual_interface/src/stores
46 -
turn_data_to_json.py
in src/models
43 2
config.py
in src
39 -
PerTemplateEditor.tsx
in expanded_checklist/visual_interface/src/components/template_editor
37 2
requirements.yml
in root
34 -
examples.py
in src
29 -
extension.js
in expanded_checklist/visual_interface/lib
25 1
sequence_predictor.py
in src/models
19 2
pred_wrapper.py
in expanded_checklist/checklist
17 2
labplugin.js
in expanded_checklist/visual_interface/lib
14 1
Template.ts
in expanded_checklist/visual_interface/src/stores/templates
13 1
index.html
in expanded_checklist/visual_interface
13 -
index.js
in expanded_checklist/visual_interface/lib
10 -
Files With Most Units (Top 20)
File# lines# units
editor.py
in expanded_checklist/checklist
377 28
text_generation.py
in expanded_checklist/checklist
282 20
utils.py
in expanded_checklist/checklist
301 19
core_record.py
in expanded_checklist/checklist
508 18
eval_core.py
in expanded_checklist/checklist
293 17
perturb.py
in expanded_checklist/checklist
356 14
Utils.ts
in expanded_checklist/visual_interface/src/stores
210 14
TokenSpan.tsx
in expanded_checklist/visual_interface/src/components/template_editor
154 13
graphs.py
in expanded_checklist/checklist/graphs
451 10
viewer.tsx
in expanded_checklist/visual_interface/src/components/suite_summarizer
104 8
SuiteSummarizer.tsx
in expanded_checklist/visual_interface/src/components/suite_summarizer
197 8
process_predictions.py
in src/models
129 7
reproduce.py
in root
144 7
setup.py
in expanded_checklist
68 7
TemplateToken.ts
in expanded_checklist/visual_interface/src/stores/templates
50 7
lexicons.py
in expanded_checklist/checklist
52 6
TemplateStore.ts
in expanded_checklist/visual_interface/src/stores/templates
105 6
viewer.tsx
in expanded_checklist/visual_interface/src/components/template_editor
56 6
TemplateEditor.tsx
in expanded_checklist/visual_interface/src/components/template_editor
89 6
simple_reader.py
in src/models/readers
68 4
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 18 long lines.

File# lines# units# long lines
FakeData.ts
in expanded_checklist/visual_interface/src/stores
368 1 10
text_generation.py
in expanded_checklist/checklist
282 20 3
setup.py
in expanded_checklist
68 7 1
editor.py
in expanded_checklist/checklist
377 28 1
template_editor.py
in expanded_checklist/checklist/viewer
79 4 1
Utils.ts
in expanded_checklist/visual_interface/src/stores
210 14 1
SuiteSummarizer.tsx
in expanded_checklist/visual_interface/src/components/suite_summarizer
197 8 1