checkConformance()
checkConformance(
graph,model):ConformanceReport
Defined in: process-mining.ts:326
Compare a single execution graph against a discovered process model.
Classifies deviations into three categories:
unexpected-transition: exists in the graph but not in the modelmissing-transition: exists in the model with probability > 0.5 but not in the graphlow-frequency-path: exists in both but model probability < 0.1
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | ExecutionGraph | The execution graph to check. |
model | ProcessModel | The process model to check against. |
Returns
A conformance report with score, deviations, and conformance flag.
Example
const report = checkConformance(newRun, model);
if (!report.isConforming) {
console.log(`Conformance: ${(report.conformanceScore * 100).toFixed(0)}%`);
for (const d of report.deviations) console.log(d.message);
}