lecture-python-intro
lecture-python-intro copied to clipboard
[schelling] Editorial Suggestions
Bug fix
- [ ]
Jump chain titleshould be deleted
Content
- [ ] The exercise solution needs to include the discussion and text at the end of the lecture (move
solution-end) - [ ] Pseudocode could be wrapped in a special admonition
- [ ] We could focus the lecture a bit more clearly on simple
localinteractions and how they lead to unexpected macro outcomes
Code
- [ ] Fix the
Entering Loop Stringrepetition in the code output. Put the figures side by side for better comparisons of the neighborhood formation. - [ ] Add some small network diagrams in the
preferencessection to diagrammatically showhappiness - [ ] Add a
happinessdistribution as the iterations go from 0 to 7 to see how that distribution changes. (What proportion of people are happy in Cycle 0?)
Comments by @longye-tian:
Content
- [ ] Use a graph to illustrate the preference section (similar to the second point in the Code section above)
- [ ] Unbold
notin 'An important point to note is that agents are not averse to living in mixed areas.'
Code
- [ ] Add location attribute as a
namedtuplewith storing the x and y location of the agent. - [ ] Add a legend for agents of Type I and Type II.
- [x] Add graphing parameters for further customization.