Skip to content
Discussion options

You must be logged in to vote

What has worked for me, going through your three points:

Evaluation stability in CI

  • Split the suite in two. A deterministic tier runs on every PR against recorded cassettes (VCR.py / pytest-recording, or your own prompt-hash cache, which you already have). A small live tier runs nightly or on a schedule, not on PRs, and only reports trends.
  • For the live tier, assert on shape and properties (valid JSON, required keys, value ranges, "contains X", a rubric score above a threshold) and use a pass rate over N runs (e.g. at least 8 of 10) instead of a single exact pass. Fixed seeds and temperature 0 help but are not guaranteed to be deterministic across provider updates, so do not rely on them…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@AlmodinyMk
Comment options

@jiangxingfan1-coder
Comment options

Answer selected by AlmodinyMk
Comment options

You must be logged in to vote
2 replies
@AlmodinyMk
Comment options

@jiangxingfan1-coder
Comment options

Comment options

You must be logged in to vote
1 reply
@AlmodinyMk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development source:ui Discussions created via Community GitHub templates
4 participants