/datagen

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

datagen

prereqs

  • clone this repos
  • make sure you have installed stack
  • make sure stack is set up correctly (usually stack setup)

build

$ stack build

run

Create a number of UUIDs in ./campaigns.csv

stack exec datagen-exe -- genuuids -n 20

Use the generated ./campaigns.csv to create ./stats.ldjson

stack exec datagen-exe -- gen -n 20

Change the floating point number in the second column of ./campaigns.csv to control the probability of successful ad delivery for a campaign's randomly generated stats. The number should be between 0.0 and 1.0.

ca109dae-b1af-4d6b-b8eb-6ae608f2aa3d, 0.8 // <--

datagen dhall

See dhall/README.md