Function
The main behavior the phase promises.
Arguments about whether a software phase is finished usually start after delivery. This standard proposes a structure for writing acceptance criteria before work begins, in a form both sides can verify the same way. Every Kertiva quote uses it, and you are free to use it in your own projects.
The main behavior the phase promises.
Expected behavior when a dependency or the network fails.
Proof that the wrong role cannot perform the same action.
Proof that running the same operation twice does not corrupt data.
That the failure is logged, and who sees it.
That the change can be reverted, and how long it takes.
| ID | Given | When | Then | Measure and threshold | Evidence |
|---|---|---|---|---|---|
| AC-01 | A synthetic set of 200 order lines in the ERP | Orders are sent to the WMS | Each line exists in the WMS exactly once | Missing or duplicate lines = 0 | Reconciliation query output with line counts from both systems |
| AC-02 | The same transfer message is sent twice | The WMS processes it | The second message creates no new record and is logged | New records = 0, log entries = 1 | Integration test name and log entry |
| AC-03 | The WMS is unreachable for 10 minutes | The ERP creates new orders | Orders wait in a queue and are processed in order when the WMS returns | Lost orders = 0; queue drains within 15 min | Outage drill record |
| AC-04 | The first day after go-live | The end-of-day difference report runs | Any difference is listed with line, cause, and owner | Report ready before 06:00 | Scheduled job log and report file |
| ID | Given | When | Then | Measure and threshold | Evidence |
|---|---|---|---|---|---|
| AC-01 | An evaluation set of 500 synthetic orders | The model proposes a route | The proposal is compared with a rule-based baseline | Correct routing ≥ 92% | Evaluation script output and dataset version |
| AC-02 | The model service does not respond within 5 seconds | An order needs routing | The rule-based fallback runs | Response ≤ 6 s; lost orders = 0 | Timeout test |
| AC-03 | The daily token budget is exceeded | A new request arrives | The feature switches to the fallback and an admin is notified | Budget overrun ≤ 5% | Cost log and notification log |
| AC-04 | The prompt contains a personal data field | Before the request is sent to the model | The field is masked | Unmasked personal data = 0 | Masking test and a sample request log |
Version 0.1, November 2026. We will discuss proposals in the open and publish changes with a version number. This standard is shared under Creative Commons Attribution 4.0 (CC BY 4.0): you may copy, adapt, and use it commercially as long as you credit the source. CC BY 4.0 ↗