WEBVTT

00:00:00.000 --> 00:00:04.872
The saved example assumes three independent Bernoulli events with success probabilities one

00:00:04.872 --> 00:00:09.743
half, one third and three quarters. Start with probability one at zero

00:00:09.743 --> 00:00:14.615
successes. Each new event splits existing probability mass: failure keeps the count,

00:00:14.615 --> 00:00:19.486
while success moves it up by one. After the first two events,

00:00:19.486 --> 00:00:24.358
zero successes has probability one third, one success one half, and two

00:00:24.358 --> 00:00:29.230
successes one sixth. The displayed bars use six hundred pixels per probability

00:00:29.230 --> 00:00:34.101
one. Unequal probabilities give a Poisson-binomial distribution. Independence is a supplied assumption,

00:00:34.101 --> 00:00:38.973
not inferred from observations, and shared or correlated failures invalidate this model.

00:00:38.973 --> 00:00:43.844
This explanation derives saved inputs without sampling, external data or HTTP and

00:00:43.844 --> 00:00:48.716
MCP execution.

00:00:48.716 --> 00:00:53.561
For the third event, failure probability is one quarter and success probability

00:00:53.561 --> 00:00:58.406
three quarters. Exactly two successes combines two disjoint routes: two previous successes

00:00:58.406 --> 00:01:03.251
followed by failure, and one previous success followed by success. One sixth

00:01:03.251 --> 00:01:08.096
times one quarter plus one half times three quarters gives five twelfths.

00:01:08.096 --> 00:01:12.942
Exactly three is one sixth times three quarters, or one eighth. The

00:01:12.942 --> 00:01:17.787
full distribution for counts zero through three is one twelfth, three eighths,

00:01:17.787 --> 00:01:22.632
five twelfths and one eighth. Its masses sum to one. The bars

00:01:22.632 --> 00:01:27.477
use the same six hundred-pixel probability scale, illustrating exact masses rather than

00:01:27.477 --> 00:01:32.322
Monte Carlo estimates or measured agent results.

00:01:32.322 --> 00:01:37.099
The saved threshold is two. Exactly two is five twelfths, but at

00:01:37.099 --> 00:01:41.876
least two is inclusive and adds three successes, yielding thirteen twenty-fourths. At

00:01:41.876 --> 00:01:46.652
most two is also inclusive and equals seven eighths. Expectation is the

00:01:46.652 --> 00:01:51.429
sum of event probabilities, nineteen twelfths; variance is the sum of p

00:01:51.429 --> 00:01:56.206
times one minus p, ninety-five over one hundred forty-four. The bars use

00:01:56.206 --> 00:02:00.983
six hundred pixels per probability one. Integer thresholds outside the possible range

00:02:00.983 --> 00:02:05.760
have zero exact mass and the appropriate zero or one tails. An

00:02:05.760 --> 00:02:10.536
empty event list has probability one at zero successes. The contract accepts

00:02:10.536 --> 00:02:15.313
integer zero or one and quoted finite decimal or fraction strings, rejecting

00:02:15.313 --> 00:02:20.090
JSON floats and booleans. Offline shared app code is absent, so native

00:02:20.090 --> 00:02:24.867
input preservation is checked separately and service results remain unverified.
