EvolutionFailureSummary

Models & Types ยท AiDotNet.Models.Results

One retained failure from an evolution run, reduced to a code and a message.

For Beginners

When a candidate fails, the run does not stop; it records why and carries on. This is one of those records. If a run produced nothing useful, reading these is normally the fastest way to find out that, for example, every candidate timed out or every one was rejected for missing a required measurement.

How It Works

A candidate that throws, times out, or returns nothing usable becomes a diagnostic rather than a fault of the run. A bounded number of those diagnostics is kept so a finished run can explain itself. This is the redacted projection of one: the stable Code is safe to group and alert on, while Message is prose meant for a human.

IsRedacted matters when the failure came from evaluating untrusted material โ€” a generated program, say. A message flagged this way has already had its risky content removed by the engine, but it still originated outside your code, so treat it as data to display rather than as text to act on.

Constructors

Constructor Summary
EvolutionFailureSummary()

Properties

Property Summary
bool IsRedacted { get; set; } Gets or sets whether the message was sanitized because it came from untrusted material.
string Code { get; set; } Gets or sets the stable failure code, such as evaluator_exception or descriptor_missing.
string Message { get; set; } Gets or sets the human-readable explanation.