[ ] 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 local interactions and how they lead to unexpected macro outcomes
Code
[ ] Fix the Entering Loop String repetition in the code output. Put the figures side by side for better comparisons of the neighborhood formation.
[ ] Add some small network diagrams in the preferences section to diagrammatically show happiness
[ ] Add a happiness distribution 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 not in 'An important point to note is that agents are not averse to living in mixed areas.'
Code
[ ] Add location attribute as a namedtuple with storing the x and y location of the agent.
[ ] Add a legend for agents of Type I and Type II.
[ ] Add graphing parameters for further customization.
Bug fix
Jump chain title
should be deletedContent
solution-end
)local
interactions and how they lead to unexpected macro outcomesCode
Entering Loop String
repetition in the code output. Put the figures side by side for better comparisons of the neighborhood formation.preferences
section to diagrammatically showhappiness
happiness
distribution 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
not
in 'An important point to note is that agents are not averse to living in mixed areas.'Code
namedtuple
with storing the x and y location of the agent.