Skip to content

Built-in eval scorers: faithfulness, answer relevancy, tool-call correctness #5

Open

Description

@abhishekgahlot2

saveCase() and threadsai eval already replay real runs as tests. Add built-in scorers so a case can be graded without writing a judge from scratch: faithfulness to the provided context, answer relevancy, and tool-call correctness.

Where to start

  • typescript/packages/core/src/evals and python/src/threadsai/evals.

Done when

  • Three scorers with the same names and score ranges in both languages; the two judge-based ones use the case's configured judge model, the tool-call one is deterministic.
  • Usable from a case's expect and from runEvals() / run_evals().
  • Tests on recorded fixtures (no live model calls in CI) and a docs page with an example.

General asks

  • Show it working: test output plus a short example script, or a recording of a real run, in the pull request.
  • TypeScript and Python follow one spec (spec/). Change both, or open the TypeScript half first and say so in the pull request.
  • Keep the pull request to one change and run each language's checks (see typescript/README.md and python/README.md).
  • Comment here to claim it; a maintainer confirms who has it.

Using AI tools, and what gets no reply

  • AI help is fine. Blind AI output is not. You must understand every line you submit, run it yourself, and show it working in the app with your own screenshots or recording.
  • Pull requests that look generated and untested get closed without a reply and labeled spam, which also means they don't count for Hacktoberfest. Signs we look for: no proof from a real run, code that ignores this repo's patterns or reinvents helpers that already exist, unrelated files changed, a description that only restates the issue, and failing checks nobody looked at.
  • One pull request per issue, by the person who claimed it. Opening pull requests on issues someone else has taken, or several near-identical pull requests for the same bounty, counts as farming and gets the same treatment.
  • Bounties are paid only for the verified outcome the issue describes (for example, a workshop that actually happened, or an app that works on both systems), never for a write-up, a plan, or an unfinished attempt.
  • When we ask a question in review, answer it in your own words. If you can't explain your change, we can't merge it.

Activity

  1. added
    enhancement
    help wanted
    hacktoberfest
    on Oct 7, 2026
  2. added a commit that references this issue on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhacktoberfesthelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions