Predictika · Prescription lens orders
An AI sales agent prepares an order for Varilux Physio DRx or Comfort DRx progressive lenses: the design, lens material and index, tint or photochromic product, color, coating, and the prescription it has to cover. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of Essilor's published availability chart and returns a verdict, every reason and the figures it computed.
This validator models orders for the four Varilux DRx designs as laid out in the public Essilor Varilux Rx Lens Availability chart (effective April 2024), not just the scenarios shown below.
Any Varilux DRx order that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (Essilor does not publish lens prices, so this validator produces no price build-up), other Varilux designs, base curves, sunwear colors beyond the chart, and lab processing. Assumptions: the chart's power range is read as sphere power, the order has one prescription for both eyes, and a product that comes in colors needs a color chosen.
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 |
|---|---|---|
| Which products exist in which material, and which colors each allows | Only with workarounds A product-by-material-by-color table of about 30 rows, each with its own exceptions (for example XTRActive Polarized only in gray), kept in step with every chart release. | Material, product and color arrive in one request and are matched to the chart on every call. |
| Prescription limits that change with material and product | Only with care Sphere ranges differ by index, and the GEN S products have a smaller plus range, so one rule is needed per combination. | The sphere range is looked up from the material and product and compared with the prescription on every call. |
| Add power and fitting height limits that depend on the design | Only with care Different maximum adds (3.50, 4.00 on one design only, 3.00 on the Short designs) and minimum fitting heights per design. | The design sets the limits and every one is checked together. |
| Options that exist only on some products: mirror and Essential Blue | Only with care Each option needs a dependency rule tied to a product, material and color. | The option is checked against the product on every call. |
| The index the quote states must match the material | Only with care A stated figure is a free-entry field; a rule can compare it with the material, but each material needs its own value. | The stated index travels with the order and is compared with the material 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 chosen color is not available for this product in this material. |
| 2 | The chosen product is not offered in the chosen lens material and index. |
| 3 | This product comes in colors and no color has been chosen. |
| 4 | Style mirrors are available only on Transitions XTRActive new generation in gray or brown, in 1.59 and 1.67. |
| 5 | Essential Blue Series lenses are available only in the clear products. |
| 6 | The prescription has a sphere power of +6.50 D; this lens covers -10.00 to +6.00 D. |
| 7 | The prescription has a sphere power of -12.50 D; this lens covers -12.00 to +8.00 D. |
| 8 | The prescription has a cylinder of 6.25 D; the maximum is 6.00 D. |
| 9 | The add power of 3.75 is not available; the chart lists 0.75 to 3.50 and, on Physio DRx only, 4.00. |
| 10 | An add power of 4.00 is available only in Varilux Physio DRx. |
| 11 | The Short designs offer add powers of 0.75 to 3.00 only; the order has 3.50. |
| 12 | The fitting height of 16 mm is below the minimum of 17 mm for this design. |
| 13 | All Varilux digital lenses require a hard coat and the order has none. |
| 14 | Thin and Lite 1.74 lenses come with a choice of Crizal Prevencia, Sapphire 360, Avance UV, Rock or Alize UV and the order has no Crizal coating. |
| 15 | The quote states a lens index of 1.67; the quoted material has 1.59. |
| 16 | The add power of 0.50 is not available; the chart lists 0.75 to 3.50 and, on Physio DRx only, 4.00. |
| 17 | The prescription has a cylinder of 7.00 D; the maximum is 6.00 D. |
| 18 | The fitting height of 12 mm is below the minimum of 17 mm for this design. |
| 19 | The quote states a lens index of 1.59; the quoted material has 1.53. |
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 two pairs of Varilux Comfort Short DRx lenses in Thin & Lite 1.60, clear, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -13.00, a cylinder of 1.25 and an add of 3.50, at a fitting height of 13 mm. The quote states a lens index of 1.60. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote two pairs of Varilux Comfort Short DRx lenses in Thin & Lite 1.67, clear, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -13.00, a cylinder of 1.25 and an add of 3.50, at a fitting height of 15 mm. The quote states a lens index of 1.67. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote two pairs of Varilux Comfort DRx lenses in Thin & Lite 1.67, clear, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -13.00, a cylinder of 1.25 and an add of 3.50, at a fitting height of 18 mm. The quote states a lens index of 1.67. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote three pairs of Varilux Physio DRx lenses in Trivex 1.53, Transitions GEN S in sapphire, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -3.50, a cylinder of 1.00 and an add of 2.25, at a fitting height of 21 mm. The quote states a lens index of 1.59. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote three pairs of Varilux Physio DRx lenses in Airwear polycarbonate 1.59, Transitions GEN S in sapphire, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -3.50, a cylinder of 1.00 and an add of 2.25, at a fitting height of 21 mm. The quote states a lens index of 1.59. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote four pairs of Varilux Physio DRx lenses in Thin & Lite 1.74, Transitions GEN S in gray, as Essential Blue Series lenses, with no Crizal coating and a hard coat, for a prescription with a sphere of -18.00, a cylinder of 2.00 and an add of 2.50, at a fitting height of 19 mm. The quote states a lens index of 1.74. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote four pairs of Varilux Physio DRx lenses in Thin & Lite 1.74, clear, as Essential Blue Series lenses, with Crizal Alize UV and a hard coat, for a prescription with a sphere of -18.00, a cylinder of 2.00 and an add of 2.50, at a fitting height of 19 mm. The quote states a lens index of 1.74. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.