मुख्य सामग्री पर जाएँ
Skillpedia
टेस्टिंग9.5k · #12267

writing-evals

यह क्या करती है

यह स्किल उन AI फ़ीचर के टेस्ट में मदद करती है जो हर बार अलग जवाब देते हैं। यह उन टीमों के लिए है जो जानना चाहती हैं कि हर बदलाव के बाद AI फ़ीचर अब भी ठीक काम करता है या नहीं।

कब इस्तेमाल करें

  • ✓जब आप AI फ़ीचर बना रहे हों और ऐसे टेस्ट चाहिए जो उसके जवाब जाँचें।
  • ✓जब आपको एक ही जाँच से अलग-अलग AI मॉडल या सेटिंग की तुलना करनी हो।
  • ✓जब आप AI प्रोजेक्ट के लिए Axiom मूल्यांकन फ़ाइलें सेट करना चाहें।

Skill का लिंक

https://github.com/openclaw/clawhub/blob/main/.agents/skills/writing-evals/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/openclaw/clawhub/blob/main/.agents/skills/writing-evals/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे AI सारांश फ़ीचर के लिए मूल्यांकन टेस्ट लिखिए, जो जाँचें कि जवाब सटीक और छोटे रहते हैं।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट टेस्ट केस के साथ मूल्यांकन फ़ाइलें बनाता है, ऐसी स्कोरिंग जाँच जो आउटपुट के हर गुण को अलग से परखे, और सेटिंग जो आपको अलग विकल्प आज़माने दें। कोड आपके संस्करण से मेल खाए, इसके लिए वह पहले इंस्टॉल SDK का दस्तावेज़ देखता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Writing Evals

You write evaluations that prove AI capabilities work. Evals are the test suite for non-deterministic systems: they measure whether a capability still behaves correctly after every change.

Prerequisites

Verify the SDK is installed:

ls node_modules/axiom/dist/

If not installed, install it using the project's package manager (e.g., pnpm add axiom).

Always check node_modules/axiom/dist/docs/ first for the correct API signatures, import paths, and patterns for the installed SDK version. The bundled docs are the source of truth — do not rely on the examples in this skill if they conflict.

Philosophy

  1. Evals are tests for AI. Every eval answers: "does this capability still work?"
  2. Scorers are assertions. Each scorer checks one property of the output.
  3. Flags are variables. Flag schemas let you sweep models, temperatures, strategies without code changes.
  4. Data drives coverage. Happy path, adversarial, boundary, and negative cases.
  5. Validate before running. Never guess import paths or types—use reference docs.

Axiom Terminology

Term Definition
Capability A generative AI system that uses LLMs to perform a specific task. Ranges from single-turn model interactions → workflows → single-agent → multi-agent systems.
Collection A curated set of reference records used for testing and evaluation of a capability. The data array in an eval file is a collection.
Collection Record An individual input-output pair within a collection: { input, expected, metadata? }.
Ground Truth The validated, expert-approved correct output for a given input. The expected field in a collection record.
Scorer A function that evaluates a capability's output, returning a score. Two types: reference-based (compares output to expected ground truth) and reference-free (evaluates quality without expected values, e.g., toxicity, coherence).
Eval The process of testing a capability against a collection using scorers. Three modes: offline (against curated test cases), online (against live production traffic), backtesting (against historical production traces).
Flag A configuration parameter (model, temperature, strategy) that controls capability behavior without code changes.
Experiment An evaluation run with a specific set of flag values. Compare experiments to find optimal configurations.

How to Start

When the user asks you to write evals for an AI feature, read the code first. Do not ask questions — inspect the codebase and infer everything you can.

Step 1: Understand the feature

  1. Find the AI function — search for the function the user mentioned. Read it fully.
  2. Trace the inputs — what data goes in? A string prompt, structured object, conversation history?
  3. Trace the outputs — what comes back? A string, category label, structured object, agent result with tool calls?
  4. Identify the model call — which LLM/model is used? What parameters (temperature, maxTokens)?
  5. Check for existing evals — search for *.eval.ts files. Don't duplicate what exists.
  6. Check for app-scope — look for createAppScope, flagSchema, axiom.config.ts.

Step 2: Determine eval type

Based on what you found:

Output type Eval type Scorer pattern
String category/label Classification Exact match
Free-form text Text quality Contains keywords or LLM-as-judge
Array of items Retrieval Set match
Structured object Structured output Field-by-field match
Agent result with tool calls Tool use Tool name presence
Streaming text Streaming Exact match or contains (auto-concatenated)

Step 3: Choose scorers

Every eval needs at least 2 scorers. Use this layering:

  1. Correctness scorer (required) — Does the output match expected? Pick from the eval type table above (exact match, set match, field match, etc.).
  2. Quality scorer (recommended) — Is the output well-formed? Check confidence thresholds, output length, format validity, or field completeness.
  3. Reference-free scorer (add for user-facing text) — Is the output coherent, relevant, non-toxic? Use LLM-as-judge or autoevals.

| Output

अक्सर पूछे जाने वाले सवाल

AI के लिए मूल्यांकन टेस्ट क्या है?

यह किसी AI फ़ीचर को तय मामलों पर चलाकर उसके जवाबों को स्कोर करता है, ताकि पता चले कि फ़ीचर अब भी ठीक व्यवहार करता है या नहीं।

क्या इसके लिए Axiom SDK चाहिए?

हाँ। यह स्किल Axiom AI SDK के लिए लिखी गई है, और उसे इंस्टॉल होना चाहिए, quickstart सेटअप के साथ।

इसमें कौन से मामले शामिल हैं?

स्किल सामान्य रास्ते, कठिन, सीमा और नकारात्मक मामले, सब कवर करती है।

जानकारी

लेखक का मूल विवरण

Scaffolds evaluation suites for the Axiom AI SDK. Generates eval files, scorers, flag schemas, and config from natural-language descriptions. Use when creating evals, writing scorers, setting up flag schemas, or configuring axiom.config.ts.

repo: openclaw/clawhub

लोकप्रियता

GitHub स्टार
9.5k
रैंकिंग में स्थान
#12267
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

axiom-alerting

9.5k

आपके एजेंट को Axiom API से Axiom मॉनिटर और सूचना मार्ग बनाने और प्रबंधित करने में मदद करती है, और यह जाँचती है कि अलर्ट अपेक्षित ढंग से काम करते हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

axiom-sre

9.5k

आपके एजेंट को प्रोडक्शन घटनाओं और बग की जाँच चरण-दर-चरण करने देती है, निष्कर्ष निकालने से पहले हर अनुमान को Axiom लॉग से परखते हुए।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

building-dashboards

9.5k

आपके एजेंट को Axiom डैशबोर्ड डिज़ाइन करने में मदद करती है, जिसमें सही चार्ट, क्वेरी और फ़िल्टर हों, और शुरुआत उन फ़ैसलों से होती है जिन्हें डैशबोर्ड सहारा देगा।

डेटाएनालिसिस और स्प्रेडशीट

controlling-costs

9.5k

आपके एजेंट को Axiom में अनुपयोगी डेटा ढूँढने और ऐसे डैशबोर्ड व मॉनिटर बनाने में मदद करती है जो लॉगिंग लागत को ट्रैक करें और घटाएँ।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

मिलती-जुलती skills