CasualML
File Size

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), 100-200 (small files), 200-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 40 files with 5,393 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (895 lines of code)
    • 8 medium size files (2,487 lines of code)
    • 9 small files (1,315 lines of code)
    • 22 very small files (696 lines of code)
0% | 16% | 46% | 24% | 12%
Legend:
1001+
501-1000
201-500
101-200
1-100
File Size per Extension
py0% | 16% | 46% | 24% | 12%
Legend:
1001+
501-1000
201-500
101-200
1-100
File Size per Logical Decomposition
primary
causalml/inference0% | 29% | 43% | 21% | 5%
causalml/metrics0% | 0% | 91% | 0% | 8%
causalml/dataset0% | 0% | 50% | 46% | 2%
causalml0% | 0% | 54% | 0% | 45%
causalml/feature_selection0% | 0% | 0% | 99% | <1%
causalml/optimize0% | 0% | 0% | 47% | 52%
ROOT0% | 0% | 0% | 0% | 100%
Legend:
1001+
501-1000
201-500
101-200
1-100
Alternative Visuals
Longest Files (Top 40)
File# lines# units
models.py
in causalml/inference/tree
895 25
xlearner.py
in causalml/inference/meta
415 16
rlearner.py
in causalml/inference/meta
401 18
visualize.py
in causalml/metrics
381 20
synthetic.py
in causalml/dataset
289 11
sensitivity.py
in causalml/metrics
277 24
tlearner.py
in causalml/inference/meta
248 17
slearner.py
in causalml/inference/meta
240 20
match.py
in causalml
236 10
filters.py
in causalml/feature_selection
198 13
unit_selection.py
in causalml/optimize
196 9
utils.py
in causalml/inference/tree
178 5
regression.py
in causalml/dataset
161 6
plot.py
in causalml/inference/tree
156 2
explainer.py
in causalml/inference/meta
115 11
dragonnet.py
in causalml/inference/nn
106 7
classification.py
in causalml/dataset
103 1
tmle.py
in causalml/inference/meta
102 7
propensity.py
in causalml
95 11
features.py
in causalml
92 14
utils.py
in causalml/optimize
91 3
value_optimization.py
in causalml/optimize
82 5
utils.py
in causalml/inference/meta
57 6
utils.py
in causalml/inference/nn
55 9
setup.py
in null
50 -
regression.py
in causalml/metrics
42 6
policylearner.py
in causalml/optimize
36 4
iv_regression.py
in causalml/inference/iv
35 3
__init__.py
in causalml/dataset
14 -
classification.py
in causalml/metrics
11 2
__init__.py
in causalml
10 -
__init__.py
in causalml/metrics
7 -
__init__.py
in causalml/inference/tree
5 -
__init__.py
in causalml/inference/meta
5 -
__init__.py
in causalml/optimize
4 -
const.py
in causalml/metrics
1 -
__init__.py
in causalml/feature_selection
1 -
__init__.py
in causalml/inference/nn
1 -
__init__.py
in causalml/inference
1 -
__init__.py
in causalml/inference/iv
1 -
Files With Most Units (Top 28)
File# lines# units
models.py
in causalml/inference/tree
895 25
sensitivity.py
in causalml/metrics
277 24
visualize.py
in causalml/metrics
381 20
slearner.py
in causalml/inference/meta
240 20
rlearner.py
in causalml/inference/meta
401 18
tlearner.py
in causalml/inference/meta
248 17
xlearner.py
in causalml/inference/meta
415 16
features.py
in causalml
92 14
filters.py
in causalml/feature_selection
198 13
propensity.py
in causalml
95 11
synthetic.py
in causalml/dataset
289 11
explainer.py
in causalml/inference/meta
115 11
match.py
in causalml
236 10
unit_selection.py
in causalml/optimize
196 9
utils.py
in causalml/inference/nn
55 9
dragonnet.py
in causalml/inference/nn
106 7
tmle.py
in causalml/inference/meta
102 7
regression.py
in causalml/metrics
42 6
regression.py
in causalml/dataset
161 6
utils.py
in causalml/inference/meta
57 6
value_optimization.py
in causalml/optimize
82 5
utils.py
in causalml/inference/tree
178 5
policylearner.py
in causalml/optimize
36 4
utils.py
in causalml/optimize
91 3
iv_regression.py
in causalml/inference/iv
35 3
classification.py
in causalml/metrics
11 2
plot.py
in causalml/inference/tree
156 2
classification.py
in causalml/dataset
103 1