src/code_beatrix/ai/dlbase.py
changed.
Showing 2 of 2 files from the diff.
@@ -28,12 +28,12 @@
Loading
28 | 28 | self._model = model |
|
29 | 29 | self._fLOG = fLOG |
|
30 | 30 | ||
31 | - | def log(self, *l, **p): |
|
31 | + | def log(self, *args, **kwargs): |
|
32 | 32 | """ |
|
33 | 33 | Log something. |
|
34 | 34 | """ |
|
35 | 35 | if self._fLOG: |
|
36 | - | self._fLOG(*l, **p) |
|
36 | + | self._fLOG(*args, **kwargs) |
|
37 | 37 | ||
38 | 38 | def predict(self, X): |
|
39 | 39 | """ |
@@ -69,8 +69,8 @@
Loading
69 | 69 | window.setTimeout(start_snap__DIV__,500); |
|
70 | 70 | </script> |
|
71 | 71 | """.replace("__DIV__", divid) |
|
72 | - | libs = [ |
|
73 | - | '<script type="text/javascript" src="{0}"></script>'.format(l) for l in js_libs] |
|
72 | + | libs = ['<script type="text/javascript" src="{0}"></script>'.format(le) |
|
73 | + | for le in js_libs] |
|
74 | 74 | libs = "\n".join(libs) |
|
75 | 75 | ||
76 | 76 | return html_src, libs + "\n" + test_js |
Files | Coverage |
---|---|
src/code_beatrix | 80.81% |
Project Totals (27 files) | 80.81% |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.