1. 07 Nov, 2016 9 commits
  2. 06 Nov, 2016 2 commits
  3. 03 Nov, 2016 4 commits
  4. 02 Nov, 2016 2 commits
    • Jason Rhinelander's avatar
      Remove taxes from default series list · 3085000b
      Jason Rhinelander authored
      It's an incredibly boring series: 0 until the policy begins, then a
      constant (of course there's variation in the constant across
      simulations, but not over time).
      3085000b
    • Jason Rhinelander's avatar
      Added taxes and total spending variables · 7e23f18a
      Jason Rhinelander authored
      Also renamed books_written to books_written_pc to reflect that it's a
      per-capita (actually per hundred readers) value.
      
      Added (commented-out) stubs for reader_fines and readers_caught_pc;
      these need deeper changes (and a simulation re-run) as they aren't
      currently tracked in the creativity state file.
      7e23f18a
  5. 01 Nov, 2016 4 commits
  6. 31 Oct, 2016 2 commits
    • Jason Rhinelander's avatar
      Add progress to creativity-data · a2083b54
      Jason Rhinelander authored
      The progress is displayed both in the error output and in the process
      name shown in top (via prctl).
      a2083b54
    • Jason Rhinelander's avatar
      Simulation data: make book numbers per capita · 3b90b9cb
      Jason Rhinelander authored
      books_written, books_bought, books_pirated, and books_public are all not
      particular useful as total numbers because, ceteris paribus, a larger
      simulation will have larger values of all of them.
      
      This changes them all to per-capita values (the first changes to a
      per-100-readers value, the rest to per-reader averages).
      3b90b9cb
  7. 30 Oct, 2016 2 commits
  8. 29 Oct, 2016 4 commits
  9. 27 Oct, 2016 3 commits
    • Jason Rhinelander's avatar
      Removed debugging · fc9ea94f
      Jason Rhinelander authored
      fc9ea94f
    • Jason Rhinelander's avatar
      gcc-4.9 fix · 68e29e88
      Jason Rhinelander authored
      Sadly, libstdc++ doesn't support moving a stringstream before v5, so
      work around it by accepting a unique_ptr instead.
      68e29e88
    • Jason Rhinelander's avatar
      creativity-data: added file preloading · bc62d7ce
      Jason Rhinelander authored
      Right now processing is limited by the fact that individual threads are
      trying to read/decompress different files at once, and don't read from
      disk until they start working.  By using a single thread to load files
      from disk into memory, then having individual worker threads load from
      memory, the disk contention bottleneck should be reduced: one process
      ends up reading files from disk as fast as possible, but sequentially,
      and so while the disk may still bottleneck the process (particular if
      the disk is slow or the CPUs are numerous and very fast), that
      bottleneck should be reduced by reading everything sequentially in one
      thread.
      bc62d7ce
  10. 25 Oct, 2016 2 commits
  11. 16 Oct, 2016 4 commits
  12. 25 Sep, 2016 2 commits
    • Jason Rhinelander's avatar
      Tweak the default catch parameters · 19ebbfbe
      Jason Rhinelander authored
      The defaults were far, far too small for a catch tax value from 1-100
      (at 100, mu would be -35, with a standard deviation of 1, i.e. almost
      everyone gets caught all the time).
      
      Changed it to mu = 10 - 0.08 (so that at 100, the probability of getting
      caught (even if innocent) is around 5%, and neglibible at spending of 1.
      Sigma now also decreases in spending (i.e. detection gets more accurate,
      particularly at the high end): from 3 at spending ~ 0, down to 1 at
      spending of 100.
      
      Increased penalties to an escalating fine of 50, 100, 175, 275, ...
      instead of a fixed cost (at a fixed cost only the increase in
      probability matters, but once you're almost certain to be caught, you
      might as well pirate away).
      19ebbfbe
    • Jason Rhinelander's avatar
      Revert previous commit and use another fix · 9ab6363b
      Jason Rhinelander authored
      The previous commit wasn't sufficient: the reader could have also chosen
      to keep other books to the market, and *those* costs could cause income
      overexpenditure.
      
      This commit fixes the issue by simply making sure the reader always
      takes the market cost into account when creating if creation could be
      instantaneous (i.e. if creation_time is 0 *or 1*).
      9ab6363b