Systems and records
Support alternative resolution dataset: keep the ask beside the fix
By SourceX Editorial · Reviewed by Noah Loul ·
9 sections
Short answer
A support alternative resolution dataset has to keep the customer's requested fix beside the fix delivered, plus the verified problem, who held the right to choose the remedy, and whether the substitute held up. Most systems keep only the outcome: of four open-source commerce platforms read at pinned commits, only Solidus stores a requested remedy apart from the applied one, and none records why staff substituted another.
License terms
Support alternative
Key takeaways
- An alternative fix is correct only when the problem is verified, the substitute meets the need at least as well, the rules allow it and the customer chose it knowing their options.
- EU and UK consumer law give the customer the choice between repair and replacement within limits, so who held the choice must be a field, not an inference.
- Of four open-source commerce platforms, only Solidus keeps a requested remedy beside the applied one, and none stores why a substitute was chosen.
- By default, Solidus switches refunds to store credit once a shipment is more than 90 days old, so a credit row alone cannot show whether a customer asked for it.
- Grade alternatives on six tests, and treat customer acceptance as evidence of what was offered, not of what was right.
When is a different fix the right resolution?
A different fix is right when the problem is real and verified, the remedy the customer asked for is unavailable, disallowed or worse at solving it, and the substitute meets the actual need at least as well. That last test is the one transcripts rarely prove. A customer who asks for a refund on headphones with a dead earbud needs working audio or their money back; a replacement may serve them, while credit at a store they never visit may not.
Three situations produce most legitimate substitutions. The requested remedy may be outside the rules, such as a refund to the original card after the refund window. It may be disproportionate, such as replacing a whole appliance to fix a cosmetic scratch. Or it may miss the cause, such as cancelling a subscription to escape a billing error that a correction would fix. In each case the record has to show the ask, why it was not granted, the alternative and whether the customer heard what they could insist on.
A dataset that captures only the final action teaches the wrong lesson. It sees store credit where the customer asked for cash and cannot tell a justified substitution from steering, so a model trained on it learns to substitute whenever substitution is cheaper.
Who gets to choose the remedy: four rulebooks compared
Whether an agent may offer a different fix depends first on who holds the choice, and consumer law often gives it to the customer. Under Article 13 of Directive (EU) 2019/771, as enacted in 2019, the consumer chooses between repair and replacement unless the chosen remedy is impossible or would impose disproportionate costs on the seller compared with the other; price reduction or termination follows if those fail. Section 23 of the UK Consumer Rights Act 2015 lets a consumer require repair or replacement, carried out within a reasonable time and without significant inconvenience, but not a remedy that is impossible or disproportionate.
In the United States the federal floor applies to written warranties designated full. Under 15 U.S.C. 2304, part of the Magnuson-Moss Warranty Act, the warrantor must remedy a defect without charge within a reasonable time, and if the product still fails after a reasonable number of attempts, the consumer elects a refund or a replacement. A store policy can be more generous than any of these, but where a statute gives the customer the choice, an agent's alternative is an offer the customer may decline, not a substitution the agent may impose.
That becomes a field. Each case needs a label for who held the choice, because a model trained on cases where agents overrode a customer's statutory choice learns a habit the law does not allow. This is a summary of published statutes for dataset design; how they apply to a product, a market and a date is for counsel.
Who chooses, and what the dataset must record, under each rulebook:
| Rulebook | Who chooses the remedy | When the business may steer elsewhere | Field the dataset needs |
|---|---|---|---|
| EU Directive 2019/771, Article 13, as enacted | The consumer, between repair and replacement | The chosen remedy is impossible or disproportionately costly next to the other | Remedy chosen, remedy refused, proportionality reason |
| UK Consumer Rights Act 2015, section 23 | The consumer may require repair or replacement | The required remedy is impossible or disproportionate | Remedy required, refusal reason, time taken |
| US full written warranty, 15 U.S.C. 2304 | Warrantor repairs; consumer elects refund or replacement after repeated failure | Before a reasonable number of repair attempts has failed | Attempt count, defect, consumer election |
| Store policy beyond the law | The business, within what the law requires | Whenever the policy allows, if described truthfully | Policy version, offer made, customer reply |
What four commerce platforms keep when the remedy changes
Most keep the outcome and lose the ask. We read the data models of four open-source commerce platforms at pinned commits and checked four things: a structured reason for the return or claim, a field for the remedy the customer sought kept apart from the remedy applied, the remedy applied, and a field explaining why staff changed or declined it.
All four store a reason and an outcome. Only Solidus keeps a preferred reimbursement type beside an override type on each returned item, the closest thing to an ask and a decision side by side, and it has no column for why the override happened. Spree's main branch passes a claim's resolution in at the moment the claim is resolved, so the record holds the outcome with no field for what the customer asked, and a denied claim keeps a timestamp and a free-text memo. Medusa records who requested an order change and a free-text reason when one is declined, which covers refusals but not substitutions. Saleor attaches a reason, as text or a link to a reason page, to the refund it grants.
Counting rule, as the script applies it: a capability counts only when the cited model or migration file contains the cited identifier at the commit read; the script prints each matching line and confirms that no request field exists where the table says no. Free-text memos count as text, not as a field.
What each platform's data model keeps:
| Platform and commit | Reason recorded | Ask kept apart from outcome | Why the remedy changed |
|---|---|---|---|
| Solidus, 6f5b2b9 | Return reason on each returned item | Yes: preferred and override reimbursement types | No field; the authorization memo is free text |
| Spree main branch, e22669b | Return, exchange and claim reasons, managed by the store | No: a claim's resolution is set when it is resolved | Memo text; a denied claim keeps only a timestamp |
| Medusa, ca881e5 | Return reason per item; claim reasons missing item, wrong item, production failure, other | No: claim type is refund or replace | Declined reason and internal note on order changes |
| Saleor, 487885d | Text or a reason-page link on fulfillments and granted refunds | No | Free-text reason on the granted refund |
The 90-day rule that swaps a refund for store credit
Solidus shows a policy rule choosing the alternative in code, the case a dataset most needs to keep apart from a person's judgment. Its reimbursement engine, at the commit read, sets a refund time constraint of 90 days measured from shipment and an expired reimbursement type of store credit, so, unless staff set a type, a return that would have gone back to the original payment method gets store credit once the shipment is older than that.
Read from the database alone, a store credit row cannot say whether the customer asked for it, accepted it as an alternative or received it because a timer ran out. The preferred type helps only when staff entered one, and the override carries no explanation. For a training set, the engine's rule is the policy and belongs in the packet as a rule reference with its version and evaluation date; the customer's ask lives in the conversation, which therefore has to be linked to the return.
The engine applies its rules in a fixed order, and the order decides what the data can show:
- If the returned item requires an exchange, the reimbursement is an exchange.
- If staff set an override type, the override wins, and no reason is stored with it.
- If a preferred type is set, it is used only while valid: within 90 days of shipment, or when the preferred type is already store credit. Otherwise the engine assigns no type and the item waits for a person.
- If nothing is set and the shipment is more than 90 days old, the item gets store credit.
- Otherwise the money goes back to the original payment method.
Decision packet: headphones that failed in month five
The packet keeps the ask, the verified problem, the governing rule and the outcome as separate fields, so a grader can see whether the substitute was justified without reading the whole chat. The case is illustrative and set in the UK so that section 23 of the Consumer Rights Act 2015 applies; it is not a real customer.
At a glance
Decision packet: headphones that failed in month five
Packet fields:
- Ask: a refund for wireless headphones bought five months earlier, because the left earbud has stopped charging.
- Verified problem: a charging test and photos confirm a fault in normal use; no damage on record.
- Underlying need: working headphones before a trip in two weeks, stated by the customer in the second message.
- Who held the choice: the customer, between repair and replacement under section 23, with the store's rule reference for why a refund was not the remedy on that date.
- Options offered: a replacement shipped within two days, or a repair with a loaner pair; the reply said the customer could pick either.
- Alternative chosen: replacement, accepted in writing.
- Why the ask was not granted: stored as a structured reason code with the rule version, not as memo text.
- Resulting state: replacement delivered; the original pair returned and logged as defective.
- Durability check: no new contact, return or payment dispute on the order within 60 days.
- Counterfactual twin: the same fault where the replacement also fails; the customer's further remedies now apply, and offering a second replacement as the only option fails the rubric.
Rubric: six tests for an alternative resolution
Grade the alternative against the need and the rules, not against how the chat ended. The six tests are independent, and a reply that fails any one of them is not a correct alternative resolution.
The six tests:
| Test | Pass | Fail | Record that decides it |
|---|---|---|---|
| Problem verified | Fault or error confirmed before any remedy is discussed | Remedy offered on the customer's description alone | Diagnostic, order or billing record |
| Need identified | The reply names what the customer needs fixed | Answers only the literal ask, or ignores it | Conversation turn reference |
| Choice respected | Customer told which remedies they may require, and offered them | A statutory or policy choice replaced without saying so | Rule reference and offer text |
| Alternative fits | The substitute meets the need at least as well as the ask | Cheaper for the business and worse for the need | Need field against the outcome |
| Informed acceptance | Customer accepts after hearing the options | Acceptance won by leaving out the option they asked for | Offer and reply turns |
| Outcome held | No repeat contact, return or dispute within the window | Customer comes back for the original remedy | Linked later contacts and payments |
Accepted is not the same as resolved
Acceptance proves only that the customer said yes to what was on the table. If the agent never mentioned the remedy the customer could require, the yes is evidence of what was offered, not of what was right, and a model trained on accepted alternatives learns to make the narrowest offer that ends the chat.
Closure and a polite thank-you share the weakness. The durable test is behavioral and sits outside the conversation: did the customer return for the original remedy, send the substitute back, dispute the payment or leave the store credit unspent? Those answers live in the order, payment and ticket systems, and they need an observation window chosen per issue type before any label is assigned.
This is also where a flattering dataset can mislead. In a hypothetical queue where most customers accept the first alternative, the high rate could mean good offers or uninformed customers; only the choice-respected field separates the two.
Testing on held-out pairs where the original ask was right
Test whether the model substitutes only when it should by pairing every justified alternative with a near-identical case where the customer's ask should have been granted. Change one fact per pair: the purchase date against a refund window, the number of failed repairs, whether the requested remedy is disproportionate, or whether the customer's market gives them the choice.
Hold out whole product families and policy versions rather than random conversations, so the model cannot memorize one store's habits. A fixed rule keeps the split reproducible, for example sending a product family to the test set when the SHA-256 hash of its identifier ends in the hex digit 0 or 1. Report over-substitution, an alternative pushed when the ask was due, and under-substitution, the ask granted when it was unavailable or disproportionate, as separate rates.
Over-substitution carries the larger downside because it overrides a right, while under-substitution mostly costs money. A model with good overall accuracy can still err in the expensive direction, which a single score will hide.
Limits, and the fields to request from a supplier
The platform audit reads data models, not production databases. Stores customize these schemas, add fields and fill memos with useful text, so absence from a default model means only that nobody can rely on the field. Spree's main branch was read while its 6.0 returns model was still in development, and the legal comparison summarizes statutes as published rather than advising on any case.
A dataset that supports alternative-resolution training links each case to the ask in the customer's words, the verified problem, the rule and version that governed the remedy, who held the choice, every option offered, the option taken and why the ask was refused, the resulting state in the order or billing system, and contacts and payments for a fixed window afterward.
SourceX sources records like these to order instead of selling finished datasets from a shelf: the buyer sets out scope, volume, language, format, timing and licensing needs, and SourceX takes the supplying company through qualification, rights review, contracting and preparation. Put the six-test rubric in the request as the acceptance check, so the supplier knows which links must survive preparation.
Frequently asked questions
What is an alternative resolution in customer support?
It is a fix that differs from the one the customer asked for, such as a replacement instead of a refund or a billing correction instead of a cancellation. It is correct only when the problem is verified, the substitute meets the need at least as well, the rules allow it and the customer chose it knowing their options.
Can an AI support agent offer store credit instead of a refund?
It can offer it, and it can apply it where the policy and the law leave the choice to the business. Where a statute or the store's own policy gives the customer the choice, the agent has to present the remedy the customer may require alongside the alternative. Counsel should confirm which situation applies to each product and market.
Which fields does an alternative resolution dataset need?
At minimum: the ask in the customer's words, the verified problem, the governing rule and version, who held the choice, the options offered, the option taken, the reason the ask was refused, the resulting state and a durability window. Without the ask and the reason, a store credit row cannot be told apart from steering.
Why isn't customer acceptance enough to label an alternative correct?
A customer can only accept what is offered. If the agent left out a remedy the customer could have insisted on, acceptance records the offer, not the right answer. Check whether the options were disclosed and whether the customer later came back for the original remedy.
Can a seller refuse the remedy a customer picks?
Under the EU directive and the UK Consumer Rights Act, yes, in limited cases: when the chosen remedy is impossible or disproportionate compared with the other. Record that limit as a structured reason in the case, because it is exactly what makes the substitution legitimate.
Sources
- Article 13 of Directive (EU) 2019/771 lets the consumer choose between repair and replacement unless the choice is impossible or disproportionately costly compared with the other remedy. Source
- Section 23 of the UK Consumer Rights Act 2015 requires repair or replacement within a reasonable time and bars a consumer from requiring a remedy that is impossible or disproportionate. Source
- 15 U.S.C. 2304 requires a full-warranty remedy without charge within a reasonable time and lets the consumer elect a refund or replacement after a reasonable number of failed attempts. Source
- Solidus stores preferred and override reimbursement types on each return item, and its reimbursement engine assigns store credit by default once a shipment is more than 90 days old. Source
- Spree's main branch sets a claim's resolution when the claim is resolved and keeps a denial timestamp and memo but no denial reason column. Source
- Medusa records a claim type of refund or replace, return and claim reasons, and a declined reason on order changes. Source
- Saleor attaches a free-text reason or reason page to fulfillments and granted refunds and has no field for the remedy requested. Source
Tell us what data you need
Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.