feat(inspect-ui): render extractor-change breadcrumbs at violations

Show prev -> curr for each extractor whose value changed on the
selected step, anchored under the violation row in ActionList.
Long values collapse into <details> so the inline diff stays
readable while the full payload is one click away.
This commit is contained in:
pj committed 2026-05-30 21:58:13 +05:30
1 parent e44ad56749
commit d0cf5a98c7
3 files changed
+125

No files matched your search

+6
View File
@@ -115,6 +115,11 @@ export interface Metrics {
total_memory_bytes?: number;
}
export interface ExtractorChange {
prev: unknown;
curr: unknown;
}
export interface Step {
step: number;
timestamp: string;
@@ -126,4 +131,5 @@ export interface Step {
hierarchy?: Hierarchy;
residuals?: Record<string, ResidualNode>;
metrics?: Metrics;
extractor_changes?: Record<string, ExtractorChange>;
}