-
[OPIK-4170] [BE][FE] Add dataset field support for GEval metric in Studio (#5027)
发布于
2026-02-04 17:05:29 +00:00 -
Co-authored-by: Cursor cursoragent@cursor.com
-
fix: show dataset variables hint once for GEval
-
refactor: improve GEval code quality and test coverage
- Extract GEvalField component to reduce duplication
- Hoist CodeMirror extensions/basicSetup to module-level constants
- Fix import order per frontend code quality rules
- Add clarifying comments about GEval.score() signature
- Enhance interpolation tests to verify actual substitution behavior
- fix: handle nullable GEval params and support special chars in field names
- Normalize task_introduction/evaluation_criteria to handle explicit None
- Expand regex to support dots and hyphens in field names (e.g., user.name, answer-key)
- Add tests for null params and special character keys
- fix: address PR review feedback
- Handle nullable dataset_item in metric_fn_with_interpolation
- Extract GEvalField to separate file for better maintainability
- Add test for None dataset_item scenario
下载附件
-