Skip to content

chore(eval): resync evaluator type schemas with Python source#1664

Draft
ajay-kesavan wants to merge 1 commit into
mainfrom
chore/resync-evaluator-type-schemas
Draft

chore(eval): resync evaluator type schemas with Python source#1664
ajay-kesavan wants to merge 1 commit into
mainfrom
chore/resync-evaluator-type-schemas

Conversation

@ajay-kesavan
Copy link
Copy Markdown

Summary

Refreshes the 11 evaluator schemas in packages/uipath/src/uipath/eval/evaluators_types/ that had drifted from their Python config classes. Pure output of python -m uipath.eval.evaluators_types.generate_types, no hand edits.

What changed

Notable fields the regenerator surfaced:

  • Output evaluators (Contains, ExactMatch, JsonSimilarity, LLMJudgeOutput*) gain line_by_line_evaluator and line_delimiter — added to OutputEvaluatorConfig in feat: add support for line-by-line evaluation #1481 but never propagated to the JSON snapshot.
  • All evaluators gain a populated justificationSchema (previously emitted as empty {}).
  • ToolCall evaluators gain target_output_key documentation strings.
  • A handful of field ordering tweaks driven by Python MRO.

Why split this out

Originally bundled with the classification-evaluator schemas in #1663, but split into its own PR so reviewers don't have to mentally separate "new feature" from "snapshot refresh of unrelated config".

Test plan

  • CI passes
  • Verify no semantic loss — every field in the diff comes from current OutputEvaluatorConfig or evaluator-specific config classes in packages/uipath/src/uipath/eval/evaluators/
  • Run python -m uipath.eval.evaluators_types.generate_types locally and confirm git status is clean

Related


Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

🤖 Generated with Claude Code

Refreshes the 11 evaluator schemas in evaluators_types/ that drifted from their
Python config classes since the last regeneration. Pure output of
`python -m uipath.eval.evaluators_types.generate_types`, no hand edits.

Notable additions surfaced by the regenerator:
- Output evaluators (Contains, ExactMatch, JsonSimilarity, LLMJudge*) gain
  line_by_line_evaluator and line_delimiter, added to OutputEvaluatorConfig
  in #1481.
- All evaluators gain a populated justificationSchema where previously empty.
- ToolCall evaluators gain target_output_key documentation.

Split out from #1663 (which now ships only the two new classification schemas)
so this snapshot refresh can be reviewed independently.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant