Study 02 · Process analytics Synthetic temporal validation

Can 30 days of leach data forecast the next 30?

Can a cell-specific recovery forecast support a pad-day decision on later cells that were never used to fit or select the rule?

0.80 ppDay-60 recovery forecast MAE from the first 30 days
20Later cells kept out of fitting and rule selection
+210 ozObserved-trajectory replay at equal cell-days; retrospective only

The question & scope

A forecast is useful only if its rule is chosen before the later cells are scored.

A temporal holdout study tests six day-30 forecast rules on a later 20-cell cohort, then replays an equal pad-day budget against those cells’ observed dissolved-gold trajectories.

Data basisSynthetic temporal validationStudy scope110 cells · 19-cell tuning cohort · 20-cell later holdout
Temporal holdout results · dissolved recovery · lower forecast error is better
EvaluationInput → targetMAE (pp)RMSE (pp)
Selected rule · primary30 → 60 days0.801.07
Historical-rate baseline · primary30 → 60 days2.282.86
Selected rule · sensitivity45 → 75 days0.490.64
Historical-rate baseline · sensitivity45 → 75 days1.922.32

Analytical method

How the question was tested.

  1. Split whole cells by time. Develop group priors on 37 early cells; select among six rules using day-30 to day-60 MAE on 19 later tuning cells; refit on 73 cells complete before the final cutoff; score the selected rule on 20 cells stacked from April 2026 onward.

  2. Fit a bounded first-order kinetic curve to only the first 30 observed daily PLS dissolved-gold values for each forecast. Select the regularisation penalty on the tuning cohort, then lock the rule before scoring the later cohort. No fitted full-curve export, ADR result, or generator answer key enters the forecast.

  3. As a separate decision replay, allocate a fixed 1,200 cell-day budget using the day-30 forecasts, with each test-cell stop bounded from 30 to 75 days. Compare the resulting allocations with the observed dissolved-gold trajectories and an equal 60-day stop.

The validation

Choose the rule first. Score it on later cells.

The selected rule used only each cell’s first 30 days of PLS observations to forecast dissolved recovery at day 60. Six methods competed on a separate tuning cohort before the 20 later cells were scored.

0.80 ppSelected rule · day-60 MAE
2.28 ppHistorical-rate baseline · day-60 MAE
1.48 ppMean paired absolute-error improvement
Mean absolute error for six day-60 forecast rules on the same 20 later held-out cells. The selected regularised kinetic rule has the lowest error.
Primary comparison uses one later holdout for all methods. The regularisation level was selected on 19 separate tuning cells.
Cell cohorts · final cutoff 1 April 2026 · role counts overlap where noted
RoleCellsRule
Early development37Completed before 1 Oct 2025 · Used to estimate early group priors.
Rule-selection tuning19Stacked Oct 2025–Mar 2026 and complete before the final cutoff · Select one of six rules using day-60 MAE.
Additional pre-test records17Complete before 1 Apr 2026 · Added to the final refit; exclude records crossing the cutoff.
Final model refit73All complete before 1 Apr 2026 · Development, tuning, and the 17 additional pre-test cells.
Later-cell holdout20Stacked from 1 Apr 2026 onward · Used once for the primary and sensitivity scores.
Cutoff-crossing records17Stacked before 1 Apr; incomplete at that cutoff · Excluded from fitting and testing.

The 73-cell final refit includes the 37 development cells, 19 tuning cells, and 17 additional pre-test cells. The 17 cutoff-crossing cells are excluded. The paired-error interval is a 2,000-resample bootstrap over 20 cells; it is descriptive and does not include model-selection or external-validation uncertainty.

Does the forecast help allocate time?

Using only the first 30 days to allocate stops from day 30 to day 75 gives every test cohort the same 1,200 cell-days as a 60-day stop for each cell. Scoring the schedules against the observed daily dissolved-gold trajectories gives a retrospective difference of 210 oz. Removing one cell at a time yields 130–217 oz.

Per-cell dissolved-gold differences in the retrospective allocation replay compared with a fixed 60-day stop, with the same total 1,200 cell-days.
This replay uses actual held-out trajectories to score prefix-guided allocations. It is not a calendar-feasible operating schedule or a causal recovery gain.

Reproduced with Python and NumPy. The evidence pack contains the exact holdout protocol, checksums for its synthetic input CSVs, predictions, cell splits, replay output, and an independent verification script.

Findings & next checks

What the evidence supports.

Finding 1

The selected rule forecast later cells more accurately than a simple historical-rate baseline.

Observation
On 20 later cells, the regularised kinetic rule has day-60 MAE 0.80 percentage points and RMSE 1.07 pp. The historical-rate baseline has MAE 2.28 pp and RMSE 2.86 pp. Mean paired absolute-error improvement is 1.48 pp; a 2,000-resample cell bootstrap interval is 0.61–2.38 pp.
Interpretation
This supports early-prefix forecasting within this simulated time sequence. The interval is a descriptive cell resampling check after rule selection, not an external or formal field validation.
Next check
Repeat prospectively as new cells are stacked, preserve the forecast timestamp and rule, and report results without retuning on those cells.

Finding 2

The result persists at a later forecast horizon in this holdout.

Observation
With the same selected rule, a 45-day prefix forecasts day 75 with MAE 0.49 pp on the same 20 held-out cells; the historical-rate baseline is 1.92 pp.
Interpretation
The sensitivity supports the direction of the day-60 comparison, while using a longer observed prefix naturally gives the model more information. It is not a second independent test.
Next check
Track multiple operational horizons prospectively and include drain-down and downstream accounting checkpoints before setting any stop rule.

Finding 3

An equal-budget replay improves the observed dissolved-gold total, with important operational gaps.

Observation
Forecast-guided stops allocate the same 1,200 cell-days and replay to 24,419 oz versus 24,209 oz under 60 days per cell: a 210 oz retrospective difference. Removing one cell at a time gives 130–217 oz across these replays.
Interpretation
This is evidence that early curves may help rank where this simulated cohort’s days went. The replay scores realized daily trajectories after the forecast; it is not a causal treatment effect, final poured gold, or realised financial gain.
Next check
Test calendar-feasible schedules with pad geometry, arrival timing, solution capacity, drain-down, solution inventory, carbon/ADR accounting, and metallurgical review.

Supporting evidence

Reproduce the analysis.

The downloadable pack contains the exact protocol, minimum synthetic input records, code, output tables, file checksums, and an independent future-data mutation check. It can be rerun locally with Python and NumPy.

Download evidence pack · ZIP ↓

Limits of the result

What this study does not establish.

  • Every operational record is simulated. The time holdout isolates new fitting and rule selection, but this study was not preregistered, earlier aggregate findings had been viewed, and it is not an independent external test.
  • The measured endpoint is dissolved gold in PLS. No ADR gold-pour outcome, final recovery, or full metal-accounting balance is modelled.
  • The allocation replay omits calendar scheduling, pad layout, cell interference, arrivals, drain-down, solution inventory/capacity, and constraints on parallel cells. Its ounces are retrospective replay results, not causal uplift or savings.
  • The source cost assumptions include USD 4,800/oz gold and solution costs. They are illustrative inputs, not current quotes or a valuation. The chosen allocation can change when assumptions change.
  • Heap-leach kinetics and recovery do not transfer automatically from simulated cells to a commercial heap. Site decisions need representative metallurgical tests and appropriate scale-up, field measurements, and qualified process review.

Sources & provenance

Trace the result.

  1. Reproducible analysis and evidence pack

    Includes the holdout protocol, minimum synthetic inputs, Python analysis and verification scripts, cohort assignments, predictions, per-cell replay, source checksums, and SVG figures. All input CSVs are disclosed as simulated.

  2. Kappes (1981), Scale-up Experience in Gold-Silver Heap Leaching ↗

    Industry paper on comparisons across five operations and staged testwork. Used to motivate scale-up caution, not as validation of this dataset’s numerical results.

  3. van Staden & Petersen (2021), Towards fundamentally based heap leaching scale-up ↗

    Peer-reviewed discussion of extrapolating column leach kinetics to commercial heaps; the present retrospective forecast study does not perform that scale-up.

  4. Original data provenance and assumptions

    The supplied heap-leach project README.md and generate_heapleach_data.py describe the synthetic operation. The public evidence pack excludes the generator’s hidden true-parameter file.

Portfolio presentation reviewed 24 October 2026. Data basis, methods, and limits are stated alongside the findings.

Explore the dashboard & Power BI project →

Operational analytics services

Have a similar question in your operational data?

Scope a paid data audit or custom dashboard for your manufacturing or mining team. Start with a business question and a source inventory; agree KPI definitions, analytical checks, a web or Power BI deliverable, and handover in a written proposal.

Request analytics scope & a proposal →Discuss with Dicky on WhatsApp ↗Download the portfolio brief ↓