شعار Configuration Tester

Configuration Tester

مؤسسة
AI-ModCon
configuration-tester

Runs testing of the generated configuration for the benchmark and identifies any issues that need correction. Use this skill after the completion of the configuration-implementor skill.

نظرة عامة

الناشرAI-ModCon
المستودعgenesis-skills
اسم المهارةconfiguration-tester
النجوم
37
التفريعات
16
الملفات المرفقة
3
الترخيصBSD-2-Clause
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها AI-ModCon على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Configuration Tester في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/lm-eval-harness-skills/configuration-tester
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/baseeval-skills/lm-eval-harness-skills/configuration-tester .claude/skills/configuration-tester
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Configuration Tester في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Configuration Tester تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Configuration Tester بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Steps

  1. First test each of the individual functions within tasks/{benchmark_name}/utils.py, if it exists, to make sure they function as expected, focusing on potential edge cases. Save all custom testing scripts in tasks/{benchmark_name}/scratch/.

  2. Update the code to fix any issues that are identified.

  3. Test the functionality of each full task using scripts/test_config.sh in the configuration-tester skill directory. This script may take several minutes. It accepts overrides for model, model args, and sample limit, but use the default parameters unless there is a strong justification for changing them. Especially make sure that the model used is large enough to achieve better than zero accuracy on the task.

    Sandbox Mode:

    • Issue: lm-eval-harness requires access to /dev/shm (shared memory) for PyTorch/HuggingFace operations, which may be restricted in some sandbox modes
    • Symptoms: Errors mentioning /dev/shm or OpenMP shared-memory errors
    • Solution: Request user approval for running the test script outside the sandbox
  4. Examine the outputs under results/<task_name>/. This will contain a results_*.json file with summary metrics and a samples_*.jsonl file with the full formatted prompts and responses for each instance.

  5. Use scripts/display_sample_results.py --no-pager to extract the LLM inputs, LLM outputs, and resulting metrics from those files in an easily readable format when running non-interactively.

  6. Check each sample in detail using the Validation Checklist below to verify correctness. Track checklist progress in plan.md.

  7. If any issues are discovered, consult references/troubleshooting.md for common failure modes and solutions. Iterate until the task behavior and metrics look correct, but stop after 3 unsuccessful iterations and ask the user for guidance.

  8. Document testing results by appending a Testing Decision Log section to plan.md:

    markdown
    ## Testing Decision Log
    
    **Date**: <date>
    
    **Test Configuration**:
    - Model: <model used>
    - Samples tested: <number>
    - Test results: <summary of metrics>
    
    **Issues Found and Fixed**:
    - Issue 1: <description> - **Root cause**: <why it happened> - **Fix**: <what was changed>
    
    **Validation Results**:
    - All prompts formatted correctly: ✓/✗
    - Model outputs parsed successfully: ✓/✗
    - Metrics in expected range: ✓/✗
    - Spot-check accuracy: <description of manual verification>
    
    **Remaining Concerns**:
    - Concern 1: <if any> - **Severity**: <low/medium/high>
  9. Finalize with a concise testing summary. Ask the user for concurrence before completion.

Validation Checklist

Use this checklist to systematically verify test results. Copy this checklist into plan.md and track progress there.

Prompt Formatting

  • Template variables replaced: No literal {{...}} in prompts
  • Instructions present: Task instructions are included if required
  • Format is correct: Question/context/choices formatted as expected
  • Few-shot examples: If enabled, few-shot examples appear correctly formatted
  • No truncation: Prompts aren't unexpectedly cut off
  • Special characters: Quotes, newlines, etc. rendered correctly

Model Outputs

  • Non-empty: Model generated responses (not empty strings)
  • Appropriate length: Outputs aren't truncated too early
  • Expected format: Outputs match expected format (e.g., A/B/C/D for multiple choice)
  • Stopped correctly: Generation stopped at appropriate until tokens
  • Diverse: Outputs vary across samples (not all identical)

Output Parsing

  • Filter works: Filter correctly extracts answers from outputs
  • Edge cases handled: Handles malformed outputs gracefully
  • No errors: No parsing errors in logs
  • Consistent results: Same output consistently parsed the same way

Metrics

  • In expected range: Metrics are in valid range (e.g., 0-1 for accuracy)
  • Not all None/NaN: Metrics computed successfully
  • Reasonable values: Results seem plausible for the task
  • Metric breakdown: Per-sample metrics look sensible

Correctness Spot-Check

Manually verify at least 3 samples:

  • Sample 1: Prompt → Output → Metric is correct
  • Sample 2: Prompt → Output → Metric is correct
  • Sample 3: Prompt → Output → Metric is correct

Error Cases

  • No exceptions: No Python exceptions in logs
  • All samples processed: Sample count matches expected
  • No warnings: Or warnings are understood and acceptable

Scripts

test_config.sh

./test_config.sh <benchmark_name> <path_to_task_directory> [model] [model_args] [limit] [apply_chat_template]

Defaults may also be supplied via LM_EVAL_MODEL, LM_EVAL_MODEL_ARGS, LM_EVAL_LIMIT, and LM_EVAL_APPLY_CHAT_TEMPLATE.

model_args is required and must be specified either through the 4th argument or set by LM_EVAL_MODEL_ARGS.

Set apply_chat_template to true (or LM_EVAL_APPLY_CHAT_TEMPLATE=true) to pass --apply_chat_template to lm_eval. Use this when the model requires chat formatting (e.g., instruction-tuned models with a chat template). Defaults to false.

display_sample_results.py

python display_sample_results.py <jsonl_sample_file> [--no-pager]

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Configuration Tester؟

Runs testing of the generated configuration for the benchmark and identifies any issues that need correction. Use this skill after the completion of the configuration-implementor skill.

لماذا تستخدم Configuration Tester على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Configuration Tester عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Configuration Tester في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/lm-eval-harness-skills/configuration-tester. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Configuration Tester؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Configuration Tester؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Configuration Tester معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Configuration Tester مجانية؟

نعم. نشرها AI-ModCon على GitHub بموجب ترخيص BSD-2-Clause. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇