# Prompt A/B experiment fixture

This package supports a prompt experiment before it is connected to live
traffic:

- `experiment.ts` assigns each subject to a stable variant and summarizes
  outcomes;
- `experiment_test.ts` contains seven deterministic tests;
- `run-checklist.md` separates offline, canary, and decision gates.

The code does not call Langfuse or an LLM. It does not calculate significance or
name a winner. Choose an analysis method for the actual metric and experiment
design.

Run the code checks:

```bash
deno fmt --check experiment.ts experiment_test.ts
deno check experiment.ts
deno lint experiment.ts experiment_test.ts
deno test experiment_test.ts
```

Code: MIT. Checklist: CC BY 4.0.
