NatLabRockies / NatLabRockies/fastsim
vec scaling enhancement and improved harmonization with ALTRIOS
Open
Nobody has claimed this yet.
enhancement
future
- Dominant language
- Rust
- Stars
- 60
- Forks
- 19
- Avg merge
- 10d 2h
- Merged PRs (30d)
- 2
Description
- make an enum like:
pub enum ScalingStyle { /// Min -> Max values are all scaled ScaleAll, /// Values are scaled proportionally so that min stays anchored when setting max or vice versa ScaleProportionally, /// Values are all scaled by same absolute amount Slide } fn set_min(&mut self, style: ScalingStyle) -> anyhow::Result<()> { ...} - make a new crate that both ALTRIOS and FASTSim-3 have as a dependency so that all the commonality can be in one place
- implement
TrackedStateandTrackedStateWithMemoryin the above new crate so that state mutations, if expected, are guarnteed
Contributor guide
No contributing guide indexed for this repository
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 locating the existing vec scaling and state-tracking implementations in FASTSim-3, then compare the shared behavior needed by ALTRIOS. Define the shared crate boundary and the ScalingStyle, TrackedState, and TrackedStateWithMemory requirements before implementation. Done means both projects can depend on the crate and state mutations are guaranteed as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100