bucket stringclasses 8
values | case_id stringlengths 10 10 | ground_truth dict | input dict | prompt stringlengths 3.35k 5.19k | request_fingerprint stringlengths 64 64 | response stringlengths 218 650 | source_line int64 1 1.5k |
|---|---|---|---|---|---|---|---|
ROUND_HALF_UP_BOUNDARY | SFT_001251 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 91934,
"primary_channel_id": "BANK_COMM_PAY_6058",
"primary_deduct_amount": 91934,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2843
},
"error_message": n... | {
"available_channels": [
{
"balance": 153256,
"channel_id": "BANK_ICBC_DEBIT_1648"
},
{
"balance": 400655,
"channel_id": "PAYPAL_GLOBAL_DIRECT_3702"
},
{
"balance": 284331,
"channel_id": "BANK_COMM_PAY_6058"
},
{
"balance": 146517,
"channel_... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 70a9ca67606d27cb91933c07c07986e7f7ac5baf3157db4397908df56e88fd23 | {"cashier_receipt":{"applied_promotions":["PROMO_PCT_1"],"payable_amount":91934,"primary_channel_id":"BANK_COMM_PAY_6058","primary_deduct_amount":91934,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":2843},"error_message":null,"order_amount":94777,"order_id":"ORD_0011250","recommended_op... | 1,251 |
ROUND_HALF_UP_BOUNDARY | SFT_000229 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 76264,
"primary_channel_id": "WALLET_WECHAT_PAY_5427",
"primary_deduct_amount": 76264,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2359
},
"error_message... | {
"available_channels": [
{
"balance": 95413,
"channel_id": "UNIONPAY_QUICK_PASS_9127"
},
{
"balance": 235869,
"channel_id": "WALLET_WECHAT_PAY_5427"
},
{
"balance": 39628,
"channel_id": "BANK_CCB_CREDIT_1303"
},
{
"balance": 607819,
"channel... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 118c7a7928cea7e653c0d25d8c1c1a44e76f64ec45c0c79b658881f83e317ed3 | {"cashier_receipt":{"applied_promotions":["PROMO_PCT_1"],"payable_amount":76264,"primary_channel_id":"WALLET_WECHAT_PAY_5427","primary_deduct_amount":76264,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":2359},"error_message":null,"order_amount":78623,"order_id":"ORD_0010228","recommende... | 229 |
ROUND_HALF_UP_BOUNDARY | SFT_001340 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 33000,
"primary_channel_id": "WALLET_MEITUAN_CASH_2811",
"primary_deduct_amount": 33000,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 67001
},
"error_mess... | {
"available_channels": [
{
"balance": 12703,
"channel_id": "WALLET_ALIPAY_PLUS_1623"
},
{
"balance": 122990,
"channel_id": "BANK_COMM_PAY_3622"
},
{
"balance": 715069,
"channel_id": "BANK_PINGAN_PAY_8107"
},
{
"balance": 98997,
"channel_id":... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 1a93f691729b508fa132f1a9c94efc4cd3a333466016c594ca6bf9f0a8bea1e0 | {"cashier_receipt":{"applied_promotions":["PROMO_PCT_1"],"payable_amount":33000,"primary_channel_id":"WALLET_MEITUAN_CASH_2811","primary_deduct_amount":33000,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":67001},"error_message":null,"order_amount":100001,"order_id":"ORD_0011339","recomm... | 1,340 |
ROUND_HALF_UP_BOUNDARY | SFT_000096 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 43499,
"primary_channel_id": "BANK_CMB_GOLD_3998",
"primary_deduct_amount": 43499,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 6500
},
"error_message": n... | {
"available_channels": [
{
"balance": 149997,
"channel_id": "BANK_CMB_GOLD_3998"
},
{
"balance": 87754,
"channel_id": "WALLET_JD_PAY_6530"
},
{
"balance": 228260,
"channel_id": "DIGITAL_RMB_WALLET_4458"
},
{
"balance": 0,
"channel_id": "BANK... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | a50f27e046c24515801b9eaaaab34883bc985986c5db0b803bfa65e290161b32 | {"cashier_receipt":{"applied_promotions":["PROMO_PCT_1"],"payable_amount":43499,"primary_channel_id":"BANK_CMB_GOLD_3998","primary_deduct_amount":43499,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":6500},"error_message":null,"order_amount":49999,"order_id":"ORD_0010095","recommended_op... | 96 |
EXCLUSIVE_VS_STACK | SFT_000537 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_B_4"
],
"payable_amount": 54643,
"primary_channel_id": "BANK_COMM_PAY_6962",
"primary_deduct_amount": 54643,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 6610
},
"error_message": ... | {
"available_channels": [
{
"balance": 229936,
"channel_id": "DIGITAL_RMB_WALLET_4073"
},
{
"balance": 57771,
"channel_id": "BANK_ABC_EXPRESS_9060"
},
{
"balance": 383035,
"channel_id": "BANK_SPDB_CARD_8564"
},
{
"balance": 96233,
"channel_id... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 99e8fd6b4d876839cd08d528cdb80c41953cad225a42b3946d149f273fd05568 | {"cashier_receipt":{"applied_promotions":["PROMO_EX_B_4"],"payable_amount":54643,"primary_channel_id":"BANK_COMM_PAY_6962","primary_deduct_amount":54643,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":6610},"error_message":null,"order_amount":61253,"order_id":"ORD_0010536","recommended_o... | 537 |
INSUFFICIENT_FUNDS | SFT_000603 | {
"cashier_receipt": null,
"error_message": "Selected channel and available secondary channels cannot cover payable amount",
"order_amount": 2013387,
"order_id": "ORD_0010602",
"recommended_option": null,
"status": "INSUFFICIENT_FUNDS"
} | {
"available_channels": [
{
"balance": 503331,
"channel_id": "WALLET_JD_PAY_9714"
},
{
"balance": 503331,
"channel_id": "BANK_ICBC_DEBIT_3653"
},
{
"balance": 503331,
"channel_id": "BANK_COMM_PAY_1620"
},
{
"balance": 503331,
"channel_id": "G... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 6119a609f4dfdd6f9c185decb5a9586d56531a85029a924d1ce181d71442adcc | {"cashier_receipt":null,"error_message":"Selected channel and available secondary channels cannot cover payable amount","order_amount":2013387,"order_id":"ORD_0010602","recommended_option":null,"status":"INSUFFICIENT_FUNDS"} | 603 |
TIE_BREAKER | SFT_000688 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_UNIVERSAL_EQUAL_1"
],
"payable_amount": 23412,
"primary_channel_id": "WALLET_JD_PAY_9855",
"primary_deduct_amount": 23412,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2601
},
"error... | {
"available_channels": [
{
"balance": 104052,
"channel_id": "REWARD_POINTS_VIP_6637"
},
{
"balance": 104052,
"channel_id": "CREDIT_ANT_HUABEI_7173"
},
{
"balance": 104052,
"channel_id": "BANK_CCB_CREDIT_4321"
},
{
"balance": 104052,
"channel... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 74565bf21cc9082424de8efeefe93962d3281afeedd610b4c83c5900876b99a4 | {"cashier_receipt":{"applied_promotions":["PROMO_UNIVERSAL_EQUAL_1"],"payable_amount":23412,"primary_channel_id":"WALLET_JD_PAY_9855","primary_deduct_amount":23412,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":2601},"error_message":null,"order_amount":26013,"order_id":"ORD_0010687","re... | 688 |
CHANNEL_NOT_FOUND | SFT_000526 | {
"cashier_receipt": null,
"error_message": "Selected channel BANK_NONEXISTENT_GHOST_CHANNEL_9999 is not in available channels",
"order_amount": 49999,
"order_id": "ORD_0010525",
"recommended_option": null,
"status": "CHANNEL_NOT_FOUND"
} | {
"available_channels": [
{
"balance": 36578,
"channel_id": "WALLET_ALIPAY_PLUS_8094"
},
{
"balance": 27486,
"channel_id": "PAYPAL_GLOBAL_DIRECT_6758"
},
{
"balance": 11638,
"channel_id": "GIFT_VOUCHER_CARD_2606"
},
{
"balance": 54558,
"chann... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | ed5bfe97d31cf533bc194f158ed8a9ee7484bf07f73bd46eabd9a25308192f39 | {"cashier_receipt":null,"error_message":"Selected channel BANK_NONEXISTENT_GHOST_CHANNEL_9999 is not in available channels","order_amount":49999,"order_id":"ORD_0010525","recommended_option":null,"status":"CHANNEL_NOT_FOUND"} | 526 |
SPLIT_PAYMENT | SFT_001424 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_1"
],
"payable_amount": 62653,
"primary_channel_id": "GIFT_VOUCHER_CARD_4264",
"primary_deduct_amount": 12083,
"secondary_channel_id": "BANK_ICBC_DEBIT_5577",
"secondary_deduct_amount": 50570,
"total_discount_amount": 20... | {
"available_channels": [
{
"balance": 8539,
"channel_id": "BANK_BOC_CARD_2770"
},
{
"balance": 4609,
"channel_id": "BANK_CMB_GOLD_5414"
},
{
"balance": 9356,
"channel_id": "UNIONPAY_QUICK_PASS_1892"
},
{
"balance": 6770,
"channel_id": "BANK_... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 1bedb699347d0390eeee48958ee082f189988a570a1505689af109a20011f261 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_1"],"payable_amount":62653,"primary_channel_id":"GIFT_VOUCHER_CARD_4264","primary_deduct_amount":12083,"secondary_channel_id":"BANK_ICBC_DEBIT_5577","secondary_deduct_amount":50570,"total_discount_amount":2000},"error_message":null,"order_amount":64653,"order_id":"... | 1,424 |
ROUND_HALF_UP_BOUNDARY | SFT_000036 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 11920,
"primary_channel_id": "WALLET_MEITUAN_CASH_1124",
"primary_deduct_amount": 11920,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 1781
},
"error_messa... | {
"available_channels": [
{
"balance": 41103,
"channel_id": "WALLET_MEITUAN_CASH_1124"
},
{
"balance": 175363,
"channel_id": "APPLE_WALLET_NFC_4634"
},
{
"balance": 145753,
"channel_id": "WALLET_ALIPAY_PLUS_5676"
},
{
"balance": 16951,
"chann... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | bbcacfa73479c9c94067f26c28ba5d6b1d3f05c10b1a4daca5647a6181a61b4b | {"cashier_receipt":{"applied_promotions":["PROMO_PCT_1"],"payable_amount":11920,"primary_channel_id":"WALLET_MEITUAN_CASH_1124","primary_deduct_amount":11920,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":1781},"error_message":null,"order_amount":13701,"order_id":"ORD_0010035","recommen... | 36 |
EXCLUSIVE_VS_STACK | SFT_000425 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_A_3"
],
"payable_amount": 66549,
"primary_channel_id": "CREDIT_BAITIAO_PLUS_4781",
"primary_deduct_amount": 66549,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 11028
},
"error_mes... | {
"available_channels": [
{
"balance": 232731,
"channel_id": "CREDIT_BAITIAO_PLUS_4781"
},
{
"balance": 1795,
"channel_id": "BANK_ICBC_DEBIT_4888"
},
{
"balance": 5690,
"channel_id": "BANK_ABC_EXPRESS_5104"
},
{
"balance": 45812,
"channel_id"... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 2b176b17ecd12bb00304d70a5ad7991833cd75b0ab9fe923d28f74959ccbff9d | {"cashier_receipt":{"applied_promotions":["PROMO_EX_A_3"],"payable_amount":66549,"primary_channel_id":"CREDIT_BAITIAO_PLUS_4781","primary_deduct_amount":66549,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":11028},"error_message":null,"order_amount":77577,"order_id":"ORD_0010424","recomm... | 425 |
ROUND_HALF_UP_BOUNDARY | SFT_000834 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 71610,
"primary_channel_id": "WALLET_JD_PAY_3419",
"primary_deduct_amount": 71610,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 14667
},
"error_message": ... | {
"available_channels": [
{
"balance": 143117,
"channel_id": "BANK_ICBC_DEBIT_5419"
},
{
"balance": 87496,
"channel_id": "BANK_COMM_PAY_3885"
},
{
"balance": 258831,
"channel_id": "WALLET_JD_PAY_3419"
},
{
"balance": 163008,
"channel_id": "BA... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | d926cef3c0a6811d5c04af8c371a69beca5768d5e6f745fdcd86311a102d7d3a | {"cashier_receipt":{"applied_promotions":["PROMO_PCT_1"],"payable_amount":71610,"primary_channel_id":"WALLET_JD_PAY_3419","primary_deduct_amount":71610,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":14667},"error_message":null,"order_amount":86277,"order_id":"ORD_0010833","recommended_o... | 834 |
ROUND_HALF_UP_BOUNDARY | SFT_000463 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_PCT_1"
],
"payable_amount": 1174878,
"primary_channel_id": "CREDIT_ANT_HUABEI_5115",
"primary_deduct_amount": 1174878,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2385359
},
"error_... | {
"available_channels": [
{
"balance": 10680711,
"channel_id": "CREDIT_ANT_HUABEI_5115"
},
{
"balance": 5319542,
"channel_id": "BANK_CMB_GOLD_7174"
},
{
"balance": 4711707,
"channel_id": "CREDIT_BAITIAO_PLUS_5082"
},
{
"balance": 2366527,
"ch... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | a072483c26c9402b7f24da01ee817dc11623b74e657c47f1ba3a25de55973cd8 | {"cashier_receipt":{"applied_promotions":["PROMO_PCT_1"],"payable_amount":1174878,"primary_channel_id":"CREDIT_ANT_HUABEI_5115","primary_deduct_amount":1174878,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":2385359},"error_message":null,"order_amount":3560237,"order_id":"ORD_0010462","r... | 463 |
SPLIT_PAYMENT | SFT_001309 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_1"
],
"payable_amount": 1772046,
"primary_channel_id": "BANK_ICBC_DEBIT_7746",
"primary_deduct_amount": 462048,
"secondary_channel_id": "UNIONPAY_QUICK_PASS_3128",
"secondary_deduct_amount": 1309998,
"total_discount_amou... | {
"available_channels": [
{
"balance": 462048,
"channel_id": "BANK_ICBC_DEBIT_7746"
},
{
"balance": 278908,
"channel_id": "WALLET_MEITUAN_CASH_5164"
},
{
"balance": 131176,
"channel_id": "WALLET_ALIPAY_PLUS_8910"
},
{
"balance": 181785,
"chan... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | f3162206e9125892a80a0780be2e7a4f512125b11f00e75ad88fe5354475bc75 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_1"],"payable_amount":1772046,"primary_channel_id":"BANK_ICBC_DEBIT_7746","primary_deduct_amount":462048,"secondary_channel_id":"UNIONPAY_QUICK_PASS_3128","secondary_deduct_amount":1309998,"total_discount_amount":97479},"error_message":null,"order_amount":1869525,"o... | 1,309 |
SPLIT_PAYMENT | SFT_000826 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_2"
],
"payable_amount": 89076,
"primary_channel_id": "REWARD_POINTS_VIP_6104",
"primary_deduct_amount": 89076,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 7025
},
"error_messa... | {
"available_channels": [
{
"balance": 96100,
"channel_id": "REWARD_POINTS_VIP_6104"
},
{
"balance": 2041,
"channel_id": "APPLE_WALLET_NFC_3677"
},
{
"balance": 17405,
"channel_id": "BANK_BOC_CARD_7053"
},
{
"balance": 6951,
"channel_id": "BA... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 1c7975aa2dc2e18446927b0c40885bfc5b8ea281c5cbd37195aa6b91718db316 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_2"],"payable_amount":89076,"primary_channel_id":"REWARD_POINTS_VIP_6104","primary_deduct_amount":89076,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":7025},"error_message":null,"order_amount":96101,"order_id":"ORD_0010825","recommen... | 826 |
EXCLUSIVE_VS_STACK | SFT_001053 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_B_5"
],
"payable_amount": 29263,
"primary_channel_id": "WALLET_JD_PAY_7210",
"primary_deduct_amount": 29263,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 9040
},
"error_message": ... | {
"available_channels": [
{
"balance": 114909,
"channel_id": "WALLET_JD_PAY_7210"
},
{
"balance": 9120,
"channel_id": "CREDIT_BAITIAO_PLUS_1485"
},
{
"balance": 5131,
"channel_id": "PAYPAL_GLOBAL_DIRECT_7585"
},
{
"balance": 265365,
"channel_... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | c7cd51d7f1df83f177c485aebf67c9eb1cfaece8167a4411b2fada40a7c9e8ad | {"cashier_receipt":{"applied_promotions":["PROMO_EX_B_5"],"payable_amount":29263,"primary_channel_id":"WALLET_JD_PAY_7210","primary_deduct_amount":29263,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":9040},"error_message":null,"order_amount":38303,"order_id":"ORD_0011052","recommended_o... | 1,053 |
CHANNEL_NOT_FOUND | SFT_001451 | {
"cashier_receipt": null,
"error_message": "Selected channel BANK_NONEXISTENT_GHOST_CHANNEL_9999 is not in available channels",
"order_amount": 50000,
"order_id": "ORD_0011450",
"recommended_option": null,
"status": "CHANNEL_NOT_FOUND"
} | {
"available_channels": [
{
"balance": 295248,
"channel_id": "WALLET_ALIPAY_PLUS_6864"
},
{
"balance": 7042,
"channel_id": "BANK_BOC_CARD_1587"
},
{
"balance": 119590,
"channel_id": "BANK_ICBC_DEBIT_6437"
},
{
"balance": 11444,
"channel_id": ... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 368cc7cedf0036a79054db0e7e1a71c8cd01b44a1d1da8d648234ffd93784124 | {"cashier_receipt":null,"error_message":"Selected channel BANK_NONEXISTENT_GHOST_CHANNEL_9999 is not in available channels","order_amount":50000,"order_id":"ORD_0011450","recommended_option":null,"status":"CHANNEL_NOT_FOUND"} | 1,451 |
EXCLUSIVE_VS_STACK | SFT_001172 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_B_5"
],
"payable_amount": 35182,
"primary_channel_id": "BANK_SPDB_CARD_6169",
"primary_deduct_amount": 35182,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 8767
},
"error_message":... | {
"available_channels": [
{
"balance": 0,
"channel_id": "CREDIT_BAITIAO_PLUS_6676"
},
{
"balance": 36670,
"channel_id": "BANK_BOC_CARD_7293"
},
{
"balance": 150223,
"channel_id": "BANK_CMB_GOLD_5559"
},
{
"balance": 8097,
"channel_id": "CREDI... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | ee151ce36a9a7a79428524e96e25246cd9b6ea9f66c6f8cb72a135f48c112d48 | {"cashier_receipt":{"applied_promotions":["PROMO_EX_B_5"],"payable_amount":35182,"primary_channel_id":"BANK_SPDB_CARD_6169","primary_deduct_amount":35182,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":8767},"error_message":null,"order_amount":43949,"order_id":"ORD_0011171","recommended_... | 1,172 |
EXCLUSIVE_VS_STACK | SFT_000514 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_B_5"
],
"payable_amount": 8186,
"primary_channel_id": "BANK_COMM_PAY_8259",
"primary_deduct_amount": 8186,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 1815
},
"error_message": nu... | {
"available_channels": [
{
"balance": 781,
"channel_id": "APPLE_WALLET_NFC_1263"
},
{
"balance": 15274,
"channel_id": "WALLET_ALIPAY_PLUS_5757"
},
{
"balance": 12440,
"channel_id": "BANK_BOC_CARD_6883"
},
{
"balance": 11398,
"channel_id": "W... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 3199ba52e27eb22f6bc72876dea4f723479ca4c2309c20296308bfd7f236affa | {"cashier_receipt":{"applied_promotions":["PROMO_EX_B_5"],"payable_amount":8186,"primary_channel_id":"BANK_COMM_PAY_8259","primary_deduct_amount":8186,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":1815},"error_message":null,"order_amount":10001,"order_id":"ORD_0010513","recommended_opt... | 514 |
SPLIT_PAYMENT | SFT_001030 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_2"
],
"payable_amount": 1147088,
"primary_channel_id": "BANK_ICBC_DEBIT_9161",
"primary_deduct_amount": 88974,
"secondary_channel_id": "BANK_BOC_CARD_4921",
"secondary_deduct_amount": 1058114,
"total_discount_amount": 93... | {
"available_channels": [
{
"balance": 88974,
"channel_id": "BANK_ICBC_DEBIT_9161"
},
{
"balance": 160656,
"channel_id": "UNIONPAY_QUICK_PASS_5254"
},
{
"balance": 51216,
"channel_id": "BANK_PINGAN_PAY_8927"
},
{
"balance": 17087,
"channel_id... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 650c76601135b2832cea6b28d456acc1b96a2803ae6205f366906464eb82d1b3 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_2"],"payable_amount":1147088,"primary_channel_id":"BANK_ICBC_DEBIT_9161","primary_deduct_amount":88974,"secondary_channel_id":"BANK_BOC_CARD_4921","secondary_deduct_amount":1058114,"total_discount_amount":93726},"error_message":null,"order_amount":1240814,"order_id... | 1,030 |
EXCLUSIVE_VS_STACK | SFT_000751 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_B_4"
],
"payable_amount": 86156,
"primary_channel_id": "BANK_PINGAN_PAY_1752",
"primary_deduct_amount": 86156,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 10467
},
"error_message... | {
"available_channels": [
{
"balance": 165988,
"channel_id": "BANK_SPDB_CARD_9777"
},
{
"balance": 134069,
"channel_id": "CREDIT_ANT_HUABEI_7466"
},
{
"balance": 99,
"channel_id": "REWARD_POINTS_VIP_7972"
},
{
"balance": 20933,
"channel_id": ... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 478f45f226a7f43119e08895ac4072f39d7feefc521d17916fb1f29c2fee6093 | {"cashier_receipt":{"applied_promotions":["PROMO_EX_B_4"],"payable_amount":86156,"primary_channel_id":"BANK_PINGAN_PAY_1752","primary_deduct_amount":86156,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":10467},"error_message":null,"order_amount":96623,"order_id":"ORD_0010750","recommende... | 751 |
SPLIT_PAYMENT | SFT_000959 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_1"
],
"payable_amount": 46096,
"primary_channel_id": "WALLET_MEITUAN_CASH_5434",
"primary_deduct_amount": 13477,
"secondary_channel_id": "BANK_CMB_GOLD_5832",
"secondary_deduct_amount": 32619,
"total_discount_amount": 39... | {
"available_channels": [
{
"balance": 13477,
"channel_id": "WALLET_MEITUAN_CASH_5434"
},
{
"balance": 8740,
"channel_id": "BANK_SPDB_CARD_4685"
},
{
"balance": 4054,
"channel_id": "BANK_COMM_PAY_3297"
},
{
"balance": 494,
"channel_id": "BANK... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 7abd10bf949f66349a92bba7564419d71ee2202652a6e05e32a9242ab5d1f502 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_1"],"payable_amount":46096,"primary_channel_id":"WALLET_MEITUAN_CASH_5434","primary_deduct_amount":13477,"secondary_channel_id":"BANK_CMB_GOLD_5832","secondary_deduct_amount":32619,"total_discount_amount":3904},"error_message":null,"order_amount":50000,"order_id":"... | 959 |
RECOMMEND_SWITCH | SFT_001244 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_SMALL_1"
],
"payable_amount": 148820,
"primary_channel_id": "BANK_PINGAN_PAY_3992",
"primary_deduct_amount": 148820,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 4602
},
"error_messa... | {
"available_channels": [
{
"balance": 14056,
"channel_id": "BANK_BOC_CARD_3975"
},
{
"balance": 17555,
"channel_id": "BANK_ICBC_DEBIT_3219"
},
{
"balance": 219420,
"channel_id": "BANK_SPDB_CARD_8526"
},
{
"balance": 460266,
"channel_id": "WA... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 4bafea155f72aa53795476564e5c63b5657a6c97f446f7ab2d2b145358fbfebb | {"cashier_receipt":{"applied_promotions":["PROMO_SMALL_1"],"payable_amount":148820,"primary_channel_id":"BANK_PINGAN_PAY_3992","primary_deduct_amount":148820,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":4602},"error_message":null,"order_amount":153422,"order_id":"ORD_0011243","recomme... | 1,244 |
TIE_BREAKER | SFT_000046 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_UNIVERSAL_EQUAL_1"
],
"payable_amount": 70248,
"primary_channel_id": "WALLET_WECHAT_PAY_8856",
"primary_deduct_amount": 70248,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 7805
},
"e... | {
"available_channels": [
{
"balance": 312212,
"channel_id": "GIFT_VOUCHER_CARD_1673"
},
{
"balance": 312212,
"channel_id": "DIGITAL_RMB_WALLET_8141"
},
{
"balance": 312212,
"channel_id": "APPLE_WALLET_NFC_3252"
},
{
"balance": 312212,
"chann... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 8733cf5c6f31c1e0a80d0f9e4556acd121594f473c045d2a454618b65c747dcf | {"cashier_receipt":{"applied_promotions":["PROMO_UNIVERSAL_EQUAL_1"],"payable_amount":70248,"primary_channel_id":"WALLET_WECHAT_PAY_8856","primary_deduct_amount":70248,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":7805},"error_message":null,"order_amount":78053,"order_id":"ORD_0010045"... | 46 |
SPLIT_PAYMENT | SFT_000753 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_3"
],
"payable_amount": 46527,
"primary_channel_id": "WALLET_WECHAT_PAY_1689",
"primary_deduct_amount": 12597,
"secondary_channel_id": "BANK_ICBC_DEBIT_1678",
"secondary_deduct_amount": 33930,
"total_discount_amount": 34... | {
"available_channels": [
{
"balance": 5081,
"channel_id": "DIGITAL_RMB_WALLET_5513"
},
{
"balance": 9944,
"channel_id": "CREDIT_ANT_HUABEI_8216"
},
{
"balance": 5042,
"channel_id": "BANK_BOC_CARD_6837"
},
{
"balance": 3964,
"channel_id": "BA... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 775427d869e5f801fe7567eba291c30d3d16909255db20d80527c7af398afad0 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_3"],"payable_amount":46527,"primary_channel_id":"WALLET_WECHAT_PAY_1689","primary_deduct_amount":12597,"secondary_channel_id":"BANK_ICBC_DEBIT_1678","secondary_deduct_amount":33930,"total_discount_amount":3473},"error_message":null,"order_amount":50000,"order_id":"... | 753 |
RECOMMEND_SWITCH | SFT_000683 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_SMALL_1"
],
"payable_amount": 97000,
"primary_channel_id": "PAYPAL_GLOBAL_DIRECT_5045",
"primary_deduct_amount": 97000,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2999
},
"error_me... | {
"available_channels": [
{
"balance": 238033,
"channel_id": "WALLET_MEITUAN_CASH_3285"
},
{
"balance": 606051,
"channel_id": "PAYPAL_GLOBAL_DIRECT_5045"
},
{
"balance": 963269,
"channel_id": "CREDIT_BAITIAO_PLUS_9884"
},
{
"balance": 299997,
... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 4a12355ba3f42ec48671f10cdffd2022371e43fc3f7e8f0440c75ae2aa8e81ea | {"cashier_receipt":{"applied_promotions":["PROMO_SMALL_1"],"payable_amount":97000,"primary_channel_id":"PAYPAL_GLOBAL_DIRECT_5045","primary_deduct_amount":97000,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":2999},"error_message":null,"order_amount":99999,"order_id":"ORD_0010682","recom... | 683 |
EXCLUSIVE_VS_STACK | SFT_001296 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_EX_A_4"
],
"payable_amount": 39110,
"primary_channel_id": "WALLET_WECHAT_PAY_1100",
"primary_deduct_amount": 39110,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 11567
},
"error_messa... | {
"available_channels": [
{
"balance": 44247,
"channel_id": "CREDIT_ANT_HUABEI_3313"
},
{
"balance": 0,
"channel_id": "BANK_ICBC_DEBIT_2627"
},
{
"balance": 152031,
"channel_id": "WALLET_WECHAT_PAY_1100"
},
{
"balance": 7072,
"channel_id": "B... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 058312d0c36590955fe46c4ad9fde7a29d6851ebf0c4d3a4ac50b73930b3f463 | {"cashier_receipt":{"applied_promotions":["PROMO_EX_A_4"],"payable_amount":39110,"primary_channel_id":"WALLET_WECHAT_PAY_1100","primary_deduct_amount":39110,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":11567},"error_message":null,"order_amount":50677,"order_id":"ORD_0011295","recommen... | 1,296 |
SPLIT_PAYMENT | SFT_001416 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_2"
],
"payable_amount": 925157,
"primary_channel_id": "GIFT_VOUCHER_CARD_1945",
"primary_deduct_amount": 164573,
"secondary_channel_id": "WALLET_JD_PAY_6092",
"secondary_deduct_amount": 760584,
"total_discount_amount": 7... | {
"available_channels": [
{
"balance": 99046,
"channel_id": "WALLET_WECHAT_PAY_5870"
},
{
"balance": 195118,
"channel_id": "BANK_ABC_EXPRESS_1929"
},
{
"balance": 164573,
"channel_id": "GIFT_VOUCHER_CARD_1945"
},
{
"balance": 2999997,
"channe... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | 92a83466bd26fcc500fcebd30af1a887fcff6827480d1bbb7e9e2b7865163ec7 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_2"],"payable_amount":925157,"primary_channel_id":"GIFT_VOUCHER_CARD_1945","primary_deduct_amount":164573,"secondary_channel_id":"WALLET_JD_PAY_6092","secondary_deduct_amount":760584,"total_discount_amount":74842},"error_message":null,"order_amount":999999,"order_id... | 1,416 |
RECOMMEND_SWITCH | SFT_000369 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_SMALL_1"
],
"payable_amount": 37736,
"primary_channel_id": "APPLE_WALLET_NFC_9271",
"primary_deduct_amount": 31106,
"secondary_channel_id": "DIGITAL_RMB_WALLET_6626",
"secondary_deduct_amount": 6630,
"total_discount_amount": 1... | {
"available_channels": [
{
"balance": 4544,
"channel_id": "WALLET_ALIPAY_PLUS_1366"
},
{
"balance": 5027,
"channel_id": "WALLET_WECHAT_PAY_8872"
},
{
"balance": 30278,
"channel_id": "DIGITAL_RMB_WALLET_6626"
},
{
"balance": 1644,
"channel_id... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | ce9493434ff7e685087cd1ced7764b4f28b3449dbff24f69eafc3be45562febf | {"cashier_receipt":{"applied_promotions":["PROMO_SMALL_1"],"payable_amount":37736,"primary_channel_id":"APPLE_WALLET_NFC_9271","primary_deduct_amount":31106,"secondary_channel_id":"DIGITAL_RMB_WALLET_6626","secondary_deduct_amount":6630,"total_discount_amount":1167},"error_message":null,"order_amount":38903,"order_id":... | 369 |
SPLIT_PAYMENT | SFT_000743 | {
"cashier_receipt": {
"applied_promotions": [
"PROMO_STACK_2"
],
"payable_amount": 94,
"primary_channel_id": "BANK_ABC_EXPRESS_8753",
"primary_deduct_amount": 94,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 7
},
"error_message": null,... | {
"available_channels": [
{
"balance": 17,
"channel_id": "BANK_CCB_CREDIT_6234"
},
{
"balance": 10,
"channel_id": "WALLET_MEITUAN_CASH_1063"
},
{
"balance": 18,
"channel_id": "BANK_CMB_GOLD_5136"
},
{
"balance": 100,
"channel_id": "BANK_ABC_E... | You are a composite payment calculation and cashier recommendation service. Given a payment request, return exactly one JSON object. Do not output reasoning, <think> tags, explanations, or Markdown.
Rules:
1. All amounts are integer cents. Preserve the input order_id and order_amount.
2. A promotion requires order_amo... | b844f214f09dc56dfefbec414a5844cf83e8ef230fb0cb4f74a0eeab2e109e50 | {"cashier_receipt":{"applied_promotions":["PROMO_STACK_2"],"payable_amount":94,"primary_channel_id":"BANK_ABC_EXPRESS_8753","primary_deduct_amount":94,"secondary_channel_id":null,"secondary_deduct_amount":0,"total_discount_amount":7},"error_message":null,"order_amount":101,"order_id":"ORD_0010742","recommended_option":... | 743 |
Ling-Tiny-SFT
An SFT dataset for structured output in composite payment workflows.
Ling-Tiny-SFT turns orders, payment channel balances, and promotion rules into payment-request-to-JSON examples for Ling Tiny model fine-tuning. The model must calculate the payment plan for the selected channel and recommend the feasible channel offering the largest discount, while handling split payments, exclusive promotions, rounding, and error conditions.
Prepared for the AReno Ling Tiny end-to-end fine-tuning recipe, the dataset contains 1,400 training examples and 100 validation examples. Requests are generated programmatically, and answers are computed by a reference payment service. Please note the dataset contains no real transaction records, all training targets are direct JSON outputs without <think> tags or reasoning text.
Dataset Size and Scenario Distribution
| Split | File | Examples | Purpose |
|---|---|---|---|
| train | train.jsonl |
1,400 | SFT parameter updates |
| validation | valid.jsonl |
100 | Configuration or checkpoint selection during development |
| Total | — | 1,500 | — |
This version does not include a test split. The validation set does not replace an independent final evaluation set.
| Scenario | Original Label | train | validation |
|---|---|---|---|
| Split payment | SPLIT_PAYMENT |
357 | 25 |
| Recommended channel switch | RECOMMEND_SWITCH |
264 | 19 |
| Exclusive vs. stackable promotions | EXCLUSIVE_VS_STACK |
213 | 15 |
| Rounding boundary | ROUND_HALF_UP_BOUNDARY |
203 | 15 |
| Single-channel payment | SINGLE_CHANNEL_NORMAL |
148 | 11 |
| Recommendation tie | TIE_BREAKER |
140 | 10 |
| Insufficient funds | INSUFFICIENT_FUNDS |
45 | 3 |
| Selected channel not found | CHANNEL_NOT_FOUND |
30 | 2 |
Scenario labels reflect the original generator's sampling intent. They are not independently revalidated classifications of the boundary conditions in each example.
Repository Structure
Ling-Tiny-SFT/
├── README.md # Dataset overview, fields, and loading instructions
├── train.jsonl # 1,400 training examples
├── valid.jsonl # 100 examples mapped to the validation split
├── system_prompt.txt # Shared payment rules, already included in each prompt
└── manifest.json # Provenance, preparation rules, statistics, and checksums
Data Format
Each line in a JSONL file contains one example:
| Field | Type | Description |
|---|---|---|
case_id |
string | Original example identifier |
source_line |
integer | One-based line number in the source file |
bucket |
string | Original scenario label |
request_fingerprint |
string | Request SHA-256 excluding the order ID |
input |
object | Order, channels, promotions, and selected channel |
ground_truth |
object | Expected result from the reference payment service |
prompt |
string | Complete rules and compact request JSON, used as model input |
response |
string | Expected result serialized as JSON, used as the supervised target |
Example from the Training Set
The following JSON content shows case_id, the complete input, and ground_truth for training example SFT_001262; other fields are omitted for readability. The order amount is 7 cents. The selected channel receives a 1-cent general discount and a 1-cent channel discount, resulting in a 5-cent deduction. The same channel is also recommended.
{
"case_id": "SFT_001262",
"input": {
"available_channels": [
{
"balance": 7,
"channel_id": "GIFT_VOUCHER_CARD_9414"
},
{
"balance": 21,
"channel_id": "BANK_CMB_GOLD_6278"
},
{
"balance": 29553,
"channel_id": "BANK_ICBC_DEBIT_7379"
},
{
"balance": 9,
"channel_id": "BANK_SPDB_CARD_9218"
}
],
"order": {
"order_amount": 7,
"order_id": "ORD_0011261"
},
"promotions": [
{
"applicable_channel_id": null,
"discount_amount": 1,
"discount_percent": 0,
"is_exclusive": false,
"promotion_id": "PROMO_FIXED_1",
"promotion_type": "FIXED_DISCOUNT",
"threshold": 3
},
{
"applicable_channel_id": "BANK_CMB_GOLD_6278",
"discount_amount": 1,
"discount_percent": 0,
"is_exclusive": false,
"promotion_id": "PROMO_CH_2",
"promotion_type": "CHANNEL_DISCOUNT",
"threshold": 2
}
],
"selected_channel_id": "BANK_CMB_GOLD_6278"
},
"ground_truth": {
"cashier_receipt": {
"applied_promotions": [
"PROMO_FIXED_1",
"PROMO_CH_2"
],
"payable_amount": 5,
"primary_channel_id": "BANK_CMB_GOLD_6278",
"primary_deduct_amount": 5,
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2
},
"error_message": null,
"order_amount": 7,
"order_id": "ORD_0011261",
"recommended_option": {
"applied_promotions": [
"PROMO_FIXED_1",
"PROMO_CH_2"
],
"payable_amount": 5,
"primary_deduct_amount": 5,
"recommended_channel_id": "BANK_CMB_GOLD_6278",
"secondary_channel_id": null,
"secondary_deduct_amount": 0,
"total_discount_amount": 2
},
"status": "SUCCESS"
}
}
Just use prompt and response for training. For inference, pass only prompt: do not append the rules again or include response or ground_truth in the input.
Quick Start
The release is intended to provide identical files through two dataset hubs:
- Hugging Face: the mirror repository ID is pending. Replace
AsystemAReno/Ling-Tiny-SFTin the examples below with the published ID. - ModelScope (
AsystemAReno/Ling-Tiny-SFT): the repository has been created; the prepared data files are awaiting upload.
After publication, either option below provides both train.jsonl and valid.jsonl. No additional assets from the other platform are required.
Option 1: HuggingFace
First install the huggingface dependencies, then download the dataset repository:
pip install datasets huggingface_hub
hf download AsystemAReno/Ling-Tiny-SFT \
--repo-type dataset \
--local-dir Ling-Tiny-SFT
To load the splits directly in Python instead:
from datasets import load_dataset
dataset = load_dataset("AsystemAReno/Ling-Tiny-SFT")
train = dataset["train"] # 1,400 examples
validation = dataset["validation"] # 100 examples
print(train[0])
The CLI command creates the local directory used in the Usage example below. The Python alternative returns the splits directly and uses the library's cache.
Option 2: ModelScope
Install the ModelScope SDK and download the complete dataset repository:
pip install modelscope
modelscope download --dataset AsystemAReno/Ling-Tiny-SFT \
--local-dir Ling-Tiny-SFT
Alternatively, clone the repository with Git LFS installed:
git lfs install
git clone https://modelscope.cn/datasets/AsystemAReno/Ling-Tiny-SFT.git
Usage
After downloading or cloning the repository, run this example from its parent directory to read both JSONL files and inspect a training example:
import json
from pathlib import Path
data_dir = Path("Ling-Tiny-SFT")
with (data_dir / "train.jsonl").open(encoding="utf-8") as stream:
train = [json.loads(line) for line in stream if line.strip()]
with (data_dir / "valid.jsonl").open(encoding="utf-8") as stream:
validation = [json.loads(line) for line in stream if line.strip()]
print(f"Training examples: {len(train)}")
print(f"Validation examples: {len(validation)}")
sample = train[0]
print("Case ID:", sample["case_id"])
print("Scenario:", sample["bucket"])
print("Model input:", sample["prompt"])
print("Training target:", sample["response"])
print("Expected result:")
print(json.dumps(sample["ground_truth"], indent=2, ensure_ascii=False))
Use prompt as the model input and response as the SFT target. For validation, generate a response from prompt and compare the parsed result with ground_truth. This release has no test split; use a separate evaluation set for final reporting.
For reproducible experiments, pin the published revision using --revision in the download commands or revision= in load_dataset. Remote downloads remain unverified until publication; local JSON loading has been verified.
Applications
- Domain SFT: train small models to produce business JSON according to explicit payment rules.
- Structured output: examine field completeness, numeric types, and success or error responses.
- Rule execution analysis: analyze errors in arithmetic, promotion selection, two-channel deductions, and recommendations.
- Reproducible experiments: train on fixed dataset versions and compare results before and after fine-tuning using an independent evaluation set.
AReno based Recipe
This dataset is intended for end-to-end Ling Tiny SFT experiments with AReno. After loading the data, the planned workflow covers baseline evaluation, fine-tuning, adapter saving, reloading in a separate process, and evaluation after fine-tuning. Mac, Colab, and Kaggle use the same fixed data; training compatibility must still be verified separately on each platform.
Target-tokenizer length budgets, chat templates, and thinking-mode settings have not yet been validated. This release makes no claims about model performance or successful training across platforms. Changes to prompts, examples, or splits should produce a new dataset version, rather than silent filtering in the Notebook.
- Downloads last month
- 28