Predictika · Window orders

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

An AI sales agent prepares an order for Essential double hung windows from the public Marvin technical specifications: the call size, sash configuration, glass, egress listing, site altitude and grilles. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of those published tables and returns a verdict, every reason and the figures it computed.

Scope: Marvin Essential double hung windows (single units): call sizes, sash configuration, glass and altitude limits, egress listing and grilles-between-the-glass. See everything this validator covers

This validator models single Essential double hung window orders using the public Marvin Essential Technical Specifications catalog and the Essential double hung elevations sheet, not just the scenarios shown below.

  • Call sizes — the seven listed width calls (16 to 40) and ten height calls (20 to 66), with the rough opening each one gives.
  • Sash configuration — equal, cottage and reverse cottage sash, and the rule that cottage sashes are not made at the 20, 60 and 66 call heights.
  • Egress — the units the catalog lists as meeting national egress codes (5.7 sq ft, 20 in. clear width, 24 in. clear height, equal sash only), the 44 in. floor-to-sill limit, and the egress rating stated on the order.
  • Glass and altitude — the maximum site altitude Marvin lists for each size with annealed or tempered glass, in the standard and the sound-rated (STC/OITC) glass packages, and the altitude limit stated on the order.
  • Grilles — the standard rectangular grilles-between-the-glass cut, with other lite cuts sent to a person.

Any single Essential double hung unit order is in scope — not only the scenarios pictured here. Not covered: prices (Marvin publishes no Essential price list, so this validator produces no price build-up), mulled and multiple-unit assemblies, other Marvin products and collections, finishes and hardware, performance grades and local code. Assumptions: the sound-rated altitude table is taken to apply to the STC/OITC glass package, and the egress units are taken from the equal-sash egress table.

The AI sales agentBuilds the window order from the builder's request 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
Sizes that exist and the sashes made in themOnly with care
A size matrix of seven widths and ten heights, with a sash rule that depends on the height, to keep in step with the catalog.
The listed sizes and the sash availability by height are checked together on every call.
Egress from size, sash and sill heightOnly with workarounds
A list of egress sizes that depends on sash type, plus a separate sill-height rule.
The egress listing, the sash type and the 44 in. sill limit are checked together and each failure is reported.
Altitude limit by size, glass and glass packageOnly with workarounds
A lookup of about 280 values across size, annealed or tempered glass and two glass packages, and an extra rule to compare the site with it.
The listed limit is looked up from the size and glass and compared with the site altitude on every call.
A stated figure that disagrees with the catalogOnly with workarounds
The stated egress rating and altitude limit are separate fields and each needs its own rule against the published figure.
Each stated figure is part of the request and is compared with the listed figure on every call.
A choice that depends on product type and sizeOnly with workarounds
Rules know pass or fail; a lite cut that needs confirming has to be built as a special rule.
It goes to a person as needs approval, neither passed nor blocked.
Every problem returned in one answerOnly 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.

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.

1Egress is required, but the width call 30 by height call 46 unit is not listed as meeting national egress codes (5.7 sq ft clear opening, 20 in. clear width, 24 in. clear height).
2Egress is required, but only equal sash double hung units are listed as meeting egress codes; cottage and reverse cottage units are not.
3Egress is required, but the clear opening is 45 in. above the floor; the egress listing is for a floor to sill height of 44 in. at most.
4Width call 32 by height call 50 is not a listed Essential double hung size (widths 16, 20, 26, 28, 30, 36, 40; heights 20, 26, 30, 36, 40, 46, 50, 56, 60, 66).
5Width call 30 by height call 70 is not a listed Essential double hung size (widths 16, 20, 26, 28, 30, 36, 40; heights 20, 26, 30, 36, 40, 46, 50, 56, 60, 66).
6Cottage and reverse cottage sash are not available on the 20, 60 and 66 call heights; the quote has height call 60.
7Cottage and reverse cottage sash are not available on the 20, 60 and 66 call heights; the quote has height call 20.
8The site is at 8,001 ft; Marvin does not recommend insulating glass for this unit and glass above 8,000 ft.
9The site is at 7,500 ft; Marvin does not recommend insulating glass for this unit and glass above 7,000 ft.
10The quote states egress rating 1 (1 means meets egress codes, 0 means does not), but the catalog listing for this unit gives 0.
11The quote states egress rating 0 (1 means meets egress codes, 0 means does not), but the catalog listing for this unit gives 1.
12The quote states an altitude limit of 10,000 ft, but Marvin lists 8,000 ft for this unit and glass.
13Lite cuts other than the standard rectangular cut depend on product type and size; a person should confirm availability with a Marvin representative.
14Width call 34 by height call 50 is not a listed Essential double hung size (widths 16, 20, 26, 28, 30, 36, 40; heights 20, 26, 30, 36, 40, 46, 50, 56, 60, 66).

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. Bedroom egress: A bedroom order for six windows with cottage sash, a high opening and a stated egress rating

The agent's request. Please quote 6 Essential double hung windows, width call 30 by height call 50, cottage sash, annealed standard glass, as bedroom egress windows with the clear opening 48 in. above the floor. The order states that the unit meets national egress codes. It states an altitude limit of 8,000 ft. It is ready to send.

Verdict: Blocked.

  • Egress needs equal sash. Egress is required, but only equal sash double hung units are listed as meeting egress codes; cottage and reverse cottage units are not.
  • Sill too high for egress. Egress is required, but the clear opening is 48 in. above the floor; the egress listing is for a floor to sill height of 44 in. at most.
  • Stated egress rating differs from the listing. The quote states egress rating 1 (1 means meets egress codes, 0 means does not), but the catalog listing for this unit gives 0.

2. Bedroom egress: The agent resubmits after fixing the errors

The agent's request. Please quote 6 Essential double hung windows, width call 30 by height call 50, equal sash, annealed standard glass, as bedroom egress windows with the clear opening 42 in. above the floor. The order states that the unit meets national egress codes. It states an altitude limit of 8,000 ft. It is ready to send.

Verdict: Allowed.

  • Order summary. 6 Essential double hung unit(s), rough opening 36 in. wide by 60 in. high; egress listing 1 (1 yes, 0 no); listed altitude limit 8,000 ft for the glass quoted.

3. Mountain site altitude: An order for eight windows at a 7,500 ft site with annealed glass and a stated altitude limit

The agent's request. Please quote 8 Essential double hung windows, width call 30 by height call 36, equal sash, annealed standard glass, for a site at 7,500 ft. The order states that the unit does not meet national egress codes. It states an altitude limit of 8,000 ft. It is ready to send.

Verdict: Blocked.

  • Site above the altitude limit. The site is at 7,500 ft; Marvin does not recommend insulating glass for this unit and glass above 6,000 ft.
  • Stated altitude limit differs from the listing. The quote states an altitude limit of 8,000 ft, but Marvin lists 6,000 ft for this unit and glass.

4. Mountain site altitude: The agent resubmits after fixing the errors

The agent's request. Please quote 8 Essential double hung windows, width call 30 by height call 36, equal sash, tempered standard glass, for a site at 7,500 ft. The order states that the unit does not meet national egress codes. It states an altitude limit of 10,000 ft. It is ready to send.

Verdict: Allowed.

  • Order summary. 8 Essential double hung unit(s), rough opening 36 in. wide by 42 in. high; egress listing 0 (1 yes, 0 no); listed altitude limit 10,000 ft for the glass quoted.

5. Cottage sash and grille cut: An order for five cottage sash windows at a 60 call height with a prairie grille cut

The agent's request. Please quote 5 Essential double hung windows, width call 26 by height call 60, cottage sash, annealed standard glass, with a prairie lite cut for the grilles between the glass. The order states that the unit does not meet national egress codes. It states an altitude limit of 8,000 ft. It is ready to send.

Verdict: Blocked.

  • Cottage sash not available at this height. Cottage and reverse cottage sash are not available on the 20, 60 and 66 call heights; the quote has height call 60.
  • Lite cut other than rectangular. Lite cuts other than the standard rectangular cut depend on product type and size; a person should confirm availability with a Marvin representative.

6. Cottage sash and grille cut: The agent resubmits after fixing the errors

The agent's request. Please quote 5 Essential double hung windows, width call 26 by height call 60, equal sash, annealed standard glass, with a prairie lite cut for the grilles between the glass. The order states that the unit meets national egress codes. It states an altitude limit of 8,000 ft. It is ready to send.

Verdict: Needs approval.

  • Lite cut other than rectangular. Lite cuts other than the standard rectangular cut depend on product type and size; a person should confirm availability with a Marvin representative.
  • Order summary. 5 Essential double hung unit(s), rough opening 30 in. wide by 72 in. high; egress listing 1 (1 yes, 0 no); listed altitude limit 8,000 ft for the glass quoted.

7. Cottage sash and grille cut: The agent resubmits after fixing the errors

The agent's request. Please quote 5 Essential double hung windows, width call 26 by height call 60, equal sash, annealed standard glass, with rectangular grilles between the glass. The order states that the unit meets national egress codes. It states an altitude limit of 8,000 ft. It is ready to send.

Verdict: Allowed.

  • Order summary. 5 Essential double hung unit(s), rough opening 30 in. wide by 72 in. high; egress listing 1 (1 yes, 0 no); listed altitude limit 8,000 ft for the glass quoted.

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 Essential double hung windows from the public Marvin technical specifications: the call size, sash configuration, glass, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of those published tables 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 6 Essential double hung windows, width call 30 by height call 50, cottage sash, annealed standard glass, as bedroom egress windows with the clear opening 48 in. above the floor. The order states that the unit meets national egress codes. The rest of the request is on screen. It states an altitude limit of 8,000 ft.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with three findings, all in one answer. Egress is required, but only equal sash double hung units are listed as meeting egress codes; cottage and reverse cottage units are not. Egress is required, but the clear opening is 48 in. above the floor; the egress listing is for a floor to sill height of 44 in. at most. The quote states egress rating 1 (1 means meets egress codes, 0 means does not), but the catalog listing for this unit gives 0.
  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 egress from size, sash and sill height, a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the sash to equal sash and the clear opening above floor to 42.
  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.