-
-
Notifications
You must be signed in to change notification settings - Fork 554
allergies: Update json for new "input" policy #1033
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
Conversation
"input": { | ||
"score": 2 | ||
}, | ||
"expected": [ |
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.
Do the "expected"'s need to be changed or just the the addition of "input"? I don't know that the present "expected" entries violate the schema.
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.
#996 Just mentions a change to input
, I think expected
is always one variable.
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.
version?
I expected expected
not change, not even for reformatting. Reformatting expected
deserves to be in its own commit, not lumped in with "update to new schema" since reformatting is not an update to the new schema.
1fd903d
to
7fb5996
Compare
7fb5996
to
e197c35
Compare
@@ -15,7 +15,9 @@ | |||
{ | |||
"description": "no allergies means not allergic", | |||
"property": "allergicTo", | |||
"score": 0, | |||
"input": { | |||
"score": 0 |
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.
Does "input" really need "score"? Why not just:
"input": 0,
Of course like changes for other cases. Unless we are really married to "score". Others should perhaps weigh in on this point.
Nevermind. @petertseng is right.
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.
don't care what y'all decide, but #996 (comment) and #996 (comment) are explicitly in favour of having "input": {"score": 0}
not "input": 0
therefore that is the only thing I support in #998.
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.
I missed that detail.
@Stargator I think you can go ahead and merge this when ready. |
#996 Updated the schema for canonical data. So I am updating the allergies exercise's json to reflect the change.