Nous.Eval.Reporter.Json (nous v0.16.0)
View SourceJSON output for evaluation reports.
Summary
Functions
Write report to JSON file.
Generate JSON report.
Convert result to a map suitable for JSON encoding.
Functions
@spec to_file(Nous.Eval.SuiteResult.t(), String.t()) :: :ok | {:error, term()}
Write report to JSON file.
@spec to_json(Nous.Eval.SuiteResult.t()) :: String.t()
Generate JSON report.
@spec to_map(Nous.Eval.SuiteResult.t()) :: map()
Convert result to a map suitable for JSON encoding.