Examples
Examples
Try the starting example
- Events: name, time seconds, outcome ok or fail
- A,0,fail B,1,fail C,2,ok D,6,ok E,7,fail
- Trailing outcome window (seconds)
- 10
- Minimum accepted samples before trip
- 2
- Failure trip threshold (%)
- 50
- Open reset delay (seconds)
- 5
- Final breaker state
- closed
- Open transitions
- 1
- Accepted probes or requests
- 4
- Rejected requests
- 1
- State after each event
- A: closed; B: open; C: open (rejected); D: closed; E: closed
Try another scenario
- Events: name, time seconds, outcome ok or fail
- A,0,fail B,1,fail C,2,ok D,6,ok E,7,fail
- Trailing outcome window (seconds)
- 10
- Minimum accepted samples before trip
- 2
- Failure trip threshold (%)
- 50
- Open reset delay (seconds)
- 10
- Final breaker state
- open
- Open transitions
- 1
- Accepted probes or requests
- 2
- Rejected requests
- 3
- State after each event
- A: closed; B: open; C: open (rejected); D: open (rejected); E: open (rejected)
Calculation method
Calculation method
Final breaker state
Closed evaluates accepted outcomes in (time−window,time]; open rejects before its reset delay. At expiry the next event is one immediate half-open probe.
Open transitions
Count closed-to-open trips and failed half-open probes.
Accepted probes or requests
Closed requests and one probe per expired open period are accepted.
Rejected requests
Open events before reset expiry are rejected without counting their supplied outcome.
State after each event
Successful half-open probe closes and clears prior history; failed probe reopens with a new reset timer.
Symbols and units
- a
- Events: name, time seconds, outcome ok or fail
- b
- Trailing outcome window (seconds)
- c
- Minimum accepted samples before trip
- d
- Failure trip threshold (%)
- e
- Open reset delay (seconds)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- An explicit immediate-outcome toy breaker, not a simulation of concurrent in-flight probes. The half-open probe outcome occurs at its arrival timestamp. Rejected supplied outcomes are ignored; window boundaries and reset rules are stated above.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.
Further reading
OpenStax: arithmetic and geometry ↗
Background reading; this does not imply endorsement or independent review of SumFizz.