Skip to main content

Overview

The geval explain command provides detailed explanations of why a contract passed or failed, helping you understand the decision-making process.

Usage

geval explain --contract <path> --eval <paths...> [options]

Options

OptionDescription
-c, --contract <path>Path to eval contract (YAML/JSON) (required)
-e, --eval <paths...>Path(s) to eval result files (required)
-b, --baseline <path>Path to baseline eval results
--verboseShow detailed explanations
--no-colorDisable colored output

Example

geval explain -c contract.yaml -e results.json --verbose

Use Cases

  • Debugging why a contract failed
  • Understanding metric comparisons
  • Analyzing baseline differences
  • Getting detailed violation information