[!IMPORTANT]
This pull request refines label value handling by using HashMap<String, f64> for precise mapping, updates backend and frontend components for better evaluator management, and enhances UI with error handling and tooltips.
Backend Changes:
Change update_span_label function in labels.rs to require value: f64 instead of Option<f64>.
Modify run_evaluator in evaluators.rs to use HashMap<String, f64> for label_values_map.
Remove setting label_job_status to RUNNING before evaluator execution in evaluators.rs.
Frontend Changes:
Update route.ts to order label classes by createdAt.
Add error handling for invalid label values in add-label-popover.tsx.
Update evaluator-editor.tsx to display expected output values from labelClass.valueMap.
Modify add-label.tsx to prevent duplicate label values and names.
Add tooltips and UI enhancements for evaluator management in add-label.tsx and add-label-popover.tsx.
This description was created by for 4fcb4754e5d64c8c6d8f031708597be4db934718. It will automatically update as commits are pushed.