AutoMan Memoizer

AutoMan comes with a unique feature: it can store the results of crowdsourcing jobs in a database. Remembering computed results, referred to as memoization in computer science, can speed up programs that perform repeated computation at the expense of space. The memoization database can also be used to recover from a program crash if you make a programming mistake. We refer to this feature as AutoMan's "memo DB."

Enabling the memo DB is easy. Just add it to your mturk initializer:

implicit val a = mturk (
  /* .. whatever ... */
  database_path = "path/to/your/database/file"

Don't forget that your memo DB is enabled. Although it can save your program some work and it often helps for programs in production, forgetting that you've enabled it in development can sometimes cause some baffling results during development.

Last updated