-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sci-embodied redesign #995
Conversation
Hi @narekhovhannisyan I made some changes to the behaviour - once I started using it I realised the vcpu/totalcpu ratio feature isn't quite right so I replaced it with a generic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sgtm after pushing changes
|
||
return validate<z.infer<typeof schema>>(schema, input); | ||
const cpuE = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move calculation to separate function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no reason to move it, using safeConfig and safeInput object properties are making whole thing scary
Co-authored-by: Manushak Keramyan <[email protected]> Signed-off-by: Narek Hovhannisyan <[email protected]>
Co-authored-by: Manushak Keramyan <[email protected]> Signed-off-by: Narek Hovhannisyan <[email protected]>
…f into sci-redesign
Types of changes
A description of the changes proposed in the Pull Request