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 presumption in comparision used by 'sum', 'extend', and 'roles' exercises #108

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Antony74
Copy link

This fixes #106 "Sum Verification Problem"

In fact, it's not just the "sum" problem that is broken, but also "extend" and "roles".

The solution comparision relies on the output of the exercise being identical to the output of the official solution. However, seneca responds with various "meta" fields, such as the timestamps "start" and "end" which can be expected to be different with every call. Presumably these particular "meta" fields did not exist at the time the tutorial was written. To restore desired function and correctly compare the results we pick just the fields from the 'meta' object that do stay the same.

I have sucessfully completed the course, and as such believe I have removed all the bugs preventing students from doing so.

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

Successfully merging this pull request may close these issues.

Sum verification problem
1 participant