Predictika · Prescription progressive lens orders

An AI sales agent's Varilux lens order, checked before it goes out

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.

Scope: Varilux X Design and Varilux Physio W3+ orders for both eyes: material, product, sphere, cylinder, add power, fitting height and AR coating. See everything this validator covers

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.

  • Material and product — each design is offered only in certain materials (X Design in 1.50, 1.53, 1.59, 1.67 and 1.74; Physio W3+ also in 1.60), and within a material only the products the chart lists: clear, Essilor Polarized, Xperio UV Polarized, Transitions GEN S and Transitions XTRActive. That is 39 chart rows in all.
  • Powers — the sphere range offered for the exact design, material and product row (for example, plus 7.00 D for Physio W3+ in Transitions GEN S in 1.50, 1.53 and 1.59 but plus 6.00 D for the others, and down to minus 20.00 D for Physio W3+ 1.74 in Transitions GEN S but minus 18.00 D for 1.74 clear), a cylinder of no more than minus 6.00 D, and add powers from 0.75 to 4.00 D in steps of 0.25 D.
  • Fitting height — a minimum fitting height of 14 mm for both designs, and an add above 3.50 D only at a fitting height of 17 mm or more.
  • AR coating — a no-glare treatment from another maker is not accepted (Essilor AR stacks are required), and Thin and Lite 1.74 lenses come with a choice of one of five Crizal coatings.

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.

The AI sales agentBuilds the lens order from the conversation and says it is ready.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

7 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI sales agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI sales agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where rules-based CPQ gets it wrong

Click to expand

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 caughtTypical rules-based CPQPredictika
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 rowOnly 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 heightOnly 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 materialOnly 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 answerOnly 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.

What this validator catches: findings from its test cases

Click to expand

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.

1The 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.
2The selected lens product is not listed for this design and material on the availability chart.
3The right eye sphere of +6.25 D is outside the range offered for this lens, -10.00 to +6.00 D.
4The left eye sphere of -12.25 D is outside the range offered for this lens, -12.00 to +9.00 D.
5The right eye sphere of +7.00 D is outside the range offered for this lens, -10.00 to +6.00 D.
6The right eye sphere of -18.25 D is outside the range offered for this lens, -18.00 to +13.00 D.
7The right eye sphere of -20.25 D is outside the range offered for this lens, -20.00 to +13.00 D.
8The right eye sphere of -14.25 D is outside the range offered for this lens, -14.00 to +13.00 D.
9The right eye cylinder of -6.25 D is outside the offered range; the maximum cylinder is -6.00 D.
10The left eye cylinder of 1.00 D is outside the offered range; the maximum cylinder is -6.00 D.
11The 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.
12The 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.
13The 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.
14The 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.
15The 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.
16The right eye fitting height of 13 mm is below the 14 mm minimum for these designs.
17A no-glare treatment from another maker is selected; Essilor AR stacks are required when a no-glare treatment is applied.
18Thin 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.
19The left eye sphere of +7.50 D is outside the range offered for this lens, -10.00 to +6.00 D.
20The right eye sphere of -10.50 D is outside the range offered for this lens, -10.00 to +6.00 D.
21The right eye cylinder of -6.50 D is outside the offered range; the maximum cylinder is -6.00 D.
22The 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.
23The left eye sphere of +6.50 D is outside the range offered for this lens, -10.00 to +6.00 D.
24The 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.
25The left eye fitting height of 12 mm is below the 14 mm minimum for these designs.

Scenarios and results

Click to expand

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.

1. Material for a high-minus prescription: X Design in 1.60 for a high-minus prescription

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.

  • Material not offered in this design. 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. Material for a high-minus prescription: The agent resubmits after fixing the errors

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.

  • Near power. Near power (sphere plus add) is -8.25 D for the right eye and -7.75 D for the left eye.

3. Add power and fitting height: Physio W3+ with high adds at a fitting height of 15 mm

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.

  • Add needs a taller fitting height (right eye). 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.
  • Add needs a taller fitting height (left eye). 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.

4. Add power and fitting height: The agent resubmits after fixing the errors

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.

  • Add needs a taller fitting height (left eye). 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.

5. Add power and fitting height: The agent resubmits after fixing the errors

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.

  • Near power. Near power (sphere plus add) is 2.25 D for the right eye and 2.25 D for the left eye.

6. Product and coating: Physio W3+ in 1.74 with XTRActive and another maker no-glare treatment

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.

  • Lens product not offered in this material. The selected lens product is not listed for this design and material on the availability chart.
  • Essilor AR required with no-glare treatment. A no-glare treatment from another maker is selected; Essilor AR stacks are required when a no-glare treatment is applied.
  • 1.74 lenses come with a Crizal coating. 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.

7. Product and coating: The agent resubmits after fixing the errors

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.

  • Near power. Near power (sphere plus add) is -15.00 D for the right eye and -14.50 D for the left eye.

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. 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), and more. 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.
  2. I will start with the first request by the agent.
  3. The agent says. 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. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with three findings, all in one answer. The selected lens product is not listed for this design and material on the availability chart. A no-glare treatment from another maker is selected; Essilor AR stacks are required when a no-glare treatment is applied. 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.
  6. The validator returned three blocking findings in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the quote are checked against each other.
  7. What this shows: for which material and product the chart lists for each design (39 rows), a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the product to Transitions GEN S and the AR coating to crizal rock.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All three earlier findings are cleared.
  13. Three problems caught in one call, fixed in one pass, and a clean quote. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.