Skip to content

src/models/integrated_selector.py is missing — recommendation_engine import fails #21

@bradsmithmba

Description

@bradsmithmba

Summary

src/models/recommendation_engine.py imports IntegratedStrategySelector from src.models.integrated_selector, but that module does not exist on disk. Importing recommendation_engine (and collecting its tests) fails.

Location

src/models/recommendation_engine.py:18:

from .integrated_selector import IntegratedStrategySelector

Reproduction

$ pytest tests/models/test_recommendation_engine.py
ModuleNotFoundError: No module named 'src.models.integrated_selector'
$ ls src/models/integrated_selector.py
ls: src/models/integrated_selector.py: No such file or directory

Notes

The file is genuinely absent (not merely untracked). Note that even if it is re-created, the unanchored models/ rule in .gitignore would silently ignore it (see the related .gitignore issue) until that rule is anchored to /models/.

Fix direction

Implement src/models/integrated_selector.py exposing IntegratedStrategySelector with the interface recommendation_engine.py expects, or remove the dependency if the integrated selector was superseded. tests/models/test_recommendation_engine.py documents the expected behavior and should be used as the contract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions