cadrumo.application.modelo.calculation module¶
Public calculation materialization capture for one persisted revision.
This module owns the operator-facing capture contract over a materialized
CalculationRevision. It computes nothing: the
revision and its provenance come from the sole calculation-revision authority
in cadrumo.application.modelo.calculation_actions, which remains a
package-private implementation collaborator. There is no parallel calculation,
source-graph, persistence or redaction path here, and none may be added.
The capture is source-graph-safe because it republishes the revision exactly as the authority materialized it. The revision already carries its own casilla provenance, so no separate graph projection is derived and no locator is re-exposed outside the record that owns it.
See also
CalculationRevisionThe materialized record this module captures without reconstruction.
Core types:
CasillaObservation.
- visible_calculation_casilla_values(revision, *, operation)[source]¶
Return the casilla values of a persisted revision that an operator should see.
The write path has already removed registry-declared row templates. The read path first re-confirms the persisted canonical coordinate and never guesses semantic membership from an identifier prefix.
Core types:
CalculationRevision.- Return type:
- Parameters:
revision (CalculationRevision)
operation (PinnedAuthorityOperation)
- visible_calculation_observations(revision, *, operation)[source]¶
Return the observations of a persisted revision that an operator should see.
This is the observation-stream counterpart of
visible_calculation_casilla_values()and applies the same canonical revision re-confirmation before returning the write-time materialization.Core types:
CalculationRevision.- Return type:
- Parameters:
revision (CalculationRevision)
operation (PinnedAuthorityOperation)