Predictika · Prescription contact lens orders: toric daily disposables
An AI sales agent prepares an order for daily disposable toric contact lenses for a patient's two eyes: sphere, cylinder and axis for each eye, the pack size, the number of boxes and the total lens count. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the published parameter table and returns a verdict, every reason and the figures it computed.
This validator models orders for one lens line, DAILIES TOTAL1 for Astigmatism, using the parameter table Alcon publishes for eye care professionals, not just the scenarios shown below.
Any order for this lens line that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (none are published, so this validator produces no price build-up or line-item quote), other contact lens lines, Alcon's surgical and other products, whether a given power is in stock in a given pack, regional availability, and clinical suitability or prescription validity.
7 scenarios in 3 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 |
|---|---|---|
| Axes that depend on both sphere range and cylinder | Only with workarounds The axes offered change with the sphere range and with the cylinder, so the table becomes a grid of combinations that has to be loaded and kept in step by hand. | Sphere, cylinder and axis are in one request; the axis is checked against the offered set for that exact combination on every call. |
| Sphere steps that change partway | Only with care Steps of 0.25 D up to −6.00 D and 0.50 D beyond need separate range and step rules, and a value between steps is easy to let through. | The offered sphere powers are one rule, so a value between steps is caught wherever it falls. |
| The same checks for two eyes in one order | Only with care Each eye needs its own copy of the power, axis and pack rules, and a one-eye order needs them switched off for the other eye. | Both eyes are checked in one call, and an eye with no boxes is simply left out. |
| A stated lens count that disagrees with the boxes | Only with workarounds The count the agent states is a free-entry figure, so it takes an extra rule that multiplies boxes by pack size for each eye and compares the total. | The stated count is part of the request and is compared with the computed total 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 | A base curve of 8.8 mm is requested; DAILIES TOTAL1 for Astigmatism is offered in a single base curve of 8.6 mm. |
| 2 | A diameter of 14.2 mm is requested; DAILIES TOTAL1 for Astigmatism is offered in a single diameter of 14.5 mm. |
| 3 | No boxes are ordered for either eye. |
| 4 | The right eye sphere power of -6.25 D is not offered; available are +0.50 to +4.00 D and plano to -6.00 D in 0.25 D steps, and -6.50 to -8.00 D in 0.50 D steps. |
| 5 | The right eye sphere power of -8.50 D is not offered; available are +0.50 to +4.00 D and plano to -6.00 D in 0.25 D steps, and -6.50 to -8.00 D in 0.50 D steps. |
| 6 | The right eye sphere power of 0.25 D is not offered; available are +0.50 to +4.00 D and plano to -6.00 D in 0.25 D steps, and -6.50 to -8.00 D in 0.50 D steps. |
| 7 | The left eye sphere power of 4.25 D is not offered; available are +0.50 to +4.00 D and plano to -6.00 D in 0.25 D steps, and -6.50 to -8.00 D in 0.50 D steps. |
| 8 | The left eye sphere power of -3.10 D is not offered; available are +0.50 to +4.00 D and plano to -6.00 D in 0.25 D steps, and -6.50 to -8.00 D in 0.50 D steps. |
| 9 | The right eye cylinder power of -1.00 D is not offered; the cylinders are -0.75, -1.25, -1.75 and -2.25 D. |
| 10 | The left eye cylinder power of -2.50 D is not offered; the cylinders are -0.75, -1.25, -1.75 and -2.25 D. |
| 11 | The right eye axis of 90 degrees is not offered for a sphere of 1.00 D with a cylinder of -2.25 D; axes are 10, 20, 70, 80, 90, 100, 110, 160, 170 and 180 degrees, except that plano to -6.00 D with -0.75, -1.25 or -1.75 D cylinders is offered in every 10 degrees, and -2.25 D cylinders with other spheres only at 10, 20, 160, 170 and 180 degrees. |
| 12 | The left eye axis of 90 degrees is not offered for a sphere of -7.00 D with a cylinder of -2.25 D; axes are 10, 20, 70, 80, 90, 100, 110, 160, 170 and 180 degrees, except that plano to -6.00 D with -0.75, -1.25 or -1.75 D cylinders is offered in every 10 degrees, and -2.25 D cylinders with other spheres only at 10, 20, 160, 170 and 180 degrees. |
| 13 | The right eye axis of 45 degrees is not offered for a sphere of -2.50 D with a cylinder of -1.25 D; axes are 10, 20, 70, 80, 90, 100, 110, 160, 170 and 180 degrees, except that plano to -6.00 D with -0.75, -1.25 or -1.75 D cylinders is offered in every 10 degrees, and -2.25 D cylinders with other spheres only at 10, 20, 160, 170 and 180 degrees. |
| 14 | The right eye axis of 185 degrees is not offered for a sphere of -2.50 D with a cylinder of -1.25 D; axes are 10, 20, 70, 80, 90, 100, 110, 160, 170 and 180 degrees, except that plano to -6.00 D with -0.75, -1.25 or -1.75 D cylinders is offered in every 10 degrees, and -2.25 D cylinders with other spheres only at 10, 20, 160, 170 and 180 degrees. |
| 15 | The right eye axis of 45 degrees is not offered for a sphere of 2.00 D with a cylinder of -1.25 D; axes are 10, 20, 70, 80, 90, 100, 110, 160, 170 and 180 degrees, except that plano to -6.00 D with -0.75, -1.25 or -1.75 D cylinders is offered in every 10 degrees, and -2.25 D cylinders with other spheres only at 10, 20, 160, 170 and 180 degrees. |
| 16 | The left eye axis of 45 degrees is not offered for a sphere of -7.00 D with a cylinder of -0.75 D; axes are 10, 20, 70, 80, 90, 100, 110, 160, 170 and 180 degrees, except that plano to -6.00 D with -0.75, -1.25 or -1.75 D cylinders is offered in every 10 degrees, and -2.25 D cylinders with other spheres only at 10, 20, 160, 170 and 180 degrees. |
| 17 | The right eye pack of 60 lenses is not offered; the packs are 5 (trial), 30 and 90 lenses. |
| 18 | The quote states 180 lenses in total; the boxes ordered contain 360 lenses. |
| 19 | The left eye sphere power of -6.25 D is not offered; available are +0.50 to +4.00 D and plano to -6.00 D in 0.25 D steps, and -6.50 to -8.00 D in 0.50 D steps. |
| 20 | The left eye cylinder power of -1.50 D is not offered; the cylinders are -0.75, -1.25, -1.75 and -2.25 D. |
| 21 | The left eye pack of 12 lenses is not offered; the packs are 5 (trial), 30 and 90 lenses. |
| 22 | The quote states 360 lenses in total; the boxes ordered contain 180 lenses. |
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 DAILIES TOTAL1 for Astigmatism lenses, base curve 8.6 mm and diameter 14.5 mm. Right eye: sphere -6.25 D, cylinder -1.25 D, axis 90, 2 boxes of 90. Left eye: sphere -7.00 D, cylinder -1.25 D, axis 45, 2 boxes of 90. The order is 360 lenses in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote DAILIES TOTAL1 for Astigmatism lenses, base curve 8.6 mm and diameter 14.5 mm. Right eye: sphere -6.50 D, cylinder -1.25 D, axis 90, 2 boxes of 90. Left eye: sphere -7.00 D, cylinder -1.25 D, axis 40, 2 boxes of 90. The order is 360 lenses in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote DAILIES TOTAL1 for Astigmatism lenses, base curve 8.6 mm and diameter 14.5 mm. Right eye: sphere -6.50 D, cylinder -1.25 D, axis 90, 2 boxes of 90. Left eye: sphere -7.00 D, cylinder -1.25 D, axis 100, 2 boxes of 90. The order is 360 lenses in total. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote DAILIES TOTAL1 for Astigmatism lenses, base curve 8.8 mm and diameter 14.2 mm. Right eye: sphere -2.50 D, cylinder -1.25 D, axis 90, 2 boxes of 90. Left eye: sphere -3.00 D, cylinder -0.75 D, axis 170, 2 boxes of 90. The order is 360 lenses in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote DAILIES TOTAL1 for Astigmatism lenses, base curve 8.6 mm and diameter 14.5 mm. Right eye: sphere -2.50 D, cylinder -1.25 D, axis 90, 2 boxes of 90. Left eye: sphere -3.00 D, cylinder -0.75 D, axis 170, 2 boxes of 90. The order is 360 lenses in total. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote DAILIES TOTAL1 for Astigmatism lenses, base curve 8.6 mm and diameter 14.5 mm. Right eye: sphere -1.50 D, cylinder -1.75 D, axis 180, 3 boxes of 60. Left eye: sphere -2.00 D, cylinder -1.25 D, axis 10, 6 boxes of 30. The order is 360 lenses in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote DAILIES TOTAL1 for Astigmatism lenses, base curve 8.6 mm and diameter 14.5 mm. Right eye: sphere -1.50 D, cylinder -1.75 D, axis 180, 2 boxes of 90. Left eye: sphere -2.00 D, cylinder -1.25 D, axis 10, 6 boxes of 30. The order is 360 lenses in total. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.