All demonstrationsA/B TEST STATISTICS / RUST CPU

Is this A/B test conclusive?

Enter conversions and visitors for two groups. Rust returns the difference, a two-sided p-value and a confidence interval, and the sample size a planned test needs.

evaluate_ab_testTry the real call
Concept artwork · not calculation evidence
01 / UNDERSTAND THE METHOD

Two groups. One fixed look.

INPUT PREVIEW · RUN TO CALCULATE
Choose a case. Then bring it to life.

Preset buttons change the inputs. Calculation starts only when you ask.

Input preview. No numerical result yet.
RATES, DIFFERENCE AND SAMPLE SIZE IN 3DINPUT PREVIEW
Preparing the 3D view…

A spatial reading of the same inputs and returned figures.

Input preview · column heights are the supplied counts, not a result
Control rateVariant rateInterval for the difference (amber when it includes 0)Planned visitors
Drag to inspect, zoom to read the labels · exact values are in the figures below · no MCP call
SUPPLIED COUNTS2 groups
Control: 48 of 80 visitors convertedVariant: 56 of 70 visitors converted

Bar lengths are the supplied conversions divided by the supplied visitors. The difference, test and interval come only from the tool.

THE PLANNING REQUESTbaseline 0.05 · relative effect 0.1alpha 0.05 · power 0.8 · equal group sizes
02 / ASK THE ACTUAL TOOL

Make it your experiment.

Complete tool arguments

Arrays, coordinates and nested contracts remain editable here. Units and limits are checked by the real tool.

Runs only when you press the button. Input edits discard the previous displayed result. Public compute limits apply.

KNOW WHAT THE RESULT MEANS

Useful evidence needs boundaries.

  • Fixed-horizon analysis: no correction for peeking, sequential monitoring, early stopping or multiple variants and metrics. Repeated looks raise the false-positive rate above alpha.
  • The z-test relies on the normal approximation and has no continuity correction; there is no exact Fisher or Barnard test. Small expected counts are flagged, not corrected.
  • The p-value and the interval come from different methods and can disagree near the significance boundary. Neither is a probability that the variant is better.
  • Counts are taken as given: randomisation, sample-ratio mismatch, tracking quality and practical relevance are not checked.
  • The preview bars are drawn from the supplied counts. Every statistic shown after a run is read from the returned result. The tool is directly callable by MCP and has no planner adapter.