Probe a generator’s behaviour
Draws n values from gen, ramping the
generation size from 1 to n, and returns a Dict summarizing
what was produced: run counts, the value types observed, the sizes of
any Vector/List/DataFrame values, and the wall-clock time spent.
gen (Dict): A generator spec (see
prop_gen_int, prop_gen_df, …).
n (Int): = 100 Number of draws
(also the max size ramp).
{ n_runs, n_errors, value_types, nested_sizes, elapsed_ms }.
prop_stats(prop_gen_df([x: prop_gen_int_range(0, 10)]), n = 20)