microsoft / EconML
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 117 files with 19,414 lines of code.
    • 1 very long files (1,105 lines of code)
    • 9 long files (6,128 lines of code)
    • 21 medium size files (6,843 lines of codeclsfd_ftr_w_mp_ins)
    • 23 small files (3,507 lines of code)
    • 63 very small files (1,831 lines of code)
5% | 31% | 35% | 18% | 9%
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
py6% | 30% | 37% | 18% | 6%
pyx0% | 56% | 30% | 8% | 4%
yml0% | 0% | 0% | 78% | 21%
tex0% | 0% | 0% | 100% | 0%
pxd0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
sty0% | 0% | 0% | 0% | 100%
R0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
bib0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
econml/iv52% | 32% | 0% | 14% | <1%
econml/solutions0% | 99% | 0% | 0% | <1%
econml/sklearn_extensions0% | 78% | 0% | 17% | 3%
econml/inference0% | 78% | 0% | 19% | 1%
econml/orf0% | 85% | 0% | 13% | <1%
econml/grf0% | 38% | 28% | 23% | 9%
econml/tree0% | 32% | 49% | 0% | 18%
econml0% | 25% | 52% | 14% | 7%
econml/dml0% | 46% | 41% | 10% | <1%
prototypes/orthogonal_forests0% | 0% | 73% | 11% | 15%
prototypes/dml_iv0% | 0% | 46% | 39% | 14%
econml/dr0% | 0% | 98% | 0% | 1%
prototypes/dynamic_dml0% | 0% | 50% | 49% | 0%
econml/dynamic0% | 0% | 99% | 0% | <1%
monte_carlo_tests0% | 0% | 90% | 0% | 9%
econml/data0% | 0% | 57% | 23% | 19%
econml/policy0% | 0% | 46% | 45% | 7%
econml/cate_interpreter0% | 0% | 98% | 0% | 1%
econml/metalearners0% | 0% | 0% | 97% | 2%
ROOT0% | 0% | 0% | 48% | 51%
econml/automated_ml0% | 0% | 0% | 95% | 4%
econml/_ensemble0% | 0% | 0% | 0% | 100%
econml/score0% | 0% | 0% | 0% | 100%
doc0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
_dr.py
in econml/iv/dr
1105 95
_causal_analysis.py
in econml/solutions/causal_analysis
952 50
linear_model.py
in econml/sklearn_extensions
772 67
_inference.py
in econml/inference
737 89
_ortho_forest.py
in econml/orf
713 42
_dml.py
in econml/iv/dml
693 80
pyx
_criterion.pyx
in econml/grf
607 4
pyx
_tree.pyx
in econml/tree
598 23
utilities.py
in econml
548 69
dml.py
in econml/dml
508 58
_drlearner.py
in econml/dr
466 57
causal_forest.py
in econml/dml
453 45
_base_grf.py
in econml/grf
445 26
_cate_estimator.py
in econml
441 75
_dml.py
in econml/dynamic/dml
427 44
monte_carlo_statsmodels.py
in monte_carlo_tests
414 13
pyx
_splitter.pyx
in econml/tree
409 5
dynamic_panel_dgp.py
in econml/data
356 23
_ortho_learner.py
in econml
339 23
_tree_exporter.py
in econml
329 24
comparison_plots.py
in prototypes/orthogonal_forests
292 13
_drlearner.py
in econml/policy
287 24
dr_iv.py
in prototypes/dml_iv
282 24
ortho_forest.py
in prototypes/orthogonal_forests
267 29
utilities.py
in prototypes/dml_iv
254 45
pyx
_criterion.pyx
in econml/tree
245 5
monte_carlo.py
in prototypes/orthogonal_forests
237 4
_tree_classes.py
in econml/tree
236 11
dynamic_panel_dgp.py
in prototypes/dynamic_dml
236 18
coverage_panel_hetero.py
in prototypes/dynamic_dml
217 3
_interpreters.py
in econml/cate_interpreter
211 10
_metalearners.py
in econml/metalearners
197 14
pyx
_utils.pyx
in econml/grf
189 -
_shap.py
in econml
186 5
_bootstrap.py
in econml/inference
185 4
classes.py
in econml/grf
182 23
model_selection.py
in econml/sklearn_extensions
175 11
_forest.py
in econml/policy/_forest
173 11
hetero_panel_dynamic_dml.py
in prototypes/dynamic_dml
170 13
azure-pipelines.yml
in root
168 -
coverage_experiment.py
in prototypes/dml_iv
164 13
_deepiv.py
in econml/iv/nnet
158 10
dml_ate_iv.py
in prototypes/dml_iv
150 16
panel_dynamic_dml.py
in prototypes/dynamic_dml
144 14
tex
data_doc.tex
in econml/data
142 -
_automated_ml.py
in econml/automated_ml
139 14
_tsls.py
in econml/iv/sieve
138 13
dml_iv.py
in prototypes/dml_iv
134 13
coverage_panel.py
in prototypes/dynamic_dml
134 3
causal_tree.py
in prototypes/orthogonal_forests
124 10
Files With Most Units (Top 20)
File# lines# units
_dr.py
in econml/iv/dr
1105 95
_inference.py
in econml/inference
737 89
_dml.py
in econml/iv/dml
693 80
_cate_estimator.py
in econml
441 75
utilities.py
in econml
548 69
linear_model.py
in econml/sklearn_extensions
772 67
dml.py
in econml/dml
508 58
_drlearner.py
in econml/dr
466 57
_causal_analysis.py
in econml/solutions/causal_analysis
952 50
causal_forest.py
in econml/dml
453 45
utilities.py
in prototypes/dml_iv
254 45
_dml.py
in econml/dynamic/dml
427 44
_ortho_forest.py
in econml/orf
713 42
ortho_forest.py
in prototypes/orthogonal_forests
267 29
_base_grf.py
in econml/grf
445 26
_tree_exporter.py
in econml
329 24
_drlearner.py
in econml/policy
287 24
dr_iv.py
in prototypes/dml_iv
282 24
_ortho_learner.py
in econml
339 23
dynamic_panel_dgp.py
in econml/data
356 23
Files With Long Lines (Top 20)

There are 20 files with lines longer than 120 characters. In total, there are 103 long lines.

File# lines# units# long lines
coverage_panel_hetero.py
in prototypes/dynamic_dml
217 3 22
tex
data_doc.tex
in econml/data
142 - 18
dynamic_panel_dgp.py
in prototypes/dynamic_dml
236 18 12
coverage_panel.py
in prototypes/dynamic_dml
134 3 9
utilities.py
in prototypes/dml_iv
254 45 7
comparison_plots.py
in prototypes/orthogonal_forests
292 13 6
monte_carlo.py
in prototypes/orthogonal_forests
237 4 6
deep_dr_iv.py
in prototypes/dml_iv
91 7 4
azure-pipelines.yml
in root
168 - 3
hetero_dml.py
in prototypes/orthogonal_forests
56 7 3
hetero_panel_dynamic_dml.py
in prototypes/dynamic_dml
170 13 2
causal_tree.py
in prototypes/orthogonal_forests
124 10 2
ortho_forest.py
in prototypes/orthogonal_forests
267 29 2
azure-pipelines-steps.yml
in root
46 - 1
monte_carlo_statsmodels.py
in monte_carlo_tests
414 13 1
coverage_experiment.py
in prototypes/dml_iv
164 13 1
deep_dml_iv.py
in prototypes/dml_iv
39 1 1
panel_dynamic_dml.py
in prototypes/dynamic_dml
144 14 1
residualizer.py
in prototypes/orthogonal_forests
46 2 1
pyproject.toml
in root
18 - 1