diff --git a/LoopStructural/modelling/core/geological_model.py b/LoopStructural/modelling/core/geological_model.py index c67b5bdb0..e6f87c08e 100644 --- a/LoopStructural/modelling/core/geological_model.py +++ b/LoopStructural/modelling/core/geological_model.py @@ -1,6 +1,7 @@ """ Main entry point for creating a geological model """ + from __future__ import annotations import warnings @@ -26,6 +27,7 @@ all_heading, gradient_vec_names, ) +from ..features._evaluation import evaluation_scope from ..features._feature_converters import ( add_fold_to_feature as _add_fold_to_feature, ) @@ -325,13 +327,17 @@ def from_processor(cls, processor): logger.warning(f"Cannot add splay {edge[1]} or {edge[0]} are not in the model") continue splay = False - if "angle" in properties and float(properties["angle"]) < 30 and ( - "dip_dir" not in processor.stratigraphic_column["faults"][edge[0]] - or np.abs( - processor.stratigraphic_column["faults"][edge[0]]["dip_dir"] - - processor.stratigraphic_column["faults"][edge[1]]["dip_dir"] + if ( + "angle" in properties + and float(properties["angle"]) < 30 + and ( + "dip_dir" not in processor.stratigraphic_column["faults"][edge[0]] + or np.abs( + processor.stratigraphic_column["faults"][edge[0]]["dip_dir"] + - processor.stratigraphic_column["faults"][edge[1]]["dip_dir"] + ) + < 90 ) - < 90 ): # splay region = model[edge[1]].builder.add_splay(model[edge[0]]) @@ -677,12 +683,10 @@ def set_stratigraphic_column(self, stratigraphic_column, cmap="tab20"): min_val = stratigraphic_column[g][u]["min"] max_val = stratigraphic_column[g][u].get("max", None) thickness = max_val - min_val if max_val is not None else None - logger.info( - f""" + logger.info(f""" model.stratigraphic_column.add_unit({u}, colour={stratigraphic_column[g][u].get("colour", None)}, - thickness={thickness})""" - ) + thickness={thickness})""") self.stratigraphic_column.add_unit( u, colour=stratigraphic_column[g][u].get("colour", None), @@ -1284,15 +1288,17 @@ def evaluate_model(self, xyz: np.ndarray, *, scale: bool = True) -> np.ndarray: return strat_id s_id = 0 - for g in reversed(self.stratigraphic_column.get_groups()): - feature_id = self.feature_name_index.get(g.name, -1) - if feature_id >= 0: - vals = self.features[feature_id].evaluate_value(xyz) - for u in g.units: - strat_id[np.logical_and(vals < u.max(), vals > u.min())] = s_id - s_id += 1 - if feature_id == -1: - logger.error(f"Model does not contain {g.name}") + # one scope for all groups: they share the restorations of equal fault sets + with evaluation_scope(self): + for g in reversed(self.stratigraphic_column.get_groups()): + feature_id = self.feature_name_index.get(g.name, -1) + if feature_id >= 0: + vals = self.features[feature_id].evaluate_value(xyz) + for u in g.units: + strat_id[np.logical_and(vals < u.max(), vals > u.min())] = s_id + s_id += 1 + if feature_id == -1: + logger.error(f"Model does not contain {g.name}") return strat_id @@ -1316,13 +1322,15 @@ def evaluate_model_gradient(self, points: np.ndarray, *, scale: bool = True) -> # evaluate_model. xyz = np.array(points) grad = np.zeros(xyz.shape) - for g in reversed(self.stratigraphic_column.get_groups()): - feature_id = self.feature_name_index.get(g.name, -1) - if feature_id >= 0: - gradt = self.features[feature_id].evaluate_gradient(xyz) - grad[~np.isnan(gradt).any(axis=1)] = gradt[~np.isnan(gradt).any(axis=1)] - if feature_id == -1: - logger.error(f"Model does not contain {g.name}") + # one scope for all groups: they share the restorations of equal fault sets + with evaluation_scope(self): + for g in reversed(self.stratigraphic_column.get_groups()): + feature_id = self.feature_name_index.get(g.name, -1) + if feature_id >= 0: + gradt = self.features[feature_id].evaluate_gradient(xyz) + grad[~np.isnan(gradt).any(axis=1)] = gradt[~np.isnan(gradt).any(axis=1)] + if feature_id == -1: + logger.error(f"Model does not contain {g.name}") return grad @@ -1346,10 +1354,11 @@ def evaluate_fault_displacements(self, points, scale=True): # `scale` is retained for API-signature compatibility only -- see # evaluate_model. vals = np.zeros(points.shape[0]) - for f in self.features: - if f.type == FeatureType.FAULT: - disp = f.displacementfeature.evaluate_value(points) - vals[~np.isnan(disp)] += disp[~np.isnan(disp)] + with evaluation_scope(self): + for f in self.features: + if f.type == FeatureType.FAULT: + disp = f.displacementfeature.evaluate_value(points) + vals[~np.isnan(disp)] += disp[~np.isnan(disp)] return vals # convert from restoration magnutude to displacement @public_api(tier="stable") @@ -1418,7 +1427,8 @@ def evaluate_feature_value(self, feature_name, xyz, scale=True): # evaluate_model. feature = self.get_feature_by_name(feature_name) if feature: - return feature.evaluate_value(xyz) + with evaluation_scope(self): + return feature.evaluate_value(xyz) else: return np.zeros(xyz.shape[0]) @@ -1576,10 +1586,8 @@ def update(self, verbose=False, progressbar=True): total_dof += f.interpolator.dof continue if verbose: - logger.info( - f"Updating geological model. There are: \n {nfeatures} \ - geological features that need to be interpolated\n" - ) + logger.info(f"Updating geological model. There are: \n {nfeatures} \ + geological features that need to be interpolated\n") with timed_stage(logger, "update", nfeatures=nfeatures, total_dof=total_dof): if progressbar: @@ -1647,7 +1655,8 @@ def save( # ModelFeatureFactory.build_* staticmethod; new feature types register here # without modifying GeologicalModel's source. FeatureBuilderRegistry.register( - "foliation", lambda model, name, **params: ModelFeatureFactory.build_foliation(model, name, **params) + "foliation", + lambda model, name, **params: ModelFeatureFactory.build_foliation(model, name, **params), ) FeatureBuilderRegistry.register( "fold_frame", @@ -1659,7 +1668,9 @@ def save( ) FeatureBuilderRegistry.register( "folded_fold_frame", - lambda model, name, **params: ModelFeatureFactory.build_folded_fold_frame(model, name, **params), + lambda model, name, **params: ModelFeatureFactory.build_folded_fold_frame( + model, name, **params + ), ) FeatureBuilderRegistry.register( "intrusion", diff --git a/LoopStructural/modelling/features/_base_geological_feature.py b/LoopStructural/modelling/features/_base_geological_feature.py index dcbe7a527..11f6bd389 100644 --- a/LoopStructural/modelling/features/_base_geological_feature.py +++ b/LoopStructural/modelling/features/_base_geological_feature.py @@ -11,6 +11,8 @@ from LoopStructural.utils.regions import BaseRegion from LoopStructural.utils.typing import NumericInput +from ._evaluation import evaluation_scope + logger = getLogger(__name__) @@ -227,8 +229,9 @@ def evaluate_normalised_value(self, pos: NumericInput): pos : NumericInput An array or arraylike object with locations """ - value = self.evaluate_value(pos) - return (value - self.min()) / (self.max() - self.min()) + with evaluation_scope(self.model): + value = self.evaluate_value(pos) + return (value - self.min()) / (self.max() - self.min()) def _calculate_mask( self, evaluation_points: np.ndarray, ignore_regions=False, block=None, @@ -308,7 +311,7 @@ def evaluate_gradient(self, pos, ignore_regions=False): """ Evaluate the gradient of the feature at a given position. """ - + raise NotImplementedError def min(self): @@ -372,7 +375,7 @@ def surfaces( raise ValueError("Must specify bounding box") bounding_box = self.model.bounding_box regions = self.regions - + try: # A region can also be a plain callable (e.g. the lambdas # add_domain_fault_below/above attach for a domain-fault crop), @@ -456,6 +459,7 @@ def gradient_norm_scalar_field(self, bounding_box=None): ) grid.cell_properties[self.name] = value return grid + def vector_field(self, bounding_box=None, tolerance=0.05, scale=1.0): """Create a vector field for the feature diff --git a/LoopStructural/modelling/features/_evaluation.py b/LoopStructural/modelling/features/_evaluation.py new file mode 100644 index 000000000..81e9532fb --- /dev/null +++ b/LoopStructural/modelling/features/_evaluation.py @@ -0,0 +1,179 @@ +"""Evaluation scope that shares fault restorations inside one call. + +An evaluation scope is a short-lived :class:`EvaluationContext`. It stores the restored +coordinates of the faults of a feature. The key of an entry holds the exact content of the +points, the ordered faults, ``reverse``, ``faults_enabled`` and a state token of the faults. +Two features that use the same ordered faults on equal points therefore share one +restoration. + +The scope is stored in a ``contextvars.ContextVar``. It is always reset when the +outermost ``with`` block ends, also after an exception. The scope keeps +its entries for one call only. It does not keep any entry after it ends. A partial restoration is never stored. +""" + +from __future__ import annotations + +import hashlib +from collections.abc import Hashable, Iterator +from contextlib import contextmanager +from contextvars import ContextVar +from typing import TYPE_CHECKING + +import numpy as np + +from LoopStructural.utils._fault_block import restore_through + +if TYPE_CHECKING: + from LoopStructural import GeologicalModel + from LoopStructural.modelling.features._base_geological_feature import BaseFeature + +_CHUNK_BYTES = 1 << 20 +_ACTIVE: ContextVar = ContextVar("loopstructural_evaluation_context", default=None) + + +def _digest(points: np.ndarray) -> bytes: + """Return a digest of the exact content of ``points``. + + The digest is made in blocks of bounded size. A contiguous array is not copied. + A non-contiguous array is copied one block of rows at a time, never as a whole. + The digest is the same for equal content in any memory layout. + """ + array = np.asarray(points) + hasher = hashlib.blake2b(digest_size=16) + if array.size == 0: + return hasher.digest() + if array.ndim == 0: + array = array.reshape(1) + if array.flags.c_contiguous: + blocks = [array] + else: + row_bytes = max(1, array.itemsize * int(np.prod(array.shape[1:], dtype=np.int64))) + rows = max(1, _CHUNK_BYTES // row_bytes) + blocks = (array[start : start + rows] for start in range(0, array.shape[0], rows)) + for block in blocks: + flat = np.ascontiguousarray(block).reshape(-1).view(np.uint8) + for start in range(0, flat.size, _CHUNK_BYTES): + hasher.update(flat[start : start + _CHUNK_BYTES]) + return hasher.digest() + + +def _fault_state(fault: BaseFeature) -> Hashable: + """Return a token for the identity and the state of one fault.""" + return (id(fault), getattr(fault, "displacement", None), getattr(fault, "steps", None)) + + +class EvaluationContext: + """Storage for the restorations of one evaluation scope. + + Parameters + ---------- + model : GeologicalModel, optional + The model of the scope. None for a standalone feature. + """ + + def __init__(self, model: GeologicalModel | None = None) -> None: + self.model = model + self._restorations: dict = {} + + def restore( + self, feature: BaseFeature, points: np.ndarray, reverse: bool = False + ) -> np.ndarray: + """Return the points restored by the ordered faults of ``feature``. + + Parameters + ---------- + feature : BaseFeature + The feature whose ``faults`` are applied. + points : np.ndarray + Nx3 array of points. + reverse : bool, default False + Apply the faults in the reverse direction. + + Returns + ------- + np.ndarray + Read-only array of the restored points. + """ + points = np.asarray(points) + faults = tuple(feature.faults) if feature.faults_enabled else () + if not faults: + unchanged = points.view() + unchanged.flags.writeable = False + return unchanged + # Build every reachable builder before the first lookup, so a lazy build + # happens once and not between two lookups. + for fault in faults: + builder = getattr(fault, "builder", None) + if builder is not None: + builder.up_to_date() + digest = _digest(points) + # The scope key holds the faults only. Features with the same ordered faults share + # one restoration inside the scope. The model does not change inside one scope. + key = ( + digest, + points.shape, + points.dtype.str, + tuple(_fault_state(fault) for fault in faults), + bool(reverse), + ) + restored = self._restorations.get(key) + if restored is not None: + return restored + restored = np.asarray(restore_through(points, faults, reverse=reverse)) + if restored is points or np.shares_memory(restored, points): + restored = restored.copy() + restored.flags.writeable = False + # The entry is stored only after all faults are applied. + self._restorations[key] = restored + return restored + + +@contextmanager +def evaluation_scope(model: GeologicalModel | None = None) -> Iterator[EvaluationContext]: + """Open an evaluation scope and give its context. + + A nested scope uses the active context when ``model`` is the model of the active + context, or when ``model`` is None. A scope for another model is a separate context. + The ContextVar is reset when the scope that opened the context ends. + + Parameters + ---------- + model : GeologicalModel, optional + The model of the scope, by default None. + + Yields + ------ + EvaluationContext + The active context. + """ + active = _ACTIVE.get() + if active is not None and (model is None or active.model is model): + yield active + return + context = EvaluationContext(model) + token = _ACTIVE.set(context) + try: + yield context + finally: + _ACTIVE.reset(token) + + +def restore(feature: BaseFeature, points: np.ndarray, reverse: bool = False) -> np.ndarray: + """Restore ``points`` with the ordered faults of ``feature``, shared in the scope. + + Parameters + ---------- + feature : BaseFeature + The feature whose faults are applied. + points : np.ndarray + Nx3 array of points. + reverse : bool, default False + Apply the faults in the reverse direction. + + Returns + ------- + np.ndarray + Read-only array of the restored points. + """ + with evaluation_scope(getattr(feature, "model", None)) as context: + return context.restore(feature, points, reverse) diff --git a/LoopStructural/modelling/features/_geological_feature.py b/LoopStructural/modelling/features/_geological_feature.py index 518b09fdf..e45543c88 100644 --- a/LoopStructural/modelling/features/_geological_feature.py +++ b/LoopStructural/modelling/features/_geological_feature.py @@ -9,6 +9,8 @@ import dataclasses import warnings +import functools + import numpy as np from loop_interpolation import DiscreteInterpolator from loop_interpolation._diagnostics import ( @@ -26,10 +28,23 @@ from ...utils._fault_block import block_kwargs, check_block from . import FeatureType from ._base_geological_feature import BaseFeature +from ._evaluation import evaluation_scope, restore logger = getLogger(__name__) +def _in_evaluation_scope(method): + """Run an evaluation inside an evaluation scope that shares fault restorations.""" + + @functools.wraps(method) + def wrapper(self, *args, **kwargs): + with evaluation_scope(self.model): + return method(self, *args, **kwargs) + + return wrapper + + + class GeologicalFeature(BaseFeature): """A geological feature representing a geometrical element in a geological model. @@ -126,6 +141,17 @@ def __setitem__(self, key, item): def set_model(self, model): self.model = model + def _restore_points(self, points, *, block=None, restored_through=()): + """Restore points through the faults, sharing the result inside an evaluation scope. + + Only a plain call (no block, no faults already restored) is shared; any other + call restores directly. + """ + if block is None and not restored_through: + return restore(self, points) + return self._apply_faults(points, block=block, restored_through=restored_through) + + @_in_evaluation_scope def evaluate_value( self, pos: np.ndarray, ignore_regions=False, fillnan=None, *, block=None, restored_through=(), @@ -174,7 +200,7 @@ def evaluate_value( mask = self._calculate_mask( pos, ignore_regions=ignore_regions, block=block, restored_through=restored_through ) - evaluation_points = self._apply_faults( + evaluation_points = self._restore_points( evaluation_points, block=block, restored_through=restored_through ) if mask.dtype not in [int, bool]: @@ -190,6 +216,7 @@ def evaluate_value( v[nanmask] = v[~nanmask][i] return v + @_in_evaluation_scope def evaluate_gradient( self, pos: np.ndarray, ignore_regions=False, element_scale_parameter=None, *, block=None, restored_through=(), @@ -266,7 +293,7 @@ def evaluate_gradient( tetrahedron = regular_tetraherdron_for_points(pos, element_scale_parameter) resolved = False - tetrahedron_faulted = self._apply_faults( + tetrahedron_faulted = self._restore_points( np.array(tetrahedron.reshape(-1, 3)), block=block, restored_through=restored_through ).reshape(tetrahedron.shape) @@ -276,7 +303,7 @@ def evaluate_gradient( v[mask, :] = gradient_from_tetrahedron(tetrahedron[mask, :, :], values[mask]) return v - pos = self._apply_faults(pos, block=block, restored_through=restored_through) + pos = self._restore_points(pos, block=block, restored_through=restored_through) if mask.dtype not in [int, bool]: logger.error(f"Unable to evaluate gradient for {self.name}") else: diff --git a/LoopStructural/modelling/features/fault/_fault_segment.py b/LoopStructural/modelling/features/fault/_fault_segment.py index e3b1453ca..0f0c88fdc 100644 --- a/LoopStructural/modelling/features/fault/_fault_segment.py +++ b/LoopStructural/modelling/features/fault/_fault_segment.py @@ -292,9 +292,83 @@ def evaluate_gradient(self, locations): v[mask, :] *= scale[:, None] * self.displacement return v - def _evaluate_frame(self, points, block=None, precomputed_gx=None, restored_through=()): + def _shared_frame_members(self): + """Get the frame members that can share one grid lookup. + + The fast path is only safe when all of these are true for the three + members of the frame: + + - each member is a plain GeologicalFeature with a discrete interpolator + on a StructuredGrid that has the uniform cell lookup, + - the grids have equal geometry and the interpolators have equal + transforms, + - no member has faults, + - the regions of the members are the same objects, so one mask is + valid for all members. + + Returns + ------- + list or None + the three members, or None if the legacy calls are needed + """ + from loop_common.supports import StructuredGrid + from loop_interpolation import DiscreteInterpolator + + from .._geological_feature import GeologicalFeature + + try: + members = [self.__getitem__(i) for i in range(3)] + except (IndexError, KeyError, TypeError): + return None + reference = None + for member in members: + if type(member).evaluate_value is not GeologicalFeature.evaluate_value: + return None + if type(member).evaluate_gradient is not GeologicalFeature.evaluate_gradient: + return None + if len(member.faults) > 0: + return None + interpolator = member.interpolator + if not isinstance(interpolator, DiscreteInterpolator): + return None + support = interpolator.support + if not isinstance(support, StructuredGrid) or not support._has_uniform_lookup(): + return None + box = interpolator.bounding_box + description = ( + np.asarray(support.origin), + np.asarray(support.nsteps), + np.asarray(support.step_vector), + None if box is None else np.asarray(box.local_origin), + None if box is None else np.asarray(box.local_rotation), + member.regions, + ) + if reference is None: + reference = description + continue + for index, (a, b) in enumerate(zip(reference, description)): + if index == 5: + if len(a) != len(b) or any(x is not y for x, y in zip(a, b)): + return None + elif a is None or b is None: + if a is not b: + return None + elif not np.array_equal(a, b): + return None + return members + + def _evaluate_frame( + self, points, block=None, precomputed_gx=None, restored_through=(), *, + need_gradient=False, need_values=True, need_gx=True, + ): """Evaluate the three fault frame coordinates at the points. + If the three members have equal StructuredGrid supports and no faults, + one grid lookup gives the values of all members and the gradient of + coordinate 1 (the block and the restored faults have no effect on a + member without faults). Other frames use the calls of the members (the + legacy path). The lookup is not kept after this call. + Parameters ---------- points : np.ndarray @@ -308,33 +382,97 @@ def _evaluate_frame(self, points, block=None, precomputed_gx=None, restored_thro restored_through : sequence of FaultSegment faults whose restoration the points already have; the frame does not apply them again + need_gradient : bool + add the gradient of coordinate 1 to the result. This gradient is not + normalised and it ignores the regions. + need_values : bool + if false, the values are not evaluated and are None + need_gx : bool + if false, the values of coordinate 0 are not evaluated and are None Returns ------- - tuple of np.ndarray - gx, gy, gz + tuple + (gx, gy, gz) or (gx, gy, gz, gradient) """ + if precomputed_gx is not None: + need_gx = False + points = np.asarray(points) + members = self._shared_frame_members() if len(points) > 0 else None + if members is None: + gx, gy, gz, *g = self._evaluate_frame_legacy( + points, block, restored_through, need_gradient, need_values, need_gx + ) + if precomputed_gx is not None: + gx = precomputed_gx + return (gx, gy, gz, *g) + for member in members: + if member.builder is not None: + member.builder.up_to_date() + interpolators = [member.interpolator for member in members] + for interpolator in interpolators: + interpolator.update() + support = interpolators[0].support + local = interpolators[0]._project_points(points) + lookup = support._lookup_points(local) + values = [None, None, None] + if need_values: + mask = members[0]._calculate_mask(points) + nan_rows = np.any(np.isnan(np.asarray(local)), axis=1) + for i in range(3): + if i == 0 and not need_gx: + continue + v = support._evaluate_value_from_lookup(lookup, interpolators[i].c) + # The interpolator gives 0 for points that are not finite. + v[nan_rows] = 0.0 + v[~mask] = np.nan + values[i] = v + if precomputed_gx is not None: + values[0] = precomputed_gx + if not need_gradient: + return tuple(values) + gradient = support._evaluate_gradient_from_lookup(lookup, interpolators[1].c) + gradient = interpolators[1]._reproject_vectors(gradient) + return (*values, gradient) + + + def _evaluate_frame_legacy( + self, points, block, restored_through, need_gradient, need_values, need_gx + ): + """Evaluate the frame with one call for each member and gradient.""" kwargs = block_kwargs(block) if restored_through: kwargs["restored_through"] = tuple(restored_through) - if precomputed_gx is not None: - gx = precomputed_gx - gy = self.__getitem__(1).evaluate_value(points, **kwargs) - gz = self.__getitem__(2).evaluate_value(points, **kwargs) - elif use_threads: + member0, member1, member2 = (self.__getitem__(i) for i in range(3)) + gx = gy = gz = g = None + if use_threads: with ThreadPoolExecutor(max_workers=8) as executor: # all of these operations should be independent so # just run as different threads - gx_future = executor.submit(self.__getitem__(0).evaluate_value, points, **kwargs) - gy_future = executor.submit(self.__getitem__(1).evaluate_value, points, **kwargs) - gz_future = executor.submit(self.__getitem__(2).evaluate_value, points, **kwargs) - gx = gx_future.result() - gy = gy_future.result() - gz = gz_future.result() + futures = {} + if need_values: + if need_gx: + futures["gx"] = executor.submit(member0.evaluate_value, points, **kwargs) + futures["gy"] = executor.submit(member1.evaluate_value, points, **kwargs) + futures["gz"] = executor.submit(member2.evaluate_value, points, **kwargs) + if need_gradient: + futures["g"] = executor.submit( + member1.evaluate_gradient, points, ignore_regions=True, **kwargs + ) + gx = futures["gx"].result() if "gx" in futures else None + gy = futures["gy"].result() if "gy" in futures else None + gz = futures["gz"].result() if "gz" in futures else None + g = futures["g"].result() if "g" in futures else None else: - gx = self.__getitem__(0).evaluate_value(points, **kwargs) - gy = self.__getitem__(1).evaluate_value(points, **kwargs) - gz = self.__getitem__(2).evaluate_value(points, **kwargs) + if need_values: + if need_gx: + gx = member0.evaluate_value(points, **kwargs) + gy = member1.evaluate_value(points, **kwargs) + gz = member2.evaluate_value(points, **kwargs) + if need_gradient: + g = member1.evaluate_gradient(points, ignore_regions=True, **kwargs) + if need_gradient: + return gx, gy, gz, g return gx, gy, gz def _displacement_fraction(self, gx, gy, gz, block=None, offset=0.0): @@ -578,18 +716,20 @@ def apply_to_points( d *= -1.0 # calculate the fault frame for the evaluation points for _i in range(steps): - g = None if _i == 0: # Reuse gx/gy/gz from the initial full-array evaluation above — newp[mask] hasn't # moved yet on the first iteration, so values are identical. gx_m = gx[mask] gy_m = gy[mask] gz_m = gz[mask] + g = self._evaluate_frame( + newp[mask, :], block, restored_through=restored_through, + need_gradient=True, need_values=False, + )[3] else: - gx_m, gy_m, gz_m = self._evaluate_frame( - newp[mask, :], block, restored_through=restored_through + gx_m, gy_m, gz_m, g = self._evaluate_frame( + newp[mask, :], block, restored_through=restored_through, need_gradient=True ) - g = self.__getitem__(1).evaluate_gradient(newp[mask, :], ignore_regions=True, **kwargs) gx, gy, gz = gx_m, gy_m, gz_m # alias for block below # # get the fault frame val/grad for the points # determine displacement magnitude, for constant displacement diff --git a/benchmarks/__init__.py b/benchmarks/__init__.py new file mode 100644 index 000000000..4c02ff14d --- /dev/null +++ b/benchmarks/__init__.py @@ -0,0 +1 @@ +"""Developer-only benchmark tools. Normal tests do not collect this package.""" diff --git a/benchmarks/fault_evaluation/__init__.py b/benchmarks/fault_evaluation/__init__.py new file mode 100644 index 000000000..1f47fb603 --- /dev/null +++ b/benchmarks/fault_evaluation/__init__.py @@ -0,0 +1 @@ +"""Opt-in benchmark tools for fault evaluation.""" diff --git a/benchmarks/fault_evaluation/acceptance.py b/benchmarks/fault_evaluation/acceptance.py new file mode 100644 index 000000000..0dc7dd5db --- /dev/null +++ b/benchmarks/fault_evaluation/acceptance.py @@ -0,0 +1,534 @@ +"""Check the numerical performance targets SC-002 to SC-009 on schema v1 results. + +Usage:: + + python -m benchmarks.fault_evaluation.acceptance --baseline PATH --candidate PATH \ + --repeat PATH --output PATH [--memory-points 10000000] + +``check_acceptance`` compares a baseline result with a candidate result. It +reports one row for each target. A failed target fails the whole result. It is +never a warning. The candidate holds three more inputs: ``repeat`` (a second +full result, for SC-007), ``suite_wall_seconds`` (for SC-008) and +``gradient_decision`` (the OP1 rule). + +``--memory-points`` is a local mode for the large-memory check (FR-010). It runs +each mode in a fresh subprocess. Do not run it in pytest or in CI. +""" + +# ruff: noqa: ANN401 (the wrapped objects are untyped model and fixture objects) + +from __future__ import annotations + +import argparse +import json +import subprocess +import sys +from collections import Counter +from pathlib import Path +from typing import Any + +from benchmarks.fault_evaluation import run +from benchmarks.fault_evaluation.run import cold_view + +SCHEMA_VERSION = 1 +GRADIENT_RULE = "op1-one-restoration-per-fault-set-and-point-batch" +SHORT_CASE_SECONDS = 1.0 +NOISE_LIMIT = 1.10 +SUITE_WALL_LIMIT_SECONDS = 900.0 +MEMORY_MODES = ("cold",) +# SC-006 also passes a case with at most this much extra memory (D10). +MEMORY_ALLOWANCE_BYTES = 16 * 1024 * 1024 +# FR-010: 3 floats of 8 bytes for each point and each fault set. +RESTORED_BYTES_PER_POINT = 3 * 8 +_TOLERANCE = 1e-9 + +OLD_F4U3 = "f4_u3:oldest_value:5000:cold" +ALL_F4U3 = "f4_u3:all_group_values:5000:cold" +ALL_F4U0 = "f4_u0:all_group_values:5000:cold" +# SC-003 count and SC-004 use one evaluate_model call with model_ids (spec C-017). +IDS_F4U3 = "f4_u3:model_ids:5000:cold" +IDS_F4U0 = "f4_u0:model_ids:5000:cold" +PLUGIN_OLD = "plugin:oldest_value:20000:cold" +SINGLE_F1U0 = "f1_u0:oldest_value:20000:cold" +# The pass that measures each field. A value of None means that the pass did not run the case. +_FIELD_PASSES = { + "median_seconds": "timing", + "fault_calls_total": "counters", + "fault_points_total": "counters", + "peak_extra_rss_bytes": "rss", +} +_PROVENANCE_FIELDS = ("python", "numpy", "scipy", "os", "cpu", "ram_bytes") +_CASE_PROVENANCE_FIELDS = ( + "input_hash", + "baseline_revision", + "prerequisite_parent_revision", + "prerequisite_fix_revision", +) + + +def _row(passed: bool, value: Any, limit: Any, reason: str | None) -> dict[str, Any]: + """Return one criterion row. A passed row has no reason.""" + return {"passed": passed, "value": value, "limit": limit, "reason": None if passed else reason} + + +def _index(document: dict[str, Any]) -> tuple[dict[str, dict[str, Any]], list[str]]: + """Return the cases by id (first one wins) and the ids that occur twice.""" + cases: dict[str, dict[str, Any]] = {} + duplicates: list[str] = [] + for case in document.get("cases", []): + case_id = case["case_id"] + if case_id in cases: + duplicates.append(case_id) + else: + cases[case_id] = case + return cases, duplicates + + +def _check_cases( + base: dict[str, dict[str, Any]], + new: dict[str, dict[str, Any]], + base_duplicates: list[str], + new_duplicates: list[str], +) -> dict[str, Any]: + """Check that both results hold the same cases, each one once.""" + problems = [f"Duplicate case {case_id!r} in the baseline" for case_id in base_duplicates] + problems += [f"Duplicate case {case_id!r} in the candidate" for case_id in new_duplicates] + problems += [ + f"Case {case_id!r} is missing from the candidate" for case_id in base if case_id not in new + ] + problems += [ + f"Case {case_id!r} is missing from the baseline" for case_id in new if case_id not in base + ] + return {"passed": not problems, "problems": problems} + + +def _check_provenance( + base: dict[str, Any], + new: dict[str, Any], + base_cases: dict[str, dict[str, Any]], + new_cases: dict[str, dict[str, Any]], +) -> dict[str, Any]: + """Check schema version, machine fields and the input identity of each case.""" + problems = [] + for label, document in (("baseline", base), ("candidate", new)): + if document.get("schema_version") != SCHEMA_VERSION: + problems.append( + f"The {label} has schema_version {document.get('schema_version')!r}, " + f"expected {SCHEMA_VERSION}" + ) + base_provenance = base.get("provenance", {}) + new_provenance = new.get("provenance", {}) + for field in _PROVENANCE_FIELDS: + if base_provenance.get(field) != new_provenance.get(field): + problems.append( + f"Provenance field {field} differs: baseline {base_provenance.get(field)!r}, " + f"candidate {new_provenance.get(field)!r}" + ) + for case_id, base_case in base_cases.items(): + new_case = new_cases.get(case_id) + if new_case is None: + continue + for field in _CASE_PROVENANCE_FIELDS: + if base_case.get(field) != new_case.get(field): + problems.append( + f"Field {field} differs for case {case_id!r}: baseline " + f"{base_case.get(field)!r}, candidate {new_case.get(field)!r}" + ) + return {"passed": not problems, "problems": problems} + + +def _missing(cases: dict[str, dict[str, Any]], *case_ids: str) -> str | None: + """Return a reason that names the first case id that is absent.""" + for case_id in case_ids: + if case_id not in cases: + return f"Case {case_id!r} is missing" + return None + + +def _unmeasured(cases: dict[str, dict[str, Any]], case_id: str, *fields: str) -> str | None: + """Return a reason that names the case and the pass of the first field that is None.""" + for field in fields: + if cases[case_id][field] is None: + return f"case {case_id!r} was not measured in the {_FIELD_PASSES[field]} pass" + return None + + +def _time_ratio_row( + base: dict[str, dict[str, Any]], + new: dict[str, dict[str, Any]], + case_id: str, + limit: float, + calls: int, + count_case_id: str | None = None, +) -> dict[str, Any]: + """Check time ratio against the baseline and the exact count of fault calls. + + The time ratio reads ``case_id``. The count of fault calls reads + ``count_case_id`` when it is given, and ``case_id`` if not. + """ + count_id = count_case_id or case_id + reason = _missing(base, case_id) or _missing(new, case_id, count_id) + if reason: + return _row(False, None, limit, reason) + reason = ( + _unmeasured(base, case_id, "median_seconds") + or _unmeasured(new, case_id, "median_seconds") + or _unmeasured(new, count_id, "fault_calls_total") + ) + if reason: + return _row(False, None, limit, reason) + base_median = base[case_id]["median_seconds"] + if base_median <= 0: + return _row(False, None, limit, f"Case {case_id!r} has a baseline median of zero") + ratio = new[case_id]["median_seconds"] / base_median + problems = [] + if ratio > limit + _TOLERANCE: + problems.append(f"time ratio {ratio:.4f} of case {case_id!r} is above {limit}") + if new[count_id]["fault_calls_total"] != calls: + problems.append( + f"case {count_id!r} makes {new[count_id]['fault_calls_total']} fault calls, not {calls}" + ) + return _row(not problems, ratio, limit, "; ".join(problems)) + + +def _sc004(new: dict[str, dict[str, Any]]) -> dict[str, Any]: + """SC-004: time with 3 unconformities over time with 0, both from the candidate. + + Both times come from the ``model_ids`` cases, which make one evaluate_model call. + """ + limit = 1.5 + reason = _missing(new, IDS_F4U3, IDS_F4U0) + if reason: + return _row(False, None, limit, reason) + reason = _unmeasured(new, IDS_F4U3, "median_seconds") or _unmeasured( + new, IDS_F4U0, "median_seconds" + ) + if reason: + return _row(False, None, limit, reason) + plain = new[IDS_F4U0]["median_seconds"] + if plain <= 0: + return _row(False, None, limit, f"Case {IDS_F4U0!r} has a median of zero") + ratio = new[IDS_F4U3]["median_seconds"] / plain + return _row(ratio <= limit + _TOLERANCE, ratio, limit, f"ratio {ratio:.4f} is above {limit}") + + +def _sc006(base: dict[str, dict[str, Any]], new: dict[str, dict[str, Any]]) -> dict[str, Any]: + """SC-006: the peak extra memory of a case is within the ratio limit or the allowance. + + A case passes when its memory is at most 120 % of the baseline, or at most + ``MEMORY_ALLOWANCE_BYTES`` above it. Only a case with a memory value in both documents is compared. The row value is + the worst new/base ratio. + """ + limit = 1.20 + worst = 0.0 + compared = 0 + problems = [] + for case_id, base_case in base.items(): + if case_id not in new: + continue + base_rss = base_case["peak_extra_rss_bytes"] + new_rss = new[case_id]["peak_extra_rss_bytes"] + if base_rss is None or new_rss is None: + continue + compared += 1 + if base_rss > 0: + worst = max(worst, new_rss / base_rss) + if new_rss > limit * base_rss + _TOLERANCE and new_rss - base_rss > MEMORY_ALLOWANCE_BYTES: + problems.append(f"case {case_id!r} memory {base_rss} bytes to {new_rss} bytes") + row = _row(not problems, worst, limit, "; ".join(problems)) + row["compared_cases"] = compared + return row + + +def _check_noise( + base: dict[str, dict[str, Any]], + new: dict[str, dict[str, Any]], + repeat: dict[str, Any] | None, +) -> tuple[dict[str, Any], list[dict[str, Any]]]: + """SC-007 (plan D2b). Return the criterion row and the list of short cases.""" + if repeat is None: + return _row(False, None, NOISE_LIMIT, "The repeat run is missing"), [] + repeat_cases, repeat_duplicates = _index(repeat) + problems = [f"duplicate case {case_id!r} in the repeat run" for case_id in repeat_duplicates] + short_cases = [] + worst = 0.0 + for case_id, base_case in base.items(): + if case_id not in new or case_id not in repeat_cases: + where = "candidate" if case_id not in new else "repeat run" + problems.append(f"case {case_id!r} is missing from the {where}") + continue + reason = ( + _unmeasured(base, case_id, "median_seconds") + or _unmeasured(new, case_id, "median_seconds") + or _unmeasured(repeat_cases, case_id, "median_seconds") + ) + if reason: + problems.append(reason) + continue + medians = ( + base_case["median_seconds"], + new[case_id]["median_seconds"], + repeat_cases[case_id]["median_seconds"], + ) + if min(medians) <= 0: + problems.append(f"case {case_id!r} has a median of zero") + continue + noise = max(medians[1] / medians[2], medians[2] / medians[1]) + if medians[0] < SHORT_CASE_SECONDS: + short_cases.append({"case_id": case_id, "noise_ratio": noise}) + continue + worst = max(worst, noise) + if noise >= NOISE_LIMIT: + problems.append(f"case {case_id!r} has noise ratio {noise:.4f}") + return _row(not problems, worst, NOISE_LIMIT, "; ".join(problems)), short_cases + + +def _sc008(new: dict[str, Any]) -> dict[str, Any]: + """SC-008: the standard suite runs in less than 900 s.""" + wall = new.get("suite_wall_seconds") + if wall is None: + return _row(False, None, SUITE_WALL_LIMIT_SECONDS, "suite_wall_seconds is missing") + return _row( + wall < SUITE_WALL_LIMIT_SECONDS, + wall, + SUITE_WALL_LIMIT_SECONDS, + f"suite time {wall} s is not below {SUITE_WALL_LIMIT_SECONDS} s", + ) + + +def _sc009(base: dict[str, dict[str, Any]], new: dict[str, dict[str, Any]]) -> dict[str, Any]: + """SC-009: the time for each point of fault application is at most 50 % of the baseline.""" + limit = 0.50 + reason = _missing(base, SINGLE_F1U0) or _missing(new, SINGLE_F1U0) + if reason: + return _row(False, None, limit, reason) + reason = _unmeasured(base, SINGLE_F1U0, "median_seconds", "fault_points_total") or _unmeasured( + new, SINGLE_F1U0, "median_seconds", "fault_points_total" + ) + if reason: + return _row(False, None, limit, reason) + per_point = [] + for cases in (base, new): + points = cases[SINGLE_F1U0]["fault_points_total"] + if points <= 0: + return _row(False, None, limit, f"Case {SINGLE_F1U0!r} has no fault points") + per_point.append(cases[SINGLE_F1U0]["median_seconds"] / points) + if per_point[0] <= 0: + return _row(False, None, limit, f"Case {SINGLE_F1U0!r} has a baseline time of zero") + ratio = per_point[1] / per_point[0] + return _row(ratio <= limit + _TOLERANCE, ratio, limit, f"ratio {ratio:.4f} is above {limit}") + + +def check_acceptance(base: dict[str, Any], new: dict[str, Any]) -> dict[str, Any]: + """Check SC-002 to SC-009 for a baseline and a candidate result. + + A baseline with warm ids goes through ``run.cold_view`` first. For a standard candidate, ``run.standard_view`` then removes the base cases that the standard suite does not have. The candidate holds ``repeat``, ``suite_wall_seconds`` and ``gradient_decision``. + The result is passed only if the case check, the provenance check, the + gradient decision and every criterion pass. + """ + base = cold_view(base) + if new.get("suite") == "standard": + # The standard suite has fewer cases than the base (C-016). + base = run.standard_view(base) + base_cases, base_duplicates = _index(base) + new_cases, new_duplicates = _index(new) + cases = _check_cases(base_cases, new_cases, base_duplicates, new_duplicates) + provenance = _check_provenance(base, new, base_cases, new_cases) + decision = new.get("gradient_decision") + gradient = { + "passed": decision == GRADIENT_RULE, + "expected": GRADIENT_RULE, + "value": decision, + } + noise, short_cases = _check_noise(base_cases, new_cases, new.get("repeat")) + criteria = { + "SC-002": _time_ratio_row(base_cases, new_cases, OLD_F4U3, 0.40, 4), + "SC-003": _time_ratio_row(base_cases, new_cases, ALL_F4U3, 0.15, 4, IDS_F4U3), + "SC-004": _sc004(new_cases), + "SC-005": _time_ratio_row(base_cases, new_cases, PLUGIN_OLD, 0.50, 6), + "SC-006": _sc006(base_cases, new_cases), + "SC-007": noise, + "SC-008": _sc008(new), + "SC-009": _sc009(base_cases, new_cases), + } + passed = ( + cases["passed"] + and provenance["passed"] + and gradient["passed"] + and all(row["passed"] for row in criteria.values()) + ) + return { + "passed": passed, + "criteria": criteria, + "cases": cases, + "provenance": provenance, + "gradient_decision": gradient, + "short_cases": short_cases, + } + + +# --- Large-memory mode (local only) ------------------------------------------------------- + + +def _distinct_fault_sets(model: Any) -> int: + """Return the number of distinct ordered fault sets over the features of the model. + + A fault set is the tuple of fault names of one feature. Features with no + faults do not count. A model with no faults gives 0. + """ + sets = set() + for feature in getattr(model, "features", None) or []: + names = tuple(fault.name for fault in getattr(feature, "faults", None) or []) + if names: + sets.add(names) + return len(sets) + + +def _fr010_accounting( + points: int, fault_sets: int, batches: dict[int, int], peak: int +) -> dict[str, Any]: + """Return the FR-010 accounting fields of a memory record. + + ``allowed_bytes`` is 24 bytes x points x distinct fault sets. + ``restored_bytes_observed`` is 24 bytes x the sum of (batch size x count) over + the batches that the FaultSegment.apply_to_points wrapper counted. + ``peak_over_allowed`` is the peak extra RSS over ``allowed_bytes``. It is null + when ``allowed_bytes`` is 0. + + This is a report only. The exit code does not depend on it. The accepted OP1 + rule measures each actual restored point and excludes unchanged baseline work + arrays. RSS cannot separate these two parts. + """ + allowed = RESTORED_BYTES_PER_POINT * points * fault_sets + restored_points = sum(size * count for size, count in batches.items()) + return { + "distinct_fault_sets": fault_sets, + "allowed_bytes": allowed, + "restored_bytes_observed": RESTORED_BYTES_PER_POINT * restored_points, + "peak_over_allowed": peak / allowed if allowed else None, + } + + +def _memory_worker(model_name: str, points: int, mode: str) -> dict[str, Any]: + """Run one large evaluation in this process and return its memory record.""" + from benchmarks.fault_evaluation.bench_cases import _points + from benchmarks.fault_evaluation.instrumentation import RssSampler + from LoopStructural.modelling.features.fault import FaultSegment + from tests.fault_evaluation.models import build_model + + model = build_model(model_name) + fault_sets = _distinct_fault_sets(model) + coordinates = _points(model, points) + batches: Counter = Counter() + original = FaultSegment.apply_to_points + + def apply_to_points(fault: Any, locations: Any, *args: Any, **kwargs: Any) -> Any: + batches[len(locations)] += 1 + return original(fault, locations, *args, **kwargs) + + FaultSegment.apply_to_points = apply_to_points + sampler = RssSampler() + sampler.start() + try: + model.evaluate_model(coordinates) + finally: + peak = sampler.stop() + FaultSegment.apply_to_points = original + return { + "model": model_name, + "mode": mode, + "points": points, + "peak_extra_rss_bytes": peak, + "restored_batch_sizes": {str(size): count for size, count in sorted(batches.items())}, + **_fr010_accounting(points, fault_sets, dict(batches), peak), + "input_bytes": coordinates.nbytes, + "fr010": { + "bytes_per_point_and_fault_set": RESTORED_BYTES_PER_POINT, + "bytes_per_fault_set": RESTORED_BYTES_PER_POINT * points, + }, + } + + +def run_memory_mode(points: int, models: list[str]) -> dict[str, Any]: + """Run each model and mode in a fresh subprocess. Return the records.""" + records = [] + for model_name in models: + for mode in MEMORY_MODES: + command = [ + sys.executable, + "-m", + "benchmarks.fault_evaluation.acceptance", + "--memory-worker", + model_name, + str(points), + mode, + ] + done = subprocess.run(command, capture_output=True, text=True, check=False) + if done.returncode != 0: + records.append( + {"model": model_name, "mode": mode, "points": points, "error": done.stderr} + ) + continue + records.append(json.loads(done.stdout.strip().splitlines()[-1])) + return {"points": points, "records": records} + + +def main(argv: list[str] | None = None) -> int: + """Run the acceptance check, the large-memory mode, or both. Return 0 on success.""" + parser = argparse.ArgumentParser(description="Check the fault evaluation performance targets.") + parser.add_argument("--baseline", type=Path) + parser.add_argument("--candidate", type=Path) + parser.add_argument("--repeat", type=Path) + parser.add_argument("--output", type=Path) + parser.add_argument( + "--memory-points", + type=int, + help="Run the large-memory check with this point count (documented value: 10000000).", + ) + parser.add_argument( + "--memory-model", + action="append", + help="Frozen model for the memory check. Can repeat. Default: f1_u0.", + ) + parser.add_argument("--memory-worker", nargs=3, metavar=("MODEL", "POINTS", "MODE")) + options = parser.parse_args(argv) + if options.memory_worker: + model_name, points, mode = options.memory_worker + print(json.dumps(_memory_worker(model_name, int(points), mode))) + return 0 + if options.output is None: + parser.error("--output is required") + paths = (options.baseline, options.candidate, options.repeat) + check = all(path is not None for path in paths) + if not check and options.memory_points is None: + parser.error("--baseline, --candidate and --repeat are required") + if not check and any(path is not None for path in paths): + parser.error("--baseline, --candidate and --repeat must be given together") + result: dict[str, Any] = {} + passed = True + if check: + base = json.loads(options.baseline.read_text(encoding="utf8")) + new = json.loads(options.candidate.read_text(encoding="utf8")) + new["repeat"] = json.loads(options.repeat.read_text(encoding="utf8")) + result = check_acceptance(base, new) + passed = result["passed"] + for name, row in result["criteria"].items(): + status = "PASS" if row["passed"] else "FAIL" + print( + f"{name} {status} value={row['value']} limit={row['limit']} {row['reason'] or ''}" + ) + print(f"overall {'PASS' if passed else 'FAIL'}") + if options.memory_points is not None: + result["memory"] = run_memory_mode(options.memory_points, options.memory_model or ["f1_u0"]) + # Only a record with an error fails the run. Do not gate the exit code on RSS: + # the OP1 rule counts each actual restored point and excludes unchanged + # baseline work arrays, and RSS cannot separate these two parts. + failed = [record for record in result["memory"]["records"] if "error" in record] + passed = passed and not failed + options.output.parent.mkdir(parents=True, exist_ok=True) + options.output.write_text(json.dumps(result, indent=2), encoding="utf8") + return 0 if passed else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/benchmarks/fault_evaluation/bench_cases.py b/benchmarks/fault_evaluation/bench_cases.py new file mode 100644 index 000000000..cbbd6d03b --- /dev/null +++ b/benchmarks/fault_evaluation/bench_cases.py @@ -0,0 +1,143 @@ +"""pytest-benchmark suite for fault evaluation. + +Only the runner selects this file, by explicit path. The runner passes the +pass kind, the case list and the round count in environment variables. +""" + +# ruff: noqa: ANN401 (the wrapped objects are untyped model and fixture objects) + +from __future__ import annotations + +import json +import os +import time +from functools import lru_cache +from pathlib import Path +from typing import Any, Callable + +import numpy as np +import pytest + +from benchmarks.fault_evaluation.instrumentation import EvaluationInstrumentation, RssSampler +from LoopStructural.modelling.features._geological_feature import GeologicalFeature +from tests.fault_evaluation.models import build_model + +PASS_ENV = "FAULT_EVAL_PASS" +CASES_ENV = "FAULT_EVAL_CASES" +ROUNDS_ENV = "FAULT_EVAL_ROUNDS" +CHECKPOINT_ENV = "FAULT_EVAL_CHECKPOINT" +POINT_SEED = 1 + + +def _groups(model: Any) -> list[Any]: + """Return the foliation groups in creation order. The last one is the oldest.""" + groups = [feature for feature in model.features if type(feature) is GeologicalFeature] + if not groups: + raise ValueError("The model has no foliation group") + return groups + + +_OPERATIONS: dict[str, Callable[[Any, np.ndarray], Any]] = { + "oldest_value": lambda model, points: _groups(model)[-1].evaluate_value(points), + "all_group_values": lambda model, points: [ + group.evaluate_value(points) for group in _groups(model) + ], + "model_ids": lambda model, points: model.evaluate_model(points), + "oldest_gradient": lambda model, points: _groups(model)[-1].evaluate_gradient(points), + "model_gradient": lambda model, points: model.evaluate_model_gradient(points), +} + + +def run_case( + benchmark: Any, + model: Any, + points: np.ndarray, + case: dict[str, Any], + *, + rounds: int, + after_setup: Callable[[], None] | None = None, +) -> None: + """Time one case. ``after_setup`` runs just before the timed call of each round.""" + operation = _OPERATIONS[case["operation"]] + + def call() -> Any: + return operation(model, points) + + def setup() -> None: + if after_setup is not None: + after_setup() + + benchmark.extra_info.update(case) + benchmark.pedantic(call, setup=setup, rounds=rounds, warmup_rounds=0) + + +def _load_cases() -> list[dict[str, Any]]: + path = os.environ.get(CASES_ENV) + if not path: + return [] + return json.loads(Path(path).read_text(encoding="utf8")) + + +@lru_cache(maxsize=1) +def _model(name: str) -> Any: + """Build a model once. The cases of one model are neighbours in the list.""" + return build_model(name) + + +def _points(model: Any, count: int) -> np.ndarray: + # Same recipe as tests.fault_evaluation.models.sample_points, without a rebuild. + box = model.bounding_box + rng = np.random.default_rng(POINT_SEED) + return rng.random((count, 3)) * (box.maximum - box.origin) + box.origin + + +def write_checkpoint(benchmark: Any, case: dict[str, Any], elapsed_seconds: float) -> None: + """Append one JSON line for a finished case to the checkpoint file. + + Write nothing if the checkpoint variable is absent. Flush and fsync the line, + so a stop of the process cannot lose a finished case. + """ + path = os.environ.get(CHECKPOINT_ENV) + if not path: + return + # benchmark.stats is a Metadata object. Its .stats attribute holds the numbers. + stats = benchmark.stats.stats + line = { + "case_id": case["case_id"], + "stats": { + "rounds": int(stats.rounds), + "data": [float(value) for value in stats.data], + "median": float(stats.median), + }, + "extra_info": dict(benchmark.extra_info), + "elapsed_seconds": float(elapsed_seconds), + } + with open(path, "a", encoding="utf8") as handle: + handle.write(json.dumps(line, default=str) + "\n") + handle.flush() + os.fsync(handle.fileno()) + + +@pytest.mark.parametrize("case", _load_cases(), ids=lambda case: case["case_id"]) +def test_fault_evaluation(benchmark: Any, case: dict[str, Any]) -> None: + """Measure one case in the pass that the runner selected.""" + started = time.perf_counter() + pass_kind = os.environ[PASS_ENV] + rounds = int(os.environ[ROUNDS_ENV]) + model = _model(case["model"]) + points = _points(model, case["points"]) + if pass_kind == "timing": + run_case(benchmark, model, points, case, rounds=rounds) + elif pass_kind == "counters": + with EvaluationInstrumentation() as counters: + run_case(benchmark, model, points, case, rounds=1, after_setup=counters.reset) + benchmark.extra_info["counters"] = counters.snapshot() + elif pass_kind == "rss": + sampler = RssSampler() + try: + run_case(benchmark, model, points, case, rounds=1, after_setup=sampler.start) + finally: + benchmark.extra_info["peak_extra_rss_bytes"] = sampler.stop() + else: + raise ValueError(f"Unknown pass kind {pass_kind!r}") + write_checkpoint(benchmark, case, time.perf_counter() - started) diff --git a/benchmarks/fault_evaluation/compare.py b/benchmarks/fault_evaluation/compare.py new file mode 100644 index 000000000..695a66899 --- /dev/null +++ b/benchmarks/fault_evaluation/compare.py @@ -0,0 +1,253 @@ +"""Compare two schema v1 benchmark results. + +Usage: ``python -m benchmarks.fault_evaluation.compare BASE NEW --output PATH`` + +A time ratio is the new median time divided by the baseline median time. A +ratio above the noise limit is marked as slower. A case that does not match +between the two results is an error. The tool never skips a case. +""" + +from __future__ import annotations + +import argparse +import json +import re +import statistics +import sys +from pathlib import Path +from typing import Any + +SCHEMA_VERSION = 1 +NOISE_LIMIT = 1.10 +COUNT_FIELDS = ( + "fault_calls_total", + "field_calls_total", + "fault_points_total", + "field_points_total", +) +_MODEL_PATTERN = re.compile(r"^f(\d+)_u(\d+)$") +_CASE_PROVENANCE_FIELDS = ( + "input_hash", + "code_revision", + "dirty", + "prerequisite_parent_revision", + "prerequisite_fix_revision", + "baseline_revision", +) +# Marks a key that is absent from a case. Absent in both cases is not a difference. +_MISSING = object() + + +def _ratio(base: float | None, new: float | None) -> tuple[float | None, str]: + """Return the new/base ratio and its status. + + A value of None (a pass did not measure it) gives "not measured". A zero + baseline has no ratio. + """ + if base is None or new is None: + return None, "not measured" + if base == 0: + return None, "undefined_zero_baseline" + return new / base, "ok" + + +def _check_schema(document: dict[str, Any], label: str) -> None: + """Raise ValueError if a result does not use schema v1.""" + if document.get("schema_version") != SCHEMA_VERSION: + raise ValueError( + f"The {label} result has unsupported schema_version " + f"{document.get('schema_version')!r}" + ) + + +def _index_cases(document: dict[str, Any], label: str) -> dict[str, dict[str, Any]]: + """Return the cases of one result by case id. Reject a duplicate id.""" + indexed: dict[str, dict[str, Any]] = {} + for case in document["cases"]: + case_id = case["case_id"] + if case_id in indexed: + raise ValueError(f"The {label} result has a duplicate case_id {case_id!r}") + indexed[case_id] = case + return indexed + + +def _case_row(base: dict[str, Any], new: dict[str, Any]) -> dict[str, Any]: + """Return the comparison row for two matching cases.""" + ratio, status = _ratio(base["median_seconds"], new["median_seconds"]) + counts = {} + for field in COUNT_FIELDS: + count_ratio, count_status = _ratio(base[field], new[field]) + counts[field] = { + "base": base[field], + "new": new[field], + "ratio": count_ratio, + "ratio_status": count_status, + } + return { + "case_id": base["case_id"], + "model": base["model"], + "operation": base["operation"], + "points": base["points"], + "state": base["state"], + "base_median_seconds": base["median_seconds"], + "new_median_seconds": new["median_seconds"], + "ratio": ratio, + "ratio_status": status, + "slower": ratio is not None and ratio > NOISE_LIMIT, + "counts": counts, + } + + +def _scaling_table(groups: dict[int, list[float]], key: str) -> list[dict[str, Any]]: + """Return one row per group with the median of its valid ratios.""" + return [ + { + key: count, + "ratio": statistics.median(ratios) if ratios else None, + "cases": len(ratios), + } + for count, ratios in sorted(groups.items()) + ] + + +def _scaling(rows: list[dict[str, Any]]) -> dict[str, list[dict[str, Any]]]: + """Group the time ratios by fault count (F) and unconformity count (U). + + Only models named like ``f{F}_u{U}`` take part. The fault table keeps + U = 0. The unconformity table keeps F = 0. + """ + faults: dict[int, list[float]] = {} + units: dict[int, list[float]] = {} + for row in rows: + match = _MODEL_PATTERN.match(row["model"]) + if match is None: + continue + fault_count, unit_count = int(match.group(1)), int(match.group(2)) + if unit_count == 0: + faults.setdefault(fault_count, []) + if row["ratio"] is not None: + faults[fault_count].append(row["ratio"]) + if fault_count == 0: + units.setdefault(unit_count, []) + if row["ratio"] is not None: + units[unit_count].append(row["ratio"]) + return { + "fault": _scaling_table(faults, "fault_count"), + "unconformity": _scaling_table(units, "unconformity_count"), + } + + +def _provenance_warnings(base: dict[str, Any], new: dict[str, Any]) -> list[str]: + """Return one warning for each provenance field that differs.""" + base_provenance = base["provenance"] + new_provenance = new["provenance"] + warnings = [] + for field in sorted(set(base_provenance) | set(new_provenance)): + if base_provenance.get(field) != new_provenance.get(field): + warnings.append( + f"Provenance field {field} differs: base {base_provenance.get(field)!r}, " + f"new {new_provenance.get(field)!r}" + ) + return warnings + + +def _case_provenance_warnings( + case_id: str, base_case: dict[str, Any], new_case: dict[str, Any] +) -> list[str]: + """Return one provenance warning for each per-case field that differs. + + The warning names the case id and the field. Times are not comparable when + the input hash differs, so the warning must be read before the ratios. + """ + warnings = [] + for field in _CASE_PROVENANCE_FIELDS: + base_value = base_case.get(field, _MISSING) + new_value = new_case.get(field, _MISSING) + if base_value != new_value: + warnings.append( + f"Provenance field {field} differs for case {case_id!r}: " + f"base {base_case.get(field)!r}, new {new_case.get(field)!r}" + ) + return warnings + + +def compare_results(base: dict[str, Any], new: dict[str, Any]) -> dict[str, Any]: + """Compare two schema v1 results case by case. + + Raises + ------ + ValueError + If a case is missing, duplicated, has a different point count, or has + a different cold/warm state in the two results. + + Notes + ----- + A base with warm ids goes through ``run.cold_view`` first. When the new result has "suite" equal to "standard", ``run.standard_view`` then removes the base cases that the standard suite does not have. A value of None + gives the ratio text "not measured", never a failure or a slower mark. + """ + _check_schema(base, "base") + _check_schema(new, "new") + if any(case["case_id"].endswith(":warm") for case in base["cases"]): + # A base of the code before this feature has warm ids (C-016). The import is + # here so that the module needs only the standard library otherwise. + from benchmarks.fault_evaluation.run import cold_view + + base = cold_view(base) + if new.get("suite") == "standard": + # The standard suite has fewer cases than the base (C-016). + from benchmarks.fault_evaluation.run import standard_view + + base = standard_view(base) + base_cases = _index_cases(base, "base") + new_cases = _index_cases(new, "new") + for case_id in base_cases: + if case_id not in new_cases: + raise ValueError(f"Case {case_id!r} is missing from the new result") + for case_id in new_cases: + if case_id not in base_cases: + raise ValueError(f"Case {case_id!r} is missing from the base result") + rows = [] + case_warnings = [] + for case_id, base_case in base_cases.items(): + new_case = new_cases[case_id] + if base_case["points"] != new_case["points"]: + raise ValueError( + f"Case {case_id!r} has different points: " + f"base {base_case['points']!r}, new {new_case['points']!r}" + ) + if base_case["state"] != new_case["state"]: + raise ValueError( + f"Case {case_id!r} has a different state: " + f"base {base_case['state']!r}, new {new_case['state']!r}" + ) + rows.append(_case_row(base_case, new_case)) + case_warnings.extend(_case_provenance_warnings(case_id, base_case, new_case)) + return { + "schema_version": SCHEMA_VERSION, + "noise_limit": NOISE_LIMIT, + "cases": rows, + "scaling": _scaling(rows), + "warnings": _provenance_warnings(base, new) + case_warnings, + } + + +def main(argv: list[str] | None = None) -> int: + """Compare two result files and write the comparison as JSON.""" + parser = argparse.ArgumentParser(description="Compare two fault evaluation benchmark results.") + parser.add_argument("base", type=Path) + parser.add_argument("new", type=Path) + parser.add_argument("--output", required=True, type=Path) + options = parser.parse_args(argv) + base = json.loads(options.base.read_text(encoding="utf8")) + new = json.loads(options.new.read_text(encoding="utf8")) + try: + result = compare_results(base, new) + except ValueError as error: + parser.error(str(error)) + options.output.parent.mkdir(parents=True, exist_ok=True) + options.output.write_text(json.dumps(result, indent=2), encoding="utf8") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/benchmarks/fault_evaluation/instrumentation.py b/benchmarks/fault_evaluation/instrumentation.py new file mode 100644 index 000000000..a7b51436e --- /dev/null +++ b/benchmarks/fault_evaluation/instrumentation.py @@ -0,0 +1,187 @@ +"""Opt-in call counters and memory sampling for fault evaluation benchmarks. + +Nothing in this module changes production code at import time. The counters +patch methods only while an ``EvaluationInstrumentation`` context is active. +""" + +# ruff: noqa: ANN401 (the wrapped objects are untyped model and fixture objects) + +from __future__ import annotations + +import sys +import threading +from typing import Any, Callable + +from loop_interpolation._discrete_interpolator import DiscreteInterpolator + +from LoopStructural.modelling.features.fault import FaultSegment + +_RSS_BYTES_PER_UNIT = {"bytes": 1, "kibibytes": 1024} + + +def rss_to_bytes(value: float, unit: str) -> int: + """Convert a native memory value to bytes. Reject an unknown unit.""" + try: + factor = _RSS_BYTES_PER_UNIT[unit] + except KeyError: + raise ValueError( + f"Unknown RSS unit {unit!r}; expected one of {sorted(_RSS_BYTES_PER_UNIT)}" + ) from None + return int(value * factor) + + +class EvaluationInstrumentation: + """Count fault restorations and local field evaluations inside a context.""" + + def __init__(self) -> None: + self._saved: list[tuple[type, str, Any]] = [] + self._depth = 0 + self.reset() + + def reset(self) -> None: + """Set all counters to zero.""" + self._counts = { + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "fault_points_total": 0, + "field_calls_total": 0, + "field_points_total": 0, + } + + def snapshot(self) -> dict[str, int]: + """Return a copy of the counters.""" + return dict(self._counts) + + def _wrap_fault(self, original: Callable) -> Callable: + def apply_to_points(fault: Any, points: Any, *args: Any, **kwargs: Any) -> Any: + self._counts["fault_calls_total"] += 1 + self._counts["fault_points_total"] += len(points) + if self._depth == 0: + self._counts["fault_calls_top_level"] += 1 + self._depth += 1 + try: + return original(fault, points, *args, **kwargs) + finally: + self._depth -= 1 + + return apply_to_points + + def _wrap_field(self, original: Callable) -> Callable: + def evaluate_local(interpolator: Any, locations: Any, *args: Any, **kwargs: Any) -> Any: + self._counts["field_calls_total"] += 1 + self._counts["field_points_total"] += len(locations) + return original(interpolator, locations, *args, **kwargs) + + return evaluate_local + + def _patch(self, owner: type, name: str, wrapper_factory: Callable) -> None: + original = owner.__dict__[name] + self._saved.append((owner, name, original)) + setattr(owner, name, wrapper_factory(original)) + + def __enter__(self) -> EvaluationInstrumentation: # noqa: PYI034 + """Patch the evaluation methods.""" + if self._saved: + raise RuntimeError("Instrumentation is already active") + try: + self._patch(FaultSegment, "apply_to_points", self._wrap_fault) + self._patch(DiscreteInterpolator, "_evaluate_value_local", self._wrap_field) + self._patch(DiscreteInterpolator, "_evaluate_gradient_local", self._wrap_field) + except BaseException: + self._restore() + raise + return self + + def _restore(self) -> None: + while self._saved: + owner, name, original = self._saved.pop() + setattr(owner, name, original) + self._depth = 0 + + def __exit__(self, *exc_info: object) -> None: + """Restore the original methods, also after an error.""" + self._restore() + + +def _current_rss_bytes() -> int: + """Return the resident memory of this process in bytes.""" + if sys.platform == "win32": + import ctypes + from ctypes import wintypes + + class _MemoryCounters(ctypes.Structure): + _fields_ = [ + ("cb", wintypes.DWORD), + ("PageFaultCount", wintypes.DWORD), + ("PeakWorkingSetSize", ctypes.c_size_t), + ("WorkingSetSize", ctypes.c_size_t), + ("QuotaPeakPagedPoolUsage", ctypes.c_size_t), + ("QuotaPagedPoolUsage", ctypes.c_size_t), + ("QuotaPeakNonPagedPoolUsage", ctypes.c_size_t), + ("QuotaNonPagedPoolUsage", ctypes.c_size_t), + ("PagefileUsage", ctypes.c_size_t), + ("PeakPagefileUsage", ctypes.c_size_t), + ] + + kernel32 = ctypes.WinDLL("kernel32") + psapi = ctypes.WinDLL("psapi") + kernel32.GetCurrentProcess.restype = wintypes.HANDLE + psapi.GetProcessMemoryInfo.argtypes = [ + wintypes.HANDLE, + ctypes.POINTER(_MemoryCounters), + wintypes.DWORD, + ] + counters = _MemoryCounters() + counters.cb = ctypes.sizeof(_MemoryCounters) + if not psapi.GetProcessMemoryInfo( + kernel32.GetCurrentProcess(), ctypes.byref(counters), counters.cb + ): + raise OSError("GetProcessMemoryInfo failed") + return rss_to_bytes(counters.WorkingSetSize, "bytes") + try: + import os + + with open("/proc/self/statm", encoding="utf8") as handle: + pages = int(handle.read().split()[1]) + return rss_to_bytes(pages * os.sysconf("SC_PAGE_SIZE"), "bytes") + except (OSError, ValueError, IndexError): + import resource + + # Without /proc only the process high-water mark is available. + unit = "bytes" if sys.platform == "darwin" else "kibibytes" + return rss_to_bytes(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss, unit) + + +class RssSampler: + """Sample process memory in a thread and report the peak above the idle value.""" + + def __init__(self, interval_seconds: float = 0.002) -> None: + self._interval = interval_seconds + self._stop = threading.Event() + self._thread: threading.Thread | None = None + self._idle = 0 + self._peak = 0 + + def _sample(self) -> None: + self._peak = max(self._peak, _current_rss_bytes()) + + def _run(self) -> None: + while not self._stop.wait(self._interval): + self._sample() + + def start(self) -> None: + """Record the idle value and start sampling.""" + self._stop.clear() + self._idle = self._peak = _current_rss_bytes() + self._thread = threading.Thread(target=self._run, daemon=True) + self._thread.start() + + def stop(self) -> int: + """Stop sampling. Return the peak extra memory in bytes.""" + if self._thread is None: + return 0 + self._stop.set() + self._thread.join() + self._thread = None + self._sample() + return max(self._peak - self._idle, 0) diff --git a/benchmarks/fault_evaluation/run.py b/benchmarks/fault_evaluation/run.py new file mode 100644 index 000000000..b891fa0fd --- /dev/null +++ b/benchmarks/fault_evaluation/run.py @@ -0,0 +1,629 @@ +"""Run the fault evaluation benchmarks and write one schema v1 result file. + +Usage: ``python -m benchmarks.fault_evaluation.run --output PATH --rounds 1`` + +Time, counters and peak memory run in separate fresh processes. The counter +wrappers and the memory sampler then cannot change the timings. +""" + +from __future__ import annotations + +import argparse +import copy +import hashlib +import json +import os +import platform +import subprocess +import sys +import time +from functools import lru_cache +from pathlib import Path +from typing import Any + +from benchmarks.fault_evaluation.instrumentation import rss_to_bytes +from tests.fault_evaluation.models import model_names + +SCHEMA_VERSION = 1 +# A timing case with a median below this limit (seconds) runs again with more rounds. +SHORT_CASE_SECONDS = 1.0 +SHORT_CASE_ROUNDS = 5 +ROOT = Path(__file__).parents[2] +SUITE = Path(__file__).with_name("bench_cases.py") +PASS_KINDS = ("timing", "counters", "rss") +# Point counts that the standard suite runs in each pass. None means all cases. +PASS_POINTS: dict[str, tuple[int, ...] | None] = { + "timing": None, + "counters": (5_000, 20_000), + "rss": (5_000,), +} +OPERATIONS = ( + "oldest_value", + "all_group_values", + "model_ids", + "oldest_gradient", + "model_gradient", +) +SIZES = (5_000, 50_000, 100_000, 500_000) +EXTRA_SIZE = 20_000 +EXTRA_MODELS = ("plugin", "f1_u0") +STATES = ("cold",) +_now = time.monotonic # tests replace the clock + +COUNTER_FIELDS = ( + "fault_calls_total", + "fault_calls_top_level", + "field_calls_total", + "fault_points_total", + "field_points_total", +) +RSS_FIELDS = ("peak_extra_rss_bytes", "rss_unit") +CASE_IDENTITY_FIELDS = ("case_id", "model", "operation", "points", "state") +CASE_FIELDS = ( + *CASE_IDENTITY_FIELDS, + "rounds", + "time_samples_seconds", + "median_seconds", + *COUNTER_FIELDS, + *RSS_FIELDS, + "code_revision", + "dirty", + "prerequisite_parent_revision", + "prerequisite_fix_revision", + "baseline_revision", + "input_hash", +) +PROVENANCE_FIELDS = ("python", "numpy", "scipy", "loopstructural", "os", "cpu", "ram_bytes") + +# The two revisions of the gradient prerequisite (plan D0). +PREREQUISITE_PARENT_REVISION = "b22517f984971b98f6d039f3dd3cde0b31b7600d" +PREREQUISITE_FIX_REVISION = "e9b72293de32344b7fe486bb24338c4efcd37cc8" +_DATA = ROOT / "tests" / "fault_evaluation" / "data" +_PLUGIN_DATA = ROOT / "specs" / "003-fault-evaluation-performance" / "data" / "plugin_model" + + +def enumerate_cases() -> list[dict[str, Any]]: + """Return every benchmark case in a stable order.""" + sizes_by_model = {name: list(SIZES) for name in model_names()} + for name in EXTRA_MODELS: + sizes_by_model[name].append(EXTRA_SIZE) + return [ + { + "case_id": f"{name}:{operation}:{count}:{state}", + "model": name, + "operation": operation, + "points": count, + "state": state, + } + for name, sizes in sizes_by_model.items() + for operation in OPERATIONS + for count in sizes + for state in STATES + ] + + +# The 16 large cases of the standard suite (plan D9). The draw of 2026-11-02 chose 24 ids +# with numpy.random.default_rng(2003). The pool for each size was the cases of f0_u0..f0_u3, +# f1_u0..f1_u3, stopped_fault, onlap_domain and faulted_fold (five operations, cold and +# warm), sorted by case id. For each size, in the order 50,000 then 100,000 and with one +# generator, rng.choice(len(pool), size=12, replace=False) chose the cases. Rule of C-016: +# the 24 old ids are merged without the state (a cold id and a warm id of one case are one +# case), and the 5 gradient cases at 100,000 points are removed. The ids are sorted in the +# order of the full list. Do not draw them again: the text is the source. +STANDARD_LARGE_CASES: tuple[str, ...] = ( + "f0_u0:all_group_values:100000:cold", + "f0_u1:oldest_value:100000:cold", + "f0_u1:model_ids:50000:cold", + "f0_u2:oldest_value:50000:cold", + "f0_u3:model_ids:100000:cold", + "f1_u0:all_group_values:100000:cold", + "f1_u1:oldest_value:50000:cold", + "f1_u2:oldest_value:100000:cold", + "f1_u2:oldest_gradient:50000:cold", + "f1_u3:oldest_value:50000:cold", + "f1_u3:all_group_values:100000:cold", + "stopped_fault:model_ids:50000:cold", + "stopped_fault:oldest_gradient:50000:cold", + "onlap_domain:model_ids:50000:cold", + "faulted_fold:oldest_value:50000:cold", + "faulted_fold:all_group_values:100000:cold", +) +SUITE_NAMES = ("standard", "full") + + +def standard_cases() -> list[dict[str, Any]]: + """Return the standard suite: all small cases and the 16 large cases, in full-list order.""" + large = set(STANDARD_LARGE_CASES) + return [ + case + for case in enumerate_cases() + if case["points"] in (SIZES[0], EXTRA_SIZE) or case["case_id"] in large + ] + + +def select_cases(suite: str) -> list[dict[str, Any]]: + """Return the cases of the named suite. Raise ValueError for an unknown name.""" + if suite == "standard": + return standard_cases() + if suite == "full": + return enumerate_cases() + raise ValueError(f"Unknown suite {suite!r}. Use one of {SUITE_NAMES}.") + + +def pass_cases(cases: list[dict[str, Any]], pass_kind: str, suite: str) -> list[dict[str, Any]]: + """Return the cases that one pass runs in the named suite. + + The full suite runs every case in every pass. The standard suite runs the + cases with the point counts of ``PASS_POINTS``. Raise ValueError for an + unknown pass or suite. + """ + if pass_kind not in PASS_KINDS: + raise ValueError(f"Unknown pass kind {pass_kind!r}") + if suite not in SUITE_NAMES: + raise ValueError(f"Unknown suite {suite!r}. Use one of {SUITE_NAMES}.") + points = PASS_POINTS[pass_kind] + if suite == "full" or points is None: + return cases + return [case for case in cases if case["points"] in points] + + +def cold_view(document: dict[str, Any]) -> dict[str, Any]: + """Return a copy of a result where each case has only a cold row. + + Use it only on a file of the code before this feature (T011). That code had + no cache and the runner skipped the priming call, so its warm case was one cold + call (C-016). A ``:warm`` row with no ``:cold`` row of the same case becomes a + ``:cold`` row (``case_id`` and ``state``). Other ``:warm`` rows go. + """ + view = copy.deepcopy(document) + ids = {row["case_id"] for row in view["cases"]} + rows = [] + for row in view["cases"]: + if row["case_id"].endswith(":warm"): + cold_id = row["case_id"][: -len(":warm")] + ":cold" + if cold_id in ids: + continue + row["case_id"] = cold_id + row["state"] = "cold" + rows.append(row) + view["cases"] = rows + return view + + +def standard_view(document: dict[str, Any]) -> dict[str, Any]: + """Return a copy of a result with only the rows of the standard suite. + + Use it on a base of the full suite when the candidate is a standard run. + The standard suite has no gradient case at 100,000 points (C-016). A row + stays only if its ``case_id`` is in the ids of ``standard_cases()``. + """ + view = copy.deepcopy(document) + ids = {case["case_id"] for case in standard_cases()} + view["cases"] = [row for row in view["cases"] if row["case_id"] in ids] + return view + + +def validate_result(result: dict[str, Any]) -> None: + """Raise ValueError if a result does not follow schema v1. + + A counter field or ``peak_extra_rss_bytes`` can be None: the pass did not + measure the case (D10). The median, the rounds and the input hash need a value. + """ + if result.get("schema_version") != SCHEMA_VERSION: + raise ValueError(f"Unsupported schema_version {result.get('schema_version')!r}") + provenance = result.get("provenance") + if not isinstance(provenance, dict): + raise ValueError("Missing provenance") # noqa: TRY004 + for field in PROVENANCE_FIELDS: + if field not in provenance: + raise ValueError(f"Missing provenance field {field}") + if "pytest_benchmark" not in result: + raise ValueError("Missing pytest_benchmark data") + seen: set[str] = set() + for case in result.get("cases", []): + for field in CASE_FIELDS: + if field not in case: + raise ValueError(f"Case {case.get('case_id')!r} is missing field {field}") + for field in ("median_seconds", "rounds", "input_hash"): + if case[field] is None: + raise ValueError(f"Case {case['case_id']!r} has no value for field {field}") + if case["case_id"] in seen: + raise ValueError(f"Duplicate case_id {case['case_id']!r}") + seen.add(case["case_id"]) + if case["rss_unit"] != "bytes": + raise ValueError( + f"Case {case['case_id']!r} has rss unit {case['rss_unit']!r}, not bytes" + ) + if not seen: + raise ValueError("The result has no case") + + +def _git(*args: str) -> str: + try: + return subprocess.check_output(["git", *args], cwd=ROOT, text=True).strip() + except (OSError, subprocess.CalledProcessError): + return "unknown" + + +def _baseline_revision(code_revision: str) -> str: + """Return the baseline revision of the golden manifest, if it exists.""" + try: + manifest = json.loads((_DATA / "manifest.json").read_text(encoding="utf8")) + return str(manifest["provenance"]["baseline_revision"]) + except (OSError, KeyError, ValueError): + return code_revision + + +def _input_hash() -> str: + """Hash the frozen inputs of all models.""" + digest = hashlib.sha256() + paths = [_DATA / "recipes.json", _DATA / "fields.npz"] + paths += sorted(path for path in _PLUGIN_DATA.glob("*") if path.is_file()) + for path in paths: + digest.update(path.name.encode("utf8")) + digest.update(path.read_bytes() if path.is_file() else b"missing") + return digest.hexdigest() + + +def _ram_bytes() -> int: + if sys.platform == "win32": + import ctypes + + class _MemoryStatus(ctypes.Structure): + _fields_ = [ + ("dwLength", ctypes.c_ulong), + ("dwMemoryLoad", ctypes.c_ulong), + ("ullTotalPhys", ctypes.c_ulonglong), + ("ullAvailPhys", ctypes.c_ulonglong), + ("ullTotalPageFile", ctypes.c_ulonglong), + ("ullAvailPageFile", ctypes.c_ulonglong), + ("ullTotalVirtual", ctypes.c_ulonglong), + ("ullAvailVirtual", ctypes.c_ulonglong), + ("ullAvailExtendedVirtual", ctypes.c_ulonglong), + ] + + status = _MemoryStatus() + status.dwLength = ctypes.sizeof(_MemoryStatus) + ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(status)) + return int(status.ullTotalPhys) + try: + return int(os.sysconf("SC_PAGE_SIZE") * os.sysconf("SC_PHYS_PAGES")) + except (OSError, ValueError, AttributeError): + return 0 + + +def _provenance() -> dict[str, Any]: + import numpy + import scipy + + import LoopStructural + + return { + "python": platform.python_version(), + "numpy": numpy.__version__, + "scipy": scipy.__version__, + "loopstructural": getattr(LoopStructural, "__version__", "unknown"), + "os": platform.platform(), + "cpu": platform.processor() or platform.machine() or "unknown", + "ram_bytes": _ram_bytes(), + } + + +def _launch_pytest(suite: Path | str, args: list[str]) -> int: + """Run pytest on the benchmark suite in a new Python process.""" + command = [sys.executable, "-m", "pytest", str(suite), *args] + return subprocess.run(command, cwd=ROOT, check=False).returncode + + +# Paths that the runner writes itself. They never make the repository dirty. +_DIRTY_EXCLUDES: tuple[Path, ...] = () + + +def _set_dirty_excludes(*paths: Path) -> None: + """Set the paths that the dirty flag ignores. Call this before the first metadata call.""" + global _DIRTY_EXCLUDES + _DIRTY_EXCLUDES = tuple(Path(path).resolve() for path in paths) + cache_clear = getattr(_revision_metadata, "cache_clear", None) + if cache_clear is not None: + cache_clear() + + +def _is_dirty() -> bool: + """Return True if the repository has changes, ignoring the paths of the runner.""" + root = ROOT.resolve() + pathspecs = ["."] + for path in _DIRTY_EXCLUDES: + try: + relative = path.relative_to(root) + except ValueError: + continue # The path is outside the repository. + if relative.parts: + pathspecs.append(":(exclude,literal)" + relative.as_posix()) + return bool(_git("status", "--porcelain", "--", *pathspecs)) + + +@lru_cache(maxsize=1) +def _revision_metadata() -> dict[str, Any]: + """Return the revision and input fields that every case row shares.""" + code_revision = _git("rev-parse", "HEAD") + return { + "code_revision": code_revision, + "dirty": _is_dirty(), + "prerequisite_parent_revision": PREREQUISITE_PARENT_REVISION, + "prerequisite_fix_revision": PREREQUISITE_FIX_REVISION, + "baseline_revision": _baseline_revision(code_revision), + "input_hash": _input_hash(), + } + + +def _case_row(case: dict[str, Any], entry: dict[str, Any], pass_kind: str) -> dict[str, Any]: + stats = entry["stats"] + info = entry["extra_info"] + timing = pass_kind == "timing" + row = { + **{field: case[field] for field in CASE_IDENTITY_FIELDS}, + "rounds": int(stats["rounds"]), + "time_samples_seconds": list(stats["data"]) if timing else [], + "median_seconds": stats["median"] if timing else None, + **dict.fromkeys(COUNTER_FIELDS, 0), + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + **_revision_metadata(), + } + if pass_kind == "counters": + row.update({field: int(info["counters"][field]) for field in COUNTER_FIELDS}) + elif pass_kind == "rss": + row["peak_extra_rss_bytes"] = rss_to_bytes(info["peak_extra_rss_bytes"], "bytes") + return row + + +def _read_checkpoint(path: Path) -> dict[str, dict[str, Any]]: + """Read the checkpoint lines by case id. Skip a line that a stop cut short.""" + entries: dict[str, dict[str, Any]] = {} + if not path.is_file(): + return entries + for line in path.read_text(encoding="utf8").splitlines(): + try: + entry = json.loads(line) + entries[entry["case_id"]] = entry + except (ValueError, KeyError, TypeError): + continue + return entries + + +def _run_fresh_process_pass( + pass_kind: str, cases: list[dict[str, Any]], *, output_path: Path, rounds: int +) -> dict[str, Any]: + """Run one pass of the suite in a fresh process and write its result.""" + if pass_kind not in PASS_KINDS: + raise ValueError(f"Unknown pass kind {pass_kind!r}") + output_path = Path(output_path) + cases_path = output_path.with_suffix(".cases.json") + benchmark_path = output_path.with_suffix(".benchmark.json") + checkpoint_path = output_path.with_suffix(".checkpoint.jsonl") + # Cases that the checkpoint file already holds do not run again. + entries = _read_checkpoint(checkpoint_path) + pending = [case for case in cases if case["case_id"] not in entries] + started = time.monotonic() + print( + f"[{pass_kind}] start: {len(pending)} of {len(cases)} cases to run", + file=sys.stderr, + flush=True, + ) + + def launch(step_cases: list[dict[str, Any]], step_rounds: int) -> None: + """Run one pytest step for the given cases. Raise an error if it fails.""" + cases_path.write_text(json.dumps(step_cases), encoding="utf8") + benchmark_path.unlink(missing_ok=True) + environment = { + "FAULT_EVAL_PASS": pass_kind, + "FAULT_EVAL_CASES": str(cases_path), + "FAULT_EVAL_ROUNDS": str(step_rounds), + "FAULT_EVAL_CHECKPOINT": str(checkpoint_path), + } + previous = {key: os.environ.get(key) for key in environment} + os.environ.update(environment) + try: + args = ["--benchmark-json", str(benchmark_path), "--benchmark-save-data", "-v"] + code = _launch_pytest(SUITE, args) + finally: + for key, value in previous.items(): + if value is None: + os.environ.pop(key, None) + else: + os.environ[key] = value + if code != 0: + raise RuntimeError(f"The {pass_kind} pass failed with exit code {code}") + + if pending: + launch(pending, rounds) + entries = _read_checkpoint(checkpoint_path) + if benchmark_path.is_file(): + # A case without a checkpoint line comes from the raw pytest-benchmark file. + raw = json.loads(benchmark_path.read_text(encoding="utf8")) + for item in raw["benchmarks"]: + entries.setdefault(item["extra_info"]["case_id"], item) + if pass_kind == "timing": + # Choose from all lines of the checkpoint file, also those of an earlier launch. + # The stored rounds stop a second repeat after a resume. + short = [ + case + for case in cases + if case["case_id"] in entries + and entries[case["case_id"]]["stats"]["median"] < SHORT_CASE_SECONDS + and int(entries[case["case_id"]]["stats"]["rounds"]) < SHORT_CASE_ROUNDS + ] + if short: + print( + f"[{pass_kind}] repeat: {len(short)} short cases with {SHORT_CASE_ROUNDS} rounds", + file=sys.stderr, + flush=True, + ) + launch(short, SHORT_CASE_ROUNDS) + # The last line of a case replaces the earlier one. + entries.update(_read_checkpoint(checkpoint_path)) + missing = [case["case_id"] for case in cases if case["case_id"] not in entries] + if missing: + raise RuntimeError(f"The {pass_kind} pass has no result for {missing[:5]}") + benchmarks = [ + { + "extra_info": entries[case["case_id"]]["extra_info"], + "stats": entries[case["case_id"]]["stats"], + } + for case in cases + ] + payload = { + "schema_version": SCHEMA_VERSION, + "pass": pass_kind, + "cases": [_case_row(case, entries[case["case_id"]], pass_kind) for case in cases], + "provenance": _provenance(), + "pytest_benchmark": {"raw": {"benchmarks": benchmarks}} if pass_kind == "timing" else {}, + } + output_path.write_text(json.dumps(payload, indent=2), encoding="utf8") + print( + f"[{pass_kind}] end: {len(cases)} cases, {time.monotonic() - started:.1f} s elapsed", + file=sys.stderr, + flush=True, + ) + return payload + + +def _merge( + passes: dict[str, dict[str, Any]], + suite_wall_seconds: float | None = None, + suite: str | None = None, +) -> dict[str, Any]: + """Combine the timing, counter and memory passes by case id.""" + counters = {row["case_id"]: row for row in passes["counters"]["cases"]} + memory = {row["case_id"]: row for row in passes["rss"]["cases"]} + rows = [] + for row in passes["timing"]["cases"]: + merged = dict(row) + # A pass that did not run the case gives None (D10). + counter_row = counters.get(row["case_id"]) + for field in COUNTER_FIELDS: + merged[field] = None if counter_row is None else counter_row[field] + memory_row = memory.get(row["case_id"]) + merged["peak_extra_rss_bytes"] = ( + None if memory_row is None else memory_row["peak_extra_rss_bytes"] + ) + merged["rss_unit"] = "bytes" if memory_row is None else memory_row["rss_unit"] + rows.append(merged) + result = { + "schema_version": SCHEMA_VERSION, + "cases": rows, + "provenance": passes["timing"]["provenance"], + "pytest_benchmark": passes["timing"]["pytest_benchmark"], + } + if suite_wall_seconds is not None: + result["suite_wall_seconds"] = suite_wall_seconds + if suite is not None: + result["suite"] = suite + return result + + +def _prepare_work_dir( + parser: argparse.ArgumentParser, work_dir: Path, *, resume: bool, rounds: int +) -> dict[str, Any]: + """Check the work directory and return the meta data of the run. + + Stop with a clear error if a resume does not fit the saved run, or if a new + run would overwrite saved data. + """ + meta_path = work_dir / "meta.json" + current = _revision_metadata() + if resume and not meta_path.is_file() and work_dir.exists() and any(work_dir.iterdir()): + parser.error( + f"Cannot resume: the work directory {work_dir} holds data but no meta.json. " + "Delete the directory to start again." + ) + if not resume: + if work_dir.exists() and any(work_dir.iterdir()): + parser.error( + f"The work directory {work_dir} already holds data. " + "Pass --resume to continue that run, or delete the directory." + ) + elif meta_path.is_file(): + meta = json.loads(meta_path.read_text(encoding="utf8")) + for key, value in ( + ("code_revision", current["code_revision"]), + ("dirty", current["dirty"]), + ("rounds", rounds), + ): + if meta.get(key) != value: + parser.error( + f"Cannot resume: saved {key} {meta.get(key)!r} differs from " + f"current {value!r}. Delete {work_dir} to start again." + ) + return meta + work_dir.mkdir(parents=True, exist_ok=True) + meta = { + "code_revision": current["code_revision"], + "dirty": current["dirty"], + "rounds": rounds, + "wall_seconds": dict.fromkeys(PASS_KINDS, 0.0), + } + meta_path.write_text(json.dumps(meta, indent=2), encoding="utf8") + return meta + + +def main(argv: list[str] | None = None) -> int: + """Run all three passes and write the merged result.""" + parser = argparse.ArgumentParser(description="Run the fault evaluation benchmarks.") + parser.add_argument("--output", required=True, type=Path) + parser.add_argument("--rounds", type=int, default=1) + parser.add_argument( + "--work-dir", + type=Path, + default=None, + help="Directory for the checkpoint files (default: the --output path plus .work).", + ) + parser.add_argument( + "--resume", action="store_true", help="Continue a stopped run in the work directory." + ) + parser.add_argument( + "--suite", + choices=SUITE_NAMES, + default="standard", + help="Cases to run: the standard suite (default) or the full suite.", + ) + options = parser.parse_args(argv) + if options.rounds < 1: + parser.error("--rounds must be at least 1") + work_dir = options.work_dir or options.output.with_name(options.output.name + ".work") + # The work directory and the output file are not changes of the code. + _set_dirty_excludes(work_dir, options.output) + meta = _prepare_work_dir(parser, work_dir, resume=options.resume, rounds=options.rounds) + cases = select_cases(options.suite) + passes = {} + for pass_kind in PASS_KINDS: + output_path = work_dir / f"{pass_kind}.json" + if options.resume and output_path.is_file(): + passes[pass_kind] = json.loads(output_path.read_text(encoding="utf8")) + print(f"[{pass_kind}] already complete, skipped", file=sys.stderr, flush=True) + continue + started = _now() + try: + passes[pass_kind] = _run_fresh_process_pass( + pass_kind, + pass_cases(cases, pass_kind, options.suite), + output_path=output_path, + rounds=options.rounds, + ) + finally: + # A failed or stopped pass also adds its time. + meta["wall_seconds"][pass_kind] += _now() - started + (work_dir / "meta.json").write_text(json.dumps(meta, indent=2), encoding="utf8") + result = _merge( + passes, + suite_wall_seconds=float(sum(meta["wall_seconds"].values())), + suite=options.suite, + ) + validate_result(result) + options.output.parent.mkdir(parents=True, exist_ok=True) + options.output.write_text(json.dumps(result, indent=2), encoding="utf8") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py b/packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py index ab5ea4301..b5ba1b26d 100644 --- a/packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py +++ b/packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py @@ -481,16 +481,121 @@ def evaluate_value(self, evaluation_points, property_array): raise ValueError( f"cannot assign {property_array.shape[0]} vlaues to array of shape {self.n_nodes}" ) - idc, inside = self.position_to_cell_corners(evaluation_points) - if idc.shape[0] != inside.shape[0]: - raise ValueError("index does not match number of nodes") - weights = self.position_to_dof_coefs(evaluation_points[inside, :]) + if self._has_uniform_lookup(): + idc, inside, local_coords = self._lookup_points(evaluation_points) + weights = self.trilinear(local_coords[inside, :]) + else: + idc, inside = self.position_to_cell_corners(evaluation_points) + if idc.shape[0] != inside.shape[0]: + raise ValueError("index does not match number of nodes") + weights = self.position_to_dof_coefs(evaluation_points[inside, :]) + return self._values_from_coefficients(idc, inside, weights, property_array) + + def _has_uniform_lookup(self) -> bool: + """Check that the cell geometry is the uniform geometry of this class. + + A subclass that changes the cell index, the local coordinates or the + cell corners cannot use _lookup_points. + + Returns + ------- + bool + True when the three methods are not overridden. + """ + cls = type(self) + return ( + cls.position_to_cell_index is StructuredGrid3DGeometry.position_to_cell_index + and cls.position_to_local_coordinates + is StructuredGrid3DGeometry.position_to_local_coordinates + and cls.position_to_cell_corners is StructuredGrid3DGeometry.position_to_cell_corners + ) + + def _lookup_points(self, pos: np.ndarray) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + """Find the cell, the corner nodes and the local coordinates of points. + + The cell index is found one time for all points. + + Parameters + ---------- + pos : np.ndarray + (N, 3) locations + + Returns + ------- + tuple[np.ndarray, np.ndarray, np.ndarray] + corners is an integer (N, 8) array of node indexes, with -1 in each + row of a point that is outside. inside is a boolean (N,) array. + local_coords is a float (N, 3) array in the range 0 to 1. Rows of + points that are outside use the cell with index 0. + """ + pos = self.check_position(pos) + cell_indexes, inside = self.position_to_cell_index(pos) + nx, ny = self.nsteps[0], self.nsteps[1] + offsets = np.array( + [0, 1, nx, nx + 1, nx * ny, nx * ny + 1, nx * ny + nx, nx * ny + nx + 1], + dtype=np.intp, + ) + g = cell_indexes[:, 0] + nx * cell_indexes[:, 1] + nx * ny * cell_indexes[:, 2] + corners = g[:, None] + offsets[None, :] + corners[~inside] = -1 + # Use cell origin (not modulo) so points on max faces/vertices map to local=1. + cell_origin = self.origin[None, :] + self.step_vector[None, :] * cell_indexes + local_coords = (pos - cell_origin) / self.step_vector[None, :] + local_coords = np.clip(local_coords, 0.0, 1.0) + return corners, inside, local_coords + + @staticmethod + def _values_from_coefficients( + idc: np.ndarray, inside: np.ndarray, coefs: np.ndarray, property_array: np.ndarray + ) -> np.ndarray: + """Sum the corner values of the cells, weighted by the coefficients. + + Parameters + ---------- + idc : np.ndarray + (N, 8) corner node indexes of the cells + inside : np.ndarray + (N,) boolean, True for each point that is inside the grid + coefs : np.ndarray + (M, 8) trilinear coefficients of the M points that are inside + property_array : np.ndarray + node values, shape ``(n_nodes,)`` or ``(n_nodes, k)`` + + Returns + ------- + np.ndarray + ``(N,)`` (or ``(N, k)``) values, NaN for the points that are outside + """ if property_array.ndim == 1: v = np.zeros(idc.shape) v[:, :] = np.nan - v[inside, :] = weights + v[inside, :] = coefs v[inside, :] *= property_array[idc[inside, :]] return np.sum(v, axis=1) result = np.full((idc.shape[0],) + property_array.shape[1:], np.nan) - result[inside] = np.einsum("nc,nc...->n...", weights, property_array[idc[inside, :]]) + result[inside] = np.einsum("nc,nc...->n...", coefs, property_array[idc[inside, :]]) return result + + def _evaluate_value_from_lookup( + self, lookup: tuple[np.ndarray, np.ndarray, np.ndarray], property_array: np.ndarray + ) -> np.ndarray: + """Get the values from the result of _lookup_points. + + The result is the same as the result of evaluate_value for the + points of the lookup. The cell search is not repeated. + + Parameters + ---------- + lookup : tuple[np.ndarray, np.ndarray, np.ndarray] + result of _lookup_points + property_array : np.ndarray + node values, shape ``(n_nodes,)`` or ``(n_nodes, k)`` + + Returns + ------- + np.ndarray + values, NaN for the points that are outside + """ + idc, inside, local_coords = lookup + coefs = self.trilinear(local_coords[inside, :]) + return self._values_from_coefficients(idc, inside, coefs, np.asarray(property_array)) diff --git a/packages/loop_common/src/loop_common/supports/_3d_structured_grid.py b/packages/loop_common/src/loop_common/supports/_3d_structured_grid.py index 77d20e207..d418c6ae5 100644 --- a/packages/loop_common/src/loop_common/supports/_3d_structured_grid.py +++ b/packages/loop_common/src/loop_common/supports/_3d_structured_grid.py @@ -3,7 +3,6 @@ """ - import numpy as np from loop_common.logging import get_logger as getLogger @@ -218,6 +217,29 @@ def neighbour_global_indexes(self, mask=None, **kwargs): + self.nsteps[0, None, None] * self.nsteps[1, None, None] * neighbours[2, :, :] ).astype(np.int64) + def _evaluate_gradient_from_lookup(self, lookup, property_array): + """Get the gradients from the result of _lookup_points. + + The result is the same as the result of evaluate_gradient for the + points of the lookup. The cell search is not repeated. + """ + idc, inside, local_coords = lookup + weights = self._gradient_weights(local_coords[inside, :]) + T = np.zeros((idc.shape[0], 3, 8)) + T[inside, :, :] = weights + if np.any(inside) and np.max(idc[inside, :]) > property_array.shape[0]: + raise ValueError("index does not match number of nodes") + T[inside, 0, :] *= property_array[idc[inside, :]] + T[inside, 1, :] *= property_array[idc[inside, :]] + T[inside, 2, :] *= property_array[idc[inside, :]] + return np.array( + [ + np.sum(T[:, 0, :], axis=1), + np.sum(T[:, 1, :], axis=1), + np.sum(T[:, 2, :], axis=1), + ] + ).T + def evaluate_gradient(self, evaluation_points, property_array) -> np.ndarray: """Evaluate the gradient at a location given node values @@ -249,9 +271,15 @@ def evaluate_gradient(self, evaluation_points, property_array) -> np.ndarray: f"cannot assign {property_array.shape[0]} vlaues to array of shape {self.n_nodes}" ) - idc, inside = self.position_to_cell_corners(evaluation_points) + if self._has_uniform_lookup(): + evaluation_points = self.check_position(evaluation_points) + idc, inside, local_coords = self._lookup_points(evaluation_points) + weights = self._gradient_weights(local_coords[inside, :]) + else: + idc, inside = self.position_to_cell_corners(evaluation_points) + weights = self.get_element_gradient_for_location(evaluation_points[inside, :])[1] T = np.zeros((idc.shape[0], 3, 8)) - T[inside, :, :] = self.get_element_gradient_for_location(evaluation_points[inside, :])[1] + T[inside, :, :] = weights if np.any(inside) and np.max(idc[inside, :]) > property_array.shape[0]: cix, ciy, ciz = self.position_to_cell_index(evaluation_points) if not np.all(cix[inside] < self.nsteps_cells[0]): @@ -287,38 +315,37 @@ def evaluate_gradient(self, evaluation_points, property_array) -> np.ndarray: ] ).T - def get_element_gradient_for_location(self, pos: np.ndarray): + def _has_uniform_lookup(self) -> bool: + """Check that the cell geometry is the uniform geometry of this class. + + A subclass with its own local coordinates (for example a grid with + different cell sizes) cannot use _lookup_points and _gradient_weights. + + Returns + ------- + bool + True when the value lookup and the gradient weights are not overridden. """ - Get the gradient of the element at the locations. + return ( + super()._has_uniform_lookup() + and type(self).get_element_gradient_for_location + is StructuredGrid.get_element_gradient_for_location + ) + + def _gradient_weights(self, local_coords): + """Get the gradient weights of the 8 corner nodes of a cell. Parameters ---------- - pos : np.array((N,3),dtype=float) - locations + local_coords : np.array((N,3),dtype=float) + local coordinates of the points in their cells Returns ------- - vertices, gradient, element, inside - [description] + np.array((N,3,8),dtype=float) + weights for each axis and corner, divided by the step vector """ - # 6_ _ _ _ 8 - # /| /| - # 4 /_| 5/ | - # | 2|_ _|_| 7 - # | / | / - # |/_ _ _|/ - # 0 1 - # - # xindex, yindex, zindex = self.position_to_cell_index(pos) - # cellx, celly, cellz = self.cell_corner_indexes(xindex, yindex,zindex) - # x, y, z = self.node_indexes_to_position(cellx, celly, cellz) - pos = np.asarray(pos) - T = np.zeros((pos.shape[0], 3, 8)) - local_coords = self.position_to_local_coordinates(pos) - vertices, inside = self.position_to_cell_vertices(pos) - elements, inside = self.position_to_cell_index(pos) - elements = self.global_cell_indices(elements) - + T = np.zeros((local_coords.shape[0], 3, 8)) T[:, 0, 0] = (1 - local_coords[:, 2]) * (local_coords[:, 1] - 1) # v000 T[:, 0, 1] = (1 - local_coords[:, 1]) * (1 - local_coords[:, 2]) T[:, 0, 2] = -local_coords[:, 1] * (1 - local_coords[:, 2]) @@ -348,6 +375,40 @@ def get_element_gradient_for_location(self, pos: np.ndarray): T[:, 0, :] /= self.step_vector[None, 0] T[:, 1, :] /= self.step_vector[None, 1] T[:, 2, :] /= self.step_vector[None, 2] + return T + + def get_element_gradient_for_location(self, pos: np.ndarray): + """ + Get the gradient of the element at the locations. + + Parameters + ---------- + pos : np.array((N,3),dtype=float) + locations + + Returns + ------- + vertices, gradient, element, inside + [description] + """ + # 6_ _ _ _ 8 + # /| /| + # 4 /_| 5/ | + # | 2|_ _|_| 7 + # | / | / + # |/_ _ _|/ + # 0 1 + # + # xindex, yindex, zindex = self.position_to_cell_index(pos) + # cellx, celly, cellz = self.cell_corner_indexes(xindex, yindex,zindex) + # x, y, z = self.node_indexes_to_position(cellx, celly, cellz) + pos = np.asarray(pos) + local_coords = self.position_to_local_coordinates(pos) + vertices, inside = self.position_to_cell_vertices(pos) + elements, inside = self.position_to_cell_index(pos) + elements = self.global_cell_indices(elements) + + T = self._gradient_weights(local_coords) return vertices, T, elements, inside def get_element_for_location(self, pos: np.ndarray): diff --git a/packages/loop_common/tests/test_evaluation_lookup.py b/packages/loop_common/tests/test_evaluation_lookup.py new file mode 100644 index 000000000..b8ea753f8 --- /dev/null +++ b/packages/loop_common/tests/test_evaluation_lookup.py @@ -0,0 +1,476 @@ +"""Tests for the StructuredGrid lookup used by evaluate_value and evaluate_gradient. + +The reference functions in this file are a frozen copy of the arithmetic that +StructuredGrid used before the common lookup was added (plan D6). They use only +numpy and the public geometry of the grid. They do not call _lookup_points or +_gradient_weights. + +Float comparisons use rtol=1e-13 and atol=1e-14. The new code must do the same +operations in the same order, so the results must be equal to rounding level. +The small tolerance only allows for a different but equal expression. +Corner indexes and the inside mask are integer and boolean data and must be +exactly equal. +""" + +import numpy as np +import pytest +from loop_common.geometry import StructuredGrid3DGeometry +from loop_common.supports import RectilinearGrid, StructuredGrid + +RTOL = 1e-13 +ATOL = 1e-14 + +# Corner order of a cell: x changes fastest, then y, then z. +_XC = np.array([0, 1, 0, 1, 0, 1, 0, 1]) +_YC = np.array([0, 0, 1, 1, 0, 0, 1, 1]) +_ZC = np.array([0, 0, 0, 0, 1, 1, 1, 1]) + + +# -------------------------------------------------------------------------- +# Frozen reference calculations +# -------------------------------------------------------------------------- +def _ref_inside(grid, pos): + extent = np.maximum(np.abs(grid.maximum - grid.origin), 1.0) + tol = np.finfo(float).eps * 32.0 * extent + return np.all((pos >= (grid.origin - tol)) & (pos <= (grid.maximum + tol)), axis=1) + + +def _ref_cell_index(grid, pos): + inside = _ref_inside(grid, pos) + cell = np.zeros((pos.shape[0], 3), dtype=int) + for axis in range(3): + rel = pos[inside, axis] - grid.origin[axis] + idx = np.floor(rel / grid.step_vector[axis]).astype(int) + cell[inside, axis] = np.clip(idx, 0, grid.nsteps_cells[axis] - 1) + return cell, inside + + +def _ref_corners(grid, pos): + cell, inside = _ref_cell_index(grid, pos) + nx, ny = grid.nsteps[0], grid.nsteps[1] + base = cell[:, 0] + nx * cell[:, 1] + nx * ny * cell[:, 2] + offsets = _XC + nx * _YC + nx * ny * _ZC + corners = base[:, None] + offsets[None, :] + corners[~inside] = -1 + return corners, inside + + +def _ref_local(grid, pos): + cell, _ = _ref_cell_index(grid, pos) + origin = grid.origin[None, :] + grid.step_vector[None, :] * cell + return np.clip((pos - origin) / grid.step_vector[None, :], 0.0, 1.0) + + +def _ref_trilinear(lc): + x, y, z = lc[:, 0], lc[:, 1], lc[:, 2] + w = np.zeros((lc.shape[0], 8)) + w[:, 0] = (1 - x) * (1 - y) * (1 - z) + w[:, 1] = x * (1 - y) * (1 - z) + w[:, 2] = (1 - x) * y * (1 - z) + w[:, 4] = (1 - x) * (1 - y) * z + w[:, 5] = x * (1 - y) * z + w[:, 6] = (1 - x) * y * z + w[:, 3] = x * y * (1 - z) + w[:, 7] = x * y * z + return w + + +def _ref_gradient_weights(grid, lc): + x, y, z = lc[:, 0], lc[:, 1], lc[:, 2] + t = np.zeros((lc.shape[0], 3, 8)) + t[:, 0, 0] = (1 - z) * (y - 1) + t[:, 0, 1] = (1 - y) * (1 - z) + t[:, 0, 2] = -y * (1 - z) + t[:, 0, 4] = -(1 - y) * z + t[:, 0, 5] = (1 - y) * z + t[:, 0, 6] = -y * z + t[:, 0, 3] = y * (1 - z) + t[:, 0, 7] = y * z + t[:, 1, 0] = (x - 1) * (1 - z) + t[:, 1, 1] = -x * (1 - z) + t[:, 1, 2] = (1 - x) * (1 - z) + t[:, 1, 4] = -(1 - x) * z + t[:, 1, 5] = -x * z + t[:, 1, 6] = (1 - x) * z + t[:, 1, 3] = x * (1 - z) + t[:, 1, 7] = x * z + t[:, 2, 0] = -(1 - x) * (1 - y) + t[:, 2, 1] = -x * (1 - y) + t[:, 2, 2] = -(1 - x) * y + t[:, 2, 4] = (1 - x) * (1 - y) + t[:, 2, 5] = x * (1 - y) + t[:, 2, 6] = (1 - x) * y + t[:, 2, 3] = -x * y + t[:, 2, 7] = x * y + t[:, 0, :] /= grid.step_vector[0] + t[:, 1, :] /= grid.step_vector[1] + t[:, 2, :] /= grid.step_vector[2] + return t + + +def _ref_value(grid, pos, prop): + corners, inside = _ref_corners(grid, pos) + v = np.full(corners.shape, np.nan) + v[inside, :] = _ref_trilinear(_ref_local(grid, pos[inside, :])) + v[inside, :] *= prop[corners[inside, :]] + return np.sum(v, axis=1) + + +def _ref_gradient(grid, pos, prop): + corners, inside = _ref_corners(grid, pos) + t = np.zeros((corners.shape[0], 3, 8)) + t[inside] = _ref_gradient_weights(grid, _ref_local(grid, pos[inside, :])) + for axis in range(3): + t[inside, axis, :] *= prop[corners[inside, :]] + return np.array( + [np.sum(t[:, 0, :], axis=1), np.sum(t[:, 1, :], axis=1), np.sum(t[:, 2, :], axis=1)] + ).T + + +# -------------------------------------------------------------------------- +# Grids and points +# -------------------------------------------------------------------------- +GRIDS = { + "unit": dict(origin=[0.0, 0.0, 0.0], nsteps=[4, 5, 6], step_vector=[1.0, 1.0, 1.0]), + "non_unit": dict(origin=[0.0, 0.0, 0.0], nsteps=[5, 3, 4], step_vector=[2.0, 0.5, 3.0]), + "offset": dict(origin=[-10.5, 200.25, 7.0], nsteps=[3, 6, 4], step_vector=[1.5, 0.75, 2.5]), +} + + +def _make_grid(name): + return StructuredGrid(**{k: np.array(v) for k, v in GRIDS[name].items()}) + + +def _node_values(grid, seed=3): + return np.random.default_rng(seed).normal(size=int(grid.n_nodes)) + + +def _points(grid, seed=11): + rng = np.random.default_rng(seed) + lo, hi = grid.origin, grid.maximum + span = hi - lo + random_in = lo + rng.random((40, 3)) * span + # Corners of the domain and of an interior cell. + corners = np.array( + [[x, y, z] for x in (lo[0], hi[0]) for y in (lo[1], hi[1]) for z in (lo[2], hi[2])] + ) + cell_nodes = lo + grid.step_vector * np.array([1.0, 1.0, 2.0]) + on_nodes = np.vstack([corners, cell_nodes[None, :]]) + # Points on faces and edges (one or two coordinates at a bound). + faces = random_in[:6].copy() + faces[0:2, 0] = lo[0] + faces[2:4, 1] = hi[1] + faces[4:6, 2] = hi[2] + edges = random_in[6:10].copy() + edges[0, [0, 1]] = [hi[0], lo[1]] + edges[1, [1, 2]] = [hi[1], hi[2]] + edges[2, [0, 2]] = [lo[0], hi[2]] + edges[3, [0, 1]] = [hi[0], hi[1]] + # Interior cell faces (points on a shared face between two cells). + shared = random_in[10:14].copy() + shared[:, 0] = lo[0] + grid.step_vector[0] + eps = 1e-6 * span + just_out = np.vstack([lo - eps, hi + eps, [lo[0] - eps[0], *(lo[1:] + 0.5 * span[1:])]]) + far_out = np.vstack([lo - 100.0 * span, hi + 100.0 * span]) + nan_rows = random_in[:3].copy() + nan_rows[0, 0] = np.nan + nan_rows[1, :] = np.nan + nan_rows[2, 2] = np.nan + return { + "random": random_in, + "nodes": on_nodes, + "faces": faces, + "edges": edges, + "shared_face": shared, + "just_outside": just_out, + "far_outside": far_out, + "nan": nan_rows, + "mixed": np.vstack([random_in[:5], just_out, nan_rows, on_nodes[:3], far_out]), + "empty": np.zeros((0, 3)), + } + + +GRID_NAMES = list(GRIDS) +POINT_NAMES = list(_points(_make_grid("unit"))) + + +@pytest.fixture(params=GRID_NAMES) +def grid(request): + return _make_grid(request.param) + + +@pytest.fixture(params=POINT_NAMES) +def pts(request, grid): + return _points(grid)[request.param] + + +# -------------------------------------------------------------------------- +# Private helper contract (fail until _lookup_points / _gradient_weights exist) +# -------------------------------------------------------------------------- +def test_lookup_points_matches_reference(grid, pts): + corners, inside, local = grid._lookup_points(pts) + ref_corners, ref_inside = _ref_corners(grid, pts) + assert corners.shape == (pts.shape[0], 8) + assert inside.shape == (pts.shape[0],) + assert local.shape == (pts.shape[0], 3) + assert inside.dtype == bool + assert corners.dtype.kind == "i" + assert local.dtype == np.float64 + np.testing.assert_array_equal(corners, ref_corners) + np.testing.assert_array_equal(inside, ref_inside) + np.testing.assert_allclose(local, _ref_local(grid, pts), rtol=RTOL, atol=ATOL, equal_nan=True) + + +def test_lookup_points_outside_rows(grid): + pts = _points(grid)["mixed"] + corners, inside, _local = grid._lookup_points(pts) + assert not inside.all() and inside.any() + # Outside points keep the corner marker -1. NaN points are outside. + assert np.all(corners[~inside] == -1) + assert np.all(corners[inside] >= 0) + assert not inside[np.isnan(pts).any(axis=1)].any() + + +def test_lookup_points_corner_order_and_clipping(grid): + # A point on the maximum corner belongs to the last cell, with local = 1. + top = grid.maximum[None, :].copy() + corners, inside, local = grid._lookup_points(top) + assert inside[0] + nx, ny = grid.nsteps[0], grid.nsteps[1] + assert corners[0, 7] == grid.n_nodes - 1 + assert corners[0, 0] == corners[0, 7] - (1 + nx + nx * ny) + np.testing.assert_array_equal(local, np.ones((1, 3))) + # The corner order is x first, then y, then z. + np.testing.assert_array_equal(corners[0] - corners[0, 0], _XC + nx * _YC + nx * ny * _ZC) + + +def test_lookup_points_accepts_single_point_and_list(grid): + pt = grid.origin + 0.3 * (grid.maximum - grid.origin) + c1, i1, l1 = grid._lookup_points(pt) + c2, i2, l2 = grid._lookup_points([pt.tolist()]) + assert c1.shape == (1, 8) + np.testing.assert_array_equal(c1, c2) + np.testing.assert_array_equal(i1, i2) + np.testing.assert_array_equal(l1, l2) + + +def test_gradient_weights_match_reference(grid): + rng = np.random.default_rng(5) + local = np.vstack( + [ + rng.random((30, 3)), + [[0.0, 0.0, 0.0], [1.0, 1.0, 1.0], [0.0, 1.0, 0.5], [np.nan, 0.5, 0.5]], + ] + ) + weights = grid._gradient_weights(local) + assert isinstance(weights, np.ndarray) + assert weights.shape == (local.shape[0], 3, 8) + assert weights.dtype == np.float64 + # The weights include the division by the step vector (scale factors). + np.testing.assert_allclose( + weights, _ref_gradient_weights(grid, local), rtol=RTOL, atol=ATOL, equal_nan=True + ) + + +def test_gradient_weights_empty(grid): + weights = grid._gradient_weights(np.zeros((0, 3))) + assert weights.shape == (0, 3, 8) + + +def test_gradient_weights_match_element_gradient(grid): + pts = _points(grid)["random"] + local = grid._lookup_points(pts)[2] + weights = grid._gradient_weights(local) + old = grid.get_element_gradient_for_location(pts)[1] + np.testing.assert_allclose(weights, old, rtol=RTOL, atol=ATOL) + + +# -------------------------------------------------------------------------- +# Public methods against the reference (these freeze the present behaviour) +# -------------------------------------------------------------------------- +def test_evaluate_value_matches_reference(grid, pts): + prop = _node_values(grid) + result = grid.evaluate_value(pts, prop) + assert result.shape == (pts.shape[0],) + assert result.dtype == np.float64 + expected = _ref_value(grid, pts, prop) + np.testing.assert_allclose(result, expected, rtol=RTOL, atol=ATOL, equal_nan=True) + # Outside points and NaN points give NaN. + outside = ~_ref_inside(grid, pts) + assert np.all(np.isnan(result[outside])) + + +def test_evaluate_gradient_matches_reference(grid, pts): + prop = _node_values(grid) + result = grid.evaluate_gradient(pts, prop) + assert result.shape == (pts.shape[0], 3) + assert result.dtype == np.float64 + expected = _ref_gradient(grid, pts, prop) + np.testing.assert_allclose(result, expected, rtol=RTOL, atol=ATOL, equal_nan=True) + # Outside points give zero gradient. + outside = ~_ref_inside(grid, pts) + assert np.all(result[outside] == 0.0) + + +def test_linear_field_value_and_gradient(grid): + # A linear field is reproduced exactly by trilinear interpolation. + nodes = grid.nodes + coef = np.array([1.5, -2.0, 0.25]) + prop = nodes @ coef + pts = _points(grid)["random"] + np.testing.assert_allclose(grid.evaluate_value(pts, prop), pts @ coef, rtol=1e-10, atol=1e-9) + np.testing.assert_allclose( + grid.evaluate_gradient(pts, prop), np.tile(coef, (pts.shape[0], 1)), rtol=1e-9, atol=1e-9 + ) + + +def test_property_array_size_error(grid): + with pytest.raises(ValueError): + grid.evaluate_value(np.zeros((1, 3)), np.zeros(3)) + with pytest.raises(ValueError): + grid.evaluate_gradient(np.zeros((1, 3)), np.zeros(3)) + + +# -------------------------------------------------------------------------- +# Clipping of local coordinates inside the tolerance band (plan D6) +# -------------------------------------------------------------------------- +# On a grid with a large extent the inside test accepts points up to +# tol = eps * 32 * extent beyond the box. For extent 1000 this is about 7e-12. +# A point 0.5 * tol beyond the box has an unclipped local coordinate that is +# outside [0, 1] by more than ATOL. Only the clip to [0, 1] gives exact 0 and 1. +CLIP_GRIDS = { + "long_xy": dict(origin=[0.0, 0.0, 0.0], nsteps=[1000, 1000, 2], step_vector=[1.0, 1.0, 1.0]), + "long_yz_offset": dict( + origin=[-3.0, 500.5, 20.0], nsteps=[2, 1000, 1000], step_vector=[1.0, 1.0, 1.0] + ), +} + + +def _tol(grid): + # Same formula as the inside test of the grid. + extent = np.maximum(np.abs(grid.maximum - grid.origin), 1.0) + return np.finfo(float).eps * 32.0 * extent + + +def _band_points(grid): + """Points in the tolerance band: (points, expected local coordinates).""" + lo, hi, half = grid.origin, grid.maximum, 0.5 * _tol(grid) + mid = lo + 0.5 * (hi - lo) + pts = [hi + half, lo - half, np.where([True, False, True], hi + half, lo - half)] + expected = [np.ones(3), np.zeros(3), np.array([1.0, 0.0, 1.0])] + # One axis in the band, the other axes inside the box. + for axis in range(3): + for side, value in ((hi, 1.0), (lo, 0.0)): + p = mid.copy() + p[axis] = side[axis] + (half[axis] if value == 1.0 else -half[axis]) + e = np.full(3, np.nan) + e[axis] = value + pts.append(p) + expected.append(e) + return np.array(pts), np.array(expected) + + +@pytest.fixture(params=list(CLIP_GRIDS)) +def clip_grid(request): + return StructuredGrid(**{k: np.array(v) for k, v in CLIP_GRIDS[request.param].items()}) + + +def test_band_points_overshoot_is_larger_than_atol(clip_grid): + # Guard for the test data: the clip must matter at these points. + assert np.max(_tol(clip_grid)) * 0.5 > 100 * ATOL + + +def test_band_points_are_inside(clip_grid): + pts, _ = _band_points(clip_grid) + assert np.all(clip_grid.inside(pts)) + assert np.all(_ref_inside(clip_grid, pts)) + + +def test_position_to_local_coordinates_clips_in_tolerance_band(clip_grid): + pts, expected = _band_points(clip_grid) + local = clip_grid.position_to_local_coordinates(pts) + assert np.all((local >= 0.0) & (local <= 1.0)) + known = ~np.isnan(expected) + np.testing.assert_array_equal(local[known], expected[known]) + np.testing.assert_array_equal(local, _ref_local(clip_grid, pts)) + + +def test_lookup_points_clips_in_tolerance_band(clip_grid): + pts, expected = _band_points(clip_grid) + corners, inside, local = clip_grid._lookup_points(pts) + assert np.all(inside) + assert np.all(corners >= 0) + assert np.all((local >= 0.0) & (local <= 1.0)) + known = ~np.isnan(expected) + np.testing.assert_array_equal(local[known], expected[known]) + np.testing.assert_array_equal(local, _ref_local(clip_grid, pts)) + + +def test_evaluate_in_tolerance_band_matches_reference(clip_grid): + pts, _ = _band_points(clip_grid) + prop = _node_values(clip_grid) + value = clip_grid.evaluate_value(pts, prop) + assert not np.isnan(value).any() + np.testing.assert_allclose(value, _ref_value(clip_grid, pts, prop), rtol=RTOL, atol=ATOL) + gradient = clip_grid.evaluate_gradient(pts, prop) + np.testing.assert_allclose(gradient, _ref_gradient(clip_grid, pts, prop), rtol=RTOL, atol=ATOL) + + +# -------------------------------------------------------------------------- +# One cell-index lookup per call +# -------------------------------------------------------------------------- +@pytest.fixture +def cell_index_counter(monkeypatch): + calls = [] + original = StructuredGrid3DGeometry.position_to_cell_index + + def counting(self, pos): + calls.append(np.shape(pos)) + return original(self, pos) + + monkeypatch.setattr(StructuredGrid3DGeometry, "position_to_cell_index", counting) + return calls + + +@pytest.mark.parametrize("name", ["evaluate_value", "evaluate_gradient"]) +def test_one_cell_index_lookup_per_call(name, cell_index_counter): + grid = _make_grid("non_unit") + prop = _node_values(grid) + pts = _points(grid)["mixed"] + getattr(grid, name)(pts, prop) + assert len(cell_index_counter) == 1 + + +@pytest.mark.parametrize("name", ["evaluate_value", "evaluate_gradient"]) +def test_one_cell_index_lookup_for_inside_only_points(name, cell_index_counter): + grid = _make_grid("offset") + prop = _node_values(grid) + pts = _points(grid)["random"] + getattr(grid, name)(pts, prop) + assert len(cell_index_counter) == 1 + + +def test_lookup_points_uses_one_cell_index_lookup(cell_index_counter): + grid = _make_grid("non_unit") + grid._lookup_points(_points(grid)["mixed"]) + assert len(cell_index_counter) == 1 + + +def test_lookup_value_matches_master_path_for_multi_column_property(grid, pts): + # A (n_nodes, 3) property array gives the same values on the fast path + # and on the master path (cell corners and DOF coefficients). + rng = np.random.default_rng(7) + property_array = rng.random((int(grid.n_nodes), 3)) + fast = grid.evaluate_value(pts, property_array) + idc, inside = grid.position_to_cell_corners(pts) + coefs = grid.position_to_dof_coefs(pts[inside, :]) + master = grid._values_from_coefficients(idc, inside, coefs, property_array) + assert fast.shape == (pts.shape[0], 3) + np.testing.assert_allclose(fast, master, rtol=RTOL, atol=ATOL, equal_nan=True) + + +def test_rectilinear_grid_uses_the_master_path(): + grid = RectilinearGrid( + np.array([0.0, 1.0, 3.0]), np.array([0.0, 2.0, 3.0]), np.array([0.0, 1.0, 5.0]) + ) + assert grid._has_uniform_lookup() is False diff --git a/pyproject.toml b/pyproject.toml index 5e8505d66..04f64b3f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ inequalities = ["loopsolver"] # the Rust solver: solver='native' native = ["loop-interpolation[native]"] tests = ['pytest'] -dev = ['ruff'] +dev = ['ruff', 'pytest-benchmark'] docs = [ "pyvista[all]", "pydata-sphinx-theme", diff --git a/scripts/fault_snapshot/PROMPT.md b/scripts/fault_snapshot/PROMPT.md new file mode 100644 index 000000000..ed3cb87cc --- /dev/null +++ b/scripts/fault_snapshot/PROMPT.md @@ -0,0 +1,168 @@ +# Task: a native "fault snapshot" oracle for kiridashi (proof of concept) + +You are working in the **kiridashi** repository (`/home/lgrose/dev/kiridashi`, Rust workspace). +Read its `AGENTS.md` / `CLAUDE.md` and follow the project rules (commands, formatting, lint, +specs). Do not change existing crates' behaviour. Add new code only. + +## Goal + +Today the field oracle that kiridashi meshes with is a Python object +(`crates/kiridashi-py/python/kiridashi/loop.py`, class `LoopOracle`) that calls +LoopStructural. Each call costs about 30–45 ms whatever the number of points, because of +Python overhead, and the projection phase makes about 2,000 one-point calls per horizon. + +Build a **native implementation of the `FieldOracle` trait** (`crates/volmesh/src/field/oracle.rs`) +that evaluates a LoopStructural model from a **snapshot** exported to files. It must give the +same answers as the Python oracle (to the tolerances below) in microseconds per point. + +Deliver: +1. A new crate (suggested name `crates/loop-snapshot`, workspace member) with: + - a loader for the snapshot directory (`manifest.json` + raw `.bin` arrays), + - a `SnapshotOracle` that implements `FieldOracle` (`values` with optional gradients, + `fault_distance`, `tip`, `model`, `band`, `has_gradient`, `thread_safety`). + It must be `Send + Sync` and reentrant (immutable after loading). +2. Validation tests against the reference results (below), one test group per phase. +3. A small benchmark (single point, 100 points, 2,000 points) of the snapshot oracle. Report + the numbers; compare to the Python figures in "Context numbers". +4. A short `README.md` in the crate: what is supported, what is not, how to re-export. + +Work in phases. **Do not start a phase until the previous phase's tests pass.** If a test +cannot pass because Python behaviour is odd, do not loosen the tolerance: write down the +discrepancy (input, Python value, your value, your explanation) in the README and stop that phase. + +## Inputs + +All inputs are in `/tmp/claude-1000/-home-lgrose-dev-LoopStructural/102a1e6e-6892-4ad1-9f14-903184d259cb/scratchpad/ls003merge/scripts/fault_snapshot/`. Copy the `out/` +directory to `fixtures/snapshot_poc/` in kiridashi (3.6 MB; if the repo has a size policy for +fixtures, ask rather than commit it). + +* `out//manifest.json` — the snapshot. Models: `single_constant` (one fault, constant + displacement), `single_cubic` (one fault, cubic profiles with slope at the fault, so the + block continuation is exercised), `two_faults` (two independent faults `main`, `splay`). +* `out//data/*.bin` — node arrays: little-endian `float64`, C order, no header. +* `out//reference/index.json` + `*.bin` — results of the Python implementation at + `reference/points.bin` (N×3, world coordinates; includes points outside the grid, points + exactly on each fault, and points a hair either side). `index.json` gives each file's shape + and meaning, and for each series the list of blocks (`series__blocks`). +* `export_snapshot.py` — the exporter (do not modify). `verify_export.py` — a 60-line numpy + reader that reproduces the frame and series values from the files; use it as a worked example + of the grid format. It agrees with the reference to 4e-16. + +### Manifest (version 1) + +* `constants`: `BLOCK_SIDE_EPSILON`, `BLOCK_EXTENSION` (`"smooth"`), `BLOCK_EXTENSION_EXACT`, + `BLOCK_EXTENSION_LIMIT`, `BLOCK_EXTENSION_STEP`. Read these, never hard-code them. +* `gradient`: `{"method": "regular_tetrahedron", "scale": s}`. +* `faults[]`: `name`, `displacement` (model units, use as is), `steps`, `profile` + (`scale`, `gx`, `gy`, `gz`; each is `ones`, `zeros`, `cubic{w,lim,limit_value,min_v,max_v}` or + `composite{positive,negative}`), `frame` = three grids (gx, gy, gz), `frame_faults` (names of + younger faults that displace this fault; may be empty), `has_tip`, `tip_ends`. +* `series[]`: `name`, `faults` (names, **youngest first** = restore order), `grid`. +* A grid: `origin`, `step`, `ncells` (3), `local_from_world` (`A` 3×3 row-major, `b`) so that + `local = A·world + b`, `world_vector_from_local` (3×3 row-major) for gradient directions, + `nodes` (relative path). Node index = `i + (nx+1)·(j + (ny+1)·k)`, `nx = ncells[0]`. + +The exporter refuses anything else (regions/abutting faults, non-structured grids, other profile +types, a fault displaced by a fault that is not earlier in the series restore order). Your loader +should reject unknown `schema`/`version` and any structure it does not understand with a clear error. + +## What to port (read these Python sources first; they are the specification) + +Base path: `/tmp/claude-1000/-home-lgrose-dev-LoopStructural/102a1e6e-6892-4ad1-9f14-903184d259cb/scratchpad/ls003merge/`. The semantics below are the contract; +where this text and the Python differ, the Python wins — tell me. + +1. **Grid evaluation** — `packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py` + (`position_to_cell_index`, `inside`, `_inside`, `position_to_local_coordinates`, `trilinear`, + `evaluate_value`) and `.../supports/_3d_structured_grid.py` (`evaluate_gradient`, + `_shape_gradients`). Points outside the grid give NaN (inside test has a tolerance + `eps·32·max(|max−origin|,1)` per axis). Cell index is `clip(floor((l−o)/h), 0, n−1)`; local + coordinates are clipped to [0,1]. The discrete interpolator wrapper + (`packages/loop_interpolation/src/loop_interpolation/_discrete_interpolator.py`, + `_evaluate_value_local`) returns **0.0 for a point with a NaN coordinate** and NaN outside the + grid. Gradients are evaluated in the local frame and rotated with + `world_vector_from_local`. +2. **Fault restore** — `LoopStructural/modelling/features/fault/_fault_segment.py`: + `apply_to_points` (lines ~527–617), `_evaluate_frame`, `_displacement_fraction`, + `evaluate_frame_value/_gradient`, `_evaluate_tip`/`evaluate_tip_value` (~467–513). + Note: the mask of moved points is fixed from the first frame evaluation; gradients of gy are + normalised and scaled by `(1/steps)·d`; NaN propagates exactly as in numpy; `block` side `0` + returns the points unchanged. +3. **Profiles and the block extension** — `.../fault/_fault_function.py`: `Ones`, `Zeros`, + `Composite` (note `v == 0` gives 0), `CubicFunction.__call__` (limits, floor, ceiling), + `FaultDisplacement.__call__` (`scale·gx·gy·gz`), `_saturate`, `_taylor`, `continue_profile`, + `block_displacement`; and `LoopStructural/utils/_fault_block.py` (`force_side`, + `block_side`, constants). For a block that names a fault, points on the other side of that + fault get the smooth continuation of the block's own profile (for a cubic: its own cubic at the + saturated signed coordinate; for the constant profiles: the constant). +4. **Feature evaluation** — `LoopStructural/utils/_fault_block.py::restore_through` (each fault + once, in series order, each told which faults are already done) and + `LoopStructural/modelling/features/_geological_feature.py` (`evaluate_value`, + `evaluate_gradient`). With a block that names every fault of the series (the oracle always does) + the gradient is the P1 gradient over a regular tetrahedron of size `gradient.scale` centred on + the point, its four vertices restored through the faults exactly like points + (`LoopStructural/utils/maths.py`: `regular_tetraherdron_for_points`, + `gradient_from_tetrahedron`). The "points too close to a fault" refinement loop only runs for + faults *not* named in the block, which does not happen here. +5. **The oracle contract** — `crates/kiridashi-py/python/kiridashi/loop.py::LoopOracle`: + `values(field, block, points, want_gradient)` uses only the faults of the field and passes + `block[fault_index]` for them (+1 hanging wall, −1 footwall, 0 absent); + `fault_distance` = `gx / |∇gx|` (NaN where the norm is 0); `tip` = `evaluate_tip_value`. + Map `FaultSide::{HangingWall, Footwall, Absent}` to +1/−1/0 as `kiridashi-py/src/convert.rs` + does. + +## Phases and tests + +Tolerances are absolute unless stated. NaN positions must match exactly (compare the NaN masks +first, then the values). + +| Phase | What | Reference files | Tolerance | +|---|---|---|---| +| 0 | loader; grid value and gradient of every frame coordinate | `fault__frame_g{x,y,z}`, `fault__frame_grad_g{x,y,z}` | 1e-12 | +| 1 | `apply` and reverse, no block, single fault | `fault__apply`, `fault__apply_reverse` | 1e-12 (all models, each fault) | +| 2 | series restore chain and series value, no block | `series__restored_after_`, `series__value` | 1e-12 | +| 3 | block values, **all** blocks listed in `series__blocks` | `series__block__value` | 1e-10 | +| 4 | block gradients (tetrahedron method), all blocks | `series__block__gradient` | 1e-8 | +| 5 | `fault_distance`, `tip` | `fault__distance`, `fault__tip` | 1e-12 (`inf` must match) | +| 6 | `FieldOracle` impl wired to `volmesh` types; `ModelInfo` built from the manifest | — | see below | + +Phase 6: build `ModelInfo` from the manifest (domain, faults with `has_tip`, one field per +series with its fault ids). Add a test that calls the trait methods and compares with the same +references, including `band` behaviour and `has_gradient == true`. If a `volmesh` test helper +(`crates/testkit/src/oracles.rs`) shows how oracles are tested, follow it. + +Extra tests (write them, small and fast): +* **Hand-made snapshot**: build a tiny snapshot in code with no Python: a planar fault + (frame node arrays linear in x, y, z), constant profile, field linear in z. The restored value + and gradient are known analytically; test the loader-free path. +* **Reentrancy**: evaluate from several threads with different blocks; results equal the serial ones. +* **Points on the fault**: every point in `points.bin` within 1e-3 of a fault is checked in all + phases (they are in the reference); add a test that asserts the count is nonzero so nobody + silently drops them. +* **Error paths**: wrong `schema`, wrong `version`, truncated `.bin`, node array of the wrong length. + +Benchmark (`cargo bench` or an ignored test that prints numbers): `values` with gradient for 1, +100 and 2,000 points on `two_faults`, one block. Python reference figures for orientation: +a LoopStructural single-point value+gradient call is 31–47 ms in the real model and about +4–12 ms on these small fixtures; a prototype of a snapshot `apply` in Rust measured 2–3 µs per +moved point. Report whatever you measure; do not tune the tolerances to make it faster. + +## Constraints + +* Native Rust only for evaluation: no Python at test time (tests read the files). Use + `serde`/`serde_json` only if the workspace already depends on them; otherwise a small parser + and ask before adding a dependency. +* Evaluation must not allocate per point in the inner loops (allocate per call). +* Do not modify the exporter, the reference files or anything under LoopStructural; if you think + the exporter is missing data, write the request in the README. +* Keep the schema version check strict. This is a proof of concept: prefer clear errors over + partial support. +* When finished, report: phases passed, tolerances actually achieved (max abs error per + reference file), benchmark numbers, and every place where you had to interpret the Python. + +## Regenerating the inputs + +``` +cd /tmp/claude-1000/-home-lgrose-dev-LoopStructural/102a1e6e-6892-4ad1-9f14-903184d259cb/scratchpad/ls003merge +PYTHONPATH=. uv run --frozen --no-dev --with pytest python scripts/fault_snapshot/export_snapshot.py scripts/fault_snapshot/out +uv run --frozen --no-dev python scripts/fault_snapshot/verify_export.py scripts/fault_snapshot/out/two_faults +``` diff --git a/scripts/fault_snapshot/export_snapshot.py b/scripts/fault_snapshot/export_snapshot.py new file mode 100644 index 000000000..47fae0584 --- /dev/null +++ b/scripts/fault_snapshot/export_snapshot.py @@ -0,0 +1,466 @@ +"""Export a built GeologicalModel as a language-neutral "fault snapshot" (proof of concept). + +The snapshot holds what a native oracle needs to answer the three kiridashi oracle +queries (``values``, ``fault_distance``, ``tip``) without Python: + +* the node arrays and grid geometry of the three frame coordinates of every fault + and of every exported series, +* the displacement profile of every fault as parameters, or as regular samples for a + profile type without an exact form (``linearise``), +* the order of the faults of every series, and the constants of the fault-block + extension (``LoopStructural/utils/_fault_block.py``). + +It also writes reference results computed by the Python implementation, to test the +native one against. + +Output layout (``out_dir``):: + + manifest.json schema, constants, faults, series (see SNAPSHOT_SPEC in PROMPT.md) + data/*.bin little-endian float64 arrays, C order, no header + reference/index.json what each reference file holds, with shapes + reference/*.bin reference results + +Only the plain case is supported; anything else raises ``UnsupportedModel`` and names why: +structured-grid supports, no regions (no abutting faults), faults whose frames are +displaced only by faults that come earlier in the series restore order, and profiles +that are ``FaultDisplacement`` objects. Ones / Zeros / CubicFunction / Composite are exact; +any other profile is sampled at a regular interval and stored as a linear interpolant. + +Run from the LoopStructural checkout (it uses ``tests/fixtures/fault_models.py``):: + + PYTHONPATH=. python scripts/fault_snapshot/export_snapshot.py OUT_DIR +""" + +from __future__ import annotations + +import itertools +import json +import sys +import time +from pathlib import Path + +import numpy as np + +SCHEMA = "loop-fault-snapshot" +VERSION = 1 + + +class UnsupportedModel(Exception): + """The model has a feature that the snapshot cannot represent.""" + + +# --------------------------------------------------------------------------- profiles + + +# Samples of a linearised profile (see ``linearise``), from the low end of its range +# to the high end. Enough that the interval stays well below the frame stencils. +PROFILE_SAMPLES = 2001 + + +def linearise(profile, span: tuple[float, float], samples: int = PROFILE_SAMPLES) -> dict: + """Sample any profile at a regular interval over ``span``: a piecewise linear profile. + + ``span`` is the range of the frame coordinate that the profile is evaluated on (the + range of the node values of its grid, which bounds every interpolated value). Beyond + the span the value is held at the end sample (``np.interp``). + """ + lo, hi = float(span[0]), float(span[1]) + if not (np.isfinite(lo) and np.isfinite(hi) and hi > lo): + raise UnsupportedModel(f"profile {type(profile).__name__}: bad sampling span {span}") + x = np.linspace(lo, hi, samples) + y = np.asarray(profile(x), dtype=float).reshape(-1) + if y.shape != x.shape or not np.all(np.isfinite(y)): + raise UnsupportedModel( + f"profile {type(profile).__name__}: sampling did not give finite values" + ) + # The continuation across the fault (``continue_profile`` -> ``_taylor``) takes + # finite differences of the profile on six points with a step finer than the + # samples: keep the exact values of the profile there, by side (-1, +1). + from LoopStructural.utils import _fault_block as fb + + def scalar(v): + return float(np.asarray(profile(np.array([v], dtype=float)), dtype=float)[0]) + + stencil = [ + [scalar(side * fb.BLOCK_SIDE_EPSILON + side * k * fb.BLOCK_EXTENSION_STEP) for k in range(6)] + for side in (-1, 1) + ] + return { + "type": "linear", + "start": lo, + "step": float((hi - lo) / (samples - 1)), + "values": [float(v) for v in y], + "stencil": stencil, # [side -1, side +1] x f(x0 + side k h), k = 0..5 + "source": type(profile).__name__, # informational: what was linearised + } + + +def profile_to_dict(profile, span: tuple[float, float] | None = None) -> dict: + """Serialise a fault profile function as parameters. + + A profile that is not one of the exact types is linearised over ``span`` (see + ``linearise``); without a span it is unsupported. + """ + from LoopStructural.modelling.features.fault._fault_function import ( + Composite, + CubicFunction, + Ones, + Zeros, + ) + + if isinstance(profile, Ones): + return {"type": "ones"} + if isinstance(profile, Zeros): + return {"type": "zeros"} + if isinstance(profile, Composite): + # each side is only evaluated on its own side of the fault + pos = None if span is None else (0.0, max(float(span[1]), 0.0)) + neg = None if span is None else (min(float(span[0]), 0.0), 0.0) + return { + "type": "composite", + "positive": profile_to_dict(profile.positive, pos), + "negative": profile_to_dict(profile.negative, neg), + } + if isinstance(profile, CubicFunction): + profile.solve() + return { + "type": "cubic", + "w": [float(x) for x in profile.w], # w0 v^3 + w1 v^2 + w2 v + w3 + "lim": [float(profile.lim[0]), float(profile.lim[1])], + # beyond lim the value is the value at the limit + "limit_value": [ + float(profile._limit_value(profile.lim[0])), + float(profile._limit_value(profile.lim[1])), + ], + "min_v": float(profile.min_v), # floor, applied last + "max_v": float(profile.max_v), # ceiling, applied last + } + if span is not None and callable(profile): + return linearise(profile, span) + raise UnsupportedModel( + f"profile {type(profile).__name__} is not Ones, Zeros, CubicFunction or Composite" + ) + + +def displacement_to_dict(fault) -> dict: + from LoopStructural.modelling.features.fault._fault_function import FaultDisplacement + + ff = fault.faultfunction + if not isinstance(ff, FaultDisplacement): + raise UnsupportedModel(f"fault {fault.name}: faultfunction is not a FaultDisplacement") + + def span(c: int) -> tuple[float, float]: + # the frame coordinate is interpolated from its nodes: their range bounds it + nodes = np.asarray(fault[c].interpolator.c, dtype=float) + return float(np.nanmin(nodes)), float(np.nanmax(nodes)) + + return { + "scale": float(ff.scale), + "gx": profile_to_dict(ff.gx, span(0)), + "gy": profile_to_dict(ff.gy, span(1)), + "gz": profile_to_dict(ff.gz, span(2)), + } + + +# ------------------------------------------------------------------------------ grids + + +class Writer: + """Writes float64 arrays as raw little-endian files and remembers their shapes.""" + + def __init__(self, directory: Path): + self.directory = directory + directory.mkdir(parents=True, exist_ok=True) + self.index: dict[str, dict] = {} + + def write(self, name: str, array, **info) -> str: + a = np.ascontiguousarray(array, dtype=" None: + """Only erosional-unconformity regions are allowed. + + The snapshot evaluates a field without its regions: the field is continued above + an unconformity. The mesher limits an older series (and the faults that the + unconformity truncates) to below the unconformity itself, from the history. + """ + from LoopStructural.modelling.features import FeatureType + + for r in feature.regions: + if getattr(r, "type", None) != FeatureType.UNCONFORMITY: + raise UnsupportedModel( + f"{feature.name}: has a region {getattr(r, 'name', r)!r} that is not an " + "erosional unconformity (abutting faults are not supported)" + ) + + +def grid_to_dict(feature, writer: Writer, name: str) -> dict: + """Geometry and node values of the interpolator of one scalar field feature.""" + from loop_common.supports import StructuredGrid + + check_regions(feature) + interpolator = feature.interpolator + # the builder refines the grid lazily: finish it before reading anything + feature.builder.up_to_date() + interpolator.update() + support = interpolator.support + if type(support) is not StructuredGrid: + raise UnsupportedModel(f"{feature.name}: support is {type(support).__name__}") + if not np.allclose(support.rotation_xy, np.eye(3)): + raise UnsupportedModel(f"{feature.name}: the grid is rotated") + box = interpolator.bounding_box + b = box.project(np.zeros((1, 3)))[0] + a = (box.project(np.eye(3)) - b).T # local = a @ world + b + bvec = box.reproject_vectors(np.eye(3)).T # world_vector = bvec @ local_vector + nodes = np.asarray(interpolator.c, dtype=float) + ncells = [int(k) for k in support.nsteps_cells] + if nodes.shape[0] != (ncells[0] + 1) * (ncells[1] + 1) * (ncells[2] + 1): + raise UnsupportedModel(f"{feature.name}: node array does not match the grid") + return { + "origin": [float(x) for x in support.origin], + "step": [float(x) for x in support.step_vector], + "ncells": ncells, + "local_from_world": {"A": a.ravel().tolist(), "b": b.tolist()}, + "world_vector_from_local": bvec.ravel().tolist(), + "nodes": "data/" + writer.write(name, nodes), + } + + +# ---------------------------------------------------------------------------- export + + +def export_snapshot(model, out_dir, series: list[str]) -> dict: + """Write ``manifest.json`` and ``data/`` for the given series. Returns the manifest.""" + from LoopStructural.utils import _fault_block as fb + + out = Path(out_dir) + out.mkdir(parents=True, exist_ok=True) + data = Writer(out / "data") + + # make sure everything is built: evaluating once finishes the lazy builders + probe = np.full((1, 3), 0.5) + for s in series: + model.evaluate_feature_value(s, probe) + + fault_names: list[str] = [] + series_entries = [] + for s in series: + feature = model[s] + check_regions(feature) + names = [f.name for f in feature.faults] # youngest first: the restore order + for n in names: + if n not in fault_names: + fault_names.append(n) + series_entries.append( + { + "name": s, + "faults": names, + "grid": grid_to_dict(feature, data, f"series_{s}"), + } + ) + + faults = [] + for n in fault_names: + fault = model[n] + frame = [] + for c in range(3): + frame.append(grid_to_dict(fault[c], data, f"fault_{n}_g{'xyz'[c]}")) + frame_faults = sorted({f.name for c in range(3) for f in fault[c].faults}) + tip = fault.evaluate_tip_value(np.full((1, 3), 0.5)) + faults.append( + { + "name": n, + "displacement": float(fault.displacement), # already scaled to model units + "steps": int(fault.steps), + "profile": displacement_to_dict(fault), + "frame": frame, # gx, gy, gz + "frame_faults": frame_faults, # younger faults that displace this fault + "has_tip": bool(not np.isinf(tip[0])), + "tip_ends": { + str(k): [int(e) for e in v] for k, v in fault._tip_ends().items() + }, + } + ) + + # A fault of a series is evaluated at points that younger faults of the series have + # already restored. Its frame faults must all be among those (restored once). + for entry in series_entries: + done: list[str] = [] + for n in entry["faults"]: + frame_faults = next(f for f in faults if f["name"] == n)["frame_faults"] + if not set(frame_faults) <= set(done): + raise UnsupportedModel( + f"series {entry['name']}: fault {n} is displaced by {frame_faults}, " + f"which do not all come before it in {entry['faults']}" + ) + done.append(n) + + manifest = { + "schema": SCHEMA, + "version": VERSION, + "node_order": "x fastest: index = i + (ncells[0]+1) * (j + (ncells[1]+1) * k)", + "float_format": "little-endian float64, C order, no header", + "constants": { + "BLOCK_SIDE_EPSILON": fb.BLOCK_SIDE_EPSILON, + "BLOCK_EXTENSION": fb.BLOCK_EXTENSION, + "BLOCK_EXTENSION_EXACT": fb.BLOCK_EXTENSION_EXACT, + "BLOCK_EXTENSION_LIMIT": fb.BLOCK_EXTENSION_LIMIT, + "BLOCK_EXTENSION_STEP": fb.BLOCK_EXTENSION_STEP, + }, + "gradient": { + # evaluate_feature_block_gradient: P1 gradient of the field over a regular + # tetrahedron centred on the point (LoopStructural.utils.maths), whose four + # vertices are restored through the faults of the series like any point. + "method": "regular_tetrahedron", + "scale": float(np.min(model.bounding_box.step_vector) / 10), + }, + "domain": { + "min": [float(x) for x in model.bounding_box.origin], + "max": [float(x) for x in model.bounding_box.maximum], + }, + "faults": faults, + "series": series_entries, + } + (out / "manifest.json").write_text(json.dumps(manifest, indent=1)) + return manifest + + +# ------------------------------------------------------------------------- references + + +def test_points(model, fault_names, n=1500, n_surface=200, seed=11) -> np.ndarray: + """Random points around the model box, and points on or very near each fault.""" + rng = np.random.default_rng(seed) + lo = np.asarray(model.bounding_box.origin) + hi = np.asarray(model.bounding_box.maximum) + span = hi - lo + pts = [rng.uniform(lo - 0.15 * span, hi + 0.15 * span, (n, 3))] + for name in fault_names: + fault = model[name] + p = rng.uniform(lo + 0.1 * span, hi - 0.1 * span, (n_surface, 3)) + for _ in range(3): # Newton steps onto gx = 0 + gx = fault.evaluate_frame_value(p, 0) + g = fault.evaluate_frame_gradient(p, 0) + p = p - (gx / np.einsum("ij,ij->i", g, g))[:, None] * g + pts.append(p) # exactly on the fault surface + pts.append(p + rng.normal(0.0, 1e-4, p.shape)) # a hair either side + return np.concatenate(pts) + + +def write_references(model, out_dir, series: list[str]) -> None: + """Reference results of the Python implementation (the oracle of kiridashi/loop.py).""" + from LoopStructural.utils._fault_block import restore_through + + out = Path(out_dir) + ref = Writer(out / "reference") + fault_names = [n for e in json.loads((out / "manifest.json").read_text())["faults"] for n in [e["name"]]] + pts = test_points(model, fault_names) + ref.write("points", pts, description="test points, world coordinates (N,3)") + + for n in fault_names: + fault = model[n] + for c in range(3): + ref.write( + f"fault_{n}_frame_g{'xyz'[c]}", + fault.evaluate_frame_value(pts, c), + description=f"evaluate_frame_value(points, {c}), NaN outside the grid", + ) + ref.write( + f"fault_{n}_frame_grad_g{'xyz'[c]}", + fault.evaluate_frame_gradient(pts, c), + description=f"evaluate_frame_gradient(points, {c}), world frame (N,3)", + ) + grad = fault.evaluate_frame_gradient(pts, 0) + norm = np.linalg.norm(grad, axis=1) + with np.errstate(divide="ignore", invalid="ignore"): + dist = np.where(norm > 0.0, fault.evaluate_frame_value(pts, 0) / norm, np.nan) + ref.write(f"fault_{n}_distance", dist, description="gx / |grad gx| (LoopOracle.fault_distance)") + ref.write(f"fault_{n}_tip", fault.evaluate_tip_value(pts), description="evaluate_tip_value; inf = no tip") + ref.write( + f"fault_{n}_apply", + fault.apply_to_points(pts), + description="apply_to_points(points) with no block, no restored_through", + ) + ref.write( + f"fault_{n}_apply_reverse", + fault.apply_to_points(pts, reverse=True), + description="apply_to_points(points, reverse=True)", + ) + + for s in series: + feature = model[s] + faults = list(feature.faults) + names = [f.name for f in faults] + ref.write(f"series_{s}_value", model.evaluate_feature_value(s, pts), description="evaluate_feature_value, no block") + # the points after each fault of the series restore order (restore_through semantics) + for j in range(len(faults)): + ref.write( + f"series_{s}_restored_after_{j}", + restore_through(pts, faults[: j + 1]), + description=f"points restored through faults {names[: j + 1]} (youngest first)", + ) + blocks = [] + for sides in itertools.product((-1, 0, 1), repeat=len(names)): + block = dict(zip(names, sides)) + key = "_".join(f"{n}{'m' if v < 0 else 'p' if v > 0 else 'z'}" for n, v in block.items()) + ref.write(f"series_{s}_block_{key}_value", model.evaluate_feature_block_value(s, pts, block), + description=f"evaluate_feature_block_value, block {block}") + ref.write(f"series_{s}_block_{key}_gradient", model.evaluate_feature_block_gradient(s, pts, block), + description=f"evaluate_feature_block_gradient, block {block} (N,3)") + blocks.append({"key": key, "block": block}) + ref.index[f"series_{s}_blocks"] = {"blocks": blocks} + (out / "reference" / "index.json").write_text(json.dumps(ref.index, indent=1)) + + +# ---------------------------------------------------------------------------- demos + + +def build_demos(): + """Small models from the test fixtures: (name, model, series).""" + from LoopStructural import GeologicalModel + from tests.fixtures.fault_models import YOUNG, add_fault, add_layers + from tests.unit.modelling.test_fault_block_extension import sloped_cubic_profile + + demos = [] + + m = GeologicalModel(np.zeros(3), np.ones(3)) + f = add_fault(m, "f1", (0.5, 0.5, 0.5), 60, 90, 0.15, steps=10) + add_layers(m, [f]) + demos.append(("single_constant", m, ["strat"])) + + m = GeologicalModel(np.zeros(3), np.ones(3)) + f = add_fault(m, "f1", **YOUNG, steps=10, profile=sloped_cubic_profile()) + add_layers(m, [f]) + demos.append(("single_cubic", m, ["strat"])) + + m = GeologicalModel(np.zeros(3), np.ones(3)) + main = add_fault(m, "main", (0.4, 0.5, 0.5), 60, 90, 0.1, steps=10) + splay = add_fault(m, "splay", (0.75, 0.5, 0.6), 60, 270, 0.08, steps=10) + add_layers(m, [splay, main]) # no abutting relation: two independent faults + demos.append(("two_faults", m, ["strat"])) + return demos + + +def main(argv: list[str]) -> int: + import logging + + logging.disable(logging.WARNING) # LoopStructural warns for every refined tetrahedron + if len(argv) != 2: + print(__doc__) + return 2 + root = Path(argv[1]) + for name, model, series in build_demos(): + out = root / name + t0 = time.perf_counter() + export_snapshot(model, out, series) + write_references(model, out, series) + print(f"exported {name} -> {out} ({time.perf_counter() - t0:.0f} s)", flush=True) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main(sys.argv)) diff --git a/scripts/fault_snapshot/out/single_constant/data/fault_f1_gx.bin b/scripts/fault_snapshot/out/single_constant/data/fault_f1_gx.bin new file mode 100644 index 000000000..2332f42ac Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/data/fault_f1_gx.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/data/fault_f1_gy.bin b/scripts/fault_snapshot/out/single_constant/data/fault_f1_gy.bin new file mode 100644 index 000000000..5fe1c211a Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/data/fault_f1_gy.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/data/fault_f1_gz.bin b/scripts/fault_snapshot/out/single_constant/data/fault_f1_gz.bin new file mode 100644 index 000000000..7b20b3f98 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/data/fault_f1_gz.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/data/series_strat.bin b/scripts/fault_snapshot/out/single_constant/data/series_strat.bin new file mode 100644 index 000000000..993a04d73 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/data/series_strat.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/manifest.json b/scripts/fault_snapshot/out/single_constant/manifest.json new file mode 100644 index 000000000..5a116da5f --- /dev/null +++ b/scripts/fault_snapshot/out/single_constant/manifest.json @@ -0,0 +1,258 @@ +{ + "schema": "loop-fault-snapshot", + "version": 1, + "node_order": "x fastest: index = i + (ncells[0]+1) * (j + (ncells[1]+1) * k)", + "float_format": "little-endian float64, C order, no header", + "constants": { + "BLOCK_SIDE_EPSILON": 1e-09, + "BLOCK_EXTENSION": "smooth", + "BLOCK_EXTENSION_EXACT": 0.25, + "BLOCK_EXTENSION_LIMIT": 0.5, + "BLOCK_EXTENSION_STEP": 0.001 + }, + "gradient": { + "method": "regular_tetrahedron", + "scale": 0.004545454545454545 + }, + "domain": { + "min": [ + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0 + ] + }, + "faults": [ + { + "name": "f1", + "displacement": 0.15, + "steps": 10, + "profile": { + "scale": 1.0, + "gx": { + "type": "composite", + "positive": { + "type": "ones" + }, + "negative": { + "type": "zeros" + } + }, + "gy": { + "type": "ones" + }, + "gz": { + "type": "ones" + } + }, + "frame": [ + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_f1_gx.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_f1_gy.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_f1_gz.bin" + } + ], + "frame_faults": [], + "has_tip": false, + "tip_ends": { + "1": [], + "2": [] + } + } + ], + "series": [ + { + "name": "strat", + "faults": [ + "f1" + ], + "grid": { + "origin": [ + -0.3, + -0.30000000003082594, + -0.3 + ], + "step": [ + 0.08, + 0.08, + 0.08 + ], + "ncells": [ + 20, + 20, + 22 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/series_strat.bin" + } + } + ] +} \ No newline at end of file diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_apply.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_apply.bin new file mode 100644 index 000000000..37f375432 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_apply.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_apply_reverse.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_apply_reverse.bin new file mode 100644 index 000000000..e5de07426 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_apply_reverse.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_distance.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_distance.bin new file mode 100644 index 000000000..26ac39c1b Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_distance.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gx.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gx.bin new file mode 100644 index 000000000..a89385efa Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gx.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gy.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gy.bin new file mode 100644 index 000000000..0e2538cba Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gy.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gz.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gz.bin new file mode 100644 index 000000000..75094d767 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_grad_gz.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gx.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gx.bin new file mode 100644 index 000000000..47cea65a6 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gx.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gy.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gy.bin new file mode 100644 index 000000000..e6df5a858 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gy.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gz.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gz.bin new file mode 100644 index 000000000..90547b94b Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_frame_gz.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/fault_f1_tip.bin b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_tip.bin new file mode 100644 index 000000000..ffc4230f8 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/fault_f1_tip.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/index.json b/scripts/fault_snapshot/out/single_constant/reference/index.json new file mode 100644 index 000000000..082c28e0a --- /dev/null +++ b/scripts/fault_snapshot/out/single_constant/reference/index.json @@ -0,0 +1,167 @@ +{ + "points": { + "file": "points.bin", + "shape": [ + 1900, + 3 + ], + "description": "test points, world coordinates (N,3)" + }, + "fault_f1_frame_gx": { + "file": "fault_f1_frame_gx.bin", + "shape": [ + 1900 + ], + "description": "evaluate_frame_value(points, 0), NaN outside the grid" + }, + "fault_f1_frame_grad_gx": { + "file": "fault_f1_frame_grad_gx.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_frame_gradient(points, 0), world frame (N,3)" + }, + "fault_f1_frame_gy": { + "file": "fault_f1_frame_gy.bin", + "shape": [ + 1900 + ], + "description": "evaluate_frame_value(points, 1), NaN outside the grid" + }, + "fault_f1_frame_grad_gy": { + "file": "fault_f1_frame_grad_gy.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_frame_gradient(points, 1), world frame (N,3)" + }, + "fault_f1_frame_gz": { + "file": "fault_f1_frame_gz.bin", + "shape": [ + 1900 + ], + "description": "evaluate_frame_value(points, 2), NaN outside the grid" + }, + "fault_f1_frame_grad_gz": { + "file": "fault_f1_frame_grad_gz.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_frame_gradient(points, 2), world frame (N,3)" + }, + "fault_f1_distance": { + "file": "fault_f1_distance.bin", + "shape": [ + 1900 + ], + "description": "gx / |grad gx| (LoopOracle.fault_distance)" + }, + "fault_f1_tip": { + "file": "fault_f1_tip.bin", + "shape": [ + 1900 + ], + "description": "evaluate_tip_value; inf = no tip" + }, + "fault_f1_apply": { + "file": "fault_f1_apply.bin", + "shape": [ + 1900, + 3 + ], + "description": "apply_to_points(points) with no block, no restored_through" + }, + "fault_f1_apply_reverse": { + "file": "fault_f1_apply_reverse.bin", + "shape": [ + 1900, + 3 + ], + "description": "apply_to_points(points, reverse=True)" + }, + "series_strat_value": { + "file": "series_strat_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_value, no block" + }, + "series_strat_restored_after_0": { + "file": "series_strat_restored_after_0.bin", + "shape": [ + 1900, + 3 + ], + "description": "points restored through faults ['f1'] (youngest first)" + }, + "series_strat_block_f1m_value": { + "file": "series_strat_block_f1m_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_block_value, block {'f1': -1}" + }, + "series_strat_block_f1m_gradient": { + "file": "series_strat_block_f1m_gradient.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'f1': -1} (N,3)" + }, + "series_strat_block_f1z_value": { + "file": "series_strat_block_f1z_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_block_value, block {'f1': 0}" + }, + "series_strat_block_f1z_gradient": { + "file": "series_strat_block_f1z_gradient.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'f1': 0} (N,3)" + }, + "series_strat_block_f1p_value": { + "file": "series_strat_block_f1p_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_block_value, block {'f1': 1}" + }, + "series_strat_block_f1p_gradient": { + "file": "series_strat_block_f1p_gradient.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'f1': 1} (N,3)" + }, + "series_strat_blocks": { + "blocks": [ + { + "key": "f1m", + "block": { + "f1": -1 + } + }, + { + "key": "f1z", + "block": { + "f1": 0 + } + }, + { + "key": "f1p", + "block": { + "f1": 1 + } + } + ] + } +} \ No newline at end of file diff --git a/scripts/fault_snapshot/out/single_constant/reference/points.bin b/scripts/fault_snapshot/out/single_constant/reference/points.bin new file mode 100644 index 000000000..3f19d52db Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/points.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1m_gradient.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1m_gradient.bin new file mode 100644 index 000000000..7e72d887c Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1m_gradient.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1m_value.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1m_value.bin new file mode 100644 index 000000000..0def97a8e Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1m_value.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1p_gradient.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1p_gradient.bin new file mode 100644 index 000000000..410e6ae33 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1p_gradient.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1p_value.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1p_value.bin new file mode 100644 index 000000000..1cdc40f5a Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1p_value.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1z_gradient.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1z_gradient.bin new file mode 100644 index 000000000..7e72d887c Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1z_gradient.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1z_value.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1z_value.bin new file mode 100644 index 000000000..0def97a8e Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_block_f1z_value.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_restored_after_0.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_restored_after_0.bin new file mode 100644 index 000000000..37f375432 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_restored_after_0.bin differ diff --git a/scripts/fault_snapshot/out/single_constant/reference/series_strat_value.bin b/scripts/fault_snapshot/out/single_constant/reference/series_strat_value.bin new file mode 100644 index 000000000..d8e1de6f2 Binary files /dev/null and b/scripts/fault_snapshot/out/single_constant/reference/series_strat_value.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gx.bin b/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gx.bin new file mode 100644 index 000000000..d25208b5f Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gx.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gy.bin b/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gy.bin new file mode 100644 index 000000000..685830963 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gy.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gz.bin b/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gz.bin new file mode 100644 index 000000000..dfb289031 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/data/fault_f1_gz.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/data/series_strat.bin b/scripts/fault_snapshot/out/single_cubic/data/series_strat.bin new file mode 100644 index 000000000..4557a8e58 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/data/series_strat.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/manifest.json b/scripts/fault_snapshot/out/single_cubic/manifest.json new file mode 100644 index 000000000..a647bf8ac --- /dev/null +++ b/scripts/fault_snapshot/out/single_cubic/manifest.json @@ -0,0 +1,290 @@ +{ + "schema": "loop-fault-snapshot", + "version": 1, + "node_order": "x fastest: index = i + (ncells[0]+1) * (j + (ncells[1]+1) * k)", + "float_format": "little-endian float64, C order, no header", + "constants": { + "BLOCK_SIDE_EPSILON": 1e-09, + "BLOCK_EXTENSION": "smooth", + "BLOCK_EXTENSION_EXACT": 0.25, + "BLOCK_EXTENSION_LIMIT": 0.5, + "BLOCK_EXTENSION_STEP": 0.001 + }, + "gradient": { + "method": "regular_tetrahedron", + "scale": 0.004545454545454545 + }, + "domain": { + "min": [ + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0 + ] + }, + "faults": [ + { + "name": "f1", + "displacement": 0.12, + "steps": 10, + "profile": { + "scale": 1.0, + "gx": { + "type": "composite", + "positive": { + "type": "cubic", + "w": [ + 0.4999999999999799, + 3.008704396734174e-14, + -1.5000000000000018, + 0.9999999999999956 + ], + "lim": [ + 0.0, + 1.0 + ], + "limit_value": [ + 1.0, + 0.0 + ], + "min_v": -99999.0, + "max_v": 999999.0 + }, + "negative": { + "type": "cubic", + "w": [ + 0.3999999999999827, + 0.1999999999999747, + -0.8000000000000008, + -0.5999999999999959 + ], + "lim": [ + -1.0, + 0.0 + ], + "limit_value": [ + 0.0, + -0.6 + ], + "min_v": -99999.0, + "max_v": 999999.0 + } + }, + "gy": { + "type": "ones" + }, + "gz": { + "type": "ones" + } + }, + "frame": [ + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_f1_gx.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_f1_gy.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_f1_gz.bin" + } + ], + "frame_faults": [], + "has_tip": false, + "tip_ends": { + "1": [], + "2": [] + } + } + ], + "series": [ + { + "name": "strat", + "faults": [ + "f1" + ], + "grid": { + "origin": [ + -0.3, + -0.30000000003485117, + -0.3639654306482957 + ], + "step": [ + 0.08, + 0.08, + 0.08 + ], + "ncells": [ + 20, + 20, + 23 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/series_strat.bin" + } + } + ] +} \ No newline at end of file diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_apply.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_apply.bin new file mode 100644 index 000000000..f294d8143 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_apply.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_apply_reverse.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_apply_reverse.bin new file mode 100644 index 000000000..5ad90e81c Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_apply_reverse.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_distance.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_distance.bin new file mode 100644 index 000000000..8edd0c1df Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_distance.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gx.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gx.bin new file mode 100644 index 000000000..2a23f576e Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gx.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gy.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gy.bin new file mode 100644 index 000000000..e3ec3f326 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gy.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gz.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gz.bin new file mode 100644 index 000000000..ced853556 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_grad_gz.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gx.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gx.bin new file mode 100644 index 000000000..c2624c053 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gx.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gy.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gy.bin new file mode 100644 index 000000000..cca645b04 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gy.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gz.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gz.bin new file mode 100644 index 000000000..974ceebe7 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_frame_gz.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_tip.bin b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_tip.bin new file mode 100644 index 000000000..ffc4230f8 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/fault_f1_tip.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/index.json b/scripts/fault_snapshot/out/single_cubic/reference/index.json new file mode 100644 index 000000000..082c28e0a --- /dev/null +++ b/scripts/fault_snapshot/out/single_cubic/reference/index.json @@ -0,0 +1,167 @@ +{ + "points": { + "file": "points.bin", + "shape": [ + 1900, + 3 + ], + "description": "test points, world coordinates (N,3)" + }, + "fault_f1_frame_gx": { + "file": "fault_f1_frame_gx.bin", + "shape": [ + 1900 + ], + "description": "evaluate_frame_value(points, 0), NaN outside the grid" + }, + "fault_f1_frame_grad_gx": { + "file": "fault_f1_frame_grad_gx.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_frame_gradient(points, 0), world frame (N,3)" + }, + "fault_f1_frame_gy": { + "file": "fault_f1_frame_gy.bin", + "shape": [ + 1900 + ], + "description": "evaluate_frame_value(points, 1), NaN outside the grid" + }, + "fault_f1_frame_grad_gy": { + "file": "fault_f1_frame_grad_gy.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_frame_gradient(points, 1), world frame (N,3)" + }, + "fault_f1_frame_gz": { + "file": "fault_f1_frame_gz.bin", + "shape": [ + 1900 + ], + "description": "evaluate_frame_value(points, 2), NaN outside the grid" + }, + "fault_f1_frame_grad_gz": { + "file": "fault_f1_frame_grad_gz.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_frame_gradient(points, 2), world frame (N,3)" + }, + "fault_f1_distance": { + "file": "fault_f1_distance.bin", + "shape": [ + 1900 + ], + "description": "gx / |grad gx| (LoopOracle.fault_distance)" + }, + "fault_f1_tip": { + "file": "fault_f1_tip.bin", + "shape": [ + 1900 + ], + "description": "evaluate_tip_value; inf = no tip" + }, + "fault_f1_apply": { + "file": "fault_f1_apply.bin", + "shape": [ + 1900, + 3 + ], + "description": "apply_to_points(points) with no block, no restored_through" + }, + "fault_f1_apply_reverse": { + "file": "fault_f1_apply_reverse.bin", + "shape": [ + 1900, + 3 + ], + "description": "apply_to_points(points, reverse=True)" + }, + "series_strat_value": { + "file": "series_strat_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_value, no block" + }, + "series_strat_restored_after_0": { + "file": "series_strat_restored_after_0.bin", + "shape": [ + 1900, + 3 + ], + "description": "points restored through faults ['f1'] (youngest first)" + }, + "series_strat_block_f1m_value": { + "file": "series_strat_block_f1m_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_block_value, block {'f1': -1}" + }, + "series_strat_block_f1m_gradient": { + "file": "series_strat_block_f1m_gradient.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'f1': -1} (N,3)" + }, + "series_strat_block_f1z_value": { + "file": "series_strat_block_f1z_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_block_value, block {'f1': 0}" + }, + "series_strat_block_f1z_gradient": { + "file": "series_strat_block_f1z_gradient.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'f1': 0} (N,3)" + }, + "series_strat_block_f1p_value": { + "file": "series_strat_block_f1p_value.bin", + "shape": [ + 1900 + ], + "description": "evaluate_feature_block_value, block {'f1': 1}" + }, + "series_strat_block_f1p_gradient": { + "file": "series_strat_block_f1p_gradient.bin", + "shape": [ + 1900, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'f1': 1} (N,3)" + }, + "series_strat_blocks": { + "blocks": [ + { + "key": "f1m", + "block": { + "f1": -1 + } + }, + { + "key": "f1z", + "block": { + "f1": 0 + } + }, + { + "key": "f1p", + "block": { + "f1": 1 + } + } + ] + } +} \ No newline at end of file diff --git a/scripts/fault_snapshot/out/single_cubic/reference/points.bin b/scripts/fault_snapshot/out/single_cubic/reference/points.bin new file mode 100644 index 000000000..dbf722e74 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/points.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1m_gradient.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1m_gradient.bin new file mode 100644 index 000000000..fafb0d7c4 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1m_gradient.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1m_value.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1m_value.bin new file mode 100644 index 000000000..e078b1eb0 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1m_value.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1p_gradient.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1p_gradient.bin new file mode 100644 index 000000000..8f58c53ad Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1p_gradient.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1p_value.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1p_value.bin new file mode 100644 index 000000000..c634ff8f0 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1p_value.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1z_gradient.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1z_gradient.bin new file mode 100644 index 000000000..61a78b5c1 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1z_gradient.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1z_value.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1z_value.bin new file mode 100644 index 000000000..5d51f5a8f Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_block_f1z_value.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_restored_after_0.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_restored_after_0.bin new file mode 100644 index 000000000..f294d8143 Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_restored_after_0.bin differ diff --git a/scripts/fault_snapshot/out/single_cubic/reference/series_strat_value.bin b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_value.bin new file mode 100644 index 000000000..3260a145a Binary files /dev/null and b/scripts/fault_snapshot/out/single_cubic/reference/series_strat_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/data/fault_main_gx.bin b/scripts/fault_snapshot/out/two_faults/data/fault_main_gx.bin new file mode 100644 index 000000000..e5deda6c9 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/data/fault_main_gx.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/data/fault_main_gy.bin b/scripts/fault_snapshot/out/two_faults/data/fault_main_gy.bin new file mode 100644 index 000000000..ec4a542d7 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/data/fault_main_gy.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/data/fault_main_gz.bin b/scripts/fault_snapshot/out/two_faults/data/fault_main_gz.bin new file mode 100644 index 000000000..4609e666b Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/data/fault_main_gz.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/data/fault_splay_gx.bin b/scripts/fault_snapshot/out/two_faults/data/fault_splay_gx.bin new file mode 100644 index 000000000..f974758d8 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/data/fault_splay_gx.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/data/fault_splay_gy.bin b/scripts/fault_snapshot/out/two_faults/data/fault_splay_gy.bin new file mode 100644 index 000000000..3b0b3c28e Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/data/fault_splay_gy.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/data/fault_splay_gz.bin b/scripts/fault_snapshot/out/two_faults/data/fault_splay_gz.bin new file mode 100644 index 000000000..73c09cd37 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/data/fault_splay_gz.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/data/series_strat.bin b/scripts/fault_snapshot/out/two_faults/data/series_strat.bin new file mode 100644 index 000000000..d1c64cb51 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/data/series_strat.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/manifest.json b/scripts/fault_snapshot/out/two_faults/manifest.json new file mode 100644 index 000000000..3990595de --- /dev/null +++ b/scripts/fault_snapshot/out/two_faults/manifest.json @@ -0,0 +1,431 @@ +{ + "schema": "loop-fault-snapshot", + "version": 1, + "node_order": "x fastest: index = i + (ncells[0]+1) * (j + (ncells[1]+1) * k)", + "float_format": "little-endian float64, C order, no header", + "constants": { + "BLOCK_SIDE_EPSILON": 1e-09, + "BLOCK_EXTENSION": "smooth", + "BLOCK_EXTENSION_EXACT": 0.25, + "BLOCK_EXTENSION_LIMIT": 0.5, + "BLOCK_EXTENSION_STEP": 0.001 + }, + "gradient": { + "method": "regular_tetrahedron", + "scale": 0.004545454545454545 + }, + "domain": { + "min": [ + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0 + ] + }, + "faults": [ + { + "name": "main", + "displacement": 0.1, + "steps": 10, + "profile": { + "scale": 1.0, + "gx": { + "type": "composite", + "positive": { + "type": "ones" + }, + "negative": { + "type": "zeros" + } + }, + "gy": { + "type": "ones" + }, + "gz": { + "type": "ones" + } + }, + "frame": [ + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_main_gx.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_main_gy.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_main_gz.bin" + } + ], + "frame_faults": [], + "has_tip": false, + "tip_ends": { + "1": [], + "2": [] + } + }, + { + "name": "splay", + "displacement": 0.08, + "steps": 10, + "profile": { + "scale": 1.0, + "gx": { + "type": "composite", + "positive": { + "type": "ones" + }, + "negative": { + "type": "zeros" + } + }, + "gy": { + "type": "ones" + }, + "gz": { + "type": "ones" + } + }, + "frame": [ + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_splay_gx.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_splay_gy.bin" + }, + { + "origin": [ + -0.8999999999999999, + -0.8999999999999999, + -0.8999999999999999 + ], + "step": [ + 0.18666666666666665, + 0.18666666666666665, + 0.18666666666666665 + ], + "ncells": [ + 15, + 15, + 15 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/fault_splay_gz.bin" + } + ], + "frame_faults": [], + "has_tip": false, + "tip_ends": { + "1": [], + "2": [] + } + } + ], + "series": [ + { + "name": "strat", + "faults": [ + "main", + "splay" + ], + "grid": { + "origin": [ + -0.3, + -0.3000000000321599, + -0.3 + ], + "step": [ + 0.08, + 0.08, + 0.08 + ], + "ncells": [ + 20, + 20, + 22 + ], + "local_from_world": { + "A": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "b": [ + 0.0, + 0.0, + 0.0 + ] + }, + "world_vector_from_local": [ + 1.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "nodes": "data/series_strat.bin" + } + } + ] +} \ No newline at end of file diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_apply.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_apply.bin new file mode 100644 index 000000000..3d2f994ad Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_apply.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_apply_reverse.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_apply_reverse.bin new file mode 100644 index 000000000..57c51826f Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_apply_reverse.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_distance.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_distance.bin new file mode 100644 index 000000000..f3d8c66be Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_distance.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gx.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gx.bin new file mode 100644 index 000000000..afb824344 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gx.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gy.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gy.bin new file mode 100644 index 000000000..e52707611 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gy.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gz.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gz.bin new file mode 100644 index 000000000..2a4c571dd Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_grad_gz.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gx.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gx.bin new file mode 100644 index 000000000..7b779acf9 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gx.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gy.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gy.bin new file mode 100644 index 000000000..13938efaf Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gy.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gz.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gz.bin new file mode 100644 index 000000000..df9a945a1 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_frame_gz.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_main_tip.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_main_tip.bin new file mode 100644 index 000000000..818fcb9fa Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_main_tip.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_apply.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_apply.bin new file mode 100644 index 000000000..6a42d813b Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_apply.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_apply_reverse.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_apply_reverse.bin new file mode 100644 index 000000000..ce9339487 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_apply_reverse.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_distance.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_distance.bin new file mode 100644 index 000000000..dfad7f1a3 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_distance.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gx.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gx.bin new file mode 100644 index 000000000..bf568bbe1 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gx.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gy.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gy.bin new file mode 100644 index 000000000..6035a9f9d Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gy.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gz.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gz.bin new file mode 100644 index 000000000..6fadf92fe Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_grad_gz.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gx.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gx.bin new file mode 100644 index 000000000..a418f8a6f Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gx.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gy.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gy.bin new file mode 100644 index 000000000..0f940666e Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gy.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gz.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gz.bin new file mode 100644 index 000000000..6757b650b Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_frame_gz.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/fault_splay_tip.bin b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_tip.bin new file mode 100644 index 000000000..818fcb9fa Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/fault_splay_tip.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/index.json b/scripts/fault_snapshot/out/two_faults/reference/index.json new file mode 100644 index 000000000..f03cd0ed7 --- /dev/null +++ b/scripts/fault_snapshot/out/two_faults/reference/index.json @@ -0,0 +1,385 @@ +{ + "points": { + "file": "points.bin", + "shape": [ + 2300, + 3 + ], + "description": "test points, world coordinates (N,3)" + }, + "fault_main_frame_gx": { + "file": "fault_main_frame_gx.bin", + "shape": [ + 2300 + ], + "description": "evaluate_frame_value(points, 0), NaN outside the grid" + }, + "fault_main_frame_grad_gx": { + "file": "fault_main_frame_grad_gx.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_frame_gradient(points, 0), world frame (N,3)" + }, + "fault_main_frame_gy": { + "file": "fault_main_frame_gy.bin", + "shape": [ + 2300 + ], + "description": "evaluate_frame_value(points, 1), NaN outside the grid" + }, + "fault_main_frame_grad_gy": { + "file": "fault_main_frame_grad_gy.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_frame_gradient(points, 1), world frame (N,3)" + }, + "fault_main_frame_gz": { + "file": "fault_main_frame_gz.bin", + "shape": [ + 2300 + ], + "description": "evaluate_frame_value(points, 2), NaN outside the grid" + }, + "fault_main_frame_grad_gz": { + "file": "fault_main_frame_grad_gz.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_frame_gradient(points, 2), world frame (N,3)" + }, + "fault_main_distance": { + "file": "fault_main_distance.bin", + "shape": [ + 2300 + ], + "description": "gx / |grad gx| (LoopOracle.fault_distance)" + }, + "fault_main_tip": { + "file": "fault_main_tip.bin", + "shape": [ + 2300 + ], + "description": "evaluate_tip_value; inf = no tip" + }, + "fault_main_apply": { + "file": "fault_main_apply.bin", + "shape": [ + 2300, + 3 + ], + "description": "apply_to_points(points) with no block, no restored_through" + }, + "fault_main_apply_reverse": { + "file": "fault_main_apply_reverse.bin", + "shape": [ + 2300, + 3 + ], + "description": "apply_to_points(points, reverse=True)" + }, + "fault_splay_frame_gx": { + "file": "fault_splay_frame_gx.bin", + "shape": [ + 2300 + ], + "description": "evaluate_frame_value(points, 0), NaN outside the grid" + }, + "fault_splay_frame_grad_gx": { + "file": "fault_splay_frame_grad_gx.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_frame_gradient(points, 0), world frame (N,3)" + }, + "fault_splay_frame_gy": { + "file": "fault_splay_frame_gy.bin", + "shape": [ + 2300 + ], + "description": "evaluate_frame_value(points, 1), NaN outside the grid" + }, + "fault_splay_frame_grad_gy": { + "file": "fault_splay_frame_grad_gy.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_frame_gradient(points, 1), world frame (N,3)" + }, + "fault_splay_frame_gz": { + "file": "fault_splay_frame_gz.bin", + "shape": [ + 2300 + ], + "description": "evaluate_frame_value(points, 2), NaN outside the grid" + }, + "fault_splay_frame_grad_gz": { + "file": "fault_splay_frame_grad_gz.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_frame_gradient(points, 2), world frame (N,3)" + }, + "fault_splay_distance": { + "file": "fault_splay_distance.bin", + "shape": [ + 2300 + ], + "description": "gx / |grad gx| (LoopOracle.fault_distance)" + }, + "fault_splay_tip": { + "file": "fault_splay_tip.bin", + "shape": [ + 2300 + ], + "description": "evaluate_tip_value; inf = no tip" + }, + "fault_splay_apply": { + "file": "fault_splay_apply.bin", + "shape": [ + 2300, + 3 + ], + "description": "apply_to_points(points) with no block, no restored_through" + }, + "fault_splay_apply_reverse": { + "file": "fault_splay_apply_reverse.bin", + "shape": [ + 2300, + 3 + ], + "description": "apply_to_points(points, reverse=True)" + }, + "series_strat_value": { + "file": "series_strat_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_value, no block" + }, + "series_strat_restored_after_0": { + "file": "series_strat_restored_after_0.bin", + "shape": [ + 2300, + 3 + ], + "description": "points restored through faults ['main'] (youngest first)" + }, + "series_strat_restored_after_1": { + "file": "series_strat_restored_after_1.bin", + "shape": [ + 2300, + 3 + ], + "description": "points restored through faults ['main', 'splay'] (youngest first)" + }, + "series_strat_block_mainm_splaym_value": { + "file": "series_strat_block_mainm_splaym_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': -1, 'splay': -1}" + }, + "series_strat_block_mainm_splaym_gradient": { + "file": "series_strat_block_mainm_splaym_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': -1, 'splay': -1} (N,3)" + }, + "series_strat_block_mainm_splayz_value": { + "file": "series_strat_block_mainm_splayz_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': -1, 'splay': 0}" + }, + "series_strat_block_mainm_splayz_gradient": { + "file": "series_strat_block_mainm_splayz_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': -1, 'splay': 0} (N,3)" + }, + "series_strat_block_mainm_splayp_value": { + "file": "series_strat_block_mainm_splayp_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': -1, 'splay': 1}" + }, + "series_strat_block_mainm_splayp_gradient": { + "file": "series_strat_block_mainm_splayp_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': -1, 'splay': 1} (N,3)" + }, + "series_strat_block_mainz_splaym_value": { + "file": "series_strat_block_mainz_splaym_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': 0, 'splay': -1}" + }, + "series_strat_block_mainz_splaym_gradient": { + "file": "series_strat_block_mainz_splaym_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': 0, 'splay': -1} (N,3)" + }, + "series_strat_block_mainz_splayz_value": { + "file": "series_strat_block_mainz_splayz_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': 0, 'splay': 0}" + }, + "series_strat_block_mainz_splayz_gradient": { + "file": "series_strat_block_mainz_splayz_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': 0, 'splay': 0} (N,3)" + }, + "series_strat_block_mainz_splayp_value": { + "file": "series_strat_block_mainz_splayp_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': 0, 'splay': 1}" + }, + "series_strat_block_mainz_splayp_gradient": { + "file": "series_strat_block_mainz_splayp_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': 0, 'splay': 1} (N,3)" + }, + "series_strat_block_mainp_splaym_value": { + "file": "series_strat_block_mainp_splaym_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': 1, 'splay': -1}" + }, + "series_strat_block_mainp_splaym_gradient": { + "file": "series_strat_block_mainp_splaym_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': 1, 'splay': -1} (N,3)" + }, + "series_strat_block_mainp_splayz_value": { + "file": "series_strat_block_mainp_splayz_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': 1, 'splay': 0}" + }, + "series_strat_block_mainp_splayz_gradient": { + "file": "series_strat_block_mainp_splayz_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': 1, 'splay': 0} (N,3)" + }, + "series_strat_block_mainp_splayp_value": { + "file": "series_strat_block_mainp_splayp_value.bin", + "shape": [ + 2300 + ], + "description": "evaluate_feature_block_value, block {'main': 1, 'splay': 1}" + }, + "series_strat_block_mainp_splayp_gradient": { + "file": "series_strat_block_mainp_splayp_gradient.bin", + "shape": [ + 2300, + 3 + ], + "description": "evaluate_feature_block_gradient, block {'main': 1, 'splay': 1} (N,3)" + }, + "series_strat_blocks": { + "blocks": [ + { + "key": "mainm_splaym", + "block": { + "main": -1, + "splay": -1 + } + }, + { + "key": "mainm_splayz", + "block": { + "main": -1, + "splay": 0 + } + }, + { + "key": "mainm_splayp", + "block": { + "main": -1, + "splay": 1 + } + }, + { + "key": "mainz_splaym", + "block": { + "main": 0, + "splay": -1 + } + }, + { + "key": "mainz_splayz", + "block": { + "main": 0, + "splay": 0 + } + }, + { + "key": "mainz_splayp", + "block": { + "main": 0, + "splay": 1 + } + }, + { + "key": "mainp_splaym", + "block": { + "main": 1, + "splay": -1 + } + }, + { + "key": "mainp_splayz", + "block": { + "main": 1, + "splay": 0 + } + }, + { + "key": "mainp_splayp", + "block": { + "main": 1, + "splay": 1 + } + } + ] + } +} \ No newline at end of file diff --git a/scripts/fault_snapshot/out/two_faults/reference/points.bin b/scripts/fault_snapshot/out/two_faults/reference/points.bin new file mode 100644 index 000000000..20f4b05dd Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/points.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splaym_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splaym_gradient.bin new file mode 100644 index 000000000..7fea31890 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splaym_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splaym_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splaym_value.bin new file mode 100644 index 000000000..2514ba920 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splaym_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayp_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayp_gradient.bin new file mode 100644 index 000000000..338a576e2 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayp_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayp_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayp_value.bin new file mode 100644 index 000000000..5a512b75b Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayp_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayz_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayz_gradient.bin new file mode 100644 index 000000000..7fea31890 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayz_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayz_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayz_value.bin new file mode 100644 index 000000000..2514ba920 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainm_splayz_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splaym_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splaym_gradient.bin new file mode 100644 index 000000000..75f775c0c Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splaym_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splaym_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splaym_value.bin new file mode 100644 index 000000000..6e77727a4 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splaym_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayp_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayp_gradient.bin new file mode 100644 index 000000000..1b6193c4f Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayp_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayp_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayp_value.bin new file mode 100644 index 000000000..5b3b08b33 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayp_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayz_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayz_gradient.bin new file mode 100644 index 000000000..75f775c0c Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayz_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayz_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayz_value.bin new file mode 100644 index 000000000..6e77727a4 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainp_splayz_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splaym_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splaym_gradient.bin new file mode 100644 index 000000000..7fea31890 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splaym_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splaym_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splaym_value.bin new file mode 100644 index 000000000..2514ba920 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splaym_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayp_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayp_gradient.bin new file mode 100644 index 000000000..338a576e2 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayp_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayp_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayp_value.bin new file mode 100644 index 000000000..5a512b75b Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayp_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayz_gradient.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayz_gradient.bin new file mode 100644 index 000000000..7fea31890 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayz_gradient.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayz_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayz_value.bin new file mode 100644 index 000000000..2514ba920 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_block_mainz_splayz_value.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_restored_after_0.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_restored_after_0.bin new file mode 100644 index 000000000..3d2f994ad Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_restored_after_0.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_restored_after_1.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_restored_after_1.bin new file mode 100644 index 000000000..05b2162ce Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_restored_after_1.bin differ diff --git a/scripts/fault_snapshot/out/two_faults/reference/series_strat_value.bin b/scripts/fault_snapshot/out/two_faults/reference/series_strat_value.bin new file mode 100644 index 000000000..31fc0fd89 Binary files /dev/null and b/scripts/fault_snapshot/out/two_faults/reference/series_strat_value.bin differ diff --git a/scripts/fault_snapshot/verify_export.py b/scripts/fault_snapshot/verify_export.py new file mode 100644 index 000000000..0da125f28 --- /dev/null +++ b/scripts/fault_snapshot/verify_export.py @@ -0,0 +1,49 @@ +"""Check an export with a small numpy reader: grid nodes + geometry must reproduce the reference +frame values, and the manifest must be complete. Usage: python verify_export.py OUT_DIR/model""" +import json, sys +from pathlib import Path +import numpy as np + +def load(path, shape=None): + a = np.fromfile(path, dtype="= o - 1e-12) & (l <= o + n * h + 1e-12), axis=1) + c = np.clip(np.floor((l[ok] - o) / h).astype(int), 0, n - 1) + t = np.clip((l[ok] - (o + h * c)) / h, 0, 1) + nx, ny = n[0] + 1, n[1] + 1 + v = 0 + for k in range(8): + bx, by, bz = k & 1, (k >> 1) & 1, k >> 2 + w = np.where(bx, t[:, 0], 1 - t[:, 0]) * np.where(by, t[:, 1], 1 - t[:, 1]) * np.where(bz, t[:, 2], 1 - t[:, 2]) + v = v + w * nodes[(c[:, 0] + bx) + nx * ((c[:, 1] + by) + ny * (c[:, 2] + bz))] + out[ok] = v + return out + +root = Path(sys.argv[1]) +m = json.loads((root / "manifest.json").read_text()) +pts = load(root / "reference/points.bin").reshape(-1, 3) +worst = 0.0 +for f in m["faults"]: + for c in range(3): + ref = load(root / f"reference/fault_{f['name']}_frame_g{'xyz'[c]}.bin") + got = trilinear(f["frame"][c], root, pts) + assert np.array_equal(np.isnan(ref), np.isnan(got)), (f["name"], c, "nan pattern") + worst = max(worst, np.nanmax(np.abs(ref - got))) +for s in m["series"]: + ref = load(root / f"reference/series_{s['name']}_value.bin") + # no faults: direct. With faults the restored points are needed: use the reference restore chain + k = len(s["faults"]) + rp = pts if k == 0 else load(root / f"reference/series_{s['name']}_restored_after_{k-1}.bin").reshape(-1, 3) + got = trilinear(s["grid"], root, rp) + nanm = np.isnan(ref) + # discrete interpolator: NaN input -> 0 value; outside grid -> NaN + worst = max(worst, np.nanmax(np.abs(ref[~nanm] - np.nan_to_num(got)[~nanm]))) +print(f"{root.name}: reproduces reference, max |diff| = {worst:.2e}; gradient scale = {m['gradient']['scale']:.6f}") +assert worst < 1e-10 diff --git a/specs/003-fault-evaluation-performance/baseline.json b/specs/003-fault-evaluation-performance/baseline.json new file mode 100644 index 000000000..a508e01bc --- /dev/null +++ b/specs/003-fault-evaluation-performance/baseline.json @@ -0,0 +1,11571 @@ +{ + "schema_version": 1, + "cases": [ + { + "case_id": "f0_u0:oldest_value:5000:cold", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.002068099973257631, + 0.0019503000075928867, + 0.001777700032107532, + 0.0016051999991759658, + 0.0019091999856755137 + ], + "median_seconds": 0.0019091999856755137, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 1085440, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_value:5000:warm", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0018500000005587935, + 0.0017832000157795846, + 0.0019308999762870371, + 0.0017351999995298684, + 0.0017002999666146934 + ], + "median_seconds": 0.0017832000157795846, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 364544, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:all_group_values:5000:cold", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0018114999984391034, + 0.0016608000150881708, + 0.001585999969393015, + 0.0015371000044979155, + 0.0017489000456407666 + ], + "median_seconds": 0.0016608000150881708, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:all_group_values:5000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0016675000078976154, + 0.0015636999742127955, + 0.001560899952892214, + 0.001607299956958741, + 0.0015872999792918563 + ], + "median_seconds": 0.0015872999792918563, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:all_group_values:100000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.05045599996810779, + 0.05641919997287914, + 0.049797400017268956, + 0.04840069997590035, + 0.049797700019553304 + ], + "median_seconds": 0.049797700019553304, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 100000, + "peak_extra_rss_bytes": 36167680, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_ids:5000:cold", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0024849000037647784, + 0.0017082999693229795, + 0.0015867000329308212, + 0.0015799999819137156, + 0.0016281999996863306 + ], + "median_seconds": 0.0016281999996863306, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 2383872, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_ids:5000:warm", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0017278000013902783, + 0.001821699959691614, + 0.0016102000372484326, + 0.0015984000056050718, + 0.0015937999705784023 + ], + "median_seconds": 0.0016102000372484326, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 331776, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_gradient:5000:cold", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0049842000007629395, + 0.005423199967481196, + 0.0055250999866984785, + 0.005502999993041158, + 0.005801300052553415 + ], + "median_seconds": 0.005502999993041158, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_gradient:5000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.006794199987780303, + 0.005661999981384724, + 0.0054843000252731144, + 0.0066220000153407454, + 0.005751800024881959 + ], + "median_seconds": 0.005751800024881959, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 2531328, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_gradient:100000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.15797389997169375, + 0.15779819997260347, + 0.15550170000642538, + 0.15658720000647008, + 0.16163459996460006 + ], + "median_seconds": 0.15779819997260347, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 100000, + "peak_extra_rss_bytes": 68808704, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_gradient:5000:cold", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.006807400030083954, + 0.005890099972020835, + 0.006284200004301965, + 0.005052799999248236, + 0.004926600027829409 + ], + "median_seconds": 0.005890099972020835, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 1003520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_gradient:5000:warm", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.005539799982216209, + 0.004602200002409518, + 0.004628999973647296, + 0.004686900007072836, + 0.004593499994371086 + ], + "median_seconds": 0.004628999973647296, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 3235840, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_value:5000:cold", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0021188000100664794, + 0.002530300000216812, + 0.002279900014400482, + 0.0019546999828889966, + 0.0019848999800160527 + ], + "median_seconds": 0.0021188000100664794, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 196608, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_value:5000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.002323900000192225, + 0.0021179000032134354, + 0.0027472999645397067, + 0.0021296999766491354, + 0.002043799962848425 + ], + "median_seconds": 0.0021296999766491354, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_value:100000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.06462129997089505, + 0.060751000011805445, + 0.06566490000113845, + 0.062178100051824, + 0.06052240001736209 + ], + "median_seconds": 0.062178100051824, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 120106, + "peak_extra_rss_bytes": 37838848, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:all_group_values:5000:cold", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.005964700016193092, + 0.005401600035838783, + 0.005069800012279302, + 0.004931200004648417, + 0.005303700047079474 + ], + "median_seconds": 0.005303700047079474, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 2387968, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:all_group_values:5000:warm", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.005284299957565963, + 0.005051199987065047, + 0.004842899972572923, + 0.0051790999714285135, + 0.006345300003886223 + ], + "median_seconds": 0.0051790999714285135, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_ids:5000:cold", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.005417300038971007, + 0.0058723000111058354, + 0.00547610002104193, + 0.005699099972844124, + 0.005404600000474602 + ], + "median_seconds": 0.00547610002104193, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_ids:5000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.006167799991089851, + 0.005306700011715293, + 0.004912500036880374, + 0.005414300016127527, + 0.004887300019618124 + ], + "median_seconds": 0.005306700011715293, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_ids:50000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 50000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0727887999964878, + 0.07676789996912703, + 0.07434190000640228, + 0.07424410001840442, + 0.07564559997990727 + ], + "median_seconds": 0.07434190000640228, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 150000, + "peak_extra_rss_bytes": 16773120, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_gradient:5000:cold", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0036286000395193696, + 0.003000299970153719, + 0.0028938999748788774, + 0.0028668000013567507, + 0.0030832000193186104 + ], + "median_seconds": 0.003000299970153719, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 1134592, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_gradient:5000:warm", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0027658999897539616, + 0.0026433999883010983, + 0.002687399974092841, + 0.0026347999810241163, + 0.0026951999752782285 + ], + "median_seconds": 0.002687399974092841, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_gradient:5000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.008379000006243587, + 0.008014199964236468, + 0.008127200009766966, + 0.008919799991417676, + 0.009172199992462993 + ], + "median_seconds": 0.008379000006243587, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 339968, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_gradient:5000:warm", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.009931500011589378, + 0.008898800006136298, + 0.010050500044599175, + 0.009374199958983809, + 0.010194800037425011 + ], + "median_seconds": 0.009931500011589378, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 3051520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_gradient:100000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2685257999692112, + 0.25931839999975637, + 0.2615455000195652, + 0.2623248000163585, + 0.2649698000168428 + ], + "median_seconds": 0.2623248000163585, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 300000, + "peak_extra_rss_bytes": 61628416, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_value:5000:cold", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0043052000110037625, + 0.0038830999983474612, + 0.003924399963580072, + 0.005086799967102706, + 0.003863199963234365 + ], + "median_seconds": 0.003924399963580072, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 8192, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_value:5000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.004400199977681041, + 0.0035980999819003046, + 0.003590799984522164, + 0.003546199994161725, + 0.0035811000270769 + ], + "median_seconds": 0.003590799984522164, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_value:50000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 50000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.05348890001187101, + 0.051058300014119595, + 0.05331160000059754, + 0.05194350000238046, + 0.053055700031109154 + ], + "median_seconds": 0.053055700031109154, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 110041, + "peak_extra_rss_bytes": 18268160, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:all_group_values:5000:cold", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.010802200005855411, + 0.010641800006851554, + 0.010952300042845309, + 0.010104299988597631, + 0.009735399973578751 + ], + "median_seconds": 0.010641800006851554, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 2613248, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:all_group_values:5000:warm", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0097237000009045, + 0.009076999966055155, + 0.009477700048591942, + 0.009317999996710569, + 0.0093889000127092 + ], + "median_seconds": 0.0093889000127092, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_ids:5000:cold", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.009720999980345368, + 0.009805000037886202, + 0.00942590000340715, + 0.010386799986008555, + 0.010734699957538396 + ], + "median_seconds": 0.009805000037886202, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 327680, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_ids:5000:warm", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.01036680000834167, + 0.00945849996060133, + 0.010408899979665875, + 0.011027000029571354, + 0.009411300008650869 + ], + "median_seconds": 0.01036680000834167, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_gradient:5000:cold", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.004978100012522191, + 0.004551400023046881, + 0.0045826000277884305, + 0.004289600008632988, + 0.004016899969428778 + ], + "median_seconds": 0.004551400023046881, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 12288, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_gradient:5000:warm", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.004325799993239343, + 0.004490199964493513, + 0.004221999959554523, + 0.004282100009731948, + 0.004432399990037084 + ], + "median_seconds": 0.004325799993239343, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_gradient:5000:cold", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.013218999956734478, + 0.013487699965480715, + 0.016148500028066337, + 0.015929600049275905, + 0.01474200002849102 + ], + "median_seconds": 0.01474200002849102, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 122880, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_gradient:5000:warm", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.01351509999949485, + 0.013595999975223094, + 0.014493399998173118, + 0.015112499997485429, + 0.015613399969879538 + ], + "median_seconds": 0.014493399998173118, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 2093056, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_value:5000:cold", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.005829599977005273, + 0.00531610002508387, + 0.004898999992292374, + 0.005735200014896691, + 0.005170200020074844 + ], + "median_seconds": 0.00531610002508387, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 1298432, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_value:5000:warm", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.006841599999461323, + 0.0054314000299200416, + 0.005453000019770116, + 0.005504600005224347, + 0.005303300044033676 + ], + "median_seconds": 0.005453000019770116, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:all_group_values:5000:cold", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.01622069999575615, + 0.014839500014204532, + 0.015507299976889044, + 0.015079400036484003, + 0.01517609995789826 + ], + "median_seconds": 0.01517609995789826, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 28672, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:all_group_values:5000:warm", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.016359100001864135, + 0.01607399998465553, + 0.01664570003049448, + 0.01768320001428947, + 0.016541699995286763 + ], + "median_seconds": 0.016541699995286763, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_ids:5000:cold", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.016845299978740513, + 0.01591219997499138, + 0.016089200042188168, + 0.015376399969682097, + 0.018382999987807125 + ], + "median_seconds": 0.016089200042188168, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_ids:5000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.016061500005889684, + 0.01595089997863397, + 0.019311600015498698, + 0.01711570000043139, + 0.016126400034409016 + ], + "median_seconds": 0.016126400034409016, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_ids:100000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5313122000079602, + 0.5138811999931931, + 0.5248948999796994, + 0.5082644999492913, + 0.5249256999813952 + ], + "median_seconds": 0.5248948999796994, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 1000000, + "peak_extra_rss_bytes": 41807872, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_gradient:5000:cold", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.00665830000070855, + 0.005738899984862655, + 0.006454400019720197, + 0.006554800027515739, + 0.006253100000321865 + ], + "median_seconds": 0.006454400019720197, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 163840, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_gradient:5000:warm", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0065818000002764165, + 0.006229499995242804, + 0.006744500016793609, + 0.00629980000667274, + 0.006035499973222613 + ], + "median_seconds": 0.00629980000667274, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_gradient:5000:cold", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.020895700028631836, + 0.020169299968983978, + 0.0205275000189431, + 0.022402799979317933, + 0.02380030002677813 + ], + "median_seconds": 0.020895700028631836, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_gradient:5000:warm", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.019658400036860257, + 0.019598999992012978, + 0.022156900027766824, + 0.024128599965479225, + 0.021844000031705946 + ], + "median_seconds": 0.021844000031705946, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 3272704, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:5000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.11904620000859722, + 0.12240120000205934, + 0.1278740999987349, + 0.12562259996775538, + 0.12323610001476482 + ], + "median_seconds": 0.12323610001476482, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 4972544, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:5000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.12375410000095144, + 0.11719280004035681, + 0.11994369997410104, + 0.12069110001903027, + 0.12839480000548065 + ], + "median_seconds": 0.12069110001903027, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 4141056, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:20000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.640385199978482, + 0.6161739999661222, + 0.622929299948737, + 0.6350927000166848, + 0.6070963999954984 + ], + "median_seconds": 0.622929299948737, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 14135296, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:20000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6240868999739178, + 0.6274746999843046, + 0.6004090000060387, + 0.6097240999806672, + 0.6149061999749392 + ], + "median_seconds": 0.6149061999749392, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 17915904, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:5000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.12268550001317635, + 0.1206077000242658, + 0.12085740000475198, + 0.11959249997744337, + 0.12174040003446862 + ], + "median_seconds": 0.12085740000475198, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 6189056, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:5000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.12067909998586401, + 0.12251849996391684, + 0.11768610001308843, + 0.12245600001187995, + 0.12559799995506182 + ], + "median_seconds": 0.12245600001187995, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 3231744, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:100000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.890157799993176 + ], + "median_seconds": 2.890157799993176, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 100000, + "field_points_total": 4100000, + "peak_extra_rss_bytes": 88731648, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:20000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.619518399995286, + 0.6335709000122733, + 0.6323375999927521, + 0.6332378999795765, + 0.6325441999942996 + ], + "median_seconds": 0.6325441999942996, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 17186816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:20000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6171990999719128, + 0.6289252000278793, + 0.6244051000103354, + 0.6499038999900222, + 0.6208713999949396 + ], + "median_seconds": 0.6244051000103354, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 17723392, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:5000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.1239314999547787, + 0.11910259997239336, + 0.1206378000206314, + 0.11972680001053959, + 0.1274505999754183 + ], + "median_seconds": 0.1206378000206314, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 7122944, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:5000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.11840430001029745, + 0.1255529999616556, + 0.12402170000132173, + 0.12004589999560267, + 0.12401109997881576 + ], + "median_seconds": 0.12401109997881576, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 4329472, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:20000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.6263962000375614, + 0.6289376000058837, + 0.6228085999609903, + 0.6346645999583416, + 0.6365091999759898 + ], + "median_seconds": 0.6289376000058837, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 17985536, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:20000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6173340000095777, + 0.6392885000095703, + 0.6321299999835901, + 0.6343243999872357, + 0.6240189000382088 + ], + "median_seconds": 0.6321299999835901, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 17559552, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:5000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.7207389999530278, + 0.7484465999878012, + 0.7187262999941595, + 0.7237212000181898, + 0.7353980000480078 + ], + "median_seconds": 0.7237212000181898, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 20099072, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:5000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.7237333999946713, + 0.7266032999614254, + 0.7135088000213727, + 0.7236385000287555, + 0.7282544000190683 + ], + "median_seconds": 0.7237333999946713, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 21123072, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:20000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.616600000008475 + ], + "median_seconds": 2.616600000008475, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 78880768, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:20000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.635825000004843 + ], + "median_seconds": 2.635825000004843, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 76312576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:5000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.7303714000154287, + 0.7449282000306994, + 0.7199979999568313, + 0.7264191000140272, + 0.7279379999963567 + ], + "median_seconds": 0.7279379999963567, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 19730432, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:5000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.7332341999863274, + 0.7129294000333175, + 0.721944400051143, + 0.730888899997808, + 0.7261257000500336 + ], + "median_seconds": 0.7261257000500336, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 20631552, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:20000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.6712154999841005 + ], + "median_seconds": 2.6712154999841005, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 77201408, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:20000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.6335637999582104 + ], + "median_seconds": 2.6335637999582104, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 77570048, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_value:5000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2508679000311531, + 0.25264949997654185, + 0.24559140001656488, + 0.24733119999291375, + 0.2479458999587223 + ], + "median_seconds": 0.2479458999587223, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 405994, + "peak_extra_rss_bytes": 3026944, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_value:5000:warm", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.2492528999573551, + 0.2617929999832995, + 0.24278060003416613, + 0.2539711999706924, + 0.240970799990464 + ], + "median_seconds": 0.2492528999573551, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 405994, + "peak_extra_rss_bytes": 6377472, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_value:50000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.7515411999775097 + ], + "median_seconds": 2.7515411999775097, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 100000, + "field_points_total": 4060116, + "peak_extra_rss_bytes": 45150208, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:all_group_values:5000:cold", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5018266999977641, + 0.49882560002151877, + 0.49103649996686727, + 0.5092183999950066, + 0.5115294000133872 + ], + "median_seconds": 0.5018266999977641, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 3641344, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:all_group_values:5000:warm", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.4872732000076212, + 0.4905267000431195, + 0.5120926999952644, + 0.4950990999932401, + 0.4938797000213526 + ], + "median_seconds": 0.4938797000213526, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 6246400, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_ids:5000:cold", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.49773699999786913, + 0.5128202000050806, + 0.5029291000100784, + 0.5193601999781094, + 0.5145166000002064 + ], + "median_seconds": 0.5128202000050806, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 6549504, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_ids:5000:warm", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5035367999807931, + 0.5104905000189319, + 0.5102594000054523, + 0.5105552999884821, + 0.513347000000067 + ], + "median_seconds": 0.5104905000189319, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 4845568, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_gradient:5000:cold", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.8645651999977417, + 0.8743816999485716, + 0.9046364999958314, + 0.8794669000199065, + 0.8982778999488801 + ], + "median_seconds": 0.8794669000199065, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 89, + "fault_points_total": 25000, + "field_points_total": 1165000, + "peak_extra_rss_bytes": 18010112, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_gradient:5000:warm", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.8779981000116095, + 0.8753036999842152, + 0.8992602999787778, + 0.8833472999976948, + 0.9075518000172451 + ], + "median_seconds": 0.8833472999976948, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 89, + "fault_points_total": 25000, + "field_points_total": 1165000, + "peak_extra_rss_bytes": 21270528, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_gradient:5000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.5254161999910139 + ], + "median_seconds": 1.5254161999910139, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 178, + "fault_points_total": 50000, + "field_points_total": 2330000, + "peak_extra_rss_bytes": 23846912, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_gradient:5000:warm", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.4742510000360198 + ], + "median_seconds": 1.4742510000360198, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 178, + "fault_points_total": 50000, + "field_points_total": 2330000, + "peak_extra_rss_bytes": 21213184, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_gradient:100000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 41.706459899956826 + ], + "median_seconds": 41.706459899956826, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 184, + "fault_points_total": 1000000, + "field_points_total": 49000000, + "peak_extra_rss_bytes": 404107264, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_value:5000:cold", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.3709979999694042, + 0.3622265000012703, + 0.3829048000043258, + 0.3749182999599725, + 0.38614500005496666 + ], + "median_seconds": 0.3749182999599725, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 123, + "fault_points_total": 15000, + "field_points_total": 610994, + "peak_extra_rss_bytes": 5042176, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_value:5000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.38297069998225197, + 0.3878691999707371, + 0.4047283999971114, + 0.39082229998894036, + 0.3732550999848172 + ], + "median_seconds": 0.3878691999707371, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 123, + "fault_points_total": 15000, + "field_points_total": 610994, + "peak_extra_rss_bytes": 4194304, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_value:100000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 8.680168899998534 + ], + "median_seconds": 8.680168899998534, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 123, + "fault_points_total": 300000, + "field_points_total": 12220270, + "peak_extra_rss_bytes": 91865088, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:all_group_values:5000:cold", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.0156925999908708, + 1.0590040000388399, + 1.044426599983126, + 1.0089434999972582, + 1.0229821000248194 + ], + "median_seconds": 1.0229821000248194, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 5292032, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:all_group_values:5000:warm", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.0039974999963306, + 1.0236241000238806, + 1.0233113000285812, + 0.9983935999916866, + 1.0191213000216521 + ], + "median_seconds": 1.0191213000216521, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 2269184, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_ids:5000:cold", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.026077999966219, + 1.0462311999872327, + 1.0393097999622114, + 1.0382861000252888, + 1.0879079999867827 + ], + "median_seconds": 1.0393097999622114, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 2211840, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_ids:5000:warm", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.018956000043545, + 1.0593572999932803, + 1.051239299995359, + 1.0635128999711014, + 1.0476165000000037 + ], + "median_seconds": 1.051239299995359, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 8007680, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_gradient:5000:cold", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.0718397999880835, + 1.0948930000304244, + 1.0519596000085585, + 1.0681607000296935, + 1.0529204999911599 + ], + "median_seconds": 1.0681607000296935, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 130, + "fault_points_total": 30000, + "field_points_total": 1370000, + "peak_extra_rss_bytes": 23093248, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_gradient:5000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.0190844999742694, + 1.09067430003779, + 1.0639800999779254, + 1.0464701000018977, + 1.0606563999899663 + ], + "median_seconds": 1.0606563999899663, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 130, + "fault_points_total": 30000, + "field_points_total": 1370000, + "peak_extra_rss_bytes": 18931712, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_gradient:50000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 11.80544149997877 + ], + "median_seconds": 11.80544149997877, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 133, + "fault_points_total": 300000, + "field_points_total": 14300000, + "peak_extra_rss_bytes": 189194240, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_gradient:5000:cold", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.5456754000042565 + ], + "median_seconds": 2.5456754000042565, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 349, + "fault_points_total": 85000, + "field_points_total": 3905000, + "peak_extra_rss_bytes": 16719872, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_gradient:5000:warm", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.5114410999813117 + ], + "median_seconds": 2.5114410999813117, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 349, + "fault_points_total": 85000, + "field_points_total": 3905000, + "peak_extra_rss_bytes": 18845696, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_value:5000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5457310000201687, + 0.5117296000244096, + 0.5319450999959372, + 0.5481136000016704, + 0.563020899950061 + ], + "median_seconds": 0.5457310000201687, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815994, + "peak_extra_rss_bytes": 4149248, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_value:5000:warm", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5517877000384033, + 0.5374649000004865, + 0.5280609999899752, + 0.5328385999891907, + 0.5196707000141032 + ], + "median_seconds": 0.5328385999891907, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815994, + "peak_extra_rss_bytes": 2277376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_value:50000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 5.707260199997108 + ], + "median_seconds": 5.707260199997108, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 200000, + "field_points_total": 8160116, + "peak_extra_rss_bytes": 45895680, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:all_group_values:5000:cold", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.5190386999747716 + ], + "median_seconds": 1.5190386999747716, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 2674688, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:all_group_values:5000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.526821099978406 + ], + "median_seconds": 1.526821099978406, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 2232320, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:all_group_values:100000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 38.29761960002361 + ], + "median_seconds": 38.29761960002361, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 1300000, + "field_points_total": 53000000, + "peak_extra_rss_bytes": 103559168, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_ids:5000:cold", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.6283047000179067 + ], + "median_seconds": 1.6283047000179067, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 8998912, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_ids:5000:warm", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.595578000007663 + ], + "median_seconds": 1.595578000007663, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 4222976, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_gradient:5000:cold", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.0523066999739967 + ], + "median_seconds": 1.0523066999739967, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 171, + "fault_points_total": 35000, + "field_points_total": 1575000, + "peak_extra_rss_bytes": 20307968, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_gradient:5000:warm", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.0360149999614805 + ], + "median_seconds": 1.0360149999614805, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 171, + "fault_points_total": 35000, + "field_points_total": 1575000, + "peak_extra_rss_bytes": 22466560, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_gradient:5000:cold", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.780666899983771 + ], + "median_seconds": 3.780666899983771, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 561, + "fault_points_total": 125000, + "field_points_total": 5685000, + "peak_extra_rss_bytes": 26722304, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_gradient:5000:warm", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.7822315000230446 + ], + "median_seconds": 3.7822315000230446, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 561, + "fault_points_total": 125000, + "field_points_total": 5685000, + "peak_extra_rss_bytes": 24276992, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_value:5000:cold", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2690763999707997, + 0.2626422999892384, + 0.2650862999726087, + 0.271334899996873, + 0.2502510999911465 + ], + "median_seconds": 0.2650862999726087, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 6131712, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_value:5000:warm", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.24148909997893497, + 0.257906400016509, + 0.2546367999748327, + 0.25508129998343065, + 0.2609806000255048 + ], + "median_seconds": 0.25508129998343065, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 1957888, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:all_group_values:5000:cold", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2671293999883346, + 0.2790598999708891, + 0.25618290004786104, + 0.2516671000048518, + 0.248188300000038 + ], + "median_seconds": 0.25618290004786104, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 1949696, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:all_group_values:5000:warm", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.2599266999750398, + 0.25569040002301335, + 0.2665761999669485, + 0.2823126000002958, + 0.3063772000023164 + ], + "median_seconds": 0.2665761999669485, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 1949696, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_ids:5000:cold", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2570401999983005, + 0.2474872000166215, + 0.24368459999095649, + 0.2518069000216201, + 0.2532146999728866 + ], + "median_seconds": 0.2518069000216201, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 1945600, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_ids:5000:warm", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.25951120001263916, + 0.2721171000157483, + 0.27581390005070716, + 0.24921989999711514, + 0.2542213999549858 + ], + "median_seconds": 0.25951120001263916, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 1945600, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_gradient:5000:cold", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.2779561000061221 + ], + "median_seconds": 1.2779561000061221, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 14241792, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_gradient:5000:warm", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.2726700999774039 + ], + "median_seconds": 1.2726700999774039, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 22618112, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_gradient:5000:cold", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.2684096999582835 + ], + "median_seconds": 1.2684096999582835, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 21463040, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_gradient:5000:warm", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.264825300022494 + ], + "median_seconds": 1.264825300022494, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 21659648, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_value:5000:cold", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5286656999960542, + 0.5174718999769539, + 0.5196204000385478, + 0.4995308999787085, + 0.5130373000283726 + ], + "median_seconds": 0.5174718999769539, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 162, + "fault_points_total": 20000, + "field_points_total": 805997, + "peak_extra_rss_bytes": 5799936, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_value:5000:warm", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5026235999539495, + 0.49289449997013435, + 0.5278702999930829, + 0.5098348999745212, + 0.5265247999923304 + ], + "median_seconds": 0.5098348999745212, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 162, + "fault_points_total": 20000, + "field_points_total": 805997, + "peak_extra_rss_bytes": 1953792, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:all_group_values:5000:cold", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.0785885999794118, + 1.0232945999596268, + 1.0756162000470795, + 1.0069631000515074, + 1.0373151999665424 + ], + "median_seconds": 1.0373151999665424, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 3256320, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:all_group_values:5000:warm", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.0016330999787897 + ], + "median_seconds": 1.0016330999787897, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 2011136, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_ids:5000:cold", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.095970899972599, + 1.0256746999803, + 1.0544349999981932, + 1.0329445999814197, + 1.064743000024464 + ], + "median_seconds": 1.0544349999981932, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 2179072, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_ids:5000:warm", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.029523800010793, + 1.024722899950575, + 1.028291100054048, + 1.0434004999697208, + 1.0465226999949664 + ], + "median_seconds": 1.029523800010793, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 2797568, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_gradient:5000:cold", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.4962985000456683 + ], + "median_seconds": 1.4962985000456683, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 172, + "fault_points_total": 50000, + "field_points_total": 2225000, + "peak_extra_rss_bytes": 19632128, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_gradient:5000:warm", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.4962633000104688 + ], + "median_seconds": 1.4962633000104688, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 172, + "fault_points_total": 50000, + "field_points_total": 2225000, + "peak_extra_rss_bytes": 22949888, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_gradient:5000:cold", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.0212548000272363 + ], + "median_seconds": 3.0212548000272363, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 344, + "fault_points_total": 100000, + "field_points_total": 4450000, + "peak_extra_rss_bytes": 24465408, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_gradient:5000:warm", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.027707399975043 + ], + "median_seconds": 3.027707399975043, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 344, + "fault_points_total": 100000, + "field_points_total": 4450000, + "peak_extra_rss_bytes": 26390528, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_value:5000:cold", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.7636357999872416, + 0.7741989000351168, + 0.7645794999552891, + 0.7753158999839798, + 0.7724716999800876 + ], + "median_seconds": 0.7724716999800876, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 243, + "fault_points_total": 30000, + "field_points_total": 1210997, + "peak_extra_rss_bytes": 6774784, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_value:5000:warm", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.7719630000065081, + 0.7755593999754637, + 0.8383472999557853, + 0.7740265999455005, + 0.8257853999966756 + ], + "median_seconds": 0.7755593999754637, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 243, + "fault_points_total": 30000, + "field_points_total": 1210997, + "peak_extra_rss_bytes": 3870720, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:all_group_values:5000:cold", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.982988599978853 + ], + "median_seconds": 1.982988599978853, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 5410816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:all_group_values:5000:warm", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.9491811000043526 + ], + "median_seconds": 1.9491811000043526, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 3883008, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_ids:5000:cold", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.962593799980823 + ], + "median_seconds": 1.962593799980823, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 4091904, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_ids:5000:warm", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.0035154999932274 + ], + "median_seconds": 2.0035154999932274, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 3764224, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_gradient:5000:cold", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.7587933000177145 + ], + "median_seconds": 1.7587933000177145, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 253, + "fault_points_total": 60000, + "field_points_total": 2630000, + "peak_extra_rss_bytes": 19173376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_gradient:5000:warm", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.840141799999401 + ], + "median_seconds": 1.840141799999401, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 253, + "fault_points_total": 60000, + "field_points_total": 2630000, + "peak_extra_rss_bytes": 17309696, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_gradient:5000:cold", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 5.338217500015162 + ], + "median_seconds": 5.338217500015162, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 678, + "fault_points_total": 170000, + "field_points_total": 7485000, + "peak_extra_rss_bytes": 17440768, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_gradient:5000:warm", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 5.3179529999615625 + ], + "median_seconds": 5.3179529999615625, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 678, + "fault_points_total": 170000, + "field_points_total": 7485000, + "peak_extra_rss_bytes": 25874432, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_value:5000:cold", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.052356600004714, + 1.0307074000011198, + 1.1399670000537299, + 1.268872700049542, + 1.119987600017339 + ], + "median_seconds": 1.119987600017339, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615997, + "peak_extra_rss_bytes": 3493888, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_value:5000:warm", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.2274102999945171, + 1.1132458999636583, + 1.2591526999603957, + 1.1653907000436448, + 1.0543655999936163 + ], + "median_seconds": 1.1653907000436448, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615997, + "peak_extra_rss_bytes": 3563520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:all_group_values:5000:cold", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.203311199962627 + ], + "median_seconds": 3.203311199962627, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 5427200, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:all_group_values:5000:warm", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.224883700022474 + ], + "median_seconds": 3.224883700022474, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 4182016, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_ids:5000:cold", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.2550287999911234 + ], + "median_seconds": 3.2550287999911234, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 4853760, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_ids:5000:warm", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.204978800029494 + ], + "median_seconds": 3.204978800029494, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 3936256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_gradient:5000:cold", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.126916799985338 + ], + "median_seconds": 2.126916799985338, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 334, + "fault_points_total": 70000, + "field_points_total": 3035000, + "peak_extra_rss_bytes": 17096704, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_gradient:5000:warm", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.1161456999834627 + ], + "median_seconds": 2.1161456999834627, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 334, + "fault_points_total": 70000, + "field_points_total": 3035000, + "peak_extra_rss_bytes": 15925248, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_gradient:5000:cold", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 7.763050800014753 + ], + "median_seconds": 7.763050800014753, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1093, + "fault_points_total": 250000, + "field_points_total": 10925000, + "peak_extra_rss_bytes": 18681856, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_gradient:5000:warm", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 7.812964800046757 + ], + "median_seconds": 7.812964800046757, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1093, + "fault_points_total": 250000, + "field_points_total": 10925000, + "peak_extra_rss_bytes": 18264064, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_value:5000:cold", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5127995999646373, + 0.508513499982655, + 0.5258036000304855, + 0.518570100015495, + 0.5178258999949321 + ], + "median_seconds": 0.5178258999949321, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 2949120, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_value:5000:warm", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5139832000131719, + 0.5263782999827527, + 0.5374083999777213, + 0.49777300003916025, + 0.5163746000034735 + ], + "median_seconds": 0.5163746000034735, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 1953792, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:all_group_values:5000:cold", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.49768510001013055, + 0.5470221000141464, + 0.5431733999866992, + 0.5027357999933884, + 0.5049971000407822 + ], + "median_seconds": 0.5049971000407822, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 7872512, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:all_group_values:5000:warm", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5084901000373065, + 0.5839879999984987, + 0.6080113000352867, + 0.512987099995371, + 0.5060660999733955 + ], + "median_seconds": 0.512987099995371, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 2310144, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_ids:5000:cold", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.4773624000372365, + 0.5064765000133775, + 0.45997530000749975, + 0.47142459999304265, + 0.48329180001746863 + ], + "median_seconds": 0.4773624000372365, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 2105344, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_ids:5000:warm", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.4913247000076808, + 0.4748341999948025, + 0.47042480000527576, + 0.4809308999683708, + 0.49638120003510267 + ], + "median_seconds": 0.4809308999683708, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 1949696, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_gradient:5000:cold", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.803797599975951 + ], + "median_seconds": 2.803797599975951, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 19963904, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_gradient:5000:warm", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.86700990004465 + ], + "median_seconds": 2.86700990004465, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 18649088, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_gradient:5000:cold", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.860447299957741 + ], + "median_seconds": 2.860447299957741, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 17010688, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_gradient:5000:warm", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.859276300005149 + ], + "median_seconds": 2.859276300005149, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 16433152, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_value:5000:cold", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.9945942999911495, + 1.0643767999717966, + 1.0246182000264525, + 1.03366840002127, + 1.0355517999851145 + ], + "median_seconds": 1.03366840002127, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 322, + "fault_points_total": 40000, + "field_points_total": 1606018, + "peak_extra_rss_bytes": 3149824, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_value:5000:warm", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.0108217000379227, + 0.993421999970451, + 0.9760817000060342, + 0.9322534999810159, + 0.917735300026834 + ], + "median_seconds": 0.9760817000060342, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 322, + "fault_points_total": 40000, + "field_points_total": 1606018, + "peak_extra_rss_bytes": 3862528, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:all_group_values:5000:cold", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.9642460999893956 + ], + "median_seconds": 1.9642460999893956, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 6066176, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:all_group_values:5000:warm", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.9502380999620073 + ], + "median_seconds": 1.9502380999620073, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 5091328, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_ids:5000:cold", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.9797849000315182 + ], + "median_seconds": 1.9797849000315182, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 3944448, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_ids:5000:warm", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.999988499970641 + ], + "median_seconds": 1.999988499970641, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 3932160, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_gradient:5000:cold", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.3745074999751523 + ], + "median_seconds": 3.3745074999751523, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 354, + "fault_points_total": 100000, + "field_points_total": 4665000, + "peak_extra_rss_bytes": 17547264, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_gradient:5000:warm", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.3228911999613047 + ], + "median_seconds": 3.3228911999613047, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 354, + "fault_points_total": 100000, + "field_points_total": 4665000, + "peak_extra_rss_bytes": 19185664, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_gradient:5000:cold", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.6700405000010505 + ], + "median_seconds": 6.6700405000010505, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 708, + "fault_points_total": 200000, + "field_points_total": 9330000, + "peak_extra_rss_bytes": 21385216, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_gradient:5000:warm", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 6.676962699973956 + ], + "median_seconds": 6.676962699973956, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 708, + "fault_points_total": 200000, + "field_points_total": 9330000, + "peak_extra_rss_bytes": 20860928, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_value:5000:cold", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.4792096999590285 + ], + "median_seconds": 1.4792096999590285, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 483, + "fault_points_total": 60000, + "field_points_total": 2411018, + "peak_extra_rss_bytes": 2912256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_value:5000:warm", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.5198838000069372 + ], + "median_seconds": 1.5198838000069372, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 483, + "fault_points_total": 60000, + "field_points_total": 2411018, + "peak_extra_rss_bytes": 2129920, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:all_group_values:5000:cold", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.9738230999791995 + ], + "median_seconds": 3.9738230999791995, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 3493888, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:all_group_values:5000:warm", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.9269449000130408 + ], + "median_seconds": 3.9269449000130408, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 4063232, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_ids:5000:cold", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.9031956999679096 + ], + "median_seconds": 3.9031956999679096, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 3825664, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_ids:5000:warm", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.927701500011608 + ], + "median_seconds": 3.927701500011608, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 5066752, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_gradient:5000:cold", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.798103000037372 + ], + "median_seconds": 3.798103000037372, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 515, + "fault_points_total": 120000, + "field_points_total": 5470000, + "peak_extra_rss_bytes": 20996096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_gradient:5000:warm", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.8003344999742694 + ], + "median_seconds": 3.8003344999742694, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 515, + "fault_points_total": 120000, + "field_points_total": 5470000, + "peak_extra_rss_bytes": 15290368, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_gradient:5000:cold", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 10.86372260004282 + ], + "median_seconds": 10.86372260004282, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1384, + "fault_points_total": 340000, + "field_points_total": 15605000, + "peak_extra_rss_bytes": 21123072, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_gradient:5000:warm", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 10.960749900026713 + ], + "median_seconds": 10.960749900026713, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1384, + "fault_points_total": 340000, + "field_points_total": 15605000, + "peak_extra_rss_bytes": 20824064, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_value:5000:cold", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.9626029999926686 + ], + "median_seconds": 1.9626029999926686, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3216018, + "peak_extra_rss_bytes": 1986560, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_value:5000:warm", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.9906872999854386 + ], + "median_seconds": 1.9906872999854386, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3216018, + "peak_extra_rss_bytes": 2338816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:all_group_values:5000:cold", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.478232700028457 + ], + "median_seconds": 6.478232700028457, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 5476352, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:all_group_values:5000:warm", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 6.369451500009745 + ], + "median_seconds": 6.369451500009745, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 5701632, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_ids:5000:cold", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.337184400006663 + ], + "median_seconds": 6.337184400006663, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 6270976, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_ids:5000:warm", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 6.419001100002788 + ], + "median_seconds": 6.419001100002788, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 7577600, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_gradient:5000:cold", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.204434200015385 + ], + "median_seconds": 4.204434200015385, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 676, + "fault_points_total": 140000, + "field_points_total": 6275000, + "peak_extra_rss_bytes": 18468864, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_gradient:5000:warm", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.286563000001479 + ], + "median_seconds": 4.286563000001479, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 676, + "fault_points_total": 140000, + "field_points_total": 6275000, + "peak_extra_rss_bytes": 18042880, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_gradient:5000:cold", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 15.257121999980882 + ], + "median_seconds": 15.257121999980882, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2221, + "fault_points_total": 500000, + "field_points_total": 22685000, + "peak_extra_rss_bytes": 26562560, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_gradient:5000:warm", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 15.425941999943461 + ], + "median_seconds": 15.425941999943461, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2221, + "fault_points_total": 500000, + "field_points_total": 22685000, + "peak_extra_rss_bytes": 19918848, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_value:5000:cold", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.04877979995217174, + 0.04905769997276366, + 0.048053800011985004, + 0.0505492000374943, + 0.048326299991458654 + ], + "median_seconds": 0.04877979995217174, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 72, + "fault_points_total": 5000, + "field_points_total": 87037, + "peak_extra_rss_bytes": 61440, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_value:5000:warm", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.04750599997350946, + 0.04702749999705702, + 0.04865469998912886, + 0.046826900041196495, + 0.04510300001129508 + ], + "median_seconds": 0.04702749999705702, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 72, + "fault_points_total": 5000, + "field_points_total": 87037, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:all_group_values:5000:cold", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.05255010002292693, + 0.05153060000156984, + 0.050710299983620644, + 0.05064430000493303, + 0.049121999996714294 + ], + "median_seconds": 0.050710299983620644, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:all_group_values:5000:warm", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.04942519997712225, + 0.04969779995735735, + 0.05146230000536889, + 0.05099240003619343, + 0.05127679998986423 + ], + "median_seconds": 0.05099240003619343, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 28672, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:5000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.04989779996685684, + 0.04972670000279322, + 0.05141590000130236, + 0.04983960004756227, + 0.04881429998204112 + ], + "median_seconds": 0.04983960004756227, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 28672, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:5000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.05018349998863414, + 0.05126969999400899, + 0.0481912000104785, + 0.05055230000289157, + 0.05117759999120608 + ], + "median_seconds": 0.05055230000289157, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:50000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.4472955000237562, + 0.4402463000151329, + 0.4393061999580823, + 0.44358249998185784, + 0.4473192000295967 + ], + "median_seconds": 0.44358249998185784, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 50000, + "field_points_total": 969150, + "peak_extra_rss_bytes": 24068096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:50000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.44695200002752244, + 0.44803059997502714, + 0.4436042999732308, + 0.43956960004288703, + 0.44829279999248683 + ], + "median_seconds": 0.44695200002752244, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 50000, + "field_points_total": 969150, + "peak_extra_rss_bytes": 21073920, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:5000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2742011999944225, + 0.26361120003275573, + 0.2654736000113189, + 0.2656957999570295, + 0.26271579996682703 + ], + "median_seconds": 0.2654736000113189, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 82, + "fault_points_total": 20000, + "field_points_total": 469006, + "peak_extra_rss_bytes": 5922816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:5000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.2671041000285186, + 0.2638128999969922, + 0.2707706000073813, + 0.2627932000323199, + 0.26477369997883216 + ], + "median_seconds": 0.26477369997883216, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 82, + "fault_points_total": 20000, + "field_points_total": 469006, + "peak_extra_rss_bytes": 6901760, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:50000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.605783800012432 + ], + "median_seconds": 6.605783800012432, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 96, + "fault_points_total": 200000, + "field_points_total": 6408607, + "peak_extra_rss_bytes": 103571456, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:50000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 6.654974899953231 + ], + "median_seconds": 6.654974899953231, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 96, + "fault_points_total": 200000, + "field_points_total": 6408607, + "peak_extra_rss_bytes": 100134912, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_gradient:5000:cold", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2720070999930613, + 0.2797529000090435, + 0.27959390002069995, + 0.2750917000230402, + 0.26856650004629046 + ], + "median_seconds": 0.2750917000230402, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 84, + "fault_points_total": 20000, + "field_points_total": 478015, + "peak_extra_rss_bytes": 5246976, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_gradient:5000:warm", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.27083970000967383, + 0.2687265999848023, + 0.2663850999670103, + 0.2691194000071846, + 0.27016390004428104 + ], + "median_seconds": 0.2691194000071846, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 84, + "fault_points_total": 20000, + "field_points_total": 478015, + "peak_extra_rss_bytes": 5201920, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_value:5000:cold", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 10.330788300023414 + ], + "median_seconds": 10.330788300023414, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 16277504, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_value:5000:warm", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 10.351346599985845 + ], + "median_seconds": 10.351346599985845, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 17678336, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:all_group_values:5000:cold", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 10.87436900002649 + ], + "median_seconds": 10.87436900002649, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 18223104, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:all_group_values:5000:warm", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 10.87732169998344 + ], + "median_seconds": 10.87732169998344, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 21389312, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_ids:5000:cold", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 10.969976100022905 + ], + "median_seconds": 10.969976100022905, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 21868544, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_ids:5000:warm", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 11.203377800004091 + ], + "median_seconds": 11.203377800004091, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 22241280, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_gradient:5000:cold", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 55.096497100021224 + ], + "median_seconds": 55.096497100021224, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 108605440, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_gradient:5000:warm", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 48.27721680002287 + ], + "median_seconds": 48.27721680002287, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 105025536, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_gradient:5000:cold", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 44.19395210000221 + ], + "median_seconds": 44.19395210000221, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 105754624, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_gradient:5000:warm", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 44.58032589999493 + ], + "median_seconds": 44.58032589999493, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 98836480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_value:5000:cold", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.11421819997485727, + 0.10984719998668879, + 0.10995549999643117, + 0.10593329998664558, + 0.11414439999498427 + ], + "median_seconds": 0.10995549999643117, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 144, + "fault_points_total": 10000, + "field_points_total": 214989, + "peak_extra_rss_bytes": 348160, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_value:5000:warm", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.11354279995430261, + 0.11004759999923408, + 0.10949130001245067, + 0.10953810001956299, + 0.11995960003696382 + ], + "median_seconds": 0.11004759999923408, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 144, + "fault_points_total": 10000, + "field_points_total": 214989, + "peak_extra_rss_bytes": 45056, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:all_group_values:5000:cold", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.23436669999500737, + 0.24671969999326393, + 0.22198410000419244, + 0.22005050000734627, + 0.21890609996626154 + ], + "median_seconds": 0.22198410000419244, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 287, + "fault_points_total": 20000, + "field_points_total": 428682, + "peak_extra_rss_bytes": 40960, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:all_group_values:5000:warm", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.21953810000559315, + 0.24416060000658035, + 0.24868840002454817, + 0.22993219998897985, + 0.21937330003129318 + ], + "median_seconds": 0.22993219998897985, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 287, + "fault_points_total": 20000, + "field_points_total": 428682, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:5000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2163777999812737, + 0.21647770004346967, + 0.21747560001676902, + 0.21079019998433068, + 0.21503670001402497 + ], + "median_seconds": 0.2163777999812737, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 20000, + "field_points_total": 423682, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:5000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.21583519998239353, + 0.2200412999955006, + 0.2163919000304304, + 0.21655140002258122, + 0.21723520004888996 + ], + "median_seconds": 0.21655140002258122, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 20000, + "field_points_total": 423682, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:50000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.290506599994842 + ], + "median_seconds": 2.290506599994842, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 200000, + "field_points_total": 4258913, + "peak_extra_rss_bytes": 23838720, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:50000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.19961140002124 + ], + "median_seconds": 2.19961140002124, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 200000, + "field_points_total": 4258913, + "peak_extra_rss_bytes": 22892544, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_gradient:5000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.46444250002969056, + 0.45831870002439246, + 0.46193519997177646, + 0.45464949996676296, + 0.4595648000249639 + ], + "median_seconds": 0.4595648000249639, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 154, + "fault_points_total": 25000, + "field_points_total": 663848, + "peak_extra_rss_bytes": 4497408, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_gradient:5000:warm", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.4516295000212267, + 0.46191180002642795, + 0.47667189995991066, + 0.45731640001758933, + 0.4617096000001766 + ], + "median_seconds": 0.4617096000001766, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 154, + "fault_points_total": 25000, + "field_points_total": 663848, + "peak_extra_rss_bytes": 3186688, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_gradient:100000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 100000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 45.51422539999476 + ], + "median_seconds": 45.51422539999476, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 164, + "fault_points_total": 500000, + "field_points_total": 15894553, + "peak_extra_rss_bytes": 213581824, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_gradient:5000:cold", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.9077584000187926, + 0.9169593999977224, + 0.9257451999583282, + 0.9376305000041611, + 0.9069832000532188 + ], + "median_seconds": 0.9169593999977224, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 306, + "fault_points_total": 50000, + "field_points_total": 1321400, + "peak_extra_rss_bytes": 5267456, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_gradient:5000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.9322363000246696, + 0.9099326000432484, + 0.9052713999990374, + 0.8988649999955669, + 0.9016543000470847 + ], + "median_seconds": 0.9052713999990374, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 306, + "fault_points_total": 50000, + "field_points_total": 1321400, + "peak_extra_rss_bytes": 6467584, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_gradient:100000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 92.11057079996681 + ], + "median_seconds": 92.11057079996681, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 326, + "fault_points_total": 1000000, + "field_points_total": 31662954, + "peak_extra_rss_bytes": 266354688, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_value:5000:cold", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.13039000000571832, + 0.13382530002854764, + 0.13493499998003244, + 0.1321481000049971, + 0.1292762000230141 + ], + "median_seconds": 0.1321481000049971, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 6799360, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_value:5000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.12837429996579885, + 0.14306329999817535, + 0.12905490002594888, + 0.12769639998441562, + 0.12979850004194304 + ], + "median_seconds": 0.12905490002594888, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 7946240, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_value:50000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.6953069000155665 + ], + "median_seconds": 1.6953069000155665, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 50000, + "field_points_total": 2050000, + "peak_extra_rss_bytes": 138452992, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:all_group_values:5000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.24753450002754107, + 0.24818940000841394, + 0.2484995999839157, + 0.2465391000150703, + 0.24407980003161356 + ], + "median_seconds": 0.24753450002754107, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 410000, + "peak_extra_rss_bytes": 6373376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:all_group_values:5000:warm", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.24494189996039495, + 0.2565940000349656, + 0.2466071000089869, + 0.24718559999018908, + 0.24913439998636022 + ], + "median_seconds": 0.24718559999018908, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 410000, + "peak_extra_rss_bytes": 3874816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:all_group_values:100000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 100000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.89003369997954 + ], + "median_seconds": 6.89003369997954, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 200000, + "field_points_total": 8200000, + "peak_extra_rss_bytes": 278130688, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_ids:5000:cold", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.13697280001360923, + 0.12074089999077842, + 0.12260629999218509, + 0.12157299998216331, + 0.11720219999551773 + ], + "median_seconds": 0.12157299998216331, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 3072000, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_ids:5000:warm", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.11890209995908663, + 0.11758310004370287, + 0.12018859997624531, + 0.11853709997376427, + 0.1216423999867402 + ], + "median_seconds": 0.11890209995908663, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 1945600, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_gradient:5000:cold", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.6902988000074401, + 0.677756099961698, + 0.6876529000001028, + 0.6873791000107303, + 0.6808468999806792 + ], + "median_seconds": 0.6873791000107303, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 42700800, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_gradient:5000:warm", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6993874000036158, + 0.6802100000204518, + 0.687605099985376, + 0.6883742000209168, + 0.7150191999971867 + ], + "median_seconds": 0.6883742000209168, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 40345600, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_gradient:5000:cold", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.6467842999845743, + 0.64449739997508, + 0.6276847000117414, + 0.6682740999967791, + 0.6307272000121884 + ], + "median_seconds": 0.64449739997508, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 13328384, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_gradient:5000:warm", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6337955999770202, + 0.6451889000018127, + 0.6279806999955326, + 0.6489828999619931, + 0.6354941000463441 + ], + "median_seconds": 0.6354941000463441, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 12165120, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:5000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.905152800027281, + 0.9206470000208355, + 0.9068335000192747, + 0.9245224999613129, + 0.9182109999819659 + ], + "median_seconds": 0.9182109999819659, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 2351104, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:5000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.9056004000012763, + 0.9342873999848962, + 0.9046780000207946, + 0.9089715000009164, + 0.9127775999950245 + ], + "median_seconds": 0.9089715000009164, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 1941504, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:20000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.396965399966575 + ], + "median_seconds": 4.396965399966575, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 12881920, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:20000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.350149300007615 + ], + "median_seconds": 4.350149300007615, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 15790080, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:5000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.9517138000228442, + 0.9455241999821737, + 0.9252629000111483, + 0.9417664999491535, + 0.9393991999677382 + ], + "median_seconds": 0.9417664999491535, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 4075520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:5000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.9218822000548244, + 0.9229645999730565, + 0.9347316999919713, + 0.925361100002192, + 0.9161319999839179 + ], + "median_seconds": 0.9229645999730565, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 3559424, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:20000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.40632910002023 + ], + "median_seconds": 4.40632910002023, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 14061568, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:20000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.365019599965308 + ], + "median_seconds": 4.365019599965308, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 15831040, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:5000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.9352002999512479, + 0.9400144999963231, + 0.9316119999857619, + 0.9266361000481993, + 0.920255700009875 + ], + "median_seconds": 0.9316119999857619, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 1982464, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:5000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.9197090999805368, + 0.9250072999857366, + 0.9476603000075556, + 0.9433793000061996, + 0.9426919000106864 + ], + "median_seconds": 0.9426919000106864, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 1212416, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:20000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.336591999977827 + ], + "median_seconds": 4.336591999977827, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 15474688, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:20000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.340598599985242 + ], + "median_seconds": 4.340598599985242, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 16019456, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:5000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.233182800002396 + ], + "median_seconds": 3.233182800002396, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 15605760, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:5000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.25181759998668 + ], + "median_seconds": 3.25181759998668, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 16572416, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:20000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 14.379649499955121 + ], + "median_seconds": 14.379649499955121, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 74670080, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:20000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 14.392609400034416 + ], + "median_seconds": 14.392609400034416, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 75071488, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:5000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.2269513999926858 + ], + "median_seconds": 3.2269513999926858, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 9281536, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:5000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.221182500012219 + ], + "median_seconds": 3.221182500012219, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 14688256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:20000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 14.718572500045411 + ], + "median_seconds": 14.718572500045411, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 79331328, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:20000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 16.098041600023862 + ], + "median_seconds": 16.098041600023862, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 79405056, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + } + ], + "provenance": { + "python": "3.13.12", + "numpy": "2.4.6", + "scipy": "1.18.0", + "loopstructural": "1.11.0", + "os": "Windows-11-10.0.26200-SP0", + "cpu": "Intel64 Family 6 Model 154 Stepping 3, GenuineIntel", + "ram_bytes": 34014814208 + }, + "pytest_benchmark": { + "raw": { + "benchmarks": [ + { + "extra_info": { + "case_id": "f0_u0:oldest_value:5000:cold", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.002068099973257631, + 0.0019503000075928867, + 0.001777700032107532, + 0.0016051999991759658, + 0.0019091999856755137 + ], + "median": 0.0019091999856755137 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_value:5000:warm", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0018500000005587935, + 0.0017832000157795846, + 0.0019308999762870371, + 0.0017351999995298684, + 0.0017002999666146934 + ], + "median": 0.0017832000157795846 + } + }, + { + "extra_info": { + "case_id": "f0_u0:all_group_values:5000:cold", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0018114999984391034, + 0.0016608000150881708, + 0.001585999969393015, + 0.0015371000044979155, + 0.0017489000456407666 + ], + "median": 0.0016608000150881708 + } + }, + { + "extra_info": { + "case_id": "f0_u0:all_group_values:5000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0016675000078976154, + 0.0015636999742127955, + 0.001560899952892214, + 0.001607299956958741, + 0.0015872999792918563 + ], + "median": 0.0015872999792918563 + } + }, + { + "extra_info": { + "case_id": "f0_u0:all_group_values:100000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05045599996810779, + 0.05641919997287914, + 0.049797400017268956, + 0.04840069997590035, + 0.049797700019553304 + ], + "median": 0.049797700019553304 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_ids:5000:cold", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0024849000037647784, + 0.0017082999693229795, + 0.0015867000329308212, + 0.0015799999819137156, + 0.0016281999996863306 + ], + "median": 0.0016281999996863306 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_ids:5000:warm", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0017278000013902783, + 0.001821699959691614, + 0.0016102000372484326, + 0.0015984000056050718, + 0.0015937999705784023 + ], + "median": 0.0016102000372484326 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_gradient:5000:cold", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0049842000007629395, + 0.005423199967481196, + 0.0055250999866984785, + 0.005502999993041158, + 0.005801300052553415 + ], + "median": 0.005502999993041158 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_gradient:5000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006794199987780303, + 0.005661999981384724, + 0.0054843000252731144, + 0.0066220000153407454, + 0.005751800024881959 + ], + "median": 0.005751800024881959 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_gradient:100000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.15797389997169375, + 0.15779819997260347, + 0.15550170000642538, + 0.15658720000647008, + 0.16163459996460006 + ], + "median": 0.15779819997260347 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_gradient:5000:cold", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006807400030083954, + 0.005890099972020835, + 0.006284200004301965, + 0.005052799999248236, + 0.004926600027829409 + ], + "median": 0.005890099972020835 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_gradient:5000:warm", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.005539799982216209, + 0.004602200002409518, + 0.004628999973647296, + 0.004686900007072836, + 0.004593499994371086 + ], + "median": 0.004628999973647296 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_value:5000:cold", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0021188000100664794, + 0.002530300000216812, + 0.002279900014400482, + 0.0019546999828889966, + 0.0019848999800160527 + ], + "median": 0.0021188000100664794 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_value:5000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.002323900000192225, + 0.0021179000032134354, + 0.0027472999645397067, + 0.0021296999766491354, + 0.002043799962848425 + ], + "median": 0.0021296999766491354 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_value:100000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.06462129997089505, + 0.060751000011805445, + 0.06566490000113845, + 0.062178100051824, + 0.06052240001736209 + ], + "median": 0.062178100051824 + } + }, + { + "extra_info": { + "case_id": "f0_u1:all_group_values:5000:cold", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.005964700016193092, + 0.005401600035838783, + 0.005069800012279302, + 0.004931200004648417, + 0.005303700047079474 + ], + "median": 0.005303700047079474 + } + }, + { + "extra_info": { + "case_id": "f0_u1:all_group_values:5000:warm", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.005284299957565963, + 0.005051199987065047, + 0.004842899972572923, + 0.0051790999714285135, + 0.006345300003886223 + ], + "median": 0.0051790999714285135 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_ids:5000:cold", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.005417300038971007, + 0.0058723000111058354, + 0.00547610002104193, + 0.005699099972844124, + 0.005404600000474602 + ], + "median": 0.00547610002104193 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_ids:5000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006167799991089851, + 0.005306700011715293, + 0.004912500036880374, + 0.005414300016127527, + 0.004887300019618124 + ], + "median": 0.005306700011715293 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_ids:50000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0727887999964878, + 0.07676789996912703, + 0.07434190000640228, + 0.07424410001840442, + 0.07564559997990727 + ], + "median": 0.07434190000640228 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_gradient:5000:cold", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0036286000395193696, + 0.003000299970153719, + 0.0028938999748788774, + 0.0028668000013567507, + 0.0030832000193186104 + ], + "median": 0.003000299970153719 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_gradient:5000:warm", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0027658999897539616, + 0.0026433999883010983, + 0.002687399974092841, + 0.0026347999810241163, + 0.0026951999752782285 + ], + "median": 0.002687399974092841 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_gradient:5000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.008379000006243587, + 0.008014199964236468, + 0.008127200009766966, + 0.008919799991417676, + 0.009172199992462993 + ], + "median": 0.008379000006243587 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_gradient:5000:warm", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.009931500011589378, + 0.008898800006136298, + 0.010050500044599175, + 0.009374199958983809, + 0.010194800037425011 + ], + "median": 0.009931500011589378 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_gradient:100000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2685257999692112, + 0.25931839999975637, + 0.2615455000195652, + 0.2623248000163585, + 0.2649698000168428 + ], + "median": 0.2623248000163585 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_value:5000:cold", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0043052000110037625, + 0.0038830999983474612, + 0.003924399963580072, + 0.005086799967102706, + 0.003863199963234365 + ], + "median": 0.003924399963580072 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_value:5000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.004400199977681041, + 0.0035980999819003046, + 0.003590799984522164, + 0.003546199994161725, + 0.0035811000270769 + ], + "median": 0.003590799984522164 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_value:50000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05348890001187101, + 0.051058300014119595, + 0.05331160000059754, + 0.05194350000238046, + 0.053055700031109154 + ], + "median": 0.053055700031109154 + } + }, + { + "extra_info": { + "case_id": "f0_u2:all_group_values:5000:cold", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.010802200005855411, + 0.010641800006851554, + 0.010952300042845309, + 0.010104299988597631, + 0.009735399973578751 + ], + "median": 0.010641800006851554 + } + }, + { + "extra_info": { + "case_id": "f0_u2:all_group_values:5000:warm", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0097237000009045, + 0.009076999966055155, + 0.009477700048591942, + 0.009317999996710569, + 0.0093889000127092 + ], + "median": 0.0093889000127092 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_ids:5000:cold", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.009720999980345368, + 0.009805000037886202, + 0.00942590000340715, + 0.010386799986008555, + 0.010734699957538396 + ], + "median": 0.009805000037886202 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_ids:5000:warm", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.01036680000834167, + 0.00945849996060133, + 0.010408899979665875, + 0.011027000029571354, + 0.009411300008650869 + ], + "median": 0.01036680000834167 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_gradient:5000:cold", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.004978100012522191, + 0.004551400023046881, + 0.0045826000277884305, + 0.004289600008632988, + 0.004016899969428778 + ], + "median": 0.004551400023046881 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_gradient:5000:warm", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.004325799993239343, + 0.004490199964493513, + 0.004221999959554523, + 0.004282100009731948, + 0.004432399990037084 + ], + "median": 0.004325799993239343 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_gradient:5000:cold", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.013218999956734478, + 0.013487699965480715, + 0.016148500028066337, + 0.015929600049275905, + 0.01474200002849102 + ], + "median": 0.01474200002849102 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_gradient:5000:warm", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.01351509999949485, + 0.013595999975223094, + 0.014493399998173118, + 0.015112499997485429, + 0.015613399969879538 + ], + "median": 0.014493399998173118 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_value:5000:cold", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.005829599977005273, + 0.00531610002508387, + 0.004898999992292374, + 0.005735200014896691, + 0.005170200020074844 + ], + "median": 0.00531610002508387 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_value:5000:warm", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006841599999461323, + 0.0054314000299200416, + 0.005453000019770116, + 0.005504600005224347, + 0.005303300044033676 + ], + "median": 0.005453000019770116 + } + }, + { + "extra_info": { + "case_id": "f0_u3:all_group_values:5000:cold", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.01622069999575615, + 0.014839500014204532, + 0.015507299976889044, + 0.015079400036484003, + 0.01517609995789826 + ], + "median": 0.01517609995789826 + } + }, + { + "extra_info": { + "case_id": "f0_u3:all_group_values:5000:warm", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.016359100001864135, + 0.01607399998465553, + 0.01664570003049448, + 0.01768320001428947, + 0.016541699995286763 + ], + "median": 0.016541699995286763 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_ids:5000:cold", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.016845299978740513, + 0.01591219997499138, + 0.016089200042188168, + 0.015376399969682097, + 0.018382999987807125 + ], + "median": 0.016089200042188168 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_ids:5000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.016061500005889684, + 0.01595089997863397, + 0.019311600015498698, + 0.01711570000043139, + 0.016126400034409016 + ], + "median": 0.016126400034409016 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_ids:100000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5313122000079602, + 0.5138811999931931, + 0.5248948999796994, + 0.5082644999492913, + 0.5249256999813952 + ], + "median": 0.5248948999796994 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_gradient:5000:cold", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.00665830000070855, + 0.005738899984862655, + 0.006454400019720197, + 0.006554800027515739, + 0.006253100000321865 + ], + "median": 0.006454400019720197 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_gradient:5000:warm", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0065818000002764165, + 0.006229499995242804, + 0.006744500016793609, + 0.00629980000667274, + 0.006035499973222613 + ], + "median": 0.00629980000667274 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_gradient:5000:cold", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.020895700028631836, + 0.020169299968983978, + 0.0205275000189431, + 0.022402799979317933, + 0.02380030002677813 + ], + "median": 0.020895700028631836 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_gradient:5000:warm", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.019658400036860257, + 0.019598999992012978, + 0.022156900027766824, + 0.024128599965479225, + 0.021844000031705946 + ], + "median": 0.021844000031705946 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:5000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.11904620000859722, + 0.12240120000205934, + 0.1278740999987349, + 0.12562259996775538, + 0.12323610001476482 + ], + "median": 0.12323610001476482 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:5000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.12375410000095144, + 0.11719280004035681, + 0.11994369997410104, + 0.12069110001903027, + 0.12839480000548065 + ], + "median": 0.12069110001903027 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:20000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.640385199978482, + 0.6161739999661222, + 0.622929299948737, + 0.6350927000166848, + 0.6070963999954984 + ], + "median": 0.622929299948737 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:20000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6240868999739178, + 0.6274746999843046, + 0.6004090000060387, + 0.6097240999806672, + 0.6149061999749392 + ], + "median": 0.6149061999749392 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:5000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.12268550001317635, + 0.1206077000242658, + 0.12085740000475198, + 0.11959249997744337, + 0.12174040003446862 + ], + "median": 0.12085740000475198 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:5000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.12067909998586401, + 0.12251849996391684, + 0.11768610001308843, + 0.12245600001187995, + 0.12559799995506182 + ], + "median": 0.12245600001187995 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:100000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.890157799993176 + ], + "median": 2.890157799993176 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:20000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.619518399995286, + 0.6335709000122733, + 0.6323375999927521, + 0.6332378999795765, + 0.6325441999942996 + ], + "median": 0.6325441999942996 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:20000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6171990999719128, + 0.6289252000278793, + 0.6244051000103354, + 0.6499038999900222, + 0.6208713999949396 + ], + "median": 0.6244051000103354 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:5000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.1239314999547787, + 0.11910259997239336, + 0.1206378000206314, + 0.11972680001053959, + 0.1274505999754183 + ], + "median": 0.1206378000206314 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:5000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.11840430001029745, + 0.1255529999616556, + 0.12402170000132173, + 0.12004589999560267, + 0.12401109997881576 + ], + "median": 0.12401109997881576 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:20000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6263962000375614, + 0.6289376000058837, + 0.6228085999609903, + 0.6346645999583416, + 0.6365091999759898 + ], + "median": 0.6289376000058837 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:20000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6173340000095777, + 0.6392885000095703, + 0.6321299999835901, + 0.6343243999872357, + 0.6240189000382088 + ], + "median": 0.6321299999835901 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:5000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7207389999530278, + 0.7484465999878012, + 0.7187262999941595, + 0.7237212000181898, + 0.7353980000480078 + ], + "median": 0.7237212000181898 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:5000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7237333999946713, + 0.7266032999614254, + 0.7135088000213727, + 0.7236385000287555, + 0.7282544000190683 + ], + "median": 0.7237333999946713 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:20000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.616600000008475 + ], + "median": 2.616600000008475 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:20000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.635825000004843 + ], + "median": 2.635825000004843 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:5000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7303714000154287, + 0.7449282000306994, + 0.7199979999568313, + 0.7264191000140272, + 0.7279379999963567 + ], + "median": 0.7279379999963567 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:5000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7332341999863274, + 0.7129294000333175, + 0.721944400051143, + 0.730888899997808, + 0.7261257000500336 + ], + "median": 0.7261257000500336 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:20000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.6712154999841005 + ], + "median": 2.6712154999841005 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:20000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.6335637999582104 + ], + "median": 2.6335637999582104 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_value:5000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2508679000311531, + 0.25264949997654185, + 0.24559140001656488, + 0.24733119999291375, + 0.2479458999587223 + ], + "median": 0.2479458999587223 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_value:5000:warm", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2492528999573551, + 0.2617929999832995, + 0.24278060003416613, + 0.2539711999706924, + 0.240970799990464 + ], + "median": 0.2492528999573551 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_value:50000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.7515411999775097 + ], + "median": 2.7515411999775097 + } + }, + { + "extra_info": { + "case_id": "f1_u1:all_group_values:5000:cold", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5018266999977641, + 0.49882560002151877, + 0.49103649996686727, + 0.5092183999950066, + 0.5115294000133872 + ], + "median": 0.5018266999977641 + } + }, + { + "extra_info": { + "case_id": "f1_u1:all_group_values:5000:warm", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.4872732000076212, + 0.4905267000431195, + 0.5120926999952644, + 0.4950990999932401, + 0.4938797000213526 + ], + "median": 0.4938797000213526 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_ids:5000:cold", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.49773699999786913, + 0.5128202000050806, + 0.5029291000100784, + 0.5193601999781094, + 0.5145166000002064 + ], + "median": 0.5128202000050806 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_ids:5000:warm", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5035367999807931, + 0.5104905000189319, + 0.5102594000054523, + 0.5105552999884821, + 0.513347000000067 + ], + "median": 0.5104905000189319 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_gradient:5000:cold", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.8645651999977417, + 0.8743816999485716, + 0.9046364999958314, + 0.8794669000199065, + 0.8982778999488801 + ], + "median": 0.8794669000199065 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_gradient:5000:warm", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.8779981000116095, + 0.8753036999842152, + 0.8992602999787778, + 0.8833472999976948, + 0.9075518000172451 + ], + "median": 0.8833472999976948 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_gradient:5000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.5254161999910139 + ], + "median": 1.5254161999910139 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_gradient:5000:warm", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.4742510000360198 + ], + "median": 1.4742510000360198 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_gradient:100000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 41.706459899956826 + ], + "median": 41.706459899956826 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_value:5000:cold", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.3709979999694042, + 0.3622265000012703, + 0.3829048000043258, + 0.3749182999599725, + 0.38614500005496666 + ], + "median": 0.3749182999599725 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_value:5000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.38297069998225197, + 0.3878691999707371, + 0.4047283999971114, + 0.39082229998894036, + 0.3732550999848172 + ], + "median": 0.3878691999707371 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_value:100000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 8.680168899998534 + ], + "median": 8.680168899998534 + } + }, + { + "extra_info": { + "case_id": "f1_u2:all_group_values:5000:cold", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0156925999908708, + 1.0590040000388399, + 1.044426599983126, + 1.0089434999972582, + 1.0229821000248194 + ], + "median": 1.0229821000248194 + } + }, + { + "extra_info": { + "case_id": "f1_u2:all_group_values:5000:warm", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0039974999963306, + 1.0236241000238806, + 1.0233113000285812, + 0.9983935999916866, + 1.0191213000216521 + ], + "median": 1.0191213000216521 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_ids:5000:cold", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.026077999966219, + 1.0462311999872327, + 1.0393097999622114, + 1.0382861000252888, + 1.0879079999867827 + ], + "median": 1.0393097999622114 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_ids:5000:warm", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.018956000043545, + 1.0593572999932803, + 1.051239299995359, + 1.0635128999711014, + 1.0476165000000037 + ], + "median": 1.051239299995359 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_gradient:5000:cold", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0718397999880835, + 1.0948930000304244, + 1.0519596000085585, + 1.0681607000296935, + 1.0529204999911599 + ], + "median": 1.0681607000296935 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_gradient:5000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0190844999742694, + 1.09067430003779, + 1.0639800999779254, + 1.0464701000018977, + 1.0606563999899663 + ], + "median": 1.0606563999899663 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_gradient:50000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 11.80544149997877 + ], + "median": 11.80544149997877 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_gradient:5000:cold", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.5456754000042565 + ], + "median": 2.5456754000042565 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_gradient:5000:warm", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.5114410999813117 + ], + "median": 2.5114410999813117 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_value:5000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5457310000201687, + 0.5117296000244096, + 0.5319450999959372, + 0.5481136000016704, + 0.563020899950061 + ], + "median": 0.5457310000201687 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_value:5000:warm", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5517877000384033, + 0.5374649000004865, + 0.5280609999899752, + 0.5328385999891907, + 0.5196707000141032 + ], + "median": 0.5328385999891907 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_value:50000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 5.707260199997108 + ], + "median": 5.707260199997108 + } + }, + { + "extra_info": { + "case_id": "f1_u3:all_group_values:5000:cold", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.5190386999747716 + ], + "median": 1.5190386999747716 + } + }, + { + "extra_info": { + "case_id": "f1_u3:all_group_values:5000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.526821099978406 + ], + "median": 1.526821099978406 + } + }, + { + "extra_info": { + "case_id": "f1_u3:all_group_values:100000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 38.29761960002361 + ], + "median": 38.29761960002361 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_ids:5000:cold", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.6283047000179067 + ], + "median": 1.6283047000179067 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_ids:5000:warm", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.595578000007663 + ], + "median": 1.595578000007663 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_gradient:5000:cold", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0523066999739967 + ], + "median": 1.0523066999739967 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_gradient:5000:warm", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0360149999614805 + ], + "median": 1.0360149999614805 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_gradient:5000:cold", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.780666899983771 + ], + "median": 3.780666899983771 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_gradient:5000:warm", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.7822315000230446 + ], + "median": 3.7822315000230446 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_value:5000:cold", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2690763999707997, + 0.2626422999892384, + 0.2650862999726087, + 0.271334899996873, + 0.2502510999911465 + ], + "median": 0.2650862999726087 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_value:5000:warm", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.24148909997893497, + 0.257906400016509, + 0.2546367999748327, + 0.25508129998343065, + 0.2609806000255048 + ], + "median": 0.25508129998343065 + } + }, + { + "extra_info": { + "case_id": "f2_u0:all_group_values:5000:cold", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2671293999883346, + 0.2790598999708891, + 0.25618290004786104, + 0.2516671000048518, + 0.248188300000038 + ], + "median": 0.25618290004786104 + } + }, + { + "extra_info": { + "case_id": "f2_u0:all_group_values:5000:warm", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2599266999750398, + 0.25569040002301335, + 0.2665761999669485, + 0.2823126000002958, + 0.3063772000023164 + ], + "median": 0.2665761999669485 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_ids:5000:cold", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2570401999983005, + 0.2474872000166215, + 0.24368459999095649, + 0.2518069000216201, + 0.2532146999728866 + ], + "median": 0.2518069000216201 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_ids:5000:warm", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.25951120001263916, + 0.2721171000157483, + 0.27581390005070716, + 0.24921989999711514, + 0.2542213999549858 + ], + "median": 0.25951120001263916 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_gradient:5000:cold", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.2779561000061221 + ], + "median": 1.2779561000061221 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_gradient:5000:warm", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.2726700999774039 + ], + "median": 1.2726700999774039 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_gradient:5000:cold", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.2684096999582835 + ], + "median": 1.2684096999582835 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_gradient:5000:warm", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.264825300022494 + ], + "median": 1.264825300022494 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_value:5000:cold", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5286656999960542, + 0.5174718999769539, + 0.5196204000385478, + 0.4995308999787085, + 0.5130373000283726 + ], + "median": 0.5174718999769539 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_value:5000:warm", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5026235999539495, + 0.49289449997013435, + 0.5278702999930829, + 0.5098348999745212, + 0.5265247999923304 + ], + "median": 0.5098348999745212 + } + }, + { + "extra_info": { + "case_id": "f2_u1:all_group_values:5000:cold", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0785885999794118, + 1.0232945999596268, + 1.0756162000470795, + 1.0069631000515074, + 1.0373151999665424 + ], + "median": 1.0373151999665424 + } + }, + { + "extra_info": { + "case_id": "f2_u1:all_group_values:5000:warm", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0016330999787897 + ], + "median": 1.0016330999787897 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_ids:5000:cold", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.095970899972599, + 1.0256746999803, + 1.0544349999981932, + 1.0329445999814197, + 1.064743000024464 + ], + "median": 1.0544349999981932 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_ids:5000:warm", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.029523800010793, + 1.024722899950575, + 1.028291100054048, + 1.0434004999697208, + 1.0465226999949664 + ], + "median": 1.029523800010793 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_gradient:5000:cold", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.4962985000456683 + ], + "median": 1.4962985000456683 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_gradient:5000:warm", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.4962633000104688 + ], + "median": 1.4962633000104688 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_gradient:5000:cold", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.0212548000272363 + ], + "median": 3.0212548000272363 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_gradient:5000:warm", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.027707399975043 + ], + "median": 3.027707399975043 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_value:5000:cold", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7636357999872416, + 0.7741989000351168, + 0.7645794999552891, + 0.7753158999839798, + 0.7724716999800876 + ], + "median": 0.7724716999800876 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_value:5000:warm", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7719630000065081, + 0.7755593999754637, + 0.8383472999557853, + 0.7740265999455005, + 0.8257853999966756 + ], + "median": 0.7755593999754637 + } + }, + { + "extra_info": { + "case_id": "f2_u2:all_group_values:5000:cold", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.982988599978853 + ], + "median": 1.982988599978853 + } + }, + { + "extra_info": { + "case_id": "f2_u2:all_group_values:5000:warm", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9491811000043526 + ], + "median": 1.9491811000043526 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_ids:5000:cold", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.962593799980823 + ], + "median": 1.962593799980823 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_ids:5000:warm", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.0035154999932274 + ], + "median": 2.0035154999932274 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_gradient:5000:cold", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.7587933000177145 + ], + "median": 1.7587933000177145 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_gradient:5000:warm", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.840141799999401 + ], + "median": 1.840141799999401 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_gradient:5000:cold", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 5.338217500015162 + ], + "median": 5.338217500015162 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_gradient:5000:warm", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 5.3179529999615625 + ], + "median": 5.3179529999615625 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_value:5000:cold", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.052356600004714, + 1.0307074000011198, + 1.1399670000537299, + 1.268872700049542, + 1.119987600017339 + ], + "median": 1.119987600017339 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_value:5000:warm", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.2274102999945171, + 1.1132458999636583, + 1.2591526999603957, + 1.1653907000436448, + 1.0543655999936163 + ], + "median": 1.1653907000436448 + } + }, + { + "extra_info": { + "case_id": "f2_u3:all_group_values:5000:cold", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.203311199962627 + ], + "median": 3.203311199962627 + } + }, + { + "extra_info": { + "case_id": "f2_u3:all_group_values:5000:warm", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.224883700022474 + ], + "median": 3.224883700022474 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_ids:5000:cold", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.2550287999911234 + ], + "median": 3.2550287999911234 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_ids:5000:warm", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.204978800029494 + ], + "median": 3.204978800029494 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_gradient:5000:cold", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.126916799985338 + ], + "median": 2.126916799985338 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_gradient:5000:warm", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.1161456999834627 + ], + "median": 2.1161456999834627 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_gradient:5000:cold", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 7.763050800014753 + ], + "median": 7.763050800014753 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_gradient:5000:warm", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 7.812964800046757 + ], + "median": 7.812964800046757 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_value:5000:cold", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5127995999646373, + 0.508513499982655, + 0.5258036000304855, + 0.518570100015495, + 0.5178258999949321 + ], + "median": 0.5178258999949321 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_value:5000:warm", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5139832000131719, + 0.5263782999827527, + 0.5374083999777213, + 0.49777300003916025, + 0.5163746000034735 + ], + "median": 0.5163746000034735 + } + }, + { + "extra_info": { + "case_id": "f4_u0:all_group_values:5000:cold", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.49768510001013055, + 0.5470221000141464, + 0.5431733999866992, + 0.5027357999933884, + 0.5049971000407822 + ], + "median": 0.5049971000407822 + } + }, + { + "extra_info": { + "case_id": "f4_u0:all_group_values:5000:warm", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5084901000373065, + 0.5839879999984987, + 0.6080113000352867, + 0.512987099995371, + 0.5060660999733955 + ], + "median": 0.512987099995371 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_ids:5000:cold", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.4773624000372365, + 0.5064765000133775, + 0.45997530000749975, + 0.47142459999304265, + 0.48329180001746863 + ], + "median": 0.4773624000372365 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_ids:5000:warm", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.4913247000076808, + 0.4748341999948025, + 0.47042480000527576, + 0.4809308999683708, + 0.49638120003510267 + ], + "median": 0.4809308999683708 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_gradient:5000:cold", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.803797599975951 + ], + "median": 2.803797599975951 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_gradient:5000:warm", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.86700990004465 + ], + "median": 2.86700990004465 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_gradient:5000:cold", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.860447299957741 + ], + "median": 2.860447299957741 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_gradient:5000:warm", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.859276300005149 + ], + "median": 2.859276300005149 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_value:5000:cold", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9945942999911495, + 1.0643767999717966, + 1.0246182000264525, + 1.03366840002127, + 1.0355517999851145 + ], + "median": 1.03366840002127 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_value:5000:warm", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0108217000379227, + 0.993421999970451, + 0.9760817000060342, + 0.9322534999810159, + 0.917735300026834 + ], + "median": 0.9760817000060342 + } + }, + { + "extra_info": { + "case_id": "f4_u1:all_group_values:5000:cold", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9642460999893956 + ], + "median": 1.9642460999893956 + } + }, + { + "extra_info": { + "case_id": "f4_u1:all_group_values:5000:warm", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9502380999620073 + ], + "median": 1.9502380999620073 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_ids:5000:cold", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9797849000315182 + ], + "median": 1.9797849000315182 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_ids:5000:warm", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.999988499970641 + ], + "median": 1.999988499970641 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_gradient:5000:cold", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.3745074999751523 + ], + "median": 3.3745074999751523 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_gradient:5000:warm", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.3228911999613047 + ], + "median": 3.3228911999613047 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_gradient:5000:cold", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.6700405000010505 + ], + "median": 6.6700405000010505 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_gradient:5000:warm", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 6.676962699973956 + ], + "median": 6.676962699973956 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_value:5000:cold", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.4792096999590285 + ], + "median": 1.4792096999590285 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_value:5000:warm", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.5198838000069372 + ], + "median": 1.5198838000069372 + } + }, + { + "extra_info": { + "case_id": "f4_u2:all_group_values:5000:cold", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.9738230999791995 + ], + "median": 3.9738230999791995 + } + }, + { + "extra_info": { + "case_id": "f4_u2:all_group_values:5000:warm", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.9269449000130408 + ], + "median": 3.9269449000130408 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_ids:5000:cold", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.9031956999679096 + ], + "median": 3.9031956999679096 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_ids:5000:warm", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.927701500011608 + ], + "median": 3.927701500011608 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_gradient:5000:cold", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.798103000037372 + ], + "median": 3.798103000037372 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_gradient:5000:warm", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.8003344999742694 + ], + "median": 3.8003344999742694 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_gradient:5000:cold", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 10.86372260004282 + ], + "median": 10.86372260004282 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_gradient:5000:warm", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 10.960749900026713 + ], + "median": 10.960749900026713 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_value:5000:cold", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9626029999926686 + ], + "median": 1.9626029999926686 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_value:5000:warm", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9906872999854386 + ], + "median": 1.9906872999854386 + } + }, + { + "extra_info": { + "case_id": "f4_u3:all_group_values:5000:cold", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.478232700028457 + ], + "median": 6.478232700028457 + } + }, + { + "extra_info": { + "case_id": "f4_u3:all_group_values:5000:warm", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 6.369451500009745 + ], + "median": 6.369451500009745 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_ids:5000:cold", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.337184400006663 + ], + "median": 6.337184400006663 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_ids:5000:warm", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 6.419001100002788 + ], + "median": 6.419001100002788 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_gradient:5000:cold", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.204434200015385 + ], + "median": 4.204434200015385 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_gradient:5000:warm", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.286563000001479 + ], + "median": 4.286563000001479 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_gradient:5000:cold", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 15.257121999980882 + ], + "median": 15.257121999980882 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_gradient:5000:warm", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 15.425941999943461 + ], + "median": 15.425941999943461 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_value:5000:cold", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.04877979995217174, + 0.04905769997276366, + 0.048053800011985004, + 0.0505492000374943, + 0.048326299991458654 + ], + "median": 0.04877979995217174 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_value:5000:warm", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.04750599997350946, + 0.04702749999705702, + 0.04865469998912886, + 0.046826900041196495, + 0.04510300001129508 + ], + "median": 0.04702749999705702 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:all_group_values:5000:cold", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05255010002292693, + 0.05153060000156984, + 0.050710299983620644, + 0.05064430000493303, + 0.049121999996714294 + ], + "median": 0.050710299983620644 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:all_group_values:5000:warm", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.04942519997712225, + 0.04969779995735735, + 0.05146230000536889, + 0.05099240003619343, + 0.05127679998986423 + ], + "median": 0.05099240003619343 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:5000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.04989779996685684, + 0.04972670000279322, + 0.05141590000130236, + 0.04983960004756227, + 0.04881429998204112 + ], + "median": 0.04983960004756227 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:5000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05018349998863414, + 0.05126969999400899, + 0.0481912000104785, + 0.05055230000289157, + 0.05117759999120608 + ], + "median": 0.05055230000289157 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:50000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.4472955000237562, + 0.4402463000151329, + 0.4393061999580823, + 0.44358249998185784, + 0.4473192000295967 + ], + "median": 0.44358249998185784 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:50000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.44695200002752244, + 0.44803059997502714, + 0.4436042999732308, + 0.43956960004288703, + 0.44829279999248683 + ], + "median": 0.44695200002752244 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:5000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2742011999944225, + 0.26361120003275573, + 0.2654736000113189, + 0.2656957999570295, + 0.26271579996682703 + ], + "median": 0.2654736000113189 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:5000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2671041000285186, + 0.2638128999969922, + 0.2707706000073813, + 0.2627932000323199, + 0.26477369997883216 + ], + "median": 0.26477369997883216 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:50000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.605783800012432 + ], + "median": 6.605783800012432 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:50000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 6.654974899953231 + ], + "median": 6.654974899953231 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_gradient:5000:cold", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2720070999930613, + 0.2797529000090435, + 0.27959390002069995, + 0.2750917000230402, + 0.26856650004629046 + ], + "median": 0.2750917000230402 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_gradient:5000:warm", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.27083970000967383, + 0.2687265999848023, + 0.2663850999670103, + 0.2691194000071846, + 0.27016390004428104 + ], + "median": 0.2691194000071846 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_value:5000:cold", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 10.330788300023414 + ], + "median": 10.330788300023414 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_value:5000:warm", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 10.351346599985845 + ], + "median": 10.351346599985845 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:all_group_values:5000:cold", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 10.87436900002649 + ], + "median": 10.87436900002649 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:all_group_values:5000:warm", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 10.87732169998344 + ], + "median": 10.87732169998344 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_ids:5000:cold", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 10.969976100022905 + ], + "median": 10.969976100022905 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_ids:5000:warm", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 11.203377800004091 + ], + "median": 11.203377800004091 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_gradient:5000:cold", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 55.096497100021224 + ], + "median": 55.096497100021224 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_gradient:5000:warm", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 48.27721680002287 + ], + "median": 48.27721680002287 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_gradient:5000:cold", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 44.19395210000221 + ], + "median": 44.19395210000221 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_gradient:5000:warm", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 44.58032589999493 + ], + "median": 44.58032589999493 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_value:5000:cold", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.11421819997485727, + 0.10984719998668879, + 0.10995549999643117, + 0.10593329998664558, + 0.11414439999498427 + ], + "median": 0.10995549999643117 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_value:5000:warm", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.11354279995430261, + 0.11004759999923408, + 0.10949130001245067, + 0.10953810001956299, + 0.11995960003696382 + ], + "median": 0.11004759999923408 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:all_group_values:5000:cold", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.23436669999500737, + 0.24671969999326393, + 0.22198410000419244, + 0.22005050000734627, + 0.21890609996626154 + ], + "median": 0.22198410000419244 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:all_group_values:5000:warm", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.21953810000559315, + 0.24416060000658035, + 0.24868840002454817, + 0.22993219998897985, + 0.21937330003129318 + ], + "median": 0.22993219998897985 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:5000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2163777999812737, + 0.21647770004346967, + 0.21747560001676902, + 0.21079019998433068, + 0.21503670001402497 + ], + "median": 0.2163777999812737 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:5000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.21583519998239353, + 0.2200412999955006, + 0.2163919000304304, + 0.21655140002258122, + 0.21723520004888996 + ], + "median": 0.21655140002258122 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:50000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.290506599994842 + ], + "median": 2.290506599994842 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:50000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.19961140002124 + ], + "median": 2.19961140002124 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_gradient:5000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.46444250002969056, + 0.45831870002439246, + 0.46193519997177646, + 0.45464949996676296, + 0.4595648000249639 + ], + "median": 0.4595648000249639 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_gradient:5000:warm", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.4516295000212267, + 0.46191180002642795, + 0.47667189995991066, + 0.45731640001758933, + 0.4617096000001766 + ], + "median": 0.4617096000001766 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_gradient:100000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 45.51422539999476 + ], + "median": 45.51422539999476 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_gradient:5000:cold", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9077584000187926, + 0.9169593999977224, + 0.9257451999583282, + 0.9376305000041611, + 0.9069832000532188 + ], + "median": 0.9169593999977224 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_gradient:5000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9322363000246696, + 0.9099326000432484, + 0.9052713999990374, + 0.8988649999955669, + 0.9016543000470847 + ], + "median": 0.9052713999990374 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_gradient:100000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 92.11057079996681 + ], + "median": 92.11057079996681 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_value:5000:cold", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.13039000000571832, + 0.13382530002854764, + 0.13493499998003244, + 0.1321481000049971, + 0.1292762000230141 + ], + "median": 0.1321481000049971 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_value:5000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.12837429996579885, + 0.14306329999817535, + 0.12905490002594888, + 0.12769639998441562, + 0.12979850004194304 + ], + "median": 0.12905490002594888 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_value:50000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.6953069000155665 + ], + "median": 1.6953069000155665 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:all_group_values:5000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.24753450002754107, + 0.24818940000841394, + 0.2484995999839157, + 0.2465391000150703, + 0.24407980003161356 + ], + "median": 0.24753450002754107 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:all_group_values:5000:warm", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.24494189996039495, + 0.2565940000349656, + 0.2466071000089869, + 0.24718559999018908, + 0.24913439998636022 + ], + "median": 0.24718559999018908 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:all_group_values:100000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.89003369997954 + ], + "median": 6.89003369997954 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_ids:5000:cold", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.13697280001360923, + 0.12074089999077842, + 0.12260629999218509, + 0.12157299998216331, + 0.11720219999551773 + ], + "median": 0.12157299998216331 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_ids:5000:warm", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.11890209995908663, + 0.11758310004370287, + 0.12018859997624531, + 0.11853709997376427, + 0.1216423999867402 + ], + "median": 0.11890209995908663 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_gradient:5000:cold", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6902988000074401, + 0.677756099961698, + 0.6876529000001028, + 0.6873791000107303, + 0.6808468999806792 + ], + "median": 0.6873791000107303 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_gradient:5000:warm", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6993874000036158, + 0.6802100000204518, + 0.687605099985376, + 0.6883742000209168, + 0.7150191999971867 + ], + "median": 0.6883742000209168 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_gradient:5000:cold", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6467842999845743, + 0.64449739997508, + 0.6276847000117414, + 0.6682740999967791, + 0.6307272000121884 + ], + "median": 0.64449739997508 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_gradient:5000:warm", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6337955999770202, + 0.6451889000018127, + 0.6279806999955326, + 0.6489828999619931, + 0.6354941000463441 + ], + "median": 0.6354941000463441 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:5000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.905152800027281, + 0.9206470000208355, + 0.9068335000192747, + 0.9245224999613129, + 0.9182109999819659 + ], + "median": 0.9182109999819659 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:5000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9056004000012763, + 0.9342873999848962, + 0.9046780000207946, + 0.9089715000009164, + 0.9127775999950245 + ], + "median": 0.9089715000009164 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:20000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.396965399966575 + ], + "median": 4.396965399966575 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:20000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.350149300007615 + ], + "median": 4.350149300007615 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:5000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9517138000228442, + 0.9455241999821737, + 0.9252629000111483, + 0.9417664999491535, + 0.9393991999677382 + ], + "median": 0.9417664999491535 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:5000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9218822000548244, + 0.9229645999730565, + 0.9347316999919713, + 0.925361100002192, + 0.9161319999839179 + ], + "median": 0.9229645999730565 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:20000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.40632910002023 + ], + "median": 4.40632910002023 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:20000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.365019599965308 + ], + "median": 4.365019599965308 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:5000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9352002999512479, + 0.9400144999963231, + 0.9316119999857619, + 0.9266361000481993, + 0.920255700009875 + ], + "median": 0.9316119999857619 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:5000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9197090999805368, + 0.9250072999857366, + 0.9476603000075556, + 0.9433793000061996, + 0.9426919000106864 + ], + "median": 0.9426919000106864 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:20000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.336591999977827 + ], + "median": 4.336591999977827 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:20000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.340598599985242 + ], + "median": 4.340598599985242 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:5000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.233182800002396 + ], + "median": 3.233182800002396 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:5000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.25181759998668 + ], + "median": 3.25181759998668 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:20000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 14.379649499955121 + ], + "median": 14.379649499955121 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:20000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 14.392609400034416 + ], + "median": 14.392609400034416 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:5000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.2269513999926858 + ], + "median": 3.2269513999926858 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:5000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.221182500012219 + ], + "median": 3.221182500012219 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:20000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 14.718572500045411 + ], + "median": 14.718572500045411 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:20000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 16.098041600023862 + ], + "median": 16.098041600023862 + } + } + ] + } + }, + "suite_wall_seconds": 3270.5989180000033 +} \ No newline at end of file diff --git a/specs/003-fault-evaluation-performance/baseline.md b/specs/003-fault-evaluation-performance/baseline.md new file mode 100644 index 000000000..3b026c901 --- /dev/null +++ b/specs/003-fault-evaluation-performance/baseline.md @@ -0,0 +1,128 @@ +# Baseline of the standard benchmark suite (T011) + +This file records the benchmark baseline of the code before the performance +changes of spec 003. It was measured on 2026-11-02. The numbers come from +`baseline.json` and `baseline_repeat.json` in this folder. + +## What was measured + +- **Suite**: the standard suite (254 cases): all 210 cases at 5,000 points, the + 20 cases at 20,000 points, and the 24 fixed cases at 50,000 and 100,000 points + (plan D2). Both result files have the same 254 case ids. +- **Code**: revision `617cfea703f25a8ca3c1fc092752c7bc9ec48b27`, a clean tree + (dirty flag false). The corrected gradient code of T034 is included. No + performance change is included. +- **Computer**: Intel64 Family 6 Model 154, 34.0 GB RAM, Windows 11 + (10.0.26200). Python 3.13.12, NumPy 2.4.6, SciPy 1.18.0, LoopStructural 1.11.0. +- **Commands** (output and work directories were outside the repository, and the + result files were copied here): + + ``` + python -m benchmarks.fault_evaluation.run --suite standard --output /baseline.json --work-dir /run1.work + python -m benchmarks.fault_evaluation.run --suite standard --output /baseline_repeat.json --work-dir /run2.work + python -m benchmarks.fault_evaluation.compare baseline.json baseline_repeat.json --output + ``` + +- **Rounds**: every case runs one round first. A timing case with a first-round + median below 1.0 s runs again for 5 rounds. In run 1, 142 cases have 5 rounds: + the 130 cases with a final median below 1.0 s, and 12 cases whose 5-round + median is 1.0 s or more (1.02 s to 1.17 s). In run 2, 131 cases have 5 rounds. + The other cases have one round. 124 cases have a final median of 1.0 s or + more. +- **Source of the pass times**: the times of each pass in the table below come + from the run logs and the `meta.json` files of the work directories, which are + not committed. The result files hold only the total, `suite_wall_seconds` + (3,270.6 s and 3,425.6 s). + +## Runtime of the suite + +| Run | Timing pass | Counters pass | Memory pass | Whole run | +|---|---|---|---|---| +| 1 (`baseline.json`) | 1,219 s | 969 s | 1,083 s | 3,271 s (54.5 min) | +| 2 (`baseline_repeat.json`) | 1,280 s | 1,057 s | 1,088 s | 3,426 s (57.1 min) | + +Both runs are inside the budget of about 1 hour (C-006). SC-008 (under 15 minutes) +is a target for the code after this feature. It is not tested here. + +## Values that the success criteria use (run 1, cold, median seconds) + +| Case | Time | Fault calls | Field calls | Fault points | Peak extra memory | +|---|---|---|---|---|---| +| `f4_u3:oldest_value:5000` | 1.963 s | 16 | 644 | 80,000 | 2.0 MB | +| `f4_u3:all_group_values:5000` | 6.478 s | 52 | 2,093 | 260,000 | 5.5 MB | +| `f4_u3:model_ids:5000` | 6.337 s | 52 | 2,093 | 260,000 | 6.3 MB | +| `f4_u0:all_group_values:5000` | 0.505 s | 4 | 161 | 20,000 | 7.9 MB | +| `plugin:oldest_value:20000` | 4.397 s | 12 | 502 | 240,000 | 12.9 MB | +| `f1_u0:oldest_value:20000` | 0.623 s | 1 | 41 | 20,000 | 14.1 MB | + +- The fault-call counts agree with the spec: 16 for the oldest group and 52 for all + groups of the model with 4 faults and 3 unconformities. +- The times on this computer are lower than the numbers of `research.md` + (1.96 s against 2.55 s, 6.48 s against 8.65 s). The success criteria use ratios + against this baseline, so this does not change a target. For SC-004 the + baseline ratio of `f4_u3` to `f4_u0` (all groups, 5,000 points) is 12.8 + (spec: 12.9). +- A warm case on the code before this feature takes the same time as a cold case + (`f4_u3:model_ids:5000`: 6.337 s cold, 6.419 s warm), as expected, because there + is no cache. The runner does not make a priming call for a model with no cache. + +## Noise between the two runs (SC-007) + +The limit is a difference of less than 10 % (ratio below 1.10) for each case with a +baseline time of 1.0 s or more (spec SC-007, plan D2b). + +| Group | Cases | Median noise ratio | Largest | Cases at 1.10 or more | +|---|---|---|---|---| +| Baseline time 1.0 s or more | 124 | 1.053 | 1.442 | **35** | +| Baseline time below 1.0 s (reported only) | 130 | 1.097 | 1.457 | 64 | + +**SC-007 FAILS on this baseline: 35 of 124 checked cases differ by 10 % or more.** +The largest are `f1_u2:oldest_gradient:50000:warm` (11.8 s and 17.0 s, ratio 1.44), +`cutting_faults:model_gradient:5000:warm` (44.6 s and 61.0 s, 1.37) and +`f1_u2:model_gradient:5000:warm` (2.5 s and 3.4 s, 1.37). + +Observations, not conclusions: + +- Run 2 is slower in most cases. The sum of the medians is 943 s in run 1 and 1,044 + s in run 2 (11 % more), and the whole run took 4.7 % longer. The direction is the + same in most groups, which points to a drift of the computer (heat, background + load) more than to random noise in single cases. This record cannot prove the + cause. +- A case that the first step measured at 1.0 s or more has one timed round, so it + has no averaging (112 of the 124 checked cases). The other 12 checked cases have + 5 rounds. +- The compare tool marks 98 cases as slower than the noise limit. The fault and + field counts and the point counts are equal in every case between the two runs. + The compare tool gives an undefined ratio where the count is 0 (94 count fields, + for example the fault counts of the models with no fault). + +The scaling tables of the compare tool (median ratio of run 2 to run 1, by group): + +| Unconformities (F = 0) | 0 | 1 | 2 | 3 | +|---|---|---|---|---| +| Ratio | 1.08 | 1.11 | 1.15 | 1.09 | + +| Faults (U = 0) | 0 | 1 | 2 | 4 | +|---|---|---|---|---| +| Ratio | 1.08 | 1.10 | 1.00 | 1.00 | + +## Decision needed (OP2) + +SC-007 fails, so plan open point OP2 is active. The plan says to report the measured +result and to ask for an explicit spec decision. Nothing was removed from the suite +and no number was changed to make the check pass. Options for the decision: + +1. Keep SC-007 as written and repeat the baseline on a quiet computer, with the + same code, to see if the drift goes away. +2. Measure the cases of 1.0 s or more with more rounds (for example 3), which + lengthens the suite. +3. Change SC-007 to a looser limit, or to a comparison of the sum of the medians. + +Work on the next tasks does not depend on this decision. The final acceptance +check (T030) does. + +## Files + +- `baseline.json`: run 1. `baseline_repeat.json`: run 2. +- The work directories (checkpoint files and the raw benchmark data) stay outside + the repository, in `C:/Users/lachl/dev/ls-bench-003/std/`. diff --git a/specs/003-fault-evaluation-performance/baseline_repeat.json b/specs/003-fault-evaluation-performance/baseline_repeat.json new file mode 100644 index 000000000..2ddc34877 --- /dev/null +++ b/specs/003-fault-evaluation-performance/baseline_repeat.json @@ -0,0 +1,11483 @@ +{ + "schema_version": 1, + "cases": [ + { + "case_id": "f0_u0:oldest_value:5000:cold", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0023503999691456556, + 0.0018990000244230032, + 0.0020927999867126346, + 0.0018730000010691583, + 0.0017880999948829412 + ], + "median_seconds": 0.0018990000244230032, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 1310720, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_value:5000:warm", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0018680999637581408, + 0.0017814000020734966, + 0.0018452000222168863, + 0.0017748000100255013, + 0.0017872999887913465 + ], + "median_seconds": 0.0017872999887913465, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 208896, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:all_group_values:5000:cold", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0018746000132523477, + 0.0017376000178046525, + 0.001713200006633997, + 0.0017343999934382737, + 0.0018313999753445387 + ], + "median_seconds": 0.0017376000178046525, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 32768, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:all_group_values:5000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0018683000234887004, + 0.001731499971356243, + 0.0017452000174671412, + 0.0017092000343836844, + 0.001722100016195327 + ], + "median_seconds": 0.001731499971356243, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:all_group_values:100000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.05571390001568943, + 0.05765470000915229, + 0.06028779997723177, + 0.05859130003955215, + 0.05846880003809929 + ], + "median_seconds": 0.05846880003809929, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 100000, + "peak_extra_rss_bytes": 35471360, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_ids:5000:cold", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.002375699987169355, + 0.0020539999823085964, + 0.0017515000072307885, + 0.0017216000123880804, + 0.001728000002913177 + ], + "median_seconds": 0.0017515000072307885, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 1728512, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_ids:5000:warm", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0018503000028431416, + 0.0017235999694094062, + 0.0017843000241555274, + 0.001782700011972338, + 0.0017259999876841903 + ], + "median_seconds": 0.001782700011972338, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 131072, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_gradient:5000:cold", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.005390699952840805, + 0.005274399998597801, + 0.0064070000080391765, + 0.006146500003524125, + 0.005956499953754246 + ], + "median_seconds": 0.005956499953754246, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 458752, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_gradient:5000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0062410999671556056, + 0.006149700027890503, + 0.00619599997298792, + 0.005787599948234856, + 0.0067878999980166554 + ], + "median_seconds": 0.00619599997298792, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:oldest_gradient:100000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.1716895999852568, + 0.16052219999255612, + 0.16785739996703342, + 0.1658379000145942, + 0.17057369998656213 + ], + "median_seconds": 0.16785739996703342, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 100000, + "peak_extra_rss_bytes": 70221824, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_gradient:5000:cold", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.006011200021021068, + 0.0070730000152252614, + 0.0063596999971196055, + 0.006438000011257827, + 0.006229099992197007 + ], + "median_seconds": 0.0063596999971196055, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 491520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u0:model_gradient:5000:warm", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.006666699948254973, + 0.006902499997522682, + 0.006456999981310219, + 0.006192400003783405, + 0.005524199979845434 + ], + "median_seconds": 0.006456999981310219, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 1, + "fault_points_total": 0, + "field_points_total": 5000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_value:5000:cold", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0026211999938823283, + 0.0022532999864779413, + 0.002174600027501583, + 0.002219200017862022, + 0.0021883000154048204 + ], + "median_seconds": 0.002219200017862022, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 622592, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_value:5000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.002404900034889579, + 0.0022799999569542706, + 0.0022379999863915145, + 0.002184299984946847, + 0.0022433000267483294 + ], + "median_seconds": 0.0022433000267483294, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_value:100000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.06805230001918972, + 0.06493079999927431, + 0.07045379996998236, + 0.06422709999606013, + 0.06828509998740628 + ], + "median_seconds": 0.06805230001918972, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 120106, + "peak_extra_rss_bytes": 36790272, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:all_group_values:5000:cold", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0059495000168681145, + 0.005851800029631704, + 0.005446600029245019, + 0.00533980003092438, + 0.005981700029224157 + ], + "median_seconds": 0.005851800029631704, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 2359296, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:all_group_values:5000:warm", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.005827899964060634, + 0.0053449999541044235, + 0.005646600038744509, + 0.006000599998515099, + 0.006194900022819638 + ], + "median_seconds": 0.005827899964060634, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_ids:5000:cold", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.006598200008738786, + 0.0059272999642416835, + 0.0067467999760992825, + 0.006026500021107495, + 0.00610419997246936 + ], + "median_seconds": 0.00610419997246936, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 319488, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_ids:5000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.006212499982211739, + 0.0068576999474316835, + 0.005958900030236691, + 0.0057758999755606055, + 0.006212199979927391 + ], + "median_seconds": 0.006212199979927391, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_ids:50000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 50000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0820209999801591, + 0.0798892000457272, + 0.0848446000018157, + 0.09526870003901422, + 0.0879368000314571 + ], + "median_seconds": 0.0848446000018157, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 150000, + "peak_extra_rss_bytes": 18567168, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_gradient:5000:cold", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0038613000069744885, + 0.003277899988461286, + 0.0035395000013522804, + 0.003296000009868294, + 0.003358400019351393 + ], + "median_seconds": 0.003358400019351393, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 2031616, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:oldest_gradient:5000:warm", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.00360319996252656, + 0.0031526999664492905, + 0.003126499999780208, + 0.0031584000098519027, + 0.003216099983546883 + ], + "median_seconds": 0.0031584000098519027, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 2, + "fault_points_total": 0, + "field_points_total": 5991, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_gradient:5000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.009840300015639514, + 0.009308500040788203, + 0.011044599988963455, + 0.011340899975039065, + 0.01443069998640567 + ], + "median_seconds": 0.011044599988963455, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_gradient:5000:warm", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.010262400028295815, + 0.008792600012384355, + 0.010744899976998568, + 0.010130600014235824, + 0.01103049999801442 + ], + "median_seconds": 0.010262400028295815, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u1:model_gradient:100000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2715227999724448, + 0.2686950000352226, + 0.2953486000187695, + 0.28206400002818555, + 0.2871399999712594 + ], + "median_seconds": 0.28206400002818555, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 300000, + "peak_extra_rss_bytes": 69668864, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_value:5000:cold", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.004707000043708831, + 0.004047999973408878, + 0.003948299970943481, + 0.003850500041153282, + 0.004494399996474385 + ], + "median_seconds": 0.004047999973408878, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 258048, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_value:5000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.004334600002039224, + 0.004095800046343356, + 0.004188599996268749, + 0.0038896999903954566, + 0.0038308000075630844 + ], + "median_seconds": 0.004095800046343356, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_value:50000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 50000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.05877269996562973, + 0.06235899997409433, + 0.060788200004026294, + 0.05943609995301813, + 0.05971559998579323 + ], + "median_seconds": 0.05971559998579323, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 110041, + "peak_extra_rss_bytes": 22204416, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:all_group_values:5000:cold", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.011837600031867623, + 0.01082460000179708, + 0.010453300026711076, + 0.010639699990861118, + 0.010823599994182587 + ], + "median_seconds": 0.010823599994182587, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 2801664, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:all_group_values:5000:warm", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.012270500010345131, + 0.01234620000468567, + 0.011138000001665205, + 0.014951299992389977, + 0.01394950004760176 + ], + "median_seconds": 0.01234620000468567, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_ids:5000:cold", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.014287600002717227, + 0.013837199949193746, + 0.014421300031244755, + 0.014661599998362362, + 0.012991800031159073 + ], + "median_seconds": 0.014287600002717227, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_ids:5000:warm", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.012739199970383197, + 0.012977100035641342, + 0.013180099951568991, + 0.012151600036304444, + 0.012144299980718642 + ], + "median_seconds": 0.012739199970383197, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_gradient:5000:cold", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.0054067999590188265, + 0.005279099976178259, + 0.005124000017531216, + 0.0050900999922305346, + 0.005192000011447817 + ], + "median_seconds": 0.005192000011447817, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:oldest_gradient:5000:warm", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.0052562999771907926, + 0.0054024000419303775, + 0.004984300001524389, + 0.004990599991288036, + 0.005287299980409443 + ], + "median_seconds": 0.0052562999771907926, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 3, + "fault_points_total": 0, + "field_points_total": 10991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_gradient:5000:cold", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.01629739999771118, + 0.014746499946340919, + 0.017443299992009997, + 0.018034600012470037, + 0.016981499968096614 + ], + "median_seconds": 0.016981499968096614, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u2:model_gradient:5000:warm", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.016272699984256178, + 0.015930499997921288, + 0.01815269998041913, + 0.017003200016915798, + 0.017889700015075505 + ], + "median_seconds": 0.017003200016915798, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 8, + "fault_points_total": 0, + "field_points_total": 30000, + "peak_extra_rss_bytes": 5361664, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_value:5000:cold", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.006236999994143844, + 0.006200700008776039, + 0.006520800001453608, + 0.00597240001661703, + 0.00854300003265962 + ], + "median_seconds": 0.006236999994143844, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 630784, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_value:5000:warm", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.006877399981021881, + 0.006238800007849932, + 0.005957000015769154, + 0.005905500031076372, + 0.005844999977853149 + ], + "median_seconds": 0.005957000015769154, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 0, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:all_group_values:5000:cold", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.018757900048512965, + 0.02240939997136593, + 0.01805480004986748, + 0.020618900016415864, + 0.022702999995090067 + ], + "median_seconds": 0.020618900016415864, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 49152, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:all_group_values:5000:warm", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.01999880000948906, + 0.02107320004142821, + 0.021028899995144457, + 0.01946999999927357, + 0.0191301999730058 + ], + "median_seconds": 0.01999880000948906, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_ids:5000:cold", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.018463399959728122, + 0.01802499999757856, + 0.018049800011795014, + 0.017940199992153794, + 0.017385500017553568 + ], + "median_seconds": 0.01802499999757856, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_ids:5000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.02129029994830489, + 0.01850519998697564, + 0.016989299969282, + 0.01713609998114407, + 0.01652740000281483 + ], + "median_seconds": 0.01713609998114407, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_ids:100000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 100000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5464640999562107, + 0.5888658000039868, + 0.5679938999819569, + 0.5742490999982692, + 0.551287499954924 + ], + "median_seconds": 0.5679938999819569, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 1000000, + "peak_extra_rss_bytes": 45576192, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_gradient:5000:cold", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.008533600019291043, + 0.006776800029911101, + 0.0062058999901637435, + 0.006223800010047853, + 0.006259200046770275 + ], + "median_seconds": 0.006259200046770275, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 2129920, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:oldest_gradient:5000:warm", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.006871099991258234, + 0.006189800042193383, + 0.006288500037044287, + 0.006407800014130771, + 0.0063603000016883016 + ], + "median_seconds": 0.0063603000016883016, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 4, + "fault_points_total": 0, + "field_points_total": 15991, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_gradient:5000:cold", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.021934199961833656, + 0.021463800047058612, + 0.02345850004348904, + 0.022901499993167818, + 0.023860900022555143 + ], + "median_seconds": 0.022901499993167818, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 348160, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f0_u3:model_gradient:5000:warm", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.023073499964084476, + 0.02148489997489378, + 0.024841499980539083, + 0.023925299989059567, + 0.02340790000744164 + ], + "median_seconds": 0.02340790000744164, + "fault_calls_total": 0, + "fault_calls_top_level": 0, + "field_calls_total": 13, + "fault_points_total": 0, + "field_points_total": 50000, + "peak_extra_rss_bytes": 3264512, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:5000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.13680629996815696, + 0.1284150000428781, + 0.12957709998590872, + 0.13443889998598024, + 0.1325786000234075 + ], + "median_seconds": 0.1325786000234075, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 5382144, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:5000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.15152439998928457, + 0.1456463999929838, + 0.13877230003708974, + 0.1385526999947615, + 0.1307946000015363 + ], + "median_seconds": 0.13877230003708974, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 4440064, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:20000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.6495959999738261, + 0.6537159999716096, + 0.6536712999804877, + 0.668603099999018, + 0.6634571999893524 + ], + "median_seconds": 0.6537159999716096, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 14053376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_value:20000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6569185000262223, + 0.6917729999986477, + 0.6708785999799147, + 0.6993191000074148, + 0.6681976999971084 + ], + "median_seconds": 0.6708785999799147, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 16183296, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:5000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.13190969999413937, + 0.13682529999641702, + 0.13635769998654723, + 0.12671250000130385, + 0.1400996000156738 + ], + "median_seconds": 0.13635769998654723, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 6885376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:5000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.12959290004801005, + 0.13089159998344257, + 0.12696540000615641, + 0.13239300000714138, + 0.1280818999512121 + ], + "median_seconds": 0.12959290004801005, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 3821568, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:100000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.236893000022974 + ], + "median_seconds": 3.236893000022974, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 100000, + "field_points_total": 4100000, + "peak_extra_rss_bytes": 91328512, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:20000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.6648989000241272, + 0.6903936000308022, + 0.6604142999858595, + 0.6885401000035927, + 0.7047439999878407 + ], + "median_seconds": 0.6885401000035927, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 15794176, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:all_group_values:20000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6283079999848269, + 0.6715657000313513, + 0.6859804000123404, + 0.6637095000478439, + 0.6628667000331916 + ], + "median_seconds": 0.6637095000478439, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 19271680, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:5000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.14078279997920617, + 0.14309660001890734, + 0.14126770000439137, + 0.14436790003674105, + 0.13601610000478104 + ], + "median_seconds": 0.14126770000439137, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 6696960, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:5000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.13594250002643093, + 0.1321468999958597, + 0.1447698000119999, + 0.14645860000746325, + 0.13853499997640029 + ], + "median_seconds": 0.13853499997640029, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 4263936, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:20000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.6581957999733277, + 0.6898888999712653, + 0.6797811000142246, + 0.6803218999993987, + 0.6634104000404477 + ], + "median_seconds": 0.6797811000142246, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 17113088, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_ids:20000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.6559424999868497, + 0.6928155000205152, + 0.6862559999572113, + 0.6764034999650903, + 0.6573478999780491 + ], + "median_seconds": 0.6764034999650903, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 20000, + "field_points_total": 820000, + "peak_extra_rss_bytes": 19095552, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:5000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.7568674000212923, + 0.7723610000102781, + 0.7599386000074446, + 0.7766945000039414, + 0.8888999999617226 + ], + "median_seconds": 0.7723610000102781, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 19349504, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:5000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.8389580000075512, + 0.7859412000398152, + 0.8054286999977194, + 0.7812049000058323, + 0.7972895000129938 + ], + "median_seconds": 0.7972895000129938, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 19136512, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:20000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.009906299994327 + ], + "median_seconds": 3.009906299994327, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 78520320, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:oldest_gradient:20000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.0248928000219166 + ], + "median_seconds": 3.0248928000219166, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 80228352, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:5000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.7684808999765664, + 0.762994599994272, + 0.79253689997131, + 0.8122593000298366, + 0.7806746000424027 + ], + "median_seconds": 0.7806746000424027, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 21557248, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:5000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.7863965000142343, + 0.7958944999845698, + 0.8329964999575168, + 0.7793031000182964, + 0.8529174999566749 + ], + "median_seconds": 0.7958944999845698, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 48, + "fault_points_total": 20000, + "field_points_total": 960000, + "peak_extra_rss_bytes": 21508096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:20000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.953395200020168 + ], + "median_seconds": 2.953395200020168, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 80900096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u0:model_gradient:20000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.9786139999632724 + ], + "median_seconds": 2.9786139999632724, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 80000, + "field_points_total": 3920000, + "peak_extra_rss_bytes": 80625664, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_value:5000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.27351319999434054, + 0.262636500003282, + 0.2687698999652639, + 0.2737312000244856, + 0.2885938999825157 + ], + "median_seconds": 0.27351319999434054, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 405994, + "peak_extra_rss_bytes": 4206592, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_value:5000:warm", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.26683709997450933, + 0.2581143000279553, + 0.26821180002298206, + 0.25890429998980835, + 0.25949109997600317 + ], + "median_seconds": 0.25949109997600317, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 405994, + "peak_extra_rss_bytes": 6422528, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_value:50000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.1820749000180513 + ], + "median_seconds": 3.1820749000180513, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 100000, + "field_points_total": 4060116, + "peak_extra_rss_bytes": 48431104, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:all_group_values:5000:cold", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5022235999931581, + 0.5350269000045955, + 0.5121147999889217, + 0.5456494999816641, + 0.5541858000215143 + ], + "median_seconds": 0.5350269000045955, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 1404928, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:all_group_values:5000:warm", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5376893000211567, + 0.5380160000058822, + 0.5442396000144072, + 0.5324403999838978, + 0.5337289000162855 + ], + "median_seconds": 0.5376893000211567, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 6365184, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_ids:5000:cold", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5625592999858782, + 0.5615029000327922, + 0.5175958999898285, + 0.6047200000029989, + 0.5764452000148594 + ], + "median_seconds": 0.5625592999858782, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 6025216, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_ids:5000:warm", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5162752000032924, + 0.5325715999933891, + 0.529681000043638, + 0.6048951999982819, + 0.5325967999524437 + ], + "median_seconds": 0.5325715999933891, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815000, + "peak_extra_rss_bytes": 4628480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_gradient:5000:cold", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.904126700013876, + 0.9482272999593988, + 0.8952139000175521, + 0.9222357999533415, + 0.9325563000165857 + ], + "median_seconds": 0.9222357999533415, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 89, + "fault_points_total": 25000, + "field_points_total": 1165000, + "peak_extra_rss_bytes": 18980864, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:oldest_gradient:5000:warm", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.9642193000181578, + 1.1055143999983557, + 1.0582492999965325, + 0.95153040002333, + 0.8930277000181377 + ], + "median_seconds": 0.9642193000181578, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 89, + "fault_points_total": 25000, + "field_points_total": 1165000, + "peak_extra_rss_bytes": 19648512, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_gradient:5000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.6189383000019006 + ], + "median_seconds": 1.6189383000019006, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 178, + "fault_points_total": 50000, + "field_points_total": 2330000, + "peak_extra_rss_bytes": 22429696, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_gradient:5000:warm", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.664602700038813 + ], + "median_seconds": 1.664602700038813, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 178, + "fault_points_total": 50000, + "field_points_total": 2330000, + "peak_extra_rss_bytes": 22396928, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u1:model_gradient:100000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 54.29963399999542 + ], + "median_seconds": 54.29963399999542, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 184, + "fault_points_total": 1000000, + "field_points_total": 49000000, + "peak_extra_rss_bytes": 408313856, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_value:5000:cold", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.4040431000175886, + 0.44449129997519776, + 0.42122069996548817, + 0.3890469000325538, + 0.40167220000876114 + ], + "median_seconds": 0.4040431000175886, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 123, + "fault_points_total": 15000, + "field_points_total": 610994, + "peak_extra_rss_bytes": 4911104, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_value:5000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.4043750999844633, + 0.4016428000177257, + 0.39716540003428236, + 0.38108600000850856, + 0.4031914999941364 + ], + "median_seconds": 0.4016428000177257, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 123, + "fault_points_total": 15000, + "field_points_total": 610994, + "peak_extra_rss_bytes": 7839744, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_value:100000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 11.49049890000606 + ], + "median_seconds": 11.49049890000606, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 123, + "fault_points_total": 300000, + "field_points_total": 12220270, + "peak_extra_rss_bytes": 95186944, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:all_group_values:5000:cold", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.0204858999932185 + ], + "median_seconds": 1.0204858999932185, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 6025216, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:all_group_values:5000:warm", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.019113800022751 + ], + "median_seconds": 1.019113800022751, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 8540160, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_ids:5000:cold", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.0754881000029854 + ], + "median_seconds": 1.0754881000029854, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 7913472, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_ids:5000:warm", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.124261100019794 + ], + "median_seconds": 1.124261100019794, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 328, + "fault_points_total": 40000, + "field_points_total": 1630000, + "peak_extra_rss_bytes": 7675904, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_gradient:5000:cold", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.1075764000415802 + ], + "median_seconds": 1.1075764000415802, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 130, + "fault_points_total": 30000, + "field_points_total": 1370000, + "peak_extra_rss_bytes": 23105536, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_gradient:5000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.0695594000280835 + ], + "median_seconds": 1.0695594000280835, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 130, + "fault_points_total": 30000, + "field_points_total": 1370000, + "peak_extra_rss_bytes": 22724608, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:oldest_gradient:50000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 17.018059800029732 + ], + "median_seconds": 17.018059800029732, + "fault_calls_total": 3, + "fault_calls_top_level": 3, + "field_calls_total": 133, + "fault_points_total": 300000, + "field_points_total": 14300000, + "peak_extra_rss_bytes": 187232256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_gradient:5000:cold", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.360728500003461 + ], + "median_seconds": 3.360728500003461, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 349, + "fault_points_total": 85000, + "field_points_total": 3905000, + "peak_extra_rss_bytes": 16285696, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u2:model_gradient:5000:warm", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.435110500024166 + ], + "median_seconds": 3.435110500024166, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 349, + "fault_points_total": 85000, + "field_points_total": 3905000, + "peak_extra_rss_bytes": 19947520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_value:5000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.538966000021901, + 0.5587469000020064, + 0.5479267000337131, + 0.5539867000188679, + 0.5553762000054121 + ], + "median_seconds": 0.5539867000188679, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815994, + "peak_extra_rss_bytes": 3883008, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_value:5000:warm", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.514473800023552, + 0.5062316000112332, + 0.4990335000329651, + 0.5216685999766923, + 0.5652069000061601 + ], + "median_seconds": 0.514473800023552, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 20000, + "field_points_total": 815994, + "peak_extra_rss_bytes": 1335296, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_value:50000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 7.796990300004836 + ], + "median_seconds": 7.796990300004836, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 164, + "fault_points_total": 200000, + "field_points_total": 8160116, + "peak_extra_rss_bytes": 45666304, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:all_group_values:5000:cold", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.0157507000258192 + ], + "median_seconds": 2.0157507000258192, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 4423680, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:all_group_values:5000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.9047726999851875 + ], + "median_seconds": 1.9047726999851875, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 4308992, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:all_group_values:100000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 52.18211039999733 + ], + "median_seconds": 52.18211039999733, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 1300000, + "field_points_total": 53000000, + "peak_extra_rss_bytes": 109932544, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_ids:5000:cold", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.7267287999857217 + ], + "median_seconds": 1.7267287999857217, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 8839168, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_ids:5000:warm", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.6734830000204965 + ], + "median_seconds": 1.6734830000204965, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 533, + "fault_points_total": 65000, + "field_points_total": 2650000, + "peak_extra_rss_bytes": 2994176, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_gradient:5000:cold", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.0711286999867298 + ], + "median_seconds": 1.0711286999867298, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 171, + "fault_points_total": 35000, + "field_points_total": 1575000, + "peak_extra_rss_bytes": 15003648, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:oldest_gradient:5000:warm", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.052038200024981 + ], + "median_seconds": 1.052038200024981, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 171, + "fault_points_total": 35000, + "field_points_total": 1575000, + "peak_extra_rss_bytes": 23797760, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_gradient:5000:cold", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.6883024999988265 + ], + "median_seconds": 3.6883024999988265, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 561, + "fault_points_total": 125000, + "field_points_total": 5685000, + "peak_extra_rss_bytes": 24428544, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f1_u3:model_gradient:5000:warm", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.7526863999664783 + ], + "median_seconds": 3.7526863999664783, + "fault_calls_total": 13, + "fault_calls_top_level": 13, + "field_calls_total": 561, + "fault_points_total": 125000, + "field_points_total": 5685000, + "peak_extra_rss_bytes": 24776704, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_value:5000:cold", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.24536459997761995, + 0.24213179998332635, + 0.2491495000431314, + 0.24573749996488914, + 0.23662350000813603 + ], + "median_seconds": 0.24536459997761995, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 7376896, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_value:5000:warm", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.2655430000158958, + 0.25335310003720224, + 0.2548317000037059, + 0.25576219998765737, + 0.2609573000227101 + ], + "median_seconds": 0.25576219998765737, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 4186112, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:all_group_values:5000:cold", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.26307629997609183, + 0.2745951000251807, + 0.2773981000063941, + 0.2790303999790922, + 0.26312409999081865 + ], + "median_seconds": 0.2745951000251807, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 3874816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:all_group_values:5000:warm", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.26394719997188076, + 0.2842672999831848, + 0.2846235000179149, + 0.27154889999656007, + 0.2914022000040859 + ], + "median_seconds": 0.2842672999831848, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 3866624, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_ids:5000:cold", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.28662950004218146, + 0.3115471000201069, + 0.28825939999660477, + 0.25677019997965544, + 0.25286419998155907 + ], + "median_seconds": 0.28662950004218146, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 4055040, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_ids:5000:warm", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.26699550001649186, + 0.29725319996941835, + 0.2796466000145301, + 0.2705448000342585, + 0.25091439997777343 + ], + "median_seconds": 0.2705448000342585, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 81, + "fault_points_total": 10000, + "field_points_total": 405000, + "peak_extra_rss_bytes": 4198400, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_gradient:5000:cold", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.2566855999757536 + ], + "median_seconds": 1.2566855999757536, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 17637376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:oldest_gradient:5000:warm", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.2580361999571323 + ], + "median_seconds": 1.2580361999571323, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 16109568, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_gradient:5000:cold", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.2581294999690726 + ], + "median_seconds": 1.2581294999690726, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 23605248, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u0:model_gradient:5000:warm", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.2632413999526761 + ], + "median_seconds": 1.2632413999526761, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 91, + "fault_points_total": 40000, + "field_points_total": 1820000, + "peak_extra_rss_bytes": 23162880, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_value:5000:cold", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5088841000106186, + 0.5454133999883197, + 0.5863888000021689, + 0.5116601000190713, + 0.5119634000002407 + ], + "median_seconds": 0.5119634000002407, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 162, + "fault_points_total": 20000, + "field_points_total": 805997, + "peak_extra_rss_bytes": 7843840, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_value:5000:warm", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5144591999705881, + 0.5011124000302516, + 0.5405903999926522, + 0.5411422000033781, + 0.5411028999951668 + ], + "median_seconds": 0.5405903999926522, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 162, + "fault_points_total": 20000, + "field_points_total": 805997, + "peak_extra_rss_bytes": 1966080, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:all_group_values:5000:cold", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.0628638000343926, + 1.0960288000060245, + 1.068468599987682, + 1.0855687000439502, + 1.0524009999935515 + ], + "median_seconds": 1.068468599987682, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 3514368, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:all_group_values:5000:warm", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.0318642999627627, + 1.0552901000482962, + 1.0854386999853887, + 1.0192398999934085, + 1.0747371000470594 + ], + "median_seconds": 1.0552901000482962, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 3031040, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_ids:5000:cold", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.0657921999809332, + 1.0785298999981023, + 1.0597875000094064, + 1.1119521000073291, + 1.0438575000152923 + ], + "median_seconds": 1.0657921999809332, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 4923392, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_ids:5000:warm", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.0868761999881826, + 1.0414975000312552, + 1.041621100041084, + 1.0606954999966547, + 1.095530399994459 + ], + "median_seconds": 1.0606954999966547, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615000, + "peak_extra_rss_bytes": 5369856, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_gradient:5000:cold", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.4605656000203453 + ], + "median_seconds": 1.4605656000203453, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 172, + "fault_points_total": 50000, + "field_points_total": 2225000, + "peak_extra_rss_bytes": 20140032, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:oldest_gradient:5000:warm", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.4943746000062674 + ], + "median_seconds": 1.4943746000062674, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 172, + "fault_points_total": 50000, + "field_points_total": 2225000, + "peak_extra_rss_bytes": 14917632, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_gradient:5000:cold", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.9323098000022583 + ], + "median_seconds": 2.9323098000022583, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 344, + "fault_points_total": 100000, + "field_points_total": 4450000, + "peak_extra_rss_bytes": 18317312, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u1:model_gradient:5000:warm", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.9400772000080906 + ], + "median_seconds": 2.9400772000080906, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 344, + "fault_points_total": 100000, + "field_points_total": 4450000, + "peak_extra_rss_bytes": 25313280, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_value:5000:cold", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.7752659000107087, + 0.7877574000158347, + 0.7958760000183247, + 0.7820740999886766, + 0.8049057999742217 + ], + "median_seconds": 0.7877574000158347, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 243, + "fault_points_total": 30000, + "field_points_total": 1210997, + "peak_extra_rss_bytes": 5611520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_value:5000:warm", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.8281518000294454, + 0.7973972000181675, + 0.7996911999653094, + 0.8047990000341088, + 0.7999362999689765 + ], + "median_seconds": 0.7999362999689765, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 243, + "fault_points_total": 30000, + "field_points_total": 1210997, + "peak_extra_rss_bytes": 3563520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:all_group_values:5000:cold", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.9391509999986738 + ], + "median_seconds": 1.9391509999986738, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 6832128, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:all_group_values:5000:warm", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.8955887999618426 + ], + "median_seconds": 1.8955887999618426, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 3137536, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_ids:5000:cold", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.9194324999698438 + ], + "median_seconds": 1.9194324999698438, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 3866624, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_ids:5000:warm", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.9472062999848276 + ], + "median_seconds": 1.9472062999848276, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 648, + "fault_points_total": 80000, + "field_points_total": 3230000, + "peak_extra_rss_bytes": 3387392, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_gradient:5000:cold", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.7376440000371076 + ], + "median_seconds": 1.7376440000371076, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 253, + "fault_points_total": 60000, + "field_points_total": 2630000, + "peak_extra_rss_bytes": 19804160, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:oldest_gradient:5000:warm", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.7304425000329502 + ], + "median_seconds": 1.7304425000329502, + "fault_calls_total": 6, + "fault_calls_top_level": 6, + "field_calls_total": 253, + "fault_points_total": 60000, + "field_points_total": 2630000, + "peak_extra_rss_bytes": 17448960, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_gradient:5000:cold", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.926471800019499 + ], + "median_seconds": 4.926471800019499, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 678, + "fault_points_total": 170000, + "field_points_total": 7485000, + "peak_extra_rss_bytes": 18440192, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u2:model_gradient:5000:warm", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.96023739996599 + ], + "median_seconds": 4.96023739996599, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 678, + "fault_points_total": 170000, + "field_points_total": 7485000, + "peak_extra_rss_bytes": 17244160, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_value:5000:cold", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.1014213999733329, + 1.0981973000452854, + 1.113277000025846, + 1.0618456000229344, + 1.054240299970843 + ], + "median_seconds": 1.0981973000452854, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615997, + "peak_extra_rss_bytes": 3895296, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_value:5000:warm", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.9703100000042468, + 1.0293905999860726, + 1.0625674999901094, + 1.0373833000194281, + 1.0648146999883465 + ], + "median_seconds": 1.0373833000194281, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 324, + "fault_points_total": 40000, + "field_points_total": 1615997, + "peak_extra_rss_bytes": 3874816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:all_group_values:5000:cold", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.164196100027766 + ], + "median_seconds": 3.164196100027766, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 4534272, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:all_group_values:5000:warm", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.3322118000360206 + ], + "median_seconds": 3.3322118000360206, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 4993024, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_ids:5000:cold", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.2610275000333786 + ], + "median_seconds": 3.2610275000333786, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 4734976, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_ids:5000:warm", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.217182899999898 + ], + "median_seconds": 3.217182899999898, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1053, + "fault_points_total": 130000, + "field_points_total": 5250000, + "peak_extra_rss_bytes": 4435968, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_gradient:5000:cold", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.0882973999832757 + ], + "median_seconds": 2.0882973999832757, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 334, + "fault_points_total": 70000, + "field_points_total": 3035000, + "peak_extra_rss_bytes": 16437248, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:oldest_gradient:5000:warm", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.993867399985902 + ], + "median_seconds": 1.993867399985902, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 334, + "fault_points_total": 70000, + "field_points_total": 3035000, + "peak_extra_rss_bytes": 23748608, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_gradient:5000:cold", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 7.475487599964254 + ], + "median_seconds": 7.475487599964254, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1093, + "fault_points_total": 250000, + "field_points_total": 10925000, + "peak_extra_rss_bytes": 20938752, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f2_u3:model_gradient:5000:warm", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 7.429774500022177 + ], + "median_seconds": 7.429774500022177, + "fault_calls_total": 26, + "fault_calls_top_level": 26, + "field_calls_total": 1093, + "fault_points_total": 250000, + "field_points_total": 10925000, + "peak_extra_rss_bytes": 18714624, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_value:5000:cold", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5149461000110023, + 0.5211135999998078, + 0.4924690999905579, + 0.49417659995378926, + 0.5097683999920264 + ], + "median_seconds": 0.5097683999920264, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 3461120, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_value:5000:warm", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5323537000222132, + 0.5149809999857098, + 0.5238114999956451, + 0.5281193999690004, + 0.5375622999854386 + ], + "median_seconds": 0.5281193999690004, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 3223552, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:all_group_values:5000:cold", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5110236000036821, + 0.5709278999711387, + 0.5185415999731049, + 0.4863103000097908, + 0.5215847000363283 + ], + "median_seconds": 0.5185415999731049, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 3223552, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:all_group_values:5000:warm", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5332479999633506, + 0.5039501000428572, + 0.565011200029403, + 0.5721332000102848, + 0.5358547999639995 + ], + "median_seconds": 0.5358547999639995, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 2928640, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_ids:5000:cold", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5531480999779887, + 0.5437406999990344, + 0.5420140000060201, + 0.5104243000387214, + 0.5213923000264913 + ], + "median_seconds": 0.5420140000060201, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 2953216, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_ids:5000:warm", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5347646999871358, + 0.5255094000021927, + 0.5049964000354521, + 0.504162399971392, + 0.5201470000320114 + ], + "median_seconds": 0.5201470000320114, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 161, + "fault_points_total": 20000, + "field_points_total": 805000, + "peak_extra_rss_bytes": 2633728, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_gradient:5000:cold", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.764304300013464 + ], + "median_seconds": 2.764304300013464, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 18587648, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:oldest_gradient:5000:warm", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.7565277999965474 + ], + "median_seconds": 2.7565277999965474, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 17580032, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_gradient:5000:cold", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.7588010000181384 + ], + "median_seconds": 2.7588010000181384, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 16621568, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u0:model_gradient:5000:warm", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.7806190000264905 + ], + "median_seconds": 2.7806190000264905, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 193, + "fault_points_total": 80000, + "field_points_total": 3860000, + "peak_extra_rss_bytes": 13455360, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_value:5000:cold", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.0008609000360593 + ], + "median_seconds": 1.0008609000360593, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 322, + "fault_points_total": 40000, + "field_points_total": 1606018, + "peak_extra_rss_bytes": 1085440, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_value:5000:warm", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.0010620999964885 + ], + "median_seconds": 1.0010620999964885, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 322, + "fault_points_total": 40000, + "field_points_total": 1606018, + "peak_extra_rss_bytes": 2039808, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:all_group_values:5000:cold", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.007284899998922 + ], + "median_seconds": 2.007284899998922, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 3813376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:all_group_values:5000:warm", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.003487400012091 + ], + "median_seconds": 2.003487400012091, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 3022848, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_ids:5000:cold", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.005237200006377 + ], + "median_seconds": 2.005237200006377, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 3084288, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_ids:5000:warm", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.0039949999772944 + ], + "median_seconds": 2.0039949999772944, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3215000, + "peak_extra_rss_bytes": 3612672, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_gradient:5000:cold", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.27569629997015 + ], + "median_seconds": 3.27569629997015, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 354, + "fault_points_total": 100000, + "field_points_total": 4665000, + "peak_extra_rss_bytes": 16842752, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:oldest_gradient:5000:warm", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.2555153999710456 + ], + "median_seconds": 3.2555153999710456, + "fault_calls_total": 8, + "fault_calls_top_level": 8, + "field_calls_total": 354, + "fault_points_total": 100000, + "field_points_total": 4665000, + "peak_extra_rss_bytes": 15364096, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_gradient:5000:cold", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.368856500019319 + ], + "median_seconds": 6.368856500019319, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 708, + "fault_points_total": 200000, + "field_points_total": 9330000, + "peak_extra_rss_bytes": 18755584, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u1:model_gradient:5000:warm", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 6.418324400030542 + ], + "median_seconds": 6.418324400030542, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 708, + "fault_points_total": 200000, + "field_points_total": 9330000, + "peak_extra_rss_bytes": 17846272, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_value:5000:cold", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.4576455999631435 + ], + "median_seconds": 1.4576455999631435, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 483, + "fault_points_total": 60000, + "field_points_total": 2411018, + "peak_extra_rss_bytes": 3690496, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_value:5000:warm", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.536300800042227 + ], + "median_seconds": 1.536300800042227, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 483, + "fault_points_total": 60000, + "field_points_total": 2411018, + "peak_extra_rss_bytes": 2093056, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:all_group_values:5000:cold", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.073372400016524 + ], + "median_seconds": 4.073372400016524, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 3170304, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:all_group_values:5000:warm", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.141801299992949 + ], + "median_seconds": 4.141801299992949, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 7102464, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_ids:5000:cold", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.339229999983218 + ], + "median_seconds": 4.339229999983218, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 2846720, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_ids:5000:warm", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.08853160002036 + ], + "median_seconds": 4.08853160002036, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1288, + "fault_points_total": 160000, + "field_points_total": 6430000, + "peak_extra_rss_bytes": 3112960, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_gradient:5000:cold", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.170687799982261 + ], + "median_seconds": 4.170687799982261, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 515, + "fault_points_total": 120000, + "field_points_total": 5470000, + "peak_extra_rss_bytes": 17760256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:oldest_gradient:5000:warm", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.198788399982732 + ], + "median_seconds": 4.198788399982732, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 515, + "fault_points_total": 120000, + "field_points_total": 5470000, + "peak_extra_rss_bytes": 18632704, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_gradient:5000:cold", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 11.3159689999884 + ], + "median_seconds": 11.3159689999884, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1384, + "fault_points_total": 340000, + "field_points_total": 15605000, + "peak_extra_rss_bytes": 23629824, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u2:model_gradient:5000:warm", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 11.53661390003981 + ], + "median_seconds": 11.53661390003981, + "fault_calls_total": 32, + "fault_calls_top_level": 32, + "field_calls_total": 1384, + "fault_points_total": 340000, + "field_points_total": 15605000, + "peak_extra_rss_bytes": 18337792, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_value:5000:cold", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.2402366999886 + ], + "median_seconds": 2.2402366999886, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3216018, + "peak_extra_rss_bytes": 2621440, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_value:5000:warm", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.196261000004597 + ], + "median_seconds": 2.196261000004597, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 644, + "fault_points_total": 80000, + "field_points_total": 3216018, + "peak_extra_rss_bytes": 2940928, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:all_group_values:5000:cold", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 7.02797009999631 + ], + "median_seconds": 7.02797009999631, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 4620288, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:all_group_values:5000:warm", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 7.033818299998529 + ], + "median_seconds": 7.033818299998529, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 5914624, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_ids:5000:cold", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.87186610000208 + ], + "median_seconds": 6.87186610000208, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 6262784, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_ids:5000:warm", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 6.9914673999883235 + ], + "median_seconds": 6.9914673999883235, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2093, + "fault_points_total": 260000, + "field_points_total": 10450000, + "peak_extra_rss_bytes": 6295552, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_gradient:5000:cold", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.708115199988242 + ], + "median_seconds": 4.708115199988242, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 676, + "fault_points_total": 140000, + "field_points_total": 6275000, + "peak_extra_rss_bytes": 18153472, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:oldest_gradient:5000:warm", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.6189441999886185 + ], + "median_seconds": 4.6189441999886185, + "fault_calls_total": 16, + "fault_calls_top_level": 16, + "field_calls_total": 676, + "fault_points_total": 140000, + "field_points_total": 6275000, + "peak_extra_rss_bytes": 16515072, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_gradient:5000:cold", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 17.004572800011374 + ], + "median_seconds": 17.004572800011374, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2221, + "fault_points_total": 500000, + "field_points_total": 22685000, + "peak_extra_rss_bytes": 24928256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "f4_u3:model_gradient:5000:warm", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 16.818893699964974 + ], + "median_seconds": 16.818893699964974, + "fault_calls_total": 52, + "fault_calls_top_level": 52, + "field_calls_total": 2221, + "fault_points_total": 500000, + "field_points_total": 22685000, + "peak_extra_rss_bytes": 24682496, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_value:5000:cold", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.05329940002411604, + 0.05075070000020787, + 0.050332200014963746, + 0.04911770002217963, + 0.05502089997753501 + ], + "median_seconds": 0.05075070000020787, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 72, + "fault_points_total": 5000, + "field_points_total": 87037, + "peak_extra_rss_bytes": 45056, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_value:5000:warm", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.05333730002166703, + 0.05237340001622215, + 0.054787600005511194, + 0.056393299950286746, + 0.05648210004437715 + ], + "median_seconds": 0.054787600005511194, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 72, + "fault_points_total": 5000, + "field_points_total": 87037, + "peak_extra_rss_bytes": 20480, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:all_group_values:5000:cold", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.06784500001231208, + 0.060370300023350865, + 0.0572000999818556, + 0.056873499997891486, + 0.05976800003554672 + ], + "median_seconds": 0.05976800003554672, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:all_group_values:5000:warm", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.05772370001068339, + 0.06613220000872388, + 0.06450799998128787, + 0.06521630001952872, + 0.057383099978324026 + ], + "median_seconds": 0.06450799998128787, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 32768, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:5000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.05634579999605194, + 0.05963459995109588, + 0.06332079996354878, + 0.05435689998557791, + 0.05363089998718351 + ], + "median_seconds": 0.05634579999605194, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 28672, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:5000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.055756700050551444, + 0.05451170000014827, + 0.05981090001296252, + 0.06223129999125376, + 0.057365199958439916 + ], + "median_seconds": 0.057365199958439916, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 5000, + "field_points_total": 96046, + "peak_extra_rss_bytes": 40960, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:50000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.527700399979949, + 0.5107191000133753, + 0.5083573000156321, + 0.5304897999740206, + 0.5424888000125065 + ], + "median_seconds": 0.527700399979949, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 50000, + "field_points_total": 969150, + "peak_extra_rss_bytes": 18395136, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_ids:50000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5057051000185311, + 0.5034198999637738, + 0.5842645000084303, + 0.5755192999495193, + 0.5385847000288777 + ], + "median_seconds": 0.5385847000288777, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 74, + "fault_points_total": 50000, + "field_points_total": 969150, + "peak_extra_rss_bytes": 21381120, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:5000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.31257589999586344, + 0.30660239997087047, + 0.32418589998269454, + 0.32247240003198385, + 0.35427119996165857 + ], + "median_seconds": 0.32247240003198385, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 82, + "fault_points_total": 20000, + "field_points_total": 469006, + "peak_extra_rss_bytes": 5267456, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:5000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.3187082000076771, + 0.3195795000065118, + 0.2999815000221133, + 0.3165616000187583, + 0.31319299997994676 + ], + "median_seconds": 0.3165616000187583, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 82, + "fault_points_total": 20000, + "field_points_total": 469006, + "peak_extra_rss_bytes": 4882432, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:50000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.981406899983995 + ], + "median_seconds": 6.981406899983995, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 96, + "fault_points_total": 200000, + "field_points_total": 6408607, + "peak_extra_rss_bytes": 97402880, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:oldest_gradient:50000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 6.988406700023916 + ], + "median_seconds": 6.988406700023916, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 96, + "fault_points_total": 200000, + "field_points_total": 6408607, + "peak_extra_rss_bytes": 107057152, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_gradient:5000:cold", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.33052060002228245, + 0.3191872999886982, + 0.36322599998675287, + 0.3473812000011094, + 0.3127758000046015 + ], + "median_seconds": 0.33052060002228245, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 84, + "fault_points_total": 20000, + "field_points_total": 478015, + "peak_extra_rss_bytes": 7008256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "stopped_fault:model_gradient:5000:warm", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.32456089998595417, + 0.32936759997392073, + 0.3010295999702066, + 0.32262220000848174, + 0.34225549997063354 + ], + "median_seconds": 0.32456089998595417, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 84, + "fault_points_total": 20000, + "field_points_total": 478015, + "peak_extra_rss_bytes": 6799360, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_value:5000:cold", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 11.344474199984688 + ], + "median_seconds": 11.344474199984688, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 21626880, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_value:5000:warm", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 11.605456399964169 + ], + "median_seconds": 11.605456399964169, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 20914176, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:all_group_values:5000:cold", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 12.196519499993883 + ], + "median_seconds": 12.196519499993883, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 20754432, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:all_group_values:5000:warm", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 11.480208900000434 + ], + "median_seconds": 11.480208900000434, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 22421504, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_ids:5000:cold", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 11.406574399967212 + ], + "median_seconds": 11.406574399967212, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 22372352, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_ids:5000:warm", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 11.378645599994343 + ], + "median_seconds": 11.378645599994343, + "fault_calls_total": 42, + "fault_calls_top_level": 2, + "field_calls_total": 1734, + "fault_points_total": 360000, + "field_points_total": 15615000, + "peak_extra_rss_bytes": 21630976, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_gradient:5000:cold", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 52.42644940002356 + ], + "median_seconds": 52.42644940002356, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 106987520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:oldest_gradient:5000:warm", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 50.14315419999184 + ], + "median_seconds": 50.14315419999184, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 95371264, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_gradient:5000:cold", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 57.690418699989095 + ], + "median_seconds": 57.690418699989095, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 104570880, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "cutting_faults:model_gradient:5000:warm", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 61.029763099970296 + ], + "median_seconds": 61.029763099970296, + "fault_calls_total": 47, + "fault_calls_top_level": 7, + "field_calls_total": 1949, + "fault_points_total": 1540000, + "field_points_total": 67060000, + "peak_extra_rss_bytes": 103813120, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_value:5000:cold", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.1381108000059612, + 0.130560300021898, + 0.13951340003404766, + 0.1274872999638319, + 0.12929949996760115 + ], + "median_seconds": 0.130560300021898, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 144, + "fault_points_total": 10000, + "field_points_total": 214989, + "peak_extra_rss_bytes": 200704, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_value:5000:warm", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.11823660001391545, + 0.12407830002484843, + 0.12037319998489693, + 0.12472210003761575, + 0.12454980000620708 + ], + "median_seconds": 0.12407830002484843, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 144, + "fault_points_total": 10000, + "field_points_total": 214989, + "peak_extra_rss_bytes": 36864, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:all_group_values:5000:cold", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2531815000111237, + 0.27189490001183003, + 0.25386559998150915, + 0.24422909994609654, + 0.25230509997345507 + ], + "median_seconds": 0.2531815000111237, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 287, + "fault_points_total": 20000, + "field_points_total": 428682, + "peak_extra_rss_bytes": 36864, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:all_group_values:5000:warm", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.25685930001782253, + 0.25007569999434054, + 0.2507975000189617, + 0.256377000012435, + 0.25748179998481646 + ], + "median_seconds": 0.256377000012435, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 287, + "fault_points_total": 20000, + "field_points_total": 428682, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:5000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.2708650999702513, + 0.2710393000161275, + 0.2523454000474885, + 0.24533800000790507, + 0.24578259995905682 + ], + "median_seconds": 0.2523454000474885, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 20000, + "field_points_total": 423682, + "peak_extra_rss_bytes": 32768, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:5000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.23689210001612082, + 0.24338340002577752, + 0.26109640003414825, + 0.292247099976521, + 0.24571480002487078 + ], + "median_seconds": 0.24571480002487078, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 20000, + "field_points_total": 423682, + "peak_extra_rss_bytes": 36864, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:50000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 2.7709555000183173 + ], + "median_seconds": 2.7709555000183173, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 200000, + "field_points_total": 4258913, + "peak_extra_rss_bytes": 22585344, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_ids:50000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 2.6657484999741428 + ], + "median_seconds": 2.6657484999741428, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 286, + "fault_points_total": 200000, + "field_points_total": 4258913, + "peak_extra_rss_bytes": 22269952, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_gradient:5000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.5496396999806166, + 0.5029035999905318, + 0.5037480000173673, + 0.4952109000296332, + 0.49669379997067153 + ], + "median_seconds": 0.5029035999905318, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 154, + "fault_points_total": 25000, + "field_points_total": 663848, + "peak_extra_rss_bytes": 6848512, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_gradient:5000:warm", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.5104975999565795, + 0.5326840000343509, + 0.5367582000326365, + 0.5043462999747135, + 0.5259775000158697 + ], + "median_seconds": 0.5259775000158697, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 154, + "fault_points_total": 25000, + "field_points_total": 663848, + "peak_extra_rss_bytes": 2650112, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:oldest_gradient:100000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 100000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 51.360518499976024 + ], + "median_seconds": 51.360518499976024, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 164, + "fault_points_total": 500000, + "field_points_total": 15894553, + "peak_extra_rss_bytes": 230903808, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_gradient:5000:cold", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.0882076999987476, + 1.0439875000156462, + 1.1449543999624439, + 0.9822266999981366, + 1.0476425000233576 + ], + "median_seconds": 1.0476425000233576, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 306, + "fault_points_total": 50000, + "field_points_total": 1321400, + "peak_extra_rss_bytes": 8613888, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_gradient:5000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.0404760999954306, + 1.1464510000078008, + 1.0558049000101164, + 1.0582866999902762, + 1.052668399992399 + ], + "median_seconds": 1.0558049000101164, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 306, + "fault_points_total": 50000, + "field_points_total": 1321400, + "peak_extra_rss_bytes": 6574080, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "onlap_domain:model_gradient:100000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 100000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 92.6715124999755 + ], + "median_seconds": 92.6715124999755, + "fault_calls_total": 4, + "fault_calls_top_level": 4, + "field_calls_total": 326, + "fault_points_total": 1000000, + "field_points_total": 31662954, + "peak_extra_rss_bytes": 249638912, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_value:5000:cold", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.14448439999250695, + 0.1494049999746494, + 0.14987459999974817, + 0.14113870001165196, + 0.15215679997345433 + ], + "median_seconds": 0.1494049999746494, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 3457024, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_value:5000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.14671100000850856, + 0.17501100001391023, + 0.15730590000748634, + 0.16043139999965206, + 0.14343950001057237 + ], + "median_seconds": 0.15730590000748634, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 3878912, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_value:50000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 50000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.6256675000186078 + ], + "median_seconds": 1.6256675000186078, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 50000, + "field_points_total": 2050000, + "peak_extra_rss_bytes": 133001216, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:all_group_values:5000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.26823879999574274, + 0.2874839000287466, + 0.2817786000086926, + 0.271533899998758, + 0.2800981999607757 + ], + "median_seconds": 0.2800981999607757, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 410000, + "peak_extra_rss_bytes": 3874816, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:all_group_values:5000:warm", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.2851144999731332, + 0.27836360002402216, + 0.285235500021372, + 0.28726769995409995, + 0.27213789999950677 + ], + "median_seconds": 0.2851144999731332, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 10000, + "field_points_total": 410000, + "peak_extra_rss_bytes": 4341760, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:all_group_values:100000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 100000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 6.386067799990997 + ], + "median_seconds": 6.386067799990997, + "fault_calls_total": 2, + "fault_calls_top_level": 2, + "field_calls_total": 82, + "fault_points_total": 200000, + "field_points_total": 8200000, + "peak_extra_rss_bytes": 278970368, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_ids:5000:cold", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.12941549997776747, + 0.14435580000281334, + 0.14381680003134534, + 0.13285920000635087, + 0.1278419999871403 + ], + "median_seconds": 0.13285920000635087, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 2273280, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_ids:5000:warm", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.12893939996138215, + 0.1290716999792494, + 0.12632929999381304, + 0.1278417999856174, + 0.12857230001827702 + ], + "median_seconds": 0.12857230001827702, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 41, + "fault_points_total": 5000, + "field_points_total": 205000, + "peak_extra_rss_bytes": 24576, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_gradient:5000:cold", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.9244315000250936, + 0.8990646000020206, + 0.8224848000099882, + 0.8535728999995627, + 0.8293869000044651 + ], + "median_seconds": 0.8535728999995627, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 40677376, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:oldest_gradient:5000:warm", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.8485301999608055, + 0.8421760000055656, + 0.8178855000296608, + 0.8185554000083357, + 0.8149692000006326 + ], + "median_seconds": 0.8185554000083357, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 51388416, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_gradient:5000:cold", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 0.7489615000085905, + 0.7213237999822013, + 0.713515900017228, + 0.746008999994956, + 0.7531285000150092 + ], + "median_seconds": 0.746008999994956, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 13533184, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "faulted_fold:model_gradient:5000:warm", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 0.7822659999947064, + 0.7303681999910623, + 0.7814761000336148, + 0.804720800020732, + 0.758336299972143 + ], + "median_seconds": 0.7814761000336148, + "fault_calls_total": 1, + "fault_calls_top_level": 1, + "field_calls_total": 49, + "fault_points_total": 20000, + "field_points_total": 980000, + "peak_extra_rss_bytes": 10436608, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:5000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "cold", + "rounds": 5, + "time_samples_seconds": [ + 1.1129360999912024, + 1.060899399977643, + 1.0766031999955885, + 1.1156384000205435, + 1.2416057999944314 + ], + "median_seconds": 1.1129360999912024, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 3743744, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:5000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "warm", + "rounds": 5, + "time_samples_seconds": [ + 1.2278623000020161, + 1.2231506999814883, + 1.1755755000049248, + 1.2293861000216566, + 1.184584500035271 + ], + "median_seconds": 1.2231506999814883, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 2899968, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:20000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.418050599982962 + ], + "median_seconds": 4.418050599982962, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 16527360, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_value:20000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.822952800022904 + ], + "median_seconds": 4.822952800022904, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 17170432, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:5000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.0745519999763928 + ], + "median_seconds": 1.0745519999763928, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 4145152, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:5000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.0118114000069909 + ], + "median_seconds": 1.0118114000069909, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 3563520, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:20000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.641261299955659 + ], + "median_seconds": 4.641261299955659, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 17813504, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:all_group_values:20000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.756433499976993 + ], + "median_seconds": 4.756433499976993, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 14983168, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:5000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 1.03449809999438 + ], + "median_seconds": 1.03449809999438, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 2912256, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:5000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 1.0299573999946006 + ], + "median_seconds": 1.0299573999946006, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 60000, + "field_points_total": 1770117, + "peak_extra_rss_bytes": 3174400, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:20000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 4.754270599980373 + ], + "median_seconds": 4.754270599980373, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 18788352, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_ids:20000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 4.766894500004128 + ], + "median_seconds": 4.766894500004128, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 502, + "fault_points_total": 240000, + "field_points_total": 7081715, + "peak_extra_rss_bytes": 17743872, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:5000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.505814599979203 + ], + "median_seconds": 3.505814599979203, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 16908288, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:5000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.6402856999775395 + ], + "median_seconds": 3.6402856999775395, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 15007744, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:20000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 15.67628329998115 + ], + "median_seconds": 15.67628329998115, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 76443648, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:oldest_gradient:20000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 15.727451699960511 + ], + "median_seconds": 15.727451699960511, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 77586432, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:5000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 3.5685770999989472 + ], + "median_seconds": 3.5685770999989472, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 12054528, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:5000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 3.584148499998264 + ], + "median_seconds": 3.584148499998264, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 551, + "fault_points_total": 150000, + "field_points_total": 5372786, + "peak_extra_rss_bytes": 15036416, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:20000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "cold", + "rounds": 1, + "time_samples_seconds": [ + 15.726948999974411 + ], + "median_seconds": 15.726948999974411, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 84545536, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + }, + { + "case_id": "plugin:model_gradient:20000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "warm", + "rounds": 1, + "time_samples_seconds": [ + 16.256565299991053 + ], + "median_seconds": 16.256565299991053, + "fault_calls_total": 12, + "fault_calls_top_level": 12, + "field_calls_total": 544, + "fault_points_total": 600000, + "field_points_total": 20953528, + "peak_extra_rss_bytes": 75345920, + "rss_unit": "bytes", + "code_revision": "617cfea703f25a8ca3c1fc092752c7bc9ec48b27", + "dirty": false, + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "input_hash": "447e553f9c7e55a9feaebbe249b02503fc9a17d5b88589c9b5cb07195fd71800" + } + ], + "provenance": { + "python": "3.13.12", + "numpy": "2.4.6", + "scipy": "1.18.0", + "loopstructural": "1.11.0", + "os": "Windows-11-10.0.26200-SP0", + "cpu": "Intel64 Family 6 Model 154 Stepping 3, GenuineIntel", + "ram_bytes": 34014814208 + }, + "pytest_benchmark": { + "raw": { + "benchmarks": [ + { + "extra_info": { + "case_id": "f0_u0:oldest_value:5000:cold", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0023503999691456556, + 0.0018990000244230032, + 0.0020927999867126346, + 0.0018730000010691583, + 0.0017880999948829412 + ], + "median": 0.0018990000244230032 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_value:5000:warm", + "model": "f0_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0018680999637581408, + 0.0017814000020734966, + 0.0018452000222168863, + 0.0017748000100255013, + 0.0017872999887913465 + ], + "median": 0.0017872999887913465 + } + }, + { + "extra_info": { + "case_id": "f0_u0:all_group_values:5000:cold", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0018746000132523477, + 0.0017376000178046525, + 0.001713200006633997, + 0.0017343999934382737, + 0.0018313999753445387 + ], + "median": 0.0017376000178046525 + } + }, + { + "extra_info": { + "case_id": "f0_u0:all_group_values:5000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0018683000234887004, + 0.001731499971356243, + 0.0017452000174671412, + 0.0017092000343836844, + 0.001722100016195327 + ], + "median": 0.001731499971356243 + } + }, + { + "extra_info": { + "case_id": "f0_u0:all_group_values:100000:warm", + "model": "f0_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05571390001568943, + 0.05765470000915229, + 0.06028779997723177, + 0.05859130003955215, + 0.05846880003809929 + ], + "median": 0.05846880003809929 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_ids:5000:cold", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.002375699987169355, + 0.0020539999823085964, + 0.0017515000072307885, + 0.0017216000123880804, + 0.001728000002913177 + ], + "median": 0.0017515000072307885 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_ids:5000:warm", + "model": "f0_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0018503000028431416, + 0.0017235999694094062, + 0.0017843000241555274, + 0.001782700011972338, + 0.0017259999876841903 + ], + "median": 0.001782700011972338 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_gradient:5000:cold", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.005390699952840805, + 0.005274399998597801, + 0.0064070000080391765, + 0.006146500003524125, + 0.005956499953754246 + ], + "median": 0.005956499953754246 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_gradient:5000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0062410999671556056, + 0.006149700027890503, + 0.00619599997298792, + 0.005787599948234856, + 0.0067878999980166554 + ], + "median": 0.00619599997298792 + } + }, + { + "extra_info": { + "case_id": "f0_u0:oldest_gradient:100000:warm", + "model": "f0_u0", + "operation": "oldest_gradient", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.1716895999852568, + 0.16052219999255612, + 0.16785739996703342, + 0.1658379000145942, + 0.17057369998656213 + ], + "median": 0.16785739996703342 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_gradient:5000:cold", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006011200021021068, + 0.0070730000152252614, + 0.0063596999971196055, + 0.006438000011257827, + 0.006229099992197007 + ], + "median": 0.0063596999971196055 + } + }, + { + "extra_info": { + "case_id": "f0_u0:model_gradient:5000:warm", + "model": "f0_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006666699948254973, + 0.006902499997522682, + 0.006456999981310219, + 0.006192400003783405, + 0.005524199979845434 + ], + "median": 0.006456999981310219 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_value:5000:cold", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0026211999938823283, + 0.0022532999864779413, + 0.002174600027501583, + 0.002219200017862022, + 0.0021883000154048204 + ], + "median": 0.002219200017862022 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_value:5000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.002404900034889579, + 0.0022799999569542706, + 0.0022379999863915145, + 0.002184299984946847, + 0.0022433000267483294 + ], + "median": 0.0022433000267483294 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_value:100000:warm", + "model": "f0_u1", + "operation": "oldest_value", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.06805230001918972, + 0.06493079999927431, + 0.07045379996998236, + 0.06422709999606013, + 0.06828509998740628 + ], + "median": 0.06805230001918972 + } + }, + { + "extra_info": { + "case_id": "f0_u1:all_group_values:5000:cold", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0059495000168681145, + 0.005851800029631704, + 0.005446600029245019, + 0.00533980003092438, + 0.005981700029224157 + ], + "median": 0.005851800029631704 + } + }, + { + "extra_info": { + "case_id": "f0_u1:all_group_values:5000:warm", + "model": "f0_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.005827899964060634, + 0.0053449999541044235, + 0.005646600038744509, + 0.006000599998515099, + 0.006194900022819638 + ], + "median": 0.005827899964060634 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_ids:5000:cold", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006598200008738786, + 0.0059272999642416835, + 0.0067467999760992825, + 0.006026500021107495, + 0.00610419997246936 + ], + "median": 0.00610419997246936 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_ids:5000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006212499982211739, + 0.0068576999474316835, + 0.005958900030236691, + 0.0057758999755606055, + 0.006212199979927391 + ], + "median": 0.006212199979927391 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_ids:50000:warm", + "model": "f0_u1", + "operation": "model_ids", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0820209999801591, + 0.0798892000457272, + 0.0848446000018157, + 0.09526870003901422, + 0.0879368000314571 + ], + "median": 0.0848446000018157 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_gradient:5000:cold", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0038613000069744885, + 0.003277899988461286, + 0.0035395000013522804, + 0.003296000009868294, + 0.003358400019351393 + ], + "median": 0.003358400019351393 + } + }, + { + "extra_info": { + "case_id": "f0_u1:oldest_gradient:5000:warm", + "model": "f0_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.00360319996252656, + 0.0031526999664492905, + 0.003126499999780208, + 0.0031584000098519027, + 0.003216099983546883 + ], + "median": 0.0031584000098519027 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_gradient:5000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.009840300015639514, + 0.009308500040788203, + 0.011044599988963455, + 0.011340899975039065, + 0.01443069998640567 + ], + "median": 0.011044599988963455 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_gradient:5000:warm", + "model": "f0_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.010262400028295815, + 0.008792600012384355, + 0.010744899976998568, + 0.010130600014235824, + 0.01103049999801442 + ], + "median": 0.010262400028295815 + } + }, + { + "extra_info": { + "case_id": "f0_u1:model_gradient:100000:cold", + "model": "f0_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2715227999724448, + 0.2686950000352226, + 0.2953486000187695, + 0.28206400002818555, + 0.2871399999712594 + ], + "median": 0.28206400002818555 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_value:5000:cold", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.004707000043708831, + 0.004047999973408878, + 0.003948299970943481, + 0.003850500041153282, + 0.004494399996474385 + ], + "median": 0.004047999973408878 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_value:5000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.004334600002039224, + 0.004095800046343356, + 0.004188599996268749, + 0.0038896999903954566, + 0.0038308000075630844 + ], + "median": 0.004095800046343356 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_value:50000:warm", + "model": "f0_u2", + "operation": "oldest_value", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05877269996562973, + 0.06235899997409433, + 0.060788200004026294, + 0.05943609995301813, + 0.05971559998579323 + ], + "median": 0.05971559998579323 + } + }, + { + "extra_info": { + "case_id": "f0_u2:all_group_values:5000:cold", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.011837600031867623, + 0.01082460000179708, + 0.010453300026711076, + 0.010639699990861118, + 0.010823599994182587 + ], + "median": 0.010823599994182587 + } + }, + { + "extra_info": { + "case_id": "f0_u2:all_group_values:5000:warm", + "model": "f0_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.012270500010345131, + 0.01234620000468567, + 0.011138000001665205, + 0.014951299992389977, + 0.01394950004760176 + ], + "median": 0.01234620000468567 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_ids:5000:cold", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.014287600002717227, + 0.013837199949193746, + 0.014421300031244755, + 0.014661599998362362, + 0.012991800031159073 + ], + "median": 0.014287600002717227 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_ids:5000:warm", + "model": "f0_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.012739199970383197, + 0.012977100035641342, + 0.013180099951568991, + 0.012151600036304444, + 0.012144299980718642 + ], + "median": 0.012739199970383197 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_gradient:5000:cold", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0054067999590188265, + 0.005279099976178259, + 0.005124000017531216, + 0.0050900999922305346, + 0.005192000011447817 + ], + "median": 0.005192000011447817 + } + }, + { + "extra_info": { + "case_id": "f0_u2:oldest_gradient:5000:warm", + "model": "f0_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.0052562999771907926, + 0.0054024000419303775, + 0.004984300001524389, + 0.004990599991288036, + 0.005287299980409443 + ], + "median": 0.0052562999771907926 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_gradient:5000:cold", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.01629739999771118, + 0.014746499946340919, + 0.017443299992009997, + 0.018034600012470037, + 0.016981499968096614 + ], + "median": 0.016981499968096614 + } + }, + { + "extra_info": { + "case_id": "f0_u2:model_gradient:5000:warm", + "model": "f0_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.016272699984256178, + 0.015930499997921288, + 0.01815269998041913, + 0.017003200016915798, + 0.017889700015075505 + ], + "median": 0.017003200016915798 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_value:5000:cold", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006236999994143844, + 0.006200700008776039, + 0.006520800001453608, + 0.00597240001661703, + 0.00854300003265962 + ], + "median": 0.006236999994143844 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_value:5000:warm", + "model": "f0_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006877399981021881, + 0.006238800007849932, + 0.005957000015769154, + 0.005905500031076372, + 0.005844999977853149 + ], + "median": 0.005957000015769154 + } + }, + { + "extra_info": { + "case_id": "f0_u3:all_group_values:5000:cold", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.018757900048512965, + 0.02240939997136593, + 0.01805480004986748, + 0.020618900016415864, + 0.022702999995090067 + ], + "median": 0.020618900016415864 + } + }, + { + "extra_info": { + "case_id": "f0_u3:all_group_values:5000:warm", + "model": "f0_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.01999880000948906, + 0.02107320004142821, + 0.021028899995144457, + 0.01946999999927357, + 0.0191301999730058 + ], + "median": 0.01999880000948906 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_ids:5000:cold", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.018463399959728122, + 0.01802499999757856, + 0.018049800011795014, + 0.017940199992153794, + 0.017385500017553568 + ], + "median": 0.01802499999757856 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_ids:5000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.02129029994830489, + 0.01850519998697564, + 0.016989299969282, + 0.01713609998114407, + 0.01652740000281483 + ], + "median": 0.01713609998114407 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_ids:100000:warm", + "model": "f0_u3", + "operation": "model_ids", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5464640999562107, + 0.5888658000039868, + 0.5679938999819569, + 0.5742490999982692, + 0.551287499954924 + ], + "median": 0.5679938999819569 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_gradient:5000:cold", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.008533600019291043, + 0.006776800029911101, + 0.0062058999901637435, + 0.006223800010047853, + 0.006259200046770275 + ], + "median": 0.006259200046770275 + } + }, + { + "extra_info": { + "case_id": "f0_u3:oldest_gradient:5000:warm", + "model": "f0_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.006871099991258234, + 0.006189800042193383, + 0.006288500037044287, + 0.006407800014130771, + 0.0063603000016883016 + ], + "median": 0.0063603000016883016 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_gradient:5000:cold", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.021934199961833656, + 0.021463800047058612, + 0.02345850004348904, + 0.022901499993167818, + 0.023860900022555143 + ], + "median": 0.022901499993167818 + } + }, + { + "extra_info": { + "case_id": "f0_u3:model_gradient:5000:warm", + "model": "f0_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.023073499964084476, + 0.02148489997489378, + 0.024841499980539083, + 0.023925299989059567, + 0.02340790000744164 + ], + "median": 0.02340790000744164 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:5000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.13680629996815696, + 0.1284150000428781, + 0.12957709998590872, + 0.13443889998598024, + 0.1325786000234075 + ], + "median": 0.1325786000234075 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:5000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.15152439998928457, + 0.1456463999929838, + 0.13877230003708974, + 0.1385526999947615, + 0.1307946000015363 + ], + "median": 0.13877230003708974 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:20000:cold", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6495959999738261, + 0.6537159999716096, + 0.6536712999804877, + 0.668603099999018, + 0.6634571999893524 + ], + "median": 0.6537159999716096 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_value:20000:warm", + "model": "f1_u0", + "operation": "oldest_value", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6569185000262223, + 0.6917729999986477, + 0.6708785999799147, + 0.6993191000074148, + 0.6681976999971084 + ], + "median": 0.6708785999799147 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:5000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.13190969999413937, + 0.13682529999641702, + 0.13635769998654723, + 0.12671250000130385, + 0.1400996000156738 + ], + "median": 0.13635769998654723 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:5000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.12959290004801005, + 0.13089159998344257, + 0.12696540000615641, + 0.13239300000714138, + 0.1280818999512121 + ], + "median": 0.12959290004801005 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:100000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.236893000022974 + ], + "median": 3.236893000022974 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:20000:cold", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6648989000241272, + 0.6903936000308022, + 0.6604142999858595, + 0.6885401000035927, + 0.7047439999878407 + ], + "median": 0.6885401000035927 + } + }, + { + "extra_info": { + "case_id": "f1_u0:all_group_values:20000:warm", + "model": "f1_u0", + "operation": "all_group_values", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6283079999848269, + 0.6715657000313513, + 0.6859804000123404, + 0.6637095000478439, + 0.6628667000331916 + ], + "median": 0.6637095000478439 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:5000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.14078279997920617, + 0.14309660001890734, + 0.14126770000439137, + 0.14436790003674105, + 0.13601610000478104 + ], + "median": 0.14126770000439137 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:5000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.13594250002643093, + 0.1321468999958597, + 0.1447698000119999, + 0.14645860000746325, + 0.13853499997640029 + ], + "median": 0.13853499997640029 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:20000:cold", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6581957999733277, + 0.6898888999712653, + 0.6797811000142246, + 0.6803218999993987, + 0.6634104000404477 + ], + "median": 0.6797811000142246 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_ids:20000:warm", + "model": "f1_u0", + "operation": "model_ids", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.6559424999868497, + 0.6928155000205152, + 0.6862559999572113, + 0.6764034999650903, + 0.6573478999780491 + ], + "median": 0.6764034999650903 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:5000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7568674000212923, + 0.7723610000102781, + 0.7599386000074446, + 0.7766945000039414, + 0.8888999999617226 + ], + "median": 0.7723610000102781 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:5000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.8389580000075512, + 0.7859412000398152, + 0.8054286999977194, + 0.7812049000058323, + 0.7972895000129938 + ], + "median": 0.7972895000129938 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:20000:cold", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.009906299994327 + ], + "median": 3.009906299994327 + } + }, + { + "extra_info": { + "case_id": "f1_u0:oldest_gradient:20000:warm", + "model": "f1_u0", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.0248928000219166 + ], + "median": 3.0248928000219166 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:5000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7684808999765664, + 0.762994599994272, + 0.79253689997131, + 0.8122593000298366, + 0.7806746000424027 + ], + "median": 0.7806746000424027 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:5000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7863965000142343, + 0.7958944999845698, + 0.8329964999575168, + 0.7793031000182964, + 0.8529174999566749 + ], + "median": 0.7958944999845698 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:20000:cold", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.953395200020168 + ], + "median": 2.953395200020168 + } + }, + { + "extra_info": { + "case_id": "f1_u0:model_gradient:20000:warm", + "model": "f1_u0", + "operation": "model_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.9786139999632724 + ], + "median": 2.9786139999632724 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_value:5000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.27351319999434054, + 0.262636500003282, + 0.2687698999652639, + 0.2737312000244856, + 0.2885938999825157 + ], + "median": 0.27351319999434054 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_value:5000:warm", + "model": "f1_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.26683709997450933, + 0.2581143000279553, + 0.26821180002298206, + 0.25890429998980835, + 0.25949109997600317 + ], + "median": 0.25949109997600317 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_value:50000:cold", + "model": "f1_u1", + "operation": "oldest_value", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.1820749000180513 + ], + "median": 3.1820749000180513 + } + }, + { + "extra_info": { + "case_id": "f1_u1:all_group_values:5000:cold", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5022235999931581, + 0.5350269000045955, + 0.5121147999889217, + 0.5456494999816641, + 0.5541858000215143 + ], + "median": 0.5350269000045955 + } + }, + { + "extra_info": { + "case_id": "f1_u1:all_group_values:5000:warm", + "model": "f1_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5376893000211567, + 0.5380160000058822, + 0.5442396000144072, + 0.5324403999838978, + 0.5337289000162855 + ], + "median": 0.5376893000211567 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_ids:5000:cold", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5625592999858782, + 0.5615029000327922, + 0.5175958999898285, + 0.6047200000029989, + 0.5764452000148594 + ], + "median": 0.5625592999858782 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_ids:5000:warm", + "model": "f1_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5162752000032924, + 0.5325715999933891, + 0.529681000043638, + 0.6048951999982819, + 0.5325967999524437 + ], + "median": 0.5325715999933891 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_gradient:5000:cold", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.904126700013876, + 0.9482272999593988, + 0.8952139000175521, + 0.9222357999533415, + 0.9325563000165857 + ], + "median": 0.9222357999533415 + } + }, + { + "extra_info": { + "case_id": "f1_u1:oldest_gradient:5000:warm", + "model": "f1_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9642193000181578, + 1.1055143999983557, + 1.0582492999965325, + 0.95153040002333, + 0.8930277000181377 + ], + "median": 0.9642193000181578 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_gradient:5000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.6189383000019006 + ], + "median": 1.6189383000019006 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_gradient:5000:warm", + "model": "f1_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.664602700038813 + ], + "median": 1.664602700038813 + } + }, + { + "extra_info": { + "case_id": "f1_u1:model_gradient:100000:cold", + "model": "f1_u1", + "operation": "model_gradient", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 54.29963399999542 + ], + "median": 54.29963399999542 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_value:5000:cold", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.4040431000175886, + 0.44449129997519776, + 0.42122069996548817, + 0.3890469000325538, + 0.40167220000876114 + ], + "median": 0.4040431000175886 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_value:5000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.4043750999844633, + 0.4016428000177257, + 0.39716540003428236, + 0.38108600000850856, + 0.4031914999941364 + ], + "median": 0.4016428000177257 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_value:100000:warm", + "model": "f1_u2", + "operation": "oldest_value", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 11.49049890000606 + ], + "median": 11.49049890000606 + } + }, + { + "extra_info": { + "case_id": "f1_u2:all_group_values:5000:cold", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0204858999932185 + ], + "median": 1.0204858999932185 + } + }, + { + "extra_info": { + "case_id": "f1_u2:all_group_values:5000:warm", + "model": "f1_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.019113800022751 + ], + "median": 1.019113800022751 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_ids:5000:cold", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0754881000029854 + ], + "median": 1.0754881000029854 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_ids:5000:warm", + "model": "f1_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.124261100019794 + ], + "median": 1.124261100019794 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_gradient:5000:cold", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.1075764000415802 + ], + "median": 1.1075764000415802 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_gradient:5000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0695594000280835 + ], + "median": 1.0695594000280835 + } + }, + { + "extra_info": { + "case_id": "f1_u2:oldest_gradient:50000:warm", + "model": "f1_u2", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 17.018059800029732 + ], + "median": 17.018059800029732 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_gradient:5000:cold", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.360728500003461 + ], + "median": 3.360728500003461 + } + }, + { + "extra_info": { + "case_id": "f1_u2:model_gradient:5000:warm", + "model": "f1_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.435110500024166 + ], + "median": 3.435110500024166 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_value:5000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.538966000021901, + 0.5587469000020064, + 0.5479267000337131, + 0.5539867000188679, + 0.5553762000054121 + ], + "median": 0.5539867000188679 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_value:5000:warm", + "model": "f1_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.514473800023552, + 0.5062316000112332, + 0.4990335000329651, + 0.5216685999766923, + 0.5652069000061601 + ], + "median": 0.514473800023552 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_value:50000:cold", + "model": "f1_u3", + "operation": "oldest_value", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 7.796990300004836 + ], + "median": 7.796990300004836 + } + }, + { + "extra_info": { + "case_id": "f1_u3:all_group_values:5000:cold", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.0157507000258192 + ], + "median": 2.0157507000258192 + } + }, + { + "extra_info": { + "case_id": "f1_u3:all_group_values:5000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9047726999851875 + ], + "median": 1.9047726999851875 + } + }, + { + "extra_info": { + "case_id": "f1_u3:all_group_values:100000:warm", + "model": "f1_u3", + "operation": "all_group_values", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 52.18211039999733 + ], + "median": 52.18211039999733 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_ids:5000:cold", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.7267287999857217 + ], + "median": 1.7267287999857217 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_ids:5000:warm", + "model": "f1_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.6734830000204965 + ], + "median": 1.6734830000204965 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_gradient:5000:cold", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0711286999867298 + ], + "median": 1.0711286999867298 + } + }, + { + "extra_info": { + "case_id": "f1_u3:oldest_gradient:5000:warm", + "model": "f1_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.052038200024981 + ], + "median": 1.052038200024981 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_gradient:5000:cold", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.6883024999988265 + ], + "median": 3.6883024999988265 + } + }, + { + "extra_info": { + "case_id": "f1_u3:model_gradient:5000:warm", + "model": "f1_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.7526863999664783 + ], + "median": 3.7526863999664783 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_value:5000:cold", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.24536459997761995, + 0.24213179998332635, + 0.2491495000431314, + 0.24573749996488914, + 0.23662350000813603 + ], + "median": 0.24536459997761995 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_value:5000:warm", + "model": "f2_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2655430000158958, + 0.25335310003720224, + 0.2548317000037059, + 0.25576219998765737, + 0.2609573000227101 + ], + "median": 0.25576219998765737 + } + }, + { + "extra_info": { + "case_id": "f2_u0:all_group_values:5000:cold", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.26307629997609183, + 0.2745951000251807, + 0.2773981000063941, + 0.2790303999790922, + 0.26312409999081865 + ], + "median": 0.2745951000251807 + } + }, + { + "extra_info": { + "case_id": "f2_u0:all_group_values:5000:warm", + "model": "f2_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.26394719997188076, + 0.2842672999831848, + 0.2846235000179149, + 0.27154889999656007, + 0.2914022000040859 + ], + "median": 0.2842672999831848 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_ids:5000:cold", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.28662950004218146, + 0.3115471000201069, + 0.28825939999660477, + 0.25677019997965544, + 0.25286419998155907 + ], + "median": 0.28662950004218146 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_ids:5000:warm", + "model": "f2_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.26699550001649186, + 0.29725319996941835, + 0.2796466000145301, + 0.2705448000342585, + 0.25091439997777343 + ], + "median": 0.2705448000342585 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_gradient:5000:cold", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.2566855999757536 + ], + "median": 1.2566855999757536 + } + }, + { + "extra_info": { + "case_id": "f2_u0:oldest_gradient:5000:warm", + "model": "f2_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.2580361999571323 + ], + "median": 1.2580361999571323 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_gradient:5000:cold", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.2581294999690726 + ], + "median": 1.2581294999690726 + } + }, + { + "extra_info": { + "case_id": "f2_u0:model_gradient:5000:warm", + "model": "f2_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.2632413999526761 + ], + "median": 1.2632413999526761 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_value:5000:cold", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5088841000106186, + 0.5454133999883197, + 0.5863888000021689, + 0.5116601000190713, + 0.5119634000002407 + ], + "median": 0.5119634000002407 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_value:5000:warm", + "model": "f2_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5144591999705881, + 0.5011124000302516, + 0.5405903999926522, + 0.5411422000033781, + 0.5411028999951668 + ], + "median": 0.5405903999926522 + } + }, + { + "extra_info": { + "case_id": "f2_u1:all_group_values:5000:cold", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0628638000343926, + 1.0960288000060245, + 1.068468599987682, + 1.0855687000439502, + 1.0524009999935515 + ], + "median": 1.068468599987682 + } + }, + { + "extra_info": { + "case_id": "f2_u1:all_group_values:5000:warm", + "model": "f2_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0318642999627627, + 1.0552901000482962, + 1.0854386999853887, + 1.0192398999934085, + 1.0747371000470594 + ], + "median": 1.0552901000482962 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_ids:5000:cold", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0657921999809332, + 1.0785298999981023, + 1.0597875000094064, + 1.1119521000073291, + 1.0438575000152923 + ], + "median": 1.0657921999809332 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_ids:5000:warm", + "model": "f2_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0868761999881826, + 1.0414975000312552, + 1.041621100041084, + 1.0606954999966547, + 1.095530399994459 + ], + "median": 1.0606954999966547 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_gradient:5000:cold", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.4605656000203453 + ], + "median": 1.4605656000203453 + } + }, + { + "extra_info": { + "case_id": "f2_u1:oldest_gradient:5000:warm", + "model": "f2_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.4943746000062674 + ], + "median": 1.4943746000062674 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_gradient:5000:cold", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.9323098000022583 + ], + "median": 2.9323098000022583 + } + }, + { + "extra_info": { + "case_id": "f2_u1:model_gradient:5000:warm", + "model": "f2_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.9400772000080906 + ], + "median": 2.9400772000080906 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_value:5000:cold", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7752659000107087, + 0.7877574000158347, + 0.7958760000183247, + 0.7820740999886766, + 0.8049057999742217 + ], + "median": 0.7877574000158347 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_value:5000:warm", + "model": "f2_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.8281518000294454, + 0.7973972000181675, + 0.7996911999653094, + 0.8047990000341088, + 0.7999362999689765 + ], + "median": 0.7999362999689765 + } + }, + { + "extra_info": { + "case_id": "f2_u2:all_group_values:5000:cold", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9391509999986738 + ], + "median": 1.9391509999986738 + } + }, + { + "extra_info": { + "case_id": "f2_u2:all_group_values:5000:warm", + "model": "f2_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.8955887999618426 + ], + "median": 1.8955887999618426 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_ids:5000:cold", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9194324999698438 + ], + "median": 1.9194324999698438 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_ids:5000:warm", + "model": "f2_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.9472062999848276 + ], + "median": 1.9472062999848276 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_gradient:5000:cold", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.7376440000371076 + ], + "median": 1.7376440000371076 + } + }, + { + "extra_info": { + "case_id": "f2_u2:oldest_gradient:5000:warm", + "model": "f2_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.7304425000329502 + ], + "median": 1.7304425000329502 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_gradient:5000:cold", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.926471800019499 + ], + "median": 4.926471800019499 + } + }, + { + "extra_info": { + "case_id": "f2_u2:model_gradient:5000:warm", + "model": "f2_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.96023739996599 + ], + "median": 4.96023739996599 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_value:5000:cold", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.1014213999733329, + 1.0981973000452854, + 1.113277000025846, + 1.0618456000229344, + 1.054240299970843 + ], + "median": 1.0981973000452854 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_value:5000:warm", + "model": "f2_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9703100000042468, + 1.0293905999860726, + 1.0625674999901094, + 1.0373833000194281, + 1.0648146999883465 + ], + "median": 1.0373833000194281 + } + }, + { + "extra_info": { + "case_id": "f2_u3:all_group_values:5000:cold", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.164196100027766 + ], + "median": 3.164196100027766 + } + }, + { + "extra_info": { + "case_id": "f2_u3:all_group_values:5000:warm", + "model": "f2_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.3322118000360206 + ], + "median": 3.3322118000360206 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_ids:5000:cold", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.2610275000333786 + ], + "median": 3.2610275000333786 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_ids:5000:warm", + "model": "f2_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.217182899999898 + ], + "median": 3.217182899999898 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_gradient:5000:cold", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.0882973999832757 + ], + "median": 2.0882973999832757 + } + }, + { + "extra_info": { + "case_id": "f2_u3:oldest_gradient:5000:warm", + "model": "f2_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.993867399985902 + ], + "median": 1.993867399985902 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_gradient:5000:cold", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 7.475487599964254 + ], + "median": 7.475487599964254 + } + }, + { + "extra_info": { + "case_id": "f2_u3:model_gradient:5000:warm", + "model": "f2_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 7.429774500022177 + ], + "median": 7.429774500022177 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_value:5000:cold", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5149461000110023, + 0.5211135999998078, + 0.4924690999905579, + 0.49417659995378926, + 0.5097683999920264 + ], + "median": 0.5097683999920264 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_value:5000:warm", + "model": "f4_u0", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5323537000222132, + 0.5149809999857098, + 0.5238114999956451, + 0.5281193999690004, + 0.5375622999854386 + ], + "median": 0.5281193999690004 + } + }, + { + "extra_info": { + "case_id": "f4_u0:all_group_values:5000:cold", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5110236000036821, + 0.5709278999711387, + 0.5185415999731049, + 0.4863103000097908, + 0.5215847000363283 + ], + "median": 0.5185415999731049 + } + }, + { + "extra_info": { + "case_id": "f4_u0:all_group_values:5000:warm", + "model": "f4_u0", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5332479999633506, + 0.5039501000428572, + 0.565011200029403, + 0.5721332000102848, + 0.5358547999639995 + ], + "median": 0.5358547999639995 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_ids:5000:cold", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5531480999779887, + 0.5437406999990344, + 0.5420140000060201, + 0.5104243000387214, + 0.5213923000264913 + ], + "median": 0.5420140000060201 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_ids:5000:warm", + "model": "f4_u0", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5347646999871358, + 0.5255094000021927, + 0.5049964000354521, + 0.504162399971392, + 0.5201470000320114 + ], + "median": 0.5201470000320114 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_gradient:5000:cold", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.764304300013464 + ], + "median": 2.764304300013464 + } + }, + { + "extra_info": { + "case_id": "f4_u0:oldest_gradient:5000:warm", + "model": "f4_u0", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.7565277999965474 + ], + "median": 2.7565277999965474 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_gradient:5000:cold", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.7588010000181384 + ], + "median": 2.7588010000181384 + } + }, + { + "extra_info": { + "case_id": "f4_u0:model_gradient:5000:warm", + "model": "f4_u0", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.7806190000264905 + ], + "median": 2.7806190000264905 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_value:5000:cold", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0008609000360593 + ], + "median": 1.0008609000360593 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_value:5000:warm", + "model": "f4_u1", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0010620999964885 + ], + "median": 1.0010620999964885 + } + }, + { + "extra_info": { + "case_id": "f4_u1:all_group_values:5000:cold", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.007284899998922 + ], + "median": 2.007284899998922 + } + }, + { + "extra_info": { + "case_id": "f4_u1:all_group_values:5000:warm", + "model": "f4_u1", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.003487400012091 + ], + "median": 2.003487400012091 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_ids:5000:cold", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.005237200006377 + ], + "median": 2.005237200006377 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_ids:5000:warm", + "model": "f4_u1", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.0039949999772944 + ], + "median": 2.0039949999772944 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_gradient:5000:cold", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.27569629997015 + ], + "median": 3.27569629997015 + } + }, + { + "extra_info": { + "case_id": "f4_u1:oldest_gradient:5000:warm", + "model": "f4_u1", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.2555153999710456 + ], + "median": 3.2555153999710456 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_gradient:5000:cold", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.368856500019319 + ], + "median": 6.368856500019319 + } + }, + { + "extra_info": { + "case_id": "f4_u1:model_gradient:5000:warm", + "model": "f4_u1", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 6.418324400030542 + ], + "median": 6.418324400030542 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_value:5000:cold", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.4576455999631435 + ], + "median": 1.4576455999631435 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_value:5000:warm", + "model": "f4_u2", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.536300800042227 + ], + "median": 1.536300800042227 + } + }, + { + "extra_info": { + "case_id": "f4_u2:all_group_values:5000:cold", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.073372400016524 + ], + "median": 4.073372400016524 + } + }, + { + "extra_info": { + "case_id": "f4_u2:all_group_values:5000:warm", + "model": "f4_u2", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.141801299992949 + ], + "median": 4.141801299992949 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_ids:5000:cold", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.339229999983218 + ], + "median": 4.339229999983218 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_ids:5000:warm", + "model": "f4_u2", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.08853160002036 + ], + "median": 4.08853160002036 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_gradient:5000:cold", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.170687799982261 + ], + "median": 4.170687799982261 + } + }, + { + "extra_info": { + "case_id": "f4_u2:oldest_gradient:5000:warm", + "model": "f4_u2", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.198788399982732 + ], + "median": 4.198788399982732 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_gradient:5000:cold", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 11.3159689999884 + ], + "median": 11.3159689999884 + } + }, + { + "extra_info": { + "case_id": "f4_u2:model_gradient:5000:warm", + "model": "f4_u2", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 11.53661390003981 + ], + "median": 11.53661390003981 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_value:5000:cold", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.2402366999886 + ], + "median": 2.2402366999886 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_value:5000:warm", + "model": "f4_u3", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.196261000004597 + ], + "median": 2.196261000004597 + } + }, + { + "extra_info": { + "case_id": "f4_u3:all_group_values:5000:cold", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 7.02797009999631 + ], + "median": 7.02797009999631 + } + }, + { + "extra_info": { + "case_id": "f4_u3:all_group_values:5000:warm", + "model": "f4_u3", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 7.033818299998529 + ], + "median": 7.033818299998529 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_ids:5000:cold", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.87186610000208 + ], + "median": 6.87186610000208 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_ids:5000:warm", + "model": "f4_u3", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 6.9914673999883235 + ], + "median": 6.9914673999883235 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_gradient:5000:cold", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.708115199988242 + ], + "median": 4.708115199988242 + } + }, + { + "extra_info": { + "case_id": "f4_u3:oldest_gradient:5000:warm", + "model": "f4_u3", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.6189441999886185 + ], + "median": 4.6189441999886185 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_gradient:5000:cold", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 17.004572800011374 + ], + "median": 17.004572800011374 + } + }, + { + "extra_info": { + "case_id": "f4_u3:model_gradient:5000:warm", + "model": "f4_u3", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 16.818893699964974 + ], + "median": 16.818893699964974 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_value:5000:cold", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05329940002411604, + 0.05075070000020787, + 0.050332200014963746, + 0.04911770002217963, + 0.05502089997753501 + ], + "median": 0.05075070000020787 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_value:5000:warm", + "model": "stopped_fault", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05333730002166703, + 0.05237340001622215, + 0.054787600005511194, + 0.056393299950286746, + 0.05648210004437715 + ], + "median": 0.054787600005511194 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:all_group_values:5000:cold", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.06784500001231208, + 0.060370300023350865, + 0.0572000999818556, + 0.056873499997891486, + 0.05976800003554672 + ], + "median": 0.05976800003554672 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:all_group_values:5000:warm", + "model": "stopped_fault", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05772370001068339, + 0.06613220000872388, + 0.06450799998128787, + 0.06521630001952872, + 0.057383099978324026 + ], + "median": 0.06450799998128787 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:5000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.05634579999605194, + 0.05963459995109588, + 0.06332079996354878, + 0.05435689998557791, + 0.05363089998718351 + ], + "median": 0.05634579999605194 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:5000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.055756700050551444, + 0.05451170000014827, + 0.05981090001296252, + 0.06223129999125376, + 0.057365199958439916 + ], + "median": 0.057365199958439916 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:50000:cold", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.527700399979949, + 0.5107191000133753, + 0.5083573000156321, + 0.5304897999740206, + 0.5424888000125065 + ], + "median": 0.527700399979949 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_ids:50000:warm", + "model": "stopped_fault", + "operation": "model_ids", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5057051000185311, + 0.5034198999637738, + 0.5842645000084303, + 0.5755192999495193, + 0.5385847000288777 + ], + "median": 0.5385847000288777 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:5000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.31257589999586344, + 0.30660239997087047, + 0.32418589998269454, + 0.32247240003198385, + 0.35427119996165857 + ], + "median": 0.32247240003198385 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:5000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.3187082000076771, + 0.3195795000065118, + 0.2999815000221133, + 0.3165616000187583, + 0.31319299997994676 + ], + "median": 0.3165616000187583 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:50000:cold", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.981406899983995 + ], + "median": 6.981406899983995 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:oldest_gradient:50000:warm", + "model": "stopped_fault", + "operation": "oldest_gradient", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 6.988406700023916 + ], + "median": 6.988406700023916 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_gradient:5000:cold", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.33052060002228245, + 0.3191872999886982, + 0.36322599998675287, + 0.3473812000011094, + 0.3127758000046015 + ], + "median": 0.33052060002228245 + } + }, + { + "extra_info": { + "case_id": "stopped_fault:model_gradient:5000:warm", + "model": "stopped_fault", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.32456089998595417, + 0.32936759997392073, + 0.3010295999702066, + 0.32262220000848174, + 0.34225549997063354 + ], + "median": 0.32456089998595417 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_value:5000:cold", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 11.344474199984688 + ], + "median": 11.344474199984688 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_value:5000:warm", + "model": "cutting_faults", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 11.605456399964169 + ], + "median": 11.605456399964169 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:all_group_values:5000:cold", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 12.196519499993883 + ], + "median": 12.196519499993883 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:all_group_values:5000:warm", + "model": "cutting_faults", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 11.480208900000434 + ], + "median": 11.480208900000434 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_ids:5000:cold", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 11.406574399967212 + ], + "median": 11.406574399967212 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_ids:5000:warm", + "model": "cutting_faults", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 11.378645599994343 + ], + "median": 11.378645599994343 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_gradient:5000:cold", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 52.42644940002356 + ], + "median": 52.42644940002356 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:oldest_gradient:5000:warm", + "model": "cutting_faults", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 50.14315419999184 + ], + "median": 50.14315419999184 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_gradient:5000:cold", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 57.690418699989095 + ], + "median": 57.690418699989095 + } + }, + { + "extra_info": { + "case_id": "cutting_faults:model_gradient:5000:warm", + "model": "cutting_faults", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 61.029763099970296 + ], + "median": 61.029763099970296 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_value:5000:cold", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.1381108000059612, + 0.130560300021898, + 0.13951340003404766, + 0.1274872999638319, + 0.12929949996760115 + ], + "median": 0.130560300021898 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_value:5000:warm", + "model": "onlap_domain", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.11823660001391545, + 0.12407830002484843, + 0.12037319998489693, + 0.12472210003761575, + 0.12454980000620708 + ], + "median": 0.12407830002484843 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:all_group_values:5000:cold", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2531815000111237, + 0.27189490001183003, + 0.25386559998150915, + 0.24422909994609654, + 0.25230509997345507 + ], + "median": 0.2531815000111237 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:all_group_values:5000:warm", + "model": "onlap_domain", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.25685930001782253, + 0.25007569999434054, + 0.2507975000189617, + 0.256377000012435, + 0.25748179998481646 + ], + "median": 0.256377000012435 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:5000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2708650999702513, + 0.2710393000161275, + 0.2523454000474885, + 0.24533800000790507, + 0.24578259995905682 + ], + "median": 0.2523454000474885 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:5000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.23689210001612082, + 0.24338340002577752, + 0.26109640003414825, + 0.292247099976521, + 0.24571480002487078 + ], + "median": 0.24571480002487078 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:50000:cold", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 2.7709555000183173 + ], + "median": 2.7709555000183173 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_ids:50000:warm", + "model": "onlap_domain", + "operation": "model_ids", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 2.6657484999741428 + ], + "median": 2.6657484999741428 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_gradient:5000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5496396999806166, + 0.5029035999905318, + 0.5037480000173673, + 0.4952109000296332, + 0.49669379997067153 + ], + "median": 0.5029035999905318 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_gradient:5000:warm", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.5104975999565795, + 0.5326840000343509, + 0.5367582000326365, + 0.5043462999747135, + 0.5259775000158697 + ], + "median": 0.5259775000158697 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:oldest_gradient:100000:cold", + "model": "onlap_domain", + "operation": "oldest_gradient", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 51.360518499976024 + ], + "median": 51.360518499976024 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_gradient:5000:cold", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0882076999987476, + 1.0439875000156462, + 1.1449543999624439, + 0.9822266999981366, + 1.0476425000233576 + ], + "median": 1.0476425000233576 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_gradient:5000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.0404760999954306, + 1.1464510000078008, + 1.0558049000101164, + 1.0582866999902762, + 1.052668399992399 + ], + "median": 1.0558049000101164 + } + }, + { + "extra_info": { + "case_id": "onlap_domain:model_gradient:100000:warm", + "model": "onlap_domain", + "operation": "model_gradient", + "points": 100000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 92.6715124999755 + ], + "median": 92.6715124999755 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_value:5000:cold", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.14448439999250695, + 0.1494049999746494, + 0.14987459999974817, + 0.14113870001165196, + 0.15215679997345433 + ], + "median": 0.1494049999746494 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_value:5000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.14671100000850856, + 0.17501100001391023, + 0.15730590000748634, + 0.16043139999965206, + 0.14343950001057237 + ], + "median": 0.15730590000748634 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_value:50000:warm", + "model": "faulted_fold", + "operation": "oldest_value", + "points": 50000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.6256675000186078 + ], + "median": 1.6256675000186078 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:all_group_values:5000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.26823879999574274, + 0.2874839000287466, + 0.2817786000086926, + 0.271533899998758, + 0.2800981999607757 + ], + "median": 0.2800981999607757 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:all_group_values:5000:warm", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.2851144999731332, + 0.27836360002402216, + 0.285235500021372, + 0.28726769995409995, + 0.27213789999950677 + ], + "median": 0.2851144999731332 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:all_group_values:100000:cold", + "model": "faulted_fold", + "operation": "all_group_values", + "points": 100000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 6.386067799990997 + ], + "median": 6.386067799990997 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_ids:5000:cold", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.12941549997776747, + 0.14435580000281334, + 0.14381680003134534, + 0.13285920000635087, + 0.1278419999871403 + ], + "median": 0.13285920000635087 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_ids:5000:warm", + "model": "faulted_fold", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.12893939996138215, + 0.1290716999792494, + 0.12632929999381304, + 0.1278417999856174, + 0.12857230001827702 + ], + "median": 0.12857230001827702 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_gradient:5000:cold", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.9244315000250936, + 0.8990646000020206, + 0.8224848000099882, + 0.8535728999995627, + 0.8293869000044651 + ], + "median": 0.8535728999995627 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:oldest_gradient:5000:warm", + "model": "faulted_fold", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.8485301999608055, + 0.8421760000055656, + 0.8178855000296608, + 0.8185554000083357, + 0.8149692000006326 + ], + "median": 0.8185554000083357 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_gradient:5000:cold", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7489615000085905, + 0.7213237999822013, + 0.713515900017228, + 0.746008999994956, + 0.7531285000150092 + ], + "median": 0.746008999994956 + } + }, + { + "extra_info": { + "case_id": "faulted_fold:model_gradient:5000:warm", + "model": "faulted_fold", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 0.7822659999947064, + 0.7303681999910623, + 0.7814761000336148, + 0.804720800020732, + 0.758336299972143 + ], + "median": 0.7814761000336148 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:5000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 5, + "data": [ + 1.1129360999912024, + 1.060899399977643, + 1.0766031999955885, + 1.1156384000205435, + 1.2416057999944314 + ], + "median": 1.1129360999912024 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:5000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 5, + "data": [ + 1.2278623000020161, + 1.2231506999814883, + 1.1755755000049248, + 1.2293861000216566, + 1.184584500035271 + ], + "median": 1.2231506999814883 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:20000:cold", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.418050599982962 + ], + "median": 4.418050599982962 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_value:20000:warm", + "model": "plugin", + "operation": "oldest_value", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.822952800022904 + ], + "median": 4.822952800022904 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:5000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0745519999763928 + ], + "median": 1.0745519999763928 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:5000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0118114000069909 + ], + "median": 1.0118114000069909 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:20000:cold", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.641261299955659 + ], + "median": 4.641261299955659 + } + }, + { + "extra_info": { + "case_id": "plugin:all_group_values:20000:warm", + "model": "plugin", + "operation": "all_group_values", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.756433499976993 + ], + "median": 4.756433499976993 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:5000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 1.03449809999438 + ], + "median": 1.03449809999438 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:5000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 1.0299573999946006 + ], + "median": 1.0299573999946006 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:20000:cold", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 4.754270599980373 + ], + "median": 4.754270599980373 + } + }, + { + "extra_info": { + "case_id": "plugin:model_ids:20000:warm", + "model": "plugin", + "operation": "model_ids", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 4.766894500004128 + ], + "median": 4.766894500004128 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:5000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.505814599979203 + ], + "median": 3.505814599979203 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:5000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.6402856999775395 + ], + "median": 3.6402856999775395 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:20000:cold", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 15.67628329998115 + ], + "median": 15.67628329998115 + } + }, + { + "extra_info": { + "case_id": "plugin:oldest_gradient:20000:warm", + "model": "plugin", + "operation": "oldest_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 15.727451699960511 + ], + "median": 15.727451699960511 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:5000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 3.5685770999989472 + ], + "median": 3.5685770999989472 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:5000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 5000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 3.584148499998264 + ], + "median": 3.584148499998264 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:20000:cold", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "cold" + }, + "stats": { + "rounds": 1, + "data": [ + 15.726948999974411 + ], + "median": 15.726948999974411 + } + }, + { + "extra_info": { + "case_id": "plugin:model_gradient:20000:warm", + "model": "plugin", + "operation": "model_gradient", + "points": 20000, + "state": "warm" + }, + "stats": { + "rounds": 1, + "data": [ + 16.256565299991053 + ], + "median": 16.256565299991053 + } + } + ] + } + }, + "suite_wall_seconds": 3425.57309900003 +} \ No newline at end of file diff --git a/specs/003-fault-evaluation-performance/data/plugin_model/recipe.json b/specs/003-fault-evaluation-performance/data/plugin_model/recipe.json index ae6c63fa5..7cb572fc2 100644 --- a/specs/003-fault-evaluation-performance/data/plugin_model/recipe.json +++ b/specs/003-fault-evaluation-performance/data/plugin_model/recipe.json @@ -140,7 +140,6 @@ "kwargs": { "displacement": 1000.0, "fault_dip": 90.0, - "fault_pitch": 0, "faults": [], "nelements": 5000, "npw": 1.0, @@ -155,7 +154,6 @@ "kwargs": { "displacement": 1000.0, "fault_dip": 90.0, - "fault_pitch": 0, "faults": [], "nelements": 5000, "npw": 1.0, @@ -170,7 +168,6 @@ "kwargs": { "displacement": 1000.0, "fault_dip": 90.0, - "fault_pitch": 0, "faults": [], "nelements": 5000, "npw": 1.0, @@ -185,7 +182,6 @@ "kwargs": { "displacement": 1000.0, "fault_dip": 90.0, - "fault_pitch": 0, "faults": [], "nelements": 5000, "npw": 1.0, @@ -200,7 +196,6 @@ "kwargs": { "displacement": 1000.0, "fault_dip": 90.0, - "fault_pitch": 0, "faults": [], "nelements": 5000, "npw": 1.0, @@ -215,7 +210,6 @@ "kwargs": { "displacement": 1000.0, "fault_dip": 90.0, - "fault_pitch": 0, "faults": [], "nelements": 5000, "npw": 1.0, @@ -247,4 +241,4 @@ "value": 0.0 } ] -} \ No newline at end of file +} diff --git a/specs/003-fault-evaluation-performance/gradient-prerequisite.md b/specs/003-fault-evaluation-performance/gradient-prerequisite.md new file mode 100644 index 000000000..37a079785 --- /dev/null +++ b/specs/003-fault-evaluation-performance/gradient-prerequisite.md @@ -0,0 +1,29 @@ +# Gradient output prerequisite + +The prerequisite parent revision is `b22517f984971b98f6d039f3dd3cde0b31b7600d`. +Before the fix, `GeologicalFeature.evaluate_gradient` reused its N x 3 output +array `v` for the N x 4 fault-coordinate values. The resulting assignment +failed with raw shapes `(2,3) -> (2,4)`. The four regression cases in +`tests/unit/modelling/test_faulted_gradient_output.py` failed before this fix. + +The fix is limited to naming the temporary fault-coordinate array +`fault_values` and using it for both sign comparisons. The existing N x 3 `v` +allocation and final masked gradient assignment remain in place. No geometry, +mask, fault ordering, refinement, step, interpolation, solver, or signature +behavior is changed. + +This correction establishes valid faulted-gradient outputs before performance +work. It is the corrected pre-performance baseline prerequisite; it does not +claim parity against the affected gradient outputs from the raw parent, which +could not be produced because of the shape error. + +Post-fix check: 23 tests passed in 3.12 seconds with this command: + +```powershell +python -m pytest tests/unit/modelling/test_faulted_gradient_output.py tests/unit/modelling/test_geological_feature.py tests/unit/modelling/test_unconformity_feature.py tests/unit/modelling/test_faults_segment.py tests/unit/test_public_api_contract.py -q +``` + +The shared development Python environment was used with PYTHONPATH set to +this worktree and its loop_common/loop_interpolation source folders. Ruff +reports the same single pre-existing I001 finding in the changed module. +No lint rule was disabled; the full repository lint gate remains open. diff --git a/specs/003-fault-evaluation-performance/plan.md b/specs/003-fault-evaluation-performance/plan.md new file mode 100644 index 000000000..659f2af6a --- /dev/null +++ b/specs/003-fault-evaluation-performance/plan.md @@ -0,0 +1,1285 @@ +# Implementation plan: Faster evaluation of faulted models + +**Feature**: `003-fault-evaluation-performance` | **Date**: 2026-11-01 +**Spec**: [spec.md](spec.md) | **State**: Replanned 2026-11-18 for the reduced scope (spec C-012 to C-016): remove the cache between calls (D7), merge master and move the value lookup (D8), shorter suite and new acceptance rules (D9, D10); new tasks T046-T051; T001-T029 and T033-T045 are done; T030 waits for T051 + +## Open points + +| Id | Question and evidence | Resolution rule | Tasks that wait | +|---|---|---|---| +| OP1 (resolved) | Gradient and nested-fault count/memory interpretation. | The user accepted one restoration per distinct ordered fault set and distinct point batch on 2026-11-01. Count recursive frame batches separately and memory per actual restored point, including corners. See Answers. | none | +| OP2 | Can the standard suite meet its time budget (about 1 hour before this feature, SC-008 15 minutes after it) and the SC-007 noise limit? The first run of the 860-case full matrix did not finish in 4 hours and was stopped on 2026-11-02. 500,000-point cases were 90 % of the time measured. | The spec now defines a standard suite (C-006 to C-010). T011 measures the standard suite twice before any performance edit. T030 measures it again after. If the baseline run of the standard suite takes more than 90 minutes, or if SC-007 or SC-008 fail, report the measured result and ask for a spec decision. Never remove cases from the standard suite to claim success. | T031, T032, if measurement fails | +| OP3 (resolved 2026-11-18 by spec C-014; design D9) | SC-008 (15 minutes for the standard suite). T030 measured 3,017 s (baseline 3,271 s). The sum of the candidate medians is only 334 s. About 2,000 s is work that is not evaluation: counters pass, memory pass, warm priming and process starts. Faster faults cannot reach 900 s. | Needs a spec decision. Options: (a) change the SC-008 target to a measured value; (b) cut the fixed cost of the passes (for example, fewer process starts); (c) make the standard suite smaller. (b) and (c) change FR-012a. T043 splits the wall time by pass, so the user decides with numbers. Recommendation: (b), then (a) for the part that stays. Never remove cases to claim success. | T030, T031 | +| OP4 (resolved 2026-11-18 by spec C-013; design D10) | SC-006 (peak memory at most 120 % of the baseline). T030 shows many cases above 1.2. Several have a very small baseline memory, so a few MB of cache or hash workspace gives a large ratio. | T043 lists each failing case with the baseline bytes, the candidate bytes, and the cause (cache retention, hash workspace, or other). The user then decides whether the rule needs an absolute allowance for small baselines. This is a spec change. Do not change the 1.20 limit in code without that answer. | T030 | +| OP5 (closed 2026-11-18: spec C-012 removes SC-010) | Can SC-010 (warm `evaluate_model` at most 10 % of the cold call) be met? T030 diagnosis: a warm call with no fault calls and no tokens takes about 0.017 s. The cold call is about 0.22 s after the fix of D4a. The limit is then about 0.022 s, so the key work may use about 5 ms. | T042 measures the key time and the warm and cold times. If the ratio is above 0.10 after D4a, report the numbers and ask the user. Do not cache the key per revision: that hides in-place edits (D4). T042 at 598ef21e: about 8 ms and a ratio of 0.109 for `f4_u3`. D4b (T044, T045) makes the frame digest cheaper; a prototype gave 2.7 ms. T042 then measures again. | T042, T030 | +| OP6 (parked 2026-11-18) | T030 needs a quiet computer. The run at b6ff1a86 (`C:/Users/lachl/dev/ls-bench-003/cand2/`) passed SC-002, SC-003, SC-004, SC-006, SC-008 and SC-009, and failed SC-005 (0.520, limit 0.50; 0.40 in the repeat run) and SC-007 (worst noise 2.02, 34 cases). The two runs of the same code differ from 0.48 to 2.98 times in both directions, and the system was low on memory, so the failures are probably load on the computer. The 10-million-point memory check was stopped by low memory. | The user parked T030 until a quiet computer is available. Then: run the two standard-suite runs and the acceptance check, with no other programs open; run the memory check (`--memory-points 10000000`) as a separate step after them. If SC-005 or SC-007 fail again on a quiet computer, ask the user for a spec decision (OP2). | T030, T031, T032 | + +## Summary + +First test and repair the existing gradient output-array defect in a separate +correctness commit (T033, T034). Then freeze solved fields, golden outputs and +the benchmark baseline before any performance change. Next share restored +points within one evaluation call. Last, reduce repeated +structured-grid lookup work inside one fault application. The replan of +2026-11-18 removes the cache between calls and its lock (spec C-012), merges +master into the branch, and makes the standard suite shorter (D7 to D10). Do not change the solver, displacement law, +fault order, integration step count, or surface extraction algorithm. + +## Technical context + +- Python library, minimum Python 3.9. NumPy, SciPy, pandas and scikit-image are + existing runtime dependencies. Add pytest-benchmark to the development extra + only. No Rust work or Cargo command is required for this spec. +- `BaseFeature._apply_faults` in + `LoopStructural/modelling/features/_base_geological_feature.py` loops over + faults in order. `_calculate_mask` calls regions on original coordinates. +- `GeologicalFeature.evaluate_value` and `evaluate_gradient` in + `LoopStructural/modelling/features/_geological_feature.py` build first. + Gradients restore tetrahedra and refine them near faults. +- `UnconformityFeature` shares its parent's faults and builder, but has no + regions. Its callable evaluates values on the original points. +- `GeologicalModel.evaluate_model` and `evaluate_model_gradient` in + `LoopStructural/modelling/core/geological_model.py` copy input coordinates + and loop over stratigraphic groups. Keep the unit priority and world/local + coordinate handling unchanged. +- `FaultSegment.apply_to_points` already reuses initial coordinates in the + first step and accepts `precomputed_gx`. Do not count this existing saving + as new work. `use_threads` stays off. +- Builders expose `_up_to_date`, `update`, `update_build_arguments`, + `set_not_up_to_date` and `add_data_from_data_frame`. Solved arrays are `c` + on the discrete interpolator. Regions and fault lists are mutable. +- `StructuredGrid.evaluate_value`, `evaluate_gradient`, + `position_to_local_coordinates` and `get_element_gradient_for_location` + repeat cell lookup work in + `packages/loop_common/src/loop_common/supports/_3d_structured_grid.py`. +- Read `research.md`, `measure_baseline.py`, and + `data/plugin_model/plugin_model.py`. The plugin loader sets stored grids, + solved fields, builder state and fault lists. It preserves world coordinates. +- Existing regression suites include `tests/unit/modelling/test_faults_segment.py`, + `test_unconformity_feature.py`, `test_geological_feature.py`, + `test_fault_cycle_detection.py`, `test_public_api_contract.py`, and the + loop_common and loop_interpolation package tests. + +## Planning inputs and worktree + +The requested templates, `specs/README.md`, and +`docs/development/coding-tools.md` do not exist. Use the 001 and 004 plan/task +structure as the local precedent. Do not create an invented spec index or +provider policy. The existing `.agents/model-policy.json` maps Codex simple +workers to `gpt-6-luna` at low effort and standard workers to `gpt-6-luna` at +medium effort. Its worker limit is 5; this runtime has 3 available worker slots +besides the main agent. Resolve runtime availability again before starting work. + +Use the existing worktree `C:/Users/lachl/dev/LoopStructural-native`, branch +`spec/003-fault-evaluation-performance`. It was clean at planning time. Do not +switch the main checkout or replace this existing branch with another branch. +The spec text is identical in the main checkout and this branch. + +The approved constitution and toolkit setup were carried into this worktree +in commit `d22db4f1`; strict doctor passes. T001 was completed in `c5775418`, +with a correction for actual fold-frame coordinate dependencies in `667ca332`. +T002 has uncommitted fixture helper drafts but no generated fields archive. +Preserve those files; do not treat T002 as complete or repeat T001's red check. +The new test/fix tasks run before T002 resumes. The source CLI can be +run with `PYTHONPATH=C:/Users/lachl/dev/dev-tools/src` and +`python -m dev_tools doctor --require-constitution`; this is a local workaround +for the broken installed uv launcher, not a new committed project command. + +No dependency on specs 001, 002 or 004 is required. Solvers stay unchanged. +Spec 004 also touches folded-feature tests; coordinate file changes if it runs +at the same time. This plan uses its own golden fixture directory. + +## Constitution check + +| Rule | Result | How this plan agrees | +|---|---|---| +| Python geological modelling and workspace packages | Pass | Changes stay in the modelling library, support package, tests and developer tools. | +| Supported test, lint and format commands | Pass | Use pytest, Ruff and Black. Do not run unrelated Cargo checks. | +| pytest and Ruff before merge | Pass | T032 runs both; do not waive existing failures. Report baseline failures separately. | +| NumPy docstrings, type hints, Python 3.9 lint target | Pass | New interfaces use compatible typing and local style; no new runtime dependency. | +| ROADMAP.md is the architecture source | Pass | T031 records the completed evaluation stage and its limits. | +| Independently testable, reversible stages | Pass | Golden tests, benchmark tools, call sharing and grid changes have separate checkpoints. D7 removes the cache stage in its own commit. | +| GeologicalModel public API boundary | Pass | Preserve all existing signatures and results. D7 removes the additive `evaluation_cache` and `evaluation_revision` properties; they were never released, so the released API is unchanged. Run API contract tests. | +| QGIS plugin stays separate | Pass | Use the stored plugin model without QGIS; do not edit the plugin. | +| Spec, plan and task documents | Pass | This plan and tasks accompany the clarified spec. OP1 changes need a spec decision. | +| Scoped package releases | Pass | No new package; commit root and loop_common changes with their correct scopes. | +| Amendments need maintainer approval | Pass | Constitution accepted in chat on 2026-11-01; no further policy is introduced here. | + +## Design + +### D0. Repair the gradient output before baseline capture + +The first T002 field-export run failed in +`GeologicalFeature.evaluate_gradient` at the assignment to `v[mask, :]`. +The method first allocates `v` as N by 3. Its tetrahedron refinement loop then +assigns N by 4 fault-coordinate values to the same variable. Reconstruction +produces N by 3 gradients and raises a shape mismatch. A two-point linear +field with an identity fault reproduces this without a solver: shape (2,3) +cannot be assigned into shape (2,4). The failed exporter produced no fields.npz. + +T033 writes the standalone regression in +`tests/unit/modelling/test_faulted_gradient_output.py`. It must not import +the unfinished golden fixture package or require saved fields. Use a local +BaseFeature test double that implements evaluate_value, evaluate_gradient, +copy and get_data, supplies coordinate 0 through __getitem__, and returns +unchanged points from apply_to_points. Use a field double with +`evaluate_value(points) = points @ [2.0, -3.0, 0.5] + 7.0`. At two finite +points away from a fault boundary the expected result has shape (2,3) and +each row [2.0, -3.0, 0.5], with rtol=0 and atol=1e-12. Test one and two +identity faults, one masked point remaining NaN, and one controlled refinement +iteration (mixed coordinate-0 corner signs on the first call, positive on +the next). Assert the loop refines once and returns the same gradient. +These cases must fail first with the existing output shape error. + +T034 changes only the temporary name inside the refinement loop: +`v = f[0].evaluate_value(...).reshape(...)` becomes `fault_values = ...`, +and the two sign tests in `flag` use fault_values. Keep `v` as the original +gradient output. Do not change the tetrahedra, refinement condition, scale, +fault order, restored coordinates, solver, integration steps, masks or +public signature. No cache or performance work belongs in this task. +Check the diff and commit this correctness fix separately before any capture. + +The pre-performance baseline is the code after this correctness fix and +before caching/grid optimization. Record three immutable revisions in the +golden manifest and both benchmark result files: +`prerequisite_parent_revision`, `prerequisite_fix_revision`, and +`baseline_revision`. Record the original exception and the regression results +in `gradient-prerequisite.md`; the fix revision is the commit that contains +only the reviewed fix and its report, after the failing test commit. +The raw parent has no valid affected-gradient result. Do not claim numerical +parity for that absent output, replace it with zeros, omit the case, or use +an optimized run as the baseline. Where supplied pre-fix results do exist +(the plugin values and restored coordinates), they must still match. +Golden and timing results must say that this prerequisite was applied. +This is a correctness prerequisite to FR-002/FR-006 and US4, not a claimed +speed improvement. Keep the faulted-gradient regression in all later checks. + +### D1. Golden models and immutable references + +Create `tests/fault_evaluation/models.py` with +`model_names() -> list[str]`, `build_model(name: str) -> GeologicalModel`, and +`sample_points(name: str, count: int, seed: int = 1) -> np.ndarray`. +The 16 synthetic names are `f{F}_u{U}` for F in 0,1,2,4 and U in 0,1,2,3. +Coordinate contract and reference epochs (spec 005, 2026-11-03): public +model inputs, fixed query points, restored points and public evaluation outputs +are in world coordinates. Arrays at a support or solver boundary are in that +support's computational coordinates; convert once at the boundary. The mapping +is the support transform. Spec 005 owns repairs to frame construction and +world/local conversion. This spec fingerprints the current restoration +transform to prevent stale cache use. Spec 005's coordinate owner rebuilds +dependent local state after an accepted transform change or rejects the change +before mutation. Existing golden and benchmark manifests remain valid +historical records. If a future reviewed correction changes a reference, append +its correctness revision and affected-reference record; do not rewrite prior +provenance. Performance comparisons require matching cases, run state, +correctness reference epoch and equivalent machine/environment provenance. +Report correctness changes separately from measured performance. T004's +existing capture remains valid for its recorded reference epoch. + +Use the data recipe of measure_baseline.py without importing it: that script +patches FaultSegment globally and runs measurements at import time. Identify +the oldest group from creation order and assert its identity in the model test. +Add names `stopped_fault`, `cutting_faults`, `onlap_domain`, `faulted_fold`, +and `plugin`. Each special recipe must construct the named relationships and +assert them. Include a stratigraphic column for every applicable model. + +Put fixed recipes in `tests/fault_evaluation/data/recipes.json`, and frozen +fields/grids in `fields.npz`. Keep the supplied plugin files in place and load +them explicitly by path. Do not change those input fields during optimization. +Each synthetic stored field includes support type, grid geometry, the explicit +support-local-to-world transform and its inverse world-to-local mapping, +coefficient array and builder state. Do not infer or apply an unspecified +transform twice. If a future field input has no recoverable transform, require a +supplied transform or explicit identity declaration; otherwise fail before +publishing a partial field. Preserve existing captured fields and manifests as +valid historical records. Spec 005 owns shared frame and coordinate-conversion +repairs. The folded case records its +fold frame and folded feature fields. Never solve in a normal golden test. + +`golden.py` defines `capture(model, points) -> dict[str, np.ndarray]` and +`assert_matches(name, actual, expected, box_size) -> None`. +Store each model's fixed test coordinates, model ids, feature values and +gradients, restored points for every fault set, and surface summaries in +`tests/fault_evaluation/data/.npz`. Use 128 fixed interior points plus +explicit points near fault surfaces, unconformities, unit boundaries and box +faces. Add empty, NaN and outside points in edge tests. Use a fixed 20x20x20 +surface sampling box and fixed levels per recipe. Record vertex count, bounds +and triangle area for each surface. An unexpected empty surface is a failure. + +Use `1e-8 * max(box maximum - box origin)` as absolute value/gradient/point +tolerance; compare NaN masks exactly. Unit ids must agree except points within +that value tolerance of a declared boundary; check the scalar boundary distance, +not the integer id distance. Surface vertex counts agree exactly; bounds and +area use rtol=1e-6 with an explicit zero handling rule (zero must stay zero). +Failure messages name model, output, maximum difference and failing point index. + +`python -m tests.fault_evaluation.regenerate --write` is the only write command. +Without --write it validates and exits without changing a file. Normal tests +must never update references. `manifest.json` records input and output SHA256, baseline source revision, the +three D0 revision fields, field-generation revision, dependency versions, +coordinate transforms, seeds and levels. Preserve this as a valid historical +record. If a future reviewed correction changes references, append a distinct +correctness revision and affected-file record; keep performance baseline +revision and provenance separate. Record the actual corrected pre-performance +worktree revision, not the historical research revision unless they are the +same. Do not compare across correctness epochs as if only performance changed. +Binary output hashes and readable summary diffs make regeneration reviewable. +Capture after T034 and before any performance change. Use a scoped monkeypatch +to perturb fault movement by 1% for the sensitivity test; leave no patch active. + +### D2. Benchmark tools and baseline gate + +Create a developer-only package `benchmarks/fault_evaluation` with `run.py`, +`compare.py`, `instrumentation.py` and `acceptance.py`. Add package __init__.py +files. pytest's existing testpaths=[tests] keeps benchmark tests out of CI. +The suite file is `benchmarks/fault_evaluation/bench_cases.py`; it is selected +explicitly by the runner. Never add an autouse runtime counter or CI job. + +`python -m benchmarks.fault_evaluation.run --output PATH [--rounds 1] +[--suite standard|full] [--work-dir PATH] [--resume]` calls pytest-benchmark. +The runner keeps `--suite standard` as the default (FR-012b). The runner +already shows progress, saves each finished case to a checkpoint file and can +resume (commits 9610f6a1 and 290edf3d). Put `--output` and `--work-dir` +outside the repository for a real run, because the dirty flag counts untracked +files, and use `--resume` after a stop. + +Case lists (all in `run.py`): + +- `enumerate_cases()` keeps its name and returns the FULL suite: 21 models, five + operations (oldest value, all group values, model ids, oldest gradient, model + gradient), cold and warm states, and 5,000, 50,000, 100,000 and 500,000 + points, plus the 20,000-point cases of `plugin` and `f1_u0`. That is 860 + cases. The order is stable. The tests of T007 depend on this function. +- `standard_cases()` returns the STANDARD suite, a subset of the full list in the + same order: (a) all 210 cases at 5,000 points; (b) the 20 cases at 20,000 + points; (c) 24 cases at 50,000 and 100,000 points, 12 for each size, taken + from a fixed list of case ids `STANDARD_LARGE_CASES` in `run.py`. T036 draws the + list once with `numpy.random.default_rng(2003)` from the pool of cases of + these models: `f0_u0..f0_u3`, `f1_u0..f1_u3`, `stopped_fault`, `onlap_domain` + and `faulted_fold`. The code stores the ids as literal text, because the + random stream of NumPy can change between versions. That is 254 cases. +- `select_cases(suite: str) -> list[dict]` returns `standard_cases()` for + `"standard"` and `enumerate_cases()` for `"full"`, and raises ValueError for + any other name. `main` uses it. + +Every case that SC-002 to SC-010 use is in the standard suite: `f4_u3` and +`f4_u0` at 5,000 points (SC-002 to SC-004, SC-010), `plugin` at 20,000 points +(SC-005) and `f1_u0` at 20,000 points (SC-009). + +Reuse stored fields; exclude model construction from timed evaluation. Time cold +calls after clearing the cache, then warm calls separately. A warm case primes +the cache with one untimed call before the timed call, but only if the model +has an `evaluation_cache`. On the code before this feature the model has none, +so the priming call is useless and the runner skips it: this makes a warm +legacy case cost one call, not two, and changes no measured value. Warmup must +not turn a cold case into a cache hit. Include the cost of hashing and +invalidation in timing. + +Short cases (SC-007): the timing pass runs every case with one round. When it +finishes, the runner repeats each case with a median below 1.0 s for five +rounds in a second step, and the new samples replace the old ones for that +case. The counters and memory passes keep one round. The comparison and the +acceptance check use the rule in D2b. + +Measured costs on 2026-11-02, on the development computer, for one cold call at +5,000 points: `f4_u3` 42 s for the five operations, `cutting_faults` 164 s, +`plugin` 11 s, `f4_u0` 9 s, `f1_u0` 2 s, other models under 3 s. The cold sum +over all 21 models is about 320 s. A case costs one call in the cold state and +two in the warm state on the code before this feature (one call with the +priming skip), in each of three passes. The standard suite should take about +50 minutes for the whole run. + +Run time, counters and peak RSS in separate fresh-process passes so wrappers +and memory tracing do not distort timings. `instrumentation.py` patches +FaultSegment.apply_to_points and the selected interpolator field evaluation +methods only inside its context manager, then restores the original methods +even on failure. Record total and top-level counts and point counts separately; +total count is the spec metric until OP1 is resolved. Peak RSS is process high +water minus the built-model idle RSS, sampled consistently with platform units +recorded; do not use tracemalloc alone to claim NumPy peak memory coverage. +Use native process APIs via stdlib ctypes/resource, not a runtime dependency. + +Result schema v1 has case_id, model, operation, points, cold/warm state, rounds, +time samples and median seconds, fault calls, field calls, processed point +counts, peak extra RSS bytes, code revision and dirty state, the three D0 +revision fields, input hash, Python/NumPy/SciPy/LoopStructural versions, OS, CPU and RAM. Reject duplicate +ids and incompatible or missing cases when comparing. Preserve pytest-benchmark +data in the JSON. `compare BASE NEW --output PATH` writes ratios, noise marks +above 1.10, fault/unconformity scaling tables and provenance differences. +Report undefined ratios for zero baselines explicitly. Do not silently skip +cases or compare warm new results with cold baseline results. + +T011 writes baseline.json and baseline_repeat.json (the standard suite, run +twice) plus a readable baseline report. It records complete runtime and noise. +T011 is a hard gate: all golden checks must pass and all baseline cases must +exist before any performance edit. The only earlier evaluation edit is the +isolated T034 correctness fix. If the run fails, capture the exact failing +case; do not substitute research numbers for a machine-readable measured +baseline. SC-007/008 are measured requirements, not promised outcomes of +planning. Run T011 from a clean committed tree, with `--output` and +`--work-dir` outside the repository, then copy the result files into the spec +folder. Start no other task and edit no tracked file while a run is active. + +### D2b. How the acceptance check treats noise and memory + +SC-006 compares the peak memory of each case of the standard suite. SC-007 +uses the second run (`new["repeat"]`): for each case whose baseline median is +1.0 s or more, the larger ratio of the two runs must be below 1.10. A case with a +shorter baseline median is reported with its noise ratio, in a separate list +`short_cases`, and never fails SC-007. A missing repeat file or a zero median +still fails. SC-008 compares `suite_wall_seconds` of the standard suite with 900 +s. The old acceptance test of T028 treats every case the same way for SC-007; +T039 changes it. + +### D3. Evaluation scope and restoration sharing + +Add private `_evaluation.py` with `EvaluationContext` and +`evaluation_scope(model=None)` as a context manager backed by ContextVar. +Existing public signatures stay unchanged. A scope owns original point tokens, +ordered fault-set keys and a dictionary of immutable restored arrays. Nested +calls reuse the active scope; a top-level call resets it in finally. A scope +for a different model is separate. Standalone features use a temporary scope. +Wrap feature value/gradient and model evaluation entry points, so regions, +fault frames and fold frames can participate without passing new arguments. + +`restore(feature, points, reverse=False) -> np.ndarray` is the sole private +cache entry. Its key includes exact point content/shape/dtype, ordered fault +identities, dependency state, reverse, and faults_enabled. Map repeated original +arrays to a scope token; do not depend on object identity between public calls. +Treat reordered rows, sliced arrays, mutated arrays and tetrahedron arrays as +different point batches unless their exact content is equal. Read original +points for masks; never feed restored points into region predicates. Preserve +fault order including reverse behavior as it exists today; do not fix geology +bugs as part of the performance change. Do not cache partial fault prefixes. + +Returned restored arrays are read-only internally and never exposed for caller +mutation. Audit each consumer; copy only where a consumer writes. An exception +must not publish a partial restoration. Build all required reachable builders +before the first cache lookup, preserving first-use lazy building. If a build +or solve occurs during a scope, discard its state and restart lookup with the +new revision. Keep cycle checks in the faults setter. + +> **Changed on 2026-11-18 by D7.** The scope stays. It has no persistent +> key, no revision and no lock. The scope key stays as it is in +> `EvaluationContext.restore` today: point digest, shape, dtype, the +> `(id, displacement, steps)` token of each fault, `reverse`. + +### D4. Persistent cache and invalidation + +> **Superseded on 2026-11-18 by D7 (spec C-012).** D4, D4a and D4b stay as a +> record of the done tasks. Do not build on them. D7 removes their code. + +`_evaluation_cache.py` defines `RestorationCache` with `enabled: bool`, +`max_bytes: int`, `clear() -> None`, `invalidate() -> None`, +`get(key) -> np.ndarray | None` and `put(key, restored) -> None`. +Expose it as additive `GeologicalModel.evaluation_cache`, with enabled=True +and max_bytes=64*1024*1024. max_bytes=0 or enabled=False stops retention; +negative limits raise ValueError; shrinking the limit evicts immediately. +Use OrderedDict LRU and account retained ndarray.nbytes exactly. Entries larger +than the limit are not retained. Do not retain a second copy in the call scope. +Document metadata and bounded hashing workspace separately from stored arrays. + +Use a model RLock for lazy builds, cache publication, invalidation and full +top-level evaluation. This first version serializes evaluations of one model; +different models can run concurrently. Nested evaluations reuse the lock. +Do not share a ContextVar scope across threads. Keep fault worker threads off. + +Use a monotonic model revision for known mutation paths: BaseBuilder dirty, +build/update and argument changes; GeologicalFeatureBuilder data/geometry/build; +DiscreteInterpolator solve/update; feature faults, regions, faults_enabled; +fault displacement, faultfunction and steps; model data, column and feature +relationships. Direct assignment must retain its previous behavior. +Add property setters or invalidation calls at these existing boundaries. + +Revision alone is insufficient: public lists, dictionaries and arrays are +mutable. Before a persistent lookup compute a streaming SHA256 dependency +fingerprint, including ordered reachable faults/frame features/parents, +regions and region thresholds/sign, builder data/build arguments/dirty state, +field coefficients and support transforms/geometry, displacement/function/steps, +and faults_enabled. Use cycle-safe traversal and bounded chunks, without a full +array copy. Detect input point mutation by content digest on every outer call. +Use hashes only for keys; do not retain input arrays. Full fingerprint and +hashing cost is included in warm-call measurements. + +If any dependency is opaque (a user callable with mutable global/closure state, +an unsupported support or custom interpolator), bypass persistent reuse for +that reachable fault set. Do not guess that an object id proves it unchanged. +Call sharing may remain only where the dependency is known stable within that +call. A custom impure region must retain its legacy evaluation behavior. +Tests include direct/in-place edits of points, c, lists, build arguments and +region state, in addition to ordinary setters. Changed-then-restored state is +safe because output depends on the full current state. Clear old entries on +revision change to avoid retained obsolete data. Never cache masks or geology +outputs: only restored coordinates. + +### D4a. Cache key from the fault set (replan of 2026-11-03) + +> **Superseded on 2026-11-18 by D7.** + +This section corrects D4. D4 puts the fingerprint of the whole feature and the +state of the whole model in the key. T030 shows two defects. The 4 groups of +`f4_u3` have the same ordered faults but 4 different feature fingerprints, so +separate top-level calls never share an entry. The model-wide token costs 74 % +of a warm `evaluate_model`. All other rules of D4 stay (bounded LRU, content +hash of the points, opaque bypass, in-place edit detection, no cached masks). +The transform owner in spec 005 defines whether a transform mutation is accepted +and rebuilt or rejected before mutation. D4a only fingerprints the current +restoration transform and prevents a stale cache hit; it does not implement +coordinate-state mutation or rebuilding. + +What a restoration depends on. `FaultSegment.apply_to_points` and +`_evaluate_frame` (`_fault_segment.py`) read only the fault itself: its +frame members (fields, supports, builder data and build arguments, the member +regions that make the mask, the faults of the frame), `displacement`, `steps`, +`faultfunction`, and the bounding-box transform of the interpolator. They never +read the feature that owns the fault list. So the key uses the ordered fault set +and nothing of the root feature (its data, build arguments, regions, parent, +`value` and `sign`). + +Names and signatures (all private, no public API change): + +- `fault_set_fingerprint(faults: Sequence[BaseFeature], build: bool = True) -> + bytes | None` in `_evaluation_cache.py`. With `build`, call + `_build_reachable(fault)` for each fault in order. Then make one + `_StateHasher`, write `f"S{len(faults)};"`, and call + `state.node(fault, True)` for each fault in order. A value that is not a + feature, or `_Opaque`, gives None. Do not change `dependency_fingerprint` + or its tests; the new function reuses `_StateHasher`. +- `_update_interpolator` also writes the current bounding-box transform: + `box = getattr(interpolator, "bounding_box", None)`; with a box, write + `np.asarray(box.world_to_local_matrix, dtype=float)` with `_encode`; without + a box, write `b"Nbox;"`. `_project_points` uses this transform, and the old + fingerprint did not read it. This also strengthens `dependency_fingerprint`. +- `_update_frame` is rewritten to loop over `frame.items()`, with no `iloc` + call. It keeps the column names, dtypes, shape and object-column hashing. + The digest bytes may change; only equality inside one process matters. +- `RestorationCache.sync_revision(revision: int) -> None`: under the lock, if + `revision` differs from the stored revision (start value None), call + `_clear_locked()` and store it. It is for internal use; document that. +- `EvaluationContext.restore` changes as follows. `_fingerprint` takes the + tuple of faults and memoises by `tuple(id(f) for f in faults)` in + `self._fingerprints` (the scope holds the faults, so ids stay valid). It calls + `fault_set_fingerprint(faults)` under `cache.lock`. Delete + `_state_of_model` and `self._model_state`. Read + `revision = int(getattr(self.model, "evaluation_revision", 0))` after the + fingerprint, because the fingerprint builds dirty builders. Call + `cache.sync_revision(revision)`. The persistent key is + `("persistent", digest, points.shape, points.dtype.str, bool(reverse), + fingerprint, revision)`. After the faults are applied, read the revision + again. If it changed, keep the result in the scope only and do not call + `cache.put` (D3: a build or solve during a scope voids the entry). +- The scope key (`_fault_state`) stays as it is. + +Result. Groups with equal ordered faults share one entry, also across top-level +calls. The cost of the key is one fingerprint for each distinct ordered fault +tuple for each scope, not one for each feature plus the whole model. The +revision term is O(1). It also clears reuse when anything in the model changes +through a setter, for example `GeologicalModel.update()` (it always bumps the +revision). This is conservative and the documentation (T031) must say so. +Edits in place to the root feature (its data, regions) do not change a +restoration, so they no longer invalidate; edits in place to anything that a +fault reaches still change the fingerprint. + +Tests that change (T040): `Mutation` in `test_invalidation.py` gets a field +`touches_faults: bool = True`, and the four root-region mutations +(`region_add`, `region_remove_inplace`, `region_threshold`, `region_sign`) get +False. `test_mutated_model_gives_a_fresh_changed_result` then asserts equal +results always, equal fault-call counts when `touches_faults`, and cached +calls not above the cache-off calls otherwise. +`test_persistent.py::test_model_change_restores_again_and_matches_the_changed_reference` +asserts `calls > 0` when `touches_faults or mutation.revision`, and result +equality always. All other T016/T017/T018 tests stay. + +Measured gates for T042 (report them; a miss is a failed task): + +- `f4_u3`, 5,000 points, cold, cache on: `all_group_values` and `model_ids` + each make 4 fault calls (SC-003). +- `f4_u3` cold `model_ids` with the cache on is at most 1.10 times the cold + call with the cache off (the cache must not slow a first call). +- Warm `model_ids`: 0 fault calls; the time of `fault_set_fingerprint` for + `f4_u3` is reported; the target is at most 5 ms (OP5). +- `onlap_domain`, 5,000 points, `model_gradient` cold: report the time against + the baseline (0.92 s). It was 2.52 s on 2026-11-03. No success criterion + uses it; the number goes into measurements.md. + +### D4b. Faster frame digest (replan of 2026-11-04) + +> **Superseded on 2026-11-18 by D7.** + +This section corrects only `_update_frame` of D4a. T042 measured about 8 ms for +`fault_set_fingerprint` of the 4 faults of `f4_u3` (gate: 5 ms). The cause is +the cost of pandas for each column, not the data size. + +Facts (planner probe at c4ea58e1, Python 3.13.12, pandas 3.0.5, NumPy 2.4.6): + +- One fingerprint of `f4_u3` reads 12 builder frames. Each frame has 2 to 5 + rows and 22 columns: 21 `float64` columns and 1 column `feature_name` with + the pandas `str` dtype (`StringDtype`). Pandas 3 gives text this dtype, so + `column.to_numpy()` gives an object array and the current code calls + `pd.util.hash_pandas_object` for it. +- The current `_update_frame` takes about 490 microseconds for each frame + (about 6.4 ms for the 12 frames). `frame.to_numpy()` takes about 20 + microseconds, and `repr(frame.to_numpy().tolist())` about 31 microseconds. +- For a frame of 100,000 rows and 22 columns, the current column loop takes + about 14 ms, and `repr(frame.to_numpy().tolist())` about 300 ms. A large + frame must therefore keep the column loop. +- A prototype of the design below gave these medians of 50 calls of + `fault_set_fingerprint(faults, build=False)`: `f4_u3` 2.70 ms (old 7.14 ms), + `f4_u0` 2.79 ms (old 7.25 ms), `onlap_domain` 2.15 ms (old 2.93 ms). + +Design (private names, no public API change): + +- New module constant in `_evaluation_cache.py`, after `_CHUNK_BYTES`: + `_SMALL_FRAME_CELLS = 2048`. Comment: a frame with at most this number of + cells is read with one call; below this size, the cost of each column is + larger than the cost of each cell. +- `_update_frame(hasher: _Updatable, frame: object) -> None` keeps its + signature, its docstring purpose and its `_Opaque` rule for a value that is + not a `pd.DataFrame`. The new body after that check: + + ```python + dtypes = frame.dtypes.tolist() + texts = {dtype: str(dtype) for dtype in set(dtypes)} + hasher.update(f"D{frame.shape};".encode()) + _encode(hasher, [repr(name) for name in frame.columns.tolist()]) + _encode(hasher, [texts[dtype] for dtype in dtypes]) + if frame.size <= _SMALL_FRAME_CELLS: + # One call reads all cells. ``repr`` of a float is exact, and it keeps + # the type of each value in an object column (1 is not 1.0 or "1"). + hasher.update(b"V;") + _encode(hasher, repr(frame.to_numpy().tolist())) + return + for _, column in frame.items(): + values = column.to_numpy() + if values.dtype.hasobject: + values = pd.util.hash_pandas_object(column, index=False).to_numpy() + _update_array(hasher, values) + ``` + +- The index of the frame stays out of the digest, as before. +- Each call reads all cells, so an in-place edit of a cell still changes the + digest (D4). Do not cache a digest for each frame object or each revision + (OP5). +- The digest bytes change. Only equality inside one process matters, so no + stored file changes. +- An object value with a default `repr` (with a memory address) can give a + different digest for an equal frame that holds other objects. That gives a + cache miss, never a stale hit. Builder data holds numbers and text. + +Tests (T044, in `tests/fault_evaluation/test_fault_set_key.py`, section (6)): + +- Helper `_small_frame_cells() -> int`: read `_SMALL_FRAME_CELLS` from + `_evaluation_cache` with `getattr`, and assert that it is present, with the + message "D4b needs _SMALL_FRAME_CELLS". Helper + `_sized_frame(rows: int) -> pd.DataFrame`: the columns of `_frame()` (`X` + float64, `n` int64, `name` text) with `rows` rows, values + `X = np.arange(rows) * 0.5`, `n = np.arange(rows, dtype=np.int64)`, + `name = [f"s{i}" for i in range(rows)]`. The two sizes are `small` (3 rows) + and `large` (`_small_frame_cells() // 3 + 1` rows, above the limit). Give + the size to the tests as a string parameter (`"small"`, `"large"`) and + compute the rows inside the test, so that collection does not need the + constant. +- `test_equal_frames_have_equal_digests` and + `test_changed_frame_has_another_digest`: parametrize also over the two sizes + and use `_sized_frame`. Keep the 4 changes (value, column name, dtype, object + value). The value change and the object-value change edit row 0 of a copy. +- New `test_in_place_edit_changes_the_digest`, over the two sizes and two + edits: `frame.iloc[1, 0] = 99.25` and `frame.loc[1, "name"] = "edited"`. + Take the digest, edit the same object, and assert that the digest changed. +- New `test_object_values_of_other_types_have_other_digests`: two small frames + with one column of dtype `object`, values `[1, "a"]` and `[1.0, "a"]`. The + digests differ. +- New `test_small_frame_does_not_hash_each_column`: with `monkeypatch`, replace + `pd.util.hash_pandas_object` and `pd.DataFrame.items` with functions that + raise `AssertionError("per-column path used for a small frame")`. Then + `_frame_digest(_frame())` must end with no error. This test is red before + T045, because the current code calls both for the text column. +- No time test in pytest, because a timing assertion is not stable. T042 + measures the time. + +### D5. Gradient decision and thread/memory checks + +Preserve tetrahedron construction, near-fault refinement, element scale and +gradient reconstruction. Share equal point batches across groups; never reuse +an N-point restoration for a 4N-point tetrahedron. Apply the accepted OP1 +rule: one restoration per distinct ordered fault set and distinct point batch. +Tests must show counts for original points, corners, refinement and nested +fault-frame calls. Do not claim a total F-call bound across different batches +or mark FR-008 satisfied from top-level value counts alone. Retain the D0 +output-array regression while changing gradient reuse. + +Use small deterministic unit tests for retained-byte accounting and separate +local subprocess acceptance cases for 10 million points and peak RSS. Exclude +persistent cache retention when measuring call-only extra memory; measure both +modes. Record original input size, restored batch sizes, distinct sets, retained +bytes and process peak. Do not claim FR-010 from dictionary length alone. +Concurrent tests compare two same-model calls with serial references, first +build happens once, independent models remain independent, and an exception +cleans scope state and releases locks. + +> **Changed on 2026-11-18 by D7.** No persistent retention exists, so FR-010 +> has one mode (call-only memory). No lock exists. The concurrency tests +> prove that two calls on one model run at the same time (D7, T047). + +### D6. Cheaper structured-grid evaluation + +After the baseline gate, add private StructuredGrid +`_lookup_points(pos) -> (corners, inside, local_coords)` and +`_gradient_weights(local_coords) -> np.ndarray`. Compute the cell index once, +derive corners and local coordinates from it, and preserve corner order, +boundary clipping, outside values and NaN behavior. Route evaluate_value and +evaluate_gradient through the common lookup. Preserve summation order and the +existing scale factors. Test the current implementation as the reference before +changing these functions. Do not change other support types. + +Add a private FaultSegment `_evaluate_frame(points, need_gradient=False)` fast +path only when frame coordinates use StructuredGrid supports with equal geometry +and transforms, no child faults, and equivalent region masks. Reuse the lookup +for all three values and coordinate-1 gradient. Keep public method signatures, +precomputed_gx, initial mask, all 10 steps and their arithmetic order. Fall back +to the original feature calls for folded frames, different supports/transforms, +child faults, fillnan behavior or incompatible regions. No cached step lookup +survives a point movement. Test fallback as well as the fast path. Measure the +SC-009 target; if it fails, report the measured shortfall and replan, rather than +changing steps, tolerances or displacements to obtain a passing result. + +> **Changed on 2026-11-18 by D8.** On master the value lookup is in +> `StructuredGrid3DGeometry`. D8 moves the value part of D6 there. + +### D7. Remove the cache between calls (replan of 2026-11-18, spec C-012) + +Remove all code that keeps restored points after an evaluation call, and the +lock for each model. Keep the scope for each call (D3), the gradient batch +sharing (D5) and the fault-frame lookup (D6). + +Production changes (one commit, T048): + +- Delete `LoopStructural/modelling/features/_evaluation_cache.py`. +- `LoopStructural/modelling/features/_evaluation.py`: + - Remove the import of `fault_set_fingerprint` and the `RestorationCache` + type import. + - `EvaluationContext.__init__(self, model=None)` keeps `self.model` and + `self._restorations: dict`. Remove `_fingerprints`, `_published` and + `_opaque`. + - `EvaluationContext.restore(feature, points, reverse=False)` keeps: the + `faults_enabled` check, the read-only view for no faults, the loop that + calls `builder.up_to_date()` on each fault, `_digest`, the scope key + `(digest, points.shape, points.dtype.str, tuple(_fault_state(f) for f in + faults), bool(reverse))`, the scope lookup, the fault loop, the copy when + the result shares memory with `points`, `flags.writeable = False`, and the + store in `self._restorations` after all faults. Remove the persistent + cache path (`_persistent_cache`, `_fingerprint`, `persistent_key`, + `revision`, `cache.put`, `cache.get`). Remove the literal `True` that was + the last key item. + - Remove `_persistent_cache`, `_fingerprint` and `_withdraw`. + - `evaluation_scope(model=None)`: keep the nested-scope rule (reuse the + active context when `model` is None or is the model of the active + context). Remove the lock. The function becomes: + `context = EvaluationContext(model); token = _ACTIVE.set(context); try: + yield context; finally: _ACTIVE.reset(token)`. A failed call keeps + nothing, because the context ends with the scope. + - Change the module docstring: the scope keeps entries for one call only. +- `LoopStructural/modelling/core/geological_model.py`: remove the import of + `RestorationCache`, `self._evaluation_revision`, `self._evaluation_cache`, + the properties `evaluation_revision` and `evaluation_cache`, the method + `_bump_evaluation_revision`, and each `self._bump_evaluation_revision()` + call. Keep each `with evaluation_scope(self):` block. +- `LoopStructural/modelling/features/_base_geological_feature.py`: remove the + import and the calls of `bump_revision`. Remove the `faults_enabled` + property and setter that this branch added; restore the plain attribute of + master (`self.faults_enabled = True` in `__init__`). Keep the + `evaluation_scope` import and its use in `evaluate_normalised_value`. +- `LoopStructural/modelling/features/builders/_base_builder.py` and + `builders/_geological_feature_builder.py`: remove the import and the calls + of `bump_revision`, and the `_revision_hook` assignment. After T048, + `git diff master -- ` must be empty. +- `LoopStructural/modelling/features/fault/_fault_segment.py`: remove the + import of `bump_revision` and `values_differ`, the `displacement` and + `steps` properties (restore the plain attributes), the `bump_revision` + calls in `set_displacement`, and the `try`/`finally` in the + `faultfunction` setter (restore the master body). Keep + `_shared_frame_members`, `_evaluate_frame`, `_evaluate_frame_legacy` and + the changed `apply_to_points`. +- `packages/loop_interpolation/src/loop_interpolation/_discrete_interpolator.py`: + remove the class attribute `_revision_hook` and its call in `solve_system`. After T048, + `git diff master -- ` must be empty. + +The scope key uses `id(fault)`. This is safe because the scope holds no entry +after the call, and the faults live for the whole call. + +Test changes (T047, red first): + +- Delete `tests/fault_evaluation/test_cache_storage.py`, + `test_persistent.py`, `test_invalidation.py`, `test_fault_set_key.py` and + `test_fingerprint_cycle.py`. Each of them tests only removed code. +- `test_concurrency.py`: remove the tests of the model lock and of the cache. + Keep the tests that compare two threads with serial references. Add + `test_two_calls_on_one_model_run_at_the_same_time`: patch + `FaultSegment.apply_to_points` with a wrapper that calls + `threading.Barrier(2, timeout=10).wait()` once for each thread and then + calls the original. Two threads call `model.evaluate_model(points)` on the + `f1_u0` golden model. The test fails if the barrier breaks (a lock makes + the second thread wait for the first). Both results equal the serial + result. +- `test_memory.py`: remove the retained-bytes and cache-mode tests. Keep the + call-only FR-010 accounting. Add + `test_no_restoration_stays_after_the_call`: after `evaluate_model`, + `_evaluation._ACTIVE.get()` is None, and `gc` finds no `EvaluationContext` + object (use `gc.get_objects()` after `gc.collect()`). +- `test_context.py`, `test_gradient_context.py`, `test_fault_frame_lookup.py`: + remove the lines that set or read `evaluation_cache` (for example the + `enabled = False` setup). Do not change the asserted counts. +- New `tests/fault_evaluation/test_no_retention.py` (FR-009, user story 2 + scenario 6). For each change below: evaluate `evaluate_model(points)` on a + golden model, make the change, evaluate again, build a second model with + the same change from the start, and assert equal results within FR-004. + The changes are: `fault.displacement *= 1.5` on the first fault of `f1_u0`; + `group.faults_enabled = False` on the oldest group of `f1_u1`; and + `fault.steps = 5` on the first fault of `f1_u0`. A transform change is not + tested here: spec 005 owns the transform policy (its SC-016). + Add `test_repeat_call_applies_the_faults_again`: two equal + `evaluate_model(points)` calls on `f1_u0` with no change make the same + number of fault applications (count with `EvaluationInstrumentation`), and + give equal results. Add `test_model_has_no_cache_attributes`: + `GeologicalModel` has no attribute `evaluation_cache` or + `evaluation_revision`. +- Red check of T047 (before T048): these tests must fail, and only these: + `test_two_calls_on_one_model_run_at_the_same_time` (the lock serialises the + calls, so the barrier breaks), `test_repeat_call_applies_the_faults_again` + (the cache gives 0 fault applications in the second call) and + `test_model_has_no_cache_attributes`. The three change tests pass already. + +### D8. Merge master and move the value lookup (replan of 2026-11-18) + +Merge `master` into `spec/003-fault-evaluation-performance` with a merge +commit. Do not rebase: the result files, the manifest and `run-state.json` +name the commits of this branch, and a rebase changes them. + +The test merge of 2026-11-18 gives one conflict, in +`packages/loop_common/src/loop_common/supports/_3d_structured_grid.py`. +Master (#367, #369) moved `evaluate_value`, `trilinear`, +`position_to_local_coordinates`, `position_to_dof_coefs` and +`position_to_cell_corners` into +`packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py` +(`StructuredGrid3DGeometry`). Master's `evaluate_value` also accepts a +property array of shape `(n_nodes, k)`. + +Resolve the conflict like this: + +- `StructuredGrid3DGeometry` (geometry file) gets these private methods: + - `_has_uniform_lookup(self) -> bool`: True when `type(self)` does not + override `position_to_cell_index`, `position_to_local_coordinates` or + `position_to_cell_corners` of `StructuredGrid3DGeometry`. + - `_lookup_points(self, pos) -> tuple[np.ndarray, np.ndarray, np.ndarray]`: + the branch body (one `position_to_cell_index` call; corners with -1 for + outside rows; local coordinates clipped to 0..1). + - `_values_from_coefficients(idc, inside, coefs, property_array)` + (staticmethod): the master body of the weighted sum, for 1-D and + `(n_nodes, k)` property arrays. + - `_evaluate_value_from_lookup(self, lookup, property_array) -> np.ndarray`. + - `evaluate_value` uses `_lookup_points` and `trilinear` when + `_has_uniform_lookup()` is True, else the master path. Keep the master + checks of the property array shape. +- `StructuredGrid` (support file) keeps the master text, plus the branch + gradient methods: `_gradient_weights`, `_evaluate_gradient_from_lookup`, + the fast path in `evaluate_gradient`, and `get_element_gradient_for_location` + through `_gradient_weights`. Its `_has_uniform_lookup` overrides the + geometry method and also requires that `get_element_gradient_for_location` + is the method of `StructuredGrid`. +- `_fault_segment._shared_frame_members` stays: it checks + `isinstance(support, StructuredGrid)` and `support._has_uniform_lookup()`. +- Tests: `packages/loop_common/tests/test_evaluation_lookup.py` (branch) and + the master reference tests `test_structured_support_reference.py`, + `test_property_grid.py` and `test_bounding_box_structured_grid.py` must + all pass. Add to `test_evaluation_lookup.py`: + `test_lookup_value_matches_master_path_for_multi_column_property` (a + `(n_nodes, 3)` property array, fast path equal to the master path) and + `test_rectilinear_grid_uses_the_master_path` (a `RectilinearGrid` returns + False from `_has_uniform_lookup`). + +After the merge, run `tests/fault_evaluation` and the golden tests. Master +changed `geological_model.py` and `_base_geological_feature.py` in parts that +merge without conflict; the golden tests show any change of results. If a +golden result changes, stop and report it: only C-006 can change a reference. + +### D9. Shorter standard suite (replan of 2026-11-18, spec C-014, C-016) + +`benchmarks/fault_evaluation/run.py`: + +- `STATES = ("cold",)`. Case ids keep the suffix `:cold`, so the ids of the + baseline file still match. The `state` field stays in schema v1 and is + always `"cold"`. +- `STANDARD_LARGE_CASES` becomes these 16 ids, in the order of the full list + (spec C-016): + `f0_u0:all_group_values:100000:cold`, `f0_u1:oldest_value:100000:cold`, + `f0_u1:model_ids:50000:cold`, `f0_u2:oldest_value:50000:cold`, + `f0_u3:model_ids:100000:cold`, `f1_u0:all_group_values:100000:cold`, + `f1_u1:oldest_value:50000:cold`, `f1_u2:oldest_value:100000:cold`, + `f1_u2:oldest_gradient:50000:cold`, `f1_u3:oldest_value:50000:cold`, + `f1_u3:all_group_values:100000:cold`, `stopped_fault:model_ids:50000:cold`, + `stopped_fault:oldest_gradient:50000:cold`, + `onlap_domain:model_ids:50000:cold`, `faulted_fold:oldest_value:50000:cold`, + `faulted_fold:all_group_values:100000:cold`. + Keep the comment on the draw of 2026-11-02 and add the rule of C-016. +- New `PASS_POINTS: dict[str, tuple[int, ...] | None] = {"timing": None, + "counters": (5_000, 20_000), "rss": (5_000,)}`. None means all points. +- New `pass_cases(cases: list[dict[str, Any]], pass_kind: str, suite: str) + -> list[dict[str, Any]]`: for `suite == "full"` return `cases`; else return + the cases whose `points` is in `PASS_POINTS[pass_kind]` (or all cases for + None). Raise ValueError for an unknown pass or suite. +- `main` calls `_run_fresh_process_pass(pass_kind, pass_cases(cases, + pass_kind, options.suite), ...)`. +- `_merge`: a case that the counter pass did not run gets `None` for each of + `COUNTER_FIELDS`. A case that the memory pass did not run gets `None` for + `peak_extra_rss_bytes`; `rss_unit` stays `"bytes"`. Add the top-level key + `"suite"` with the suite name. +- `validate_result` accepts `None` only for `COUNTER_FIELDS` and + `peak_extra_rss_bytes`, and accepts an optional top-level `"suite"`. + `SCHEMA_VERSION` stays 1: old files have no `None` and stay valid. +- New `cold_view(document: dict[str, Any]) -> dict[str, Any]`: return a copy + in which each `:warm` row whose `:cold` id is absent becomes a `:cold` row + (change `case_id` and `state`), and each other `:warm` row is removed. Use + it only on a file made by the code before this feature (T011). This is + valid because that code had no cache and the runner skipped the priming + call, so its warm case was one cold call (C-016). Record this in the + docstring. + +`benchmarks/fault_evaluation/bench_cases.py`: remove the warm path of +`run_case` (the cache clear, the priming call and `evaluation_cache`). Keep +`warmup_rounds=0`. + +The 100,000-point gradient cases leave the standard suite (spec C-014), so +`onlap_domain:oldest_gradient:100000` and +`onlap_domain:model_gradient:100000` are only in the full suite. + +### D10. Acceptance and comparison (replan of 2026-11-18, spec C-013, C-015) + +`benchmarks/fault_evaluation/acceptance.py`: + +- `check_acceptance(base, new)` applies `run.cold_view` to `base` first. +- Remove `_sc010`, `IDS_COLD_F4U3`, `IDS_WARM_F4U3`, `WARM_F4U3`, the + `"SC-010"` row, `_cache_fields`, the `"warm"` memory mode + (`MEMORY_MODES = ("cold",)`) and the cache lines of `_memory_worker`. + Remove `"off"` too: with no cache, cold and off are the same. +- New constant `MEMORY_ALLOWANCE_BYTES = 16 * 1024 * 1024`. +- `_sc006(base, new)`: for each case where both peak values are not None, + the case passes when `new <= 1.20 * base` or + `new - base <= MEMORY_ALLOWANCE_BYTES`. A baseline of 0 uses only the + allowance. A case where the candidate value is None, but the baseline has a + value, is not a failure when the case is not in the memory pass of the + candidate suite; the row lists the number of compared cases. The row value + is the worst ratio; the reason lists each failing case with both values. +- SC-002, SC-003, SC-005 and SC-009 keep `_time_ratio_row` and `_sc009` on + the baseline file (spec C-015). Change no limit. +- `_check_cases` must accept `None` counter and memory fields when the + criterion does not read them. A criterion that needs a value that is None + fails with the reason "case X was not measured in the Y pass". + +`benchmarks/fault_evaluation/compare.py`: apply `run.cold_view` to the base +document when it has `:warm` ids. A `None` value on either side gives the +ratio text "not measured", never a failure and never a noise mark. + +### D11. Order of work and run of T030 (replan of 2026-11-18) + +1. T046 (D8) first: the other tasks must start from the merged tree. The + orchestrator runs `git merge --no-commit master`, the sub agent resolves + the conflict, and the orchestrator makes the merge commit. +2. T047 (tests, red) and T049 (tests, red) after T046. They change different + files, so they can run in the same wave. +3. T048 (D7) after T047. T050 (D9, D10) after T049. +4. T051 (measure): run the D4a gates G1, G2 (cache on and off are now the same + code; replace G2 by "cold `model_ids` time at most 1.10 of T042"), G5, + and the D8 check that the golden tests pass, on the merged tree. Write a + new section of `profile-d4a.md`. Needs T048 and T050. +5. T030 runs again (unchanged text; its result must use D9 and D10). Then + T031 (documents: no cache, the per-call scope, the suite and its passes) + and T032. + +## Test strategy and checkpoints + +1. T001's helper-API red check is complete. Next T033 must fail on the + demonstrated gradient shape error and T034 must make it pass. Then resume + T002 and the golden harness. The geology golden checks must pass on the + corrected pre-performance baseline; the raw failure stays recorded in D0. + A 1% fault perturbation must fail; test NaN masks and failure messages too. +2. All legacy golden cases run under 120 seconds; record actual elapsed time. +3. Benchmark tools have small stub models for fast runner/schema/counter tests. + Their test files live under tests; they do not run the full benchmarks in CI. +4. Freeze complete baseline and repeat results before T012-T027 production work. +5. Add failing tests before each context/cache/invalidation/gradient/grid change. + The orchestrator observes failure; workers do not run competing build commands. +6. At each implementation wave run relevant pytest filters once, plus Ruff on + changed production files. Existing unrelated failures are reported, not hidden. +7. Final: Black check, Ruff, root pytest, loop_common pytest and + loop_interpolation pytest. Run API contract tests and all golden cases. +8. Local acceptance runs compare complete before/after results for SC-002 through + SC-010, and measure 10-million-point memory. These runs are not CI tests. + A missed performance target keeps acceptance open. + +The implementation preflight passed 19 existing unit/API tests. Ruff reported +474 existing findings before any production change. This remains a final merge +gate failure until addressed; do not suppress rules or call it a pass. The D0 +fix must add no lint findings. Do not mix unrelated lint cleanup into D0. + +## Requirement coverage + +| Requirement | Tasks | +|---|---| +| FR-001, FR-001a | T001, T002, T005, T006 | +| FR-002, FR-003, FR-004 | T033, T034, T003, T004, T005, T006; D0 separates the correctness fix from capture; C-006 permits only reviewed affected-reference changes and requires separate correctness provenance | +| FR-005, SC-001 | T033, T034, T003-T006, T030, T032; pre-performance baseline as defined in D0; C-006 records correctness and performance epochs separately and requires comparable provenance | +| FR-006 | T033, T034, T006, T015, T021, T027, T032; C-006 keeps correctness and performance epochs distinct and preserves unaffected results and numeric limits | +| FR-007 | T014, T015, T047, T048 (D3 scope kept by D7) | +| FR-008 | T014, T015, T020, T021, T047, T048; apply the accepted OP1 batch rule | +| FR-009 | T047, T048 (D7: no restored points after the call; `test_no_retention.py`). Spec 005 owns the transform policy. | +| FR-010 | T022, T047, T048, T030; call-only memory, accepted OP1 actual-point budget | +| FR-010a | T022, T047, T048 (two threads run at the same time, no lock) | +| FR-011 | T014, T015, T032, T048 | +| FR-012, FR-013, FR-014, FR-015 | T007, T008, T009, T010, T011, T049, T050 | +| FR-012a, FR-012b | T035, T036, T037, T038, T011, T049, T050 (D9: 16 large cases, pass point sets) | +| FR-016 | T011; T050 `cold_view` reads it (C-016) | +| SC-001 | T006, T046 (golden tests after the merge), T030, T032 | +| SC-002, SC-003, SC-004, SC-005 | T028, T029, T051, T030 (time ratios on the baseline file, C-015) | +| SC-006 | T049, T050 (D10 rule: 120 % or +16 MiB), T030 | +| SC-007 | T011, T028, T037, T038, T039, T029, T030; OP2 | +| SC-008 | T049, T050 (D9 shorter passes), T030 | +| SC-009 | T024, T025, T026, T027, T046 (D8 keeps the lookup), T030 | +| SC-010 | Removed by spec C-012. T050 removes its check. | + +## Handover and release + +Spec 005 owns frame construction defects, shared world/local conversion +repairs, and mutation policy for coordinate-owner state, including persistence +metadata and copy behavior. This spec owns world-coordinate evaluation outputs. +After D7 it keeps no restored points between calls, so a transform change +cannot give a stale restoration, and spec 005 has no 003 cache to invalidate. Record separate correctness and performance epochs only when a future +reviewed correction changes references; preserve current manifest and reference +records. Keep benchmark comparisons within a matching correctness epoch. Preserve existing timing, memory, count and numeric limits; +report actual failures without claiming a gate passed. + +D7 removes all names of D4, D4a and D4b (`RestorationCache`, +`fault_set_fingerprint`, `dependency_fingerprint`, `bump_revision`, +`values_differ`, `_SMALL_FRAME_CELLS`, `GeologicalModel.evaluation_cache`, +`GeologicalModel.evaluation_revision`, `DiscreteInterpolator._revision_hook`). +None of them was released, and no other spec uses them. + +Names that stay or move, all private: `evaluation_scope`, +`EvaluationContext`, `restore` (`_evaluation.py`); +`FaultSegment._shared_frame_members`, `_evaluate_frame`, +`_evaluate_frame_legacy`; `StructuredGrid3DGeometry._has_uniform_lookup`, +`_lookup_points`, `_values_from_coefficients`, `_evaluate_value_from_lookup` +(D8); `StructuredGrid._gradient_weights`, `_evaluate_gradient_from_lookup`. +Spec 005 changes the grid and transform code too: its tasks must keep these +private methods or change their callers in the same commit. + +Benchmark names added by D9 and D10: `run.PASS_POINTS`, `run.pass_cases`, +`run.cold_view`, `acceptance.MEMORY_ALLOWANCE_BYTES`. Result files keep schema +version 1, with `None` allowed for counter and memory fields of cases that a +pass did not run, and an optional top-level `"suite"`. + +No protocol, schema, generated solver fixtures or Rust package changes. +The loop_common change is a separate package release concern. Run its tests +and describe it in that package's changelog workflow. Keep all existing plugin +imports and model evaluation signatures. Baseline and golden regeneration are +explicit developer commands. Do not edit stored references after optimization +to hide a regression. Do not push, commit or open a PR during planning. + +## Resumption order + +Keep all existing task IDs and T001's completed checkbox. The newly allocated +T033 and T034 are appended to tasks.md so no existing ID is reassigned. +They execute before T002 through dependencies, not by their numeric position. +T032 remains the final scheduled task and depends on all other tasks. +Next: T033 regression test -> T034 isolated fix -> finish T002's draft fixture +loader/exporter -> T003-T011 capture and baseline -> performance work. +No build, solve or test is required to make this planning edit. + +## Replan of 2026-11-02 (standard suite) + +New task ids T035-T039 are appended; no id is reused and the done tasks T001-T010 +and T028 keep their `[x]`. Order: T035 test suite selection -> T036 implement +suite selection and the priming skip -> T037 test short-case repeats -> T038 +implement the repeats -> T011 baseline of the standard suite. T039 (acceptance +test change) runs beside T036 and T037, and T029 needs it. Waves from T011 +onward move by four; the dependencies of T012-T032 are unchanged except where +tasks.md says so. + +## Replan of 2026-11-03 (fault-set cache key) + +Cause: T030 failed SC-003, SC-004, SC-006, SC-007, SC-008 and SC-010 (see the +Answers section for the numbers and the diagnosis). The user chose to fix the +cache design. D4a gives the design. Changes of the first replan stay. + +New task ids T040-T043 are appended; no id is reused. All done tasks keep +their `[x]`. T030 stays `[!]` until T041, T042 and the decisions for OP3 and +OP4 are recorded; then it is set to `[ ]` and run again. Order: + +1. T040 (tests, red): fault-set key, revision term, publish guard, bounding-box + term, `_update_frame` equality, and the two changed existing tests. + Files: `tests/fault_evaluation/test_fault_set_key.py` (new), + `tests/fault_evaluation/test_invalidation.py`, + `tests/fault_evaluation/test_persistent.py`. +2. T041 (code): D4a. Files: `LoopStructural/modelling/features/_evaluation_cache.py`, + `LoopStructural/modelling/features/_evaluation.py`. Needs T040. Done when + `pytest tests/fault_evaluation -q` passes, the golden tests stay under 120 s, + and Ruff finds nothing new in the two files. +3. T042 (measure, read-only for code): run the D4a gates on the clean tree with + the runner of D2 for the cases `f4_u3`, `f4_u0` and `onlap_domain` at 5,000 + points, cold and warm, all five operations; write + `specs/003-fault-evaluation-performance/profile-d4a.md` with fault calls, + key time, cold and warm times, and the `onlap_domain` numbers. Needs T041. + If SC-003 count (4) fails, stop and replan. +4. T043 (diagnosis, read-only for code): from the raw results in + `C:/Users/lachl/dev/ls-bench-003/cand/` write + `specs/003-fault-evaluation-performance/t030-diagnosis.md`: (a) SC-006, + each failing case with baseline bytes, candidate bytes and cause; (b) SC-008, + the wall time split by pass (timing, repeat of short cases, counters, + memory, warm priming, process starts) and the two `onlap_domain` 100,000-point + gradient cases. It makes the facts for OP3 and OP4. Needs T029 only, so it + can run beside T040. It changes no tracked file other than the report. +5. T030 runs again after T041, T042 and the answers to OP3 and OP4. `acceptance.py` + is not changed: SC-010 divides the warm call by the cold call of the same + candidate run, and that is what the spec says ("the first call"). +6. T031 must also document D4a, including the conservative revision term. + +The orchestrator must not edit `specs/003-fault-evaluation-performance/spec.md`. +OP3 and OP4 need the spec-interview or spec-reviewer skill and then the +spec-cascade skill. + +## Replan of 2026-11-04 (faster frame digest) + +Cause: T042 failed its key-time gate (about 8 ms against 5 ms; see Answers, +"T042, 2026-11-04"). The user chose a replan. D4b gives the design. All other +results of D4a stay. The changes of the earlier replans stay. + +New task ids T044 and T045 are appended; no id is reused. T040, T041 and T043 +keep their `[x]`. T042 changes from `[!]` to `[ ]` and runs again after T045. +Order: + +1. T044 (tests, red): the tests of D4b. Files: + `tests/fault_evaluation/test_fault_set_key.py`. Needs T041. Done when the + new test `test_small_frame_does_not_hash_each_column` fails, and each test + that uses `_small_frame_cells()` fails, because `_SMALL_FRAME_CELLS` is + absent; all other tests of `tests/fault_evaluation` pass. +2. T045 (code): D4b. Files: + `LoopStructural/modelling/features/_evaluation_cache.py`. Needs T044. Done + when `pytest tests/fault_evaluation -q` passes, the golden tests stay under + 120 s, and Ruff finds nothing new in the file. +3. T042 runs again with the same gates and the same report file + (`profile-d4a.md`; add a section for the new run and keep the first run). + Needs T045. It also reports again the OP5 ratio warm / cold + `evaluate_model` for `f4_u3`, `f4_u0` and `onlap_domain`. The + `onlap_domain` ratio (0.284 at 598ef21e) has no gate in T042. If it stays + above 0.10, T042 reports it and T030 decides it (SC-010). +4. T030, T031 and T032 are unchanged. T030 still needs T042 and the answers to + OP3 and OP4. + +Constitution check for this replan: every row of the "Constitution check" +table stays Pass. The change is in one private module and one test file. It +adds no dependency and no public name, and it keeps the existing results. + +## Replan of 2026-11-18 (reduced scope) + +Cause: a review of the implementation and of T030 (see Answers, +"2026-11-18"). The spec changed: C-012 (no cache between calls, no lock), +C-013 (SC-006 rule), C-014 (shorter suite), C-015 (time ratios on the +baseline file), C-016 (16 large cases). D7 to D11 give the design. + +New task ids T046-T051 are appended; no id is reused. All done tasks keep +their `[x]`; their code is removed by T048, not by an edit of the done tasks. +T030 changes from blocked to `[ ]` and needs T051. T031 and T032 keep their +text, with the new needs below. + +| Task | Tier | Kind | Files | Needs | Done when | +|---|---|---|---|---|---| +| T046 | M | code (merge) | merge commit; `packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py`, `packages/loop_common/src/loop_common/supports/_3d_structured_grid.py`, `packages/loop_common/tests/test_evaluation_lookup.py` | T045 | D8 is done; `pytest packages/loop_common/tests`, `pytest tests/fault_evaluation` and the golden tests pass; the two new lookup tests pass; no golden reference changes. | +| T047 | M | tests (red) | delete `tests/fault_evaluation/test_cache_storage.py`, `test_persistent.py`, `test_invalidation.py`, `test_fault_set_key.py`, `test_fingerprint_cycle.py`; change `test_concurrency.py`, `test_memory.py`, `test_context.py`, `test_gradient_context.py`, `test_fault_frame_lookup.py`; new `test_no_retention.py` | T046 | The red tests of D7, and only those, fail for the reasons in D7. | +| T048 | M | code | the production files of D7 | T047 | `pytest tests/fault_evaluation` (without the four T049 test files, which are red until T050) and the golden tests pass; `git diff master` of the two builder files and of `_discrete_interpolator.py` is empty; `git grep` of each removed name of the Handover finds nothing in `LoopStructural` and `packages` (T050 checks `benchmarks` and `tests`, because T049 and T050 change those files); Ruff finds nothing new. | +| T049 | M | tests (red) | `tests/fault_evaluation/test_benchmark_run.py`, `test_benchmark_suites.py`, `test_acceptance.py`, `test_benchmark_compare.py` | T046 | Tests for D9 and D10 fail for the expected reasons: the 16 large ids, `STATES`, `pass_cases`, `None` fields and `"suite"` in `_merge` and `validate_result`, `cold_view`, the SC-006 allowance (one case at 1.5 × a 1 MB baseline passes; one at 1.5 × a 100 MB baseline fails), no SC-010 row, and "not measured" in compare. | +| T050 | M | code | `benchmarks/fault_evaluation/run.py`, `bench_cases.py`, `acceptance.py`, `compare.py` | T049, T048 | `pytest tests/fault_evaluation` passes; `git grep` of each removed name of the Handover finds nothing in `LoopStructural`, `packages`, `benchmarks` and `tests`; Ruff finds nothing new. | +| T051 | M | measure (no code) | `specs/003-fault-evaluation-performance/profile-d4a.md` | T048, T050 | D11 step 4 is written as a new section, with the revision and the measured values. | + +New needs: T030 needs T051. T031 needs T030. T032 needs T031. T031 must +document: no cache between calls (C-012), the per-call scope, the suite and +its pass point sets, and the SC-006 rule. + +The run-state of the orchestrator keeps its old waves. The next wave starts +at T046. + +## Answers + +- 2026-11-01: The user approved the constitution draft in the main checkout. + The draft marker was removed and the stricter pytest/Ruff merge rule activated. +- OP1, 2026-11-01: The user accepted a limit per distinct ordered fault set and distinct point batch. Count recursive frame batches separately. Measure memory per actual restored point, including tetrahedron corners, excluding unchanged baseline work arrays. This resolves the interpretation for T021 and dependent tasks; the measured targets still apply. +- OP2: Pending measurements. The 15-minute target and 10% noise limit remain. + Both now apply to the standard suite (see the 2026-11-02 answers below). + +- 2026-11-01: After the exporter failed on the existing gradient shape defect, + the user requested spec-planner to add the correctness prerequisite. T033/T034 + define the regression and narrow fix. No production change was made in this + planning run; golden capture and timing wait for that fix to pass. + +- 2026-11-02: The user instructed the implementer to keep working through fixture repair retries, overriding the skill's two-failure stop limit for those repairs. Keep tests and review requirements unchanged. + +- 2026-11-02: The first run of the full 650-case suite did not finish in 4 + hours and the user stopped it. The user asked for a suite of about 1 hour. + Through the spec-reviewer skill the user chose: a standard suite of about 1 + hour on the code before this feature, with 12 fixed random cases at 50,000 + and 100,000 points each (cheaper models only), a 10% noise limit for cases + of 1 s or more, and a 15-minute limit after the change (spec C-006 to C-010). + The user also chose that every time is measured and none is inferred. +- OP2, answered 2026-11-03: the baseline of the standard suite failed SC-007 (35 of + 124 cases of 1.0 s or more differ by 10 % or more between the two runs; see + baseline.md). The user chose to continue with the cache and grid tasks and to + decide at T030, after a new measurement on a quiet computer. SC-007 is not + changed. A failed SC-007 at T030 still keeps acceptance open. +- 2026-11-02, planner decisions that follow from this and need no user answer: + the runner skips the useless priming call when the model has no cache; + short cases repeat for five rounds in a second step; the list of large cases + is stored as literal ids. The runner correction (progress output, checkpoint + file, `--resume`, `--work-dir`, `suite_wall_seconds`) is already committed. +- T030, 2026-11-03: the first acceptance measurement failed. Code at revision + c8e3f9f1 (T001 to T029 done). Two runs of the standard suite (254 cases), + outside the repository, clean tree. The raw results are in + `C:/Users/lachl/dev/ls-bench-003/cand/` (`candidate.json`, + `candidate_repeat.json`, `acceptance_cand.json`, logs). Passed: SC-002, + SC-005, SC-009. Failed: SC-003 (16 fault calls, not 4; time ratio 0.214), + SC-004 (6.16 against 1.5), SC-006 (many cases above 1.2; several have a very + small baseline memory, check the rule), SC-007 (cases above 1.10; the same + noise problem as the baseline), SC-008 (3,017 s against 900 s; baseline + 3,271 s), SC-010 (0.48 against 0.10). +- T030 diagnosis, 2026-11-03 (read-only profile of `f4_u3`, 5,000 points): + (a) The persistent key uses `dependency_fingerprint(feature)` of the whole + feature, with its own data and build arguments. The 4 groups have the same + ordered faults but 4 different fingerprints, so separate top-level calls + never share an entry (16 fault calls with the cache on and off). (b) The + model-wide state token `_state_of_model` is rebuilt in every scope. It costs + 0.137 s of a 0.185 s warm `evaluate_model` (74 %), mostly pandas `iloc` + calls in `_update_frame`. The cache makes cold `evaluate_model` 0.135 s + slower (0.355 s against 0.220 s). (c) SC-010 in `acceptance.py` divides the + warm case by the candidate COLD case (0.213 s / 0.445 s), not by the + baseline. Against the baseline (6.4 s) the warm ratio is already 0.033. + Warm time with zero fault calls and no tokens is about 0.017 s. (d) SC-008: + the sum of the candidate medians is 334 s (baseline 943 s), but the suite + takes 3,017 s. About 2,000 s is not evaluation (counters pass, memory pass, + warm priming, process starts). The two `onlap_domain` 100,000-point gradient + cases take about 128 s per pass and are almost unchanged. Faster faults alone + cannot reach 900 s. (e) `onlap_domain` is slower than the baseline at 5,000 + points (`model_gradient` cold 2.52 s against 0.92 s); the token and + fingerprint cost is the probable cause (not profiled). +- T030 decision, 2026-11-03: the user chose to fix the cache design. Proposed + by the diagnosis, for the spec-planner skill to turn into tasks: (A) the + persistent key comes from the ordered fault set and the state of those faults + only (not the root data, build arguments or regions of the feature, which + cannot change a fault restoration; check `FaultSegment` for this); this needs + a correction of D4 and a change of the T016/T017 invalidation tests that + expect root data edits to invalidate; (B) the model-state token must be O(1) + per call, for example cached per `(model, evaluation_revision)`, or removed + if A covers it; every in-place edit that no setter sees must then be decided + in D4; (C) optional: cache `dependency_fingerprint` per revision; hash + `_update_frame` through `frame.items()`. SC-003 and SC-004 should then be + reachable; SC-010 needs a warm call of about 0.02 s. The SC-008 choice (change + the target or shorten the suite) is not yet decided by the user. T030 stays + `[!]` until the new tasks are done. The implementer stops here: a plan change + needs the spec-planner skill. +- Pickle defect, 2026-11-03: the orchestrator found it in the check before the + T040 wave. `RestorationCache` (T013, T023) keeps a `threading.RLock` and has no + `__getstate__`. After a `dill` round trip (`GeologicalModel.to_file`, then + `from_file`) the lock cannot be acquired, so the first evaluation of a loaded + model waits forever in `evaluation_scope` + (`tests/integration/test_p2fold_model.py::test_p2fold_save_load` hangs). The + user chose to add the fix to T040 and T041: T040 adds a red regression test, + and T041 adds `RestorationCache.__getstate__` and `__setstate__`. The state + keeps `enabled` and `max_bytes`, drops the entries, and makes a new `RLock` + on load. A loaded cache starts empty, with no stored revision. +- T040 transform test, 2026-11-04 (orchestrator, from the cascade text): spec + 005 has no plan and selects no transform policy (its FR-020 allows rebuild or + reject before mutation). Today a transform change is a direct in-place edit. + T040 group (5) therefore tests only the rule that both policies need: after a + change of the bounding-box transform, both fingerprints change, the cache + gives no stale hit, and the cache-on result equals the cache-off result. The + test of the selected owner policy belongs to spec 005 (its SC-016). +- D4 tests after D4a, 2026-11-04: T041 made the D4a code. Four existing tests + still asserted the old D4 key. D4a keys each nested fault set on its own + faults, so after an in-place edit of a fault list (`faults_inplace_reverse`, + `faults_inplace_pop`) or of one frame (`frame_c_inplace_child`) the nested + sets that did not change are reused correctly: the results equal cache-off, + with fewer fault calls (4 vs 8, 3 vs 7, 20 vs 22). The user chose: + `test_mutated_model_gives_a_fresh_changed_result` always asserts equal results + and cached calls <= cache-off calls, and when `touches_faults` also cached + calls > 0. `test_opaque_dependency_bypasses_persistent_entries` puts the + opaque region on a fault of `cutting_faults`, not on the root group (D4a does + not read root regions; they change the mask, never the restoration). It keeps + the check of a hidden change of the closure state. T041 code stays as it is. + Detail (orchestrator, from D4a): `FaultSegment.regions` is read only in + `evaluate_gradient`; the restoration reads the regions of the frame members + `fault[0..2]`. The opaque closure therefore goes on + `_fault(model, 0)[0].regions` of `cutting_faults`. +- T042, 2026-11-04: measured at 598ef21e with Python 3.13.12 (see + profile-d4a.md). Passed: SC-003 count (4 and 4 fault calls), cold + `model_ids` cache on / off 1.07 (an earlier run 0.93), warm `model_ids` 0 + fault calls, `onlap_domain` `model_gradient` cold 0.56 s (baseline 0.92 s). + Failed: `fault_set_fingerprint` for the 4 faults of `f4_u3` takes about 8 ms + (target 5 ms; the orchestrator measured 8.7 ms median, 6.9 ms minimum). OP5 + ratio warm / cold `evaluate_model`: `f4_u3` 0.109, `f4_u0` 0.040, + `onlap_domain` 0.284. A profile of 20 calls gives 0.388 s of 0.459 s in + `_update_frame` (pandas overhead for each column; 12 frames for each call). + The user chose a replan: add a test task and a code task that make + `_update_frame` cheaper (for example hash each dtype block of the frame once, + not each column) and keep the detection of in-place edits; then run T042 + again. Do not cache the key per revision (OP5). This needs the spec-planner + skill, then the spec-tasks skill. +- T045, 2026-11-04: the D4b code as written gives a new Ruff finding, + PERF102 (ruff 0.17.3), for `for _, column in frame.items():` because the + key is not used. The user chose this loop form for frames above + `_SMALL_FRAME_CELLS`: `for item in frame.items():` and then + `column = item[1]`. It keeps the behavior, also for duplicate column + names, and it uses no `iloc`. Do not add `noqa`. +- 2026-11-18, review and replan: a review of the branch found that sharing in + one call gives most of the gain (`f4_u3` `model_ids`, 5,000 points: 6.34 s + baseline, 0.22 s first call), and the cache between calls gives a second + call of 0.02 s with large cost (revision hooks, a state hash in each call, a + lock for each model, most SC-006 failures). The user chose (spec C-012 to + C-016): remove the cache and the lock; SC-006 passes at 120 % or +16 MiB; + shorter standard suite with the 15-minute limit; time ratios use + `baseline.json`; the 24 large ids become 16 cold ids. OP3 and OP4 are + resolved and OP5 is closed. The planner added the 20,000-point cases to the + count pass, because SC-009 reads their counts (spec FR-012a). The planner + chose a merge, not a rebase, of master (D8), because recorded files name + the commits of this branch. A test merge on 2026-11-18 gave one conflict + (`_3d_structured_grid.py`). +- 2026-11-18, review of wave 33 (orchestrator): the SC-006 row of D10 gives + the number of compared cases as the integer key `"compared_cases"` (cases + with a memory value in both documents; a None value is not counted). The + test `test_sc_006_row_reports_worst_ratio_failing_cases_and_compared_count` + checks it, with the worst ratio and the failing cases in the reason. The + T047 red check has 8 more red tests than D7 says: the tests that lost their + cache-off lines see cache hits until T048. They must pass after T048. +- 2026-11-18, T050 (orchestrator): (1) the T049 test + `test_sc_006_allowance_limit_is_inclusive_and_a_zero_baseline_uses_only_it` + used a 100,000,000-byte baseline. There, baseline + allowance + 1 byte is + 1.168 times the baseline and passes by the ratio, so the test was wrong. The + allowance alone decides only below about 83.9 MB. The test now uses + 50,000,000 bytes. The D10 rule does not change. (2) The `git grep` gate of + T050 over `tests` allows the test lines that assert that `evaluation_cache` + is absent or never read: they name the removed attribute on purpose. +- 2026-11-18, review of wave 35 (orchestrator, blocker): `cold_view` of + `baseline.json` has 136 ids; the standard suite has 131. The 5 extra ids are + the gradient cases at 100,000 points that C-016 removes from the standard + suite. Without a rule, `check_acceptance` and `compare_results` report them + as missing, so a real T030 run always fails. Rule: new + `run.standard_view(document) -> dict` returns a copy with only the rows whose + `case_id` is in `standard_cases()`. When the candidate document has + `"suite": "standard"`, `check_acceptance` and `compare_results` apply + `standard_view` to the base after `cold_view`. For a full candidate, or a + candidate with no `"suite"`, a missing base case still fails. +- 2026-11-18, T051 blocked, user answer (spec C-017): T051 measured + `f4_u3:all_group_values:5000:cold` at 16 fault calls (4 separate public + calls, no reuse between calls after C-012) and SC-004 at 3.8 with + `all_group_values`. `model_ids` gives 4 calls and 1.03. The user chose: + the SC-003 count and the SC-004 ratio use `model_ids`; the SC-003 time ratio + stays on `all_group_values`. New tasks T052 (tests, red first) and T053 + (`acceptance.py`). T051 measures G1 on `f4_u3:model_ids` (4 calls) and + reports the `all_group_values` count (16) for information. +- 2026-11-18, T030 parked (user): the user cannot give a quiet computer now + and parked T030 (OP6). T031 and T032 wait for T030. diff --git a/specs/003-fault-evaluation-performance/profile-d4a.md b/specs/003-fault-evaluation-performance/profile-d4a.md new file mode 100644 index 000000000..3c304a8f1 --- /dev/null +++ b/specs/003-fault-evaluation-performance/profile-d4a.md @@ -0,0 +1,266 @@ +# Profile report: D4a gates (T042, T051) + +## Third run (808b4911, no cache, after the master merge) + +Result: PASSED. G1, G2, G5 and the golden tests pass. A first try at 3865c80b stopped on the `all_group_values` count (16); spec C-017 then changed G1 to the `model_ids` count. + +### Setup + +- Revision: 808b49117be9204f3497a84964d4548ba86cc590 (`git status --short` printed nothing). The code is the same as at 3865c80b; only spec documents changed. +- Python: `C:/Users/lachl/dev/LoopStructural/.venv/Scripts/python.exe` (3.13.12). +- PYTHONPATH: worktree root; `packages/loop_common/src`; `packages/loop_interpolation/src`. +- Method: a scratchpad script (outside the repository, deleted at the end) gave a fake `benchmark` object (`extra_info`, `pedantic`) to `benchmarks.fault_evaluation.bench_cases.run_case`. Cases: `enumerate_cases()` filtered by model (`f4_u3`, `f4_u0`, `onlap_domain`) and `points == 5000` (15 cases, all cold). Time: median of 5 rounds, `time.perf_counter`. Fault calls: one extra run with `EvaluationInstrumentation`, `rounds=1`, `after_setup=reset`, value `snapshot()["fault_calls_total"]`. +- Commands: `python m3.py` (the scratchpad script), run from the scratchpad folder; `python -m pytest tests/fault_evaluation -q -p no:cacheprovider`. +- Every time is measured. None is inferred. + +### Fault calls and median time, 5,000 points, cold + +| Case | Fault calls | Median (s) | +|---|---|---| +| f4_u3 oldest_value | 4 | 0.1943 | +| f4_u3 all_group_values | 16 | 0.7727 | +| f4_u3 model_ids | 4 | 0.2067 | +| f4_u3 oldest_gradient | 8 | 1.6646 | +| f4_u3 model_gradient | 8 | 2.7734 | +| f4_u0 oldest_value | 4 | 0.1888 | +| f4_u0 all_group_values | 4 | 0.1944 | +| f4_u0 model_ids | 4 | 0.1941 | +| f4_u0 oldest_gradient | 4 | 1.4746 | +| f4_u0 model_gradient | 4 | 1.5511 | +| onlap_domain oldest_value | 1 | 0.0267 | +| onlap_domain all_group_values | 2 | 0.0529 | +| onlap_domain model_ids | 1 | 0.0285 | +| onlap_domain oldest_gradient | 2 | 0.3187 | +| onlap_domain model_gradient | 2 | 0.5380 | + +Samples (s) of the key cases: + +- f4_u3 model_ids cold: 0.2098, 0.1997, 0.2027, 0.2201, 0.2067. +- f4_u3 all_group_values cold: 0.7976, 0.7875, 0.7558, 0.7727, 0.7581. +- onlap_domain model_gradient cold: 0.5380, 0.5359, 0.5370, 0.5391, 0.5411. An earlier full pass of the same script (output lost to log noise) printed a median of 0.5347 for this case. + +### Gates + +| Gate | Measured | Target | Result | +|---|---|---|---| +| G1 fault calls, f4_u3 cold model_ids (SC-003, spec C-017) | 4 | 4 | pass | +| G1 information: f4_u3 cold all_group_values calls | 16 | 16 expected (4 separate calls, no reuse between calls) | information only | +| G2 f4_u3 cold model_ids median | 0.2067 s | at most 0.2429 s (1.10 * 0.2208 s) | pass | +| G5 onlap_domain model_gradient cold | 0.5380 s | baseline 0.92 s (report only) | pass | +| Golden tests: `pytest tests/fault_evaluation -q -p no:cacheprovider` | 340 passed, 1 warning in 60.15 s | all pass | pass | + +G3 and G4 are gone (no cache, no fingerprint). + +--- + + +Overall result: PASSED in the second run (45980adc, after D4b). All five gates pass. +The first run (598ef21e) failed gate G4. G4 now measures 3.50 ms at most (target 5 ms). +The `onlap_domain` OP5 ratio is 0.254. It is above 0.10 and has no gate here. T030 decides it (SC-010). + +## Second run (45980adc, after D4b) + +### Setup + +- Revision: 45980adc34cbe13acb6a00ab4889860ed572a942 (`git status --short` printed nothing before and after). +- Python: `C:/Users/lachl/dev/LoopStructural/.venv/Scripts/python.exe` (3.13.12). +- PYTHONPATH: worktree root; `packages/loop_common/src`; `packages/loop_interpolation/src`. +- Machine: same as the first run (Windows 11, 20 logical CPUs). No other heavy work ran. +- Method: same as the first run. A scratchpad script (outside the repository, deleted at the end) gave a fake + `benchmark` object (`extra_info`, `pedantic`) to `benchmarks.fault_evaluation.bench_cases.run_case`. + Cases: `enumerate_cases()` filtered by model (`f4_u3`, `f4_u0`, `onlap_domain`) and `points == 5000` (30 cases). + Time: median of 5 rounds, `time.perf_counter`. Fault calls: one extra run with `EvaluationInstrumentation`, + `rounds=1`, `after_setup=reset`, value `snapshot()["fault_calls_total"]`. + Cache off: `model.evaluation_cache.enabled = False`, then the cold `model_ids` case. + Fingerprint: `fault_set_fingerprint(group.faults, build=False)`, 20 repeats for each group, median and minimum. +- Command: `python m.py` (the scratchpad script), run from the scratchpad folder. +- Every time is measured. None is inferred. + +### Fault calls and median time, 5,000 points + +| Case | Fault calls | Median (s) | +|---|---|---| +| f4_u3 oldest_value cold | 4 | 0.2114 | +| f4_u3 oldest_value warm | 0 | 0.0088 | +| f4_u3 all_group_values cold | 4 | 0.2276 | +| f4_u3 all_group_values warm | 0 | 0.0309 | +| f4_u3 model_ids cold | 4 | 0.2208 | +| f4_u3 model_ids warm | 0 | 0.0205 | +| f4_u3 oldest_gradient cold | 8 | 1.8037 | +| f4_u3 oldest_gradient warm | 0 | 0.3785 | +| f4_u3 model_gradient cold | 8 | 2.8261 | +| f4_u3 model_gradient warm | 0 | 1.5080 | +| f4_u0 oldest_value cold | 4 | 0.2051 | +| f4_u0 oldest_value warm | 0 | 0.0048 | +| f4_u0 all_group_values cold | 4 | 0.1921 | +| f4_u0 all_group_values warm | 0 | 0.0050 | +| f4_u0 model_ids cold | 4 | 0.2116 | +| f4_u0 model_ids warm | 0 | 0.0051 | +| f4_u0 oldest_gradient cold | 4 | 1.4983 | +| f4_u0 oldest_gradient warm | 0 | 0.3902 | +| f4_u0 model_gradient cold | 4 | 1.4992 | +| f4_u0 model_gradient warm | 0 | 0.3509 | +| onlap_domain oldest_value cold | 1 | 0.0283 | +| onlap_domain oldest_value warm | 0 | 0.0065 | +| onlap_domain all_group_values cold | 1 | 0.0364 | +| onlap_domain all_group_values warm | 0 | 0.0117 | +| onlap_domain model_ids cold | 1 | 0.0338 | +| onlap_domain model_ids warm | 0 | 0.0086 | +| onlap_domain oldest_gradient cold | 2 | 0.3303 | +| onlap_domain oldest_gradient warm | 0 | 0.2235 | +| onlap_domain model_gradient cold | 2 | 0.5580 | +| onlap_domain model_gradient warm | 0 | 0.4208 | + +Samples (s) of the key cases: + +- f4_u3 model_ids cold, cache on: 0.2171, 0.2295, 0.2262, 0.2160, 0.2208. +- f4_u3 model_ids cold, cache off: 0.2117, 0.2019, 0.2068, 0.2226, 0.2142 (median 0.2117, fault calls 4). +- f4_u3 model_ids warm: 0.0187, 0.0319, 0.0184, 0.0205, 0.0221. +- onlap_domain model_gradient cold: 0.6537, 0.5901, 0.5553, 0.5580, 0.5449. + +### Fingerprint time, `fault_set_fingerprint(faults, build=False)`, 20 repeats + +| Model and group | Faults | Median (ms) | Minimum (ms) | +|---|---|---|---| +| f4_u3 group_0 | 4 | 3.502 | 2.675 | +| f4_u3 group_1 | 4 | 2.759 | 2.585 | +| f4_u3 group_2 | 4 | 2.872 | 2.615 | +| f4_u3 group_3 | 4 | 2.643 | 2.538 | +| f4_u0 group_0 | 4 | 2.551 | 2.395 | +| onlap_domain group_1 | 1 | 2.275 | 1.956 | +| onlap_domain group_2 | 1 | 2.201 | 1.933 | + +Groups with 0 faults take 0.001 ms and are left out of the table (`onlap_domain` group_0). The group_0 median of `f4_u3` is +the first call in the process, and it is higher than the other groups. Its minimum is in line with the others. +The worst median is 3.50 ms, so the target of 5 ms holds in every group. + +### Gates + +| Gate | Measured | Target | Result | +|---|---|---|---| +| G1 SC-003 count: f4_u3 cold all_group_values and model_ids | 4 and 4 | 4 each | pass | +| G2 cold model_ids, cache on / cache off (f4_u3) | 0.2208 / 0.2117 = 1.043 | at most 1.10 | pass | +| G3 warm model_ids fault calls (f4_u3) | 0 | 0 | pass | +| G4 `fault_set_fingerprint`, 4 faults of f4_u3, `build=False`, 20 repeats | median 2.64 to 3.50 ms (worst 3.50); minimum 2.54 to 2.68 ms | at most 5 ms | pass | +| G5 onlap_domain model_gradient cold | 0.5580 s | below the baseline 0.92 s | pass | + +### OP5: warm evaluate_model / cold evaluate_model + +| Model | Cold (s) | Warm (s) | Ratio warm / cold | +|---|---|---|---| +| f4_u3 | 0.2208 | 0.0205 | 0.093 | +| f4_u0 | 0.2116 | 0.0051 | 0.024 | +| onlap_domain | 0.0338 | 0.0086 | 0.254 | + +The `onlap_domain` ratio stays above 0.10. It has no gate here. It is reported for T030 (SC-010). + +### Comparison with the first run + +| Item | First run (598ef21e) | Second run (45980adc) | +|---|---|---| +| G4 fingerprint median, f4_u3 | 7.57 to 8.07 ms | 2.64 to 3.50 ms | +| G4 fingerprint minimum, f4_u3 | 6.6 to 6.9 ms | 2.54 to 2.68 ms | +| OP5 f4_u3 | 0.109 | 0.093 | +| OP5 f4_u0 | 0.040 | 0.024 | +| OP5 onlap_domain | 0.284 | 0.254 | +| f4_u3 model_ids warm | 25.9 ms | 20.5 ms | + +D4b (T045) cut the fingerprint time by about a factor of 2.3 to 2.9. The warm times fell by 5 ms or more for `f4_u3`. +Fault counts did not change (G1 and G3 still pass). + +## First run (598ef21e) + +# Profile report: D4a gates (T042) + +Result: FAILED. One gate misses its target (G4, `fault_set_fingerprint` time). + +## Setup + +- Revision: 598ef21e98861875717d34fbe98e304d3ee46374 (tree clean). +- Python: `C:/Users/lachl/dev/LoopStructural/.venv/Scripts/python.exe` (3.13.12). +- Machine: Windows 11 (10.0.26200), Intel64 Family 6 Model 154, 20 logical CPUs. No other heavy work ran. +- PYTHONPATH: worktree root; `packages/loop_common/src`; `packages/loop_interpolation/src`. +- Method: a script in the scratchpad (outside the repository, deleted at the end). It called + `benchmarks.fault_evaluation.bench_cases.run_case` with a small fake `benchmark` object. + The fake object has `extra_info = {}` and `pedantic(call, setup, rounds, warmup_rounds)`. + `pedantic` runs `setup()`, then times `call()` with `time.perf_counter`, for each round. + So each time is exactly the time that `run_case` times. +- Cases: `enumerate_cases()` filtered by model (`f4_u3`, `f4_u0`, `onlap_domain`) and `points == 5000`. 30 cases. +- Time: 5 rounds for each case. The table gives the median. +- Fault calls: one extra run of the case with `EvaluationInstrumentation` and `rounds=1`. + `after_setup=counters.reset`. The value is `snapshot()["fault_calls_total"]`. + The timing runs did not use the instrumentation. +- Each model was built once with `tests.fault_evaluation.models.build_model`, outside the timed part. +- Command: `python m.py` (the scratchpad script), run from the scratchpad folder. +- Every time is measured. None is inferred. + +## Fault calls and median time, 5,000 points + +| Case | Fault calls | Median (s) | +|---|---|---| +| f4_u3 oldest_value cold | 4 | 0.2389 | +| f4_u3 oldest_value warm | 0 | 0.0147 | +| f4_u3 all_group_values cold | 4 | 0.2565 | +| f4_u3 all_group_values warm | 0 | 0.0521 | +| f4_u3 model_ids cold | 4 | 0.2378 | +| f4_u3 model_ids warm | 0 | 0.0259 | +| f4_u3 oldest_gradient cold | 8 | 1.7519 | +| f4_u3 oldest_gradient warm | 0 | 0.3873 | +| f4_u3 model_gradient cold | 8 | 2.8562 | +| f4_u3 model_gradient warm | 0 | 1.5138 | +| f4_u0 oldest_value cold | 4 | 0.2324 | +| f4_u0 oldest_value warm | 0 | 0.0098 | +| f4_u0 all_group_values cold | 4 | 0.2667 | +| f4_u0 all_group_values warm | 0 | 0.0108 | +| f4_u0 model_ids cold | 4 | 0.2618 | +| f4_u0 model_ids warm | 0 | 0.0104 | +| f4_u0 oldest_gradient cold | 4 | 1.7437 | +| f4_u0 oldest_gradient warm | 0 | 0.4822 | +| f4_u0 model_gradient cold | 4 | 1.5863 | +| f4_u0 model_gradient warm | 0 | 0.4105 | +| onlap_domain oldest_value cold | 1 | 0.0334 | +| onlap_domain oldest_value warm | 0 | 0.0084 | +| onlap_domain all_group_values cold | 1 | 0.0425 | +| onlap_domain all_group_values warm | 0 | 0.0144 | +| onlap_domain model_ids cold | 1 | 0.0356 | +| onlap_domain model_ids warm | 0 | 0.0101 | +| onlap_domain oldest_gradient cold | 2 | 0.3343 | +| onlap_domain oldest_gradient warm | 0 | 0.2292 | +| onlap_domain model_gradient cold | 2 | 0.5555 | +| onlap_domain model_gradient warm | 0 | 0.4454 | + +Samples (s) of the key cases: + +- f4_u3 model_ids cold, cache on: 0.2670, 0.2728, 0.2378, 0.2290, 0.2316. +- f4_u3 model_ids cold, cache off: 0.2223, 0.2196, 0.3192, 0.2194, 0.2355 (fault calls 4). +- f4_u3 model_ids warm: 0.0303, 0.0241, 0.0259, 0.0257, 0.0267. +- onlap_domain model_gradient cold: 0.5555, 0.5486, 0.5582, 0.5474, 0.5564. + +An earlier run of the same script gave a cache-off median of 0.2547 s (samples 0.2547, 0.3171, 0.2372, 0.3172, 0.2147). +The cache-on and cache-off times are close, and the noise between rounds is about 10 to 40 percent. +Both runs give a ratio below 1.10 (0.93 and 1.07). + +## Gates + +| Gate | Measured | Target | Result | +|---|---|---|---| +| G1 SC-003 count: f4_u3 cold all_group_values and model_ids | 4 and 4 | 4 each | pass | +| G2 cold model_ids, cache on / cache off (f4_u3) | 0.2378 / 0.2223 = 1.07 | at most 1.10 | pass | +| G3 warm model_ids fault calls (f4_u3) | 0 | 0 | pass | +| G4 `fault_set_fingerprint` median, 4 faults of f4_u3, `build=False`, 20 repeats | 7.57 to 8.07 ms (group_0 8.07, group_1 8.02, group_2 7.96, group_3 7.57) | at most 5 ms | FAIL | +| G5 onlap_domain model_gradient cold | 0.5555 s | below the baseline 0.92 s | pass | + +Fingerprint minimum per call was 6.6 to 6.9 ms. It did not reach 5 ms in any group. + +## OP5: warm evaluate_model / cold evaluate_model + +| Model | Cold (s) | Warm (s) | Ratio warm / cold | +|---|---|---|---| +| f4_u3 | 0.2378 | 0.0259 | 0.109 | +| f4_u0 | 0.2618 | 0.0104 | 0.040 | +| onlap_domain | 0.0356 | 0.0101 | 0.284 | + +## Verdict + +Gate G4 fails: the fingerprint costs about 8 ms, not 5 ms or less. The task is failed. +The warm `f4_u3` `model_ids` time (25.9 ms) holds about 8 ms of fingerprint time. diff --git a/specs/003-fault-evaluation-performance/run-state.json b/specs/003-fault-evaluation-performance/run-state.json new file mode 100644 index 000000000..d41b3b7b2 --- /dev/null +++ b/specs/003-fault-evaluation-performance/run-state.json @@ -0,0 +1,286 @@ +{ + "spec": "003-fault-evaluation-performance", + "worktree": "C:/Users/lachl/dev/LoopStructural-native", + "branch": "spec/003-fault-evaluation-performance", + "review_mode": "wave", + "start_commit": "21616db7d1c2fa09f823092dd1b3d6dff880eec2", + "baseline": { + "ruff_findings": 474, + "pytest": "1283 passed, 4 skipped, 1 deselected (test_p2fold_save_load hangs: pickle defect) in 660 s, at 89f797d3", + "ruff_findings_after_merge": 475, + "ruff_note": "+1 from master #365 (dtm_creator.py FA100), not from 003" + }, + "waves": [ + { + "wave": 15, + "tasks": [ + "T043" + ], + "base": "89f797d39359ec4d4cb603025aec54ba5d136c5b", + "commit": "8e2a0f108f1a19fc1ce6d14ceda9beda89143a7b", + "review": "skipped: report only, no code" + }, + { + "wave": 28, + "tasks": [ + "T040" + ], + "base": "a1989c492d37b0f9e1e325b830696a20791ed220", + "commit": "a02a413c45c0dda7726653511de80a5f1f975771", + "review": "pass (sonnet), 3 minor" + }, + { + "wave": 29, + "tasks": [ + "T041" + ], + "base": "a02a413c45c0dda7726653511de80a5f1f975771", + "commit": "7d865f7c106750bc6f3f815921ba951c69af3075", + "review": "pass (sonnet), 1 minor kept, 2 rejected" + }, + { + "wave": 30, + "tasks": [ + "T042" + ], + "base": "7d865f7c106750bc6f3f815921ba951c69af3075", + "commit": "3ef8cb1ff6e0aa72fb1d4cd5293f82e0421be271", + "review": "none: report only" + }, + { + "wave": 30, + "tasks": [ + "T044" + ], + "base": "465688ec9e71c7aa364362ad5fba14283eed97f6", + "commit": "c1250aba42c7ad6b46bdf9f2e0cd67f2b25934a6", + "review": "pass (sonnet), no findings" + }, + { + "wave": 31, + "tasks": [ + "T045" + ], + "base": "c1250aba42c7ad6b46bdf9f2e0cd67f2b25934a6", + "commit": "e492ac7a9407845c887fad1036386c576487a70c", + "review": "pass (sonnet), no findings" + }, + { + "wave": 32, + "tasks": [ + "T042" + ], + "base": "45980adc34cbe13acb6a00ab4889860ed572a942", + "review": "none: report only", + "commit": "31e056f6808fff1df147f3e1951bbb877842f28e" + }, + { + "wave": 32, + "tasks": [ + "T046" + ], + "base": "fe2ee9f16dc6bcc831017a6fa7307418b55ec440", + "review": "pass (sonnet), 1 minor", + "commit": "12a7385d7a0c2e3fade08d18f59eac5809563b61" + }, + { + "wave": 33, + "tasks": [ + "T047", + "T049" + ], + "base": "12a7385d7a0c2e3fade08d18f59eac5809563b61", + "commit": "8caf50d3", + "review": "changes needed (sonnet): 1 major fixed (SC-006 row test), 3 minor; recheck of cf7af167 pass", + "fix_commit": "cf7af167e55aea9aeab642ef58f71d22b18b4a02" + }, + { + "wave": 34, + "tasks": [ + "T048" + ], + "base": "cf7af167e55aea9aeab642ef58f71d22b18b4a02", + "commit": "28d88a7318703bd944666ba3f18ffec39daedc4d", + "review": "pass (sonnet), 1 minor" + }, + { + "wave": 35, + "tasks": [ + "T050" + ], + "base": "28d88a7318703bd944666ba3f18ffec39daedc4d", + "commit": "15d095ff8ced0eafcbaa43bed58f932456892692", + "review": "changes needed (sonnet): 1 blocker fixed (standard_view for the 5 baseline-only gradient ids), 1 minor; recheck of 1991682c pass", + "fix_commit": "1991682ce65510476592962574a6870cc795b3cc" + }, + { + "wave": 36, + "tasks": [ + "T051", + "T052" + ], + "base": "3865c80b722dcf7ac8f3b9449ef76723bf8e246f", + "commit_T051": "f446cbf0a1b8f6b566fb607fca2f65265426b3b9", + "commit": "d0ffb0993beb65508990fe2916488076bc36490f", + "review": "pass (sonnet), 2 minor" + }, + { + "wave": 37, + "tasks": [ + "T053" + ], + "base": "d0ffb0993beb65508990fe2916488076bc36490f", + "commit": "c692fbcfc2cc5e1516e8e785a587eb39fcc3d430", + "review": "pass (sonnet), 1 minor" + }, + { + "wave": 38, + "tasks": [ + "T030" + ], + "base": "b6ff1a86c2ffc07baf9bc2573f52a9cd688442b1", + "review": "none: parked" + } + ], + "runs": { + "T043": [ + { + "model": "sonnet", + "result": "pass" + } + ], + "T040": [ + { + "model": "sonnet", + "result": "red as expected (11 failed, 154 passed); held: cascade changed the task text of test (5)" + }, + { + "model": "sonnet", + "result": "pass: 12 red for the expected reasons, changed existing tests pass" + }, + { + "model": "sonnet", + "result": "pass: test fix after D4a (user answer), 1 follow-up question answered from the plan" + } + ], + "T041": [ + { + "model": "sonnet", + "result": "blocked: 4 old D4 tests; code kept" + } + ], + "T042": [ + { + "model": "sonnet", + "result": "fail: gate G4 fingerprint 8 ms > 5 ms (measurement correct, verified)" + }, + { + "model": "sonnet", + "result": "pass: G1-G5 pass; G4 2.6-3.5 ms (orchestrator check 2.76 ms median for f4_u3); OP5 f4_u3 0.093, f4_u0 0.024, onlap_domain 0.254" + } + ], + "T044": [ + { + "model": "sonnet", + "result": "pass: 8 red for the expected reasons (7 absent constant, 1 per-column path), 21 pass" + } + ], + "T045": [ + { + "model": "haiku", + "result": "blocked: plan code gave Ruff PERF102; tests pass" + }, + { + "model": "haiku", + "result": "pass: loop form from user answer; 561 passed, golden 19 s, ruff clean" + } + ], + "T046": [ + { + "model": "sonnet", + "result": "pass: conflict resolved, 2 new lookup tests; fixture cell_index_counter now patches StructuredGrid3DGeometry; loop_common 424 passed, fault_evaluation 561 passed" + } + ], + "T047": [ + { + "model": "sonnet", + "result": "pass: 11 red (the 3 named + 8 scope/frame tests that see cache hits after the cache-off lines were removed, as D7 says; they must pass after T048); 110 pass" + } + ], + "T049": [ + { + "model": "sonnet", + "result": "pass: 30 red, all new or changed tests, for absent D9/D10 names and rules; 59 pass" + }, + { + "model": "sonnet", + "result": "fix: SC-006 allowance test baseline 100 MB -> 50 MB" + } + ], + "T048": [ + { + "model": "sonnet", + "result": "pass: 11 T047 red tests green; fault_evaluation + unit/modelling + API contract 491 passed; golden 23 passed in 28 s; master diff of 3 files empty; grep clean; no new Ruff finding" + } + ], + "T050": [ + { + "model": "sonnet", + "result": "blocked: 1 wrong T049 test (SC-006 allowance with a 100 MB baseline) and a grep gate too strict; orchestrator answers; T049 test fixed by a sonnet run; then 336 passed" + } + ], + "T051": [ + { + "model": "sonnet", + "result": "blocked: f4_u3 all_group_values 16 fault calls (SC-003 target 4); G2 0.1919 s pass; G5 0.5143 s; 340 tests pass. User answer: spec C-017 (count and SC-004 on model_ids); new tasks T052, T053" + }, + { + "model": "sonnet", + "result": "pass at 808b4911: G1 model_ids 4 calls; all_group_values 16 (info); G2 0.2067 s <= 0.2429 s; G5 0.5380 s; 340 tests pass in 60 s" + } + ], + "T052": [ + { + "model": "sonnet", + "result": "pass: 9 red (3 changed, 6 new SC-003/SC-004 tests) for the expected reason; 46 pass" + } + ], + "T053": [ + { + "model": "sonnet", + "result": "pass: 347 passed in 64 s; ruff clean" + } + ], + "T030": [ + { + "model": "orchestrator (commands)", + "result": "measured at b6ff1a86 with Python 3.13.12: SC-002/003/004/006/008/009 pass; SC-005 0.520 fail; SC-007 2.02 fail (noise in both directions, low system memory); memory check stopped by low memory. Raw files: C:/Users/lachl/dev/ls-bench-003/cand2/" + } + ] + }, + "findings": { + "found": 17, + "rejected": 2, + "dropped": 0, + "fixed": 2, + "open_minor": [ + "T040 test_fault_set_key.py:188 publish-guard result equality is weak; retained_bytes == 0 is the real check", + "T040 test_fault_set_key.py: no test for the b'Nbox;' branch (interpolator with no bounding box)", + "T040 test_fault_set_key.py:93-112: no fingerprint-level test for one fault edit (covered through the cache in test_invalidation.py)", + "T040 fix test_persistent.py:550 helper _evaluation_fingerprint has no caller now", + "T041 stale docs: _evaluation.py restore comment and module docstring, _evaluation_cache.py 'Invalidation' section, _StateHasher.node docstring still describe the old key (fix in T031 or a follow-up)", + "T046 _structured_grid_3d.py: Black rewrapped lines that T046 does not touch (rotation matrix, resize errors, corner indexes, global_index_to_cell_index)", + "T049 None on the base side is not tested in compare_results or _sc006", + "T049 validate_result has no negative test for rss_unit None; no test that _memory_worker and _cache_fields lose their cache lines", + "T047 test_memory.py has no peak-memory bound test for one evaluate_model call (FR-010)", + "T048 _evaluation.py module docstring: one long, slightly redundant line after the reword", + "T050 cold_view lives in run.py, which imports tests.fault_evaluation.models; acceptance and compare (warm base) need the tests package on the path", + "T052 test_acceptance.py:55 base f4_u0 model_ids is 1.2 s (real 0.48 s) to stay out of the SC-007 short set", + "T052 no test of a model_ids count of 3", + "T053 acceptance.py:47 ALL_F4U0 is unused now" + ] + }, + "resumed": "2026-11-04: resumed after the D4b replan (465688ec). tests/fault_evaluation baseline: 550 passed in 89 s.", + "resumed_2": "2026-11-18: resumed after the reduced-scope replan (fe2ee9f1). Baseline before the merge: tests/fault_evaluation + packages/loop_common/tests 846 passed in 172 s; Ruff 474 findings. Merge of master started with --no-commit; spec.md conflict resolved by the orchestrator (our side, master had the older 003 text).", + "paused": "2026-11-18: T030 parked by the user (OP6: needs a quiet computer). Resume: run the script C:/Users/lachl/dev/ls-bench-003/cand2/go.sh steps in a new folder, without the memory step; then the memory step alone. Then T031, T032 and the end review." +} \ No newline at end of file diff --git a/specs/003-fault-evaluation-performance/spec.md b/specs/003-fault-evaluation-performance/spec.md index ae408ae91..a92065b1f 100644 --- a/specs/003-fault-evaluation-performance/spec.md +++ b/specs/003-fault-evaluation-performance/spec.md @@ -1,6 +1,6 @@ # Feature spec: Faster evaluation of faulted models -**Feature**: `003-fault-evaluation-performance` | **Created**: 2026-11-01 | **Status**: Clarified 2026-11-01 +**Feature**: `003-fault-evaluation-performance` | **Created**: 2026-11-01 | **Status**: Clarified 2026-11-18 (scope reduced: no cache between calls; SC-006 and SC-008 changed) **Input**: The user renders models in the QGIS plugin. A model with faults and unconformities is slow to render, and it becomes slower with each fault and @@ -39,6 +39,13 @@ The analysis of the present code and the baseline numbers are in research.md. it moves each point in 10 steps and evaluates the fault frame at each step. - The solver does not change this. The cost is the same with `cg` and with `solver='native'`. +- Related work on master (2026-11-18): + - The structured grid code of `loop_common` moved into + `StructuredGrid3DGeometry` (#367, #369). The faster grid lookup of user + story 5 must use the new place of that code. + - Spec `005-coordinate-frame-correctness` changes how the fault frames and + the coordinate transforms are made. The golden results of this spec can + change only under C-006. - Words used in this spec: - **evaluation call**: one call of a public evaluation function, for example one `evaluate_model(xyz)`. @@ -53,7 +60,12 @@ The analysis of the present code and the baseline numbers are in research.md. before this feature. The tests compare the new output with it. - **benchmark case**: one golden model, one evaluation function and one number of points. - - **baseline**: the benchmark results of the code before this feature. + - **standard suite**: the set of benchmark cases that a developer runs + for each measurement (FR-012a). + - **full suite**: all the cases of FR-012, including the large ones that the + standard suite leaves out. A developer starts it on purpose. + - **baseline**: the benchmark results of the standard suite on the code + before this feature. ## User scenarios and tests @@ -112,11 +124,16 @@ applications with the baseline. 3. **Given** the plugin model of `research.md` (one group, six faults, one unconformity), **when** the caller evaluates the group at 20 000 points, **then** the time is at most half of the baseline. -4. **Given** a model that the viewer evaluated on a grid, **when** the viewer - evaluates the same grid again and the model did not change, **then** the - evaluation call makes no fault applications. **When** the model changed - before the second call, **then** the result is the result of the changed - model. +4. **Given** one model, **when** two threads evaluate it at the same time, + **then** each thread gets the result that it gets when it runs alone + (FR-010a). +5. **Given** the public evaluation functions before and after this feature, + **when** a caller uses them with the same arguments, **then** the + functions, the arguments and the return types are the same (FR-011). +6. **Given** a model that the caller evaluated, **when** the model changes and + the caller evaluates the same points again, **then** the result is the + result of the changed model, because no restored points stay after an + evaluation call (FR-009). ### User story 3: Measure the cost with benchmarks (priority: P2) @@ -128,9 +145,9 @@ files and shows which cases became slower or faster. if a later change makes the code slow again. The benchmarks are a tool for developers on their own computers. CI does not run them (C-005). -**Independent test**: run the benchmarks two times on the same computer and -the same code. Compare the two files. No case shows a change of more than the -noise limit (SC-007). +**Independent test**: run the standard suite two times on the same computer +and the same code. Compare the two files. No case shows a change of more than +the noise limit (SC-007). **Acceptance scenarios**: @@ -203,15 +220,17 @@ the golden tests. - **A feature that is not built.** The first evaluation call still builds the feature (the builder is called), and builds it only one time. - **The model changes between two evaluation calls.** A second call after a - change (new data, new fault displacement, a solve, or an accepted and rebuilt - restoration transform) must use the new model and agree with cache-off - evaluation. No stale result of the first call can stay in use. If the - coordinate owner rejects a transform change, it must do so before mutation; - model state, fingerprints, and results stay unchanged. + change (new data, new fault displacement, a solve, or a changed coordinate + transform) must use the new model. No restored points of the first call can + stay in use (FR-009). +- **An evaluation call that fails.** The next call must not use a part of the + work of the failed call. - **Very many points.** Extra memory must stay within FR-010, also for 10 million points. - **Threads.** `use_threads` in `_fault_segment.py` must give the same results as without threads, or stay off as today. +- **Saved and loaded models.** A model that is saved and loaded again (for + example with `to_file` and `from_file`) must evaluate as today. ## Requirements @@ -272,40 +291,52 @@ the golden tests. the number of fault applications MUST be at most the sum, over the different fault sets of the model, of the number of faults in each fault set. -- **FR-009**: Restored points MAY be kept between evaluation calls (C-003), - only with all of these conditions: - - a kept result is used only for the same points and the same fault set; - - a change to any state that affects restoration MUST prevent use of the - previous result. This includes a solve or a build of a fault frame or a - feature that it cuts, new data, a build argument, a fault displacement, - fault function or `steps`, a region, `faults_enabled`, and the transform - used to map points into the fault frame. The coordinate owner rebuilds or - rejects changed coordinate state; this cache work fingerprints that state - and prevents a stale cache hit; - - a golden test MUST evaluate the same points, change a restoration dependency, - evaluate again, and get the changed-model result with the cache on and off. - For a transform change, test the owner's accepted-and-rebuilt behavior or - its rejected-before-mutation behavior, as applicable. +- **FR-009**: Restored points MUST NOT be kept after the evaluation call that + made them ends, also when the call fails (C-012). A later evaluation call + MUST make its restored points again from the present model. - **FR-010**: The extra memory of one evaluation call MUST be at most the restored points of each different fault set (3 floats for each point and - each fault set). Restored points that are kept between calls MUST have a - size limit that the user can set, and MUST be removed first when they are - the oldest. The user MUST be able to clear them and to turn the keeping - off. + each fault set). This memory MUST be free when the call ends. - **FR-010a**: The evaluation MUST give the same results when two threads evaluate the same model at the same time (the QGIS plugin evaluates in - background threads). + background threads). This feature MUST NOT add a lock that lets only one + evaluation call of a model run at a time (C-012). - **FR-011**: The public API MUST stay the same: the same functions, the same arguments and the same return values. **Benchmarks** - **FR-012**: The repository MUST contain a benchmark suite that uses the - golden models. The cases MUST cover: + golden models. The full suite MUST cover: - `evaluate_value` of the oldest group, all groups one by one, `evaluate_model`, `evaluate_gradient` and `evaluate_model_gradient`; - - 5 000, 50 000 and 500 000 points; + - 5 000, 20 000 (the plugin model and the model with one fault and no + unconformity only), 50 000, 100 000 and 500 000 points; - all the fault and unconformity counts of FR-001. +- **FR-012a**: The standard suite MUST be a part of the full suite. It MUST + contain every case that a success criterion (SC-002 to SC-009) uses. The + baseline of FR-016 MUST contain each case of the standard suite. The + standard suite MUST contain: + - all the 5 000-point cases (every golden model, every function); + - the 20 000-point cases of the plugin model and of the model with one fault + and no unconformity; + - 9 cases at 50 000 points and 7 cases at 100 000 points (C-016). They come + from the fixed random choice of 2026-11-02 (fixed seed), which picked + 12 cases at each size from the models with 0 or 1 faults and from the + stopped-fault, onlap-domain and faulted-fold models. The models that cost + the most (the models with 2 or 4 faults, the cutting-faults model and the + plugin model) are not in this choice, because they are measured at 5 000 + and 20 000 points. The choice is the same in every run, so two result + files have the same cases. The gradient cases at 100 000 points are not in + the standard suite (C-014). + The time pass runs all the cases of the standard suite. The count pass runs + only its 5 000-point and 20 000-point cases, because SC-009 reads the count + of a 20 000-point case. The memory pass runs only its 5 000-point cases + (C-014). The full suite is + not limited in time. It is the standard suite plus all the other cases of + the full suite (FR-012), with all the passes. +- **FR-012b**: The command that runs the suite MUST run the standard suite by + default, and MUST run the full suite only when the developer asks for it. - **FR-013**: The suite MUST count the fault applications and the field evaluations of each case. The counters MUST be off in normal use, and MUST cost nothing when they are off. @@ -314,8 +345,9 @@ the golden tests. - **FR-015**: The benchmarks are for local development only. They MUST NOT run in the normal test run or in CI. A developer starts them on purpose. They use `pytest-benchmark` (C-004), as a development dependency only. -- **FR-016**: The repository MUST contain the baseline result file of the code - before this feature, with the computer that made it. +- **FR-016**: The repository MUST contain the baseline result file of the + standard suite on the code before this feature, with the computer that made + it. A baseline of the full suite is not required. ### Key entities @@ -327,6 +359,7 @@ the golden tests. points. - **Benchmark result file**: the results of all cases of one run, with the versions and the computer. +- **Suite**: the standard suite or the full suite (see Context). - **Fault set**: the ordered list of faults that a feature applies. Two features with the same faults in the same order have the same fault set. @@ -342,30 +375,32 @@ the golden tests. - **SC-002**: For the golden model with 4 faults and 3 unconformities and 5 000 points, `evaluate_value` of the oldest group makes 4 fault applications (baseline: 16) and takes at most 40 % of the baseline time - (baseline: 2.55 s on the computer in `research.md`). -- **SC-003**: For the same model, evaluating all groups makes 4 fault - applications (baseline: 52) and takes at most 15 % of the baseline time - (baseline: 8.65 s). -- **SC-004**: For the golden models with 4 faults, the time to evaluate all - groups with 3 unconformities is at most 1.5 times the time with 0 - unconformities (baseline: 12.9 times). + (baseline: 1.96 s in the baseline file of FR-016; C-015). +- **SC-003**: For the same model, one `evaluate_model` call, which evaluates + all groups, makes 4 fault applications (baseline: 52). Evaluating all groups + one by one takes at most 15 % of the baseline time (baseline: 6.48 s in the + baseline file of FR-016; C-015, C-017). +- **SC-004**: For the golden models with 4 faults and 5 000 points, the time + of one `evaluate_model` call with 3 unconformities is at most 1.5 times the + time with 0 unconformities (baseline: 13.3 times in the baseline file of + FR-016; C-017). - **SC-005**: For the plugin model of `research.md`, the evaluation of the group at 20 000 points takes at most 50 % of the baseline (baseline: 8.2 s). -- **SC-006**: The peak memory of each benchmark case is at most 120 % of the - baseline. -- **SC-007**: Two runs of the benchmarks on the same computer and the same +- **SC-006**: For each case of the memory pass of the standard suite, the peak + extra memory is at most 120 % of the baseline, or at most 16 MiB + (16 777 216 bytes) more than the baseline (C-013). A case passes when one + of the two limits holds. A baseline of 0 bytes uses the 16 MiB limit only. +- **SC-007**: Two runs of the standard suite on the same computer and the same code differ by less than 10 % in each case. The comparison report uses this - value as the noise limit. -- **SC-008**: The full benchmark suite takes less than 15 minutes on the - computer in `research.md`. + value as the noise limit. The limit covers the cases with a baseline time of + 1 s or more. A shorter case uses more rounds, and the report shows its + noise, but the case does not fail this criterion. +- **SC-008**: One run of the standard suite, with all its passes, takes less + than 15 minutes on the computer in `research.md`, on the code after this + feature (C-014). - **SC-009** (user story 5): the time for each point of one fault application is at most 50 % of the baseline (about 34 µs for each point). -- **SC-010**: A second `evaluate_model` of the same points, with no change of - the model, makes 0 fault applications and takes at most 10 % of the first - call. After a change of a fault displacement or restoration transform, the - second call gives the changed-model result and agrees with a cache-off - evaluation. If the coordinate owner rejects the transform change before - mutation, the prior model state, fingerprints, and result stay unchanged. +- **SC-010**: Removed on 2026-11-18 (C-012). The number is not used again. ## Out of scope @@ -374,6 +409,9 @@ the golden tests. coordinate repairs. Their affected references may change only under C-006. - A change of the default number of fault steps, unless the golden tests pass with the new value (this is part of user story 5). +- Keeping restored points or other evaluation results between evaluation + calls (C-012). The QGIS plugin can keep its own output if it evaluates the + same points again. - Changes to the solvers (`cg`, `admm`, `native`). - The algorithm that makes the surfaces from the field (marching cubes). - Changes in the QGIS plugin. The plugin gets the improvement through a new @@ -400,9 +438,7 @@ and world/local conversion defects. 5000 fixed points (difference 0). - **C-003 Results between calls.** Is it in scope to keep restored points between calls when the faults did not change? - **Answer**: yes. The risks are stale results after a model change, memory, - the cost of the key for many points, and threads. FR-009, FR-010 and - FR-010a control them. + **Answer** (2026-11-01): yes. **Replaced on 2026-11-18 by C-012: no.** - **C-004 Benchmark tool.** Is a new development dependency allowed? **Answer**: yes, `pytest-benchmark` or `asv`. This spec uses `pytest-benchmark`, because it runs with pytest, writes JSON and compares @@ -420,11 +456,101 @@ and world/local conversion defects. converts once. The transform is the mapping between those spaces and is part of the restoration dependency. The coordinate owner must rebuild dependent local state after an accepted change or reject the change before mutation. - The restoration cache must fingerprint the current transform and must not use - a stale result. A future result may change + No restored points stay after an evaluation call (FR-009, C-012), so a + changed transform cannot give a stale restoration. A future result may change only when analytic evidence proves the defect and the review records its expected physical effect. Append new correctness provenance for that change; keep current references and manifests as valid historical records. Keep unaffected references, numeric tolerances, and performance limits fixed. Record each changed correctness reference separately from its performance baseline, with provenance that permits comparable runs. + +Answered on 2026-11-02. The first full run of the 650 cases on the code +before this feature did not finish in 4 hours. The 500 000-point cases were +90 % of the time that was measured. No success criterion uses them. (These +answers were C-006 to C-010 in the text of 2026-11-02. The cascade of spec +005 removed them by mistake on 2026-11-04. They were put back with new +numbers on 2026-11-18.) + +- **C-007 Suite time budget.** What is the time budget of one run of the + standard suite? + **Answer**: about 1 hour on the code before this feature, with all passes. + (Changed by C-014: the count and memory passes now run fewer cases.) +- **C-008 Standard suite content.** Which cases are in the standard suite? + **Answer**: all the 5 000-point cases; the 20 000-point cases of the plugin + model and of the model with 1 fault and no unconformity; a fixed choice of + 50 000 and 100 000-point cases of the cheaper models (C-011). The full suite + stays available on request (FR-012a, FR-012b). +- **C-009 Noise limit and short cases.** How does SC-007 treat short cases? + **Answer**: the 10 % limit covers the cases with a baseline time of 1 s or + more. Short cases use more rounds and are reported, but they do not fail the + criterion (SC-007). +- **C-010 Time limit after the change.** What is the limit of SC-008? + **Answer**: 15 minutes for the standard suite on the code after this + feature (SC-008). +- **C-011 Large point counts.** A measurement on 2026-11-02 shows that the + cutting-faults model needs 13 to 66 s for one call at 5 000 points, and the + model with 4 faults and 3 unconformities needs 42 s for the five functions. + At 50 000 points these models would need hours. How does the standard suite + keep the 1 hour budget? + **Answer**: a fixed random choice of cases at 50 000 and 100 000 points, + taken from the cheaper models. Every time is measured; no time is inferred + (FR-012a). The success criteria use only the 5 000 and 20 000-point cases. + +Answered on 2026-11-18, after a review of the implementation and of the +failed acceptance run T030 (`t030-diagnosis.md`, `profile-d4a.md`). + +- **C-012 Cache between calls.** The first evaluation call is about 29 times + faster than the baseline without a cache (`f4_u3`, `evaluate_model`, + 5 000 points: 6.34 s to 0.22 s). A cache between calls makes a second call + on the same points about 10 times faster again. It needs a revision counter + in many setters, a hash of the state of each fault set in each call, a lock + for each model and up to 64 MiB of memory. It caused most of the SC-006 + failures. Do we keep it, move it to a later spec, or remove it? + **Answer**: remove it. This spec keeps no restored points between calls + (FR-009, FR-010) and adds no lock for each model (FR-010a). SC-010 and the + warm benchmark state are removed. No later spec is planned. If the plugin + evaluates the same points again, it can keep its own output. +- **C-013 Memory limit for small cases.** The first acceptance run failed the + memory criterion (SC-006) in 45 cases. In 34 of them the baseline is below + 10 MB, and in 16 the + extra memory is below 1 MiB. How does SC-006 treat a small baseline? + **Answer**: a case passes when its peak extra memory is at most 120 % of + the baseline, or at most 16 MiB more than the baseline (SC-006). +- **C-014 Suite time.** The first acceptance run took about 3 000 s against + the 900 s limit of SC-008. More than half of the time was the priming call + of the warm cases. The two `onlap_domain` gradient cases at 100 000 points + took 24 % of the time. How does the suite meet SC-008? + **Answer**: keep the limit of 15 minutes, and make the standard suite + shorter: no warm state (C-012), the count and memory passes run only the + 5 000-point cases, and the gradient cases at 100 000 points move to the + full suite (FR-012a). The planner added the 20 000-point cases to the count + pass on 2026-11-18, because SC-009 needs their counts. +- **C-015 Baseline of the time ratios.** SC-002 and SC-003 gave the baselines + of `research.md` (2.55 s and 8.65 s, from a different script). The baseline + file of FR-016 has 1.96 s and 6.48 s for the same golden-model cases. Which + baseline do the time ratios use? + **Answer**: all the time ratios use the baseline file of FR-016 (the ratios + of SC-002, SC-003, SC-005 and SC-009). The numbers of `research.md` are for + information only. The ratio limits do not change. +- **C-016 Large cases without the warm state.** The fixed choice of + 2026-11-02 has 24 large case ids with a cold or a warm state. How does the + standard suite pick its large cases now? + **Answer**: use the same 24 ids without the state. Merge the ids that + become equal, and remove the 5 gradient cases at 100 000 points. This + gives 9 cases at 50 000 points and 7 cases at 100 000 points. The baseline + file has a measured value for each of them: the code before this feature + has no cache, so its warm case was one cold call. No new baseline run is + necessary. +- **C-017 Count and ratio of "all groups" without reuse between calls.** + SC-003 and SC-004 measured the evaluation of all groups one by one (one + `evaluate_value` call for each group). After C-012, each call applies its + faults again: T051 measured 16 fault applications for `f4_u3` (4 for each + call) and a ratio of 3.8 between `f4_u3` and `f4_u0`. One `evaluate_model` + call gives 4 applications and a ratio of 1.03. Which call do SC-003 and + SC-004 measure? + **Answer** (2026-11-18): the count of SC-003 (4) and the ratio of SC-004 + (at most 1.5) use one `evaluate_model` call (benchmark case `model_ids`). + The time limit of SC-003 (at most 15 % of the baseline) stays on the + evaluation of all groups one by one (case `all_group_values`). The limits + do not change. diff --git a/specs/003-fault-evaluation-performance/t030-diagnosis.md b/specs/003-fault-evaluation-performance/t030-diagnosis.md new file mode 100644 index 000000000..1242c53bd --- /dev/null +++ b/specs/003-fault-evaluation-performance/t030-diagnosis.md @@ -0,0 +1,268 @@ +# T030 diagnosis, split by cause (T043) + +This report supports the decisions OP3 (SC-008 target) and OP4 (SC-006 for +small baselines). It proposes no resolution. It only splits the failed T030 +results by cause. + +Labels: **M** means measured (the number is in a raw file). **D** means +derived (computed from M numbers, or a rule that this report applies). +A cause that has no profile is "probable". + +Sources (all read only): + +- `C:/Users/lachl/dev/ls-bench-003/cand/candidate.json` (run 1) and + `candidate_repeat.json` (run 2). Both have `suite_wall_seconds`. +- `acceptance_cand.json` (the SC-006 and SC-008 rows). +- `run1.work` and `run2.work`: `meta.json` (`wall_seconds` of each pass) and + the `*.checkpoint.jsonl` files (`elapsed_seconds` and the samples of each case). +- `run1.log` and `run2.log` (the pytest line "N passed in X s" of each launch). +- `specs/003-fault-evaluation-performance/baseline.json`. + +Note on provenance (M): the baseline ran on Python 3.13.12. The candidate ran +on Python 3.14.4. `acceptance_cand.json` reports this difference as a +provenance problem. Both candidate runs used code revision `c8e3f9f1`. + +## Part (a): SC-006 (peak extra RSS, limit 1.20) + +### Result + +`SC-006` fails (M). The reason text of `acceptance_cand.json` names 45 cases: + +- 43 cases have a ratio above 1.20. The highest ratio is 45.6. +- 2 cases have a baseline of 0 bytes and a candidate value above 0 bytes. + SC-006 has no ratio for them, but it counts them as failures. + +Failing cases with a baseline below 10 MB (10,000,000 bytes) (D, counted from +the table): **34 of 45**. This is 32 of the 43 ratio cases and both +zero-baseline cases. The 11 other failing cases have a baseline of 10 MB or +more. The highest ratio among them is 1.5564 +(`plugin:oldest_gradient:5000:cold`). The count is the same with a limit of +10 MiB. + +### Rule for the probable cause (D) + +The suite does not profile memory by source. The cause column uses this rule. +Treat it as a hypothesis, not as a finding. + +1. If the extra bytes (candidate minus baseline) are below 1 MiB + (1,048,576), the cause is **other**. RSS values are multiples of 4,096 + bytes. A change of some pages can come from the allocator or from noise. +2. Otherwise, for a **cold** case, the cause is **cache retention**. The cache + is empty at the start. The timed call fills it, and the sampler sees the + stored entry. +3. Otherwise, for a **warm** case, the cause is **hash workspace**. The + priming call fills the cache before the RSS sampler starts (`run_case` + calls `after_setup` last). The stored entry is then not in the extra bytes. + The temporary arrays of the key and token work in the timed call stay as + the probable cause. + +The rule uses only the state, the extra bytes and the model name. It does not +check the operation or the code path. For the `f0_*` models (no fault calls +in the baseline or the candidate), the label comes from the rule alone. + +Count by cause (D): cache retention 19, other 16, hash workspace 10 +(total 45). Among the 34 cases with a baseline below 10 MB: cache retention +13, other 16, hash workspace 5. + +The column "Fault calls" shows the baseline and the candidate value of +`fault_calls_total` (M). A candidate value of 0 for a warm case means that the +fault work was a cache hit. + +### Table (one row for each failing case of `acceptance_cand.json`) + +| Case | Baseline peak extra RSS (bytes, M) | Candidate (bytes, M) | Ratio (D) | Extra bytes (D) | Fault calls base / cand (M) | Probable cause (D) | +|---|---:|---:|---:|---:|---:|---| +| f0_u0:oldest_value:5000:cold | 1,085,440 | 1,359,872 | 1.2528 | 274,432 | 0 / 0 | other | +| f0_u0:all_group_values:5000:warm | 4,096 | 147,456 | 36.0000 | 143,360 | 0 / 0 | other | +| f0_u0:model_ids:5000:cold | 2,383,872 | 2,977,792 | 1.2491 | 593,920 | 0 / 0 | other | +| f0_u1:oldest_value:100000:warm | 37,838,848 | 54,001,664 | 1.4271 | 16,162,816 | 0 / 0 | hash workspace | +| f0_u1:model_ids:5000:cold | 4,096 | 28,672 | 7.0000 | 24,576 | 0 / 0 | other | +| f0_u1:model_ids:50000:warm | 16,773,120 | 22,990,848 | 1.3707 | 6,217,728 | 0 / 0 | hash workspace | +| f0_u1:oldest_gradient:5000:cold | 1,134,592 | 1,368,064 | 1.2058 | 233,472 | 0 / 0 | other | +| f0_u2:oldest_value:5000:cold | 8,192 | 155,648 | 19.0000 | 147,456 | 0 / 0 | other | +| f0_u2:all_group_values:5000:cold | 2,613,248 | 3,338,240 | 1.2774 | 724,992 | 0 / 0 | other | +| f0_u2:model_ids:5000:warm | 4,096 | 28,672 | 7.0000 | 24,576 | 0 / 0 | other | +| f0_u2:model_gradient:5000:cold | 122,880 | 225,280 | 1.8333 | 102,400 | 0 / 0 | other | +| f0_u3:model_ids:5000:cold | 24,576 | 319,488 | 13.0000 | 294,912 | 0 / 0 | other | +| f0_u3:model_ids:100000:warm | 41,807,872 | 54,038,528 | 1.2925 | 12,230,656 | 0 / 0 | hash workspace | +| f0_u3:oldest_gradient:5000:cold | 163,840 | 2,891,776 | 17.6500 | 2,727,936 | 0 / 0 | cache retention | +| f0_u3:model_gradient:5000:cold | 20,480 | 933,888 | 45.6000 | 913,408 | 0 / 0 | other | +| f4_u0:model_gradient:5000:cold | 17,010,688 | 21,667,840 | 1.2738 | 4,657,152 | 4 / 4 | cache retention | +| f4_u3:oldest_value:5000:cold | 1,986,560 | 4,427,776 | 2.2289 | 2,441,216 | 16 / 4 | cache retention | +| stopped_fault:oldest_value:5000:cold | 61,440 | 2,555,904 | 41.6000 | 2,494,464 | 1 / 1 | cache retention | +| stopped_fault:model_ids:5000:cold | 28,672 | 49,152 | 1.7143 | 20,480 | 1 / 1 | other | +| stopped_fault:oldest_gradient:5000:cold | 5,922,816 | 10,801,152 | 1.8237 | 4,878,336 | 1 / 1 | cache retention | +| stopped_fault:oldest_gradient:5000:warm | 6,901,760 | 12,095,488 | 1.7525 | 5,193,728 | 1 / 0 | hash workspace | +| stopped_fault:model_gradient:5000:cold | 5,246,976 | 7,798,784 | 1.4863 | 2,551,808 | 1 / 1 | cache retention | +| cutting_faults:oldest_value:5000:cold | 16,277,504 | 20,570,112 | 1.2637 | 4,292,608 | 42 / 22 | cache retention | +| cutting_faults:all_group_values:5000:cold | 18,223,104 | 25,538,560 | 1.4014 | 7,315,456 | 42 / 22 | cache retention | +| onlap_domain:oldest_value:5000:cold | 348,160 | 1,458,176 | 4.1882 | 1,110,016 | 2 / 1 | cache retention | +| onlap_domain:all_group_values:5000:warm | 24,576 | 32,768 | 1.3333 | 8,192 | 4 / 0 | other | +| onlap_domain:model_ids:5000:cold | 20,480 | 32,768 | 1.6000 | 12,288 | 4 / 1 | other | +| onlap_domain:model_ids:50000:warm | 22,892,544 | 28,590,080 | 1.2489 | 5,697,536 | 4 / 0 | hash workspace | +| onlap_domain:oldest_gradient:5000:cold | 4,497,408 | 14,020,608 | 3.1175 | 9,523,200 | 2 / 2 | cache retention | +| onlap_domain:oldest_gradient:5000:warm | 3,186,688 | 14,815,232 | 4.6491 | 11,628,544 | 2 / 0 | hash workspace | +| onlap_domain:oldest_gradient:100000:cold | 213,581,824 | 286,228,480 | 1.3401 | 72,646,656 | 2 / 2 | cache retention | +| onlap_domain:model_gradient:5000:cold | 5,267,456 | 12,357,632 | 2.3460 | 7,090,176 | 4 / 2 | cache retention | +| onlap_domain:model_gradient:5000:warm | 6,467,584 | 14,635,008 | 2.2628 | 8,167,424 | 4 / 0 | hash workspace | +| faulted_fold:oldest_value:5000:warm | 7,946,240 | 10,334,208 | 1.3005 | 2,387,968 | 1 / 1 | hash workspace | +| faulted_fold:all_group_values:5000:warm | 3,874,816 | 15,978,496 | 4.1237 | 12,103,680 | 2 / 1 | hash workspace | +| faulted_fold:model_ids:5000:cold | 3,072,000 | 5,783,552 | 1.8827 | 2,711,552 | 1 / 1 | cache retention | +| faulted_fold:oldest_gradient:5000:cold | 42,700,800 | 52,666,368 | 1.2334 | 9,965,568 | 1 / 1 | cache retention | +| faulted_fold:oldest_gradient:5000:warm | 40,345,600 | 52,117,504 | 1.2918 | 11,771,904 | 1 / 1 | hash workspace | +| plugin:oldest_value:5000:cold | 2,351,104 | 6,877,184 | 2.9251 | 4,526,080 | 12 / 6 | cache retention | +| plugin:all_group_values:5000:cold | 4,075,520 | 10,326,016 | 2.5337 | 6,250,496 | 12 / 6 | cache retention | +| plugin:model_ids:5000:cold | 1,982,464 | 5,328,896 | 2.6880 | 3,346,432 | 12 / 6 | cache retention | +| plugin:oldest_gradient:5000:cold | 15,605,760 | 24,289,280 | 1.5564 | 8,683,520 | 12 / 12 | cache retention | +| plugin:model_gradient:5000:cold | 9,281,536 | 19,865,600 | 2.1403 | 10,584,064 | 12 / 12 | cache retention | +| f0_u1:all_group_values:5000:warm | 0 | 32,768 | n/a (baseline 0) | 32,768 | 0 / 0 | other | +| f0_u2:oldest_value:5000:warm | 0 | 28,672 | n/a (baseline 0) | 28,672 | 0 / 0 | other | +The candidate values come from `candidate.json` (run 1). The memory pass +runs each case once (1 round). Run 2 (`candidate_repeat.json`) is not used for +SC-006. + +## Part (b): SC-008 (suite wall time, limit 900 s) + +### Result + +`SC-008` fails (M). `suite_wall_seconds` is 3,016.748 s for run 1 and +2,779.902 s for run 2. The baseline value is 3,270.599 s. The sum of the case +`median_seconds` (D) is 334.27 s for run 1 (the value that plan.md names), +365.70 s for run 2, and 943.15 s for the baseline. + +### How the runner takes the time (M) + +`run.py` runs three passes in this order: timing, counters, memory (`rss`). +Each launch runs in a new pytest process. The timing pass has two launches: +one for all 254 cases (1 round), and one "repeat" launch for the short cases +(5 rounds). The runner adds the wall time of each pass into `meta.json`, and +`suite_wall_seconds` is the sum of the three values. + +For each case, `elapsed_seconds` in the checkpoint file covers the whole test +body: point sampling, model build (in the first case of a model in a launch), +cache clear, warm priming, and the timed calls. + +### Table 1: pass times (M, from `meta.json`) + +| Pass | Run 1 (s) | Run 2 (s) | +|---|---:|---:| +| timing (main launch, repeat launch, process starts) | 1,568.134 | 1,543.143 | +| counters | 813.964 | 622.054 | +| rss (memory) | 634.650 | 614.706 | +| **Sum of the passes (D)** | **3,016.748** | **2,779.902** | +| `suite_wall_seconds` (M) | 3,016.748 | 2,779.902 | +| Difference (D) | 0.000 (0.00 %) | 0.000 (0.00 %) | + +### Table 2: split of each pass by launch and by activity + +Columns: + +- "Session" is the pytest time from the log (M). +- "Timed calls" is the sum of all time samples in the checkpoint file (M). +- "Warm non-timed" is the `elapsed_seconds` of the warm cases minus their + timed samples (D). It is mainly the warm priming call, plus the cache clear. +- "Cold non-timed" is the same value for the cold cases (D). It holds point + sampling and model build. A cold case has no priming call. +- "Session overhead" is the session time minus the sum of `elapsed_seconds` + (D). It holds collection, the benchmark statistics and teardown. +- "Outside pytest" is the pass wall time minus the session times (D). It holds + the process start and the imports. + +Run 1 (all values in seconds): + +| Pass and launch | Session (M) | Timed calls (M) | Warm non-timed (D) | Cold non-timed (D) | Session overhead (D) | +|---|---:|---:|---:|---:|---:| +| timing, main launch (254 cases, 1 round) | 568.58 | 322.6 | 238.2 | 1.5 | 6.2 | +| timing, repeat launch (217 short cases, 5 rounds) | 996.49 | 278.9 | 708.3 | 1.8 | 7.5 | +| timing, outside pytest (2 process starts) | 3.06 (D) | | | | | +| counters | 811.98 | 433.0 | 368.9 | 2.2 | 7.9 | +| counters, outside pytest | 1.98 (D) | | | | | +| rss | 631.97 | 348.8 | 271.8 | 1.9 | 9.4 | +| rss, outside pytest | 2.68 (D) | | | | | +| **Total** | **3,016.75** | | | | | + +Run 2 (all values in seconds): + +| Pass and launch | Session (M) | Timed calls (M) | Warm non-timed (D) | Cold non-timed (D) | Session overhead (D) | +|---|---:|---:|---:|---:|---:| +| timing, main launch (254 cases, 1 round) | 645.65 | 367.7 | 271.0 | 1.8 | 5.2 | +| timing, repeat launch (212 short cases, 5 rounds) | 894.12 | 228.3 | 658.0 | 1.5 | 6.2 | +| timing, outside pytest (2 process starts) | 3.37 (D) | | | | | +| counters | 620.41 | 351.2 | 261.9 | 1.6 | 5.6 | +| counters, outside pytest | 1.64 (D) | | | | | +| rss | 612.53 | 348.7 | 256.2 | 1.9 | 5.7 | +| rss, outside pytest | 2.18 (D) | | | | | +| **Total** | **2,779.90** | | | | | + +Check against `suite_wall_seconds` (D): the session times plus the outside +times add up to 3,016.75 s (run 1) and 2,779.90 s (run 2). The difference +from the measured values is below 0.01 s, so it is inside the 1 % limit. In +each row, the four split columns add up to the session value within 0.1 s +(rounding). + +### What the data shows and does not show + +- Warm priming (D): the "warm non-timed" time is 238.2 + 708.3 + 368.9 + + 271.8 = 1,587.2 s in run 1 (52.6 % of the suite). It is 271.0 + 658.0 + + 261.9 + 256.2 = 1,447.1 s in run 2 (52.1 %). This is the largest part of the + suite. The repeat launch of the timing pass costs 996.49 s in run 1 and + 894.12 s in run 2. Of this, 708.3 s and 658.0 s is warm non-timed time. The + data does not split priming from the cache clear. The two are in one value. +- Process starts (D): 3.06 s, 1.98 s and 2.68 s outside pytest in run 1 (7.7 s + in total). The timing pass has two launches. The time of one launch is not + in the data. +- Model build: the data has no separate model build time. It is in the "cold + non-timed" time (1.5 to 2.2 s for each launch, an upper bound) and in the + first case of each model. +- Timed calls (M): in the four launches of run 1, the timed calls add up to + 322.6 + 278.9 + 433.0 + 348.8 = 1,383.3 s (45.9 % of the suite). The + counters pass has instrumented timed calls, so those values are not + comparable to the timing pass. +- The 334 s value in plan.md is the sum of `median_seconds`. It is not a pass + time. The timed calls of the main timing launch (322.6 s) are close to it. +- plan.md says "about 2,000 s is not evaluation". The difference between + `suite_wall_seconds` and the sum of the medians is 2,682.5 s (D, run 1). The + tables above show the split of this time. For the warm cases, the data + cannot split the non-timed time between the priming call and other work. + +### Table 3: the two `onlap_domain` 100,000-point gradient cases + +The two cases are `onlap_domain:oldest_gradient:100000:cold` and +`onlap_domain:model_gradient:100000:warm` (M). They are the only cases of this +model with 100,000 points and a gradient operation. The first has no priming. +The second has one priming call, so its non-timed time is mostly that call +(D). The two cases are not in the repeat launch. + +Each cell shows "elapsed / timed" in seconds. "Elapsed" is `elapsed_seconds` +(M). "Timed" is the sum of the samples (M). The last two columns are sums (D). + +| Run and pass | `oldest_gradient:100000:cold` | `model_gradient:100000:warm` | Both, elapsed | Both, timed | +|---|---:|---:|---:|---:| +| Run 1, timing | 43.20 / 43.19 | 167.52 / 85.32 | 210.72 | 128.51 | +| Run 1, counters | 52.61 / 52.60 | 222.61 / 101.02 | 275.22 | 153.62 | +| Run 1, rss | 50.00 / 50.00 | 192.14 / 87.13 | 242.14 | 137.13 | +| Run 1, total | | | 728.08 (24.1 % of 3,016.75) | 419.26 | +| Run 2, timing | 50.49 / 50.48 | 178.55 / 91.51 | 229.04 | 141.99 | +| Run 2, counters | 46.03 / 46.02 | 179.92 / 90.38 | 225.95 | 136.40 | +| Run 2, rss | 47.12 / 47.11 | 180.13 / 89.07 | 227.25 | 136.18 | +| Run 2, total | | | 682.24 (24.5 % of 2,779.90) | 414.57 | + +Baseline medians for the same two cases (M, `baseline.json`): 45.51 s and +92.11 s (137.62 s in total). The candidate medians in run 1 are 43.19 s and +85.32 s (128.51 s in total). The change is small. The "about 128 s per pass" +figure in plan.md is the timed value of the run 1 timing pass. + +The two cases take 24 % of the suite wall time in both runs (D). In the run 1 +timing pass, the priming call of the warm case takes 82.2 s (D, elapsed minus +timed). + +## Open points for OP3 and OP4 (not resolved here) + +- OP3: the timed calls of run 1 add up to 1,383.3 s in four launches. The + non-timed time is 1,633.4 s (D). A target of 900 s is below both the timed + total and the non-timed total, so the data shows that faster fault work + alone cannot meet it. This report does not choose a new target or a method. +- OP4: 34 of the 45 failing SC-006 cases have a baseline below 10 MB. In 16 of + the 45 cases the extra bytes are below 1 MiB. Two cases have a baseline of + 0 bytes, so SC-006 has no ratio for them. Whether a small baseline needs a + different limit is a decision for the user. diff --git a/specs/003-fault-evaluation-performance/tasks.md b/specs/003-fault-evaluation-performance/tasks.md new file mode 100644 index 000000000..95ee3a36b --- /dev/null +++ b/specs/003-fault-evaluation-performance/tasks.md @@ -0,0 +1,591 @@ +# Tasks: Faster evaluation of faulted models + +**Input**: spec.md and plan.md in `specs/003-fault-evaluation-performance/` +**State**: Replanned 2026-11-18 for the reduced scope (spec C-012 to C-017, plan D7 to D11). T001-T029 and T033-T053 are done. T030 is parked (OP6: it needs a quiet computer); T031 and T032 wait for it. + +## Orchestrator notes + +- Run this file with the spec-orchestrator skill. It has the rules for the + worktree, the sub agents, the checks and the commits. +- Waves: 40. Tiers: [S] = simple model, [M] = standard model. +- Do not start a task with "Blocked by". +- **Merge (T046)**: before you send T046, run `git merge --no-commit master` + in the worktree. Do not rebase. The sub agent resolves the conflict only in + the Files of T046. You make the merge commit after the check passes. The + run-state keeps its old waves; the next wave starts at T046. +- **Worktree**: use the existing `C:/Users/lachl/dev/LoopStructural-native`, + branch `spec/003-fault-evaluation-performance`. Do not switch the main branch. + Approved setup is present and strict doctor passes. Use the existing + fixture drafts and keep T001 complete. See plan.md, Planning inputs and worktree. +- **Rules for each sub agent**: read the approved constitution and plan.md; + change only Files; do not commit, change branches or run competing checks. + The orchestrator runs tests and records the expected failure before the next + implementation task. Use ASD-STE100 comments and docs. +- **Tiers**: 4 [S], 49 [M]. Resolve the actual worker models from + `.agents/model-policy.json` and available runtime tools. Codex workers use + gpt-6-luna (low effort for S; medium for M). Limit is 5 workers, capped by + runtime slots (currently 3 besides the orchestrator). Report unavailable models. +- **Waves**: 40. Use parallel workers only for ready tasks with disjoint Files. +- **Correctness and performance epochs**: if a future analytic correction + changes references, append provenance for the reviewed affected results. + Keep current references and manifests as valid historical records. Preserve + all numeric acceptance and performance limits; report measured failures. + Compare performance only across matching correctness references and + equivalent case/run provenance. +- **Coordinate handover**: spec 005 owns frame construction, shared world/local + repairs, and coordinate-state mutation/rebuild policy. After T048 this spec + keeps no restored points between calls, so no stale transform result can + occur. Do not add a + whole-spec dependency on 005; its planning gate waits for these document + amendments only. +- **Long benchmark runs (T011, T030)**: run them from a clean committed tree, with + `--output` and `--work-dir` as absolute paths OUTSIDE the repository (for + example `C:/Users/lachl/dev/ls-bench-003/`). Use `--suite standard` (the default) + and `--resume` after a stop. Do not start another task or edit a tracked file + while a run is active; an edit would make the baseline invalid. Copy the result + files into the spec folder when the runs finish. Stop and report if one run of + the standard suite takes more than 90 minutes. Never reduce the case list. +- **After each wave**: one relevant pytest run plus Ruff for changed production + files; new test tasks must fail for the stated reason. No Cargo command is + appropriate. Staged tests may fail at named missing private APIs. +- **Checkpoints**: T033 fails on the N-by-4/N-by-3 output error; T034 fixes + only that defect before T002 resumes. T006 golden suite passes in <120s and + rejects a 1% perturbation; T011 freezes the corrected pre-performance baseline; + T019 verifies value sharing/invalidation; T021 applies the accepted OP1 rule; + T030 verifies measured targets; T032 runs the full project/package checks. +- **Capture gate**: D0/T034 is the only evaluation edit allowed before T005/T011. + Record prerequisite parent/fix/baseline revisions; never capture after a + performance change or remove a failing gradient case. T001 stays complete. +- **Task IDs**: T033/T034, T035-T039, T040-T043, T044/T045 and T046-T051 are appended to preserve existing IDs. + Schedule from Needs and Wave, not from the number. T032 is the final scheduled task. +- **Python environment**: the shared environment is + C:/Users/lachl/dev/LoopStructural/.venv/Scripts/python.exe. Set PYTHONPATH to + this worktree root plus packages/loop_common/src and packages/loop_interpolation/src + (absolute paths), so editable imports do not resolve to the main checkout. + Pytest needs write access to its worktree cache. Black and Ruff are installed. +- **Known lint baseline**: 474 existing Ruff findings. Keep the final gate strict; + do not suppress findings or mix unrelated lint cleanup into the D0 fix. +- **Blocked tasks**: do not start a task with unresolved Blocked by. A proposed + interpretation in plan.md is not a user answer. Record answers before work. +- **Before done**: Black check, Ruff, root pytest, both affected package suites, + complete golden coverage and the local acceptance report must pass. +- **Commits**: Conventional Commits, one passed implementation wave per commit. + Do not commit, push or open a PR during planning. Do not regenerate optimized + golden outputs to hide a difference. + +## Phase 1: Golden tests + +- [x] T001 [US1] [M] Test the golden model catalogue and stored-field loader. + - Do: Test D1 model_names, build_model and sample_points for all 21 names. Assert fault order, group age, unconformity relationships, all special-case topology, stratigraphic columns, deterministic points and no solver calls. Validate plugin coordinates against qgis_check.npz. Name each missing API in the failure. + - Files: `tests/fault_evaluation/test_models.py` + - Needs: none + - Wave: 1 + - Done when: python -m pytest tests/fault_evaluation/test_models.py -q fails for absent model APIs, then passes after T002. + +- [x] T002 [US1] [M] Create deterministic golden models and saved fields. + - Do: Implement the exact D1 catalogue/signatures. Extract the synthetic recipe without importing measure_baseline.py. After T034, resume the existing drafts and store solved grids/coefficients and fold state on the corrected pre-performance code. No field archive exists yet. Preserve actual frame-coordinate ownership and skip analytical coordinates; do not repeat the completed T001 test task. Load the supplied plugin data by path. Do not edit input plugin files or tests. + - Files: `tests/fault_evaluation/__init__.py`, `tests/fault_evaluation/models.py`, `tests/fault_evaluation/data/recipes.json`, `tests/fault_evaluation/data/fields.npz` + - Needs: T034 + - Wave: 4 + - Done when: python -m pytest tests/fault_evaluation/test_models.py -q passes. + +- [x] T003 [US1] [M] Test golden capture, comparisons and reference write protection. + - Do: Test D1 capture keys and shapes, all outputs, exact NaN masks, box-scaled tolerances, boundary-id exception, surface vertex/bounds/area checks including zero, and model/output/max-error messages. Test missing reference and non-write mode. A mismatching fault result must be rejected. + - Files: `tests/fault_evaluation/test_golden_tools.py` + - Needs: T002 + - Wave: 5 + - Done when: python -m pytest tests/fault_evaluation/test_golden_tools.py -q fails for absent capture/comparison/regeneration APIs, then passes after T004. + +- [x] T004 [US1] [M] Implement golden capture and explicit regeneration. + - Do: Implement D1 capture and assert_matches. The regenerate module exports main(argv=None), loads frozen fields, writes only with --write, and records revision, hashes, versions, seeds, transforms, surface levels, prerequisite_parent_revision, prerequisite_fix_revision and baseline_revision from D0. No evaluation or solver change. Do not modify the tests. + - Files: `tests/fault_evaluation/golden.py`, `tests/fault_evaluation/regenerate.py` + - Needs: T003 + - Wave: 6 + - Done when: python -m pytest tests/fault_evaluation/test_golden_tools.py -q passes. + +- [x] T005 [US1] [M] Freeze all legacy golden outputs and provenance. + - Do: Run the sole explicit D1 write command once. Record the actual pre-performance source revision, dirty-state details and all three D0 revision fields; identify the known failing raw parent separately. Confirm plugin outputs match qgis_check.npz. Inspect readable summary/hashes, surface counts and NaN masks. The isolated T034 correctness fix is the sole earlier evaluation change; no performance code may change before this task and T011 pass. + - Files: `tests/fault_evaluation/data/f0_u0.npz`, `tests/fault_evaluation/data/f0_u1.npz`, `tests/fault_evaluation/data/f0_u2.npz`, `tests/fault_evaluation/data/f0_u3.npz`, `tests/fault_evaluation/data/f1_u0.npz`, `tests/fault_evaluation/data/f1_u1.npz`, `tests/fault_evaluation/data/f1_u2.npz`, `tests/fault_evaluation/data/f1_u3.npz`, `tests/fault_evaluation/data/f2_u0.npz`, `tests/fault_evaluation/data/f2_u1.npz`, `tests/fault_evaluation/data/f2_u2.npz`, `tests/fault_evaluation/data/f2_u3.npz`, `tests/fault_evaluation/data/f4_u0.npz`, `tests/fault_evaluation/data/f4_u1.npz`, `tests/fault_evaluation/data/f4_u2.npz`, `tests/fault_evaluation/data/f4_u3.npz`, `tests/fault_evaluation/data/stopped_fault.npz`, `tests/fault_evaluation/data/cutting_faults.npz`, `tests/fault_evaluation/data/onlap_domain.npz`, `tests/fault_evaluation/data/faulted_fold.npz`, `tests/fault_evaluation/data/plugin.npz`, `tests/fault_evaluation/data/manifest.json` + - Needs: T004 + - Wave: 7 + - Done when: python -m tests.fault_evaluation.regenerate --write completes after T034 on the corrected pre-performance baseline and records all 21 models with D0 provenance. + +- [x] T006 [US1] [M] Add the passing legacy golden suite and prove sensitivity. + - Do: Load every D1 output and reference; never regenerate in tests. Cover stopped/cutting faults, onlap/domain, faulted fold, reverse, ignore_regions, faults_enabled, zero displacement, empty/outside/NaN points and first-use build. The sensitivity test expects assert_matches to raise under a temporary 1% fault-movement monkeypatch. Document that geology tests pass before optimization; unlike new feature tests these must pass on the corrected pre-performance baseline defined in D0. + - Files: `tests/fault_evaluation/test_golden.py`, `tests/fault_evaluation/test_edges.py`, `tests/fault_evaluation/legacy-check.md` + - Needs: T005 + - Wave: 8 + - Done when: python -m pytest tests/fault_evaluation -q passes in less than 120 seconds; the scoped 1% movement perturbation is rejected. + +## Phase 2: Benchmark baseline + +- [x] T007 [US3] [M] Test benchmark runner, schema, counters and isolation. + - Do: Use tiny fake models; do not run real benchmarks in CI. Test D2 full case enumeration, cold/warm isolation, separate process passes, schema fields, exceptional unpatch, normal runtime imports without wrappers, explicit suite selection and valid memory units. Assert all 16 F/U combinations, special models and five functions at all three sizes. + - Files: `tests/fault_evaluation/test_benchmark_run.py` + - Needs: T006 + - Wave: 9 + - Done when: python -m pytest tests/fault_evaluation/test_benchmark_run.py -q fails for absent benchmark modules, then passes after T008. + +- [x] T008 [P] [US3] [M] Implement benchmark runner and opt-in instrumentation. + - Do: Implement D2 run/main and case generation using pytest-benchmark. Add it to the dev extra only and update the lock with the repository tool. No production counters. Use cold cache clears outside timed regions and include lookup costs. Record real field/fault calls, provenance, RSS and raw timing samples in schema v1. Keep benchmark suite out of normal pytest collection. + - Files: `pyproject.toml`, `uv.lock`, `benchmarks/__init__.py`, `benchmarks/fault_evaluation/__init__.py`, `benchmarks/fault_evaluation/run.py`, `benchmarks/fault_evaluation/bench_cases.py`, `benchmarks/fault_evaluation/instrumentation.py` + - Needs: T007 + - Wave: 10 + - Done when: python -m pytest tests/fault_evaluation/test_benchmark_run.py -q passes. + +- [x] T009 [P] [US3] [S] Test benchmark comparison ratios and missing-case errors. + - Do: Test compare_results(base: dict, new: dict) -> dict with fixed v1 sample cases: time 2 to 3 gives ratio 1.5 and slower=True; 2 to 2.1 is within 10%; zero denominator gives an explicit undefined ratio. Missing/duplicate cases, different point counts or cold/warm states raise ValueError. Check F/U scaling table and provenance warnings. + - Files: `tests/fault_evaluation/test_benchmark_compare.py` + - Needs: T007 + - Wave: 10 + - Done when: python -m pytest tests/fault_evaluation/test_benchmark_compare.py -q fails for absent compare_results, then passes after T010. + +- [x] T010 [US3] [S] Implement benchmark result comparison. + - Do: Implement D2 compare_results(base: dict, new: dict) -> dict and main(argv=None). Parse base/new paths and --output. Emit time and count ratios, >1.10 noise marks, F/U scaling and provenance differences. Use only stdlib. Do not change tests. + - Files: `benchmarks/fault_evaluation/compare.py` + - Needs: T009, T008 + - Wave: 11 + - Done when: python -m pytest tests/fault_evaluation/test_benchmark_compare.py -q passes. + +- [x] T011 [P] [US3] [M] Record the complete pre-change baseline of the standard suite twice. + - Do: CHANGED by the replan of 2026-11-02: the earlier text asked for the full 650-case matrix, which did not finish in 4 hours (stopped, no result file). Now run the STANDARD suite (254 cases, D2) twice, after T038 and before any performance edit, as the notes on long runs say: `python -m benchmarks.fault_evaluation.run --output /baseline.json --work-dir /run1.work` and the same with `baseline_repeat.json` and `run2.work`; `` is an absolute path outside the repository. Use `--resume` after a stop. The runs must start from a clean committed tree. Store machine identity, actual revision, input hashes, full times/counts/peak memory, `suite_wall_seconds` and the three D0 revision fields. Raw failing gradients have no numeric baseline; use the corrected pre-performance revision. Copy the two files into the spec folder. Run the compare CLI. Write baseline.md with the runtime of each run, the cases below 1 s, and the SC-007 noise (D2b). Record SC-007/008 failures honestly and activate OP2 if they fail. Missing/failed cases block this task; do not replace with research numbers or a reduced suite. If one run takes more than 90 minutes, stop and report. + - Files: `specs/003-fault-evaluation-performance/baseline.json`, `specs/003-fault-evaluation-performance/baseline_repeat.json`, `specs/003-fault-evaluation-performance/baseline.md` + - Needs: T006, T010, T038 + - Wave: 16 + - Done when: Both complete standard-suite result files exist, have identical case ids (254) and are accepted by the compare command; baseline.md records runtime and noise. + +## Phase 3: Evaluation sharing and cache + +- [x] T012 [P] [Found] [M] Test restoration cache storage and exact byte limits. + - Do: Test D4 constructor/defaults, get/put, LRU access and eviction, overwrite accounting, max_bytes shrink, negative limit, zero/disabled modes, oversize entries, clear/invalidate, immutable arrays and exception-safe publication. Count ndarray.nbytes and reject a second retained copy. + - Files: `tests/fault_evaluation/test_cache_storage.py` + - Needs: T011 + - Wave: 17 + - Done when: python -m pytest tests/fault_evaluation/test_cache_storage.py -q fails for absent RestorationCache, then passes after T013. + +- [x] T013 [P] [Found] [M] Implement bounded restoration cache storage. + - Do: Implement D4 RestorationCache using OrderedDict and RLock with exact array-byte accounting. Store restored arrays read-only. No input arrays, masks or final outputs are retained. Keep metadata accounting explicit. Do not yet add public evaluation reuse. + - Files: `LoopStructural/modelling/features/_evaluation_cache.py` + - Needs: T012 + - Wave: 18 + - Done when: python -m pytest tests/fault_evaluation/test_cache_storage.py -q passes. + +- [x] T014 [US2] [M] Test one-call restoration sharing and public behavior. + - Do: Test D3 nested value/region calls and evaluate_model for F=4,U=3: four top-level calls with identical fault sets, correct original mask coordinates and golden values. Test different/reordered sets, reverse, disabled faults, nested scopes, standalone features, child-fault batches, opaque callables and exception cleanup. Check public signatures. Keep total nested counts visible and apply the accepted OP1 rule from Answers. + - Files: `tests/fault_evaluation/test_context.py` + - Needs: T013 + - Wave: 19 + - Done when: python -m pytest tests/fault_evaluation/test_context.py -q fails on repeated legacy restoration counts, then passes after T015. + +- [x] T015 [US2] [M] Share value restorations inside an evaluation scope. + - Do: Implement D3 EvaluationContext, evaluation_scope and restore. Wrap value/model entry points, build before lookup, use original points for masks, preserve ordering/priority/world coordinates and reset ContextVar in finally. Model initializes an additive cache property but persistent reuse stays off until T019. Do not alter the gradient algorithm or tests. + - Files: `LoopStructural/modelling/features/_evaluation.py`, `LoopStructural/modelling/features/_base_geological_feature.py`, `LoopStructural/modelling/features/_geological_feature.py`, `LoopStructural/modelling/core/geological_model.py` + - Needs: T014 + - Wave: 20 + - Done when: python -m pytest tests/fault_evaluation/test_context.py tests/fault_evaluation/test_golden.py -q passes. + +- [x] T016 [US2] [M] Test complete cache invalidation and direct mutations. + - Do: Test D4 setters plus direct/in-place mutations of points, coefficients, data, support transforms, build arguments, fault order, regions/thresholds/sign, faults_enabled, displacement, steps, faultfunction, build and solve. Test dependency frames and opaque callables. Compare every second result to cache-disabled changed-model evaluation and assert no stale cache lookup is used. Test dirty lazy-build occurs exactly once. + - Files: `tests/fault_evaluation/test_invalidation.py` + - Needs: T015 + - Wave: 21 + - Done when: python -m pytest tests/fault_evaluation/test_invalidation.py -q fails for absent revision/fingerprint invalidation, then passes after T017. + +- [x] T017 [US2] [M] Implement revision hooks and conservative state fingerprints. + - Do: Implement D4 monotonic revision hooks and bounded-memory dependency fingerprints. Keep property assignment semantics and detect bypass mutations. Invalidate on build/solve/data/geometry/relationship changes. Traverse faults, frames and region parents cycle-safely; bypass persistent entries for opaque dependencies. Do not monkeypatch global NumPy or change solver math. Do not modify tests. + - Files: `LoopStructural/modelling/features/_evaluation_cache.py`, `LoopStructural/modelling/features/_base_geological_feature.py`, `LoopStructural/modelling/features/fault/_fault_segment.py`, `LoopStructural/modelling/features/builders/_base_builder.py`, `LoopStructural/modelling/features/builders/_geological_feature_builder.py`, `packages/loop_interpolation/src/loop_interpolation/_discrete_interpolator.py`, `LoopStructural/modelling/core/geological_model.py` + - Needs: T016 + - Wave: 22 + - Done when: python -m pytest tests/fault_evaluation/test_invalidation.py -q passes. + +- [x] T018 [US2] [M] Test reuse between calls and additive controls. + - Do: Test D4 model.evaluation_cache enabled/max_bytes/clear, identical copies, strided rows, row reorder, input mutation, different models/sets/reverse, oversized results, LRU and scope/cache shared storage. Second same-grid evaluate_model must make zero fault calls; changes must restore again and match changed references. Assert full lookup hashing occurs outside no timed shortcut. + - Files: `tests/fault_evaluation/test_persistent.py` + - Needs: T017 + - Wave: 23 + - Done when: python -m pytest tests/fault_evaluation/test_persistent.py -q fails while cross-call reuse is off, then passes after T019. + +- [x] T019 [US2] [M] Enable persistent restoration reuse with safe invalidation. + - Do: Connect D3 scopes to D4 model cache, default enabled 64 MiB, content/state keys and conservative bypass. Compute fingerprints after builds and include lookup work in real call path. Reuse one stored array between scope and persistent cache. Clear on revision changes and do not publish partial work. Preserve existing public call signatures. + - Files: `LoopStructural/modelling/features/_evaluation.py`, `LoopStructural/modelling/features/_evaluation_cache.py`, `LoopStructural/modelling/core/geological_model.py` + - Needs: T018 + - Wave: 24 + - Done when: python -m pytest tests/fault_evaluation/test_persistent.py tests/fault_evaluation/test_invalidation.py tests/fault_evaluation/test_golden.py -q passes. + +- [x] T020 [P] [US4] [M] Test gradient batch counts and legacy numerical behavior. + - Do: Test original mask batches, 4N corners, different element scales, tetrahedron refinement, repeated groups, different fault sets, child-fault frames, reverse/disabled faults and faulted fold frames. Assert golden gradients and model gradient group priority. Produce explicit batch/count/memory diagnostics under the accepted OP1 distinct-batch rule and retain the D0 output-array regression. + - Files: `tests/fault_evaluation/test_gradient_context.py` + - Needs: T019 + - Wave: 25 + - Done when: python -m pytest tests/fault_evaluation/test_gradient_context.py -q exposes repeated equal-batch work, then passes after T021 under the accepted OP1 rule. + +- [x] T021 [P] [US4] [M] Share equal gradient batches after the count decision. + - Do: Implement D5 with the accepted OP1 count and memory rule recorded in Answers. Reuse identical original/corner batches; retain tetrahedron refinement and gradient arithmetic. If the decision requires a new algorithm, stop for a revised plan. Do not weaken tests or claim F total calls from a top-level-only counter. + - Files: `LoopStructural/modelling/features/_evaluation.py`, `LoopStructural/modelling/features/_geological_feature.py`, `LoopStructural/modelling/core/geological_model.py` + - Needs: T020 + - Wave: 26 + - Done when: python -m pytest tests/fault_evaluation/test_gradient_context.py tests/fault_evaluation/test_golden.py -q passes under the recorded OP1 decision. + +- [x] T022 [P] [US2] [M] Test simultaneous calls, cleanup and memory accounting. + - Do: Test D4/D5 two threads evaluating one model against serial references, first-build once, separate models and context isolation, exception release and invalidation under lock. Unit tests use small batches and exact retained bytes. The local large RSS case is added by T029, not run in normal pytest. Test no duplicate scope/cache arrays and bounded hashing workspace. + - Files: `tests/fault_evaluation/test_concurrency.py`, `tests/fault_evaluation/test_memory.py` + - Needs: T019 + - Wave: 25 + - Done when: python -m pytest tests/fault_evaluation/test_concurrency.py tests/fault_evaluation/test_memory.py -q fails on missing synchronization/accounting behavior, then passes after T023. + +- [x] T023 [US2] [M] Complete locking and bounded-memory integration. + - Do: Use per-model reentrant lock for full outer evaluation, builds, revisions and cache publication; nested calls reuse it. ContextVar tokens reset on exceptions. Enforce byte limits and bounded fingerprint chunks; keep faults use_threads off. Different models must not share a global lock. Do not change tests. + - Files: `LoopStructural/modelling/features/_evaluation.py`, `LoopStructural/modelling/features/_evaluation_cache.py`, `LoopStructural/modelling/core/geological_model.py` + - Needs: T022, T021 + - Wave: 27 + - Done when: python -m pytest tests/fault_evaluation/test_concurrency.py tests/fault_evaluation/test_memory.py -q passes. + +## Phase 4: Fault-step cost + +- [x] T024 [P] [US5] [M] Test structured-grid lookup equivalence and boundaries. + - Do: Test D6 exact private helper tuple and weights against frozen legacy calculations for random/interior/corner/face/outside/NaN/empty points and non-unit grids. Compare evaluate_value/evaluate_gradient with old arithmetic. Assert one cell-index lookup per call and unchanged scale/corner ordering. No timing assertions in unit tests. + - Files: `packages/loop_common/tests/test_evaluation_lookup.py` + - Needs: T011 + - Wave: 17 + - Done when: python -m pytest packages/loop_common/tests/test_evaluation_lookup.py -q fails for absent _lookup_points/_gradient_weights, then passes after T025. + +- [x] T025 [P] [US5] [M] Remove repeated structured-grid cell searches. + - Do: Implement D6 _lookup_points and _gradient_weights and route value/gradient evaluation through them. Preserve boundary and NaN behavior, summation order and scale factors. Leave other support types and solvers unchanged. Do not alter tests or tolerances. + - Files: `packages/loop_common/src/loop_common/supports/_3d_structured_grid.py` + - Needs: T024 + - Wave: 18 + - Done when: python -m pytest packages/loop_common/tests/test_evaluation_lookup.py -q passes. + +- [x] T026 [P] [US5] [M] Test fault-frame shared lookup and fallback. + - Do: Test D6 common-grid frame values and coordinate-1 gradients, initial/precomputed_gx path, all steps, masks and restored-point equivalence. Test differing geometry/transforms, child faults, opaque regions and alternate supports use the legacy fallback. Assert shared lookup counts and unchanged integration step count. + - Files: `tests/fault_evaluation/test_fault_frame_lookup.py` + - Needs: T025, T019 + - Wave: 25 + - Done when: python -m pytest tests/fault_evaluation/test_fault_frame_lookup.py -q fails for absent _evaluate_frame fast path, then passes after T027. + +- [x] T027 [P] [US5] [M] Reuse frame grid lookup within each fault step. + - Do: Implement D6 private _evaluate_frame with a guarded common-geometry fast path and legacy fallback. Use the existing transform/mask semantics; preserve every step and floating-point operation order required by the golden tolerances. Do not change displacement functions, default steps or thread setting. + - Files: `LoopStructural/modelling/features/fault/_fault_segment.py`, `packages/loop_common/src/loop_common/supports/_3d_structured_grid.py` + - Needs: T026 + - Wave: 26 + - Done when: python -m pytest tests/fault_evaluation/test_fault_frame_lookup.py tests/fault_evaluation/test_golden.py -q passes. + +## Phase 5: Acceptance tools and final checks + +- [x] T028 [P] [Found] [S] Test numerical performance acceptance reporting. + - Do: Test check_acceptance(base: dict, new: dict) -> dict with fixed schema-v1 files. Check SC-002 <=0.40, SC-003 <=0.15, SC-004 <=1.5, SC-005 <=0.50, SC-006 <=1.20, SC-007 <10%, SC-008 <900s, SC-009 <=0.50, SC-010 zero calls and <=0.10. Missing cases, incompatible provenance and missing gradient decision are explicit failures. Never turn a failed target into a warning. + - Files: `tests/fault_evaluation/test_acceptance.py` + - Needs: T010 + - Wave: 12 + - Done when: python -m pytest tests/fault_evaluation/test_acceptance.py -q fails for absent check_acceptance, then passes after T029. + +- [x] T029 [P] [Found] [M] Implement local acceptance and large-memory measurements. + - Do: Implement D2/D5 check_acceptance and CLI: --baseline PATH --candidate PATH --repeat PATH --output PATH. Follow D2b for SC-006/007/008: the memory limit covers the standard suite; the 10 % noise limit covers only cases with a baseline median of 1.0 s or more; shorter cases go in `short_cases` and never fail SC-007 (T039 changes the tests to say this). Add explicit --memory-points 10000000 local subprocess mode using frozen models and cold/warm/off cache modes. Emit actual RSS, restored batch sizes, retention and FR-010 accounting plus every SC result. Never run this large case via normal pytest. + - Files: `benchmarks/fault_evaluation/acceptance.py` + - Needs: T028, T008, T039 + - Wave: 14 + - Done when: python -m pytest tests/fault_evaluation/test_acceptance.py -q passes. + +- [ ] T030 [US3] [M] Measure full before/after results and all success criteria. + - Do: SECOND RUN, after the replan of 2026-11-18 (plan D7 to D11). The first run (revision c8e3f9f1, 2026-11-03) failed SC-003, SC-004, SC-006, SC-007, SC-008 and SC-010; its raw files stay in `C:/Users/lachl/dev/ls-bench-003/cand/`. Use a new output folder. Do not change `acceptance.py`: T050 made it apply the D10 rules (`cold_view` of the baseline, SC-006 passes at 1.20 times the baseline or at most `MEMORY_ALLOWANCE_BYTES` = 16 MiB more, no SC-010 row, time ratios on `baseline.json`, C-015). The standard suite now has 131 cold cases (D9, C-014, C-016); the counter pass runs only the 5,000 and 20,000-point cases, the memory pass only the 5,000-point cases. SC-010 is removed (C-012); write that in measurements.md, and put the T051 numbers there. Run the STANDARD D2 suite twice with identical baseline case ids and machine/environment, in the way the notes on long runs say (outside the repository, clean tree, `suite_wall_seconds` recorded for SC-008). The full suite is not required. Run D5 large-memory cases (cold mode only) and acceptance CLI. Include gradients and total recursive counts. Record raw provenance, peak memory and complete elapsed times. A target miss is a failed task, not permission to remove a case or alter golden references. OP2 requires a user decision only if runtime/noise targets fail; it does not block starting measurement. + - Files: `specs/003-fault-evaluation-performance/candidate.json`, `specs/003-fault-evaluation-performance/candidate_repeat.json`, `specs/003-fault-evaluation-performance/acceptance.json`, `specs/003-fault-evaluation-performance/measurements.md` + - Needs: T027, T029, T042, T043, T051, T053 + - Wave: 38 + - Blocked by: OP6 + - Done when: The acceptance command exits 0 for every SC, all golden tests pass under 120 seconds, and measurements.md records the 10-million-point memory result. + +- [ ] T031 [Finish] [M] Document cache controls, benchmark workflow and achieved limits. + - Do: Document D1 regeneration/review, D2 run/compare/acceptance (including `--suite standard|full`, `--work-dir`, `--resume`, and why the work directory and outputs belong outside the repository), and the state after the replan of 2026-11-18: no cache between calls and no lock (C-012; two calls on one model run at the same time); the per-call scope of D3 (restored points are shared inside one call and released at its end); the standard suite of D9 with its pass point sets (`PASS_POINTS`: timing all cases, counters 5,000 and 20,000 points, memory 5,000 points) and the 16 large ids (C-016); the SC-006 rule of D10 (120 % or +16 MiB, C-013); time ratios on `baseline.json` (C-015); call-only memory accounting and measured limits. Do not document `evaluation_cache`, `evaluation_revision` or the fault-set key: T048 removed them. Update ROADMAP only for stages actually complete. Map every FR and SC to exact test node or measured case and acceptance result. Do not create specs/README.md because no index exists. + - Files: `doc/advanced/fault_evaluation.rst`, `ROADMAP.md`, `specs/003-fault-evaluation-performance/coverage.md` + - Needs: T030 + - Wave: 39 + - Done when: Documentation contains runnable commands, all cache controls, accepted decision text, measured results and a requirement-to-test/measurement table with no unproved pass. + +- [ ] T032 [Finish] [M] Run final project and package checks and record the result. + - Do: Run python -m black --check LoopStructural tests/fault_evaluation benchmarks/fault_evaluation packages/loop_common/src/loop_common/supports/_3d_structured_grid.py; python -m ruff check LoopStructural packages; python -m pytest; python -m pytest packages/loop_common/tests; python -m pytest packages/loop_interpolation/tests. Use the prepared development environment. Record failures exactly. No Cargo command is needed. Do not claim done with any failed task or unresolved acceptance gate. + - Files: `specs/003-fault-evaluation-performance/validation.md` + - Needs: T001, T002, T003, T004, T005, T006, T007, T008, T009, T010, T011, T012, T013, T014, T015, T016, T017, T018, T019, T020, T021, T022, T023, T024, T025, T026, T027, T028, T029, T030, T031, T033, T034, T035, T036, T037, T038, T039, T040, T041, T042, T043, T044, T045, T046, T047, T048, T049, T050, T051, T052, T053 + - Wave: 40 + - Done when: Black, Ruff, root pytest, loop_common pytest and loop_interpolation pytest all exit 0; validation.md records commands, revisions, golden runtime and acceptance status. + +## Added foundation prerequisite (execute before T002) + +New IDs follow the previous allocation. Needs and Wave put these tasks before +field export; existing IDs and completed tasks are unchanged. + +- [x] T033 [Found] [M] Test the faulted-gradient output shape without a solver. + - Do: Follow D0. In one new test module, define the BaseFeature identity-fault double with evaluate_value, evaluate_gradient, __getitem__, apply_to_points, copy and get_data; define the linear field f(xyz)=xyz @ [2,-3,0.5]+7. Use two finite points, builder=None, explicit element scale 1 and one or two identity faults. Assert shape (2,3), gradient [2,-3,0.5] at rtol=0/atol=1e-12, a region-masked row remains NaN, and a controlled mixed-sign first coordinate evaluation causes one refinement then returns the same gradient. No solves, saved fields, golden helper import or production change. The current bug must raise the demonstrated shape mismatch; do not assert that exception as the expected final behavior. + - Files: `tests/unit/modelling/test_faulted_gradient_output.py` + - Needs: T001 + - Wave: 2 + - Done when: `python -m pytest tests/unit/modelling/test_faulted_gradient_output.py -q` fails first with the N-by-4/N-by-3 shape mismatch, then passes after T034. + +- [x] T034 [Found] [M] Preserve the N-by-3 gradient output during refinement. + - Do: Follow D0. In GeologicalFeature.evaluate_gradient, rename only the temporary v assigned by f[0].evaluate_value(...).reshape(N,4) to fault_values, and use fault_values in both sign comparisons that form flag. Keep the original v output allocation and final masked assignment intact. Do not change geometry, masks, fault order, refinement, steps, interpolation arithmetic, solver or signatures. Do not edit tests. Record the raw exception, prerequisite parent revision, exact test commands/results and narrow diff in gradient-prerequisite.md. Commit this correctness change separately before field/golden/timing capture; T004/T005/T011 record its commit as prerequisite_fix_revision, their actual capture revision as baseline_revision and its parent as prerequisite_parent_revision. Do not call this a performance improvement or claim successful raw gradient parity. + - Files: `LoopStructural/modelling/features/_geological_feature.py`, `specs/003-fault-evaluation-performance/gradient-prerequisite.md` + - Needs: T033 + - Wave: 3 + - Done when: `python -m pytest tests/unit/modelling/test_faulted_gradient_output.py tests/unit/modelling/test_geological_feature.py tests/unit/modelling/test_unconformity_feature.py tests/unit/modelling/test_faults_segment.py tests/unit/test_public_api_contract.py -q` passes; the report records the raw failure and the correctness-fix provenance. + +## Added standard-suite tasks (replan of 2026-11-02) + +The first run of the full matrix did not finish in 4 hours. The spec now defines a +standard suite of about 1 hour (FR-012a, FR-012b, C-006 to C-010; plan D2, D2b). +These tasks add it. The done tasks T007, T008 and T010 are not reopened: T035 and +T036 change the case lists they created, and T039 changes the tests of T028. +The runner correction of 9610f6a1 and 290edf3d (progress, checkpoint file, +`--resume`, `--work-dir`, `suite_wall_seconds`) is already in the code. + +- [x] T035 [US3] [M] Test the standard and full suite selection and the priming skip. + - Do: CHANGES to done work: T007 tests the case list with `enumerate_cases()`; that function stays and now returns the full suite of 860 cases (sizes 5,000, 50,000, 100,000, 500,000, plus the 20,000-point cases of `plugin` and `f1_u0`). In a new file test D2: `standard_cases()` returns 254 cases (210 at 5,000 points, 20 at 20,000, 24 in `STANDARD_LARGE_CASES`: 12 at 50,000 and 12 at 100,000 points); every standard id is in the full list, in the same order; the 24 large ids use only the models `f0_u0..f0_u3`, `f1_u0..f1_u3`, `stopped_fault`, `onlap_domain`, `faulted_fold`; the ids are literal text; the standard list contains every case that SC-002 to SC-010 use (`f4_u3` and `f4_u0` at 5,000 points, cold and warm, all five operations; `plugin` and `f1_u0` at 20,000 points); `select_cases("standard")`, `select_cases("full")` and ValueError for another name; `main` has `--suite` with default `standard`, and `--suite full` selects the full list. Test the priming rule with a fake model: a warm case on a model with no `evaluation_cache` makes one call in each round (no priming call); with a cache object it primes once and clears the cache before each round; a cold case clears the cache and never primes. Also edit the two existing tests that replace `enumerate_cases` with a fake list and call `main` with no suite option (`test_benchmark_run.py` near the fake `enumerate_cases`, `test_benchmark_resume.py` near the fake `enumerate_cases`): they must pass `--suite full`. Change nothing else in those two files. + - Files: `tests/fault_evaluation/test_benchmark_suites.py`, `tests/fault_evaluation/test_benchmark_run.py`, `tests/fault_evaluation/test_benchmark_resume.py` + - Needs: T010 + - Wave: 12 + - Done when: `python -m pytest tests/fault_evaluation/test_benchmark_suites.py tests/fault_evaluation/test_benchmark_run.py tests/fault_evaluation/test_benchmark_resume.py -q` fails for absent `standard_cases`, `select_cases` and the `--suite` option, then passes after T036. + +- [x] T036 [US3] [M] Implement the standard suite, the suite option and the priming skip. + - Do: Implement D2. Add 100,000 to the sizes of the full suite. Add `STANDARD_LARGE_CASES` (a tuple of 24 literal case ids): draw it once, with `numpy.random.default_rng(2003)`, 12 cases for each of the sizes 50,000 and 100,000, from the pool of cases of the models named in D2; write the ids as text and keep a comment that says how they were drawn. Add `standard_cases()`, `select_cases(suite)` and `--suite {standard,full}` (default `standard`) to `main`. Keep `enumerate_cases()` as the full suite. In `bench_cases.run_case`, skip the priming call of a warm case when the model has no `evaluation_cache`. Do not change tests. Do not add counters or a production change. + - Files: `benchmarks/fault_evaluation/run.py`, `benchmarks/fault_evaluation/bench_cases.py` + - Needs: T035 + - Wave: 13 + - Done when: `python -m pytest tests/fault_evaluation/test_benchmark_suites.py tests/fault_evaluation/test_benchmark_run.py tests/fault_evaluation/test_benchmark_resume.py tests/fault_evaluation/test_benchmark_compare.py -q` passes. + +- [x] T039 [P] [Found] [M] Change the acceptance tests for the SC-007 rule of short cases. + - Do: CHANGES to done work: T028 treats every case in the same way for SC-007 (the larger ratio between the two runs must be below 1.10). Follow D2b: only cases with a baseline median of 1.0 s or more are checked. Add tests: a case of 1.0 s or more with a noise ratio of 1.10 or more fails SC-007 and names the case; a case with a baseline median below 1.0 s and a noise ratio of 1.5 does not fail SC-007 and appears in `result["short_cases"]` with its noise ratio; a missing repeat document or a zero median still fails. Change a fixture or an existing assertion only where the new rule makes it wrong, and say which in the final report. Keep all other tests of T028 as they are. + - Files: `tests/fault_evaluation/test_acceptance.py` + - Needs: T028 + - Wave: 13 + - Done when: `python -m pytest tests/fault_evaluation/test_acceptance.py -q` fails for absent `check_acceptance` and the new tests name the `short_cases` rule, then passes after T029. + +- [x] T037 [US3] [M] Test the repeat of short cases in the timing pass. + - Do: Test D2 (short cases) with a fake launcher and no real benchmark. Constants in `run.py`: `SHORT_CASE_SECONDS = 1.0` and `SHORT_CASE_ROUNDS = 5`. After the timing pass, the runner repeats each case with a median below 1.0 s for 5 rounds, and the new samples replace the old ones in the checkpoint rows and the result; a case of 1.0 s or more is not repeated; the counters and memory passes are not repeated; the recorded `rounds` and `time_samples_seconds` of a repeated case are those of the 5 rounds; a stop between the two steps and a `--resume` do not repeat a finished case a second time and do not lose one; the repeat adds its time to `suite_wall_seconds`. + - Files: `tests/fault_evaluation/test_benchmark_repeat.py` + - Needs: T036 + - Wave: 14 + - Done when: `python -m pytest tests/fault_evaluation/test_benchmark_repeat.py -q` fails for the absent constants and repeat step, then passes after T038. + +- [x] T038 [US3] [M] Repeat short cases in the timing pass. + - Do: Implement the repeat step of D2 in `run.py`, with the constants named in T037. Use the checkpoint file and the resume rules that exist. Keep schema v1. Do not change tests, `bench_cases.py` or the other passes. + - Files: `benchmarks/fault_evaluation/run.py` + - Needs: T037 + - Wave: 15 + - Done when: `python -m pytest tests/fault_evaluation/test_benchmark_repeat.py tests/fault_evaluation/test_benchmark_suites.py tests/fault_evaluation/test_benchmark_run.py tests/fault_evaluation/test_benchmark_resume.py -q` passes. + +## Added fault-set cache key tasks (replan of 2026-11-03) + +The first T030 measurement failed SC-003, SC-004, SC-006, SC-007, SC-008 and +SC-010 (plan.md, Answers, "T030, 2026-11-03" and "T030 diagnosis"). The user +chose to fix the cache design. Plan D4a corrects D4: the persistent key comes +from the ordered fault set, not from the root feature and the whole model. +The done tasks T016 to T019 are not reopened: T040 changes two of their tests, +and T041 changes the code of T019 and T023. T043 gives the facts for the spec +decisions OP3 and OP4. T030 waits for T042, T043 and those decisions. + +- [x] T040 [US2] [M] Test the fault-set cache key, the revision term and the publish guard. + - Do: Write the D4a tests in a new file and change two existing tests. For the world-to-local transform case: if the coordinate owner accepts and rebuilds the change, assert the current-transform fingerprints change and cache-on restoration agrees with cache-off; if the owner rejects before mutation, assert model state, fingerprints, and results stay unchanged. Do not require both policies. This cache task only prevents stale reuse of the previous frame result. New tests: (1) `fault_set_fingerprint` gives equal bytes for the 4 groups of `f4_u3` (same ordered faults, different root data); a different fault order or subset gives different bytes; an opaque region on a fault gives None. (2) Cross-call sharing on `f4_u3` with the cache on: after `group_0.evaluate_value(points)`, a separate top-level `group_1.evaluate_value(points)` makes 0 fault calls; a cold `model.evaluate_model(points)` (cache cleared) makes exactly 4 fault calls (SC-003). (3) `RestorationCache.sync_revision`: the first call stores the revision and keeps entries put after it; the same revision keeps entries; a different revision clears all entries (`retained_bytes == 0`). (4) Publish guard: monkeypatch one fault's `apply_to_points` so that it bumps `model.evaluation_revision` (through a setter) and then calls the original; after the call the cache holds no entry for that key, and the result equals the cache-off result. (5) Transform policy: for an accepted and rebuilt transform change, the bounding-box transform changes both fingerprints and cache-on restoration agrees with cache-off. For a rejected-before-mutation change, the transform, fingerprints, and results remain unchanged. Test the policy selected by the coordinate owner; do not require both. (6) `_update_frame`: equal DataFrames give equal digests; a changed value, column name, dtype or object-column value gives a different digest. Tests (5) and (6) can pass before T041 only where the current code already reads that state; say which in the report. (7) Pickle defect (plan.md, Answers, "Pickle defect"): `dill.loads(dill.dumps(RestorationCache(enabled=False, max_bytes=1234)))` keeps `enabled` and `max_bytes`, has `retained_bytes == 0`, and its `lock.acquire(timeout=2)` returns True; a dill round trip of a built `f1_u0` model (`dill.dumps`/`dill.loads`, or `to_file`/`from_file` in `tmp_path`) then `evaluate_model(points)` returns the same ids as before the save. Run this test in a daemon thread with `join(timeout=60)` and fail if it is still alive, so that a hang fails and does not block pytest. CHANGES to done tests: see Context. + - Files: `tests/fault_evaluation/test_fault_set_key.py`, `tests/fault_evaluation/test_invalidation.py`, `tests/fault_evaluation/test_persistent.py` + - Needs: T023 + - Wave: 28 + - Done when: `python -m pytest tests/fault_evaluation/test_fault_set_key.py tests/fault_evaluation/test_invalidation.py tests/fault_evaluation/test_persistent.py -q` fails for the absent `fault_set_fingerprint` and `sync_revision`, for the cross-call fault count and for the lock after a dill round trip, then passes after T041. + - Context: Code under test (do not change it): `LoopStructural/modelling/features/_evaluation_cache.py` (`RestorationCache`, `dependency_fingerprint(feature, build=True) -> bytes | None`, `_update_frame(hasher, frame)`, `_StateHasher`) and `_evaluation.py` (`EvaluationContext.restore`). New private names from T041: `fault_set_fingerprint(faults: Sequence[BaseFeature], build: bool = True) -> bytes | None` in `_evaluation_cache.py`; `RestorationCache.sync_revision(revision: int) -> None`. Persistent key after T041: `("persistent", digest, points.shape, points.dtype.str, bool(reverse), fingerprint, revision)`. Helpers: `tests.fault_evaluation.models.build_model`, `sample_points`; `benchmarks.fault_evaluation.instrumentation.EvaluationInstrumentation` (`snapshot()["fault_calls_total"]`); `model.evaluation_cache`. In `test_invalidation.py`: add the field `touches_faults: bool = True` to `Mutation` (after `effect`), and set it False for `region_add`, `region_remove_inplace`, `region_threshold`, `region_sign`. In `test_mutated_model_gives_a_fresh_changed_result`: always assert equal results and cached calls <= cache-off calls; when `touches_faults`, also assert cached calls > 0 (plan.md, Answers, "D4 tests after D4a"). In `test_persistent.py::test_opaque_dependency_bypasses_persistent_entries`: put the opaque region on a fault of `cutting_faults`, not on the root group; keep the hidden closure-change check. In `test_persistent.py::test_model_change_restores_again_and_matches_the_changed_reference`: assert `calls > 0` only when `mutation.touches_faults or mutation.revision`; always assert result equality. Change nothing else in those two files. Rules: pytest; NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target. Environment: `C:/Users/lachl/dev/LoopStructural/.venv/Scripts/python.exe`, PYTHONPATH = worktree root, `packages/loop_common/src`, `packages/loop_interpolation/src` (absolute). + +- [x] T041 [US2] [M] Make the persistent key from the ordered fault set (D4a). + - Do: Implement D4a. Fingerprint the current restoration transform and prevent reuse of a stale restoration result after its value changes. The coordinate owner controls whether a transform mutation is accepted and rebuilt or rejected before mutation; do not implement that owner policy here. In `_evaluation_cache.py`: add `fault_set_fingerprint` (with `build`, call `_build_reachable(fault)` for each fault in order; then one `_StateHasher`, write `f"S{len(faults)};"`, call `state.node(fault, True)` for each fault; a value that is not a feature or `_Opaque` gives None); make `_update_interpolator` also write the bounding-box transform; rewrite `_update_frame` to loop over `frame.items()` with no `iloc`; add `RestorationCache.sync_revision`. In `_evaluation.py`: key the persistent entry on the fault tuple and the revision, delete `_state_of_model` and `self._model_state`, and do not publish when the revision changes during the fault application. Do not change `dependency_fingerprint` or the scope key `_fault_state`. Do not change tests. No public API change. + - Files: `LoopStructural/modelling/features/_evaluation_cache.py`, `LoopStructural/modelling/features/_evaluation.py` + - Needs: T040 + - Wave: 29 + - Done when: `python -m pytest tests/fault_evaluation -q` passes, the golden tests take less than 120 s, and `ruff check LoopStructural/modelling/features/_evaluation_cache.py LoopStructural/modelling/features/_evaluation.py` shows no finding that was not there before. + - Context: `_update_interpolator`: `box = getattr(interpolator, "bounding_box", None)`; with a box, `_encode(hasher, np.asarray(box.world_to_local_matrix, dtype=float))`; without a box, `hasher.update(b"Nbox;")`. `_update_frame` keeps the shape record, column names, dtypes and the `pd.util.hash_pandas_object(column, index=False)` hash for object columns. `sync_revision(revision)`: under `self._lock`, if `revision` differs from the stored value (start None), call `self._clear_locked()` and store it; docstring says it is for internal use. `EvaluationContext._fingerprint(faults: tuple, cache)` memoises in `self._fingerprints` by `tuple(id(f) for f in faults)` (store the faults with the digest, so the ids stay valid) and calls `fault_set_fingerprint(faults)` under `cache.lock`. In `restore`: read `revision = int(getattr(self.model, "evaluation_revision", 0))` AFTER the fingerprint (the fingerprint builds dirty builders), call `cache.sync_revision(revision)`, then use the key `("persistent", digest, points.shape, points.dtype.str, bool(reverse), fingerprint, revision)`. After the faults are applied, read the revision again; if it changed, keep the result in the scope only and do not call `cache.put`. Pickle defect (plan.md, Answers): add `RestorationCache.__getstate__` (keep `enabled` and `max_bytes`; drop the lock, the entries, the byte count and the stored revision) and `__setstate__` (make a new `threading.RLock`, empty entries, revision None). Rules: Ruff `D` and `ANN`, NumPy docstrings, Python 3.9 target; ASD-STE100 comments. Environment: as in T040. + +- [x] T042 [US3] [M] Measure the D4a gates and write the profile report. + - Do: SECOND RUN, after T045 (plan D4b). The first run (598ef21e, 2026-11-04) failed gate G4: `fault_set_fingerprint` took about 8 ms. Keep the first run in `profile-d4a.md` and add a new section for this run. Report again the OP5 ratio warm / cold `evaluate_model` for `f4_u3`, `f4_u0` and `onlap_domain`; the `onlap_domain` ratio (0.284 in the first run) has no gate here: if it stays above 0.10, report it, and T030 decides it (SC-010). Read-only for tracked code. On the clean committed tree, measure `f4_u3`, `f4_u0` and `onlap_domain` at 5,000 points, cold and warm, all five operations, with the D2 tools. Put any script in the scratchpad, outside the repository, and delete it at the end. Write `profile-d4a.md` with: fault calls (total) for each case; the cold `f4_u3` `model_ids` time with the cache on and with `model.evaluation_cache.enabled = False`, and their ratio; the warm `model_ids` fault calls; the median time of `fault_set_fingerprint` for the 4 faults of `f4_u3` (with `build=False`, 20 repeats); warm and cold `evaluate_model` times and their ratio (OP5); the `onlap_domain` `model_gradient` cold time against the baseline 0.92 s. Give the revision, the Python path and the commands. Mark each gate pass or fail. A miss is a failed task. If the SC-003 count is not 4, stop and report: the plan must change. + - Files: `specs/003-fault-evaluation-performance/profile-d4a.md` + - Needs: T045 + - Wave: 32 + - Done when: `profile-d4a.md` shows, for `f4_u3` at 5,000 points: cold `all_group_values` and `model_ids` each 4 fault calls; cold `model_ids` cache-on time at most 1.10 times cache-off time; warm `model_ids` 0 fault calls; the `fault_set_fingerprint` time (target at most 5 ms) and the `onlap_domain` number reported. + - Context: Case ids are `"{model}:{operation}:{points}:{state}"`; operations `oldest_value`, `all_group_values`, `model_ids`, `oldest_gradient`, `model_gradient`. `benchmarks.fault_evaluation.run.enumerate_cases()` gives the full case list; filter it by model and `points == 5000`. `benchmarks.fault_evaluation.bench_cases.run_case(benchmark, model, points, case, rounds=...)` clears the cache, primes a warm case and times one call; the points come from `bench_cases._points(model, count)`. Count calls with `benchmarks.fault_evaluation.instrumentation.EvaluationInstrumentation` (`snapshot()["fault_calls_total"]`). `fault_set_fingerprint(faults, build=False)` is in `LoopStructural/modelling/features/_evaluation_cache.py`; the faults of a group are `feature.faults`. The `--suite` runner has no case filter: do not change it. Use `time.perf_counter`, the median of 5 rounds for each time. Environment: as in T040. Rule: every time is measured, none is inferred (plan.md, Answers 2026-11-02). + +- [x] T043 [P] [US3] [M] Split the failed T030 results by cause for the OP3 and OP4 decisions. + - Do: Read-only for tracked code. From the raw results in `C:/Users/lachl/dev/ls-bench-003/cand/` (`candidate.json`, `candidate_repeat.json`, `acceptance_cand.json`, `run1.log`, `run2.log`, the `run1.work` and `run2.work` checkpoints) and the spec baseline (`specs/003-fault-evaluation-performance/baseline.json`), write `t030-diagnosis.md`. Part (a), SC-006: a table of each case above 1.20, with the baseline peak extra RSS bytes, the candidate bytes, the ratio and the probable cause (cache retention, hash workspace, or other), and the count of failing cases with a baseline below 10 MB. Part (b), SC-008: the wall time of each run split by pass (timing, repeat of short cases, counters, memory), with the time for warm priming and for process starts where the data shows it, and the time of the two `onlap_domain` 100,000-point gradient cases in each pass. Say which numbers are measured and which are derived. Do not run the suite again, change the raw files or edit `plan.md` or `spec.md`. + - Files: `specs/003-fault-evaluation-performance/t030-diagnosis.md` + - Needs: T029 + - Wave: 15 + - Done when: `t030-diagnosis.md` has the SC-006 table with one row for each case of `acceptance_cand.json` above 1.20, and the SC-008 table whose pass times add up to the measured `suite_wall_seconds` of each run within 1 %. + - Context: Result schema v1 (`benchmarks/fault_evaluation/run.py`): rows have `case_id`, `model`, `operation`, `points`, `state`, `rounds`, `time_samples_seconds`, median seconds, fault and field calls, peak extra RSS bytes, and the provenance fields; the document has `suite_wall_seconds`. The acceptance output (`benchmarks/fault_evaluation/acceptance.py`, `_sc006`, `_sc008`) has one row for each SC. The SC-006 limit is 1.20 and the SC-008 limit is 900 s. Known values: candidate 3,017 s, baseline 3,271 s, sum of candidate medians 334 s (plan.md, Answers, "T030 diagnosis"). These facts serve OP3 (SC-008 target) and OP4 (SC-006 for small baselines); do not propose a resolution as fact. + +## Added faster frame digest tasks (replan of 2026-11-04) + +T042 failed its key-time gate: `fault_set_fingerprint` for the 4 faults of +`f4_u3` took about 8 ms (target 5 ms; plan.md, Answers, "T042, 2026-11-04"). +The cause is the pandas cost for each column of the 12 small builder frames. +Plan D4b changes only the body of the private `_update_frame`: a small frame is +read with one call. T040, T041 and T043 stay done. T042 runs again after T045. + +- [x] T044 [US2] [M] Test the D4b frame digest for small and large frames and in-place edits. + - Do: Change section (6) of the test file only. Add two helpers after `_frame()`: `_small_frame_cells() -> int` reads `_SMALL_FRAME_CELLS` from the module `_evaluation_cache` with `getattr(module, "_SMALL_FRAME_CELLS", None)` and asserts that it is not None, with the message "D4b needs _SMALL_FRAME_CELLS"; `_sized_frame(rows: int) -> pd.DataFrame` gives the columns of `_frame()` with `rows` rows (see Context). Add a size parameter `"small"` / `"large"` (a string, so that collection does not need the constant; compute the rows inside the test). Parametrize `test_equal_frames_have_equal_digests` and `test_changed_frame_has_another_digest` also over the size, and use `_sized_frame`. Keep the 4 changes (`value`, `column_name`, `dtype`, `object_value`); the value change and the object-value change edit row 0 of a copy. New `test_in_place_edit_changes_the_digest`, over the two sizes and two edits (`frame.iloc[1, 0] = 99.25`, `frame.loc[1, "name"] = "edited"`): take the digest, edit the same object, assert that the digest changed. New `test_object_values_of_other_types_have_other_digests`: two small frames with one column of dtype `object`, values `[1, "a"]` and `[1.0, "a"]`; the digests differ. New `test_small_frame_does_not_hash_each_column`: with `monkeypatch`, replace `pd.util.hash_pandas_object` and `pd.DataFrame.items` with functions that raise `AssertionError("per-column path used for a small frame")`; then `_frame_digest(_frame())` must end with no error. No time test. Change no other section and no code. + - Files: `tests/fault_evaluation/test_fault_set_key.py` + - Needs: T041 + - Wave: 30 + - Done when: `pytest tests/fault_evaluation/test_fault_set_key.py -q` fails only for `test_small_frame_does_not_hash_each_column` and for each test that calls `_small_frame_cells()` (the constant is absent), and `pytest tests/fault_evaluation -q` has no other failure; then all pass after T045. + - Context: Existing helpers in section (6): `_frame_digest(frame: pd.DataFrame) -> bytes` (a `hashlib.sha256()` given to `_update_frame`, then `digest()`) and `_frame()` (`X` float64 `[1.0, 2.0, 3.0]`, `n` int64 `[1, 2, 3]`, `name` text `["a", "b", "c"]`). The file imports `_update_frame` from `LoopStructural.modelling.features._evaluation_cache`; import the module itself for `getattr` (for example `from LoopStructural.modelling.features import _evaluation_cache`). `_sized_frame(rows)`: `X = np.arange(rows) * 0.5`, `n = np.arange(rows, dtype=np.int64)`, `name = [f"s{i}" for i in range(rows)]`. Sizes: `small` = 3 rows; `large` = `_small_frame_cells() // 3 + 1` rows (above the limit). The large path keeps the column loop and `pd.util.hash_pandas_object` for object columns; the small path calls `repr(frame.to_numpy().tolist())` once. The current code (before T045) calls both patched functions for the text column, so the new no-column test is red. Rules: pytest; NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target; ASD-STE100 docstrings. Environment: as in T040. + +- [x] T045 [US2] [S] Read a small DataFrame with one call in the frame digest (D4b). + - Do: In `_evaluation_cache.py`, add the module constant `_SMALL_FRAME_CELLS = 2048` after `_CHUNK_BYTES`, with the comment: a frame with at most this number of cells is read with one call; below this size, the cost of each column is larger than the cost of each cell. In `_update_frame(hasher: _Updatable, frame: object) -> None`, keep the signature, the docstring purpose, `import pandas as pd` and the `raise _Opaque` check for a value that is not a `pd.DataFrame`. Replace the rest of the body with the code in Context, exactly. Do not cache a digest for each frame or each revision (OP5). Change no other function and no test. No public API change. + - Files: `LoopStructural/modelling/features/_evaluation_cache.py` + - Needs: T044 + - Wave: 31 + - Done when: `pytest tests/fault_evaluation -q` passes, the golden tests take less than 120 s, and `ruff check LoopStructural/modelling/features/_evaluation_cache.py` shows no finding that was not there before. + - Context: New body after the type check: `dtypes = frame.dtypes.tolist()`; `texts = {dtype: str(dtype) for dtype in set(dtypes)}`; `hasher.update(f"D{frame.shape};".encode())`; `_encode(hasher, [repr(name) for name in frame.columns.tolist()])`; `_encode(hasher, [texts[dtype] for dtype in dtypes])`; `if frame.size <= _SMALL_FRAME_CELLS:` then the comment "One call reads all cells. ``repr`` of a float is exact, and it keeps the type of each value in an object column (1 is not 1.0 or "1").", then `hasher.update(b"V;")`, `_encode(hasher, repr(frame.to_numpy().tolist()))`, `return`. After the `if`: `for item in frame.items():` `column = item[1]` (user answer, plan.md, Answers, "T045, 2026-11-04": the form `for _, column` gives Ruff PERF102); `values = column.to_numpy()`; `if values.dtype.hasobject: values = pd.util.hash_pandas_object(column, index=False).to_numpy()`; `_update_array(hasher, values)`. The index stays out of the digest. Existing helpers in the file: `_encode(hasher, value)`, `_update_array(hasher, array)`, `_Opaque`. The digest bytes change; only equality in one process matters, so no stored file changes. Rules: Ruff `D` and `ANN`; Python 3.9 target; ASD-STE100 comments. Environment: as in T040. + +## Added reduced-scope tasks (replan of 2026-11-18) + +A review of the branch and of T030 changed the spec (C-012 to C-016): no +cache between calls and no lock, SC-006 passes at 120 % or +16 MiB, a shorter +standard suite, time ratios on `baseline.json`, 16 cold large cases. Plan D7 +to D11 give the design. All done tasks keep `[x]`; T048 removes their cache +code. OP3 and OP4 are resolved, OP5 is closed, so T030 has no block now. In +these tasks, "Environment" means the Python environment of the orchestrator +notes, and "Ruff finds nothing new" means `ruff check LoopStructural packages` +shows no finding that the baseline of 474 findings does not have. + +- [x] T046 [Found] [M] Resolve the master merge and move the value lookup to the geometry class (D8). + - Do: The orchestrator has started `git merge --no-commit master`. The only conflict is in `packages/loop_common/src/loop_common/supports/_3d_structured_grid.py`. Master (#367, #369) moved `evaluate_value`, `trilinear`, `position_to_local_coordinates`, `position_to_dof_coefs` and `position_to_cell_corners` into `StructuredGrid3DGeometry` in `packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py`; master's `evaluate_value` also accepts a property array of shape `(n_nodes, k)`. Resolve it as in Context. Add two tests to `test_evaluation_lookup.py`: `test_lookup_value_matches_master_path_for_multi_column_property` (a `(n_nodes, 3)` property array; the fast path gives the same values as the master path) and `test_rectilinear_grid_uses_the_master_path` (a `RectilinearGrid` returns False from `_has_uniform_lookup`). Do not change other files of the merge, and do not commit, abort or reset the merge. If a golden test fails, stop and report: only C-006 can change a reference. + - Files: `packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py`, `packages/loop_common/src/loop_common/supports/_3d_structured_grid.py`, `packages/loop_common/tests/test_evaluation_lookup.py` + - Needs: T045 + - Wave: 32 + - Done when: `git diff --name-only --diff-filter=U` is empty; `pytest packages/loop_common/tests` and `pytest tests/fault_evaluation` pass (the golden tests in less than 120 s); the two new lookup tests pass; `git diff HEAD -- tests/fault_evaluation/data` is empty; Ruff finds nothing new. + - Context: Add to `StructuredGrid3DGeometry` (private): `_has_uniform_lookup(self) -> bool` (True when `type(self)` does not override `position_to_cell_index`, `position_to_local_coordinates` or `position_to_cell_corners` of `StructuredGrid3DGeometry`); `_lookup_points(self, pos) -> tuple[np.ndarray, np.ndarray, np.ndarray]` (the branch body: one `position_to_cell_index` call; corners with -1 for outside rows; local coordinates clipped to 0..1); staticmethod `_values_from_coefficients(idc, inside, coefs, property_array)` (the master weighted sum, for 1-D and `(n_nodes, k)` arrays); `_evaluate_value_from_lookup(self, lookup, property_array) -> np.ndarray`. `evaluate_value` uses `_lookup_points` and `trilinear` when `_has_uniform_lookup()` is True, else the master path; keep the master checks of the property array shape. `StructuredGrid` (support file) keeps the master text plus the branch gradient methods `_gradient_weights`, `_evaluate_gradient_from_lookup`, the fast path in `evaluate_gradient`, and `get_element_gradient_for_location` through `_gradient_weights`; its `_has_uniform_lookup` overrides the geometry method and also requires that `get_element_gradient_for_location` is the method of `StructuredGrid`. Move the branch value methods out of the support file. `_fault_segment._shared_frame_members` stays as it is (`isinstance(support, StructuredGrid)` and `support._has_uniform_lookup()`). The master tests `test_structured_support_reference.py`, `test_property_grid.py` and `test_bounding_box_structured_grid.py` must pass. Rules: NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target; ASD-STE100 comments. Environment: as in the orchestrator notes. + +- [x] T047 [US2] [M] Change the evaluation tests for no cache between calls (D7, red first). + - Do: Delete `test_cache_storage.py`, `test_persistent.py`, `test_invalidation.py`, `test_fault_set_key.py` and `test_fingerprint_cycle.py` (each tests only removed code). In `test_concurrency.py`, remove the tests of the model lock and of the cache (for example `test_held_lock_blocks_evaluation_also_with_the_cache_disabled`, `test_nested_and_repeated_calls_reuse_the_lock_in_one_thread`, `test_thread_holding_the_lock_of_one_model_does_not_block_another_model`, `test_failed_call_publishes_no_entry`, and the lock and entry parts of the other tests); keep the tests that compare two threads with serial references; add `test_two_calls_on_one_model_run_at_the_same_time` (Context). In `test_memory.py`, remove the retained-bytes, cache-mode and fingerprint tests; keep the call-only FR-010 accounting and the bounded digest workspace tests of `_digest`; add `test_no_restoration_stays_after_the_call` (Context). In `test_context.py`, `test_gradient_context.py` and `test_fault_frame_lookup.py`, remove only the lines that set or read `evaluation_cache`; do not change the asserted counts. Add the new file `test_no_retention.py` (Context). Do not change production code or other tests. + - Files: `tests/fault_evaluation/test_cache_storage.py`, `tests/fault_evaluation/test_persistent.py`, `tests/fault_evaluation/test_invalidation.py`, `tests/fault_evaluation/test_fault_set_key.py`, `tests/fault_evaluation/test_fingerprint_cycle.py`, `tests/fault_evaluation/test_concurrency.py`, `tests/fault_evaluation/test_memory.py`, `tests/fault_evaluation/test_context.py`, `tests/fault_evaluation/test_gradient_context.py`, `tests/fault_evaluation/test_fault_frame_lookup.py`, `tests/fault_evaluation/test_no_retention.py` + - Needs: T046 + - Wave: 33 + - Done when: `pytest tests/fault_evaluation/test_concurrency.py tests/fault_evaluation/test_memory.py tests/fault_evaluation/test_context.py tests/fault_evaluation/test_gradient_context.py tests/fault_evaluation/test_fault_frame_lookup.py tests/fault_evaluation/test_no_retention.py` fails for exactly 3 tests, for the reasons in Context, then passes after T048. + - Context: `test_concurrency.py` and `test_memory.py` import helpers from `tests.fault_evaluation.test_invalidation` (for example `_fault`, `_group`, `_points`), and `test_memory.py` imports from `_evaluation_cache`. Copy each helper that a kept test still uses into the file that uses it, and remove these imports. `_digest` is in `_evaluation.py` and stays. `test_two_calls_on_one_model_run_at_the_same_time`: patch `FaultSegment.apply_to_points` with a wrapper that calls `threading.Barrier(2, timeout=10).wait()` once for each thread and then calls the original; two threads call `model.evaluate_model(points)` on the golden model `f1_u0`; the test fails if the barrier breaks (`threading.BrokenBarrierError`); both results equal the serial result. `test_no_restoration_stays_after_the_call`: after `evaluate_model`, `_evaluation._ACTIVE.get()` is None, and after `gc.collect()` no object in `gc.get_objects()` is an `EvaluationContext`. `test_no_retention.py` (FR-009, user story 2 scenario 6): for each change, evaluate `evaluate_model(points)`, make the change, evaluate again, build a second model with the same change from the start, and assert equal results within the FR-004 tolerance of `tests.fault_evaluation.golden`; the changes are `fault.displacement *= 1.5` on the first fault of `f1_u0`, `group.faults_enabled = False` on the oldest group of `f1_u1`, and `fault.steps = 5` on the first fault of `f1_u0`. No transform test (spec 005 owns it, its SC-016). `test_repeat_call_applies_the_faults_again`: two equal `evaluate_model(points)` calls on `f1_u0` make the same `snapshot()["fault_calls_total"]` count (`benchmarks.fault_evaluation.instrumentation.EvaluationInstrumentation`) and equal results. `test_model_has_no_cache_attributes`: `GeologicalModel` has no attribute `evaluation_cache` or `evaluation_revision`. Helpers: `tests.fault_evaluation.models.build_model(name)`, `sample_points(name, count, seed=1)`. Expected red before T048: the barrier test (the lock serialises the calls), the repeat test (the cache gives 0 fault calls in the second call) and the attribute test; the three change tests pass already. Rules: pytest; NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target. Environment: as in the orchestrator notes. + +- [x] T048 [US2] [M] Remove the cache between calls and the model lock (D7). + - Do: Implement D7 (Context). Delete `_evaluation_cache.py`. Keep the scope for each call (D3), the gradient batch sharing (D5) and the fault-frame lookup (D6). Do not change tests or `benchmarks/`: T049 and T050 change the benchmark files and their tests. No change of results. The removed names were never released, so the released API does not change. + - Files: `LoopStructural/modelling/features/_evaluation_cache.py`, `LoopStructural/modelling/features/_evaluation.py`, `LoopStructural/modelling/core/geological_model.py`, `LoopStructural/modelling/features/_base_geological_feature.py`, `LoopStructural/modelling/features/builders/_base_builder.py`, `LoopStructural/modelling/features/builders/_geological_feature_builder.py`, `LoopStructural/modelling/features/fault/_fault_segment.py`, `packages/loop_interpolation/src/loop_interpolation/_discrete_interpolator.py` + - Needs: T047 + - Wave: 34 + - Done when: `pytest tests/fault_evaluation --ignore=tests/fault_evaluation/test_benchmark_run.py --ignore=tests/fault_evaluation/test_benchmark_suites.py --ignore=tests/fault_evaluation/test_acceptance.py --ignore=tests/fault_evaluation/test_benchmark_compare.py` passes (the golden tests in less than 120 s); `pytest packages/loop_interpolation/tests` passes; `git diff master -- LoopStructural/modelling/features/builders/_base_builder.py LoopStructural/modelling/features/builders/_geological_feature_builder.py packages/loop_interpolation/src/loop_interpolation/_discrete_interpolator.py` is empty; `git grep -n -E "RestorationCache|fault_set_fingerprint|dependency_fingerprint|bump_revision|values_differ|_SMALL_FRAME_CELLS|evaluation_cache|evaluation_revision|_revision_hook" -- LoopStructural packages` finds nothing; Ruff finds nothing new. + - Context: `_evaluation.py`: remove the import of `fault_set_fingerprint` and of the `RestorationCache` type; `EvaluationContext.__init__(self, model=None)` keeps `self.model` and `self._restorations: dict`, and loses `_fingerprints`, `_published`, `_opaque`; `restore(feature, points, reverse=False)` keeps the `faults_enabled` check, the read-only view for no faults, the `builder.up_to_date()` loop, `_digest`, the scope key `(digest, points.shape, points.dtype.str, tuple(_fault_state(f) for f in faults), bool(reverse))` (remove the last literal `True`), the scope lookup, the fault loop, the copy when the result shares memory with `points`, `flags.writeable = False` and the store after all faults; remove `_persistent_cache`, `_fingerprint`, `_withdraw` and the persistent path; `evaluation_scope(model=None)` keeps the nested-scope rule and becomes `context = EvaluationContext(model); token = _ACTIVE.set(context); try: yield context; finally: _ACTIVE.reset(token)`; the module docstring says the scope keeps entries for one call only. `geological_model.py`: remove the `RestorationCache` import, `_evaluation_revision`, `_evaluation_cache`, the properties `evaluation_revision` and `evaluation_cache`, `_bump_evaluation_revision` and each call; keep each `with evaluation_scope(self):`. `_base_geological_feature.py`: remove `bump_revision`; restore the plain attribute `self.faults_enabled = True` in `__init__` (no property); keep `evaluation_scope` in `evaluate_normalised_value`. The two builder files: remove `bump_revision` and the `_revision_hook` assignment. `_fault_segment.py`: remove `bump_revision` and `values_differ`, the `displacement` and `steps` properties (plain attributes again), the `bump_revision` calls in `set_displacement` and the `try`/`finally` of the `faultfunction` setter (master body); keep `_shared_frame_members`, `_evaluate_frame`, `_evaluate_frame_legacy` and the changed `apply_to_points`. `_discrete_interpolator.py`: remove the class attribute `_revision_hook` and its call in `solve_system`. Use `git show master:` to see the master text. Rules: NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target; `GeologicalModel` public signatures stay; ASD-STE100 comments. Environment: as in the orchestrator notes. + +- [x] T049 [US3] [M] Test the shorter suite and the new acceptance rules (D9, D10, red first). + - Do: Change the four benchmark test files for D9 and D10 (Context). Remove the tests of warm cases, of the priming call, of `evaluation_cache`, of `_cache_fields`, of SC-010 and of the `"warm"` and `"off"` memory modes. Change the case counts and the fixtures that the new rules make wrong, and say which in the report. Add the new tests of Context. Do not change production code or other tests. + - Files: `tests/fault_evaluation/test_benchmark_run.py`, `tests/fault_evaluation/test_benchmark_suites.py`, `tests/fault_evaluation/test_acceptance.py`, `tests/fault_evaluation/test_benchmark_compare.py` + - Needs: T046 + - Wave: 33 + - Done when: `pytest tests/fault_evaluation/test_benchmark_run.py tests/fault_evaluation/test_benchmark_suites.py tests/fault_evaluation/test_acceptance.py tests/fault_evaluation/test_benchmark_compare.py` fails only in new or changed tests, for the absent D9 and D10 names and rules; the tests that this task did not touch pass; then all pass after T050. + - Context: Module `benchmarks.fault_evaluation.run`: `STATES == ("cold",)`; `enumerate_cases()` gives 430 cases; `standard_cases()` gives 131 (105 at 5,000 points, 10 at 20,000, 9 at 50,000, 7 at 100,000); `STANDARD_LARGE_CASES` is exactly the 16 ids of plan D9 in this order: `f0_u0:all_group_values:100000:cold`, `f0_u1:oldest_value:100000:cold`, `f0_u1:model_ids:50000:cold`, `f0_u2:oldest_value:50000:cold`, `f0_u3:model_ids:100000:cold`, `f1_u0:all_group_values:100000:cold`, `f1_u1:oldest_value:50000:cold`, `f1_u2:oldest_value:100000:cold`, `f1_u2:oldest_gradient:50000:cold`, `f1_u3:oldest_value:50000:cold`, `f1_u3:all_group_values:100000:cold`, `stopped_fault:model_ids:50000:cold`, `stopped_fault:oldest_gradient:50000:cold`, `onlap_domain:model_ids:50000:cold`, `faulted_fold:oldest_value:50000:cold`, `faulted_fold:all_group_values:100000:cold`; no `onlap_domain` gradient case at 100,000 points in the standard list. `PASS_POINTS == {"timing": None, "counters": (5_000, 20_000), "rss": (5_000,)}`; `pass_cases(cases, pass_kind, suite)`: `"full"` gives `cases`, `"standard"` filters by `points` (None = all), ValueError for an unknown pass or suite; `main` gives each `_run_fresh_process_pass` call the `pass_cases` list of its pass. `_merge`: a case absent from the counter pass gets None for each of `COUNTER_FIELDS`; a case absent from the memory pass gets `peak_extra_rss_bytes` None and `rss_unit` `"bytes"`; top-level `"suite"`. `validate_result` accepts None only for `COUNTER_FIELDS` and `peak_extra_rss_bytes`, and an optional `"suite"`; `SCHEMA_VERSION` stays 1. `cold_view(document)`: a copy where a `:warm` row with no `:cold` row of the same case becomes `:cold` (`case_id` and `state`), and other `:warm` rows go. `bench_cases.run_case` never primes and never reads `evaluation_cache`; `warmup_rounds` stays 0. Module `acceptance`: `check_acceptance(base, new)` applies `cold_view` to `base`; no `"SC-010"` row; `MEMORY_MODES == ("cold",)`; `MEMORY_ALLOWANCE_BYTES == 16 * 1024 * 1024`; SC-006 passes a case when `new <= 1.20 * base` or `new - base <= MEMORY_ALLOWANCE_BYTES` (1.5 x a 1 MB baseline passes; 1.5 x a 100 MB baseline fails; a 0 baseline uses only the allowance); a candidate None that is not in the memory pass is not a failure; a criterion that needs a None value fails with the reason "case X was not measured in the Y pass". Module `compare`: a base with `:warm` ids goes through `cold_view`; a None value gives the ratio text "not measured", no failure and no noise mark. Rules: pytest; NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target. Environment: as in the orchestrator notes. + +- [x] T050 [US3] [M] Implement the shorter suite and the new acceptance rules (D9, D10). + - Do: Implement D9 and D10 so that the T049 tests pass (Context). Keep the comment on the draw of 2026-11-02 above `STANDARD_LARGE_CASES` and add the rule of C-016 (merge the 24 old ids without the state, remove the 5 gradient cases at 100,000 points). The `cold_view` docstring says: use it only on a file of the code before this feature (T011); that code had no cache and the runner skipped the priming call, so its warm case was one cold call (C-016). Keep `_time_ratio_row` and `_sc009` on the baseline file (C-015) and change no limit. Do not change tests or files outside `benchmarks/fault_evaluation/`. + - Files: `benchmarks/fault_evaluation/run.py`, `benchmarks/fault_evaluation/bench_cases.py`, `benchmarks/fault_evaluation/acceptance.py`, `benchmarks/fault_evaluation/compare.py` + - Needs: T049, T048 + - Wave: 35 + - Done when: `pytest tests/fault_evaluation` passes; `git grep -n -E "RestorationCache|fault_set_fingerprint|dependency_fingerprint|bump_revision|values_differ|_SMALL_FRAME_CELLS|evaluation_cache|evaluation_revision|_revision_hook" -- LoopStructural packages benchmarks tests` finds nothing, except the test lines that assert that `evaluation_cache` is absent or never read (`test_benchmark_run.py`, `test_benchmark_suites.py`, `test_no_retention.py`; plan.md, Answers, 2026-11-18, T050); Ruff finds nothing new and `ruff check benchmarks/fault_evaluation` shows no finding that was not there before. + - Context: `run.py`: `STATES = ("cold",)` (ids keep `:cold`; `state` stays in schema v1); the 16 `STANDARD_LARGE_CASES` ids of plan D9 (also in the Context of T049), in the order of the full list; `PASS_POINTS: dict[str, tuple[int, ...] | None] = {"timing": None, "counters": (5_000, 20_000), "rss": (5_000,)}`; `pass_cases(cases: list[dict[str, Any]], pass_kind: str, suite: str) -> list[dict[str, Any]]`; `main` calls `_run_fresh_process_pass(pass_kind, pass_cases(cases, pass_kind, options.suite), ...)`; `_merge` gives None for each of `COUNTER_FIELDS` of a case that the counter pass did not run, None for `peak_extra_rss_bytes` (with `rss_unit` `"bytes"`) of a case that the memory pass did not run, and the top-level key `"suite"`; `validate_result` accepts None only for those fields, and an optional `"suite"`; `SCHEMA_VERSION` stays 1; `cold_view(document: dict[str, Any]) -> dict[str, Any]`. `bench_cases.py`: remove the warm path of `run_case` (cache clear, priming call, `evaluation_cache`); keep `warmup_rounds=0`. `acceptance.py`: `check_acceptance` applies `run.cold_view` to `base`; remove `_sc010`, `IDS_COLD_F4U3`, `IDS_WARM_F4U3`, `WARM_F4U3`, the `"SC-010"` row, `_cache_fields`, the cache lines of `_memory_worker`; `MEMORY_MODES = ("cold",)`; `MEMORY_ALLOWANCE_BYTES = 16 * 1024 * 1024`; `_sc006(base, new)`: compare cases where both peaks are not None; pass at `new <= 1.20 * base` or `new - base <= MEMORY_ALLOWANCE_BYTES`; the row value is the worst ratio, the reason lists each failing case with both values and the row gives the number of compared cases as the integer key `"compared_cases"` (cases with a memory value in both documents; plan.md, Answers, 2026-11-18, review of wave 33); `_check_cases` accepts None counter and memory fields when the criterion does not read them; a needed None value fails with "case X was not measured in the Y pass". `compare.py`: apply `run.cold_view` to a base with `:warm` ids; None on either side gives "not measured", never a failure or a noise mark. Rules: stdlib only in `compare.py`; NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target. Environment: as in the orchestrator notes. + +- [x] T051 [US3] [M] Measure the gates on the merged tree with no cache (D11 step 4). + - Do: Read-only for tracked code. On the clean committed tree after T048 and T050, measure `f4_u3`, `f4_u0` and `onlap_domain` at 5,000 points, cold, all five operations, with the D2 tools. Put any script in the scratchpad, outside the repository, and delete it at the end. Add a new top section to `profile-d4a.md` ("Third run (, no cache, after the master merge)"), above the second run, and keep the old sections. Report: G1, fault calls of `f4_u3` cold `model_ids` (target 4, SC-003 after spec C-017), and the `all_group_values` count for information (16 expected: 4 separate calls, no reuse between calls); G2 (new), the cold `f4_u3` `model_ids` median time (target at most 1.10 times 0.2208 s, the cache-on time of the second run of T042); G5, the `onlap_domain` `model_gradient` cold time against the baseline 0.92 s (report only); the fault calls and median times of every measured case; and that `pytest tests/fault_evaluation` (the golden tests) passes on this tree, with its time. G3 and G4 are gone (no cache, no fingerprint). Give the revision, the Python path and the commands. Mark each gate pass or fail. A miss is a failed task. If the `model_ids` count is not 4, stop and report: the plan must change. The first try (2026-11-18, revision 3865c80b) stopped on the `all_group_values` count of 16; the user then chose spec C-017 (plan.md, Answers). + - Files: `specs/003-fault-evaluation-performance/profile-d4a.md` + - Needs: T048, T050 + - Wave: 36 + - Done when: `profile-d4a.md` has the third-run section with the revision, G1 (4 for `model_ids`), G2 at most 0.2429 s, the G5 time, and the golden test result, each marked pass or fail. + - Context: Case ids are `"{model}:{operation}:{points}:cold"`; operations `oldest_value`, `all_group_values`, `model_ids`, `oldest_gradient`, `model_gradient`. `benchmarks.fault_evaluation.run.enumerate_cases()` gives the full case list; filter it by model and `points == 5000`. `benchmarks.fault_evaluation.bench_cases.run_case(benchmark, model, points, case, rounds=...)` times one call; the points come from `bench_cases._points(model, count)`. Count calls with `benchmarks.fault_evaluation.instrumentation.EvaluationInstrumentation` (`snapshot()["fault_calls_total"]`). The runner has no case filter: do not change it. Use `time.perf_counter` and the median of 5 rounds for each time. Rule: every time is measured, none is inferred (plan.md, Answers 2026-11-02). Environment: as in the orchestrator notes. + +- [x] T052 [US3] [M] Test SC-003 and SC-004 on one evaluate_model call (spec C-017, red first). + - Do: In `tests/fault_evaluation/test_acceptance.py`, change the fixtures and tests of SC-003 and SC-004 for spec C-017 (Context). Add the rows of `f4_u3:model_ids:5000:cold` and `f4_u0:model_ids:5000:cold` to the base and candidate fixtures if they are absent. Keep the SC-003 time test on `all_group_values`. Change the SC-003 count test so that it sets the count of the `model_ids` case. Add: an `all_group_values` count of 16 does not fail SC-003 when the `model_ids` count is 4; a `model_ids` count of 5 fails SC-003 and the reason names the `model_ids` id; SC-004 uses the `model_ids` times (a slow `f4_u3:all_group_values` does not fail SC-004; a `model_ids` ratio above 1.5 fails it); a `model_ids` case absent from the candidate fails SC-003 and SC-004 with the id in the reason. Do not change other tests or production code. + - Files: `tests/fault_evaluation/test_acceptance.py` + - Needs: T050 + - Wave: 36 + - Done when: `pytest tests/fault_evaluation/test_acceptance.py -q` fails only in the new or changed SC-003 and SC-004 tests, because `acceptance.py` still reads `all_group_values` for the count and for SC-004; then all pass after T053. + - Context: `benchmarks/fault_evaluation/acceptance.py` has `ALL_F4U3 = "f4_u3:all_group_values:5000:cold"`, `ALL_F4U0 = "f4_u0:all_group_values:5000:cold"`, `_time_ratio_row(base, new, case_id, limit, calls)` (time ratio and exact count on one case) and `_sc004(new)` (ratio of the two `all_group_values` medians, limit 1.5). After T053: new constants `IDS_F4U3 = "f4_u3:model_ids:5000:cold"` and `IDS_F4U0 = "f4_u0:model_ids:5000:cold"`; SC-003 = time ratio of `ALL_F4U3` at most 0.15 of the baseline AND `fault_calls_total` of `IDS_F4U3` equal to 4; SC-004 = median of `IDS_F4U3` / median of `IDS_F4U0` at most 1.5. Measured values for realistic fixtures (T051 first try, 2026-11-18): `model_ids` f4_u3 0.192 s and 4 calls, f4_u0 0.186 s and 4 calls; `all_group_values` f4_u3 0.733 s and 16 calls. Baseline (`baseline.json`): `model_ids` f4_u3 6.34 s and 52 calls, f4_u0 0.48 s. Use the helpers of the file (`_set`, `_row`, the base and candidate fixtures). Rules: pytest; NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target. Environment: as in the orchestrator notes. + +- [x] T053 [US3] [M] Measure the SC-003 count and SC-004 on one evaluate_model call (spec C-017). + - Do: In `acceptance.py`, add `IDS_F4U3` and `IDS_F4U0` (Context of T052). Change the SC-003 row so that the time ratio stays on `ALL_F4U3` and the count check reads `IDS_F4U3`; a missing or unmeasured `IDS_F4U3` fails with its id in the reason (the existing "was not measured in the counters pass" form). Change `_sc004` to the two `model_ids` cases. Change the docstrings. Do not change tests or other files. + - Files: `benchmarks/fault_evaluation/acceptance.py` + - Needs: T052 + - Wave: 37 + - Done when: `pytest tests/fault_evaluation -q` passes; `ruff check benchmarks/fault_evaluation` is clean. + - Context: see the Context of T052. Keep the limits (0.15, 4 calls, 1.5) and the row form `_row(passed, value, limit, reason)`. The value of the SC-003 row stays the time ratio. Rules: NumPy docstrings and type hints (Ruff `D`, `ANN`); Python 3.9 target; ASD-STE100 comments. Environment: as in the orchestrator notes. + +## Dependencies + +T001 is complete. T033 depends on it, proves the existing gradient output +defect without a solver, and must fail before T034 repairs it. T002 waits for +T034 and resumes its saved drafts. T003-T006 then capture and check all golden +outputs on the corrected pre-performance revision. The benchmark tools T007-T010 +exist. T035 -> T036 add the standard suite and T037 -> T038 add the repeat of +short cases; T039 (acceptance tests) runs beside them and T029 needs it. T011 +freezes both baseline runs of the standard suite before any cache or grid +optimization, so it needs T038. D0 is the sole earlier evaluation edit. The +accepted OP1 batch rule applies to gradients. OP2 is resolved by measurement; a +failed runtime/noise target triggers a user decision and never counts as +passing acceptance. Cache and grid tasks keep their prior dependency branches +and start after T011. The first T030 run failed (2026-11-03). T040 -> T041 fix the D4a fault-set key; +T044 -> T045 make the frame digest faster (D4b), and T042 then measures D4a; T043 splits the failed results by +cause and can run at any time after T029. The replan of 2026-11-18 adds +T046 (merge master, D8), then T047 -> T048 (remove the cache, D7) beside +T049 -> T050 (shorter suite, acceptance rules, D9, D10; T050 also needs T048), +then T051 (gates on the merged tree). T052 -> T053 move the SC-003 count and +SC-004 to `model_ids` (spec C-017). T030 joins T042, T043, T051 and T053; OP3 and +OP4 are resolved, so it has no block. T031 documents passing +results, and T032 is the final scheduled task and depends on every other task. +Spec 005 owns frame/world-local repairs; its planning gate waits for these documentation amendments only, so no implementation dependency on 005 is +added here. If a future reviewed correction changes references, append its +provenance and keep current historical records. Keep performance limits and +unaffected baselines fixed; compare equivalent correctness and run provenance. + +## Wave table + +| Wave | Tasks | Tier [S] | Tier [M] | +|---|---|---|---| +| 1 | T001 | 0 | 1 | +| 2 | T033 | 0 | 1 | +| 3 | T034 | 0 | 1 | +| 4 | T002 | 0 | 1 | +| 5 | T003 | 0 | 1 | +| 6 | T004 | 0 | 1 | +| 7 | T005 | 0 | 1 | +| 8 | T006 | 0 | 1 | +| 9 | T007 | 0 | 1 | +| 10 | T008, T009 | 1 | 1 | +| 11 | T010 | 1 | 0 | +| 12 | T028, T035 | 1 | 1 | +| 13 | T036, T039 | 0 | 2 | +| 14 | T029, T037 | 0 | 2 | +| 15 | T038, T043 | 0 | 2 | +| 16 | T011 | 0 | 1 | +| 17 | T012, T024 | 0 | 2 | +| 18 | T013, T025 | 0 | 2 | +| 19 | T014 | 0 | 1 | +| 20 | T015 | 0 | 1 | +| 21 | T016 | 0 | 1 | +| 22 | T017 | 0 | 1 | +| 23 | T018 | 0 | 1 | +| 24 | T019 | 0 | 1 | +| 25 | T020, T022, T026 | 0 | 3 | +| 26 | T021, T027 | 0 | 2 | +| 27 | T023 | 0 | 1 | +| 28 | T040 | 0 | 1 | +| 29 | T041 | 0 | 1 | +| 30 | T044 | 0 | 1 | +| 31 | T045 | 1 | 0 | +| 32 | T042, T046 | 0 | 2 | +| 33 | T047, T049 | 0 | 2 | +| 34 | T048 | 0 | 1 | +| 35 | T050 | 0 | 1 | +| 36 | T051, T052 | 0 | 2 | +| 37 | T053 | 0 | 1 | +| 38 | T030 | 0 | 1 | +| 39 | T031 | 0 | 1 | +| 40 | T032 | 0 | 1 | + +## Critical path + +T001 -> T033 -> T034 -> T002 -> T003 -> T004 -> T005 -> T006 -> T007 -> T008 -> T010 -> T035 -> T036 -> T037 -> T038 -> T011 -> T012 -> T013 -> T014 -> T015 -> T016 -> T017 -> T018 -> T019 -> T020 -> T021 -> T023 -> T040 -> T041 -> T044 -> T045 -> T046 -> T047 -> T048 -> T050 -> T052 -> T053 -> T030 -> T031 -> T032 + +40 sequential waves. T001-T029 and T033-T050 are complete. T051 failed its first try on the SC-003 count (spec C-017 answers it); T052 and T053 move the SC-003 count and SC-004 to `model_ids`. T030 is parked: it is blocked by OP6 (a quiet computer is necessary). T031 and T032 wait for T030. diff --git a/specs/README.md b/specs/README.md index d643bebd0..7f287a9e4 100644 --- a/specs/README.md +++ b/specs/README.md @@ -7,7 +7,7 @@ not certify that an implementation or a numerical acceptance gate passed. |---|---|---| | [001-low-memory-interpolator](001-low-memory-interpolator/spec.md) | Spec declares ready for plan, reviewed 2026-10-27 | Follow its existing plan and task workflow. This cascade did not reassess it. | | [002-rbf-interpolator](002-rbf-interpolator/spec.md) | Draft, not reviewed | Continue its existing review and clarification workflow. This cascade did not change it. | -| [003-fault-evaluation-performance](003-fault-evaluation-performance/spec.md) | Implementation in progress; 005 contract cascade applied | Its active plan and tasks remain in the existing LoopStructural-native worktree. OP3 and OP4 remain open; completed tasks, including concurrent T043, and measured failures are preserved. | +| [003-fault-evaluation-performance](003-fault-evaluation-performance/spec.md) | Implementation in progress; 005 contract cascade applied; scope reduced 2026-11-18 (C-012 to C-014: no cache between calls, new SC-006 rule, shorter standard suite) | Run spec-planner, then spec-tasks, in the LoopStructural-native worktree: remove the cache code, move the grid lookup onto `StructuredGrid3DGeometry` from master, then run T030 again. C-014 answers OP3 and C-013 answers OP4. | | [004-matrix-free-directional-constraints](004-matrix-free-directional-constraints/spec.md) | Draft; 005 contract cascade applied; task graph checked | Review the updated plan and tasks. OP1 still requires the quadrature measurements before a default is chosen. | | [005-coordinate-frame-correctness](005-coordinate-frame-correctness/spec.md) | S1 implemented 2026-11-04 on `feat/005-coordinate-frame-correctness` (17 of 17 tasks; evidence in [verification.md](005-coordinate-frame-correctness/verification.md)); S5 planned 2026-11-05 and revised after review; S6 planned 2026-11-06 and reviewed the same day; maintainer decisions recorded ("Stage S6 design" in plan.md; OP1, OP18, OP19 and OP20 closed; spec clarification C-019 added; OP21 to OP24 have defaults and block no task) | Review and merge the S1 branch. S2 planned and tasked 2026-11-04 (T018 to T031, waves 8 to 13); run spec-orchestrator for S2. S3 planned and tasked 2026-11-05 ("Stage S3 design" in plan.md; OP4 and OP5 closed; T033 to T050, waves 14 to 22; build after S2 merges). S3 is built on `feat/005-s3-frame-persistence` (pull request #397, stacked on #396; 18 of 18 tasks, evidence in verification.md). S3 merged (#397); a follow-up keeps the legacy load backward compatible (pull request #400). S4 planned and tasked 2026-11-05 ("Stage S4 design" in plan.md; OP8 to OP10 have defaults and block nothing; T051 to T068, waves 23 to 31); run spec-orchestrator for S4. S5 planned 2026-11-05 and revised the same day after review and five maintainer answers ("Stage S5 design" in plan.md; OP13 to OP15 closed; OP12, OP16 and OP17 have defaults; OP17 blocks the S5 merge only if a parity file changes); S5 tasked 2026-11-05 (T069 to T088, waves 32 to 42; no open point blocks a task; build after S4 merges). OP1 closed 2026-11-06. S6 tasked 2026-11-06 (T089 to T108, waves 43 to 52; 20 tasks; no open point blocks a task; build after S5 merges). OP3: constant-norm accuracy check. OP2 closed 2026-11-04: the R2/R5 matrix stays in the default pytest run. 7 minor review findings are open (run-state.json). | | [006-loop-link](006-loop-link/spec.md) | S1 to S3 (stories 1 and 5) implemented 2026-11-07 on `feat/006-loop-link` (37 of 37 tasks, 13 waves; wave and end reviews passed; not merged) | Pull request 406 is open. S5 (stories 2 to 4) planned 2026-11-07 against geoviewer spec 067 ([plan.md](006-loop-link/plan.md), "Design of stage S5"); S5 tasks written 2026-11-07 (T039 to T063; the file has 62 tasks in 19 waves); next: build S5 with the spec-orchestrator skill. S4 (stories 6, 7) planned 2026-11-08 ("Design of stage S4" in plan.md) and tasked 2026-11-08 (T064 to T087) and built except T080, T081, T086 and T087; geoviewer spec 072 (protocol 1.20) answered OP15 on 2026-11-09 and the S4d tasks were rewritten (T088 to T092 added; the file has 91 tasks in 23 waves); next: build the open S4 tasks with the spec-orchestrator skill. | diff --git a/tests/fault_evaluation/__init__.py b/tests/fault_evaluation/__init__.py new file mode 100644 index 000000000..760b455fb --- /dev/null +++ b/tests/fault_evaluation/__init__.py @@ -0,0 +1 @@ +"""Golden geological models for fault evaluation tests.""" diff --git a/tests/fault_evaluation/data/cutting_faults.npz b/tests/fault_evaluation/data/cutting_faults.npz new file mode 100644 index 000000000..2e1780fa7 Binary files /dev/null and b/tests/fault_evaluation/data/cutting_faults.npz differ diff --git a/tests/fault_evaluation/data/f0_u0.npz b/tests/fault_evaluation/data/f0_u0.npz new file mode 100644 index 000000000..ace1d5ad8 Binary files /dev/null and b/tests/fault_evaluation/data/f0_u0.npz differ diff --git a/tests/fault_evaluation/data/f0_u1.npz b/tests/fault_evaluation/data/f0_u1.npz new file mode 100644 index 000000000..de964759d Binary files /dev/null and b/tests/fault_evaluation/data/f0_u1.npz differ diff --git a/tests/fault_evaluation/data/f0_u2.npz b/tests/fault_evaluation/data/f0_u2.npz new file mode 100644 index 000000000..2c0686a32 Binary files /dev/null and b/tests/fault_evaluation/data/f0_u2.npz differ diff --git a/tests/fault_evaluation/data/f0_u3.npz b/tests/fault_evaluation/data/f0_u3.npz new file mode 100644 index 000000000..98a6b900f Binary files /dev/null and b/tests/fault_evaluation/data/f0_u3.npz differ diff --git a/tests/fault_evaluation/data/f1_u0.npz b/tests/fault_evaluation/data/f1_u0.npz new file mode 100644 index 000000000..2fa880c12 Binary files /dev/null and b/tests/fault_evaluation/data/f1_u0.npz differ diff --git a/tests/fault_evaluation/data/f1_u1.npz b/tests/fault_evaluation/data/f1_u1.npz new file mode 100644 index 000000000..267dbb3cd Binary files /dev/null and b/tests/fault_evaluation/data/f1_u1.npz differ diff --git a/tests/fault_evaluation/data/f1_u2.npz b/tests/fault_evaluation/data/f1_u2.npz new file mode 100644 index 000000000..ade8ff07b Binary files /dev/null and b/tests/fault_evaluation/data/f1_u2.npz differ diff --git a/tests/fault_evaluation/data/f1_u3.npz b/tests/fault_evaluation/data/f1_u3.npz new file mode 100644 index 000000000..130956122 Binary files /dev/null and b/tests/fault_evaluation/data/f1_u3.npz differ diff --git a/tests/fault_evaluation/data/f2_u0.npz b/tests/fault_evaluation/data/f2_u0.npz new file mode 100644 index 000000000..ca8b69fdd Binary files /dev/null and b/tests/fault_evaluation/data/f2_u0.npz differ diff --git a/tests/fault_evaluation/data/f2_u1.npz b/tests/fault_evaluation/data/f2_u1.npz new file mode 100644 index 000000000..3681da634 Binary files /dev/null and b/tests/fault_evaluation/data/f2_u1.npz differ diff --git a/tests/fault_evaluation/data/f2_u2.npz b/tests/fault_evaluation/data/f2_u2.npz new file mode 100644 index 000000000..d019cbff1 Binary files /dev/null and b/tests/fault_evaluation/data/f2_u2.npz differ diff --git a/tests/fault_evaluation/data/f2_u3.npz b/tests/fault_evaluation/data/f2_u3.npz new file mode 100644 index 000000000..8a097eeec Binary files /dev/null and b/tests/fault_evaluation/data/f2_u3.npz differ diff --git a/tests/fault_evaluation/data/f4_u0.npz b/tests/fault_evaluation/data/f4_u0.npz new file mode 100644 index 000000000..1c1af375e Binary files /dev/null and b/tests/fault_evaluation/data/f4_u0.npz differ diff --git a/tests/fault_evaluation/data/f4_u1.npz b/tests/fault_evaluation/data/f4_u1.npz new file mode 100644 index 000000000..914170d2e Binary files /dev/null and b/tests/fault_evaluation/data/f4_u1.npz differ diff --git a/tests/fault_evaluation/data/f4_u2.npz b/tests/fault_evaluation/data/f4_u2.npz new file mode 100644 index 000000000..0535fc93f Binary files /dev/null and b/tests/fault_evaluation/data/f4_u2.npz differ diff --git a/tests/fault_evaluation/data/f4_u3.npz b/tests/fault_evaluation/data/f4_u3.npz new file mode 100644 index 000000000..e0a275647 Binary files /dev/null and b/tests/fault_evaluation/data/f4_u3.npz differ diff --git a/tests/fault_evaluation/data/f4_u3_group_disabled_gradient.npz b/tests/fault_evaluation/data/f4_u3_group_disabled_gradient.npz new file mode 100644 index 000000000..890105877 Binary files /dev/null and b/tests/fault_evaluation/data/f4_u3_group_disabled_gradient.npz differ diff --git a/tests/fault_evaluation/data/faulted_fold.npz b/tests/fault_evaluation/data/faulted_fold.npz new file mode 100644 index 000000000..6f736dc76 Binary files /dev/null and b/tests/fault_evaluation/data/faulted_fold.npz differ diff --git a/tests/fault_evaluation/data/fields.npz b/tests/fault_evaluation/data/fields.npz new file mode 100644 index 000000000..1dc3a2cf0 Binary files /dev/null and b/tests/fault_evaluation/data/fields.npz differ diff --git a/tests/fault_evaluation/data/manifest.json b/tests/fault_evaluation/data/manifest.json new file mode 100644 index 000000000..21332ff23 --- /dev/null +++ b/tests/fault_evaluation/data/manifest.json @@ -0,0 +1,15905 @@ +{ + "dependencies": { + "LoopStructural": "1.11.0", + "numpy": "2.4.6", + "platform": "Windows-11-10.0.26200-SP0", + "python": "3.13.12", + "scipy": "1.18.0" + }, + "models": { + "cutting_faults": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 16, + "interior": 128, + "unconformities": 0, + "unit_boundaries": 8 + }, + "point_count": 158, + "sha256": "cae20ee89052b75e3d4fd145618974863eef645d09aa737eb553188f826f4690", + "summary": { + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 19.807315947901948, + "finite_min": -19.781487081616397, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.0012500001542680695, + "finite_min": -1.9837681578807262e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.0012478202683502808, + "finite_min": -2.7980354102663187e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.0023919024068335404, + "finite_min": -1.2441173563448698, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 6.821707610900275e-05, + "finite_min": -0.0012500173210939292, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.5989163193942357, + "finite_min": -0.6726639595369382, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 19.79329142918824, + "finite_min": -19.891708700927662, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.3003197129950712, + "finite_min": -0.6268821059498066, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.0009456526517056529, + "finite_min": -1.3757120396307165e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.3003197129950712, + "finite_min": -0.6268821059498066, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 3.665452956003179e-05, + "finite_min": -0.0012496677880058371, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 1.2489889599722588, + "finite_min": -0.007908605942864607, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.0012760345172653231, + "finite_min": -4.7258674355621366e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.6634461264522045, + "finite_min": -0.6185600056410021, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 343.87291004380313, + "finite_min": -77.14536898957749, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 900.7032215283277, + "finite_min": -95.27177873167759, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 158, + "finite_max": 1.0, + "finite_min": 0.0, + "histogram": { + "0": 26, + "1": 132 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1000.2496196577006, + "finite_min": -1002.409750696631, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "restored::fault_1>fault_0": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1000.2461654243815, + "finite_min": -999.2187794682751, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "surface::group_0@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@50::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1012560.3635470539, + "finite_min": 1012560.3635470539, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1012560.3635470539 + ] + }, + "surface::group_0@50::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -871.2001599763569, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -871.2001599763569 + ], + [ + 999.9999999999999, + 999.9999999999999, + -827.5674016852128 + ] + ] + }, + "surface::group_0@50::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 480.0, + "finite_min": 480.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 480 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 632, + "finite_max": 2400.703221528328, + "finite_min": 0.09530150564771844, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 4 + ] + } + }, + "surface_levels": [ + "-1500", + "1500", + "50" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f0_u0": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 0, + "interior": 128, + "unconformities": 0, + "unit_boundaries": 8 + }, + "point_count": 142, + "sha256": "9b86c96de03d04ae5704c58c8d533a749efea3af8926163459cbefc9f7dd583a", + "summary": { + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 426, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 142, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 142, + "finite_max": 899.8870230767869, + "finite_min": -99.90180746637562, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 142 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 142, + "finite_max": 1.0, + "finite_min": 0.0, + "histogram": { + "0": 26, + "1": 116 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 142 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 426, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 142, + 3 + ] + }, + "surface::group_0@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@50::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0000654515, + "finite_min": 1000000.0000654515, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0000654515 + ] + }, + "surface::group_0@50::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -850.0062540957803, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -850.0062540957803 + ], + [ + 999.9999999999999, + 999.9999999999999, + -849.9968804811176 + ] + ] + }, + "surface::group_0@50::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 568, + "finite_max": 2399.887023076787, + "finite_min": 0.09999895757893995, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 142, + 4 + ] + } + }, + "surface_levels": [ + "-1500", + "1500", + "50" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f0_u1": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 0, + "interior": 128, + "unconformities": 8, + "unit_boundaries": 16 + }, + "point_count": 158, + "sha256": "8f49263099332b5bb5f12a2dcb1ade87645038a927ef12458b6818782552040a", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 899.8870230767869, + "finite_min": -99.90180746637562, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 357, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 117, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 119, + "finite_max": 899.8870230767869, + "finite_min": 100.0999975897248, + "nan_count": 39, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 117, + "finite_max": 1.0000675724887702, + "finite_min": -0.050052367946287035, + "nan_count": 357, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 39, + "finite_max": -60.49834898604819, + "finite_min": -272.77567851270555, + "nan_count": 119, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 158, + "finite_max": 3.0, + "finite_min": 0.0, + "histogram": { + "0": 18, + "1": 21, + "2": 62, + "3": 57 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0000655018, + "finite_min": 1000000.0000655018, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0000655018 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -800.0090247706363, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -800.0090247706363 + ], + [ + 999.9999999999999, + 999.9999999999999, + -799.9975932271857 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0012959202, + "finite_min": 1000000.0012959202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0012959202 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -400.0330473247328, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -400.0330473247328 + ], + [ + 999.9999999999999, + 999.9999999999999, + -399.97336738987974 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1001250.1916013572, + "finite_min": 1001250.1916013572, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1001250.1916013572 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -925.0227840323197, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -925.0227840323197 + ], + [ + 999.9999999999999, + 999.9999999999999, + -874.976534592478 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 420.0, + "finite_min": 420.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 420 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 632, + "finite_max": 1772.7756785127056, + "finite_min": 0.09999758972479356, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 632, + "shape": [ + 158, + 8 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f0_u2": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 0, + "interior": 128, + "unconformities": 16, + "unit_boundaries": 16 + }, + "point_count": 166, + "sha256": "ad0413963c79304454370cefe55d877748bb2cb8ef01994e03c949120e9dfc89", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 899.8870230767869, + "finite_min": -99.90180746637562, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 1.0000932350187952, + "finite_min": -0.050082098654213036, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 729.2584248948046, + "finite_min": -272.77567851270555, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 381, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 117, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 127, + "finite_max": 899.8870230767869, + "finite_min": 100.0999975897248, + "nan_count": 39, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 498, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 166, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 117, + "finite_max": 1.0000776267278515, + "finite_min": -0.100119247981903, + "nan_count": 381, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 39, + "finite_max": -212.79668533134327, + "finite_min": -467.00546046776594, + "nan_count": 127, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 166, + "finite_max": 5.0, + "finite_min": 0.0, + "histogram": { + "0": 18, + "1": 21, + "4": 70, + "5": 57 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0000655018, + "finite_min": 1000000.0000655018, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0000655018 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -800.0090247706363, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -800.0090247706363 + ], + [ + 999.9999999999999, + 999.9999999999999, + -799.9975932271857 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0012959202, + "finite_min": 1000000.0012959202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0012959202 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -400.0330473247328, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -400.0330473247328 + ], + [ + 999.9999999999999, + 999.9999999999999, + -399.97336738987974 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1001250.1916013572, + "finite_min": 1001250.1916013572, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1001250.1916013572 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -925.0227840323197, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -925.0227840323197 + ], + [ + 999.9999999999999, + 999.9999999999999, + -874.976534592478 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 420.0, + "finite_min": 420.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 420 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1004990.762505538, + "finite_min": 1004990.762505538, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1004990.762505538 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -950.0516276610525, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -950.0516276610525 + ], + [ + 999.9999999999999, + 999.9999999999999, + -849.9751718420731 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 440.0, + "finite_min": 440.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 440 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 664, + "finite_max": 1967.005460467766, + "finite_min": 0.09999758972479356, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 1328, + "shape": [ + 166, + 12 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f0_u3": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 0, + "interior": 128, + "unconformities": 24, + "unit_boundaries": 16 + }, + "point_count": 174, + "sha256": "247d1c97ece7dfe89cc0060a8e7c46679cea3b9daf9128fd2af32b7218c4f37e", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 899.8870230767869, + "finite_min": -99.90180746637562, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 1.0000932350187952, + "finite_min": -0.050082098654213036, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 729.2584248948046, + "finite_min": -272.77567851270555, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::__group_2_unconformity::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 1.0000776267279665, + "finite_min": -0.10011959793590014, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::__group_2_unconformity::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 562.0864926009986, + "finite_min": -467.00546046776594, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 405, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 117, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 135, + "finite_max": 899.8870230767869, + "finite_min": 100.0999975897248, + "nan_count": 39, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 522, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 174, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 522, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 174, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_3::gradient": { + "dtype": "float64", + "finite_count": 117, + "finite_max": 1.0000795733617052, + "finite_min": -0.15021626887701012, + "nan_count": 405, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_3::value": { + "dtype": "float64", + "finite_count": 39, + "finite_max": -365.04985654015593, + "finite_min": -661.2724170667294, + "nan_count": 135, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 174, + "finite_max": 7.0, + "finite_min": 0.0, + "histogram": { + "0": 18, + "1": 21, + "6": 78, + "7": 57 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0000655018, + "finite_min": 1000000.0000655018, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0000655018 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -800.0090247706363, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -800.0090247706363 + ], + [ + 999.9999999999999, + 999.9999999999999, + -799.9975932271857 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0012959202, + "finite_min": 1000000.0012959202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0012959202 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -400.0330473247328, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -400.0330473247328 + ], + [ + 999.9999999999999, + 999.9999999999999, + -399.97336738987974 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1001250.1916013572, + "finite_min": 1001250.1916013572, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1001250.1916013572 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -925.0227840323197, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -925.0227840323197 + ], + [ + 999.9999999999999, + 999.9999999999999, + -874.976534592478 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 420.0, + "finite_min": 420.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 420 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1004990.762505538, + "finite_min": 1004990.762505538, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1004990.762505538 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -950.0516276610525, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -950.0516276610525 + ], + [ + 999.9999999999999, + 999.9999999999999, + -849.9751718420731 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 440.0, + "finite_min": 440.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 440 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-525::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 895538.2079342935, + "finite_min": 895538.2079342935, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 895538.2079342935 + ] + }, + "surface::group_3@-525::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -975.1170701102207, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -975.1170701102207 + ], + [ + 885.6396926076789, + 999.9999999999999, + -842.1052631578948 + ] + ] + }, + "surface::group_3@-525::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_3@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 696, + "finite_max": 2161.2724170667293, + "finite_min": 0.09999758972479356, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 2088, + "shape": [ + 174, + 16 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "-525", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f1_u0": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 8, + "interior": 128, + "unconformities": 0, + "unit_boundaries": 8 + }, + "point_count": 150, + "sha256": "fc4daafc06e10e6c754612713c3c036ef79eef3464e758b9b622d43357b619ef", + "summary": { + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 19.923234018447445, + "finite_min": -19.875327752583235, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 150, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 0.001250000199686914, + "finite_min": -1.890732505456516e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 150, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 0.0012470786289709493, + "finite_min": -8.026787273366392e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 150, + "finite_max": 0.008818597945837517, + "finite_min": -1.2438175005659655, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 6.967062789822471e-05, + "finite_min": -0.001250005769845033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 150, + "finite_max": 0.5983365257874117, + "finite_min": -0.6741548770853322, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 1.008398155116538, + "finite_min": -0.28616848831890707, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 150, + "finite_max": 872.9699166641984, + "finite_min": -91.46937775396385, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 150, + "finite_max": 1.0, + "finite_min": 0.0, + "histogram": { + "0": 26, + "1": 124 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 999.9000970640133, + "finite_min": -1018.6965486123255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 3 + ] + }, + "surface::group_0@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@50::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1006155.7835970041, + "finite_min": 1006155.7835970041, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1006155.7835970041 + ] + }, + "surface::group_0@50::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -865.2276114413613, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -865.2276114413613 + ], + [ + 999.9999999999999, + 999.9999999999999, + -829.9794573532907 + ] + ] + }, + "surface::group_0@50::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 433.0, + "finite_min": 433.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 433 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 600, + "finite_max": 2372.9699166641985, + "finite_min": 0.09506923668279654, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 150, + 4 + ] + } + }, + "surface_levels": [ + "-1500", + "1500", + "50" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f1_u1": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 8, + "interior": 128, + "unconformities": 8, + "unit_boundaries": 16 + }, + "point_count": 166, + "sha256": "390fb02020cab3c7ac49a1484a4eddb2c0d27be4eaff64b0d0313c13a27a7c83", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 1.008398155116538, + "finite_min": -0.28616848831890707, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 872.9699166641984, + "finite_min": -91.46937775396385, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 19.923234018447445, + "finite_min": -19.875327752583235, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 0.001250000199686914, + "finite_min": -1.890732505456516e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 0.0012470786289709493, + "finite_min": -8.026787273366392e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 0.008818597945837517, + "finite_min": -1.2438175005659655, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 6.967062789822471e-05, + "finite_min": -0.001250005769845033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 0.5983365257874117, + "finite_min": -0.6741548770853322, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 381, + "finite_max": 1.008398155116538, + "finite_min": -0.10157528484728573, + "nan_count": 117, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 127, + "finite_max": 872.9699166641984, + "finite_min": 100.09721508843674, + "nan_count": 39, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 117, + "finite_max": 0.988250671654896, + "finite_min": -0.16924884227057646, + "nan_count": 381, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 39, + "finite_max": -48.13650838039626, + "finite_min": -255.71260891588832, + "nan_count": 127, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 166, + "finite_max": 3.0, + "finite_min": 0.0, + "histogram": { + "0": 17, + "1": 22, + "2": 69, + "3": 58 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 999.9000970640133, + "finite_min": -1018.6965486123255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1006384.5642593999, + "finite_min": 1006384.5642593999, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1006384.5642593999 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -812.8563730340255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -812.8563730340255 + ], + [ + 999.9999999999999, + 999.9999999999999, + -773.9774051465487 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 428.0, + "finite_min": 428.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 428 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1008733.9514826046, + "finite_min": 1008733.9514826046, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1008733.9514826046 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -404.39169030440485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -404.39169030440485 + ], + [ + 999.9999999999999, + 999.9999999999999, + -365.80346759996917 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 418.0, + "finite_min": 418.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 418 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1010366.3722852953, + "finite_min": 1010366.3722852953, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1010366.3722852953 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -949.5358874923304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -949.5358874923304 + ], + [ + 999.9999999999999, + 999.9999999999999, + -879.8008341538279 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 430.0, + "finite_min": 430.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 430 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 664, + "finite_max": 1755.7126089158883, + "finite_min": 0.09152739186555436, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 664, + "shape": [ + 166, + 8 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f1_u2": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 8, + "interior": 128, + "unconformities": 16, + "unit_boundaries": 16 + }, + "point_count": 174, + "sha256": "fb5a7186c0aae1458c0f17f3d5972a33461f0a61346ec26b04e0c16a7abc1a16", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 1.012026441890157, + "finite_min": -0.28616848831890707, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 872.9699166641984, + "finite_min": -91.46937775396385, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.9893414719474549, + "finite_min": -0.20552998104256304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 688.4711969482694, + "finite_min": -255.71260891588832, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 19.923234018447445, + "finite_min": -19.90267706188965, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.001250000199686914, + "finite_min": -1.890732505456516e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0012470786289709493, + "finite_min": -8.026787273366392e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.008818597945837517, + "finite_min": -1.2438175005659655, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 6.967062789822471e-05, + "finite_min": -0.001250005769845033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.5983365257874117, + "finite_min": -0.6741548770853322, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 405, + "finite_max": 1.008398155116538, + "finite_min": -0.10157528484728573, + "nan_count": 117, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 135, + "finite_max": 872.9699166641984, + "finite_min": 100.09721508843674, + "nan_count": 39, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 522, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 174, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 117, + "finite_max": 0.9511714167260834, + "finite_min": -0.18680140349124486, + "nan_count": 405, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 39, + "finite_max": -184.3521495104167, + "finite_min": -421.91755276579704, + "nan_count": 135, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 174, + "finite_max": 5.0, + "finite_min": 0.0, + "histogram": { + "0": 15, + "1": 24, + "4": 77, + "5": 58 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 999.9000970640133, + "finite_min": -1018.6965486123255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1006384.5642593999, + "finite_min": 1006384.5642593999, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1006384.5642593999 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -812.8563730340255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -812.8563730340255 + ], + [ + 999.9999999999999, + 999.9999999999999, + -773.9774051465487 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 428.0, + "finite_min": 428.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 428 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1008733.9514826046, + "finite_min": 1008733.9514826046, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1008733.9514826046 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -404.39169030440485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -404.39169030440485 + ], + [ + 999.9999999999999, + 999.9999999999999, + -365.80346759996917 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 418.0, + "finite_min": 418.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 418 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1010366.3722852953, + "finite_min": 1010366.3722852953, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1010366.3722852953 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -949.5358874923304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -949.5358874923304 + ], + [ + 999.9999999999999, + 999.9999999999999, + -879.8008341538279 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 430.0, + "finite_min": 430.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 430 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1015207.8587751994, + "finite_min": 1015207.8587751994, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1015207.8587751994 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -986.1119765984384, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -986.1119765984384 + ], + [ + 999.9999999999999, + 999.9999999999999, + -876.2872093602231 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 480.0, + "finite_min": 480.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 480 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 696, + "finite_max": 1921.9175527657972, + "finite_min": 0.09101886946854165, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 1392, + "shape": [ + 174, + 12 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f1_u3": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 8, + "interior": 128, + "unconformities": 24, + "unit_boundaries": 16 + }, + "point_count": 182, + "sha256": "83af25e020f6d4f125f0ab2a472faa1c55ca4657ffea316f2afaadf64b0ad92d", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 1.008398155116538, + "finite_min": -0.28616848831890707, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 872.9699166641984, + "finite_min": -91.46937775396385, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.9893414719474549, + "finite_min": -0.20552998104256304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 688.4711969482694, + "finite_min": -255.71260891588832, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::__group_2_unconformity::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.9762949281116562, + "finite_min": -0.3688749107298577, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::__group_2_unconformity::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 528.9930995993307, + "finite_min": -421.91755276579704, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 19.923234018447445, + "finite_min": -19.875327752583235, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.001250000199686914, + "finite_min": -1.890732505456516e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.6248750467678081, + "finite_min": -0.6248750677219874, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.0012470786289709493, + "finite_min": -8.026787273366392e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.008818597945837517, + "finite_min": -1.2438175005659655, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 6.967062789822471e-05, + "finite_min": -0.001250005769845033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.5983365257874117, + "finite_min": -0.6741548770853322, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 429, + "finite_max": 1.008398155116538, + "finite_min": -0.10157528484728573, + "nan_count": 117, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 143, + "finite_max": 872.9699166641984, + "finite_min": 100.09721508843674, + "nan_count": 39, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 546, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 182, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 546, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 182, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::group_3::gradient": { + "dtype": "float64", + "finite_count": 117, + "finite_max": 0.9710649314652073, + "finite_min": -0.2160732714974074, + "nan_count": 429, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::group_3::value": { + "dtype": "float64", + "finite_count": 39, + "finite_max": -333.8853633861974, + "finite_min": -616.0550184129452, + "nan_count": 143, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 182, + "finite_max": 7.0, + "finite_min": 0.0, + "histogram": { + "0": 16, + "1": 23, + "6": 85, + "7": 58 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 999.9000970640133, + "finite_min": -1018.6965486123255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1006384.5642593999, + "finite_min": 1006384.5642593999, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1006384.5642593999 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -812.8563730340255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -812.8563730340255 + ], + [ + 999.9999999999999, + 999.9999999999999, + -773.9774051465487 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 428.0, + "finite_min": 428.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 428 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1008733.9514826046, + "finite_min": 1008733.9514826046, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1008733.9514826046 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -404.39169030440485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -404.39169030440485 + ], + [ + 999.9999999999999, + 999.9999999999999, + -365.80346759996917 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 418.0, + "finite_min": 418.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 418 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1010366.3722852953, + "finite_min": 1010366.3722852953, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1010366.3722852953 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -949.5358874923304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -949.5358874923304 + ], + [ + 999.9999999999999, + 999.9999999999999, + -879.8008341538279 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 430.0, + "finite_min": 430.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 430 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1015207.8587751994, + "finite_min": 1015207.8587751994, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1015207.8587751994 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -986.1119765984384, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -986.1119765984384 + ], + [ + 999.9999999999999, + 999.9999999999999, + -876.2872093602231 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 480.0, + "finite_min": 480.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 480 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-525::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 956273.2117312988, + "finite_min": 956273.2117312988, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 956273.2117312988 + ] + }, + "surface::group_3@-525::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -1000.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 16.815449062146637, + 0.0, + -1000.0 + ], + [ + 999.9999999999999, + 999.9999999999999, + -847.9230027449759 + ] + ] + }, + "surface::group_3@-525::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 463.0, + "finite_min": 463.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 463 + ] + }, + "surface::group_3@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 728, + "finite_max": 2116.055018412945, + "finite_min": 0.09522516954393723, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 2184, + "shape": [ + 182, + 16 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "-525", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f2_u0": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 16, + "interior": 128, + "unconformities": 0, + "unit_boundaries": 8 + }, + "point_count": 158, + "sha256": "672c1209f72b0db0837f6081da7dec73976aae9bae7c14af27802b5fe0ac5466", + "summary": { + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 19.807596572394356, + "finite_min": -19.782997214754612, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.0012500001542680695, + "finite_min": -1.9837681405334914e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.001248070319924626, + "finite_min": -4.2983083098386003e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.00236302253550252, + "finite_min": -1.244127610679535, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 6.819749814184839e-05, + "finite_min": -0.0012500184106419474, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.598925966294436, + "finite_min": -0.6726298608170861, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 19.78080698056524, + "finite_min": -19.886397672228636, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.30249448521412, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.0009548792485781171, + "finite_min": -1.3175766707616268e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.30249448521412, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": -6.294527158556185e-06, + "finite_min": -0.0012482891810055765, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 1.2479017159499337, + "finite_min": 0.000553498776037234, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.0012755586708857074, + "finite_min": -4.9413903490631156e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.6677979729471567, + "finite_min": -0.6167627432730822, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 377.2345203393552, + "finite_min": -120.63801903263766, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 900.663132726808, + "finite_min": -95.25063655031676, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 158, + "finite_max": 1.0, + "finite_min": 0.0, + "histogram": { + "0": 26, + "1": 132 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "restored::fault_1>fault_0": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1000.4586853510472, + "finite_min": -999.3189203460263, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "surface::group_0@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@50::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1012636.8617282915, + "finite_min": 1012636.8617282915, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1012636.8617282915 + ] + }, + "surface::group_0@50::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -871.2333127071984, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -871.2333127071984 + ], + [ + 999.9999999999999, + 999.9999999999999, + -827.4757862091064 + ] + ] + }, + "surface::group_0@50::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 480.0, + "finite_min": 480.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 480 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 632, + "finite_max": 2400.663132726808, + "finite_min": 0.0954733196069455, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 4 + ] + } + }, + "surface_levels": [ + "-1500", + "1500", + "50" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f2_u1": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 16, + "interior": 128, + "unconformities": 8, + "unit_boundaries": 16 + }, + "point_count": 174, + "sha256": "a67c5a69eb66ff341130757460a9a9f549ab688ea26eae99aa01c05dba274c0b", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 377.2345203393552, + "finite_min": -120.63801903263766, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 900.663132726808, + "finite_min": -95.25063655031676, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 19.807596572394356, + "finite_min": -19.782997214754612, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0012500001542680695, + "finite_min": -1.9837681405334914e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.001248070319924626, + "finite_min": -4.2983083098386003e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.00236302253550252, + "finite_min": -1.244127610679535, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 6.819749814184839e-05, + "finite_min": -0.0012500184106419474, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.598925966294436, + "finite_min": -0.6726298608170861, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 19.78080698056524, + "finite_min": -19.886397672228636, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.30249448521412, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0009548792485781171, + "finite_min": -1.3175766707616268e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.30249448521412, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": -6.294527158556185e-06, + "finite_min": -0.0012482891810055765, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 1.2479017159499337, + "finite_min": 0.000553498776037234, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0012755586708857074, + "finite_min": -4.9850487639425956e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.6677979729471567, + "finite_min": -0.6167627432730822, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 402, + "finite_max": 377.2345203393552, + "finite_min": -120.63801903263766, + "nan_count": 120, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 134, + "finite_max": 900.663132726808, + "finite_min": 100.09111686050993, + "nan_count": 40, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 120, + "finite_max": 1.048578937918137, + "finite_min": -0.15009995440635748, + "nan_count": 402, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 40, + "finite_max": -54.94565419636193, + "finite_min": -278.6737807065995, + "nan_count": 134, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 174, + "finite_max": 3.0, + "finite_min": 0.0, + "histogram": { + "0": 17, + "1": 23, + "2": 76, + "3": 58 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "restored::fault_1>fault_0": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 1000.4586853510472, + "finite_min": -999.3189203460263, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1012877.4032021395, + "finite_min": 1012877.4032021395, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1012877.4032021395 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -817.3906928614566, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -817.3906928614566 + ], + [ + 999.9999999999999, + 999.9999999999999, + -774.9996185302734 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 477.0, + "finite_min": 477.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 477 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1017524.7132007653, + "finite_min": 1017524.7132007653, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1017524.7132007653 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -410.31511206375933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -410.31511206375933 + ], + [ + 999.9999999999999, + 999.9999999999999, + -367.57584622031766 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 414.0, + "finite_min": 414.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 414 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1017092.6544174887, + "finite_min": 1017092.6544174887, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1017092.6544174887 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -935.9134435653687, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -935.9134435653687 + ], + [ + 999.9999999999999, + 999.9999999999999, + -873.6030553516589 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 420.0, + "finite_min": 420.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 420 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 696, + "finite_max": 1778.6737807065995, + "finite_min": 0.09111686050992773, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 696, + "shape": [ + 174, + 8 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f2_u2": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 16, + "interior": 128, + "unconformities": 16, + "unit_boundaries": 16 + }, + "point_count": 182, + "sha256": "9cd8b7fbd44f75c502f80be572a398716cacebaa8959d855e4afca75479bf18c", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 377.2345203393552, + "finite_min": -120.63801903263766, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 900.663132726808, + "finite_min": -95.25063655031676, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 386.02828342639464, + "finite_min": -119.74946717915066, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 746.7616462134608, + "finite_min": -278.6737807065995, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 19.807596572394356, + "finite_min": -19.782997214754612, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.0012500001542680695, + "finite_min": -1.9837681405334914e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.001248070319924626, + "finite_min": -4.2983083098386003e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.00236302253550252, + "finite_min": -1.244127610679535, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 6.819749814184839e-05, + "finite_min": -0.0012500184106419474, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.598925966294436, + "finite_min": -0.6726298608170861, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 19.78080698056524, + "finite_min": -19.886397672228636, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.30249448521412, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.0009548792485781171, + "finite_min": -1.3175766707616268e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.30249448521412, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": -6.294527158556185e-06, + "finite_min": -0.0012482891810055765, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 1.2479017159499337, + "finite_min": 0.000553498776037234, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 0.0012755586708857074, + "finite_min": -4.941715344575063e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 182, + "finite_max": 0.6677979729471567, + "finite_min": -0.6167627432730822, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 426, + "finite_max": 377.2345203393552, + "finite_min": -120.63801903263766, + "nan_count": 120, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 142, + "finite_max": 900.663132726808, + "finite_min": 100.09111686050993, + "nan_count": 40, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 546, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 182, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 120, + "finite_max": 0.9656801691025976, + "finite_min": -0.13298547495264756, + "nan_count": 426, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 40, + "finite_max": -203.88428862937113, + "finite_min": -455.7446902687735, + "nan_count": 142, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 182, + "finite_max": 5.0, + "finite_min": 0.0, + "histogram": { + "0": 17, + "1": 23, + "4": 84, + "5": 58 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "restored::fault_1>fault_0": { + "dtype": "float64", + "finite_count": 546, + "finite_max": 1000.4586853510472, + "finite_min": -999.3189203460263, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 182, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1012877.4032021395, + "finite_min": 1012877.4032021395, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1012877.4032021395 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -817.3906928614566, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -817.3906928614566 + ], + [ + 999.9999999999999, + 999.9999999999999, + -774.9996185302734 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 477.0, + "finite_min": 477.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 477 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1017524.7132007653, + "finite_min": 1017524.7132007653, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1017524.7132007653 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -410.31511206375933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -410.31511206375933 + ], + [ + 999.9999999999999, + 999.9999999999999, + -367.57584622031766 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 414.0, + "finite_min": 414.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 414 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1017092.6544174887, + "finite_min": 1017092.6544174887, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1017092.6544174887 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -935.9134435653687, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -935.9134435653687 + ], + [ + 999.9999999999999, + 999.9999999999999, + -873.6030553516589 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 420.0, + "finite_min": 420.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 420 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1022842.3499977055, + "finite_min": 1022842.3499977055, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1022842.3499977055 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -978.5038687680897, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -978.5038687680897 + ], + [ + 999.9999999999999, + 999.9999999999999, + -860.5526873939916 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 485.0, + "finite_min": 485.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 485 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 728, + "finite_max": 1955.7446902687734, + "finite_min": 0.09111686050992773, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 1456, + "shape": [ + 182, + 12 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f2_u3": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 16, + "interior": 128, + "unconformities": 24, + "unit_boundaries": 16 + }, + "point_count": 190, + "sha256": "ff1a82c71cd01662ed09be667ebbada7bc2c7586eee993ab750a26ef935203b4", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 377.2345203393552, + "finite_min": -120.63801903263766, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 900.663132726808, + "finite_min": -95.25063655031676, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 386.02828342639464, + "finite_min": -119.74946717915066, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 746.7616462134608, + "finite_min": -278.6737807065995, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::__group_2_unconformity::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 353.7392264781969, + "finite_min": -117.83160484188909, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::__group_2_unconformity::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 549.9801137016726, + "finite_min": -455.7446902687735, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 19.807596572394356, + "finite_min": -19.782997214754612, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0012500001542680695, + "finite_min": -1.9837681405334914e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.843625027248344, + "finite_min": -0.4061250046644082, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.001248070319924626, + "finite_min": -4.2983083098386003e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.00236302253550252, + "finite_min": -1.244127610679535, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 6.819749814184839e-05, + "finite_min": -0.0012500184106419474, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.598925966294436, + "finite_min": -0.6726298608170861, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 19.78080698056524, + "finite_min": -19.886397672228636, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.30286778964506966, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0009548792485781171, + "finite_min": -1.9717486242514068e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.30286778964506966, + "finite_min": -0.6312922558386664, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": -6.294527158556185e-06, + "finite_min": -0.0012482891810055765, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 1.2479017159499337, + "finite_min": 0.000553498776037234, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0012755586708857074, + "finite_min": -4.941715344575063e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.6677979729471567, + "finite_min": -0.6167627432730822, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 450, + "finite_max": 377.2345203393552, + "finite_min": -120.63801903263766, + "nan_count": 120, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 150, + "finite_max": 900.663132726808, + "finite_min": 100.09111686050993, + "nan_count": 40, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 570, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 190, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 570, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 190, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::group_3::gradient": { + "dtype": "float64", + "finite_count": 120, + "finite_max": 0.9701639057711873, + "finite_min": -0.17244671909793396, + "nan_count": 450, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::group_3::value": { + "dtype": "float64", + "finite_count": 40, + "finite_max": -352.0735016758166, + "finite_min": -645.4095910697521, + "nan_count": 150, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 190, + "finite_max": 7.0, + "finite_min": 0.0, + "histogram": { + "0": 17, + "1": 23, + "6": 92, + "7": 58 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "restored::fault_1>fault_0": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 1000.4586853510472, + "finite_min": -999.3189203460263, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1012877.4032021395, + "finite_min": 1012877.4032021395, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1012877.4032021395 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -817.3906928614566, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -817.3906928614566 + ], + [ + 999.9999999999999, + 999.9999999999999, + -774.9996185302734 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 477.0, + "finite_min": 477.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 477 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1017524.7132007653, + "finite_min": 1017524.7132007653, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1017524.7132007653 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -410.31511206375933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -410.31511206375933 + ], + [ + 999.9999999999999, + 999.9999999999999, + -367.57584622031766 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 414.0, + "finite_min": 414.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 414 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1017092.6544174887, + "finite_min": 1017092.6544174887, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1017092.6544174887 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -935.9134435653687, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -935.9134435653687 + ], + [ + 999.9999999999999, + 999.9999999999999, + -873.6030553516589 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 420.0, + "finite_min": 420.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 420 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1022842.3499977055, + "finite_min": 1022842.3499977055, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1022842.3499977055 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -978.5038687680897, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -978.5038687680897 + ], + [ + 999.9999999999999, + 999.9999999999999, + -860.5526873939916 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 485.0, + "finite_min": 485.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 485 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-525::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1013729.37355655, + "finite_min": 1013729.37355655, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1013729.37355655 + ] + }, + "surface::group_3@-525::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -1000.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -1000.0 + ], + [ + 999.9999999999999, + 999.9999999999999, + -842.1052631578948 + ] + ] + }, + "surface::group_3@-525::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 487.0, + "finite_min": 487.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 487 + ] + }, + "surface::group_3@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 760, + "finite_max": 2145.409591069752, + "finite_min": 0.09111686050992773, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 2280, + "shape": [ + 190, + 16 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "-525", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f4_u0": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 32, + "interior": 128, + "unconformities": 0, + "unit_boundaries": 8 + }, + "point_count": 174, + "sha256": "7e924dd9ff4ee9381fb261bd71be5eb02fe779779c964cc61f81fabe385ccdae", + "summary": { + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 19.7950396879905, + "finite_min": -19.737046951779238, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0012500002001728325, + "finite_min": -2.2418565398182877e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0012477068162327226, + "finite_min": -6.978891162404053e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.0025063489832005664, + "finite_min": -1.2439223921436202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 6.933692790606159e-05, + "finite_min": -0.0012500223890381638, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.598469772562286, + "finite_min": -0.6737982324499283, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 19.962880553390104, + "finite_min": -19.96240718643504, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.5560161533371019, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0009607949321206, + "finite_min": -2.176013527958244e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.5560161533371019, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": -8.325007114298814e-06, + "finite_min": -0.0012481916039844892, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 1.2450703192581725, + "finite_min": -0.0017937713847725276, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0012755117858604856, + "finite_min": -5.558746813358242e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.6723423832745664, + "finite_min": -0.6157932297275641, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 19.99523466520359, + "finite_min": -19.995234540851378, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_2__0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0006431554622010631, + "finite_min": -1.2357668238548904e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_2__0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_2__1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 8.068545500694388e-06, + "finite_min": -0.0012449192934669718, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_2__1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 1.2418112634263634, + "finite_min": 0.0004017656824572627, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_2__2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0013450740288079408, + "finite_min": -2.523493662623982e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_2__2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.6729589757482639, + "finite_min": -0.6669481774126238, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_3::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 19.88838881189151, + "finite_min": -19.898003779271658, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_3::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_3__0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.0005277846139047446, + "finite_min": -1.2932723035165022e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_3__0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_3__1::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 2.0379417858961668e-05, + "finite_min": -0.0012176977111693875, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_3__1::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 1.2087997227056204, + "finite_min": -0.003939563628338499, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::fault_3__2::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 0.001444627609565042, + "finite_min": -4.8605476660812505e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::fault_3__2::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 0.7372222837317406, + "finite_min": -0.6973201577419942, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 239.40810647854585, + "finite_min": -201.46542262270304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 174, + "finite_max": 870.9748206330408, + "finite_min": -89.96992270707277, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 174, + "finite_max": 1.0, + "finite_min": 0.0, + "histogram": { + "0": 34, + "1": 140 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "restored::fault_3>fault_2>fault_1>fault_0": { + "dtype": "float64", + "finite_count": 522, + "finite_max": 1000.0626076621389, + "finite_min": -1020.9857240739075, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 3 + ] + }, + "surface::group_0@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@50::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1024198.4028928849, + "finite_min": 1024198.4028928849, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1024198.4028928849 + ] + }, + "surface::group_0@50::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -871.6164890088533, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -871.6164890088533 + ], + [ + 999.9999999999999, + 999.9999999999999, + -822.8408537412945 + ] + ] + }, + "surface::group_0@50::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 511.0, + "finite_min": 511.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 511 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 696, + "finite_max": 2370.974820633041, + "finite_min": 0.08996345246382731, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 174, + 4 + ] + } + }, + "surface_levels": [ + "-1500", + "1500", + "50" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f4_u1": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 32, + "interior": 128, + "unconformities": 8, + "unit_boundaries": 16 + }, + "point_count": 190, + "sha256": "96319aed08fc1fa5f5357a38f63069b88cd1f4fffdbea2592841cc69b91603a2", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 239.40810647854585, + "finite_min": -201.46542262270304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 870.9748206330408, + "finite_min": -89.96992270707277, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 19.7950396879905, + "finite_min": -19.737046951779238, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0012500002001728325, + "finite_min": -2.2418565398182877e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0012477068162327226, + "finite_min": -6.978891162404053e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.0025063489832005664, + "finite_min": -1.2439223921436202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 6.933692790606159e-05, + "finite_min": -0.0012500223890381638, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.598469772562286, + "finite_min": -0.6737982324499283, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 19.96239960346751, + "finite_min": -19.96240718643504, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.5571246161134378, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0009607949321206, + "finite_min": -2.176013527958244e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.5571246161134378, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": -8.325007114298814e-06, + "finite_min": -0.0012481916039844892, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 1.2450703192581725, + "finite_min": -0.0017937713847725276, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0012755117858604856, + "finite_min": -5.564916220197544e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.6723423832745664, + "finite_min": -0.6157932297275641, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 19.99523466520359, + "finite_min": -19.995234540851378, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_2__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0006431554622010631, + "finite_min": -1.2357668238548904e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_2__0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_2__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 8.068545500694388e-06, + "finite_min": -0.0012449192934669718, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_2__1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 1.2418112634263634, + "finite_min": 0.0004017656824572627, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_2__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0013450740288079408, + "finite_min": -2.523493662623982e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_2__2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.6729589757482639, + "finite_min": -0.6669481774126238, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_3::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 19.88838881189151, + "finite_min": -19.898003779271658, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_3::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_3__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0005277846139047446, + "finite_min": -1.2932723035165022e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_3__0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_3__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 2.0379417858961668e-05, + "finite_min": -0.0012176977111693875, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_3__1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 1.2087997227056204, + "finite_min": -0.003939563628338499, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::fault_3__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.001444627609565042, + "finite_min": -4.8605476660812505e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::fault_3__2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.7372222837317406, + "finite_min": -0.6973201577419942, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 423, + "finite_max": 208.19454478825423, + "finite_min": -201.46542262270304, + "nan_count": 147, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 141, + "finite_max": 870.9748206330408, + "finite_min": 100.0936277716686, + "nan_count": 49, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 147, + "finite_max": 255.57307349949815, + "finite_min": -0.08395739349134601, + "nan_count": 423, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 49, + "finite_max": -45.05346497161493, + "finite_min": -271.91759759731485, + "nan_count": 141, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 190, + "finite_max": 3.0, + "finite_min": 0.0, + "histogram": { + "0": 23, + "1": 26, + "2": 84, + "3": 57 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "restored::fault_3>fault_2>fault_1>fault_0": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 1000.0626076621389, + "finite_min": -1020.9857240739075, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1025615.3420560494, + "finite_min": 1025615.3420560494, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1025615.3420560494 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -818.0506731334485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -818.0506731334485 + ], + [ + 999.9999999999999, + 999.9999999999999, + -767.9800485309802 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 529.0, + "finite_min": 529.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 529 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1032141.2282488041, + "finite_min": 1032141.2282488041, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1032141.2282488041 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -397.3719446282638, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -397.3719446282638 + ], + [ + 999.9999999999999, + 999.9999999999999, + -320.3760950188888 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 471.0, + "finite_min": 471.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 471 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1030983.3088109936, + "finite_min": 1030983.3088109936, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1030983.3088109936 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -966.5698126742715, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -966.5698126742715 + ], + [ + 999.9999999999999, + 999.9999999999999, + -871.6693426433362 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 458.0, + "finite_min": 458.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 458 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 760, + "finite_max": 1771.9175975973149, + "finite_min": 0.08822465990292017, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 760, + "shape": [ + 190, + 8 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f4_u2": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 32, + "interior": 128, + "unconformities": 16, + "unit_boundaries": 16 + }, + "point_count": 198, + "sha256": "ed11437c10d05700a75497c0207b57b059ffb6a3662f363dca8f19cc1d5a174e", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 239.40810647854585, + "finite_min": -201.46542262270304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 870.9748206330408, + "finite_min": -89.96992270707277, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 255.57307349949815, + "finite_min": -210.83126233726745, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 731.1716524645997, + "finite_min": -271.91759759731485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 19.7950396879905, + "finite_min": -19.83916034391289, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.0012500002001728325, + "finite_min": -2.2418565398182877e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.0012477068162327226, + "finite_min": -6.978891162404053e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.0025063489832005664, + "finite_min": -1.2439223921436202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 6.933692790606159e-05, + "finite_min": -0.0012500223890381638, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.598469772562286, + "finite_min": -0.6809662696094225, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 19.96239960346751, + "finite_min": -19.96240718643504, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.5571246161134378, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.0009607949321206, + "finite_min": -2.176013527958244e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.5571246161134378, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": -8.325007114298814e-06, + "finite_min": -0.0012481916039844892, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 1.2450703192581725, + "finite_min": -0.0017937713847725276, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.0012755117858604856, + "finite_min": -5.564916220197544e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.6791062817134694, + "finite_min": -0.6157932297275641, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_2::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 19.99523466520359, + "finite_min": -19.995234540851378, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_2::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_2__0::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.0006431554622010631, + "finite_min": -1.2357668238548904e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_2__0::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_2__1::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 8.068545500694388e-06, + "finite_min": -0.0012450592334799868, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_2__1::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 1.2418112634263634, + "finite_min": 0.0004017656824572627, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_2__2::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.0013456005011750246, + "finite_min": -2.523493662623982e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_2__2::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.6729589757482639, + "finite_min": -0.6669481774126238, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_3::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 19.88838881189151, + "finite_min": -19.898003779271658, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_3::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_3__0::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.0005277846139047446, + "finite_min": -1.2932723035165022e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_3__0::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_3__1::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 2.2053915990445427e-05, + "finite_min": -0.0012176977111693875, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_3__1::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 1.2087997227056204, + "finite_min": -0.003939563628338499, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::fault_3__2::gradient": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 0.001444627609565042, + "finite_min": -4.8605476660812505e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::fault_3__2::value": { + "dtype": "float64", + "finite_count": 198, + "finite_max": 0.7372222837317406, + "finite_min": -0.6973201577419942, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 447, + "finite_max": 208.19454478825423, + "finite_min": -201.46542262270304, + "nan_count": 147, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 149, + "finite_max": 870.9748206330408, + "finite_min": 100.0936277716686, + "nan_count": 49, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 594, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 198, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 147, + "finite_max": 256.9808547296634, + "finite_min": -0.11263999294305904, + "nan_count": 447, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 49, + "finite_max": -185.2912822157317, + "finite_min": -463.5276028233975, + "nan_count": 149, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 198, + "finite_max": 5.0, + "finite_min": 0.0, + "histogram": { + "0": 17, + "1": 32, + "4": 92, + "5": 57 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "restored::fault_3>fault_2>fault_1>fault_0": { + "dtype": "float64", + "finite_count": 594, + "finite_max": 1000.0626076621389, + "finite_min": -1020.9857240739075, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 198, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1025615.3420560494, + "finite_min": 1025615.3420560494, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1025615.3420560494 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -818.0506731334485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -818.0506731334485 + ], + [ + 999.9999999999999, + 999.9999999999999, + -767.9800485309802 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 529.0, + "finite_min": 529.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 529 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1032141.2282488041, + "finite_min": 1032141.2282488041, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1032141.2282488041 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -397.3719446282638, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -397.3719446282638 + ], + [ + 999.9999999999999, + 999.9999999999999, + -320.3760950188888 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 471.0, + "finite_min": 471.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 471 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1030983.3088109936, + "finite_min": 1030983.3088109936, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1030983.3088109936 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -966.5698126742715, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -966.5698126742715 + ], + [ + 999.9999999999999, + 999.9999999999999, + -871.6693426433362 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 458.0, + "finite_min": 458.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 458 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1037228.7995965012, + "finite_min": 1037228.7995965012, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1037228.7995965012 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -1000.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -1000.0 + ], + [ + 999.9999999999999, + 999.9999999999999, + -859.3344060998214 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 453.0, + "finite_min": 453.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 453 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 792, + "finite_max": 1963.5276028233975, + "finite_min": 0.08847098518418761, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 1584, + "shape": [ + 198, + 12 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "f4_u3": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 32, + "interior": 128, + "unconformities": 24, + "unit_boundaries": 16 + }, + "point_count": 206, + "sha256": "2499838dca60818647c7e9b7ba2e49f6af5a50785dab9ea47b4f77518896ca94", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 239.40810647854585, + "finite_min": -201.46542262270304, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 870.9748206330408, + "finite_min": -89.96992270707277, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::__group_1_unconformity::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 255.57307349949815, + "finite_min": -210.83126233726745, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::__group_1_unconformity::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 731.1716524645997, + "finite_min": -271.91759759731485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::__group_2_unconformity::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 256.9808547296634, + "finite_min": -205.9893123670522, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::__group_2_unconformity::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 573.6896972841777, + "finite_min": -463.5276028233975, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 19.7950396879905, + "finite_min": -19.83916034391289, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.0012500002001728325, + "finite_min": -2.2418565398182877e-10, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.9530000127902007, + "finite_min": -0.29675002014683816, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.0012477068162327226, + "finite_min": -6.978891162404053e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.0025063489832005664, + "finite_min": -1.2439223921436202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 6.933692790606159e-05, + "finite_min": -0.0012500223890381638, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.598469772562286, + "finite_min": -0.6737982324499283, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_1::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 19.96239960346751, + "finite_min": -19.96240718643504, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_1::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.5571246161134378, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_1__0::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.0009607949321206, + "finite_min": -2.176013527958244e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_1__0::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.5571246161134378, + "finite_min": -0.39267411299860033, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_1__1::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": -8.325007114298814e-06, + "finite_min": -0.0012481916039844892, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_1__1::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 1.2450703192581725, + "finite_min": -0.0017937713847725276, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_1__2::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.0012755117858604856, + "finite_min": -5.564916220197544e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_1__2::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.6723423832745664, + "finite_min": -0.6157932297275641, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_2::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 19.99523466520359, + "finite_min": -19.995234540851378, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_2::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_2__0::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.0006431554622010631, + "finite_min": -1.2357668238548904e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_2__0::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.25436078568076237, + "finite_min": -0.3619903629058093, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_2__1::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 8.068545500694388e-06, + "finite_min": -0.0012449192934669718, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_2__1::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 1.2418112634263634, + "finite_min": 0.0004017656824572627, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_2__2::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.0013450740288079408, + "finite_min": -2.523493662623982e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_2__2::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.6729589757482639, + "finite_min": -0.6669481774126238, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_3::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 19.88838881189151, + "finite_min": -19.898003779271658, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_3::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_3__0::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.0005277846139047446, + "finite_min": -1.2932723035165022e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_3__0::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.11902738082600506, + "finite_min": -0.38377258626387933, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_3__1::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 2.0379417858961668e-05, + "finite_min": -0.0012176977111693875, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_3__1::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 1.2087997227056204, + "finite_min": -0.003939563628338499, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::fault_3__2::gradient": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 0.001444627609565042, + "finite_min": -4.8605476660812505e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::fault_3__2::value": { + "dtype": "float64", + "finite_count": 206, + "finite_max": 0.7372222837317406, + "finite_min": -0.6973201577419942, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 471, + "finite_max": 208.19454478825423, + "finite_min": -201.46542262270304, + "nan_count": 147, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 157, + "finite_max": 870.9748206330408, + "finite_min": 100.0936277716686, + "nan_count": 49, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 618, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 206, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::group_2::gradient": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 618, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::group_2::value": { + "dtype": "float64", + "finite_count": 0, + "finite_max": null, + "finite_min": null, + "nan_count": 206, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "feature::group_3::gradient": { + "dtype": "float64", + "finite_count": 147, + "finite_max": 256.48919042391617, + "finite_min": -0.15509116979319515, + "nan_count": 471, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "feature::group_3::value": { + "dtype": "float64", + "finite_count": 49, + "finite_max": -326.5834259929398, + "finite_min": -643.573984193243, + "nan_count": 157, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 206, + "finite_max": 7.0, + "finite_min": 0.0, + "histogram": { + "0": 17, + "1": 32, + "6": 100, + "7": 57 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "restored::fault_3>fault_2>fault_1>fault_0": { + "dtype": "float64", + "finite_count": 618, + "finite_max": 1000.0626076621389, + "finite_min": -1020.9857240739075, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 206, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1025615.3420560494, + "finite_min": 1025615.3420560494, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1025615.3420560494 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -818.0506731334485, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -818.0506731334485 + ], + [ + 999.9999999999999, + 999.9999999999999, + -767.9800485309802 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 529.0, + "finite_min": 529.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 529 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1032141.2282488041, + "finite_min": 1032141.2282488041, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1032141.2282488041 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -397.3719446282638, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -397.3719446282638 + ], + [ + 999.9999999999999, + 999.9999999999999, + -320.3760950188888 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 471.0, + "finite_min": 471.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 471 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1030983.3088109936, + "finite_min": 1030983.3088109936, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1030983.3088109936 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -966.5698126742715, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -966.5698126742715 + ], + [ + 999.9999999999999, + 999.9999999999999, + -871.6693426433362 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 458.0, + "finite_min": 458.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 458 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_2@-350::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1037228.7995965012, + "finite_min": 1037228.7995965012, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1037228.7995965012 + ] + }, + "surface::group_2@-350::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -1000.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -1000.0 + ], + [ + 999.9999999999999, + 999.9999999999999, + -859.3344060998214 + ] + ] + }, + "surface::group_2@-350::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 453.0, + "finite_min": 453.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 453 + ] + }, + "surface::group_2@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_2@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_2@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_3@-525::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 784632.0273530926, + "finite_min": 784632.0273530926, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 784632.0273530926 + ] + }, + "surface::group_3@-525::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -1000.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 56.26849124306126, + 0.0, + -1000.0 + ], + [ + 999.9999999999999, + 999.9999999999999, + -845.9109632592452 + ] + ] + }, + "surface::group_3@-525::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 406.0, + "finite_min": 406.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 406 + ] + }, + "surface::group_3@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_3@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_3@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 824, + "finite_max": 2143.5739841932427, + "finite_min": 0.08847098518418761, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 2472, + "shape": [ + 206, + 16 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "-350", + "-525", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "faulted_fold": { + "box_size": 10000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 8, + "interior": 128, + "unconformities": 0, + "unit_boundaries": 16 + }, + "point_count": 158, + "sha256": "b17443c7417671c6b0f07809e38e5b1e8f40d7474e0f3b6aff09da1def4f235a", + "summary": { + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 19.946832901745623, + "finite_min": -19.988245457305496, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.9723996642073702, + "finite_min": -1.0271992788795115, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.00020000180860949636, + "finite_min": -1.7450824411815308e-09, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.9723996642073702, + "finite_min": -1.0271992788795115, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.00019999637990383132, + "finite_min": -1.821794336996839e-08, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.5002096193402051, + "finite_min": -0.49933408154430353, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1.7342632846353932e-06, + "finite_min": -0.00020000286001184468, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.7008311123340766, + "finite_min": -0.6987720521972143, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fold_frame::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1.0000000433274483, + "finite_min": -7.955635705769737e-08, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fold_frame::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 4999.123887463734, + "finite_min": -4998.876072352666, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fold_frame__0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1.0000003088046014, + "finite_min": -2.3121295384953555e-06, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fold_frame__0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 4999.123887463734, + "finite_min": -4998.876072352666, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fold_frame__1::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 5.15124144726542e-05, + "finite_min": -1.0000571366442728, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fold_frame__1::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 3492.4806375918774, + "finite_min": -3505.546865290069, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::fold_frame__2::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 2.0749511230231603e-06, + "finite_min": -1.0000571106786371, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::fold_frame__2::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::folded_unit::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 0.03729319925663965, + "finite_min": -0.048496484213025326, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::folded_unit::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 139.49708076269968, + "finite_min": -148.31848055853436, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 1.0011378872389969, + "finite_min": -0.07877087275705463, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 4288.476084905579, + "finite_min": -831.4570598794247, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 158, + "finite_max": 1.0, + "finite_min": -1.0, + "histogram": { + "-1": 84, + "0": 27, + "1": 47 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 9999.0, + "finite_min": 1.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 9999.00000038166, + "finite_min": 0.9598121613186201, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 3 + ] + }, + "surface::group_0@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 70092406.43237922, + "finite_min": 70092406.43237922, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 70092406.43237922 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 10000.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 7007.611174332468 + ], + [ + 10000.0, + 7000.0, + 7507.271264728746 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 440.0, + "finite_min": 440.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 440 + ] + }, + "surface::group_0@50::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 70091728.15105876, + "finite_min": 70091728.15105876, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 70091728.15105876 + ] + }, + "surface::group_0@50::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 10000.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 5550.3398493716595 + ], + [ + 10000.0, + 7000.0, + 6049.9421546333715 + ] + ] + }, + "surface::group_0@50::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 432.0, + "finite_min": 432.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 432 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 632, + "finite_max": 5788.476084905579, + "finite_min": 0.9889477564797318, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 158, + 4 + ] + } + }, + "surface_levels": [ + "-1500", + "1500", + "50" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "onlap_domain": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 8, + "interior": 128, + "unconformities": 8, + "unit_boundaries": 16 + }, + "point_count": 166, + "sha256": "e12e0ef68c36c85b7519d230b6f61557844d1f55e9ac90df9473a1b5b53d5298", + "summary": { + "feature::__group_0_unconformity_inverse::gradient": { + "dtype": "float64", + "finite_count": 201, + "finite_max": 1.001696233230632, + "finite_min": -0.28671210307092565, + "nan_count": 297, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::__group_0_unconformity_inverse::value": { + "dtype": "float64", + "finite_count": 67, + "finite_max": 199.91853220846264, + "finite_min": -98.15174964485227, + "nan_count": 99, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::domain_surface::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 1.000000051346444, + "finite_min": -0.12000010958115137, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::domain_surface::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 761.5946730173637, + "finite_min": -284.6787096846051, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 201, + "finite_max": 19.437766083484142, + "finite_min": -18.79655057365594, + "nan_count": 297, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 67, + "finite_max": 0.6201765424142415, + "finite_min": -0.5675160471398194, + "nan_count": 99, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 201, + "finite_max": 0.0012500001387890658, + "finite_min": -1.7747941744722384e-10, + "nan_count": 297, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 67, + "finite_max": 0.6201765424142415, + "finite_min": -0.5675160471398194, + "nan_count": 99, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 201, + "finite_max": 0.0012468839448855152, + "finite_min": -1.196876797798503e-08, + "nan_count": 297, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 67, + "finite_max": -0.8668708920175031, + "finite_min": -1.273020654343476, + "nan_count": 99, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 201, + "finite_max": 6.967062789822471e-05, + "finite_min": -0.001250005769845033, + "nan_count": 297, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 67, + "finite_max": 0.5554466800239247, + "finite_min": -0.6741548770853322, + "nan_count": 99, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 159, + "finite_max": 0.9982908491367652, + "finite_min": -0.28671210307092565, + "nan_count": 339, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 53, + "finite_max": 99.90345049181772, + "finite_min": -98.15174964485227, + "nan_count": 113, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 159, + "finite_max": 1.0414998135051974, + "finite_min": -0.1529826804072627, + "nan_count": 339, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 53, + "finite_max": -58.631503919873914, + "finite_min": -277.664454826759, + "nan_count": 113, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 166, + "finite_max": 3.0, + "finite_min": -1.0, + "histogram": { + "-1": 113, + "2": 40, + "3": 13 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 999.9, + "finite_min": -1018.6965486123255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "surface::group_0@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@50::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1005840.2752129557, + "finite_min": 1005840.2752129557, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1005840.2752129557 + ] + }, + "surface::group_0@50::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -867.1120593422338, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -867.1120593422338 + ], + [ + 999.9999999999999, + 999.9999999999999, + -834.0776217611212 + ] + ] + }, + "surface::group_0@50::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 428.0, + "finite_min": 428.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 428 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1010931.7621657316, + "finite_min": 1010931.7621657316, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1010931.7621657316 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -932.0761090830753, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -932.0761090830753 + ], + [ + 999.9999999999999, + 999.9999999999999, + -869.1551183399401 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 458.0, + "finite_min": 458.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 458 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 424, + "finite_max": 1777.664454826759, + "finite_min": 0.05893089403966911, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 904, + "shape": [ + 166, + 8 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "1500", + "50" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "plugin": { + "box_size": 29656.820000000007, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 48, + "interior": 128, + "unconformities": 8, + "unit_boundaries": 0 + }, + "point_count": 190, + "sha256": "e0e6f5e543de07e5e194851a765d61e94e310574490ba143ae1b34dd00a716c6", + "summary": { + "feature::12647::gradient": { + "dtype": "float64", + "finite_count": 411, + "finite_max": 388.33261095467583, + "finite_min": -356.0551951408504, + "nan_count": 159, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12647::value": { + "dtype": "float64", + "finite_count": 137, + "finite_max": 0.3967843292767015, + "finite_min": -0.08716005096788546, + "nan_count": 53, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::12647__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 1.5353878135569675e-05, + "finite_min": -1.2396278279893965e-06, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12647__0::value": { + "dtype": "float64", + "finite_count": 137, + "finite_max": 0.3967843292767015, + "finite_min": -0.08716005096788546, + "nan_count": 53, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::12647__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 1.6939771091758035e-06, + "finite_min": -2.1069347122841802e-06, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12647__1::value": { + "dtype": "float64", + "finite_count": 137, + "finite_max": 0.02777730339907479, + "finite_min": -0.030467182954740133, + "nan_count": 53, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::12647__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12647__2::value": { + "dtype": "float64", + "finite_count": 137, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 53, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::12658::gradient": { + "dtype": "float64", + "finite_count": 141, + "finite_max": 494.47286825316866, + "finite_min": -492.8606370620058, + "nan_count": 429, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12658::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": 0.0024256097842749657, + "finite_min": -0.13635461026218335, + "nan_count": 143, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::12658__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 1.1618240852180898e-05, + "finite_min": -2.008601519064983e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12658__0::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": 0.0024256097842749657, + "finite_min": -0.13635461026218335, + "nan_count": 143, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::12658__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 4.019191656435659e-06, + "finite_min": -4.845394327735831e-06, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12658__1::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": 0.02263899334074119, + "finite_min": -0.008399038274049472, + "nan_count": 143, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::12658__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::12658__2::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 143, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::2997::gradient": { + "dtype": "float64", + "finite_count": 396, + "finite_max": 384.9048576946436, + "finite_min": -383.92303438429036, + "nan_count": 174, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::2997::value": { + "dtype": "float64", + "finite_count": 132, + "finite_max": 0.17314643574321337, + "finite_min": -0.12292207097686067, + "nan_count": 58, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::2997__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 9.728582189288656e-06, + "finite_min": -9.740611042366484e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::2997__0::value": { + "dtype": "float64", + "finite_count": 132, + "finite_max": 0.17314643574321337, + "finite_min": -0.12292207097686067, + "nan_count": 58, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::2997__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 8.648652002842786e-06, + "finite_min": -7.36426713216687e-06, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::2997__1::value": { + "dtype": "float64", + "finite_count": 132, + "finite_max": 0.08092293546658316, + "finite_min": -0.22657177069135725, + "nan_count": 58, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::2997__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::2997__2::value": { + "dtype": "float64", + "finite_count": 132, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 58, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3496::gradient": { + "dtype": "float64", + "finite_count": 456, + "finite_max": 478.540109327633, + "finite_min": -478.17448601214954, + "nan_count": 114, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3496::value": { + "dtype": "float64", + "finite_count": 152, + "finite_max": 0.07417071108445997, + "finite_min": -0.02047962543554975, + "nan_count": 38, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3496__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 3.2575622201683517e-06, + "finite_min": -1.2484922761230717e-06, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3496__0::value": { + "dtype": "float64", + "finite_count": 152, + "finite_max": 0.07417071108445997, + "finite_min": -0.02047962543554975, + "nan_count": 38, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3496__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 5.825293481464078e-06, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3496__1::value": { + "dtype": "float64", + "finite_count": 152, + "finite_max": 0.04335507396685185, + "finite_min": -0.04171182493740673, + "nan_count": 38, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3496__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3496__2::value": { + "dtype": "float64", + "finite_count": 152, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 38, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3498::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 445.7866022859783, + "finite_min": -423.8657789982299, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3498::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.6882017610592368, + "finite_min": -0.5818884181113346, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3498__0::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 3.177233956114621e-05, + "finite_min": -9.229161499464451e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3498__0::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.6882017610592368, + "finite_min": -0.5818884181113346, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3498__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 1.4918484368276291e-06, + "finite_min": -9.224918286503736e-07, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3498__1::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.015672851052404044, + "finite_min": -0.01567110696223509, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::3498__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::3498__2::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::7439::gradient": { + "dtype": "float64", + "finite_count": 309, + "finite_max": 479.2287391862561, + "finite_min": -478.1073829804458, + "nan_count": 261, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::7439::value": { + "dtype": "float64", + "finite_count": 85, + "finite_max": 0.4867183231664455, + "finite_min": -0.04871216179376392, + "nan_count": 105, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::7439__0::gradient": { + "dtype": "float64", + "finite_count": 381, + "finite_max": 2.500911347615667e-05, + "finite_min": -8.776236135365774e-07, + "nan_count": 189, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::7439__0::value": { + "dtype": "float64", + "finite_count": 85, + "finite_max": 0.4867183231664455, + "finite_min": -0.04871216179376392, + "nan_count": 105, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::7439__1::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 7.186550402578961e-06, + "finite_min": -1.7640126057075339e-06, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::7439__1::value": { + "dtype": "float64", + "finite_count": 103, + "finite_max": 0.06478702668017418, + "finite_min": -0.11002374494262485, + "nan_count": 87, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::7439__2::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::7439__2::value": { + "dtype": "float64", + "finite_count": 103, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 87, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::Group_0::gradient": { + "dtype": "float64", + "finite_count": 474, + "finite_max": 7.289889700188496, + "finite_min": -5.475637159237209, + "nan_count": 96, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::Group_0::value": { + "dtype": "float64", + "finite_count": 158, + "finite_max": 5028.779444182017, + "finite_min": 0.44025779725904, + "nan_count": 32, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "feature::__Group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 7.289889700188496, + "finite_min": -19.925084432120805, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "feature::__Group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 190, + "finite_max": 5028.779444182017, + "finite_min": -696.2487076624137, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 190, + "finite_max": 10.0, + "finite_min": -1.0, + "histogram": { + "-1": 32, + "10": 158 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 7509997.034318, + "finite_min": -6997.034318, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "restored::12658>12647>3498>3496>2997>7439": { + "dtype": "float64", + "finite_count": 570, + "finite_max": 7509823.339358499, + "finite_min": -7113.057438799252, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 190, + 3 + ] + }, + "surface::Group_0@0::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 388281995.4730523, + "finite_min": 388281995.4730523, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 388281995.4730523 + ] + }, + "surface::Group_0@0::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 7510000.0, + "finite_min": -7000.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 520343.18, + 7490000.0, + -7000.0 + ], + [ + 550000.0, + 7510000.0, + -55.99333110608586 + ] + ] + }, + "surface::Group_0@0::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 779.0, + "finite_min": 779.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 779 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 1738, + "finite_max": 5028.779444182017, + "finite_min": 0.44025779725904, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 352, + "shape": [ + 190, + 11 + ] + } + }, + "surface_levels": [ + "0" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "stopped_fault": { + "box_size": 1000.0, + "point_categories": { + "box_faces": 6, + "fault_surfaces": 8, + "interior": 128, + "unconformities": 8, + "unit_boundaries": 16 + }, + "point_count": 166, + "sha256": "7d59683cda43a79363ce0f597aa8a7b2e69fd35b811e414848a1b8fddb11224d", + "summary": { + "feature::__group_0_unconformity::gradient": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::__group_0_unconformity::value": { + "dtype": "float64", + "finite_count": 166, + "finite_max": 899.8870230767869, + "finite_min": -99.90180746637562, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0::gradient": { + "dtype": "float64", + "finite_count": 141, + "finite_max": 18.537793470972634, + "finite_min": -18.79655057365594, + "nan_count": 357, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": 0.5335065265433762, + "finite_min": -0.5675160471398194, + "nan_count": 119, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__0::gradient": { + "dtype": "float64", + "finite_count": 141, + "finite_max": 0.001250000094372245, + "finite_min": -1.7731746973503881e-10, + "nan_count": 357, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__0::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": 0.5335065265433762, + "finite_min": -0.5675160471398194, + "nan_count": 119, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__1::gradient": { + "dtype": "float64", + "finite_count": 141, + "finite_max": 0.0012468259531993693, + "finite_min": -9.520388538012802e-09, + "nan_count": 357, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__1::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": -0.9693068820349806, + "finite_min": -1.273020654343476, + "nan_count": 119, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::fault_0__2::gradient": { + "dtype": "float64", + "finite_count": 141, + "finite_max": 6.967062789822471e-05, + "finite_min": -0.001250005769845033, + "nan_count": 357, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::fault_0__2::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": 0.5526116947247961, + "finite_min": -0.6741548770853322, + "nan_count": 119, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_0::gradient": { + "dtype": "float64", + "finite_count": 357, + "finite_max": 1.0000503476200011, + "finite_min": -9.80773405463986e-05, + "nan_count": 141, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_0::value": { + "dtype": "float64", + "finite_count": 119, + "finite_max": 899.8870230767869, + "finite_min": 100.0999975897248, + "nan_count": 47, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "feature::group_1::gradient": { + "dtype": "float64", + "finite_count": 141, + "finite_max": 1.0021612387781715, + "finite_min": -0.08737332622968097, + "nan_count": 357, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "feature::group_1::value": { + "dtype": "float64", + "finite_count": 47, + "finite_max": -66.63713240121211, + "finite_min": -289.3430915665482, + "nan_count": 119, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "model_ids": { + "dtype": "int64", + "finite_count": 166, + "finite_max": 3.0, + "finite_min": 0.0, + "histogram": { + "0": 24, + "1": 23, + "2": 62, + "3": 57 + }, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166 + ] + }, + "points": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 999.9, + "finite_min": -999.9, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "restored::fault_0": { + "dtype": "float64", + "finite_count": 498, + "finite_max": 999.9, + "finite_min": -1018.6965486123255, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 166, + 3 + ] + }, + "surface::group_0@100::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0000655018, + "finite_min": 1000000.0000655018, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0000655018 + ] + }, + "surface::group_0@100::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -800.0090247706363, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -800.0090247706363 + ], + [ + 999.9999999999999, + 999.9999999999999, + -799.9975932271857 + ] + ] + }, + "surface::group_0@100::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_0@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_0@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_0@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_0@500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1000000.0012959202, + "finite_min": 1000000.0012959202, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1000000.0012959202 + ] + }, + "surface::group_0@500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -400.0330473247328, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -400.0330473247328 + ], + [ + 999.9999999999999, + 999.9999999999999, + -399.97336738987974 + ] + ] + }, + "surface::group_0@500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 400.0, + "finite_min": 400.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 400 + ] + }, + "surface::group_1@-1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@-1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@-1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "surface::group_1@-175::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 1010055.3551942329, + "finite_min": 1010055.3551942329, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 1010055.3551942329 + ] + }, + "surface::group_1@-175::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 999.9999999999999, + "finite_min": -923.2822782114932, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + -923.2822782114932 + ], + [ + 999.9999999999999, + 999.9999999999999, + -876.7642598403128 + ] + ] + }, + "surface::group_1@-175::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 470.0, + "finite_min": 470.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 470 + ] + }, + "surface::group_1@1500::area": { + "dtype": "float64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0.0 + ] + }, + "surface::group_1@1500::bounds": { + "dtype": "float64", + "finite_count": 6, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 2, + 3 + ], + "values": [ + [ + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.0 + ] + ] + }, + "surface::group_1@1500::vertex_count": { + "dtype": "int64", + "finite_count": 1, + "finite_max": 0.0, + "finite_min": 0.0, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 0, + "shape": [ + 1 + ], + "values": [ + 0 + ] + }, + "unit_boundary_distances": { + "dtype": "float64", + "finite_count": 664, + "finite_max": 1789.343091566548, + "finite_min": 0.09999758972479356, + "nan_count": 0, + "neginf_count": 0, + "posinf_count": 664, + "shape": [ + 166, + 8 + ] + } + }, + "surface_levels": [ + "-1500", + "-175", + "100", + "1500", + "500" + ], + "transform": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 1.0, + 1000.0 + ], + [ + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + } + }, + "point_recipe": { + "candidate_count": 2048, + "candidate_seed_offset": 1701, + "categories": [ + "interior", + "box_faces", + "fault_surfaces", + "unit_boundaries", + "unconformities" + ], + "feature_offset_fraction": 0.0001 + }, + "provenance": { + "baseline_dirty": false, + "baseline_revision": "ddc333ea717b0ac6b7de501708addce19c6165ee", + "dirty_details": "", + "field_generation_revision": "0a7930e2", + "input_hashes": { + "12647.csv": "b4546877937cdef9abc3f8994121a67f6e16ab4fc8c1bc6733c96bcde36978a8", + "12658.csv": "dd62225d075646413539844b2223185e94ebbb71d086586099747ec02e270db6", + "2997.csv": "695d34c66e3497cc95717c91fabec597a5391461bae0ea70b60d210295c19912", + "3496.csv": "af1146099f7e07a1e0b6663bcdc6638cd1c066b99c4c34717b0eb5d44dd1e5a4", + "3498.csv": "75084df04f5c5ae873ea885ea441e16d5087d039715a6951f0c014bbc7b776cb", + "7439.csv": "ff313e621e98dab7b0c1f435d32892d69aae13123e60098739cdf50df68b0b80", + "Group_0.csv": "d480d497d690ea5d982d533ca7661c33099cdef94b76abe305b933361fec1fa8", + "fields.json": "068af2ee58191a8185bac77500ed2daa6fa9629acd7f7738bffb7232a56c0aba", + "fields.npz": "eed390ddd5d93e6638b1dc7ec14230df63c6572b878cc4c20ca8d3e872b07968", + "plugin_model.py": "ee74b4856f06180ebf80ad9c736fc3a320303ad55c9537b18e7fc6c550a35470", + "qgis_check.npz": "96ff47ad38611a03db97075f737266bc42faedcaa62339f55ac871b99dbfbfc5", + "recipe.json": "998eae0004894fff5d4532f05ca115c4183fca16a5c00a4f900db3b8fb95afb6" + }, + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "source_hashes": { + "LoopStructural/__init__.py": "7b5bdd2a0e31d59fc16a68cc804c28f8cca96ca5b52550d3f42d449a12259ef2", + "LoopStructural/datasets/__init__.py": "471c4042fcc62442eaa4a5eec272d2ef4e58f3c83d784e70060c8ebea1f5cb34", + "LoopStructural/datasets/_base.py": "c5359f67be7e3b30b9dae69990b239a1877915e40985bb4504d2319358eb6839", + "LoopStructural/datasets/_example_models.py": "e6216acb8ae85c835f16512731cd6d047401b76cc2dbb10841cca299c871c5ac", + "LoopStructural/datatypes/__init__.py": "28d1831a2220fa40076d392ad9581302a352e3ef1190a0faf7b766fd3759f2a1", + "LoopStructural/export/exporters.py": "2dd27b85b2bd48710f970910967fb1999180d4060fc38d083542ebada242cac5", + "LoopStructural/export/file_formats.py": "cad4bdca102bcbe46b2f2ee61d770bc77ad5b435d68d0f7e05084822feca2e22", + "LoopStructural/export/geoh5.py": "b624a83d9d9fd53615b44776fc1ecee642fd270e93d5046a70b5d7bc293562a8", + "LoopStructural/export/gocad.py": "cc3e593caeff29e92badf570b93c41117165b044130fccf29e868be7d8b1580e", + "LoopStructural/export/omf_wrapper.py": "acfde2ab895e66dfd3bda54886198b7da53eaf96cec7030e66b13f83636aebbf", + "LoopStructural/geometry/__init__.py": "d244f548499ae3b8a405cedde1107fd8b75b4fed5c04e84e553069cd240a5497", + "LoopStructural/geometry/_structured_grid.py": "e8543a218485d74a1115db654a82f2d0b840ae2a934ce2ff7e5b0693b425bdc0", + "LoopStructural/interpolators/__init__.py": "269111cd23b98dbe07a2922b32be957c3258d0b14bf7be7276512ba6e3b575ed", + "LoopStructural/interpolators/_api.py": "cdf3d4c32d1adade4d51e33fac7d779a9c19f2968f7924816d12513cd75ac185", + "LoopStructural/interpolators/_builders.py": "8a9d157ec576ab553047a7a922977c9116cd4a55c9dc138d2a712879afcdf196", + "LoopStructural/interpolators/_constant_norm.py": "fcb998319da8f0eae1bc9354b15ccd8fd12f938a90b47c4b954b95c4803fdd56", + "LoopStructural/interpolators/_cython/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "LoopStructural/interpolators/_discrete_fold_interpolator.py": "e732d49967443b26c3c82553cd2bc226ff20077c5ed5b6c7ca1556f726611ae1", + "LoopStructural/interpolators/_interpolatortype.py": "0ce2bae49838d51deb600cb11d9ce62335febd9b0b79d8a7c98d6d899c2c94fc", + "LoopStructural/modelling/__init__.py": "fbdc32b50d2c5a484aca6d6a9d0c7be612e9707f14e889d06e9a95a82984be62", + "LoopStructural/modelling/core/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "LoopStructural/modelling/core/_feature_registry.py": "05d84eb0a76caf41c77ea17ac0c2925714f47736fb4dbeff6b16dd80dd79f604", + "LoopStructural/modelling/core/_model_exporter.py": "72cec4318b6db48753390eef8bd2b94a566092c07062a8660013190539926b80", + "LoopStructural/modelling/core/_model_feature_factory.py": "a29b304c5e96e7f2cf90d5f4ab772d26afcfb436e3c6bba01a94359dbc9c2b98", + "LoopStructural/modelling/core/_model_relationships.py": "5b77e5e615f83e4f2f4c68688ba5c7b9e428abf111ee9d86fcfaed009b529814", + "LoopStructural/modelling/core/_model_serializer.py": "2eb7327bf0a7da5163a6a1223a94bdaddacc050416240408751906ad759836e6", + "LoopStructural/modelling/core/fault_topology.py": "4afa166b06aa0ace96077e736a9c37503f9d2a1091fff62b03638259be5bde5f", + "LoopStructural/modelling/core/geological_model.py": "e624eaf5c579fd5c09c02adb54b2aad5cab7d0dd872c959b854cdbd55ced6a4a", + "LoopStructural/modelling/core/stratigraphic_column.py": "88a9e366b0e4fbed174e3301b3200420507b3f4e24a58dddef50ef8be41c1d2f", + "LoopStructural/modelling/features/__init__.py": "2b62eee4684aefe7f29cf4ec3ca54fd34295ecc540fd6972f65a262a7c207b57", + "LoopStructural/modelling/features/_analytical_feature.py": "b5dc97362aa3f5bada7ccbe1f8ae5d0d3bddbde9aff81b685479ea1fa2a7a7e9", + "LoopStructural/modelling/features/_base_geological_feature.py": "036bf239f149e54240d9720ac36b11af5669b1e7d77d5e4b6187d3b61c7fc74c", + "LoopStructural/modelling/features/_cross_product_geological_feature.py": "206fdf92d56f52d790961a6d11eb5bb7a27b6cac828b79f8d8687e1a3ec03d75", + "LoopStructural/modelling/features/_feature_converters.py": "4a4a46bb5b694fccd15184e05bab2a77bdad7816b6b82c400ccee08359222832", + "LoopStructural/modelling/features/_geological_feature.py": "c03cc722f3f5884a507726dc4dce3afddde728fca364d2fbaadd8e184fcb5358", + "LoopStructural/modelling/features/_lambda_geological_feature.py": "3f602e950868d323252489bbae04cb9f4e9954b4650d396299926fe6d6b487a4", + "LoopStructural/modelling/features/_projected_vector_feature.py": "c164e9ae880d49a1fabbf3e47f192fcc17188b44d52a93a4f6aacf7f21ba121e", + "LoopStructural/modelling/features/_region.py": "f1ba96e5d083f424ca0435c5c9c200c1c9108e084987230e0d86fa2629ef3497", + "LoopStructural/modelling/features/_structural_frame.py": "8b4faee192e46bc32c6b9785312a8c4cf525559f094581e87b4c9a3ffc952036", + "LoopStructural/modelling/features/_unconformity_feature.py": "18226085d6e7ea60eb8f58869a49f004a7501ab8e9a4b07c901d59dfe02ee195", + "LoopStructural/modelling/features/builders/__init__.py": "28f5fdd88c4a9a456ddd94172ccab4e59c2db1e01625b201291f8a5d7efd288f", + "LoopStructural/modelling/features/builders/_analytical_fold_builder.py": "fc5c8ded5186de9407f6c241f786c3020a5e697a25d91a90d6b6e4e99b68fc04", + "LoopStructural/modelling/features/builders/_base_builder.py": "1991a7b364c70b80af98fe46f9ec4e6619d64baed7b9d3e4717f3abe2b7aeb53", + "LoopStructural/modelling/features/builders/_fault_builder.py": "c3a030913d00459373c0c1e8b3c2200ad64d7218a88dd38f85adf4697eb767e6", + "LoopStructural/modelling/features/builders/_folded_feature_builder.py": "305cfea319f03c114689c6210a8720fa3975b608cbc3c271b9d25b8f1faeba97", + "LoopStructural/modelling/features/builders/_geological_feature_builder.py": "afeeb0ed5ec0149d7f07cbf17162b067d369d582143fd8e3a3f95a95380a868b", + "LoopStructural/modelling/features/builders/_structural_frame_builder.py": "fdf0a3690fc1936c8a73d8b6fe9987dfa2a9f6b9282ae3b4bf90d929c6ab0c51", + "LoopStructural/modelling/features/fault/__init__.py": "da02865677170cd7ce864226c6bffc066eb61f5f1508dfe491d5f72ae8a5b4e4", + "LoopStructural/modelling/features/fault/_fault_function.py": "39db925fff2fe3229c23ae4d759d1799705db09a6231a6a202132cc095392296", + "LoopStructural/modelling/features/fault/_fault_function_feature.py": "b10d52ac90b58109877cfeec483b6e488cb80a986642d9c5b0fef215385cf333", + "LoopStructural/modelling/features/fault/_fault_segment.py": "6407a573a11a55fb4b6778976b3c1e9776cd90647f480e42b2f43989733f2c7f", + "LoopStructural/modelling/features/fold/__init__.py": "ed2484f521b57a6ab135cc7d52dd51fce32f4e4b2396a2706eee7c7c37ddd6b8", + "LoopStructural/modelling/features/fold/_fold.py": "fe0d6f45d9579e124399baa3f659c5109669772289c3c6f3ee49597897e15a92", + "LoopStructural/modelling/features/fold/_fold_rotation_angle_feature.py": "b008631d108af782cf63e1b50216ab435eb5159e00382b55c0ae65920f91527c", + "LoopStructural/modelling/features/fold/_foldframe.py": "725af6a79c3b3a9787a29d900d82481053475fb29f9a2d00f095b6a2d83aeba4", + "LoopStructural/modelling/features/fold/_svariogram.py": "68bc3860338764e3174032e8f63d45d2bd864587064a5f9974045dee108e8edc", + "LoopStructural/modelling/features/fold/fold_function/__init__.py": "2bcbba876059c448566e4f94edb6369dc1b3bc3fc7e0bc7b1c5b9182f3340bab", + "LoopStructural/modelling/features/fold/fold_function/_base_fold_rotation_angle.py": "78038487f096047fa1d675c68f1d325d3ca3dbc635eb61511810544dab35c2ce", + "LoopStructural/modelling/features/fold/fold_function/_fourier_series_fold_rotation_angle.py": "753ca10b7bec6d96c98c5bf347ba0e94e79f467cb9d097fb257be81bb0a98a22", + "LoopStructural/modelling/features/fold/fold_function/_lambda_fold_rotation_angle.py": "92dd284741bf0df19956ee0795e9c7b2450694d37e68ebc6be3a51eb42eeff69", + "LoopStructural/modelling/features/fold/fold_function/_trigo_fold_rotation_angle.py": "30356652c0b2778dbb370e84a76adec7b102dde314a4efdbd8e0740ecf1aad24", + "LoopStructural/modelling/input/__init__.py": "1062bf6d098034834a775928ee4a40cd01c6eaef918dd79ad393a843e7aa88f6", + "LoopStructural/modelling/input/fault_network.py": "b0096c83ed1debd74038283863fade823a7b33ee2ab2148eef3872598d78d9ed", + "LoopStructural/modelling/input/map2loop_processor.py": "d693afbc4a5877730307201d95ddcb3a2d4edd8f0017143ef93fd2e64405209f", + "LoopStructural/modelling/input/process_data.py": "cd7402961643c977c091e40cb143afb886e0c1e00e0b264b9c3933871b285609", + "LoopStructural/modelling/input/project_file.py": "345e4d0c7335dc20da88268164cd02c26e8517c11f0e262b145574a555051dee", + "LoopStructural/modelling/intrusions/__init__.py": "42d80609a789cf7d8bc749199ebeb660d6b581499c47de251afcdb970d22dff2", + "LoopStructural/modelling/intrusions/geom_conceptual_models.py": "654b6383efa84bbe4d75cc3030a3e050df2e2207d064c73cae5e3bfd2e8fa557", + "LoopStructural/modelling/intrusions/geometric_scaling_functions.py": "080714c607ad7186c49dca34968a7f8106c6bf9da1dac0b21ee29f48dad27863", + "LoopStructural/modelling/intrusions/intrusion_builder.py": "2770c31523e3d8ec4370beef5cf2596b10a0c9eca2ac331360be95c039bd3c38", + "LoopStructural/modelling/intrusions/intrusion_feature.py": "0fe5e68f5df76c1e4fa66116708aa4a1fb0d8bae6b1f472121ff29e970d7adbb", + "LoopStructural/modelling/intrusions/intrusion_frame.py": "19528637bb58644885a9a26d3a523a16c1a69579663bc7ba7340f897501374ae", + "LoopStructural/modelling/intrusions/intrusion_frame_builder.py": "7dc441636cecf7a90462915683a95b012ff468cdf77c157030faf09d5f3e1dc4", + "LoopStructural/utils/__init__.py": "e31549e33e01bc3e41c2f54ee1f7f938884f8ab34a94150b6c451046194898c7", + "LoopStructural/utils/_api_registry.py": "2548dc68a08494c856b161fa6b9642ac6be992fbea01ae74b799a1531cd60530", + "LoopStructural/utils/_surface.py": "5562f77b5aa9561137ed8f866095df3ce8764769890649c02175fe0d75a54919", + "LoopStructural/utils/_transformation.py": "42cdb9f35fc3650e5d69b347419072b8a97f6bcb624045b1aad841e6b402cc0b", + "LoopStructural/utils/colours.py": "4f29f43f5a9fa4cd1a335a85dbe0307dc9c63f4906a15d6b99e7788cd9b1764a", + "LoopStructural/utils/config.py": "52512ab12162c05ec805ad22a37fd425159e7e4dcd23b49c49dc7c0d4e2d11c5", + "LoopStructural/utils/dtm_creator.py": "063f159b9a053ecf085bcd859de7dd8063f1c6cb19af649cc31c1786e5b43444", + "LoopStructural/utils/exceptions.py": "0f831cc2a4d13e2a421ccb936d980b9abd284b0274719328c275e7bb9818cec2", + "LoopStructural/utils/features.py": "495301016763789713182f0048b6909a500d5388e81461b03a3a723971340291", + "LoopStructural/utils/helper.py": "af9a605bb796929e7ad4898ad2f9579afabb595d8eed240d4362408674bd7158", + "LoopStructural/utils/json_encoder.py": "dfd1da3813c126ecb9221726e308eaa9dbdfc66210411d95e8e7777024060697", + "LoopStructural/utils/linalg.py": "74d286016b635189d507bade18cf0e489d5b05a901d8789dce44e0780fc4371d", + "LoopStructural/utils/logging.py": "aefd0855c2ee954fbf3cf266fefec53036f05c5d005f66310405a876f82221bd", + "LoopStructural/utils/maths.py": "6d32803383045d7cb426321b00f19fc8573daac50a44c337e85eea930dd976fc", + "LoopStructural/utils/observer.py": "086f088839fda1d9b0015bdc10f726e613110926a818068806d043cb067841a8", + "LoopStructural/utils/regions.py": "2cf862a980613ca1a25b2390805b6aa747d1fb8f4c28febde29cc2138e8e3ab4", + "LoopStructural/utils/typing.py": "182f9b2d9ccca9d741c7d3a9e191123af4e521268809db1ce26358b2159e7349", + "LoopStructural/utils/utils.py": "d1fa6cd4413153b565d3d63046cd1996166b2ba6aae313f36d39cf02c6b03464", + "LoopStructural/visualisation/__init__.py": "05654b4d597bf7adf9d110f3a6266d07a5f2ba37555a1d3343b8a41defbfd43d", + "base_geological_feature.py": "036bf239f149e54240d9720ac36b11af5669b1e7d77d5e4b6187d3b61c7fc74c", + "fields.npz": "d7d1331f09e5f9cbd280cf554880fa51a46ff0efd4e033adf516f21028790c38", + "geological_feature.py": "c03cc722f3f5884a507726dc4dce3afddde728fca364d2fbaadd8e184fcb5358", + "geological_model.py": "e624eaf5c579fd5c09c02adb54b2aad5cab7d0dd872c959b854cdbd55ced6a4a", + "golden.py": "a50a4585b63f0ed2e86a10153ab619511a0a0c66c28c55fdcab7b307b093b58e", + "models.py": "3049b5c051086be6a7f7853c2803061dd6676f61e7663caf7b140b96aeda9998", + "packages/loop_common/src/loop_common/__init__.py": "510a147bb7fef82b80e5b1ca0e7254cf6c76734e7759014401f73f5e1b05682a", + "packages/loop_common/src/loop_common/base.py": "8cef600ddd5afa3d7d3ede327ec12a085177aa53cc731069ea90d4ab4da425ae", + "packages/loop_common/src/loop_common/geometry/__init__.py": "49865f2e367f643e0cb2ea9bc130f9615707ec3e60f6af34a60e794b50b31ed1", + "packages/loop_common/src/loop_common/geometry/_aabb.py": "2daaf3a0d96a2c7a23cb8895fdfa16703f08a5121a26ee7d49f225e64e902c00", + "packages/loop_common/src/loop_common/geometry/_bounding_box.py": "db813737949c4126d0ea9a3a23a9f3e1dc2f73db79bd723a9def284d3b9ac057", + "packages/loop_common/src/loop_common/geometry/_face_table.py": "a9fd58b898082a2b03d3b7c67c6db3668d85ee960d7169f612f353e3d39a2da2", + "packages/loop_common/src/loop_common/geometry/_point.py": "d36bb940c6598b8adacb701676963108e5ce8d848257685de188efa560c31d64", + "packages/loop_common/src/loop_common/geometry/_structured_grid.py": "4f3a0701db1e2f9adde3319cd10cdfb19434503bb24ac8bedddfa9c6ad814a37", + "packages/loop_common/src/loop_common/geometry/_structured_grid_2d.py": "c7cbccfada1be8acec9f375a873b8b2ee685199366a9a7a6f0ad776dbac3e145", + "packages/loop_common/src/loop_common/geometry/_structured_grid_3d.py": "11024ba39c4e009dfc3430d6d88f075b684df420d7ff9ec1dcb321cdcb216d7d", + "packages/loop_common/src/loop_common/geometry/_surface.py": "925ed7f1ee80b819642b0eeb749bedf764d7d6b8bb3ff740460d828b0ba764b7", + "packages/loop_common/src/loop_common/geometry/_unstructured_mesh.py": "bda72cba71b0725adf12c6c190a8947eb0abc86ae20a44e84ca6ed54865bc59d", + "packages/loop_common/src/loop_common/interfaces/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "packages/loop_common/src/loop_common/interfaces/representation.py": "e31ad7cd039691149920067e405d398f1c766f7c06c48d6b5ced26e6ca6fe11d", + "packages/loop_common/src/loop_common/io/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "packages/loop_common/src/loop_common/logging/__init__.py": "d0b01af8522f286a3d5231fc46a60535662511d23fba5df048621b7f0663b2b1", + "packages/loop_common/src/loop_common/logging/logger.py": "25318d1e54cd61b60d203ec5214ea7131a22350413c2de57e7f6d8bede3fe638", + "packages/loop_common/src/loop_common/logging/sinks.py": "259c335fd26e6eb208a57aa75426ddc33921b78b7510899b3d9f5f830b248047", + "packages/loop_common/src/loop_common/logging/timing.py": "f26121a3a428c85aa690e03c3e6c7146a0643b655dd3779909a5e56aea941a7e", + "packages/loop_common/src/loop_common/math/__init__.py": "02ae110baafd597643fb50e4b4b5178fb35f4fea0098c3e0515ff4cc560188b2", + "packages/loop_common/src/loop_common/math/_maths.py": "a85f328cdcf55b55b6d14553d97d9fc489d111c3e4a1f0ef1e5045749545405d", + "packages/loop_common/src/loop_common/math/_transformation.py": "3ca93290ab1d9c23011cc3e7f2c95b2fa5263ab903471073efe83b088a62851f", + "packages/loop_common/src/loop_common/math/finite_difference_stencil.py": "57ed5747e481a8ffc3580c8500b30c162bafbd421b3da4e521649fb4777042d8", + "packages/loop_common/src/loop_common/observations/__init__.py": "8e3dc8a0e38ca4bb53275739140ff0ac0b350a9e8fe93868d804b68515fffd00", + "packages/loop_common/src/loop_common/observations/lineset.py": "595a583230ea192c697f47cfab1cefb2cbd0874c10475fc55e1e6e7a143e7eff", + "packages/loop_common/src/loop_common/observations/orientation.py": "a0dca70c990ea4c779936415c39f049c56575b5b519635c74d18d0182b88437e", + "packages/loop_common/src/loop_common/observations/pointset.py": "874309626f86b90e674a83e0f60b1068d5228d70349714d62b3f92eff33c56d5", + "packages/loop_common/src/loop_common/observer.py": "065b5dafff6f38815dd9fc09b08f534860265608005ae2cfa34b545fb73fb8e3", + "packages/loop_common/src/loop_common/supports/_2d_base_unstructured.py": "5d66f2b478569d44e4de17c746db2be110b8d64b719640eb7ae5ecf4a3cf8544", + "packages/loop_common/src/loop_common/supports/_2d_p1_unstructured.py": "e6126c8bb96fcaa9e1fd0a810e807eb6e1b452caa217ce7f71eefdddc45ecdf7", + "packages/loop_common/src/loop_common/supports/_2d_p2_unstructured.py": "5e1718323925e5458d49a083796ee0a78d1475d69bef6a2e8b56edbf44d67002", + "packages/loop_common/src/loop_common/supports/_2d_structured_grid.py": "59497e68882543673cfe82bffe49e5fe0782cb6fc477c15855f2897137e14551", + "packages/loop_common/src/loop_common/supports/_3d_base_structured.py": "12d0e50b3cfe4b16de136d5ff286f8a848ca925f38df14eb16f2701051c98785", + "packages/loop_common/src/loop_common/supports/_3d_p2_tetra.py": "d9081db753b1d9d7b67eaddf527122e2e10f1532286b52b48572568d962e023d", + "packages/loop_common/src/loop_common/supports/_3d_rectilinear_grid.py": "51157d6bc11f3ffc51412403dda73fe2707505624b357715d4c1081e66bb0d95", + "packages/loop_common/src/loop_common/supports/_3d_structured_grid.py": "e74f649af351958f4aa6eed93f8926b19dbb3a560ce20d5c5a443b7c61cc9676", + "packages/loop_common/src/loop_common/supports/_3d_structured_tetra.py": "09cc9c89b540db253f5c255a3ceb363d747ae301ec961dcb169478b145e6c2b6", + "packages/loop_common/src/loop_common/supports/_3d_unstructured_tetra.py": "0c37cca388f57cca803d4562b67a6580c4fb9162b60e462050cf1c5f804d9984", + "packages/loop_common/src/loop_common/supports/__init__.py": "998b3eaa3f38ac40f60ae2bac47a90bef37313fb6475dbcd9e016283aef0eeed", + "packages/loop_common/src/loop_common/supports/_aabb.py": "5680cfb7689414878a24bed114a7c1175f8fe9cff79eab17acd65b5cb14b13b9", + "packages/loop_common/src/loop_common/supports/_base_support.py": "9f7194983041c20589ec2d9802f32f6126d5186d4a6cf7ced2082d33973cf6af", + "packages/loop_common/src/loop_common/supports/_face_table.py": "46fecc422e0c7181110adad5fbf740eec209e4404137c332b132bac660267d4d", + "packages/loop_common/src/loop_common/supports/_p2_structured_tetra.py": "0276a261c30468673b5df9e4a17819610262ca49e6c75b0338c8a4756812589c", + "packages/loop_common/src/loop_common/supports/_support_factory.py": "a85ea570508f916930189047cdb9f908c9fa45660ddb0db3ffa4387e74945830", + "packages/loop_common/src/loop_common/utils.py": "12bdb57258ac2bf2d2a9f8ac6befaa3199b9dd1d1a7433984e12bb68bb272cbf", + "packages/loop_interpolation/src/loop_interpolation/__init__.py": "83ac448bca65b3cd419189fac82633294435c9c0f7b57e59066298148305cf4a", + "packages/loop_interpolation/src/loop_interpolation/_builders.py": "7b103ff4e3fe35f118703132227394dd3d38273536de9e4ffe5c1ac6ce938d68", + "packages/loop_interpolation/src/loop_interpolation/_constant_norm.py": "e4ae4efb15f0cc246ca0c9d511c327607505e2d9c932d179e2dbf459051568f6", + "packages/loop_interpolation/src/loop_interpolation/_diagnostics.py": "e75a0aab9531bcfa94d85b0da61840fa9ad558df4c49c9e48998ae52f2a57bfa", + "packages/loop_interpolation/src/loop_interpolation/_discrete_fold_interpolator.py": "53d218ce694b60dbec101283eff94e0c4be616a0312cb0a970548eab50ba491a", + "packages/loop_interpolation/src/loop_interpolation/_discrete_interpolator.py": "2702886bd2a7149fc47d47388bf5c364c30a6868a1eb125ba8ed4ef518fae7f2", + "packages/loop_interpolation/src/loop_interpolation/_fd_fold_interpolator.py": "8613d2fa7775abfadc20a8c5cddfcfef592c9b9fba6f1dd179021c2f6492dec5", + "packages/loop_interpolation/src/loop_interpolation/_finite_difference_interpolator.py": "699f49768aa1d857b15eeb4e7c83687e6d9ca501b96e77af395a8f26c3d7d1b2", + "packages/loop_interpolation/src/loop_interpolation/_fold_event.py": "0d7f25d9f1b147e699b4b64d8824680974325fb2f2a27c582e5eecd57e9ec7cf", + "packages/loop_interpolation/src/loop_interpolation/_fold_norm_alignment.py": "7ac1212701e64d6dd9e0fb247f7f634165506321920f6cc90e7a19cfe24966c7", + "packages/loop_interpolation/src/loop_interpolation/_fold_setup.py": "8bd2786b93225c22b6acdaa47e085749afe6f091385d5827a8d30b7fb6782da5", + "packages/loop_interpolation/src/loop_interpolation/_geological_interpolator.py": "6e8ae06f676b4ba676f0596df9562b356cdc288745db6dc9501716db03c7278c", + "packages/loop_interpolation/src/loop_interpolation/_interpolator_builder.py": "ec52948d4efc63a99499140773fc8745b853fe8d0f7a3de0b3cc70a1c71cb9db", + "packages/loop_interpolation/src/loop_interpolation/_interpolator_factory.py": "606ad186d81ded2b859c86633166dc07dad0967bc21c9b231c19490cdc4efd18", + "packages/loop_interpolation/src/loop_interpolation/_interpolatortype.py": "733ed94e55c1dd0021283f45a01c7c9e55a1ada251653a4ff7872dfc3d0ce4fb", + "packages/loop_interpolation/src/loop_interpolation/_native.py": "b79701f0abcf69d68b8958bff267ef284443de187a41d8895308ef312b29a4fd", + "packages/loop_interpolation/src/loop_interpolation/_operator.py": "c662c6cd054571573df196e4546e9eba4488b7695751502bd669514436b95bf9", + "packages/loop_interpolation/src/loop_interpolation/_p1interpolator.py": "2496955ef067fdae6784dabbcc1671413eb8a47e5777c562d4f367140b6d7e59", + "packages/loop_interpolation/src/loop_interpolation/_p2_fold_interpolator.py": "65f8c6a627f34560fad43d822cf92838318e64416bd303136f8eead8ecc37318", + "packages/loop_interpolation/src/loop_interpolation/_p2interpolator.py": "18ebd64571e6aca6e755b24f9d18cc9f5f4d7c912b29bd457d939b60981ee30b", + "packages/loop_interpolation/src/loop_interpolation/_quadrature.py": "39f37872b36c8358a2f983ff155478f6d9f063904bf73e21234872914c32962b", + "packages/loop_interpolation/src/loop_interpolation/_regularisation.py": "c09084da1144b9aa53a5acda67ccc40ed336cc89d269bae31a7abd15054300f0", + "packages/loop_interpolation/src/loop_interpolation/_solver_pipeline.py": "9d8ff76011496926413c2cd088013fc0ac03bb4a94e8984b0ee0a9b3e8bc2053", + "packages/loop_interpolation/src/loop_interpolation/_solver_strategy.py": "89d3a7d148a6776c31e71fad1865d2da46c71df0de56ee8908be6e68d872d871", + "packages/loop_interpolation/src/loop_interpolation/_surfe_wrapper.py": "c4b76c602200919706ffab94e4f303c7c7e31769077460f562bf3924e1a92cd2", + "packages/loop_interpolation/src/loop_interpolation/_svariogram.py": "248d460ff5f473138c8b7f9590492841dc278c85ccb80f76ebc19c2b83d1a206", + "packages/loop_interpolation/src/loop_interpolation/_validation.py": "d263b4509fecc270adfd51e8ca2288c737c9b52a9b4fe8a76fa38315f6858d9f", + "packages/loop_interpolation/src/loop_interpolation/constraints.py": "88a552aa1623444d20179c49142df9a241cdceefbbe4e4cddf94fd102335bce9", + "packages/loop_interpolation/src/loop_interpolation/fold_function/__init__.py": "b6a8685d54029e369bba87039983bfd4720f3717a7b63fd63c219329bf744d6f", + "packages/loop_interpolation/src/loop_interpolation/fold_function/_base_fold_rotation_angle.py": "a72c760dea47cec18c2ac58affd8c67d56852bd6208a6d590349549f59ce416a", + "packages/loop_interpolation/src/loop_interpolation/fold_function/_fourier_series_fold_rotation_angle.py": "1c2fb1259e079982c151694bd93f5803892c92f0888bdc173cb72ab0cdb6c797", + "packages/loop_interpolation/src/loop_interpolation/fold_function/_lambda_fold_rotation_angle.py": "8c52b81a3c55669d6d7513e26b19494dd244a3cbf94e4c95bb65938532402d05", + "packages/loop_interpolation/src/loop_interpolation/loopsolver/__init__.py": "78fab67460eb078c2f78ae0656d8a78c1e21d0d00f8b6a694ae2e58d869a6d79", + "packages/loop_interpolation/src/loop_interpolation/loopsolver/admm_constant_norm.py": "c08bbdd59a4e3cfa586071e2a8b0af5669cbe7d32d54086527ccf76e5c29a4ba", + "packages/loop_interpolation/src/loop_interpolation/loopsolver/admm_method.py": "93492005b24e9581b6ea7325bbcb0fe9fb90009011b58f2b2c06523f60b54085", + "packages/loop_interpolation/src/loop_interpolation/loopsolver/admm_solver.py": "6fc584bb994e627e924e97bbe7d47bbe29d7ed91ca58c785a186288c02b9109a", + "recipes.json": "32115a5e93fda8947d4902aab33a99d1098b390009973b70f8105edb0844db20", + "regenerate.py": "d16b2c367e5952b3e6b8447bad27cea742a95bf60e2fdc2fa4ea9c66d4af594c", + "structured_grid.py": "e74f649af351958f4aa6eed93f8926b19dbb3a560ce20d5c5a443b7c61cc9676" + } + }, + "schema_version": 1, + "seeds": { + "count": 128, + "interior": 1 + } +} diff --git a/tests/fault_evaluation/data/onlap_domain.npz b/tests/fault_evaluation/data/onlap_domain.npz new file mode 100644 index 000000000..d60f6f111 Binary files /dev/null and b/tests/fault_evaluation/data/onlap_domain.npz differ diff --git a/tests/fault_evaluation/data/plugin.npz b/tests/fault_evaluation/data/plugin.npz new file mode 100644 index 000000000..b81c0c951 Binary files /dev/null and b/tests/fault_evaluation/data/plugin.npz differ diff --git a/tests/fault_evaluation/data/recipes.json b/tests/fault_evaluation/data/recipes.json new file mode 100644 index 000000000..6fd0ac8e0 --- /dev/null +++ b/tests/fault_evaluation/data/recipes.json @@ -0,0 +1,26 @@ +{ + "synthetic": { + "origin": [0.0, 0.0, -1000.0], + "maximum": [1000.0, 1000.0, 0.0], + "seed": 0, + "point_seed": 1, + "nelements": 3000, + "faults": [0, 1, 2, 4], + "unconformities": [0, 1, 2, 3], + "fault_displacement": 40.0, + "stratigraphic_column": { + "default": [-1500.0, 50.0, 1500.0], + "erosional_youngest": [100.0, 500.0, 1500.0], + "onlap_youngest": [-1500.0, 50.0, 1500.0], + "older_outer": [-1500.0, 1500.0], + "older_contact_origin": 0.0, + "older_contact_per_index": -175.0 + } + }, + "special": { + "stopped_fault": {"faults": 1, "unconformities": 1, "stop_at": "group_1"}, + "cutting_faults": {"faults": 2, "unconformities": 0, "cuts": ["fault_1", "fault_0"], "local_origin": [0.0, 0.0, 0.0]}, + "onlap_domain": {"faults": 1, "unconformities": 1, "onlap": true, "domain_fault": true}, + "faulted_fold": {"fold_frame": "fold_frame", "folded_feature": "folded_unit", "faults": 1, "local_origin": [0.0, 0.0, 0.0], "fold_axis": [-6.51626577e-06, -5.00013645e-01, -8.66017526e-01], "fault_x": 5137.0, "fault_center": [5137.0, 3500.0, 7500.0], "limb_wavelength": 1.0, "calculate_wavelength": false} + } +} diff --git a/tests/fault_evaluation/data/stopped_fault.npz b/tests/fault_evaluation/data/stopped_fault.npz new file mode 100644 index 000000000..030f6ba93 Binary files /dev/null and b/tests/fault_evaluation/data/stopped_fault.npz differ diff --git a/tests/fault_evaluation/golden.py b/tests/fault_evaluation/golden.py new file mode 100644 index 000000000..378b3d4d9 --- /dev/null +++ b/tests/fault_evaluation/golden.py @@ -0,0 +1,363 @@ +"""Capture and compare deterministic fault-evaluation outputs.""" + +from __future__ import annotations + +from typing import Any +from unittest.mock import patch + +import numpy as np + + +def _coordinates(model: Any) -> list[Any]: + result: list[Any] = [] + seen: set[int] = set() + pending = list(model.features) + while pending: + feature = pending.pop(0) + if id(feature) in seen: + continue + seen.add(id(feature)) + result.append(feature) + pending.extend(list(getattr(feature, "features", None) or [])) + return result + + +def _faulted_features(model: Any) -> list[tuple[Any, list[Any]]]: + """Return one representative feature for every distinct ordered fault set.""" + result: list[tuple[Any, list[Any]]] = [] + keys: set[tuple[int, ...]] = set() + for feature in _coordinates(model): + faults = list(getattr(feature, "faults", None) or []) + key = tuple(id(fault) for fault in faults) + if faults and key not in keys: + keys.add(key) + result.append((feature, faults)) + return result + + +def _mesh_area(vertices: np.ndarray, triangles: np.ndarray) -> float: + if not len(triangles): + return 0.0 + tri = vertices[triangles] + return float( + np.linalg.norm(np.cross(tri[:, 1] - tri[:, 0], tri[:, 2] - tri[:, 0]), axis=1).sum() / 2 + ) + + +def _groups(model: Any) -> list[Any]: + column = getattr(model, "stratigraphic_column", None) + return list(column.get_groups()) if column is not None and hasattr(column, "get_groups") else [] + + +def _surface_sample_capture(feature: Any, points: np.ndarray): + """Return a scoped evaluator wrapper for known pointwise geological fields.""" + try: + from LoopStructural.modelling.features._base_geological_feature import BaseFeature + from LoopStructural.modelling.features._geological_feature import GeologicalFeature + from LoopStructural.modelling.features._unconformity_feature import UnconformityFeature + from loop_common.supports._3d_structured_grid import StructuredGrid as SupportGrid + from loop_interpolation._discrete_interpolator import DiscreteInterpolator + from loop_interpolation._geological_interpolator import GeologicalInterpolator + except ImportError: + return None + + evaluator = getattr(feature, "evaluate_value", None) + interpolator = getattr(feature, "interpolator", None) + if ( + not isinstance(feature, GeologicalFeature) + or getattr(evaluator, "__func__", None) is not GeologicalFeature.evaluate_value + or getattr(getattr(feature, "_calculate_mask", None), "__func__", None) + is not BaseFeature._calculate_mask + or getattr(getattr(feature, "_apply_faults", None), "__func__", None) + is not BaseFeature._apply_faults + or not isinstance(interpolator, DiscreteInterpolator) + or getattr(getattr(interpolator, "_evaluate_value_local", None), "__func__", None) + is not DiscreteInterpolator._evaluate_value_local + or getattr(getattr(interpolator, "evaluate_value", None), "__func__", None) + is not GeologicalInterpolator.evaluate_value + or type(getattr(interpolator, "support", None)) is not SupportGrid + or any( + type(region) is not UnconformityFeature + or getattr(getattr(region, "evaluate_value", None), "__func__", None) + is not GeologicalFeature.evaluate_value + for region in (getattr(feature, "regions", None) or []) + ) + ): + return None + + original = evaluator + recorded: dict[str, np.ndarray] = {} + depth = 0 + + def record(pos, *args, **kwargs): + nonlocal depth + outermost = depth == 0 + depth += 1 + try: + values = original(pos, *args, **kwargs) + ignore_regions = kwargs.get("ignore_regions", args[0] if args else False) + fillnan = kwargs.get("fillnan", args[1] if len(args) > 1 else None) + array = np.asarray(pos) + if ( + outermost + and not recorded + and points.shape == (8000, 3) + and array.shape == points.shape + and np.array_equal(array, points) + and ignore_regions is False + and fillnan is None + ): + value_array = np.asarray(values) + if value_array.shape == (8000,): + recorded["values"] = value_array.copy() + return values + finally: + depth -= 1 + + return patch.object(feature, "evaluate_value", record), recorded + + +def capture(model: Any, points: np.ndarray) -> dict[str, np.ndarray]: + """Capture flat numeric model, feature, restoration and surface outputs.""" + points = np.asarray(points, dtype=float) + if points.ndim != 2 or points.shape[1] != 3: + raise ValueError("points must have shape (N, 3)") + result: dict[str, np.ndarray] = {"points": points.copy()} + ids = model.evaluate_model(points.copy()) + result["model_ids"] = np.asarray(ids) + coordinates = _coordinates(model) + for feature in coordinates: + if not callable(getattr(feature, "evaluate_value", None)): + continue + name = str(getattr(feature, "name", type(feature).__name__)) + result[f"feature::{name}::value"] = np.asarray(feature.evaluate_value(points.copy())) + gradient = getattr(feature, "evaluate_gradient", None) + if callable(gradient): + result[f"feature::{name}::gradient"] = np.asarray(gradient(points.copy())) + for coordinate, faults in _faulted_features(model): + names = ">".join(str(getattr(fault, "name", type(fault).__name__)) for fault in faults) + restored = points.copy() + if getattr(coordinate, "faults_enabled", True): + for fault in faults: + restored = fault.apply_to_points(restored) + result[f"restored::{names}"] = np.asarray(restored) + + bounds = getattr(model, "bounding_box", None) + from copy import deepcopy + + for group in _groups(model): + # Stratigraphic columns can retain legacy group declarations whose + # feature is absent from the loaded model (notably plugin columns). + # Only capture surfaces for features that actually belong to the model. + feature = next((f for f in model.features if getattr(f, "name", None) == group.name), None) + if feature is None or not callable(getattr(feature, "surfaces", None)): + continue + group_levels = sorted( + {float(v) for unit in group.units for v in (unit.min(), unit.max()) if np.isfinite(v)} + ) + if not group_levels: + continue + box = deepcopy(bounds) + box.nsteps = np.array([20, 20, 20]) + surface_points = box.regular_grid(local=False, order="C") + surface_names = [f"golden-level:{level!r}" for level in group_levels] + scoped_capture = _surface_sample_capture(feature, surface_points) + if scoped_capture is None: + meshes = list(feature.surfaces(group_levels, box, name=surface_names)) + recorded_sample = None + else: + evaluator_patch, recorded_sample = scoped_capture + with evaluator_patch: + meshes = list(feature.surfaces(group_levels, box, name=surface_names)) + + names_to_levels = dict(zip(surface_names, group_levels)) + meshes_by_level: dict[float, Any] = {} + all_metadata_absent = bool(meshes) and all( + not hasattr(mesh, "values") and not hasattr(mesh, "name") for mesh in meshes + ) + if all_metadata_absent: + if len(meshes) != len(group_levels): + raise ValueError( + f"Ambiguous surface count for {group.name}: {len(meshes)} != {len(group_levels)}" + ) + meshes_by_level = dict(zip(group_levels, meshes)) + else: + for mesh in meshes: + vertices = np.asarray(getattr(mesh, "vertices", np.empty((0, 3)))) + mesh_name = getattr(mesh, "name", None) + named_level = names_to_levels.get(mesh_name) + has_values = hasattr(mesh, "values") + values = np.asarray(getattr(mesh, "values", []), dtype=float).reshape(-1) + + if values.size: + if not np.all(np.isfinite(values)) or not np.all(values == values[0]): + raise ValueError( + f"Non-constant or non-finite surface value for {group.name}" + ) + mesh_level = float(values[0]) + if mesh_level not in group_levels: + raise ValueError(f"Unexpected surface value for {group.name}: {mesh_level}") + if mesh_name is not None and (named_level is None or named_level != mesh_level): + raise ValueError(f"Surface name/value mismatch for {group.name}") + elif len(vertices) == 0 and has_values and named_level is not None: + # Actual Surface removes NaN vertices during construction, + # leaving an empty values array. The explicit requested + # name is the only reliable level identity in that case. + mesh_level = named_level + else: + raise ValueError(f"Unrecognized surface level for {group.name}") + + if mesh_level in meshes_by_level: + raise ValueError(f"Duplicate surface value for {group.name}: {mesh_level}") + meshes_by_level[mesh_level] = mesh + grid_points = ( + surface_points if recorded_sample is not None and "values" in recorded_sample else None + ) + finite_min = finite_max = None + visible = None + mask_checked = False + if recorded_sample is not None and "values" in recorded_sample: + grid_points = surface_points + original_mask = feature._calculate_mask(grid_points) + diagnostic_values = recorded_sample["values"] + if diagnostic_values.shape == (len(grid_points),): + diagnostic_finite = diagnostic_values[ + original_mask & np.isfinite(diagnostic_values) + ] + if diagnostic_finite.size: + finite_min = float(diagnostic_finite.min()) + finite_max = float(diagnostic_finite.max()) + visible = original_mask + mask_checked = True + for level in group_levels: + mesh = meshes_by_level.get(level) + if mesh is None: + vertices = np.empty((0, 3)) + triangles = np.empty((0, 3), dtype=int) + else: + vertices = np.asarray(getattr(mesh, "vertices", np.empty((0, 3)))) + triangles = np.asarray(getattr(mesh, "triangles", np.empty((0, 3), dtype=int))) + if len(vertices): + _store_surface(result, feature.name, level, vertices, triangles) + continue + + # Reuse one field sample and its mask diagnostics for all empty levels. + if finite_min is None and not mask_checked: + if grid_points is None: + grid_points = box.regular_grid(local=False, order="F") + samples = np.asarray(feature.evaluate_value(grid_points)) + finite = samples[np.isfinite(samples)] + if finite.size: + finite_min, finite_max = float(finite.min()), float(finite.max()) + outside_range = finite_min is not None and (level < finite_min or level > finite_max) + fully_eroded = False + if not outside_range and not mask_checked: + mask_fn = getattr(feature, "_calculate_mask", None) + if grid_points is None: + grid_points = box.regular_grid(local=False, order="F") + visible = mask_fn(grid_points) if callable(mask_fn) else None + mask_checked = True + if not outside_range and visible is not None: + fully_eroded = not np.any(visible) + if not fully_eroded and not outside_range: + raise ValueError(f"Empty surface for {group.name} at {level:g}") + _store_surface(result, feature.name, level, None, None) + + distances = np.empty((len(points), 0), dtype=float) + for group in _groups(model): + feature = next((f for f in model.features if getattr(f, "name", None) == group.name), None) + key = f"feature::{group.name}::value" + values = result.get(key) + if feature is None or values is None: + continue + for unit in group.units: + for boundary in (unit.min(), unit.max()): + if not np.isfinite(boundary): + continue + column_values = np.abs(np.asarray(values).reshape(-1) - boundary) + column_values[~np.isfinite(column_values)] = np.inf + distances = np.column_stack((distances, column_values)) + result["unit_boundary_distances"] = distances + return result + + +def _store_surface( + result: dict[str, np.ndarray], + name: str, + level: float, + vertices: np.ndarray | None, + triangles: np.ndarray | None, +) -> None: + """Store a surface summary, including a valid empty erosion result.""" + key = f"surface::{name}@{level:g}" + count = 0 if vertices is None else len(vertices) + result[f"{key}::vertex_count"] = np.asarray([count], dtype=np.int64) + result[f"{key}::bounds"] = ( + np.vstack((vertices.min(axis=0), vertices.max(axis=0))) + if count + else np.zeros((2, 3), dtype=float) + ) + area = 0.0 if vertices is None or triangles is None else _mesh_area(vertices, triangles) + result[f"{key}::area"] = np.asarray([area]) + + +def assert_matches( + name: str, actual: dict[str, np.ndarray], expected: dict[str, np.ndarray], box_size: float +) -> None: + """Compare captures with the D1 tolerances and useful point diagnostics.""" + if set(actual) != set(expected): + raise AssertionError( + f"{name} key mismatch: actual-only={sorted(set(actual)-set(expected))}, expected-only={sorted(set(expected)-set(actual))}" + ) + atol = 1e-8 * float(box_size) + for key in expected: + left, right = np.asarray(actual[key]), np.asarray(expected[key]) + if left.shape != right.shape: + raise AssertionError(f"{name} {key} shape mismatch: {left.shape} != {right.shape}") + if key == "model_ids": + equal = left == right + if not np.all(equal): + distances = np.asarray(expected.get("unit_boundary_distances", [])) + eligible = ( + np.any(distances <= atol, axis=1) + if distances.ndim == 2 and len(distances) == len(left) + else np.zeros(len(left), dtype=bool) + ) + equal |= eligible + if np.all(equal): + continue + elif key.endswith("::vertex_count"): + if np.array_equal(left, right): + continue + else: + left_finite, right_finite = np.isfinite(left), np.isfinite(right) + if ( + not np.array_equal(left_finite, right_finite) + or not np.array_equal(np.isnan(left), np.isnan(right)) + or not np.array_equal(np.isposinf(left), np.isposinf(right)) + or not np.array_equal(np.isneginf(left), np.isneginf(right)) + ): + raise AssertionError( + f"{name} {key} nonfinite mask differs; max difference=inf at point 0" + ) + mask = left_finite & right_finite + delta = np.zeros(left.shape, dtype=float) + delta[mask] = np.abs(left[mask] - right[mask]) + if key.endswith("::bounds") or key.endswith("::area"): + zero_mismatch = (left == 0) != (right == 0) + close = ( + np.isclose(left, right, rtol=1e-6, atol=0.0, equal_nan=True) & ~zero_mismatch + ) + close |= (left == 0) & (right == 0) + else: + close = (delta <= atol) | ~mask + if np.all(close): + continue + try: + delta = np.abs(left.astype(float) - right.astype(float)) + flat = int(np.nanargmax(delta)) if delta.size else 0 + maxdiff = float(np.nanmax(delta)) if delta.size else 0.0 + point = np.unravel_index(flat, delta.shape)[0] if delta.ndim else 0 + except (TypeError, ValueError): + maxdiff, point = float("inf"), 0 + raise AssertionError(f"{name} {key} mismatch: max difference={maxdiff:g} at point {point}") diff --git a/tests/fault_evaluation/legacy-check.md b/tests/fault_evaluation/legacy-check.md new file mode 100644 index 000000000..348dc8cd5 --- /dev/null +++ b/tests/fault_evaluation/legacy-check.md @@ -0,0 +1,45 @@ +# Legacy golden replay checkpoint + +The frozen, pre-performance baseline contains 21 model archives: 16 synthetic +fault/unconformity combinations, four relationship cases, and the supplied +plugin model. T005 committed and audited the archives and manifest in +`2697c1d1`. The manifest records `baseline_revision=ddc333ea`, +`prerequisite_fix_revision=e9b72293`, and +`prerequisite_parent_revision=b22517f9`; it also records the SHA-256 digest for +each reference archive. `test_golden.py` checks those digests before replay, +then rebuilds each model from saved fields, captures outputs, and compares +them with the immutable reference. It does not invoke the explicit writer or a +solver. + +The replay covers feature values and gradients, stratigraphic ids, ordered +fault restorations, and surface summaries. Each model capture is an independent +pytest case with its own elapsed-time property; a fast catalogue test checks +that all 21 model names appear in the manifest. The separate edge tests cover +empty/outside/NaN value queries, region masking, reverse and disabled fault +application, zero displacement, and one lazy first-use build through +`GeologicalModel.evaluate_model`. The NaN-coordinate value query returns the +legacy value `0.0`, alongside NaN for the outside query. The single-fault +reverse control uses two fixed points and frozen values from `ddc333ea`. The +sensitivity check perturbs fault movement by 1% only inside a scoped monkeypatch +and requires the frozen +`f1_u0` full capture to fail with a model/output and max-difference/point +diagnostic. The comparator may report an affected feature output before the +restored-point output. + +The initial replay exposed an incorrect all-NaN expectation; it was corrected +to the frozen legacy result. Final verification passed all 108 tests in 108.43 +seconds (112.345966 seconds wall time), including the four D0 gradient +regressions. All 21 archive comparisons, the 1% sensitivity check, and both new +empty-surface regressions passed. The 120-second acceptance gate passed. Pytest +reported one existing plugin zero-direction `RuntimeWarning`. + +The test harness batches surface queries and reuses sampled grid values. No production +evaluation behavior changed, and the reference archives remain unchanged from +baseline `ddc333ea`. The scoped sensitivity patch and surface recording restore patched methods. +The surface summary checks preserve the original mask, finite bounds, and +fallback behavior. + +Faulted-gradient NaN/exact-fault-plane inputs are intentionally excluded +because the legacy refinement loop can continue refining without bound. +Finite faulted-gradient regression coverage remains in +`tests/unit/modelling/test_faulted_gradient_output.py`. diff --git a/tests/fault_evaluation/models.py b/tests/fault_evaluation/models.py new file mode 100644 index 000000000..310ad0cc9 --- /dev/null +++ b/tests/fault_evaluation/models.py @@ -0,0 +1,458 @@ +"""Deterministic fixed-field models used by the fault evaluation suite.""" + +from __future__ import annotations + +import importlib.util +import json +from pathlib import Path +from typing import Any + +import numpy as np +import pandas as pd + +from LoopStructural import GeologicalModel +from LoopStructural.datasets import load_noddy_single_fold +from LoopStructural.geometry import BoundingBox +from LoopStructural.modelling.core.stratigraphic_column import StratigraphicColumn +from LoopStructural.modelling.features.fold.fold_function import ( + FoldRotationType, + get_fold_rotation_profile, +) + +_HERE = Path(__file__).parent +_DATA = _HERE / "data" +_RECIPES = json.loads((_DATA / "recipes.json").read_text(encoding="utf8")) +_SYNTHETIC = _RECIPES["synthetic"] +_SPECIAL = ("stopped_fault", "cutting_faults", "onlap_domain", "faulted_fold") +_FIELD_FILE = _DATA / "fields.npz" + + +def model_names() -> list[str]: + """Return the fixed catalogue in baseline order.""" + return [ + f"f{faults}_u{unconformities}" + for faults in _SYNTHETIC["faults"] + for unconformities in _SYNTHETIC["unconformities"] + ] + [*_SPECIAL, "plugin"] + + +def _rows(fault_count: int, unconformity_count: int) -> pd.DataFrame: + rng = np.random.default_rng(_SYNTHETIC["seed"]) + rows: list[dict[str, Any]] = [] + for i in range(fault_count): + x = 150 + 700 * (i + 0.5) / max(fault_count, 1) + name = f"fault_{i}" + for y in (100.0, 500.0, 900.0): + rows.append({"X": x, "Y": y, "Z": -500.0, "val": 0.0, "feature_name": name}) + rows.append( + { + "X": x, + "Y": 500.0, + "Z": -500.0, + "gx": 1.0, + "gy": 0.2 * i, + "gz": 0.0, + "feature_name": name, + } + ) + for k in range(unconformity_count + 1): + name, tilt = f"group_{k}", 0.05 * k + for value in (0.0, 50.0, 100.0): + xy = rng.random((30, 2)) * 1000 + z = -900 + 150 * k + value + tilt * xy[:, 0] + for (x, y), zz in zip(xy, z): + rows.append({"X": x, "Y": y, "Z": zz, "val": value, "feature_name": name}) + rows.append( + { + "X": 500.0, + "Y": 500.0, + "Z": -900 + 150 * k, + "gx": -tilt, + "gy": 0.0, + "gz": 1.0, + "feature_name": name, + } + ) + return pd.DataFrame(rows) + + +def _builders(feature: Any) -> list[Any]: + """Return the real builders owned by a feature or its coordinates once.""" + result: list[Any] = [] + seen: set[int] = set() + for coordinate in list(getattr(feature, "features", None) or []) + [feature]: + owner = getattr(coordinate, "builder", None) + for builder in list(getattr(owner, "builders", None) or [owner]): + if builder is not None and id(builder) not in seen: + seen.add(id(builder)) + result.append(builder) + return result + + +def _load_plugin() -> GeologicalModel: + path = ( + _HERE.parent.parent + / "specs" + / "003-fault-evaluation-performance" + / "data" + / "plugin_model" + / "plugin_model.py" + ) + spec = importlib.util.spec_from_file_location("_fault_evaluation_plugin_model", path) + if spec is None or spec.loader is None: + raise ImportError(f"Cannot load supplied plugin builder at {path}") + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module.build_model() + + +def _build_recipe(name: str, *, solve: bool = False) -> GeologicalModel: + if name == "plugin": + return _load_plugin() + special = name in _SPECIAL + if special: + fault_count = int(_RECIPES["special"][name].get("faults", 0)) + unconformity_count = int(_RECIPES["special"][name].get("unconformities", 0)) + else: + fault_count, unconformity_count = int(name[1]), int(name.rsplit("_u", 1)[1]) + origin, maximum = np.array(_SYNTHETIC["origin"]), np.array(_SYNTHETIC["maximum"]) + if name == "faulted_fold": + _, bounds = load_noddy_single_fold() + origin, maximum = bounds[0].copy(), bounds[1].copy() + if name in ("cutting_faults", "faulted_fold"): + # Keep model coordinates in world space for nested fault-frame builds + # and the folded Noddy frame. The builder validates the frame by + # restoring a buffered local grid; a translated frame would translate + # that grid a second time. + box = BoundingBox(origin, maximum) + box.set_local_transform( + local_origin=np.asarray(_RECIPES["special"][name]["local_origin"], dtype=float) + ) + model = GeologicalModel(box) + else: + model = GeologicalModel(origin, maximum) + data = _rows(fault_count, unconformity_count) + if name == "faulted_fold": + fold_data, _ = load_noddy_single_fold() + # Preserve ``coord``: the shipped dataset uses it for two s1 frame + # constraints, while s0 values are supplied through other columns. + fold_data["feature_name"] = fold_data["feature_name"].replace( + {"s1": "fold_frame", "s0": "folded_unit"} + ) + # The supplied dataset has validated coordinate and orientation constraints. + # Add a fault trace and dip measurement inside its recorded box. + fault_x = float(_RECIPES["special"][name]["fault_x"]) + fault_rows = [ + {"X": fault_x, "Y": y, "Z": 7500.0, "val": 0.0, "coord": 0, "feature_name": "fault_0"} + for y in (1000.0, 3500.0, 6000.0) + ] + fault_rows.append( + { + "X": fault_x, + "Y": 3500.0, + "Z": 7500.0, + "gx": 1.0, + "gy": 0.0, + "gz": 0.0, + "coord": 0, + "feature_name": "fault_0", + } + ) + group_rows = [] + rng = np.random.default_rng(31) + for value in (0.0, 50.0, 100.0): + xy = rng.uniform(origin[:2], maximum[:2], (40, 2)) + z = origin[2] + 500 + value + 0.05 * (xy[:, 0] - origin[0]) + group_rows.extend( + {"X": x, "Y": y, "Z": zz, "val": value, "feature_name": "group_0"} + for (x, y), zz in zip(xy, z) + ) + data = pd.concat( + (fold_data, pd.DataFrame(fault_rows + group_rows)), ignore_index=True, sort=False + ) + if name == "onlap_domain": + rng = np.random.default_rng(29) + rows = [] + for value in (0.0, 50.0, 100.0): + xy = rng.uniform(0, 1000, (40, 2)) + rows.extend( + { + "X": x, + "Y": y, + "Z": -800 + value + 0.12 * x, + "val": value, + "feature_name": "domain_surface", + } + for x, y in xy + ) + data = pd.concat((data, pd.DataFrame(rows)), ignore_index=True) + model.data = data + fault_names = [f"fault_{i}" for i in range(fault_count)] + groups = [] + if name == "onlap_domain": + # The domain-fault factory reads model.data directly. Prepare the raw + # measurements first so absent normal and vector columns are NaN. + # Add it before fault_0: its mask then has no dependency on a fault + # that the domain surface would later crop. + model.data = model.prepare_data(model.data) + model.create_and_add_domain_fault("domain_surface", nelements=_SYNTHETIC["nelements"]) + if name == "stopped_fault": + younger = model.create_and_add_foliation("group_0", nelements=_SYNTHETIC["nelements"]) + groups.append(younger) + horizon = model.add_unconformity(younger, 100.0) + if fault_names: + model.create_and_add_fault( + fault_names[0], _SYNTHETIC["fault_displacement"], nelements=_SYNTHETIC["nelements"] + ) + groups.append(model.create_and_add_foliation("group_1", nelements=_SYNTHETIC["nelements"])) + else: + for i, fault in enumerate(fault_names): + kwargs = {"nelements": _SYNTHETIC["nelements"]} + if name == "cutting_faults" and i: + kwargs["faults"] = [model.get_feature_by_name("fault_0")] + if name == "faulted_fold": + kwargs["fault_center"] = _RECIPES["special"][name]["fault_center"] + model.create_and_add_fault(fault, _SYNTHETIC["fault_displacement"], **kwargs) + for k in range(unconformity_count + 1): + feature = model.create_and_add_foliation( + f"group_{k}", nelements=_SYNTHETIC["nelements"] + ) + groups.append(feature) + if k < unconformity_count: + if name == "onlap_domain": + model.add_onlap_unconformity(feature, 100.0) + else: + model.add_unconformity(feature, 100.0) + if name == "faulted_fold": + frame = model.create_and_add_fold_frame("fold_frame", nelements=_SYNTHETIC["nelements"]) + folded = model.create_and_add_folded_foliation( + "folded_unit", + fold_frame=frame, + nelements=_SYNTHETIC["nelements"], + fold_axis=_RECIPES["special"][name]["fold_axis"], + limb_wl=_RECIPES["special"][name]["limb_wavelength"], + ) + # Declare two real scalar intervals for each feature group. Add them in + # reverse group order because StratigraphicColumn.get_groups() reads the + # column from the top back toward the oldest group. + column = StratigraphicColumn() + column.clear(basement=False) + stratigraphy = _RECIPES["synthetic"]["stratigraphic_column"] + unit_intervals: list[tuple[Any, float, float]] = [] + for k in reversed(range(unconformity_count + 1)): + if k == 0 and unconformity_count: + bounds_key = "onlap_youngest" if name == "onlap_domain" else "erosional_youngest" + bounds = stratigraphy[bounds_key] + elif k == 0: + bounds = stratigraphy["default"] + else: + low, high = stratigraphy["older_outer"] + contact = stratigraphy["older_contact_origin"] + ( + stratigraphy["older_contact_per_index"] * k + ) + bounds = [low, contact, high] + low, contact, high = map(float, bounds) + # Reverse insertion order so each group's `units` list is low then high. + high_unit = column.add_unit(f"unit_{k}_high", thickness=high - contact) + low_unit = column.add_unit(f"unit_{k}_low", thickness=contact - low) + unit_intervals.extend(((high_unit, contact, high), (low_unit, low, contact))) + if k > 0: + column.add_unconformity(f"unconformity_{k}") + # add_unit/add_unconformity recalculate cumulative thickness, so install + # the declared scalar bounds only after the order is complete. + for unit, minimum, maximum_value in unit_intervals: + unit.min_value = minimum + unit.max_value = maximum_value + column.group_mapping.update({f"Group_{k}": f"group_{k}" for k in range(unconformity_count + 1)}) + model.stratigraphic_column = column + # Match the plugin loading contract: attach each builder's fault list only + # after all relationships have been constructed. The normal path never solves. + for feature in model.features: + for builder in _builders(feature): + if hasattr(builder, "_feature") and hasattr(builder, "faults"): + builder._feature.faults = builder.faults + if solve: + if name == "faulted_fold": + recipe = _RECIPES["special"][name] + frame.builder.up_to_date() + folded.builder.set_fold_axis() + angles, coordinates = folded.builder.calculate_fold_limb_rotation_angle() + profile = get_fold_rotation_profile( + folded.builder.limb_profile_type, angles, coordinates + ) + profile.fit( + params={ + "wavelength": recipe["limb_wavelength"], + "calculate_wavelength": recipe["calculate_wavelength"], + } + ) + folded.fold.fold_limb_rotation = profile + profile.add_observer(folded.builder) + model.update() + return model + + +def _interpolated_features(model: GeologicalModel) -> list[tuple[Any, Any]]: + """Return each real feature-coordinate field and its owning builder once.""" + result = [] + seen: set[int] = set() + for feature in model.features: + candidates = list(getattr(feature, "features", None) or []) + [feature] + for coordinate in candidates: + builder = getattr(coordinate, "builder", None) + if builder is None or not hasattr(builder, "interpolator") or id(builder) in seen: + continue + if not hasattr(builder.interpolator, "support"): + continue + seen.add(id(builder)) + result.append((coordinate, builder)) + return result + + +def _field_key(name: str, feature: Any) -> str: + return f"{name}::{feature.name}" + + +def _apply_fields(model: GeologicalModel, name: str, archive: Any) -> None: + metadata = json.loads(str(archive["__metadata__"])) + for feature, builder in _interpolated_features(model): + key = _field_key(name, feature) + if key not in metadata: + raise KeyError(f"Stored field missing for {key}") + info = metadata[key] + support = builder.interpolator.support + if info["support_type"] != type(support).__name__: + raise TypeError(f"Stored support type differs for {key}") + support._origin = np.asarray(info["origin"], dtype=float) + support._step_vector = np.asarray(info["step_vector"], dtype=float) + support._nsteps = np.asarray(info["nsteps"], dtype=np.int64) + if hasattr(support, "rotation_xy"): + support.rotation_xy = np.asarray(info["rotation_xy"], dtype=float) + support.onGeometryChange() + builder.interpolator.c = archive[key] + builder.interpolator.up_to_date = info["interpolator_up_to_date"] + builder._up_to_date = info["builder_up_to_date"] + for feature in model.features: + if getattr(feature, "builder", None) is not None: + feature.builder._up_to_date = True + fold_key = f"{name}::__fold_events__" + if fold_key in metadata: + profiles = { + profile.__name__: profile + for profile in ( + FoldRotationType.FOURIER_SERIES.value, + FoldRotationType.TRIGONOMETRIC.value, + ) + } + for event_info in metadata[fold_key]["events"]: + feature = model.get_feature_by_name(event_info["feature"]) + fold = feature.fold + fold.fold_axis = ( + None if event_info["fold_axis"] is None else np.asarray(event_info["fold_axis"]) + ) + fold.invert_norm = bool(event_info["invert_norm"]) + for attribute in ("fold_axis_rotation", "fold_limb_rotation"): + profile_info = event_info.get(attribute) + if profile_info is None: + setattr(fold, attribute, None) + continue + profile_type = profiles[profile_info["type"]] + rotation_type = next( + item for item in FoldRotationType if item.value is profile_type + ) + profile = get_fold_rotation_profile( + rotation_type, + np.asarray(profile_info["rotation_angle"], dtype=float), + np.asarray(profile_info["fold_frame_coordinate"], dtype=float), + ) + profile.update_params(list(profile_info["params"].values())) + profile.evaluation_points = np.asarray( + profile_info["evaluation_points"], dtype=float + ) + setattr(fold, attribute, profile) + profile.add_observer(feature.builder) + + +def _save_solved_fields(path: Path = _FIELD_FILE) -> None: + """Internal one-time helper: solve each recipe and freeze its grid and coefficients.""" + arrays: dict[str, Any] = {} + metadata: dict[str, Any] = {} + for name in model_names(): + model = _build_recipe(name, solve=True) + if name == "plugin": + # The supplied plugin loader consumes its original, immutable archive. + continue + for feature, builder in _interpolated_features(model): + interp = builder.interpolator + key = _field_key(name, feature) + arrays[key] = np.asarray(interp.c) + metadata[key] = { + "support_type": type(interp.support).__name__, + "origin": np.asarray(interp.support.origin).tolist(), + "step_vector": np.asarray(interp.support.step_vector).tolist(), + "nsteps": np.asarray(interp.support.nsteps).tolist(), + "rotation_xy": np.asarray( + getattr(interp.support, "rotation_xy", np.eye(3)) + ).tolist(), + "builder_up_to_date": bool(builder._up_to_date), + "interpolator_up_to_date": bool(interp.up_to_date), + } + if name == "faulted_fold": + folds = [] + for feature in model.features: + fold = getattr(feature, "fold", None) + if fold is not None: + + def profile_state(profile: Any) -> dict[str, Any] | None: + if profile is None: + return None + return { + "type": type(profile).__name__, + "rotation_angle": np.asarray(profile.rotation_angle).tolist(), + "fold_frame_coordinate": np.asarray( + profile.fold_frame_coordinate + ).tolist(), + "params": {key: float(value) for key, value in profile.params.items()}, + "evaluation_points": np.asarray(profile.evaluation_points).tolist(), + } + + folds.append( + { + "feature": feature.name, + "frame": fold.foldframe.name, + "name": fold.name, + "fold_axis": ( + None + if fold.fold_axis is None + else np.asarray(fold.fold_axis).tolist() + ), + "invert_norm": bool(fold.invert_norm), + "fold_axis_rotation": profile_state(fold.fold_axis_rotation), + "fold_limb_rotation": profile_state(fold.fold_limb_rotation), + } + ) + metadata[f"{name}::__fold_events__"] = {"events": folds} + arrays["__metadata__"] = np.asarray(json.dumps(metadata)) + np.savez_compressed(path, **arrays) + + +def build_model(name: str) -> GeologicalModel: + """Create a model and load its saved fields without running any solver.""" + if name not in model_names(): + raise ValueError(f"Unknown fault evaluation model {name!r}") + model = _build_recipe(name) + if name == "plugin": + return model + if not _FIELD_FILE.exists(): + raise FileNotFoundError(f"Golden field archive is missing: {_FIELD_FILE}") + with np.load(_FIELD_FILE) as archive: + _apply_fields(model, name, archive) + return model + + +def sample_points(name: str, count: int, seed: int = 1) -> np.ndarray: + """Return deterministic uniform points within the named model box.""" + model = build_model(name) + rng = np.random.default_rng(seed) + box = model.bounding_box + return rng.random((count, 3)) * (box.maximum - box.origin) + box.origin diff --git a/tests/fault_evaluation/regenerate.py b/tests/fault_evaluation/regenerate.py new file mode 100644 index 000000000..ad5f4a21a --- /dev/null +++ b/tests/fault_evaluation/regenerate.py @@ -0,0 +1,360 @@ +"""Validate or explicitly regenerate frozen fault-evaluation references.""" + +from __future__ import annotations + +import argparse +import hashlib +import json +import platform +import subprocess +import sys +from pathlib import Path +from typing import Any + +import numpy as np +import scipy +import LoopStructural + +from tests.fault_evaluation.golden import capture +from tests.fault_evaluation.models import build_model, model_names, sample_points + +REFERENCE_DIR = Path(__file__).parent / "data" +_PROVENANCE = { + "prerequisite_parent_revision": "b22517f984971b98f6d039f3dd3cde0b31b7600d", + "prerequisite_fix_revision": "e9b72293de32344b7fe486bb24338c4efcd37cc8", +} + + +def _revision() -> str: + try: + return subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=Path(__file__).parents[2], text=True + ).strip() + except (OSError, subprocess.CalledProcessError): + return "unknown" + + +def _hash(path: Path) -> str: + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def _source_paths() -> dict[str, Path]: + root = Path(__file__).parents[2] + paths = { + "golden.py": Path(__file__).with_name("golden.py"), + "regenerate.py": Path(__file__), + "models.py": Path(__file__).with_name("models.py"), + "recipes.json": REFERENCE_DIR / "recipes.json", + "fields.npz": REFERENCE_DIR / "fields.npz", + "geological_feature.py": root / "LoopStructural/modelling/features/_geological_feature.py", + "base_geological_feature.py": root + / "LoopStructural/modelling/features/_base_geological_feature.py", + "geological_model.py": root / "LoopStructural/modelling/core/geological_model.py", + "structured_grid.py": root + / "packages/loop_common/src/loop_common/supports/_3d_structured_grid.py", + } + for source_root in ( + root / "LoopStructural", + root / "packages/loop_common/src", + root / "packages/loop_interpolation/src", + ): + if source_root.is_dir(): + for path in source_root.rglob("*.py"): + paths[str(path.relative_to(root)).replace("\\", "/")] = path + return paths + + +def _source_hashes() -> dict[str, str]: + return { + name: _hash(path) if path.is_file() else "missing" for name, path in _source_paths().items() + } + + +def _git_status() -> str: + try: + return subprocess.check_output( + ["git", "status", "--short"], cwd=Path(__file__).parents[2], text=True + ).strip() + except (OSError, subprocess.CalledProcessError): + return "unavailable" + + +def _plugin_hashes() -> dict[str, str]: + plugin_dir = ( + Path(__file__).parents[2] / "specs/003-fault-evaluation-performance/data/plugin_model" + ) + return {path.name: _hash(path) for path in sorted(plugin_dir.glob("*")) if path.is_file()} + + +def _load(path: Path) -> dict[str, np.ndarray]: + with np.load(path, allow_pickle=False) as archive: + return {key: archive[key].copy() for key in archive.files} + + +def _box_size(model: Any) -> float: + box = model.bounding_box + return float(np.max(np.asarray(box.maximum) - np.asarray(box.origin))) + + +def _array_summary(key: str, value: np.ndarray) -> dict[str, Any]: + """Return readable statistics for one captured array.""" + array = np.asarray(value) + finite = np.isfinite(array) + finite_values = array[finite] + summary: dict[str, Any] = { + "shape": list(array.shape), + "dtype": str(array.dtype), + "finite_count": int(np.count_nonzero(finite)), + "nan_count": int(np.count_nonzero(np.isnan(array))), + "posinf_count": int(np.count_nonzero(np.isposinf(array))), + "neginf_count": int(np.count_nonzero(np.isneginf(array))), + "finite_min": float(np.min(finite_values)) if finite_values.size else None, + "finite_max": float(np.max(finite_values)) if finite_values.size else None, + } + if key == "model_ids": + values, counts = np.unique(array, return_counts=True) + summary["histogram"] = { + str(value.item() if isinstance(value, np.generic) else value): int(count) + for value, count in zip(values, counts) + } + if key.startswith("surface::"): + summary["values"] = array.tolist() + return summary + + +def _manifest() -> dict[str, Any]: + return { + "schema_version": 1, + "provenance": { + **_PROVENANCE, + "baseline_revision": _revision(), + "baseline_dirty": bool(_git_status()), + "dirty_details": _git_status(), + "field_generation_revision": "0a7930e2", + "source_hashes": _source_hashes(), + "input_hashes": _plugin_hashes(), + }, + "dependencies": { + "python": platform.python_version(), + "numpy": np.__version__, + "scipy": scipy.__version__, + "LoopStructural": getattr(LoopStructural, "__version__", "unknown"), + "platform": platform.platform(), + }, + "seeds": {"interior": 1, "count": 128}, + "point_recipe": { + "candidate_seed_offset": 1701, + "candidate_count": 2048, + "feature_offset_fraction": 1e-4, + "categories": [ + "interior", + "box_faces", + "fault_surfaces", + "unit_boundaries", + "unconformities", + ], + }, + "models": {}, + } + + +def _validate() -> int: + manifest_path = REFERENCE_DIR / "manifest.json" + if not manifest_path.is_file(): + return 1 + try: + manifest = json.loads(manifest_path.read_text(encoding="utf8")) + for name in model_names(): + path = REFERENCE_DIR / f"{name}.npz" + entry = manifest["models"][name] + if not path.is_file() or _hash(path) != entry["sha256"]: + return 1 + model = build_model(name) + expected = _load(path) + actual = capture(model, expected["points"]) + assert_matches(name, actual, expected, _box_size(model)) + except Exception: + return 1 + return 0 + + +def assert_matches( + name: str, actual: dict[str, np.ndarray], expected: dict[str, np.ndarray], box_size: float +) -> None: + """Imported lazily here to keep the public module API convenient.""" + from tests.fault_evaluation.golden import assert_matches as compare + + compare(name, actual, expected, box_size) + + +def main(argv: list[str] | None = None) -> int: + """Validate references by default; write files only with explicit --write.""" + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument( + "--write", action="store_true", help="write reference archives and manifest" + ) + args = parser.parse_args(argv) + if not args.write: + return _validate() + + manifest_path = REFERENCE_DIR / "manifest.json" + if manifest_path.is_file(): + old = json.loads(manifest_path.read_text(encoding="utf8")) + old_hashes = old.get("provenance", {}).get("source_hashes") + old_inputs = old.get("provenance", {}).get("input_hashes") + if (old_hashes and old_hashes != _source_hashes()) or ( + old_inputs and old_inputs != _plugin_hashes() + ): + raise RuntimeError( + "Source hashes differ from the frozen baseline; refusing to replace references" + ) + REFERENCE_DIR.mkdir(parents=True, exist_ok=True) + + manifest = _manifest() + for name in model_names(): + print(f"Capturing golden outputs: {name}", flush=True) + model = build_model(name) + points, point_categories = _reference_points(model, name, 128, seed=1) + points_path = REFERENCE_DIR / f"{name}.npz" + outputs = capture(model, points) + np.savez_compressed(points_path, **outputs) + manifest["models"][name] = { + "sha256": _hash(points_path), + "point_count": int(len(points)), + "point_categories": point_categories, + "box_size": _box_size(model), + "transform": np.asarray( + getattr(model.bounding_box, "_world_to_local", np.eye(4)) + ).tolist(), + "surface_levels": sorted( + { + key.split("@", 1)[1].split("::", 1)[0] + for key in outputs + if key.startswith("surface::") + } + ), + "summary": {key: _array_summary(key, value) for key, value in outputs.items()}, + } + manifest_path.write_text(json.dumps(manifest, indent=2, sort_keys=True) + "\n", encoding="utf8") + return 0 + + +def _reference_points( + model: Any, name: str, count: int, seed: int +) -> tuple[np.ndarray, dict[str, int]]: + """Add deterministic near-feature and near-boundary samples to interior points.""" + interior = np.asarray(sample_points(name, count, seed=seed), dtype=float) + box = model.bounding_box + origin = np.asarray(box.origin, dtype=float) + maximum = np.asarray(box.maximum, dtype=float) + size = float(np.max(maximum - origin)) + offset = max(size * 1e-4, np.finfo(float).eps) + faces = [] + for axis in range(3): + for side, coordinate in ((0, origin[axis] + offset), (1, maximum[axis] - offset)): + point = origin + (maximum - origin) * np.array([0.413, 0.537, 0.619]) + point[axis] = coordinate + faces.append(point) + category_points: dict[str, list[np.ndarray]] = { + "interior": list(interior), + "box_faces": faces, + "fault_surfaces": [], + "unit_boundaries": [], + "unconformities": [], + } + rng = np.random.default_rng(seed + 1701) + candidates = rng.random((2048, 3)) * (maximum - origin) + origin + + def near_level(feature: Any, level: float) -> list[np.ndarray]: + values = np.asarray(feature.evaluate_value(candidates), dtype=float).reshape(-1) + finite = np.isfinite(values) + if not np.any(finite): + return [] + indices = np.flatnonzero(finite) + chosen = indices[np.argsort(np.abs(values[finite] - level))[:4]] + output = [] + for index in chosen: + point = candidates[index].copy() + for _ in range(10): + value = float(np.asarray(feature.evaluate_value(point[None, :])).reshape(-1)[0]) + if not np.isfinite(value): + break + gradient = _value_gradient(feature, point, size) + norm_sq = float(np.dot(gradient, gradient)) + if not np.isfinite(norm_sq) or norm_sq <= 0: + break + step = ((value - level) / norm_sq) * gradient + step_norm = np.linalg.norm(step) + if step_norm > size * 0.25: + step *= size * 0.25 / step_norm + point = np.clip(point - step, origin, maximum) + if abs(value - level) <= max(1e-8 * max(abs(level), 1.0), 1e-8): + break + final_value = float(np.asarray(feature.evaluate_value(point[None, :])).reshape(-1)[0]) + if not np.isfinite(final_value) or abs(final_value - level) > max( + 1e-5 * max(abs(level), 1.0), 1e-5 + ): + continue + gradient = _value_gradient(feature, point, size) + norm = np.linalg.norm(gradient) + if not np.isfinite(norm) or norm == 0: + continue + direction = gradient / norm + output.extend( + ( + np.clip(point + direction * offset, origin, maximum), + np.clip(point - direction * offset, origin, maximum), + ) + ) + return output + + column = getattr(model, "stratigraphic_column", None) + groups = ( + list(column.get_groups()) if column is not None and hasattr(column, "get_groups") else [] + ) + for group in groups: + feature = next( + (item for item in model.features if getattr(item, "name", None) == group.name), None + ) + if feature is None: + continue + for unit in group.units: + for level in (unit.min(), unit.max()): + if np.isfinite(level): + found = near_level(feature, float(level)) + category_points["unit_boundaries"].extend(found) + for unconformity in model.features: + value = getattr(unconformity, "value", None) + parent = getattr(unconformity, "parent", None) + if value is not None and parent is not None: + category_points["unconformities"].extend(near_level(unconformity, float(value))) + for fault in getattr(model, "faults", []): + found = near_level(fault[0], 0.0) + category_points["fault_surfaces"].extend(found) + combined = np.vstack( + [np.asarray(items, dtype=float).reshape(-1, 3) for items in category_points.values()] + ) + rounded = np.round(combined, decimals=10) + _, indices = np.unique(rounded, axis=0, return_index=True) + selected = np.sort(indices) + selected_keys = {tuple(row) for row in rounded[selected]} + categories = { + category: len({tuple(np.round(point, decimals=10)) for point in items} & selected_keys) + for category, items in category_points.items() + } + return combined[selected], categories + + +def _value_gradient(feature: Any, point: np.ndarray, box_size: float) -> np.ndarray: + """Estimate a scalar field direction using values only, without legacy refinement.""" + step = max(box_size * 1e-5, np.finfo(float).eps * 100) + samples = np.repeat(np.asarray(point, dtype=float)[None, :], 6, axis=0) + for axis in range(3): + samples[2 * axis, axis] += step + samples[2 * axis + 1, axis] -= step + values = np.asarray(feature.evaluate_value(samples), dtype=float).reshape(-1) + return np.asarray([(values[2 * axis] - values[2 * axis + 1]) / (2 * step) for axis in range(3)]) + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tests/fault_evaluation/test_acceptance.py b/tests/fault_evaluation/test_acceptance.py new file mode 100644 index 000000000..5c95a2812 --- /dev/null +++ b/tests/fault_evaluation/test_acceptance.py @@ -0,0 +1,760 @@ +"""Contract tests for numerical performance acceptance reporting (schema v1). + +The acceptance check reads a base and a new schema v1 result document. It +reports one row for each target SC-002 to SC-009. A failed target is a +failure of the whole result. It is never a warning. +""" + +from __future__ import annotations + +import copy +import importlib + +import pytest + +ACCEPTANCE_MODULE = "benchmarks.fault_evaluation.acceptance" +GRADIENT_RULE = "op1-one-restoration-per-fault-set-and-point-batch" +CRITERIA = ( + "SC-002", + "SC-003", + "SC-004", + "SC-005", + "SC-006", + "SC-007", + "SC-008", + "SC-009", +) +LIMITS = { + "SC-002": 0.40, + "SC-003": 0.15, + "SC-004": 1.5, + "SC-005": 0.50, + "SC-006": 1.20, + "SC-007": 1.10, + "SC-008": 900.0, + "SC-009": 0.50, +} + +# Case ids of the cases that the targets use. The id format matches run.py. +OLD_F4U3 = "f4_u3:oldest_value:5000:cold" +ALL_F4U3 = "f4_u3:all_group_values:5000:cold" +ALL_F4U0 = "f4_u0:all_group_values:5000:cold" +# SC-003 count and SC-004 use one evaluate_model call with model_ids (spec C-017). +IDS_F4U3 = "f4_u3:model_ids:5000:cold" +IDS_F4U0 = "f4_u0:model_ids:5000:cold" +PLUGIN_OLD = "plugin:oldest_value:20000:cold" +SINGLE_F1U0 = "f1_u0:oldest_value:20000:cold" + +# Row fields: model, operation, points, state, median seconds, fault calls, +# fault points, peak extra RSS bytes. +BASE_ROWS = [ + ("f4_u3", "oldest_value", 5000, "cold", 2.5, 16, 5000, 1_000_000), + ("f4_u3", "all_group_values", 5000, "cold", 8.65, 52, 5000, 1_000_000), + ("f4_u0", "all_group_values", 5000, "cold", 0.67, 12, 5000, 1_000_000), + # The model_ids rows have no memory value, so SC-006 does not compare them. + # The f4_u0 baseline time is 1.2 s, so SC-007 checks it and it is not a short case. + ("f4_u3", "model_ids", 5000, "cold", 6.34, 52, 5000, None), + ("f4_u0", "model_ids", 5000, "cold", 1.2, 12, 5000, None), + ("plugin", "oldest_value", 20000, "cold", 8.2, 6, 20000, 1_000_000), + ("f1_u0", "oldest_value", 20000, "cold", 0.68, 2, 20000, 500_000), +] +NEW_ROWS = [ + ("f4_u3", "oldest_value", 5000, "cold", 1.0, 4, 5000, 1_000_000), + ("f4_u3", "all_group_values", 5000, "cold", 1.0, 4, 5000, 1_000_000), + ("f4_u0", "all_group_values", 5000, "cold", 0.8, 4, 5000, 1_000_000), + ("f4_u3", "model_ids", 5000, "cold", 0.2, 4, 5000, None), + ("f4_u0", "model_ids", 5000, "cold", 0.2, 4, 5000, None), + ("plugin", "oldest_value", 20000, "cold", 3.0, 6, 20000, 1_000_000), + ("f1_u0", "oldest_value", 20000, "cold", 0.2, 2, 20000, 500_000), +] + + +def _api(module_name: str, name: str): + """Import a focused API and report an actionable absent-tool failure.""" + try: + module = importlib.import_module(module_name) + except ModuleNotFoundError as error: + if error.name == module_name or module_name.startswith(f"{error.name}."): + pytest.fail(f"{module_name}.{name} is required by D2; acceptance reporting is missing") + raise + value = getattr(module, name, None) + assert value is not None, f"{module_name}.{name} is required by D2" + return value + + +def _check_acceptance(): + """Return the check_acceptance API or fail with a message that names it.""" + return _api(ACCEPTANCE_MODULE, "check_acceptance") + + +def _provenance(**overrides) -> dict: + """Return a complete schema v1 provenance block with optional overrides.""" + provenance = { + "python": "3.11.9", + "numpy": "2.1.0", + "scipy": "1.14.0", + "loopstructural": "2.0.0", + "os": "test", + "cpu": "test cpu", + "ram_bytes": 1_000_000, + } + provenance.update(overrides) + return provenance + + +def _case(row: tuple, code_revision: str) -> dict: + """Return one complete schema v1 case row from a fixed test row.""" + model, operation, points, state, median, calls, fault_points, rss = row + return { + "case_id": f"{model}:{operation}:{points}:{state}", + "model": model, + "operation": operation, + "points": points, + "state": state, + "rounds": 1, + "time_samples_seconds": [median], + "median_seconds": median, + "fault_calls_total": calls, + "fault_calls_top_level": 1, + "field_calls_total": 3, + "fault_points_total": fault_points, + "field_points_total": 7, + "peak_extra_rss_bytes": rss, + "rss_unit": "bytes", + "code_revision": code_revision, + "dirty": False, + "prerequisite_parent_revision": "parent", + "prerequisite_fix_revision": "fix", + "baseline_revision": "baseline", + "input_hash": "0" * 64, + } + + +def _document(rows: list[tuple], code_revision: str, **provenance_overrides) -> dict: + """Return a complete schema v1 result document for the given rows.""" + return { + "schema_version": 1, + "cases": [_case(row, code_revision) for row in rows], + "provenance": _provenance(**provenance_overrides), + "pytest_benchmark": {"raw": {"stats": {"mean": 2.0}}}, + } + + +def _compliant_pair() -> tuple[dict, dict]: + """Return a base and a new document that meet every target. + + The new document also has the extra inputs of the acceptance check: + a repeat run (SC-007), the suite wall time (SC-008) and the gradient + decision (OP1). + """ + base = _document(BASE_ROWS, "baseline-rev") + new = _document(NEW_ROWS, "new-rev") + repeat = copy.deepcopy(new) + for row in repeat["cases"]: + row["median_seconds"] *= 1.05 + row["time_samples_seconds"] = [row["median_seconds"]] + new["repeat"] = repeat + new["suite_wall_seconds"] = 600.0 + new["gradient_decision"] = GRADIENT_RULE + return base, new + + +def _row(document: dict, case_id: str) -> dict: + """Return the row of one case id in a document.""" + rows = {row["case_id"]: row for row in document["cases"]} + return rows[case_id] + + +def _set(document: dict, case_id: str, **fields) -> None: + """Set fields of one case row in place.""" + _row(document, case_id).update(fields) + + +def test_compliant_pair_passes_every_target(): + """A pair that meets SC-002 to SC-009 passes, and each target has its limit.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + result = check_acceptance(base, new) + assert result["passed"] is True + assert set(result["criteria"]) == set(CRITERIA) + for criterion in CRITERIA: + row = result["criteria"][criterion] + assert row["passed"] is True, criterion + assert row["limit"] == pytest.approx(LIMITS[criterion]), criterion + assert row["reason"] is None, criterion + + +@pytest.mark.parametrize( + "criterion,mutate", + [ + pytest.param( + "SC-002", + lambda base, new: _set(new, OLD_F4U3, median_seconds=1.01), + id="SC-002-time-over-limit", + ), + pytest.param( + "SC-002", + lambda base, new: _set(new, OLD_F4U3, fault_calls_total=5), + id="SC-002-calls-not-four", + ), + pytest.param( + "SC-003", + lambda base, new: _set(new, ALL_F4U3, median_seconds=1.3), + id="SC-003-time-over-limit", + ), + pytest.param( + "SC-003", + lambda base, new: _set(new, IDS_F4U3, fault_calls_total=5), + id="SC-003-calls-not-four", + ), + pytest.param( + "SC-004", + lambda base, new: _set(new, IDS_F4U0, median_seconds=0.1), + id="SC-004-ratio-over-limit", + ), + pytest.param( + "SC-005", + lambda base, new: _set(new, PLUGIN_OLD, median_seconds=4.2), + id="SC-005-time-over-limit", + ), + pytest.param( + "SC-006", + lambda base, new: ( + _set(base, OLD_F4U3, peak_extra_rss_bytes=100_000_000), + _set(new, OLD_F4U3, peak_extra_rss_bytes=120_000_001), + ), + id="SC-006-memory-over-limit", + ), + pytest.param( + "SC-007", + lambda base, new: _set(new["repeat"], ALL_F4U3, median_seconds=1.2), + id="SC-007-noise-over-limit", + ), + pytest.param( + "SC-008", + lambda base, new: new.update(suite_wall_seconds=900.0), + id="SC-008-suite-not-under-900s", + ), + pytest.param( + "SC-009", + lambda base, new: _set(new, SINGLE_F1U0, median_seconds=0.35), + id="SC-009-per-point-over-limit", + ), + ], +) +def test_each_failed_target_fails_the_whole_result(criterion, mutate): + """Each target that is not met fails its row and the overall result, with a reason.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + mutate(base, new) + result = check_acceptance(base, new) + assert result["criteria"][criterion]["passed"] is False + assert result["criteria"][criterion]["reason"] + assert result["passed"] is False + + +def test_target_limit_is_inclusive_for_sc_002(): + """A ratio exactly at the SC-002 limit (0.40) passes.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new, OLD_F4U3, median_seconds=1.0) + result = check_acceptance(base, new) + assert result["criteria"]["SC-002"]["passed"] is True + assert result["criteria"]["SC-002"]["value"] == pytest.approx(0.40) + + +def test_missing_case_is_an_explicit_failure(): + """A case missing from the new document fails the case check and its target.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + new["cases"] = [row for row in new["cases"] if row["case_id"] != OLD_F4U3] + result = check_acceptance(base, new) + assert result["passed"] is False + assert result["cases"]["passed"] is False + assert any(OLD_F4U3 in text for text in result["cases"]["problems"]) + assert result["criteria"]["SC-002"]["passed"] is False + + +def _standard_extra_pair(monkeypatch, suite: str) -> tuple[dict, dict, str]: + """Return a base with an extra gradient id, a candidate of the given suite, and the extra id.""" + run = importlib.import_module("benchmarks.fault_evaluation.run") + base, new = _compliant_pair() + extra = "x:oldest_gradient:100000:cold" + base["cases"].append( + _case(("x", "oldest_gradient", 100000, "cold", 1.0, 2, 1, 1), "baseline-rev") + ) + new["suite"] = suite + monkeypatch.setattr( + run, "standard_cases", lambda: [{"case_id": row["case_id"]} for row in new["cases"]] + ) + return base, new, extra + + +def test_standard_candidate_ignores_base_cases_outside_the_standard_suite(monkeypatch): + """A base case that the standard suite removes (C-016) is not missing from a standard candidate.""" + check_acceptance = _check_acceptance() + base, new, extra = _standard_extra_pair(monkeypatch, "standard") + result = check_acceptance(base, new) + assert result["cases"]["passed"] is True + assert not any(extra in text for text in result["cases"]["problems"]) + assert extra not in repr(result) + + +def test_full_candidate_still_misses_the_extra_base_case(monkeypatch): + """The same base and a full candidate still fail and name the extra id.""" + check_acceptance = _check_acceptance() + base, new, extra = _standard_extra_pair(monkeypatch, "full") + result = check_acceptance(base, new) + assert result["passed"] is False + assert result["cases"]["passed"] is False + assert any(extra in text for text in result["cases"]["problems"]) + + +class _Fault: + def __init__(self, name): + self.name = name + + +class _Feature: + def __init__(self, *fault_names): + self.faults = [_Fault(name) for name in fault_names] + + +class _Model: + def __init__(self, features): + self.features = features + + +def test_distinct_fault_sets_counts_distinct_ordered_tuples(): + """Features with equal ordered fault names count once. A reversed order counts twice.""" + count = _api(ACCEPTANCE_MODULE, "_distinct_fault_sets") + model = _Model( + [ + _Feature("a", "b"), + _Feature("a", "b"), + _Feature("b", "a"), + _Feature(), + _Feature("c"), + ] + ) + assert count(model) == 3 + + +def test_distinct_fault_sets_is_zero_without_faults(): + """A model with no faults has 0 fault sets.""" + count = _api(ACCEPTANCE_MODULE, "_distinct_fault_sets") + assert count(_Model([_Feature(), _Feature()])) == 0 + assert count(_Model([])) == 0 + + +def test_memory_accounting_fields(): + """The FR-010 accounting uses the distinct fault sets and the restored batches.""" + accounting = _api(ACCEPTANCE_MODULE, "_fr010_accounting") + fields = accounting(points=100, fault_sets=2, batches={100: 2, 50: 1}, peak=9600) + assert fields["distinct_fault_sets"] == 2 + assert fields["allowed_bytes"] == 24 * 100 * 2 + assert fields["restored_bytes_observed"] == 24 * (200 + 50) + assert fields["peak_over_allowed"] == pytest.approx(9600 / 4800) + assert accounting(points=100, fault_sets=0, batches={}, peak=5)["peak_over_allowed"] is None + + +def test_duplicate_case_in_new_fails_the_case_check(): + """A duplicate case id in the new document is a failure.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + new["cases"].append(copy.deepcopy(_row(new, OLD_F4U3))) + result = check_acceptance(base, new) + assert result["passed"] is False + assert result["cases"]["passed"] is False + assert any("duplicate" in text.lower() for text in result["cases"]["problems"]) + + +@pytest.mark.parametrize( + "mutate", + [ + pytest.param( + lambda base, new: new["provenance"].update(python="3.12.4"), + id="python-version-differs", + ), + pytest.param( + lambda base, new: new.update(schema_version=2), + id="schema-version-differs", + ), + pytest.param( + lambda base, new: _set(new, OLD_F4U3, input_hash="1" * 64), + id="input-hash-differs", + ), + pytest.param( + lambda base, new: _set(new, OLD_F4U3, baseline_revision="other"), + id="baseline-revision-differs", + ), + ], +) +def test_incompatible_provenance_fails(mutate): + """Incompatible provenance or input identity fails the provenance check and the result.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + mutate(base, new) + result = check_acceptance(base, new) + assert result["provenance"]["passed"] is False + assert result["provenance"]["problems"] + assert result["passed"] is False + + +@pytest.mark.parametrize( + "mutate", + [ + pytest.param(lambda base, new: new.pop("gradient_decision"), id="decision-missing"), + pytest.param( + lambda base, new: new.update(gradient_decision="one-restoration-per-call"), + id="decision-other-rule", + ), + ], +) +def test_missing_gradient_decision_fails(mutate): + """A missing or different gradient decision fails the result explicitly.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + mutate(base, new) + result = check_acceptance(base, new) + assert result["gradient_decision"]["passed"] is False + assert result["gradient_decision"]["expected"] == GRADIENT_RULE + assert result["passed"] is False + + +def test_missing_repeat_run_fails_sc_007(): + """Without a repeat run SC-007 cannot pass, and the result fails.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + new.pop("repeat") + result = check_acceptance(base, new) + assert result["criteria"]["SC-007"]["passed"] is False + assert result["passed"] is False + + +def _short_rows(result: dict) -> dict: + """Return the short_cases rows of a result, keyed by case id.""" + assert "short_cases" in result, "result['short_cases'] is required by D2b" + return {row["case_id"]: row for row in result["short_cases"]} + + +def test_sc_007_checks_a_long_case_and_names_it(): + """A case with a baseline median of 1.0 s or more and noise 1.10 or more fails SC-007.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new["repeat"], PLUGIN_OLD, median_seconds=3.0 * 1.10) + result = check_acceptance(base, new) + row = result["criteria"]["SC-007"] + assert row["passed"] is False + assert PLUGIN_OLD in row["reason"] + assert result["passed"] is False + + +def test_sc_007_limit_is_a_strict_bound_for_a_long_case(): + """A noise ratio just below 1.10 passes SC-007 for a case of 1.0 s or more.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new["repeat"], PLUGIN_OLD, median_seconds=3.0 * 1.09) + result = check_acceptance(base, new) + assert result["criteria"]["SC-007"]["passed"] is True + assert PLUGIN_OLD not in _short_rows(result) + + +def test_sc_007_short_case_is_listed_and_does_not_fail(): + """A case with a baseline median below 1.0 s and noise 1.5 is listed, not failed.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + assert _row(base, ALL_F4U0)["median_seconds"] < 1.0 + _set(new["repeat"], ALL_F4U0, median_seconds=0.8 * 1.5) + result = check_acceptance(base, new) + assert result["criteria"]["SC-007"]["passed"] is True + assert result["criteria"]["SC-007"]["reason"] is None + rows = _short_rows(result) + assert ALL_F4U0 in rows + assert rows[ALL_F4U0]["noise_ratio"] == pytest.approx(1.5) + + +def test_sc_007_short_cases_list_every_short_case_and_no_long_case(): + """The short_cases list holds each case with a baseline median below 1.0 s.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + result = check_acceptance(base, new) + rows = _short_rows(result) + assert set(rows) == {ALL_F4U0, SINGLE_F1U0} + for row in rows.values(): + assert row["noise_ratio"] == pytest.approx(1.05) + + +def test_sc_007_baseline_median_of_1_0_s_is_checked_not_short(): + """A baseline median of exactly 1.0 s is a checked case, not a short case.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(base, ALL_F4U0, median_seconds=1.0) + _set(new["repeat"], ALL_F4U0, median_seconds=0.8 * 1.5) + result = check_acceptance(base, new) + assert ALL_F4U0 not in _short_rows(result) + assert result["criteria"]["SC-007"]["passed"] is False + assert ALL_F4U0 in result["criteria"]["SC-007"]["reason"] + + +def test_sc_007_missing_repeat_case_still_fails(): + """A case that is missing from the repeat document fails SC-007.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + new["repeat"]["cases"] = [row for row in new["repeat"]["cases"] if row["case_id"] != PLUGIN_OLD] + result = check_acceptance(base, new) + assert result["criteria"]["SC-007"]["passed"] is False + assert PLUGIN_OLD in result["criteria"]["SC-007"]["reason"] + assert result["passed"] is False + + +def test_sc_007_zero_median_in_a_long_case_fails(): + """A zero median in new or repeat for a case of 1.0 s or more fails SC-007. + + A zero median is an invalid measurement for every case, long or short. + """ + check_acceptance = _check_acceptance() + for document in ("new", "repeat"): + base, new = _compliant_pair() + target = new if document == "new" else new["repeat"] + _set(target, PLUGIN_OLD, median_seconds=0.0) + result = check_acceptance(base, new) + assert result["criteria"]["SC-007"]["passed"] is False, document + assert result["passed"] is False, document + + +def test_sc_007_zero_baseline_median_fails_and_names_the_case(): + """A zero baseline median is an invalid measurement. It fails SC-007 and names the case. + + This holds for a case that would otherwise be short. + """ + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(base, SINGLE_F1U0, median_seconds=0.0) + result = check_acceptance(base, new) + assert result["criteria"]["SC-007"]["passed"] is False + assert SINGLE_F1U0 in result["criteria"]["SC-007"]["reason"] + assert result["passed"] is False + + +def test_sc_007_zero_repeat_median_in_a_short_case_fails_and_names_the_case(): + """A zero median in the repeat document fails SC-007 for a short case and names it.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + assert _row(base, ALL_F4U0)["median_seconds"] < 1.0 + _set(new["repeat"], ALL_F4U0, median_seconds=0.0) + result = check_acceptance(base, new) + assert result["criteria"]["SC-007"]["passed"] is False + assert ALL_F4U0 in result["criteria"]["SC-007"]["reason"] + assert result["passed"] is False + + +def test_missing_suite_time_fails_sc_008(): + """Without the suite wall time SC-008 cannot pass, and the result fails.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + new.pop("suite_wall_seconds") + result = check_acceptance(base, new) + assert result["criteria"]["SC-008"]["passed"] is False + assert result["passed"] is False + + +def test_there_is_no_sc_010_row(): + """SC-010 is removed with the warm cases (D10).""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + assert "SC-010" not in check_acceptance(base, new)["criteria"] + + +def test_memory_modes_and_allowance(): + """The large-memory check has only the cold mode. The allowance is 16 MiB (D10).""" + assert _api(ACCEPTANCE_MODULE, "MEMORY_MODES") == ("cold",) + assert _api(ACCEPTANCE_MODULE, "MEMORY_ALLOWANCE_BYTES") == 16 * 1024 * 1024 + + +def _sc006(base_bytes, new_bytes) -> dict: + """Return the SC-006 row for one baseline and one candidate memory value.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(base, OLD_F4U3, peak_extra_rss_bytes=base_bytes) + _set(new, OLD_F4U3, peak_extra_rss_bytes=new_bytes) + return check_acceptance(base, new)["criteria"]["SC-006"] + + +def test_sc_006_passes_a_small_baseline_within_the_allowance(): + """1.5 x a 1 MB baseline is over 120 %, but the extra 0.5 MB is under the allowance.""" + assert _sc006(1_000_000, 1_500_000)["passed"] is True + + +def test_sc_006_fails_a_large_baseline_over_both_limits(): + """1.5 x a 100 MB baseline is over 120 % and over the allowance.""" + row = _sc006(100_000_000, 150_000_000) + assert row["passed"] is False + assert row["reason"] + + +def test_sc_006_passes_at_the_ratio_limit_for_a_large_baseline(): + """A ratio of 1.20 passes for a large baseline.""" + assert _sc006(100_000_000, 120_000_000)["passed"] is True + + +def test_sc_006_allowance_limit_is_inclusive_and_a_zero_baseline_uses_only_it(): + """The extra memory of exactly the allowance passes. One byte more fails.""" + allowance = _api(ACCEPTANCE_MODULE, "MEMORY_ALLOWANCE_BYTES") + assert _sc006(0, allowance)["passed"] is True + assert _sc006(0, allowance + 1)["passed"] is False + assert _sc006(50_000_000, 50_000_000 + allowance)["passed"] is True + assert _sc006(50_000_000, 50_000_000 + allowance + 1)["passed"] is False + + +def test_sc_006_row_reports_worst_ratio_failing_cases_and_compared_count(): + """The SC-006 row gives the worst ratio, each failing case and the compared count (D10). + + Two cases fail both limits. One case passes. The two other cases have no + memory value in either document, so they are not compared. + """ + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + for case_id in (PLUGIN_OLD, SINGLE_F1U0): + _set(base, case_id, peak_extra_rss_bytes=None) + _set(new, case_id, peak_extra_rss_bytes=None) + _set(base, OLD_F4U3, peak_extra_rss_bytes=100_000_000) + _set(new, OLD_F4U3, peak_extra_rss_bytes=150_000_000) + _set(base, ALL_F4U3, peak_extra_rss_bytes=200_000_000) + _set(new, ALL_F4U3, peak_extra_rss_bytes=260_000_000) + row = check_acceptance(base, new)["criteria"]["SC-006"] + assert row["passed"] is False + assert row["value"] == pytest.approx(1.5) + reason = row["reason"] + for case_id, base_bytes, new_bytes in ( + (OLD_F4U3, 100_000_000, 150_000_000), + (ALL_F4U3, 200_000_000, 260_000_000), + ): + assert case_id in reason + assert str(base_bytes) in reason + assert str(new_bytes) in reason + assert ALL_F4U0 not in reason + assert row["compared_cases"] == 3 + + +def test_candidate_without_memory_value_is_not_a_failure(): + """A candidate case that the memory pass did not run (None) does not fail SC-006.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new, SINGLE_F1U0, peak_extra_rss_bytes=None) + result = check_acceptance(base, new) + assert result["criteria"]["SC-006"]["passed"] is True + assert result["passed"] is True + + +@pytest.mark.parametrize( + "case_id,field,pass_name", + [ + pytest.param(OLD_F4U3, "fault_calls_total", "counters", id="SC-002-calls"), + pytest.param(IDS_F4U3, "fault_calls_total", "counters", id="SC-003-calls"), + pytest.param(SINGLE_F1U0, "fault_points_total", "counters", id="SC-009-points"), + ], +) +def test_criterion_that_needs_a_missing_counter_fails_with_the_pass_name(case_id, field, pass_name): + """A needed counter of None fails the criterion with the case and the pass.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new, case_id, **{field: None}) + result = check_acceptance(base, new) + assert result["passed"] is False + reasons = [row["reason"] for row in result["criteria"].values() if row["reason"]] + assert any( + case_id in reason and f"was not measured in the {pass_name} pass" in reason + for reason in reasons + ), reasons + + +def test_baseline_with_warm_ids_goes_through_cold_view(): + """A baseline of the code before this feature (C-016) has warm rows. + + A warm row with a cold row of the same case goes. A lone warm row becomes the + cold row. + """ + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + plugin = _row(base, PLUGIN_OLD) + plugin.update(case_id=PLUGIN_OLD.replace(":cold", ":warm"), state="warm") + extra_warm = copy.deepcopy(_row(base, ALL_F4U3)) + extra_warm.update(case_id=ALL_F4U3.replace(":cold", ":warm"), state="warm", median_seconds=99.0) + base["cases"].append(extra_warm) + result = check_acceptance(base, new) + assert result["cases"]["problems"] == [] + assert result["passed"] is True + + +def test_sc_003_count_reads_the_model_ids_case_not_all_group_values(): + """An all_group_values count of 16 does not fail SC-003 when the model_ids count is 4.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new, ALL_F4U3, fault_calls_total=16) + row = check_acceptance(base, new)["criteria"]["SC-003"] + assert row["passed"] is True + assert row["reason"] is None + + +def test_sc_003_value_stays_the_time_ratio_of_all_group_values(): + """The SC-003 value is the time ratio of the all_group_values case (1.0 s over 8.65 s).""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + row = check_acceptance(base, new)["criteria"]["SC-003"] + assert row["value"] == pytest.approx(1.0 / 8.65) + + +def test_sc_003_model_ids_count_of_five_fails_and_names_the_id(): + """A model_ids count of 5 fails SC-003. The reason names the model_ids id.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new, IDS_F4U3, fault_calls_total=5) + result = check_acceptance(base, new) + row = result["criteria"]["SC-003"] + assert row["passed"] is False + assert IDS_F4U3 in row["reason"] + assert result["passed"] is False + + +def test_sc_004_ignores_a_slow_all_group_values_case(): + """A slow f4_u3 all_group_values case does not fail SC-004. SC-004 uses the model_ids times.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new, ALL_F4U3, median_seconds=1.3) + row = check_acceptance(base, new)["criteria"]["SC-004"] + assert row["passed"] is True + assert row["value"] == pytest.approx(1.0) + + +def test_sc_004_model_ids_ratio_over_limit_fails(): + """A model_ids ratio above 1.5 fails SC-004. A ratio of exactly 1.5 passes.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + _set(new, IDS_F4U3, median_seconds=0.31) + row = check_acceptance(base, new)["criteria"]["SC-004"] + assert row["passed"] is False + assert row["value"] == pytest.approx(1.55) + assert row["reason"] + _set(new, IDS_F4U3, median_seconds=0.3) + assert check_acceptance(base, new)["criteria"]["SC-004"]["passed"] is True + + +@pytest.mark.parametrize( + "missing,criteria", + [ + pytest.param(IDS_F4U3, ("SC-003", "SC-004"), id="f4_u3-ids-absent"), + pytest.param(IDS_F4U0, ("SC-004",), id="f4_u0-ids-absent"), + ], +) +def test_model_ids_case_absent_from_the_candidate_fails_with_the_id(missing, criteria): + """A model_ids case that is absent from the candidate fails its targets. The reason names it.""" + check_acceptance = _check_acceptance() + base, new = _compliant_pair() + new["cases"] = [row for row in new["cases"] if row["case_id"] != missing] + result = check_acceptance(base, new) + for criterion in criteria: + row = result["criteria"][criterion] + assert row["passed"] is False, criterion + assert missing in row["reason"], criterion + assert result["passed"] is False diff --git a/tests/fault_evaluation/test_benchmark_compare.py b/tests/fault_evaluation/test_benchmark_compare.py new file mode 100644 index 000000000..482525be5 --- /dev/null +++ b/tests/fault_evaluation/test_benchmark_compare.py @@ -0,0 +1,284 @@ +"""Contract tests for benchmark result comparison (schema v1).""" + +from __future__ import annotations + +import copy +import importlib + +import pytest + + +def _api(module_name: str, name: str): + """Import a focused API and report an actionable absent-tool failure.""" + try: + module = importlib.import_module(module_name) + except ModuleNotFoundError as error: + if error.name == module_name or module_name.startswith(f"{error.name}."): + pytest.fail(f"{module_name}.{name} is required by D2; benchmark compare is missing") + raise + value = getattr(module, name, None) + assert value is not None, f"{module_name}.{name} is required by D2" + return value + + +def _provenance(**overrides) -> dict: + """Return a complete schema v1 provenance block with optional overrides.""" + provenance = { + "python": "3.11.9", + "numpy": "2.1.0", + "scipy": "1.14.0", + "loopstructural": "2.0.0", + "os": "test", + "cpu": "test cpu", + "ram_bytes": 1_000_000, + } + provenance.update(overrides) + return provenance + + +def _case( + case_id: str, + *, + median: float = 2.0, + state: str = "cold", + points: int = 5000, + model: str = "f1_u0", + operation: str = "oldest_value", +) -> dict: + """Return one complete schema v1 case row with a fixed median time.""" + return { + "case_id": case_id, + "model": model, + "operation": operation, + "points": points, + "state": state, + "rounds": 2, + "time_samples_seconds": [median, median], + "median_seconds": median, + "fault_calls_total": 2, + "fault_calls_top_level": 1, + "field_calls_total": 3, + "fault_points_total": 4, + "field_points_total": 7, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "abc123", + "dirty": False, + "prerequisite_parent_revision": "parent", + "prerequisite_fix_revision": "fix", + "baseline_revision": "baseline", + "input_hash": "0" * 64, + } + + +def _result(cases: list[dict], **provenance_overrides) -> dict: + """Return a complete schema v1 result document for the given rows.""" + return { + "schema_version": 1, + "pass": "merged", + "cases": cases, + "provenance": _provenance(**provenance_overrides), + "pytest_benchmark": {"raw": {"stats": {"mean": 2.0}}}, + } + + +def _row(result: dict, case_id: str) -> dict: + """Return the comparison row for one case id.""" + rows = {row["case_id"]: row for row in result["cases"]} + return rows[case_id] + + +def test_ratio_and_slower_mark_for_a_two_to_three_second_change(): + """A 2 s to 3 s change gives ratio 1.5 and is marked slower.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result([_case("tiny:cold", median=2.0)]) + new = _result([_case("tiny:cold", median=3.0)]) + result = compare_results(base, new) + row = _row(result, "tiny:cold") + assert row["ratio"] == pytest.approx(1.5) + assert row["slower"] is True + + +def test_small_change_within_ten_percent_is_not_marked_slower(): + """A 2 s to 2.1 s change (ratio 1.05) is within the 10 percent noise band.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result([_case("tiny:cold", median=2.0)]) + new = _result([_case("tiny:cold", median=2.1)]) + result = compare_results(base, new) + row = _row(result, "tiny:cold") + assert row["ratio"] == pytest.approx(1.05) + assert row["slower"] is False + + +def test_zero_baseline_gives_explicit_undefined_ratio(): + """A zero baseline time gives no numeric ratio and an explicit undefined status.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result([_case("tiny:cold", median=0.0)]) + new = _result([_case("tiny:cold", median=1.0)]) + result = compare_results(base, new) + row = _row(result, "tiny:cold") + assert row["ratio"] is None + assert row["ratio_status"] == "undefined_zero_baseline" + + +@pytest.mark.parametrize( + "base_cases,new_cases,match", + [ + pytest.param( + [_case("tiny:cold"), _case("other:cold")], + [_case("tiny:cold")], + "missing", + id="case-missing-from-new", + ), + pytest.param( + [_case("tiny:cold")], + [_case("tiny:cold"), _case("tiny:cold")], + "duplicate", + id="duplicate-case-in-new", + ), + pytest.param( + [_case("tiny:cold", points=5000)], + [_case("tiny:cold", points=50000)], + "points", + id="different-point-count", + ), + pytest.param( + [_case("tiny:cold", state="cold")], + [_case("tiny:cold", state="warm")], + "state", + id="cold-baseline-warm-new", + ), + ], +) +def test_incompatible_or_missing_cases_raise_value_error(base_cases, new_cases, match): + """Missing, duplicate, resized or cold/warm-mixed cases are rejected, never skipped.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result(base_cases) + new = _result(new_cases) + with pytest.raises(ValueError, match=match): + compare_results(base, new) + + +def test_duplicate_case_in_base_raises_value_error(): + """A duplicate case id in the baseline document is rejected.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result([_case("tiny:cold"), _case("tiny:cold")]) + new = _result([_case("tiny:cold")]) + with pytest.raises(ValueError, match="duplicate"): + compare_results(base, new) + + +def test_fault_and_unconformity_scaling_tables_are_built_from_model_names(): + """Scaling tables group ratios by fault count (F) and unit count (U).""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + models = ["f0_u0", "f1_u0", "f2_u0", "f0_u1"] + base = _result([_case(f"{model}:cold", model=model) for model in models]) + new = _result([_case(f"{model}:cold", model=model, median=3.0) for model in models]) + result = compare_results(base, new) + scaling = result["scaling"] + assert set(scaling) >= {"fault", "unconformity"} + # Fault table has one row per fault count (0, 1, 2) at unit count 0. + assert len(scaling["fault"]) == 3 + # Unconformity table has one row per unit count (0, 1) at fault count 0. + assert len(scaling["unconformity"]) == 2 + assert all(row["ratio"] == pytest.approx(1.5) for row in scaling["fault"]) + + +def test_provenance_difference_produces_a_warning(): + """A changed Python version is reported as a provenance warning.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result([_case("tiny:cold")]) + new = _result([_case("tiny:cold")], python="3.12.4") + result = compare_results(base, new) + assert any( + "provenance" in text.lower() and "python" in text.lower() for text in result["warnings"] + ) + + +def test_identical_provenance_produces_no_provenance_warning(): + """Matching provenance blocks produce no provenance warning.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result([_case("tiny:cold")]) + new = copy.deepcopy(base) + result = compare_results(base, new) + assert not [text for text in result["warnings"] if "provenance" in text.lower()] + + +def test_warm_ids_of_a_base_go_through_cold_view(): + """A base of the code before this feature has warm ids. Its lone warm row is a cold row (C-016).""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base = _result( + [ + _case("tiny:oldest_value:5000:cold", median=2.0), + _case("tiny:oldest_value:5000:warm", median=9.0, state="warm"), + _case("lone:oldest_value:5000:warm", median=2.0, state="warm"), + ] + ) + new = _result( + [ + _case("tiny:oldest_value:5000:cold", median=3.0), + _case("lone:oldest_value:5000:cold", median=3.0), + ] + ) + result = compare_results(base, new) + assert [row["case_id"] for row in result["cases"]] == [ + "tiny:oldest_value:5000:cold", + "lone:oldest_value:5000:cold", + ] + assert {row["state"] for row in result["cases"]} == {"cold"} + assert _row(result, "tiny:oldest_value:5000:cold")["ratio"] == pytest.approx(1.5) + + +def _standard_extra_pair(monkeypatch, suite: str) -> tuple[dict, dict, str]: + """Return a base with an extra gradient id, a candidate of the given suite, and the extra id.""" + run = importlib.import_module("benchmarks.fault_evaluation.run") + extra = "x:oldest_gradient:100000:cold" + base = _result([_case("tiny:oldest_value:5000:cold"), _case(extra)]) + new = _result([_case("tiny:oldest_value:5000:cold")]) + new["suite"] = suite + monkeypatch.setattr(run, "standard_cases", lambda: [{"case_id": "tiny:oldest_value:5000:cold"}]) + return base, new, extra + + +def test_standard_candidate_ignores_base_cases_outside_the_standard_suite(monkeypatch): + """A base case that the standard suite removes (C-016) is no error and has no row.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base, new, extra = _standard_extra_pair(monkeypatch, "standard") + result = compare_results(base, new) + assert [row["case_id"] for row in result["cases"]] == ["tiny:oldest_value:5000:cold"] + assert extra not in repr(result) + + +def test_full_candidate_still_misses_the_extra_base_case(monkeypatch): + """The same base and a full candidate still raise ValueError.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base, new, _extra = _standard_extra_pair(monkeypatch, "full") + with pytest.raises(ValueError, match="missing from the new result"): + compare_results(base, new) + + +def test_a_value_of_none_gives_not_measured_without_failure_or_noise_mark(): + """A count that a pass did not measure gives the ratio text "not measured" (D10).""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + base_case = _case("tiny:cold", median=2.0) + new_case = _case("tiny:cold", median=2.0) + new_case["fault_calls_total"] = None + result = compare_results(_result([base_case]), _result([new_case])) + row = _row(result, "tiny:cold") + count = row["counts"]["fault_calls_total"] + assert count["ratio"] is None + assert count["ratio_status"] == "not measured" + assert row["slower"] is False + assert row["counts"]["field_calls_total"]["ratio_status"] == "ok" + + +def test_a_median_of_none_gives_not_measured_without_noise_mark(): + """A median of None gives no ratio, the text "not measured" and no slower mark.""" + compare_results = _api("benchmarks.fault_evaluation.compare", "compare_results") + new_case = _case("tiny:cold", median=2.0) + new_case["median_seconds"] = None + result = compare_results(_result([_case("tiny:cold")]), _result([new_case])) + row = _row(result, "tiny:cold") + assert row["ratio"] is None + assert row["ratio_status"] == "not measured" + assert row["slower"] is False diff --git a/tests/fault_evaluation/test_benchmark_repeat.py b/tests/fault_evaluation/test_benchmark_repeat.py new file mode 100644 index 000000000..b8a7f1a98 --- /dev/null +++ b/tests/fault_evaluation/test_benchmark_repeat.py @@ -0,0 +1,273 @@ +"""Tests for the repeat of short cases in the timing pass of the benchmark runner (SC-007). + +All tests use a fake launcher. No real pytest process and no real model runs. +""" + +from __future__ import annotations + +import importlib +import json +import os +from pathlib import Path + +import pytest + +run_module = importlib.import_module("benchmarks.fault_evaluation.run") + +CHECKPOINT_ENV = "FAULT_EVAL_CHECKPOINT" +# Median of each case in seconds. Cases 0 and 1 are short. Cases 2 and 3 are not. +MEDIANS = {0: 0.2, 1: 0.9, 2: 1.0, 3: 3.0} +SHORT_IDS = ["tiny:0", "tiny:1"] + + +def _cases() -> list[dict]: + return [ + { + "case_id": f"tiny:{index}", + "model": "tiny", + "operation": "oldest_value", + "points": 2 + index, + "state": "cold", + } + for index in MEDIANS + ] + + +class _Launcher: + """A fake pytest launcher. It writes checkpoint lines and records each launch.""" + + def __init__(self, clock: dict | None = None): + self.launches: list[dict] = [] + self.clock = clock + # Launch number (1 based) and number of cases to write before the stop. + self.stop_at: tuple[int, int] | None = None + + def __call__(self, suite, args): + cases = json.loads(Path(os.environ["FAULT_EVAL_CASES"]).read_text(encoding="utf8")) + rounds = int(os.environ["FAULT_EVAL_ROUNDS"]) + self.launches.append( + { + "pass": os.environ["FAULT_EVAL_PASS"], + "cases": [case["case_id"] for case in cases], + "rounds": rounds, + } + ) + if self.clock is not None: + self.clock["now"] += 10.0 + limit = None + if self.stop_at and self.stop_at[0] == len(self.launches): + limit = self.stop_at[1] + for index, case in enumerate(cases): + if limit is not None and index >= limit: + return 1 + number = int(case["case_id"].split(":")[1]) + median = MEDIANS[number] + # The samples show how many rounds produced them. + line = { + "case_id": case["case_id"], + "stats": { + "rounds": rounds, + "data": [median + 0.001 * step for step in range(rounds)], + "median": median, + }, + "extra_info": { + **case, + "counters": dict.fromkeys(run_module.COUNTER_FIELDS, number + 1), + "peak_extra_rss_bytes": 1024 * (number + 1), + }, + "elapsed_seconds": 0.5, + } + with open(os.environ[CHECKPOINT_ENV], "a", encoding="utf8") as handle: + handle.write(json.dumps(line) + "\n") + return 0 + + +@pytest.fixture(autouse=True) +def _fixed_environment(monkeypatch): + metadata = { + "code_revision": "rev1", + "dirty": False, + "prerequisite_parent_revision": "parent", + "prerequisite_fix_revision": "fix", + "baseline_revision": "baseline", + "input_hash": "0" * 64, + } + monkeypatch.setattr(run_module, "_revision_metadata", lambda: metadata) + monkeypatch.setattr( + run_module, + "_provenance", + lambda: { + "python": "3.x", + "numpy": "2.x", + "scipy": "1.x", + "loopstructural": "2.x", + "os": "test", + "cpu": "test cpu", + "ram_bytes": 1, + }, + ) + return metadata + + +def _prepare_main(monkeypatch, clock: dict | None = None): + monkeypatch.setattr(run_module, "enumerate_cases", _cases) + clock = clock if clock is not None else {"now": 0.0} + monkeypatch.setattr(run_module, "_now", lambda: clock["now"]) + + +def _argv(tmp_path, *extra): + return [ + "--output", + str(tmp_path / "result.json"), + "--work-dir", + str(tmp_path / "work"), + "--suite", + "full", # the fake enumerate_cases list is the full suite + *extra, + ] + + +def _rows(result: dict) -> dict: + return {row["case_id"]: row for row in result["cases"]} + + +def test_constants_are_defined(): + """The runner names the limit of a short case and the number of repeat rounds.""" + assert run_module.SHORT_CASE_SECONDS == 1.0 + assert run_module.SHORT_CASE_ROUNDS == 5 + + +def test_short_cases_are_repeated_with_five_rounds(monkeypatch, tmp_path): + """The second step runs only the cases with a median below 1.0 s, with 5 rounds.""" + launcher = _Launcher() + monkeypatch.setattr(run_module, "_launch_pytest", launcher) + payload = run_module._run_fresh_process_pass( + "timing", _cases(), output_path=tmp_path / "timing.json", rounds=1 + ) + assert launcher.launches == [ + {"pass": "timing", "cases": [f"tiny:{i}" for i in MEDIANS], "rounds": 1}, + {"pass": "timing", "cases": SHORT_IDS, "rounds": run_module.SHORT_CASE_ROUNDS}, + ] + rows = _rows(payload) + for case_id in SHORT_IDS: + assert rows[case_id]["rounds"] == 5 + assert len(rows[case_id]["time_samples_seconds"]) == 5 + # A case of exactly 1.0 s or more keeps its one round. + for case_id in ("tiny:2", "tiny:3"): + assert rows[case_id]["rounds"] == 1 + assert len(rows[case_id]["time_samples_seconds"]) == 1 + # The new samples replace the old ones also in the raw benchmark data. + raw = payload["pytest_benchmark"]["raw"]["benchmarks"] + by_id = {item["extra_info"]["case_id"]: item for item in raw} + assert len(by_id["tiny:0"]["stats"]["data"]) == 5 + assert len(by_id["tiny:2"]["stats"]["data"]) == 1 + # The checkpoint file keeps the later line for a case. + checkpoint = run_module._read_checkpoint(tmp_path / "timing.checkpoint.jsonl") + assert checkpoint["tiny:0"]["stats"]["rounds"] == 5 + + +def test_no_repeat_when_first_step_has_enough_rounds(monkeypatch, tmp_path): + """A first step with 5 rounds or more needs no second step.""" + launcher = _Launcher() + monkeypatch.setattr(run_module, "_launch_pytest", launcher) + payload = run_module._run_fresh_process_pass( + "timing", _cases(), output_path=tmp_path / "timing.json", rounds=5 + ) + assert len(launcher.launches) == 1 + assert {row["rounds"] for row in payload["cases"]} == {5} + + +@pytest.mark.parametrize("pass_kind", ["counters", "rss"]) +def test_counters_and_memory_passes_are_not_repeated(monkeypatch, tmp_path, pass_kind): + """Only the timing pass has a second step.""" + launcher = _Launcher() + monkeypatch.setattr(run_module, "_launch_pytest", launcher) + run_module._run_fresh_process_pass( + pass_kind, _cases(), output_path=tmp_path / f"{pass_kind}.json", rounds=1 + ) + assert [launch["rounds"] for launch in launcher.launches] == [1] + + +def test_main_repeats_only_in_timing_pass(monkeypatch, tmp_path): + """The merged result holds 5 rounds for short cases and one launch per other pass.""" + _prepare_main(monkeypatch) + launcher = _Launcher() + monkeypatch.setattr(run_module, "_launch_pytest", launcher) + assert run_module.main(_argv(tmp_path)) == 0 + assert [(launch["pass"], launch["rounds"]) for launch in launcher.launches] == [ + ("timing", 1), + ("timing", 5), + ("counters", 1), + ("rss", 1), + ] + assert launcher.launches[2]["cases"] == [f"tiny:{i}" for i in MEDIANS] + result = json.loads((tmp_path / "result.json").read_text(encoding="utf8")) + run_module.validate_result(result) + rows = _rows(result) + assert [rows[case_id]["rounds"] for case_id in rows] == [5, 5, 1, 1] + assert rows["tiny:0"]["median_seconds"] == pytest.approx(0.2) + # The counters and memory values still come from their own passes. + assert rows["tiny:0"][run_module.COUNTER_FIELDS[0]] == 1 + assert rows["tiny:1"]["peak_extra_rss_bytes"] == 2048 + + +def test_stop_between_the_steps_does_not_lose_or_repeat_twice(monkeypatch, tmp_path): + """A stop before the second step, then a resume: each short case repeats once.""" + _prepare_main(monkeypatch) + launcher = _Launcher() + launcher.stop_at = (2, 0) # the second launch stops before it writes a line + monkeypatch.setattr(run_module, "_launch_pytest", launcher) + with pytest.raises(RuntimeError, match="exit code"): + run_module.main(_argv(tmp_path)) + assert not (tmp_path / "work" / "timing.json").exists() + + assert run_module.main(_argv(tmp_path, "--resume")) == 0 + timing_launches = [x for x in launcher.launches if x["pass"] == "timing"] + # The first step is complete, so the resume runs only the second step, once. + assert [launch["cases"] for launch in timing_launches[1:]] == [SHORT_IDS, SHORT_IDS] + result = json.loads((tmp_path / "result.json").read_text(encoding="utf8")) + rows = _rows(result) + assert [rows[case_id]["rounds"] for case_id in rows] == [5, 5, 1, 1] + + +def test_stop_inside_the_second_step_repeats_only_missing_cases(monkeypatch, tmp_path): + """A case with 5 rounds in the checkpoint is not repeated again after a resume.""" + _prepare_main(monkeypatch) + launcher = _Launcher() + launcher.stop_at = (2, 1) # the second launch writes tiny:0 and then stops + monkeypatch.setattr(run_module, "_launch_pytest", launcher) + with pytest.raises(RuntimeError, match="exit code"): + run_module.main(_argv(tmp_path)) + + assert run_module.main(_argv(tmp_path, "--resume")) == 0 + timing_launches = [x for x in launcher.launches if x["pass"] == "timing"] + assert [launch["cases"] for launch in timing_launches] == [ + [f"tiny:{i}" for i in MEDIANS], + SHORT_IDS, + ["tiny:1"], + ] + assert timing_launches[2]["rounds"] == run_module.SHORT_CASE_ROUNDS + result = json.loads((tmp_path / "result.json").read_text(encoding="utf8")) + assert [row["rounds"] for row in result["cases"]] == [5, 5, 1, 1] + + +def test_resume_of_complete_timing_pass_does_not_repeat(monkeypatch, tmp_path): + """A resume after the timing pass finished launches nothing for timing.""" + _prepare_main(monkeypatch) + launcher = _Launcher() + launcher.stop_at = (3, 0) # the counters pass stops + monkeypatch.setattr(run_module, "_launch_pytest", launcher) + with pytest.raises(RuntimeError): + run_module.main(_argv(tmp_path)) + assert run_module.main(_argv(tmp_path, "--resume")) == 0 + assert [x["pass"] for x in launcher.launches].count("timing") == 2 + + +def test_repeat_adds_its_time_to_suite_wall_seconds(monkeypatch, tmp_path): + """Each launch takes 10 s on the fake clock: 2 timing launches, counters and memory.""" + clock = {"now": 0.0} + _prepare_main(monkeypatch, clock) + monkeypatch.setattr(run_module, "_launch_pytest", _Launcher(clock)) + assert run_module.main(_argv(tmp_path)) == 0 + result = json.loads((tmp_path / "result.json").read_text(encoding="utf8")) + assert result["suite_wall_seconds"] == pytest.approx(40.0) diff --git a/tests/fault_evaluation/test_benchmark_resume.py b/tests/fault_evaluation/test_benchmark_resume.py new file mode 100644 index 000000000..4651a8fb6 --- /dev/null +++ b/tests/fault_evaluation/test_benchmark_resume.py @@ -0,0 +1,333 @@ +"""Tests for progress, checkpoint and resume of the fault evaluation benchmark runner. + +All tests use a fake launcher. No real pytest process and no real model runs. +""" + +from __future__ import annotations + +import importlib +import json +import os +import shutil +import subprocess +from pathlib import Path +from types import SimpleNamespace + +import pytest + +run_module = importlib.import_module("benchmarks.fault_evaluation.run") +bench_module = importlib.import_module("benchmarks.fault_evaluation.bench_cases") + +CHECKPOINT_ENV = "FAULT_EVAL_CHECKPOINT" + + +def _cases(count: int = 4) -> list[dict]: + return [ + { + "case_id": f"tiny:{index}", + "model": "tiny", + "operation": "oldest_value", + "points": 2 + index, + "state": "cold", + } + for index in range(count) + ] + + +def _fake_launcher(stop_after: int | None = None, launches: list | None = None): + """Return a fake pytest launcher that writes checkpoint lines like the suite.""" + + def launch(suite, args): + cases = json.loads(Path(os.environ["FAULT_EVAL_CASES"]).read_text(encoding="utf8")) + if launches is not None: + launches.append([case["case_id"] for case in cases]) + checkpoint = os.environ.get(CHECKPOINT_ENV) + # The runner sets the round count in the environment, like the real suite. + rounds = int(os.environ.get("FAULT_EVAL_ROUNDS", "2")) + for index, case in enumerate(cases): + if stop_after is not None and index >= stop_after: + return 1 + number = int(case["case_id"].split(":")[1]) + line = { + "case_id": case["case_id"], + "stats": { + "rounds": rounds, + "data": [0.01 * (number + 1) * (k + 1) for k in range(rounds)], + "median": 0.015 * (number + 1), + }, + "extra_info": { + **case, + "counters": dict.fromkeys(run_module.COUNTER_FIELDS, number + 1), + "peak_extra_rss_bytes": 1024 * (number + 1), + }, + "elapsed_seconds": 0.5, + } + with open(checkpoint, "a", encoding="utf8") as handle: + handle.write(json.dumps(line) + "\n") + return 0 + + return launch + + +@pytest.fixture(autouse=True) +def _fixed_environment(monkeypatch): + metadata = { + "code_revision": "rev1", + "dirty": False, + "prerequisite_parent_revision": "parent", + "prerequisite_fix_revision": "fix", + "baseline_revision": "baseline", + "input_hash": "0" * 64, + } + monkeypatch.setattr(run_module, "_revision_metadata", lambda: metadata) + monkeypatch.setattr( + run_module, + "_provenance", + lambda: { + "python": "3.x", + "numpy": "2.x", + "scipy": "1.x", + "loopstructural": "2.x", + "os": "test", + "cpu": "test cpu", + "ram_bytes": 1, + }, + ) + return metadata + + +@pytest.mark.parametrize("pass_kind", ["timing", "counters", "rss"]) +def test_stopped_and_resumed_pass_equals_straight_pass(monkeypatch, tmp_path, pass_kind): + """A pass that stops half way and resumes gives the same rows as a straight pass.""" + cases = _cases() + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher()) + (tmp_path / "straight").mkdir() + straight = run_module._run_fresh_process_pass( + pass_kind, cases, output_path=tmp_path / "straight" / f"{pass_kind}.json", rounds=2 + ) + + launches: list = [] + output = tmp_path / "resumed" / f"{pass_kind}.json" + output.parent.mkdir() + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher(2, launches)) + with pytest.raises(RuntimeError, match="exit code"): + run_module._run_fresh_process_pass(pass_kind, cases, output_path=output, rounds=2) + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher(None, launches)) + resumed = run_module._run_fresh_process_pass(pass_kind, cases, output_path=output, rounds=2) + + all_cases = ["tiny:0", "tiny:1", "tiny:2", "tiny:3"] + expected = [all_cases, ["tiny:2", "tiny:3"]] + if pass_kind == "timing": + # All four cases are short, so the repeat step launches them again. + expected.append(all_cases) + assert launches == expected + assert resumed["cases"] == straight["cases"] + assert resumed["pytest_benchmark"].keys() == straight["pytest_benchmark"].keys() + + +def test_pass_uses_verbose_progress_and_sets_checkpoint_env(monkeypatch, tmp_path, capsys): + """The pass shows each case (-v), names the checkpoint file and prints start and end.""" + seen = {} + + def launch(suite, args): + seen["args"] = args + seen["checkpoint"] = os.environ.get(CHECKPOINT_ENV) + return _fake_launcher()(suite, args) + + monkeypatch.setattr(run_module, "_launch_pytest", launch) + run_module._run_fresh_process_pass( + "counters", _cases(2), output_path=tmp_path / "counters.json", rounds=1 + ) + assert "-v" in seen["args"] and "-q" not in seen["args"] + assert seen["checkpoint"] and seen["checkpoint"].startswith(str(tmp_path)) + assert CHECKPOINT_ENV not in os.environ + lines = [line for line in capsys.readouterr().err.splitlines() if "counters" in line] + assert len(lines) == 2 + + +def _prepare_main(monkeypatch, cases, clock_step=10.0): + monkeypatch.setattr(run_module, "enumerate_cases", lambda: cases) + ticks = iter(range(10_000)) + monkeypatch.setattr(run_module, "_now", lambda: next(ticks) * clock_step) + + +def _argv(tmp_path, *extra): + return [ + "--output", + str(tmp_path / "result.json"), + "--work-dir", + str(tmp_path / "work"), + "--suite", + "full", # the fake enumerate_cases list is the full suite + *extra, + ] + + +def test_resume_is_refused_for_other_revision_or_dirty_flag( + monkeypatch, tmp_path, _fixed_environment +): + """--resume stops with a clear error when the code revision or dirty flag changed.""" + _prepare_main(monkeypatch, _cases(2)) + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher()) + assert run_module.main(_argv(tmp_path)) == 0 + + _fixed_environment["code_revision"] = "rev2" + with pytest.raises(SystemExit) as error: + run_module.main(_argv(tmp_path, "--resume")) + assert error.value.code != 0 + _fixed_environment["code_revision"] = "rev1" + _fixed_environment["dirty"] = True + with pytest.raises(SystemExit) as error: + run_module.main(_argv(tmp_path, "--resume")) + assert error.value.code != 0 + _fixed_environment["dirty"] = False + assert run_module.main(_argv(tmp_path, "--resume")) == 0 + + +def test_non_empty_work_dir_without_resume_is_refused(monkeypatch, tmp_path, capsys): + """Without --resume, a work directory that holds data is never overwritten.""" + _prepare_main(monkeypatch, _cases(2)) + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher()) + work = tmp_path / "work" + work.mkdir() + assert run_module.main(_argv(tmp_path)) == 0 # an empty directory is accepted + before = sorted(path.name for path in work.iterdir()) + with pytest.raises(SystemExit) as error: + run_module.main(_argv(tmp_path)) + assert error.value.code != 0 + assert "--resume" in capsys.readouterr().err + assert sorted(path.name for path in work.iterdir()) == before + + +def test_suite_wall_seconds_accumulates_across_resume(monkeypatch, tmp_path): + """The result holds the sum of the wall seconds of all passes, also across resumes.""" + _prepare_main(monkeypatch, _cases(2), clock_step=10.0) + state = {"fail": True} + real_launch = _fake_launcher() + + def launch(suite, args): + if state["fail"] and os.environ["FAULT_EVAL_PASS"] == "counters": + return 1 + return real_launch(suite, args) + + monkeypatch.setattr(run_module, "_launch_pytest", launch) + with pytest.raises(RuntimeError): + run_module.main(_argv(tmp_path)) # timing done (10 s), counters fails (10 s) + assert not (tmp_path / "result.json").exists() + state["fail"] = False + assert run_module.main(_argv(tmp_path, "--resume")) == 0 # counters + rss: 20 s + result = json.loads((tmp_path / "result.json").read_text(encoding="utf8")) + assert result["suite_wall_seconds"] == pytest.approx(40.0) + run_module.validate_result(result) + del result["suite_wall_seconds"] + run_module.validate_result(result) + + +def test_no_checkpoint_is_written_without_the_environment_variable(monkeypatch, tmp_path): + """The suite hook writes nothing when FAULT_EVAL_CHECKPOINT is absent.""" + monkeypatch.delenv(CHECKPOINT_ENV, raising=False) + monkeypatch.chdir(tmp_path) + stats = SimpleNamespace(rounds=2, data=[0.1, 0.2], median=0.15) + benchmark = SimpleNamespace(stats=SimpleNamespace(stats=stats), extra_info={"case_id": "a"}) + bench_module.write_checkpoint(benchmark, {"case_id": "a"}, 1.5) + assert list(tmp_path.iterdir()) == [] + + target = tmp_path / "sub.jsonl" + monkeypatch.setenv(CHECKPOINT_ENV, str(target)) + bench_module.write_checkpoint(benchmark, {"case_id": "a"}, 1.5) + line = json.loads(target.read_text(encoding="utf8")) + assert line["case_id"] == "a" + assert line["stats"] == {"rounds": 2, "data": [0.1, 0.2], "median": 0.15} + assert line["extra_info"]["case_id"] == "a" + assert line["elapsed_seconds"] == 1.5 + + +# The real function, taken before the autouse fixture replaces it. +_REAL_REVISION_METADATA = run_module._revision_metadata + + +def _git_repo(path: Path) -> Path: + """Make a real git repository with one commit.""" + path.mkdir() + for command in ( + ["init", "-q"], + ["config", "user.email", "test@example.com"], + ["config", "user.name", "Test"], + ["config", "commit.gpgsign", "false"], + ): + subprocess.run(["git", *command], cwd=path, check=True) + (path / "tracked.txt").write_text("content", encoding="utf8") + subprocess.run(["git", "add", "tracked.txt"], cwd=path, check=True) + subprocess.run(["git", "commit", "-q", "-m", "first"], cwd=path, check=True) + return path + + +@pytest.fixture +def real_git(monkeypatch, tmp_path): + """Point the runner at a real temporary repository and use the real metadata function.""" + repo = _git_repo(tmp_path / "repo") + monkeypatch.setattr(run_module, "ROOT", repo) + monkeypatch.setattr(run_module, "_revision_metadata", _REAL_REVISION_METADATA) + _REAL_REVISION_METADATA.cache_clear() + yield repo + _REAL_REVISION_METADATA.cache_clear() + + +def _repo_argv(repo): + return ["--output", str(repo / "out" / "result.json"), "--suite", "full"] + + +def test_work_dir_and_output_inside_repo_do_not_set_dirty(monkeypatch, real_git): + """Untracked work directory and output file never set dirty, also not on a resume.""" + _prepare_main(monkeypatch, _cases(2)) + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher(1)) + with pytest.raises(RuntimeError): + run_module.main(_repo_argv(real_git)) + work = real_git / "out" / "result.json.work" + assert json.loads((work / "meta.json").read_text(encoding="utf8"))["dirty"] is False + + _REAL_REVISION_METADATA.cache_clear() # a new process + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher()) + assert run_module.main([*_repo_argv(real_git), "--resume"]) == 0 + result = json.loads((real_git / "out" / "result.json").read_text(encoding="utf8")) + assert {row["dirty"] for row in result["cases"]} == {False} + + # A second run with the same output, next to the leftover output file, is also clean. + shutil.rmtree(work) + _REAL_REVISION_METADATA.cache_clear() + assert run_module.main(_repo_argv(real_git)) == 0 + second = json.loads((real_git / "out" / "result.json").read_text(encoding="utf8")) + assert {row["dirty"] for row in second["cases"]} == {False} + + +def test_other_untracked_file_in_repo_sets_dirty(monkeypatch, real_git): + """Only the work directory and the output are excluded: any other file sets dirty.""" + _prepare_main(monkeypatch, _cases(2)) + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher()) + (real_git / "other.txt").write_text("x", encoding="utf8") + assert run_module.main(_repo_argv(real_git)) == 0 + result = json.loads((real_git / "out" / "result.json").read_text(encoding="utf8")) + assert {row["dirty"] for row in result["cases"]} == {True} + + # A file next to the output, in the same directory, also sets dirty. + _REAL_REVISION_METADATA.cache_clear() + (real_git / "other.txt").unlink() + (real_git / "out" / "neighbour.txt").write_text("x", encoding="utf8") + assert ( + run_module.main(["--output", str(real_git / "out" / "second.json"), "--suite", "full"]) == 0 + ) + second = json.loads((real_git / "out" / "second.json").read_text(encoding="utf8")) + assert {row["dirty"] for row in second["cases"]} == {True} + + +def test_resume_without_meta_is_refused(monkeypatch, tmp_path, capsys): + """--resume with a work directory that holds data but no meta.json is refused.""" + _prepare_main(monkeypatch, _cases(2)) + monkeypatch.setattr(run_module, "_launch_pytest", _fake_launcher()) + work = tmp_path / "work" + work.mkdir() + (work / "timing.json").write_text("{}", encoding="utf8") + with pytest.raises(SystemExit) as error: + run_module.main(_argv(tmp_path, "--resume")) + assert error.value.code != 0 + assert "meta.json" in capsys.readouterr().err diff --git a/tests/fault_evaluation/test_benchmark_run.py b/tests/fault_evaluation/test_benchmark_run.py new file mode 100644 index 000000000..c572fea0a --- /dev/null +++ b/tests/fault_evaluation/test_benchmark_run.py @@ -0,0 +1,527 @@ +"""Contract tests for opt-in fault evaluation benchmark tooling.""" + +from __future__ import annotations + +import copy +import importlib +import json +import subprocess +import sys +from pathlib import Path +from types import SimpleNamespace + +import numpy as np +import pytest + + +def _api(module_name: str, name: str): + """Import a focused API and report an actionable absent-tool failure.""" + try: + module = importlib.import_module(module_name) + except ModuleNotFoundError as error: + if error.name == module_name or module_name.startswith(f"{error.name}."): + pytest.fail(f"{module_name}.{name} is required by D2; benchmark tools are missing") + raise + value = getattr(module, name, None) + assert value is not None, f"{module_name}.{name} is required by D2" + return value + + +def _tiny_result(pass_kind: str, cases: list[dict]) -> dict: + """Build a valid two-case result for a mocked isolated runner pass.""" + timing = pass_kind == "timing" + counter = pass_kind == "counters" + rows = [] + for case in cases: + row = { + **case, + "rounds": 2, + "time_samples_seconds": [0.01, 0.02] if timing else [], + "median_seconds": 0.015 if timing else None, + "fault_calls_total": 2 if counter else 0, + "fault_calls_top_level": 1 if counter else 0, + "field_calls_total": 3 if counter else 0, + "fault_points_total": 4 if counter else 0, + "field_points_total": 7 if counter else 0, + "peak_extra_rss_bytes": 4096 if pass_kind == "rss" else 0, + "rss_unit": "bytes", + "code_revision": "abc123", + "dirty": False, + "prerequisite_parent_revision": "parent", + "prerequisite_fix_revision": "fix", + "baseline_revision": "baseline", + "input_hash": "0" * 64, + } + rows.append(row) + return { + "schema_version": 1, + "pass": pass_kind, + "cases": rows, + "provenance": { + "python": "3.x", + "numpy": "2.x", + "scipy": "1.x", + "loopstructural": "2.x", + "os": "test", + "cpu": "test cpu", + "ram_bytes": 1_000_000, + }, + "pytest_benchmark": {"raw": {"stats": {"mean": 0.015}}} if timing else {}, + } + + +def test_enumeration_is_stable_and_covers_full_matrix_and_addons(): + """All required models/operations/sizes have stable cold cases (D9).""" + enumerate_cases = _api("benchmarks.fault_evaluation.run", "enumerate_cases") + cases = enumerate_cases() + repeated = enumerate_cases() + assert [item["case_id"] for item in cases] == [item["case_id"] for item in repeated] + assert len({item["case_id"] for item in cases}) == len(cases) + + models = {f"f{faults}_u{units}" for faults in (0, 1, 2, 4) for units in range(4)} + models |= {"stopped_fault", "cutting_faults", "onlap_domain", "faulted_fold", "plugin"} + operations = { + "oldest_value", + "all_group_values", + "model_ids", + "oldest_gradient", + "model_gradient", + } + sizes = {5_000, 50_000, 500_000} + required = { + (model, operation, count, state) + for model in models + for operation in operations + for count in sizes + for state in ("cold",) + } + observed = {(item["model"], item["operation"], item["points"], item["state"]) for item in cases} + assert required <= observed + assert {item["model"] for item in cases} == models + + for operation in operations: + assert ("plugin", operation, 20_000, "cold") in observed + assert ("f1_u0", operation, 20_000, "cold") in observed + assert {item["state"] for item in cases} == {"cold"} + assert len(cases) == 430 + + +def test_instrumentation_counts_nested_faults_and_local_fields_and_restores(monkeypatch): + """Only opt-in fault/local-field wrappers count; every patch restores on error.""" + from LoopStructural.modelling.features.fault import FaultSegment + from loop_interpolation._discrete_interpolator import DiscreteInterpolator + + # Replace implementations with tiny bound-call-safe fakes before installing + # instrumentation. The production evaluation methods are never run. + monkeypatch.setattr( + FaultSegment, + "apply_to_points", + lambda self, points, *args, **kwargs: points, + ) + monkeypatch.setattr( + DiscreteInterpolator, + "_evaluate_value_local", + lambda self, points: np.zeros(len(points)), + ) + monkeypatch.setattr( + DiscreteInterpolator, + "_evaluate_gradient_local", + lambda self, points: np.zeros((len(points), 3)), + ) + instrumentation_type = _api( + "benchmarks.fault_evaluation.instrumentation", "EvaluationInstrumentation" + ) + original_fault = FaultSegment.apply_to_points + original_value = DiscreteInterpolator._evaluate_value_local + original_gradient = DiscreteInterpolator._evaluate_gradient_local + + class FakeInterpolator: + pass + + class FakeFault: + pass + + class ChildFault(FakeFault): + pass + + fault = FakeFault() + child = ChildFault() + points = np.zeros((3, 3)) + + def nested_apply(self, values, *args, **kwargs): + if self is fault: + FaultSegment.apply_to_points(child, values[:1]) + return values + + monkeypatch.setattr(FaultSegment, "apply_to_points", nested_apply) + instance = instrumentation_type() + with pytest.raises(RuntimeError, match="instrumentation sentinel"): + with instance: + FaultSegment.apply_to_points(fault, points) + DiscreteInterpolator._evaluate_value_local(FakeInterpolator(), points) + DiscreteInterpolator._evaluate_gradient_local(FakeInterpolator(), np.zeros((4, 3))) + raise RuntimeError("instrumentation sentinel") + + assert FaultSegment.apply_to_points is nested_apply + assert DiscreteInterpolator._evaluate_value_local is original_value + assert DiscreteInterpolator._evaluate_gradient_local is original_gradient + counts = instance.snapshot() + assert counts["fault_calls_total"] == 2 + assert counts["fault_calls_top_level"] == 1 + assert counts["fault_points_total"] == 4 + assert counts["field_calls_total"] == 2 + assert counts["field_points_total"] == 7 + + +def test_result_validation_rejects_missing_provenance_counters_and_bad_ids(): + """Validation rejects incomplete schema, duplicate cases and invalid RSS units.""" + validate_result = _api("benchmarks.fault_evaluation.run", "validate_result") + case = { + "case_id": "tiny:oldest_value:2:cold", + "model": "tiny", + "operation": "oldest_value", + "points": 2, + "state": "cold", + "rounds": 2, + "time_samples_seconds": [0.01, 0.02], + "median_seconds": 0.015, + "fault_calls_total": 2, + "fault_calls_top_level": 1, + "field_calls_total": 3, + "fault_points_total": 4, + "field_points_total": 7, + "peak_extra_rss_bytes": 4096, + "rss_unit": "bytes", + "code_revision": "abc123", + "dirty": False, + "prerequisite_parent_revision": "parent", + "prerequisite_fix_revision": "fix", + "baseline_revision": "baseline", + "input_hash": "0" * 64, + } + result = { + "schema_version": 1, + "cases": [case], + "provenance": { + "python": "3.x", + "numpy": "2.x", + "scipy": "1.x", + "loopstructural": "2.x", + "os": "test", + "cpu": "test cpu", + "ram_bytes": 1_000_000, + }, + "pytest_benchmark": {"raw": {"stats": {"mean": 0.015}}}, + } + validate_result(result) + + missing = json.loads(json.dumps(result)) + del missing["cases"][0]["baseline_revision"] + with pytest.raises((ValueError, KeyError), match="baseline_revision|revision|field"): + validate_result(missing) + missing = json.loads(json.dumps(result)) + del missing["provenance"]["cpu"] + with pytest.raises((ValueError, KeyError), match="cpu|provenance|field"): + validate_result(missing) + missing = json.loads(json.dumps(result)) + del missing["cases"][0]["field_points_total"] + with pytest.raises((ValueError, KeyError), match="field_points_total|counter|field"): + validate_result(missing) + duplicate = json.loads(json.dumps(result)) + duplicate["cases"].append(dict(case)) + with pytest.raises(ValueError, match="duplicate|unique|case"): + validate_result(duplicate) + bad_units = json.loads(json.dumps(result)) + bad_units["cases"][0]["rss_unit"] = "pages" + with pytest.raises(ValueError, match="rss|unit|bytes"): + validate_result(bad_units) + + +def test_normal_benchmark_import_does_not_patch_runtime_methods(): + """Importing the runner alone leaves fault and interpolator methods intact.""" + from LoopStructural.modelling.features.fault import FaultSegment + from loop_interpolation._discrete_interpolator import DiscreteInterpolator + + original_fault = FaultSegment.apply_to_points + original_value = DiscreteInterpolator._evaluate_value_local + original_gradient = DiscreteInterpolator._evaluate_gradient_local + _api("benchmarks.fault_evaluation.run", "main") + assert FaultSegment.apply_to_points is original_fault + assert DiscreteInterpolator._evaluate_value_local is original_value + assert DiscreteInterpolator._evaluate_gradient_local is original_gradient + + +def test_timing_pass_uses_only_benchmark_suite_and_parses_raw_json(monkeypatch, tmp_path): + """Timing delegates to the explicit suite launcher and parses its raw output.""" + run_pass = _api("benchmarks.fault_evaluation.run", "_run_fresh_process_pass") + run_module = importlib.import_module(run_pass.__module__) + cases = [ + { + "case_id": "tiny:cold", + "model": "tiny", + "operation": "oldest_value", + "points": 2, + "state": "cold", + } + ] + output = tmp_path / "timing.json" + launches = [] + + def fake_launch(selected_suite, args): + launches.append((selected_suite, args)) + benchmark_path = Path(args[args.index("--benchmark-json") + 1]) + benchmark_path.write_text( + json.dumps( + { + "benchmarks": [ + { + "extra_info": {"case_id": "tiny:cold"}, + "stats": { + "data": [0.01, 0.02], + "median": 0.015, + "rounds": 2, + "iterations": 1, + }, + } + ] + } + ), + encoding="utf8", + ) + return 0 + + monkeypatch.setattr(run_module, "_launch_pytest", fake_launch) + payload = run_pass("timing", cases, output_path=output, rounds=2) + assert launches and Path(launches[0][0]).name == "bench_cases.py" + assert payload["cases"][0]["time_samples_seconds"] == [0.01, 0.02] + + +def test_launcher_builds_fresh_python_pytest_command_without_child_process(monkeypatch): + """Launcher command explicitly invokes this interpreter and suite; no child starts.""" + run_launcher = _api("benchmarks.fault_evaluation.run", "_launch_pytest") + run_module = importlib.import_module(run_launcher.__module__) + suite = Path("benchmarks/fault_evaluation/bench_cases.py").resolve() + commands = [] + + def fake_run(command, **kwargs): + commands.append(command) + return SimpleNamespace(returncode=0) + + def forbidden_popen(*args, **kwargs): + pytest.fail("launcher attempted an unmocked child process") + + monkeypatch.setattr(run_module.subprocess, "run", fake_run) + monkeypatch.setattr(run_module.subprocess, "Popen", forbidden_popen) + assert run_launcher(suite, ["--benchmark-json", "raw.json"]) == 0 + assert commands + command = commands[0] + assert command[:3] == [sys.executable, "-m", "pytest"] + assert str(suite) in command + assert "--benchmark-json" in command and "raw.json" in command + + +def _tiny_cases(*points: int) -> list[dict]: + """Return one cold case for each point count.""" + return [ + { + "case_id": f"tiny:oldest_value:{count}:cold", + "model": "tiny", + "operation": "oldest_value", + "points": count, + "state": "cold", + } + for count in points + ] + + +def _run_main_with_fake_passes(monkeypatch, tmp_path, argv, cases, *, patch="enumerate_cases"): + """Run main with fake passes. Return the calls and the merged document.""" + run_main = _api("benchmarks.fault_evaluation.run", "main") + run_module = importlib.import_module(run_main.__module__) + monkeypatch.setattr(run_module, patch, lambda: cases) + calls = [] + + def fake_pass(pass_kind, selected_cases, *, output_path, rounds): + calls.append((pass_kind, [item["case_id"] for item in selected_cases], rounds)) + payload = _tiny_result(pass_kind, selected_cases) + Path(output_path).write_text(json.dumps(payload), encoding="utf8") + return payload + + monkeypatch.setattr(run_module, "_run_fresh_process_pass", fake_pass) + monkeypatch.setattr(run_module, "_launch_pytest", lambda *args: 0) + output = tmp_path / "merged.json" + assert run_main(["--output", str(output), *argv]) == 0 + return calls, json.loads(output.read_text(encoding="utf8")) + + +def test_runner_separates_passes_and_writes_merged_case_metrics(monkeypatch, tmp_path): + """Three mocked passes merge into schema output with timing raw statistics.""" + cases = _tiny_cases(2, 3) + calls, merged = _run_main_with_fake_passes( + monkeypatch, tmp_path, ["--rounds", "2", "--suite", "full"], cases + ) + ids = [case["case_id"] for case in cases] + assert [call[0] for call in calls] == ["timing", "counters", "rss"] + assert all(call[1] == ids and call[2] == 2 for call in calls) + assert merged["schema_version"] == 1 + assert merged["suite"] == "full" + assert [row["case_id"] for row in merged["cases"]] == ids + assert all(row["fault_calls_total"] == 2 for row in merged["cases"]) + assert all(row["field_points_total"] == 7 for row in merged["cases"]) + assert all(row["peak_extra_rss_bytes"] == 4096 for row in merged["cases"]) + assert merged["pytest_benchmark"]["raw"]["stats"]["mean"] == 0.015 + + +def test_standard_run_gives_each_pass_its_own_cases_and_merges_missing_as_none( + monkeypatch, tmp_path +): + """The counter and memory passes run fewer cases. The merge writes None for the rest (D10).""" + cases = _tiny_cases(5_000, 20_000, 50_000, 100_000) + calls, merged = _run_main_with_fake_passes( + monkeypatch, tmp_path, ["--suite", "standard"], cases, patch="standard_cases" + ) + ids = [case["case_id"] for case in cases] + assert [call[:2] for call in calls] == [ + ("timing", ids), + ("counters", ids[:2]), + ("rss", ids[:1]), + ] + assert merged["suite"] == "standard" + rows = {row["case_id"]: row for row in merged["cases"]} + assert list(rows) == ids + counter_fields = _api("benchmarks.fault_evaluation.run", "COUNTER_FIELDS") + for case_id in ids[2:]: + assert all(rows[case_id][field] is None for field in counter_fields) + for case_id in ids[:2]: + assert all(rows[case_id][field] is not None for field in counter_fields) + for case_id in ids[1:]: + assert rows[case_id]["peak_extra_rss_bytes"] is None + assert rows[case_id]["rss_unit"] == "bytes" + assert rows[ids[0]]["peak_extra_rss_bytes"] == 4096 + + +def _valid_cold_result() -> dict: + """Return a valid result with one cold case.""" + tiny = _tiny_result("timing", _tiny_cases(2)) + tiny.pop("pass") + return tiny + + +def test_result_validation_accepts_none_only_for_counters_and_memory(): + """A case that a pass did not measure has None counters or None memory (D10).""" + validate_result = _api("benchmarks.fault_evaluation.run", "validate_result") + counter_fields = _api("benchmarks.fault_evaluation.run", "COUNTER_FIELDS") + result = _valid_cold_result() + validate_result(result) + for field in counter_fields: + changed = copy.deepcopy(result) + changed["cases"][0][field] = None + validate_result(changed) + changed = copy.deepcopy(result) + changed["cases"][0]["peak_extra_rss_bytes"] = None + validate_result(changed) + changed = copy.deepcopy(result) + changed["suite"] = "standard" + validate_result(changed) + for field in ("median_seconds", "rounds", "input_hash"): + changed = copy.deepcopy(result) + changed["cases"][0][field] = None + with pytest.raises(ValueError, match=field): + validate_result(changed) + + +def test_schema_version_and_states_after_d9(): + """The schema version stays 1. Only the cold state remains.""" + assert _api("benchmarks.fault_evaluation.run", "SCHEMA_VERSION") == 1 + assert _api("benchmarks.fault_evaluation.run", "STATES") == ("cold",) + + +def _row_of(case_id: str, **fields) -> dict: + """Return a case row that has only the fields that cold_view reads.""" + model, operation, points, state = case_id.split(":") + return { + "case_id": case_id, + "model": model, + "operation": operation, + "points": int(points), + "state": state, + **fields, + } + + +def test_cold_view_turns_a_lone_warm_row_into_a_cold_row_and_drops_other_warm_rows(): + """A warm row with no cold row of the same case becomes cold. Other warm rows go (C-016).""" + cold_view = _api("benchmarks.fault_evaluation.run", "cold_view") + document = { + "schema_version": 1, + "cases": [ + _row_of("a:oldest_value:5000:cold", median_seconds=1.0), + _row_of("a:oldest_value:5000:warm", median_seconds=9.0), + _row_of("b:oldest_value:5000:warm", median_seconds=2.0), + _row_of("c:model_ids:5000:cold", median_seconds=3.0), + ], + "provenance": {"python": "3.x"}, + } + original = copy.deepcopy(document) + view = cold_view(document) + assert document == original, "cold_view must return a copy" + assert view["provenance"] == document["provenance"] + by_id = {row["case_id"]: row for row in view["cases"]} + assert set(by_id) == { + "a:oldest_value:5000:cold", + "b:oldest_value:5000:cold", + "c:model_ids:5000:cold", + } + assert by_id["a:oldest_value:5000:cold"]["median_seconds"] == 1.0 + assert by_id["b:oldest_value:5000:cold"]["median_seconds"] == 2.0 + assert {row["state"] for row in view["cases"]} == {"cold"} + + +def test_suite_run_case_makes_only_the_timed_call_and_never_reads_the_cache(): + """The suite case runs no priming call and no cache clear (D9). Warmup stays 0.""" + run_case = _api("benchmarks.fault_evaluation.bench_cases", "run_case") + bench_module = importlib.import_module("benchmarks.fault_evaluation.bench_cases") + events = [] + + class FakeModel: + @property + def evaluation_cache(self): + raise AssertionError("run_case must not read evaluation_cache") + + class TinyBenchmark: + def __init__(self): + self.extra_info = {} + + def pedantic(self, function, *, setup, rounds, warmup_rounds): + self.warmup_rounds = warmup_rounds + self.rounds = rounds + for _ in range(rounds): + setup() + function() + + original = bench_module._OPERATIONS["model_ids"] + bench_module._OPERATIONS["model_ids"] = lambda model, points: events.append("timed") + try: + benchmark = TinyBenchmark() + case = { + "case_id": "tiny:model_ids:2:cold", + "model": "tiny", + "state": "cold", + "operation": "model_ids", + "points": 2, + } + run_case(benchmark, FakeModel(), np.zeros((2, 3)), case, rounds=2) + finally: + bench_module._OPERATIONS["model_ids"] = original + assert benchmark.warmup_rounds == 0 + assert benchmark.rounds == 2 + assert events == ["timed", "timed"] + + +def test_rss_conversion_normalizes_supported_native_units_to_bytes(): + """RSS unit conversion is explicit and rejects unknown platform units.""" + rss_to_bytes = _api("benchmarks.fault_evaluation.run", "rss_to_bytes") + assert rss_to_bytes(2, "bytes") == 2 + assert rss_to_bytes(2, "kibibytes") == 2048 + with pytest.raises(ValueError, match="unit"): + rss_to_bytes(2, "pages") diff --git a/tests/fault_evaluation/test_benchmark_suites.py b/tests/fault_evaluation/test_benchmark_suites.py new file mode 100644 index 000000000..805e65405 --- /dev/null +++ b/tests/fault_evaluation/test_benchmark_suites.py @@ -0,0 +1,269 @@ +"""Tests for the standard and full benchmark suites and the pass case rules (D9, D10). + +No test runs a real model or a real benchmark. +""" + +from __future__ import annotations + +import importlib + +import pytest + +run_module = importlib.import_module("benchmarks.fault_evaluation.run") +bench_module = importlib.import_module("benchmarks.fault_evaluation.bench_cases") + +LARGE_MODELS = { + "f0_u0", + "f0_u1", + "f0_u2", + "f0_u3", + "f1_u0", + "f1_u1", + "f1_u2", + "f1_u3", + "stopped_fault", + "onlap_domain", + "faulted_fold", +} +OPERATIONS = ( + "oldest_value", + "all_group_values", + "model_ids", + "oldest_gradient", + "model_gradient", +) + + +def _api(name: str): + """Return an object of the runner, or fail with a clear reason when it is absent.""" + value = getattr(run_module, name, None) + assert value is not None, f"benchmarks.fault_evaluation.run.{name} is required by D2" + return value + + +def _ids(cases: list[dict]) -> list[str]: + return [case["case_id"] for case in cases] + + +def test_full_suite_has_430_cold_cases(): + """enumerate_cases keeps its name and returns the full suite. Only the cold state remains.""" + cases = run_module.enumerate_cases() + assert len(cases) == 430 + assert {case["state"] for case in cases} == {"cold"} + assert {case["points"] for case in cases} == {5_000, 20_000, 50_000, 100_000, 500_000} + + +def test_standard_suite_counts(): + """The standard suite has 131 cases: 105 small, 10 extra and 16 large.""" + cases = _api("standard_cases")() + assert len(cases) == 131 + by_size = {} + for case in cases: + by_size[case["points"]] = by_size.get(case["points"], 0) + 1 + assert by_size == {5_000: 105, 20_000: 10, 50_000: 9, 100_000: 7} + assert len(_api("STANDARD_LARGE_CASES")) == 16 + + +def test_standard_ids_are_in_full_list_in_same_order(): + """The standard list is a subsequence of the full list.""" + full_cases = run_module.enumerate_cases() + full = _ids(full_cases) + standard_cases = _api("standard_cases")() + standard = _ids(standard_cases) + assert len(set(standard)) == len(standard) + positions = [full.index(case_id) for case_id in standard] + assert positions == sorted(positions) + by_id = {case["case_id"]: case for case in full_cases} + assert all(by_id[case["case_id"]] == case for case in standard_cases) + + +def test_large_cases_use_only_the_allowed_models_and_literal_ids(): + """The 16 large ids use the 11 chosen models and are stored as literal text.""" + large = list(_api("STANDARD_LARGE_CASES")) + assert all(isinstance(case_id, str) for case_id in large) + full = {case["case_id"]: case for case in run_module.enumerate_cases()} + assert set(large) <= set(full) + assert {full[case_id]["model"] for case_id in large} <= LARGE_MODELS + assert {full[case_id]["points"] for case_id in large} == {50_000, 100_000} + standard_large = [ + case["case_id"] for case in _api("standard_cases")() if case["points"] in (50_000, 100_000) + ] + assert sorted(standard_large) == sorted(large) + + +def test_standard_suite_contains_the_acceptance_cases(): + """Every case that SC-002 to SC-010 use is in the standard suite.""" + standard = set(_ids(_api("standard_cases")())) + targets = (("f4_u3", 5_000), ("f4_u0", 5_000), ("plugin", 20_000), ("f1_u0", 20_000)) + wanted = { + f"{model}:{operation}:{points}:{state}" + for model, points in targets + for operation in OPERATIONS + for state in ("cold",) + } + assert wanted <= standard + + +def test_select_cases_names(): + """select_cases picks the standard or full list and rejects other names.""" + select_cases = _api("select_cases") + assert _ids(select_cases("standard")) == _ids(_api("standard_cases")()) + assert _ids(select_cases("full")) == _ids(run_module.enumerate_cases()) + with pytest.raises(ValueError): + select_cases("other") + + +EXPECTED_LARGE_CASES = ( + "f0_u0:all_group_values:100000:cold", + "f0_u1:oldest_value:100000:cold", + "f0_u1:model_ids:50000:cold", + "f0_u2:oldest_value:50000:cold", + "f0_u3:model_ids:100000:cold", + "f1_u0:all_group_values:100000:cold", + "f1_u1:oldest_value:50000:cold", + "f1_u2:oldest_value:100000:cold", + "f1_u2:oldest_gradient:50000:cold", + "f1_u3:oldest_value:50000:cold", + "f1_u3:all_group_values:100000:cold", + "stopped_fault:model_ids:50000:cold", + "stopped_fault:oldest_gradient:50000:cold", + "onlap_domain:model_ids:50000:cold", + "faulted_fold:oldest_value:50000:cold", + "faulted_fold:all_group_values:100000:cold", +) + + +def test_states_are_only_cold(): + """The benchmark has no warm state (D9).""" + assert _api("STATES") == ("cold",) + + +def test_large_cases_are_the_16_ids_of_plan_d9_in_order(): + """STANDARD_LARGE_CASES is the literal list of plan D9.""" + assert tuple(_api("STANDARD_LARGE_CASES")) == EXPECTED_LARGE_CASES + + +def test_standard_suite_has_no_onlap_gradient_case_at_100000_points(): + """The five gradient cases at 100,000 points are not in the standard list.""" + standard = _ids(_api("standard_cases")()) + assert not [ + case_id + for case_id in standard + if case_id.startswith("onlap_domain:") and ":100000:" in case_id and "gradient" in case_id + ] + + +def test_pass_points_table(): + """Timing runs all cases. Counters run 5,000 and 20,000 points. Memory runs 5,000.""" + assert _api("PASS_POINTS") == {"timing": None, "counters": (5_000, 20_000), "rss": (5_000,)} + + +def _sized_cases() -> list[dict]: + return [ + {"case_id": f"m:oldest_value:{points}:cold", "points": points} + for points in (5_000, 20_000, 50_000, 100_000, 500_000) + ] + + +def test_pass_cases_full_gives_all_cases_for_every_pass(): + """The full suite runs each pass on every case.""" + pass_cases = _api("pass_cases") + cases = _sized_cases() + for pass_kind in ("timing", "counters", "rss"): + assert pass_cases(cases, pass_kind, "full") == cases + + +def test_pass_cases_standard_filters_by_points(): + """The standard suite filters the counter and memory passes by point count.""" + pass_cases = _api("pass_cases") + cases = _sized_cases() + assert pass_cases(cases, "timing", "standard") == cases + assert [case["points"] for case in pass_cases(cases, "counters", "standard")] == [5_000, 20_000] + assert [case["points"] for case in pass_cases(cases, "rss", "standard")] == [5_000] + + +def test_pass_cases_rejects_unknown_pass_and_suite(): + """An unknown pass or suite name raises ValueError.""" + pass_cases = _api("pass_cases") + with pytest.raises(ValueError): + pass_cases(_sized_cases(), "other", "standard") + with pytest.raises(ValueError): + pass_cases(_sized_cases(), "timing", "other") + + +def _first_pass_ids(monkeypatch, tmp_path, extra_argv): + """Run main with a fake pass that stops the run. Return the case ids of the first pass.""" + full = [ + { + "case_id": "tiny:full", + "model": "tiny", + "operation": "oldest_value", + "points": 2, + "state": "cold", + } + ] + # main must call enumerate_cases through the module global for the full suite, + # so that this fake list is what "--suite full" runs. + monkeypatch.setattr(run_module, "enumerate_cases", lambda: full) + seen = [] + + def fake_pass(pass_kind, selected_cases, *, output_path, rounds): + seen.append(_ids(selected_cases)) + raise RuntimeError("stop after the first pass") + + monkeypatch.setattr(run_module, "_run_fresh_process_pass", fake_pass) + argv = ["--output", str(tmp_path / "out.json"), "--work-dir", str(tmp_path / "work")] + with pytest.raises(RuntimeError, match="stop after the first pass"): + run_module.main([*argv, *extra_argv]) + return seen[0] + + +def test_main_suite_option_defaults_to_standard(monkeypatch, tmp_path): + """Without --suite, main runs the standard list.""" + ids = _first_pass_ids(monkeypatch, tmp_path, []) + assert ids == _ids(_api("standard_cases")()) + + +def test_main_suite_full_runs_the_full_list(monkeypatch, tmp_path): + """--suite full runs what enumerate_cases returns.""" + assert _first_pass_ids(monkeypatch, tmp_path, ["--suite", "full"]) == ["tiny:full"] + + +def test_main_rejects_unknown_suite(tmp_path): + """An unknown suite name is a usage error.""" + with pytest.raises(SystemExit): + run_module.main(["--output", str(tmp_path / "out.json"), "--suite", "other"]) + + +class _FakeBenchmark: + """Replace pytest-benchmark: run setup, then the call, once for each round.""" + + def __init__(self): + self.extra_info = {} + + def pedantic(self, call, *, setup, rounds, warmup_rounds): + assert warmup_rounds == 0 + for _ in range(rounds): + setup() + call() + + +class _NoCacheRead: + """A model that fails the test if run_case reads its evaluation cache.""" + + @property + def evaluation_cache(self): + raise AssertionError("run_case must not read evaluation_cache (D9)") + + +def test_run_case_never_primes_and_never_reads_the_cache(monkeypatch): + """A case makes one timed call in each round. It never clears or primes a cache.""" + events = [] + monkeypatch.setitem( + bench_module._OPERATIONS, "oldest_value", lambda model, points: events.append("call") + ) + for state in ("cold", "warm"): + events.clear() + case = {"operation": "oldest_value", "state": state} + bench_module.run_case(_FakeBenchmark(), _NoCacheRead(), None, case, rounds=3) + assert events == ["call"] * 3, state diff --git a/tests/fault_evaluation/test_concurrency.py b/tests/fault_evaluation/test_concurrency.py new file mode 100644 index 000000000..d135dfdae --- /dev/null +++ b/tests/fault_evaluation/test_concurrency.py @@ -0,0 +1,310 @@ +"""Tests for simultaneous evaluation calls on models (D4, D5, FR-010a, T022, T047). + +The plugin evaluates in background threads. These tests define the behaviour of +evaluation calls that run at the same time. + +* Two threads that evaluate one model give the results of serial calls. +* Two calls on one model run at the same time. No lock of the model serializes them. +* The scope of one thread is not visible in another thread. +* An exception in one thread releases the scope of that thread. + +No test uses a sleep to synchronize. Events and barriers do the synchronization. Every +join has a time limit, so a deadlock fails the test. +""" + +from __future__ import annotations + +import threading +from collections.abc import Callable +from pathlib import Path +from typing import Any + +import numpy as np +import pytest + +from LoopStructural import GeologicalModel +from LoopStructural.modelling.features import _evaluation +from LoopStructural.modelling.features.fault._fault_segment import FaultSegment +from tests.fault_evaluation.models import build_model + +DATA = Path(__file__).parent / "data" +JOIN_SECONDS = 60 + + +def _points(name: str) -> np.ndarray: + """Return the stored golden points of a model.""" + with np.load(DATA / f"{name}.npz", allow_pickle=False) as archive: + return archive["points"].copy() + + +def _group(model: GeologicalModel, index: int): + return model.get_feature_by_name(f"group_{index}") + + +class _Worker(threading.Thread): + """Thread that stores the result or the exception of its function.""" + + def __init__(self, function: Callable[[], Any], name: str = "worker") -> None: + super().__init__(name=name, daemon=True) + self._function = function + self.result: Any = None + self.error: BaseException | None = None + + def run(self) -> None: + try: + self.result = self._function() + except BaseException as error: # noqa: BLE001 - the test inspects every error + self.error = error + + def finish(self) -> Any: + """Join with a time limit. Fail on a deadlock or an exception. Return the result.""" + self.join(JOIN_SECONDS) + assert not self.is_alive(), f"thread {self.name!r} did not finish: deadlock" + assert self.error is None, f"thread {self.name!r} raised {self.error!r}" + return self.result + + +def _join_all(*workers: _Worker) -> None: + for worker in workers: + worker.finish() + + +def _hook_fault_calls(monkeypatch, before: Callable[[], None]) -> None: + """Call ``before()`` at the start of each fault call, then run the real call.""" + original = FaultSegment.apply_to_points + + def apply_to_points(fault, points, *args, **kwargs): + before() + return original(fault, points, *args, **kwargs) + + monkeypatch.setattr(FaultSegment, "apply_to_points", apply_to_points) + + +# --------------------------------------------------------------------------- +# Simultaneous calls on one model +# --------------------------------------------------------------------------- + + +@pytest.mark.parametrize("name,group_index", [("f1_u0", 0), ("f4_u3", 3)]) +def test_two_threads_on_one_model_match_serial_references(name, group_index): + """evaluate_model in one thread and evaluate_value in another give the serial results.""" + model = build_model(name) + points = _points(name) + group = _group(model, group_index) + # Make the serial references first. + model_reference = model.evaluate_model(points) + value_reference = group.evaluate_value(points) + for _ in range(3): + barrier = threading.Barrier(2, timeout=JOIN_SECONDS) + + def run_model(barrier=barrier): + barrier.wait() + return model.evaluate_model(points) + + def run_value(barrier=barrier): + barrier.wait() + return group.evaluate_value(points) + + first, second = _Worker(run_model, "model"), _Worker(run_value, "value") + first.start() + second.start() + _join_all(first, second) + np.testing.assert_array_equal(first.result, model_reference) + np.testing.assert_array_equal(second.result, value_reference) + + +def test_two_threads_with_the_same_call_match_the_serial_reference(): + """Two equal calls at the same time both give the serial result.""" + model = build_model("f4_u3") + points = _points("f4_u3") + reference = model.evaluate_model(points) + barrier = threading.Barrier(2, timeout=JOIN_SECONDS) + + def run(): + barrier.wait() + return model.evaluate_model(points.copy()) + + workers = [_Worker(run, f"same-{index}") for index in range(2)] + for worker in workers: + worker.start() + _join_all(*workers) + for worker in workers: + np.testing.assert_array_equal(worker.result, reference) + + +def test_two_calls_on_one_model_run_at_the_same_time(monkeypatch): + """Two threads are inside a fault call of one model at the same time. + + Each thread waits at a barrier for the other thread, inside its first fault call. + A lock of the model would keep the second thread out, and the barrier would break. + """ + points = _points("f1_u0") + reference = build_model("f1_u0").evaluate_model(points) # a second model: no warm state + model = build_model("f1_u0") + barrier = threading.Barrier(2, timeout=10) + waited: set[int] = set() + guard = threading.Lock() + original = FaultSegment.apply_to_points + + def apply_to_points(fault, pts, *args, **kwargs): + with guard: + first = threading.get_ident() not in waited + waited.add(threading.get_ident()) + if first: + barrier.wait() # raises threading.BrokenBarrierError when no second thread comes + return original(fault, pts, *args, **kwargs) + + monkeypatch.setattr(FaultSegment, "apply_to_points", apply_to_points) + workers = [_Worker(lambda: model.evaluate_model(points.copy()), f"same-{i}") for i in range(2)] + for worker in workers: + worker.start() + _join_all(*workers) + assert len(waited) == 2, "both threads must reach the fault call" + for worker in workers: + np.testing.assert_array_equal(worker.result, reference) + + +# --------------------------------------------------------------------------- +# Two models +# --------------------------------------------------------------------------- + + +def test_evaluation_in_progress_on_one_model_does_not_block_another_model(monkeypatch): + """Model B evaluates to the end while a thread is inside an evaluation of model A.""" + first_model, second_model = build_model("f1_u0"), build_model("f1_u0") + points = _points("f1_u0") + reference = second_model.evaluate_model(points) + inside, release = threading.Event(), threading.Event() + + def before(): + if threading.current_thread().name == "model-a": + inside.set() + assert release.wait(JOIN_SECONDS) + + _hook_fault_calls(monkeypatch, before) + first = _Worker(lambda: first_model.evaluate_model(points), "model-a") + first.start() + assert inside.wait(JOIN_SECONDS) + second = _Worker(lambda: second_model.evaluate_model(points), "model-b") + try: + second.start() + second.finish() + finally: + release.set() + first.finish() + np.testing.assert_array_equal(second.result, reference) + np.testing.assert_array_equal(first.result, reference) + + +# --------------------------------------------------------------------------- +# Isolation of the scope +# --------------------------------------------------------------------------- + + +def test_scopes_of_two_threads_are_separate(monkeypatch): + """Each thread has its own context. No context is seen in two threads.""" + model = build_model("f4_u3") + points = _points("f4_u3") + seen: dict[str, list] = {} + original = _evaluation.EvaluationContext.restore + guard = threading.Lock() + + def recording(context, feature, pts, reverse=False): + with guard: + seen.setdefault(threading.current_thread().name, []).append(context) + return original(context, feature, pts, reverse) + + monkeypatch.setattr(_evaluation.EvaluationContext, "restore", recording) + barrier = threading.Barrier(2, timeout=JOIN_SECONDS) + + def run(): + assert _evaluation._ACTIVE.get() is None + barrier.wait() + result = model.evaluate_model(points) + assert _evaluation._ACTIVE.get() is None, "the scope stayed active in the thread" + return result + + workers = [_Worker(run, f"scope-{index}") for index in range(2)] + for worker in workers: + worker.start() + _join_all(*workers) + assert _evaluation._ACTIVE.get() is None + assert set(seen) == {"scope-0", "scope-1"} + # The lists hold the context objects, so no id can be reused. + first_ids = {id(context) for context in seen["scope-0"]} + second_ids = {id(context) for context in seen["scope-1"]} + assert first_ids.isdisjoint(second_ids), "a context was shared between threads" + np.testing.assert_array_equal(workers[0].result, workers[1].result) + + +def test_scope_of_one_thread_is_not_visible_in_another_thread(): + """A scope that is open in one thread is not the active scope of another thread.""" + model = build_model("f1_u0") + inside, release = threading.Event(), threading.Event() + + def hold(): + with _evaluation.evaluation_scope(model): + inside.set() + assert release.wait(JOIN_SECONDS) + + holder = _Worker(hold, "scope-holder") + holder.start() + assert inside.wait(JOIN_SECONDS) + other = _Worker(lambda: _evaluation._ACTIVE.get(), "scope-reader") + try: + other.start() + other.finish() + finally: + release.set() + holder.finish() + assert other.result is None + assert _evaluation._ACTIVE.get() is None + + +# --------------------------------------------------------------------------- +# Exceptions +# --------------------------------------------------------------------------- + + +class _Boom(RuntimeError): + """Error that the test raises on purpose.""" + + +def test_exception_in_one_thread_releases_the_scope(monkeypatch): + """A failing thread leaves no scope. Other threads and later calls work.""" + model = build_model("f4_u3") + points = _points("f4_u3") + reference = build_model("f4_u3").evaluate_model(points) # a second model: no warm state + inside, release = threading.Event(), threading.Event() + + def before(): + if threading.current_thread().name == "failing": + inside.set() + assert release.wait(JOIN_SECONDS) + raise _Boom("on purpose") + + _hook_fault_calls(monkeypatch, before) + scope_after_failure: list[Any] = [] + + def failing(): + try: + return model.evaluate_model(points) + finally: + scope_after_failure.append(_evaluation._ACTIVE.get()) + + bad = _Worker(failing, "failing") + bad.start() + assert inside.wait(JOIN_SECONDS) + good = _Worker(lambda: model.evaluate_model(points), "good") + good.start() + release.set() + bad.join(JOIN_SECONDS) + assert not bad.is_alive(), "the failing thread did not finish" + assert isinstance(bad.error, _Boom) + assert scope_after_failure == [None], "the scope was not reset after the exception" + good.finish() + np.testing.assert_array_equal(good.result, reference) + assert _evaluation._ACTIVE.get() is None + again = _Worker(lambda: model.evaluate_model(points), "again") + again.start() + np.testing.assert_array_equal(again.finish(), reference) diff --git a/tests/fault_evaluation/test_context.py b/tests/fault_evaluation/test_context.py new file mode 100644 index 000000000..72d2016e5 --- /dev/null +++ b/tests/fault_evaluation/test_context.py @@ -0,0 +1,762 @@ +"""Tests for the evaluation scope and the sharing of fault restorations (D3, D5, OP1). + +Two kinds of test are in this file. + +* Behaviour tests use the public evaluation functions. They count the calls of + ``FaultSegment.apply_to_points`` and compare the values with the stored golden + output (or with an independent recomputation that does not use a scope). + The golden models are small, so each test uses the stored golden points. +* Private API tests check ``LoopStructural.modelling.features._evaluation``. + They fail with a clear message while this module is absent. + +OP1 rule, as accepted for this spec: inside one top-level evaluation call, one +restoration is made for each distinct ORDERED fault set and each distinct point +batch. Recursive fault-frame batches are counted separately. The total count +across different batches is NOT claimed to be F. +""" + +from __future__ import annotations + +import importlib +import inspect +import json +from pathlib import Path + +import numpy as np +import pytest + +from benchmarks.fault_evaluation.instrumentation import EvaluationInstrumentation +from LoopStructural import GeologicalModel +from LoopStructural.modelling.features._base_geological_feature import BaseFeature +from LoopStructural.modelling.features._geological_feature import GeologicalFeature +from LoopStructural.modelling.features.fault import FaultSegment +from tests.fault_evaluation.golden import assert_matches +from tests.fault_evaluation.models import build_model + +MODULE_NAME = "LoopStructural.modelling.features._evaluation" +DATA = Path(__file__).parent / "data" +MANIFEST = json.loads((DATA / "manifest.json").read_text(encoding="utf8")) + +# The present signatures. The performance change must not alter them. +EXPECTED_SIGNATURES = { + (GeologicalModel, "evaluate_model"): ( + "(self, xyz: 'np.ndarray', *, scale: 'bool' = True) -> 'np.ndarray'" + ), + (GeologicalModel, "evaluate_model_gradient"): ( + "(self, points: 'np.ndarray', *, scale: 'bool' = True) -> 'np.ndarray'" + ), + (GeologicalFeature, "evaluate_value"): ( + "(self, pos: 'np.ndarray', ignore_regions=False, fillnan=None, *, block=None," + " restored_through=()) -> 'np.ndarray'" + ), + (GeologicalFeature, "evaluate_gradient"): ( + "(self, pos: 'np.ndarray', ignore_regions=False, element_scale_parameter=None, *," + " block=None, restored_through=()) -> 'np.ndarray'" + ), + (BaseFeature, "evaluate_value"): "(self, pos, ignore_regions=False)", + (BaseFeature, "evaluate_gradient"): "(self, pos, ignore_regions=False)", +} + + +def _api(name: str): + """Return an object of the evaluation module, or fail with a clear reason when it is absent.""" + try: + module = importlib.import_module(MODULE_NAME) + except ImportError as error: + pytest.fail(f"{MODULE_NAME} is required by D3 (import failed: {error})") + value = getattr(module, name, None) + assert value is not None, f"{MODULE_NAME}.{name} is required by D3" + return value + + +def _golden(name: str) -> dict[str, np.ndarray]: + """Return the stored legacy reference of a golden model.""" + with np.load(DATA / f"{name}.npz", allow_pickle=False) as archive: + return {key: archive[key].copy() for key in archive.files} + + +def _assert_golden(name: str, actual: dict[str, np.ndarray]) -> None: + """Compare chosen outputs with the stored legacy output, with the golden tolerances.""" + expected = _golden(name) + actual = dict(actual) + if "model_ids" in actual: + # The comparator accepts a changed id only at a unit boundary. + actual["unit_boundary_distances"] = expected["unit_boundary_distances"] + reference = {key: expected[key] for key in actual} + assert_matches(name, actual, reference, MANIFEST["models"][name]["box_size"]) + + +def _counted(call): + """Run ``call`` and return its result and a snapshot of the fault call counters. + + ``fault_calls_total`` is the nested total: every call of ``apply_to_points``, + also the calls made inside the frame of another fault (OP1: counted separately). + ``fault_calls_top_level`` counts only the calls that are not inside another + ``apply_to_points`` call. + """ + with EvaluationInstrumentation() as instrumentation: + result = call() + return result, instrumentation.snapshot() + + +def _group(model: GeologicalModel, index: int) -> GeologicalFeature: + return model.get_feature_by_name(f"group_{index}") + + +def _reference_value(feature, points: np.ndarray, ignore_regions: bool = False) -> np.ndarray: + """Recompute ``evaluate_value`` with the legacy steps and no scope. + + The mask uses the original points. The faults are applied one by one, in the + order of ``feature.faults``. + """ + mask = np.ones(len(points), dtype=bool) + if not ignore_regions: + for region in feature.regions: + mask = np.logical_and(mask, region(points)) + restored = points + if feature.faults_enabled: + for fault in feature.faults: + restored = fault.apply_to_points(restored) + values = np.full(len(points), np.nan) + values[mask] = feature.interpolator.evaluate_value(restored[mask, :]) + return values + + +def _manual_restore(feature, points: np.ndarray, reverse: bool = False) -> np.ndarray: + for fault in feature.faults: + points = fault.apply_to_points(points, reverse=reverse) + return points + + +def _disable_faults(feature, seen: set[int] | None = None) -> None: + """Switch off the faults of a feature and of all its region features.""" + seen = set() if seen is None else seen + if id(feature) in seen or not isinstance(feature, BaseFeature): + return + seen.add(id(feature)) + feature.faults_enabled = False + for region in feature.regions: + _disable_faults(region, seen) + + +def _assert_no_stale_scope(feature, points: np.ndarray, model=None) -> None: + """Show that no scope is active: a new scope must apply every fault of ``feature`` again. + + A scope is the only thing that can remove a fault call. + A fault call that is missing means that a scope is still active. + """ + scope, restore = _api("evaluation_scope"), _api("restore") + _, counts = _counted(lambda: _enter_and_restore(scope, restore, model, feature, points)) + assert counts["fault_calls_total"] == len(feature.faults), "a scope is still active" + + +def _enter_and_restore(scope, restore, model, feature, points): + with scope(model): + return restore(feature, points) + + +# --------------------------------------------------------------------------- +# Public signatures (these freeze the present behaviour and pass today) +# --------------------------------------------------------------------------- + + +@pytest.mark.parametrize("owner,name", list(EXPECTED_SIGNATURES)) +def test_public_signature_is_unchanged(owner, name): + """The public evaluation signatures are those of master (spec 005 added block and + restored_through) and the evaluation scope adds no parameter.""" + actual = str(inspect.signature(getattr(owner, name))) + assert actual == EXPECTED_SIGNATURES[(owner, name)] + + +# --------------------------------------------------------------------------- +# One-call restoration sharing, model f4_u3 (4 faults, 3 unconformities) +# --------------------------------------------------------------------------- + + +def test_value_of_oldest_group_restores_once_per_fault(): + """The oldest group and its 3 unconformity regions use one ordered set of 4 faults. + + Legacy: 4 applications for the feature and 4 for each of 3 regions = 16. + All applications are top level, because no fault frame is faulted. + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + values, counts = _counted(lambda: _group(model, 3).evaluate_value(points)) + _assert_golden("f4_u3", {"points": points, "feature::group_3::value": values}) + assert counts["fault_calls_total"] == 4 + assert counts["fault_calls_top_level"] == 4 + + +def test_evaluate_model_restores_once_per_fault(): + """``evaluate_model`` is one top-level call: 4 faults, once, for all 4 groups. + + Legacy: 52 applications (13 uses of the same ordered set of 4 faults). + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + ids, counts = _counted(lambda: model.evaluate_model(golden["points"])) + _assert_golden("f4_u3", {"points": golden["points"], "model_ids": ids}) + assert counts["fault_calls_total"] == 4 + assert counts["fault_calls_top_level"] == 4 + + +def test_gradient_values_stay_frozen(): + """The gradient algorithm is not changed by this task (T015 wraps value entry points only). + + The gradient of ``group_3`` and the model gradient equal the stored golden output. + No count is checked here: the sharing of gradient batches is task T020/T021. + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + gradient = _group(model, 3).evaluate_gradient(points) + _assert_golden("f4_u3", {"points": points, "feature::group_3::gradient": gradient}) + model_gradient = model.evaluate_model_gradient(points) + # The model gradient is the gradient of the youngest group that is not NaN. + expected = np.zeros(points.shape) + for group in reversed(model.stratigraphic_column.get_groups()): + group_gradient = golden[f"feature::{group.name}::gradient"] + valid = ~np.isnan(group_gradient).any(axis=1) + expected[valid] = group_gradient[valid] + np.testing.assert_allclose(model_gradient, expected, rtol=0.0, atol=1e-8 * 1000.0) + + +# --------------------------------------------------------------------------- +# Different and reordered fault sets +# --------------------------------------------------------------------------- + + +def test_stopped_fault_applies_each_distinct_set_once(): + """``stopped_fault`` has the sets [] (group_0, unconformity) and [fault_0] (group_1). + + The empty set needs no restoration. The set [fault_0] needs one. The sum over + the distinct sets of the number of faults is 1 (legacy: also 1). + """ + model, golden = build_model("stopped_fault"), _golden("stopped_fault") + ids, counts = _counted(lambda: model.evaluate_model(golden["points"])) + _assert_golden("stopped_fault", {"points": golden["points"], "model_ids": ids}) + assert counts["fault_calls_total"] == 1 + assert counts["fault_calls_top_level"] == 1 + + +def test_onlap_domain_restores_the_shared_set_once(): + """In ``onlap_domain`` 3 groups and 2 regions use the ordered set [fault_0]. + + Expected: 1 application. Legacy: 4. + """ + model, golden = build_model("onlap_domain"), _golden("onlap_domain") + ids, counts = _counted(lambda: model.evaluate_model(golden["points"])) + _assert_golden("onlap_domain", {"points": golden["points"], "model_ids": ids}) + assert counts["fault_calls_total"] == 1 + + +def test_reordered_fault_list_is_a_different_set(): + """Give group_1 the faults in the reverse order of the other features. + + group_1 then uses set B = [0, 1, 2, 3]. Its region __group_0_unconformity and + all other features use set A = [3, 2, 1, 0]. Restoring in another order gives + another result, so the two sets are two keys: 4 + 4 = 8 applications. + An implementation that merges the sets would give 4 and wrong values. + Legacy: 12 (group_1 and its region from group_1 use B, the other region uses A). + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + group = _group(model, 1) + group.faults = list(reversed(group.faults)) + assert group.faults != _group(model, 3).faults + values, counts = _counted(lambda: group.evaluate_value(points)) + np.testing.assert_allclose(values, _reference_value(group, points), atol=1e-8, equal_nan=True) + assert counts["fault_calls_total"] == 8 + # The order changes the result, so the test would detect a merged key. + assert not np.allclose( + _manual_restore(group, points), _manual_restore(_group(model, 3), points) + ) + + +def _reordered_model() -> GeologicalModel: + """Return ``f4_u3`` where group_1 has the faults in the reverse order (sets A and B).""" + model = build_model("f4_u3") + group = _group(model, 1) + group.faults = list(reversed(group.faults)) + return model + + +def test_reordered_fault_list_in_evaluate_model(): + """The model call with sets A and B applies each ordered set once: 4 + 4 = 8.""" + model, golden = _reordered_model(), _golden("f4_u3") + ids, counts = _counted(lambda: model.evaluate_model(golden["points"])) + assert counts["fault_calls_total"] == 8 + assert ids.shape == (len(golden["points"]),) + + +# --------------------------------------------------------------------------- +# reverse, disabled faults, ignore_regions, zero displacement (values only) +# --------------------------------------------------------------------------- + + +def test_reverse_restoration_equals_the_legacy_result(): + """``_apply_faults(reverse=True)`` gives the legacy sequence of reversed restorations.""" + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + actual, counts = _counted(lambda: feature._apply_faults(points, reverse=True)) + np.testing.assert_array_equal(actual, _manual_restore(feature, points, reverse=True)) + assert counts["fault_calls_total"] == 4 + assert not np.allclose(actual, points) + + +def test_disabled_faults_make_no_application(): + """With ``faults_enabled = False`` no fault is applied and the values do not change.""" + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + _disable_faults(feature) + values, counts = _counted(lambda: feature.evaluate_value(points)) + assert counts["fault_calls_total"] == 0 + np.testing.assert_allclose(values, _reference_value(feature, points), atol=1e-8, equal_nan=True) + assert not np.allclose(values, golden["feature::group_3::value"], equal_nan=True) + + +def test_group_disabled_but_regions_enabled(): + """Only the group has ``faults_enabled = False``. Its regions keep the same ordered faults. + + The key includes ``faults_enabled``, so the group must not use the restoration of + its regions (and the regions must not use the empty result of the group). + Expected: 4 applications (the regions; the group applies none). Legacy: 12. + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + feature.faults_enabled = False + values, counts = _counted(lambda: feature.evaluate_value(points)) + np.testing.assert_allclose(values, _reference_value(feature, points), atol=1e-8, equal_nan=True) + assert counts["fault_calls_total"] == 4 + + +def test_restore_enabled_and_disabled_feature_in_one_scope(): + """Same points and same ordered faults, one feature enabled and one disabled, one scope. + + The enabled feature applies the faults (4). The disabled feature gets equal points and + makes no new application. The result must not depend on the order of the two calls. + """ + scope, restore = _api("evaluation_scope"), _api("restore") + model, golden = build_model("f4_u3"), _golden("f4_u3") + points, disabled = golden["points"], _group(model, 3) + enabled = next( + region + for region in disabled.regions + if isinstance(region, BaseFeature) and region.faults == disabled.faults + ) + expected = _manual_restore(enabled, points) + disabled.faults_enabled = False + try: + + def run(first, second): + with scope(model): + return restore(first, points), restore(second, points) + + (restored_on, restored_off), counts = _counted(lambda: run(enabled, disabled)) + assert counts["fault_calls_total"] == 4 + np.testing.assert_array_equal(restored_on, expected) + np.testing.assert_array_equal(restored_off, points) + (restored_off, restored_on), counts = _counted(lambda: run(disabled, enabled)) + assert counts["fault_calls_total"] == 4 + np.testing.assert_array_equal(restored_on, expected) + np.testing.assert_array_equal(restored_off, points) + finally: + disabled.faults_enabled = True + + +def test_disabled_faults_in_evaluate_model(): + """The model call with all faults off applies no fault.""" + model, golden = build_model("f4_u3"), _golden("f4_u3") + for feature in model.features: + _disable_faults(feature) + ids, counts = _counted(lambda: model.evaluate_model(golden["points"])) + assert counts["fault_calls_total"] == 0 + assert ids.shape == (len(golden["points"]),) + + +def test_ignore_regions_equals_the_legacy_result(): + """With ``ignore_regions=True`` the regions are not used: only the feature restores.""" + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + values, counts = _counted(lambda: feature.evaluate_value(points, ignore_regions=True)) + np.testing.assert_allclose( + values, _reference_value(feature, points, ignore_regions=True), atol=1e-8, equal_nan=True + ) + assert counts["fault_calls_total"] == 4 + assert np.isfinite(values).all() + + +def test_zero_displacement_equals_the_unfaulted_result(): + """A fault with displacement 0 moves no point. The values equal the values without faults.""" + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + for fault in _group(model, 3).faults: + fault.displacement = 0.0 + values = _group(model, 3).evaluate_value(points) + unfaulted = build_model("f4_u3") + feature = _group(unfaulted, 3) + _disable_faults(feature) + np.testing.assert_allclose(values, _reference_value(feature, points), atol=1e-8, equal_nan=True) + + +# --------------------------------------------------------------------------- +# Original mask coordinates +# --------------------------------------------------------------------------- + + +@pytest.mark.parametrize("name", ["onlap_domain", "stopped_fault"]) +def test_region_masks_use_the_original_points(name, monkeypatch): + """A region of a group gets the original points, never the restored points. + + A spy on every region of every group records the batch that the group mask + gives to it. Calls inside ``apply_to_points`` (fault frames) are not recorded. + The values must also equal the golden values. A wrong implementation that + gives restored points to the region predicates fails both checks. + """ + model, golden = build_model(name), _golden(name) + points = golden["points"] + batches: list[np.ndarray] = [] + depth = [0] + original = FaultSegment.apply_to_points + + def tracked(self, pts, *args, **kwargs): + depth[0] += 1 + try: + return original(self, pts, *args, **kwargs) + finally: + depth[0] -= 1 + + monkeypatch.setattr(FaultSegment, "apply_to_points", tracked) + groups = [ + feature + for feature in model.features + if feature.name in model.feature_name_index and feature.name.startswith("group_") + ] + regions = {id(r): r for group in groups for r in group.regions if isinstance(r, BaseFeature)} + assert regions + for region in regions.values(): + region_value = region.evaluate_value + + def spy(pos, *args, _original=region_value, **kwargs): + if depth[0] == 0: + batches.append(np.array(pos)) + return _original(pos, *args, **kwargs) + + monkeypatch.setattr(region, "evaluate_value", spy) + + actual = {"points": points} + for group in groups: + actual[f"feature::{group.name}::value"] = group.evaluate_value(points) + model_ids = model.evaluate_model(points) + assert batches + for batch in batches: + np.testing.assert_array_equal(batch, points) + _assert_golden(name, actual) + _assert_golden(name, {"points": points, "model_ids": model_ids}) + # The restored points differ from the original points, so the check is real. + fault_group = next(g for g in groups if g.faults) + assert not np.allclose(_manual_restore(fault_group, points), points) + + +# --------------------------------------------------------------------------- +# Child-fault batches (recursive fault-frame batches, OP1) +# --------------------------------------------------------------------------- + + +def test_child_fault_frame_batches_are_counted_separately(): + """``cutting_faults``: group_0 uses [fault_1, fault_0]; the frame of fault_1 uses [fault_0]. + + The frame of fault_1 has 3 coordinates and 10 steps. Distinct nested batches: + the original points N (3 coordinates share it: 1 application), then the + tetrahedron corners of the first step (1), then 9 further steps, each with + one moved batch for the 3 values and one corner batch for the gradient (2 each). + Nested: 1 + 1 + 9 * 2 = 20. Top level: fault_1 and fault_0 on the group + batch = 2. Expected total 22. Legacy: 42 (40 nested + 2). + """ + model, golden = build_model("cutting_faults"), _golden("cutting_faults") + points = golden["points"] + ids, counts = _counted(lambda: model.evaluate_model(points)) + _assert_golden("cutting_faults", {"points": points, "model_ids": ids}) + assert counts["fault_calls_total"] == 22 + assert counts["fault_calls_top_level"] == 2 + assert counts["fault_calls_total"] <= 42 + + +# --------------------------------------------------------------------------- +# Opaque callables +# --------------------------------------------------------------------------- + + +@pytest.mark.parametrize("kind", ["coordinate", "feature"]) +def test_opaque_region_callable_keeps_the_legacy_result(kind): + """A plain function used as a region is opaque. Sharing is not assumed. + + Only the values are checked: they must equal the legacy recomputation, and no + exception may happen. + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 0) + if kind == "coordinate": + feature.add_region(lambda xyz: xyz[:, 0] < 600.0) + else: + # The region calls the evaluation of another faulted feature (group_3 is + # eroded at some of the points). It is a callable, not a feature object. + other = _group(model, 3) + feature.add_region(lambda xyz: np.isnan(other.evaluate_value(xyz))) + values = feature.evaluate_value(points) + np.testing.assert_allclose(values, _reference_value(feature, points), atol=1e-8, equal_nan=True) + assert np.isnan(values).any() + assert np.isfinite(values).any() + + +# --------------------------------------------------------------------------- +# Exception cleanup +# --------------------------------------------------------------------------- + + +@pytest.mark.parametrize("entry", ["value", "model"]) +def test_exception_in_a_fault_application_resets_the_scope(entry, monkeypatch): + """The second fault application raises. The next call must be complete and correct. + + A partial restoration of the first application must not stay in a scope. The + next call therefore makes all 4 applications again and gives the golden values. + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + + def call(): + if entry == "value": + return _group(model, 3).evaluate_value(points) + return model.evaluate_model(points) + + original = FaultSegment.apply_to_points + state = {"calls": 0} + + def failing(self, pts, *args, **kwargs): + state["calls"] += 1 + if state["calls"] == 2: + raise RuntimeError("injected failure") + return original(self, pts, *args, **kwargs) + + with monkeypatch.context() as scoped: + scoped.setattr(FaultSegment, "apply_to_points", failing) + with pytest.raises(RuntimeError, match="injected failure"): + call() + result, counts = _counted(call) + if entry == "value": + _assert_golden("f4_u3", {"points": points, "feature::group_3::value": result}) + else: + _assert_golden("f4_u3", {"points": points, "model_ids": result}) + assert counts["fault_calls_total"] == 4 + _assert_no_stale_scope(_group(model, 3), points, model) + + +def test_exception_after_a_complete_set_resets_the_scope(monkeypatch): + """Set A is complete and the failure happens in set B (call 6 of 8). + + The model has 2 ordered fault sets, A and B, with 8 applications. A scope that is not + reset in ``finally`` keeps set A, and a published partial set B is reused. Both give + fewer than 8 applications in the next call. The values must equal an unscoped reference. + """ + golden = _golden("f4_u3") + points = golden["points"] + reference = _reordered_model().evaluate_model(points) + model = _reordered_model() + original = FaultSegment.apply_to_points + state = {"calls": 0} + + def failing(self, pts, *args, **kwargs): + state["calls"] += 1 + if state["calls"] == 6: + raise RuntimeError("injected failure") + return original(self, pts, *args, **kwargs) + + with monkeypatch.context() as scoped: + scoped.setattr(FaultSegment, "apply_to_points", failing) + with pytest.raises(RuntimeError, match="injected failure"): + model.evaluate_model(points) + assert state["calls"] == 6 + ids, counts = _counted(lambda: model.evaluate_model(points)) + assert counts["fault_calls_total"] == 8 + np.testing.assert_array_equal(ids, reference) + + +# --------------------------------------------------------------------------- +# Standalone feature +# --------------------------------------------------------------------------- + + +def _detach_model(feature, seen: set[int] | None = None) -> None: + """Remove the model from a feature and from all its region features.""" + seen = set() if seen is None else seen + if id(feature) in seen or not isinstance(feature, BaseFeature): + return + seen.add(id(feature)) + feature._model = None + for region in feature.regions: + _detach_model(region, seen) + + +def test_standalone_feature_uses_a_temporary_scope(): + """A feature and its regions without a model share the restorations inside one call only. + + D3: a standalone feature uses a temporary scope. The regions have no model either, so + their scope is the same temporary scope (a region with a model would be another scope). + After the call no scope is active. Legacy: 16 applications. + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + _detach_model(feature) + assert feature.model is None + assert all(region.model is None for region in feature.regions) + values, counts = _counted(lambda: feature.evaluate_value(points)) + _assert_golden("f4_u3", {"points": points, "feature::group_3::value": values}) + assert counts["fault_calls_total"] == 4 + _assert_no_stale_scope(feature, points, None) + + +# --------------------------------------------------------------------------- +# Private API: evaluation_scope, EvaluationContext, restore +# --------------------------------------------------------------------------- + + +def test_scope_is_a_context_manager_that_gives_a_context(): + """``evaluation_scope(model=None)`` is a context manager that gives an EvaluationContext.""" + scope, context_type = _api("evaluation_scope"), _api("EvaluationContext") + manager = scope() + assert hasattr(manager, "__enter__") and hasattr(manager, "__exit__") + with manager as context: + assert isinstance(context, context_type) + assert "model" in inspect.signature(scope).parameters + assert inspect.signature(scope).parameters["model"].default is None + + +def test_nested_scope_reuses_the_context(): + """A nested scope for the same model gives the same context object.""" + scope = _api("evaluation_scope") + model = build_model("f1_u0") + with scope(model) as outer: + with scope(model) as inner: + assert inner is outer + with scope(model) as again: + assert again is outer + with scope() as first, scope() as second: + assert second is first + + +def test_scope_is_reset_after_exit_and_after_an_exception(): + """After the outer scope exits, also by an exception, a new scope is a new context.""" + scope, restore = _api("evaluation_scope"), _api("restore") + model, golden = build_model("f4_u3"), _golden("f4_u3") + points, feature = golden["points"], _group(model, 3) + with scope(model): + restore(feature, points) + # No stored entry stays: a restore after the exit applies the faults again. + _assert_no_stale_scope(feature, points, model) + with pytest.raises(RuntimeError, match="inside"), scope(model): + restore(feature, points) + raise RuntimeError("inside") + _assert_no_stale_scope(feature, points, model) + + +def test_scope_of_another_model_is_separate(): + """A scope for model B inside a scope for model A is another context.""" + scope = _api("evaluation_scope") + model_a, model_b = build_model("f1_u0"), build_model("f1_u0") + with scope(model_a) as context_a: + with scope(model_b) as context_b: + assert context_b is not context_a + with scope(model_a) as context_again: + assert context_again is context_a + + +def test_restore_signature(): + """``restore(feature, points, reverse=False)`` is the cache entry of D3.""" + parameters = inspect.signature(_api("restore")).parameters + assert list(parameters) == ["feature", "points", "reverse"] + assert parameters["reverse"].default is False + + +def test_restore_twice_in_one_scope_applies_the_faults_once(): + """The second restore of equal points (also a copy) gives an equal array and no application.""" + scope, restore = _api("evaluation_scope"), _api("restore") + model, golden = build_model("f4_u3"), _golden("f4_u3") + points, feature = golden["points"], _group(model, 3) + expected = _manual_restore(feature, points) + + def run(): + with scope(model): + first = restore(feature, points) + second = restore(feature, points.copy()) + return first, second + + (first, second), counts = _counted(run) + assert counts["fault_calls_total"] == 4 + np.testing.assert_array_equal(first, second) + np.testing.assert_array_equal(first, expected) + + +def test_restored_array_is_read_only(): + """The shared array is read-only, so a consumer cannot change the shared value.""" + scope, restore = _api("evaluation_scope"), _api("restore") + model, golden = build_model("f4_u3"), _golden("f4_u3") + with scope(model): + restored = restore(_group(model, 3), golden["points"]) + assert restored.flags.writeable is False + with pytest.raises(ValueError): + restored[0, 0] = 0.0 + # The input array is not changed and stays writeable. + assert golden["points"].flags.writeable is True + + +def test_restore_reverse_is_a_separate_batch_and_matches_the_legacy_result(): + """``reverse`` is part of the key: forward and reverse restorations are 2 x 4 applications.""" + scope, restore = _api("evaluation_scope"), _api("restore") + model, golden = build_model("f4_u3"), _golden("f4_u3") + points, feature = golden["points"], _group(model, 3) + + def run(): + with scope(model): + forward = restore(feature, points) + backward = restore(feature, points, reverse=True) + repeated = restore(feature, points, reverse=True) + return forward, backward, repeated + + (_forward, backward, repeated), counts = _counted(run) + # In the present code forward and reverse give equal points. The count of 8 shows that reverse is a separate batch. + assert counts["fault_calls_total"] == 8 + np.testing.assert_array_equal(backward, repeated) + np.testing.assert_array_equal(backward, _manual_restore(feature, points, reverse=True)) + + +def test_restore_with_disabled_faults_returns_the_points(): + """``faults_enabled = False`` gives equal points and no application.""" + scope, restore = _api("evaluation_scope"), _api("restore") + model, golden = build_model("f4_u3"), _golden("f4_u3") + points, feature = golden["points"], _group(model, 3) + feature.faults_enabled = False + + def run(): + with scope(model): + return restore(feature, points) + + restored, counts = _counted(run) + assert counts["fault_calls_total"] == 0 + np.testing.assert_array_equal(restored, points) + + +def test_public_calls_leave_no_scope_active(): + """After a top-level call, a new scope has no stored restoration (value and model value). + + The gradient call is only used to check that it leaves no scope active. No count is checked. + """ + model, golden = build_model("f4_u3"), _golden("f4_u3") + points, feature = golden["points"], _group(model, 3) + feature.evaluate_value(points) + _assert_no_stale_scope(feature, points, model) + model.evaluate_model_gradient(points) + _assert_no_stale_scope(feature, points, model) diff --git a/tests/fault_evaluation/test_edges.py b/tests/fault_evaluation/test_edges.py new file mode 100644 index 000000000..b20337fb5 --- /dev/null +++ b/tests/fault_evaluation/test_edges.py @@ -0,0 +1,111 @@ +"""Legacy edge behavior not represented by the fixed interior golden points.""" + +from __future__ import annotations + +import numpy as np + +from LoopStructural import GeologicalModel +from LoopStructural.modelling.core.stratigraphic_column import StratigraphicColumn +from LoopStructural.modelling.features import GeologicalFeature +from tests.fault_evaluation.models import build_model + + +def test_empty_outside_and_nan_value_queries_keep_legacy_results(): + model = build_model("f0_u0") + feature = model["group_0"] + bounds = model.bounding_box + outside = bounds.maximum.copy() + outside[0] += bounds.maximum[0] - bounds.origin[0] + + np.testing.assert_array_equal(feature.evaluate_value(np.empty((0, 3))), np.empty(0)) + values = feature.evaluate_value(np.vstack((outside, [np.nan, 250.0, -250.0]))) + assert values.shape == (2,) + np.testing.assert_allclose(values, [np.nan, 0.0], rtol=0.0, atol=0.0, equal_nan=True) + + +def test_ignore_regions_bypasses_only_the_region_mask(): + class LinearInterpolator: + def evaluate_value(self, points): + return points[:, 0] + 2.0 * points[:, 1] - points[:, 2] + + feature = GeologicalFeature( + "regional_field", + builder=None, + regions=[lambda points: points[:, 0] > 0.5], + interpolator=LinearInterpolator(), + ) + points = np.array([[0.25, 2.0, 1.0], [0.75, 2.0, 1.0]]) + + np.testing.assert_allclose(feature.evaluate_value(points), [np.nan, 3.75], equal_nan=True) + np.testing.assert_allclose( + feature.evaluate_value(points, ignore_regions=True), [3.25, 3.75], rtol=0.0, atol=0.0 + ) + + +def test_reverse_fault_and_fault_toggles_match_legacy_references(): + model = build_model("f1_u0") + feature = model["group_0"] + points = np.array([[450.0, 500.0, -500.0], [550.0, 500.0, -450.0]]) + + # Frozen from master 790036d2 (spec 005 corrected the fault frame, which changed these + # values from the ddc333ea ones); this checks the reverse path on real faults. + reverse_expected = np.array( + [ + [449.99986049755563, 501.0930534680464, -480.302857700829], + [549.9999717550921, 498.90707222676485, -469.70625323565577], + ] + ) + reverse = feature._apply_faults(points.copy(), reverse=True) + np.testing.assert_allclose(reverse, reverse_expected, rtol=0.0, atol=1e-5) + assert not np.allclose(reverse, points) + + faults_enabled = feature.faults_enabled + fault = feature.faults[0] + displacement = fault.displacement + try: + feature.faults_enabled = False + np.testing.assert_array_equal(feature._apply_faults(points.copy()), points) + feature.faults_enabled = faults_enabled + fault.displacement = 0.0 + np.testing.assert_array_equal(fault.apply_to_points(points), points) + finally: + feature.faults_enabled = faults_enabled + fault.displacement = displacement + + +def test_first_public_model_evaluation_builds_a_lazy_feature_once(): + class LinearInterpolator: + def evaluate_value(self, points): + return points.sum(axis=1) + + class CountingBuilder: + def __init__(self): + self.interpolator = LinearInterpolator() + self.faults = [] + self._built = False + self.build_calls = 0 + + def up_to_date(self): + if not self._built: + self.build() + + def build(self): + self.build_calls += 1 + self._built = True + + model = GeologicalModel([0.0, 0.0, 0.0], [1.0, 1.0, 1.0]) + builder = CountingBuilder() + feature = GeologicalFeature("lazy", builder, faults=[]) + model._add_feature(feature) + column = StratigraphicColumn() + column.clear(basement=False) + unit = column.add_unit("covered") + unit.min_value, unit.max_value = 0.0, 10.0 + column.group_mapping["Group_0"] = "lazy" + model.stratigraphic_column = column + points = np.array([[0.25, 0.5, 0.75], [0.5, 0.5, 0.5]]) + + np.testing.assert_array_equal(model.evaluate_model(points), [0, 0]) + assert builder.build_calls == 1 + np.testing.assert_array_equal(model.evaluate_model(points), [0, 0]) + assert builder.build_calls == 1 diff --git a/tests/fault_evaluation/test_fault_frame_lookup.py b/tests/fault_evaluation/test_fault_frame_lookup.py new file mode 100644 index 000000000..fbac10f01 --- /dev/null +++ b/tests/fault_evaluation/test_fault_frame_lookup.py @@ -0,0 +1,458 @@ +"""Tests for the shared grid lookup of the fault frame (plan D6, task T026). + +The private method ``FaultSegment._evaluate_frame(points, block=None, ..., need_gradient=False)`` +gives the three frame values and, if asked, the gradient of coordinate 1. +It is a fast path for frames with equal StructuredGrid supports. The fast path +makes one grid lookup for the three frame members. Every other frame uses the +old calls of the features (the legacy fallback). + +Assumption: the method returns a tuple. The first three items are the values +of coordinates 0, 1 and 2. When ``need_gradient`` is true, the last item is the +(N, 3) gradient of coordinate 1. D6 does not define the exact return type. + +The reference code in this file only uses public feature calls. It does not +use ``_evaluate_frame``. The lookups are counted with a wrapper on +``StructuredGrid._lookup_points``. +""" + +from __future__ import annotations + +import copy + +import numpy as np +import pytest +from loop_common.supports import RectilinearGrid, StructuredGrid, TetMesh + +from tests.fault_evaluation.models import build_model + +POINT_COUNT = 250 +# The golden tolerance of D1 is 1e-8 times the box size. +BOX_SIZE = 1000.0 +ATOL = 1e-8 * BOX_SIZE + + +# --------------------------------------------------------------------------- +# Helpers +# --------------------------------------------------------------------------- +class LookupCounter: + """Count the calls of ``StructuredGrid._lookup_points``.""" + + def __init__(self): + self.count = 0 + + def reset(self): + self.count = 0 + + +@pytest.fixture +def lookups(monkeypatch): + """Wrap the lookup of the grid. The wrapper calls the original method.""" + counter = LookupCounter() + original = StructuredGrid._lookup_points + + def counting(self, pos): + counter.count += 1 + return original(self, pos) + + monkeypatch.setattr(StructuredGrid, "_lookup_points", counting) + return counter + + +def _fault_of(model): + return next(feature for feature in model.features if hasattr(feature, "steps")) + + +def _fault_by_name(model, name): + return next(f for f in model.features if hasattr(f, "steps") and f.name == name) + + +def _build(name="f1_u0", fault_name=None): + """Return a model and one of its faults.""" + model = build_model(name) + fault = _fault_by_name(model, fault_name) if fault_name else _fault_of(model) + return model, fault + + +def _points(model, seed=5): + """Return points inside and outside the box, near the fault, and one NaN row.""" + rng = np.random.default_rng(seed) + box = model.bounding_box + size = box.maximum - box.origin + inside = box.origin + rng.random((POINT_COUNT, 3)) * size + outside = box.origin + (1.2 + rng.random((20, 3))) * size + centre = box.origin + 0.5 * size + near = centre + (rng.random((40, 3)) - 0.5) * np.array([0.02, 1.0, 1.0]) * size + nan_row = np.array([[np.nan, centre[1], centre[2]]]) + return np.vstack((inside, outside, near, nan_row)) + + +def _unpack(result, need_gradient): + """Split the result of ``_evaluate_frame`` (see the assumption above).""" + items = tuple(result) + gx, gy, gz = items[:3] + gradient = items[-1] if need_gradient else None + if need_gradient: + assert len(items) == 4, "need_gradient=True must add the gradient as last item" + return gx, gy, gz, gradient + + +def _reference_frame(fault, points, need_gradient): + """Evaluate the frame with the public calls of the features.""" + gx = fault[0].evaluate_value(points) + gy = fault[1].evaluate_value(points) + gz = fault[2].evaluate_value(points) + gradient = fault[1].evaluate_gradient(points, ignore_regions=True) if need_gradient else None + return gx, gy, gz, gradient + + +def _displacement(fault, gx, gy, gz): + """Copy of the displacement code of the legacy step loop.""" + d = np.zeros(gx.shape) + valid = ~np.isnan(gx) & ~np.isnan(gy) & ~np.isnan(gz) + positive = np.zeros_like(valid, dtype=bool) + positive[valid] = gx[valid] > 0 + d[positive] = 1.0 + d[valid] = fault.faultfunction(gx[valid], gy[valid], gz[valid]) + return d * fault.displacement, valid + + +def _legacy_restore(fault, points, reverse=False, precomputed_gx=None): + """Copy of the legacy ``apply_to_points`` that uses only public feature calls.""" + steps = fault.steps + newp = np.copy(points).astype(float) + if precomputed_gx is not None: + gx = precomputed_gx + else: + gx = fault[0].evaluate_value(newp) + gy = fault[1].evaluate_value(newp) + gz = fault[2].evaluate_value(newp) + d, _ = _displacement(fault, gx, gy, gz) + # ``reverse`` only changes the sign of the start displacement. The mask is the same. + mask = np.abs(d) > 0.0 + for i in range(steps): + if i == 0: + gx_m, gy_m, gz_m = gx[mask], gy[mask], gz[mask] + else: + gx_m = fault[0].evaluate_value(newp[mask, :]) + gy_m = fault[1].evaluate_value(newp[mask, :]) + gz_m = fault[2].evaluate_value(newp[mask, :]) + g = fault[1].evaluate_gradient(newp[mask, :], ignore_regions=True) + # Since spec 005 (master) ``reverse`` applies to the displacement of every step. + d, valid = _displacement(fault, gx_m, gy_m, gz_m) + if reverse: + d = -d + magnitude = np.zeros(g.shape[0]) + magnitude[valid] = np.linalg.norm(g[valid], axis=1) + g[magnitude > 0.0] /= magnitude[magnitude > 0, None] + g *= (1.0 / steps) * d[:, None] + newp[mask, :] += g + return newp + + +def _assert_close(actual, expected, atol=ATOL): + np.testing.assert_allclose(actual, expected, rtol=0.0, atol=atol, equal_nan=True) + + +def _count_legacy(fault, points, lookups, **kwargs): + """Return the lookup count of the reference restoration.""" + lookups.reset() + _legacy_restore(fault, points, **kwargs) + return lookups.count + + +# --------------------------------------------------------------------------- +# Fast path: values, gradient and shared lookup +# --------------------------------------------------------------------------- +@pytest.mark.parametrize("need_gradient", [False, True]) +def test_frame_values_and_coordinate_one_gradient_match_feature_calls(need_gradient): + """The frame has the same values and gradient as the three features.""" + model, fault = _build() + points = _points(model) + expected = _reference_frame(fault, points, need_gradient) + + gx, gy, gz, gradient = _unpack(fault._evaluate_frame(points, need_gradient=need_gradient), need_gradient) + + for actual, wanted in zip((gx, gy, gz), expected[:3]): + assert actual.shape == (len(points),) + _assert_close(actual, wanted, atol=1e-12) + # Points outside the grid and the NaN row must stay NaN. + assert np.isnan(gx).any() + assert np.isfinite(gx).sum() > POINT_COUNT // 2 + if need_gradient: + assert gradient.shape == (len(points), 3) + _assert_close(gradient, expected[3], atol=1e-12) + + +def test_frame_default_does_not_return_a_gradient(): + """Without ``need_gradient`` the result has no gradient item.""" + model, fault = _build() + result = tuple(fault._evaluate_frame(_points(model))) + assert len(result) == 3 + + +def test_frame_accepts_empty_points(): + """No points give empty arrays.""" + _, fault = _build() + gx, gy, gz, gradient = _unpack(fault._evaluate_frame(np.empty((0, 3)), need_gradient=True), True) + assert gx.shape == gy.shape == gz.shape == (0,) + assert gradient.shape == (0, 3) + + +@pytest.mark.parametrize( + ("need_gradient", "legacy_lookups"), + [(False, 3), (True, 4)], +) +def test_frame_makes_one_lookup_for_all_members(lookups, need_gradient, legacy_lookups): + """The three values and the gradient share one grid lookup.""" + model, fault = _build() + points = _points(model) + lookups.reset() + _reference_frame(fault, points, need_gradient) + # This checks the counter: the legacy path does one lookup for each call. + assert lookups.count == legacy_lookups + + lookups.reset() + fault._evaluate_frame(points, need_gradient=need_gradient) + assert lookups.count == 1 + + +# --------------------------------------------------------------------------- +# apply_to_points: equivalence with the legacy path, all steps, masks +# --------------------------------------------------------------------------- +@pytest.mark.parametrize("steps", [10, 3]) +@pytest.mark.parametrize("reverse", [False, True]) +@pytest.mark.parametrize("use_precomputed_gx", [False, True]) +def test_restoration_matches_legacy_path(steps, reverse, use_precomputed_gx): + """Every step, the mask and the optional gx give the legacy points.""" + model, fault = _build() + if steps != fault.steps: + fault.steps = steps + points = _points(model) + gx = fault[0].evaluate_value(points) if use_precomputed_gx else None + + expected = _legacy_restore(fault, points, reverse=reverse, precomputed_gx=gx) + actual = fault.apply_to_points(points, reverse=reverse, precomputed_gx=gx) + + _assert_close(actual, expected) + moved = np.any(np.abs(expected - points) > 1e-9, axis=1) + # The test must contain moved points and points that the mask keeps fixed. + assert moved.any() + assert (~moved).any() + # Points that are not finite or outside the grid do not move. + np.testing.assert_array_equal(actual[~moved], points[~moved]) + + +def test_restoration_without_displacement_keeps_points(): + """A fault with zero displacement gives an empty mask and no change.""" + model, fault = _build() + points = _points(model) + fault.displacement = 0.0 + np.testing.assert_array_equal(fault.apply_to_points(points), points) + + +def test_precomputed_gx_gives_the_same_points_as_no_gx(): + """The initial gx can come from the caller. The result must not change.""" + model, fault = _build() + points = _points(model) + gx = fault[0].evaluate_value(points) + _assert_close( + fault.apply_to_points(points, precomputed_gx=gx), fault.apply_to_points(points), atol=ATOL + ) + + +# --------------------------------------------------------------------------- +# apply_to_points: lookup counts and step count +# --------------------------------------------------------------------------- +@pytest.mark.parametrize("steps", [10, 3]) +@pytest.mark.parametrize("use_precomputed_gx", [False, True]) +def test_restoration_shares_one_lookup_for_each_step(lookups, steps, use_precomputed_gx): + """Each step makes one lookup for the frame members and the gradient.""" + model, fault = _build() + if steps != fault.steps: + fault.steps = steps + points = _points(model) + gx = fault[0].evaluate_value(points) if use_precomputed_gx else None + + legacy = _count_legacy(fault, points, lookups, precomputed_gx=gx) + # This checks the counter: the legacy path does about four lookups each step. + assert legacy >= 3 * steps + + lookups.reset() + fault.apply_to_points(points, precomputed_gx=gx) + # One lookup for the initial frame, one for the gradient of step 0 and one + # for each of the other steps. No lookup is kept after the points move. + assert lookups.count <= steps + 2 + assert lookups.count < legacy + + +def test_integration_step_count_is_unchanged(monkeypatch): + """The fast path does one displacement call for the start and for every step.""" + model, fault = _build() + points = _points(model) + calls = [] + original = fault.faultfunction + + def counting(gx, gy, gz): + calls.append(len(gx)) + return original(gx, gy, gz) + + monkeypatch.setattr(fault, "_faultfunction", counting) + + _legacy_restore(fault, points) + legacy_calls = len(calls) + assert legacy_calls == fault.steps + 1 + + calls.clear() + fault.apply_to_points(points) + assert len(calls) == legacy_calls == 11 + assert fault.steps == 10 + + +# --------------------------------------------------------------------------- +# Legacy fallback +# --------------------------------------------------------------------------- +class _SubstituteInterpolator: + """Interpolator that reports another support but evaluates like the inner one.""" + + def __init__(self, inner, support): + self._inner = inner + self.support = support + + def __getattr__(self, name): + return getattr(self._inner, name) + + +class _NonUniformGrid(StructuredGrid): + """Grid with its own local coordinates. It cannot use the uniform lookup.""" + + def position_to_local_coordinates(self, pos): + return super().position_to_local_coordinates(pos) + + +def _case_geometry(): + model, fault = _build() + support = copy.deepcopy(fault[1].interpolator.support) + support._origin = support.origin + 0.3 * support.step_vector + support.onGeometryChange() + fault[1].interpolator.support = support + return model, fault + + +def _case_transform(): + model, fault = _build() + box = copy.deepcopy(fault[2].interpolator.bounding_box) + box.set_local_transform(local_origin=np.asarray(box.local_origin) + [5.0, 5.0, 0.0]) + fault[2].interpolator.bounding_box = box + return model, fault + + +def _case_rectilinear(): + model, fault = _build() + inner = fault[1].interpolator + nodes = [np.linspace(0.0, 1.0, 4)] * 3 + fault[1].interpolator = _SubstituteInterpolator(inner, RectilinearGrid(*nodes)) + return model, fault + + +def _case_tetra(): + model, fault = _build() + inner = fault[2].interpolator + mesh = TetMesh(origin=np.zeros(3), nsteps=np.array([3, 3, 3]), step_vector=np.ones(3)) + fault[2].interpolator = _SubstituteInterpolator(inner, mesh) + return model, fault + + +def _case_non_uniform_subclass(): + model, fault = _build() + fault[0].interpolator.support.__class__ = _NonUniformGrid + return model, fault + + +def _case_child_faults(): + return _build("cutting_faults", "fault_1") + + +def _case_opaque_region(): + model, fault = _build() + centre_y = float(np.mean([model.bounding_box.origin[1], model.bounding_box.maximum[1]])) + fault[0].regions.append(lambda pts: np.asarray(pts)[:, 1] > 0.2 * centre_y) + return model, fault + + +def _case_domain_region(): + return _build("onlap_domain", "fault_0") + + +FALLBACK_CASES = { + "different_geometry": _case_geometry, + "different_transform": _case_transform, + "rectilinear_support": _case_rectilinear, + "tetrahedral_support": _case_tetra, + "non_uniform_grid_subclass": _case_non_uniform_subclass, + "child_faults": _case_child_faults, + "opaque_region_on_one_member": _case_opaque_region, + "domain_region": _case_domain_region, +} + + +# The three frame members of this case share one region object. The fast path can then +# use one shared mask and make fewer lookups than the legacy path. Both paths are valid. +EQUIVALENT_REGION_CASES = {"domain_region"} + + +@pytest.fixture(params=sorted(FALLBACK_CASES)) +def fallback_name(request): + return request.param + + +@pytest.fixture +def fallback_case(fallback_name): + return FALLBACK_CASES[fallback_name]() + + +def _assert_lookup_count(name, actual_count, legacy_count): + """Require the exact legacy count, except when the region masks are equivalent.""" + if name in EQUIVALENT_REGION_CASES: + assert actual_count <= legacy_count + else: + assert actual_count == legacy_count + + +def test_fallback_restoration_equals_legacy_with_legacy_lookup_count( + lookups, fallback_case, fallback_name +): + """A frame that cannot use the fast path gives the legacy points and lookups.""" + model, fault = fallback_case + points = _points(model) + legacy_count = _count_legacy(fault, points, lookups) + expected = _legacy_restore(fault, points) + + lookups.reset() + actual = fault.apply_to_points(points) + + _assert_close(actual, expected) + _assert_lookup_count(fallback_name, lookups.count, legacy_count) + # The lookups must be real: the frame is evaluated for a child fault too. + assert legacy_count > 0 + + +@pytest.mark.parametrize("need_gradient", [False, True]) +def test_fallback_frame_equals_legacy_with_legacy_lookup_count( + lookups, fallback_case, fallback_name, need_gradient +): + """``_evaluate_frame`` uses the feature calls when the frame is not eligible.""" + model, fault = fallback_case + # The gradient of a feature with child faults needs finite points inside the box. + points = _points(model)[:POINT_COUNT] + lookups.reset() + expected = _reference_frame(fault, points, need_gradient) + legacy_count = lookups.count + + lookups.reset() + gx, gy, gz, gradient = _unpack(fault._evaluate_frame(points, need_gradient=need_gradient), need_gradient) + + for actual, wanted in zip((gx, gy, gz), expected[:3]): + _assert_close(actual, wanted, atol=1e-12) + if need_gradient: + _assert_close(gradient, expected[3], atol=1e-12) + _assert_lookup_count(fallback_name, lookups.count, legacy_count) diff --git a/tests/fault_evaluation/test_golden.py b/tests/fault_evaluation/test_golden.py new file mode 100644 index 000000000..2030890ea --- /dev/null +++ b/tests/fault_evaluation/test_golden.py @@ -0,0 +1,70 @@ +"""Replay all frozen pre-performance fault-evaluation references.""" + +from __future__ import annotations + +import hashlib +import json +import time +from pathlib import Path + +import numpy as np +import pytest + +from tests.fault_evaluation.golden import assert_matches, capture +from tests.fault_evaluation.models import build_model, model_names + +DATA = Path(__file__).parent / "data" +MANIFEST = json.loads((DATA / "manifest.json").read_text(encoding="utf8")) + + +def _reference(name: str) -> dict[str, np.ndarray]: + path = DATA / f"{name}.npz" + metadata = MANIFEST["models"][name] + digest = hashlib.sha256(path.read_bytes()).hexdigest() + assert digest == metadata["sha256"], f"{name} frozen reference hash changed" + with np.load(path, allow_pickle=False) as archive: + return {key: archive[key].copy() for key in archive.files} + + +def test_frozen_model_catalog_matches_manifest(): + """Keep the complete frozen model catalogue synchronized with its manifest.""" + names = model_names() + assert len(names) == 21 + assert set(names) == set(MANIFEST["models"]) + + +@pytest.mark.parametrize("name", model_names()) +def test_frozen_model_matches_legacy_output(name, record_property): + """Build and replay one frozen case without invoking a solver or writer.""" + started = time.perf_counter() + expected = _reference(name) + model = build_model(name) + actual = capture(model, expected["points"]) + assert_matches(name, actual, expected, MANIFEST["models"][name]["box_size"]) + record_property(f"legacy_golden_capture_seconds_{name}", time.perf_counter() - started) + + +def test_one_percent_fault_movement_change_is_rejected(monkeypatch): + """The comparator detects a small scoped change in actual fault movement.""" + from LoopStructural.modelling.features.fault import FaultSegment + + name = "f1_u0" + expected = _reference(name) + model = build_model(name) + original = FaultSegment.apply_to_points + + def perturbed(self, points, *args, **kwargs): + points = np.asarray(points) + moved = original(self, points, *args, **kwargs) + return points + 1.01 * (moved - points) + + with monkeypatch.context() as scoped: + scoped.setattr(FaultSegment, "apply_to_points", perturbed) + actual = capture(model, expected["points"]) + + with pytest.raises(AssertionError) as error: + assert_matches(name, actual, expected, MANIFEST["models"][name]["box_size"]) + message = str(error.value) + assert "f1_u0" in message + assert "max difference=" in message + assert "at point" in message diff --git a/tests/fault_evaluation/test_golden_tools.py b/tests/fault_evaluation/test_golden_tools.py new file mode 100644 index 000000000..ae9272c55 --- /dev/null +++ b/tests/fault_evaluation/test_golden_tools.py @@ -0,0 +1,272 @@ +"""Contract tests for golden capture, comparison, and explicit regeneration.""" + +from __future__ import annotations + +import importlib +import hashlib +import json +from pathlib import Path +from types import SimpleNamespace + +import numpy as np +import pytest + + +def _api(module_name: str, function_name: str): + """Import a required golden helper and give a focused missing-API failure.""" + try: + module = importlib.import_module(module_name) + except ModuleNotFoundError as error: + if error.name != module_name: + raise + pytest.fail(f"{module_name}.{function_name} API is required by D1") + function = getattr(module, function_name, None) + assert callable(function), f"{module_name}.{function_name} API is required by D1" + return function + + +def _pair(**updates): + """Return a small captured-output mapping with one point and one unit boundary.""" + actual = { + "model_ids": np.array([2], dtype=np.int64), + "feature::frame::value": np.array([3.0]), + "feature::frame::gradient": np.array([[1.0, 2.0, 3.0]]), + "restored::fault_0>fault_1": np.array([[1.0, 2.0, 3.0]]), + "surface::unit@50::vertex_count": np.array([4]), + "surface::unit@50::bounds": np.array([[0.0, 0.0, 0.0], [1.0, 1.0, 1.0]]), + "surface::unit@50::area": np.array([2.0]), + # Distances are derived from declared scalar unit bounds. Each row is a + # sample and each column is one boundary; +inf marks an ineligible value. + "unit_boundary_distances": np.array([[0.0, 4.0]]), + } + actual.update(updates) + expected = {key: value.copy() for key, value in actual.items()} + return actual, expected + + +def test_capture_has_flat_numeric_keys_for_all_d1_output_families(monkeypatch): + capture = _api("tests.fault_evaluation.golden", "capture") + # This solved special case exercises parent and frame-coordinate evaluation + # without invoking a solver. Replace surface extraction with one tiny mesh. + from tests.fault_evaluation.models import build_model, sample_points + + points = sample_points("cutting_faults", 2, seed=17) + model = build_model("cutting_faults") + mesh = SimpleNamespace( + vertices=np.array([[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]), + triangles=np.array([[0, 1, 2]], dtype=np.int64), + ) + for feature in model.features: + monkeypatch.setattr( + feature, + "surfaces", + lambda values, bounding_box, **kwargs: [mesh for _ in values], + ) + captured = capture(model, points) + + assert isinstance(captured, dict) + assert captured + assert all(isinstance(key, str) for key in captured) + assert all(isinstance(value, np.ndarray) for value in captured.values()) + assert all(np.issubdtype(value.dtype, np.number) for value in captured.values()) + assert "model_ids" in captured + assert "unit_boundary_distances" in captured + assert captured["model_ids"].shape == (len(points),) + assert captured["unit_boundary_distances"].ndim == 2 + assert captured["unit_boundary_distances"].shape[0] == len(points) + assert captured["unit_boundary_distances"].shape[1] > 0 + coordinates = { + coordinate.name + for feature in model.features + for coordinate in (list(getattr(feature, "features", None) or []) + [feature]) + if getattr(coordinate, "builder", None) is not None + } + assert coordinates + for name in coordinates: + assert f"feature::{name}::value" in captured + assert f"feature::{name}::gradient" in captured + assert "restored::fault_1>fault_0" in captured + assert any(key.startswith("surface::") and key.endswith("::vertex_count") for key in captured) + assert any(key.startswith("surface::") and key.endswith("::bounds") for key in captured) + assert any(key.startswith("surface::") and key.endswith("::area") for key in captured) + summary = next(key.rsplit("::", 1)[0] for key in captured if key.endswith("::vertex_count")) + np.testing.assert_array_equal(captured[f"{summary}::vertex_count"], [3]) + np.testing.assert_allclose(captured[f"{summary}::bounds"], [[0, 0, 0], [1, 1, 0]]) + np.testing.assert_allclose(captured[f"{summary}::area"], [0.5]) + + +def test_capture_records_empty_surfaces_when_all_levels_are_outside_range(monkeypatch): + from tests.fault_evaluation.golden import capture + from tests.fault_evaluation.models import build_model, sample_points + + model = build_model("f0_u0") + group = model.stratigraphic_column.get_groups()[0] + for index, unit in enumerate(group.units): + unit.min_value, unit.max_value = 2000 + index * 100, 2100 + index * 100 + feature = next(feature for feature in model.features if feature.name == group.name) + monkeypatch.setattr(feature, "surfaces", lambda values, bounding_box, **kwargs: []) + captured = capture(model, sample_points("f0_u0", 2)) + summaries = [key.rsplit("::", 1)[0] for key in captured if key.endswith("::vertex_count")] + assert summaries + for summary in summaries: + np.testing.assert_array_equal(captured[f"{summary}::vertex_count"], [0]) + np.testing.assert_array_equal(captured[f"{summary}::bounds"], np.zeros((2, 3))) + np.testing.assert_array_equal(captured[f"{summary}::area"], [0.0]) + + +def test_capture_rejects_unexpected_empty_surfaces(monkeypatch): + from tests.fault_evaluation.golden import capture + from tests.fault_evaluation.models import build_model, sample_points + + model = build_model("f0_u0") + group = model.stratigraphic_column.get_groups()[0] + feature = next(feature for feature in model.features if feature.name == group.name) + monkeypatch.setattr(feature, "surfaces", lambda values, bounding_box, **kwargs: []) + with pytest.raises(ValueError, match="Empty surface"): + capture(model, sample_points("f0_u0", 2)) + + +def test_comparator_accepts_box_scaled_tolerance_and_boundary_id_only(): + compare = _api("tests.fault_evaluation.golden", "assert_matches") + actual, expected = _pair() + actual["feature::frame::value"][0] += 1e-7 + actual["model_ids"][0] = 7 + # The value perturbation is within 1e-8 * box_size, and this point is + # exactly on a declared scalar boundary. + compare("tiny", actual, expected, box_size=100.0) + + actual, expected = _pair() + actual["model_ids"][0] = 7 + actual["unit_boundary_distances"][:] = 1e-3 + expected["unit_boundary_distances"][:] = 1e-3 + with pytest.raises(AssertionError, match=r"tiny.*model_ids.*max.*point"): + compare("tiny", actual, expected, box_size=100.0) + + actual, expected = _pair() + actual["model_ids"][0] = 7 + actual["unit_boundary_distances"][:] = np.inf + expected["unit_boundary_distances"][:] = np.inf + with pytest.raises(AssertionError, match="model_ids"): + compare("tiny", actual, expected, box_size=100.0) + + +@pytest.mark.parametrize( + ("key", "replacement"), + [ + ("feature::frame::value", np.array([3.01])), + ("feature::frame::gradient", np.array([[1.01, 2.0, 3.0]])), + ("restored::fault_0>fault_1", np.array([[1.0, 2.01, 3.0]])), + ("surface::unit@50::bounds", np.array([[0.0, 0.0, 0.0], [1.01, 1.0, 1.0]])), + ("surface::unit@50::area", np.array([2.01])), + ], +) +def test_comparator_reports_model_output_max_difference_and_point(key, replacement): + compare = _api("tests.fault_evaluation.golden", "assert_matches") + actual, expected = _pair() + actual[key] = replacement + with pytest.raises(AssertionError) as error: + compare("f0_u0", actual, expected, box_size=1.0) + message = str(error.value) + assert "f0_u0" in message + assert key in message + assert "max" in message.lower() + assert "point" in message.lower() + + +def test_comparator_rejects_mismatched_keys_shapes_and_nonfinite_masks(): + compare = _api("tests.fault_evaluation.golden", "assert_matches") + actual, expected = _pair() + actual["extra"] = np.array([1.0]) + with pytest.raises(AssertionError, match="key"): + compare("case", actual, expected, box_size=1.0) + + actual, expected = _pair() + actual["feature::frame::gradient"] = np.ones((1, 2)) + with pytest.raises(AssertionError, match="shape"): + compare("case", actual, expected, box_size=1.0) + + actual, expected = _pair() + actual["feature::frame::value"][0] = np.nan + with pytest.raises(AssertionError, match="NaN|finite|mask"): + compare("case", actual, expected, box_size=1.0) + + +def test_comparator_requires_exact_surface_counts_and_zero_stays_zero(): + compare = _api("tests.fault_evaluation.golden", "assert_matches") + actual, expected = _pair() + actual["surface::unit@50::vertex_count"][0] += 1 + with pytest.raises(AssertionError, match="vertex_count"): + compare("surface-case", actual, expected, box_size=1.0) + + actual, expected = _pair() + actual["surface::unit@50::area"][0] = 1e-12 + expected["surface::unit@50::area"][0] = 0.0 + with pytest.raises(AssertionError, match="area"): + compare("surface-case", actual, expected, box_size=1.0) + + +def test_comparator_rejects_mismatching_fault_restoration(): + compare = _api("tests.fault_evaluation.golden", "assert_matches") + actual, expected = _pair() + actual["restored::fault_0>fault_1"][0, 0] += 0.01 + with pytest.raises(AssertionError, match="restored::fault_0>fault_1"): + compare("fault-case", actual, expected, box_size=1.0) + + +def test_missing_reference_and_validation_mode_do_not_write(tmp_path, monkeypatch): + regenerate_main = _api("tests.fault_evaluation.regenerate", "main") + regenerate = importlib.import_module("tests.fault_evaluation.regenerate") + monkeypatch.setattr(regenerate, "REFERENCE_DIR", tmp_path, raising=False) + monkeypatch.setattr(regenerate, "model_names", lambda: ["fake"], raising=False) + monkeypatch.setattr(regenerate, "build_model", lambda name: object(), raising=False) + monkeypatch.setattr( + regenerate, "sample_points", lambda *args, **kwargs: np.zeros((1, 3)), raising=False + ) + monkeypatch.setattr( + regenerate, "capture", lambda model, points: {"model_ids": np.array([0])}, raising=False + ) + + before = sorted(path.name for path in tmp_path.iterdir()) + result = regenerate_main([]) + after = sorted(path.name for path in tmp_path.iterdir()) + assert result == 1 + assert before == after + assert not (tmp_path / "fake.npz").exists() + + +def test_write_requires_explicit_flag_and_targets_only_requested_directory(tmp_path, monkeypatch): + regenerate_main = _api("tests.fault_evaluation.regenerate", "main") + regenerate = importlib.import_module("tests.fault_evaluation.regenerate") + output = tmp_path / "references" + output.mkdir() + fake_model = SimpleNamespace( + features=[], bounding_box=SimpleNamespace(origin=np.zeros(3), maximum=np.ones(3)) + ) + monkeypatch.setattr(regenerate, "REFERENCE_DIR", output, raising=False) + monkeypatch.setattr(regenerate, "model_names", lambda: ["fake"], raising=False) + monkeypatch.setattr(regenerate, "build_model", lambda name: fake_model, raising=False) + monkeypatch.setattr( + regenerate, "sample_points", lambda *args, **kwargs: np.zeros((1, 3)), raising=False + ) + monkeypatch.setattr( + regenerate, "capture", lambda model, points: {"model_ids": np.array([0])}, raising=False + ) + + result = regenerate_main(["--write"]) + assert result == 0 + assert (output / "fake.npz").exists() + assert (output / "manifest.json").exists() + manifest = json.loads((output / "manifest.json").read_text(encoding="utf8")) + archive_bytes = (output / "fake.npz").read_bytes() + assert manifest["models"]["fake"]["sha256"] == hashlib.sha256(archive_bytes).hexdigest() + for revision in ( + "baseline_revision", + "prerequisite_fix_revision", + "prerequisite_parent_revision", + ): + assert isinstance(manifest["provenance"][revision], str) + assert manifest["provenance"][revision] + with np.load(output / "fake.npz") as archive: + np.testing.assert_array_equal(archive["model_ids"], [0]) + changed = {path.relative_to(tmp_path) for path in tmp_path.rglob("*") if path.is_file()} + assert changed == {Path("references/fake.npz"), Path("references/manifest.json")} diff --git a/tests/fault_evaluation/test_gradient_context.py b/tests/fault_evaluation/test_gradient_context.py new file mode 100644 index 000000000..b9d28dbbd --- /dev/null +++ b/tests/fault_evaluation/test_gradient_context.py @@ -0,0 +1,727 @@ +"""Tests for the sharing of fault restorations in gradient evaluation (D5, OP1, T020). + +OP1 rule, as accepted for this spec: inside one top-level evaluation call, one +restoration is made for each distinct ORDERED fault set and each distinct point +batch. The recursive batches of fault frames are counted separately. The total +across different batches is NOT claimed to be F. + +A gradient of a faulted feature uses two point batches: + +* the N original points, for the region masks (the regions apply the faults of + their own feature); +* the 4N corner points of the tetrahedra, for the faults of the feature itself. + +The persistent cache of the model is OFF in all tests of this file. Only the +sharing inside one evaluation scope is measured. + +Each count test records a diagnostics dictionary (calls, distinct batches, batch +sizes, restored points and restored bytes). The dictionary is printed and given +to ``record_property``. Tests that check numbers (golden gradients, mask pattern, +group priority, output array) pass before and after the sharing change. They +guard the numerical behaviour. Tests that check call counts fail while equal +batches are restored more than once. +""" + +from __future__ import annotations + +import collections +import hashlib +import json +import logging +from pathlib import Path + +import numpy as np +import pytest + +from LoopStructural.modelling.features._base_geological_feature import BaseFeature +from LoopStructural.modelling.features._evaluation import evaluation_scope, restore +from LoopStructural.modelling.features._geological_feature import GeologicalFeature +from LoopStructural.modelling.features.fault import FaultSegment +from LoopStructural.utils.maths import gradient_from_tetrahedron, regular_tetraherdron_for_points +from tests.fault_evaluation.golden import assert_matches +from tests.fault_evaluation.models import build_model + +DATA = Path(__file__).parent / "data" +MANIFEST = json.loads((DATA / "manifest.json").read_text(encoding="utf8")) + +# Counts that the accepted OP1 rule gives for the golden points (see the report of T020). +F4_U3_GROUP_GRADIENT_CALLS = 8 # 4 faults on N points + 4 faults on 4N points +F4_U3_GROUP_GRADIENT_FAULT_POINTS_FACTOR = 20 # 4 * N + 4 * 4N +CUTTING_FAULTS_GROUP_0_GRADIENT_CALLS = 25 # distinct (fault, batch) pairs, frames included + + +# --------------------------------------------------------------------------- +# Helpers +# --------------------------------------------------------------------------- + + +def _golden(name: str) -> dict[str, np.ndarray]: + """Return the stored legacy reference of a golden model.""" + with np.load(DATA / f"{name}.npz", allow_pickle=False) as archive: + return {key: archive[key].copy() for key in archive.files} + + +def _assert_golden(name: str, actual: dict[str, np.ndarray]) -> None: + """Compare chosen outputs with the stored legacy output, with the golden tolerances.""" + expected = _golden(name) + reference = {key: expected[key] for key in actual} + assert_matches(name, dict(actual), reference, MANIFEST["models"][name]["box_size"]) + + +def _model(name: str): + """Build a golden model (only scope sharing is measured).""" + return build_model(name) + + +def _group(model, index: int) -> GeologicalFeature: + return model.get_feature_by_name(f"group_{index}") + + +def _digest(points: np.ndarray) -> bytes: + return hashlib.md5(np.ascontiguousarray(points).tobytes()).digest() + + +class _Recorder: + """Record every call of ``FaultSegment.apply_to_points``: fault, batch and depth.""" + + def __init__(self) -> None: + self.calls: list[tuple[str, int, bytes, bool, int]] = [] + self._depth = 0 + self._original = FaultSegment.apply_to_points + + def __enter__(self) -> _Recorder: # noqa: PYI034 + recorder, original = self, self._original + + def spy(fault, points, *args, **kwargs): + reverse = bool(kwargs.get("reverse", args[0] if args else False)) + array = np.asarray(points) + recorder.calls.append( + (fault.name, len(array), _digest(array), reverse, recorder._depth) + ) + recorder._depth += 1 + try: + return original(fault, points, *args, **kwargs) + finally: + recorder._depth -= 1 + + FaultSegment.apply_to_points = spy + return self + + def __exit__(self, *exc_info) -> None: + FaultSegment.apply_to_points = self._original + + @property + def total(self) -> int: + return len(self.calls) + + @property + def duplicates(self) -> int: + """Number of calls that repeat an earlier (fault, batch, reverse) call.""" + keys = [(name, digest, reverse) for name, _, digest, reverse, _ in self.calls] + return len(keys) - len(set(keys)) + + def batch_calls(self, digest: bytes) -> int: + """Number of calls whose input is the batch with this digest.""" + return sum(1 for call in self.calls if call[2] == digest) + + def diagnostics(self) -> dict: + """Return the batch, count and memory diagnostics of the recorded calls.""" + rows = sum(call[1] for call in self.calls) + return { + "fault_calls_total": self.total, + "fault_calls_top_level": sum(1 for call in self.calls if call[4] == 0), + "duplicate_calls": self.duplicates, + "distinct_batches": len({call[2] for call in self.calls}), + "calls_by_batch_size": dict(collections.Counter(call[1] for call in self.calls)), + "restored_points": rows, + # Memory per actual restored point: 3 float64 coordinates, corners included. + "restored_bytes": rows * 3 * np.dtype(float).itemsize, + } + + +def _record(label, recorder, record_property) -> dict: + """Print the diagnostics of a recorder and give them to the test report.""" + diagnostics = recorder.diagnostics() + print(f"[gradient diagnostics] {label}: {json.dumps(diagnostics, sort_keys=True)}") + record_property(f"gradient_diagnostics_{label}", json.dumps(diagnostics, sort_keys=True)) + return diagnostics + + +def _default_scale(model) -> float: + return float(np.min(model.bounding_box.step_vector) / 10) + + +def _corners(model, points: np.ndarray, scale: float | None = None) -> np.ndarray: + """Return the 4N corner points that ``evaluate_gradient`` builds for ``points``.""" + scale = _default_scale(model) if scale is None else scale + return np.array(regular_tetraherdron_for_points(points, scale).reshape(-1, 3)) + + +def _final_scale(feature, points: np.ndarray, scale: float) -> float: + """Replay the refinement loop of ``evaluate_gradient`` and return the final scale.""" + resolved = False + tetrahedron = regular_tetraherdron_for_points(points, scale) + while not resolved: + resolved = True + for fault in feature.faults: + values = fault[0].evaluate_value(tetrahedron.reshape(-1, 3), fillnan="nearest") + values = values.reshape(tetrahedron.shape[0], 4) + if np.any(~(np.all(values > 0, axis=1) | np.all(values < 0, axis=1))): + scale *= 0.5 + tetrahedron = regular_tetraherdron_for_points(points, scale) + resolved = False + return scale + + +def _final_corners(model, feature, points: np.ndarray) -> np.ndarray: + """Return the 4N corners that the refinement loop gives for the default scale.""" + return _corners(model, points, _final_scale(feature, points, _default_scale(model))) + + +def _legacy_gradient(feature, points: np.ndarray, scale: float) -> np.ndarray: + """Recompute a faulted gradient with the legacy steps and no scope. + + ``scale`` is the start scale. The refinement loop is replayed first. + The mask uses the original points. The corners are restored by the ordered faults. + """ + result = np.full(points.shape, np.nan) + mask = feature._calculate_mask(points) + tetrahedron = regular_tetraherdron_for_points(points, _final_scale(feature, points, scale)) + restored = np.array(tetrahedron.reshape(-1, 3)) + for fault in feature.faults if feature.faults_enabled else []: + restored = fault.apply_to_points(restored) + values = feature.interpolator.evaluate_value(restored).reshape(-1, 4) + result[mask, :] = gradient_from_tetrahedron(tetrahedron[mask, :, :], values[mask]) + return result + + +def _legacy_model_gradient(model, points: np.ndarray) -> np.ndarray: + """Combine the group gradients with the priority of ``evaluate_model_gradient``. + + Every group call is its own top-level call. The youngest valid group wins. + """ + result = np.zeros(points.shape) + for group in reversed(model.stratigraphic_column.get_groups()): + feature = model.get_feature_by_name(group.name) + gradient = feature.evaluate_gradient(np.array(points)) + valid = ~np.isnan(gradient).any(axis=1) + result[valid] = gradient[valid] + return result + + +# --------------------------------------------------------------------------- +# Counts with one fault set: f4_u3 (4 faults, 3 unconformities) +# --------------------------------------------------------------------------- + + +def test_group_gradient_restores_original_and_corner_batches_once(record_property): + """``group_3`` gradient: one restoration per fault for N points and for 4N corners. + + The three unconformity regions use the same ordered set of 4 faults on the N + original points as the mask of the group. Expected: 4 calls on N points and 4 calls + on 4N points = 8. Legacy: 16 (the regions repeat the N batch three times). + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + n = len(points) + with _Recorder() as recorder: + gradient = _group(model, 3).evaluate_gradient(points) + diagnostics = _record("f4_u3_group_3", recorder, record_property) + + _assert_golden("f4_u3", {"points": points, "feature::group_3::gradient": gradient}) + assert diagnostics["calls_by_batch_size"] == {n: 4, 4 * n: 4} + assert diagnostics["duplicate_calls"] == 0 + assert diagnostics["fault_calls_total"] == F4_U3_GROUP_GRADIENT_CALLS + assert diagnostics["restored_points"] == F4_U3_GROUP_GRADIENT_FAULT_POINTS_FACTOR * n + assert diagnostics["restored_bytes"] == F4_U3_GROUP_GRADIENT_FAULT_POINTS_FACTOR * n * 24 + + +def test_region_masks_and_corners_use_the_expected_batches(): + """The first fault of the ordered set gets the original points and the exact corners. + + The masks are made from the original points. They never use restored points. The corner + batch is the 4N points of the tetrahedra of the original points. + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + with _Recorder() as recorder: + gradient = _group(model, 3).evaluate_gradient(points) + original = _digest(points) + corners = _digest(_final_corners(model, _group(model, 3), points)) + + # Only the first fault of the set sees an unrestored batch. + assert recorder.batch_calls(original) == 1 + assert recorder.batch_calls(corners) == 1 + first = _group(model, 3).faults[0].name + assert [call[0] for call in recorder.calls if call[2] in (original, corners)] == [first, first] + np.testing.assert_array_equal( + np.isnan(gradient).any(axis=1), ~_group(model, 3)._calculate_mask(points) + ) + + +def test_model_gradient_restores_each_batch_once_for_all_groups(record_property): + """``evaluate_model_gradient`` shares N and 4N batches over all 4 groups. + + The 4 groups and their regions use one ordered set of 4 faults. The N batch and + the 4N batch are each restored once: 8 calls. Legacy: 52. + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + n = len(points) + with _Recorder() as recorder: + gradient = model.evaluate_model_gradient(points) + diagnostics = _record("f4_u3_model_gradient", recorder, record_property) + + assert diagnostics["calls_by_batch_size"] == {n: 4, 4 * n: 4} + assert diagnostics["duplicate_calls"] == 0 + assert diagnostics["fault_calls_total"] == 8 + assert diagnostics["restored_points"] == 20 * n + + expected = _legacy_model_gradient(_model("f4_u3"), points) + np.testing.assert_allclose(gradient, expected, rtol=0.0, atol=1e-12, equal_nan=True) + + +def test_model_gradient_group_priority_is_unchanged(): + """The youngest group with a valid gradient wins. This is a guard that passes today. + + The golden group gradients give the reference. The golden groups do not overlap, so the + next test checks the priority with overlapping groups. + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + gradient = model.evaluate_model_gradient(points) + + expected = np.zeros(points.shape) + for group in reversed(model.stratigraphic_column.get_groups()): + group_gradient = golden[f"feature::{group.name}::gradient"] + valid = ~np.isnan(group_gradient).any(axis=1) + expected[valid] = group_gradient[valid] + np.testing.assert_allclose(gradient, expected, rtol=0.0, atol=1e-8 * 1000.0) + + +def test_model_gradient_priority_with_overlapping_groups(): + """Where two groups are valid, the youngest group (Group_0) gives the gradient. + + The younger group is valid for x > 0.5. The older group is valid everywhere and has + another gradient. This guard passes before and after the sharing change. + """ + from LoopStructural import GeologicalModel + from LoopStructural.modelling.core.stratigraphic_column import StratigraphicColumn + + class Field: + def __init__(self, gradient): + self.gradient = np.array(gradient) + + def evaluate_value(self, points): + return points @ self.gradient + + def evaluate_gradient(self, points): + return np.broadcast_to(self.gradient, points.shape).copy() + + model = GeologicalModel([0.0, 0.0, 0.0], [1.0, 1.0, 1.0]) + young = GeologicalFeature( + "young", None, regions=[lambda p: p[:, 0] > 0.5], faults=[], interpolator=Field([1, 0, 0]) + ) + old = GeologicalFeature("old", None, faults=[], interpolator=Field([0, 0, 2])) + model._add_feature(young) + model._add_feature(old) + column = StratigraphicColumn() + column.clear(basement=False) + for index in (1, 0): + high = column.add_unit(f"unit_{index}_high") + low = column.add_unit(f"unit_{index}_low") + for unit, (low_value, high_value) in ((high, (5.0, 10.0)), (low, (0.0, 5.0))): + unit.min_value, unit.max_value = low_value, high_value + if index: + column.add_unconformity("unconformity_1") + column.group_mapping.update({"Group_0": "young", "Group_1": "old"}) + model.stratigraphic_column = column + points = np.array([[0.25, 0.5, 0.5], [0.75, 0.5, 0.5]]) + + gradient = model.evaluate_model_gradient(points) + + np.testing.assert_allclose(gradient, [[0.0, 0.0, 2.0], [1.0, 0.0, 0.0]], atol=1e-12) + + +def test_repeated_groups_in_one_scope_share_the_batches(record_property): + """Two groups with the same ordered set, inside one scope: N and 4N batches once each.""" + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + with _Recorder() as recorder, evaluation_scope(model): + third = _group(model, 3).evaluate_gradient(points) + second = _group(model, 2).evaluate_gradient(points) + again = _group(model, 3).evaluate_gradient(points) + diagnostics = _record("f4_u3_repeated_groups", recorder, record_property) + + assert diagnostics["fault_calls_total"] == 8 + assert diagnostics["duplicate_calls"] == 0 + _assert_golden( + "f4_u3", + { + "points": points, + "feature::group_3::gradient": third, + "feature::group_2::gradient": second, + }, + ) + np.testing.assert_array_equal(third, again) + + +# --------------------------------------------------------------------------- +# Element scale and refinement +# --------------------------------------------------------------------------- + + +def test_different_element_scales_make_different_corner_batches(record_property): + """Equal scales share the 4N batch. A different scale is another batch. + + Three gradients in one scope: scales 20, 20 and 7. The N batch is restored once + (4 calls). The 4N batch of scale 20 is restored once and the one of scale 7 once + (8 calls). Total 12. Never merge two scales: the gradients must differ. + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + n = len(points) + with _Recorder() as recorder, evaluation_scope(model): + first = feature.evaluate_gradient(points, element_scale_parameter=20.0) + repeated = feature.evaluate_gradient(points, element_scale_parameter=20.0) + other = feature.evaluate_gradient(points, element_scale_parameter=7.0) + diagnostics = _record("f4_u3_scales", recorder, record_property) + + assert diagnostics["calls_by_batch_size"] == {n: 4, 4 * n: 8} + assert diagnostics["duplicate_calls"] == 0 + assert diagnostics["fault_calls_total"] == 12 + + reference = _model("f4_u3") + np.testing.assert_array_equal(first, repeated) + np.testing.assert_allclose( + first, + _legacy_gradient(_group(reference, 3), points, 20.0), + rtol=0.0, + atol=1e-10, + equal_nan=True, + ) + np.testing.assert_allclose( + other, + _legacy_gradient(_group(reference, 3), points, 7.0), + rtol=0.0, + atol=1e-10, + equal_nan=True, + ) + assert not np.allclose(first, other, equal_nan=True, rtol=0.0, atol=1e-12) + + +def test_tetrahedron_refinement_restores_only_the_final_corners(caplog, record_property): + """A refined tetrahedron is restored once, at the final scale. No stale batch is restored. + + At the default scale the corners of the golden points touch the fault frames, so the loop + halves the scale (the log shows the warning). The final scale comes from an independent + replay of the loop. Only the corners of the final scale are restored, and the gradient equals + the legacy gradient at that scale. + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + n = len(points) + feature = _group(model, 3) + start = _default_scale(model) + final = _final_scale(feature, points, start) + assert final < start, "these points must need a refinement" + with caplog.at_level(logging.WARNING), _Recorder() as recorder: + gradient = feature.evaluate_gradient(points) + diagnostics = _record("f4_u3_refinement", recorder, record_property) + + assert any("Refining the tetrahedron" in message for message in caplog.messages) + assert recorder.batch_calls(_digest(_corners(model, points, start))) == 0 + assert recorder.batch_calls(_digest(_corners(model, points, final))) == 1 + assert diagnostics["calls_by_batch_size"] == {n: 4, 4 * n: 4} + assert diagnostics["fault_calls_total"] == 8 + np.testing.assert_allclose( + gradient, + _legacy_gradient(_group(_model("f4_u3"), 3), points, start), + rtol=0.0, + atol=1e-10, + equal_nan=True, + ) + + +# --------------------------------------------------------------------------- +# Different fault sets +# --------------------------------------------------------------------------- + + +def test_reordered_fault_list_is_a_different_set_in_model_gradient(record_property): + """group_1 has the faults in reverse order: set B. The other features use set A. + + A and B are two keys, for the N batch and for the 4N batch: (4 + 4) + (4 + 4) = 16. + Legacy: 52. A merged key would give 8 and wrong values. + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + group = _group(model, 1) + group.faults = list(reversed(group.faults)) + assert group.faults != _group(model, 3).faults + points = golden["points"] + n = len(points) + with _Recorder() as recorder: + gradient = model.evaluate_model_gradient(points) + diagnostics = _record("f4_u3_reordered_model_gradient", recorder, record_property) + + assert diagnostics["calls_by_batch_size"] == {n: 8, 4 * n: 8} + assert diagnostics["duplicate_calls"] == 0 + assert diagnostics["fault_calls_total"] == 16 + + reference = _model("f4_u3") + reference_group = _group(reference, 1) + reference_group.faults = list(reversed(reference_group.faults)) + np.testing.assert_allclose( + gradient, _legacy_model_gradient(reference, points), rtol=0.0, atol=1e-12, equal_nan=True + ) + # The order changes the restored corners, so a merged key would give wrong values. + corners = _corners(model, points) + ordered = reverse_ordered = corners + for fault in _group(reference, 3).faults: + ordered = fault.apply_to_points(ordered) + for fault in reference_group.faults: + reverse_ordered = fault.apply_to_points(reverse_ordered) + assert not np.allclose(ordered, reverse_ordered, rtol=0.0, atol=1e-9) + + +def test_onlap_domain_and_stopped_fault_model_gradients(record_property): + """Models with an empty fault set and with a shared set: counts and golden gradients. + + ``stopped_fault`` has the sets [] and [fault_0]: only the 4N batch of the group with + the fault is restored (1 call). ``onlap_domain`` shares [fault_0] over 3 groups and 2 + regions: one call on N points and one on 4N points (2 calls). Legacy: 4. + """ + for name, expected_calls in (("stopped_fault", 1), ("onlap_domain", 2)): + model, golden = _model(name), _golden(name) + points = golden["points"] + with _Recorder() as recorder: + gradient = model.evaluate_model_gradient(points) + diagnostics = _record(f"{name}_model_gradient", recorder, record_property) + assert diagnostics["fault_calls_total"] == expected_calls, name + assert diagnostics["duplicate_calls"] == 0, name + expected = _legacy_model_gradient(_model(name), points) + np.testing.assert_allclose(gradient, expected, rtol=0.0, atol=1e-12, equal_nan=True) + + +# --------------------------------------------------------------------------- +# Child-fault frames +# --------------------------------------------------------------------------- + + +def test_child_fault_frame_batches_are_counted_separately(record_property): + """``cutting_faults`` group_0 gradient: no duplicate (fault, batch) pair remains. + + group_0 uses [fault_1, fault_0]. The frame of fault_1 uses [fault_0] and restores its + own nested batches, for N points and for the corners. Every nested batch counts + on its own (OP1). With one restoration per distinct batch there are 25 calls + (legacy: 46), and none repeats an earlier fault and batch. + """ + model, golden = _model("cutting_faults"), _golden("cutting_faults") + points = golden["points"] + with _Recorder() as recorder: + gradient = _group(model, 0).evaluate_gradient(points) + diagnostics = _record("cutting_faults_group_0", recorder, record_property) + + _assert_golden("cutting_faults", {"points": points, "feature::group_0::gradient": gradient}) + assert diagnostics["duplicate_calls"] == 0 + assert diagnostics["fault_calls_total"] == CUTTING_FAULTS_GROUP_0_GRADIENT_CALLS + # Nested calls come from the frame of fault_1 and are not top-level calls. + assert diagnostics["fault_calls_top_level"] < diagnostics["fault_calls_total"] + + +# --------------------------------------------------------------------------- +# Reverse restoration, disabled faults +# --------------------------------------------------------------------------- + + +def test_reverse_and_forward_restoration_of_corners_are_two_batches(record_property): + """Reverse and forward restoration of the same corners are two keys, in one scope. + + 1 forward call and 1 reverse call = 2 (one fault). The results equal the manual restorations + (the legacy reverse path gives the values of the forward path, but the keys stay separate). + """ + model = _model("f1_u0") + feature = _group(model, 0) + # Two points near the fault, so the restoration moves the corners. + near = np.array([[450.0, 500.0, -500.0], [550.0, 500.0, -450.0]]) + corners = _corners(model, near) + with _Recorder() as recorder, evaluation_scope(model): + forward = restore(feature, corners) + backward = restore(feature, corners, reverse=True) + forward_again = restore(feature, corners) + backward_again = restore(feature, corners, reverse=True) + _record("f1_u0_reverse_corners", recorder, record_property) + + expected_forward, expected_backward = corners, corners + for fault in feature.faults: + expected_forward = fault.apply_to_points(expected_forward) + for fault in feature.faults: + expected_backward = fault.apply_to_points(expected_backward, reverse=True) + np.testing.assert_array_equal(forward, expected_forward) + np.testing.assert_array_equal(backward, expected_backward) + np.testing.assert_array_equal(forward, forward_again) + np.testing.assert_array_equal(backward, backward_again) + assert recorder.total == 2 + + +def test_disabled_group_faults_leave_only_the_region_batches(record_property): + """Only ``group_3`` has ``faults_enabled = False``. Its regions keep their faults. + + The group restores no corner batch. The regions restore the N batch once: 4 calls. + The gradient equals the legacy gradient without faults. Legacy: 12 calls. + """ + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + feature.faults_enabled = False + with _Recorder() as recorder: + gradient = feature.evaluate_gradient(points) + diagnostics = _record("f4_u3_group_disabled", recorder, record_property) + + assert diagnostics["calls_by_batch_size"] == {len(points): 4} + assert diagnostics["fault_calls_total"] == 4 + # Frozen from master 790036d2 (spec 005 changed how the faults of the regions are + # restored, so the in-file legacy gradient no longer matches for this case). + frozen = np.load(Path(__file__).parent / "data" / "f4_u3_group_disabled_gradient.npz") + np.testing.assert_array_equal(frozen["points"], points) + np.testing.assert_allclose(gradient, frozen["gradient"], rtol=0.0, atol=1e-10, equal_nan=True) + + +def test_all_faults_disabled_make_no_call(): + """With every fault switch off, no restoration is made. The result is NaN-compatible.""" + model, golden = _model("f4_u3"), _golden("f4_u3") + points = golden["points"] + feature = _group(model, 3) + seen: set[int] = set() + + def disable(item) -> None: + if id(item) in seen or not isinstance(item, BaseFeature): + return + seen.add(id(item)) + item.faults_enabled = False + for region in item.regions: + disable(region) + + disable(feature) + with _Recorder() as recorder: + gradient = feature.evaluate_gradient(points) + assert recorder.total == 0 + assert gradient.shape == points.shape + np.testing.assert_array_equal(np.isnan(gradient).any(axis=1), ~feature._calculate_mask(points)) + + +# --------------------------------------------------------------------------- +# Faulted fold frames +# --------------------------------------------------------------------------- + + +def test_faulted_fold_frame_gradients_share_the_corner_batch(record_property): + """Fold frame coordinates, the folded unit and group_0 use [fault_0] on the same corners. + + Inside one scope all five gradients restore the 4N batch once: 1 call. Without + sharing the five gradients restore it 6 times (the cross product evaluates two + coordinates). The gradients equal the golden gradients. + """ + model, golden = _model("faulted_fold"), _golden("faulted_fold") + points = golden["points"] + frame = model.get_feature_by_name("fold_frame") + with _Recorder() as recorder, evaluation_scope(model): + results = { + "fold_frame__0": frame[0].evaluate_gradient(points), + "fold_frame__1": frame[1].evaluate_gradient(points), + "fold_frame__2": frame[2].evaluate_gradient(points), + "folded_unit": model.get_feature_by_name("folded_unit").evaluate_gradient(points), + "group_0": _group(model, 0).evaluate_gradient(points), + } + diagnostics = _record("faulted_fold_scope", recorder, record_property) + + _assert_golden( + "faulted_fold", + {"points": points} + | {f"feature::{name}::gradient": gradient for name, gradient in results.items()}, + ) + assert diagnostics["calls_by_batch_size"] == {4 * len(points): 1} + assert diagnostics["fault_calls_total"] == 1 + assert diagnostics["restored_points"] == 4 * len(points) + + +# --------------------------------------------------------------------------- +# Numerical guards that pass before and after the change +# --------------------------------------------------------------------------- + + +@pytest.mark.parametrize("name", ["f4_u3", "cutting_faults", "faulted_fold", "onlap_domain"]) +def test_model_gradient_matches_golden_group_priority(name): + """The model gradient equals the golden group gradients with the youngest-valid priority.""" + model, golden = _model(name), _golden(name) + points = golden["points"] + gradient = model.evaluate_model_gradient(points) + + expected = np.zeros(points.shape) + for group in reversed(model.stratigraphic_column.get_groups()): + group_gradient = golden[f"feature::{group.name}::gradient"] + valid = ~np.isnan(group_gradient).any(axis=1) + expected[valid] = group_gradient[valid] + box = MANIFEST["models"][name]["box_size"] + np.testing.assert_allclose(gradient, expected, rtol=0.0, atol=1e-8 * box) + + +class _IdentityFault(BaseFeature): + """A fault double that leaves coordinates unchanged.""" + + def __init__(self, name="identity"): + super().__init__(name) + + def evaluate_value(self, points, **kwargs): + return points[:, 0] + + def evaluate_gradient(self, points, **kwargs): + return np.broadcast_to([1.0, 0.0, 0.0], points.shape).copy() + + def __getitem__(self, key): + assert key == 0 + return self + + def apply_to_points(self, points, reverse=False, **kwargs): + return points + + def copy(self, name=None): + return _IdentityFault(name or self.name) + + def get_data(self, value_map=None): + return [] + + +class _LinearField: + """A linear interpolator with a constant gradient.""" + + gradient = np.array([2.0, -3.0, 0.5]) + + def evaluate_value(self, points): + return points @ self.gradient + 7.0 + + def evaluate_gradient(self, points): + return np.broadcast_to(self.gradient, points.shape).copy() + + +def test_faulted_gradient_output_array_shape_and_fill(): + """D0 regression: the output has shape (N, 3) and a region-masked point stays NaN. + + This is an equivalent of ``tests/unit/modelling/test_faulted_gradient_output.py``. + The sharing of batches must not change the shape, the dtype or the NaN fill. + """ + points = np.array([[1.0, 2.0, 3.0], [-1.0, 2.0, 3.0], [4.0, -2.0, 1.0]]) + feature = GeologicalFeature( + "linear", + builder=None, + regions=[lambda p: p[:, 0] > 0], + faults=[_IdentityFault("a"), _IdentityFault("b")], + interpolator=_LinearField(), + ) + gradient = feature.evaluate_gradient(points, element_scale_parameter=1) + + assert gradient.shape == (3, 3) + assert gradient.dtype == np.float64 + np.testing.assert_allclose(gradient[[0, 2]], np.tile(_LinearField.gradient, (2, 1)), atol=1e-12) + assert np.isnan(gradient[1]).all() diff --git a/tests/fault_evaluation/test_memory.py b/tests/fault_evaluation/test_memory.py new file mode 100644 index 000000000..88cc5e497 --- /dev/null +++ b/tests/fault_evaluation/test_memory.py @@ -0,0 +1,92 @@ +"""Tests for the memory accounting of the fault evaluation (D4, D5, FR-010, T022, T047). + +* The workspace of the digest of the points is bounded. It is far smaller than the + arrays that are hashed. +* No restoration stays after a call. + +The large case with 10 million points and the peak RSS is not part of normal pytest +(T029, T030). +""" + +from __future__ import annotations + +import gc +import tracemalloc +from collections.abc import Callable +from pathlib import Path + +import numpy as np + +from LoopStructural.modelling.features import _evaluation +from tests.fault_evaluation.models import build_model + +MEGABYTE = 1024 * 1024 +DATA = Path(__file__).parent / "data" + + +def _peak(call: Callable[[], object]) -> int: + """Return the peak of the Python and NumPy allocations of ``call`` in bytes.""" + call() # warm call: imports and lazy tables are not counted + tracemalloc.start() + try: + tracemalloc.reset_peak() + call() + _, peak = tracemalloc.get_traced_memory() + finally: + tracemalloc.stop() + return peak + + +# --------------------------------------------------------------------------- +# Bounded hashing workspace +# --------------------------------------------------------------------------- + + +def test_points_digest_uses_a_bounded_workspace(): + """The digest of 24 MB of points allocates far less than the points. + + A copy of the array (for example ``tobytes``) would need 24 MB. The limit of 6 MB + leaves room for the chunk buffer, the digest state and Python objects. + """ + points = np.linspace(0.0, 1.0, 3_000_000).reshape(-1, 3) + size = points.nbytes + assert size >= 24_000_000 + peak = _peak(lambda: _evaluation._digest(points)) + assert peak < 6 * MEGABYTE < size, f"peak {peak} bytes for an array of {size} bytes" + + +def test_points_digest_of_a_view_uses_a_bounded_workspace(): + """The digest of a large non-contiguous view must not copy the whole array. + + A Fortran-order array is a plausible input (for example a transposed array). Chunks + of bounded size must be copied, not the full array. + """ + points = np.asfortranarray(np.linspace(0.0, 1.0, 3_000_000).reshape(-1, 3)) + assert not points.flags.c_contiguous + size = points.nbytes + peak = _peak(lambda: _evaluation._digest(points)) + assert peak < 6 * MEGABYTE < size, f"peak {peak} bytes for an array of {size} bytes" + + +def test_points_digest_is_the_same_for_the_chunked_view(): + """The chunked digest of a non-contiguous array equals the digest of its C-order copy.""" + contiguous = np.linspace(0.0, 1.0, 600_000).reshape(-1, 3) + for variant in (np.asfortranarray(contiguous), np.repeat(contiguous, 2, axis=0)[::2]): + assert _evaluation._digest(variant) == _evaluation._digest(contiguous) + + +# --------------------------------------------------------------------------- +# No restoration after a call +# --------------------------------------------------------------------------- + + +def test_no_restoration_stays_after_the_call(): + """After ``evaluate_model``, no scope is active and no context object is alive.""" + model = build_model("f1_u0") + with np.load(DATA / "f1_u0.npz", allow_pickle=False) as archive: + points = archive["points"].copy() + model.evaluate_model(points) + assert _evaluation._ACTIVE.get() is None + gc.collect() + contexts = [o for o in gc.get_objects() if isinstance(o, _evaluation.EvaluationContext)] + assert contexts == [], "an EvaluationContext stays alive after the call" diff --git a/tests/fault_evaluation/test_models.py b/tests/fault_evaluation/test_models.py new file mode 100644 index 000000000..51bc7522b --- /dev/null +++ b/tests/fault_evaluation/test_models.py @@ -0,0 +1,233 @@ +"""Check the fixed model catalogue and its stored fields.""" + +from __future__ import annotations + +import numpy as np +import pytest + +SYNTHETIC_NAMES = [ + f"f{faults}_u{unconformities}" for faults in (0, 1, 2, 4) for unconformities in range(4) +] +SPECIAL_NAMES = ["stopped_fault", "cutting_faults", "onlap_domain", "faulted_fold", "plugin"] +EXPECTED_NAMES = SYNTHETIC_NAMES + SPECIAL_NAMES + + +def _api(name): + """Load a model helper and report its public test contract when it is absent.""" + import importlib + + try: + models = importlib.import_module("tests.fault_evaluation.models") + except ModuleNotFoundError as error: + if error.name != "tests.fault_evaluation.models": + raise + pytest.fail( + f"tests.fault_evaluation.models.{name} API is required by D1 (models module is missing)" + ) + + helper = getattr(models, name, None) + assert callable(helper), f"tests.fault_evaluation.models.{name} API is required by D1" + return helper + + +def _feature_list(model): + return list(model.features) + + +def _interpolated_features(feature): + """Return actual feature coordinates that own stored interpolators.""" + coordinates = getattr(feature, "features", None) + candidates = list(coordinates) if coordinates is not None else [] + candidates.append(feature) + result = [] + seen = set() + for coordinate in candidates: + builder = getattr(coordinate, "builder", None) + if builder is None or not hasattr(builder, "interpolator") or id(builder) in seen: + continue + seen.add(id(builder)) + result.append((coordinate, builder)) + return result + + +def test_model_names_matches_d1_catalogue(): + model_names = _api("model_names") + assert model_names() == EXPECTED_NAMES, "model_names() must return the 21 D1 names in order" + + +@pytest.mark.parametrize("name", EXPECTED_NAMES) +def test_build_model_relationships_and_stored_fields(name, monkeypatch): + """Build each fixture without invoking any solver.""" + from loop_interpolation._discrete_interpolator import DiscreteInterpolator + from loop_interpolation._geological_interpolator import GeologicalInterpolator + + calls = [] + + def reject_solve(*args, **kwargs): + calls.append((args, kwargs)) + raise AssertionError(f"build_model({name!r}) must load solved fields without solver calls") + + monkeypatch.setattr(DiscreteInterpolator, "solve_system", reject_solve) + monkeypatch.setattr(GeologicalInterpolator, "solve_system", reject_solve) + build_model = _api("build_model") + model = build_model(name) + assert not calls, f"build_model({name!r}) called a solver" + + features = _feature_list(model) + assert features, f"build_model({name!r}) returned no model features" + assert model.stratigraphic_column is not None, f"{name} must include a stratigraphic column" + assert ( + len(model.stratigraphic_column.order) > 0 + ), f"{name} stratigraphic column must not be empty" + + checked_fields = set() + for feature in features: + for coordinate, builder in _interpolated_features(feature): + if id(builder) in checked_fields: + continue + checked_fields.add(id(builder)) + assert ( + builder._up_to_date + ), f"{name}/{coordinate.name} stored builder state is not current" + assert ( + builder.interpolator.up_to_date + ), f"{name}/{coordinate.name} stored interpolator field is not current" + assert checked_fields, f"{name} must expose at least one actual stored interpolated field" + + if name in SYNTHETIC_NAMES: + fault_count = int(name.split("_u")[0][1:]) + unconformity_count = int(name.rsplit("_u", 1)[1]) + faults = [feature for feature in features if getattr(feature, "type", None).name == "FAULT"] + groups = [model.get_feature_by_name(f"group_{i}") for i in range(unconformity_count + 1)] + assert len(faults) == fault_count, f"{name} fault catalogue is incomplete" + assert len(groups) == unconformity_count + 1, f"{name} group catalogue is incomplete" + # The data recipe creates group_0 first (youngest) and the last group is oldest. + group_positions = [features.index(group) for group in groups] + assert group_positions == sorted( + group_positions + ), f"{name} group creation age order is incorrect" + expected_fault_order = [f"fault_{i}" for i in reversed(range(fault_count))] + for group in groups: + assert [ + fault.name for fault in group.faults + ] == expected_fault_order, ( + f"{name}/{group.name} fault order differs from the baseline recipe" + ) + for index in range(unconformity_count): + younger = groups[index] + assert any( + getattr(region, "parent", None) is younger for region in groups[index + 1].regions + ), f"{name}/{groups[index + 1].name} must be bounded by the preceding younger group" + + if name == "stopped_fault": + group_fault_sets = { + tuple(f.name for f in feature.faults) + for feature in features + if feature.name.startswith("group_") + } + assert ( + len(group_fault_sets) >= 2 + ), "stopped_fault must have different fault sets across its boundary" + elif name == "cutting_faults": + faults = [feature for feature in features if getattr(feature, "type", None).name == "FAULT"] + assert len(faults) >= 2, "cutting_faults must contain at least two faults" + assert any( + any(dependency is other for dependency in coordinate.faults) + for fault in faults + for coordinate in fault.features + for other in faults + if other is not fault + ), "cutting_faults must preserve the fault-on-fault relationship" + elif name == "onlap_domain": + from LoopStructural.modelling.features import FeatureType + + assert any( + region.type == FeatureType.ONLAPUNCONFORMITY + for feature in features + for region in feature.regions + ), "onlap_domain must contain an onlap unconformity region" + assert any( + getattr(feature, "type", None).name == "DOMAINFAULT" + or getattr(feature, "is_domain_fault", False) + for feature in features + ), "onlap_domain must contain a domain fault" + elif name == "faulted_fold": + from LoopStructural.modelling.features.fold import FoldFrame + + folded = [feature for feature in features if getattr(feature, "fold", None) is not None] + frames = [feature for feature in features if isinstance(feature, FoldFrame)] + assert folded, "faulted_fold must contain a feature linked to a FoldEvent" + assert frames, "faulted_fold must contain a FoldFrame" + faulted_frame = next( + (frame for frame in frames if any(coordinate.faults for coordinate in frame.features)), + None, + ) + assert faulted_frame is not None, "faulted_fold must have a fault on a FoldFrame coordinate" + assert any( + getattr(feature.fold, "foldframe", None) is faulted_frame for feature in folded + ), "faulted_fold feature must use the faulted FoldFrame" + elif name == "plugin": + from pathlib import Path + + data_dir = ( + Path(__file__).parent.parent.parent + / "specs" + / "003-fault-evaluation-performance" + / "data" + / "plugin_model" + ) + reference = np.load(data_dir / "qgis_check.npz") + points = reference["points"] + group = model.get_feature_by_name("Group_0") + actual = {"Group_0": group.evaluate_value(points)} + for feature_name in ("7439", "2997", "3496", "3498", "12647", "12658"): + actual[f"{feature_name}__0"] = model.get_feature_by_name(feature_name)[ + 0 + ].evaluate_value(points) + actual["restored_Group_0"] = group._apply_faults(points.copy()) + for key, value in actual.items(): + expected = reference[key] + assert np.array_equal( + np.isnan(value), np.isnan(expected) + ), f"plugin {key} NaN mask differs from QGIS" + np.testing.assert_allclose( + value, + expected, + rtol=0.0, + atol=1e-8, + equal_nan=True, + err_msg=f"plugin {key} differs from qgis_check.npz", + ) + + +@pytest.mark.parametrize("name", EXPECTED_NAMES) +def test_sample_points_is_fixed_and_inside_model_box(name): + sample_points = _api("sample_points") + first = sample_points(name, 64) + second = sample_points(name, 64) + assert isinstance(first, np.ndarray), f"sample_points({name!r}) must return an ndarray" + assert first.shape == (64, 3), f"sample_points({name!r}) must return shape (count, 3)" + assert np.isfinite(first).all(), f"sample_points({name!r}) must return finite points" + np.testing.assert_array_equal( + first, second, err_msg=f"sample_points({name!r}) must be deterministic" + ) + model = _api("build_model")(name) + box = model.bounding_box + assert np.all(first >= box.origin) and np.all( + first <= box.maximum + ), f"sample_points({name!r}) must stay inside the model bounding box" + + +@pytest.mark.parametrize("name", SYNTHETIC_NAMES + SPECIAL_NAMES[:-1]) +def test_fixture_column_groups_match_model_and_classify_sample(name): + build_model = _api("build_model") + sample_points = _api("sample_points") + model = build_model(name) + + for group in model.stratigraphic_column.get_groups(): + assert ( + group.name in model.feature_name_index + ), f"{name} stratigraphic column group {group.name!r} has no matching model feature" + + ids = model.evaluate_model(sample_points(name, 512)) + assert np.any(ids >= 0), f"{name} stratigraphic column classified no sample point" diff --git a/tests/fault_evaluation/test_no_retention.py b/tests/fault_evaluation/test_no_retention.py new file mode 100644 index 000000000..b51a7038b --- /dev/null +++ b/tests/fault_evaluation/test_no_retention.py @@ -0,0 +1,87 @@ +"""Tests that no state stays between evaluation calls (FR-009, user story 2, scenario 6, T047). + +After a change of the model, the next call must give the result of a model that has the +same change from the start. The model keeps no result of an earlier call. +""" + +from __future__ import annotations + +import json +from collections.abc import Callable +from pathlib import Path + +import numpy as np +import pytest + +from benchmarks.fault_evaluation.instrumentation import EvaluationInstrumentation +from LoopStructural import GeologicalModel +from tests.fault_evaluation.golden import assert_matches, capture +from tests.fault_evaluation.models import build_model, sample_points + +DATA = Path(__file__).parent / "data" +MANIFEST = json.loads((DATA / "manifest.json").read_text(encoding="utf8")) +POINT_COUNT = 200 + + +def _scale_displacement(model: GeologicalModel) -> None: + """Multiply the displacement of the first fault by 1.5.""" + model.get_feature_by_name("fault_0").displacement *= 1.5 + + +def _disable_faults(model: GeologicalModel) -> None: + """Disable the faults of the oldest group.""" + model.get_feature_by_name("group_0").faults_enabled = False + + +def _set_steps(model: GeologicalModel) -> None: + """Set the steps of the first fault to 5.""" + model.get_feature_by_name("fault_0").steps = 5 + + +@pytest.mark.parametrize( + "name,change", + [ + ("f1_u0", _scale_displacement), + ("f1_u1", _disable_faults), + ("f1_u0", _set_steps), + ], + ids=["displacement", "faults_enabled", "steps"], +) +def test_change_after_a_call_gives_the_result_of_a_fresh_model( + name: str, change: Callable[[GeologicalModel], None] +) -> None: + """A call, a change and a call equal a model that has the change from the start.""" + points = sample_points(name, POINT_COUNT, seed=1) + model = build_model(name) + model.evaluate_model(points.copy()) + change(model) + fresh = build_model(name) + change(fresh) + assert_matches( + name, + capture(model, points), + capture(fresh, points), + MANIFEST["models"][name]["box_size"], + ) + + +def test_repeat_call_applies_the_faults_again() -> None: + """Two equal calls make the same number of fault calls and give equal results.""" + model = build_model("f1_u0") + points = sample_points("f1_u0", POINT_COUNT, seed=1) + counts = [] + results = [] + for _ in range(2): + with EvaluationInstrumentation() as instrumentation: + results.append(model.evaluate_model(points.copy())) + counts.append(instrumentation.snapshot()["fault_calls_total"]) + assert counts[0] > 0 + assert counts[0] == counts[1], "the second call must apply the faults again" + np.testing.assert_array_equal(results[0], results[1]) + + +def test_model_has_no_cache_attributes() -> None: + """The model has no ``evaluation_cache`` and no ``evaluation_revision``.""" + model = build_model("f1_u0") + assert not hasattr(model, "evaluation_cache") + assert not hasattr(model, "evaluation_revision") diff --git a/tests/unit/modelling/test_faulted_gradient_output.py b/tests/unit/modelling/test_faulted_gradient_output.py new file mode 100644 index 000000000..6602caf6f --- /dev/null +++ b/tests/unit/modelling/test_faulted_gradient_output.py @@ -0,0 +1,108 @@ +"""Regression tests for gradients evaluated through faults.""" + +import numpy as np +import pytest + +from LoopStructural.modelling.features import GeologicalFeature +from LoopStructural.modelling.features._base_geological_feature import BaseFeature + + +class IdentityFault(BaseFeature): + """A fault double that leaves coordinates unchanged.""" + + def __init__(self, name="identity", coordinate=None): + super().__init__(name) + self.coordinate = coordinate or self + + def evaluate_value(self, points, **kwargs): + return self.coordinate_values(points) + + def coordinate_values(self, points): + return points[:, 0] + + def evaluate_gradient(self, points, **kwargs): + return np.broadcast_to([1.0, 0.0, 0.0], points.shape).copy() + + def __getitem__(self, key): + assert key == 0 + return self.coordinate + + def apply_to_points(self, points, reverse=False): + return points + + def copy(self, name=None): + return IdentityFault(name or self.name, self.coordinate) + + def get_data(self, value_map=None): + return [] + + +class ControlledFault(IdentityFault): + """Return mixed corner signs once, then positive signs.""" + + def __init__(self): + super().__init__("controlled") + self.value_calls = 0 + + def evaluate_value(self, points, **kwargs): + self.value_calls += 1 + if self.value_calls == 1: + return np.where(np.arange(len(points)) % 4 == 0, 1.0, -1.0) + return np.ones(len(points)) + + +class LinearField: + """A linear interpolator with a constant gradient.""" + + gradient = np.array([2.0, -3.0, 0.5]) + + def evaluate_value(self, points): + return points @ self.gradient + 7.0 + + def evaluate_gradient(self, points): + return np.broadcast_to(self.gradient, points.shape).copy() + + +def make_feature(faults=(), regions=None): + return GeologicalFeature( + "linear", + builder=None, + regions=regions, + faults=list(faults), + interpolator=LinearField(), + ) + + +@pytest.mark.parametrize("fault_count", [1, 2]) +def test_faulted_gradient_has_three_components(fault_count): + points = np.array([[1.0, 2.0, 3.0], [4.0, -2.0, 1.0]]) + feature = make_feature(IdentityFault(str(i)) for i in range(fault_count)) + + gradient = feature.evaluate_gradient(points, element_scale_parameter=1) + + expected = np.tile([2.0, -3.0, 0.5], (2, 1)) + assert gradient.shape == (2, 3) + np.testing.assert_allclose(gradient, expected, rtol=0, atol=1e-12) + + +def test_faulted_gradient_keeps_region_masked_point_nan(): + points = np.array([[1.0, 2.0, 3.0], [-1.0, 2.0, 3.0]]) + feature = make_feature([IdentityFault()], regions=[lambda p: p[:, 0] > 0]) + + gradient = feature.evaluate_gradient(points, element_scale_parameter=1) + + np.testing.assert_allclose(gradient[0], [2.0, -3.0, 0.5], rtol=0, atol=1e-12) + assert np.isnan(gradient[1]).all() + + +def test_faulted_gradient_refines_once_when_corner_signs_are_mixed(): + points = np.array([[1.0, 2.0, 3.0], [4.0, -2.0, 1.0]]) + fault = ControlledFault() + feature = make_feature([fault]) + + gradient = feature.evaluate_gradient(points, element_scale_parameter=1) + + assert fault.value_calls == 2 + expected = np.tile([2.0, -3.0, 0.5], (2, 1)) + assert gradient.shape == (2, 3) + np.testing.assert_allclose(gradient, expected, rtol=0, atol=1e-12) diff --git a/uv.lock b/uv.lock index 93b5958ac..45b855f2c 100644 --- a/uv.lock +++ b/uv.lock @@ -3316,6 +3316,8 @@ all = [ { name = "tqdm" }, ] dev = [ + { name = "pytest-benchmark", version = "5.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, + { name = "pytest-benchmark", version = "5.3.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, { name = "ruff" }, ] docs = [ @@ -3408,6 +3410,7 @@ requires-dist = [ { name = "pydata-sphinx-theme", marker = "extra == 'docs'" }, { name = "pyevtk", marker = "extra == 'export'" }, { name = "pytest", marker = "extra == 'tests'" }, + { name = "pytest-benchmark", marker = "extra == 'dev'" }, { name = "pyvista", marker = "extra == 'visualisation'" }, { name = "pyvista", extras = ["all"], marker = "extra == 'docs'" }, { name = "pyvista", extras = ["all"], marker = "extra == 'jupyter'" }, @@ -5974,6 +5977,24 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842, upload-time = "2024-07-21T12:58:20.04Z" }, ] +[[package]] +name = "py-cpuinfo" +version = "9.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/37/a8/d832f7293ebb21690860d2e01d8115e5ff6f2ae8bbdc953f0eb0fa4bd2c7/py-cpuinfo-9.0.0.tar.gz", hash = "sha256:3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690", size = 104716, upload-time = "2022-10-25T20:38:06.303Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e0/a9/023730ba63db1e494a271cb018dcd361bd2c917ba7004c3e49d5daf795a2/py_cpuinfo-9.0.0-py3-none-any.whl", hash = "sha256:859625bc251f64e21f077d099d4162689c762b5d6a4c3c97553d56241c9674d5", size = 22335, upload-time = "2022-10-25T20:38:27.636Z" }, +] + +[[package]] +name = "py-cpuinfo2" +version = "10.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/dc/97/a8b1ddada14c8280a047c0746f95cb05d94a31b1a331cea22bcdc2b2a82d/py_cpuinfo2-10.1.1.tar.gz", hash = "sha256:7861133863663f16e06eca63b12904ef100b5760415e92372dac0162799a4771", size = 100840, upload-time = "2026-03-25T21:49:40.797Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/23/0a/ba69d2dde1ae12ef1d389ea5a216384c5ff6ef7a1e7a48d1e9b6686f6790/py_cpuinfo2-10.1.1-py3-none-any.whl", hash = "sha256:adc53396bfb206e6498d078ec2ab407f85799ecd819584ac36a8f80a2d4d762d", size = 23791, upload-time = "2026-03-25T21:49:39.574Z" }, +] + [[package]] name = "pybtex" version = "0.26.1" @@ -6612,6 +6633,51 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, ] +[[package]] +name = "pytest-benchmark" +version = "5.2.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.10'", +] +dependencies = [ + { name = "py-cpuinfo", marker = "python_full_version < '3.10'" }, + { name = "pytest", version = "8.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/24/34/9f732b76456d64faffbef6232f1f9dbec7a7c4999ff46282fa418bd1af66/pytest_benchmark-5.2.3.tar.gz", hash = "sha256:deb7317998a23c650fd4ff76e1230066a76cb45dcece0aca5607143c619e7779", size = 341340, upload-time = "2025-11-09T18:48:43.215Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/33/29/e756e715a48959f1c0045342088d7ca9762a2f509b945f362a316e9412b7/pytest_benchmark-5.2.3-py3-none-any.whl", hash = "sha256:bc839726ad20e99aaa0d11a127445457b4219bdb9e80a1afc4b51da7f96b0803", size = 45255, upload-time = "2025-11-09T18:48:39.765Z" }, +] + +[[package]] +name = "pytest-benchmark" +version = "5.3.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.14' and platform_machine == 'ARM64' and sys_platform == 'win32'", + "python_full_version >= '3.14' and platform_machine != 'ARM64' and sys_platform == 'win32'", + "python_full_version >= '3.14' and sys_platform == 'emscripten'", + "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.12' and python_full_version < '3.14' and platform_machine == 'ARM64' and sys_platform == 'win32'", + "python_full_version >= '3.12' and python_full_version < '3.14' and platform_machine != 'ARM64' and sys_platform == 'win32'", + "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", + "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.11.*' and platform_machine == 'ARM64' and sys_platform == 'win32'", + "python_full_version == '3.11.*' and platform_machine != 'ARM64' and sys_platform == 'win32'", + "python_full_version == '3.11.*' and sys_platform == 'emscripten'", + "python_full_version == '3.11.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.10.*' and platform_machine == 'ARM64' and sys_platform == 'win32'", + "(python_full_version == '3.10.*' and platform_machine != 'ARM64') or (python_full_version == '3.10.*' and sys_platform != 'win32')", +] +dependencies = [ + { name = "py-cpuinfo2", marker = "python_full_version >= '3.10'" }, + { name = "pytest", version = "9.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/13/d1/1bc61155de46f25473a06476ad1b3a94f96d40d49cfa98f82c1184117808/pytest_benchmark-5.3.1.tar.gz", hash = "sha256:c1ee70a58f9bfb1ac955cc634247a340b0df7bcb949071cfca396f16c6fc3516", size = 385467, upload-time = "2026-11-01T03:32:10.048Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/75/919ac85ad3f762e45aa369d2f68d40390e316474b6bb8434aeb6e3c8bf8b/pytest_benchmark-5.3.1-py3-none-any.whl", hash = "sha256:d7732a9952b1c4a4a32277adc693739126eab37afc3a711847f53805ccadc020", size = 49142, upload-time = "2026-11-01T03:32:08.359Z" }, +] + [[package]] name = "python-dateutil" version = "2.9.0.post0"