evaluate( )

Pattern

Jev Composite Scorecard

Score a pull request description with three atomic Jev score questions, then combine the answers with weights in code.

BeginnerSep 2026View the full pattern on desktop
Jev Composite Scorecard preview

Problems solved

  • Score independent factors instead of one blended rubric
  • Combine atomic scores with application-owned weights
  • Show weighted-mean scores sitting between rubric levels

Use cases

  • PR description scorecards
  • Content-quality gates
  • Teaching atomic questions combined in code

AI SDK APIs

experimental_evaluate

Tags

jevevaluationtyped-decisionsscorecomposite-scoringai-sdk

Requirements

Node.js
24+
Memory
256MB
Other
  • Vercel AI Gateway API key

Environment variables

External services

vercel-ai-gatewayupstash

Ready to use?

View the full interactive pattern with live preview and copy the source code.

View the pattern on desktop

Related patterns