Predictika · Contact lens orders
An AI sales agent prepares a practice order for contact lenses: the lens, the sphere power, cylinder, axis and add 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 Bausch + Lomb publishes for each lens and returns a verdict, every reason and the figures it computed.
This validator models orders for six Bausch + Lomb lenses (the monthly ULTRA family and the INFUSE and Biotrue ONEday daily disposables), 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: PureVision, SofLens and other Bausch + Lomb lenses, ULTRA Multifocal for Astigmatism and Biotrue ONEday for Presbyopia (axis and add tables vary by power), prices, practice and buying-group pricing, programs and rebates, 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 in an inner range and 0.50 D outside it, and one toric lens switches to 0.50 D steps only for its strongest cylinder; each case needs its own lookup and arithmetic rule. | The lens, cylinder and power are in one request and 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 guide. | The lens and each eye's cylinder are checked together on every call. |
| An add power on a lens that has none, or missing on one that needs it | Only with care The add depends on which lens was chosen on another line, so it takes a dependency rule per lens. | The lens and the add are in one request, and the rule 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 Ultra lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only). |
| 2 | The right eye sphere power is outside the range the Ultra lens is made in. |
| 3 | The left eye sphere power is outside the range the Ultra lens is made in. |
| 4 | The left eye sphere power is not on a step the Ultra lens is made in (0.25 D steps only in its inner range, 0.50 D steps beyond; Biotrue ONEday for Astigmatism with a -2.75 cylinder is made in 0.50 D steps only). |
| 5 | The right eye cylinder power is not one the Ultra lens is made in (a toric lens needs a listed cylinder; a spherical lens has none). |
| 6 | The right eye axis is not one the Ultra lens is made in (a toric lens needs an axis from 10 to 180 degrees in 10 degree steps; a spherical lens has none). |
| 7 | The left eye add power is not one the Ultra lens is made in (a presbyopia lens needs an add from +0.75 to +2.50 D in 0.25 D steps; other lenses have none). |
| 8 | The Ultra lens is not modeled in a package of 30. |
| 9 | The order has no boxes for either eye. |
| 10 | The order states 40 lenses; 4 boxes of 6 come to 24. |
| 11 | The right eye cylinder power is not one the ULTRA for Astigmatism 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 ULTRA for Astigmatism 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 ULTRA for Astigmatism lens is made in (a toric lens needs an axis from 10 to 180 degrees in 10 degree steps; a spherical lens has none). |
| 14 | The left eye axis is not one the ULTRA for Astigmatism lens is made in (a toric lens needs an axis from 10 to 180 degrees in 10 degree steps; 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 ULTRA for Astigmatism lenses in packs of 6: 2 boxes for the right eye at -4.50 D with a -3.25 cylinder at axis 90, and 2 boxes for the left eye at -3.75 D with a -1.75 cylinder at axis 175. The order states 24 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order ULTRA for Astigmatism lenses in packs of 6: 2 boxes for the right eye at -4.50 D with a -2.25 cylinder at axis 90, and 2 boxes for the left eye at -3.75 D with a -1.75 cylinder at axis 170. The order states 24 lenses. It is ready to send.
Verdict: Allowed.
The agent's request. Please order Biotrue ONEday for Astigmatism lenses in packs of 90: 2 boxes for the right eye at -7.25 D with a -1.75 cylinder at axis 80, and 2 boxes for the left eye at -4.25 D with a -2.75 cylinder at axis 90. The order states 360 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order Biotrue ONEday for Astigmatism lenses in packs of 90: 2 boxes for the right eye at -7.50 D with a -1.75 cylinder at axis 80, and 2 boxes for the left eye at -4.25 D with a -2.75 cylinder at axis 90. The order states 360 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order Biotrue ONEday for Astigmatism lenses in packs of 90: 2 boxes for the right eye at -7.50 D with a -1.75 cylinder at axis 80, and 2 boxes for the left eye at -4.50 D with a -2.75 cylinder at axis 90. The order states 360 lenses. It is ready to send.
Verdict: Allowed.
The agent's request. Please order ULTRA for Presbyopia lenses in packs of 6: 2 boxes for the right eye at -2.00 D with a +3.00 add, and 2 boxes for the left eye at -2.25 D with a +3.00 add. The order states 24 lenses. It is ready to send.
Verdict: Blocked.
The agent's request. Please order ULTRA for Presbyopia lenses in packs of 6: 2 boxes for the right eye at -2.00 D with a +2.25 add, and 2 boxes for the left eye at -2.25 D with a +2.25 add. The order states 24 lenses. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.