Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

SearchSpace tests should be refactored

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading test_searchspace.py, especially test_optim_forward_pass and the other repeated SearchSpace test cases. Refactor those cases to call a common function that accepts the SearchSpace object and relevant parameters. Done means the duplicated setup or assertions are consolidated and the SearchSpace tests still pass.

Written by the indexing model from the issue text.

Description

Low priority

There's a lot of repeated code in the tests in test_searchspace.py, such as def test_optim_forward_pass. Refactor them so that they call a common test function which takes the SearchSpace object and other relevant parameters.

Dominant language
Python
Stars
12
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from automl/ConfigurableOptimizer

All issues in automl/ConfigurableOptimizer

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.