بنقرة واحدة
ai-evaluation
Guidance for Azure AI Evaluation SDK usage in the Python integration harness for ai-hub-tracking.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Guidance for Azure AI Evaluation SDK usage in the Python integration harness for ai-hub-tracking.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guidance for producing Terraform, Bash, and GitHub Actions changes in ai-hub-tracking. Use when implementing Terraform modules, stacks, deployment scripts, or GitHub Actions workflows.
Guidance for writing and running Python/pytest integration tests against APIM, App Gateway, and AI services in ai-hub-tracking.
Guidance for APIM policies, routing, and backend configuration in ai-hub-tracking. Use when modifying APIM inbound/outbound policies, rate limiting, backend routing, or API key authentication.
Guidance for Application Gateway rewrite rules, WAF custom rules, and request security layers in ai-hub-tracking. Use when modifying App Gateway rewrite rules, WAF custom rules, subscription key normalization, or SSL configuration.
Guidance for upgrading tracked Python and npm dependencies in ai-hub-tracking. Use when updating pyproject.toml or package.json, regenerating uv.lock or package-lock.json through package managers, responding to Dependabot or Renovate dependency alerts, or adjusting dependency automation in renovate.json.
Guidance for maintaining documentation in the docs/ site for ai-hub-tracking. Use when updating HTML pages, partials, build scripts, or Terraform reference docs.
| name | ai-evaluation |
| description | Guidance for Azure AI Evaluation SDK usage in the Python integration harness for ai-hub-tracking. |
Use this skill profile when creating, modifying, or debugging Azure AI Evaluation coverage in this repo.
tests/integration/src/ai_hub_integration/evaluation.pyrun-evaluation.py or the pytest ai_eval suiteRequired context before evaluation changes:
ground_truth fields are availableEvery evaluation change should deliver:
tests/integration/README.md Folder Structure section in the same change. Do not add gitignored or local-only artifacts to that tree.tests/integration/src/ai_hub_integration/evaluation.pytests/integration/run-evaluation.pytests/integration/eval_datasets/tests/integration/tests/test_ai_evaluation.py.github/workflows/.integration-tests-using-secure-tunnel.ymlThe shared evaluation flow uses these environment variables:
AI_EVAL_DATASET for the exact-answer dataset overrideAI_EVAL_FLUENT_DATASET for the fluent-response dataset overrideAI_EVAL_JUDGE_ENDPOINTAI_EVAL_JUDGE_API_KEYAI_EVAL_JUDGE_DEPLOYMENTAI_EVAL_JUDGE_API_VERSIONAI_EVAL_MIN_RELEVANCEAI_EVAL_MIN_COHERENCEAI_EVAL_MIN_FLUENCYAI_EVAL_MIN_SIMILARITYAI_EVAL_MIN_F1_SCOREIf the required judge-model variables are missing, the CLI and pytest suite skip cleanly.
The default suite runs two profiles:
exact: deterministic short-form answers scored for relevance, coherence, similarity, and F1 onlyfluent: full-sentence answers scored for relevance, coherence, fluency, and similaritycd tests/integration
uv sync --group dev
uv run python ./run-evaluation.py --env test
uv run pytest tests/test_ai_evaluation.py -q
query, ground_truth)tests/integration/README.mduv sync --group dev succeeds in tests/integration/uv run ruff check . is clean for the integration projectuv run pytest tests/unit -q passesuv run python ./run-evaluation.py --env <env> skips cleanly when judge config is absent