mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
Attribute violations to the causing step and render witness evidence (#59)
* feat(ltl): attribute violations to the obligation origin step * feat(verifier): label evaluator observations with the runner step index * feat(trace): carry the causing step in violation witnesses and summary * feat(replay): move the violation marker to the causing step * feat(replay-ui): render witness evidence in the violations panel * feat(replay-ui): wire witnesses and step jump into violation panels * fix(ltl): treat next obligations as vacuous at run end * fix(runner): give the finalize trace record its own step index
This commit is contained in:
15 files changed
+719
-85
No files matched your search
@@ -121,6 +121,16 @@ export interface ExtractorChange {
|
||||
curr: unknown;
|
||||
}
|
||||
|
||||
export interface Witness {
|
||||
reason?: string;
|
||||
is_error?: boolean;
|
||||
// step is the step the failed obligation originated at: the causing step,
|
||||
// which for deferred obligations (next, eventually) is earlier than the
|
||||
// step whose record carries the witness.
|
||||
step?: number;
|
||||
extractors?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface Step {
|
||||
step: number;
|
||||
timestamp: string;
|
||||
@@ -134,4 +144,5 @@ export interface Step {
|
||||
residuals?: Record<string, ResidualNode>;
|
||||
metrics?: Metrics;
|
||||
extractor_changes?: Record<string, ExtractorChange>;
|
||||
witnesses?: Record<string, Witness>;
|
||||
}
|
||||
Reference in new issue
Block a user