automl / automl/DeepCAVE

Class attribute is used, but does not exist

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
invalid
Dominant language
Python
Stars
104
Forks
15
PR merge metrics
No merged PRs in 30d

Description

In the AbstractRun class, it is tried to use the [class variable models_dir](https://github.com/automl/DeepCAVE/blob/1851126c064a3120299250fb39b2c00d00abbc2e/deepcave/runs/__init__.py#L615C31-L615C31), which does not exist in this class, nor in its superclass.
[It does exist in the Run class](https://github.com/automl/DeepCAVE/blob/1851126c064a3120299250fb39b2c00d00abbc2e/deepcave/runs/run.py#L121) in the same package as AbstractRun, if this variable is meant, it needs to be accessed accordingy.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading deepcave/runs/__init__.py at the AbstractRun use of models_dir around line 615, then compare it with the definition in deepcave/runs/run.py around line 121. Confirm which class attribute is intended and verify that the corrected access matches the existing class structure without raising an attribute error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.