Predictika · covered hopper orders

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

An AI sales agent prepares an order for FreightCar America covered hopper cars: the car model, the cargo, the body material, the interior lining, the number of cars and the total capacity the order states. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of what each car can carry and how it can be ordered, and returns a verdict, every reason and the capacity figures it computed.

Scope: FreightCar America covered hopper orders: the six car models, cargo, body, interior lining, number of cars, finish and stated total capacity. See everything this validator covers

This validator models FreightCar America covered hopper orders, not just the scenarios shown below.

  • Model and cargo — the Small-Cube, 5200, 5200S, Extra-Capacity, Large-Cube and Plastic Pellet cars, and which cargo each can carry: dense cement and sand only in the Small-Cube car, plastic pellets only in the Plastic Pellet car.
  • Body and lining — steel, stainless or aluminum bodies and the interior lining, including the lining that pellets and corrosive bulk granules require and the aluminum body that abrasive cargo rules out.
  • Quantity and finish — a minimum of 10 cars, a custom exterior finish on fewer than 50 cars and an order of more than 200 cars both go to a person for approval.
  • Stated capacity and approvals — the total cubic feet the order states is compared with the number of cars times the capacity of the model, and an aluminum body on an Extra-Capacity, Large-Cube or Plastic Pellet car needs engineering approval.

Any covered hopper order that touches these rules is in scope — not only the scenarios pictured here. Brake system, draft system and load rating can be selected but carry no rules. Not covered: other FreightCar America car types, delivery scheduling and prices. Model names and capacities come from the public FreightCar America site; the compatibility, order-size and approval rules are modeled assumptions, not published by FreightCar America. No prices are modeled.

The AI sales agentBuilds the covered hopper order from the conversation with the customer 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
Cargo that only some car models may carryOnly with care
Dense cement and sand, plastic pellets and corrosive granules each depend on the model, the body and the lining, so every cargo needs its own rule that reads several choices.
The model, cargo, body and lining are in one request and checked together on every call.
A body material that rules out some cargo or needs engineering sign-offOnly with care
The aluminum body is refused for abrasive cargo and needs approval on three models, so the same option fires different rules depending on other choices.
Each combination is checked on every call, whatever order the choices arrived in.
Total capacity against cars times the model capacityOnly with workarounds
The capacity per car depends on the model, so a separate rule has to compute the total and compare it with the figure the order states.
The total is derived once from the model and the number of cars and compared with the stated figure.
Quantity thresholds and finish approvalsOnly with workarounds
The minimum order, the custom finish on small orders and the large-order review are separate rules that a rep meets one at a time.
All thresholds are checked together and every finding comes back in one answer.
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.

1The Small-Cube covered hopper is built for dense dry cargo such as cement and sand; grain, light agricultural products and plastic pellets need a larger-cube car.
2Plastic pellets need the Plastic Pellet car; the selected model is not a pellet car.
3Cement and sand are dense; a full load in a 5,200 cubic foot or larger car would exceed the load limit, so use the Small-Cube covered hopper.
4Plastic pellets are shipped in a lined car to avoid contamination; select the interior lining.
5An aluminum body is not suited to abrasive cement and sand loads; use a steel or stainless body.
6Bulk granules such as fertilizer and salt are corrosive; the car needs a stainless body or an interior lining.
7A covered hopper order is for at least 10 cars; the quote has 5.
8The quote states 560,000 cubic feet of total capacity, but 100 cars of the selected model total 520,000.
9The quote states 500,000 cubic feet of total capacity, but 100 cars of the selected model total 520,000.
10A custom exterior finish on an order of fewer than 50 cars needs sales management approval.
11An order of 250 cars is above 200 and needs capacity and delivery approval.
12An aluminum body on an extra-capacity, large-cube or pellet car needs engineering approval for the load rating.
13The quote states 30,000 cubic feet of total capacity, but 5 cars of the selected model total 28,500.

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. Cement and sand: Cement and sand in 5200 cars with an aluminum body

The agent's request. Please quote 100 FreightCar America 5200 covered hopper cars for Prairie Rail Leasing, carrying cement and sand, with an aluminum body and no interior lining. The order states 520,000 cubic feet of total capacity. It is ready to send.

Verdict: Blocked.

  • Dense cargo in a large-volume car. Cement and sand are dense; a full load in a 5,200 cubic foot or larger car would exceed the load limit, so use the Small-Cube covered hopper.
  • Aluminum body with abrasive cargo. An aluminum body is not suited to abrasive cement and sand loads; use a steel or stainless body.

2. Cement and sand: The agent resubmits after fixing the errors

The agent's request. Please quote 60 FreightCar America Small-Cube covered hopper cars for Prairie Rail Leasing, carrying cement and sand, with a steel body and no interior lining. The order states 196,800 cubic feet of total capacity. It is ready to send.

Verdict: Allowed.

  • Order summary. 60 cars of 3,280 cubic feet each, 196,800 cubic feet in total.

3. Plastic pellets: Plastic pellets in 5200S cars with interior paint

The agent's request. Please quote 40 FreightCar America 5200S covered hopper cars for Prairie Rail Leasing, carrying plastic pellets, with a steel body and interior paint. The order states 208,000 cubic feet of total capacity. It is ready to send.

Verdict: Blocked.

  • Plastic pellets need the Plastic Pellet car. Plastic pellets need the Plastic Pellet car; the selected model is not a pellet car.
  • Pellet car needs an interior lining. Plastic pellets are shipped in a lined car to avoid contamination; select the interior lining.

4. Plastic pellets: The agent resubmits after fixing the errors

The agent's request. Please quote 40 FreightCar America Plastic Pellet covered hopper cars for Prairie Rail Leasing, carrying plastic pellets, with a steel body and an interior lining. The order states 232,000 cubic feet of total capacity. It is ready to send.

Verdict: Allowed.

  • Order summary. 40 cars of 5,800 cubic feet each, 232,000 cubic feet in total.

5. Aluminum Large-Cube cars: Large-Cube aluminum cars with a stated total that is too high

The agent's request. Please quote 120 FreightCar America Large-Cube covered hopper cars for Prairie Rail Leasing, carrying grain, with an aluminum body and no interior lining. The order states 700,000 cubic feet of total capacity. It is ready to send.

Verdict: Blocked.

  • Stated capacity differs from the quote. The quote states 700,000 cubic feet of total capacity, but 120 cars of the selected model total 684,000.
  • Aluminum body on a large-cube car. An aluminum body on an extra-capacity, large-cube or pellet car needs engineering approval for the load rating.

6. Aluminum Large-Cube cars: The agent resubmits after fixing the errors

The agent's request. Please quote 120 FreightCar America Large-Cube covered hopper cars for Prairie Rail Leasing, carrying grain, with an aluminum body and no interior lining. The order states 684,000 cubic feet of total capacity. It is ready to send.

Verdict: Needs approval.

  • Aluminum body on a large-cube car. An aluminum body on an extra-capacity, large-cube or pellet car needs engineering approval for the load rating.
  • Order summary. 120 cars of 5,700 cubic feet each, 684,000 cubic feet in total.

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 FreightCar America covered hopper cars: the car model, the cargo, the body material, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of what each car can carry and how it can be ordered, and returns a verdict, every reason and the capacity figures it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote 100 FreightCar America 5200 covered hopper cars for Prairie Rail Leasing, carrying cement and sand, with an aluminum body and no interior lining. The order states 520,000 cubic feet of total capacity. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with two findings, all in one answer. Cement and sand are dense; a full load in a 5,200 cubic foot or larger car would exceed the load limit, so use the Small-Cube covered hopper. An aluminum body is not suited to abrasive cement and sand loads; use a steel or stainless body.
  6. The validator returned two 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 cargo that only some car models may carry, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the car model to Small-Cube, the body to steel, the cars to 60 and the stated total capacity to 196,800 cubic feet.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. Both earlier findings are cleared.
  13. Two problems caught in one call, fixed in one pass, and a clean order. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.