Predictika · Prescription progressive lens orders
An AI sales agent prepares an order for Varilux progressive lenses for a patient's two eyes: the Varilux design, the lens material, the lens product (clear, polarized or photochromic), the AR coating, and for each eye the sphere, cylinder, add power and fitting height. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the published Varilux availability chart and returns a verdict, every reason and the figures it computed.
This validator models orders for two Varilux designs, Varilux X Design and Varilux Physio W3+, using the Varilux lens availability chart that Essilor publishes for eye care professionals (effective April 2024), not just the scenarios shown below.
Any Varilux X Design or Physio W3+ order that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (no public price list exists, so this validator produces no price build-up or line-item quote), other Varilux designs (Comfort Max, Physio DRx, XR and others), tint and sun colors, base curve and lens diameter, frame fit, whether a prescription is clinically suitable, and stock or delivery.
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 material and product the chart lists for each design (39 rows) | Only with workarounds Each design has its own list of materials and, within each, its own list of products, so the chart becomes a table of combinations that has to be loaded and re-edited whenever a new edition is published. | Design, material and product arrive in one request and are matched to the chart rows on every call. |
| Sphere ranges that differ row by row | Only with workarounds The range is not one number per material: the same material has a different upper or lower limit depending on the product (for example Transitions GEN S against clear), so each row needs its own limit. | Each row carries its own limits; the sphere is compared with the limits of the exact row chosen. |
| An add limit that depends on fitting height | Only with care The ceiling for the add changes with the fitting height of that eye, so a rule must read two fields together, once for each eye. | Add and fitting height are compared together for each eye on every call. |
| A coating requirement that applies to one material | Only with care Thin and Lite 1.74 lenses come with a choice of five Crizal coatings, so a rule needs to know both the material and the coating selected. | Material and coating are compared together, in any order the choices arrive. |
| 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 person 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 selected lens material is not offered in this Varilux design; X Design is offered in 1.50, 1.53, 1.59, 1.67 and 1.74, and Physio W3+ in 1.50, 1.53, 1.59, 1.60, 1.67 and 1.74. |
| 2 | The selected lens product is not listed for this design and material on the availability chart. |
| 3 | The right eye sphere of +6.25 D is outside the range offered for this lens, -10.00 to +6.00 D. |
| 4 | The left eye sphere of -12.25 D is outside the range offered for this lens, -12.00 to +9.00 D. |
| 5 | The right eye sphere of +7.00 D is outside the range offered for this lens, -10.00 to +6.00 D. |
| 6 | The right eye sphere of -18.25 D is outside the range offered for this lens, -18.00 to +13.00 D. |
| 7 | The right eye sphere of -20.25 D is outside the range offered for this lens, -20.00 to +13.00 D. |
| 8 | The right eye sphere of -14.25 D is outside the range offered for this lens, -14.00 to +13.00 D. |
| 9 | The right eye cylinder of -6.25 D is outside the offered range; the maximum cylinder is -6.00 D. |
| 10 | The left eye cylinder of 1.00 D is outside the offered range; the maximum cylinder is -6.00 D. |
| 11 | The right eye add power of 0.50 D is not offered; adds run from 0.75 to +4.00 D in steps of 0.25 D. |
| 12 | The left eye add power of 2.10 D is not offered; adds run from 0.75 to +4.00 D in steps of 0.25 D. |
| 13 | The right eye add power of 4.25 D is not offered; adds run from 0.75 to +4.00 D in steps of 0.25 D. |
| 14 | The right eye add of 4.00 D is above the 3.50 D offered at a fitting height under 17 mm; a larger add needs a fitting height of 17 mm or more. |
| 15 | The left eye add of 4.00 D is above the 3.50 D offered at a fitting height under 17 mm; a larger add needs a fitting height of 17 mm or more. |
| 16 | The right eye fitting height of 13 mm is below the 14 mm minimum for these designs. |
| 17 | A no-glare treatment from another maker is selected; Essilor AR stacks are required when a no-glare treatment is applied. |
| 18 | Thin and Lite 1.74 lenses come with a choice of Crizal Prevencia, Crizal Sapphire 360 UV, Crizal Avance UV, Crizal Rock or Crizal Alize UV; none of these is selected. |
| 19 | The left eye sphere of +7.50 D is outside the range offered for this lens, -10.00 to +6.00 D. |
| 20 | The right eye sphere of -10.50 D is outside the range offered for this lens, -10.00 to +6.00 D. |
| 21 | The right eye cylinder of -6.50 D is outside the offered range; the maximum cylinder is -6.00 D. |
| 22 | The right eye add of 3.75 D is above the 3.50 D offered at a fitting height under 17 mm; a larger add needs a fitting height of 17 mm or more. |
| 23 | The left eye sphere of +6.50 D is outside the range offered for this lens, -10.00 to +6.00 D. |
| 24 | The left eye add power of 0.50 D is not offered; adds run from 0.75 to +4.00 D in steps of 0.25 D. |
| 25 | The left eye fitting height of 12 mm is below the 14 mm minimum for these designs. |
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 Varilux X Design lenses in 1.60, Transitions GEN S, with Crizal Prevencia. Right eye: sphere -10.50 D, cylinder -1.50 D, add +2.25 D, fitting height 18 mm. Left eye: sphere -10.00 D, cylinder -1.00 D, add +2.25 D, fitting height 18 mm. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote Varilux X Design lenses in 1.67 Thin and Lite, Transitions GEN S, with Crizal Prevencia. Right eye: sphere -10.50 D, cylinder -1.50 D, add +2.25 D, fitting height 18 mm. Left eye: sphere -10.00 D, cylinder -1.00 D, add +2.25 D, fitting height 18 mm. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote Varilux Physio W3+ lenses in 1.59 polycarbonate, Transitions GEN S, with Crizal Avance UV. Right eye: sphere -1.50 D, cylinder -0.75 D, add +3.75 D, fitting height 15 mm. Left eye: sphere -1.75 D, cylinder -0.50 D, add +4.00 D, fitting height 15 mm. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote Varilux Physio W3+ lenses in 1.59 polycarbonate, Transitions GEN S, with Crizal Avance UV. Right eye: sphere -1.50 D, cylinder -0.75 D, add +3.75 D, fitting height 17 mm. Left eye: sphere -1.75 D, cylinder -0.50 D, add +4.00 D, fitting height 15 mm. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote Varilux Physio W3+ lenses in 1.59 polycarbonate, Transitions GEN S, with Crizal Avance UV. Right eye: sphere -1.50 D, cylinder -0.75 D, add +3.75 D, fitting height 17 mm. Left eye: sphere -1.75 D, cylinder -0.50 D, add +4.00 D, fitting height 17 mm. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote Varilux Physio W3+ lenses in 1.74 Thin and Lite, Transitions XTRActive, with a no-glare treatment from another maker. Right eye: sphere -17.50 D, cylinder -2.00 D, add +2.50 D, fitting height 19 mm. Left eye: sphere -17.00 D, cylinder -1.75 D, add +2.50 D, fitting height 19 mm. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote Varilux Physio W3+ lenses in 1.74 Thin and Lite, Transitions GEN S, with Crizal Rock. Right eye: sphere -17.50 D, cylinder -2.00 D, add +2.50 D, fitting height 19 mm. Left eye: sphere -17.00 D, cylinder -1.75 D, add +2.50 D, fitting height 19 mm. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.