Mnemosyne.Pipeline.EpisodicValidation (mnemosyne v0.1.5)

Copy Markdown View Source

Maintenance module that validates episodic grounding of abstract nodes.

Walks the provenance chain from semantic/procedural nodes through episodic nodes to source nodes and penalizes nodes whose source embeddings diverge significantly from the abstract node's embedding. Orphaned nodes (no provenance links) receive a larger penalty.

Summary

Functions

Validates episodic grounding of semantic and procedural nodes.

Functions

validate(opts)

@spec validate(keyword()) :: {:ok, map(), {module(), term()}} | {:error, term()}

Validates episodic grounding of semantic and procedural nodes.

Options

  • :backend - {module, state} tuple (required)
  • :config - %Mnemosyne.Config{} (required)

Returns {:ok, stats, {backend_mod, new_state}} where stats contains :checked, :penalized, :orphaned, and :grounded counts.