Context
Three new modules were added with no test coverage:
| Module |
Purpose |
app/state/experiment_state.py |
SQLite-backed experiment run persistence |
trainer/merge.py |
Merges a trained LoRA/QLoRA adapter into the base model |
workers/merge_task.py |
Celery task wrapping the merge operation |
Tasks
app/state/experiment_state.py
trainer/merge.py
workers/merge_task.py
Good first issue tips
See tests/test_workers.py and tests/test_api.py for the mocking patterns already in use. Run the suite with poetry run pytest.
Context
Three new modules were added with no test coverage:
app/state/experiment_state.pytrainer/merge.pyworkers/merge_task.pyTasks
app/state/experiment_state.pysave_experiment_run()writes to and reads back from SQLite correctlyExperimentState.load_runs()returns correctExperimentRunobjectsdelete_run()removes from DB and from in-memory listtoggle_run_selection()adds and removes IDs correctlytmp_pathfixture orEXPERIMENT_DBenv var)trainer/merge.pymerge_adapter()is callable with mocked model / PEFT dependenciesworkers/merge_task.pytests/test_workers.pypattern)Good first issue tips
See
tests/test_workers.pyandtests/test_api.pyfor the mocking patterns already in use. Run the suite withpoetry run pytest.