Skip to main content

@svatah/yam-conformance

Surface and runtime conformance suites

Exports

ExportKindSignature
BridgeCostinterfaceexport interface BridgeCostWhat the adapter's bridge cost, when it has one (Draft 2.8 §7.5).
CaseContextinterfaceexport interface CaseContextWhat a case is handed.
CaseReportinterfaceexport interface CaseReport
CheckResultinterfaceexport interface CheckResultOne observation the suite made.
ConformanceCaseinterfaceexport interface ConformanceCase
ConformanceReportinterfaceexport interface ConformanceReport
DESKTOP_CASESvariableDESKTOP_CASES: readonly ConformanceCase[] = [
DESKTOP_HEALING_CASESvariableDESKTOP_HEALING_CASES: readonly ConformanceCase[] = [
DesktopHealinginterfaceexport interface DesktopHealing
HealCandidateinterfaceexport interface HealCandidateA relocalization candidate as a report shows it: what it is, and its scores.
HealOutcomeinterfaceexport interface HealOutcomeWhat model-free relocalization answered (LLD §6.4).
RecordedElementinterfaceexport interface RecordedElementWhat the desktop healing cases need, and this package will not import
renderMarkdownfunctionexport function renderMarkdown(report: ConformanceReport): stringA Markdown report, for the release notes (REQ-PKG-4).
renderReportfunctionexport function renderReport(report: ConformanceReport): stringA plain-text report for a terminal.
RunOptionsinterfaceexport interface RunOptions
runSurfaceConformancefunctionexport async function runSurfaceConformance(options: RunOptions): Promise<ConformanceReport>Run the suite against one adapter (REQ-SURF-3, REQ-STD-2).
SURFACE_CASESvariableSURFACE_CASES: readonly ConformanceCase[] = [