Skip to content

Privacy and preparation

Ecommerce bundle compatibility dataset: when items fail as a set

By SourceX Editorial · Reviewed by Noah Loul ·

9 sections

Short answer

Test bundle constraints as tasks, not pairs: every pair in a failing bundle can pass. An ecommerce bundle compatibility dataset records each bundle decision with its starting state frozen at order time (catalog version, components and quantities, stock by source, promotion rule), the cross-product constraint and its rule text, the decision a correct agent should make, and the order outcome that proves it, paired with a counterexample.

License terms

Ecommerce bundle

This page covers ecommerce bundle compatibility dataset: when items fail as a set.Illustrative

Key takeaways

  • Bundle constraints pass per item and fail only in combination, so pairwise compatibility data cannot reveal them.
  • Commerce platforms already encode bundle-level rules, such as minimum component stock and same-source shipping, that can be exported with their versions.
  • Freeze catalog, stock and promotion state at decision time; current values rewrite history.
  • Grade on the order outcome, using return reasons that name the clash, not on the agent's reply.
  • Pair every task with a counterexample where exactly one fact differs.

How do you test constraints that fail only when retail items are bundled?

Test them as tasks, not as pairs. A bundle constraint is a rule that holds for each item on its own and breaks only for the combination: two parts that each fit the chassis but not together, components that are each in stock but in different warehouses for a ship-together order, a quantity that the bundle multiplies past what is on hand. Pairwise compatibility data cannot show that failure, because every pair passes.

An ecommerce bundle compatibility dataset therefore needs one record per bundle decision with four parts: the starting state (catalog version, components and quantities, stock and source snapshot, promotion rules in force), the cross-product constraint under test with its rule text, the decision a correct agent should make, and the outcome the order history proves. The outcome is what grades the agent, not whether its reply sounded right.

The sections below show where these constraints already sit in real commerce platforms, a constraint taxonomy, the field-level task specification, an illustrative worked case with its counterexample, and the review steps before order histories leave the company.

Where do bundle-level constraints already live in commerce systems?

Most commerce platforms already encode some bundle-level rules, which is where a task set should start because the rule text and its version can be exported. Each rule below holds for the bundle as a whole and is invisible if you only look at one item.

Where do bundle-level constraints already live in commerce systems?
SystemBundle-level rule (per its documentation)Why per-item checks miss it
Shopify fixed bundlesThe parent bundle's inventory is the minimum of its components' inventory; a bundle can have up to 30 components and nested bundles are not supportedEvery component can show stock while the bundle cannot be sold in the quantity requested
Adobe Commerce bundle productsIf bundle items ship together, all items must be assigned the same inventory source; a bundle goes out of stock when products tied to a required option are out of stockItems stocked in different sources pass individually and fail a ship-together order
Adobe Commerce pricing and taxDynamic pricing taxes each bundle item; fixed pricing taxes the whole bundleThe same items produce a different tax treatment depending on the bundle setting
Google Merchant Centeris_bundle marks a merchant-defined bundle with a clear main product; the bundle uses the main product's GTIN, MPN and brandA listing can be valid per item and rejected or mismatched as a bundle
GS1 GTIN Management StandardChanging, adding or replacing an item in a predefined assortment requires a new GTINA component swap silently creates a different trade item
Salesforce CPQ product rulesProduct rules, such as validation rules with a condition and an error message, check configured bundles for invalid product combinationsRules evaluate the configuration, so the record of which rule fired matters more than the line items

Which kinds of cross-product constraint belong in the task set?

Include a constraint type only when your records can show both the rule and an outcome that proves whether it held. The taxonomy below covers the families that appear in real retail operations. schema.org gives a shared vocabulary for some of them: isAccessoryOrSparePartFor and isConsumableFor point from one product to the products it serves, which is useful for labeling the pairwise layer that bundle tasks build on.

Which kinds of cross-product constraint belong in the task set?
Constraint familyFails as a bundle whenEvidence neededTypical outcome record
Physical fitCombined dimensions or clearances exceed a shared limitSpec sheet values per item, the shared limit, catalog versionReturn reason, exchange, support ticket
Shared capacityCombined draw, load or volume exceeds one component's ratingRatings per item, the capacity component's ratingReturn reason, warranty claim
Quantity ratioBundle quantity times component quantity exceeds stockComponent quantities, stock snapshot with timestampBackorder, partial cancellation
Fulfillment sourceShip-together items sit in different locationsSource assignment per item, fulfillment ruleSplit shipment, cancellation, delay
Promotion eligibilityA bundle offer and an item offer cannot both applyPromotion rule text and version, order discount linesPrice adjustment, customer service credit
IdentityA component substitution makes the bundle a different trade itemComponent list version, GTIN per versionListing disapproval, catalog correction
Configuration ruleA configurator rule blocks or requires an optionRule definition, which rule fired, user overrideQuote revision, approval record

The compatibility and cross-product constraint task set

Each task in the set is one bundle decision with its evidence frozen at the time it was made. Real records are referenced by tokenized IDs; illustrative tasks say so in a label field. Use this as a column specification for the export and as the acceptance checklist for each task.

At a glance

The compatibility and cross-product constraint task set

The compatibility and cross-product constraint task set
FieldWhat it holdsFormatCheck before accepting the task
Task ID and labelStable task key and real or illustrative flagToken plus real or illustrativeLabel present on every task
Catalog snapshotCatalog version or timestamp the decision usedVersion ID or ISO timestampMatches the order date, not today
ComponentsEach component SKU or GTIN with quantity in the bundleList of identifier and quantity pairsQuantities sum to what the order line shows
State snapshotStock per component and source, captured as-of the decisionPer-source counts with timestampTimestamp precedes the decision
Constraint under testFamily, rule text and rule versionFamily code, verbatim rule, versionRule existed at the snapshot time
Per-item checksResult of each item's own compatibility checkPass or fail per item with referenceAll pass, or the task is not a bundle-only failure
Expected decisionWhat a correct agent should doBlock, substitute, split, warn or allow, with reasonReason cites the constraint, not a guess
Verified outcomeWhat the order history shows happenedFulfillment state, return or exchange reason, ticket outcomeOutcome record linked by token
CounterexampleA paired task where the same items pass because one fact differsTask ID of the pair and the differing factExactly one fact differs

Worked case (illustrative): three PC parts that each fit, and a build that does not

This case is invented to show the structure; it is not drawn from a real retailer, and every quantity is illustrative. A retailer sells a prebuilt-parts bundle: a compact case, a graphics card and a front-mounted liquid cooler. Each item has a compatibility flag against the case: the card's length is within the case's maximum card length, and the cooler's radiator size is a supported front mount.

The combination fails. The case's spec sheet notes that maximum card length drops when a front radiator is installed, because the radiator and fans take space in the same bay. The retailer's records show several orders of this exact bundle followed by returns coded as incompatible, and support tickets describing the same clash.

What makes this a usable task is that every piece of evidence is a record, not a judgment made today. The spec sheet revision is the one published when the orders were placed, the per-item flags are the ones the storefront showed, and the outcome is the return code and ticket text. An annotator only adds the link between them and the counterexample.

  • Starting state: catalog snapshot at order time; components case, card and cooler, quantity 1 each; all three in stock at one source.
  • Constraint under test: physical fit, rule text from the case spec sheet on reduced card clearance with a front radiator, spec sheet revision recorded.
  • Per-item checks: case and card pass; case and cooler pass.
  • Expected decision: block the bundle as configured, or substitute a shorter card or a top-mounted cooler, citing the clearance rule.
  • Verified outcome: order lines, return records coded incompatible within the return window, and the linked support ticket.
  • Counterexample: the same bundle with a rear or top radiator option passes; the only differing fact is the mount position, and the order history shows delivery with no return.
  • Second failure to record separately: when the retailer offered a two-card variant, available bundle quantity was limited by card stock divided by two, which the storefront overstated until the quantity rule was corrected.

How do you grade the shipped outcome instead of the agent's reply?

Grade the agent on what happened to the order, not on whether its reply was plausible. A reply that says the parts are compatible, followed by a return coded incompatible, is a failure even if every sentence matched the product pages. A reply that blocks the bundle is only correct if the counterexample shows the alternative would have shipped without a return.

That requires linking records most retailers keep in separate systems: order lines, fulfillment events, returns or RMA reason codes, and support tickets. Keep the link by token, and keep the time between order and outcome, because a return weeks later for a different reason is not evidence about compatibility.

Return reason codes are often coarse, so confirm a sample by reading the linked tickets before trusting a code across the whole set. If incompatible is also used for wrong item shipped, split the code or drop the affected tasks; a noisy outcome label teaches the agent to block bundles that were fine.

  • Shipped complete and no compatibility-coded return or ticket within the return window: the constraint held.
  • Return or exchange coded incompatible, or a ticket naming the clash: the constraint failed.
  • Split shipment, partial cancellation or backorder on a ship-together order: a fulfillment or quantity constraint failed.
  • Return for a changed mind, damage in transit or a late delivery: not a compatibility outcome; exclude from grading or label as noise.
  • No outcome record: the task cannot be graded and should not enter the set.

Which catalog, stock or promotion change makes yesterday's answer wrong?

Any change to a component, a stock count or a promotion rule after the decision makes the current catalog the wrong evidence. Retail data is overwritten constantly: products are revised, stock moves between sources, and promotions start and end. A task rebuilt from current values will often show a bundle as valid that failed at the time, or the reverse.

Identifier changes are the clearest example. Under the GS1 GTIN Management Standard, changing, adding or replacing an item in a predefined assortment requires a new GTIN, so a bundle whose component was swapped is a different trade item, and its tasks must not be merged with the earlier version's. Platform settings matter in the same way: in Adobe Commerce, child products are assigned to and removed from a bundle globally across websites and store views, so one catalog edit can change the bundle everywhere at once.

  • Freeze the catalog version, component list and rule text at decision time and store them with the task.
  • Record stock per source with a timestamp before the decision; discard snapshots taken after it.
  • Store the promotion rule version that applied to the order, not the current offer.
  • Record customer edits to the order after placement as separate events, so a customer-made change is not read as an agent decision.

What has to be settled before order and catalog records are licensed?

Order histories hold customer names, addresses and payment references, so privacy review comes first, and it is a different question from who owns the records. Tokenize customers consistently across orders, returns and tickets so the links survive; strip free-text fields in tickets and return comments separately, because customers paste addresses and order numbers into them.

Rights are a further question. Marketplace sales data may be governed by the marketplace's seller terms, and manufacturer spec sheets and images can carry their own copyright, separate from the retailer's own catalog fields. Being able to export a record does not settle whether you may license it. Counsel should review marketplace and supplier agreements before scoping.

Licensing bundle and order histories through SourceX

Retailers whose order histories capture real bundle failures can license them through SourceX, which takes care of rights review, contracting, preparation and delivery. No record leaves until the retailer has approved scope and terms and signed, and exports in the terabytes stay on the retailer's own storage or are shipped on an encrypted drive, never hosted by SourceX. A retailer learns whether it is a fit from a short assessment, before sharing any order data.

Frequently asked questions

What is the difference between product compatibility data and bundle compatibility data?

Product compatibility data records whether two items work together, such as an accessory and the product it fits. Bundle compatibility data records whether a set of items works as a whole under a shared limit, stock rule or fulfillment rule. Every pair in a failing bundle can pass.

Do I need real order outcomes, or can rules alone build the task set?

Rules alone produce plausible tasks with unverified answers. The order outcome is what shows whether the rule actually decided what happened. Use rule-only tasks only when labeled as illustrative.

How do I stop a model from learning from bundles that changed later?

Freeze the catalog version, component list, stock snapshot and promotion rule at decision time and store them with each task. Treat a component swap as a new bundle version, consistent with GS1's rule that a changed assortment gets a new GTIN.

Which return reasons count as compatibility failures?

Only reasons that name the clash, such as incompatible or does not fit, ideally confirmed by a linked support ticket. Changed-mind, damaged and late-delivery returns are not compatibility outcomes and should be excluded or labeled as noise.

Why include a counterexample with every task?

A counterexample where one fact differs and the bundle ships cleanly shows the agent which fact decided the outcome. Without it, a model can learn to block every bundle that looks similar.

Sources

  • Shopify's bundle documentation says a fixed bundle's parent inventory is the minimum of its components' inventory quantities. Source
  • Shopify's variant fixed bundle guide says a bundle can have up to 30 components and nested bundles are not supported. Source
  • Adobe Commerce documentation says ship-together bundle items must share an inventory source, describes when a bundle goes out of stock, says dynamic pricing taxes each bundle item while fixed pricing taxes the whole bundle, and says child products are assigned to and removed from a bundle globally for all websites, stores and store views. Source
  • Google Merchant Center's is_bundle attribute marks a merchant-defined bundle built around a main product, which supplies the bundle's GTIN, MPN and brand. Source
  • The GS1 GTIN Management Standard requires a new GTIN when an item in a predefined assortment is changed, added or replaced. Source
  • Salesforce CPQ documentation describes product rules, including validation rules with a condition and an error message, that check for invalid product combinations. Source
  • schema.org defines isAccessoryOrSparePartFor and isConsumableFor as pointers from a product to the products it serves. Source

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies