Skip to main content
Graph Evolve improves graphs by scoring candidate outputs against your dataset. You choose the scoring mode in:
{ "verifier_config": { "mode": "rubric" | "contrastive" | "gold_examples" } }

Rubric mode (default)

Use rubric when you can describe quality with criteria.
  • Add criteria per‑task via tasks[].rubric and/or globally via default_rubric.
  • Criteria arrays are merged: task criteria first, then defaults.
  • Best for classification, extraction, and structured outputs.

Contrastive mode

Use contrastive for open‑ended generation where “good” is about style or feel.
  • Provide gold outputs that represent the target distribution.
  • The verifier compares candidates to gold examples and scores closeness.
  • Best for writing style, creative text, image/video generation, and other subjective outputs.

Gold examples mode

Use gold_examples when gold outputs should be shown as reference context rather than used for direct comparison.
  • Gold outputs are included as few‑shot references to the verifier.
  • Helpful when you want “match these patterns” but still rely on rubric‑like scoring.