Skip to content
Increment 0.1.0a6 prerelease documentation. These docs describe the increment 0.1.0a6 prerelease (v0.1.0a6). Its API may change. Install: pip install 'increment==0.1.0a6' Keep any extras requested by the guide, such as increment[dashboard]==0.1.0a6.

Custom evidence providers (`increment.evidence`)

EvidenceProvider

Primitive request interface for custom evidence providers.

Providers declaring assignment_relation="ledger" or assignment_relation="reduced" may additionally implement assignment(request: AssignmentRequest) -> AssignmentEvidence. This optional method is deliberately not part of this runtime protocol. Providers may also implement sequential_snapshot(request: SequentialSnapshotRequest) to return their exact current checkpoint; that optional method is deliberately not part of this runtime protocol.

SourceReference(name, uri, expected_digest, schema, capabilities, declaration_version)

A named, portable reference to evidence and its recorded declarations.

Implement the primitive requests in the provider guide. Capabilities are declared before reads; compound readout acquisition remains internal.

BreakoutCell(breakout, value, is_null)

One requested cell within a declared breakout identity.

MomentRows

No docstring.

ScalarEvidenceDeclaration(bindings, moments_only, recipe_fixed, recipe_configs, anonymous_metrics, method_evidence, breakout_evidence, covariate_grains)

Scalar evidence retained by a source for readout construction.

EvidenceExecutionContext(provider, scope, run_id, coherence, observation_horizon, shared_capture)

Own one evidence scope and lend its pinned view to readout acquisition.