phoenix-experiments
БесплатноБез исполняемых скриптовНе проверенTest changes to an LLM app or prompt with Phoenix datasets and experiments, in Python or TypeScript. Build datasets from traces, files, or synthetic data, run…
от Arize-ai★ 12 510 звёзд на GitHubОб этом скилле
Phoenix experiments
An experiment runs a task (your app, a prompt, or one step of an agent) on every example in a dataset and scores each output with evaluators. Comparing two experiments on the same dataset shows whether a change helped.
Related skills: phoenix-evals writes the evaluators; phoenix-judge-alignment
checks an LLM judge against human labels; phoenix-cli lists and reads datasets and
experiments from the terminal (px dataset list, px experiment get).
Workflow
- Pick or build the dataset. Reuse the dataset the user names. Build a new one
from traces, a file, or synthetic examples only when none fits. Each example has
input, an optional referenceoutput, andmetadata. - Run the baseline when none exists: the current app or prompt, with the evaluators you'll compare on.
- Run the change on the same dataset version, with the same evaluators, under a name that says what changed.
- Repeat when variation matters. When the task or a judge calls an LLM, set
repetitionsto 3 or more so you can see whether a result is stable. Raise or lower the count from there based on cost and the decision's risk. - Compare per evaluator and per example. Read pass rates side by side, then the examples that flipped. See compare-experiments.
- Decide and say why. Name the metric, the two rates, the number of runs behind each, and whether the difference is larger than the run-to-run spread.
| Task | Python | TypeScript |
|---|---|---|
| Create and update datasets | datasets-python | datasets-typescript |
| Run, add evaluations to, and resume experiments | experiments-python | experiments-typescript |
| Compare experiments and decide | compare-experiments | compare-experiments |
| Generate synthetic examples | synthetic-data-python | synthetic-data-typescript |
| Gate CI on evals | ci-pytest | ci-vitest-jest |
Rules
- Compare like with like. Prefer the same dataset version, evaluator definitions, and number of repetitions. If they differ, restrict the comparison to shared records where possible and report the setup difference.
- Apply the user's decision rule when they give one. "Ship if the format check doesn't drop" is decided on the observed format-check numbers. Report the uncertainty next to the call, but don't swap their rule for a significance test.
- Must-pass means what the user names. The checks or slices the user says must not regress decide the call. Report other regressions, but don't let them decide unless the user says so.
- Count every run. With repetitions, a pass rate is passes over all runs. For a must-pass check, also report how many examples passed every repetition: an example that fails one run in three is a real, intermittent failure.
- Separate tuning from the final check. A holdout split is often the clearest
option. For small datasets, cross-validation or repeated resampling can use the
available examples more efficiently. Use
dry_runfor drafts so they don't pile up as experiments, and report how you kept the final estimate independent of prompt changes. - Without a stated rule, small differences are noise until shown otherwise. On 20 examples, one example is 5 points. Compare per example (see compare-experiments) before calling a change better or worse.
- Report every evaluator the baseline used, not only the one that improved. When the baseline's evaluator code isn't available, rebuild it under the same name, check it against the baseline's recorded results, and say how well it matches. Match which records it scores, too: if the baseline scored a record and the rebuilt evaluator returns no score for it, the two experiments aren't measured on the same records. Compare the scored counts, not only agreement where both scored.
- Don't change other people's datasets or experiments. Creating a dataset with an
existing name replaces its examples, and
evaluate_experimentreplaces evaluations with the same name. Make a new dataset or experiment unless the user asks. - Consider separate regression and capability suites. Regression suites hold behavior you expect to preserve. Capability suites hold harder cases you're still improving. Choose thresholds from the cost of each failure, and move stable cases into regression when they become behavior you rely on.
Установить phoenix-experiments в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл phoenix-experiments?
Test changes to an LLM app or prompt with Phoenix datasets and experiments, in Python or TypeScript. Build datasets from traces, files, or synthetic data, run a task and evaluators as an experiment, rerun with repetitions, compare experiments to decide whether a change is better, improve an app's prompt and measure the result, and gate CI with pytest, Vitest, or Jest. Use for "did my prompt change help", "compare these two experiments", "should we ship this", "run an experiment", "create a dataset from traces", "A/B test prompts", "improve my system prompt", "regression test my agent", or "add evals to CI". For writing the evaluators themselves use phoenix-evals.
Как установить скилл phoenix-experiments?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл phoenix-experiments запускает скрипты?
Нет, скилл состоит только из инструкций (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