NatLabRockies / NatLabRockies/fastsim

vec scaling enhancement and improved harmonization with ALTRIOS

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

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 TrackedState and TrackedStateWithMemory in the above new crate so that state mutations, if expected, are guarnteed

Contributor guide

No contributing guide indexed for this repository

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.