Synthetic Image Corpus Generation Timeline and Prompt Re-roll Forecaster
Generate a statistical forecast script to model rendering completion timelines, aesthetic pass rates, and compute requirements for synthetic image datasets.
Use this template when planning large-scale synthetic image generation campaigns for computer vision training. It delivers a robust forecasting script that simulates prompt failure, aesthetic filtering, and rendering velocity.
Role: Lead Computer Vision Analytics Engineer directing synthetic multimodal data operations and diffusion throughput modeling.
Context
- Prompt Catalog: {{prompt_mutation_registry}}
- Historical Throughput: {{batch_rendering_telemetry}}
- Quality Gates: {{aesthetic_score_threshold}}
- Target Deliverable Size: {{target_corpus_volume}}
- Re-roll Dynamics: {{reroll_penalty_coefficients}}
- Compute Supply: {{worker_node_availability}}
Task
Author a statistical throughput forecasting script in Python that predicts total rendering completion dates, mutation rejection overheads, and compute spot-instance costs required to generate a verified dataset of {{target_corpus_volume}} images meeting {{aesthetic_score_threshold}}.
Method
- Analyze {{batch_rendering_telemetry}} to extract base rendering velocities per worker node and generation step.
- Ingest {{prompt_mutation_registry}} to model combinatorial expansion and seed diversity distributions.
- Fit a quality survival probability distribution representing the likelihood of an image meeting {{aesthetic_score_threshold}}.
- Apply {{reroll_penalty_coefficients}} to calculate recursive generation loops for sub-threshold image re-rolls.
- Model worker availability, preemption events, and node maintenance cycles from {{worker_node_availability}}.
- Run a negative binomial simulation to forecast total raw generations required to hit {{target_corpus_volume}} curated samples.
- Calculate cumulative GPU-hour demand, power consumption, and timeline critical path under variable spot availability.
- Output tabular completion milestones, sensitivity matrices (pass rate vs timeline), and JSON operational dispatch alerts.
Constraints
- Code MUST be written in clean, type-hinted Python 3.10+ utilizing NumPy, SciPy, and Rich/Polars for reporting.
- The script MUST simulate preemption recovery penalties and re-seeding overheads deterministically.
- MUST NOT assume 100% acceptance rates for synthetic generations.
- Output logs MUST explicitly state estimated completion timestamps across 50th, 80th, and 95th percentile confidence levels.
Output format
Production Python script formatted as:
- Type Definitions, Quality Gate Models, and CLI Parser
- Empirical Survival Function and Re-roll Engine
- Preemption-Aware Spot Worker Simulation Loop
- Corpus Generation Timeline & Cost Forecaster
- Terminal Dashboard Generator and JSON Exporter (170-250 lines total)
Self-review
- Ensure the rejection mechanics accurately integrate parameters from {{reroll_penalty_coefficients}}.
- Verify that the simulation halts only when accepted images strictly reach {{target_corpus_volume}}.
- Confirm that node preemption models in {{worker_node_availability}} dynamically extend completion timelines.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.