Skip to contents

Rebuilds every saved grid cell from its complete fitted active parameter vector and verifies the objective, gradient, reported coordinates, biological state, biomass path, and payload checksum.

Usage

validate_mle_grid_state_records(
  records,
  saved_summary,
  saved_biomass,
  grid,
  data,
  parameters,
  map,
  cores = 1L,
  tolerance = 1e-10
)

Arguments

records

Saved state-record list from summarise_mle_grid().

saved_summary

Saved summary data frame.

saved_biomass

Saved relative-spawning-biomass data frame.

grid

Grid data frame containing Cell, h, psi, m0, and m10.

data

Model data.

parameters

Complete model parameter list used as the grid template.

map

Parameter map used to fit each grid cell.

cores

Positive integer number of forked validation workers on non-Windows platforms.

tolerance

Numeric comparison tolerance.

Value

A single logical value.