prop_stats

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.

Parameters

Returns

{ n_runs, n_errors, value_types, nested_sizes, elapsed_ms }.

Examples

prop_stats(prop_gen_df([x: prop_gen_int_range(0, 10)]), n = 20)

See Also

prop_for_all