You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of groups get the logic wrong for limiting the number of responses, often by limiting first and then filtering, which frequently yields fewer results than desired/expected.
We could make this less likely by including an example of limiting in the example User code. That said, they already do a lot of "copy/paste" problem solving in these labs, and I'm not sure we want to give them everything?
Also, we have very few users in this lab, so that kind of limited wouldn't make a lot of sense at the moment. We have a lot more later on in the DB lab (I think?), so we could just copy the larger set of users up to this lab.
The text was updated successfully, but these errors were encountered:
We might consider putting some end-to-end tests in this lab that we give them and put them in the actions... and maybe show the students how to run them?
@NicMcPhee - I've given this some further thought, and what about giving a bit more detail in a "spec" written in English that explains that they should filter first and THEN limit, with an explanation/example of why/what it could look like if you don't do things in that order? It's a step between incorporating tests and making an example. It still asks them to do this in a particular order (and can serve as a reminder to those of us grading that we should check that), but it doesn't go so far as to give them something they can copy/paste.
A lot of groups get the logic wrong for limiting the number of responses, often by limiting first and then filtering, which frequently yields fewer results than desired/expected.
We could make this less likely by including an example of limiting in the example
User
code. That said, they already do a lot of "copy/paste" problem solving in these labs, and I'm not sure we want to give them everything?Also, we have very few users in this lab, so that kind of limited wouldn't make a lot of sense at the moment. We have a lot more later on in the DB lab (I think?), so we could just copy the larger set of users up to this lab.
The text was updated successfully, but these errors were encountered: