-
Notifications
You must be signed in to change notification settings - Fork 521
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
Fixes #1503 : Add RatioInput Module #1663
Conversation
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.
Thanks @aggarwalpulkit596. Please fix the branching for this PR—it seems to include changes from your other PR.
Also, will do another full pass after the interaction object is updated.
...main/java/org/oppia/domain/classify/rules/ratioExpressionInput/RatioExpressionInputModule.kt
Outdated
Show resolved
Hide resolved
...g/oppia/domain/classify/rules/ratioExpressionInput/RatioInputEqualsRuleClassifierProvider.kt
Outdated
Show resolved
Hide resolved
I am taking myself out of reviewers for this one since I think both @rt4914 and @BenHenning have more context on this as me |
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.
Thanks @aggarwalpulkit596. There are a few more comments to address yet.
...ava/org/oppia/domain/classify/rules/ratioInput/RatioInputEqualsRuleClassifierProviderTest.kt
Outdated
Show resolved
Hide resolved
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.
Added another comment. Also, please fix the PR title & clarify in the description what this PR is actually introducing. I don't think this is image click input, and you should explain what the changes are & how they're part of the broader project. Linking to specific sections of the design doc is also good.
...ava/org/oppia/domain/classify/rules/ratioInput/RatioInputEqualsRuleClassifierProviderTest.kt
Outdated
Show resolved
Hide resolved
...in/java/org/oppia/domain/classify/rules/ratioInput/RatioInputEqualsRuleClassifierProvider.kt
Outdated
Show resolved
Hide resolved
...ava/org/oppia/domain/classify/rules/ratioInput/RatioInputEqualsRuleClassifierProviderTest.kt
Outdated
Show resolved
Hide resolved
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.
Left one comment that I think came from the proto PR, but otherwise this LGTM. Feel free to resolve the remaining comment thread & merge after applying the fix (though note that it might need reformatting).
// List of components in a ratio. | ||
// It's also expected that list should have more than 1 elements with | ||
// 0 and 1 elements are invalid states. |
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.
// List of components in a ratio. | |
// It's also expected that list should have more than 1 elements with | |
// 0 and 1 elements are invalid states. | |
// List of components in a ratio. It's expected that list should have more than | |
// 1 element. |
Explanation
Fixes part of #1503
Add Equals Classifier
Add RatioInputModule
This PR will add the ratio interaction module which is required for any interaction to get started with and each module for an interaction consists of different rules/classifiers which helps in verifying the user's input through different criteria.
Checklist