Skip to content

feat(benchmark): add generic evaluation and comparison harness - #3640

Draft
wuyuanfr wants to merge 17 commits into
ModelEngine-Group:developfrom
liudfgoo:feature/benchmark-observability-new
Draft

feat(benchmark): add generic evaluation and comparison harness#3640
wuyuanfr wants to merge 17 commits into
ModelEngine-Group:developfrom
liudfgoo:feature/benchmark-observability-new

Conversation

@wuyuanfr

Copy link
Copy Markdown
Collaborator

Summary

  • add a generic Langfuse-backed benchmark runner with evaluator, manifest, integrity, web-evidence, and replay support
  • add paired P/C and cross-worktree Legacy/P comparison runners with score synchronization and report generation
  • relocate Langfuse infrastructure and ctx_debugger under sdk/benchmark
  • add standard benchmark configs, bilingual documentation, and benchmark regression tests
  • remove the unused production parity snapshot public entrypoint and exporter

Scope

The final diff against develop is limited to benchmark code/tests and the expected sdk/ctx_debugger relocation cleanup. It does not change sdk/nexent/core relative to the current develop branch.

Validation

  • test/sdk/benchmark: 122 passed
  • generic benchmark and test Ruff: passed
  • ctx_debugger and LongMemEval Ruff: passed
  • git diff --check: passed

Real Langfuse smoke runs

  • single: gaia-web-search-single-postmerge-ecd8477-v2 — 1/1, score 1.0, no trace error
  • Legacy/P: gaia-web-search-lp-postmerge-ecd8477-v1 — PP=1, both scores 1.0, no trace error
  • P/C: gaia-web-search-pc-postmerge-ecd8477-v1 — PP=1, both scores 1.0, manifest parity passed, C compression triggered 1/1

Evidence to add

  • Langfuse single-run screenshot
  • Legacy/P comparison screenshot
  • P/C comparison and compression screenshot

Comment thread sdk/benchmark/generic/tools/export_agent_config.py Fixed
Comment thread sdk/benchmark/generic/integrations/langfuse/webhook_server.py Fixed
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.

2 participants