-
Notifications
You must be signed in to change notification settings - Fork 8
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
project1-feedback #23
Comments
I noted that as well. I think we should update for later, but no need to do before session, as in this exact example grid size is not changing. But since it is a better practice I think we should change it for the future. And the name can be |
Make sure test_functions passes same type as the doc string says. I.e. lists and not tuples. |
Consider putting the prep cell code in a single cell – easier to run |
The enumerate example, consider changing the variable names to |
Tests for similarity function may not be sufficient. One participant's solution for similarity passed all the tests but failed the tests for hypothetical similarity. Turned out his solution for similarity was not fully correct |
tell people to read the doc string properly to understand what is inputted and what is expected to be outputted |
Feedback from a participant: probably good to start with an easier task, like finding blank/available slot in a city, with a small grid e.g. 2x2 to help ease the participants in |
One participant emailed me asking about why some cells are excluded from the list_available's expectations/tests. Turned out they didn't realize for a cell to be available it has to be unoccupied (they were just checking it's above threshold). Perhaps highlight in the instruction about both conditions? |
dec-python-course/1-foundations/project-1-schelling-model/project1-solutions.py
Line 21 in 8248dd7
In python variables named with all caps are constants. Since the dimension of the city changes with different input perhaps it's not most appropriate to define it as a constant?
The text was updated successfully, but these errors were encountered: