bucket stringclasses 8
values | case_id stringlengths 10 10 | ground_truth dict | input dict | messages listlengths 3 3 | prompt stringlengths 1.9k 2.84k | request_fingerprint stringlengths 64 64 | response stringlengths 294 878 | source stringclasses 2
values | source_line int64 1 1.32k |
|---|---|---|---|---|---|---|---|---|---|
ROUND_HALF_UP_BOUNDARY | SFT_000841 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 78116,
"primary_channel_id": "APPLE_WALLET_NFC_4197",
"primary_deduct_amount": 78116,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 11673
},
"error_message... | {
"available_channels": [
{
"balance": 751416,
"channel_id": "UNIONPAY_QUICK_PASS_8121"
},
{
"balance": 269367,
"channel_id": "APPLE_WALLET_NFC_4197"
},
{
"balance": 653926,
"channel_id": "WALLET_MEITUAN_CASH_7370"
},
{
"balance": 775903,
"ch... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 97154ece17a905f693f6a0c71ae648dd873f0c437ffba3d48e77831e8ee8df66 | <think>
Selected APPLE_WALLET_NFC_4197: promos=PROMO_PCT_1., discount=11673, payable=89789; Split: primary=78116, secondary=null; Recommend: UNIONPAY_QUICK_PASS_8121 (discount=11673)
</think>
{"order_id":"ORD_0010840","order_amount":89789,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"APPLE_WALLET_NFC_4197... | base_sft | 841 |
TIE_BREAKER | SFT_000591 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_UNIVERSAL_EQUAL_1"
],
"payable_amount": 19,
"primary_channel_id": "CREDIT_BAITIAO_PLUS_3297",
"primary_deduct_amount": 19,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 10
},
"error_m... | {
"available_channels": [
{
"balance": 116,
"channel_id": "UNIONPAY_QUICK_PASS_2737"
},
{
"balance": 116,
"channel_id": "WALLET_MEITUAN_CASH_9836"
},
{
"balance": 116,
"channel_id": "REWARD_POINTS_VIP_6329"
},
{
"balance": 116,
"channel_id": ... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 43d3f8b0e50259bdc704eb95f80d2a0175c1ca67044b50246fbe5fe9774a82b3 | <think>
Selected CREDIT_BAITIAO_PLUS_3297: promos=PROMO_UNIVERSAL_EQUAL_1., discount=10, payable=29; Split: primary=19, secondary=null; Recommend: UNIONPAY_QUICK_PASS_2737 (discount=10)
</think>
{"order_id":"ORD_0010590","order_amount":29,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"CREDIT_BAITIAO_PLUS_3... | base_sft | 591 |
RECOMMEND_SWITCH | SFT_000500 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_SMALL_1"
],
"payable_amount": 40291,
"primary_channel_id": "REWARD_POINTS_VIP_2322",
"primary_deduct_amount": 40291,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 1246
},
"error_messa... | {
"available_channels": [
{
"balance": 80504,
"channel_id": "BANK_CMB_GOLD_6659"
},
{
"balance": 55109,
"channel_id": "BANK_ABC_EXPRESS_6944"
},
{
"balance": 64748,
"channel_id": "REWARD_POINTS_VIP_2322"
},
{
"balance": 47196,
"channel_id": "... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 3125abaad65876b5d5ee99ff6b0bc95a67d252c104f46b92bc8697b3e84aaaa3 | <think>
Selected REWARD_POINTS_VIP_2322: promos=PROMO_SMALL_1., discount=1246, payable=41537; Split: primary=40291, secondary=null; Recommend: CREDIT_ANT_HUABEI_3093 (discount=9699)
</think>
{"order_id":"ORD_0010499","order_amount":41537,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"REWARD_POINTS_VIP_2322... | base_sft | 500 |
RECOMMEND_SWITCH | SFT_001186 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_SMALL_1"
],
"payable_amount": 78618,
"primary_channel_id": "WALLET_JD_PAY_9146",
"primary_deduct_amount": 6212,
"secondary_channel_id": "APPLE_WALLET_NFC_5448",
"secondary_deduct_amount": 72406,
"total_discount_amount": 2431
... | {
"available_channels": [
{
"balance": 697369,
"channel_id": "APPLE_WALLET_NFC_5448"
},
{
"balance": 10975,
"channel_id": "REWARD_POINTS_VIP_7390"
},
{
"balance": 102676,
"channel_id": "BANK_PINGAN_PAY_9453"
},
{
"balance": 6212,
"channel_id"... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | be81e48ba044c2c6cef68151d3c1c6e0163caa62a9e0f30b7d27434e070d7e99 | <think>
Selected WALLET_JD_PAY_9146: promos=PROMO_SMALL_1., discount=2431, payable=81049; Split: primary=6212, secondary=APPLE_WALLET_NFC_5448(72406); Recommend: WALLET_ALIPAY_PLUS_3264 (discount=23102)
</think>
{"order_id":"ORD_0011185","order_amount":81049,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"W... | base_sft | 1,186 |
SINGLE_CHANNEL_NORMAL | SFT_000887 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_FIXED_1",
"PROMO_CH_2"
],
"payable_amount": 22060,
"primary_channel_id": "GIFT_VOUCHER_CARD_9468",
"primary_deduct_amount": 22060,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 4517... | {
"available_channels": [
{
"balance": 79731,
"channel_id": "GIFT_VOUCHER_CARD_9468"
},
{
"balance": 47142,
"channel_id": "BANK_COMM_PAY_2579"
},
{
"balance": 29211,
"channel_id": "BANK_CMB_GOLD_5487"
},
{
"balance": 144555,
"channel_id": "CR... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | f7e5538ed2a3d0667bcacdc65d7ee6f46e760f781559676cee8d4937fe4df88a | <think>
Selected GIFT_VOUCHER_CARD_9468: promos=PROMO_FIXED_1, PROMO_CH_2., discount=4517, payable=26577; Split: primary=22060, secondary=null; Recommend: GIFT_VOUCHER_CARD_9468 (discount=4517)
</think>
{"order_id":"ORD_0010886","order_amount":26577,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"GIFT_VOUCH... | base_sft | 887 |
ROUND_HALF_UP_BOUNDARY | SFT_000325 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_CENTS_2"
],
"payable_amount": 0,
"primary_channel_id": "WALLET_WECHAT_PAY_1700",
"primary_deduct_amount": 0,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 29
},
"error_message":... | {
"available_channels": [
{
"balance": 20,
"channel_id": "BANK_PINGAN_PAY_8019"
},
{
"balance": 44,
"channel_id": "DIGITAL_RMB_WALLET_8899"
},
{
"balance": 29991,
"channel_id": "BANK_ICBC_DEBIT_4017"
},
{
"balance": 2,
"channel_id": "CREDIT_B... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | c1c5ff53413ee1f530c5b4bc935a88bba6a95b2d1ec6f923d2c82a39319141a7 | <think>
Selected WALLET_WECHAT_PAY_1700: promos=PROMO_STACK_CENTS_2., discount=29, payable=29; Split: primary=0, secondary=null; Recommend: BANK_PINGAN_PAY_8019 (discount=29)
</think>
{"order_id":"ORD_0010324","order_amount":29,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"WALLET_WECHAT_PAY_1700","primary... | base_sft | 325 |
ROUND_HALF_UP_BOUNDARY | AUG_000161 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 60988,
"primary_channel_id": "BANK_CMB_GOLD_8268",
"primary_deduct_amount": 60988,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 9113
},
"error_message": n... | {
"available_channels": [
{
"balance": 1763,
"channel_id": "PAYPAL_GLOBAL_DIRECT_6549"
},
{
"balance": 0,
"channel_id": "BANK_PINGAN_PAY_9856"
},
{
"balance": 210303,
"channel_id": "BANK_CMB_GOLD_8268"
},
{
"balance": 112743,
"channel_id": "B... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 9f48832d23b7a6d51a9304a2d565f8abd912c9736d54f4e791ff830c6514c3ec | <think>
Selected BANK_CMB_GOLD_8268: promos=PROMO_PCT_1., discount=9113, payable=70101; Split: primary=60988, secondary=null; Recommend: PAYPAL_GLOBAL_DIRECT_6549 (discount=9113)
</think>
{"order_id":"ORD_0900160","order_amount":70101,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"BANK_CMB_GOLD_8268","prim... | hard_augmentation | 161 |
SPLIT_PAYMENT | AUG_000511 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_1"
],
"payable_amount": 17123,
"primary_channel_id": "WALLET_ALIPAY_PLUS_4709",
"primary_deduct_amount": 17123,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 530
},
"error_messa... | {
"available_channels": [
{
"balance": 706,
"channel_id": "BANK_CCB_CREDIT_3867"
},
{
"balance": 2117,
"channel_id": "BANK_BOC_CARD_5387"
},
{
"balance": 2108,
"channel_id": "GIFT_VOUCHER_CARD_3165"
},
{
"balance": 52959,
"channel_id": "DIGIT... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | ef4b1ee0134035d6c930e2354914bfd3eea708ae50a234296779915ce6767b61 | <think>
Selected WALLET_ALIPAY_PLUS_4709: promos=PROMO_STACK_1., discount=530, payable=17653; Split: primary=17123, secondary=null; Recommend: BANK_CCB_CREDIT_3867 (discount=530)
</think>
{"order_id":"ORD_0900510","order_amount":17653,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"WALLET_ALIPAY_PLUS_4709",... | hard_augmentation | 511 |
SPLIT_PAYMENT | SFT_000789 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_1"
],
"payable_amount": 2459136,
"primary_channel_id": "REWARD_POINTS_VIP_3357",
"primary_deduct_amount": 2459136,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 204288
},
"error... | {
"available_channels": [
{
"balance": 377682,
"channel_id": "BANK_ICBC_DEBIT_3123"
},
{
"balance": 336874,
"channel_id": "WALLET_WECHAT_PAY_1738"
},
{
"balance": 7990272,
"channel_id": "WALLET_JD_PAY_8812"
},
{
"balance": 2663423,
"channel_i... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | f6fe2cce7a4bbbf289d77d1c187f8f6db228e304b8d0e3331de2d7ec4b98e8c5 | <think>
Selected REWARD_POINTS_VIP_3357: promos=PROMO_STACK_1., discount=204288, payable=2663424; Split: primary=2459136, secondary=null; Recommend: BANK_ICBC_DEBIT_3123 (discount=204288)
</think>
{"order_id":"ORD_0010788","order_amount":2663424,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"REWARD_POINTS_... | base_sft | 789 |
ROUND_HALF_UP_BOUNDARY | SFT_000807 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 22127,
"primary_channel_id": "PAYPAL_GLOBAL_DIRECT_9186",
"primary_deduct_amount": 22127,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 684
},
"error_messa... | {
"available_channels": [
{
"balance": 171732,
"channel_id": "WALLET_ALIPAY_PLUS_1454"
},
{
"balance": 68433,
"channel_id": "PAYPAL_GLOBAL_DIRECT_9186"
},
{
"balance": 0,
"channel_id": "BANK_SPDB_CARD_4821"
},
{
"balance": 274932,
"channel_id... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 403408ee09182a41a2416b8703e51c7effe1867217765be545fa24f672b706a0 | <think>
Selected PAYPAL_GLOBAL_DIRECT_9186: promos=PROMO_PCT_1., discount=684, payable=22811; Split: primary=22127, secondary=null; Recommend: WALLET_ALIPAY_PLUS_1454 (discount=684)
</think>
{"order_id":"ORD_0010806","order_amount":22811,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"PAYPAL_GLOBAL_DIRECT_9... | base_sft | 807 |
SPLIT_PAYMENT | SFT_000349 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_1"
],
"payable_amount": 9208,
"primary_channel_id": "PAYPAL_GLOBAL_DIRECT_3953",
"primary_deduct_amount": 288,
"secondary_channel_id": "UNIONPAY_QUICK_PASS_4281",
"secondary_deduct_amount": 8920,
"total_discount_amount":... | {
"available_channels": [
{
"balance": 122,
"channel_id": "WALLET_ALIPAY_PLUS_7924"
},
{
"balance": 1506,
"channel_id": "WALLET_MEITUAN_CASH_6987"
},
{
"balance": 502,
"channel_id": "BANK_PINGAN_PAY_5030"
},
{
"balance": 1668,
"channel_id": "... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | b9b3761d93b00dec08154b5d6005078ed75ba48cbb6e49b0738b2106eb73650b | <think>
Selected PAYPAL_GLOBAL_DIRECT_3953: promos=PROMO_STACK_1., discount=793, payable=10001; Split: primary=288, secondary=UNIONPAY_QUICK_PASS_4281(8920); Recommend: WALLET_ALIPAY_PLUS_7924 (discount=793)
</think>
{"order_id":"ORD_0010348","order_amount":10001,"status":"SUCCESS","cashier_receipt":{"primary_channel_i... | base_sft | 349 |
ROUND_HALF_UP_BOUNDARY | SFT_000082 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 8301,
"primary_channel_id": "WALLET_ALIPAY_PLUS_3139",
"primary_deduct_amount": 8301,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 1700
},
"error_message"... | {
"available_channels": [
{
"balance": 30003,
"channel_id": "WALLET_ALIPAY_PLUS_3139"
},
{
"balance": 795,
"channel_id": "BANK_COMM_PAY_8191"
},
{
"balance": 0,
"channel_id": "BANK_PINGAN_PAY_9159"
},
{
"balance": 7140,
"channel_id": "PAYPAL_... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | fe4664597ae98821276bd79efdeb4b6c035f5b1fb444437aaa0419040b2be3d5 | <think>
Selected WALLET_ALIPAY_PLUS_3139: promos=PROMO_PCT_1., discount=1700, payable=10001; Split: primary=8301, secondary=null; Recommend: WALLET_ALIPAY_PLUS_3139 (discount=1700)
</think>
{"order_id":"ORD_0010081","order_amount":10001,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"WALLET_ALIPAY_PLUS_3139... | base_sft | 82 |
SINGLE_CHANNEL_NORMAL | SFT_001136 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_FIXED_1",
"PROMO_CH_2"
],
"payable_amount": 0,
"primary_channel_id": "CREDIT_BAITIAO_PLUS_5108",
"primary_deduct_amount": 0,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 1
},
"... | {
"available_channels": [
{
"balance": 1,
"channel_id": "BANK_SPDB_CARD_6107"
},
{
"balance": 1,
"channel_id": "BANK_ICBC_DEBIT_7310"
},
{
"balance": 2,
"channel_id": "BANK_CCB_CREDIT_5513"
},
{
"balance": 3,
"channel_id": "CREDIT_BAITIAO_PLU... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 52bf7629035157c73828f48885e2383d1fe18b7cc1445a690500a1f704e998aa | <think>
Selected CREDIT_BAITIAO_PLUS_5108: promos=PROMO_FIXED_1, PROMO_CH_2., discount=1, payable=1; Split: primary=0, secondary=null; Recommend: BANK_SPDB_CARD_6107 (discount=1)
</think>
{"order_id":"ORD_0011135","order_amount":1,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"CREDIT_BAITIAO_PLUS_5108","pr... | base_sft | 1,136 |
ROUND_HALF_UP_BOUNDARY | SFT_001273 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 61606,
"primary_channel_id": "BANK_CMB_GOLD_3871",
"primary_deduct_amount": 61606,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 30343
},
"error_message": ... | {
"available_channels": [
{
"balance": 3358,
"channel_id": "CREDIT_ANT_HUABEI_2341"
},
{
"balance": 967072,
"channel_id": "WALLET_ALIPAY_PLUS_1692"
},
{
"balance": 0,
"channel_id": "PAYPAL_GLOBAL_DIRECT_2733"
},
{
"balance": 134437,
"channel_... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | c1b8fb7748cbb1c69e794a393073de45162d7e6aeac5672e3f199602540ba5f3 | <think>
Selected BANK_CMB_GOLD_3871: promos=PROMO_PCT_1., discount=30343, payable=91949; Split: primary=61606, secondary=null; Recommend: CREDIT_ANT_HUABEI_2341 (discount=30343)
</think>
{"order_id":"ORD_0011272","order_amount":91949,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"BANK_CMB_GOLD_3871","prima... | base_sft | 1,273 |
ROUND_HALF_UP_BOUNDARY | SFT_001317 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 1516873,
"primary_channel_id": "APPLE_WALLET_NFC_2315",
"primary_deduct_amount": 1516873,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 310685
},
"error_me... | {
"available_channels": [
{
"balance": 5482674,
"channel_id": "APPLE_WALLET_NFC_2315"
},
{
"balance": 11211591,
"channel_id": "BANK_CCB_CREDIT_7402"
},
{
"balance": 1703,
"channel_id": "REWARD_POINTS_VIP_9432"
},
{
"balance": 3144709,
"channe... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 0f8c82f6af605c131d24cfbe92e33e664c4e7027e9afd629b93cfc4c92e25312 | <think>
Selected APPLE_WALLET_NFC_2315: promos=PROMO_PCT_1., discount=310685, payable=1827558; Split: primary=1516873, secondary=null; Recommend: APPLE_WALLET_NFC_2315 (discount=310685)
</think>
{"order_id":"ORD_0011316","order_amount":1827558,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"APPLE_WALLET_NFC... | base_sft | 1,317 |
TIE_BREAKER | SFT_000676 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_UNIVERSAL_EQUAL_1"
],
"payable_amount": 77704,
"primary_channel_id": "CREDIT_ANT_HUABEI_6240",
"primary_deduct_amount": 77704,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 8633
},
"e... | {
"available_channels": [
{
"balance": 345348,
"channel_id": "BANK_ABC_EXPRESS_3146"
},
{
"balance": 345348,
"channel_id": "PAYPAL_GLOBAL_DIRECT_5995"
},
{
"balance": 345348,
"channel_id": "WALLET_MEITUAN_CASH_5317"
},
{
"balance": 345348,
"c... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 213827b887b6237244d6f6a77e7603d400191428879763817bcde03c0db6f1d1 | <think>
Selected CREDIT_ANT_HUABEI_6240: promos=PROMO_UNIVERSAL_EQUAL_1., discount=8633, payable=86337; Split: primary=77704, secondary=null; Recommend: BANK_ABC_EXPRESS_3146 (discount=8633)
</think>
{"order_id":"ORD_0010675","order_amount":86337,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"CREDIT_ANT_HU... | base_sft | 676 |
ROUND_HALF_UP_BOUNDARY | SFT_000241 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_CENTS_2"
],
"payable_amount": 0,
"primary_channel_id": "REWARD_POINTS_VIP_8725",
"primary_deduct_amount": 0,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 99
},
"error_message":... | {
"available_channels": [
{
"balance": 9,
"channel_id": "UNIONPAY_QUICK_PASS_3482"
},
{
"balance": 47021,
"channel_id": "BANK_ABC_EXPRESS_3805"
},
{
"balance": 163,
"channel_id": "CREDIT_BAITIAO_PLUS_4735"
},
{
"balance": 297,
"channel_id": "... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 2443bebb6fc4242f983ca30299f87df3fbb5b27529f93c7fa95052a06638de01 | <think>
Selected REWARD_POINTS_VIP_8725: promos=PROMO_STACK_CENTS_2., discount=99, payable=99; Split: primary=0, secondary=null; Recommend: UNIONPAY_QUICK_PASS_3482 (discount=99)
</think>
{"order_id":"ORD_0010240","order_amount":99,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"REWARD_POINTS_VIP_8725","pri... | base_sft | 241 |
ROUND_HALF_UP_BOUNDARY | AUG_000025 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 93036,
"primary_channel_id": "CREDIT_BAITIAO_PLUS_8242",
"primary_deduct_amount": 93036,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2877
},
"error_messa... | {
"available_channels": [
{
"balance": 175020,
"channel_id": "REWARD_POINTS_VIP_9494"
},
{
"balance": 20645,
"channel_id": "BANK_ICBC_DEBIT_6927"
},
{
"balance": 110686,
"channel_id": "GIFT_VOUCHER_CARD_9167"
},
{
"balance": 287739,
"channel_... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 89916b7ffe2dd240fa8f4725e5c73af04741b8ac6cadfea8f13a41ce14d0047d | <think>
Selected CREDIT_BAITIAO_PLUS_8242: promos=PROMO_PCT_1., discount=2877, payable=95913; Split: primary=93036, secondary=null; Recommend: REWARD_POINTS_VIP_9494 (discount=2877)
</think>
{"order_id":"ORD_0900024","order_amount":95913,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"CREDIT_BAITIAO_PLUS_82... | hard_augmentation | 25 |
TIE_BREAKER | SFT_000937 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_UNIVERSAL_EQUAL_1"
],
"payable_amount": 25684,
"primary_channel_id": "BANK_ABC_EXPRESS_3277",
"primary_deduct_amount": 25684,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2853
},
"er... | {
"available_channels": [
{
"balance": 114148,
"channel_id": "BANK_ICBC_DEBIT_1651"
},
{
"balance": 114148,
"channel_id": "BANK_COMM_PAY_7441"
},
{
"balance": 114148,
"channel_id": "WALLET_JD_PAY_8347"
},
{
"balance": 114148,
"channel_id": "B... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 4691f6412a9c3ab7d6d176ac2c81185aa1b7e81f5ae4dc5119a4a7507491ff2f | <think>
Selected BANK_ABC_EXPRESS_3277: promos=PROMO_UNIVERSAL_EQUAL_1., discount=2853, payable=28537; Split: primary=25684, secondary=null; Recommend: BANK_ICBC_DEBIT_1651 (discount=2853)
</think>
{"order_id":"ORD_0010936","order_amount":28537,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"BANK_ABC_EXPRES... | base_sft | 937 |
SPLIT_PAYMENT | AUG_000236 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_1"
],
"payable_amount": 95194,
"primary_channel_id": "PAYPAL_GLOBAL_DIRECT_4394",
"primary_deduct_amount": 95194,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 4805
},
"error_me... | {
"available_channels": [
{
"balance": 1348,
"channel_id": "REWARD_POINTS_VIP_7569"
},
{
"balance": 15245,
"channel_id": "UNIONPAY_QUICK_PASS_1599"
},
{
"balance": 99998,
"channel_id": "PAYPAL_GLOBAL_DIRECT_4394"
},
{
"balance": 16785,
"chann... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 9e3c9d7b2fa5a8519c051542e90727f52f89f724caf5bb15720af2d9d26a2925 | <think>
Selected PAYPAL_GLOBAL_DIRECT_4394: promos=PROMO_STACK_1., discount=4805, payable=99999; Split: primary=95194, secondary=null; Recommend: REWARD_POINTS_VIP_7569 (discount=4805)
</think>
{"order_id":"ORD_0900235","order_amount":99999,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"PAYPAL_GLOBAL_DIREC... | hard_augmentation | 236 |
EXCLUSIVE_VS_STACK | AUG_000224 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_B_4"
],
"payable_amount": 42922,
"primary_channel_id": "BANK_SPDB_CARD_9333",
"primary_deduct_amount": 42922,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 7078
},
"error_message":... | {
"available_channels": [
{
"balance": 0,
"channel_id": "BANK_CCB_CREDIT_9076"
},
{
"balance": 150000,
"channel_id": "BANK_SPDB_CARD_9333"
},
{
"balance": 0,
"channel_id": "BANK_PINGAN_PAY_9264"
},
{
"balance": 0,
"channel_id": "GIFT_VOUCHER_... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 7ccdb949eb1fde141518b9574ca1469eba4f52d5a3e644acf7f1c033cdaf69e5 | <think>
Selected BANK_SPDB_CARD_9333: promos=PROMO_EX_B_4., discount=7078, payable=50000; Split: primary=42922, secondary=null; Recommend: BANK_CCB_CREDIT_9076 (discount=7078)
</think>
{"order_id":"ORD_0900223","order_amount":50000,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"BANK_SPDB_CARD_9333","primar... | hard_augmentation | 224 |
ROUND_HALF_UP_BOUNDARY | SFT_000513 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 73253,
"primary_channel_id": "WALLET_WECHAT_PAY_1189",
"primary_deduct_amount": 73253,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 10946
},
"error_messag... | {
"available_channels": [
{
"balance": 16434,
"channel_id": "BANK_ABC_EXPRESS_6335"
},
{
"balance": 0,
"channel_id": "WALLET_ALIPAY_PLUS_5319"
},
{
"balance": 647317,
"channel_id": "BANK_CCB_CREDIT_5595"
},
{
"balance": 13054,
"channel_id": "... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | 002d6182993a50203eb8064a1197b0e7e59ea4f46adbefb7929ac6ed653c4f7f | <think>
Selected WALLET_WECHAT_PAY_1189: promos=PROMO_PCT_1., discount=10946, payable=84199; Split: primary=73253, secondary=null; Recommend: BANK_ABC_EXPRESS_6335 (discount=10946)
</think>
{"order_id":"ORD_0010512","order_amount":84199,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":"WALLET_WECHAT_PAY_1189"... | base_sft | 513 |
RECOMMEND_SWITCH | AUG_000385 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_SMALL_1"
],
"payable_amount": 37781,
"primary_channel_id": "BANK_PINGAN_PAY_2369",
"primary_deduct_amount": 22164,
"secondary_channel_id": "BANK_ABC_EXPRESS_4022",
"secondary_deduct_amount": 15617,
"total_discount_amount": 116... | {
"available_channels": [
{
"balance": 48442,
"channel_id": "BANK_ABC_EXPRESS_4022"
},
{
"balance": 22164,
"channel_id": "BANK_PINGAN_PAY_2369"
},
{
"balance": 52479,
"channel_id": "BANK_CCB_CREDIT_2104"
},
{
"balance": 116847,
"channel_id": ... | [
{
"content": "You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.\n\nRules:\n1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.\n2. Promo applies... | You are a Java payment microservice engine. Given order, available_channels, promotions, and selected_channel_id, calculate composite payment deduction and optimal recommendation.
Rules:
1. Amounts in cents (int >= 0). Status: SUCCESS | INSUFFICIENT_FUNDS | CHANNEL_NOT_FOUND.
2. Promo applies if order_amount >= thresh... | e89691ea4cd67c9a82959e40e501d25ee6e52b6daf7050cae24098a2854ff26c | <think>
Selected BANK_PINGAN_PAY_2369: promos=PROMO_SMALL_1., discount=1168, payable=38949; Split: primary=22164, secondary=BANK_ABC_EXPRESS_4022(15617); Recommend: DIGITAL_RMB_WALLET_4960 (discount=8318)
</think>
{"order_id":"ORD_0900384","order_amount":38949,"status":"SUCCESS","cashier_receipt":{"primary_channel_id":... | hard_augmentation | 385 |
Ling-Ting-SFT-Augment
An augmented supervised fine-tuning dataset for Ling-3.0-tiny composite payment experiments. Given an order, payment channel balances, and promotions, the model calculates the payment plan for the selected channel and recommends the feasible option with the largest discount, returning a structured JSON result.
The release packages the fixed data used in the completed experiments: 1,115 training examples, 100 validation examples, and 500 test cases. Its fields follow AsystemAReno/Ling-Tiny-SFT, with additional messages and source fields for chat-template training and provenance tracking.
This release preserves the original experiment data. Training and validation messages, example order, and test inputs and answers are unchanged. Packaging adds publication metadata without splitting, cleaning, or generating additional examples. The added fields change the file SHA-256 checksums; manifest.json records checksums for both the original inputs and the published files.
All examples are generated programmatically and contain no real transaction records. Training targets contain <think>...</think> followed by the final JSON. The reasoning text is produced from deterministic payment-service traces and compression rules, without LLM distillation.
Known data issues: the original reasoning compressor extracts an incorrect amount for the payable= label. Among successful examples where this label can be checked, all 1,049 training examples and 86 validation examples disagree with the payable amount in the final JSON. These texts are retained to preserve the experiment data. All 1,715 final JSON answers have been checked against the original reference payment service and match its outputs. In addition, five test cases share business inputs with training examples; evaluation should report results on both the full 500-case set and the 495 cases without training-input overlap.
Files and Splits
Ling-Ting-SFT-Augment/
βββ README.md
βββ train.jsonl # 1,115 examples: train
βββ valid.jsonl # 100 examples: validation
βββ eval500.jsonl # 500 cases: test
βββ system_prompt.txt # Shared rules, already included in each example
βββ manifest.json # Provenance, statistics, checksums, and data audits
| Split | Examples | Source and purpose |
|---|---|---|
| train | 1,115 | 763 base examples plus 352 targeted augmentation examples, used for parameter updates |
| validation | 100 | Held out from the compact base data for development-time validation |
| test | 500 | Separately generated fixed evaluation cases; 495 have no training-input overlap |
These splits differ from the original public dataset's 1,400/100 split. The original public splits cannot be substituted directly for this release.
Data Fields
All three JSONL files use the same fields, with one JSON object per line:
| Field | Type | Description |
|---|---|---|
case_id |
string | Original SFT_* ID for base examples, AUG_* ID for augmentation, or original CASE_* ID for test cases |
source_line |
integer | One-based original source line, augmentation attempt number, or evaluation-file line number, depending on source |
source |
string | base_sft, hard_augmentation, or generated_eval |
bucket |
string | Scenario label assigned by the original generator |
request_fingerprint |
string | SHA-256 of the business input after removing input.order.order_id, used to check duplicates |
input |
object | Order, available channels, promotions, and selected channel |
ground_truth |
object | Final business JSON computed by the reference payment service |
prompt |
string | Shared rules followed by Request JSON: and the request JSON, without model chat-template tokens |
response |
string | Original reasoning plus JSON for train/validation; answer JSON only for test, without reference reasoning |
messages |
list | System, user, and assistant messages for train/validation; system and user messages only for test, with no answer |
Augmentation IDs identify the original attempts among 750 generation attempts. The original preprocessing filtered out overlength examples, so AUG_* IDs contain gaps.
The fingerprint follows the reference public dataset's convention: remove only the order ID, serialize with sort_keys=True, separators=(",", ":"), ensure_ascii=False, and compute SHA-256 over the UTF-8 bytes. Channel and promotion list order is preserved.
Loading the Data
Load the local files without downloading a model or installing AReno:
from datasets import load_dataset
dataset = load_dataset(
"json",
data_files={
"train": "Ling-Ting-SFT-Augment/train.jsonl",
"validation": "Ling-Ting-SFT-Augment/valid.jsonl",
"test": "Ling-Ting-SFT-Augment/eval500.jsonl",
},
)
print(dataset)
print(dataset["train"][0]["messages"])
Alternatively, use the Python standard library:
import json
from pathlib import Path
data_dir = Path("Ling-Ting-SFT-Augment")
train = [json.loads(line) for line in (data_dir / "train.jsonl").read_text().splitlines()]
validation = [json.loads(line) for line in (data_dir / "valid.jsonl").read_text().splitlines()]
test = [json.loads(line) for line in (data_dir / "eval500.jsonl").read_text().splitlines()]
Download the published dataset from Hugging Face:
hf download AsystemAReno/Ling-Ting-SFT-Augment \
--repo-type dataset --local-dir Ling-Ting-SFT-Augment
For a ModelScope mirror containing the same files, replace YOUR_NAMESPACE with the mirror's namespace after publication:
modelscope download --dataset YOUR_NAMESPACE/Ling-Ting-SFT-Augment \
--local-dir Ling-Ting-SFT-Augment
You can also load the three splits configured in this dataset card directly from Hugging Face:
dataset = load_dataset("AsystemAReno/Ling-Ting-SFT-Augment")
Training and Evaluation
Use messages to reproduce the original experiments. The assistant message in each training or validation example is identical to response. Apply the Ling chat template once to the complete conversation and mask system/user tokens from the training loss. The system message already contains the shared rules; do not append system_prompt.txt again.
Tools that accept plain-text input/output pairs can use prompt and response. This convenient text view is not guaranteed to produce the same token sequence as the multi-role chat template used in the original experiment.
For evaluation, pass only the test case's messages to the model and keep thinking enabled. Do not pass response or ground_truth as input. Extract the final JSON after </think> and compare it strictly with ground_truth: fields, values, numeric types, and list order must match. Reject duplicate JSON keys and NaN/Infinity. Truncated generations, invalid JSON, and mismatched fields count as failures.
Build the test subset without training-input overlap as follows:
import json
from pathlib import Path
manifest = json.loads(Path("Ling-Ting-SFT-Augment/manifest.json").read_text())
overlap = set(manifest["overlap_audit"]["train_test_case_ids"])
test_495 = dataset["test"].filter(lambda row: row["case_id"] not in overlap)
assert len(test_495) == 495
The overlapping cases are CASE_000008, CASE_000225, CASE_000263, CASE_000274, and CASE_000317; all overlap with augmented training examples. No business inputs overlap between training and validation or between validation and test. There are also no duplicate business inputs within any split. These checks use the fingerprint definition above, not approximate semantic deduplication.
Data Preparation
- Start with the 1,500 examples from
AsystemAReno/Ling-Tiny-SFT, pinned to revisionbef344521b1751374d3ff9da3b9f4f61706d5c8d. - Restore the original
source_lineorder and convert the rules, requests, and reasoning into the compact format. The historical Ling-tokenizer filter retained 863 examples within a 1,024-token budget. The last 100 became the validation set; the remaining 763 became the base training set. - Make 750 targeted generation attempts with seed 42 and sampling weights of 45% split payment, 35% recommendation switch, 10% exclusive versus stackable promotions, and 10% rounding boundaries. Length filtering retained 352 examples, which were combined with the base training set to form the experiment's 1,115 training examples.
- Generate a separate 500-case evaluation set using the original generator and compute its answers with the reference service. Separate generation does not guarantee disjoint business inputs, so the five overlapping cases are identified explicitly.
The historical length filter applied tokenizer.apply_chat_template(..., tokenize=False) followed by tokenizer.encode(...). Lengths may exceed 1,024 tokens with a different tokenizer or chat template. Packaging this release did not apply another length filter.
Scenario Distribution
| Scenario label | train | validation | test |
|---|---|---|---|
SPLIT_PAYMENT |
403 | 26 | 138 |
RECOMMEND_SWITCH |
123 | 6 | 102 |
EXCLUSIVE_VS_STACK |
33 | 3 | 62 |
ROUND_HALF_UP_BOUNDARY |
247 | 19 | 78 |
SINGLE_CHANNEL_NORMAL |
111 | 14 | 42 |
TIE_BREAKER |
132 | 18 | 53 |
INSUFFICIENT_FUNDS |
40 | 8 | 12 |
CHANNEL_NOT_FOUND |
26 | 6 | 13 |
| Total | 1115 | 100 | 500 |
Labels describe the generator's sampling intent rather than a new classification of the final payment outcome. For example, a case labeled as split payment may ultimately require only one channel after discounts.
Version
Version 1.0.0, prepared on 2026-10-26. manifest.json records the original sources, published-file checksums, scenario and source counts, overlapping-case mappings, and the reasoning-amount audit.
This version corresponds to the existing experiments. Correcting reasoning text, removing overlapping cases, or changing splits should produce a new data version with separately identified experiment results.
- Downloads last month
- 81