Predictika · E-bike orders
An AI sales agent prepares an order for Gazelle e-bikes: a model, frame type and size, battery, racks, a child seat, a care plan and a quantity for one rider or a fleet. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of how the bikes and options fit together and returns a verdict, every reason and the totals it computed.
This validator models Gazelle e-bike orders, not just the scenarios shown below.
Any Gazelle e-bike order that touches these rules is in scope — not only the scenarios pictured here. Not covered: other Gazelle models, accessories beyond those listed, dealer terms and shipping. Which frame types and batteries each model has, the size ranges, the load limits and all prices are modeled from comparable e-bikes, not published by Gazelle.
6 scenarios in 4 groups · each group runs from the agent’s first attempt to the outcome · click one to switch
Illustrative agent statement. The validator receives the structured request below.
Proposing agent: AI sales agent (scripted)
Before sending, the agent must call Recorded run
What this means
Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.
| What the validator caught | Typical rules-based CPQ | Predictika |
|---|---|---|
| A frame size that must fit the rider | Only with care Each size covers a height range, so a lookup of the range per size and a rule comparing it with the rider are needed. | The rider height and the size are in one request and are compared directly on every call. |
| A total load across rider, cargo and child | Only with workarounds The load is the sum of several fields, so a separate calculation is needed before it can be compared with each model's limit. | The weights are fields of the request and are summed and compared with the model's limit in the same pass. |
| Options that depend on other options | Only with care A child seat needs the rear rack and a second battery needs the largest battery, so each is its own rule that reads another line. | The model, battery, racks and seat are checked together on every call. |
| A fleet order with a discount | Only with care The fleet size and the discount each trigger their own approval, so rules have to be written for each and kept in step as limits change. | The quantity and the discount are fields of the request and each is checked on every call. |
| Every problem returned in one answer | Only with workarounds Rules tend to fire as the order is saved or a step is completed, so a rep often fixes one error and meets the next. | All findings come back together, whatever order the choices arrived in. |
Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the quote; approval findings need a person to sign off; everything else is computed.
| 1 | The order has 0 bikes; at least 1 is needed. |
| 2 | The chosen battery is not offered on this model. |
| 3 | This model is not offered with a mid-step frame. |
| 4 | The Arroyo C5 Elite is not offered with a low-step frame. |
| 5 | A rider of 174 cm does not fit this frame size; it fits riders from 175 to 193 cm. |
| 6 | The total load of 161 kg (rider, rack cargo and child) is above the 160 kg this model allows. |
| 7 | Rack cargo of 28 kg is above the 27 kg rack limit. |
| 8 | Rack cargo of 10 kg is listed but no rear rack is ordered. |
| 9 | The child seat mounts on the rear rack; order the rear rack too. |
| 10 | A child seat needs the safety notice acknowledged by the customer. |
| 11 | A child of 23 kg is above the 22 kg child seat limit. |
| 12 | A child of 15 kg is listed but no child seat is ordered. |
| 13 | The second battery is offered only with the 625 Wh battery. |
| 14 | A discount of 11 percent is above the 10 percent a sales agent may give. |
| 15 | A discount of 26 percent is outside the 0 to 25 percent range. |
| 16 | An order of 10 bikes is a fleet order and needs dealer program review. |
| 17 | The quote states a total of 4,899 dollars; the modeled price list gives 4,999 dollars. |
The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.
The agent's request. Please quote 12 Medeo T9 bikes with a mid-step frame in size 49 and the 545 Wh battery, for a rider of 160 cm and 65 kg, with a front rack, and a 15 percent discount, for a total of 30,480 dollars. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 12 Medeo T9 bikes with a low-step frame in size 49 and the 545 Wh battery, for a rider of 160 cm and 65 kg, with a front rack, and a 10 percent discount, for a total of 32,280 dollars. It is ready to send.
Verdict: Needs approval.
The agent's request. Please quote 1 Arroyo C5 Elite bike with a high-step frame in size 53 and the 500 Wh battery, for a rider of 190 cm and 75 kg, with the 4-year care plan, for a total of 4,348 dollars. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 1 Arroyo C5 Elite bike with a high-step frame in size 57 and the 500 Wh battery, for a rider of 190 cm and 75 kg, with the 4-year care plan, for a total of 4,348 dollars. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 1 Ultimate C380 bike with a high-step frame in size 57 and the 625 Wh battery, for a rider of 185 cm and 125 kg, with a rear rack carrying 25 kg, a child seat for a child of 18 kg, for a total of 5,299 dollars. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 1 Ultimate C8 bike with a low-step frame in size 53 and the 400 Wh battery, for a rider of 170 cm and 75 kg, with the 4-year care plan, for a total of 4,348 dollars. It is ready to send.
Verdict: Blocked.
The text of the narrated walkthrough, step by step.