Sienna-Platform / Sienna-Platform/PowerOperationsModels.jl

[RFC] Replace `use_slacks` DM/SM attributes with a type parameter

Open
#164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.