Skip to content
Kostis Anagnostopoulos edited this page Sep 15, 2016 · 3 revisions

Welcome to the co2mpas developer's wiki!

Sampling(dice) dev notes: Sampling

cloc output v1.3.1 (Sep-2016):

     185 text files.
     180 unique files.
     104 files ignored.

github.com/AlDanial/cloc v 1.70  T=1.00 s (112.0 files/s, 36502.0 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Python                          97           7739          10024          17926
DOS Batch                        1             34              2            227
make                             2             42             10            210
Bourne Shell                     4             22             78             63
HTML                             4              3              0             23
YAML                             1              5             75             16
C/C++ Header                     1              0              0              1
CSS                              2              0              2              0
-------------------------------------------------------------------------------
SUM:                           112           7845          10191          18466
-------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------
File                                                                    blank        comment           code
-----------------------------------------------------------------------------------------------------------
tests/dispatcher/test_dispatcher.py                                       235              8           1296
co2mpas/model/physical/gear_box/at_gear.py                                523            649           1012
co2mpas/dispatcher/__init__.py                                            799           1474            858
co2mpas/model/physical/engine/co2_emission.py                             495            839            820
co2mpas/model/selector/__init__.py                                        165             31            561
co2mpas/model/physical/electrics/__init__.py                              281            410            557
co2mpas/model/physical/__init__.py                                         69            107            533
co2mpas/model/physical/engine/__init__.py                                 267            424            502
co2mpas/io/__init__.py                                                    149             64            459
co2mpas/sampling/project.py                                               106            135            423
co2mpas/io/schema.py                                                       96             25            419
co2mpas/report.py                                                         120             36            416
co2mpas/dispatcher/utils/alg.py                                           288            385            415
co2mpas/sampling/baseapp.py                                               124            194            389
co2mpas/dispatcher/utils/drw.py                                           145            101            370
co2mpas/io/excel.py                                                       112             62            366
co2mpas/model/physical/gear_box/__init__.py                               184            250            364
co2mpas/dispatcher/utils/dsp.py                                           277            510            360
co2mpas/datasync.py                                                       108            207            352
co2mpas/sampling/diceui.py                                                101             59            336
co2mpas/sampling/dice.py                                                  111            138            321
co2mpas/__main__.py                                                        80             97            309
co2mpas/model/physical/wheels.py                                          156            259            262
co2mpas/batch.py                                                           97             53            242
doc/make.bat                                                               34              2            227
co2mpas/model/physical/cycle/WLTP.py                                      127            199            225
co2mpas/model/physical/gear_box/mechanical.py                             162            221            222
co2mpas/model/physical/defaults.py                                         89            119            221
co2mpas/model/physical/engine/start_stop.py                                96            135            212
co2mpas/model/physical/engine/thermal.py                                  102            149            205
co2mpas/utils.py                                                          143            195            205
doc/_ext/dsp_directive.py                                                  76             18            201
tests/test_datasync.py                                                     39             16            181
tests/dispatcher/utils/test_alg.py                                         46              6            175
tests/dispatcher/docs/test_autodispatcher.py                               42             29            171
tests/functions/test_gear_box.py                                           23              6            169
co2mpas/dispatcher/utils/des.py                                            42             16            169
co2mpas/model/physical/vehicle.py                                         120            203            164
doc/Makefile                                                               30              6            156
setup.py                                                                   23             48            156
co2mpas/model/__init__.py                                                  58             69            153
co2mpas/sampling/kvdiceui.py                                               32             15            144
co2mpas/model/physical/cycle/NEDC.py                                       65             84            137
co2mpas/model/physical/clutch_tc/clutch.py                                 81            124            132
doc/_ext/autosummary.py                                                    40             11            131
tests/test_seatbelt.py                                                     29             11            123
co2mpas/model/physical/engine/cold_start.py                                60             77            121
co2mpas/model/physical/clutch_tc/torque_converter.py                       67             93            118
co2mpas/plot.py                                                            53             70            117
co2mpas/model/physical/electrics/electrics_prediction.py                   85            139            114
co2mpas/plan.py                                                            32              9            113
tests/dispatcher/utils/test_dsp.py                                         43              9            107
tests/test_docs.py                                                         17              6            106
co2mpas/model/physical/clutch_tc/__init__.py                               43             63            103
co2mpas/model/physical/cycle/__init__.py                                   30             36            101
co2mpas/model/physical/gear_box/thermal.py                                 75            127             99
tests/test_dice.py                                                         50            125             98
tests/test_main.py                                                         18              8             96
co2mpas/model/physical/final_drive.py                                      69            115             88
doc/conf.py                                                                80            173             87
tests/functions/test_tyre_code.py                                           4              6             82
tests/dispatcher/docs/root/conf.py                                         32              6             82
co2mpas/sampling/kvdiceui.kv                                               12             15             81
tests/dispatcher/docs/util.py                                              24             19             73
co2mpas/model/selector/co2_params.py                                       21             20             59
co2mpas/model/physical/gear_box/cvt.py                                     43             74             58
tests/dispatcher/utils/test_drw.py                                         21              6             57
tests/dispatcher/docs/root/Makefile                                        12              4             54
tests/dispatcher/utils/test_io.py                                          18              6             53
co2mpas/io/validations.py                                                  22             39             50
co2mpas/docoptutils.py                                                     28             29             49
co2mpas/dispatcher/utils/gen.py                                            39             75             45
bin/ipynb_output_filter.py                                                 13             14             44
tests/_tutils.py                                                           17             34             42
co2mpas/dispatcher/utils/web.py                                            30             49             35
tests/dispatcher/utils/test_gen.py                                          9              6             32
co2mpas/dispatcher/utils/__init__.py                                       27             37             30
co2mpas/dispatcher/utils/io.py                                             61            155             28
bin/package.sh                                                              9             34             25
tests/functions/test_functions.py                                           9             10             23
bin/check_readme.sh                                                         7             14             21
logconf.yml                                                                 5             75             16
tests/test_plot.py                                                          7              6             14
co2mpas/io/dill.py                                                         11             19             13
tests/dispatcher/docs/root/_templates/layout.html                           2              0             13
co2mpas/dispatcher/utils/cst.py                                            10             27             12
bin/check_families.sh                                                       3              4             11
co2mpas/dispatcher/utils/exc.py                                             7              9             11
tests/dispatcher/docs/root/parsermod.py                                     3              0              9
co2mpas/io/constants.py                                                     8             15              8
co2mpas/__init__.py                                                         4             21              6
co2mpas/_version.py                                                         7             13              6
tests/dispatcher/docs/root/autodoc_missing_imports.py                       2              3              6
bin/site.sh                                                                 3             26              6
tests/dispatcher/docs/root/testtheme/layout.html                            0              0              5
tests/dispatcher/docs/root/_templates/customsb.html                         1              0              3
tests/dispatcher/docs/root/_templates/contentssb.html                       0              0              2
tests/dispatcher/docs/root/special/code.py                                  0              0              2
tests/dispatcher/docs/root/ext.py                                           1              1              2
tests/dispatcher/utils/__init__.py                                          1              6              2
tests/dispatcher/docs/root/special/api.h                                    0              0              1
tests/dispatcher/docs/root/autodoc_fodder.py                                1              5              1
tests/__init__.py                                                           1              6              1
tests/dispatcher/docs/root/special/__init__.py                              0              0              1
tests/models/__init__.py                                                    0              6              1
tests/functions/__init__.py                                                 0              6              1
tests/dispatcher/docs/__init__.py                                           0              0              1
co2mpas/sampling/__init__.py                                                0              6              0
benchmarks/__init__.py                                                      1              0              0
tests/dispatcher/docs/root/_static/subdir/foo.css                           0              1              0
tests/models/test_thermal.py                                                0             34              0
tests/dispatcher/docs/root/_static/excluded.css                             0              1              0
-----------------------------------------------------------------------------------------------------------
SUM:                                                                     7845          10191          18466
-----------------------------------------------------------------------------------------------------------