Skip to content

refactor: preserve list-generating data#474

Draft
tristan-f-r wants to merge 70 commits into
Reed-CompBio:mainfrom
tristan-f-r:configuration-generation
Draft

refactor: preserve list-generating data#474
tristan-f-r wants to merge 70 commits into
Reed-CompBio:mainfrom
tristan-f-r:configuration-generation

Conversation

@tristan-f-r
Copy link
Copy Markdown
Collaborator

@tristan-f-r tristan-f-r commented May 11, 2026

This PR will also contain configuration generation, especially since it serves as the nicest way to test this refactor, but I'm currently writing a new way to detect neighbors that I like more.

To assist in configuration generation, instead of re-creating the parsing at the CLI level, we store the backing information used to generate any programmatically-generated list in a generic Tunable interface, such that all algorithm parameters in the AlgorithmUnion inherit from Tunable. For the sake of parameter tuning, Tunable also exposes Tunable#tune, whose contract is specified in-documentation.

tristan-f-r added 25 commits May 4, 2026 09:17
i was Very wrong about that
get_original_bases does _not_ have the same signature as its internal reflection counterpart!
pandas requires precisely one of (argument-based list specification) or (axis specification)
Trying to resolve mac errors
why did i not do this before???
this is why I didn't do this earlier...
@tristan-f-r tristan-f-r added the refactor Changes that don't actually improve anything except for code quality. label May 11, 2026
@read-the-docs-community
Copy link
Copy Markdown

@tristan-f-r tristan-f-r changed the title refactor: preserve list semantics refactor: preserve list-generating semantics May 11, 2026
@tristan-f-r tristan-f-r changed the title refactor: preserve list-generating semantics refactor: preserve list-generating data May 11, 2026
Comment thread spras/config/tunable.py
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to allow for someone to just put a list and have that tuned? I was assuming that was what TunableSet was but wanted to double check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Changes that don't actually improve anything except for code quality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants