mlflow-evaluation
БесплатноБез исполняемых скриптовНе проверенDesign MLflow scorers and run GenAI evaluation on an agent, dataset, precomputed outputs, or traces. Use for quality criteria, judges, MemAlign, datasets…
от mlflow★ 92 звезды на GitHubОб этом скилле
Agent evaluation
Establish purpose, important outcomes, known failures, data/trace selection, and agreed scorers from the request, project, and configuration. Ask only about unresolved decisions.
Reuse explicit criteria and implementations. For any scorer-design request, read scorer design; also read judge alignment when alignment is requested.
For scorer-only requests, build and verify the scorer, then stop. Do not create a dataset or run an evaluation unless requested.
Use
mlflow.genai.datasets, built-ins /@scorer/make_judge, andmlflow.genai.evaluate(); no parallel evaluation framework.Accept existing records/DataFrames; persist new reusable datasets through the GenAI dataset API.
Step 1: Reuse setup and select execution mode
- Preserve
MLFLOW_TRACKING_URI,MLFLOW_EXPERIMENT_ID, provider credentials, and configured judge model. If both MLflow variables are set, skip setup: no replacement backend, new experiment, or.envoverride. For missing configuration, usemlflow-onboardingwhen available. - Use the project environment (
uv runfor uv-managed projects). Check MLflow >=3.8 and installed signatures for the APIs needed. Keep stderr separate when capturing structured stdout. - Rerun mode: inspect the real agent entry point and its configuration. Use
mlflow-trace-instrumentationwhen available for instrumentation; reuse working tracing. Run a representative invocation, flush and fetch its persisted trace in the intended experiment. If tracing is missing/broken, repair and verify it before evaluation; do not add duplicate framework spans. - Precomputed mode: evaluate the supplied
inputsandoutputs, or existing traces, withoutpredict_fn. Do not invoke the agent, change stored records, or create a replacement dataset. Check scorer data requirements against existing evidence; a final-output scorer does not require new instrumentation.
Step 2: Reuse and register scorers
List registered scorers:
mlflow scorers list -x "$MLFLOW_EXPERIMENT_ID". Reuse the suite, models, and definitions; add only missing agreed scorers.Read scorers.md for model selection, registration, and retrieval. Register new scorers before evaluation; verify them in the intended experiment.
Check installed
required_columnsand trace requirements:Correctnessneeds ground truth; retrieval scorers needRETRIEVER, not justTOOL, spans.Aggregate booleans, numbers, or
"yes"/"no". Stored"pass"/"fail"scores may disappear from aggregates.For custom scorers or missing scores, read scorers-constraints.md.
Step 3: Discover and bind data
- Use the installed dataset discovery API before creating data. Inspect candidates; reuse a suitable or explicitly selected dataset. Discovery failure does not mean none exists.
- For UC, use the intended fully qualified table and backend-supported discovery. Ask only if selection is ambiguous.
Read dataset-preparation.md when creating, adapting, or synthesizing records. Inspect actual record keys and the predictor signature:
# MLflow calls predict_fn(**record["inputs"]). Nested values stay nested.
record = {"inputs": {"query": "Where is order 42?", "context": {"order_id": 42}}}
def predict(query, context):
return agent(query=query, context=context) # bind project config here as needed
- Accept
inputsas a wrapper argument only if the dataset has that input key. - Put ground truth under
expectations, e.g.expectations.expected_response. Preserve multi-key inputs and source IDs. - Size data to the task/coverage; no mandatory 100-question expansion or synthesis dependency.
For requested corpus synthesis, use the RAGAS recipe.
Step 4: Dry run: required before a full evaluation
Evaluate three representative records, or the user's smaller explicit budget, with the full run's mode, wrapper, and scorers. Use one pilot, not separate sanity/dry runs. Inspect every row:
Did the predictor finish, required tools/retrieval execute, and usable output persist? Tools need not run for greetings or other cases that do not require them.
Did every applicable scorer return a valid assessment without an error? Check both row-level values/rationales and aggregate inclusion; a successful trace status or run alone is insufficient.
Zero,
False, and"no"are valid quality failures. Investigate suspicious uniform scores against actual responses and known-good/bad cases; never require nonzero scores or change the rubric to manufacture passes.Stop before the full run on auth/tool failures, failed prediction, empty rerun responses, or missing/error-only scores. Diagnose, repair within scope, and repeat the pilot.
Preserve broken precomputed o
Установить mlflow-evaluation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mlflow-evaluation?
Design MLflow scorers and run GenAI evaluation on an agent, dataset, precomputed outputs, or traces. Use for quality criteria, judges, MemAlign, datasets, evaluation runs, and results analysis.
Как установить скилл mlflow-evaluation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mlflow-evaluation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic