diff --git a/docs/reference/model_and_regime.md b/docs/reference/model_and_regime.md index a5dbe6709..b28e3d14b 100644 --- a/docs/reference/model_and_regime.md +++ b/docs/reference/model_and_regime.md @@ -49,6 +49,12 @@ defined at model or regime level, never both. A regime-level `None` masks a broa entry. Broadcast variables unused by every root computation in both phases are pruned; inspect `model.pruned_variables`. +`output_only_functions=(...)` names functions kept solely for simulation reporting. +Declare a name on the model or on a regime, never both. Model-level names apply to each +regime defining them. Missing names, declarations of already-read functions, and unread +functions without a declaration raise at build. See +[Output-only functions](../user_guide/defining_models.md#output-only-functions). + `koopmans_aggregator` and `certainty_equivalent` are single broadcast values. Declare each at model level or in every non-terminal regime, not a mixture. `fixed_params` binds parameters when the model is built. Simulation takes its population from each call's @@ -205,19 +211,20 @@ provided. A general regime declares: -| Field | Contract | -| ---------------------- | ----------------------------------------------------------------------------- | -| `states` / `actions` | Name-to-grid mappings | -| `functions` | Named DAG functions; a finalized regime needs utility | -| `constraints` | Ordinary predicates or structured `Condition` objects | -| `state_transitions` | Ordinary target-state producers for cells not supplied by `joint_transitions` | -| `joint_transitions` | Target-local shared-draw laws that jointly produce one or more next states | -| `derived_categoricals` | Discrete grids for categorical DAG outputs | -| `solver` | `lcm.solvers.GridSearch()` by default | -| `taste_shocks` | Optional EV1 taste-shock configuration | -| `koopmans_aggregator` | Optional regime-level continuation aggregator, `Phased` or `Decoupled` | -| `certainty_equivalent` | Optional regime-level lottery reduction | -| `description` | Human-readable description | +| Field | Contract | +| ----------------------- | ----------------------------------------------------------------------------- | +| `states` / `actions` | Name-to-grid mappings | +| `functions` | Named DAG functions; a finalized regime needs utility | +| `output_only_functions` | Tuple of unread function names retained for simulation reporting | +| `constraints` | Ordinary predicates or structured `Condition` objects | +| `state_transitions` | Ordinary target-state producers for cells not supplied by `joint_transitions` | +| `joint_transitions` | Target-local shared-draw laws that jointly produce one or more next states | +| `derived_categoricals` | Discrete grids for categorical DAG outputs | +| `solver` | `lcm.solvers.GridSearch()` by default | +| `taste_shocks` | Optional EV1 taste-shock configuration | +| `koopmans_aggregator` | Optional regime-level continuation aggregator, `Phased` or `Decoupled` | +| `certainty_equivalent` | Optional regime-level lottery reduction | +| `description` | Human-readable description | Use `Regime.replace(...)` to derive a modified immutable declaration. diff --git a/docs/user_guide/defining_models.md b/docs/user_guide/defining_models.md index 9ab99006c..8f59b65ed 100644 --- a/docs/user_guide/defining_models.md +++ b/docs/user_guide/defining_models.md @@ -105,6 +105,37 @@ absent from a non-terminal regime as readily as from a terminal one, and the pla moves the values that cross between the two placements. Only a state every regime prunes is an error, because then no axis is left to spread. +## Output-only functions + +Every registered function must be read by another model computation, read by the engine +in a solver role, or declared for reporting: + +```python +working = Regime( + functions={"utility": utility, "gross_income": gross_income}, + output_only_functions=("gross_income",), + # States, actions and transitions as required by the model. +) +``` + +Use `output_only_functions=("gross_income",)` on `Model` instead when the same +declaration should apply to every regime that defines that function. Declare each name +at exactly one level. A name declared at both levels, a regime-level name missing from +that regime, or a model-level name missing from every regime raises at model build. A +function the model already reads needs no declaration; declaring it as output-only +raises too. + +An unread registration raises `RegimeInitializationError` identifying its regime and +function. Remove dead registrations. When sharing a function dictionary across regimes, +pick the entries each regime reads instead of registering unused helpers. + +Output-only functions may have runtime parameters: supply them through `params` just +like any other function's arguments. Omitting a required value raises +`Missing required parameter(s)` at solve. After simulation, +`result.to_dataframe(additional_targets=["gross_income"])` selects the report. +`additional_targets` also accepts functions the model reads, without declaring them as +output-only, and `"all"` selects all available targets. + ## Regime ID Classes The `regime_id_class` maps regime names to integer indices. Use the `@categorical` diff --git a/docs/user_guide/parameters.md b/docs/user_guide/parameters.md index 62a87992b..4b72060d3 100644 --- a/docs/user_guide/parameters.md +++ b/docs/user_guide/parameters.md @@ -24,6 +24,13 @@ declared in `Model(edges=...)` sit under one more root, `"edges"`; see [Edge parameters](#edge-parameters). Use the template as a starting point to see what values you need to provide. +Inspect the template, then write each parameter value deliberately. Filling every entry +with a blanket default can hide a misspelled argument: an unresolved name is still a +runtime parameter. When a name resembles a state, action or function in its regime, the +displayed entry includes a hint, for example +`"consumptioz": "FloatND [close to action 'consumption'; typo?]"`. These hints do not +change parameter resolution or emit a warning at model build. + For profiles indexed by age or period, use explicit temporal declarations and labelled values; see [Periods and temporal parameters](period_time.md#temporal-parameters). @@ -215,6 +222,11 @@ pylcm inspects function signatures and classifies each argument: - **Special names** (`continuation_value`) — not a parameter - **Everything else** — a parameter (must appear in the params dict) +Functions retained only for reporting use the same parameter rules. Declare them with +`output_only_functions=` on the model or regime; their unresolved arguments appear in +this template and must be supplied even when solving without reporting those functions. +See [Output-only functions](defining_models.md#output-only-functions). + ## See Also - [Defining Models](defining_models.md) — the `Model` constructor and `fixed_params` diff --git a/docs/user_guide/solving_and_simulating.md b/docs/user_guide/solving_and_simulating.md index ee2ebfee9..5bfed0111 100644 --- a/docs/user_guide/solving_and_simulating.md +++ b/docs/user_guide/solving_and_simulating.md @@ -480,6 +480,11 @@ collective. ### Additional targets +Functions used solely for reporting must be registered with `output_only_functions=` +when building the model or regime. Functions already read by the model are available +without that declaration. See +[Output-only functions](defining_models.md#output-only-functions). + Compute functions and constraints alongside the standard output: ```python diff --git a/pixi.lock b/pixi.lock index efd4ed23f..0019a3fff 100644 --- a/pixi.lock +++ b/pixi.lock @@ -329,7 +329,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/websocket-client-1.9.2-pyh5ded981_1.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.1-pyh5ded981_0.conda - pypi: ./ - - pypi: git+https://github.com/OpenSourceEconomics/aca-model.git?rev=4862f6f84df1a384e66c416820c8c840d136da4b#4862f6f84df1a384e66c416820c8c840d136da4b + - pypi: git+https://github.com/OpenSourceEconomics/aca-model.git?rev=bfcbbc3fc2be736a7ff2e976f12e14a70e60001d#bfcbbc3fc2be736a7ff2e976f12e14a70e60001d - pypi: https://files.pythonhosted.org/packages/02/14/fcae3681051de6f109c85a9199220e4f4aafa4698acbe131084e56f790e9/jax_cuda12_plugin-0.11.2-cp314-cp314-manylinux_2_27_x86_64.whl - pypi: https://files.pythonhosted.org/packages/12/46/b0fd4b04f86577921feb97d8e2cf028afe04f614d17fb5013de9282c9216/nvidia_cusparse_cu12-12.5.10.65-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl - pypi: https://files.pythonhosted.org/packages/18/2a/d4cd8506d2044e082f8cd921be57392e6a9b5ccd3ffdf050362430a3d5d5/nvidia_cuda_cccl_cu12-12.9.27-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl @@ -26278,9 +26278,9 @@ packages: - pyarrow - xarray>=2026.1 requires_python: '>=3.14' -- pypi: git+https://github.com/OpenSourceEconomics/aca-model.git?rev=4862f6f84df1a384e66c416820c8c840d136da4b#4862f6f84df1a384e66c416820c8c840d136da4b +- pypi: git+https://github.com/OpenSourceEconomics/aca-model.git?rev=bfcbbc3fc2be736a7ff2e976f12e14a70e60001d#bfcbbc3fc2be736a7ff2e976f12e14a70e60001d name: aca-model - version: 0.1.dev203+g4862f6f84 + version: 0.1.dev204+gbfcbbc3fc requires_dist: - attrs - beartype diff --git a/pyproject.toml b/pyproject.toml index 2bfa304f3..174d89a61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,7 +148,7 @@ grid-search-pair = "python -m benchmarks.grid_search_pair" [tool.pixi.feature.benchmarks.pypi-dependencies] # ACA benchmark uses folded health-cost shocks and additive asset transitions. # Keep an exact revision so benchmark model construction is reproducible. -aca-model = { git = "https://github.com/OpenSourceEconomics/aca-model.git", rev = "4862f6f84df1a384e66c416820c8c840d136da4b" } +aca-model = { git = "https://github.com/OpenSourceEconomics/aca-model.git", rev = "bfcbbc3fc2be736a7ff2e976f12e14a70e60001d" } [tool.pixi.feature.cuda12] platforms = [ "linux-64-cuda12" ] [tool.pixi.feature.cuda12.target.linux-64.dependencies] diff --git a/src/_lcm/model_processing.py b/src/_lcm/model_processing.py index 4e7141aaf..b70abc740 100644 --- a/src/_lcm/model_processing.py +++ b/src/_lcm/model_processing.py @@ -33,6 +33,7 @@ create_params_template, materialize_granular_transition_params, ) +from _lcm.params.regime_template import iter_transition_callables from _lcm.params.sequence_leaf import SequenceLeaf from _lcm.processes.base import _ContinuousStochasticProcess from _lcm.reachability import PhaseName @@ -43,6 +44,7 @@ from _lcm.regime_building.age_specialization import resolve_node from _lcm.regime_building.broadcast import ( compute_kept_variables, + engine_function_names, root_functions, states_read_through_their_draw, ) @@ -80,11 +82,15 @@ ) from _lcm.utils.error_messages import format_messages, path_segment_name_errors from _lcm.utils.functools import is_user_function -from lcm.exceptions import InvalidParamsError, ModelInitializationError +from lcm.exceptions import ( + InvalidParamsError, + ModelInitializationError, + RegimeInitializationError, +) from lcm.params import MappingLeaf from lcm.phased import Phased from lcm.regime import Regime as UserRegime -from lcm.transition import JointTransition, Transition +from lcm.transition import AgeSpecializedFunction, JointTransition, Transition from lcm.typing import Phase, UserFunction, UserParams @@ -355,6 +361,13 @@ def validate_model_inputs( removed_edge_reads: Mapping[ RegimeName, Mapping[str, tuple[RegimeName, ...]] ] = MappingProxyType({}), + declared_function_regimes: Mapping[RegimeName, UserRegime] | None = None, + generated_function_names: Mapping[ + RegimeName, frozenset[FunctionName] + ] = MappingProxyType({}), + declared_transitions: Mapping[ + RegimeName, tuple[Transition, ...] + ] = MappingProxyType({}), ) -> None: """Validate model constructor inputs. @@ -423,6 +436,17 @@ def validate_model_inputs( ) ) + _validate_function_usage( + user_regimes=solver_validation_regimes, + declared_regimes=declared_function_regimes or solver_validation_regimes, + generated_function_names=generated_function_names, + laws=laws, + declared_transitions=declared_transitions, + ages=ages, + active_periods_by_regime=active_periods_by_regime, + visited_periods_by_regime=visited_periods_by_regime, + ) + error_messages = list( _reserved_age_errors( user_regimes=solver_validation_regimes, laws=laws, ages=ages @@ -485,6 +509,123 @@ def validate_model_inputs( raise ModelInitializationError(msg) +def _validate_function_usage( + *, + user_regimes: Mapping[RegimeName, UserRegime], + declared_regimes: Mapping[RegimeName, UserRegime], + generated_function_names: Mapping[RegimeName, frozenset[FunctionName]], + laws: RegimeLaws, + declared_transitions: Mapping[RegimeName, tuple[Transition, ...]], + ages: TimeAxis, + active_periods_by_regime: Mapping[RegimeName, tuple[int, ...]], + visited_periods_by_regime: Mapping[RegimeName, tuple[int, ...]] | None, +) -> None: + """Require every declared function to be read or retained for reporting. + + Reads include other functions, even reporting functions, and every declared + edge law before horizon-dependent lowering removes dormant cases. + """ + reads = _declared_edge_function_reads( + regime_names=tuple(user_regimes), declared_transitions=declared_transitions + ) + + errors: list[str] = [] + for name, regime in user_regimes.items(): + declared = declared_regimes[name] + # Retain declared phase variants without restoring pruned broadcast states; + # finalization contributes generated case and resource producers. + complete = declared.replace( + states={ + state_name: declared.states.get(state_name, state) + for state_name, state in regime.states.items() + }, + functions={**regime.functions, **declared.functions}, + ) + direct = reads[name] + direct.update(engine_function_names(regime)) + direct.update(regime.decomposed_constraints) + direct.update(regime.value_constraints) + direct.update(regime.derived_categoricals) + direct.add("utility") + direct.update( + ("utility",) + if regime.stakeholders is None + else tuple(f"utility_{stakeholder}" for stakeholder in regime.stakeholders) + ) + for phase in ("solve", "simulate"): + functions = dict(complete.get_all_functions(phase=phase, law=laws[name])) + functions |= { + key: constraint.as_function(pool=functions) + for key, constraint in normalize_constraints( + constraints=cast( + "Mapping[FunctionName, ConstraintLike]", + complete.decomposed_constraints, + ) + ).items() + } + roots = root_functions( + regime_name=name, regime=regime, laws=laws, phase=phase + ) + functions |= { + key: func + for key, func in roots.items() + if not key.startswith("__output_only__") + } + periods = active_periods_by_regime.get(name, ()) + if phase == "simulate" and visited_periods_by_regime is not None: + periods = visited_periods_by_regime.get(name, ()) + coordinate = specialization_coordinate_at( + ages=ages, period=(periods or (0,))[0] + ) + for func in functions.values(): + if not periods and isinstance(func, AgeSpecializedFunction): + continue + if callable(func): + direct.update( + inspect.signature( + resolve_node(node=func, age=coordinate) + ).parameters + ) + + outputs = set(regime.output_only_functions) + read_outputs = sorted(outputs & direct) + if read_outputs: + errors.append( + f"Regime '{name}' reads {read_outputs}; remove those names from " + "output_only_functions=." + ) + # Fixed-component reconstruction nodes are lowerer-owned, rather than + # declared helpers. A pruned broadcast state can leave one without reads. + unread = sorted( + set(regime.decomposed_functions) + - direct + - outputs + - generated_function_names.get(name, frozenset()) + ) + if unread: + errors.append( + f"Regime '{name}' has unread functions {unread}. Remove them, or " + "declare them in output_only_functions=." + ) + if errors: + raise RegimeInitializationError(format_messages(errors)) + + +def _declared_edge_function_reads( + *, + regime_names: tuple[RegimeName, ...], + declared_transitions: Mapping[RegimeName, tuple[Transition, ...]], +) -> dict[RegimeName, set[FunctionName]]: + """Collect reads where each declared edge callable is evaluated.""" + reads: dict[RegimeName, set[FunctionName]] = {name: set() for name in regime_names} + for source, declarations in declared_transitions.items(): + for declaration in declarations: + for path, func, gate in iter_transition_callables(declaration): + owner = source if gate is None else path[0] + reads[owner].update(inspect.signature(func).parameters) + return reads + + def _reserved_age_errors( *, user_regimes: Mapping[RegimeName, UserRegime], laws: RegimeLaws, ages: TimeAxis ) -> tuple[str, ...]: diff --git a/src/_lcm/regime_building/broadcast.py b/src/_lcm/regime_building/broadcast.py index 46f446a62..c0c70c880 100644 --- a/src/_lcm/regime_building/broadcast.py +++ b/src/_lcm/regime_building/broadcast.py @@ -63,9 +63,14 @@ StateOrActionName, ) from _lcm.utils.error_messages import format_messages +from lcm.branch_aggregation import UniformObservedFixedCost from lcm.collective import CollectiveUtility -from lcm.consumption_savings_regime import NetOfAdjustmentCost -from lcm.exceptions import ModelInitializationError +from lcm.consumption_savings_regime import ( + NestedConsumptionSavingsRegime, + NetOfAdjustmentCost, + _EGMFamilyRegime, +) +from lcm.exceptions import ModelInitializationError, RegimeInitializationError from lcm.phased import Phased from lcm.regime import ( ActionEntry, @@ -75,6 +80,7 @@ StateTransitionEntry, ) from lcm.regime import Regime as UserRegime +from lcm.solvers import OneMarginSolver, TwoMarginSolver from lcm.transition import ( AgeSpecializedFunction, JointTransition, @@ -108,6 +114,7 @@ def merge_model_slots( user_regimes: Mapping[RegimeName, UserRegime], laws: RegimeLaws, model_slots: ModelSlots, + output_only_functions: tuple[FunctionName, ...] = (), ) -> tuple[ MappingProxyType[RegimeName, UserRegime], MappingProxyType[RegimeName, frozenset[StateOrActionName]], @@ -120,6 +127,7 @@ def merge_model_slots( laws: Each regime's law, which says whether it is terminal. model_slots: Mapping of slot names (`functions`, `constraints`, `states`, `state_transitions`, `actions`) to model-level entries. + output_only_functions: Reporting targets declared at model level. Returns: Tuple of the merged regimes and, per regime, the names of broadcast @@ -133,6 +141,7 @@ def merge_model_slots( errors: list[str] = [] merged_regimes: dict[RegimeName, UserRegime] = {} broadcast_variables: dict[RegimeName, frozenset[StateOrActionName]] = {} + resolved_outputs: set[FunctionName] = set() for regime_name, user_regime in user_regimes.items(): household = _names_the_household_writes(user_regime=user_regime) @@ -207,6 +216,26 @@ def merge_model_slots( ) ) if not errors: + defined = set(functions) | set(constraints) + duplicate = set(output_only_functions) & set( + user_regime.output_only_functions + ) + if duplicate: + raise ModelInitializationError( + f"Ambiguous output_only_functions {sorted(duplicate)} in regime " + f"'{regime_name}': declared at model level and regime level. " + "Remove one." + ) + missing = set(user_regime.output_only_functions) - defined + if missing: + raise RegimeInitializationError( + f"Regime '{regime_name}' does not define output_only_functions " + f"{sorted(missing)}." + ) + broadcast_outputs = tuple( + name for name in output_only_functions if name in defined + ) + resolved_outputs.update(broadcast_outputs) # A joint process may arrive from the model level, so the engine # form is taken after the merge. merged = user_regime.replace( @@ -215,6 +244,10 @@ def merge_model_slots( states=states, state_transitions=state_transitions, actions=actions, + output_only_functions=( + *user_regime.output_only_functions, + *broadcast_outputs, + ), ).lower_joint_normal_processes() merged_regimes[regime_name] = merged broadcast_variables[regime_name] = frozenset( @@ -227,6 +260,12 @@ def merge_model_slots( if errors: raise ModelInitializationError(format_messages(errors)) + missing_outputs = set(output_only_functions) - resolved_outputs + if missing_outputs: + raise ModelInitializationError( + f"Model output_only_functions {sorted(missing_outputs)} are not defined " + "by any regime." + ) return MappingProxyType(merged_regimes), MappingProxyType(broadcast_variables) @@ -705,6 +744,21 @@ def root_functions( ) +def engine_function_names(regime: UserRegime) -> frozenset[FunctionName]: + """Name the DAG targets the regime's solver consumes directly.""" + if not isinstance(regime.solver, OneMarginSolver | TwoMarginSolver): + return frozenset() + names = {"inverse_marginal_utility"} + if isinstance(regime, _EGMFamilyRegime): + names |= {regime.liquid.resources_name, regime.liquid.post_decision_state} + if isinstance(regime, NestedConsumptionSavingsRegime): + outer = regime.outer_continuous + names |= {outer.post_decision_state, outer.no_adjustment} + if isinstance(outer.adjustment_cost, UniformObservedFixedCost): + names.add(outer.adjustment_cost.scale_function) + return frozenset(names & regime.decomposed_functions.keys()) + + def _valuation_roots( *, regime: UserRegime, @@ -732,6 +786,11 @@ def _valuation_roots( for name in regime.derived_categoricals if name in functions } + roots |= { + f"__output_only__{name}": functions[name] + for name in regime.output_only_functions + if name in functions + } roots |= { f"__constraint__{name}": cast( "UserFunction", _for_phase(value=value, phase=phase) diff --git a/src/_lcm/solution/fingerprint.py b/src/_lcm/solution/fingerprint.py index 68163819f..f3f0d6563 100644 --- a/src/_lcm/solution/fingerprint.py +++ b/src/_lcm/solution/fingerprint.py @@ -923,6 +923,9 @@ def _project_user_regime_declaration( ) for name, value in all_fields if name != "description" + # An empty reporting declaration adds no semantic facts to + # the pre-existing feature-free model identity. + and not (name == "output_only_functions" and value == ()) } ), } diff --git a/src/lcm/model.py b/src/lcm/model.py index 54d168af1..b0038cc52 100644 --- a/src/lcm/model.py +++ b/src/lcm/model.py @@ -9,6 +9,7 @@ import uuid from collections import OrderedDict from collections.abc import Callable, Iterator, Mapping +from difflib import SequenceMatcher from pathlib import Path from types import MappingProxyType from typing import ( @@ -403,6 +404,7 @@ IntND, Phase, PRNGKey, + ReferenceName, UserFacingParamsTemplate, UserFunction, UserInitialConditions, @@ -413,6 +415,8 @@ _UserFacingTemplateNode, ) +_PARAM_NAME_SIMILARITY_THRESHOLD = 0.8 + if TYPE_CHECKING: type _SolutionResultBoundary = SolutionResult type _ArtifactStoreBoundary = ArtifactStore @@ -504,6 +508,9 @@ class _PickledModel(TypedDict): reachability: ModelReachability _graph: ModelGraph _params_template: ParamsTemplate + _param_name_candidates: NotRequired[ + MappingProxyType[RegimeName, MappingProxyType[ReferenceName, str]] + ] _regimes: MappingProxyType[RegimeName, Regime] stakeholder_names_to_ids: MappingProxyType[str, int] enable_jit: bool @@ -752,6 +759,11 @@ def graph(self) -> ModelGraph: _params_template: ParamsTemplate """Template for the model parameters.""" + _param_name_candidates: MappingProxyType[ + RegimeName, MappingProxyType[ReferenceName, str] + ] + """Declared names and their categories, retained before variable pruning.""" + _transition_only_shock_names: frozenset[str] """Folded IID shocks no regime reads within its period. @@ -819,6 +831,7 @@ def __init__( # noqa: PLR0915 ), functions: Mapping[FunctionName, FunctionEntry] = MappingProxyType({}), constraints: Mapping[FunctionName, ConstraintEntry] = MappingProxyType({}), + output_only_functions: tuple[FunctionName, ...] = (), states: Mapping[StateName, StateEntry] = MappingProxyType({}), state_transitions: Mapping[StateName, StateTransitionEntry] = MappingProxyType( {} @@ -874,6 +887,9 @@ def __init__( # noqa: PLR0915 or regime level, never both; a regime-level `None` masks the model entry). constraints: Model-level constraints; same merge rule. + output_only_functions: Functions retained solely for simulation + reporting, in every regime that defines the name. Declare a + name on the model or on its regime, never both. states: Model-level states; same merge rule. Broadcast states are pruned per regime by DAG reachability (see `pruned_variables`). Only states declared here may be named in @@ -922,6 +938,7 @@ def __init__( # noqa: PLR0915 derived_categoricals=derived_categoricals, functions=functions, constraints=constraints, + output_only_functions=output_only_functions, states=states, state_transitions=state_transitions, actions=actions, @@ -1034,7 +1051,10 @@ def __init__( # noqa: PLR0915 user_regimes=regimes, laws=laws, model_slots=model_slots, + output_only_functions=output_only_functions, ) + declared_function_regimes = merged_regimes + self._param_name_candidates = _get_param_name_candidates(merged_regimes) validate_time_declarations(regimes=merged_regimes, laws=laws, ages=self._time) validate_regimes(regimes=merged_regimes, laws=laws) # What each regime declares before demand prunes any: a declared law @@ -1170,6 +1190,16 @@ def __init__( # noqa: PLR0915 targets_by_phase=schedules.targets_by_phase, visited_periods_by_regime=schedules.visited_periods_by_regime, removed_edge_reads=prepared_graph.removed_edge_reads, + declared_function_regimes=declared_function_regimes, + generated_function_names={ + regime_name: frozenset( + name + for name, split in self._fixed_component_splits.items() + if regime_name in split.grids + ) + for regime_name in self.user_regimes + }, + declared_transitions=self._declared_transitions, ) # A validated category class lists its codes 0, 1, ... in field order. self.regime_names_to_ids = get_category_codes(regime_id_class) @@ -1490,6 +1520,7 @@ def __getstate__(self) -> _PickledModel: reachability=self.reachability, _graph=self._graph, _params_template=self._params_template, + _param_name_candidates=self._param_name_candidates, _regimes=self._regimes, stakeholder_names_to_ids=self.stakeholder_names_to_ids, enable_jit=self.enable_jit, @@ -1514,6 +1545,9 @@ def __setstate__(self, state: _PickledModel) -> None: Resealing records the bindings read by this process's copies of the callables. """ self.__dict__.update(state) + self._param_name_candidates = state.get( + "_param_name_candidates", _get_param_name_candidates(self.user_regimes) + ) self._transition_only_shock_names = state.get( "_transition_only_shock_names", frozenset() ) @@ -1655,13 +1689,31 @@ def get_params_template(self) -> UserFacingParamsTemplate: caller may fill in. """ - return { + template = { regime_name: { name: {arg: _readable_template(node) for arg, node in branch.items()} for name, branch in regime_template.items() } for regime_name, regime_template in self._params_template.items() } + finalized_candidates = _get_param_name_candidates(self.user_regimes) + for regime_name, regime in self.user_regimes.items(): + for name, branch in template[regime_name].items(): + state = regime.states.get(name) + is_imputation = isinstance(state, Phased) and callable(state.solve) + if is_imputation or name not in { + *regime.states, + *regime.actions, + "taste_shocks", + }: + _note_near_miss_params( + template=branch, + candidates=( + self._param_name_candidates[regime_name] + | finalized_candidates[regime_name] + ), + ) + return template @beartype(conf=PARAMS_CONF) def _compile_period_cores( @@ -5502,6 +5554,64 @@ def _readable_template(node: RegimeParamsTemplateNode) -> _UserFacingTemplateNod return {key: _readable_template(inner) for key, inner in node.items()} +def _note_near_miss_params( + *, + template: dict[str, _UserFacingTemplateNode], + candidates: Mapping[ReferenceName, str], +) -> None: + """Note arguments close to a regime's vocabulary in the display template.""" + for arg_name, node in template.items(): + if isinstance(node, dict): + _note_near_miss_params(template=node, candidates=candidates) + continue + closest = max( + candidates, + key=lambda name: SequenceMatcher(None, arg_name, name).ratio(), + default=None, + ) + if ( + closest is not None + and SequenceMatcher(None, arg_name, closest).ratio() + >= _PARAM_NAME_SIMILARITY_THRESHOLD + ): + template[arg_name] = ( + f"{node} [close to {candidates[closest]} {closest!r}; typo?]" + ) + + +def _get_param_name_candidates( + regimes: Mapping[RegimeName, UserRegime], +) -> MappingProxyType[RegimeName, MappingProxyType[ReferenceName, str]]: + """Keep each regime's declared state, action and callable names for typo notes.""" + return MappingProxyType( + { + regime_name: MappingProxyType( + { + **{ + name: "state" + for name, state in regime.states.items() + if state is not None + }, + **{ + name: "action" + for name, action in regime.actions.items() + if action is not None + }, + **{ + name: "function" + for name, func in { + **regime.decomposed_functions, + **regime.decomposed_constraints, + }.items() + if func is not None + }, + } + ) + for regime_name, regime in regimes.items() + } + ) + + def _validate_sharded_state_capability( *, user_regimes: MappingProxyType[RegimeName, FinalizedUserRegime], diff --git a/src/lcm/regime.py b/src/lcm/regime.py index 9d8f25982..dafbbc049 100644 --- a/src/lcm/regime.py +++ b/src/lcm/regime.py @@ -88,6 +88,7 @@ class _SlotsBesideFunctions(TypedDict, total=False): joint_transitions: Mapping[RegimeName, Mapping[str, JointTransition | Phased]] actions: Mapping[ActionName, ActionEntry] constraints: Mapping[FunctionName, ConstraintEntry] + output_only_functions: tuple[FunctionName, ...] derived_categoricals: Mapping[FunctionName, DiscreteGrid] solver: _solvers.Solver taste_shocks: ExtremeValueTasteShocks | None @@ -222,6 +223,13 @@ class Regime: computed for, so `Phased` is rejected here. """ + output_only_functions: tuple[FunctionName, ...] = () + """Functions retained solely for reporting after simulation. + + Declare each name on the model or on this regime. A function read by the + model needs no declaration and cannot be named here. + """ + derived_categoricals: Mapping[FunctionName, DiscreteGrid] = field( default_factory=lambda: MappingProxyType({}) ) diff --git a/tests/candidate_certificate/direct_flow.py b/tests/candidate_certificate/direct_flow.py index 4d0c7c418..419e05157 100755 --- a/tests/candidate_certificate/direct_flow.py +++ b/tests/candidate_certificate/direct_flow.py @@ -607,7 +607,7 @@ POST_DECISION_BOUND_SOURCE: "4ff8b8c7b64be2395c821acb5f328765c7a9ac2c5198fd0b2be3960227837f6c", BOUND_PROOF_SOURCE: "e2d2d2ae850a3c4c91f7b094a6f603dbd77aa9f6e202d17ec4ab0af512fd1c35", BOUND_NORMALIZATION_SOURCE: "55f0e24bed63303ed9338798a876b6ad4a4b287b174d9513c2065fede183d495", - USER_REGIME_BOUND_SOURCE: "33fe95ed28143f9deedc098f7fdd9931dd80dd1fe5865504a4329f553f63b662", + USER_REGIME_BOUND_SOURCE: "f427974f45cccb642d76f4fe79d33eab48022436467d641504b3a0aa6eadde1c", LIQUID_BOUND_DECLARATION_SOURCE: "16118c29929f206f05925d88688edbc447f31c3a7aae1e73f022570e981ab886", FEASIBILITY_SOURCE: "35a04ee4c4dcdc81886c2ea3c95a429a3ca3f0b8c7aa2066446798e716364b3b", ACTION_GRID_SOURCE: "76a059f7cc7d7e7d2a99e0ffd626ddbd76b89724d5e24f3bb10ad86501268309", @@ -615,7 +615,7 @@ SUPPORT_DIAGNOSTICS_SOURCE: "477761e6556a83fd2e271e4ab6c258cf4799d62d10d3a2d46dbf31f69b7161d8", SUPPORT_PRECONDITIONS_SOURCE: "52c97f5f2f6e9e3b6a7ac7215181874cef52948f613f59c270ef9638a51493ac", SUPPORT_AUTHORITY_SOURCE: "d6ca19e5d2f00b959116ab78cb7211bd3f8359d71402461b6f74dc66ec344a66", - SUPPORT_FINGERPRINT_SOURCE: "4054ab6292f0e7ab525a6c02a2885258ae3a8f6a9316f7d3353f96123f2b7933", + SUPPORT_FINGERPRINT_SOURCE: "162453f576383a89714c0cbe90a9d132f8e56ee20d927d17f7e0ec8789e8508a", UNIFORM_PROCESS_GRID_SOURCE: "835673768193d0282fb78d8a1223557d6ca087ea0b4bf7b1c58f5e4b903629a0", PROCESS_GRID_RESOLUTION_SOURCE: "c9eb81f9442d7628793d6ad905b2e96e4655e9eb48bf3de32f636541b985269f", NATIVE_VALUES_SOURCE: "4e7302d6cacb53a20f6a0a08e7f57d6e074dedddd8f6a95944a9ed1ed4df7bda", @@ -698,7 +698,7 @@ SIMULATION_SOURCE: "04e4f711800d2c8cb540409a5f3d164eb9785d6c46f6fd6789c4b6bc18ee907d", SIMULATION_TRANSITIONS_SOURCE: "f715df0ca088ae0568df8bb1ba46550edac41febdae48939b1616cc508f2792c", SIMULATION_COMPILE_SOURCE: "2c54bd385d0205897bebd42c6b63d55eb0896a04e208786f4e0028b20e81074d", - MODEL_SOURCE: "e35af0c3613a24c3ee0ca322679a1a523e48aa437bac72291733955384bfb78c", + MODEL_SOURCE: "9b5381fbbe567b1414676b5941bae93cab8617d83b101f53689f4b04697be549", SOLVER_API_SOURCE: "bc9e7cd94009998acfc1f11d8da823475030879790a49f8192e1260012496c96", BACKWARD_INDUCTION_SOURCE: "9e2e8a3844c9bcc94f88978095011715c620b9e4e75061479b8f2ba066c9604a", PERIOD_REPLAY_SOURCE: "ce332a3cf77a3d6c2344298b65234263006025de9d21b120d00941f7549f9965", @@ -726,7 +726,7 @@ DTYPES_SOURCE: "1d38a54667166599fd692f8c58b37741f355753138d234b650c54384321bcbb2", NAMESPACE_SOURCE: "9a33080663f01a6d65501663e8436b132176be51c8223c28b2e749d8dbf8b570", PANDAS_UTILS_SOURCE: "c49e3df2c076ad1c74e3c13f881bae3fcdce513777e260d6e57e545f98334769", - MODEL_PROCESSING_SOURCE: "8281a5df9cbb434c54aaf482571fef76a1e9bdf82821a04fa977fda46fa1d935", + MODEL_PROCESSING_SOURCE: "a161bc1d7f07906e2ce3d551d57f586d0c710fbbc9b95af7f7a3edb79be60c8a", "src/_lcm/egm/upper_envelope/__init__.py": "79fbbac531b6be0fd6d5b88236f9b56011b8300975bdef9941e24dfd8eea33c3", "src/_lcm/egm/upper_envelope/segment_envelope.py": "706b3f3c7c52c5de2b1553e34be7863653aa0cd14d834fd3b68d9533f7c1273c", "src/_lcm/egm/nested_floor.py": "8983b037774946af7a90aa106268659a69963e2d8f5dd4b55c6f5532dd2dbb72", @@ -925,7 +925,7 @@ }, ), USER_REGIME_BOUND_SOURCE: ( - "e6b65d9df42b74dbf634d749f502335d445e0159a69f7ad4e7858b9d9433ed40", + "c45860e9b45c9d66981245398088a445a0bad618c21dd05a7fbca2c85ece6e29", { "Regime.decomposed_functions": "14e9da26e8f480f3d41b5b1307a899bbf328aaa3bfc7241fe29177add000e4d5", "Regime.decomposed_constraints": "8f3528801f6043bb4c70eebc6f88e42a64b6e7c514721abc04350e0e45a79c97", @@ -1500,12 +1500,12 @@ }, ), MODEL_SOURCE: ( - "d43c49c38d321855b4732e1b3c4a229eb30e0aa2e8d819f8657de735f89bded6", + "f73f644c4e478df02dff89fbe77f9849e2359b8535d5b8295fa7e519ce0710b0", { "_validate_sharded_state_capability": "ee8b7e8a97fd413d2376a655558ea7b2a2ab61589a0ddd624ed44b69dfe5fa8d", "_supports_continuous_sharding_vocabulary": "1ce9646ee043fb623720d6367b531c860ab0020969a58ec62682784814843387", "_supports_unsharded_continuous_process": "d837bd4f6c97be377ae02dca1f2044e1eb9974c6e7e08bc48866bed0f6886b18", - "Model.__init__": "112bd9feebb4af7cd70e40b650d59ea860b9b9da271bcd479ac04981f938d368", + "Model.__init__": "72ee3f19533cd24d782b1ee007f4f73b027635f476be33d6e7565371289605ae", "Model.simulate": "7c20e0c114573ad2fe53566a0ead99413f8cfb0da018b69c5d62c4a8aea3582f", "Model._open_entry_allocations": "2d3a04ba171e7e79bb145481fb9859294a75004242c981ae32992f6121db017c", "Model._check_solution_result_structure": "3e2f19b7fae40cede786a1debce00175907dd9edf1f59c9ff17ebcf834637736", @@ -1999,9 +1999,9 @@ }, ), MODEL_PROCESSING_SOURCE: ( - "7190f44c9fe23f681c0c7af5f6ad264dbe0441e310b129e60c7886ed95580424", + "5ec069fc5e23ee67370504aaa0ac4ae86e05ae9935c1cd9260654b24131a87df", { - "validate_model_inputs": "397571fdde986054513e0246b80aa27fa43d19135f8884d7c2c10b423ed1e742", + "validate_model_inputs": "f6a79a3a9bc4c8fb0f372570ffb94cf881f2384846b04ea72788a72ea93797c9", "_validate_borrowing_bound_routes": "357b17ad43290dfac7c7cdb9b8dcd4817de1a1783c75b3877d9bfd39877d3c99", "_law_phase_varies": "9525a791fb3294f12a8f5e71906bbc2c1ea35cedfc4b885ebc27a7bdd47242f4", "_is_solve_proved_post_decision_lower_bound": "20eff9706986b1e34261ad846c3b8db55ef631514e5824563168b3bef97adc99", @@ -2040,7 +2040,7 @@ "_grid_support": "9709180334fc4732e2193f6b736667d6a96648f1346401a886bd7da0f41b65bf", "fingerprint_model_structure": "d115ad1c5706f2d06202de1694d568cda19e0eb3cf5a7892110265675c10e435", "_query_semantic_descriptor": "602544e2ed8bb315d1bd8a9425e486338810ba663c55197bebcfbe1e9eccac0d", - "_project_user_regime_declaration": "39cb855bdfaebf4b0e58c9c3727fe2b1921ee49f86e7d3e8226230acad377fbe", + "_project_user_regime_declaration": "a1a4d6c270c9aa8dafb0153527f20bd09e8be7382847cd3c8dec4b69beb97293", "_semantic_fingerprint": "75f98beb48082f6fda273258837d03a38221af56812f8d621163ebfdfdda893b", "_SemanticHasher.visit": "256905962cf037bbf8256b8bcba77a000dee579ba66795f8e496ff390f10140a", }, diff --git a/tests/candidate_certificate/sources.json b/tests/candidate_certificate/sources.json index 0a45aa51a..740440ec0 100644 --- a/tests/candidate_certificate/sources.json +++ b/tests/candidate_certificate/sources.json @@ -14,7 +14,7 @@ }, "generation_rule": "unique sorted literal _parse() call arguments in the certificate AST", "schema_version": "2", - "source_inventory_sha256": "18cdbfd685924020d10b5857c460a56040ad4c228ee58cedd45a084f4443578f", + "source_inventory_sha256": "0fdc34fb1a0b240a73d362b47c5c41c00b2b63fbe0bf266743ba2c962aeb9db5", "sources": [ { "path": "src/_lcm/constraints/bounds.py", @@ -258,7 +258,7 @@ }, { "path": "src/_lcm/model_processing.py", - "sha256": "8281a5df9cbb434c54aaf482571fef76a1e9bdf82821a04fa977fda46fa1d935" + "sha256": "a161bc1d7f07906e2ce3d551d57f586d0c710fbbc9b95af7f7a3edb79be60c8a" }, { "path": "src/_lcm/optimization/golden_section.py", @@ -562,7 +562,7 @@ }, { "path": "src/_lcm/solution/fingerprint.py", - "sha256": "4054ab6292f0e7ab525a6c02a2885258ae3a8f6a9316f7d3353f96123f2b7933" + "sha256": "162453f576383a89714c0cbe90a9d132f8e56ee20d927d17f7e0ec8789e8508a" }, { "path": "src/_lcm/solution/grid_search.py", @@ -690,11 +690,11 @@ }, { "path": "src/lcm/model.py", - "sha256": "e35af0c3613a24c3ee0ca322679a1a523e48aa437bac72291733955384bfb78c" + "sha256": "9b5381fbbe567b1414676b5941bae93cab8617d83b101f53689f4b04697be549" }, { "path": "src/lcm/regime.py", - "sha256": "33fe95ed28143f9deedc098f7fdd9931dd80dd1fe5865504a4329f553f63b662" + "sha256": "f427974f45cccb642d76f4fe79d33eab48022436467d641504b3a0aa6eadde1c" }, { "path": "src/lcm/result.py", diff --git a/tests/ci/ci-workloads.json b/tests/ci/ci-workloads.json index 2a8184fed..e7e71b2a6 100644 --- a/tests/ci/ci-workloads.json +++ b/tests/ci/ci-workloads.json @@ -1808,267 +1808,176 @@ "junit": "junit-cpu-fp64-Linux-general-1.xml", "files": [ "tests/candidate_certificate/test_repin_corridors.py", - "tests/ci/test_ci_workloads_guardrails.py", - "tests/ci/test_precise_annotations.py", - "tests/ci/test_superseded_gate.py", - "tests/ci/test_timing_population.py", + "tests/ci/test_mahler_execution.py", + "tests/ci/test_payload_types.py", + "tests/ci/test_probe_native.py", + "tests/ci/test_simulation_timing_workflow.py", + "tests/ci/test_workload_weights.py", + "tests/egm/test_axis_boundaries.py", + "tests/egm/test_branch_aggregation.py", "tests/egm/test_checked_continuation_engine.py", "tests/egm/test_dc_predicate_admission.py", "tests/egm/test_dynamic_dcegm_factor_classes.py", - "tests/egm/test_dynamic_dcegm_floor.py", - "tests/egm/test_dynamic_dcegm_node_status.py", - "tests/egm/test_dynamic_dcegm_query_authority.py", - "tests/egm/test_dynamic_envelope_provenance.py", - "tests/egm/test_finite_negm_owned_germ_transforms.py", - "tests/egm/test_finite_negm_paired_endpoint.py", + "tests/egm/test_dynamic_dcegm_material_passive_products.py", + "tests/egm/test_dynamic_dcegm_plain_periods.py", + "tests/egm/test_dynamic_dcegm_query.py", + "tests/egm/test_egm_savings_support_pytree.py", + "tests/egm/test_finite_negm_owned_germs.py", "tests/egm/test_finite_negm_public_mixed_corner_family.py", "tests/egm/test_finite_negm_query_trace_size.py", + "tests/egm/test_finite_negm_recovered_side_tie.py", + "tests/egm/test_finite_nnbegm_query.py", "tests/egm/test_finite_outer_signed_support.py", + "tests/egm/test_interval_block_winner_production_owner.py", + "tests/egm/test_interval_block_winner_reduction.py", "tests/egm/test_nbegm_associated_savings.py", "tests/egm/test_nbegm_conditional_query_producer.py", - "tests/egm/test_nbegm_kink_aware_interp.py", + "tests/egm/test_nbegm_counted_original_rows.py", "tests/egm/test_nbegm_metadata_collection.py", + "tests/egm/test_nbegm_routes.py", + "tests/egm/test_nbegm_segment_blocks.py", "tests/egm/test_nbegm_validation_primitives.py", + "tests/egm/test_nested_floor_operand.py", + "tests/egm/test_outer_bank_array_transport.py", "tests/egm/test_owned_conditional_row.py", "tests/egm/test_plain_literal_dc_resource_transport.py", - "tests/execution/test_abstract_core_program.py", - "tests/execution/test_axis_widths.py", + "tests/egm/test_scalar_continuation_read_counts.py", "tests/execution/test_bootstrap_tile_width.py", - "tests/execution/test_bounded_workspace_planning.py", - "tests/execution/test_candidate_residency.py", - "tests/execution/test_continuation_leaf_reads.py", + "tests/execution/test_core_plan_record.py", "tests/execution/test_covered_axes.py", - "tests/execution/test_device_memory_budget_resolution.py", - "tests/execution/test_eager_core.py", - "tests/execution/test_execution_config.py", + "tests/execution/test_donation.py", "tests/execution/test_fused_gather_width.py", + "tests/execution/test_hlo_negative_proof.py", + "tests/execution/test_internal_outputs.py", "tests/execution/test_pending_solve_failures.py", - "tests/execution/test_pending_solve_work.py", - "tests/execution/test_period_transfer_cache.py", - "tests/execution/test_scheduler.py", - "tests/params/test_edge_params.py", - "tests/params/test_gate_reads_on_the_target_domain.py", + "tests/execution/test_reduced_axis.py", + "tests/execution/test_value_views.py", + "tests/params/test_final_target_comparison.py", "tests/regime_building/test_adapter_binding_class_matrix.py", "tests/regime_building/test_additive_shock_transition.py", - "tests/regime_building/test_carried_state_counts_as_use.py", - "tests/regime_building/test_collective_feasibility_is_shared.py", - "tests/regime_building/test_entry_law_returning_several_values.py", - "tests/regime_building/test_fixed_process_params.py", - "tests/regime_building/test_fixed_process_params_grammar.py", - "tests/regime_building/test_fold_gate_guard.py", - "tests/regime_building/test_fold_guard_complete.py", - "tests/regime_building/test_fold_target_pool_is_age_resolved.py", + "tests/regime_building/test_age_normalization.py", + "tests/regime_building/test_canonicalize.py", + "tests/regime_building/test_collective_without_discrete_action.py", + "tests/regime_building/test_draw_read_states_are_kept.py", + "tests/regime_building/test_egm_policy_read_gate.py", + "tests/regime_building/test_fixed_zero_joint_edges.py", "tests/regime_building/test_fold_transition_only_shock.py", - "tests/regime_building/test_gate_route_delta_same_target_fallback.py", - "tests/regime_building/test_gated_edge_gate_process_state_interpolation.py", - "tests/regime_building/test_gated_edge_off_grid.py", - "tests/regime_building/test_gated_edge_period_context.py", - "tests/regime_building/test_gated_edge_simulate_operand_recompute.py", - "tests/regime_building/test_gated_edges_collective_solve.py", - "tests/regime_building/test_joint_transition_params.py", - "tests/regime_building/test_markov_law_on_continuous_state.py", + "tests/regime_building/test_grouped_action_decisions.py", + "tests/regime_building/test_immutable_build_outputs.py", + "tests/regime_building/test_joint_transition_phases.py", + "tests/regime_building/test_joint_transition_public.py", + "tests/regime_building/test_joint_transition_simulate_phase_validation.py", "tests/regime_building/test_mixed_stochasticity_phases.py", - "tests/regime_building/test_period_signatures.py", - "tests/regime_building/test_phased_marker_rejected.py", - "tests/regime_building/test_phased_stakeholder_identity.py", - "tests/regime_building/test_policy_read_gate_soundness.py", + "tests/regime_building/test_process_code_mixed_kind_binding.py", "tests/regime_building/test_process_code_produced_values.py", "tests/regime_building/test_process_entry_plan.py", "tests/regime_building/test_projected_landing_operands.py", - "tests/regime_building/test_reachability.py", "tests/regime_building/test_reachable_states.py", - "tests/regime_building/test_reference_interpolation_minus_inf.py", + "tests/regime_building/test_regime_mixture_reduction.py", "tests/regime_building/test_row_split_synthetic.py", - "tests/regime_building/test_terminal_carry_period_kernel.py", - "tests/regime_building/test_terminal_value_constraints.py", + "tests/regime_building/test_same_period_ref_period_axes.py", + "tests/regime_building/test_simulate_gate_param_and_leg_selection.py", + "tests/regime_building/test_stateless_collective_target.py", + "tests/regime_building/test_stochastic_marriage_offers_collective_solve.py", + "tests/regime_building/test_tiled_state_reductions.py", "tests/simulation/initial_conditions/test_admission_action_grid_entry.py", - "tests/simulation/initial_conditions/test_admission_preflight_buffers.py", - "tests/simulation/initial_conditions/test_build_initial_states.py", - "tests/simulation/test_additional_target_availability.py", - "tests/simulation/test_additive_value_comparison.py", - "tests/simulation/test_aot_collective_and_gated.py", + "tests/simulation/initial_conditions/test_dataframe_conversion.py", + "tests/simulation/initial_conditions/test_discrete_states.py", + "tests/simulation/initial_conditions/test_own_stakeholder_required.py", + "tests/simulation/initial_conditions/test_public_api.py", + "tests/simulation/test_automatic_solve_residency.py", + "tests/simulation/test_ceiling_narrowed_pin_dispatch.py", + "tests/simulation/test_chunk_assembly_budget.py", "tests/simulation/test_chunk_budget_selection.py", + "tests/simulation/test_chunk_carrier_budget.py", "tests/simulation/test_chunk_dispatch_profiles.py", - "tests/simulation/test_complete_chunk_profile.py", - "tests/simulation/test_compute_starting_periods.py", + "tests/simulation/test_compiler_allocation_admission.py", "tests/simulation/test_counterfactual_taste_noise.py", + "tests/simulation/test_dissolution_route_accounting.py", "tests/simulation/test_dissolution_route_provenance.py", - "tests/simulation/test_egm_associated_policy_read.py", "tests/simulation/test_egm_sim_policy_value_read.py", + "tests/simulation/test_engine_mapping_fields.py", "tests/simulation/test_entry_allocations.py", - "tests/simulation/test_entry_operation_reuse.py", - "tests/simulation/test_explicit_entry_solve_simulate_parity.py", - "tests/simulation/test_fallback_state_writes.py", "tests/simulation/test_finite_policy_budget.py", "tests/simulation/test_finite_replay_payload_transport.py", + "tests/simulation/test_forward_domain_witness.py", + "tests/simulation/test_gate_population_extent.py", + "tests/simulation/test_host_operations.py", "tests/simulation/test_independent_taste_draws.py", "tests/simulation/test_independent_taste_stream.py", - "tests/simulation/test_nnbegm_complete_reselection.py", - "tests/simulation/test_profile_comparison.py", + "tests/simulation/test_membership_allocation_budget.py", + "tests/simulation/test_outer_candidate_drop_report.py", + "tests/simulation/test_pointwise_canonical_q.py", "tests/simulation/test_program_runtime.py", "tests/simulation/test_reachability_phase_split.py", - "tests/simulation/test_residency.py", + "tests/simulation/test_reserved_chunk_widths.py", "tests/simulation/test_runtime_process_grid_admission.py", - "tests/simulation/test_shock_paths_mesh.py", "tests/simulation/test_simulate_n_nbegm.py", - "tests/simulation/test_simulate_n_nbegm_continuous.py", - "tests/simulation/test_simulate_stateless_continuation.py", "tests/simulation/test_simulate_terminal_rows.py", - "tests/simulation/test_simulation_preparation_reuse.py", "tests/simulation/test_simulation_value_reads.py", - "tests/simulation/test_state_grid_period_axes.py", + "tests/simulation/test_state_grid_period_axes_mutations.py", "tests/simulation/test_state_transition_entry_admission.py", "tests/simulation/test_subject_batching.py", - "tests/simulation/test_top_first_chunk_selection.py", + "tests/simulation/test_subject_chunk_planning.py", + "tests/simulation/test_subject_tile_remainder.py", + "tests/simulation/test_taste_stream_allocation.py", + "tests/simulation/test_timing_receipts.py", + "tests/simulation/test_top_first_public_simulation.py", "tests/simulation/test_type_grouped_simulation.py", - "tests/solution/test_action_partitions.py", - "tests/solution/test_action_partitions_devices.py", - "tests/solution/test_action_partitions_route.py", - "tests/solution/test_block_major_lifetime.py", - "tests/solution/test_bounded_width_search.py", - "tests/solution/test_candidate_census.py", - "tests/solution/test_capture_padding.py", - "tests/solution/test_cell_frontier_ceiling.py", - "tests/solution/test_child_status_family.py", - "tests/solution/test_collective_cell_ceiling.py", - "tests/solution/test_compilation_key_mutations.py", - "tests/solution/test_compile_declared_core.py", - "tests/solution/test_component_job_acceptance.py", - "tests/solution/test_component_job_placement.py", - "tests/solution/test_component_jobs.py", - "tests/solution/test_continuation_unread_state_broadcast.py", - "tests/solution/test_covered_axis_parity.py", - "tests/solution/test_cuda_lowering_identity.py", - "tests/solution/test_decoupled.py", - "tests/solution/test_diagnostics_host_age.py", - "tests/solution/test_dynamic_borrowing_contract.py", - "tests/solution/test_dynamic_bound_authority.py", - "tests/solution/test_dynamic_bound_query_persistence.py", - "tests/solution/test_dynamic_bound_runtime.py", - "tests/solution/test_dynamic_dcegm_binding.py", - "tests/solution/test_dynamic_nbegm_floor.py", - "tests/solution/test_egm_child_resources_age_factory.py", - "tests/solution/test_egm_reconstructed_action_value.py", - "tests/solution/test_ephemeral_identity.py", - "tests/solution/test_finite_candidate_oracle_mutations.py", - "tests/solution/test_finite_candidate_tuple_economics.py", - "tests/solution/test_finite_nnbegm_parent_query.py", - "tests/solution/test_finite_nnbegm_policy_authority.py", - "tests/solution/test_finite_nnbegm_policy_periods.py", - "tests/solution/test_fixed_component_markov.py", - "tests/solution/test_iid_continuation_reads.py", - "tests/solution/test_independent_types_oracle.py", - "tests/solution/test_infeasible_cell_poison.py", - "tests/solution/test_invariant_assembly_reservation.py", - "tests/solution/test_invariant_blocking.py", - "tests/solution/test_invariant_blocking_scalar.py", - "tests/solution/test_invariant_selected_view_admission.py", - "tests/solution/test_invariant_structural_cache.py", - "tests/solution/test_lazy_fallback_compilation.py", - "tests/solution/test_lazy_producer_frontier.py", - "tests/solution/test_lazy_width_frontier.py", - "tests/solution/test_literal_parent_child_status.py", - "tests/solution/test_materialization_admission.py", - "tests/solution/test_materialization_mutations.py", - "tests/solution/test_nb_capture_admission.py", - "tests/solution/test_nb_income_native_qualification.py", - "tests/solution/test_nb_income_scientific_contract.py", - "tests/solution/test_nb_processed_capture_admission.py", - "tests/solution/test_nb_scientific_capture_defaults.py", - "tests/solution/test_nb_scientific_reference.py", - "tests/solution/test_nbegm_boundary_source_floor.py", - "tests/solution/test_nbegm_child_period_geometry.py", - "tests/solution/test_nbegm_continuation_boundary.py", - "tests/solution/test_nbegm_draw_conditioned_cliffs.py", - "tests/solution/test_nbegm_query_actual_resources.py", - "tests/solution/test_nbegm_query_resource_boundaries.py", - "tests/solution/test_nbegm_query_resource_matrix.py", - "tests/solution/test_nbegm_query_resource_mutations.py", - "tests/solution/test_nbegm_state_feasibility_counts.py", - "tests/solution/test_nbegm_two_state_cliff_geometry.py", - "tests/solution/test_negm_child_only_execution.py", - "tests/solution/test_negm_conditional_resource_status.py", - "tests/solution/test_negm_current_publication.py", - "tests/solution/test_negm_native_binding.py", - "tests/solution/test_negm_no_action_publication.py", - "tests/solution/test_negm_private_publication_policy.py", - "tests/solution/test_negm_shared_runtime_status.py", - "tests/solution/test_nested_dynamic_borrowing.py", - "tests/solution/test_nested_edge_namespace.py", - "tests/solution/test_nested_edge_namespace_matrix.py", - "tests/solution/test_period_capture_eager.py", - "tests/solution/test_period_replay_layout.py", - "tests/solution/test_period_target_value_reads.py", - "tests/solution/test_pipelined_lowering.py", - "tests/solution/test_pipelined_lowering_contract.py", - "tests/solution/test_public_lower_period_candidate.py", - "tests/solution/test_public_lower_period_candidate_gpu.py", - "tests/solution/test_public_period_replay.py", - "tests/solution/test_public_period_runtime_policy.py", - "tests/solution/test_solve_phase_records.py", - "tests/solution/test_state_dependent_borrowing_limit.py", - "tests/solution/test_transition_local_markov_draw.py", - "tests/solution/test_transition_local_process_draw.py", - "tests/solution/test_value_residency.py", - "tests/solution/test_width_selection_across_periods.py", - "tests/test_ages.py", + "tests/simulation/test_unbudgeted_subject_width.py", + "tests/simulation/test_unused_operation_arguments.py", "tests/test_augmented_egm_support_certificate.py", "tests/test_beartype_claw.py", - "tests/test_benchmark_models_construct.py", - "tests/test_carried_states.py", - "tests/test_case_piece.py", - "tests/test_chained_state_transitions.py", + "tests/test_broadcast_pruning_keeps_entry_laws.py", + "tests/test_case_piece_declarations.py", + "tests/test_checked_dc_declaration_selection.py", + "tests/test_ci_solution_shards.py", "tests/test_collective_regimes_example.py", "tests/test_composite_states.py", + "tests/test_consumption_savings_regime.py", + "tests/test_continuous_assets_aca_certificate.py", "tests/test_continuous_outer_audit_regressions.py", "tests/test_cross_mesh_value_read_admission.py", - "tests/test_dated_regime_declarations.py", - "tests/test_dated_regime_models.py", - "tests/test_demand_lowering.py", - "tests/test_distributed.py", - "tests/test_distributed_placement.py", + "tests/test_discrete_grid_values_boundaries.py", "tests/test_distributed_simulation_value_reads.py", - "tests/test_docs_constructor_kwargs.py", + "tests/test_distributed_template_placement.py", "tests/test_dropped_models_release_nested_functions.py", - "tests/test_edge_transition_laws.py", - "tests/test_exception_hierarchy.py", - "tests/test_explicit_dtype_filter.py", + "tests/test_exact_affine_handler_inventory.py", + "tests/test_exact_kernel_capability_contract.py", "tests/test_external_solver_conformance.py", - "tests/test_fold_dependency_closure_age_specialized.py", - "tests/test_function_representation.py", - "tests/test_golden_section.py", + "tests/test_float_dtype_invariants.py", + "tests/test_function_output_grid_indexing.py", + "tests/test_granular_regime_transitions.py", + "tests/test_grid_helpers.py", "tests/test_grids_are_outcome_spaces.py", - "tests/test_hatch_build.py", - "tests/test_heterogeneous_initial_ages.py", - "tests/test_horizon_and_terminal_roots.py", "tests/test_imports.py", - "tests/test_model.py", + "tests/test_invalid_vf.py", + "tests/test_joint_transition_admission_certificate.py", + "tests/test_koopmans_aggregation.py", + "tests/test_mahler_yum_2024.py", "tests/test_model_broadcast.py", - "tests/test_model_graph.py", + "tests/test_model_level_code_arguments.py", "tests/test_model_seal.py", - "tests/test_models/test_ds_app3_discrete_housing_builds.py", "tests/test_models/test_example_law_params.py", - "tests/test_nbegm_breakpoints.py", - "tests/test_nbegm_lowering.py", - "tests/test_nbegm_segments.py", "tests/test_normal_process_grid_certificate.py", - "tests/test_params_validation_reuse.py", + "tests/test_pandas_utils.py", + "tests/test_parameter_owner_stability.py", "tests/test_period_feasibility_fixed_bindings.py", - "tests/test_pytree_by_period.py", "tests/test_regime_state_mismatch.py", - "tests/test_repin_precise_helper_overloads.py", "tests/test_required_contexts.py", "tests/test_runtime_params.py", - "tests/test_runtime_process_params.py", - "tests/test_sequence_leaf.py", "tests/test_sharded_state_pruned_from_regimes.py", + "tests/test_solution_on_toy_model_deterministic.py", "tests/test_solution_on_toy_model_stochastic.py", "tests/test_solver_api_out_of_tree.py", + "tests/test_sum_in_value_order_short_axis.py", "tests/test_target_only_carried_constraint.py", "tests/test_temporal_params.py", - "tests/test_validate_param_types.py", - "tests/test_validate_regime_transition_probs.py", - "tests/test_zero_safe.py" + "tests/test_tiled_productmap.py", + "tests/test_tree_aliases.py", + "tests/test_ulp_assertion.py", + "tests/test_variables.py", + "tests/test_zero_probability_target_contribution.py" ], "predicted_payload_minutes": 26.01 }, @@ -2103,177 +2012,176 @@ ], "junit": "junit-cpu-fp64-Linux-general-2.xml", "files": [ + "tests/candidate_certificate/test_backward_publication_corridor.py", + "tests/ci/test_benchmark_workflow_contract.py", + "tests/ci/test_ci_workloads_guardrails.py", "tests/ci/test_policy_launcher.py", + "tests/ci/test_precise_annotations.py", "tests/ci/test_receipt_plugin.py", - "tests/constraints/test_condition_ir.py", - "tests/constraints/test_materialize.py", - "tests/constraints/test_processed_constraint.py", - "tests/constraints/test_routes.py", - "tests/constraints/test_solver_build_context.py", - "tests/egm/test_augmented_egm_support.py", + "tests/ci/test_timing_population.py", "tests/egm/test_below_first_live_counts.py", - "tests/egm/test_branch_aggregation.py", "tests/egm/test_case_conditions.py", + "tests/egm/test_continuation_reader.py", "tests/egm/test_continuation_source_activity.py", - "tests/egm/test_dynamic_continuation_status.py", + "tests/egm/test_dynamic_dcegm_stencil_frontier.py", "tests/egm/test_economic_continuation_viability.py", "tests/egm/test_envelope_ordinary_footprint.py", - "tests/egm/test_finite_corner_transport_ranks.py", + "tests/egm/test_finite_negm_left_association.py", + "tests/egm/test_finite_negm_paired_endpoint.py", "tests/egm/test_finite_negm_public_actual_corner_family.py", - "tests/egm/test_finite_nnbegm_query_counts.py", - "tests/egm/test_interval_block_winner_algebra.py", - "tests/egm/test_interval_block_winner_reduction.py", "tests/egm/test_literal_first_live_producer_authority.py", "tests/egm/test_literal_predicate_classification.py", - "tests/egm/test_nb_scalar_interpolant_edges.py", + "tests/egm/test_mixed_floor_baselines.py", + "tests/egm/test_nb_scalar_sampled_run_producer.py", "tests/egm/test_nb_scalar_value_interpolant.py", "tests/egm/test_nbegm_associated_savings_edges.py", - "tests/egm/test_nbegm_scalar_native_counts.py", - "tests/egm/test_nested_floor_original_status.py", - "tests/egm/test_outer_active_prefix.py", - "tests/egm/test_outer_bank_array_transport.py", + "tests/egm/test_outer_carry_fixed_cost.py", "tests/egm/test_outer_interpolation.py", "tests/egm/test_outer_inversion.py", "tests/egm/test_outer_replay_capability.py", - "tests/egm/test_owned_binding_publication.py", "tests/egm/test_plain_dc_reconstructed_action.py", "tests/egm/test_query_point_discrete_feasibility.py", + "tests/execution/test_abstract_core_program.py", "tests/execution/test_axis_widths_per_regime.py", - "tests/execution/test_checked_continuation_programs.py", - "tests/execution/test_compiler_allocation_reservation.py", - "tests/execution/test_compiler_inputs.py", - "tests/execution/test_core_program_graph.py", - "tests/execution/test_hlo_fusions.py", - "tests/execution/test_liveness.py", + "tests/execution/test_bound_status_mapping.py", + "tests/execution/test_bounded_workspace_planning.py", + "tests/execution/test_continuation_leaf_reads.py", + "tests/execution/test_core_program.py", + "tests/execution/test_covering_acceptance.py", + "tests/execution/test_device_memory_budget_resolution.py", + "tests/execution/test_grid_search_value_accesses.py", "tests/execution/test_liveness_solve_integration.py", + "tests/execution/test_period_transfer_cache.py", "tests/execution/test_reduction_folds.py", - "tests/execution/test_solve_planning_descriptors.py", - "tests/execution/test_transfer_catalogue.py", - "tests/execution/test_value_transfer.py", - "tests/execution/test_workspace_planning.py", + "tests/execution/test_scheduler.py", "tests/params/test_dormant_edge_series_vocabulary.py", "tests/params/test_gated_edge_params_template.py", "tests/regime_building/test_additive_shock_exactness.py", + "tests/regime_building/test_collective_feasibility_is_shared.py", + "tests/regime_building/test_collective_flow_transitions_are_phase_closed.py", + "tests/regime_building/test_collective_fold_rejected.py", "tests/regime_building/test_collective_phase_role_class_invariant.py", - "tests/regime_building/test_collective_readout.py", "tests/regime_building/test_collective_regime_simulate.py", - "tests/regime_building/test_collective_utility_declaration.py", - "tests/regime_building/test_constraint_plan.py", - "tests/regime_building/test_create_regime_params_template.py", "tests/regime_building/test_draw_law_inputs_are_kept.py", - "tests/regime_building/test_fold_repeated_iid_shock.py", - "tests/regime_building/test_gated_edge_fold_availability.py", - "tests/regime_building/test_gated_edge_projection_coverage.py", + "tests/regime_building/test_entry_law_returning_several_values.py", + "tests/regime_building/test_fixed_process_params.py", + "tests/regime_building/test_fixed_process_params_grammar.py", + "tests/regime_building/test_fold_gate_guard.py", + "tests/regime_building/test_fold_guard_complete.py", + "tests/regime_building/test_fold_state_conditioned_weights.py", + "tests/regime_building/test_fold_target_pool_is_age_resolved.py", + "tests/regime_building/test_gate_output_dtype.py", + "tests/regime_building/test_gated_edge_params_are_per_edge.py", + "tests/regime_building/test_gated_edge_period_context.py", + "tests/regime_building/test_gated_edge_pruning_roots.py", + "tests/regime_building/test_gated_edge_simulate_operand_recompute.py", + "tests/regime_building/test_gated_edges_collective_solve.py", "tests/regime_building/test_joint_transition_composition.py", - "tests/regime_building/test_joint_transition_probability_shapes.py", + "tests/regime_building/test_markov_law_on_continuous_state.py", + "tests/regime_building/test_next_prefix_is_reserved.py", "tests/regime_building/test_nonterminal_collective_solve.py", "tests/regime_building/test_pareto_normalization_overflow.py", + "tests/regime_building/test_phased_stakeholder_identity.py", + "tests/regime_building/test_process_aware_categorical_axis_read.py", "tests/regime_building/test_process_code_binding.py", "tests/regime_building/test_process_code_generated_entry_domain.py", "tests/regime_building/test_process_code_input_domain.py", - "tests/regime_building/test_process_params.py", - "tests/regime_building/test_pruning_sees_composed_resources.py", - "tests/regime_building/test_root_function_set_agreement.py", - "tests/regime_building/test_route_conditions_on_ordinary_draw.py", - "tests/regime_building/test_same_period_ref_process_state_interpolation.py", - "tests/regime_building/test_simulate_guards.py", - "tests/regime_building/test_target_only_process_rejected.py", + "tests/regime_building/test_reference_interpolation_minus_inf.py", + "tests/regime_building/test_regime_processing.py", + "tests/regime_building/test_same_period_ref_projection_free_params.py", + "tests/regime_building/test_terminal_carry_period_kernel.py", "tests/regime_building/test_terminal_collective_solve.py", - "tests/regime_building/test_with_engine_functions.py", + "tests/regime_building/test_terminal_value_constraints.py", "tests/simulation/initial_conditions/test_admission_feasibility.py", - "tests/simulation/initial_conditions/test_public_api.py", + "tests/simulation/initial_conditions/test_admission_preflight_state_reuse.py", + "tests/simulation/initial_conditions/test_build_initial_states.py", "tests/simulation/initial_conditions/test_state_names_checked_at_every_log_level.py", - "tests/simulation/test_aot_same_period_refs.py", - "tests/simulation/test_branch_destinations_are_complete.py", - "tests/simulation/test_budget_lifecycle.py", - "tests/simulation/test_chunk_diagnostic_budget.py", - "tests/simulation/test_chunk_operation_budget.py", + "tests/simulation/test_aot_collective_and_gated.py", "tests/simulation/test_chunk_profile_cache_identity.py", - "tests/simulation/test_chunk_profile_selection.py", + "tests/simulation/test_chunk_shared_inputs.py", "tests/simulation/test_compile_requests.py", - "tests/simulation/test_compiler_input_residency.py", + "tests/simulation/test_entry_operation_reuse.py", + "tests/simulation/test_explicit_entry_solve_simulate_parity.py", "tests/simulation/test_fallback_reads_carried_target_state.py", "tests/simulation/test_finite_nnbegm_current_budget.py", - "tests/simulation/test_forward_domain_witness.py", - "tests/simulation/test_forward_program_profiles.py", + "tests/simulation/test_forward_domain_controls.py", + "tests/simulation/test_gated_budgeted.py", "tests/simulation/test_gated_edge_disjoint_target_windows.py", "tests/simulation/test_host_operation_admission_cost.py", "tests/simulation/test_host_preparation_lifetime.py", - "tests/simulation/test_joint_transition_entry_admission.py", - "tests/simulation/test_law_reading_a_realized_draw.py", + "tests/simulation/test_independent_chunk_selection.py", "tests/simulation/test_leg_projector_vmap.py", - "tests/simulation/test_native_value_admission.py", "tests/simulation/test_nnbegm_candidate_ranking.py", "tests/simulation/test_normal_process_grid_admission.py", - "tests/simulation/test_outer_candidate_drop_report.py", - "tests/simulation/test_parallel_chunk_compilation.py", + "tests/simulation/test_operand_placement.py", "tests/simulation/test_planned_finite_replay.py", - "tests/simulation/test_public_chunk_output_floor.py", - "tests/simulation/test_residency_owner_epochs.py", - "tests/simulation/test_residency_projection.py", - "tests/simulation/test_series_entry_admission.py", + "tests/simulation/test_population_allocation_budget.py", + "tests/simulation/test_profile_comparison.py", + "tests/simulation/test_residency.py", + "tests/simulation/test_result_dataframe_columns.py", "tests/simulation/test_shock_paths.py", - "tests/simulation/test_simulate_constraint_reads_a_post_decision.py", - "tests/simulation/test_simulation_memory_report_reuse.py", - "tests/simulation/test_simulation_period_inputs.py", - "tests/simulation/test_simulation_plan_summary.py", - "tests/simulation/test_stateless_collective_validation.py", - "tests/simulation/test_subject_chunk_planning.py", - "tests/simulation/test_supplied_V_shape_validation.py", + "tests/simulation/test_simulation_memory_report_reuse.py", + "tests/simulation/test_simulation_plan_summary.py", "tests/simulation/test_taste_stream.py", - "tests/simulation/test_taste_stream_allocation.py", - "tests/simulation/test_timing_receipts.py", + "tests/simulation/test_top_first_chunk_selection.py", "tests/simulation/test_transition_dependent_targets.py", + "tests/simulation/test_trim_pad_covers_every_field.py", + "tests/test_Q_and_F.py", "tests/test_action_grid_admission_certificate.py", - "tests/test_admission_and_random_sites.py", + "tests/test_ages.py", + "tests/test_analytical_solution.py", "tests/test_ast_inspection.py", + "tests/test_benchmark_models_construct.py", + "tests/test_broadcast_pruning_joint_phase_closure.py", + "tests/test_case_piece.py", "tests/test_collective_regime_model_level_slots.py", - "tests/test_collective_robustness_pins.py", - "tests/test_constraint_language_acceptance.py", "tests/test_continuous_assets_aca_vocabulary.py", - "tests/test_dcegm_validation.py", - "tests/test_discrete_code_arguments.py", + "tests/test_dated_regime_declarations.py", + "tests/test_demand_lowering.py", + "tests/test_demand_worklists.py", "tests/test_discrete_grid_values.py", - "tests/test_distributed_constant_simulation.py", - "tests/test_distributed_simulation_values.py", - "tests/test_distributed_taste_stream.py", - "tests/test_docs_public_api_coverage.py", + "tests/test_distributed_eager_weak_inputs.py", + "tests/test_distributed_entry_allocations.py", + "tests/test_distributed_placement.py", + "tests/test_docs_constructor_kwargs.py", "tests/test_economic_validation.py", - "tests/test_exact_affine_broadcast_contract.py", "tests/test_feasibility_admission_certificate.py", + "tests/test_fgp_discretization.py", "tests/test_fgp_model.py", - "tests/test_finalize_regimes.py", + "tests/test_fixed_transition.py", + "tests/test_fold_dependency_closure_age_specialized.py", "tests/test_folded_derived_code_alias.py", - "tests/test_function_output_grid_indexing.py", - "tests/test_initial_regimes_grammar.py", - "tests/test_interval_winner_helper_selection.py", + "tests/test_golden_section.py", + "tests/test_grouped_mapper_eligibility.py", + "tests/test_hatch_build.py", + "tests/test_heterogeneous_initial_ages.py", "tests/test_joint_normal_covariance_factor.py", "tests/test_joint_normal_iid_process.py", "tests/test_joint_normal_name_ownership.py", - "tests/test_koopmans_aggregation.py", "tests/test_mahler_yum_implicit_pilot.py", "tests/test_mahler_yum_knot_interpolation.py", - "tests/test_models/test_ds_app2_housing_builds.py", + "tests/test_model_graph.py", "tests/test_namespace.py", - "tests/test_ndimage.py", - "tests/test_ndimage_unit.py", - "tests/test_off_grid_count_capacity.py", + "tests/test_nbegm_grid_hygiene.py", + "tests/test_nbegm_segments.py", + "tests/test_next_state.py", + "tests/test_outer_implicit_derivative.py", "tests/test_outer_search.py", - "tests/test_parameter_owner_stability.py", "tests/test_period_time.py", - "tests/test_regime_law_cells_without_edges.py", - "tests/test_regime_slot_read_ledger.py", + "tests/test_pytree_by_period.py", "tests/test_regime_transition_admission_certificate.py", - "tests/test_scaled_lottery_reduction_matrix.py", + "tests/test_release_compiled_programs.py", + "tests/test_repin_checked_dc_overloads.py", + "tests/test_repin_precise_helper_overloads.py", + "tests/test_required_operation_contexts.py", + "tests/test_runtime_process_grid_certificate.py", "tests/test_selection_integrity_and_sites.py", + "tests/test_sequence_leaf.py", "tests/test_sharded_state_across_gated_edge.py", "tests/test_shock_draw.py", "tests/test_single_feasible_action.py", - "tests/test_solver_api_beartype_conf.py", - "tests/test_solvers.py", - "tests/test_state_action_space.py", - "tests/test_subprocess_precision.py", - "tests/test_value_label_series_keys.py" + "tests/test_state_transition_admission_certificate.py", + "tests/test_subprocess_precision.py" ], "predicted_payload_minutes": 26.01 }, @@ -2309,176 +2217,176 @@ "junit": "junit-cpu-fp64-Linux-general-3.xml", "files": [ "tests/candidate_certificate/test_check_mutation_anchors.py", - "tests/candidate_certificate/test_generate_sources.py", - "tests/candidate_certificate/test_tool_module_identity_and_seals.py", - "tests/ci/test_mahler_execution.py", - "tests/ci/test_probe_native.py", - "tests/ci/test_simulation_timing_workflow.py", + "tests/ci/test_ci_workloads_manifest.py", + "tests/ci/test_execution_policy.py", + "tests/ci/test_keyword_only_convention.py", + "tests/ci/test_simulation_timing_report.py", + "tests/ci/test_superseded_gate.py", + "tests/ci/test_workflow_policy_activation.py", + "tests/constraints/test_dynamic_lower_bound.py", + "tests/constraints/test_nbegm_constraint_boundaries.py", "tests/constraints/test_solver_routes.py", - "tests/egm/test_adaptive_discrete_profiles.py", - "tests/egm/test_continuation_reader.py", + "tests/egm/test_dynamic_bound_query_contract.py", + "tests/egm/test_dynamic_continuation_status.py", "tests/egm/test_dynamic_dcegm_asset_weight_factory.py", "tests/egm/test_dynamic_dcegm_consumers.py", - "tests/egm/test_dynamic_dcegm_material_passive_products.py", + "tests/egm/test_dynamic_dcegm_floor.py", "tests/egm/test_dynamic_dcegm_node_factory.py", + "tests/egm/test_dynamic_dcegm_node_status.py", "tests/egm/test_dynamic_dcegm_passive_consumers.py", "tests/egm/test_dynamic_dcegm_passive_products.py", - "tests/egm/test_dynamic_dcegm_plain_periods.py", + "tests/egm/test_dynamic_dcegm_query_authority.py", "tests/egm/test_dynamic_egm_floor.py", - "tests/egm/test_egm_savings_support_pytree.py", - "tests/egm/test_finite_negm_owned_germs.py", + "tests/egm/test_finite_negm_owned_germ_transforms.py", "tests/egm/test_finite_negm_public_actual_corner.py", "tests/egm/test_finite_negm_public_mixed_corner.py", - "tests/egm/test_finite_negm_recovered_side_tie.py", - "tests/egm/test_interval_block_winner_production_owner.py", + "tests/egm/test_finite_nnbegm_query_counts.py", + "tests/egm/test_interval_block_winner_algebra.py", "tests/egm/test_interval_block_winner_source_obligations.py", - "tests/egm/test_nb_scalar_sampled_run_producer.py", + "tests/egm/test_nb_sampled_run_support_cuts.py", "tests/egm/test_nbegm_callable_schedule_and_refusals.py", - "tests/egm/test_nbegm_counted_original_rows.py", + "tests/egm/test_nbegm_feasibility_envelope.py", + "tests/egm/test_nbegm_kink_aware_interp.py", "tests/egm/test_nbegm_literal_predicate_consumers.py", - "tests/egm/test_nbegm_mixed_target_identity.py", "tests/egm/test_nbegm_query_step_transport_ranks.py", - "tests/egm/test_nbegm_routes.py", - "tests/egm/test_nbegm_segment_blocks.py", - "tests/egm/test_nested_floor_operand.py", - "tests/egm/test_outer_carry_fixed_cost.py", + "tests/egm/test_nbegm_scalar_native_counts.py", + "tests/egm/test_outer_active_prefix.py", + "tests/egm/test_outer_affine_structure.py", "tests/egm/test_outer_stack_legacy_layout.py", - "tests/execution/test_bound_status_mapping.py", - "tests/execution/test_declared_axis_names.py", - "tests/execution/test_donation.py", - "tests/execution/test_grid_search_value_accesses.py", - "tests/execution/test_hlo_negative_proof.py", - "tests/execution/test_internal_outputs.py", - "tests/execution/test_output_layout.py", - "tests/execution/test_reduced_axis.py", - "tests/params/test_final_target_comparison.py", - "tests/regime_building/test_age_normalization.py", + "tests/egm/test_owned_binding_publication.py", + "tests/execution/test_bounded_internal_output_locators.py", + "tests/execution/test_bounded_internal_signatures.py", + "tests/execution/test_core_program_invariants.py", + "tests/execution/test_eager_core.py", + "tests/execution/test_eager_weak_inputs.py", + "tests/execution/test_footprint.py", + "tests/execution/test_pending_solve_work.py", + "tests/execution/test_placement.py", + "tests/execution/test_reductions.py", + "tests/execution/test_transfer_catalogue.py", + "tests/execution/test_unused_argument_budget.py", + "tests/execution/test_workspace_candidate_residency.py", + "tests/params/test_gate_reads_on_the_target_domain.py", "tests/regime_building/test_age_specialization.py", - "tests/regime_building/test_canonicalize.py", - "tests/regime_building/test_carried_state_through_gated_self_loop.py", "tests/regime_building/test_collective_extended_real.py", - "tests/regime_building/test_collective_fold_rejected.py", + "tests/regime_building/test_collective_readout.py", + "tests/regime_building/test_constraint_phase_invariance.py", + "tests/regime_building/test_constraint_plan.py", "tests/regime_building/test_continuation_expectation_oracle.py", - "tests/regime_building/test_draw_read_states_are_kept.py", - "tests/regime_building/test_fixed_zero_joint_edges.py", - "tests/regime_building/test_flow_transitions_are_phase_closed.py", + "tests/regime_building/test_decomposed_views.py", + "tests/regime_building/test_fixed_zero_host_carriers.py", "tests/regime_building/test_fold_target_entry_draw.py", - "tests/regime_building/test_gate_output_dtype.py", + "tests/regime_building/test_gate_route_delta_same_target_fallback.py", + "tests/regime_building/test_gated_edge_arg_provenance.py", "tests/regime_building/test_gated_edge_code_arguments.py", - "tests/regime_building/test_gated_edge_params_are_per_edge.py", - "tests/regime_building/test_gated_edge_pruning_roots.py", - "tests/regime_building/test_grouped_action_decisions.py", - "tests/regime_building/test_handoff_into_runtime_parameterized_process.py", - "tests/regime_building/test_immutable_build_outputs.py", - "tests/regime_building/test_joint_transition_phases.py", - "tests/regime_building/test_joint_transition_public.py", - "tests/regime_building/test_joint_transition_simulate_phase_validation.py", - "tests/regime_building/test_next_prefix_is_reserved.py", - "tests/regime_building/test_process_code_mixed_kind_binding.py", + "tests/regime_building/test_gated_edge_fold_availability.py", + "tests/regime_building/test_gated_edge_fold_treedef.py", + "tests/regime_building/test_joint_transition_canonicalization.py", + "tests/regime_building/test_joint_transition_probability_shapes.py", + "tests/regime_building/test_pareto_objective.py", + "tests/regime_building/test_perceived_stochastic_transitions.py", + "tests/regime_building/test_period_signatures.py", + "tests/regime_building/test_policy_read_gate_soundness.py", "tests/regime_building/test_process_value_adapter_context.py", "tests/regime_building/test_projected_value_reads_realised_iid_shock.py", - "tests/regime_building/test_regime_mixture_reduction.py", + "tests/regime_building/test_pruning_sees_composed_resources.py", + "tests/regime_building/test_reachability.py", "tests/regime_building/test_required_phase_annotations.py", - "tests/regime_building/test_same_period_ref_period_axes.py", + "tests/regime_building/test_route_conditions_on_ordinary_draw.py", "tests/regime_building/test_state_handoff_declaration_message.py", - "tests/regime_building/test_stochastic_marriage_offers_collective_solve.py", - "tests/regime_building/test_tiled_state_reductions.py", "tests/regime_building/test_value_dependent_declarations.py", - "tests/simulation/initial_conditions/test_admission_preflight_state_reuse.py", - "tests/simulation/initial_conditions/test_dataframe_conversion.py", + "tests/simulation/initial_conditions/test_admission_preflight_buffers.py", + "tests/simulation/initial_conditions/test_admission_preflight_ordering.py", + "tests/simulation/initial_conditions/test_feasibility_host_annotations.py", "tests/simulation/initial_conditions/test_own_stakeholder_per_row.py", - "tests/simulation/test_abstract_simulation_profiles.py", - "tests/simulation/test_automatic_solve_residency.py", - "tests/simulation/test_ceiling_narrowed_pin.py", - "tests/simulation/test_chunk_assembly_budget.py", - "tests/simulation/test_chunk_carrier_budget.py", - "tests/simulation/test_chunk_shared_inputs.py", - "tests/simulation/test_dissolution_route_accounting.py", + "tests/simulation/initial_conditions/test_structure.py", + "tests/simulation/test_aot_same_period_refs.py", + "tests/simulation/test_branch_destinations_are_complete.py", + "tests/simulation/test_budget_lifecycle.py", + "tests/simulation/test_chunk_diagnostic_budget.py", + "tests/simulation/test_chunk_reservation_fulfillment.py", + "tests/simulation/test_compute_starting_periods.py", "tests/simulation/test_dissolution_route_scheduling.py", "tests/simulation/test_dynamic_chunk_rng.py", - "tests/simulation/test_engine_mapping_fields.py", + "tests/simulation/test_egm_associated_policy_read.py", "tests/simulation/test_finite_policy_diagnostics.py", "tests/simulation/test_finite_policy_profile_contract.py", - "tests/simulation/test_finite_replay_stages.py", "tests/simulation/test_forward_domain_budget.py", - "tests/simulation/test_gated_budgeted.py", - "tests/simulation/test_host_operations.py", + "tests/simulation/test_forward_program_profiles.py", + "tests/simulation/test_joint_transition_entry_admission.py", + "tests/simulation/test_law_reading_a_realized_draw.py", + "tests/simulation/test_nnbegm_complete_reselection.py", "tests/simulation/test_nnbegm_outer_target_replay.py", - "tests/simulation/test_pandas_entry_admission.py", + "tests/simulation/test_parallel_chunk_compilation.py", + "tests/simulation/test_parallel_trace_context.py", "tests/simulation/test_period_simulation_data_v_rank.py", - "tests/simulation/test_pointwise_canonical_q.py", "tests/simulation/test_policy_lookup.py", "tests/simulation/test_policy_lookup_devices.py", "tests/simulation/test_policy_lookup_taste_shocks.py", - "tests/simulation/test_population_allocation_budget.py", "tests/simulation/test_prepared_unbudgeted_dispatch.py", - "tests/simulation/test_random_allocation_budget.py", - "tests/simulation/test_replay_value_addresses.py", - "tests/simulation/test_reserved_chunk_widths.py", + "tests/simulation/test_public_chunk_output_floor.py", + "tests/simulation/test_realised_dissolution_route.py", + "tests/simulation/test_regime_draw.py", + "tests/simulation/test_runtime_budget.py", "tests/simulation/test_simulate.py", - "tests/simulation/test_simulate_v_validation.py", + "tests/simulation/test_simulate_constraint_reads_a_post_decision.py", + "tests/simulation/test_simulate_stateless_continuation.py", "tests/simulation/test_simulation_entry_budget.py", - "tests/simulation/test_state_grid_period_axes_mutations.py", - "tests/simulation/test_subject_tile_remainder.py", - "tests/simulation/test_unbudgeted_subject_width.py", - "tests/simulation/test_unused_operation_arguments.py", + "tests/simulation/test_simulation_period_inputs.py", + "tests/simulation/test_simulation_preparation_reuse.py", + "tests/simulation/test_stateless_collective_validation.py", + "tests/simulation/test_update_states.py", "tests/simulation/test_validation_compile_reuse.py", - "tests/test_Q_and_F.py", - "tests/test_Q_and_F_per_entry_scales.py", "tests/test_action_partition_certificate.py", "tests/test_argmax.py", - "tests/test_broadcast_pruning_keeps_entry_laws.py", + "tests/test_candidate_certificate_seal_check.py", "tests/test_canonical_params.py", - "tests/test_case_piece_declarations.py", + "tests/test_carried_states.py", "tests/test_certainty_equivalent.py", - "tests/test_ci_solution_shards.py", + "tests/test_chained_state_transitions.py", + "tests/test_characteristics.py", "tests/test_collective_household_example.py", "tests/test_collective_public_workflow.py", - "tests/test_collective_regimes_draft.py", "tests/test_compilation_cache.py", "tests/test_compiler_allocation_reservation_certificate.py", "tests/test_composite_state_boundaries.py", - "tests/test_consumption_savings_regime.py", - "tests/test_continuous_assets_aca_certificate.py", - "tests/test_declaration_examples.py", - "tests/test_demand_worklists.py", - "tests/test_discrete_grid_values_boundaries.py", - "tests/test_distributed_template_placement.py", - "tests/test_docs_custom_solver_example.py", + "tests/test_constraint_language_acceptance.py", + "tests/test_dcegm_validation.py", + "tests/test_distributed.py", + "tests/test_distributed_constant_simulation.py", + "tests/test_distributed_lifetime.py", + "tests/test_distributed_simulation_values.py", + "tests/test_distributed_taste_stream.py", "tests/test_docs_review_contracts.py", - "tests/test_exact_affine_handler_inventory.py", - "tests/test_exact_kernel_capability_contract.py", - "tests/test_fgp_discretization.py", - "tests/test_granular_regime_transitions.py", + "tests/test_docs_solver_capabilities.py", + "tests/test_dtypes.py", + "tests/test_edge_transition_laws.py", + "tests/test_egm_regime_margin_validation.py", + "tests/test_exact_affine_broadcast_contract.py", + "tests/test_functools.py", "tests/test_grids.py", - "tests/test_grouped_mapper_eligibility.py", - "tests/test_hard_max_derivatives.py", - "tests/test_int_dtype_invariants.py", - "tests/test_invalid_vf.py", - "tests/test_mahler_yum_continuous_outer.py", - "tests/test_model_level_code_arguments.py", - "tests/test_nbegm_validation.py", + "tests/test_mapping_leaf.py", + "tests/test_models/test_ds_app2_housing_builds.py", "tests/test_no_orphaned_module_private_functions.py", "tests/test_off_grid.py", + "tests/test_off_grid_count_capacity.py", "tests/test_owned_query_helper_certificate.py", - "tests/test_pandas_utils.py", + "tests/test_params_validation_reuse.py", + "tests/test_perf_loop.py", + "tests/test_piecewise_grid_breakpoints.py", + "tests/test_random.py", + "tests/test_regime_slot_read_ledger.py", "tests/test_regression_test.py", - "tests/test_release_compiled_programs.py", - "tests/test_repin_checked_dc_overloads.py", - "tests/test_repin_child_native_refiner.py", - "tests/test_solution_on_toy_model_deterministic.py", + "tests/test_root_and_until_grammar.py", "tests/test_source_certificate_portability.py", - "tests/test_static_params.py", - "tests/test_sum_in_value_order_short_axis.py", - "tests/test_taste_shocks.py", - "tests/test_tiled_productmap.py", "tests/test_transition_checks.py", - "tests/test_tree_aliases.py", + "tests/test_transition_targets.py", "tests/test_tuning.py", - "tests/test_ulp_assertion.py", + "tests/test_utils.py", + "tests/test_validate_param_types.py", + "tests/test_validate_regime_transition_probs.py", "tests/test_validation_scalar_actions.py", - "tests/test_variables.py", - "tests/test_zero_mass_continuations.py" + "tests/test_value_label_series_keys.py" ], "predicted_payload_minutes": 26.01 }, @@ -2513,176 +2421,268 @@ ], "junit": "junit-cpu-fp64-Linux-general-4.xml", "files": [ - "tests/candidate_certificate/test_backward_publication_corridor.py", - "tests/ci/test_benchmark_workflow_contract.py", - "tests/ci/test_ci_workloads_manifest.py", + "tests/candidate_certificate/test_generate_sources.py", + "tests/candidate_certificate/test_tool_module_identity_and_seals.py", "tests/ci/test_cpu_workflow_contract.py", - "tests/ci/test_execution_policy.py", - "tests/ci/test_keyword_only_convention.py", - "tests/ci/test_payload_types.py", - "tests/ci/test_simulation_timing_report.py", - "tests/ci/test_workflow_policy_activation.py", - "tests/ci/test_workload_weights.py", - "tests/constraints/test_dynamic_lower_bound.py", - "tests/constraints/test_nbegm_constraint_boundaries.py", - "tests/egm/test_axis_boundaries.py", + "tests/constraints/test_condition_ir.py", + "tests/constraints/test_materialize.py", + "tests/constraints/test_processed_constraint.py", + "tests/constraints/test_routes.py", + "tests/constraints/test_solver_build_context.py", + "tests/egm/test_adaptive_discrete_profiles.py", + "tests/egm/test_augmented_egm_support.py", "tests/egm/test_boundary_augmented_savings.py", - "tests/egm/test_dynamic_bound_query_contract.py", "tests/egm/test_dynamic_dcegm_activation.py", "tests/egm/test_dynamic_dcegm_boundary_factory.py", "tests/egm/test_dynamic_dcegm_publication.py", - "tests/egm/test_dynamic_dcegm_query.py", - "tests/egm/test_dynamic_dcegm_stencil_frontier.py", + "tests/egm/test_dynamic_envelope_provenance.py", "tests/egm/test_feature_row_collapsed_support.py", + "tests/egm/test_finite_corner_transport_ranks.py", "tests/egm/test_finite_mixed_corner_operator.py", - "tests/egm/test_finite_negm_left_association.py", "tests/egm/test_finite_negm_overflow_component.py", "tests/egm/test_finite_negm_query_integrity_and_ties.py", - "tests/egm/test_finite_nnbegm_query.py", - "tests/egm/test_mixed_floor_baselines.py", - "tests/egm/test_nb_sampled_run_support_cuts.py", + "tests/egm/test_nb_scalar_interpolant_edges.py", "tests/egm/test_nbegm_conditional_query_association.py", - "tests/egm/test_nbegm_feasibility_envelope.py", + "tests/egm/test_nbegm_mixed_target_identity.py", "tests/egm/test_nbegm_predicate_period_qualification.py", - "tests/egm/test_outer_affine_structure.py", + "tests/egm/test_nested_floor_original_status.py", "tests/egm/test_outer_carry.py", "tests/egm/test_outer_refinement.py", - "tests/egm/test_scalar_continuation_read_counts.py", - "tests/execution/test_bounded_internal_output_locators.py", - "tests/execution/test_bounded_internal_signatures.py", - "tests/execution/test_core_plan_record.py", - "tests/execution/test_core_program.py", - "tests/execution/test_core_program_invariants.py", - "tests/execution/test_covering_acceptance.py", - "tests/execution/test_eager_weak_inputs.py", - "tests/execution/test_footprint.py", - "tests/execution/test_placement.py", - "tests/execution/test_reductions.py", - "tests/execution/test_unused_argument_budget.py", - "tests/execution/test_value_views.py", - "tests/execution/test_workspace_candidate_residency.py", + "tests/execution/test_axis_widths.py", + "tests/execution/test_candidate_residency.py", + "tests/execution/test_checked_continuation_programs.py", + "tests/execution/test_compiler_allocation_reservation.py", + "tests/execution/test_compiler_inputs.py", + "tests/execution/test_core_program_graph.py", + "tests/execution/test_declared_axis_names.py", + "tests/execution/test_execution_config.py", + "tests/execution/test_hlo_fusions.py", + "tests/execution/test_liveness.py", + "tests/execution/test_output_layout.py", + "tests/execution/test_solve_planning_descriptors.py", + "tests/execution/test_value_transfer.py", + "tests/execution/test_workspace_planning.py", + "tests/params/test_edge_params.py", "tests/params/test_gate_parameter_boundaries.py", + "tests/regime_building/test_carried_state_counts_as_use.py", + "tests/regime_building/test_carried_state_through_gated_self_loop.py", "tests/regime_building/test_collective_continuation_mass.py", - "tests/regime_building/test_collective_flow_transitions_are_phase_closed.py", - "tests/regime_building/test_collective_without_discrete_action.py", - "tests/regime_building/test_constraint_phase_invariance.py", - "tests/regime_building/test_decomposed_views.py", - "tests/regime_building/test_egm_policy_read_gate.py", - "tests/regime_building/test_fixed_zero_host_carriers.py", + "tests/regime_building/test_collective_utility_declaration.py", + "tests/regime_building/test_create_regime_params_template.py", "tests/regime_building/test_fixed_zero_joint_source_states.py", + "tests/regime_building/test_flow_transitions_are_phase_closed.py", "tests/regime_building/test_fold_iid_shocks.py", - "tests/regime_building/test_fold_state_conditioned_weights.py", - "tests/regime_building/test_gated_edge_arg_provenance.py", - "tests/regime_building/test_gated_edge_fold_treedef.py", + "tests/regime_building/test_fold_repeated_iid_shock.py", + "tests/regime_building/test_gated_edge_gate_process_state_interpolation.py", + "tests/regime_building/test_gated_edge_off_grid.py", + "tests/regime_building/test_gated_edge_projection_coverage.py", + "tests/regime_building/test_handoff_into_runtime_parameterized_process.py", "tests/regime_building/test_invariant_components.py", - "tests/regime_building/test_joint_transition_canonicalization.py", "tests/regime_building/test_joint_transition_fixed_params.py", - "tests/regime_building/test_pareto_objective.py", - "tests/regime_building/test_perceived_stochastic_transitions.py", + "tests/regime_building/test_joint_transition_params.py", "tests/regime_building/test_phase_resolution_is_slot_local.py", - "tests/regime_building/test_process_aware_categorical_axis_read.py", - "tests/regime_building/test_regime_processing.py", - "tests/regime_building/test_same_period_ref_projection_free_params.py", - "tests/regime_building/test_simulate_gate_param_and_leg_selection.py", - "tests/regime_building/test_stateless_collective_target.py", + "tests/regime_building/test_phased_marker_rejected.py", + "tests/regime_building/test_process_params.py", + "tests/regime_building/test_root_function_set_agreement.py", + "tests/regime_building/test_same_period_ref_process_state_interpolation.py", + "tests/regime_building/test_simulate_guards.py", "tests/regime_building/test_streaming_max_Q_over_a.py", + "tests/regime_building/test_target_only_process_rejected.py", "tests/regime_building/test_value_constraints_collective_solve.py", + "tests/regime_building/test_with_engine_functions.py", "tests/regime_building/test_zero_safe_gradients.py", "tests/simulation/initial_conditions/test_admission_preflight_contract.py", - "tests/simulation/initial_conditions/test_admission_preflight_ordering.py", - "tests/simulation/initial_conditions/test_discrete_states.py", - "tests/simulation/initial_conditions/test_feasibility_host_annotations.py", "tests/simulation/initial_conditions/test_feasibility_mask.py", - "tests/simulation/initial_conditions/test_own_stakeholder_required.py", - "tests/simulation/initial_conditions/test_structure.py", - "tests/simulation/test_ceiling_narrowed_pin_dispatch.py", - "tests/simulation/test_chunk_reservation_fulfillment.py", - "tests/simulation/test_compiler_allocation_admission.py", + "tests/simulation/test_abstract_simulation_profiles.py", + "tests/simulation/test_additional_target_availability.py", + "tests/simulation/test_additive_value_comparison.py", + "tests/simulation/test_ceiling_narrowed_pin.py", + "tests/simulation/test_chunk_operation_budget.py", + "tests/simulation/test_chunk_profile_selection.py", + "tests/simulation/test_compiler_input_residency.py", + "tests/simulation/test_complete_chunk_profile.py", "tests/simulation/test_dissolution_route_self_projection.py", "tests/simulation/test_dormant_gate_admission.py", "tests/simulation/test_dormant_gate_mutations.py", + "tests/simulation/test_fallback_state_writes.py", + "tests/simulation/test_finite_replay_stages.py", "tests/simulation/test_foreign_result_allocation.py", - "tests/simulation/test_forward_domain_controls.py", - "tests/simulation/test_gate_population_extent.py", "tests/simulation/test_gated_edges_subject_sharding.py", - "tests/simulation/test_independent_chunk_selection.py", - "tests/simulation/test_membership_allocation_budget.py", + "tests/simulation/test_native_value_admission.py", "tests/simulation/test_nnbegm_split_workflow_parity.py", "tests/simulation/test_no_feasible_action.py", - "tests/simulation/test_operand_placement.py", - "tests/simulation/test_parallel_trace_context.py", + "tests/simulation/test_pandas_entry_admission.py", "tests/simulation/test_phased_edge_fallback.py", "tests/simulation/test_policy_lookup_action_values.py", "tests/simulation/test_process_grid_entry_admission.py", "tests/simulation/test_program_width_frames.py", - "tests/simulation/test_realised_dissolution_route.py", - "tests/simulation/test_regime_draw.py", + "tests/simulation/test_random_allocation_budget.py", "tests/simulation/test_regime_transition_entry_admission.py", - "tests/simulation/test_result_dataframe_columns.py", - "tests/simulation/test_runtime_budget.py", + "tests/simulation/test_replay_value_addresses.py", + "tests/simulation/test_residency_owner_epochs.py", + "tests/simulation/test_residency_projection.py", + "tests/simulation/test_series_entry_admission.py", + "tests/simulation/test_shock_paths_mesh.py", "tests/simulation/test_simulate_certainty_equivalent.py", "tests/simulation/test_simulate_ds_app2_housing.py", + "tests/simulation/test_simulate_n_nbegm_continuous.py", + "tests/simulation/test_simulate_v_validation.py", "tests/simulation/test_simulation_population.py", "tests/simulation/test_simulation_programs.py", - "tests/simulation/test_top_first_public_simulation.py", - "tests/simulation/test_trim_pad_covers_every_field.py", - "tests/simulation/test_update_states.py", - "tests/test_analytical_solution.py", - "tests/test_broadcast_pruning_joint_phase_closure.py", - "tests/test_candidate_certificate_seal_check.py", + "tests/simulation/test_state_grid_period_axes.py", + "tests/simulation/test_supplied_V_shape_validation.py", + "tests/solution/test_action_partitions.py", + "tests/solution/test_action_partitions_devices.py", + "tests/solution/test_action_partitions_route.py", + "tests/solution/test_block_major_lifetime.py", + "tests/solution/test_bounded_width_search.py", + "tests/solution/test_candidate_census.py", + "tests/solution/test_capture_padding.py", + "tests/solution/test_cell_frontier_ceiling.py", + "tests/solution/test_child_status_family.py", + "tests/solution/test_collective_cell_ceiling.py", + "tests/solution/test_compilation_key_mutations.py", + "tests/solution/test_compile_declared_core.py", + "tests/solution/test_component_job_acceptance.py", + "tests/solution/test_component_job_placement.py", + "tests/solution/test_component_jobs.py", + "tests/solution/test_continuation_unread_state_broadcast.py", + "tests/solution/test_covered_axis_parity.py", + "tests/solution/test_cuda_lowering_identity.py", + "tests/solution/test_decoupled.py", + "tests/solution/test_diagnostics_host_age.py", + "tests/solution/test_dynamic_borrowing_contract.py", + "tests/solution/test_dynamic_bound_authority.py", + "tests/solution/test_dynamic_bound_query_persistence.py", + "tests/solution/test_dynamic_bound_runtime.py", + "tests/solution/test_dynamic_dcegm_binding.py", + "tests/solution/test_dynamic_nbegm_floor.py", + "tests/solution/test_egm_child_resources_age_factory.py", + "tests/solution/test_egm_reconstructed_action_value.py", + "tests/solution/test_ephemeral_identity.py", + "tests/solution/test_finite_candidate_oracle_mutations.py", + "tests/solution/test_finite_candidate_tuple_economics.py", + "tests/solution/test_finite_nnbegm_parent_query.py", + "tests/solution/test_finite_nnbegm_policy_authority.py", + "tests/solution/test_finite_nnbegm_policy_periods.py", + "tests/solution/test_fixed_component_markov.py", + "tests/solution/test_iid_continuation_reads.py", + "tests/solution/test_independent_types_oracle.py", + "tests/solution/test_infeasible_cell_poison.py", + "tests/solution/test_invariant_assembly_reservation.py", + "tests/solution/test_invariant_blocking.py", + "tests/solution/test_invariant_blocking_scalar.py", + "tests/solution/test_invariant_selected_view_admission.py", + "tests/solution/test_invariant_structural_cache.py", + "tests/solution/test_lazy_fallback_compilation.py", + "tests/solution/test_lazy_producer_frontier.py", + "tests/solution/test_lazy_width_frontier.py", + "tests/solution/test_literal_parent_child_status.py", + "tests/solution/test_materialization_admission.py", + "tests/solution/test_materialization_mutations.py", + "tests/solution/test_nb_capture_admission.py", + "tests/solution/test_nb_income_native_qualification.py", + "tests/solution/test_nb_income_scientific_contract.py", + "tests/solution/test_nb_processed_capture_admission.py", + "tests/solution/test_nb_scientific_capture_defaults.py", + "tests/solution/test_nb_scientific_reference.py", + "tests/solution/test_nbegm_boundary_source_floor.py", + "tests/solution/test_nbegm_child_period_geometry.py", + "tests/solution/test_nbegm_continuation_boundary.py", + "tests/solution/test_nbegm_draw_conditioned_cliffs.py", + "tests/solution/test_nbegm_query_actual_resources.py", + "tests/solution/test_nbegm_query_resource_boundaries.py", + "tests/solution/test_nbegm_query_resource_matrix.py", + "tests/solution/test_nbegm_query_resource_mutations.py", + "tests/solution/test_nbegm_state_feasibility_counts.py", + "tests/solution/test_nbegm_two_state_cliff_geometry.py", + "tests/solution/test_negm_child_only_execution.py", + "tests/solution/test_negm_conditional_resource_status.py", + "tests/solution/test_negm_current_publication.py", + "tests/solution/test_negm_native_binding.py", + "tests/solution/test_negm_no_action_publication.py", + "tests/solution/test_negm_private_publication_policy.py", + "tests/solution/test_negm_shared_runtime_status.py", + "tests/solution/test_nested_dynamic_borrowing.py", + "tests/solution/test_nested_edge_namespace.py", + "tests/solution/test_nested_edge_namespace_matrix.py", + "tests/solution/test_period_capture_eager.py", + "tests/solution/test_period_replay_layout.py", + "tests/solution/test_period_target_value_reads.py", + "tests/solution/test_pipelined_lowering.py", + "tests/solution/test_pipelined_lowering_contract.py", + "tests/solution/test_public_lower_period_candidate.py", + "tests/solution/test_public_lower_period_candidate_gpu.py", + "tests/solution/test_public_period_replay.py", + "tests/solution/test_public_period_runtime_policy.py", + "tests/solution/test_solve_phase_records.py", + "tests/solution/test_state_dependent_borrowing_limit.py", + "tests/solution/test_transition_local_markov_draw.py", + "tests/solution/test_transition_local_process_draw.py", + "tests/solution/test_value_residency.py", + "tests/solution/test_width_selection_across_periods.py", + "tests/test_Q_and_F_per_entry_scales.py", + "tests/test_admission_and_random_sites.py", "tests/test_carried_value_grid_publication.py", - "tests/test_characteristics.py", - "tests/test_checked_dc_declaration_selection.py", + "tests/test_collective_regimes_draft.py", + "tests/test_collective_robustness_pins.py", "tests/test_collective_surface_census.py", "tests/test_conditional_action.py", "tests/test_conditional_action_nodes.py", + "tests/test_dated_regime_models.py", + "tests/test_declaration_examples.py", + "tests/test_discrete_code_arguments.py", "tests/test_dispatchers.py", - "tests/test_distributed_eager_weak_inputs.py", - "tests/test_distributed_entry_allocations.py", - "tests/test_distributed_lifetime.py", - "tests/test_docs_solver_capabilities.py", - "tests/test_dtypes.py", - "tests/test_egm_regime_margin_validation.py", - "tests/test_fixed_transition.py", - "tests/test_float_dtype_invariants.py", - "tests/test_functools.py", - "tests/test_grid_helpers.py", + "tests/test_docs_custom_solver_example.py", + "tests/test_docs_public_api_coverage.py", + "tests/test_exception_hierarchy.py", + "tests/test_explicit_dtype_filter.py", + "tests/test_finalize_regimes.py", + "tests/test_function_representation.py", "tests/test_grid_search_pair.py", "tests/test_grouped_mapper_certificate.py", "tests/test_grouped_mapper_guard_certificate.py", - "tests/test_joint_transition_admission_certificate.py", + "tests/test_hard_max_derivatives.py", + "tests/test_horizon_and_terminal_roots.py", + "tests/test_initial_regimes_grammar.py", + "tests/test_int_dtype_invariants.py", + "tests/test_interval_winner_helper_selection.py", "tests/test_mahler_execution_config.py", - "tests/test_mahler_yum_2024.py", - "tests/test_mapping_leaf.py", + "tests/test_mahler_yum_continuous_outer.py", + "tests/test_model.py", "tests/test_models/test_ds_app2_housing_fues_builds.py", + "tests/test_models/test_ds_app3_discrete_housing_builds.py", "tests/test_nan_diagnostics.py", + "tests/test_nbegm_breakpoints.py", "tests/test_nbegm_constraint_validation.py", - "tests/test_nbegm_grid_hygiene.py", - "tests/test_next_state.py", + "tests/test_nbegm_lowering.py", + "tests/test_nbegm_validation.py", + "tests/test_ndimage.py", + "tests/test_ndimage_unit.py", "tests/test_order_of_states_and_actions_irrelevant.py", - "tests/test_outer_implicit_derivative.py", - "tests/test_perf_loop.py", "tests/test_period_feasibility_validation.py", "tests/test_persistence.py", "tests/test_phased.py", - "tests/test_piecewise_grid_breakpoints.py", "tests/test_process_simulation_laws.py", "tests/test_processes.py", - "tests/test_random.py", - "tests/test_required_operation_contexts.py", + "tests/test_regime_law_cells_without_edges.py", + "tests/test_repin_child_native_refiner.py", "tests/test_reviewed_query_prefix_certificate.py", - "tests/test_root_and_until_grammar.py", - "tests/test_runtime_process_grid_certificate.py", + "tests/test_runtime_process_params.py", + "tests/test_scaled_lottery_reduction_matrix.py", "tests/test_sharded_fallback_across_named_axes.py", + "tests/test_solver_api_beartype_conf.py", + "tests/test_solvers.py", + "tests/test_state_action_space.py", "tests/test_state_conditioned_model.py", "tests/test_state_conditioned_shocks.py", - "tests/test_state_transition_admission_certificate.py", + "tests/test_static_params.py", "tests/test_stochastic.py", "tests/test_stochastic_volatility_example.py", - "tests/test_transition_targets.py", + "tests/test_taste_shocks.py", "tests/test_user_regime.py", - "tests/test_utils.py", - "tests/test_zero_probability_target_contribution.py" + "tests/test_zero_mass_continuations.py", + "tests/test_zero_safe.py" ], "predicted_payload_minutes": 26.01 }, @@ -3124,175 +3124,175 @@ "tests/candidate_certificate/test_repin_corridors.py", "tests/ci/test_ci_workloads_manifest.py", "tests/ci/test_execution_policy.py", - "tests/ci/test_precise_annotations.py", + "tests/ci/test_keyword_only_convention.py", + "tests/ci/test_mahler_execution.py", "tests/ci/test_receipt_plugin.py", - "tests/ci/test_simulation_timing_report.py", - "tests/ci/test_workload_weights.py", + "tests/ci/test_superseded_gate.py", + "tests/ci/test_timing_population.py", + "tests/constraints/test_dynamic_lower_bound.py", "tests/constraints/test_materialize.py", - "tests/constraints/test_processed_constraint.py", - "tests/constraints/test_routes.py", - "tests/constraints/test_solver_build_context.py", - "tests/egm/test_boundary_augmented_savings.py", + "tests/egm/test_below_first_live_counts.py", "tests/egm/test_branch_aggregation.py", - "tests/egm/test_checked_continuation_engine.py", - "tests/egm/test_dynamic_dcegm_asset_weight_factory.py", + "tests/egm/test_dynamic_bound_query_contract.py", + "tests/egm/test_dynamic_dcegm_boundary_factory.py", "tests/egm/test_dynamic_dcegm_factor_classes.py", "tests/egm/test_dynamic_dcegm_floor.py", - "tests/egm/test_dynamic_dcegm_material_passive_products.py", - "tests/egm/test_dynamic_dcegm_plain_periods.py", - "tests/egm/test_dynamic_dcegm_query.py", "tests/egm/test_dynamic_egm_floor.py", - "tests/egm/test_dynamic_envelope_provenance.py", + "tests/egm/test_feature_row_collapsed_support.py", "tests/egm/test_finite_mixed_corner_operator.py", "tests/egm/test_finite_negm_left_association.py", "tests/egm/test_finite_negm_public_mixed_corner_family.py", - "tests/egm/test_finite_negm_query_trace_size.py", - "tests/egm/test_interval_block_winner_reduction.py", + "tests/egm/test_finite_negm_query_integrity_and_ties.py", + "tests/egm/test_literal_first_live_producer_authority.py", "tests/egm/test_literal_predicate_classification.py", - "tests/egm/test_nb_scalar_interpolant_edges.py", - "tests/egm/test_nb_scalar_sampled_run_producer.py", - "tests/egm/test_nb_scalar_value_interpolant.py", - "tests/egm/test_nbegm_associated_savings_edges.py", + "tests/egm/test_nbegm_associated_savings.py", + "tests/egm/test_nbegm_feasibility_envelope.py", "tests/egm/test_nbegm_literal_predicate_consumers.py", - "tests/egm/test_nbegm_mixed_target_identity.py", - "tests/egm/test_nbegm_query_step_transport_ranks.py", - "tests/egm/test_nbegm_routes.py", - "tests/egm/test_nbegm_scalar_native_counts.py", "tests/egm/test_nbegm_segment_blocks.py", - "tests/egm/test_owned_conditional_row.py", + "tests/egm/test_outer_affine_structure.py", + "tests/egm/test_outer_interpolation.py", + "tests/egm/test_outer_stack_legacy_layout.py", + "tests/egm/test_owned_binding_publication.py", + "tests/execution/test_axis_widths.py", + "tests/execution/test_bounded_internal_output_locators.py", + "tests/execution/test_bounded_internal_signatures.py", "tests/execution/test_candidate_residency.py", - "tests/execution/test_checked_continuation_programs.py", "tests/execution/test_compiler_inputs.py", - "tests/execution/test_declared_axis_names.py", + "tests/execution/test_core_program_invariants.py", "tests/execution/test_device_memory_budget_resolution.py", - "tests/execution/test_donation.py", "tests/execution/test_eager_weak_inputs.py", - "tests/execution/test_execution_config.py", - "tests/execution/test_footprint.py", - "tests/execution/test_grid_search_value_accesses.py", "tests/execution/test_hlo_fusions.py", - "tests/execution/test_reductions.py", - "tests/execution/test_value_transfer.py", + "tests/execution/test_hlo_negative_proof.py", + "tests/execution/test_liveness_solve_integration.py", + "tests/execution/test_pending_solve_failures.py", + "tests/execution/test_pending_solve_work.py", + "tests/execution/test_period_transfer_cache.py", + "tests/execution/test_reduction_folds.py", + "tests/execution/test_solve_planning_descriptors.py", + "tests/execution/test_workspace_candidate_residency.py", + "tests/params/test_dormant_edge_series_vocabulary.py", + "tests/params/test_final_target_comparison.py", "tests/params/test_gate_parameter_boundaries.py", - "tests/regime_building/test_adapter_binding_class_matrix.py", - "tests/regime_building/test_canonicalize.py", + "tests/params/test_gated_edge_params_template.py", + "tests/regime_building/test_age_normalization.py", "tests/regime_building/test_carried_state_counts_as_use.py", + "tests/regime_building/test_collective_extended_real.py", "tests/regime_building/test_collective_feasibility_is_shared.py", "tests/regime_building/test_collective_flow_transitions_are_phase_closed.py", - "tests/regime_building/test_collective_without_discrete_action.py", - "tests/regime_building/test_entry_law_returning_several_values.py", - "tests/regime_building/test_fixed_process_params_grammar.py", - "tests/regime_building/test_fixed_zero_host_carriers.py", - "tests/regime_building/test_gated_edge_fold_availability.py", - "tests/regime_building/test_gated_edge_fold_treedef.py", - "tests/regime_building/test_grouped_action_decisions.py", - "tests/regime_building/test_joint_transition_composition.py", - "tests/regime_building/test_mixed_stochasticity_phases.py", - "tests/regime_building/test_next_prefix_is_reserved.py", - "tests/regime_building/test_nonterminal_collective_solve.py", - "tests/regime_building/test_period_signatures.py", + "tests/regime_building/test_constraint_phase_invariance.py", + "tests/regime_building/test_create_regime_params_template.py", + "tests/regime_building/test_fold_repeated_iid_shock.py", + "tests/regime_building/test_fold_target_pool_is_age_resolved.py", + "tests/regime_building/test_gated_edge_arg_provenance.py", + "tests/regime_building/test_gated_edge_pruning_roots.py", "tests/regime_building/test_process_code_binding.py", - "tests/regime_building/test_process_code_mixed_kind_binding.py", - "tests/regime_building/test_process_value_adapter_context.py", - "tests/regime_building/test_reachability.py", - "tests/regime_building/test_reachable_states.py", - "tests/regime_building/test_reference_interpolation_minus_inf.py", - "tests/regime_building/test_same_period_ref_process_state_interpolation.py", + "tests/regime_building/test_process_code_produced_values.py", + "tests/regime_building/test_process_params.py", "tests/regime_building/test_same_period_ref_projection_free_params.py", - "tests/regime_building/test_streaming_max_Q_over_a.py", - "tests/simulation/initial_conditions/test_admission_preflight_state_reuse.py", - "tests/simulation/initial_conditions/test_discrete_states.py", - "tests/simulation/initial_conditions/test_public_api.py", + "tests/regime_building/test_simulate_guards.py", + "tests/regime_building/test_stochastic_marriage_offers_collective_solve.py", + "tests/simulation/initial_conditions/test_admission_preflight_buffers.py", + "tests/simulation/initial_conditions/test_build_initial_states.py", + "tests/simulation/initial_conditions/test_own_stakeholder_required.py", "tests/simulation/initial_conditions/test_structure.py", - "tests/simulation/test_additive_value_comparison.py", - "tests/simulation/test_automatic_solve_residency.py", + "tests/simulation/test_aot_same_period_refs.py", + "tests/simulation/test_ceiling_narrowed_pin_dispatch.py", "tests/simulation/test_chunk_budget_selection.py", - "tests/simulation/test_chunk_diagnostic_budget.py", + "tests/simulation/test_chunk_carrier_budget.py", + "tests/simulation/test_chunk_shared_inputs.py", + "tests/simulation/test_compute_starting_periods.py", + "tests/simulation/test_dissolution_route_accounting.py", "tests/simulation/test_dissolution_route_scheduling.py", - "tests/simulation/test_egm_associated_policy_read.py", - "tests/simulation/test_fallback_reads_carried_target_state.py", + "tests/simulation/test_fallback_state_writes.py", "tests/simulation/test_finite_policy_budget.py", - "tests/simulation/test_foreign_result_allocation.py", - "tests/simulation/test_forward_domain_witness.py", + "tests/simulation/test_gated_budgeted.py", + "tests/simulation/test_gated_edge_disjoint_target_windows.py", "tests/simulation/test_independent_chunk_selection.py", - "tests/simulation/test_joint_transition_entry_admission.py", + "tests/simulation/test_law_reading_a_realized_draw.py", + "tests/simulation/test_membership_allocation_budget.py", "tests/simulation/test_native_value_admission.py", + "tests/simulation/test_nnbegm_outer_target_replay.py", "tests/simulation/test_nnbegm_split_workflow_parity.py", + "tests/simulation/test_parallel_trace_context.py", "tests/simulation/test_phased_edge_fallback.py", "tests/simulation/test_policy_lookup_action_values.py", "tests/simulation/test_policy_lookup_taste_shocks.py", "tests/simulation/test_population_allocation_budget.py", - "tests/simulation/test_prepared_unbudgeted_dispatch.py", - "tests/simulation/test_reachability_phase_split.py", + "tests/simulation/test_regime_transition_entry_admission.py", + "tests/simulation/test_reserved_chunk_widths.py", + "tests/simulation/test_residency_owner_epochs.py", "tests/simulation/test_runtime_budget.py", - "tests/simulation/test_runtime_process_grid_admission.py", - "tests/simulation/test_simulation_preparation_reuse.py", - "tests/simulation/test_simulation_programs.py", - "tests/simulation/test_state_transition_entry_admission.py", - "tests/simulation/test_taste_stream_allocation.py", - "tests/simulation/test_unbudgeted_subject_width.py", - "tests/simulation/test_update_states.py", - "tests/test_admission_and_random_sites.py", - "tests/test_argmax.py", + "tests/simulation/test_series_entry_admission.py", + "tests/simulation/test_simulate_constraint_reads_a_post_decision.py", + "tests/simulation/test_simulate_v_validation.py", + "tests/simulation/test_simulation_entry_budget.py", + "tests/simulation/test_simulation_plan_summary.py", + "tests/simulation/test_state_grid_period_axes_mutations.py", + "tests/simulation/test_stateless_collective_validation.py", + "tests/simulation/test_subject_chunk_planning.py", + "tests/simulation/test_timing_receipts.py", + "tests/simulation/test_top_first_public_simulation.py", + "tests/simulation/test_transition_dependent_targets.py", + "tests/simulation/test_validation_compile_reuse.py", + "tests/test_ages.py", "tests/test_ast_inspection.py", "tests/test_benchmark_models_construct.py", - "tests/test_broadcast_pruning_joint_phase_closure.py", - "tests/test_case_piece.py", - "tests/test_collective_regime_model_level_slots.py", - "tests/test_collective_regimes_example.py", - "tests/test_collective_robustness_pins.py", + "tests/test_candidate_certificate_seal_check.py", + "tests/test_collective_public_workflow.py", "tests/test_compilation_cache.py", "tests/test_composite_state_boundaries.py", "tests/test_composite_states.py", + "tests/test_consumption_savings_regime.py", + "tests/test_continuous_assets_aca_certificate.py", "tests/test_continuous_assets_aca_vocabulary.py", "tests/test_cross_mesh_value_read_admission.py", - "tests/test_dated_regime_declarations.py", - "tests/test_demand_lowering.py", + "tests/test_discrete_code_arguments.py", "tests/test_distributed_entry_allocations.py", "tests/test_distributed_placement.py", "tests/test_distributed_simulation_value_reads.py", - "tests/test_docs_constructor_kwargs.py", - "tests/test_economic_validation.py", - "tests/test_egm_regime_margin_validation.py", + "tests/test_docs_public_api_coverage.py", + "tests/test_docs_review_contracts.py", "tests/test_exact_affine_handler_inventory.py", + "tests/test_finalize_regimes.py", "tests/test_folded_derived_code_alias.py", "tests/test_function_output_grid_indexing.py", "tests/test_golden_section.py", + "tests/test_grids.py", "tests/test_grouped_mapper_guard_certificate.py", - "tests/test_initial_regimes_grammar.py", + "tests/test_hard_max_derivatives.py", + "tests/test_hatch_build.py", + "tests/test_int_dtype_invariants.py", + "tests/test_interval_winner_helper_selection.py", "tests/test_joint_normal_covariance_factor.py", - "tests/test_koopmans_aggregation.py", + "tests/test_mahler_execution_config.py", "tests/test_model.py", + "tests/test_model_broadcast.py", "tests/test_model_level_code_arguments.py", - "tests/test_model_seal.py", - "tests/test_models/test_ds_app2_housing_fues_builds.py", - "tests/test_models/test_example_law_params.py", + "tests/test_models/test_ds_app2_housing_builds.py", + "tests/test_nan_diagnostics.py", "tests/test_nbegm_constraint_validation.py", - "tests/test_nbegm_segments.py", - "tests/test_next_state.py", + "tests/test_ndimage.py", + "tests/test_ndimage_unit.py", "tests/test_normal_process_grid_certificate.py", - "tests/test_order_of_states_and_actions_irrelevant.py", "tests/test_owned_query_helper_certificate.py", - "tests/test_period_time.py", "tests/test_persistence.py", + "tests/test_phased.py", + "tests/test_piecewise_grid_breakpoints.py", "tests/test_pytree_by_period.py", "tests/test_random.py", - "tests/test_regime_slot_read_ledger.py", - "tests/test_regime_transition_admission_certificate.py", - "tests/test_release_compiled_programs.py", - "tests/test_required_operation_contexts.py", - "tests/test_root_and_until_grammar.py", + "tests/test_repin_checked_dc_overloads.py", + "tests/test_runtime_params.py", + "tests/test_scaled_lottery_reduction_matrix.py", "tests/test_selection_integrity_and_sites.py", - "tests/test_shock_draw.py", - "tests/test_solver_api_out_of_tree.py", + "tests/test_solver_api_beartype_conf.py", "tests/test_state_conditioned_model.py", - "tests/test_sum_in_value_order_short_axis.py", - "tests/test_taste_shocks.py", - "tests/test_transition_targets.py", - "tests/test_validate_param_types.py", - "tests/test_zero_safe.py" + "tests/test_state_transition_admission_certificate.py", + "tests/test_target_only_carried_constraint.py", + "tests/test_tiled_productmap.py", + "tests/test_tree_aliases.py", + "tests/test_value_label_series_keys.py" ], - "predicted_payload_minutes": 21.32 + "predicted_payload_minutes": 21.34 }, { "id": "general-shard-2-fp32-linux", @@ -3325,270 +3325,179 @@ ], "junit": "junit-cpu-fp32-Linux-general-2.xml", "files": [ - "tests/candidate_certificate/test_backward_publication_corridor.py", - "tests/ci/test_benchmark_workflow_contract.py", - "tests/ci/test_ci_workloads_guardrails.py", + "tests/candidate_certificate/test_generate_sources.py", + "tests/ci/test_cpu_workflow_contract.py", "tests/ci/test_payload_types.py", - "tests/ci/test_simulation_timing_workflow.py", + "tests/ci/test_policy_launcher.py", + "tests/ci/test_probe_native.py", + "tests/ci/test_simulation_timing_report.py", "tests/constraints/test_nbegm_constraint_boundaries.py", + "tests/constraints/test_routes.py", "tests/egm/test_adaptive_discrete_profiles.py", "tests/egm/test_augmented_egm_support.py", "tests/egm/test_continuation_source_activity.py", - "tests/egm/test_dynamic_dcegm_boundary_factory.py", "tests/egm/test_dynamic_dcegm_consumers.py", "tests/egm/test_dynamic_dcegm_node_factory.py", "tests/egm/test_dynamic_dcegm_node_status.py", "tests/egm/test_dynamic_dcegm_passive_consumers.py", + "tests/egm/test_dynamic_dcegm_passive_products.py", + "tests/egm/test_dynamic_dcegm_plain_periods.py", + "tests/egm/test_dynamic_dcegm_query.py", "tests/egm/test_dynamic_dcegm_stencil_frontier.py", - "tests/egm/test_egm_savings_support_pytree.py", - "tests/egm/test_envelope_ordinary_footprint.py", + "tests/egm/test_dynamic_envelope_provenance.py", "tests/egm/test_finite_corner_transport_ranks.py", + "tests/egm/test_finite_negm_owned_germs.py", + "tests/egm/test_finite_negm_paired_endpoint.py", "tests/egm/test_finite_negm_public_actual_corner_family.py", - "tests/egm/test_finite_negm_query_integrity_and_ties.py", "tests/egm/test_finite_negm_recovered_side_tie.py", "tests/egm/test_finite_nnbegm_query.py", - "tests/egm/test_finite_nnbegm_query_counts.py", - "tests/egm/test_finite_outer_signed_support.py", + "tests/egm/test_interval_block_winner_production_owner.py", "tests/egm/test_interval_block_winner_source_obligations.py", - "tests/egm/test_literal_first_live_producer_authority.py", "tests/egm/test_nb_sampled_run_support_cuts.py", - "tests/egm/test_nested_floor_operand.py", - "tests/egm/test_outer_carry_fixed_cost.py", - "tests/egm/test_outer_interpolation.py", - "tests/egm/test_owned_binding_publication.py", + "tests/egm/test_nbegm_counted_original_rows.py", + "tests/egm/test_nbegm_kink_aware_interp.py", + "tests/egm/test_nbegm_metadata_collection.py", + "tests/egm/test_nbegm_mixed_target_identity.py", + "tests/egm/test_outer_active_prefix.py", + "tests/egm/test_outer_refinement.py", + "tests/egm/test_outer_replay_capability.py", "tests/egm/test_plain_dc_reconstructed_action.py", "tests/egm/test_query_point_discrete_feasibility.py", - "tests/execution/test_axis_widths_per_regime.py", - "tests/execution/test_bound_status_mapping.py", - "tests/execution/test_core_plan_record.py", + "tests/egm/test_scalar_continuation_read_counts.py", + "tests/execution/test_bounded_workspace_planning.py", + "tests/execution/test_checked_continuation_programs.py", + "tests/execution/test_compiler_allocation_reservation.py", + "tests/execution/test_covered_axes.py", + "tests/execution/test_donation.py", + "tests/execution/test_execution_config.py", "tests/execution/test_fused_gather_width.py", - "tests/execution/test_liveness.py", + "tests/execution/test_reduced_axis.py", + "tests/execution/test_reductions.py", + "tests/execution/test_scheduler.py", "tests/execution/test_unused_argument_budget.py", "tests/execution/test_workspace_planning.py", - "tests/params/test_edge_params.py", "tests/regime_building/test_age_specialization.py", + "tests/regime_building/test_canonicalize.py", "tests/regime_building/test_collective_fold_rejected.py", - "tests/regime_building/test_collective_readout.py", + "tests/regime_building/test_collective_utility_declaration.py", + "tests/regime_building/test_collective_without_discrete_action.py", "tests/regime_building/test_continuation_expectation_oracle.py", - "tests/regime_building/test_decomposed_views.py", - "tests/regime_building/test_draw_law_inputs_are_kept.py", "tests/regime_building/test_draw_read_states_are_kept.py", - "tests/regime_building/test_fixed_zero_joint_edges.py", - "tests/regime_building/test_fold_iid_shocks.py", + "tests/regime_building/test_fixed_process_params.py", + "tests/regime_building/test_fixed_zero_joint_source_states.py", + "tests/regime_building/test_fold_guard_complete.py", "tests/regime_building/test_fold_state_conditioned_weights.py", - "tests/regime_building/test_fold_target_entry_draw.py", - "tests/regime_building/test_gated_edge_off_grid.py", + "tests/regime_building/test_gate_output_dtype.py", + "tests/regime_building/test_gated_edge_code_arguments.py", + "tests/regime_building/test_gated_edge_fold_availability.py", + "tests/regime_building/test_gated_edge_fold_treedef.py", "tests/regime_building/test_gated_edge_params_are_per_edge.py", - "tests/regime_building/test_gated_edge_projection_coverage.py", - "tests/regime_building/test_gated_edge_pruning_roots.py", "tests/regime_building/test_gated_edges_collective_solve.py", - "tests/regime_building/test_immutable_build_outputs.py", - "tests/regime_building/test_joint_transition_simulate_phase_validation.py", "tests/regime_building/test_markov_law_on_continuous_state.py", - "tests/regime_building/test_pareto_normalization_overflow.py", + "tests/regime_building/test_next_prefix_is_reserved.py", + "tests/regime_building/test_period_signatures.py", "tests/regime_building/test_phased_stakeholder_identity.py", "tests/regime_building/test_process_code_input_domain.py", - "tests/regime_building/test_process_code_produced_values.py", "tests/regime_building/test_process_entry_plan.py", "tests/regime_building/test_projected_landing_operands.py", - "tests/regime_building/test_required_phase_annotations.py", - "tests/regime_building/test_row_split_synthetic.py", + "tests/regime_building/test_pruning_sees_composed_resources.py", + "tests/regime_building/test_regime_mixture_reduction.py", "tests/regime_building/test_state_handoff_declaration_message.py", - "tests/regime_building/test_stateless_collective_target.py", - "tests/regime_building/test_stochastic_marriage_offers_collective_solve.py", "tests/regime_building/test_target_only_process_rejected.py", - "tests/regime_building/test_terminal_collective_solve.py", "tests/regime_building/test_terminal_value_constraints.py", - "tests/regime_building/test_value_dependent_declarations.py", - "tests/regime_building/test_with_engine_functions.py", + "tests/regime_building/test_zero_safe_gradients.py", "tests/simulation/initial_conditions/test_admission_action_grid_entry.py", + "tests/simulation/initial_conditions/test_admission_feasibility.py", "tests/simulation/initial_conditions/test_admission_preflight_contract.py", "tests/simulation/initial_conditions/test_admission_preflight_ordering.py", - "tests/simulation/initial_conditions/test_dataframe_conversion.py", - "tests/simulation/initial_conditions/test_feasibility_mask.py", - "tests/simulation/initial_conditions/test_own_stakeholder_required.py", - "tests/simulation/initial_conditions/test_state_names_checked_at_every_log_level.py", - "tests/simulation/test_aot_collective_and_gated.py", + "tests/simulation/initial_conditions/test_discrete_states.py", + "tests/simulation/initial_conditions/test_public_api.py", + "tests/simulation/test_additional_target_availability.py", + "tests/simulation/test_chunk_diagnostic_budget.py", + "tests/simulation/test_chunk_dispatch_profiles.py", + "tests/simulation/test_chunk_profile_cache_identity.py", "tests/simulation/test_chunk_profile_selection.py", - "tests/simulation/test_chunk_shared_inputs.py", "tests/simulation/test_compiler_allocation_admission.py", - "tests/simulation/test_compiler_input_residency.py", - "tests/simulation/test_complete_chunk_profile.py", - "tests/simulation/test_engine_mapping_fields.py", + "tests/simulation/test_counterfactual_taste_noise.py", "tests/simulation/test_entry_operation_reuse.py", "tests/simulation/test_explicit_entry_solve_simulate_parity.py", "tests/simulation/test_finite_policy_diagnostics.py", "tests/simulation/test_finite_replay_payload_transport.py", + "tests/simulation/test_forward_domain_witness.py", "tests/simulation/test_forward_program_profiles.py", - "tests/simulation/test_gate_population_extent.py", - "tests/simulation/test_host_operations.py", - "tests/simulation/test_independent_taste_draws.py", - "tests/simulation/test_independent_taste_stream.py", - "tests/simulation/test_law_reading_a_realized_draw.py", - "tests/simulation/test_parallel_chunk_compilation.py", - "tests/simulation/test_profile_comparison.py", - "tests/simulation/test_program_runtime.py", - "tests/simulation/test_random_allocation_budget.py", - "tests/simulation/test_reserved_chunk_widths.py", - "tests/simulation/test_residency.py", - "tests/simulation/test_residency_projection.py", - "tests/simulation/test_series_entry_admission.py", - "tests/simulation/test_shock_paths_mesh.py", - "tests/simulation/test_simulate_constraint_reads_a_post_decision.py", - "tests/simulation/test_simulate_n_nbegm_continuous.py", - "tests/simulation/test_simulate_terminal_rows.py", - "tests/simulation/test_simulate_v_validation.py", - "tests/simulation/test_simulation_entry_budget.py", - "tests/simulation/test_simulation_period_inputs.py", - "tests/simulation/test_stateless_collective_validation.py", - "tests/simulation/test_subject_batching.py", - "tests/simulation/test_subject_chunk_planning.py", - "tests/simulation/test_supplied_V_shape_validation.py", - "tests/simulation/test_timing_receipts.py", - "tests/simulation/test_top_first_chunk_selection.py", - "tests/simulation/test_transition_dependent_targets.py", - "tests/simulation/test_trim_pad_covers_every_field.py", - "tests/solution/test_action_partitions.py", - "tests/solution/test_action_partitions_devices.py", - "tests/solution/test_action_partitions_route.py", - "tests/solution/test_block_major_lifetime.py", - "tests/solution/test_bounded_width_search.py", - "tests/solution/test_candidate_census.py", - "tests/solution/test_capture_padding.py", - "tests/solution/test_cell_frontier_ceiling.py", - "tests/solution/test_child_status_family.py", - "tests/solution/test_collective_cell_ceiling.py", - "tests/solution/test_compilation_key_mutations.py", - "tests/solution/test_compile_declared_core.py", - "tests/solution/test_component_job_acceptance.py", - "tests/solution/test_component_job_placement.py", - "tests/solution/test_component_jobs.py", - "tests/solution/test_continuation_unread_state_broadcast.py", - "tests/solution/test_covered_axis_parity.py", - "tests/solution/test_cuda_lowering_identity.py", - "tests/solution/test_decoupled.py", - "tests/solution/test_diagnostics_host_age.py", - "tests/solution/test_dynamic_borrowing_contract.py", - "tests/solution/test_dynamic_bound_authority.py", - "tests/solution/test_dynamic_bound_query_persistence.py", - "tests/solution/test_dynamic_bound_runtime.py", - "tests/solution/test_dynamic_dcegm_binding.py", - "tests/solution/test_dynamic_nbegm_floor.py", - "tests/solution/test_egm_child_resources_age_factory.py", - "tests/solution/test_egm_reconstructed_action_value.py", - "tests/solution/test_ephemeral_identity.py", - "tests/solution/test_finite_candidate_oracle_mutations.py", - "tests/solution/test_finite_candidate_tuple_economics.py", - "tests/solution/test_finite_nnbegm_parent_query.py", - "tests/solution/test_finite_nnbegm_policy_authority.py", - "tests/solution/test_finite_nnbegm_policy_periods.py", - "tests/solution/test_fixed_component_markov.py", - "tests/solution/test_iid_continuation_reads.py", - "tests/solution/test_independent_types_oracle.py", - "tests/solution/test_infeasible_cell_poison.py", - "tests/solution/test_invariant_assembly_reservation.py", - "tests/solution/test_invariant_blocking.py", - "tests/solution/test_invariant_blocking_scalar.py", - "tests/solution/test_invariant_selected_view_admission.py", - "tests/solution/test_invariant_structural_cache.py", - "tests/solution/test_lazy_fallback_compilation.py", - "tests/solution/test_lazy_producer_frontier.py", - "tests/solution/test_lazy_width_frontier.py", - "tests/solution/test_literal_parent_child_status.py", - "tests/solution/test_materialization_admission.py", - "tests/solution/test_materialization_mutations.py", - "tests/solution/test_nb_capture_admission.py", - "tests/solution/test_nb_income_native_qualification.py", - "tests/solution/test_nb_income_scientific_contract.py", - "tests/solution/test_nb_processed_capture_admission.py", - "tests/solution/test_nb_scientific_capture_defaults.py", - "tests/solution/test_nb_scientific_reference.py", - "tests/solution/test_nbegm_boundary_source_floor.py", - "tests/solution/test_nbegm_child_period_geometry.py", - "tests/solution/test_nbegm_continuation_boundary.py", - "tests/solution/test_nbegm_draw_conditioned_cliffs.py", - "tests/solution/test_nbegm_query_actual_resources.py", - "tests/solution/test_nbegm_query_resource_boundaries.py", - "tests/solution/test_nbegm_query_resource_matrix.py", - "tests/solution/test_nbegm_query_resource_mutations.py", - "tests/solution/test_nbegm_state_feasibility_counts.py", - "tests/solution/test_nbegm_two_state_cliff_geometry.py", - "tests/solution/test_negm_child_only_execution.py", - "tests/solution/test_negm_conditional_resource_status.py", - "tests/solution/test_negm_current_publication.py", - "tests/solution/test_negm_native_binding.py", - "tests/solution/test_negm_no_action_publication.py", - "tests/solution/test_negm_private_publication_policy.py", - "tests/solution/test_negm_shared_runtime_status.py", - "tests/solution/test_nested_dynamic_borrowing.py", - "tests/solution/test_nested_edge_namespace.py", - "tests/solution/test_nested_edge_namespace_matrix.py", - "tests/solution/test_period_capture_eager.py", - "tests/solution/test_period_replay_layout.py", - "tests/solution/test_period_target_value_reads.py", - "tests/solution/test_pipelined_lowering.py", - "tests/solution/test_pipelined_lowering_contract.py", - "tests/solution/test_public_lower_period_candidate.py", - "tests/solution/test_public_lower_period_candidate_gpu.py", - "tests/solution/test_public_period_replay.py", - "tests/solution/test_public_period_runtime_policy.py", - "tests/solution/test_solve_phase_records.py", - "tests/solution/test_state_dependent_borrowing_limit.py", - "tests/solution/test_transition_local_markov_draw.py", - "tests/solution/test_transition_local_process_draw.py", - "tests/solution/test_value_residency.py", - "tests/solution/test_width_selection_across_periods.py", + "tests/simulation/test_gated_edges_subject_sharding.py", + "tests/simulation/test_host_preparation_lifetime.py", + "tests/simulation/test_independent_taste_stream.py", + "tests/simulation/test_normal_process_grid_admission.py", + "tests/simulation/test_pandas_entry_admission.py", + "tests/simulation/test_planned_finite_replay.py", + "tests/simulation/test_pointwise_canonical_q.py", + "tests/simulation/test_process_grid_entry_admission.py", + "tests/simulation/test_program_runtime.py", + "tests/simulation/test_random_allocation_budget.py", + "tests/simulation/test_simulate_stateless_continuation.py", + "tests/simulation/test_simulation_memory_report_reuse.py", + "tests/simulation/test_subject_batching.py", + "tests/simulation/test_subject_tile_remainder.py", + "tests/simulation/test_supplied_V_shape_validation.py", + "tests/simulation/test_taste_stream_allocation.py", + "tests/simulation/test_trim_pad_covers_every_field.py", + "tests/simulation/test_unbudgeted_subject_width.py", + "tests/simulation/test_update_states.py", "tests/test_action_partition_certificate.py", + "tests/test_analytical_solution.py", "tests/test_augmented_egm_support_certificate.py", - "tests/test_beartype_claw.py", + "tests/test_broadcast_pruning_joint_phase_closure.py", + "tests/test_broadcast_pruning_keeps_entry_laws.py", "tests/test_carried_states.py", - "tests/test_ci_solution_shards.py", + "tests/test_case_piece_declarations.py", + "tests/test_characteristics.py", + "tests/test_checked_dc_declaration_selection.py", + "tests/test_collective_household_example.py", + "tests/test_collective_robustness_pins.py", "tests/test_compiler_allocation_reservation_certificate.py", + "tests/test_conditional_action_nodes.py", + "tests/test_constraint_language_acceptance.py", "tests/test_continuous_outer_audit_regressions.py", + "tests/test_dated_regime_declarations.py", "tests/test_dated_regime_models.py", + "tests/test_demand_worklists.py", "tests/test_dispatchers.py", - "tests/test_distributed_constant_simulation.py", - "tests/test_distributed_eager_weak_inputs.py", - "tests/test_distributed_lifetime.py", - "tests/test_distributed_simulation_values.py", - "tests/test_distributed_template_placement.py", - "tests/test_docs_review_contracts.py", - "tests/test_dtypes.py", - "tests/test_exact_affine_broadcast_contract.py", - "tests/test_exception_hierarchy.py", + "tests/test_distributed_taste_stream.py", + "tests/test_docs_constructor_kwargs.py", "tests/test_external_solver_conformance.py", "tests/test_feasibility_admission_certificate.py", "tests/test_fgp_model.py", - "tests/test_fold_dependency_closure_age_specialized.py", - "tests/test_granular_regime_transitions.py", - "tests/test_grouped_mapper_eligibility.py", - "tests/test_int_dtype_invariants.py", + "tests/test_function_representation.py", + "tests/test_grids_are_outcome_spaces.py", + "tests/test_imports.py", "tests/test_invalid_vf.py", - "tests/test_mahler_yum_knot_interpolation.py", - "tests/test_models/test_ds_app2_housing_builds.py", "tests/test_models/test_ds_app3_discrete_housing_builds.py", - "tests/test_nbegm_lowering.py", - "tests/test_nbegm_validation.py", + "tests/test_namespace.py", "tests/test_off_grid_count_capacity.py", - "tests/test_outer_implicit_derivative.py", - "tests/test_outer_search.py", - "tests/test_params_validation_reuse.py", - "tests/test_piecewise_grid_breakpoints.py", - "tests/test_regime_law_cells_without_edges.py", - "tests/test_repin_child_native_refiner.py", + "tests/test_pandas_utils.py", "tests/test_repin_precise_helper_overloads.py", + "tests/test_sequence_leaf.py", "tests/test_sharded_fallback_across_named_axes.py", "tests/test_sharded_state_across_gated_edge.py", - "tests/test_single_feasible_action.py", + "tests/test_solution_on_toy_model_deterministic.py", + "tests/test_solver_api_out_of_tree.py", + "tests/test_solvers.py", + "tests/test_static_params.py", "tests/test_stochastic.py", - "tests/test_stochastic_volatility_example.py", - "tests/test_target_only_carried_constraint.py", + "tests/test_sum_in_value_order_short_axis.py", "tests/test_temporal_params.py", + "tests/test_transition_checks.py", + "tests/test_transition_targets.py", + "tests/test_ulp_assertion.py", "tests/test_user_regime.py", + "tests/test_validate_param_types.py", "tests/test_validate_regime_transition_probs.py", - "tests/test_zero_mass_continuations.py" + "tests/test_validation_scalar_actions.py", + "tests/test_zero_probability_target_contribution.py", + "tests/test_zero_safe.py" ], - "predicted_payload_minutes": 21.32 + "predicted_payload_minutes": 21.34 }, { "id": "general-shard-3-fp32-linux", @@ -3621,179 +3530,179 @@ ], "junit": "junit-cpu-fp32-Linux-general-3.xml", "files": [ - "tests/candidate_certificate/test_tool_module_identity_and_seals.py", - "tests/ci/test_cpu_workflow_contract.py", - "tests/ci/test_keyword_only_convention.py", - "tests/ci/test_policy_launcher.py", - "tests/ci/test_probe_native.py", - "tests/constraints/test_condition_ir.py", - "tests/constraints/test_dynamic_lower_bound.py", - "tests/egm/test_axis_boundaries.py", + "tests/candidate_certificate/test_backward_publication_corridor.py", + "tests/ci/test_benchmark_workflow_contract.py", + "tests/ci/test_precise_annotations.py", + "tests/ci/test_workflow_policy_activation.py", + "tests/ci/test_workload_weights.py", + "tests/constraints/test_processed_constraint.py", + "tests/constraints/test_solver_build_context.py", + "tests/egm/test_boundary_augmented_savings.py", + "tests/egm/test_case_conditions.py", "tests/egm/test_dc_predicate_admission.py", - "tests/egm/test_dynamic_dcegm_passive_products.py", + "tests/egm/test_dynamic_continuation_status.py", "tests/egm/test_dynamic_dcegm_publication.py", "tests/egm/test_dynamic_dcegm_query_authority.py", "tests/egm/test_finite_negm_owned_germ_transforms.py", "tests/egm/test_finite_negm_public_actual_corner.py", - "tests/egm/test_nbegm_associated_savings.py", - "tests/egm/test_nbegm_counted_original_rows.py", - "tests/egm/test_nbegm_feasibility_envelope.py", - "tests/egm/test_nbegm_kink_aware_interp.py", - "tests/egm/test_nbegm_metadata_collection.py", + "tests/egm/test_finite_negm_query_trace_size.py", + "tests/egm/test_finite_nnbegm_query_counts.py", + "tests/egm/test_finite_outer_signed_support.py", + "tests/egm/test_interval_block_winner_algebra.py", + "tests/egm/test_nb_scalar_value_interpolant.py", + "tests/egm/test_nbegm_callable_schedule_and_refusals.py", + "tests/egm/test_nbegm_conditional_query_producer.py", "tests/egm/test_nbegm_predicate_period_qualification.py", - "tests/egm/test_nested_floor_original_status.py", - "tests/egm/test_outer_active_prefix.py", + "tests/egm/test_nbegm_query_step_transport_ranks.py", + "tests/egm/test_nbegm_routes.py", + "tests/egm/test_nbegm_validation_primitives.py", "tests/egm/test_outer_bank_array_transport.py", + "tests/egm/test_outer_carry_fixed_cost.py", "tests/egm/test_outer_inversion.py", - "tests/egm/test_outer_replay_capability.py", - "tests/egm/test_outer_stack_legacy_layout.py", - "tests/egm/test_scalar_continuation_read_counts.py", - "tests/execution/test_axis_widths.py", - "tests/execution/test_bounded_workspace_planning.py", - "tests/execution/test_compiler_allocation_reservation.py", - "tests/execution/test_continuation_leaf_reads.py", - "tests/execution/test_core_program_graph.py", - "tests/execution/test_core_program_invariants.py", + "tests/execution/test_abstract_core_program.py", + "tests/execution/test_axis_widths_per_regime.py", + "tests/execution/test_bootstrap_tile_width.py", + "tests/execution/test_bound_status_mapping.py", "tests/execution/test_covering_acceptance.py", - "tests/execution/test_hlo_negative_proof.py", - "tests/execution/test_internal_outputs.py", - "tests/execution/test_liveness_solve_integration.py", - "tests/execution/test_output_layout.py", - "tests/execution/test_pending_solve_work.py", - "tests/execution/test_period_transfer_cache.py", - "tests/execution/test_placement.py", - "tests/execution/test_reduced_axis.py", - "tests/execution/test_scheduler.py", - "tests/execution/test_solve_planning_descriptors.py", - "tests/execution/test_value_views.py", - "tests/execution/test_workspace_candidate_residency.py", - "tests/params/test_final_target_comparison.py", - "tests/params/test_gate_reads_on_the_target_domain.py", + "tests/execution/test_eager_core.py", + "tests/execution/test_grid_search_value_accesses.py", + "tests/execution/test_transfer_catalogue.py", + "tests/execution/test_value_transfer.py", "tests/regime_building/test_additive_shock_transition.py", "tests/regime_building/test_carried_state_through_gated_self_loop.py", - "tests/regime_building/test_collective_extended_real.py", - "tests/regime_building/test_collective_phase_role_class_invariant.py", + "tests/regime_building/test_collective_continuation_mass.py", "tests/regime_building/test_collective_regime_simulate.py", - "tests/regime_building/test_collective_utility_declaration.py", - "tests/regime_building/test_create_regime_params_template.py", + "tests/regime_building/test_constraint_plan.py", + "tests/regime_building/test_draw_law_inputs_are_kept.py", "tests/regime_building/test_egm_policy_read_gate.py", - "tests/regime_building/test_fixed_process_params.py", - "tests/regime_building/test_fold_guard_complete.py", - "tests/regime_building/test_fold_repeated_iid_shock.py", - "tests/regime_building/test_gate_output_dtype.py", - "tests/regime_building/test_gated_edge_code_arguments.py", - "tests/regime_building/test_gated_edge_period_context.py", + "tests/regime_building/test_entry_law_returning_several_values.py", + "tests/regime_building/test_fixed_zero_host_carriers.py", + "tests/regime_building/test_fixed_zero_joint_edges.py", + "tests/regime_building/test_fold_iid_shocks.py", + "tests/regime_building/test_gate_route_delta_same_target_fallback.py", + "tests/regime_building/test_gated_edge_gate_process_state_interpolation.py", + "tests/regime_building/test_gated_edge_off_grid.py", "tests/regime_building/test_gated_edge_simulate_operand_recompute.py", + "tests/regime_building/test_handoff_into_runtime_parameterized_process.py", + "tests/regime_building/test_immutable_build_outputs.py", "tests/regime_building/test_invariant_components.py", + "tests/regime_building/test_joint_transition_canonicalization.py", + "tests/regime_building/test_joint_transition_composition.py", "tests/regime_building/test_joint_transition_fixed_params.py", - "tests/regime_building/test_joint_transition_public.py", + "tests/regime_building/test_joint_transition_params.py", + "tests/regime_building/test_joint_transition_phases.py", + "tests/regime_building/test_mixed_stochasticity_phases.py", "tests/regime_building/test_pareto_objective.py", - "tests/regime_building/test_phase_resolution_is_slot_local.py", - "tests/regime_building/test_process_params.py", + "tests/regime_building/test_phased_marker_rejected.py", + "tests/regime_building/test_policy_read_gate_soundness.py", + "tests/regime_building/test_process_code_generated_entry_domain.py", "tests/regime_building/test_projected_value_reads_realised_iid_shock.py", - "tests/regime_building/test_pruning_sees_composed_resources.py", - "tests/regime_building/test_regime_mixture_reduction.py", - "tests/regime_building/test_same_period_ref_period_axes.py", - "tests/regime_building/test_simulate_guards.py", - "tests/regime_building/test_tiled_state_reductions.py", - "tests/regime_building/test_zero_safe_gradients.py", - "tests/simulation/initial_conditions/test_admission_feasibility.py", - "tests/simulation/initial_conditions/test_admission_preflight_buffers.py", - "tests/simulation/initial_conditions/test_build_initial_states.py", - "tests/simulation/test_additional_target_availability.py", + "tests/regime_building/test_reachability.py", + "tests/regime_building/test_reference_interpolation_minus_inf.py", + "tests/regime_building/test_regime_processing.py", + "tests/regime_building/test_root_function_set_agreement.py", + "tests/regime_building/test_simulate_gate_param_and_leg_selection.py", + "tests/regime_building/test_streaming_max_Q_over_a.py", + "tests/regime_building/test_value_constraints_collective_solve.py", + "tests/simulation/initial_conditions/test_dataframe_conversion.py", + "tests/simulation/initial_conditions/test_feasibility_host_annotations.py", + "tests/simulation/initial_conditions/test_state_names_checked_at_every_log_level.py", "tests/simulation/test_branch_destinations_are_complete.py", "tests/simulation/test_budget_lifecycle.py", - "tests/simulation/test_chunk_assembly_budget.py", - "tests/simulation/test_chunk_operation_budget.py", - "tests/simulation/test_chunk_profile_cache_identity.py", - "tests/simulation/test_compute_starting_periods.py", - "tests/simulation/test_counterfactual_taste_noise.py", + "tests/simulation/test_ceiling_narrowed_pin.py", + "tests/simulation/test_chunk_reservation_fulfillment.py", + "tests/simulation/test_complete_chunk_profile.py", "tests/simulation/test_dissolution_route_provenance.py", "tests/simulation/test_dormant_gate_admission.py", "tests/simulation/test_entry_allocations.py", - "tests/simulation/test_fallback_state_writes.py", "tests/simulation/test_finite_policy_profile_contract.py", "tests/simulation/test_finite_replay_stages.py", "tests/simulation/test_forward_domain_budget.py", - "tests/simulation/test_gated_edges_subject_sharding.py", - "tests/simulation/test_host_preparation_lifetime.py", + "tests/simulation/test_gate_population_extent.py", + "tests/simulation/test_host_operation_admission_cost.py", + "tests/simulation/test_leg_projector_vmap.py", "tests/simulation/test_nnbegm_candidate_ranking.py", - "tests/simulation/test_nnbegm_complete_reselection.py", "tests/simulation/test_no_feasible_action.py", - "tests/simulation/test_normal_process_grid_admission.py", - "tests/simulation/test_planned_finite_replay.py", + "tests/simulation/test_operand_placement.py", + "tests/simulation/test_period_simulation_data_v_rank.py", "tests/simulation/test_policy_lookup.py", - "tests/simulation/test_process_grid_entry_admission.py", + "tests/simulation/test_profile_comparison.py", "tests/simulation/test_program_width_frames.py", "tests/simulation/test_public_chunk_output_floor.py", - "tests/simulation/test_regime_draw.py", + "tests/simulation/test_reachability_phase_split.py", + "tests/simulation/test_replay_value_addresses.py", + "tests/simulation/test_residency.py", + "tests/simulation/test_result_dataframe_columns.py", "tests/simulation/test_simulate.py", "tests/simulation/test_simulate_n_nbegm.py", - "tests/simulation/test_simulate_stateless_continuation.py", + "tests/simulation/test_simulation_population.py", + "tests/simulation/test_simulation_preparation_reuse.py", + "tests/simulation/test_simulation_programs.py", "tests/simulation/test_state_grid_period_axes.py", - "tests/simulation/test_state_grid_period_axes_mutations.py", - "tests/simulation/test_subject_tile_remainder.py", + "tests/simulation/test_taste_stream.py", "tests/simulation/test_type_grouped_simulation.py", - "tests/simulation/test_validation_compile_reuse.py", - "tests/test_Q_and_F_per_entry_scales.py", + "tests/simulation/test_unused_operation_arguments.py", "tests/test_action_grid_admission_certificate.py", - "tests/test_candidate_certificate_seal_check.py", - "tests/test_canonical_params.py", + "tests/test_beartype_claw.py", "tests/test_carried_value_grid_publication.py", - "tests/test_case_piece_declarations.py", + "tests/test_case_piece.py", "tests/test_chained_state_transitions.py", - "tests/test_characteristics.py", - "tests/test_checked_dc_declaration_selection.py", - "tests/test_collective_household_example.py", + "tests/test_collective_regimes_draft.py", "tests/test_collective_surface_census.py", "tests/test_conditional_action.py", - "tests/test_conditional_action_nodes.py", "tests/test_dcegm_validation.py", - "tests/test_discrete_code_arguments.py", - "tests/test_distributed.py", - "tests/test_distributed_taste_stream.py", - "tests/test_docs_public_api_coverage.py", + "tests/test_declaration_examples.py", + "tests/test_demand_lowering.py", + "tests/test_discrete_grid_values_boundaries.py", + "tests/test_docs_solver_capabilities.py", "tests/test_dropped_models_release_nested_functions.py", - "tests/test_fgp_discretization.py", + "tests/test_economic_validation.py", + "tests/test_edge_transition_laws.py", + "tests/test_egm_regime_margin_validation.py", + "tests/test_exact_kernel_capability_contract.py", + "tests/test_explicit_dtype_filter.py", + "tests/test_fixed_transition.py", "tests/test_float_dtype_invariants.py", - "tests/test_function_representation.py", - "tests/test_functools.py", + "tests/test_granular_regime_transitions.py", + "tests/test_grid_helpers.py", "tests/test_grid_search_pair.py", - "tests/test_grids.py", - "tests/test_grids_are_outcome_spaces.py", + "tests/test_grouped_mapper_eligibility.py", "tests/test_heterogeneous_initial_ages.py", - "tests/test_imports.py", + "tests/test_horizon_and_terminal_roots.py", + "tests/test_initial_regimes_grammar.py", "tests/test_joint_transition_admission_certificate.py", + "tests/test_koopmans_aggregation.py", "tests/test_mahler_yum_continuous_outer.py", - "tests/test_model_broadcast.py", - "tests/test_namespace.py", - "tests/test_nan_diagnostics.py", + "tests/test_mahler_yum_implicit_pilot.py", + "tests/test_mapping_leaf.py", + "tests/test_model_graph.py", + "tests/test_model_seal.py", + "tests/test_models/test_ds_app2_housing_fues_builds.py", "tests/test_nbegm_breakpoints.py", - "tests/test_ndimage.py", - "tests/test_ndimage_unit.py", + "tests/test_nbegm_segments.py", + "tests/test_next_state.py", "tests/test_no_orphaned_module_private_functions.py", + "tests/test_outer_search.py", "tests/test_parameter_owner_stability.py", + "tests/test_perf_loop.py", "tests/test_period_feasibility_fixed_bindings.py", - "tests/test_phased.py", - "tests/test_regime_state_mismatch.py", + "tests/test_period_time.py", "tests/test_regression_test.py", - "tests/test_required_contexts.py", "tests/test_reviewed_query_prefix_certificate.py", - "tests/test_runtime_process_grid_certificate.py", + "tests/test_root_and_until_grammar.py", "tests/test_runtime_process_params.py", - "tests/test_scaled_lottery_reduction_matrix.py", - "tests/test_sequence_leaf.py", + "tests/test_shock_draw.py", + "tests/test_single_feasible_action.py", "tests/test_solution_on_toy_model_stochastic.py", - "tests/test_solver_api_beartype_conf.py", - "tests/test_state_action_space.py", - "tests/test_state_transition_admission_certificate.py", - "tests/test_static_params.py", - "tests/test_tree_aliases.py", + "tests/test_source_certificate_portability.py", + "tests/test_stochastic_volatility_example.py", + "tests/test_subprocess_precision.py", "tests/test_tuning.py", - "tests/test_ulp_assertion.py", - "tests/test_validation_scalar_actions.py" + "tests/test_utils.py", + "tests/test_variables.py", + "tests/test_zero_mass_continuations.py" ], - "predicted_payload_minutes": 21.32 + "predicted_payload_minutes": 21.34 }, { "id": "general-shard-4-fp32-linux", @@ -3827,178 +3736,269 @@ "junit": "junit-cpu-fp32-Linux-general-4.xml", "files": [ "tests/candidate_certificate/test_check_mutation_anchors.py", - "tests/candidate_certificate/test_generate_sources.py", - "tests/ci/test_mahler_execution.py", - "tests/ci/test_superseded_gate.py", - "tests/ci/test_timing_population.py", - "tests/ci/test_workflow_policy_activation.py", + "tests/candidate_certificate/test_tool_module_identity_and_seals.py", + "tests/ci/test_ci_workloads_guardrails.py", + "tests/ci/test_simulation_timing_workflow.py", + "tests/constraints/test_condition_ir.py", "tests/constraints/test_solver_routes.py", - "tests/egm/test_below_first_live_counts.py", - "tests/egm/test_case_conditions.py", + "tests/egm/test_axis_boundaries.py", + "tests/egm/test_checked_continuation_engine.py", "tests/egm/test_continuation_reader.py", - "tests/egm/test_dynamic_bound_query_contract.py", - "tests/egm/test_dynamic_continuation_status.py", "tests/egm/test_dynamic_dcegm_activation.py", + "tests/egm/test_dynamic_dcegm_asset_weight_factory.py", + "tests/egm/test_dynamic_dcegm_material_passive_products.py", "tests/egm/test_economic_continuation_viability.py", - "tests/egm/test_feature_row_collapsed_support.py", + "tests/egm/test_egm_savings_support_pytree.py", + "tests/egm/test_envelope_ordinary_footprint.py", "tests/egm/test_finite_negm_overflow_component.py", - "tests/egm/test_finite_negm_owned_germs.py", - "tests/egm/test_finite_negm_paired_endpoint.py", "tests/egm/test_finite_negm_public_mixed_corner.py", - "tests/egm/test_interval_block_winner_algebra.py", - "tests/egm/test_interval_block_winner_production_owner.py", + "tests/egm/test_interval_block_winner_reduction.py", "tests/egm/test_mixed_floor_baselines.py", - "tests/egm/test_nbegm_callable_schedule_and_refusals.py", + "tests/egm/test_nb_scalar_interpolant_edges.py", + "tests/egm/test_nb_scalar_sampled_run_producer.py", + "tests/egm/test_nbegm_associated_savings_edges.py", "tests/egm/test_nbegm_conditional_query_association.py", - "tests/egm/test_nbegm_conditional_query_producer.py", - "tests/egm/test_nbegm_validation_primitives.py", - "tests/egm/test_outer_affine_structure.py", + "tests/egm/test_nbegm_scalar_native_counts.py", + "tests/egm/test_nested_floor_operand.py", + "tests/egm/test_nested_floor_original_status.py", "tests/egm/test_outer_carry.py", - "tests/egm/test_outer_refinement.py", + "tests/egm/test_owned_conditional_row.py", "tests/egm/test_plain_literal_dc_resource_transport.py", - "tests/execution/test_abstract_core_program.py", - "tests/execution/test_bootstrap_tile_width.py", - "tests/execution/test_bounded_internal_output_locators.py", - "tests/execution/test_bounded_internal_signatures.py", + "tests/execution/test_continuation_leaf_reads.py", + "tests/execution/test_core_plan_record.py", "tests/execution/test_core_program.py", - "tests/execution/test_covered_axes.py", - "tests/execution/test_eager_core.py", - "tests/execution/test_pending_solve_failures.py", - "tests/execution/test_reduction_folds.py", - "tests/execution/test_transfer_catalogue.py", - "tests/params/test_dormant_edge_series_vocabulary.py", - "tests/params/test_gated_edge_params_template.py", + "tests/execution/test_core_program_graph.py", + "tests/execution/test_declared_axis_names.py", + "tests/execution/test_footprint.py", + "tests/execution/test_internal_outputs.py", + "tests/execution/test_liveness.py", + "tests/execution/test_output_layout.py", + "tests/execution/test_placement.py", + "tests/execution/test_value_views.py", + "tests/params/test_edge_params.py", + "tests/params/test_gate_reads_on_the_target_domain.py", + "tests/regime_building/test_adapter_binding_class_matrix.py", "tests/regime_building/test_additive_shock_exactness.py", - "tests/regime_building/test_age_normalization.py", - "tests/regime_building/test_collective_continuation_mass.py", - "tests/regime_building/test_constraint_phase_invariance.py", - "tests/regime_building/test_constraint_plan.py", - "tests/regime_building/test_fixed_zero_joint_source_states.py", + "tests/regime_building/test_collective_phase_role_class_invariant.py", + "tests/regime_building/test_collective_readout.py", + "tests/regime_building/test_decomposed_views.py", + "tests/regime_building/test_fixed_process_params_grammar.py", "tests/regime_building/test_flow_transitions_are_phase_closed.py", "tests/regime_building/test_fold_gate_guard.py", - "tests/regime_building/test_fold_target_pool_is_age_resolved.py", + "tests/regime_building/test_fold_target_entry_draw.py", "tests/regime_building/test_fold_transition_only_shock.py", - "tests/regime_building/test_gate_route_delta_same_target_fallback.py", - "tests/regime_building/test_gated_edge_arg_provenance.py", - "tests/regime_building/test_gated_edge_gate_process_state_interpolation.py", - "tests/regime_building/test_handoff_into_runtime_parameterized_process.py", - "tests/regime_building/test_joint_transition_canonicalization.py", - "tests/regime_building/test_joint_transition_params.py", - "tests/regime_building/test_joint_transition_phases.py", + "tests/regime_building/test_gated_edge_period_context.py", + "tests/regime_building/test_gated_edge_projection_coverage.py", + "tests/regime_building/test_grouped_action_decisions.py", "tests/regime_building/test_joint_transition_probability_shapes.py", + "tests/regime_building/test_joint_transition_public.py", + "tests/regime_building/test_joint_transition_simulate_phase_validation.py", + "tests/regime_building/test_nonterminal_collective_solve.py", + "tests/regime_building/test_pareto_normalization_overflow.py", "tests/regime_building/test_perceived_stochastic_transitions.py", - "tests/regime_building/test_phased_marker_rejected.py", - "tests/regime_building/test_policy_read_gate_soundness.py", + "tests/regime_building/test_phase_resolution_is_slot_local.py", "tests/regime_building/test_process_aware_categorical_axis_read.py", - "tests/regime_building/test_process_code_generated_entry_domain.py", - "tests/regime_building/test_regime_processing.py", - "tests/regime_building/test_root_function_set_agreement.py", + "tests/regime_building/test_process_code_mixed_kind_binding.py", + "tests/regime_building/test_process_value_adapter_context.py", + "tests/regime_building/test_reachable_states.py", + "tests/regime_building/test_required_phase_annotations.py", "tests/regime_building/test_route_conditions_on_ordinary_draw.py", - "tests/regime_building/test_simulate_gate_param_and_leg_selection.py", + "tests/regime_building/test_row_split_synthetic.py", + "tests/regime_building/test_same_period_ref_period_axes.py", + "tests/regime_building/test_same_period_ref_process_state_interpolation.py", + "tests/regime_building/test_stateless_collective_target.py", "tests/regime_building/test_terminal_carry_period_kernel.py", - "tests/regime_building/test_value_constraints_collective_solve.py", - "tests/simulation/initial_conditions/test_feasibility_host_annotations.py", + "tests/regime_building/test_terminal_collective_solve.py", + "tests/regime_building/test_tiled_state_reductions.py", + "tests/regime_building/test_value_dependent_declarations.py", + "tests/regime_building/test_with_engine_functions.py", + "tests/simulation/initial_conditions/test_admission_preflight_state_reuse.py", + "tests/simulation/initial_conditions/test_feasibility_mask.py", "tests/simulation/initial_conditions/test_own_stakeholder_per_row.py", "tests/simulation/test_abstract_simulation_profiles.py", - "tests/simulation/test_aot_same_period_refs.py", - "tests/simulation/test_ceiling_narrowed_pin.py", - "tests/simulation/test_ceiling_narrowed_pin_dispatch.py", - "tests/simulation/test_chunk_carrier_budget.py", - "tests/simulation/test_chunk_dispatch_profiles.py", - "tests/simulation/test_chunk_reservation_fulfillment.py", + "tests/simulation/test_additive_value_comparison.py", + "tests/simulation/test_aot_collective_and_gated.py", + "tests/simulation/test_automatic_solve_residency.py", + "tests/simulation/test_chunk_assembly_budget.py", + "tests/simulation/test_chunk_operation_budget.py", "tests/simulation/test_compile_requests.py", - "tests/simulation/test_dissolution_route_accounting.py", + "tests/simulation/test_compiler_input_residency.py", "tests/simulation/test_dissolution_route_self_projection.py", "tests/simulation/test_dormant_gate_mutations.py", "tests/simulation/test_dynamic_chunk_rng.py", + "tests/simulation/test_egm_associated_policy_read.py", "tests/simulation/test_egm_sim_policy_value_read.py", + "tests/simulation/test_engine_mapping_fields.py", + "tests/simulation/test_fallback_reads_carried_target_state.py", "tests/simulation/test_finite_nnbegm_current_budget.py", + "tests/simulation/test_foreign_result_allocation.py", "tests/simulation/test_forward_domain_controls.py", - "tests/simulation/test_gated_budgeted.py", - "tests/simulation/test_gated_edge_disjoint_target_windows.py", - "tests/simulation/test_host_operation_admission_cost.py", - "tests/simulation/test_leg_projector_vmap.py", - "tests/simulation/test_membership_allocation_budget.py", - "tests/simulation/test_nnbegm_outer_target_replay.py", - "tests/simulation/test_operand_placement.py", + "tests/simulation/test_host_operations.py", + "tests/simulation/test_independent_taste_draws.py", + "tests/simulation/test_joint_transition_entry_admission.py", + "tests/simulation/test_nnbegm_complete_reselection.py", "tests/simulation/test_outer_candidate_drop_report.py", - "tests/simulation/test_pandas_entry_admission.py", - "tests/simulation/test_parallel_trace_context.py", - "tests/simulation/test_period_simulation_data_v_rank.py", - "tests/simulation/test_pointwise_canonical_q.py", + "tests/simulation/test_parallel_chunk_compilation.py", "tests/simulation/test_policy_lookup_devices.py", + "tests/simulation/test_prepared_unbudgeted_dispatch.py", "tests/simulation/test_realised_dissolution_route.py", - "tests/simulation/test_regime_transition_entry_admission.py", - "tests/simulation/test_replay_value_addresses.py", - "tests/simulation/test_residency_owner_epochs.py", - "tests/simulation/test_result_dataframe_columns.py", + "tests/simulation/test_regime_draw.py", + "tests/simulation/test_residency_projection.py", + "tests/simulation/test_runtime_process_grid_admission.py", "tests/simulation/test_shock_paths.py", + "tests/simulation/test_shock_paths_mesh.py", "tests/simulation/test_simulate_certainty_equivalent.py", "tests/simulation/test_simulate_ds_app2_housing.py", - "tests/simulation/test_simulation_memory_report_reuse.py", - "tests/simulation/test_simulation_plan_summary.py", - "tests/simulation/test_simulation_population.py", + "tests/simulation/test_simulate_n_nbegm_continuous.py", + "tests/simulation/test_simulate_terminal_rows.py", + "tests/simulation/test_simulation_period_inputs.py", "tests/simulation/test_simulation_value_reads.py", - "tests/simulation/test_taste_stream.py", - "tests/simulation/test_top_first_public_simulation.py", - "tests/simulation/test_unused_operation_arguments.py", + "tests/simulation/test_state_transition_entry_admission.py", + "tests/simulation/test_top_first_chunk_selection.py", + "tests/solution/test_action_partitions.py", + "tests/solution/test_action_partitions_devices.py", + "tests/solution/test_action_partitions_route.py", + "tests/solution/test_block_major_lifetime.py", + "tests/solution/test_bounded_width_search.py", + "tests/solution/test_candidate_census.py", + "tests/solution/test_capture_padding.py", + "tests/solution/test_cell_frontier_ceiling.py", + "tests/solution/test_child_status_family.py", + "tests/solution/test_collective_cell_ceiling.py", + "tests/solution/test_compilation_key_mutations.py", + "tests/solution/test_compile_declared_core.py", + "tests/solution/test_component_job_acceptance.py", + "tests/solution/test_component_job_placement.py", + "tests/solution/test_component_jobs.py", + "tests/solution/test_continuation_unread_state_broadcast.py", + "tests/solution/test_covered_axis_parity.py", + "tests/solution/test_cuda_lowering_identity.py", + "tests/solution/test_decoupled.py", + "tests/solution/test_diagnostics_host_age.py", + "tests/solution/test_dynamic_borrowing_contract.py", + "tests/solution/test_dynamic_bound_authority.py", + "tests/solution/test_dynamic_bound_query_persistence.py", + "tests/solution/test_dynamic_bound_runtime.py", + "tests/solution/test_dynamic_dcegm_binding.py", + "tests/solution/test_dynamic_nbegm_floor.py", + "tests/solution/test_egm_child_resources_age_factory.py", + "tests/solution/test_egm_reconstructed_action_value.py", + "tests/solution/test_ephemeral_identity.py", + "tests/solution/test_finite_candidate_oracle_mutations.py", + "tests/solution/test_finite_candidate_tuple_economics.py", + "tests/solution/test_finite_nnbegm_parent_query.py", + "tests/solution/test_finite_nnbegm_policy_authority.py", + "tests/solution/test_finite_nnbegm_policy_periods.py", + "tests/solution/test_fixed_component_markov.py", + "tests/solution/test_iid_continuation_reads.py", + "tests/solution/test_independent_types_oracle.py", + "tests/solution/test_infeasible_cell_poison.py", + "tests/solution/test_invariant_assembly_reservation.py", + "tests/solution/test_invariant_blocking.py", + "tests/solution/test_invariant_blocking_scalar.py", + "tests/solution/test_invariant_selected_view_admission.py", + "tests/solution/test_invariant_structural_cache.py", + "tests/solution/test_lazy_fallback_compilation.py", + "tests/solution/test_lazy_producer_frontier.py", + "tests/solution/test_lazy_width_frontier.py", + "tests/solution/test_literal_parent_child_status.py", + "tests/solution/test_materialization_admission.py", + "tests/solution/test_materialization_mutations.py", + "tests/solution/test_nb_capture_admission.py", + "tests/solution/test_nb_income_native_qualification.py", + "tests/solution/test_nb_income_scientific_contract.py", + "tests/solution/test_nb_processed_capture_admission.py", + "tests/solution/test_nb_scientific_capture_defaults.py", + "tests/solution/test_nb_scientific_reference.py", + "tests/solution/test_nbegm_boundary_source_floor.py", + "tests/solution/test_nbegm_child_period_geometry.py", + "tests/solution/test_nbegm_continuation_boundary.py", + "tests/solution/test_nbegm_draw_conditioned_cliffs.py", + "tests/solution/test_nbegm_query_actual_resources.py", + "tests/solution/test_nbegm_query_resource_boundaries.py", + "tests/solution/test_nbegm_query_resource_matrix.py", + "tests/solution/test_nbegm_query_resource_mutations.py", + "tests/solution/test_nbegm_state_feasibility_counts.py", + "tests/solution/test_nbegm_two_state_cliff_geometry.py", + "tests/solution/test_negm_child_only_execution.py", + "tests/solution/test_negm_conditional_resource_status.py", + "tests/solution/test_negm_current_publication.py", + "tests/solution/test_negm_native_binding.py", + "tests/solution/test_negm_no_action_publication.py", + "tests/solution/test_negm_private_publication_policy.py", + "tests/solution/test_negm_shared_runtime_status.py", + "tests/solution/test_nested_dynamic_borrowing.py", + "tests/solution/test_nested_edge_namespace.py", + "tests/solution/test_nested_edge_namespace_matrix.py", + "tests/solution/test_period_capture_eager.py", + "tests/solution/test_period_replay_layout.py", + "tests/solution/test_period_target_value_reads.py", + "tests/solution/test_pipelined_lowering.py", + "tests/solution/test_pipelined_lowering_contract.py", + "tests/solution/test_public_lower_period_candidate.py", + "tests/solution/test_public_lower_period_candidate_gpu.py", + "tests/solution/test_public_period_replay.py", + "tests/solution/test_public_period_runtime_policy.py", + "tests/solution/test_solve_phase_records.py", + "tests/solution/test_state_dependent_borrowing_limit.py", + "tests/solution/test_transition_local_markov_draw.py", + "tests/solution/test_transition_local_process_draw.py", + "tests/solution/test_value_residency.py", + "tests/solution/test_width_selection_across_periods.py", "tests/test_Q_and_F.py", - "tests/test_ages.py", - "tests/test_analytical_solution.py", - "tests/test_broadcast_pruning_keeps_entry_laws.py", + "tests/test_Q_and_F_per_entry_scales.py", + "tests/test_admission_and_random_sites.py", + "tests/test_argmax.py", + "tests/test_canonical_params.py", "tests/test_certainty_equivalent.py", - "tests/test_collective_public_workflow.py", - "tests/test_collective_regimes_draft.py", - "tests/test_constraint_language_acceptance.py", - "tests/test_consumption_savings_regime.py", - "tests/test_continuous_assets_aca_certificate.py", - "tests/test_declaration_examples.py", - "tests/test_demand_worklists.py", + "tests/test_ci_solution_shards.py", + "tests/test_collective_regime_model_level_slots.py", + "tests/test_collective_regimes_example.py", "tests/test_discrete_grid_values.py", - "tests/test_discrete_grid_values_boundaries.py", + "tests/test_distributed.py", + "tests/test_distributed_constant_simulation.py", + "tests/test_distributed_eager_weak_inputs.py", + "tests/test_distributed_lifetime.py", + "tests/test_distributed_simulation_values.py", + "tests/test_distributed_template_placement.py", "tests/test_docs_custom_solver_example.py", - "tests/test_docs_solver_capabilities.py", - "tests/test_edge_transition_laws.py", - "tests/test_exact_kernel_capability_contract.py", - "tests/test_explicit_dtype_filter.py", - "tests/test_finalize_regimes.py", - "tests/test_fixed_transition.py", - "tests/test_grid_helpers.py", + "tests/test_dtypes.py", + "tests/test_exact_affine_broadcast_contract.py", + "tests/test_exception_hierarchy.py", + "tests/test_fgp_discretization.py", + "tests/test_fold_dependency_closure_age_specialized.py", + "tests/test_functools.py", "tests/test_grouped_mapper_certificate.py", - "tests/test_hard_max_derivatives.py", - "tests/test_hatch_build.py", - "tests/test_horizon_and_terminal_roots.py", - "tests/test_interval_winner_helper_selection.py", "tests/test_joint_normal_iid_process.py", "tests/test_joint_normal_name_ownership.py", - "tests/test_mahler_execution_config.py", "tests/test_mahler_yum_2024.py", - "tests/test_mahler_yum_implicit_pilot.py", - "tests/test_mapping_leaf.py", - "tests/test_model_graph.py", + "tests/test_mahler_yum_knot_interpolation.py", + "tests/test_models/test_example_law_params.py", "tests/test_nbegm_grid_hygiene.py", + "tests/test_nbegm_lowering.py", + "tests/test_nbegm_validation.py", "tests/test_off_grid.py", - "tests/test_pandas_utils.py", - "tests/test_perf_loop.py", + "tests/test_order_of_states_and_actions_irrelevant.py", + "tests/test_outer_implicit_derivative.py", + "tests/test_params_validation_reuse.py", "tests/test_period_feasibility_validation.py", "tests/test_process_simulation_laws.py", "tests/test_processes.py", - "tests/test_repin_checked_dc_overloads.py", - "tests/test_runtime_params.py", + "tests/test_regime_law_cells_without_edges.py", + "tests/test_regime_slot_read_ledger.py", + "tests/test_regime_state_mismatch.py", + "tests/test_regime_transition_admission_certificate.py", + "tests/test_release_compiled_programs.py", + "tests/test_repin_child_native_refiner.py", + "tests/test_required_contexts.py", + "tests/test_required_operation_contexts.py", + "tests/test_runtime_process_grid_certificate.py", "tests/test_sharded_state_pruned_from_regimes.py", - "tests/test_solution_on_toy_model_deterministic.py", - "tests/test_solvers.py", - "tests/test_source_certificate_portability.py", + "tests/test_state_action_space.py", "tests/test_state_conditioned_shocks.py", - "tests/test_subprocess_precision.py", - "tests/test_tiled_productmap.py", - "tests/test_transition_checks.py", - "tests/test_utils.py", - "tests/test_value_label_series_keys.py", - "tests/test_variables.py", - "tests/test_zero_probability_target_contribution.py" + "tests/test_taste_shocks.py" ], - "predicted_payload_minutes": 21.32 + "predicted_payload_minutes": 21.34 }, { "id": "source-contract-fp64-linux", @@ -5565,59 +5565,59 @@ }, "junit": "junit-64-1.xml", "files": [ - "tests/solution/test_brute_child_carry_producer.py", - "tests/solution/test_candidate_census.py", - "tests/solution/test_certified_margin_sign_exact.py", - "tests/solution/test_certified_sign_oracle.py", - "tests/solution/test_collective_gated_edge_age_specialized_axes.py", - "tests/solution/test_component_job_placement.py", - "tests/solution/test_dcegm_axis_width_policy.py", + "tests/solution/test_affine_read_headroom.py", + "tests/solution/test_certified_sign_subnormal_distance_property.py", + "tests/solution/test_collective_action_reduction.py", + "tests/solution/test_compile_declared_core.py", + "tests/solution/test_continuation_spec.py", + "tests/solution/test_diagnostics_fold_placement.py", "tests/solution/test_donation_read_multiplicity.py", - "tests/solution/test_eager_internal_inputs.py", - "tests/solution/test_egm_borrowing_limit.py", - "tests/solution/test_egm_markov_states.py", + "tests/solution/test_double_double.py", + "tests/solution/test_dynamic_nbegm_floor.py", + "tests/solution/test_egm_app2_housing_fues.py", + "tests/solution/test_egm_law_param_names.py", "tests/solution/test_egm_passive_asset_row.py", - "tests/solution/test_egm_terminal_carry_fixed_params.py", - "tests/solution/test_envelope_oracle_hardening.py", - "tests/solution/test_ephemeral_identity.py", - "tests/solution/test_ev1_action_streaming.py", - "tests/solution/test_exact_event_lattice.py", - "tests/solution/test_explicit_entry_mutation_guard.py", - "tests/solution/test_fues_upper_envelope_audit.py", - "tests/solution/test_gated_edge_age_specialized_axes.py", - "tests/solution/test_independent_types_oracle.py", - "tests/solution/test_invariant_selected_view_admission.py", - "tests/solution/test_joint_transition_process_target.py", - "tests/solution/test_lazy_fallback_compilation.py", - "tests/solution/test_liveness_pins.py", - "tests/solution/test_mss_arithmetic_modes.py", - "tests/solution/test_mss_oracle_differential.py", + "tests/solution/test_egm_process_states.py", + "tests/solution/test_egm_refine_to_query.py", + "tests/solution/test_envelope_cell_workspace.py", + "tests/solution/test_envelope_owner_under_common_level.py", + "tests/solution/test_fingerprint_pin.py", + "tests/solution/test_finite_candidate_oracle_mutations.py", + "tests/solution/test_footprint_width_selection.py", + "tests/solution/test_gated_edge_stateless_target_solve.py", + "tests/solution/test_invariant_blocking_scalar.py", + "tests/solution/test_logsumexp_action_reduction.py", + "tests/solution/test_ltm.py", + "tests/solution/test_ltm_fues_parity.py", + "tests/solution/test_mss_decision_safety.py", "tests/solution/test_n_nbegm.py", - "tests/solution/test_n_nbegm_epstein_zin.py", - "tests/solution/test_n_nbegm_matched_oracle.py", - "tests/solution/test_nbegm_action_costate_jump_agreement.py", - "tests/solution/test_nbegm_boundary_marginal.py", + "tests/solution/test_n_nbegm_finite_baseline.py", + "tests/solution/test_n_nbegm_fixed_cost.py", + "tests/solution/test_nb_capture_admission.py", + "tests/solution/test_nbegm_boundary_direction.py", + "tests/solution/test_nbegm_boundary_source_floor.py", + "tests/solution/test_nbegm_carry_publishes_breakpoints.py", + "tests/solution/test_nbegm_case_discrete_guard.py", + "tests/solution/test_nbegm_case_piece_dag_fidelity.py", "tests/solution/test_nbegm_child_period_geometry.py", - "tests/solution/test_nbegm_continuous_ride_along_agreement.py", - "tests/solution/test_nbegm_corners.py", - "tests/solution/test_nbegm_epstein_zin_composite_flow.py", + "tests/solution/test_nbegm_cliff_target_margin.py", + "tests/solution/test_nbegm_epstein_zin_multi_regime.py", + "tests/solution/test_nbegm_feasibility_provenance.py", + "tests/solution/test_nbegm_jump_schedule_agreement.py", "tests/solution/test_nbegm_multi_discrete_agreement.py", - "tests/solution/test_nbegm_savings_node_singleton_bracket.py", - "tests/solution/test_negm_serviceflow.py", - "tests/solution/test_negm_shared_runtime_status.py", - "tests/solution/test_nnbegm_inner_spec.py", - "tests/solution/test_nnbegm_phased.py", - "tests/solution/test_numeric_inverse.py", - "tests/solution/test_period_capture_eager.py", - "tests/solution/test_pipelined_lowering.py", - "tests/solution/test_power_mean_value_representation_boundaries.py", - "tests/solution/test_power_of_two_scaling.py", - "tests/solution/test_representable_tie_handover.py", - "tests/solution/test_solution_fingerprint.py", + "tests/solution/test_nbegm_multi_interval.py", + "tests/solution/test_nbegm_planned_outputs.py", + "tests/solution/test_negm_validation.py", + "tests/solution/test_nnbegm_native_program_graph.py", + "tests/solution/test_post_decision_lower_bound.py", + "tests/solution/test_public_weak_type_contract.py", + "tests/solution/test_scaled_probability_expectation.py", + "tests/solution/test_segment_envelope_exact_read.py", "tests/solution/test_solution_result_model_authority_mutations.py", - "tests/solution/test_subnormal_joint_weight.py" + "tests/solution/test_solve_releases_executables.py", + "tests/solution/test_target_only_iid_nonuniform_public.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-2-fp64-linux", @@ -5645,58 +5645,58 @@ }, "junit": "junit-64-2.xml", "files": [ - "tests/solution/test_affine_read_headroom.py", - "tests/solution/test_age_specialized_grid_solve.py", "tests/solution/test_age_specialized_solver_composition.py", "tests/solution/test_block_major_lifetime.py", "tests/solution/test_builtin_policy_persistence.py", - "tests/solution/test_dcegm_age_specialized_function.py", - "tests/solution/test_decoupled.py", - "tests/solution/test_dynamic_bound_runtime.py", + "tests/solution/test_certified_sign_derived_distance.py", + "tests/solution/test_donation_pair_budget.py", + "tests/solution/test_dynamic_dcegm_binding.py", "tests/solution/test_egm_app3_taxed.py", "tests/solution/test_egm_concave.py", - "tests/solution/test_egm_cross_regime_target_params.py", - "tests/solution/test_egm_refine_to_query.py", - "tests/solution/test_egm_rejects_discrete_choice.py", + "tests/solution/test_egm_degenerate_constrained_span.py", "tests/solution/test_egm_savings_point_axis.py", - "tests/solution/test_egm_subnormal_joint_node.py", - "tests/solution/test_envelope_margin_bound_is_outward.py", - "tests/solution/test_finite_nnbegm_policy_authority.py", - "tests/solution/test_fixed_params_entry_mutations.py", - "tests/solution/test_gated_edge_age_specialized_fallback.py", - "tests/solution/test_grid_search_streaming_production_path.py", - "tests/solution/test_grid_search_streaming_width_collision.py", - "tests/solution/test_handover_ownership.py", - "tests/solution/test_invariant_structural_cache.py", - "tests/solution/test_lazy_width_frontier.py", - "tests/solution/test_mss_segment_oracle.py", - "tests/solution/test_multi_axis_rare_joint_node.py", - "tests/solution/test_nb_income_scientific_contract.py", - "tests/solution/test_nbegm_action_in_utility_agreement.py", - "tests/solution/test_nbegm_discrete_cliff_agreement.py", - "tests/solution/test_nbegm_hermite_bridged_sign.py", - "tests/solution/test_nbegm_jump_schedule_agreement.py", - "tests/solution/test_nbegm_mappingleaf_threshold_agreement.py", - "tests/solution/test_nbegm_nonpositive_corner.py", - "tests/solution/test_nbegm_query_resource_mutations.py", + "tests/solution/test_egm_stochastic_dim_fold.py", + "tests/solution/test_envelope_query.py", + "tests/solution/test_explicit_process_entry_mutations.py", + "tests/solution/test_ez_kernel.py", + "tests/solution/test_fingerprint_array_shape.py", + "tests/solution/test_finite_nnbegm_parent_query.py", + "tests/solution/test_fixed_component_markov.py", + "tests/solution/test_fues.py", + "tests/solution/test_gated_edge_self_referencing_ref_age_specialized_axes.py", + "tests/solution/test_iegm_wiring.py", + "tests/solution/test_invariant_blocking.py", + "tests/solution/test_invariant_selected_view_admission.py", + "tests/solution/test_invariant_structural_cache.py", + "tests/solution/test_joint_transition_solver_scope.py", + "tests/solution/test_joint_transition_timing.py", + "tests/solution/test_lazy_width_frontier.py", + "tests/solution/test_ltm_mss_topology.py", + "tests/solution/test_mss_shared_node_records.py", + "tests/solution/test_n_nbegm_continuous.py", + "tests/solution/test_n_nbegm_discrete_replay.py", + "tests/solution/test_nbegm_branch_batch_size.py", + "tests/solution/test_nbegm_device_local_continuation.py", + "tests/solution/test_nbegm_distributed_carry_sharding.py", + "tests/solution/test_nbegm_flat_continuation.py", + "tests/solution/test_nbegm_per_cell_discount_agreement.py", "tests/solution/test_nbegm_ride_discrete_agreement.py", - "tests/solution/test_nbegm_savings_node_floor.py", - "tests/solution/test_nbegm_schedule_guards.py", - "tests/solution/test_nbegm_taste_shocks.py", - "tests/solution/test_negm_validation.py", - "tests/solution/test_nested_dynamic_borrowing.py", - "tests/solution/test_outer_envelope.py", - "tests/solution/test_period_core_memory.py", - "tests/solution/test_pipelined_lowering_contract.py", - "tests/solution/test_retirement_only_oracle.py", - "tests/solution/test_rfc.py", - "tests/solution/test_round4_coarse_process_and_scalar_ce.py", - "tests/solution/test_solution_result_model_authority.py", - "tests/solution/test_solve_executable_readiness.py", - "tests/solution/test_solver_param_checks.py", - "tests/solution/test_width_selection_across_periods.py" + "tests/solution/test_nbegm_ride_discrete_guards.py", + "tests/solution/test_nnbegm_inner_spec.py", + "tests/solution/test_public_mapping_admission.py", + "tests/solution/test_public_period_replay.py", + "tests/solution/test_query_owner_formulation.py", + "tests/solution/test_release_log.py", + "tests/solution/test_same_period_lowering_templates.py", + "tests/solution/test_solve_result_public_interface.py", + "tests/solution/test_solver_subclass_binding.py", + "tests/solution/test_subnormal_regime_weight.py", + "tests/solution/test_wide_exponent_spread_lottery.py", + "tests/solution/test_wide_live_nonfinite_entry.py", + "tests/solution/test_zero_mass_target.py", + "tests/solution/test_zero_probability_node.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-3-fp64-linux", @@ -5724,59 +5724,59 @@ }, "junit": "junit-64-3.xml", "files": [ - "tests/solution/test_action_partitions_devices.py", + "tests/solution/test_action_partitions_route.py", "tests/solution/test_bounded_width_search.py", - "tests/solution/test_certified_sign.py", - "tests/solution/test_certified_sign_unreadable_amplification.py", + "tests/solution/test_capture_padding.py", + "tests/solution/test_cell_frontier_ceiling.py", + "tests/solution/test_certified_sign_oracle.py", + "tests/solution/test_certified_sign_scaling.py", + "tests/solution/test_collective_gated_edge_age_specialized_axes.py", "tests/solution/test_component_job_acceptance.py", "tests/solution/test_continuation_unread_state_broadcast.py", + "tests/solution/test_dcegm_age_specialized_function.py", "tests/solution/test_diagnostics.py", - "tests/solution/test_diagnostics_host_age.py", - "tests/solution/test_donation_nbegm.py", - "tests/solution/test_edge_topologies_build_each_target_once.py", + "tests/solution/test_donation_two_active_regimes.py", + "tests/solution/test_dropped_results_release_arrays.py", "tests/solution/test_egm_asset_row_params.py", - "tests/solution/test_egm_assets_law_terms.py", + "tests/solution/test_egm_consumes_its_liquid_roles.py", "tests/solution/test_egm_core_program.py", - "tests/solution/test_egm_degenerate_inversion.py", - "tests/solution/test_egm_euler_point_axis.py", - "tests/solution/test_egm_publish_overflow.py", - "tests/solution/test_egm_stochastic_dim_fold.py", - "tests/solution/test_egm_target_period_grid.py", - "tests/solution/test_envelope_cell_batching.py", - "tests/solution/test_envelope_owner_under_common_level.py", - "tests/solution/test_envelope_query.py", - "tests/solution/test_fingerprint_downstream_beartype.py", - "tests/solution/test_gated_edge_reference_age_specialized_axes.py", - "tests/solution/test_gated_edge_stateless_target_solve.py", - "tests/solution/test_iegm_wiring.py", - "tests/solution/test_internal_edge_graphs.py", - "tests/solution/test_ltm.py", - "tests/solution/test_mss_shared_node_records.py", - "tests/solution/test_nbegm_batch_size_validation.py", - "tests/solution/test_nbegm_case_discrete_guard.py", - "tests/solution/test_nbegm_ces_utility_agreement.py", - "tests/solution/test_nbegm_device_local_continuation.py", + "tests/solution/test_egm_cross_regime_target_params.py", + "tests/solution/test_egm_subnormal_joint_node.py", + "tests/solution/test_envelope_cell_axis.py", + "tests/solution/test_envelope_query_batching.py", + "tests/solution/test_envelope_untrustworthy_read.py", + "tests/solution/test_fixed_params_entry_mutations.py", + "tests/solution/test_grid_search_streaming_production_path.py", + "tests/solution/test_invert_euler.py", + "tests/solution/test_joint_transition_solve.py", + "tests/solution/test_liveness_pins.py", + "tests/solution/test_mss_oracle_differential.py", + "tests/solution/test_nb_scientific_capture_defaults.py", + "tests/solution/test_nbegm_action_in_regime_transition_agreement.py", + "tests/solution/test_nbegm_action_in_utility_agreement.py", + "tests/solution/test_nbegm_buy_private_agreement.py", + "tests/solution/test_nbegm_continuation_boundary.py", + "tests/solution/test_nbegm_corners.py", "tests/solution/test_nbegm_direct_oracle.py", - "tests/solution/test_nbegm_distributed_carry_sharding.py", - "tests/solution/test_nbegm_mixed_agreement.py", - "tests/solution/test_nbegm_per_cell_discount_agreement.py", - "tests/solution/test_nbegm_pure_jump_additivity.py", - "tests/solution/test_negm.py", + "tests/solution/test_nbegm_discrete_cliff_agreement.py", + "tests/solution/test_nbegm_native_program_graph.py", + "tests/solution/test_nbegm_nonpositive_corner.py", + "tests/solution/test_nbegm_offgrid_inverse.py", + "tests/solution/test_nbegm_savings_node_floor.py", "tests/solution/test_negm_age_specialized_function.py", "tests/solution/test_negm_internal_argument_namespace.py", - "tests/solution/test_probability_bits.py", - "tests/solution/test_release_log.py", - "tests/solution/test_retained_buffers.py", - "tests/solution/test_same_period_lowering_templates.py", + "tests/solution/test_nested_edge_namespace_matrix.py", + "tests/solution/test_outer_envelope_exactness.py", + "tests/solution/test_power_mean_value_representation_boundaries.py", + "tests/solution/test_retirement_only_oracle.py", + "tests/solution/test_ride_partition_routing.py", + "tests/solution/test_solution_result_model_authority.py", "tests/solution/test_solve_grid_candidate_reconstruction.py", - "tests/solution/test_subnormal_joint_node_bellman_action.py", - "tests/solution/test_subnormal_regime_weight.py", - "tests/solution/test_target_only_iid_entry.py", - "tests/solution/test_wide_exponent_spread_lottery.py", - "tests/solution/test_wide_live_nonfinite_entry.py", - "tests/solution/test_zero_mass_target.py" + "tests/solution/test_solver_param_checks.py", + "tests/solution/test_subnormal_weight_magnitude.py", + "tests/solution/test_width_selection_across_periods.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-4-fp64-linux", @@ -5804,59 +5804,59 @@ }, "junit": "junit-64-4.xml", "files": [ - "tests/solution/test_certified_sign_subnormal_distance_property.py", - "tests/solution/test_child_status_family.py", - "tests/solution/test_collective_action_reduction.py", - "tests/solution/test_compilation_key_mutations.py", - "tests/solution/test_custom_solver_rejected.py", + "tests/solution/test_action_streaming.py", + "tests/solution/test_age_specialized_solve.py", + "tests/solution/test_backward_induction.py", + "tests/solution/test_covered_axis_parity.py", + "tests/solution/test_cuda_lowering_identity.py", "tests/solution/test_dcegm_period_node_axes.py", "tests/solution/test_declared_law.py", - "tests/solution/test_donation_retention.py", - "tests/solution/test_ds_housing_keeper.py", - "tests/solution/test_dynamic_bound_authority.py", - "tests/solution/test_egm_app3_discrete_housing.py", - "tests/solution/test_egm_consumes_its_liquid_roles.py", - "tests/solution/test_egm_discrete.py", - "tests/solution/test_egm_flat_resources.py", - "tests/solution/test_egm_model_validation.py", - "tests/solution/test_egm_preferences.py", - "tests/solution/test_egm_solver.py", - "tests/solution/test_envelope_cell_axis.py", - "tests/solution/test_envelope_exact_crossing.py", - "tests/solution/test_exact_affine_kernel_absence.py", - "tests/solution/test_exact_cell_hull.py", - "tests/solution/test_fingerprint_array_shape.py", - "tests/solution/test_finite_candidate_oracle_mutations.py", - "tests/solution/test_fixed_component_markov.py", - "tests/solution/test_fues.py", - "tests/solution/test_gated_edge_self_referencing_ref_age_specialized_axes.py", + "tests/solution/test_decoupled.py", + "tests/solution/test_donation_nbegm.py", + "tests/solution/test_dynamic_borrowing_contract.py", + "tests/solution/test_dynamic_bound_query_persistence.py", + "tests/solution/test_dynamic_bound_runtime.py", + "tests/solution/test_egm_assets_law_terms.py", + "tests/solution/test_egm_child_resources_age_factory.py", + "tests/solution/test_egm_continuation_grid_provenance.py", + "tests/solution/test_egm_euler_point_axis.py", + "tests/solution/test_egm_honours_the_declared_law.py", + "tests/solution/test_egm_passive.py", + "tests/solution/test_egm_rejects_discrete_choice.py", + "tests/solution/test_egm_savings_stage_euler_state.py", + "tests/solution/test_egm_step.py", + "tests/solution/test_exact_affine_derivatives.py", + "tests/solution/test_exact_query_winner.py", + "tests/solution/test_grid_search_cell_axis.py", + "tests/solution/test_halving_published_contract.py", + "tests/solution/test_handover_ownership.py", "tests/solution/test_housing_oracle.py", - "tests/solution/test_lazy_producer_frontier.py", - "tests/solution/test_logsumexp_action_reduction.py", - "tests/solution/test_nb_scientific_reference.py", - "tests/solution/test_nbegm_action_all_channels_agreement.py", - "tests/solution/test_nbegm_epstein_zin.py", - "tests/solution/test_nbegm_flat_budget_interval.py", + "tests/solution/test_kernel_attribution.py", + "tests/solution/test_nbegm_all_dead_interior.py", + "tests/solution/test_nbegm_hermite_bridged_sign.py", "tests/solution/test_nbegm_indexed_threshold_agreement.py", - "tests/solution/test_nbegm_kept_continuation_mass.py", - "tests/solution/test_nbegm_medicaid_brute_agreement.py", - "tests/solution/test_nbegm_nested_axes.py", - "tests/solution/test_nbegm_planned_outputs.py", - "tests/solution/test_nbegm_stochastic_node_agreement.py", + "tests/solution/test_nbegm_jump_stencil.py", + "tests/solution/test_nbegm_multi_source_agreement.py", + "tests/solution/test_nbegm_query_resource_mutations.py", + "tests/solution/test_nbegm_save_to_cliff_candidates.py", + "tests/solution/test_nbegm_savings_node_singleton_bracket.py", + "tests/solution/test_nbegm_schedule_guards.py", + "tests/solution/test_nbegm_streamed_interval_envelope.py", + "tests/solution/test_nbegm_taste_shocks.py", "tests/solution/test_nbegm_threshold_order.py", "tests/solution/test_nbegm_two_state_cliff_geometry.py", - "tests/solution/test_negm_bequest.py", - "tests/solution/test_negm_depreciating_outer_law.py", - "tests/solution/test_negm_kinked_toy.py", - "tests/solution/test_probability_consumer_matrix.py", - "tests/solution/test_public_mapping_admission.py", + "tests/solution/test_negm_current_publication.py", + "tests/solution/test_period_core_memory.py", + "tests/solution/test_period_replay.py", + "tests/solution/test_reachability.py", + "tests/solution/test_scalar_target_certainty_equivalent.py", "tests/solution/test_segment_envelope.py", "tests/solution/test_solution_result.py", - "tests/solution/test_solve_result_public_interface.py", "tests/solution/test_subnormal_mantissa_matrix.py", - "tests/solution/test_target_only_iid_nonuniform_public.py" + "tests/solution/test_target_only_iid_entry.py", + "tests/solution/test_zero_mass_node.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-5-fp64-linux", @@ -5885,59 +5885,59 @@ "junit": "junit-64-5.xml", "files": [ "tests/solution/test_app2_branch_aware_vfi.py", - "tests/solution/test_capture_padding.py", - "tests/solution/test_cell_frontier_ceiling.py", - "tests/solution/test_constrained_segment_scale_guard.py", - "tests/solution/test_cuda_lowering_identity.py", - "tests/solution/test_custom_aggregator.py", - "tests/solution/test_dissolution_flag_retention.py", - "tests/solution/test_donation_solve.py", - "tests/solution/test_donation_two_active_regimes.py", - "tests/solution/test_egm_app2_housing_fues.py", + "tests/solution/test_backend_oracle_parity.py", + "tests/solution/test_child_status_family.py", + "tests/solution/test_component_job_placement.py", + "tests/solution/test_dcegm_axis_width_policy.py", + "tests/solution/test_eager_internal_inputs.py", "tests/solution/test_egm_cell_axis.py", - "tests/solution/test_egm_child_resources.py", - "tests/solution/test_egm_law_param_names.py", - "tests/solution/test_egm_process_states.py", - "tests/solution/test_envelope_link_read.py", - "tests/solution/test_envelope_untrustworthy_read.py", + "tests/solution/test_egm_markov_states.py", + "tests/solution/test_egm_publish_overflow.py", + "tests/solution/test_egm_reconstructed_action_value.py", + "tests/solution/test_envelope_oracle.py", "tests/solution/test_exact_envelope_ownership.py", - "tests/solution/test_fues_segment_detection.py", + "tests/solution/test_fues_upper_envelope_audit.py", "tests/solution/test_gated_edge_target_value_read_age_specialized_axes.py", + "tests/solution/test_grid_search_streaming_width_collision.py", + "tests/solution/test_interp_duplicated_abscissa_jump.py", + "tests/solution/test_kernel_memory_logging.py", + "tests/solution/test_lazy_fallback_compilation.py", "tests/solution/test_materialization_mutations.py", - "tests/solution/test_mss.py", - "tests/solution/test_mss_bracket_arithmetic.py", - "tests/solution/test_mss_decision_safety.py", - "tests/solution/test_mss_fues_parity.py", "tests/solution/test_n_nbegm_depreciating_outer_law.py", - "tests/solution/test_n_nbegm_finite_baseline.py", - "tests/solution/test_nb_income_native_qualification.py", - "tests/solution/test_nbegm_age_specialized_function.py", + "tests/solution/test_n_nbegm_epstein_zin.py", + "tests/solution/test_n_nbegm_matched_oracle.py", + "tests/solution/test_nb_income_scientific_contract.py", + "tests/solution/test_nb_processed_capture_admission.py", + "tests/solution/test_nb_scientific_reference.py", + "tests/solution/test_nbegm_action_costate_jump_agreement.py", "tests/solution/test_nbegm_axes.py", - "tests/solution/test_nbegm_boundary_direction.py", - "tests/solution/test_nbegm_buy_private_agreement.py", "tests/solution/test_nbegm_carry_subset_is_per_period.py", + "tests/solution/test_nbegm_continuous_ride_along_agreement.py", + "tests/solution/test_nbegm_declared_preferences.py", "tests/solution/test_nbegm_discrete_envelope_ties.py", + "tests/solution/test_nbegm_epstein_zin_composite_flow.py", + "tests/solution/test_nbegm_flat_budget_interval.py", "tests/solution/test_nbegm_query_actual_resources.py", - "tests/solution/test_nbegm_query_resource_boundaries.py", - "tests/solution/test_nbegm_stochastic_distributed_fold.py", + "tests/solution/test_nbegm_ride_along_carry_policy_template.py", "tests/solution/test_nbegm_target_period_grid.py", "tests/solution/test_nbegm_tax_agreement.py", - "tests/solution/test_nbegm_tiled_core.py", - "tests/solution/test_negm_private_publication_policy.py", - "tests/solution/test_nested_edge_namespace_matrix.py", - "tests/solution/test_nnbegm_inner_carry_alignment.py", - "tests/solution/test_outer_envelope_exactness.py", + "tests/solution/test_nbegm_topology_continuation.py", + "tests/solution/test_nbegm_two_cliff_agreement.py", + "tests/solution/test_negm_native_binding.py", + "tests/solution/test_negm_serviceflow.py", + "tests/solution/test_negm_shared_runtime_status.py", "tests/solution/test_period_waves.py", - "tests/solution/test_post_decision_lower_bound.py", - "tests/solution/test_public_lower_period_candidate.py", - "tests/solution/test_reachability.py", - "tests/solution/test_scalar_target_certainty_equivalent.py", + "tests/solution/test_probability_consumer_matrix.py", + "tests/solution/test_rfc.py", + "tests/solution/test_round4_coarse_process_and_scalar_ce.py", "tests/solution/test_segment_envelope_dead_candidates.py", - "tests/solution/test_signed_regime_probabilities.py", "tests/solution/test_solution_consumption.py", - "tests/solution/test_solution_result_snapshot.py" + "tests/solution/test_solution_fingerprint.py", + "tests/solution/test_solution_result_snapshot.py", + "tests/solution/test_solve_phase_records.py", + "tests/solution/test_transition_reading_an_entered_draw.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-6-fp64-linux", @@ -5965,59 +5965,60 @@ }, "junit": "junit-64-6.xml", "files": [ - "tests/solution/test_backward_induction.py", - "tests/solution/test_broadcast_law_reading_an_entered_draw.py", + "tests/solution/test_brute_child_carry_producer.py", + "tests/solution/test_certified_sign.py", "tests/solution/test_collective_cell_ceiling.py", - "tests/solution/test_donation_pair_budget.py", - "tests/solution/test_dynamic_nbegm_floor.py", + "tests/solution/test_compilation_identity.py", + "tests/solution/test_ds_housing_keeper.py", + "tests/solution/test_egm_app3_discrete_housing.py", + "tests/solution/test_egm_degenerate_inversion.py", "tests/solution/test_egm_interp_query_derivative.py", - "tests/solution/test_egm_savings_stage_euler_state.py", + "tests/solution/test_egm_model_validation.py", + "tests/solution/test_egm_preferences.py", + "tests/solution/test_egm_terminal_discrete_states.py", "tests/solution/test_egm_wealth_dependent_regime_law.py", - "tests/solution/test_entry_law_reading_a_sibling_draw.py", - "tests/solution/test_euler_errors.py", - "tests/solution/test_explicit_entry_chained_transition.py", - "tests/solution/test_fingerprint_pin.py", - "tests/solution/test_finite_nnbegm_parent_query.py", + "tests/solution/test_envelope_cell_batching.py", + "tests/solution/test_envelope_exact_crossing.py", + "tests/solution/test_envelope_margin_bound_is_outward.py", + "tests/solution/test_envelope_topology.py", + "tests/solution/test_ephemeral_identity.py", + "tests/solution/test_exact_cell_hull.py", "tests/solution/test_finite_nnbegm_policy_periods.py", "tests/solution/test_gated_edge_fold_reads.py", + "tests/solution/test_gated_edge_reference_age_specialized_axes.py", "tests/solution/test_infeasible_cell_poison.py", - "tests/solution/test_interp_duplicated_abscissa_jump.py", - "tests/solution/test_invariant_assembly_reservation.py", - "tests/solution/test_kernel_memory_logging.py", "tests/solution/test_literal_parent_child_status.py", + "tests/solution/test_mss_arithmetic_modes.py", + "tests/solution/test_mss_bracket_arithmetic.py", + "tests/solution/test_mss_segment_oracle.py", "tests/solution/test_n_nbegm_discrete.py", - "tests/solution/test_n_nbegm_discrete_replay.py", - "tests/solution/test_nbegm_action_in_schedule_variable_agreement.py", - "tests/solution/test_nbegm_bounded_limit.py", + "tests/solution/test_nbegm_action_in_costate_agreement.py", + "tests/solution/test_nbegm_age_specialized_function.py", + "tests/solution/test_nbegm_batch_size_validation.py", "tests/solution/test_nbegm_budget_target.py", - "tests/solution/test_nbegm_corner_coverage.py", - "tests/solution/test_nbegm_epstein_zin_multi_regime.py", + "tests/solution/test_nbegm_derived_var_agreement.py", "tests/solution/test_nbegm_honours_the_declared_law.py", "tests/solution/test_nbegm_interval_batch.py", "tests/solution/test_nbegm_interval_candidate_channels.py", "tests/solution/test_nbegm_jump_ride_along_agreement.py", - "tests/solution/test_nbegm_jump_stencil.py", - "tests/solution/test_nbegm_multi_interval.py", "tests/solution/test_nbegm_next_asset_cliff_agreement.py", + "tests/solution/test_nbegm_query_resource_boundaries.py", "tests/solution/test_nbegm_query_resource_matrix.py", - "tests/solution/test_nbegm_ride_along_carry_policy_template.py", "tests/solution/test_nbegm_transition_reads_liquid_agreement.py", "tests/solution/test_nbegm_unaffordable_query.py", - "tests/solution/test_nnbegm_validate.py", + "tests/solution/test_nnbegm_inner_carry_alignment.py", + "tests/solution/test_nnbegm_phased.py", "tests/solution/test_outer_candidate_axis.py", "tests/solution/test_period_target_value_reads.py", - "tests/solution/test_public_lower_period_candidate_gpu.py", - "tests/solution/test_query_certified_owner.py", - "tests/solution/test_solver_period_groups.py", - "tests/solution/test_solver_subclass_binding.py", - "tests/solution/test_supplied_V_shape_validation.py", - "tests/solution/test_transition_local_markov_draw.py", + "tests/solution/test_pipelined_lowering_contract.py", + "tests/solution/test_probability_bits.py", + "tests/solution/test_solve_executable_readiness.py", + "tests/solution/test_subnormal_joint_weight.py", + "tests/solution/test_upper_envelope_dispatch.py", "tests/solution/test_value_residency.py", - "tests/solution/test_workspace_budget_solve.py", - "tests/solution/test_zero_mass_node.py", - "tests/solution/test_zero_probability_node.py" + "tests/solution/test_workspace_budget_solve.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-7-fp64-linux", @@ -6045,59 +6046,59 @@ }, "junit": "junit-64-7.xml", "files": [ - "tests/solution/test_action_partitions.py", - "tests/solution/test_action_streaming.py", - "tests/solution/test_backend_oracle_parity.py", - "tests/solution/test_beta_delta.py", - "tests/solution/test_certified_sign_derived_distance.py", - "tests/solution/test_certified_sign_scaling.py", - "tests/solution/test_continuation_stacked_read.py", - "tests/solution/test_dcegm_core_program.py", + "tests/solution/test_action_partitions_devices.py", + "tests/solution/test_action_reduction.py", + "tests/solution/test_certified_margin_sign_exact.py", + "tests/solution/test_continuation_paired_read.py", + "tests/solution/test_custom_solver_rejected.py", "tests/solution/test_dcegm_stochastic_node_axis.py", - "tests/solution/test_donation_fallback.py", - "tests/solution/test_dropped_results_release_arrays.py", - "tests/solution/test_egm_carry.py", - "tests/solution/test_egm_reconstructed_action_value.py", - "tests/solution/test_egm_target_state_name.py", + "tests/solution/test_dissolution_flag_retention.py", + "tests/solution/test_egm_continuation_grid_compilation.py", + "tests/solution/test_egm_interp.py", + "tests/solution/test_egm_published_policy.py", + "tests/solution/test_egm_solver.py", + "tests/solution/test_egm_target_period_grid.py", "tests/solution/test_envelope_public_witnesses.py", - "tests/solution/test_euler_separability_contract.py", - "tests/solution/test_exact_query_winner.py", + "tests/solution/test_explicit_entry_dependency_mutations.py", "tests/solution/test_explicit_entry_is_deterministic.py", - "tests/solution/test_grid_search_streaming_value_dependent.py", - "tests/solution/test_halving_published_contract.py", + "tests/solution/test_finite_candidate_tuple_economics.py", + "tests/solution/test_gated_edge_age_specialized_fallback.py", "tests/solution/test_interpolating_an_infeasible_node.py", - "tests/solution/test_kernel_attribution.py", + "tests/solution/test_lone_point_ownership.py", "tests/solution/test_materialization_admission.py", + "tests/solution/test_mss_fues_parity.py", + "tests/solution/test_multi_axis_rare_joint_node.py", + "tests/solution/test_nb_income_native_qualification.py", "tests/solution/test_nbegm_action_in_liquid_law_agreement.py", - "tests/solution/test_nbegm_all_dead_interior.py", "tests/solution/test_nbegm_branch_continuation_factoring.py", - "tests/solution/test_nbegm_case_piece_dag_fidelity.py", - "tests/solution/test_nbegm_cliff_target_margin.py", - "tests/solution/test_nbegm_continuation_boundary.py", - "tests/solution/test_nbegm_declared_preferences.py", + "tests/solution/test_nbegm_dollar_scale.py", "tests/solution/test_nbegm_envelope_arithmetic.py", "tests/solution/test_nbegm_interval_batch_transforms.py", "tests/solution/test_nbegm_interval_constant_continuation.py", - "tests/solution/test_nbegm_per_interval_chunked.py", - "tests/solution/test_nbegm_probe_fill.py", - "tests/solution/test_nbegm_two_cliff_agreement.py", - "tests/solution/test_negm_native_binding.py", + "tests/solution/test_nbegm_kernel_contract.py", + "tests/solution/test_nbegm_nested_axes.py", + "tests/solution/test_nbegm_probe_schedule.py", + "tests/solution/test_nbegm_tiled_core.py", + "tests/solution/test_negm.py", + "tests/solution/test_negm_identity_no_adjustment.py", "tests/solution/test_negm_no_action_publication.py", "tests/solution/test_nnbegm_host_lifetime.py", - "tests/solution/test_nnbegm_native_program_graph.py", + "tests/solution/test_one_node_support.py", + "tests/solution/test_outer_envelope.py", "tests/solution/test_period_replay_layout.py", + "tests/solution/test_pipelined_lowering.py", "tests/solution/test_planned_core_universality.py", + "tests/solution/test_power_of_two_scaling.py", + "tests/solution/test_public_lower_period_candidate_gpu.py", "tests/solution/test_public_period_runtime_policy.py", - "tests/solution/test_public_weak_type_contract.py", - "tests/solution/test_query_owner_formulation.py", - "tests/solution/test_ride_partition_routing.py", + "tests/solution/test_query_bottom_range_publication.py", + "tests/solution/test_rfc_fues_parity.py", + "tests/solution/test_signed_regime_probabilities.py", "tests/solution/test_solution_persistence.py", - "tests/solution/test_solve_phase_records.py", - "tests/solution/test_solve_releases_executables.py", "tests/solution/test_state_dependent_borrowing_limit.py", "tests/solution/test_terminal_carry_kernel_edge_kwargs.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-8-fp64-linux", @@ -6125,60 +6126,59 @@ }, "junit": "junit-64-8.xml", "files": [ - "tests/solution/test_compilation_identity.py", + "tests/solution/test_action_partitions.py", + "tests/solution/test_age_specialized_grid_solve.py", + "tests/solution/test_broadcast_law_reading_an_entered_draw.py", + "tests/solution/test_certified_sign_unreadable_amplification.py", "tests/solution/test_component_jobs.py", - "tests/solution/test_continuation_spec.py", - "tests/solution/test_double_double.py", - "tests/solution/test_dynamic_dcegm_binding.py", - "tests/solution/test_egm_continuation_grid_provenance.py", - "tests/solution/test_egm_degenerate_constrained_span.py", - "tests/solution/test_egm_honours_the_declared_law.py", + "tests/solution/test_constrained_segment_scale_guard.py", + "tests/solution/test_custom_aggregator.py", + "tests/solution/test_dcegm_core_program.py", + "tests/solution/test_donation_solve.py", + "tests/solution/test_egm_borrowing_limit.py", + "tests/solution/test_egm_carry.py", + "tests/solution/test_egm_child_resources.py", + "tests/solution/test_egm_flat_resources.py", "tests/solution/test_egm_rejects_a_non_increasing_law.py", - "tests/solution/test_egm_resources_process_state.py", - "tests/solution/test_egm_step.py", - "tests/solution/test_egm_terminal_discrete_states.py", - "tests/solution/test_envelope_arithmetic_mode.py", - "tests/solution/test_envelope_cell_workspace.py", - "tests/solution/test_envelope_derived_subnormal_publication.py", - "tests/solution/test_envelope_topology.py", - "tests/solution/test_exact_affine_derivatives.py", - "tests/solution/test_explicit_entry_dependency_mutations.py", - "tests/solution/test_footprint_width_selection.py", - "tests/solution/test_invariant_blocking_scalar.py", - "tests/solution/test_joint_transition_solver_scope.py", - "tests/solution/test_joint_transition_timing.py", - "tests/solution/test_lone_point_ownership.py", - "tests/solution/test_ltm_fues_parity.py", - "tests/solution/test_ltm_mss_topology.py", - "tests/solution/test_n_nbegm_fixed_cost.py", - "tests/solution/test_nb_processed_capture_admission.py", - "tests/solution/test_nbegm_action_in_costate_agreement.py", - "tests/solution/test_nbegm_action_in_regime_transition_agreement.py", - "tests/solution/test_nbegm_boundary_source_floor.py", + "tests/solution/test_egm_terminal_carry_fixed_params.py", + "tests/solution/test_envelope_link_read.py", + "tests/solution/test_envelope_owner_under_blocking.py", + "tests/solution/test_euler_separability_contract.py", + "tests/solution/test_ev1_action_streaming.py", + "tests/solution/test_explicit_entry_mutation_guard.py", + "tests/solution/test_fues_segment_detection.py", + "tests/solution/test_gated_edge_age_specialized_axes.py", + "tests/solution/test_nbegm_action_in_schedule_variable_agreement.py", + "tests/solution/test_nbegm_boundary_marginal.py", "tests/solution/test_nbegm_brute_child_agreement.py", - "tests/solution/test_nbegm_carry_publishes_breakpoints.py", - "tests/solution/test_nbegm_derived_var_agreement.py", + "tests/solution/test_nbegm_ces_utility_agreement.py", + "tests/solution/test_nbegm_corner_coverage.py", "tests/solution/test_nbegm_draw_conditioned_cliffs.py", "tests/solution/test_nbegm_epstein_zin_flow_shock.py", - "tests/solution/test_nbegm_flat_continuation.py", - "tests/solution/test_nbegm_kernel_contract.py", - "tests/solution/test_nbegm_multi_target_agreement.py", - "tests/solution/test_nbegm_ride_discrete_guards.py", + "tests/solution/test_nbegm_floor_agreement.py", + "tests/solution/test_nbegm_mixed_agreement.py", + "tests/solution/test_nbegm_per_interval_chunked.py", + "tests/solution/test_nbegm_probe_fill.py", + "tests/solution/test_nbegm_pure_jump_additivity.py", "tests/solution/test_nbegm_schedule_variable_interval_agreement.py", "tests/solution/test_nbegm_smooth_budget.py", - "tests/solution/test_nbegm_state_feasibility_counts.py", + "tests/solution/test_nbegm_stochastic_distributed_fold.py", "tests/solution/test_negm_conditional_resource_status.py", "tests/solution/test_negm_core_program.py", - "tests/solution/test_negm_identity_no_adjustment.py", + "tests/solution/test_negm_private_publication_policy.py", "tests/solution/test_nested_edge_namespace.py", - "tests/solution/test_public_period_replay.py", - "tests/solution/test_rfc_fues_parity.py", - "tests/solution/test_scaled_probability_expectation.py", - "tests/solution/test_segment_envelope_exact_read.py", - "tests/solution/test_transition_local_process_draw.py", - "tests/solution/test_transition_reading_an_entered_draw.py" + "tests/solution/test_numeric_inverse.py", + "tests/solution/test_period_capture_eager.py", + "tests/solution/test_public_lower_period_candidate.py", + "tests/solution/test_query_certified_owner.py", + "tests/solution/test_representable_tie_handover.py", + "tests/solution/test_solver_period_groups.py", + "tests/solution/test_stateless_continuation_target.py", + "tests/solution/test_subnormal_joint_node_bellman_action.py", + "tests/solution/test_transition_local_markov_draw.py", + "tests/solution/test_transition_local_process_draw.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-9-fp64-linux", @@ -6206,60 +6206,60 @@ }, "junit": "junit-64-9.xml", "files": [ - "tests/solution/test_action_partitions_route.py", - "tests/solution/test_action_reduction.py", - "tests/solution/test_age_specialized_solve.py", - "tests/solution/test_compile_declared_core.py", - "tests/solution/test_constant_lottery_certainty_equivalent.py", - "tests/solution/test_continuation_paired_read.py", - "tests/solution/test_covered_axis_parity.py", - "tests/solution/test_diagnostics_fold_placement.py", - "tests/solution/test_dynamic_borrowing_contract.py", - "tests/solution/test_dynamic_bound_query_persistence.py", - "tests/solution/test_egm_child_resources_age_factory.py", - "tests/solution/test_egm_continuation_grid_compilation.py", - "tests/solution/test_egm_interp.py", - "tests/solution/test_egm_passive.py", - "tests/solution/test_egm_published_policy.py", - "tests/solution/test_envelope_oracle.py", - "tests/solution/test_envelope_owner_under_blocking.py", - "tests/solution/test_envelope_query_batching.py", - "tests/solution/test_explicit_process_entry_mutations.py", - "tests/solution/test_ez_kernel.py", - "tests/solution/test_finite_candidate_tuple_economics.py", - "tests/solution/test_grid_search_cell_axis.py", + "tests/solution/test_beta_delta.py", + "tests/solution/test_candidate_census.py", + "tests/solution/test_compilation_key_mutations.py", + "tests/solution/test_constant_lottery_certainty_equivalent.py", + "tests/solution/test_continuation_stacked_read.py", + "tests/solution/test_diagnostics_host_age.py", + "tests/solution/test_donation_fallback.py", + "tests/solution/test_donation_retention.py", + "tests/solution/test_dynamic_bound_authority.py", + "tests/solution/test_edge_topologies_build_each_target_once.py", + "tests/solution/test_egm_discrete.py", + "tests/solution/test_egm_resources_process_state.py", + "tests/solution/test_egm_target_state_name.py", + "tests/solution/test_entry_law_reading_a_sibling_draw.py", + "tests/solution/test_envelope_arithmetic_mode.py", + "tests/solution/test_envelope_derived_subnormal_publication.py", + "tests/solution/test_envelope_oracle_hardening.py", + "tests/solution/test_euler_errors.py", + "tests/solution/test_exact_affine_kernel_absence.py", + "tests/solution/test_exact_event_lattice.py", + "tests/solution/test_explicit_entry_chained_transition.py", + "tests/solution/test_fingerprint_downstream_beartype.py", + "tests/solution/test_finite_nnbegm_policy_authority.py", + "tests/solution/test_grid_search_streaming_value_dependent.py", "tests/solution/test_iid_continuation_reads.py", - "tests/solution/test_invariant_blocking.py", - "tests/solution/test_invert_euler.py", - "tests/solution/test_joint_transition_solve.py", + "tests/solution/test_independent_types_oracle.py", + "tests/solution/test_internal_edge_graphs.py", + "tests/solution/test_invariant_assembly_reservation.py", + "tests/solution/test_joint_transition_process_target.py", "tests/solution/test_kernel_output.py", - "tests/solution/test_n_nbegm_continuous.py", - "tests/solution/test_nb_capture_admission.py", - "tests/solution/test_nb_scientific_capture_defaults.py", - "tests/solution/test_nbegm_branch_batch_size.py", - "tests/solution/test_nbegm_dollar_scale.py", - "tests/solution/test_nbegm_feasibility_provenance.py", - "tests/solution/test_nbegm_floor_agreement.py", - "tests/solution/test_nbegm_multi_source_agreement.py", - "tests/solution/test_nbegm_native_program_graph.py", - "tests/solution/test_nbegm_offgrid_inverse.py", - "tests/solution/test_nbegm_probe_schedule.py", + "tests/solution/test_lazy_producer_frontier.py", + "tests/solution/test_mss.py", + "tests/solution/test_nbegm_action_all_channels_agreement.py", + "tests/solution/test_nbegm_bounded_limit.py", + "tests/solution/test_nbegm_epstein_zin.py", + "tests/solution/test_nbegm_kept_continuation_mass.py", + "tests/solution/test_nbegm_mappingleaf_threshold_agreement.py", + "tests/solution/test_nbegm_medicaid_brute_agreement.py", + "tests/solution/test_nbegm_multi_target_agreement.py", "tests/solution/test_nbegm_retention_specialization.py", "tests/solution/test_nbegm_ride_along_agreement.py", - "tests/solution/test_nbegm_save_to_cliff_candidates.py", - "tests/solution/test_nbegm_streamed_interval_envelope.py", - "tests/solution/test_nbegm_topology_continuation.py", + "tests/solution/test_nbegm_state_feasibility_counts.py", + "tests/solution/test_nbegm_stochastic_node_agreement.py", + "tests/solution/test_negm_bequest.py", "tests/solution/test_negm_child_only_execution.py", - "tests/solution/test_negm_current_publication.py", + "tests/solution/test_negm_depreciating_outer_law.py", + "tests/solution/test_negm_kinked_toy.py", + "tests/solution/test_nested_dynamic_borrowing.py", + "tests/solution/test_nnbegm_validate.py", "tests/solution/test_nnbegm_validation.py", - "tests/solution/test_one_node_support.py", - "tests/solution/test_period_replay.py", - "tests/solution/test_query_bottom_range_publication.py", - "tests/solution/test_stateless_continuation_target.py", - "tests/solution/test_subnormal_weight_magnitude.py", - "tests/solution/test_upper_envelope_dispatch.py" + "tests/solution/test_retained_buffers.py", + "tests/solution/test_supplied_V_shape_validation.py" ], - "predicted_payload_minutes": 23.7 + "predicted_payload_minutes": 23.72 }, { "id": "solution-shard-1-fp32-linux", @@ -6287,58 +6287,57 @@ }, "junit": "junit-32-1.xml", "files": [ + "tests/solution/test_affine_read_headroom.py", + "tests/solution/test_certified_sign_subnormal_distance_property.py", "tests/solution/test_collective_action_reduction.py", - "tests/solution/test_collective_gated_edge_age_specialized_axes.py", - "tests/solution/test_compilation_identity.py", - "tests/solution/test_compile_declared_core.py", - "tests/solution/test_cuda_lowering_identity.py", - "tests/solution/test_declared_law.py", + "tests/solution/test_constrained_segment_scale_guard.py", + "tests/solution/test_donation_read_multiplicity.py", "tests/solution/test_dynamic_bound_authority.py", "tests/solution/test_dynamic_bound_query_persistence.py", - "tests/solution/test_dynamic_bound_runtime.py", - "tests/solution/test_dynamic_dcegm_binding.py", - "tests/solution/test_egm_app3_taxed.py", + "tests/solution/test_egm_rejects_discrete_choice.py", "tests/solution/test_egm_resources_process_state.py", - "tests/solution/test_egm_terminal_discrete_states.py", + "tests/solution/test_egm_target_state_name.py", "tests/solution/test_entry_law_reading_a_sibling_draw.py", - "tests/solution/test_envelope_cell_workspace.py", - "tests/solution/test_envelope_derived_subnormal_publication.py", "tests/solution/test_envelope_margin_bound_is_outward.py", - "tests/solution/test_euler_errors.py", - "tests/solution/test_exact_cell_hull.py", - "tests/solution/test_ez_kernel.py", - "tests/solution/test_kernel_memory_logging.py", - "tests/solution/test_ltm_mss_topology.py", - "tests/solution/test_materialization_mutations.py", + "tests/solution/test_envelope_topology.py", + "tests/solution/test_ev1_action_streaming.py", + "tests/solution/test_explicit_process_entry_mutations.py", + "tests/solution/test_fingerprint_pin.py", + "tests/solution/test_finite_candidate_tuple_economics.py", + "tests/solution/test_joint_transition_timing.py", + "tests/solution/test_ltm_fues_parity.py", + "tests/solution/test_mss_arithmetic_modes.py", "tests/solution/test_mss_fues_parity.py", - "tests/solution/test_n_nbegm_matched_oracle.py", - "tests/solution/test_nbegm_brute_child_agreement.py", - "tests/solution/test_nbegm_buy_private_agreement.py", + "tests/solution/test_mss_shared_node_records.py", + "tests/solution/test_nbegm_batch_size_validation.py", + "tests/solution/test_nbegm_boundary_source_floor.py", + "tests/solution/test_nbegm_case_discrete_guard.py", "tests/solution/test_nbegm_continuous_ride_along_agreement.py", + "tests/solution/test_nbegm_corner_coverage.py", "tests/solution/test_nbegm_declared_preferences.py", "tests/solution/test_nbegm_direct_oracle.py", - "tests/solution/test_nbegm_ride_discrete_guards.py", - "tests/solution/test_nbegm_schedule_guards.py", + "tests/solution/test_nbegm_epstein_zin_composite_flow.py", + "tests/solution/test_nbegm_next_asset_cliff_agreement.py", + "tests/solution/test_nbegm_pure_jump_additivity.py", + "tests/solution/test_nbegm_query_resource_matrix.py", + "tests/solution/test_nbegm_stochastic_node_agreement.py", + "tests/solution/test_nbegm_transition_reads_liquid_agreement.py", "tests/solution/test_nbegm_unaffordable_query.py", - "tests/solution/test_negm_bequest.py", "tests/solution/test_negm_depreciating_outer_law.py", - "tests/solution/test_negm_private_publication_policy.py", - "tests/solution/test_nnbegm_host_lifetime.py", - "tests/solution/test_nnbegm_inner_spec.py", + "tests/solution/test_negm_no_action_publication.py", + "tests/solution/test_nnbegm_validate.py", "tests/solution/test_numeric_inverse.py", + "tests/solution/test_period_core_memory.py", "tests/solution/test_period_replay.py", - "tests/solution/test_post_decision_lower_bound.py", + "tests/solution/test_query_certified_owner.py", "tests/solution/test_release_log.py", "tests/solution/test_rfc.py", - "tests/solution/test_segment_envelope_dead_candidates.py", - "tests/solution/test_signed_regime_probabilities.py", - "tests/solution/test_solution_persistence.py", - "tests/solution/test_solution_result_model_authority_mutations.py", - "tests/solution/test_solver_subclass_binding.py", - "tests/solution/test_subnormal_regime_weight.py", - "tests/solution/test_transition_reading_an_entered_draw.py" + "tests/solution/test_solve_grid_candidate_reconstruction.py", + "tests/solution/test_state_dependent_borrowing_limit.py", + "tests/solution/test_transition_reading_an_entered_draw.py", + "tests/solution/test_wide_live_nonfinite_entry.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-2-fp32-linux", @@ -6367,58 +6366,58 @@ "junit": "junit-32-2.xml", "files": [ "tests/solution/test_action_partitions.py", - "tests/solution/test_broadcast_law_reading_an_entered_draw.py", - "tests/solution/test_certified_sign.py", + "tests/solution/test_backward_induction.py", + "tests/solution/test_beta_delta.py", + "tests/solution/test_cell_frontier_ceiling.py", "tests/solution/test_continuation_unread_state_broadcast.py", + "tests/solution/test_custom_solver_rejected.py", "tests/solution/test_decoupled.py", - "tests/solution/test_dynamic_borrowing_contract.py", + "tests/solution/test_double_double.py", + "tests/solution/test_ds_housing_keeper.py", "tests/solution/test_edge_topologies_build_each_target_once.py", - "tests/solution/test_egm_continuation_grid_provenance.py", - "tests/solution/test_egm_law_param_names.py", - "tests/solution/test_egm_preferences.py", - "tests/solution/test_egm_rejects_discrete_choice.py", - "tests/solution/test_envelope_owner_under_blocking.py", - "tests/solution/test_envelope_public_witnesses.py", + "tests/solution/test_egm_degenerate_inversion.py", + "tests/solution/test_egm_subnormal_joint_node.py", + "tests/solution/test_envelope_arithmetic_mode.py", "tests/solution/test_euler_separability_contract.py", - "tests/solution/test_ev1_action_streaming.py", - "tests/solution/test_exact_event_lattice.py", - "tests/solution/test_fingerprint_pin.py", - "tests/solution/test_fues.py", - "tests/solution/test_fues_segment_detection.py", - "tests/solution/test_gated_edge_self_referencing_ref_age_specialized_axes.py", - "tests/solution/test_gated_edge_stateless_target_solve.py", + "tests/solution/test_exact_query_winner.py", + "tests/solution/test_explicit_entry_chained_transition.py", + "tests/solution/test_fingerprint_array_shape.py", "tests/solution/test_grid_search_cell_axis.py", - "tests/solution/test_handover_ownership.py", - "tests/solution/test_invariant_selected_view_admission.py", + "tests/solution/test_grid_search_streaming_production_path.py", + "tests/solution/test_interpolating_an_infeasible_node.py", "tests/solution/test_lazy_width_frontier.py", "tests/solution/test_mss.py", - "tests/solution/test_multi_axis_rare_joint_node.py", + "tests/solution/test_mss_segment_oracle.py", "tests/solution/test_nb_processed_capture_admission.py", "tests/solution/test_nbegm_action_in_liquid_law_agreement.py", - "tests/solution/test_nbegm_age_specialized_function.py", "tests/solution/test_nbegm_axes.py", - "tests/solution/test_nbegm_batch_size_validation.py", - "tests/solution/test_nbegm_boundary_marginal.py", "tests/solution/test_nbegm_carry_publishes_breakpoints.py", - "tests/solution/test_nbegm_discrete_envelope_ties.py", - "tests/solution/test_nbegm_dollar_scale.py", - "tests/solution/test_nbegm_interval_batch_transforms.py", - "tests/solution/test_nbegm_jump_stencil.py", + "tests/solution/test_nbegm_derived_var_agreement.py", + "tests/solution/test_nbegm_interval_constant_continuation.py", "tests/solution/test_nbegm_kept_continuation_mass.py", "tests/solution/test_nbegm_medicaid_brute_agreement.py", "tests/solution/test_nbegm_multi_interval.py", "tests/solution/test_nbegm_multi_source_agreement.py", "tests/solution/test_nbegm_multi_target_agreement.py", + "tests/solution/test_nbegm_nested_axes.py", "tests/solution/test_nbegm_per_cell_discount_agreement.py", "tests/solution/test_nbegm_per_interval_chunked.py", - "tests/solution/test_nbegm_smooth_budget.py", + "tests/solution/test_nbegm_planned_outputs.py", + "tests/solution/test_nbegm_probe_schedule.py", + "tests/solution/test_nbegm_ride_along_carry_policy_template.py", + "tests/solution/test_nbegm_tax_agreement.py", "tests/solution/test_negm_age_specialized_function.py", "tests/solution/test_negm_serviceflow.py", "tests/solution/test_nested_dynamic_borrowing.py", - "tests/solution/test_subnormal_joint_node_bellman_action.py", - "tests/solution/test_wide_live_nonfinite_entry.py" + "tests/solution/test_outer_candidate_axis.py", + "tests/solution/test_power_of_two_scaling.py", + "tests/solution/test_public_lower_period_candidate_gpu.py", + "tests/solution/test_public_period_replay.py", + "tests/solution/test_scalar_target_certainty_equivalent.py", + "tests/solution/test_solution_fingerprint.py", + "tests/solution/test_value_residency.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-3-fp32-linux", @@ -6446,60 +6445,60 @@ }, "junit": "junit-32-3.xml", "files": [ - "tests/solution/test_backward_induction.py", "tests/solution/test_block_major_lifetime.py", - "tests/solution/test_brute_child_carry_producer.py", "tests/solution/test_builtin_policy_persistence.py", - "tests/solution/test_candidate_census.py", - "tests/solution/test_child_status_family.py", + "tests/solution/test_certified_sign_derived_distance.py", + "tests/solution/test_compilation_identity.py", "tests/solution/test_component_job_placement.py", "tests/solution/test_dcegm_axis_width_policy.py", - "tests/solution/test_donation_pair_budget.py", - "tests/solution/test_donation_retention.py", - "tests/solution/test_egm_honours_the_declared_law.py", - "tests/solution/test_egm_model_validation.py", - "tests/solution/test_egm_passive.py", - "tests/solution/test_envelope_oracle.py", - "tests/solution/test_exact_envelope_ownership.py", - "tests/solution/test_explicit_entry_is_deterministic.py", - "tests/solution/test_explicit_process_entry_mutations.py", - "tests/solution/test_grid_search_streaming_production_path.py", - "tests/solution/test_halving_published_contract.py", - "tests/solution/test_iegm_wiring.py", + "tests/solution/test_diagnostics.py", + "tests/solution/test_egm_continuation_grid_provenance.py", + "tests/solution/test_egm_core_program.py", + "tests/solution/test_egm_cross_regime_target_params.py", + "tests/solution/test_egm_reconstructed_action_value.py", + "tests/solution/test_envelope_link_read.py", + "tests/solution/test_euler_errors.py", + "tests/solution/test_exact_affine_kernel_absence.py", + "tests/solution/test_ez_kernel.py", + "tests/solution/test_fues.py", + "tests/solution/test_gated_edge_fold_reads.py", + "tests/solution/test_gated_edge_self_referencing_ref_age_specialized_axes.py", "tests/solution/test_invariant_blocking_scalar.py", "tests/solution/test_logsumexp_action_reduction.py", + "tests/solution/test_lone_point_ownership.py", + "tests/solution/test_materialization_mutations.py", + "tests/solution/test_multi_axis_rare_joint_node.py", + "tests/solution/test_n_nbegm_continuous.py", "tests/solution/test_n_nbegm_epstein_zin.py", - "tests/solution/test_n_nbegm_finite_baseline.py", - "tests/solution/test_nb_income_scientific_contract.py", - "tests/solution/test_nbegm_action_in_utility_agreement.py", - "tests/solution/test_nbegm_all_dead_interior.py", - "tests/solution/test_nbegm_bounded_limit.py", - "tests/solution/test_nbegm_carry_subset_is_per_period.py", + "tests/solution/test_nb_capture_admission.py", + "tests/solution/test_nbegm_brute_child_agreement.py", + "tests/solution/test_nbegm_cliff_target_margin.py", + "tests/solution/test_nbegm_dollar_scale.py", "tests/solution/test_nbegm_flat_continuation.py", + "tests/solution/test_nbegm_interval_batch_transforms.py", "tests/solution/test_nbegm_multi_discrete_agreement.py", - "tests/solution/test_nbegm_nested_axes.py", - "tests/solution/test_nbegm_pure_jump_additivity.py", "tests/solution/test_nbegm_query_resource_boundaries.py", - "tests/solution/test_nbegm_query_resource_matrix.py", "tests/solution/test_nbegm_ride_along_agreement.py", "tests/solution/test_nbegm_ride_discrete_agreement.py", - "tests/solution/test_nbegm_save_to_cliff_candidates.py", - "tests/solution/test_nbegm_savings_node_floor.py", - "tests/solution/test_nbegm_target_period_grid.py", - "tests/solution/test_nbegm_threshold_order.py", - "tests/solution/test_negm_identity_no_adjustment.py", - "tests/solution/test_nnbegm_inner_carry_alignment.py", + "tests/solution/test_nbegm_taste_shocks.py", + "tests/solution/test_negm_bequest.py", + "tests/solution/test_negm_private_publication_policy.py", + "tests/solution/test_nested_edge_namespace_matrix.py", + "tests/solution/test_nnbegm_host_lifetime.py", "tests/solution/test_pipelined_lowering_contract.py", - "tests/solution/test_probability_bits.py", + "tests/solution/test_query_owner_formulation.py", "tests/solution/test_representable_tie_handover.py", - "tests/solution/test_ride_partition_routing.py", - "tests/solution/test_solution_fingerprint.py", - "tests/solution/test_solution_result_model_authority.py", + "tests/solution/test_signed_regime_probabilities.py", + "tests/solution/test_solution_persistence.py", + "tests/solution/test_solution_result_snapshot.py", + "tests/solution/test_solve_phase_records.py", "tests/solution/test_solver_period_groups.py", - "tests/solution/test_supplied_V_shape_validation.py", - "tests/solution/test_terminal_carry_kernel_edge_kwargs.py" + "tests/solution/test_subnormal_joint_node_bellman_action.py", + "tests/solution/test_subnormal_regime_weight.py", + "tests/solution/test_transition_local_markov_draw.py", + "tests/solution/test_upper_envelope_dispatch.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-4-fp32-linux", @@ -6527,60 +6526,59 @@ }, "junit": "junit-32-4.xml", "files": [ - "tests/solution/test_affine_read_headroom.py", - "tests/solution/test_age_specialized_grid_solve.py", - "tests/solution/test_backend_oracle_parity.py", - "tests/solution/test_certified_sign_derived_distance.py", + "tests/solution/test_app2_branch_aware_vfi.py", + "tests/solution/test_bounded_width_search.py", + "tests/solution/test_collective_cell_ceiling.py", "tests/solution/test_compilation_key_mutations.py", - "tests/solution/test_custom_solver_rejected.py", + "tests/solution/test_constant_lottery_certainty_equivalent.py", "tests/solution/test_dcegm_age_specialized_function.py", + "tests/solution/test_dcegm_core_program.py", + "tests/solution/test_dcegm_period_node_axes.py", "tests/solution/test_diagnostics_host_age.py", - "tests/solution/test_ds_housing_keeper.py", - "tests/solution/test_dynamic_nbegm_floor.py", - "tests/solution/test_egm_euler_point_axis.py", - "tests/solution/test_egm_process_states.py", - "tests/solution/test_envelope_arithmetic_mode.py", - "tests/solution/test_ephemeral_identity.py", + "tests/solution/test_egm_app2_housing_fues.py", + "tests/solution/test_egm_law_param_names.py", + "tests/solution/test_egm_model_validation.py", + "tests/solution/test_egm_preferences.py", + "tests/solution/test_egm_refine_to_query.py", + "tests/solution/test_egm_savings_stage_euler_state.py", + "tests/solution/test_egm_stochastic_dim_fold.py", + "tests/solution/test_envelope_exact_crossing.py", "tests/solution/test_exact_affine_derivatives.py", - "tests/solution/test_finite_nnbegm_policy_authority.py", - "tests/solution/test_finite_nnbegm_policy_periods.py", - "tests/solution/test_footprint_width_selection.py", - "tests/solution/test_gated_edge_fold_reads.py", - "tests/solution/test_iid_continuation_reads.py", - "tests/solution/test_independent_types_oracle.py", - "tests/solution/test_joint_transition_solve.py", - "tests/solution/test_lazy_fallback_compilation.py", - "tests/solution/test_liveness_pins.py", - "tests/solution/test_lone_point_ownership.py", + "tests/solution/test_explicit_entry_dependency_mutations.py", + "tests/solution/test_explicit_entry_mutation_guard.py", + "tests/solution/test_fues_upper_envelope_audit.py", + "tests/solution/test_gated_edge_stateless_target_solve.py", + "tests/solution/test_handover_ownership.py", + "tests/solution/test_internal_edge_graphs.py", + "tests/solution/test_invariant_structural_cache.py", + "tests/solution/test_joint_transition_solver_scope.py", + "tests/solution/test_kernel_output.py", "tests/solution/test_ltm.py", - "tests/solution/test_mss_arithmetic_modes.py", - "tests/solution/test_n_nbegm_continuous.py", "tests/solution/test_nb_scientific_capture_defaults.py", - "tests/solution/test_nbegm_device_local_continuation.py", - "tests/solution/test_nbegm_discrete_cliff_agreement.py", - "tests/solution/test_nbegm_epstein_zin.py", - "tests/solution/test_nbegm_feasibility_provenance.py", - "tests/solution/test_nbegm_planned_outputs.py", - "tests/solution/test_nbegm_probe_schedule.py", + "tests/solution/test_nbegm_branch_batch_size.py", + "tests/solution/test_nbegm_buy_private_agreement.py", + "tests/solution/test_nbegm_continuation_boundary.py", + "tests/solution/test_nbegm_envelope_arithmetic.py", + "tests/solution/test_nbegm_honours_the_declared_law.py", + "tests/solution/test_nbegm_kernel_contract.py", "tests/solution/test_nbegm_query_actual_resources.py", - "tests/solution/test_nbegm_query_resource_mutations.py", - "tests/solution/test_nbegm_stochastic_node_agreement.py", + "tests/solution/test_nbegm_smooth_budget.py", + "tests/solution/test_nbegm_state_feasibility_counts.py", + "tests/solution/test_negm_identity_no_adjustment.py", + "tests/solution/test_negm_validation.py", "tests/solution/test_period_capture_eager.py", - "tests/solution/test_period_target_value_reads.py", + "tests/solution/test_pipelined_lowering.py", "tests/solution/test_planned_core_universality.py", - "tests/solution/test_power_of_two_scaling.py", - "tests/solution/test_scaled_probability_expectation.py", + "tests/solution/test_probability_bits.py", + "tests/solution/test_public_mapping_admission.py", + "tests/solution/test_retained_buffers.py", "tests/solution/test_solution_result.py", - "tests/solution/test_solution_result_snapshot.py", - "tests/solution/test_solve_executable_readiness.py", - "tests/solution/test_solve_phase_records.py", + "tests/solution/test_solution_result_model_authority_mutations.py", "tests/solution/test_stateless_continuation_target.py", - "tests/solution/test_subnormal_joint_weight.py", - "tests/solution/test_transition_local_markov_draw.py", - "tests/solution/test_value_residency.py", - "tests/solution/test_zero_mass_target.py" + "tests/solution/test_target_only_iid_entry.py", + "tests/solution/test_zero_mass_node.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-5-fp32-linux", @@ -6608,59 +6606,60 @@ }, "junit": "junit-32-5.xml", "files": [ - "tests/solution/test_action_partitions_devices.py", - "tests/solution/test_continuation_spec.py", - "tests/solution/test_dcegm_core_program.py", + "tests/solution/test_action_streaming.py", + "tests/solution/test_cuda_lowering_identity.py", "tests/solution/test_dissolution_flag_retention.py", + "tests/solution/test_donation_fallback.py", + "tests/solution/test_donation_pair_budget.py", "tests/solution/test_donation_solve.py", - "tests/solution/test_double_double.py", - "tests/solution/test_egm_borrowing_limit.py", - "tests/solution/test_egm_solver.py", - "tests/solution/test_egm_subnormal_joint_node.py", - "tests/solution/test_egm_wealth_dependent_regime_law.py", + "tests/solution/test_dynamic_bound_runtime.py", + "tests/solution/test_dynamic_dcegm_binding.py", + "tests/solution/test_egm_app3_discrete_housing.py", + "tests/solution/test_egm_app3_taxed.py", + "tests/solution/test_egm_asset_row_params.py", + "tests/solution/test_egm_assets_law_terms.py", + "tests/solution/test_egm_carry.py", + "tests/solution/test_egm_flat_resources.py", + "tests/solution/test_egm_savings_point_axis.py", + "tests/solution/test_egm_target_period_grid.py", + "tests/solution/test_envelope_untrustworthy_read.py", + "tests/solution/test_finite_nnbegm_parent_query.py", + "tests/solution/test_gated_edge_age_specialized_fallback.py", "tests/solution/test_gated_edge_reference_age_specialized_axes.py", - "tests/solution/test_grid_search_streaming_value_dependent.py", "tests/solution/test_housing_oracle.py", - "tests/solution/test_invariant_assembly_reservation.py", - "tests/solution/test_invariant_structural_cache.py", - "tests/solution/test_joint_transition_solver_scope.py", - "tests/solution/test_kernel_output.py", - "tests/solution/test_ltm_fues_parity.py", - "tests/solution/test_mss_shared_node_records.py", - "tests/solution/test_n_nbegm.py", - "tests/solution/test_n_nbegm_discrete.py", - "tests/solution/test_nbegm_action_in_regime_transition_agreement.py", - "tests/solution/test_nbegm_boundary_direction.py", - "tests/solution/test_nbegm_cliff_target_margin.py", - "tests/solution/test_nbegm_continuation_boundary.py", - "tests/solution/test_nbegm_corner_coverage.py", - "tests/solution/test_nbegm_envelope_arithmetic.py", - "tests/solution/test_nbegm_epstein_zin_composite_flow.py", + "tests/solution/test_interp_duplicated_abscissa_jump.py", + "tests/solution/test_invert_euler.py", + "tests/solution/test_joint_transition_process_target.py", + "tests/solution/test_kernel_memory_logging.py", + "tests/solution/test_liveness_pins.py", + "tests/solution/test_nb_income_native_qualification.py", + "tests/solution/test_nb_income_scientific_contract.py", + "tests/solution/test_nbegm_distributed_carry_sharding.py", "tests/solution/test_nbegm_epstein_zin_flow_shock.py", "tests/solution/test_nbegm_hermite_bridged_sign.py", - "tests/solution/test_nbegm_interval_constant_continuation.py", + "tests/solution/test_nbegm_indexed_threshold_agreement.py", "tests/solution/test_nbegm_jump_ride_along_agreement.py", - "tests/solution/test_nbegm_kernel_contract.py", "tests/solution/test_nbegm_mixed_agreement.py", + "tests/solution/test_nbegm_query_resource_mutations.py", "tests/solution/test_nbegm_retention_specialization.py", - "tests/solution/test_nbegm_transition_reads_liquid_agreement.py", + "tests/solution/test_nbegm_two_cliff_agreement.py", + "tests/solution/test_negm.py", "tests/solution/test_negm_child_only_execution.py", "tests/solution/test_negm_kinked_toy.py", "tests/solution/test_negm_native_binding.py", - "tests/solution/test_negm_no_action_publication.py", - "tests/solution/test_negm_validation.py", - "tests/solution/test_period_core_memory.py", + "tests/solution/test_outer_envelope.py", "tests/solution/test_period_replay_layout.py", - "tests/solution/test_pipelined_lowering.py", - "tests/solution/test_power_mean_value_representation_boundaries.py", + "tests/solution/test_period_target_value_reads.py", "tests/solution/test_probability_consumer_matrix.py", - "tests/solution/test_same_period_lowering_templates.py", - "tests/solution/test_scalar_target_certainty_equivalent.py", - "tests/solution/test_state_dependent_borrowing_limit.py", - "tests/solution/test_subnormal_mantissa_matrix.py", - "tests/solution/test_wide_exponent_spread_lottery.py" + "tests/solution/test_solve_executable_readiness.py", + "tests/solution/test_solver_param_checks.py", + "tests/solution/test_solver_subclass_binding.py", + "tests/solution/test_subnormal_joint_weight.py", + "tests/solution/test_wide_exponent_spread_lottery.py", + "tests/solution/test_zero_mass_target.py", + "tests/solution/test_zero_probability_node.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-6-fp32-linux", @@ -6688,60 +6687,60 @@ }, "junit": "junit-32-6.xml", "files": [ - "tests/solution/test_action_streaming.py", - "tests/solution/test_capture_padding.py", + "tests/solution/test_action_partitions_devices.py", + "tests/solution/test_age_specialized_solve.py", "tests/solution/test_certified_sign_oracle.py", - "tests/solution/test_certified_sign_scaling.py", - "tests/solution/test_constrained_segment_scale_guard.py", + "tests/solution/test_continuation_paired_read.py", + "tests/solution/test_continuation_spec.py", "tests/solution/test_covered_axis_parity.py", - "tests/solution/test_dcegm_period_node_axes.py", - "tests/solution/test_donation_nbegm.py", - "tests/solution/test_egm_child_resources.py", + "tests/solution/test_diagnostics_fold_placement.py", + "tests/solution/test_dropped_results_release_arrays.py", + "tests/solution/test_egm_child_resources_age_factory.py", "tests/solution/test_egm_continuation_grid_compilation.py", - "tests/solution/test_egm_degenerate_inversion.py", - "tests/solution/test_egm_flat_resources.py", - "tests/solution/test_egm_published_policy.py", - "tests/solution/test_egm_savings_stage_euler_state.py", - "tests/solution/test_envelope_exact_crossing.py", + "tests/solution/test_egm_degenerate_constrained_span.py", + "tests/solution/test_egm_interp.py", + "tests/solution/test_egm_publish_overflow.py", + "tests/solution/test_egm_solver.py", + "tests/solution/test_egm_terminal_carry_fixed_params.py", + "tests/solution/test_egm_wealth_dependent_regime_law.py", + "tests/solution/test_envelope_cell_batching.py", "tests/solution/test_envelope_oracle_hardening.py", - "tests/solution/test_envelope_query.py", "tests/solution/test_envelope_query_batching.py", - "tests/solution/test_envelope_topology.py", - "tests/solution/test_exact_affine_kernel_absence.py", - "tests/solution/test_exact_query_winner.py", - "tests/solution/test_explicit_entry_dependency_mutations.py", - "tests/solution/test_fingerprint_array_shape.py", - "tests/solution/test_finite_candidate_oracle_mutations.py", - "tests/solution/test_finite_candidate_tuple_economics.py", + "tests/solution/test_fingerprint_downstream_beartype.py", + "tests/solution/test_finite_nnbegm_policy_periods.py", "tests/solution/test_fixed_component_markov.py", - "tests/solution/test_fixed_params_entry_mutations.py", - "tests/solution/test_fues_upper_envelope_audit.py", - "tests/solution/test_interpolating_an_infeasible_node.py", - "tests/solution/test_invariant_blocking.py", - "tests/solution/test_joint_transition_process_target.py", + "tests/solution/test_footprint_width_selection.py", + "tests/solution/test_gated_edge_age_specialized_axes.py", + "tests/solution/test_gated_edge_target_value_read_age_specialized_axes.py", + "tests/solution/test_grid_search_streaming_width_collision.py", + "tests/solution/test_joint_transition_solve.py", + "tests/solution/test_lazy_producer_frontier.py", "tests/solution/test_literal_parent_child_status.py", "tests/solution/test_materialization_admission.py", + "tests/solution/test_mss_oracle_differential.py", + "tests/solution/test_n_nbegm.py", + "tests/solution/test_n_nbegm_finite_baseline.py", "tests/solution/test_n_nbegm_fixed_cost.py", - "tests/solution/test_nbegm_action_all_channels_agreement.py", - "tests/solution/test_nbegm_action_in_costate_agreement.py", - "tests/solution/test_nbegm_boundary_source_floor.py", - "tests/solution/test_nbegm_case_discrete_guard.py", + "tests/solution/test_nbegm_action_costate_jump_agreement.py", + "tests/solution/test_nbegm_age_specialized_function.py", "tests/solution/test_nbegm_child_period_geometry.py", - "tests/solution/test_nbegm_derived_var_agreement.py", - "tests/solution/test_nbegm_epstein_zin_multi_regime.py", - "tests/solution/test_nbegm_floor_agreement.py", - "tests/solution/test_nbegm_interval_candidate_channels.py", - "tests/solution/test_nbegm_state_feasibility_counts.py", - "tests/solution/test_nbegm_stochastic_distributed_fold.py", - "tests/solution/test_nnbegm_validate.py", - "tests/solution/test_outer_candidate_axis.py", - "tests/solution/test_query_certified_owner.py", - "tests/solution/test_query_owner_formulation.py", + "tests/solution/test_nbegm_device_local_continuation.py", + "tests/solution/test_nbegm_feasibility_provenance.py", + "tests/solution/test_nbegm_flat_budget_interval.py", + "tests/solution/test_nbegm_interval_batch.py", + "tests/solution/test_nbegm_mappingleaf_threshold_agreement.py", + "tests/solution/test_nbegm_probe_fill.py", + "tests/solution/test_nbegm_save_to_cliff_candidates.py", + "tests/solution/test_period_waves.py", + "tests/solution/test_public_lower_period_candidate.py", + "tests/solution/test_query_bottom_range_publication.py", + "tests/solution/test_same_period_lowering_templates.py", + "tests/solution/test_scaled_probability_expectation.py", "tests/solution/test_segment_envelope.py", - "tests/solution/test_segment_envelope_exact_read.py", - "tests/solution/test_solve_grid_candidate_reconstruction.py" + "tests/solution/test_solution_result_model_authority.py", + "tests/solution/test_subnormal_weight_magnitude.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-7-fp32-linux", @@ -6769,59 +6768,59 @@ }, "junit": "junit-32-7.xml", "files": [ - "tests/solution/test_certified_margin_sign_exact.py", - "tests/solution/test_certified_sign_subnormal_distance_property.py", - "tests/solution/test_collective_cell_ceiling.py", - "tests/solution/test_component_job_acceptance.py", - "tests/solution/test_component_jobs.py", - "tests/solution/test_constant_lottery_certainty_equivalent.py", - "tests/solution/test_continuation_paired_read.py", - "tests/solution/test_continuation_stacked_read.py", - "tests/solution/test_custom_aggregator.py", - "tests/solution/test_donation_two_active_regimes.py", - "tests/solution/test_egm_asset_row_params.py", - "tests/solution/test_egm_discrete.py", - "tests/solution/test_egm_interp.py", + "tests/solution/test_age_specialized_grid_solve.py", + "tests/solution/test_brute_child_carry_producer.py", + "tests/solution/test_candidate_census.py", + "tests/solution/test_capture_padding.py", + "tests/solution/test_certified_margin_sign_exact.py", + "tests/solution/test_certified_sign_scaling.py", + "tests/solution/test_certified_sign_unreadable_amplification.py", + "tests/solution/test_component_jobs.py", + "tests/solution/test_donation_retention.py", + "tests/solution/test_dynamic_nbegm_floor.py", + "tests/solution/test_egm_concave.py", + "tests/solution/test_egm_consumes_its_liquid_roles.py", + "tests/solution/test_egm_euler_point_axis.py", + "tests/solution/test_egm_interp_query_derivative.py", "tests/solution/test_egm_markov_states.py", - "tests/solution/test_egm_publish_overflow.py", + "tests/solution/test_egm_process_states.py", + "tests/solution/test_egm_rejects_a_non_increasing_law.py", "tests/solution/test_egm_step.py", - "tests/solution/test_egm_terminal_carry_fixed_params.py", "tests/solution/test_envelope_cell_axis.py", - "tests/solution/test_envelope_link_read.py", - "tests/solution/test_envelope_untrustworthy_read.py", - "tests/solution/test_explicit_entry_chained_transition.py", - "tests/solution/test_explicit_entry_mutation_guard.py", - "tests/solution/test_joint_transition_timing.py", + "tests/solution/test_envelope_oracle.py", + "tests/solution/test_envelope_owner_under_common_level.py", + "tests/solution/test_envelope_query.py", + "tests/solution/test_ephemeral_identity.py", + "tests/solution/test_finite_nnbegm_policy_authority.py", + "tests/solution/test_invariant_blocking.py", + "tests/solution/test_kernel_attribution.py", + "tests/solution/test_lazy_fallback_compilation.py", "tests/solution/test_n_nbegm_discrete_replay.py", - "tests/solution/test_nb_income_native_qualification.py", - "tests/solution/test_nbegm_action_in_schedule_variable_agreement.py", + "tests/solution/test_nbegm_action_in_regime_transition_agreement.py", + "tests/solution/test_nbegm_action_in_utility_agreement.py", "tests/solution/test_nbegm_branch_continuation_factoring.py", - "tests/solution/test_nbegm_case_piece_dag_fidelity.py", - "tests/solution/test_nbegm_flat_budget_interval.py", - "tests/solution/test_nbegm_honours_the_declared_law.py", - "tests/solution/test_nbegm_mappingleaf_threshold_agreement.py", - "tests/solution/test_nbegm_next_asset_cliff_agreement.py", + "tests/solution/test_nbegm_carry_subset_is_per_period.py", + "tests/solution/test_nbegm_discrete_envelope_ties.py", + "tests/solution/test_nbegm_epstein_zin.py", + "tests/solution/test_nbegm_nonpositive_corner.py", "tests/solution/test_nbegm_offgrid_inverse.py", - "tests/solution/test_nbegm_probe_fill.py", - "tests/solution/test_nbegm_ride_along_carry_policy_template.py", - "tests/solution/test_nbegm_savings_node_singleton_bracket.py", - "tests/solution/test_nbegm_tax_agreement.py", - "tests/solution/test_nbegm_tiled_core.py", - "tests/solution/test_nbegm_two_cliff_agreement.py", + "tests/solution/test_nbegm_schedule_variable_interval_agreement.py", + "tests/solution/test_nbegm_threshold_order.py", "tests/solution/test_negm_conditional_resource_status.py", "tests/solution/test_negm_internal_argument_namespace.py", + "tests/solution/test_nnbegm_inner_spec.py", "tests/solution/test_nnbegm_validation.py", - "tests/solution/test_public_lower_period_candidate_gpu.py", - "tests/solution/test_public_period_runtime_policy.py", - "tests/solution/test_rfc_fues_parity.py", - "tests/solution/test_round4_coarse_process_and_scalar_ce.py", + "tests/solution/test_one_node_support.py", + "tests/solution/test_outer_envelope_exactness.py", + "tests/solution/test_post_decision_lower_bound.py", + "tests/solution/test_public_weak_type_contract.py", + "tests/solution/test_retirement_only_oracle.py", + "tests/solution/test_solve_releases_executables.py", "tests/solution/test_solve_result_public_interface.py", - "tests/solution/test_target_only_iid_nonuniform_public.py", - "tests/solution/test_transition_local_process_draw.py", - "tests/solution/test_workspace_budget_solve.py", - "tests/solution/test_zero_mass_node.py" + "tests/solution/test_subnormal_mantissa_matrix.py", + "tests/solution/test_transition_local_process_draw.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-8-fp32-linux", @@ -6849,59 +6848,59 @@ }, "junit": "junit-32-8.xml", "files": [ - "tests/solution/test_action_reduction.py", + "tests/solution/test_action_partitions_route.py", "tests/solution/test_age_specialized_solver_composition.py", - "tests/solution/test_beta_delta.py", - "tests/solution/test_cell_frontier_ceiling.py", - "tests/solution/test_certified_sign_unreadable_amplification.py", - "tests/solution/test_diagnostics.py", - "tests/solution/test_donation_fallback.py", - "tests/solution/test_egm_app2_housing_fues.py", - "tests/solution/test_egm_assets_law_terms.py", - "tests/solution/test_egm_carry.py", - "tests/solution/test_egm_concave.py", - "tests/solution/test_egm_consumes_its_liquid_roles.py", - "tests/solution/test_egm_cross_regime_target_params.py", - "tests/solution/test_egm_reconstructed_action_value.py", - "tests/solution/test_egm_refine_to_query.py", - "tests/solution/test_egm_rejects_a_non_increasing_law.py", - "tests/solution/test_egm_stochastic_dim_fold.py", - "tests/solution/test_egm_target_state_name.py", - "tests/solution/test_fingerprint_downstream_beartype.py", - "tests/solution/test_finite_nnbegm_parent_query.py", - "tests/solution/test_grid_search_streaming_width_collision.py", + "tests/solution/test_broadcast_law_reading_an_entered_draw.py", + "tests/solution/test_certified_sign.py", + "tests/solution/test_compile_declared_core.py", + "tests/solution/test_component_job_acceptance.py", + "tests/solution/test_declared_law.py", + "tests/solution/test_donation_nbegm.py", + "tests/solution/test_donation_two_active_regimes.py", + "tests/solution/test_egm_child_resources.py", + "tests/solution/test_egm_discrete.py", + "tests/solution/test_egm_honours_the_declared_law.py", + "tests/solution/test_egm_passive.py", + "tests/solution/test_egm_published_policy.py", + "tests/solution/test_envelope_cell_workspace.py", + "tests/solution/test_envelope_derived_subnormal_publication.py", + "tests/solution/test_exact_cell_hull.py", + "tests/solution/test_explicit_entry_is_deterministic.py", + "tests/solution/test_fixed_params_entry_mutations.py", + "tests/solution/test_halving_published_contract.py", + "tests/solution/test_independent_types_oracle.py", "tests/solution/test_infeasible_cell_poison.py", - "tests/solution/test_internal_edge_graphs.py", - "tests/solution/test_kernel_attribution.py", - "tests/solution/test_lazy_producer_frontier.py", - "tests/solution/test_mss_segment_oracle.py", - "tests/solution/test_nb_capture_admission.py", + "tests/solution/test_invariant_selected_view_admission.py", + "tests/solution/test_ltm_mss_topology.py", + "tests/solution/test_n_nbegm_discrete.py", "tests/solution/test_nb_scientific_reference.py", + "tests/solution/test_nbegm_action_all_channels_agreement.py", + "tests/solution/test_nbegm_action_in_costate_agreement.py", + "tests/solution/test_nbegm_all_dead_interior.py", "tests/solution/test_nbegm_budget_target.py", "tests/solution/test_nbegm_corners.py", - "tests/solution/test_nbegm_distributed_carry_sharding.py", "tests/solution/test_nbegm_draw_conditioned_cliffs.py", - "tests/solution/test_nbegm_interval_batch.py", + "tests/solution/test_nbegm_epstein_zin_multi_regime.py", + "tests/solution/test_nbegm_floor_agreement.py", + "tests/solution/test_nbegm_interval_candidate_channels.py", + "tests/solution/test_nbegm_jump_schedule_agreement.py", + "tests/solution/test_nbegm_jump_stencil.py", "tests/solution/test_nbegm_native_program_graph.py", - "tests/solution/test_nbegm_nonpositive_corner.py", - "tests/solution/test_nbegm_schedule_variable_interval_agreement.py", - "tests/solution/test_nbegm_taste_shocks.py", - "tests/solution/test_nbegm_topology_continuation.py", + "tests/solution/test_nbegm_ride_discrete_guards.py", + "tests/solution/test_nbegm_savings_node_singleton_bracket.py", + "tests/solution/test_nbegm_schedule_guards.py", + "tests/solution/test_nbegm_stochastic_distributed_fold.py", + "tests/solution/test_nbegm_target_period_grid.py", "tests/solution/test_nbegm_two_state_cliff_geometry.py", + "tests/solution/test_negm_current_publication.py", + "tests/solution/test_negm_shared_runtime_status.py", "tests/solution/test_nnbegm_native_program_graph.py", - "tests/solution/test_outer_envelope.py", - "tests/solution/test_public_lower_period_candidate.py", - "tests/solution/test_public_mapping_admission.py", - "tests/solution/test_public_period_replay.py", - "tests/solution/test_retirement_only_oracle.py", + "tests/solution/test_segment_envelope_dead_candidates.py", + "tests/solution/test_segment_envelope_exact_read.py", "tests/solution/test_solution_consumption.py", - "tests/solution/test_solve_releases_executables.py", - "tests/solution/test_solver_param_checks.py", - "tests/solution/test_subnormal_weight_magnitude.py", - "tests/solution/test_target_only_iid_entry.py", - "tests/solution/test_zero_probability_node.py" + "tests/solution/test_supplied_V_shape_validation.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "solution-shard-9-fp32-linux", @@ -6929,59 +6928,60 @@ }, "junit": "junit-32-9.xml", "files": [ - "tests/solution/test_action_partitions_route.py", - "tests/solution/test_age_specialized_solve.py", - "tests/solution/test_app2_branch_aware_vfi.py", - "tests/solution/test_bounded_width_search.py", + "tests/solution/test_action_reduction.py", + "tests/solution/test_backend_oracle_parity.py", + "tests/solution/test_child_status_family.py", + "tests/solution/test_collective_gated_edge_age_specialized_axes.py", + "tests/solution/test_continuation_stacked_read.py", + "tests/solution/test_custom_aggregator.py", "tests/solution/test_dcegm_stochastic_node_axis.py", - "tests/solution/test_diagnostics_fold_placement.py", - "tests/solution/test_donation_read_multiplicity.py", - "tests/solution/test_dropped_results_release_arrays.py", + "tests/solution/test_dynamic_borrowing_contract.py", "tests/solution/test_eager_internal_inputs.py", - "tests/solution/test_egm_app3_discrete_housing.py", + "tests/solution/test_egm_borrowing_limit.py", "tests/solution/test_egm_cell_axis.py", - "tests/solution/test_egm_child_resources_age_factory.py", - "tests/solution/test_egm_core_program.py", - "tests/solution/test_egm_degenerate_constrained_span.py", - "tests/solution/test_egm_interp_query_derivative.py", "tests/solution/test_egm_passive_asset_row.py", - "tests/solution/test_egm_savings_point_axis.py", - "tests/solution/test_egm_target_period_grid.py", - "tests/solution/test_envelope_cell_batching.py", - "tests/solution/test_envelope_owner_under_common_level.py", - "tests/solution/test_gated_edge_age_specialized_axes.py", - "tests/solution/test_gated_edge_age_specialized_fallback.py", - "tests/solution/test_gated_edge_target_value_read_age_specialized_axes.py", - "tests/solution/test_interp_duplicated_abscissa_jump.py", - "tests/solution/test_invert_euler.py", + "tests/solution/test_egm_terminal_discrete_states.py", + "tests/solution/test_envelope_owner_under_blocking.py", + "tests/solution/test_envelope_public_witnesses.py", + "tests/solution/test_exact_envelope_ownership.py", + "tests/solution/test_exact_event_lattice.py", + "tests/solution/test_finite_candidate_oracle_mutations.py", + "tests/solution/test_fues_segment_detection.py", + "tests/solution/test_grid_search_streaming_value_dependent.py", + "tests/solution/test_iegm_wiring.py", + "tests/solution/test_iid_continuation_reads.py", + "tests/solution/test_invariant_assembly_reservation.py", "tests/solution/test_mss_bracket_arithmetic.py", "tests/solution/test_mss_decision_safety.py", - "tests/solution/test_mss_oracle_differential.py", "tests/solution/test_n_nbegm_depreciating_outer_law.py", - "tests/solution/test_nbegm_action_costate_jump_agreement.py", - "tests/solution/test_nbegm_branch_batch_size.py", + "tests/solution/test_n_nbegm_matched_oracle.py", + "tests/solution/test_nbegm_action_in_schedule_variable_agreement.py", + "tests/solution/test_nbegm_boundary_direction.py", + "tests/solution/test_nbegm_boundary_marginal.py", + "tests/solution/test_nbegm_bounded_limit.py", + "tests/solution/test_nbegm_case_piece_dag_fidelity.py", "tests/solution/test_nbegm_ces_utility_agreement.py", - "tests/solution/test_nbegm_indexed_threshold_agreement.py", - "tests/solution/test_nbegm_jump_schedule_agreement.py", + "tests/solution/test_nbegm_discrete_cliff_agreement.py", + "tests/solution/test_nbegm_savings_node_floor.py", "tests/solution/test_nbegm_streamed_interval_envelope.py", - "tests/solution/test_negm.py", + "tests/solution/test_nbegm_tiled_core.py", + "tests/solution/test_nbegm_topology_continuation.py", "tests/solution/test_negm_core_program.py", - "tests/solution/test_negm_current_publication.py", - "tests/solution/test_negm_shared_runtime_status.py", "tests/solution/test_nested_edge_namespace.py", - "tests/solution/test_nested_edge_namespace_matrix.py", + "tests/solution/test_nnbegm_inner_carry_alignment.py", "tests/solution/test_nnbegm_phased.py", - "tests/solution/test_one_node_support.py", - "tests/solution/test_outer_envelope_exactness.py", - "tests/solution/test_period_waves.py", - "tests/solution/test_public_weak_type_contract.py", - "tests/solution/test_query_bottom_range_publication.py", + "tests/solution/test_power_mean_value_representation_boundaries.py", + "tests/solution/test_public_period_runtime_policy.py", "tests/solution/test_reachability.py", - "tests/solution/test_retained_buffers.py", - "tests/solution/test_upper_envelope_dispatch.py", - "tests/solution/test_width_selection_across_periods.py" + "tests/solution/test_rfc_fues_parity.py", + "tests/solution/test_ride_partition_routing.py", + "tests/solution/test_round4_coarse_process_and_scalar_ce.py", + "tests/solution/test_target_only_iid_nonuniform_public.py", + "tests/solution/test_terminal_carry_kernel_edge_kwargs.py", + "tests/solution/test_width_selection_across_periods.py", + "tests/solution/test_workspace_budget_solve.py" ], - "predicted_payload_minutes": 23.76 + "predicted_payload_minutes": 23.77 }, { "id": "os-persistence-fp64-macos", @@ -10666,7 +10666,7 @@ "tests/execution/test_workspace_candidate_residency.py": 0.065, "tests/execution/test_workspace_planning.py": 0.191, "tests/params/test_dormant_edge_series_vocabulary.py": 22.454, - "tests/params/test_edge_params.py": 27.822, + "tests/params/test_edge_params.py": 23.361, "tests/params/test_final_target_comparison.py": 26.687, "tests/params/test_gate_parameter_boundaries.py": 9.016, "tests/params/test_gate_reads_on_the_target_domain.py": 12.243, @@ -10957,7 +10957,6 @@ "tests/solution/test_block_major_lifetime.py": 0.0, "tests/solution/test_bounded_width_search.py": 0.0, "tests/solution/test_candidate_census.py": 0.0, - "tests/solution/test_capture_padding.py": 0.0, "tests/solution/test_cell_frontier_ceiling.py": 0.0, "tests/solution/test_child_status_family.py": 0.0, "tests/solution/test_collective_cell_ceiling.py": 0.0, @@ -10989,7 +10988,6 @@ "tests/solution/test_iid_continuation_reads.py": 0.0, "tests/solution/test_independent_types_oracle.py": 0.0, "tests/solution/test_infeasible_cell_poison.py": 0.0, - "tests/solution/test_invariant_assembly_reservation.py": 0.0, "tests/solution/test_invariant_blocking.py": 0.0, "tests/solution/test_invariant_blocking_scalar.py": 0.0, "tests/solution/test_invariant_selected_view_admission.py": 0.0, @@ -11161,7 +11159,7 @@ "tests/test_mahler_yum_implicit_pilot.py": 0.033, "tests/test_mahler_yum_knot_interpolation.py": 0.03, "tests/test_mapping_leaf.py": 0.091, - "tests/test_model.py": 0.846, + "tests/test_model.py": 7.135, "tests/test_model_broadcast.py": 7.879, "tests/test_model_graph.py": 31.29, "tests/test_model_level_code_arguments.py": 12.755, @@ -11213,10 +11211,10 @@ "tests/test_repin_child_native_refiner.py": 0.032, "tests/test_repin_precise_helper_overloads.py": 0.311, "tests/test_required_contexts.py": 7.153, - "tests/test_required_operation_contexts.py": 37.543, + "tests/test_required_operation_contexts.py": 38.551, "tests/test_reviewed_query_prefix_certificate.py": 518.442, "tests/test_root_and_until_grammar.py": 0.569, - "tests/test_runtime_params.py": 31.059, + "tests/test_runtime_params.py": 28.606, "tests/test_runtime_process_grid_certificate.py": 5.109, "tests/test_runtime_process_params.py": 19.023, "tests/test_scaled_lottery_reduction_matrix.py": 2.213, @@ -11260,7 +11258,9 @@ "tests/test_variables.py": 0.071, "tests/test_zero_mass_continuations.py": 7.867, "tests/test_zero_probability_target_contribution.py": 0.389, - "tests/test_zero_safe.py": 2.956 + "tests/test_zero_safe.py": 2.956, + "tests/solution/test_capture_padding.py": 0.0, + "tests/solution/test_invariant_assembly_reservation.py": 0.0 }, "counts": { "tests/candidate_certificate/test_backward_publication_corridor.py": 2, @@ -11733,7 +11733,6 @@ "tests/solution/test_block_major_lifetime.py": 0, "tests/solution/test_bounded_width_search.py": 0, "tests/solution/test_candidate_census.py": 0, - "tests/solution/test_capture_padding.py": 0, "tests/solution/test_cell_frontier_ceiling.py": 0, "tests/solution/test_child_status_family.py": 0, "tests/solution/test_collective_cell_ceiling.py": 0, @@ -11765,7 +11764,6 @@ "tests/solution/test_iid_continuation_reads.py": 0, "tests/solution/test_independent_types_oracle.py": 0, "tests/solution/test_infeasible_cell_poison.py": 0, - "tests/solution/test_invariant_assembly_reservation.py": 0, "tests/solution/test_invariant_blocking.py": 0, "tests/solution/test_invariant_blocking_scalar.py": 0, "tests/solution/test_invariant_selected_view_admission.py": 0, @@ -11937,7 +11935,7 @@ "tests/test_mahler_yum_implicit_pilot.py": 1, "tests/test_mahler_yum_knot_interpolation.py": 4, "tests/test_mapping_leaf.py": 23, - "tests/test_model.py": 21, + "tests/test_model.py": 59, "tests/test_model_broadcast.py": 18, "tests/test_model_graph.py": 44, "tests/test_model_level_code_arguments.py": 44, @@ -11989,10 +11987,10 @@ "tests/test_repin_child_native_refiner.py": 1, "tests/test_repin_precise_helper_overloads.py": 8, "tests/test_required_contexts.py": 19, - "tests/test_required_operation_contexts.py": 79, + "tests/test_required_operation_contexts.py": 80, "tests/test_reviewed_query_prefix_certificate.py": 29, "tests/test_root_and_until_grammar.py": 14, - "tests/test_runtime_params.py": 16, + "tests/test_runtime_params.py": 36, "tests/test_runtime_process_grid_certificate.py": 47, "tests/test_runtime_process_params.py": 7, "tests/test_scaled_lottery_reduction_matrix.py": 3, @@ -12036,9 +12034,12 @@ "tests/test_variables.py": 18, "tests/test_zero_mass_continuations.py": 22, "tests/test_zero_probability_target_contribution.py": 3, - "tests/test_zero_safe.py": 2 + "tests/test_zero_safe.py": 2, + "tests/solution/test_capture_padding.py": 0, + "tests/solution/test_invariant_assembly_reservation.py": 0 }, "filled_from": { + "tests/params/test_edge_params.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", "tests/regime_building/test_adapter_binding_class_matrix.py": "run 39885344008 attempt 1 (head 6aa1944472fda7065a004854aa8fdf82718c03f7)", "tests/regime_building/test_process_code_binding.py": "run 39885344008 attempt 1 (head 6aa1944472fda7065a004854aa8fdf82718c03f7)", "tests/regime_building/test_process_code_generated_entry_domain.py": "run 39885344008 attempt 1 (head 6aa1944472fda7065a004854aa8fdf82718c03f7)", @@ -12054,11 +12055,14 @@ "tests/simulation/test_dissolution_route_self_projection.py": "run 39848057980 attempt 1 (head 011e0b682f0f388f69537ae290f47c853fa05a2a)", "tests/simulation/test_fallback_reads_carried_target_state.py": "run 39885437428 attempt 1 (head 451cf09e86fa2aefe4acc43d1b82e4cc405e2339)", "tests/simulation/test_realised_dissolution_route.py": "run 39848057980 attempt 1 (head 011e0b682f0f388f69537ae290f47c853fa05a2a)", - "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", "tests/solution/test_iid_continuation_reads.py": "run 39848510513 attempt 1 (head 9da88294c88d96acbb4b9f2df7e89578a74ddfab)", - "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", "tests/solution/test_period_target_value_reads.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", - "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)" + "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", + "tests/test_model.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/test_required_operation_contexts.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/test_runtime_params.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", + "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)" } }, "fp64-macos": { @@ -12704,7 +12708,7 @@ "tests/execution/test_workspace_candidate_residency.py": 0.043, "tests/execution/test_workspace_planning.py": 0.134, "tests/params/test_dormant_edge_series_vocabulary.py": 14.903, - "tests/params/test_edge_params.py": 21.014, + "tests/params/test_edge_params.py": 14.213, "tests/params/test_final_target_comparison.py": 32.052, "tests/params/test_gate_parameter_boundaries.py": 6.111, "tests/params/test_gate_reads_on_the_target_domain.py": 12.02, @@ -12995,7 +12999,6 @@ "tests/solution/test_block_major_lifetime.py": 0.0, "tests/solution/test_bounded_width_search.py": 0.0, "tests/solution/test_candidate_census.py": 0.0, - "tests/solution/test_capture_padding.py": 0.0, "tests/solution/test_cell_frontier_ceiling.py": 0.0, "tests/solution/test_child_status_family.py": 0.0, "tests/solution/test_collective_cell_ceiling.py": 0.0, @@ -13027,7 +13030,6 @@ "tests/solution/test_iid_continuation_reads.py": 0.0, "tests/solution/test_independent_types_oracle.py": 0.0, "tests/solution/test_infeasible_cell_poison.py": 0.0, - "tests/solution/test_invariant_assembly_reservation.py": 0.0, "tests/solution/test_invariant_blocking.py": 0.0, "tests/solution/test_invariant_blocking_scalar.py": 0.0, "tests/solution/test_invariant_selected_view_admission.py": 0.0, @@ -13199,7 +13201,7 @@ "tests/test_mahler_yum_implicit_pilot.py": 0.015, "tests/test_mahler_yum_knot_interpolation.py": 0.039, "tests/test_mapping_leaf.py": 0.087, - "tests/test_model.py": 0.43, + "tests/test_model.py": 7.346, "tests/test_model_broadcast.py": 4.636, "tests/test_model_graph.py": 24.676, "tests/test_model_level_code_arguments.py": 11.681, @@ -13251,10 +13253,10 @@ "tests/test_repin_child_native_refiner.py": 0.07, "tests/test_repin_precise_helper_overloads.py": 0.418, "tests/test_required_contexts.py": 4.97, - "tests/test_required_operation_contexts.py": 43.397, + "tests/test_required_operation_contexts.py": 51.856, "tests/test_reviewed_query_prefix_certificate.py": 444.451, "tests/test_root_and_until_grammar.py": 1.173, - "tests/test_runtime_params.py": 13.75, + "tests/test_runtime_params.py": 20.64, "tests/test_runtime_process_grid_certificate.py": 2.863, "tests/test_runtime_process_params.py": 8.68, "tests/test_scaled_lottery_reduction_matrix.py": 1.193, @@ -13298,7 +13300,9 @@ "tests/test_variables.py": 0.054, "tests/test_zero_mass_continuations.py": 4.662, "tests/test_zero_probability_target_contribution.py": 0.496, - "tests/test_zero_safe.py": 2.437 + "tests/test_zero_safe.py": 2.437, + "tests/solution/test_capture_padding.py": 0.0, + "tests/solution/test_invariant_assembly_reservation.py": 0.0 }, "counts": { "tests/candidate_certificate/test_backward_publication_corridor.py": 2, @@ -13771,7 +13775,6 @@ "tests/solution/test_block_major_lifetime.py": 0, "tests/solution/test_bounded_width_search.py": 0, "tests/solution/test_candidate_census.py": 0, - "tests/solution/test_capture_padding.py": 0, "tests/solution/test_cell_frontier_ceiling.py": 0, "tests/solution/test_child_status_family.py": 0, "tests/solution/test_collective_cell_ceiling.py": 0, @@ -13803,7 +13806,6 @@ "tests/solution/test_iid_continuation_reads.py": 0, "tests/solution/test_independent_types_oracle.py": 0, "tests/solution/test_infeasible_cell_poison.py": 0, - "tests/solution/test_invariant_assembly_reservation.py": 0, "tests/solution/test_invariant_blocking.py": 0, "tests/solution/test_invariant_blocking_scalar.py": 0, "tests/solution/test_invariant_selected_view_admission.py": 0, @@ -13975,7 +13977,7 @@ "tests/test_mahler_yum_implicit_pilot.py": 1, "tests/test_mahler_yum_knot_interpolation.py": 4, "tests/test_mapping_leaf.py": 23, - "tests/test_model.py": 21, + "tests/test_model.py": 59, "tests/test_model_broadcast.py": 18, "tests/test_model_graph.py": 44, "tests/test_model_level_code_arguments.py": 44, @@ -14027,10 +14029,10 @@ "tests/test_repin_child_native_refiner.py": 1, "tests/test_repin_precise_helper_overloads.py": 8, "tests/test_required_contexts.py": 19, - "tests/test_required_operation_contexts.py": 79, + "tests/test_required_operation_contexts.py": 80, "tests/test_reviewed_query_prefix_certificate.py": 29, "tests/test_root_and_until_grammar.py": 14, - "tests/test_runtime_params.py": 16, + "tests/test_runtime_params.py": 36, "tests/test_runtime_process_grid_certificate.py": 47, "tests/test_runtime_process_params.py": 7, "tests/test_scaled_lottery_reduction_matrix.py": 3, @@ -14074,9 +14076,12 @@ "tests/test_variables.py": 18, "tests/test_zero_mass_continuations.py": 22, "tests/test_zero_probability_target_contribution.py": 3, - "tests/test_zero_safe.py": 2 + "tests/test_zero_safe.py": 2, + "tests/solution/test_capture_padding.py": 0, + "tests/solution/test_invariant_assembly_reservation.py": 0 }, "filled_from": { + "tests/params/test_edge_params.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", "tests/regime_building/test_adapter_binding_class_matrix.py": "run 39885344008 attempt 1 (head 6aa1944472fda7065a004854aa8fdf82718c03f7)", "tests/regime_building/test_process_code_binding.py": "run 39885344008 attempt 1 (head 6aa1944472fda7065a004854aa8fdf82718c03f7)", "tests/regime_building/test_process_code_generated_entry_domain.py": "run 39885344008 attempt 1 (head 6aa1944472fda7065a004854aa8fdf82718c03f7)", @@ -14092,11 +14097,14 @@ "tests/simulation/test_dissolution_route_self_projection.py": "run 39848057980 attempt 1 (head 011e0b682f0f388f69537ae290f47c853fa05a2a)", "tests/simulation/test_fallback_reads_carried_target_state.py": "run 39885437428 attempt 1 (head 451cf09e86fa2aefe4acc43d1b82e4cc405e2339)", "tests/simulation/test_realised_dissolution_route.py": "run 39848057980 attempt 1 (head 011e0b682f0f388f69537ae290f47c853fa05a2a)", - "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", "tests/solution/test_iid_continuation_reads.py": "run 39848510513 attempt 1 (head 9da88294c88d96acbb4b9f2df7e89578a74ddfab)", - "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", "tests/solution/test_period_target_value_reads.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", - "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)" + "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", + "tests/test_model.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/test_required_operation_contexts.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/test_runtime_params.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", + "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)" } }, "fp64-solution": { @@ -14122,7 +14130,6 @@ "tests/solution/test_brute_child_carry_producer.py": 0.364, "tests/solution/test_builtin_policy_persistence.py": 987.371, "tests/solution/test_candidate_census.py": 12.083, - "tests/solution/test_capture_padding.py": 12.426, "tests/solution/test_cell_frontier_ceiling.py": 14.658, "tests/solution/test_certified_margin_sign_exact.py": 0.077, "tests/solution/test_certified_sign.py": 2.994, @@ -14175,7 +14182,7 @@ "tests/solution/test_dynamic_borrowing_contract.py": 12.912, "tests/solution/test_dynamic_bound_authority.py": 1.035, "tests/solution/test_dynamic_bound_query_persistence.py": 2.57, - "tests/solution/test_dynamic_bound_runtime.py": 73.088, + "tests/solution/test_dynamic_bound_runtime.py": 107.227, "tests/solution/test_dynamic_dcegm_binding.py": 1.523, "tests/solution/test_dynamic_nbegm_floor.py": 22.72, "tests/solution/test_eager_internal_inputs.py": 85.495, @@ -14206,7 +14213,7 @@ "tests/solution/test_egm_interp_query_derivative.py": 13.212, "tests/solution/test_egm_law_param_names.py": 7.647, "tests/solution/test_egm_markov_states.py": 49.931, - "tests/solution/test_egm_model_validation.py": 1.957, + "tests/solution/test_egm_model_validation.py": 0.863, "tests/solution/test_egm_passive.py": 34.834, "tests/solution/test_egm_passive_asset_row.py": 1069.997, "tests/solution/test_egm_preferences.py": 3.729, @@ -14271,7 +14278,7 @@ "tests/solution/test_finite_nnbegm_parent_query.py": 75.306, "tests/solution/test_finite_nnbegm_policy_authority.py": 2.184, "tests/solution/test_finite_nnbegm_policy_periods.py": 49.931, - "tests/solution/test_fixed_component_markov.py": 260.408, + "tests/solution/test_fixed_component_markov.py": 243.46, "tests/solution/test_fixed_params_entry_mutations.py": 5.684, "tests/solution/test_footprint_width_selection.py": 48.832, "tests/solution/test_fues.py": 24.421, @@ -14298,7 +14305,6 @@ "tests/solution/test_internal_edge_graphs.py": 16.526, "tests/solution/test_interp_duplicated_abscissa_jump.py": 0.63, "tests/solution/test_interpolating_an_infeasible_node.py": 4.038, - "tests/solution/test_invariant_assembly_reservation.py": 4.386, "tests/solution/test_invariant_blocking.py": 94.306, "tests/solution/test_invariant_blocking_scalar.py": 104.688, "tests/solution/test_invariant_selected_view_admission.py": 1.811, @@ -14527,7 +14533,7 @@ "tests/solution/test_segment_envelope_exact_read.py": 0.098, "tests/solution/test_signed_regime_probabilities.py": 10.693, "tests/solution/test_solution_consumption.py": 199.525, - "tests/solution/test_solution_fingerprint.py": 2.285, + "tests/solution/test_solution_fingerprint.py": 3.354, "tests/solution/test_solution_persistence.py": 1.586, "tests/solution/test_solution_result.py": 892.759, "tests/solution/test_solution_result_model_authority.py": 34.457, @@ -14563,7 +14569,9 @@ "tests/solution/test_workspace_budget_solve.py": 9.731, "tests/solution/test_zero_mass_node.py": 1.489, "tests/solution/test_zero_mass_target.py": 1.387, - "tests/solution/test_zero_probability_node.py": 7.892 + "tests/solution/test_zero_probability_node.py": 7.892, + "tests/solution/test_capture_padding.py": 12.426, + "tests/solution/test_invariant_assembly_reservation.py": 4.386 }, "counts": { "tests/solution/test_action_partitions.py": 435, @@ -14585,7 +14593,6 @@ "tests/solution/test_brute_child_carry_producer.py": 3, "tests/solution/test_builtin_policy_persistence.py": 21, "tests/solution/test_candidate_census.py": 3, - "tests/solution/test_capture_padding.py": 8, "tests/solution/test_cell_frontier_ceiling.py": 17, "tests/solution/test_certified_margin_sign_exact.py": 7, "tests/solution/test_certified_sign.py": 13, @@ -14638,7 +14645,7 @@ "tests/solution/test_dynamic_borrowing_contract.py": 2, "tests/solution/test_dynamic_bound_authority.py": 40, "tests/solution/test_dynamic_bound_query_persistence.py": 38, - "tests/solution/test_dynamic_bound_runtime.py": 120, + "tests/solution/test_dynamic_bound_runtime.py": 208, "tests/solution/test_dynamic_dcegm_binding.py": 12, "tests/solution/test_dynamic_nbegm_floor.py": 4, "tests/solution/test_eager_internal_inputs.py": 1, @@ -14669,7 +14676,7 @@ "tests/solution/test_egm_interp_query_derivative.py": 20, "tests/solution/test_egm_law_param_names.py": 2, "tests/solution/test_egm_markov_states.py": 4, - "tests/solution/test_egm_model_validation.py": 7, + "tests/solution/test_egm_model_validation.py": 9, "tests/solution/test_egm_passive.py": 2, "tests/solution/test_egm_passive_asset_row.py": 10, "tests/solution/test_egm_preferences.py": 2, @@ -14734,7 +14741,7 @@ "tests/solution/test_finite_nnbegm_parent_query.py": 3, "tests/solution/test_finite_nnbegm_policy_authority.py": 5, "tests/solution/test_finite_nnbegm_policy_periods.py": 3, - "tests/solution/test_fixed_component_markov.py": 65, + "tests/solution/test_fixed_component_markov.py": 67, "tests/solution/test_fixed_params_entry_mutations.py": 4, "tests/solution/test_footprint_width_selection.py": 22, "tests/solution/test_fues.py": 19, @@ -14761,7 +14768,6 @@ "tests/solution/test_internal_edge_graphs.py": 39, "tests/solution/test_interp_duplicated_abscissa_jump.py": 1, "tests/solution/test_interpolating_an_infeasible_node.py": 58, - "tests/solution/test_invariant_assembly_reservation.py": 25, "tests/solution/test_invariant_blocking.py": 43, "tests/solution/test_invariant_blocking_scalar.py": 37, "tests/solution/test_invariant_selected_view_admission.py": 8, @@ -14990,7 +14996,7 @@ "tests/solution/test_segment_envelope_exact_read.py": 3, "tests/solution/test_signed_regime_probabilities.py": 20, "tests/solution/test_solution_consumption.py": 10, - "tests/solution/test_solution_fingerprint.py": 135, + "tests/solution/test_solution_fingerprint.py": 137, "tests/solution/test_solution_persistence.py": 72, "tests/solution/test_solution_result.py": 123, "tests/solution/test_solution_result_model_authority.py": 6, @@ -15026,14 +15032,20 @@ "tests/solution/test_workspace_budget_solve.py": 15, "tests/solution/test_zero_mass_node.py": 1, "tests/solution/test_zero_mass_target.py": 1, - "tests/solution/test_zero_probability_node.py": 18 + "tests/solution/test_zero_probability_node.py": 18, + "tests/solution/test_capture_padding.py": 8, + "tests/solution/test_invariant_assembly_reservation.py": 25 }, "filled_from": { - "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", + "tests/solution/test_dynamic_bound_runtime.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_egm_model_validation.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_fixed_component_markov.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", "tests/solution/test_iid_continuation_reads.py": "run 39848510513 attempt 1 (head 9da88294c88d96acbb4b9f2df7e89578a74ddfab)", - "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", "tests/solution/test_period_target_value_reads.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", - "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)" + "tests/solution/test_solution_fingerprint.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", + "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", + "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)" } }, "fp32-solution": { @@ -15061,7 +15073,6 @@ "tests/solution/test_brute_child_carry_producer.py": 1.467, "tests/solution/test_builtin_policy_persistence.py": 779.958, "tests/solution/test_candidate_census.py": 17.316, - "tests/solution/test_capture_padding.py": 14.901, "tests/solution/test_cell_frontier_ceiling.py": 12.721, "tests/solution/test_certified_margin_sign_exact.py": 0.063, "tests/solution/test_certified_sign.py": 1.844, @@ -15114,7 +15125,7 @@ "tests/solution/test_dynamic_borrowing_contract.py": 13.963, "tests/solution/test_dynamic_bound_authority.py": 1.522, "tests/solution/test_dynamic_bound_query_persistence.py": 5.478, - "tests/solution/test_dynamic_bound_runtime.py": 99.813, + "tests/solution/test_dynamic_bound_runtime.py": 144.036, "tests/solution/test_dynamic_dcegm_binding.py": 2.143, "tests/solution/test_dynamic_nbegm_floor.py": 24.974, "tests/solution/test_eager_internal_inputs.py": 63.22, @@ -15145,7 +15156,7 @@ "tests/solution/test_egm_interp_query_derivative.py": 13.185, "tests/solution/test_egm_law_param_names.py": 10.614, "tests/solution/test_egm_markov_states.py": 75.774, - "tests/solution/test_egm_model_validation.py": 0.974, + "tests/solution/test_egm_model_validation.py": 1.037, "tests/solution/test_egm_passive.py": 41.135, "tests/solution/test_egm_passive_asset_row.py": 470.75, "tests/solution/test_egm_preferences.py": 7.935, @@ -15210,7 +15221,7 @@ "tests/solution/test_finite_nnbegm_parent_query.py": 112.123, "tests/solution/test_finite_nnbegm_policy_authority.py": 3.371, "tests/solution/test_finite_nnbegm_policy_periods.py": 42.632, - "tests/solution/test_fixed_component_markov.py": 228.619, + "tests/solution/test_fixed_component_markov.py": 193.695, "tests/solution/test_fixed_params_entry_mutations.py": 4.699, "tests/solution/test_footprint_width_selection.py": 60.353, "tests/solution/test_fues.py": 14.203, @@ -15237,7 +15248,6 @@ "tests/solution/test_internal_edge_graphs.py": 16.632, "tests/solution/test_interp_duplicated_abscissa_jump.py": 0.685, "tests/solution/test_interpolating_an_infeasible_node.py": 5.923, - "tests/solution/test_invariant_assembly_reservation.py": 5.516, "tests/solution/test_invariant_blocking.py": 117.848, "tests/solution/test_invariant_blocking_scalar.py": 70.873, "tests/solution/test_invariant_selected_view_admission.py": 1.92, @@ -15466,7 +15476,7 @@ "tests/solution/test_segment_envelope_exact_read.py": 0.109, "tests/solution/test_signed_regime_probabilities.py": 8.517, "tests/solution/test_solution_consumption.py": 322.621, - "tests/solution/test_solution_fingerprint.py": 3.258, + "tests/solution/test_solution_fingerprint.py": 2.474, "tests/solution/test_solution_persistence.py": 2.829, "tests/solution/test_solution_result.py": 711.849, "tests/solution/test_solution_result_model_authority.py": 33.481, @@ -15502,7 +15512,9 @@ "tests/solution/test_workspace_budget_solve.py": 10.096, "tests/solution/test_zero_mass_node.py": 1.049, "tests/solution/test_zero_mass_target.py": 1.329, - "tests/solution/test_zero_probability_node.py": 7.192 + "tests/solution/test_zero_probability_node.py": 7.192, + "tests/solution/test_capture_padding.py": 14.901, + "tests/solution/test_invariant_assembly_reservation.py": 5.516 }, "counts": { "tests/solution/test_action_partitions.py": 435, @@ -15524,7 +15536,6 @@ "tests/solution/test_brute_child_carry_producer.py": 3, "tests/solution/test_builtin_policy_persistence.py": 21, "tests/solution/test_candidate_census.py": 3, - "tests/solution/test_capture_padding.py": 8, "tests/solution/test_cell_frontier_ceiling.py": 17, "tests/solution/test_certified_margin_sign_exact.py": 7, "tests/solution/test_certified_sign.py": 13, @@ -15577,7 +15588,7 @@ "tests/solution/test_dynamic_borrowing_contract.py": 2, "tests/solution/test_dynamic_bound_authority.py": 40, "tests/solution/test_dynamic_bound_query_persistence.py": 38, - "tests/solution/test_dynamic_bound_runtime.py": 120, + "tests/solution/test_dynamic_bound_runtime.py": 208, "tests/solution/test_dynamic_dcegm_binding.py": 12, "tests/solution/test_dynamic_nbegm_floor.py": 4, "tests/solution/test_eager_internal_inputs.py": 1, @@ -15608,7 +15619,7 @@ "tests/solution/test_egm_interp_query_derivative.py": 20, "tests/solution/test_egm_law_param_names.py": 2, "tests/solution/test_egm_markov_states.py": 4, - "tests/solution/test_egm_model_validation.py": 7, + "tests/solution/test_egm_model_validation.py": 9, "tests/solution/test_egm_passive.py": 2, "tests/solution/test_egm_passive_asset_row.py": 10, "tests/solution/test_egm_preferences.py": 2, @@ -15673,7 +15684,7 @@ "tests/solution/test_finite_nnbegm_parent_query.py": 3, "tests/solution/test_finite_nnbegm_policy_authority.py": 5, "tests/solution/test_finite_nnbegm_policy_periods.py": 3, - "tests/solution/test_fixed_component_markov.py": 65, + "tests/solution/test_fixed_component_markov.py": 67, "tests/solution/test_fixed_params_entry_mutations.py": 4, "tests/solution/test_footprint_width_selection.py": 22, "tests/solution/test_fues.py": 19, @@ -15700,7 +15711,6 @@ "tests/solution/test_internal_edge_graphs.py": 39, "tests/solution/test_interp_duplicated_abscissa_jump.py": 1, "tests/solution/test_interpolating_an_infeasible_node.py": 58, - "tests/solution/test_invariant_assembly_reservation.py": 25, "tests/solution/test_invariant_blocking.py": 43, "tests/solution/test_invariant_blocking_scalar.py": 37, "tests/solution/test_invariant_selected_view_admission.py": 8, @@ -15929,7 +15939,7 @@ "tests/solution/test_segment_envelope_exact_read.py": 3, "tests/solution/test_signed_regime_probabilities.py": 20, "tests/solution/test_solution_consumption.py": 10, - "tests/solution/test_solution_fingerprint.py": 135, + "tests/solution/test_solution_fingerprint.py": 137, "tests/solution/test_solution_persistence.py": 72, "tests/solution/test_solution_result.py": 123, "tests/solution/test_solution_result_model_authority.py": 6, @@ -15965,14 +15975,20 @@ "tests/solution/test_workspace_budget_solve.py": 15, "tests/solution/test_zero_mass_node.py": 1, "tests/solution/test_zero_mass_target.py": 1, - "tests/solution/test_zero_probability_node.py": 18 + "tests/solution/test_zero_probability_node.py": 18, + "tests/solution/test_capture_padding.py": 8, + "tests/solution/test_invariant_assembly_reservation.py": 25 }, "filled_from": { - "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", + "tests/solution/test_dynamic_bound_runtime.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_egm_model_validation.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_fixed_component_markov.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", "tests/solution/test_iid_continuation_reads.py": "run 39848510513 attempt 1 (head 9da88294c88d96acbb4b9f2df7e89578a74ddfab)", - "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", "tests/solution/test_period_target_value_reads.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", - "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)" + "tests/solution/test_solution_fingerprint.py": "run 40165364468 attempt 1 (head 2ee9167366a2395b6c900dac51ec1a886558be4d)", + "tests/solution/test_value_residency.py": "run 39957574898 attempt 1 (head 2d05a67fdcbdbd0fcc3970b9a920866c6d9b1cc5)", + "tests/solution/test_capture_padding.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)", + "tests/solution/test_invariant_assembly_reservation.py": "run 40329902444 attempt 1 (head 8cc81777ad24cc546151b62f33c714a105f2e4b5)" } } }, diff --git a/tests/constraints/test_dynamic_lower_bound.py b/tests/constraints/test_dynamic_lower_bound.py index b9a1dd359..6fa3f1551 100644 --- a/tests/constraints/test_dynamic_lower_bound.py +++ b/tests/constraints/test_dynamic_lower_bound.py @@ -130,7 +130,7 @@ def utility(*, consumption: FloatND, income: FloatND) -> FloatND: def _model( *, declaration: UserFunction, - helper: UserFunction | Phased = floor_helper, + helper: UserFunction | Phased | None = floor_helper, functions: Mapping[FunctionName, UserFunction | Phased] | None = None, margin: LiquidMargin = LIQUID, extra_actions: Mapping[ActionName, LinSpacedGrid] | None = None, @@ -139,7 +139,7 @@ def _model( "utility": utility, "savings": savings, "resources": resources, - "floor_helper": helper, + **({"floor_helper": helper} if helper is not None else {}), **(functions or {}), } regime = ConsumptionSavingsRegime( @@ -406,7 +406,9 @@ def direct(*, theta: FloatND) -> FloatND: else post_decision_lower_bound(margin=LIQUID, lower=direct) ) model = _model( - declaration=declaration, functions={"floor": direct} if handwritten else None + declaration=declaration, + helper=None, + functions={"floor": direct} if handwritten else None, ) locations = [ name @@ -560,7 +562,7 @@ def test_direct_post_decision_dependency_reports_its_leaf_path() -> None: with pytest.raises( ModelInitializationError, match=r"borrowing.*(wealth|consumption).*savings" ): - _model(declaration=declaration) + _model(declaration=declaration, helper=None) @pytest.mark.parametrize("slot", ["state", "action", "constraint"]) @@ -660,7 +662,8 @@ def zero() -> FloatND: "constant": zero, }[kind] baseline = _model( - declaration=post_decision_lower_bound(margin=LIQUID, lower=producer) + declaration=post_decision_lower_bound(margin=LIQUID, lower=producer), + helper=floor_helper if kind == "helper_param" else None, ) regime = baseline.user_regimes["done"].replace( constraints={ @@ -749,7 +752,10 @@ def test_generated_floor_cannot_overwrite_actual_process_provider(prefix: str) - def test_literal_floor_is_finite_at_model_construction(value: float) -> None: """A known nonfinite declaration is invalid model input.""" with pytest.raises(ModelInitializationError, match=r"borrowing.*finite"): - _model(declaration=post_decision_lower_bound(margin=LIQUID, lower=value)) + _model( + declaration=post_decision_lower_bound(margin=LIQUID, lower=value), + helper=None, + ) def test_helper_named_resources_is_legal_when_its_leaves_are_fixed() -> None: @@ -801,10 +807,11 @@ def boolean(*, enabled: BoolND) -> FloatND: if kind == "vector_parameter" else {"enabled": False} ) - model = _model(declaration=post_decision_lower_bound(margin=LIQUID, lower=producer)) - values = model.solve(params={**params, "floor_scale": 0.5}, log_level="off").values[ - 0 - ]["done"] + model = _model( + declaration=post_decision_lower_bound(margin=LIQUID, lower=producer), + helper=None, + ) + values = model.solve(params=params, log_level="off").values[0]["done"] np.testing.assert_allclose(values, [[0.5, 0.5], [1.5, 1.5]], atol=1e-6) @@ -829,12 +836,14 @@ def floor(*, theta: FloatND) -> FloatND: else post_decision_lower_bound(margin=LIQUID, lower=floor) ) model = _model( - declaration=declaration, functions={"floor": floor} if handwritten else None + declaration=declaration, + helper=None, + functions={"floor": floor} if handwritten else None, ) with pytest.raises( ModelInitializationError, match=r"borrowing.*real floating scalar" ): - model.solve(params={"theta": 0.5, "floor_scale": 0.5}, log_level="off") + model.solve(params={"theta": 0.5}, log_level="off") def _adaptive_constant_floor() -> FloatND: diff --git a/tests/data/fingerprints_slice4_base.json b/tests/data/fingerprints_slice4_base.json index ce0c986d7..0e15deb44 100644 --- a/tests/data/fingerprints_slice4_base.json +++ b/tests/data/fingerprints_slice4_base.json @@ -3,7 +3,7 @@ "dissolution": "d24bfc1ec5182653e0b90dc23e2f5d4bab1ca071ccbb53a589bf2b57b15db872", "ds_app2_housing": "2ed8aeaa85cb44cf64d2b95d42f7fa48c3da06a3b65c310b547e1057aa4857ad", "multi_regime_normal": "e322b95ab63d68c702a51c78450960aac75e0ad24d97db4c099c4b16aa10a23b", - "n_nbegm_toy": "3a4e3109d6865ac14c4951f0c102f34d8efed0783eb433c620bca669db79c7a6", + "n_nbegm_toy": "3e3de383329edac9017b57e0d64c41000250edf790485703398038585afa8f81", "nbegm_ride_along_toy": "01dc0a1e352481d511280b336980cf6de9d83daf92875a30705d787e73a7919a", "nbegm_stochastic_node_toy": "78cbdd7c7c8aa65da7daedb1d3c2dafb2b9e7bce839c8d4133a20c4790a313ee", "negm_kinked_toy": "0d53f5a5533883b5430128f6f227bf5ac2247073fd344b077b9e447468cc2011" @@ -12,7 +12,7 @@ "dissolution": "2871af6b5b13445081833575c912f25b1ba6fdc9b0ecddbb71de21485ae60704", "ds_app2_housing": "b12dd5e9e59c80871b81ae83849b5e68aaab33b9c993264f94efa2f3b0d78bc4", "multi_regime_normal": "456b8d4a6c63c377e5f57c0b10cd2b6eae0407096322b7351a0cabea07869536", - "n_nbegm_toy": "133284a8e698bccc4dd38f2e152097ae89e11ef9e2cf123defe13f6a4fdf6bd9", + "n_nbegm_toy": "2911ec0c5bbbbefe3d161f2f01bc4a7768ed61ca05e4ff12700826e8c62f6eff", "nbegm_ride_along_toy": "713fd2b27ee103ebd9fd90be5684100f761933c44a333fcbec475335ff77cc74", "nbegm_stochastic_node_toy": "e429968c652aa24d2756a5bb756e25589d975cb02c46bfa34f8af940dfd053a4", "negm_kinked_toy": "1226321b9d2bfa419410186761367965454b74b8a9a9323ec720773c90d4b4e7" diff --git a/tests/egm/test_nbegm_predicate_period_qualification.py b/tests/egm/test_nbegm_predicate_period_qualification.py index 3c04bca06..9f39510b0 100644 --- a/tests/egm/test_nbegm_predicate_period_qualification.py +++ b/tests/egm/test_nbegm_predicate_period_qualification.py @@ -280,7 +280,7 @@ def _model( "jump" if later_jump and age > 40.0 else "continuous_kink" ), ), - "eligible_stock": _eligible_stock, + **({"eligible_stock": _eligible_stock} if predicate else {}), }, constraints={ "borrowing": post_decision_lower_bound( diff --git a/tests/params/test_edge_params.py b/tests/params/test_edge_params.py index fd9348497..7d1124c84 100644 --- a/tests/params/test_edge_params.py +++ b/tests/params/test_edge_params.py @@ -214,9 +214,9 @@ def test_state_read_through_a_dormant_selector_function_is_no_parameter( ): """A state a selector reads through a function stays a state at every horizon. - The function's own parameter is its only slot in every regime that declares - it, a model-level one reaching `dead` as well, and the selector's free - parameter is the only edge slot, whether or not the selector runs. + The function's own parameter is its only slot in `alive`, and the selector's + free parameter is the only edge slot, whether or not the selector runs. + `dead` masks a model-level score because it never consumes it. """ model = _dormant_scored_selector_model( function_level=function_level, n_periods=n_periods @@ -228,7 +228,7 @@ def test_state_read_through_a_dormant_selector_function_is_no_parameter( ) == ( { "alive": {"scale": "float"}, - "dead": {"scale": "float"} if function_level == "model" else {}, + "dead": {}, "edges": {}, }, {("alive", "cutoff")}, @@ -438,11 +438,23 @@ def test_solution_does_not_depend_on_the_level_supplying_a_law_value(params): ) +def _read_edges(edges: FloatND) -> FloatND: + return edges + + +def _edges_name_identity(wealth: ContinuousState) -> FloatND: + return wealth + + @pytest.mark.parametrize( ("regime_name", "functions"), [ pytest.param("edges", {}, id="regime"), - pytest.param("working", {"edges": lambda wealth: wealth}, id="function"), + pytest.param( + "working", + {"utility": _read_edges, "edges": _edges_name_identity}, + id="function", + ), ], ) def test_edges_is_reserved_as_a_regime_and_function_name(*, regime_name, functions): @@ -456,7 +468,7 @@ def test_edges_is_reserved_as_an_argument_name(): with pytest.raises(InvalidNameError, match="edges"): _named_model( regime_name="working", - functions={"bonus": _bonus_from_edges}, + functions={"utility": _bonus_from_edges}, ) @@ -835,7 +847,12 @@ def _dormant_scored_selector_model(*, function_level: str, n_periods: int) -> Mo **({"score": _score} if on_regime else {}), } ), - "dead": Regime(functions={"utility": _constant_utility}), + "dead": Regime( + functions={ + "utility": _constant_utility, + **({"score": None} if not on_regime else {}), + } + ), }, regime_id_class=_LifeId, initial_nodes={0: "alive"}, diff --git a/tests/regime_building/test_additive_shock_transition.py b/tests/regime_building/test_additive_shock_transition.py index ad5c5db3e..6d7fd04f5 100644 --- a/tests/regime_building/test_additive_shock_transition.py +++ b/tests/regime_building/test_additive_shock_transition.py @@ -112,9 +112,9 @@ def _cost( def _cost_reading_wealth( - *, next_xi: ContinuousState, wealth: ContinuousState + *, next_xi: ContinuousState, wealth: ContinuousState, is_poor: BoolND ) -> FloatND: - return 0.01 * wealth * jnp.exp(0.5 * next_xi) + return jnp.where(is_poor, 0.01, 0.02) * wealth * jnp.exp(0.5 * next_xi) def _negative_cost(cost: FloatND) -> FloatND: diff --git a/tests/regime_building/test_perceived_stochastic_transitions.py b/tests/regime_building/test_perceived_stochastic_transitions.py index a0c9d1c3a..cc8ef4ef1 100644 --- a/tests/regime_building/test_perceived_stochastic_transitions.py +++ b/tests/regime_building/test_perceived_stochastic_transitions.py @@ -313,7 +313,9 @@ def next_good(*, move: DiscreteAction, stay_target: FloatND) -> FloatND: state_transitions={"good": StochasticTransition(func=next_good)}, **common, ) - last = Regime(state_transitions={}, **common) + last = Regime(state_transitions={}, **common).replace( + functions={"utility": utility} + ) model = Model( edges={ "live": Transition( diff --git a/tests/regime_slot_read_ledger.csv b/tests/regime_slot_read_ledger.csv index ad0e6e15b..031af9e09 100644 --- a/tests/regime_slot_read_ledger.csv +++ b/tests/regime_slot_read_ledger.csv @@ -116,3 +116,9 @@ src/lcm/regime.py,get_all_functions,transition,decomposed_transition,law,1,decom src/lcm/regime.py,with_engine_functions,constraints,constraints,self,1,raw,The write-back seam identifies declaration-owned callable borrowing floors so their generated producer names remain protected against replacement.,yes src/lcm/regime.py,with_engine_functions,functions,decomposed_functions,self,1,decomposed,A generated borrowing-floor producer must be the identical checked function already exposed by the executable view before engine additions are written back.,yes src/lcm/regime.py,with_engine_functions,functions,functions,self,2,raw,"It is the write-back seam and exists to find the declaration it must protect, so its input is the slot as the author wrote it.",yes +src/_lcm/model_processing.py,_validate_function_usage,functions,functions,regime,1,raw,Finalized declarations contribute generated producers while the original declarations preserve all phase variants for the usage check.,yes +src/_lcm/model_processing.py,_validate_function_usage,functions,decomposed_functions,regime,1,decomposed,Unread names are executable function names including each collective stakeholder utility and generated resource producers.,yes +src/_lcm/model_processing.py,_validate_function_usage,constraints,decomposed_constraints,regime,1,decomposed,Every ordinary executable constraint is read by the engine without needing an output-only declaration.,yes +src/_lcm/regime_building/broadcast.py,engine_function_names,functions,decomposed_functions,regime,1,decomposed,Solver role targets resolve against the executable function pool rather than collective declaration objects.,yes +src/lcm/model.py,_get_param_name_candidates,constraints,decomposed_constraints,regime,1,decomposed,"Typo notes compare unresolved arguments with ordinary constraint functions under the executable DAG names, so declaration objects must be decomposed first.",yes +src/lcm/model.py,_get_param_name_candidates,functions,decomposed_functions,regime,1,decomposed,"Typo notes compare unresolved arguments with function names in the executable DAG, including per-stakeholder utility names after decomposition.",yes diff --git a/tests/solution/test_dynamic_bound_query_persistence.py b/tests/solution/test_dynamic_bound_query_persistence.py index 2e67d0455..60754eda3 100644 --- a/tests/solution/test_dynamic_bound_query_persistence.py +++ b/tests/solution/test_dynamic_bound_query_persistence.py @@ -45,8 +45,14 @@ def _outer_target(*, adjustment: FloatND) -> FloatND: return adjustment -def _outer_utility(*, consumption: FloatND, adjustment: FloatND) -> FloatND: - return consumption - adjustment +def _outer_utility( + *, + consumption: FloatND, + adjustment: FloatND, + outer_target: FloatND, + outer_cost: FloatND, +) -> FloatND: + return consumption - adjustment + 0.0 * (outer_target + outer_cost) def _outer_cost(*, adjustment: FloatND, income: FloatND) -> FloatND: @@ -612,7 +618,9 @@ def test_query_authority_refuses_scalar_only_budget_descriptors(*, kind: str) -> @pytest.mark.parametrize("kind", ["policy", "intrinsic"]) def test_literal_budget_descriptors_keep_feature_free_authority(*, kind: str) -> None: """Literal budget descriptors preserve ordinary continuation authority.""" - model = _model(declaration=post_decision_lower_bound(margin=LIQUID, lower=0.0)) + model = _model( + declaration=post_decision_lower_bound(margin=LIQUID, lower=0.0), helper=None + ) regime = model._regimes["done"] phase = replace( regime.solution, @@ -659,7 +667,7 @@ def test_literal_budget_descriptors_keep_feature_free_authority(*, kind: str) -> assert model.ages is not None authority = build_solution_authority( regimes=model._regimes, - flat_params=model._process_params({"floor_scale": 0.0}), + flat_params=model._process_params({}), ages=model.ages, ) ref = ArtifactRef(period=0, regime="done", key=EGM_CONTINUATION) diff --git a/tests/solution/test_dynamic_bound_runtime.py b/tests/solution/test_dynamic_bound_runtime.py index 8ed304b72..57f86b167 100644 --- a/tests/solution/test_dynamic_bound_runtime.py +++ b/tests/solution/test_dynamic_bound_runtime.py @@ -86,6 +86,7 @@ TemporalRegimeId, _model, _temporal_model, + floor_helper, lower, ) from tests.solution.test_dynamic_bound_authority import _bound @@ -814,6 +815,7 @@ def floor(*, income: FloatND) -> FloatND: declaration=ref("savings") >= ref("floor") if handwritten else post_decision_lower_bound(margin=LIQUID, lower=floor), + helper=None, functions={"floor": floor} if handwritten else None, ) with pytest.raises(InvalidValueFunctionError, match="floor"): @@ -827,7 +829,7 @@ def floor(*, income: FloatND) -> FloatND: action_names=("consumption",), next_regime_to_V_arr=MappingProxyType({}), flat_params=regime_kernel_params( - model._process_params({"floor_scale": 0.5}, runtime_checks=False), + model._process_params({}, runtime_checks=False), regime_name="done", ), period=0, @@ -849,13 +851,14 @@ def floor(*, income: FloatND) -> FloatND: declaration=ref("savings") >= ref("floor") if handwritten else post_decision_lower_bound(margin=LIQUID, lower=floor), + helper=None, functions={"floor": floor} if handwritten else None, ) - solution = model.solve(params={"floor_scale": 0.5}, log_level="off") + solution = model.solve(params={}, log_level="off") np.testing.assert_allclose(solution.values[0]["done"], [[1.0, 1.0], [2.0, 2.0]]) with pytest.raises(InvalidValueFunctionError, match="floor"): model.simulate( - params={"floor_scale": 0.5}, + params={}, solution=solution, initial_conditions={ "wealth": jnp.asarray([2.0, 2.0, 2.0]), @@ -1166,6 +1169,7 @@ def capture(*args: Never, **kwargs: Unpack[_TerminalKwargs]) -> QAndFFunction: ) model = _model( declaration=declaration, + helper=None if spelling == "literal" else floor_helper, functions={"floor": lower} if spelling == "handwritten" else None, ) canonical = model._regimes["done"].solution.post_decision_bounds diff --git a/tests/solution/test_dynamic_dcegm_binding.py b/tests/solution/test_dynamic_dcegm_binding.py index 2e7764201..6044f72c0 100644 --- a/tests/solution/test_dynamic_dcegm_binding.py +++ b/tests/solution/test_dynamic_dcegm_binding.py @@ -173,12 +173,16 @@ def _make_model( "utility": _utility, "resources": _resources, "savings": _savings, - "floor_helper": ( - AgeSpecializedFunction( - build=_specialized_floor, signature=_age_signature - ) - if specialized - else _floor_helper + **( + { + "floor_helper": AgeSpecializedFunction( + build=_specialized_floor, signature=_age_signature + ) + if specialized + else _floor_helper + } + if dynamic + else {} ), }, constraints={ diff --git a/tests/solution/test_egm_continuation_grid_provenance.py b/tests/solution/test_egm_continuation_grid_provenance.py index c1059ca15..08ca80004 100644 --- a/tests/solution/test_egm_continuation_grid_provenance.py +++ b/tests/solution/test_egm_continuation_grid_provenance.py @@ -180,7 +180,11 @@ def feasible(*, wealth: ContinuousState, consumption: ContinuousAction) -> BoolN states={"wealth": wealth_grid}, state_transitions={"wealth": {"alive": next_wealth, "gone": next_wealth}}, constraints={} if isinstance(solver, EGM) else {"feasible": feasible}, - functions={"utility": utility, "resources": resources, "savings": savings}, + functions={ + "utility": utility, + "savings": savings, + **({"resources": resources} if isinstance(solver, EGM) else {}), + }, solver=solver, **( { diff --git a/tests/solution/test_egm_model_validation.py b/tests/solution/test_egm_model_validation.py index fecb61bf2..af4fd11d2 100644 --- a/tests/solution/test_egm_model_validation.py +++ b/tests/solution/test_egm_model_validation.py @@ -24,6 +24,7 @@ DiscreteState, FloatND, ScalarInt, + UserFunction, ) _WEALTH_GRID = LinSpacedGrid(start=0.1, stop=4.0, n_points=8) @@ -83,6 +84,10 @@ def consumption_cap( return consumption <= 0.2 * wealth +def _inverse_marginal_utility(marginal_continuation: FloatND) -> FloatND: + return 1.0 / marginal_continuation + + def _model( *, constraint=None, @@ -90,6 +95,7 @@ def _model( discrete_state: bool = False, terminal_action: bool = False, resources_func=None, + inverse_marginal_utility: UserFunction | None = None, ) -> Model: states = {"wealth": _WEALTH_GRID} state_transitions = {"wealth": {"done": next_wealth}} @@ -114,6 +120,11 @@ def _model( "utility": utility, "savings": post_decision, **({"resources": resources_func} if resources_func else {}), + **( + {"inverse_marginal_utility": inverse_marginal_utility} + if inverse_marginal_utility + else {} + ), }, solver=EGM( savings_grid=_SAVINGS_GRID, @@ -140,6 +151,18 @@ def _model( ) +def test_egm_keeps_analytic_inverse() -> None: + """An analytic Euler inverse survives model finalization.""" + model = _model(inverse_marginal_utility=_inverse_marginal_utility) + assert "inverse_marginal_utility" in model.user_regimes["saving"].functions + + +def test_egm_reads_analytic_inverse_without_an_output_declaration() -> None: + """An analytic Euler inverse is consumed by the engine directly.""" + model = _model(inverse_marginal_utility=_inverse_marginal_utility) + assert model.user_regimes["saving"].output_only_functions == () + + def test_egm_rejects_a_continuous_constraint_during_model_construction() -> None: """Plain EGM refuses a consumption cap that its numerical kernel cannot read. diff --git a/tests/solution/test_egm_terminal_discrete_states.py b/tests/solution/test_egm_terminal_discrete_states.py index cdc7c9721..9c6370586 100644 --- a/tests/solution/test_egm_terminal_discrete_states.py +++ b/tests/solution/test_egm_terminal_discrete_states.py @@ -152,7 +152,6 @@ def _make_dead_regime() -> UserRegime: }, functions={ "utility": bequest_utility, - "bequest_weight": bequest_weight, }, ) diff --git a/tests/solution/test_finite_nnbegm_policy_periods.py b/tests/solution/test_finite_nnbegm_policy_periods.py index d82e176aa..70699d9fa 100644 --- a/tests/solution/test_finite_nnbegm_policy_periods.py +++ b/tests/solution/test_finite_nnbegm_policy_periods.py @@ -96,7 +96,6 @@ def _model(*, specialized: bool, subset: bool) -> Model: "savings": original.savings, "new_illiquid": original.new_illiquid, "inverse_marginal_utility": original.inverse_marginal_utility, - "chosen_floor_helper": original.chosen_floor_helper, "resources": original.resources, "floor_coefficient": coefficient, }, diff --git a/tests/solution/test_fixed_component_markov.py b/tests/solution/test_fixed_component_markov.py index 9de1198f2..44ef17447 100644 --- a/tests/solution/test_fixed_component_markov.py +++ b/tests/solution/test_fixed_component_markov.py @@ -389,6 +389,36 @@ def test_fixed_component_lowering_covers_declarations_and_terminal( ].states.keys() +@pytest.mark.parametrize("helper_name", ["unused", "kind_health"]) +def test_fixed_component_lowering_keeps_unread_user_helper_validation( + *, helper_name: str +) -> None: + """Generated reconstruction does not exempt a terminal's declared helpers.""" + with pytest.raises( + RegimeInitializationError, match=rf"dead.*unread.*{helper_name}" + ): + Model( + regimes={ + "alive": Regime( + states={"kind_health": DiscreteGrid(_KindHealth)}, + state_transitions={ + "kind_health": StochasticTransition( + func=_next_kind_health, fixed_component=(0, 0, 1, 1) + ) + }, + functions={"utility": _code_utility}, + ), + "dead": Regime( + functions={"utility": lambda: 0.0, helper_name: lambda: 1.0} + ), + }, + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + regime_id_class=_RegimeId, + initial_nodes={0: "alive"}, + edges={"alive": {"dead": 0}}, + ) + + @pytest.mark.parametrize("inactive", [None, np.nan, "irrelevant"]) @pytest.mark.parametrize("reverse", [False, True]) def test_fixed_component_initial_labels_are_scoped_to_the_initial_regime( diff --git a/tests/solution/test_n_nbegm_epstein_zin.py b/tests/solution/test_n_nbegm_epstein_zin.py index 55efffc20..a1298a886 100644 --- a/tests/solution/test_n_nbegm_epstein_zin.py +++ b/tests/solution/test_n_nbegm_epstein_zin.py @@ -183,7 +183,6 @@ def _build_model(*, variant: str) -> Model: "new_illiquid": _new_illiquid, "resources": _resources, "liquid_savings": _liquid_savings, - "credited": _credited, } solver = _build_solver(variant=variant) # Built per branch rather than through a shared class and margin mapping: diff --git a/tests/solution/test_nbegm_taste_shocks.py b/tests/solution/test_nbegm_taste_shocks.py index ac2a6709c..d58de4517 100644 --- a/tests/solution/test_nbegm_taste_shocks.py +++ b/tests/solution/test_nbegm_taste_shocks.py @@ -145,7 +145,6 @@ def test_nnbegm_regime_declaring_taste_shocks_is_rejected(): "new_illiquid": n_nbegm_toy.new_illiquid, "resources": n_nbegm_toy.resources, "liquid_savings": n_nbegm_toy.liquid_savings, - "credited": n_nbegm_toy.credited, "labor_income": labor_income, }, solver=n_nbegm_toy.build_solver(variant="n_nbegm"), diff --git a/tests/solution/test_negm.py b/tests/solution/test_negm.py index b785d6acb..8b8f9ceed 100644 --- a/tests/solution/test_negm.py +++ b/tests/solution/test_negm.py @@ -207,7 +207,14 @@ def next_wealth( grid_search_model = Model( edges=edges, regimes={ - "alive": alive.replace(solver=GridSearch()), + "alive": alive.replace( + solver=GridSearch(), + functions={ + name: func + for name, func in alive.functions.items() + if name != "inverse_marginal_utility" + }, + ), "dead": negm_kinked_toy.build_dead_regime(), }, regime_id_class=negm_kinked_toy.RegimeId, diff --git a/tests/solution/test_nested_dynamic_borrowing.py b/tests/solution/test_nested_dynamic_borrowing.py index 8758661ef..a753a936c 100644 --- a/tests/solution/test_nested_dynamic_borrowing.py +++ b/tests/solution/test_nested_dynamic_borrowing.py @@ -169,7 +169,11 @@ def _model(*, family: Family, lower: float | UserFunction) -> Model: "savings": savings, "new_illiquid": new_illiquid, "inverse_marginal_utility": inverse_marginal_utility, - "chosen_floor_helper": chosen_floor_helper, + **( + {"chosen_floor_helper": chosen_floor_helper} + if lower is chosen_floor + else {} + ), } solver: NEGM | NNBEGM if family == "negm": diff --git a/tests/solution/test_nnbegm_validation.py b/tests/solution/test_nnbegm_validation.py index 69cab23c7..d6a419da9 100644 --- a/tests/solution/test_nnbegm_validation.py +++ b/tests/solution/test_nnbegm_validation.py @@ -63,7 +63,6 @@ def _valid_regime() -> NestedConsumptionSavingsRegime: "new_illiquid": n_nbegm_toy.new_illiquid, "resources": n_nbegm_toy.resources, "liquid_savings": n_nbegm_toy.liquid_savings, - "credited": n_nbegm_toy.credited, }, liquid=LiquidMargin( state="wealth", diff --git a/tests/solution/test_solution_fingerprint.py b/tests/solution/test_solution_fingerprint.py index bda38e78f..42c9f97ba 100644 --- a/tests/solution/test_solution_fingerprint.py +++ b/tests/solution/test_solution_fingerprint.py @@ -1089,6 +1089,25 @@ def test_regime_description_is_not_mathematical_identity() -> None: ) +def test_empty_reporting_preserves_the_legacy_regime_declaration() -> None: + """Adding an empty reporting slot leaves feature-free declarations alone.""" + declaration = fingerprints._project_user_regime_declaration( + UserRegime(functions={"utility": _terminal_utility}), law=_NON_TERMINAL_LAW + ) + assert "output_only_functions" not in declaration["fields"] + + +def test_populated_reporting_declaration_changes_durable_identity() -> None: + """A retained reporting function remains part of the declared identity.""" + regime = UserRegime(functions={"utility": _terminal_utility, "report": _solve_law}) + reported = dataclasses.replace(regime, output_only_functions=("report",)) + assert fingerprints._semantic_fingerprint( + fingerprints._project_user_regime_declaration(regime, law=_NON_TERMINAL_LAW) + ) != fingerprints._semantic_fingerprint( + fingerprints._project_user_regime_declaration(reported, law=_NON_TERMINAL_LAW) + ) + + def test_callable_signature_type_alias_metadata_is_supported() -> None: transition = _IdentityTransition( state_name="wealth", diff --git a/tests/test_carried_states.py b/tests/test_carried_states.py index 6eecf5134..41b14f545 100644 --- a/tests/test_carried_states.py +++ b/tests/test_carried_states.py @@ -368,7 +368,8 @@ def test_additional_targets_read_carried_value() -> None: """ regime = _build_pension_regime() regime = regime.replace( - functions={**regime.functions, "pension_double": _pension_double} + functions={**regime.functions, "pension_double": _pension_double}, + output_only_functions=("pension_double",), ) model = Model( regimes={"working": regime, "dead": _DEAD}, diff --git a/tests/test_certainty_equivalent.py b/tests/test_certainty_equivalent.py index 8e8cb9ba7..93c8c7fc7 100644 --- a/tests/test_certainty_equivalent.py +++ b/tests/test_certainty_equivalent.py @@ -895,12 +895,17 @@ def test_certainty_equivalent_name_collision_with_function_is_rejected(): def certainty_equivalent(wealth: ContinuousState) -> FloatND: return wealth + def utility( + *, consumption: ContinuousAction, certainty_equivalent: FloatND + ) -> FloatND: + return _utility_alive(consumption) + 0.0 * certainty_equivalent + with pytest.raises(InvalidNameError, match="certainty_equivalent"): _make_model( alive_kwargs={ "certainty_equivalent": PowerMean(), "functions": { - "utility": _utility_alive, + "utility": utility, "certainty_equivalent": certainty_equivalent, }, }, diff --git a/tests/test_dcegm_validation.py b/tests/test_dcegm_validation.py index 03d410c00..d7f7859ae 100644 --- a/tests/test_dcegm_validation.py +++ b/tests/test_dcegm_validation.py @@ -694,7 +694,11 @@ def test_coarse_transition_reaching_brute_regime_raises(): def test_solver_configuration_does_not_change_reachability() -> None: """Grid search and DC-EGM expose equal lifecycle graphs and graph hashes.""" dcegm_model = _build_model(regime=VALID) - grid_search_model = _build_model(regime=VALID.replace(solver=GridSearch())) + grid_search_model = _build_model( + regime=_without_function( + regime=VALID.replace(solver=GridSearch()), name="inverse_marginal_utility" + ) + ) assert dcegm_model.reachability == grid_search_model.reachability assert hash(dcegm_model.reachability) == hash(grid_search_model.reachability) @@ -767,6 +771,7 @@ def test_brute_force_inverse_marginal_utility_keeps_its_params(): **dict(retirement_only.retirement.functions), "inverse_marginal_utility": _ordinary_inverse_marginal_utility, }, + output_only_functions=("inverse_marginal_utility",), ) model = _build_model(regime=regime) diff --git a/tests/test_discrete_grid_values.py b/tests/test_discrete_grid_values.py index 9a2f71d6e..3c8a394b3 100644 --- a/tests/test_discrete_grid_values.py +++ b/tests/test_discrete_grid_values.py @@ -493,12 +493,11 @@ def _next_wealth_spent_clipped( return jnp.maximum(_next_wealth_spent(wealth=wealth, consumption=consumption), 10) -# `_PARAMS` without the interest rate, which the laws below do not read. +# The replacement laws below read neither interest rate nor labor income. _PARAMS_WITHOUT_RATE: UserParams = { "discount_factor": 0.95, "working_life": { "utility": {"disutility_of_work": 0.5}, - "labor_income": {"wage": 1.5}, }, "final_age_alive": 50 + (_N_PERIODS - 2) * 10, } @@ -508,7 +507,12 @@ def _model_with_law(law: UserFunction) -> Model: regime = _value_grid_model(enable_jit=True).user_regimes["working_life"] return _model_with( working_life=regime.replace( - state_transitions={**dict(regime.state_transitions), "wealth": law} + state_transitions={**dict(regime.state_transitions), "wealth": law}, + functions={ + name: func + for name, func in regime.functions.items() + if name != "labor_income" + }, ) ) @@ -616,7 +620,14 @@ def test_law_reading_a_sibling_next_state_is_checked_as_the_solve_composes_it(): with_room = regime.replace( states={**dict(regime.states), "room": DiscreteGrid(values=np.array([0, 1]))}, state_transitions={"wealth": _next_wealth_by_room, "room": _next_room}, - functions={**dict(regime.functions), "utility": _utility_with_room}, + functions={ + **{ + name: func + for name, func in regime.functions.items() + if name != "labor_income" + }, + "utility": _utility_with_room, + }, ) _model_with(working_life=with_room).validate_transitions( params=_PARAMS_WITHOUT_RATE diff --git a/tests/test_function_output_grid_indexing.py b/tests/test_function_output_grid_indexing.py index 56c18b017..f264e2616 100644 --- a/tests/test_function_output_grid_indexing.py +++ b/tests/test_function_output_grid_indexing.py @@ -343,6 +343,7 @@ def test_phased_function_in_functions_does_not_crash_validation(): "per_type_scale": _per_type_scale_takes_pref_type, "scaled": Phased(solve=_scale_solve, simulate=_scale_simulate), }, + output_only_functions=("scaled",), states={"pref_type": DiscreteGrid(category_class=PrefType)}, state_transitions={"pref_type": fixed_transition("pref_type")}, actions={"consumption": LinSpacedGrid(start=0.1, stop=5.0, n_points=5)}, diff --git a/tests/test_model.py b/tests/test_model.py index 38c206222..3bb2eacb4 100644 --- a/tests/test_model.py +++ b/tests/test_model.py @@ -1,19 +1,24 @@ +from collections.abc import Mapping from dataclasses import dataclass +from typing import Literal import jax.numpy as jnp import pytest +from numpy.testing import assert_array_almost_equal as aaae from _lcm.regime_building.finalize import finalize_regimes from _lcm.regime_law import bind_regime_law from _lcm.user_regime_validation import validate_regime_law from lcm import ( AgeGrid, + CollectiveUtility, DeterministicTransition, DiscreteGrid, LinearAggregator, LinearExpectation, LinSpacedGrid, Model, + Phased, StochasticTransition, Transition, categorical, @@ -21,6 +26,7 @@ ) from lcm.exceptions import ( InvalidNameError, + InvalidParamsError, ModelInitializationError, RegimeInitializationError, ) @@ -31,9 +37,11 @@ ContinuousState, DiscreteState, FloatND, + FunctionName, ScalarInt, + UserFunction, ) -from tests.conftest import bind_laws +from tests.conftest import DECIMAL_PRECISION, bind_laws def test_regime_invalid_states(): @@ -688,3 +696,344 @@ def next_regime(age): ) }, ) + + +@categorical(ordered=False) +class _OutputRegimeId: + alive: ScalarInt + + +def _output_utility(wealth: FloatND) -> FloatND: + return wealth + + +def _output_report(*, wealth: FloatND, report_scale: float) -> FloatND: + return wealth * report_scale + + +def _output_identity(report: FloatND) -> FloatND: + return report + + +def _output_from_helper(helper: FloatND) -> FloatND: + return helper + + +def _output_model( + *, + functions: Mapping[FunctionName, UserFunction | Phased | CollectiveUtility], + model_output: tuple[FunctionName, ...] = (), + regime_output: tuple[FunctionName, ...] = (), +) -> Model: + return Model( + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + regime_id_class=_OutputRegimeId, + regimes={ + "alive": UserRegime( + states={"wealth": LinSpacedGrid(start=1.0, stop=3.0, n_points=3)}, + functions=functions, + **({"output_only_functions": regime_output} if regime_output else {}), + ) + }, + initial_nodes={0: "alive"}, + edges={}, + **({"output_only_functions": model_output} if model_output else {}), + ) + + +@pytest.mark.parametrize( + "message", ["alive", "report", "unused", "Remove", "output_only_functions="] +) +def test_unread_functions_name_regime_and_every_function(message: str) -> None: + """Unconsumed functions require an explicit output declaration.""" + with pytest.raises(RegimeInitializationError, match=message): + _output_model( + functions={ + "utility": _output_utility, + "report": _output_report, + "unused": lambda: 1.0, + } + ) + + +@pytest.fixture(params=["model", "regime"]) +def output_only_model(request: pytest.FixtureRequest) -> Model: + """Build an output-only report declared at either supported level.""" + return _output_model( + functions={"utility": _output_utility, "report": _output_report}, + model_output=("report",) if request.param == "model" else (), + regime_output=("report",) if request.param == "regime" else (), + ) + + +def test_output_only_declaration_reaches_finalized_regime( + output_only_model: Model, +) -> None: + """An output declaration survives model finalization.""" + assert output_only_model.user_regimes["alive"].output_only_functions == ("report",) + + +def test_output_only_functions_keep_runtime_params(output_only_model: Model) -> None: + """An output-only target lists its unresolved arguments as runtime params.""" + assert "report_scale" in output_only_model.get_params_template()["alive"]["report"] + + +def test_output_only_functions_require_runtime_params(output_only_model: Model) -> None: + """Output-only targets require their ordinary runtime params at solve.""" + with pytest.raises(InvalidParamsError, match=r"Missing required parameter\(s\)"): + output_only_model.solve(params={}, log_level="off") + + +@pytest.mark.parametrize( + ("targets", "column", "expected"), + [ + (["report", "utility"], "report", [4.0, 8.0]), + (["report", "utility"], "utility", [1.0, 2.0]), + ("all", "report", [4.0, 8.0]), + ], +) +def test_output_only_functions_report_runtime_values( + *, + output_only_model: Model, + targets: list[FunctionName] | Literal["all"], + column: FunctionName, + expected: list[float], +) -> None: + """Reporting evaluates output-only and ordinary targets with supplied params.""" + result = output_only_model.simulate( + log_level="off", + params={"alive": {"report": {"report_scale": 4.0}}}, + initial_conditions={ + "age": jnp.array([0.0, 0.0]), + "wealth": jnp.array([1.0, 2.0]), + "regime_id": jnp.array([0, 0]), + }, + ) + aaae( + result.to_dataframe(additional_targets=targets)[column], + expected, + decimal=DECIMAL_PRECISION, + ) + + +def test_read_helper_is_reportable_without_output_only_declaration() -> None: + """A function consumed by utility remains an available reporting target.""" + model = _output_model( + functions={ + "utility": _output_identity, + "report": _output_utility, + } + ) + result = model.simulate( + log_level="off", + params={}, + initial_conditions={ + "age": jnp.array([0.0]), + "wealth": jnp.array([2.0]), + "regime_id": jnp.array([0]), + }, + ) + aaae( + result.to_dataframe(additional_targets=["report"])["report"], + [2.0], + decimal=DECIMAL_PRECISION, + ) + + +@pytest.mark.parametrize( + ("model_output", "regime_output", "message"), + [ + (("report",), ("report",), "both|model level.*regime level"), + (("missing",), (), "missing"), + ((), ("missing",), "missing"), + ((), ("utility",), "utility.*read|read.*utility"), + (("utility",), (), "utility.*read|read.*utility"), + ], +) +def test_output_only_declarations_reject_conflicts_missing_and_read_names( + *, + model_output: tuple[FunctionName, ...], + regime_output: tuple[FunctionName, ...], + message: str, +) -> None: + """Output declarations name existing unread functions at exactly one level.""" + with pytest.raises( + (ModelInitializationError, RegimeInitializationError), match=message + ): + _output_model( + functions={"utility": _output_utility, "report": _output_report}, + model_output=model_output, + regime_output=regime_output, + ) + + +@pytest.mark.parametrize("level", ["model", "regime"]) +def test_collective_utility_cannot_be_declared_output_only(level: str) -> None: + """A collective utility declaration is already consumed by the engine.""" + with pytest.raises(RegimeInitializationError, match=r"reads.*utility"): + _output_model( + functions={ + "utility": CollectiveUtility( + utilities={"first": _output_utility, "second": _output_utility} + ) + }, + model_output=("utility",) if level == "model" else (), + regime_output=("utility",) if level == "regime" else (), + ) + + +def test_output_only_dependency_is_an_ordinary_read() -> None: + """Output-only functions may use helpers without declaring those helpers.""" + model = _output_model( + functions={ + "utility": _output_utility, + "report": _output_from_helper, + "helper": _output_utility, + }, + regime_output=("report",), + ) + assert set(model.user_regimes["alive"].functions) == {"utility", "report", "helper"} + + +def test_output_only_dependency_cannot_be_declared_for_output() -> None: + """A helper consumed by a reporting function is already read.""" + with pytest.raises(RegimeInitializationError, match=r"reads.*helper"): + _output_model( + functions={ + "utility": _output_utility, + "report": _output_from_helper, + "helper": _output_utility, + }, + regime_output=("report", "helper"), + ) + + +def test_simulation_phase_function_consumers_count_as_reads() -> None: + """A helper used only by a simulation-phase utility is read by the model.""" + model = _output_model( + functions={ + "utility": Phased(solve=_output_utility, simulate=_output_identity), + "report": _output_utility, + } + ) + assert "report" in model.user_regimes["alive"].functions + + +@pytest.fixture +def output_only_broadcast_model() -> Model: + """Build a reporting target that reads a model-level state.""" + return Model( + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + regime_id_class=_OutputRegimeId, + regimes={"alive": UserRegime(functions={"utility": lambda: 0.0})}, + states={"wealth": LinSpacedGrid(start=1.0, stop=3.0, n_points=3)}, + functions={"report": _output_report}, + output_only_functions=("report",), + initial_nodes={0: "alive"}, + edges={}, + ) + + +def test_output_only_reporting_retains_broadcast_inputs_by_reachability( + output_only_broadcast_model: Model, +) -> None: + """An explicitly retained reporting target consumes its broadcast inputs.""" + assert "wealth" in output_only_broadcast_model.user_regimes["alive"].states + + +def test_output_only_broadcast_inputs_are_not_runtime_params( + output_only_broadcast_model: Model, +) -> None: + """A reporting input supplied by a model-level state needs no runtime param.""" + assert ( + "wealth" + not in output_only_broadcast_model.get_params_template()["alive"]["report"] + ) + + +@pytest.fixture(params=[False, True]) +def masked_output_only_model( + request: pytest.FixtureRequest, +) -> Model: + """A shared reporting declaration applies only where the function survives.""" + + @categorical(ordered=False) + class RegimeId: + alive: ScalarInt + dead: ScalarInt + + mask = request.param + return Model( + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + regime_id_class=RegimeId, + regimes={ + "alive": UserRegime( + functions={ + "utility": lambda: 0.0, + **({} if mask else {"report": lambda: 2.0}), + } + ), + "dead": UserRegime( + functions={"utility": lambda: 0.0, **({"report": None} if mask else {})} + ), + }, + functions={"report": lambda: 2.0} if mask else {}, + output_only_functions=("report",), + initial_nodes={0: "alive"}, + edges={}, + ) + + +def test_model_output_only_names_apply_where_defined( + masked_output_only_model: Model, +) -> None: + """A shared reporting declaration reaches a regime that defines the target.""" + assert masked_output_only_model.user_regimes["alive"].output_only_functions == ( + "report", + ) + + +def test_model_output_only_names_respect_masks(masked_output_only_model: Model) -> None: + """A shared reporting declaration excludes regimes without the target.""" + assert masked_output_only_model.user_regimes["dead"].output_only_functions == () + + +def test_model_output_only_names_keep_functions_masked( + masked_output_only_model: Model, +) -> None: + """A model-level reporting declaration does not restore a masked target.""" + assert "report" not in masked_output_only_model.user_regimes["dead"].functions + + +def _output_positive(report: FloatND) -> BoolND: + return report > 0.0 + + +@pytest.mark.parametrize("declare_constraint", [False, True]) +def test_constraints_read_their_helpers_and_need_no_output_declaration( + *, + declare_constraint: bool, +) -> None: + """Constraints are engine consumers of the functions their predicates read.""" + + def build() -> Model: + return Model( + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + regime_id_class=_OutputRegimeId, + regimes={ + "alive": UserRegime( + states={"wealth": LinSpacedGrid(start=1.0, stop=3.0, n_points=3)}, + functions={"utility": _output_utility, "report": _output_utility}, + constraints={"allowed": _output_positive}, + output_only_functions=("allowed",) if declare_constraint else (), + ) + }, + initial_nodes={0: "alive"}, + edges={}, + ) + + if declare_constraint: + with pytest.raises(RegimeInitializationError, match=r"reads.*allowed"): + build() + else: + assert "report" in build().user_regimes["alive"].functions diff --git a/tests/test_model_broadcast.py b/tests/test_model_broadcast.py index f05870db8..1f5ffd25f 100644 --- a/tests/test_model_broadcast.py +++ b/tests/test_model_broadcast.py @@ -34,7 +34,7 @@ from lcm.regime import Regime as UserRegime from lcm.regime import RegimeReplacement from lcm.transition import AgeSpecializedFunction -from lcm.typing import FloatND, RegimeName, ScalarInt +from lcm.typing import FloatND, FunctionName, RegimeName, ScalarInt @categorical(ordered=False) @@ -235,7 +235,7 @@ def test_model_functions_broadcast_to_every_regime() -> None: def _bonus(wealth: float) -> FloatND: return jnp.asarray(wealth * 0.01) - model = _build_model(functions={"bonus": _bonus}) + model = _build_model(functions={"bonus": _bonus}, output_only_functions=("bonus",)) assert all("bonus" in regime.functions for regime in model.user_regimes.values()) @@ -284,6 +284,7 @@ def _bonus(wealth: float) -> FloatND: "dead": UserRegime(functions={"utility": lambda: 0.0}), }, functions={"bonus": _bonus}, + output_only_functions=("bonus",), ) assert "bonus" in model.user_regimes["work"].functions assert "bonus" not in model.user_regimes["retired"].functions @@ -513,3 +514,4 @@ def test_model_broadcast_solves_and_simulates() -> None: class _BroadcastModelKwargs(ModelSlots, total=False): regimes: Mapping[RegimeName, UserRegime] execution_config: ExecutionConfig + output_only_functions: tuple[FunctionName, ...] diff --git a/tests/test_models/deterministic/ds_pension.py b/tests/test_models/deterministic/ds_pension.py index 82002ea98..ece7fbfeb 100644 --- a/tests/test_models/deterministic/ds_pension.py +++ b/tests/test_models/deterministic/ds_pension.py @@ -356,7 +356,11 @@ def get_model( else {"feasible": feasible_retired}, functions={ "utility": utility_retired, - "resources": resources_retired, + **( + {"resources": resources_retired} + if isinstance(retired_solver, EGM) + else {} + ), "savings": savings_retired, **_euler_inversion_functions( solver=retired_solver, analytic=analytic_inverse_marginal_utility diff --git a/tests/test_models/ds2024_housing.py b/tests/test_models/ds2024_housing.py index 4510c02eb..f23d32e8d 100644 --- a/tests/test_models/ds2024_housing.py +++ b/tests/test_models/ds2024_housing.py @@ -421,7 +421,6 @@ def next_regime(age: int) -> ScalarInt: "utility": utility, "new_housing": new_housing, "housing_cost": housing_cost, - "keep_housing": keep_housing, "serviced_housing": serviced_housing, "income_value": income_value, }, diff --git a/tests/test_models/ds2024_housing_fues.py b/tests/test_models/ds2024_housing_fues.py index 18e9aa7f0..aa533dfa8 100644 --- a/tests/test_models/ds2024_housing_fues.py +++ b/tests/test_models/ds2024_housing_fues.py @@ -106,7 +106,7 @@ def inverse_marginal_utility( return marginal_continuation ** (-1.0 / gamma_c) -def build_model( # noqa: C901 +def build_model( *, variant: Literal["dcegm", "brute"] = "dcegm", n_grid: int, @@ -166,10 +166,6 @@ def build_model( # noqa: C901 ) ) - def housing_stock(housing: DiscreteState) -> FloatND: - """Held housing stock `h` of the current discrete housing state.""" - return stock_levels[housing] - def serviced_housing(housing_choice: DiscreteAction) -> FloatND: """Serviced housing this period — the chosen next stock `H'`.""" return stock_levels[housing_choice] @@ -277,7 +273,6 @@ def next_regime(age: int) -> ScalarInt: "utility": utility, "housing_cost": housing_cost, "serviced_housing": serviced_housing, - "housing_stock": housing_stock, "income_value": income_value, } diff --git a/tests/test_models/n_nbegm_discrete_toy.py b/tests/test_models/n_nbegm_discrete_toy.py index 1d84d7fa1..bb22d15ae 100644 --- a/tests/test_models/n_nbegm_discrete_toy.py +++ b/tests/test_models/n_nbegm_discrete_toy.py @@ -101,7 +101,6 @@ def build_model( "new_illiquid": smooth.new_illiquid, "resources": resources, "liquid_savings": smooth.liquid_savings, - "credited": smooth.credited, } states = {"wealth": smooth.WEALTH_GRID, "illiquid": smooth.ILLIQUID_GRID} state_transitions = { diff --git a/tests/test_models/n_nbegm_toy.py b/tests/test_models/n_nbegm_toy.py index 0ec07f03c..c64d379cc 100644 --- a/tests/test_models/n_nbegm_toy.py +++ b/tests/test_models/n_nbegm_toy.py @@ -52,6 +52,7 @@ OuterBranchAggregator, OuterSearch, TwoMarginSolver, + UniformObservedFixedCost, ) from lcm.transition import AgeSpecializedFunction, AgeSpecializedGrid from lcm.typing import ( @@ -321,7 +322,6 @@ def build_model( ), "resources": resources, "liquid_savings": liquid_savings, - "credited": credited, } if variant == "negm": # With `outer_cost` declared, pylcm composes the resources function @@ -329,8 +329,12 @@ def build_model( # direct `resources` definition would double-declare it. del functions["resources"] functions["resources_before_outer_cost"] = resources_before_outer_cost + functions["credited"] = credited functions["inverse_marginal_utility"] = inverse_marginal_utility - if adjustment_cost is not None: + if ( + isinstance(adjustment_cost, UniformObservedFixedCost) + and adjustment_cost.scale_function == "adjustment_scale" + ): functions["adjustment_scale"] = ( adjustment_scale if scale_function is None else scale_function ) diff --git a/tests/test_required_operation_contexts.py b/tests/test_required_operation_contexts.py index 8abd3602e..c64f873c3 100644 --- a/tests/test_required_operation_contexts.py +++ b/tests/test_required_operation_contexts.py @@ -351,6 +351,24 @@ def test_simulate_side_factory_runs_only_where_its_regime_is_visited( assert set(calls) == ages +def test_an_ordinary_unvisited_phase_function_reads_its_helper() -> None: + """A helper consumed by an ordinary declared phase function remains available.""" + + def read_report(report: FloatND) -> FloatND: + return report + + perceived = _wealth_regime( + utility=Phased(solve=_backward_utility, simulate=read_report) + ) + model = _demand_model( + promote=False, + perceived=perceived.replace( + functions={**perceived.functions, "report": _wealth_utility} + ), + ) + assert "report" in model.user_regimes["perceived"].functions + + def _late_choice(*, late_rate: float) -> IntND: return jnp.where(late_rate >= 0.5, _DemandId.end, _DemandId.other_end) diff --git a/tests/test_runtime_params.py b/tests/test_runtime_params.py index 4a3193155..2fddf9e43 100644 --- a/tests/test_runtime_params.py +++ b/tests/test_runtime_params.py @@ -1,21 +1,35 @@ """Tests for runtime-supplied grid points (IrregSpacedGrid).""" +import warnings +from collections.abc import Mapping + +import cloudpickle import jax.numpy as jnp import numpy as np import pytest from numpy.testing import assert_array_almost_equal as aaae -from _lcm.grids import IrregSpacedGrid +from _lcm.grids import Grid, IrregSpacedGrid from lcm import ( AgeGrid, DeterministicTransition, LinSpacedGrid, Model, + Phased, Transition, categorical, ) +from lcm.exceptions import InvalidParamsError from lcm.regime import Regime as UserRegime -from lcm.typing import ContinuousAction, ContinuousState, FloatND, ScalarInt +from lcm.typing import ( + ContinuousAction, + ContinuousState, + FloatND, + FunctionName, + ScalarInt, + UserFunction, + UserParams, +) @categorical(ordered=False) @@ -55,17 +69,28 @@ def _next_regime(period: int) -> FloatND: } -def _make_model(*, wealth_grid=None): +def _make_model( + *, + wealth_grid: Grid | Phased | None = None, + utility: UserFunction | Phased = _utility, + functions: Mapping[FunctionName, UserFunction] | None = None, + constraints: Mapping[FunctionName, UserFunction] | None = None, + fixed_params: UserParams | None = None, +) -> Model: """Create a simple 2-regime model for testing.""" if wealth_grid is None: wealth_grid = LinSpacedGrid(start=1, stop=10, n_points=5) alive = UserRegime( - functions={"utility": _utility}, + functions={"utility": utility, **(functions or {})}, states={"wealth": wealth_grid}, state_transitions={"wealth": _next_wealth}, actions={"consumption": LinSpacedGrid(start=0.1, stop=5, n_points=5)}, - constraints={"borrowing_constraint": _borrowing_constraint}, + constraints=( + constraints + if constraints is not None + else {"borrowing_constraint": _borrowing_constraint} + ), ) dead = UserRegime( functions={"utility": lambda: 0.0}, @@ -77,6 +102,7 @@ def _make_model(*, wealth_grid=None): edges=_EDGES, regime_id_class=RegimeId, initial_nodes={0: "alive"}, + fixed_params=fixed_params or {}, ) @@ -143,11 +169,298 @@ def test_get_params_template_is_built_from_plain_dicts(): def test_get_params_template_returns_a_fresh_copy_on_each_call(): """Filling in one returned template leaves the next call's template as is.""" model = _make_model() - model.get_params_template()["alive"]["next_wealth"]["interest_rate"] = 0.05 + model.get_params_template()["alive"]["next_wealth"]["interest_rate"] = "filled" template = model.get_params_template() assert template["alive"]["next_wealth"]["interest_rate"] == "float" +def _template_resources(wealth: ContinuousState) -> FloatND: + return wealth + + +def _template_utility( + *, + consumption: ContinuousAction, + resources: FloatND, + consumptioz: FloatND, + wealt: FloatND, + resourcz: FloatND, + coefficient: FloatND, +) -> FloatND: + return consumption + resources + consumptioz + wealt + resourcz + coefficient + + +@pytest.fixture +def near_miss_model() -> Model: + """Build a utility whose unresolved arguments resemble model names.""" + return _make_model( + utility=_template_utility, + functions={"resources": _template_resources}, + ) + + +def test_near_miss_names_do_not_warn_at_build() -> None: + """Unresolved names remain runtime parameters without build warnings.""" + with warnings.catch_warnings(record=True) as recorded: + _make_model( + utility=_template_utility, + functions={"resources": _template_resources}, + ) + assert not recorded + + +def test_get_params_template_notes_near_miss_names(near_miss_model: Model) -> None: + """The returned template suggests nearby state, action and function names.""" + assert near_miss_model.get_params_template()["alive"]["utility"] == { + "consumptioz": "FloatND [close to action 'consumption'; typo?]", + "wealt": "FloatND [close to state 'wealth'; typo?]", + "resourcz": "FloatND [close to function 'resources'; typo?]", + "coefficient": "FloatND", + } + + +def test_near_miss_names_leave_the_internal_template_plain( + near_miss_model: Model, +) -> None: + """Display suggestions leave the internal runtime parameter template intact.""" + assert near_miss_model._params_template["alive"]["utility"] == { + "consumptioz": "FloatND", + "wealt": "FloatND", + "resourcz": "FloatND", + "coefficient": "FloatND", + } + + +def test_near_miss_template_is_a_fresh_copy(near_miss_model: Model) -> None: + """Filling a displayed suggestion leaves the next template copy intact.""" + near_miss_model.get_params_template()["alive"]["utility"]["consumptioz"] = "filled" + assert near_miss_model.get_params_template()["alive"]["utility"]["consumptioz"] == ( + "FloatND [close to action 'consumption'; typo?]" + ) + + +def test_near_miss_parameters_are_still_required_at_solve( + near_miss_model: Model, +) -> None: + """Hand-written params must supply unresolved near-miss arguments.""" + with pytest.raises(InvalidParamsError, match="Missing required parameter"): + near_miss_model.solve( + params={"discount_factor": 0.95, "interest_rate": 0.05}, + log_level="debug", + ) + + +def _template_constraint( + *, + consumption: ContinuousAction, + consumptioz: FloatND, +) -> FloatND: + return consumption <= consumptioz + + +def test_get_params_template_notes_constraint_arguments() -> None: + """A constraint's unresolved argument receives the same near-miss note.""" + model = _make_model(constraints={"limit": _template_constraint}) + assert model.get_params_template()["alive"]["limit"] == { + "consumptioz": "FloatND [close to action 'consumption'; typo?]" + } + + +def _template_phase_utility( + *, + consumption: ContinuousAction, + consumptioz: FloatND, +) -> FloatND: + return consumption + consumptioz + + +def test_get_params_template_notes_both_phase_variants() -> None: + """Both phases contribute arguments to the annotated user-facing template.""" + model = _make_model( + utility=Phased(solve=_utility, simulate=_template_phase_utility) + ) + assert model.get_params_template()["alive"]["utility"] == { + "consumptioz": "FloatND [close to action 'consumption'; typo?]" + } + + +def test_get_params_template_omits_fixed_near_miss_parameters() -> None: + """A bound near-miss argument needs no runtime template entry.""" + model = _make_model( + utility=_template_phase_utility, + fixed_params={"consumptioz": 0.5}, + ) + assert model.get_params_template()["alive"].get("utility", {}) == {} + + +def _template_threshold_utility( + *, abcde: FloatND, abxde: FloatND, abxyf: FloatND +) -> FloatND: + return abcde + abxde + abxyf + + +def test_get_params_template_uses_the_sequence_matcher_threshold() -> None: + """A match at the similarity threshold is noted; a weaker match stays plain.""" + model = Model( + regimes={ + "alive": UserRegime( + functions={"utility": _template_threshold_utility}, + states={"abcde": LinSpacedGrid(start=0, stop=1, n_points=2)}, + ), + "dead": UserRegime(functions={"utility": lambda: 0.0}), + }, + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + edges={}, + regime_id_class=RegimeId, + initial_nodes={0: "alive"}, + ) + assert model.get_params_template()["alive"]["utility"] == { + "abxde": "FloatND [close to state 'abcde'; typo?]", + "abxyf": "FloatND", + } + + +def _template_unrelated_utility( + resourcz: FloatND, +) -> FloatND: + return resourcz + + +def test_get_params_template_ignores_masked_and_other_regime_names() -> None: + """A masked model helper available in another regime supplies no suggestion.""" + model = Model( + regimes={ + "alive": UserRegime( + functions={"utility": _template_unrelated_utility, "resources": None} + ), + "dead": UserRegime(functions={"utility": lambda resources: resources}), + }, + functions={"resources": lambda: 1.0}, + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + edges={}, + regime_id_class=RegimeId, + initial_nodes={0: "alive"}, + ) + assert model.get_params_template()["alive"]["utility"] == {"resourcz": "FloatND"} + + +def _template_grid_utility(*, consumption: ContinuousAction, point: FloatND) -> FloatND: + return consumption + point + + +def test_get_params_template_leaves_runtime_grid_entries_plain() -> None: + """Runtime-grid metadata is not an unresolved function argument.""" + model = _make_model( + wealth_grid=IrregSpacedGrid(n_points=5), + utility=_template_grid_utility, + functions={"point": _template_resources}, + ) + assert model.get_params_template()["alive"]["wealth"]["points"] == "Float1D" + + +def _template_pruned_utility( + consumptioz: FloatND, +) -> FloatND: + return consumptioz + + +def _make_pruned_template_model(variable_kind: str) -> Model: + """Build a model with a misspelled broadcast-variable argument.""" + variables = {"consumption": LinSpacedGrid(start=0, stop=1, n_points=2)} + return Model( + regimes={ + "alive": UserRegime(functions={"utility": _template_pruned_utility}), + "dead": UserRegime(functions={"utility": lambda: 0.0}), + }, + states=variables if variable_kind == "state" else {}, + actions=variables if variable_kind == "action" else {}, + ages=AgeGrid(start=0, inclusive_stop=1, step="Y"), + edges={}, + regime_id_class=RegimeId, + initial_nodes={0: "alive"}, + ) + + +@pytest.mark.parametrize("variable_kind", ["state", "action"]) +def test_near_miss_names_do_not_retain_broadcast_variables(variable_kind: str) -> None: + """A misspelled argument does not consume the broadcast variable it resembles.""" + model = _make_pruned_template_model(variable_kind) + assert "consumption" in model.pruned_variables["alive"] + + +@pytest.mark.parametrize("variable_kind", ["state", "action"]) +def test_get_params_template_notes_pruned_broadcast_variables( + variable_kind: str, +) -> None: + """A misspelling retains its hint when the unread broadcast variable is pruned.""" + model = _make_pruned_template_model(variable_kind) + assert model.get_params_template()["alive"]["utility"] == { + "consumptioz": f"FloatND [close to {variable_kind} 'consumption'; typo?]" + } + + +@pytest.mark.parametrize("variable_kind", ["state", "action"]) +def test_pruned_broadcast_variable_hints_survive_pickle(variable_kind: str) -> None: + """Model persistence preserves suggestions for pruned broadcast variables.""" + model = _make_pruned_template_model(variable_kind) + restored = cloudpickle.loads(cloudpickle.dumps(model)) + assert restored.get_params_template() == model.get_params_template() + + +def _template_composed_resources_utility( + *, + consumption: ContinuousAction, + resourcz: FloatND, +) -> FloatND: + return -1.0 / consumption + resourcz + + +def test_get_params_template_notes_composed_function_names() -> None: + """A composed resource function supplies its declared name to typo notes.""" + from tests.test_models import n_nbegm_toy # noqa: PLC0415 + + model = n_nbegm_toy.build_model( + variant="negm", + utility_function=_template_composed_resources_utility, + ) + assert model.get_params_template()["alive"]["utility"] == { + "resourcz": "FloatND [close to function 'resources'; typo?]" + } + + +def _template_constraint_reference_utility( + *, consumption: ContinuousAction, borrowing_contraint: FloatND +) -> FloatND: + return consumption + borrowing_contraint + + +def test_get_params_template_notes_near_constraint_names() -> None: + """An unresolved argument can suggest a nearby constraint function's name.""" + model = _make_model(utility=_template_constraint_reference_utility) + assert model.get_params_template()["alive"]["utility"] == { + "borrowing_contraint": ( + "FloatND [close to function 'borrowing_constraint'; typo?]" + ) + } + + +def _template_impute_wealth(wealt: FloatND) -> ContinuousState: + return wealt + + +def test_get_params_template_notes_carried_state_function_arguments() -> None: + """A carried state's solve function receives notes for its unresolved inputs.""" + model = _make_model( + wealth_grid=Phased( + solve=_template_impute_wealth, + simulate=LinSpacedGrid(start=1, stop=10, n_points=5), + ) + ) + assert model.get_params_template()["alive"]["wealth"] == { + "wealt": "FloatND [close to state 'wealth'; typo?]" + } + + def test_runtime_grid_in_params_template(): """IrregSpacedGrid with runtime-supplied points adds 'points' to template.""" model = _make_model( diff --git a/tests/test_temporal_params.py b/tests/test_temporal_params.py index 4902d57c4..94fc7573d 100644 --- a/tests/test_temporal_params.py +++ b/tests/test_temporal_params.py @@ -530,7 +530,8 @@ def report(*, bonus: FloatND) -> FloatND: functions={ "utility": _zero, "report": lcm.time_varying_params("bonus")(report), - } + }, + output_only_functions=("report",), ), "done": lcm.Regime(functions={"utility": _terminal}), }, diff --git a/tests/test_transition_checks.py b/tests/test_transition_checks.py index dea6cf94c..7c5674c60 100644 --- a/tests/test_transition_checks.py +++ b/tests/test_transition_checks.py @@ -5,6 +5,7 @@ Enabled runtime checks raise independently of console verbosity. """ +import inspect import logging import math from collections.abc import Callable, Mapping @@ -643,7 +644,15 @@ def _model_with_function_reading_health_probs( "wealth": _next_wealth, "health": Phased(solve=law, simulate=law) if phased else law, }, - functions={"utility": _utility_alive, "effort": _effort, "income": _income}, + functions={ + "utility": _utility_alive, + "effort": _effort, + **( + {"income": _income} + if "income" in inspect.signature(next_health_func).parameters + else {} + ), + }, derived_categoricals={"effort": DiscreteGrid(category_class=_Effort)}, constraints={"budget": _budget}, )