genproc: deep dive2 months ago
A small working example | Anatomy of genproc_result | The log | The reproducibility snapshot | Input fingerprinting | Heuristic detection | Shared inputs are deduplicated | Overrides | Comparing runs with diff_inputs() | How errors are reported | Inspecting and re-running a result | Building blocks: extracting f and the mask from a working example | 1. from_example_to_function() — example expression to function | 2. from_function_to_mask() — function signature to mask template | 3. rename_function_params() — give the parameters domain names | Parameter renaming with f_mapping | Parallel execution in depth | Power-user pattern: manage the plan yourself | One-off pattern: let genproc install the plan | Amortization threshold | RNG reproducibility | Non-blocking execution in depth | What's in the skeleton | Idempotence | Default strategy: why "multisession" | Plan lifetime | Composition: parallel × non-blocking | Default mc.cores in the wrapper subprocess | Progress monitoring | Current edges and roadmap
