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

Clarify ambiguity in 02/Chipotle steps 4 and 5 #104

Conversation

desmondcheongzx
Copy link

Update revenue calculation task in 01_Getting_&_Knowing_Your_Data/Chipotle
to be consistent with the understanding that item_price = quantity * price per item.

Clarify step 4 in 02_Filtering_&_Sorting/Chipotle to ask for all items
where the price per item is able to be greater than $10. This is to
accomodate the cases where an item usually costs less than $10, but with
certain choice_description it is able to cost more than $10. To
simplify the task, we simply include such cases and provide the user
with an example.

Similarly, for step 5 in 02_Filtering_&_Sorting/Chipotle, items can
have multiple prices depending on the choice_description they are paired
with. To remove the ambiguity, update the task to ask for the price
of each unique combination of item_name and choice_description.

Update revenue calculation task in 01_Getting_&_Knowing_Your_Data/Chipotle
to be consistent with the understanding that item_price = quantity * price per item.

Clarify step 4 in 02_Filtering_&_Sorting/Chipotle to ask for all items
where the price per item is able to be greater than $10. This is to
accomodate the cases where an item usually costs less than $10, but with
certain choice_description it is able to cost more than $10. To
simplify the task, we simply include such cases and provide the user
with an example.

Similarly, for step 5 in 02_Filtering_&_Sorting/Chipotle, items can
have multiple prices depending on the choice_description they are paired
with. To remove the ambiguity, update the task to ask for the price
of each unique combination of item_name and choice_description.
@desmondcheongzx
Copy link
Author

#62 and #65 both raise questions about the multiple interpretations for calculating the price of an item. I believe this confusion is linked to an earlier task in 01_Getting_&_Knowing_Your_Data/Chipotle where we are asked to find the revenue for this period. The previous solution involved multiplying 'quantity' with 'item_price' even though 'item_price' already implicitly multiplies the quantity with the price per item, as mentioned in #65:

Example:
order _id | quantity | item_name | choice_description | item_price
9 | 2 | Canned Soda | [Sprite] | $2.18
14 | 1 | Canned Soda | [Dr. Pepper] | $1.09

Making this task consistent with the later task, and adding some additional clarification and examples, could make the task clearer and remove friction from the learning process.

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.

1 participant