/charm-abm

Third attempt to build an agent based model of education

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Summary

Charm ABM is my third attempt to build an agent based model of education.

The current implementation leverages ASX and Webpack.

Scrapable with Charm Scraper!

Video overview and live coding video playlist here!

Developer Information

  • git clone
  • npm install with Git Bash or similar. Doesn't work with cmd.
  • npm start
  • open http://localhost:3000/ in your favorite browser rhyming with frome.

You may need to install install node-gyp before npm install

Usage

Stop and start the model by clicking.

TODO

Lessons Learned

  1. webpack-dev-server doesn't currently work with static externals. Instead, cp with bash to build and serve via Express.
  2. patch and turtle breeds are wonky within asx, and non-binding. Using POJOs is easier and more semantic.

Model Issues

  1. Years of experience does not give a premium
  2. Education, intelligence, and skills are not multi-specific
  3. People don't form families, have children, or die
  4. Education is a boolean
  5. There is only one consumption good
  6. People only have leisure, time, and consumption preference
  7. Savings and investment are exogenous and homogenous
  8. Home, job, and school locations are iird
  9. Seed values are largely exogenous and arbitrary
  10. Capital doesn't really exist
  11. Form organization and processes are ignored
  12. Diminishing marginal values are nowhere
  13. Curiosity is exogenous and random