Skip to content
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

Fix #4701: fixes rule descriptor for ListOfCodeEvaluation and SetOfNormalizedStrings #4703

Merged
merged 2 commits into from
Feb 17, 2018

Conversation

prasanna08
Copy link
Contributor

This PR fixes rule descriptors of ListOfCodeEvaluation and SetOfNormalizedStrings variable types.

}
replacementText += ']';
}
else {
Copy link
Member

Choose a reason for hiding this comment

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

Move to end of previous line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

@seanlip seanlip left a comment

Choose a reason for hiding this comment

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

/cc @nithusha21 FYI

@seanlip
Copy link
Member

seanlip commented Feb 16, 2018

(and thanks, @prasanna08!)

@codecov-io
Copy link

codecov-io commented Feb 16, 2018

Codecov Report

Merging #4703 into develop will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #4703      +/-   ##
==========================================
- Coverage    44.72%   44.7%   -0.02%     
==========================================
  Files          384     384              
  Lines        23405   23414       +9     
  Branches      3791    3794       +3     
==========================================
  Hits         10467   10467              
- Misses       12938   12947       +9
Impacted Files Coverage Δ
core/templates/dev/head/filters.js 68.8% <0%> (-2.28%) ⬇️
...h_text_components/Link/directives/LinkDirective.js 5.55% <0%> (-0.33%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9022b3d...9a97bcb. Read the comment docs.

@seanlip seanlip requested a review from nithusha21 February 16, 2018 06:31
Copy link
Contributor

@nithusha21 nithusha21 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this @prasanna08! Code LGTM. I have one query though. I am unable to get to these rules while manually testing them. Do I have to enable them somewhere else separately?

@prasanna08
Copy link
Contributor Author

Thanks for fixing this @prasanna08! Code LGTM. I have one query though. I am unable to get to these rules while manually testing them. Do I have to enable them somewhere else separately?

Yes, these errors would not be visible normally because these rule types are used when classifier training data is stored in exploration. This is not enabled in production right now so you will have to turn up constants related to ML in feconf.py and app.js. Then you would have to create some training data and these errors would surface because variable type used by these rules does not have a corresponding substitution code in parameterizeRuleDescription.

@nithusha21
Copy link
Contributor

Thanks for that information @prasanna08 I'll try that out 👍

@seanlip seanlip merged commit 03675f0 into oppia:develop Feb 17, 2018
code247 pushed a commit to code247/oppia that referenced this pull request Feb 24, 2018
…tOfNormalizedStrings (oppia#4703)

* Fix rule desciptor for ListOfCodeEvaluation and SetOfNormalizedStrings

* Address review comments
code247 pushed a commit to code247/oppia that referenced this pull request Feb 24, 2018
…tOfNormalizedStrings (oppia#4703)

* Fix rule desciptor for ListOfCodeEvaluation and SetOfNormalizedStrings

* Address review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants