Skip to content

Add autoscale Enum and add alternative options - #1496

Open
oerc0122 wants to merge 4 commits into
masterfrom
1483-enum-autoscale
Open

Add autoscale Enum and add alternative options#1496
oerc0122 wants to merge 4 commits into
masterfrom
1483-enum-autoscale

Conversation

@oerc0122

@oerc0122 oerc0122 commented Oct 30, 2024

Copy link
Copy Markdown
Collaborator

Description of work
Add alternatives modes for autoscaling according to those described in #1483

Still needs documentation

Fixes
Migrated rescale factor calculation onto FoM calculator with Enum type selection. Can be passed as (case-insensitive) string, number (if known) or more usefully importing AutoScale class from MDMC.refinement.FoM

Fixes #1483

To test
Updated tests

@oerc0122 oerc0122 added the enhancement New feature or request label Oct 30, 2024
@oerc0122
oerc0122 requested a review from franzlang October 30, 2024 14:58
@oerc0122 oerc0122 self-assigned this Oct 30, 2024
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch 2 times, most recently from 180a53f to b82c5b2 Compare October 30, 2024 16:46
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch 2 times, most recently from bdae550 to 69d6aa2 Compare November 26, 2024 16:52
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from ac1093f to f2a116a Compare January 6, 2025 15:07
@oerc0122 oerc0122 changed the title [WIP] Add autoscale enum and add alternative options Add autoscale Enum and add alternative options Jan 6, 2025
Comment thread MDMC/control/control.py
Comment thread MDMC/control/control.py Outdated
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from f2a116a to 745ab30 Compare March 25, 2025 11:56

@alexhroom alexhroom left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me if the tests pass

@alexhroom alexhroom left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait nevermind, i missed that the CI was failing - the AutoScale enum needs Union imported from typing

@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from 7b31135 to 4f9af41 Compare April 25, 2025 12:55
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from 4f9af41 to 07dda6f Compare May 14, 2025 12:56
@oerc0122
oerc0122 requested a review from alexhroom May 14, 2025 13:37
@franzlang franzlang added this to the Release milestone Jun 3, 2025
@franzlang franzlang added the P5 IMMEDIATE: The highest priority for an issue, used for exceptional issues. label Oct 2, 2025
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from ae9c213 to 6a98844 Compare October 2, 2025 12:42

@alexhroom alexhroom left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kick tests

@oerc0122 oerc0122 modified the milestones: Release, Prototype Mar 16, 2026
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from 6a98844 to 6ad039f Compare March 17, 2026 11:50
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from 6ad039f to a65beba Compare March 26, 2026 13:28
@oerc0122
oerc0122 force-pushed the 1483-enum-autoscale branch from a65beba to b296b37 Compare May 11, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request P5 IMMEDIATE: The highest priority for an issue, used for exceptional issues.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto_scale becomes Enum

3 participants