Predictika · Microcontroller order quotes
An AI sales agent prepares a line-item quote for an order of STM32 microcontrollers: the series, flash size, pin count, package, temperature grade, packing, the CPU frequency the application needs, the number of reels or trays, an extra discount, and the line total it states. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the ordering rules and returns a verdict, every reason and the line total it computed.
This validator models STM32 orders for eight series, not just the scenarios shown below.
Any STM32 order that touches these rules is in scope — not only the scenarios pictured here. Not covered: STM32WB, WL, WBA, N6, U0 and U3, other families, STM8, sensors and development boards. Public versus modeled: the series names, their maximum frequencies and flash ranges follow the STMicroelectronics STM32 portfolio page and the standard ordering-code structure; every unit price (in micro-euros), the flash price multipliers, the volume tiers, pack sizes, the orderable pin, package and grade combinations and the approval thresholds are modeled by Predictika and are not STMicroelectronics prices or terms.
6 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 |
|---|---|---|
| Orderable combinations that depend on the series | Only with care Pin counts, packages and temperature grades are each offered for some series and not others, so every combination needs its own rule tied to the series chosen in another field. | The series, pins, package and grade are fields of one order and are checked together on every call. |
| A frequency and flash range that depend on the series | Only with care Each series has a different top frequency and flash range, so each limit needs a lookup of the series before the requirement is compared. | The series and the requirement are in one request and are compared on every call. |
| A line total that must equal the computed price | Only with workarounds The price is built from the series, the flash size, the units in the packs and the volume tier; checking a stated figure against it takes extra formulas that interact with the other rules. | The stated line total is a field of the request and is compared with the computed price. |
| Orders that should go to a person rather than be blocked | Only with care Volume deals and discounts above the tier need a person, and sit beside a separate hard cap that must not overlap them. | Blocks and approvals come back together; approval-only orders are not blocked. |
| Every problem returned in one answer | Only with workarounds Rules tend to fire as the quote 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 application needs 200 MHz; this series runs at most 170 MHz. |
| 2 | The application needs 64 MHz; this series runs at most 48 MHz. |
| 3 | The application needs 700 MHz; this series runs at most 600 MHz. |
| 4 | 1,024 KB of flash is outside the 32 to 512 KB range of this series. |
| 5 | 512 KB of flash is outside the 16 to 256 KB range of this series. |
| 6 | 64 KB of flash is outside the 128 to 4,096 KB range of this series. |
| 7 | 100 KB is not a standard STM32 flash size (16, 32, 64, 128, 256, 384, 512, 768, 1024, 1536, 2,048 or 4,096 KB). |
| 8 | A 144 pin package is not offered for this series. |
| 9 | A 64 pin package is not offered for this series. |
| 10 | This package type is not available with 100 pins. |
| 11 | This package type is not available with 20 pins. |
| 12 | This package type is not available with 48 pins. |
| 13 | This package type is not available with 144 pins. |
| 14 | The -40 to 125 C grade (suffix 3) is not offered for this series. |
| 15 | WLCSP is not offered in the -40 to 125 C grade. |
| 16 | WLCSP is supplied on tape and reel only. |
| 17 | At least 1 reel or tray must be ordered; the quote has 0. |
| 18 | An order of 100,000 units is a volume deal; a person should confirm availability and pricing. |
| 19 | The requested discount of 15 percent is above the 10 percent volume tier; a person should approve it. |
| 20 | A requested extra discount of 30 percent is above the 25 percent limit of this model. |
| 21 | The requested discount of 25 percent is above the 10 percent volume tier; a person should approve it. |
| 22 | The quote states a line total of 7,019,999,999 micro-euros; the modeled price gives 7,020,000,000. |
| 23 | The quote states a line total of 7,410,000,000 micro-euros; the modeled price gives 7,020,000,000. |
| 24 | The application needs 72 MHz; this series runs at most 48 MHz. |
| 25 | An order of 150,000 units is a volume deal; a person should confirm availability and pricing. |
| 26 | The requested discount of 22 percent is above the 20 percent volume tier; a person should approve it. |
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 an order of STM32C0 microcontrollers in a 32-pin UFQFPN package with 512 KB of flash, in the -40 to 125 C (suffix 3) grade, as 2 reels on tape and reel, for an application that needs 72 MHz, for a line total of 7,344.00 euros. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote an order of STM32G4 microcontrollers in a 32-pin UFQFPN package with 512 KB of flash, in the -40 to 125 C (suffix 3) grade, as 2 reels on tape and reel, for an application that needs 72 MHz, for a line total of 47,736.00 euros. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote an order of STM32G0 microcontrollers in a 48-pin WLCSP package with 64 KB of flash, in the -40 to 125 C (suffix 3) grade, as 0 trays on trays, for an application that needs 64 MHz, for a line total of 0.00 euros. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote an order of STM32G0 microcontrollers in a 48-pin WLCSP package with 64 KB of flash, in the -40 to 85 C (suffix 6) grade, as 1 reel on tape and reel, for an application that needs 64 MHz, for a line total of 4,050.00 euros. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote an order of STM32G4 microcontrollers in a 64-pin LQFP package with 128 KB of flash, in the -40 to 85 C (suffix 6) grade, as 100 reels on tape and reel, for an application that needs 100 MHz, with a requested extra discount of 22 percent, for a line total of 7,020.00 euros. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote an order of STM32G4 microcontrollers in a 64-pin LQFP package with 128 KB of flash, in the -40 to 85 C (suffix 6) grade, as 100 reels on tape and reel, for an application that needs 100 MHz, with a requested extra discount of 22 percent, for a line total of 312,000.00 euros. It is ready to send.
Verdict: Needs approval.
The text of the narrated walkthrough, step by step.