Commit 6b7405b9 by Vik Paruchuri

modified grade.py to work with new xserver

parent f8509574
......@@ -19,7 +19,7 @@ from essay_set import EssaySet
import feature_extractor
import sklearn.ensemble
def grade(grader_path,submission):
def grade(grader_path,submission,sandbox):
results = {'errors': [],'tests': [],'correct': False,'score': 0}
#Try to find and load the model file
......
in order to replicate this experiment , we would need to know the temperature of the vinegar as well as how much vinegar to put in . both of these could vary and therefore change the result of the experiment .
\ No newline at end of file
in order to replicate the experiment .you would need to know how much vinegar to pour ,you need to know how much distilled water and you aso need to know how your going to weigh it .
\ No newline at end of file
......@@ -19,7 +19,7 @@ def sub_chars(string):
Removes all non-punctuation, digit, or letter characters.
Returns sanitized string.
"""
sub_pat = r"[^A-Za-z\.\?!,;:']"
sub_pat = r"[^A-Za-z\.\?!,]"
char_pat = r"\."
com_pat = r","
ques_pat = r"\?"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment