Predictika · Contact lens orders
An AI sales agent prepares a practice order for contact lenses: the lens, the sphere power, cylinder and axis for each eye, the package size and the number of boxes. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the parameters CooperVision publishes for each lens and returns a verdict, every reason and the figures it computed.
This validator models orders for six published CooperVision lens parameter sets (MyDay, MyDay toric, Biofinity, Biofinity toric and the standard and extended cylinder ranges of Biofinity XR toric), not just the scenarios shown below.
Any order for these lenses that touches these rules is in scope — not only the scenarios pictured here. Not covered: other CooperVision lenses (multifocal, toric multifocal, other materials), prices, practice and buying-group pricing, rebates and programs (not public), fitting and clinical suitability.
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 |
|---|---|---|
| A sphere power that is between the steps a lens is made in | Only with care The step is 0.25 D inside an inner range and 0.50 D outside it, and the ranges differ by lens; each lens needs its own lookup and arithmetic rule. | The lens and the power are in one request and the range and step are checked together for each eye. |
| A cylinder power that the lens is not made in | Only with care Each toric lens has its own list of cylinders (and a spherical lens has none), so each needs a list rule kept in step with the published tables. | The lens and each eye's cylinder are checked together on every call. |
| An axis that is off the lens's step | Only with care Axis steps are 10 degrees for some lenses and 5 degrees for others, so the rule depends on the lens chosen on another line. | The lens, cylinder and axis are in one request, and the step comes from the lens. |
| Both eyes checked in one answer | Only with workarounds Rules tend to fire as a line is saved, so a rep fixes one eye and then meets the next error. | All findings for both eyes come back together, whatever order the choices arrived in. |
| A stated lens count that disagrees with boxes times package size | Only with workarounds The count is a derived figure; checking a stated number against it takes extra formulas that interact with the package rules. | The stated lens count is a field in the request and is compared with the computed one. |
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 right eye sphere power is not on a step the MyDay lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond). |
| 2 | The right eye sphere power is outside the range the MyDay lens is made in. |
| 3 | The left eye sphere power is not on a step the MyDay lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond). |
| 4 | The left eye sphere power is outside the range the MyDay lens is made in. |
| 5 | The right eye is ordered at plano; the MyDay lens is not made in plano. |
| 6 | The right eye cylinder power is not one the MyDay lens is made in (a toric lens needs a listed cylinder; a spherical lens has none). |
| 7 | The right eye axis is not one the MyDay lens is made in (a toric lens needs an axis from 1 to 180 degrees on its step; a spherical lens has none). |
| 8 | The MyDay lens is not offered in a package of 6. |
| 9 | The order has no boxes for either eye. |
| 10 | The order states 400 lenses; 4 boxes of 90 come to 360. |
| 11 | The right eye cylinder power is not one the MyDay toric lens is made in (a toric lens needs a listed cylinder; a spherical lens has none). |
| 12 | The left eye cylinder power is not one the MyDay toric lens is made in (a toric lens needs a listed cylinder; a spherical lens has none). |
| 13 | The right eye axis is not one the MyDay toric lens is made in (a toric lens needs an axis from 1 to 180 degrees on its step; a spherical lens has none). |
| 14 | The left eye axis is not one the MyDay toric lens is made in (a toric lens needs an axis from 1 to 180 degrees on its step; a spherical lens has none). |
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 order Biofinity toric lenses in packs of 6: 12 boxes for the right eye at -11.00 D with a -1.25 cylinder at axis 80, and 12 boxes for the left eye at -8.00 D with a -1.75 cylinder at axis 92. The order states 144 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order Biofinity XR toric (standard cylinders) lenses in packs of 6: 12 boxes for the right eye at -11.00 D with a -1.25 cylinder at axis 80, and 12 boxes for the left eye at -8.00 D with a -1.75 cylinder at axis 95. The order states 144 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order Biofinity XR toric (standard cylinders) lenses in packs of 6: 12 boxes for the right eye at -11.00 D with a -1.25 cylinder at axis 80, and 12 boxes for the left eye at -11.50 D with a -1.75 cylinder at axis 95. The order states 144 lenses. It is ready to send.
Verdict: Allowed.
The agent's request. Please order MyDay toric lenses in packs of 90: 4 boxes for the right eye at -4.50 D with a -2.75 cylinder at axis 90, and 4 boxes for the left eye at -3.75 D with a -1.75 cylinder at axis 175. The order states 720 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order MyDay toric lenses in packs of 90: 4 boxes for the right eye at -4.50 D with a -2.25 cylinder at axis 90, and 4 boxes for the left eye at -3.75 D with a -1.75 cylinder at axis 170. The order states 720 lenses. It is ready to send.
Verdict: Allowed.
The agent's request. Please order MyDay lenses in packs of 6: 6 boxes for the right eye at 0.00 D, and 6 boxes for the left eye at -3.50 D. The order states 72 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order MyDay lenses in packs of 180: 3 boxes for the right eye at +0.25 D, and 3 boxes for the left eye at -3.50 D. The order states 1,080 lenses. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.