-
Notifications
You must be signed in to change notification settings - Fork 33
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
Feature/Updated validation to allow for missing sigma #503
Feature/Updated validation to allow for missing sigma #503
Conversation
…gma` and `q_sigma` exist and are valid updated test case updated documentation Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
…configurations for power_sigma and p_sigma/q_sigma pair. Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
I'll happily make the changes and switch to another incremental approach if the whole team agrees @mgovers @petersalemink95 @TonyXiang8787 . Else I'll stick to my approach, and perhaps simplify some of the code to reduce reading complexity. Summary: While I agree with Martijn's comment on part of the code's reading complexity, I do not see this incremental check for every new feature as a better solution. I stand corrected. Could use some input here, thanks in advance! |
@mgovers @Jerry-Jinfeng-Guo My proposal is to push this with minimal necessary refactoring. Do not change the logic of how validation function works unless it is really needed. |
it feels like we're building up some serious tech debt here that may make changes harder in the future and sets a precedent. what's your rationale? |
My rationale is that we might one day move the whole validation process in C++ core (but still separate optional function in C API) with semi-automatically generated code based on the pre-defined attributes constraints. |
while i very much like that, that don't believe that that's anywhere near prioritized by @petersalemink95 now |
I think this wil happen in the long future. For now, I'd like to keep the code similar everywhere and not make new tech dept for different checks. We can do them all in a similar way as has been done before |
Well, I will ask for some clearance here then: my proposed solution (A) and Martijn's opinion (B) are both trying to do just this, but from different perspective. Mine kept the original checks and only made it more tailored; Marthijn's follows existing paradigm of incrementally adding new checks whenever there are new features needed special treatment. In a way, this is the result of keeping the same goal but with different interpretations. So here comes the question, A or B? @TonyXiang8787 @petersalemink95 |
@Jerry-Jinfeng-Guo @mgovers @petersalemink95 the situation about So I am in favor of @Jerry-Jinfeng-Guo's current solution. |
Signed-off-by: Jerry Guo <[email protected]>
Signed-off-by: Jerry Guo <[email protected]>
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.
love it. just some minor remarks and hopefully we can get this out the door today
Signed-off-by: Jerry Guo <[email protected]>
Quality Gate passedIssues Measures |
Updated the validation, test and documentation.