Sienna-Platform / Sienna-Platform/PowerOperationsModels.jl
[RFC] Replace `use_slacks` DM/SM attributes with a type parameter
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 2
- Forks
- 1
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 26
Description
We have a lot of runtime branching on if get_use_slacks, adding it as a type parameter instead might make way for some interesting helpers. I had Claude do a sketch for me on https://github.com/Sienna-Platform/PowerOperationsModels.jl/tree/ac/use-slacks-type-param that I haven't looked over carefully yet.
If it's useful, I'd be interested in applying this to other common runtime branches -- like time series maybe.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the ac/use-slacks-type-param sketch branch and searching for the get_use_slacks runtime branches in the Julia models. The work is done when a concrete type-parameter approach is agreed on and its applicability to other branches, such as time series, is established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100