Skip to content

memory

memory

Memory score-key checks (V340, V342, V344-V347, V350; GH #496, spec 03).

The conductor reads the memory: key at dispatch: a sheet's attachments are delivered to instruments that accept an MCP config, and a dispatch to an instrument that does not is refused. These checks catch values that could never work. Scope and access grammars come from :mod:marianne.memory so the rules live in one place.

Check IDs: - V340: system is not a backend this release ships - V350: system: cam settings are incomplete, contradictory or carry a literal key - V342: a phases entry is not all, a movement number, or a movement name - V344: scope fails the scope grammar - V345: caps out of range or unknown provenance - V349: INFO note when the deprecated off was read as optional (its own code: one code carries one check and one severity, so it can be suppressed) - V346: access fails the access grammar - V347: access names a grant, and no grant store exists yet

Classes

MemorySystemUnknownCheck

Bases: _MemoryCheck

V340: system names a backend this release does not ship.

MemoryPhasesInvalidCheck

Bases: _MemoryCheck

V342: a phases entry matches no phase rule.

MemoryScopeInvalidCheck

Bases: _MemoryCheck

V344: scope fails the scope grammar.

MemoryCapsInvalidCheck

Bases: _MemoryCheck

V345: caps out of range, a cap above the score default, or unknown provenance.

MemoryProvenanceOffNote

Bases: _MemoryCheck

V349 (INFO): provenance: off was read as optional.

MemoryAccessInvalidCheck

Bases: _MemoryCheck

V346: access is neither inherit nor a grant reference.

MemoryGrantUnknownCheck

Bases: _MemoryCheck

V347: a grant reference cannot resolve because no grant store exists yet.

MemoryCamSettingsCheck

Bases: _MemoryCheck

V350: a system: cam attachment may only name an endpoint the operator configured.

Functions: