mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 19:47:10 +00:00
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:
1 parent
e44ad56749
commit
d0cf5a98c7
3 files changed
+125
No files matched your search
@@ -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>;
|
||||
}
|
||||
Reference in new issue
Block a user