Task Compare (Diff)
Hesperida provides a pairwise diff view for completed queue tasks of the same tool type.
Purpose
- Compare two completed runs directly.
- Identify what became better, worse, fixed, or unchanged.
- Inspect score and latency deltas where applicable.
Entry Point
From /job-queue, open a completed task row and choose Compare from the actions menu.
This opens:
/job-queue/{leftTaskId}/diff
The left side is preloaded from the route param.
Comparison Flow
- Left task/result is loaded by page
load. - User selects a right task in the compare form.
- Form submission (
use:enhance) fetches only the right task/result. - Diff computation runs in the frontend.
There is no backend compare endpoint for this feature.
Constraints
- Both tasks must be
completed. - Both tasks must be of the same
type. - Left task is excluded from right-side candidates.
- Optional
Same Website onlyswitch narrows right-side options.
Output
The diff table classifies rows as:
newfixedstalechanged
Summary cards show counts per classification.
When available:
- score delta is shown for score-based tools
- latency delta is shown for tools exposing latency metrics
Swap
After both sides are populated, Swap reverses left/right and recalculates the diff in place.