Skip to main content

Module evaluation

Module evaluation 

Source
Expand description

GenomeEvaluation v1 — one evaluated individual: a genome, its fitness, and its lineage.

A completed Trainer protocol produces one record (ADR-016 in docs/FEAGI_TRAINER_ADR_SET.md). The record pins the content hash of the genome that was evaluated (the genotype), references the protocol’s Trainer scorecards by id, carries the comparability key that decides which evaluations may be ranked against each other, the validation-split fitness, and the lineage used by evolutionary operators.

Inheritance is genome-only: lineage links genome hashes, never trained connectomes. The record performs no I/O; hosts (Composer for feagi-desktop) store it.

@cursor:ffi-safe — plain data, serde-only, no runtime reflection.

Structs§

ComparabilityKey
Everything that must match for two evaluations to be ranked against each other.
ConfidenceInterval
Confidence interval of a repeated (N-seed) fitness estimate.
EvaluationId
Identifies one GenomeEvaluation record.
ExperimentId
Identifies the experiment (the environment genomes compete in).
FitnessEstimate
Fitness value with its repeat provenance.
FitnessSpec
Which metric, on which split, is the fitness, and which way it improves.
GenomeEvaluation
One evaluated individual (ADR-016).
Lineage
Genome-only ancestry of the evaluated genome.

Enums§

EvaluationError
Contract violation found by GenomeEvaluation::validate.
FitnessObjective
Direction in which a fitness metric improves.
FitnessOutcome
Whether the protocol produced a fitness value.
GenomeOrigin
How a genome came to exist.

Constants§

SCHEMA_VERSION
Wire/format version of the GenomeEvaluation contract.