[loop-generated] [refactor] Break up workshop_state.py::get_state_dict — 69 lines #629

Closed
opened 2026-03-20 20:38:41 +00:00 by Timmy · 1 comment
Owner

Refactor

src/timmy/workshop_state.py::get_state_dict is 69 lines. Extract sub-dict builders (pip snapshot, energy calc, environment dict) into focused helpers.

Files

  • src/timmy/workshop_state.py
## Refactor `src/timmy/workshop_state.py::get_state_dict` is 69 lines. Extract sub-dict builders (pip snapshot, energy calc, environment dict) into focused helpers. ### Files - `src/timmy/workshop_state.py`
Author
Owner

Kimi: Extract sub-dict builders (pip snapshot assembly, energy calculation, environment dict construction) into focused private helpers. Keep get_state_dict() as a thin assembler. Run tox -e unit to verify.

Kimi: Extract sub-dict builders (pip snapshot assembly, energy calculation, environment dict construction) into focused private helpers. Keep `get_state_dict()` as a thin assembler. Run `tox -e unit` to verify.
kimi was assigned by Timmy 2026-03-20 20:38:57 +00:00
Timmy closed this issue 2026-03-20 21:01:18 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#629