Closed jeremyforest closed 3 years ago
@subutai @karangrewal any idea why the check_style check is failling ?
#!/bin/bash -eo pipefail
mkdir -p test_results/flake8
~/.local/bin/flake8 --show-source --format junit-xml --output-file test_results/flake8/results.xml nupic tests projects
Traceback (most recent call last):
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 158, in load_plugin
self._load()
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 135, in _load
self._plugin = self.entry_point.load()
File "/home/circleci/.local/lib/python3.7/site-packages/entrypoints.py", line 82, in load
mod = import_module(self.module_name)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/circleci/.local/lib/python3.7/site-packages/flake8_black.py", line 10, in <module>
import black
File "/home/circleci/.local/lib/python3.7/site-packages/black.py", line 39, in <module>
from appdirs import user_cache_dir
ModuleNotFoundError: No module named 'appdirs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/circleci/.local/bin/flake8", line 8, in <module>
sys.exit(main())
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/main/cli.py", line 18, in main
app.run(argv)
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/main/application.py", line 393, in run
self._run(argv)
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/main/application.py", line 380, in _run
self.initialize(argv)
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/main/application.py", line 363, in initialize
self.find_plugins()
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/main/application.py", line 199, in find_plugins
self.check_plugins.load_plugins()
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 410, in load_plugins
plugins = list(self.manager.map(load_plugin))
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 297, in map
yield func(self.plugins[name], *args, **kwargs)
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 408, in load_plugin
return plugin.load_plugin()
File "/home/circleci/.local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 165, in load_plugin
raise failed_to_load
flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin "BLK" due to No module named 'appdirs'.
Exited with code exit status 1
CircleCI received exit code 1
Makefile
allows to run all analysis and figure scripts from the data (I have not added the steps to run the config for generating the searches)analyze_results.py
to consider either best, last task or all resultshyperparameter_search.py
contains all configs to run the searcheshyperparameter_figures.py
contains all code to make the figures stored in figs.Ref Jira #RES-2226 , #RES-2227, #RES-2250