awslabs / gluon-ts
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 454 files with 53,539 lines of code.
    • 0 very long files (0 lines of code)
    • 6 long files (4,195 lines of code)
    • 86 medium size files (25,551 lines of codeclsfd_ftr_w_mp_ins)
    • 100 small files (14,113 lines of code)
    • 262 very small files (9,680 lines of code)
0% | 7% | 47% | 26% | 18%
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% | 7% | 47% | 26% | 17%
R0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
pyi0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/gluonts/dataset0% | 36% | 23% | 30% | 9%
src/gluonts/nursery0% | 7% | 50% | 26% | 16%
src/gluonts/model0% | 4% | 69% | 15% | 9%
src/gluonts/mx0% | 6% | 21% | 38% | 34%
src/gluonts/transform0% | 0% | 73% | 23% | 3%
src/gluonts/torch0% | 0% | 50% | 30% | 19%
src/gluonts/evaluation0% | 0% | 68% | 19% | 11%
ROOT0% | 0% | 93% | 0% | 6%
src/gluonts/shell0% | 0% | 0% | 62% | 37%
src/gluonts/core0% | 0% | 0% | 53% | 46%
src/gluonts/time_feature0% | 0% | 0% | 36% | 63%
src/gluonts/testutil0% | 0% | 0% | 51% | 48%
src/gluonts0% | 0% | 0% | 34% | 65%
evaluations0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
recipe.py
in src/gluonts/dataset/artificial
878 107
_network.py
in src/gluonts/model/deepar
788 14
artificial.py
in src/gluonts/nursery/SCott/pts/dataset
711 34
_base.py
in src/gluonts/dataset/artificial
686 33
group_raw_data.py
in src/gluonts/nursery/SCott/dataset_tools
614 14
isqf.py
in src/gluonts/mx/distribution
518 28
recipe.py
in src/gluonts/nursery/SCott/pts/dataset
486 85
preprocess_data.py
in src/gluonts/nursery/SCott
477 5
convert.py
in src/gluonts/transform
473 36
evaluator.py
in src/gluonts/nursery/SCott/pts/evaluation
459 31
isqf.py
in src/gluonts/torch/distributions
444 24
_layers.py
in src/gluonts/model/tft
439 18
_base.py
in src/gluonts/evaluation
437 21
_network.py
in src/gluonts/model/tft
434 10
_network.py
in src/gluonts/model/n_beats
432 20
_network.py
in src/gluonts/model/deepvar
432 16
_estimator.py
in src/gluonts/model/tft
407 8
_forking_estimator.py
in src/gluonts/model/seq2seq
395 7
_network.py
in src/gluonts/model/san
389 9
convert.py
in src/gluonts/nursery/SCott/pts/transform
387 31
forecast.py
in src/gluonts/model
385 36
_network.py
in src/gluonts/model/wavenet
381 17
distribution_output.py
in src/gluonts/nursery/SCott/pts/modules
376 51
_estimator.py
in src/gluonts/model/deepar
359 8
_estimator.py
in src/gluonts/model/deepvar
357 11
lds.py
in src/gluonts/mx/distribution
353 14
feature.py
in src/gluonts/transform
330 24
_seq2seq_estimator.py
in src/gluonts/model/seq2seq
329 10
deepvar_network.py
in src/gluonts/nursery/SCott/pts/model/deepvar
329 10
forecast.py
in src/gluonts/nursery/SCott/pts/model
328 29
_base.py
in src/gluonts/mx/trainer
327 7
run.py
in src/gluonts/nursery/SCott
325 -
spliced_binned_pareto.py
in src/gluonts/nursery/spliced_binned_pareto
320 21
tempflow_network.py
in src/gluonts/nursery/SCott/pts/model/tempflow
316 10
_estimator.py
in src/gluonts/model/san
315 7
deepar_network.py
in src/gluonts/nursery/SCott/pts/model/deepar
313 9
n_beats_network.py
in src/gluonts/nursery/SCott/pts/model/n_beats
309 18
_layers.py
in src/gluonts/model/san
308 15
_estimator.py
in src/gluonts/model/wavenet
308 10
transformer_tempflow_network.py
in src/gluonts/nursery/SCott/pts/model/transformer_tempflow
306 9
split.py
in src/gluonts/nursery/SCott/pts/transform
306 13
flows.py
in src/gluonts/nursery/SCott/pts/modules
305 26
stat.py
in src/gluonts/dataset
303 9
_estimator.py
in src/gluonts/model/gpvar
301 7
predictor.py
in src/gluonts/nursery/autogluon_tabular
300 13
transformer_network.py
in src/gluonts/nursery/SCott/pts/model/transformer
294 8
_estimator.py
in src/gluonts/model/deepstate
293 8
common.py
in src/gluonts/dataset
292 21
_estimator.py
in src/gluonts/model/transformer
288 7
_network.py
in src/gluonts/model/transformer
287 8
Files With Most Units (Top 20)
File# lines# units
recipe.py
in src/gluonts/dataset/artificial
878 107
recipe.py
in src/gluonts/nursery/SCott/pts/dataset
486 85
distribution_output.py
in src/gluonts/nursery/SCott/pts/modules
376 51
bijection.py
in src/gluonts/mx/distribution
195 48
issm.py
in src/gluonts/model/deepstate
223 37
forecast.py
in src/gluonts/model
385 36
convert.py
in src/gluonts/transform
473 36
artificial.py
in src/gluonts/nursery/SCott/pts/dataset
711 34
_base.py
in src/gluonts/dataset/artificial
686 33
convert.py
in src/gluonts/nursery/SCott/pts/transform
387 31
evaluator.py
in src/gluonts/nursery/SCott/pts/evaluation
459 31
distribution_output.py
in src/gluonts/torch/modules
181 29
forecast.py
in src/gluonts/nursery/SCott/pts/model
328 29
distribution.py
in src/gluonts/mx/distribution
209 28
isqf.py
in src/gluonts/mx/distribution
518 28
callback.py
in src/gluonts/mx/trainer
129 28
binned.py
in src/gluonts/mx/distribution
237 26
flows.py
in src/gluonts/nursery/SCott/pts/modules
305 26
settings.py
in src/gluonts/core
158 25
piecewise_linear.py
in src/gluonts/mx/distribution
230 24
Files With Long Lines (Top 5)

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

File# lines# units# long lines
_tsf_reader.py
in src/gluonts/dataset/repository
134 17 1
_gp_copula_2019.py
in src/gluonts/dataset/repository
126 5 1
spliced_binned_pareto.py
in src/gluonts/nursery/spliced_binned_pareto
320 21 1
_gp_copula_2019.py
in src/gluonts/nursery/SCott/pts/dataset/repository
116 5 1
estimator.py
in src/gluonts/nursery/autogluon_tabular
154 2 1