CharterAgreementProtocol.Conformance.Runner (Charter Agreement Protocol v0.2.1)

Copy Markdown View Source

CAP never authorizes.

Pure execution of every case in an integrity-checked conformance corpus. Results compare the complete projected fact JSON, not only valid/invalid status, so a vacuous implementation cannot report agreement.

Summary

Functions

Execute every loaded case in corpus order.

Types

result()

@type result() :: %{
  id: binary(),
  surface: binary(),
  expected: map(),
  actual: map(),
  agree: boolean()
}

Functions

run(corpus)

Execute every loaded case in corpus order.