Predictika · Mycotoxin test-kit orders

An AI sales agent's mycotoxin test-kit order, checked before it goes out

An AI sales agent prepares an order for mycotoxin test kits: a toxin, a kit format, the commodity to be tested, a reader, the number of tests, kits and extraction packs, shipping and a discount. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the Neogen Reveal Q+ and Reveal Q+ MAX kits and returns a verdict, every reason and the order total it computed.

Scope: Neogen Reveal Q+ and Reveal Q+ MAX kits for aflatoxin, DON, fumonisin, ochratoxin, T-2/HT-2 and zearalenone, with Raptor and Raptor Solo readers and MAX extraction packs. See everything this validator covers

This validator models Neogen Reveal Q+ mycotoxin kit orders, not just the scenarios shown below.

  • Kit, toxin and commodity — which kit format is listed for which toxin (there is no Q+ MAX kit for fumonisin) and which commodities each kit is listed for.
  • Readers, kits and packs — a Raptor or Raptor Solo reader unless the lab owns one, 25 tests per kit, and for Q+ MAX one extraction pack of 25 for every 25 tests.
  • Discount, shipping and total — a manager's approval for any discount, a hard limit of 10 percent, international delivery and orders over $10,000 sent to approval, ground and overnight shipping, and the order total the request states against the total computed.

Any Neogen Reveal Q+ or Q+ MAX order that touches these rules is in scope — not only the scenarios pictured here. Not covered: Veratox ELISA kits, other Reveal kits, other Neogen product lines and taxes. The kit, reader and pack prices are Neogen's public listing prices; the rest is modeled (see the note at the foot of the page).

The AI sales agentBuilds the test-kit 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.

6 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
A kit that exists in only some formatsOnly with care
Each toxin needs a rule for the kit formats listed for it, and the list changes whenever a kit is added.
The toxin and the kit format are fields of one request and are checked together on every call.
Quantities derived from the number of testsOnly with care
Kits and extraction packs are both a number of tests divided by 25 and rounded up, so each needs its own rule that compares the quantity ordered.
The tests and quantities are in one request, and the kits and packs needed are computed on every call.
A required item that is optional elsewhereOnly with care
A reader is needed unless the lab owns one, so a rule has to look at the reader field and the kit format together.
The reader and the kit are checked together on every call.
A stated total that must match the computed totalOnly with workarounds
The total is built from kits, packs, a reader, shipping and a discount, so a separate rule is needed to recompute it and compare it with the stated figure.
The stated total is a field of the request and is compared with the computed total on every call.
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 order; approval findings need a person to sign off; everything else is computed.

1Reveal Q+ MAX needs one extraction packet per test, 25 to a pack; 4 pack(s) are needed and the order has 3.
2Reveal Q+ MAX needs one extraction packet per test, 25 to a pack; 4 pack(s) are needed and the order has 0.
3100 test(s) need 4 kit(s) of 25 tests; the order has 3.
4101 test(s) need 5 kit(s) of 25 tests; the order has 4.
5The order needs at least 1 test.
6The chosen kit is not listed for the chosen commodity.
7There is no Reveal Q+ MAX kit for fumonisin in the listing; use Reveal Q+ for fumonisin.
8Reveal Q+ kits give quantitative results and need a Raptor reader; none is ordered or owned.
9A discount of 5 percent is not on the public listing; a sales manager should approve it.
10A discount of 10 percent is not on the public listing; a sales manager should approve it.
11A discount of 11 percent is outside the 0 to 10 percent range that can be approved.
12International delivery of refrigerated kits needs export and cold-chain confirmation.
13An order of 1,007,150 cents is above the limit that can be released without approval.
14The order states a total of 378,100 cents; the listed prices give 378,200 cents.
15The order states a total of 378,201 cents; the listed prices give 378,200 cents.
16The order states a total of 100 cents; the listed prices give 378,200 cents.
17A discount of 12 percent is outside the 0 to 10 percent range that can be approved.
18Reveal Q+ MAX needs one extraction packet per test, 25 to a pack; 4 pack(s) are needed and the order has 2.
1960 test(s) need 3 kit(s) of 25 tests; the order has 2.
20A discount of 15 percent is outside the 0 to 10 percent range that can be approved.

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. Kit, reader, quantities and discount: A Q+ MAX fumonisin order for 120 tests with no reader, three kits, two extraction packs and a 12 percent discount

The agent's request. Please quote Reveal Q+ MAX kits for fumonisin on peanuts, 120 tests, 3 kits, 2 extraction packs, with no reader, ground shipping to the US, with a 12 percent discount, for a total of $184.92. It is ready to send.

Verdict: Blocked.

  • Kit not offered for this toxin. There is no Reveal Q+ MAX kit for fumonisin in the listing; use Reveal Q+ for fumonisin.
  • Quantitative kit needs a reader. Reveal Q+ kits give quantitative results and need a Raptor reader; none is ordered or owned.
  • Too few kits for the tests. 120 test(s) need 5 kit(s) of 25 tests; the order has 3.
  • Too few extraction packets. Reveal Q+ MAX needs one extraction packet per test, 25 to a pack; 5 pack(s) are needed and the order has 2.
  • Discount outside the allowed range. A discount of 12 percent is outside the 0 to 10 percent range that can be approved.

2. Kit, reader, quantities and discount: The agent resubmits after fixing the errors

The agent's request. Please quote Reveal Q+ kits for fumonisin on corn, 120 tests, 5 kits, with a Raptor Solo reader, ground shipping to the US, for a total of $4,102.50. It is ready to send.

Verdict: Allowed.

  • Order summary. 5 kit(s), 0 extraction pack(s), goods 410,250 cents, discount 0 cents, shipping 0 cents, total 410,250 cents.

3. Commodity, kits and total: A zearalenone order for barley with 101 tests on four kits and a total that does not match

The agent's request. Please quote Reveal Q+ kits for zearalenone on barley, 101 tests, 4 kits, with a Raptor Solo reader, ground shipping to the US, for a total of $3,832.00. It is ready to send.

Verdict: Blocked.

  • Commodity not covered by the kit. The chosen kit is not listed for the chosen commodity.
  • Too few kits for the tests. 101 test(s) need 5 kit(s) of 25 tests; the order has 4.
  • Stated total does not match. The order states a total of 383,200 cents; the listed prices give 378,200 cents.

4. Commodity, kits and total: The agent resubmits after fixing the errors

The agent's request. Please quote Reveal Q+ kits for zearalenone on corn, 101 tests, 5 kits, with a Raptor Solo reader, ground shipping to the US, for a total of $4,102.50. It is ready to send.

Verdict: Allowed.

  • Order summary. 5 kit(s), 0 extraction pack(s), goods 410,250 cents, discount 0 cents, shipping 0 cents, total 410,250 cents.

5. Large international order: A large international DON order with a Raptor reader and an 8 percent discount

The agent's request. Please quote Reveal Q+ kits for DON on wheat, 700 tests, 28 kits, with a Raptor reader, ground shipping to an international address, with an 8 percent discount, for a total of $10,740.08. It is ready to send.

Verdict: Needs approval.

  • Discount to approve. A discount of 8 percent is not on the public listing; a sales manager should approve it.
  • International shipment. International delivery of refrigerated kits needs export and cold-chain confirmation.
  • Large order. An order of 1,074,008 cents is above the limit that can be released without approval.
  • Order summary. 28 kit(s), 0 extraction pack(s), goods 1,167,400 cents, discount 93,392 cents, shipping 0 cents, total 1,074,008 cents.

6. Large international order: The agent resubmits after fixing the errors

The agent's request. Please quote Reveal Q+ kits for DON on wheat, 500 tests, 20 kits, with no new reader (the lab owns one), ground shipping to the US, for a total of $6,410.00. It is ready to send.

Verdict: Allowed.

  • Order summary. 20 kit(s), 0 extraction pack(s), goods 641,000 cents, discount 0 cents, shipping 0 cents, total 641,000 cents.

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 mycotoxin test kits: a toxin, a kit format, the commodity to be tested, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the Neogen Reveal Q+ and Reveal Q+ MAX kits and returns a verdict, every reason and the order total it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote Reveal Q+ MAX kits for fumonisin on peanuts, 120 tests, 3 kits, 2 extraction packs, with no reader. It is ready to send. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with five findings, all in one answer. There is no Reveal Q+ MAX kit for fumonisin in the listing; use Reveal Q+ for fumonisin. Reveal Q+ kits give quantitative results and need a Raptor reader; none is ordered or owned. 120 test(s) need 5 kit(s) of 25 tests; the order has 3. The other two are on screen.
  6. The validator returned five 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 order are checked against each other.
  7. What this shows: for a kit that exists in only some formats, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the kit to Reveal Q+, the commodity to corn, the reader to a Raptor Solo reader, the kits to 5, the discount to 0 percent and the total stated on the order to $4,102.50. It removes the extraction packs.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All five earlier findings are cleared.
  13. Five problems caught in one call, fixed in one pass, and a clean $4,102.50 order. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.