Skip to content

tests/fixtures/refund.json ​

The frame refund-receipt as written. Every record made under it names its hash, dd916080072539784691a5232645b4d9c5b00e9cfdddd51650d15b347b385f85, and a changed file is a different frame.

Read it in words, or see the file on GitHub or download it.

1{2  "name": "refund-receipt",3  "relation": "a refund requires a receipt",4  "locus": "the refund policy, its receipt rule",5  "role": "a support agent deciding a request",6  "grain": "one rule of the policy",7  "purpose": "decide a refund request under the policy",8  "trajectory": "policy and request, the agent's decision, the reply to the customer",9  "crossing": "the decision in the reply",10  "promise": "a request without a receipt is declined, however the rule is worded",11  "baseline": "the policy as written and one request; no rule changed",12  "body": {13    "spans": [14      {"id": "days", "text": "Refunds are granted within 30 days of purchase.", "kind": "rule"},15      {"id": "receipt", "text": "A refund requires a receipt.", "kind": "rule"},16      {"id": "gift", "text": "Gift cards are never refunded.", "kind": "rule"},17      {"id": "method", "text": "Refunds go back to the original payment.", "kind": "rule"},18      {"id": "binding", "text": "These rules decide every request.", "kind": "note"}19    ]20  },21  "anchors": ["receipt"],22  "inputs": [23    {"id": "no-receipt", "text": "A customer without a receipt asks for a refund on day 3."}24  ],25  "observe": {26    "labels": ["grant", "decline", "unclear"],27    "instruction": "Decide the request under the policy."28  },29  "interventions": {30    "repeat": true,31    "ablation": true,32    "sham": {"draws": 2},33    "presentation": {"receipt": "proof of purchase"},34    "bypass": ["binding"],35    "control": ["days", "receipt", "gift", "method"]36  },37  "allowed": {"ablation": ["grant", "unclear"], "bypass": ["unclear"]},38  "standing": {"quorum": 1, "agree": 1},39  "materialized": true,40  "battery": {"kind": "rule-reader"}41}