Vixen
c7401864
csharp
public static class AiDiagnosis

Reads a recorded log and says what is wrong with the agents in it.

Read the guide page for this →

Remarks

Doc 37 § P7's exit criterion, as a type. "An agent misbehaving in a headless test is diagnosed from the recorded log alone" is only a criterion if something can do the diagnosing without the world — so this takes an AgentDebugRecorder and nothing else. No World, no AiSystem, no template. Which means it works against a log that arrived over doc 13's channel from a dedicated server, or out of a crash dump, exactly as well as against one in the same process.

⚠ It reports symptoms and never causes. "This agent changed action nine times in forty ticks" is a fact; "its danger consideration is mis-tuned" is a guess, and a debugger that guesses is one people learn to disbelieve. Every finding carries the count it is built from and the ticks it spans, so the next question — why — is asked of the records themselves.

Methods (3)

Used by (4)

  • AiDiagnosisExitCriteriaTestsVixen.Ai.Tests
  • AiGameplayDebuggerVixen.Ai.Diagnostics
  • VillageSampleTestsVixen.Ai.Nodes.Tests
  • AgentDebugModelVixen.Editor.Ai