microsoft / dowhy
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 71 files with 6,378 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,154 lines of code)
    • 6 medium size files (1,872 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,479 lines of code)
    • 52 very small files (1,873 lines of code)
0% | 18% | 29% | 23% | 29%
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% | 18% | 29% | 23% | 28%
yml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
dowhy0% | 47% | 40% | 5% | 6%
dowhy/causal_refuters0% | 0% | 69% | 11% | 18%
dowhy/causal_identifiers0% | 0% | 57% | 42% | <1%
dowhy/causal_estimators0% | 0% | 0% | 57% | 42%
dowhy/utils0% | 0% | 0% | 38% | 61%
dowhy/do_samplers0% | 0% | 0% | 40% | 59%
dowhy/interpreters0% | 0% | 0% | 0% | 100%
dowhy/graph_learners0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
dowhy/api0% | 0% | 0% | 0% | 100%
binder0% | 0% | 0% | 0% | 100%
dowhy/data_transformers0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
causal_identifier.py
in dowhy
634 26
causal_estimator.py
in dowhy
520 40
add_unobserved_common_cause.py
in dowhy/causal_refuters
399 8
causal_graph.py
in dowhy
376 27
datasets.py
in dowhy
332 10
causal_model.py
in dowhy
271 13
dummy_outcome_refuter.py
in dowhy/causal_refuters
249 9
backdoor.py
in dowhy/causal_identifiers
245 24
id_identifier.py
in dowhy/causal_identifiers
182 9
two_stage_regression_estimator.py
in dowhy/causal_estimators
165 4
distance_matching_estimator.py
in dowhy/causal_estimators
155 3
causal_refuter.py
in dowhy
141 11
graph_operations.py
in dowhy/utils
134 7
econml.py
in dowhy/causal_estimators
128 6
propensity_score_weighting_estimator.py
in dowhy/causal_estimators
125 3
propensity_score_stratification_estimator.py
in dowhy/causal_estimators
115 4
propensity_score.py
in dowhy/utils
115 8
placebo_treatment_refuter.py
in dowhy/causal_refuters
110 2
mcmc_sampler.py
in dowhy/do_samplers
109 11
regression_estimator.py
in dowhy/causal_estimators
99 5
instrumental_variable_estimator.py
in dowhy/causal_estimators
86 3
random_neural_network.py
in dowhy/utils/dgps
82 4
propensity_score_matching_estimator.py
in dowhy/causal_estimators
81 3
bootstrap_refuter.py
in dowhy/causal_refuters
79 2
causalml.py
in dowhy/causal_estimators
77 4
causal_data_frame.py
in dowhy/api
75 5
kernel_density_sampler.py
in dowhy/do_samplers
75 7
do_sampler.py
in dowhy
70 9
ordered_set.py
in dowhy/utils
66 13
quadratic_dgp.py
in dowhy/utils/dgps
64 6
confounder_distribution_interpreter.py
in dowhy/interpreters
62 3
cubic_dgp.py
in dowhy/utils/dgps
62 6
propensity_balance_interpreter.py
in dowhy/interpreters
58 2
dgp.py
in dowhy/utils
52 5
linear_dgp.py
in dowhy/utils/dgps
46 6
propensity_score_estimator.py
in dowhy/causal_estimators
43 3
setup.py
in root
42 -
plotter.py
in dowhy
41 2
linear_regression_estimator.py
in dowhy/causal_estimators
39 6
random_common_cause.py
in dowhy/causal_refuters
39 2
data_subset_refuter.py
in dowhy/causal_refuters
37 2
regression_discontinuity_estimator.py
in dowhy/causal_estimators
36 3
weighting_sampler.py
in dowhy/do_samplers
36 5
multivariate_weighting_sampler.py
in dowhy/do_samplers
34 5
azure-pipelines.yml
in root
30 -
__init__.py
in dowhy/graph_learners
27 2
generalized_linear_model_estimator.py
in dowhy/causal_estimators
26 3
cdt.py
in dowhy/graph_learners
26 2
interpreter.py
in dowhy
26 2
environment.yml
in binder
25 -
Files With Most Units (Top 20)
File# lines# units
causal_estimator.py
in dowhy
520 40
causal_graph.py
in dowhy
376 27
causal_identifier.py
in dowhy
634 26
backdoor.py
in dowhy/causal_identifiers
245 24
causal_model.py
in dowhy
271 13
ordered_set.py
in dowhy/utils
66 13
causal_refuter.py
in dowhy
141 11
mcmc_sampler.py
in dowhy/do_samplers
109 11
datasets.py
in dowhy
332 10
id_identifier.py
in dowhy/causal_identifiers
182 9
dummy_outcome_refuter.py
in dowhy/causal_refuters
249 9
do_sampler.py
in dowhy
70 9
add_unobserved_common_cause.py
in dowhy/causal_refuters
399 8
propensity_score.py
in dowhy/utils
115 8
kernel_density_sampler.py
in dowhy/do_samplers
75 7
graph_operations.py
in dowhy/utils
134 7
econml.py
in dowhy/causal_estimators
128 6
linear_regression_estimator.py
in dowhy/causal_estimators
39 6
cubic_dgp.py
in dowhy/utils/dgps
62 6
linear_dgp.py
in dowhy/utils/dgps
46 6
Files With Long Lines (Top 20)

There are 36 files with lines longer than 120 characters. In total, there are 194 long lines.

File# lines# units# long lines
add_unobserved_common_cause.py
in dowhy/causal_refuters
399 8 28
causal_identifier.py
in dowhy
634 26 15
propensity_score_weighting_estimator.py
in dowhy/causal_estimators
125 3 13
propensity_score_stratification_estimator.py
in dowhy/causal_estimators
115 4 11
dummy_outcome_refuter.py
in dowhy/causal_refuters
249 9 10
causal_refuter.py
in dowhy
141 11 9
propensity_balance_interpreter.py
in dowhy/interpreters
58 2 9
causal_estimator.py
in dowhy
520 40 8
placebo_treatment_refuter.py
in dowhy/causal_refuters
110 2 8
id_identifier.py
in dowhy/causal_identifiers
182 9 7
cubic_dgp.py
in dowhy/utils/dgps
62 6 7
linear_dgp.py
in dowhy/utils/dgps
46 6 7
quadratic_dgp.py
in dowhy/utils/dgps
64 6 7
random_neural_network.py
in dowhy/utils/dgps
82 4 6
datasets.py
in dowhy
332 10 5
causal_graph.py
in dowhy
376 27 4
backdoor.py
in dowhy/causal_identifiers
245 24 4
kernel_density_sampler.py
in dowhy/do_samplers
75 7 4
textual_effect_interpreter.py
in dowhy/interpreters
23 2 4
causal_model.py
in dowhy
271 13 3