automl / automl/HPOlib

kill_processes() takes exactly 2 arguments (1 given)

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
167
Forks
53
PR merge metrics
No merged PRs in 30d

Description

When setting "total_time_limit = X" in config.cfg, HPOlib crashes when the total time limit is reached:

``` bash
File "/home/eggenspk/virtualEnvs/virtualSheep/local/lib/python2.7/site-packages/pkg_resources.py", line 1354, in run_script
execfile(script_filename, namespace, namespace)
File "/home/eggenspk/virtualEnvs/virtualSheep/lib/python2.7/site-packages/HPOlib-0.2.0dev-py2.7.egg/EGG-INFO/scripts/HPOlib-run", line 26, in
wrapping.main()
File "/home/eggenspk/virtualEnvs/virtualSheep/local/lib/python2.7/site-packages/HPOlib-0.2.0dev-py2.7.egg/HPOlib/wrapping.py", line 484, in main
wrapping_util.kill_processes(signal.SIGINT)
TypeError: kill_processes() takes exactly 2 arguments (1 given)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at HPOlib/wrapping.py line 484 and trace the call to wrapping_util.kill_processes when total_time_limit is reached. Reproduce the timeout path with config.cfg and confirm that HPOlib-run no longer raises the argument-count TypeError while handling the processes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.