{
  "DJ3-001": {
    "inputs": {
      "total_shares": "120000000",
      "excluded_shares": "6000000",
      "actual_per_share_CNY": "0.50",
      "account_shares": "2400",
      "previous_price_CNY": "12"
    },
    "assumptions": [
      "全部主体与金额均构造；账户股份全部合资格，暂不计税费",
      "Decimal精度40位，金额展示四舍五入到分；虚拟每股及参考价保留模型精度",
      "实际市场价格未知，不要求个人参考估值加派息机械等于前值"
    ],
    "tables": {
      "denominators": [
        {
          "label": "总股本",
          "shares": "120000000"
        },
        {
          "label": "排除回购",
          "shares": "6000000"
        },
        {
          "label": "参与分派",
          "shares": "114000000"
        }
      ],
      "two_tracks": {
        "pool_CNY": "57000000.00",
        "actual_per_share_CNY": "0.50",
        "virtual_per_share_CNY": "0.475",
        "actual_account_CNY": "1200.00",
        "wrong_account_CNY": "1140.00",
        "understatement_CNY": "60.00",
        "reference_price_CNY": "11.525",
        "wrong_reference_CNY": "11.50"
      },
      "excluded_change": [
        {
          "excluded_shares": "0",
          "eligible_shares": "120000000",
          "pool_CNY": "60000000.00",
          "virtual_per_share_CNY": "0.50"
        },
        {
          "excluded_shares": "6000000",
          "eligible_shares": "114000000",
          "pool_CNY": "57000000.00",
          "virtual_per_share_CNY": "0.475"
        },
        {
          "excluded_shares": "12000000",
          "eligible_shares": "108000000",
          "pool_CNY": "54000000.00",
          "virtual_per_share_CNY": "0.45"
        }
      ]
    },
    "checks": {
      "pool_maps_both_denominators": true,
      "zero_exclusion_same_per_share": true,
      "zero_dividend_zero_pool": true
    }
  },
  "DJ3-002": {
    "inputs": {
      "old_eligible_shares": "90000000",
      "new_eligible_shares": "96000000",
      "old_per_share_CNY": "0.40",
      "old_pool_CNY": "36000000.00",
      "account_shares": "1600"
    },
    "assumptions": [
      "两套均为构造实施方案，不是对同一真实公告的两种任选解释",
      "不计税费；持有1600股均合资格；精确十进制计算，金额到分"
    ],
    "tables": {
      "original_plan": {
        "shares": "90000000",
        "pool_CNY": "36000000.00",
        "per_share_CNY": "0.40",
        "account_CNY": "640.00"
      },
      "plans": [
        {
          "constraint": "固定总额",
          "shares": "96000000",
          "pool_CNY": "36000000.00",
          "per_share_CNY": "0.375",
          "account_CNY": "600.00"
        },
        {
          "constraint": "固定每股",
          "shares": "96000000",
          "pool_CNY": "38400000.00",
          "per_share_CNY": "0.40",
          "account_CNY": "640.00"
        }
      ],
      "differences": {
        "pool_CNY": "2400000.00",
        "account_CNY": "40.00"
      },
      "fixed_pool_share_sensitivity": [
        {
          "shares": "80000000",
          "per_share_CNY": "0.45"
        },
        {
          "shares": "90000000",
          "per_share_CNY": "0.40"
        },
        {
          "shares": "96000000",
          "per_share_CNY": "0.375"
        }
      ]
    },
    "checks": {
      "fixed_pool_unchanged": true,
      "same_shares_same_results": true,
      "zero_dividend_zero_both": true
    }
  },
  "DJ3-003": {
    "inputs": {
      "shares": "3000",
      "pre_price_CNY": "8",
      "initial_cash_CNY": "500.00",
      "dividend_per_share_CNY": "0.20",
      "confirmed_charge_CNY": "30.00",
      "dates": [
        "2026-09-01",
        "2026-09-02",
        "2026-09-09"
      ]
    },
    "assumptions": [
      "单币人民币；09-02凭构造确认单确认应收，09-09才实收，日期不对应真实交易日程",
      "为隔离状态差异，除息后两日估值均7.80；扣款30为构造已确认金额而非税率推断",
      "金额四舍五入到分，不把应收同时记作可用现金"
    ],
    "tables": {
      "states": [
        {
          "date": "2026-09-01",
          "voucher": "期末持仓快照",
          "shares": "3000",
          "price_CNY": "8",
          "stock_CNY": "24000.00",
          "receivable_CNY": "0.00",
          "cash_CNY": "500.00",
          "total_CNY": "24500.00"
        },
        {
          "date": "2026-09-02",
          "voucher": "构造权益确认单E-0902",
          "shares": "3000",
          "price_CNY": "7.80",
          "stock_CNY": "23400.00",
          "receivable_CNY": "600.00",
          "cash_CNY": "500.00",
          "total_CNY": "24500.00"
        },
        {
          "date": "2026-09-09",
          "voucher": "构造支付单P-0909和扣款单F-0909",
          "shares": "3000",
          "price_CNY": "7.80",
          "stock_CNY": "23400.00",
          "receivable_CNY": "0.00",
          "cash_CNY": "1070.00",
          "total_CNY": "24470.00"
        }
      ],
      "settlement": {
        "receivable_reduction_CNY": "600.00",
        "cash_increase_CNY": "570.00",
        "charge_CNY": "30.00"
      },
      "errors": [
        {
          "state": "09-02漏应收",
          "reported_total_CNY": "23900.00",
          "difference_CNY": "-600.00"
        },
        {
          "state": "09-09未冲应收",
          "reported_total_CNY": "25070.00",
          "difference_CNY": "600.00"
        }
      ],
      "changed_price": {
        "post_price_CNY": "7.60",
        "stock_CNY": "22800.00",
        "receivable_CNY": "600.00",
        "cash_CNY": "500.00",
        "total_CNY": "23900.00"
      }
    },
    "checks": {
      "receivable_settlement_balances": true,
      "before_after_ex_charge_equal": true,
      "charge_explains_last_change": true,
      "zero_dividend_no_receivable": true
    }
  },
  "DJ3-004": {
    "inputs": {
      "old_shares": "10000",
      "elected_old_shares": "6300",
      "dividend_per_share_HKD": "0.36",
      "scrip_price_HKD": "7.40"
    },
    "assumptions": [
      "构造香港直接账户且获有效选择；选股股数必须介于0和原持股之间",
      "构造条款：新增股向下取整数，余款退现金并向下截到仙；无税费",
      "金额以港元计，代息价不是上市后市场价；不混用送转比例或基金小数份额"
    ],
    "tables": {
      "allocation": {
        "total_dividend_HKD": "3600.00",
        "elected_dividend_HKD": "2268.00",
        "new_integer_shares": 306,
        "used_dividend_HKD": "2264.40",
        "residual_cash_HKD": "3.60",
        "unelected_cash_HKD": "1332.00",
        "total_cash_HKD": "1335.60",
        "ending_shares": "10306"
      },
      "election_comparison": [
        {
          "elected_old_shares": "0",
          "new_shares": 0,
          "used_dividend_HKD": "0.00",
          "cash_HKD": "3600.00"
        },
        {
          "elected_old_shares": "6300",
          "new_shares": 306,
          "used_dividend_HKD": "2264.40",
          "cash_HKD": "1335.60"
        },
        {
          "elected_old_shares": "10000",
          "new_shares": 486,
          "used_dividend_HKD": "3596.40",
          "cash_HKD": "3.60"
        }
      ],
      "wrong_rounding": {
        "round_up_shares": 307,
        "required_HKD": "2271.80",
        "excess_over_elected_HKD": "3.80"
      }
    },
    "checks": {
      "dividend_allocation_balances": true,
      "integer_not_exceed_elected": true,
      "zero_election_zero_new": true
    }
  },
  "DJ3-005": {
    "inputs": {
      "rights_units": "1800",
      "right_price_HKD": "0.28",
      "shares_per_right": "1",
      "subscription_price_HKD": "2.20",
      "buy_fee_HKD": "18.00",
      "subscription_fee_HKD": "12.00"
    },
    "assumptions": [
      "只限允许供股权买卖与后续有效认购的香港直接账户构造",
      "全部1800权有效认购1800新股；无额外费用；每股单位成本展示6位，不先舍入再乘",
      "失效场景未提交有效认购，认购费用也未发生，权利终值为零"
    ],
    "tables": {
      "payment_stages": [
        {
          "stage": "买权",
          "principal_HKD": "504.00",
          "fee_HKD": "18.00",
          "cash_out_HKD": "522.00"
        },
        {
          "stage": "行权",
          "principal_HKD": "3960.00",
          "fee_HKD": "12.00",
          "cash_out_HKD": "3972.00"
        }
      ],
      "completed": {
        "total_principal_HKD": "4464.00",
        "total_fees_HKD": "30.00",
        "total_cost_HKD": "4494.00",
        "new_shares": "1800",
        "unit_cost_HKD": "2.496667",
        "unit_cost_exact_fraction": "749/300"
      },
      "lapse": {
        "cash_out_HKD": "522.00",
        "new_shares": 0,
        "rights_terminal_value_HKD": "0.00",
        "loss_HKD": "522.00"
      },
      "zero_fee": {
        "cost_HKD": "4464.00",
        "unit_cost_HKD": "2.48"
      }
    },
    "checks": {
      "two_payments_equal_total": true,
      "fees_explain_difference": true,
      "zero_right_price_still_subscription": true
    }
  },
  "DJ3-006": {
    "inputs": {
      "old_shares": "8000",
      "old_shares_per_right": "4",
      "sale_price_per_right_HKD": "0.30",
      "sale_fee_HKD": "20.00",
      "ending_old_share_price_HKD": "3.10"
    },
    "assumptions": [
      "构造香港直接账户、每权认1新股且允许买卖；两路径均不认购",
      "出售路径2000权全部成交，现金保留；失效路径无补偿安排",
      "权利收到时数量备查，不把理论价当真实成交价；金额到分"
    ],
    "tables": {
      "paths": [
        {
          "path": "出售",
          "old_shares": "8000",
          "new_subscribed_shares": "0",
          "rights_received": "2000",
          "rights_sold": "2000",
          "rights_expired": "0",
          "rights_remaining": "0",
          "cash_HKD": "580.00",
          "stock_HKD": "24800.00",
          "total_HKD": "25380.00"
        },
        {
          "path": "失效",
          "old_shares": "8000",
          "new_subscribed_shares": "0",
          "rights_received": "2000",
          "rights_sold": "0",
          "rights_expired": "2000",
          "rights_remaining": "0",
          "cash_HKD": "0.00",
          "stock_HKD": "24800.00",
          "total_HKD": "24800.00"
        }
      ],
      "sale_cash": {
        "gross_HKD": "600.00",
        "fee_HKD": "20.00",
        "net_HKD": "580.00"
      },
      "price_sensitivity": [
        {
          "sale_price_HKD": "0.10",
          "gross_HKD": "200.00",
          "net_HKD": "180.00"
        },
        {
          "sale_price_HKD": "0.30",
          "gross_HKD": "600.00",
          "net_HKD": "580.00"
        },
        {
          "sale_price_HKD": "0.40",
          "gross_HKD": "800.00",
          "net_HKD": "780.00"
        }
      ]
    },
    "checks": {
      "same_old_stock_both_paths": true,
      "sale_net_difference": true,
      "rights_quantity_conserved": true,
      "zero_fee_equals_gross": true
    }
  },
  "DJ3-007": {
    "inputs": {
      "applied_extra_shares": "12000",
      "subscription_price_HKD": "1.25",
      "prepayment_HKD": "15000.00",
      "actual_allotted_shares": "4500",
      "separate_service_fee_HKD": "30.00",
      "partial_refund_HKD": "6000.00"
    },
    "assumptions": [
      "限允许额外申请的香港直接账户，港股通排除；构造配发比例不预测真实分配",
      "退款不计利息；服务费30已扣且不退，独立于认购预缴",
      "退款通知与到账分开，分两次退回属构造；金额到分"
    ],
    "tables": {
      "rolling": [
        {
          "state": "申请预缴",
          "prepayment_HKD": "15000.00",
          "used_HKD": "0.00",
          "pending_classification_HKD": "15000.00",
          "refund_received_HKD": "0.00",
          "refund_due_HKD": null
        },
        {
          "state": "配发确认",
          "prepayment_HKD": "15000.00",
          "used_HKD": "5625.00",
          "pending_classification_HKD": "0.00",
          "refund_received_HKD": "0.00",
          "refund_due_HKD": "9375.00"
        },
        {
          "state": "部分到账",
          "prepayment_HKD": "15000.00",
          "used_HKD": "5625.00",
          "pending_classification_HKD": "0.00",
          "refund_received_HKD": "6000.00",
          "refund_due_HKD": "3375.00"
        },
        {
          "state": "全部到账",
          "prepayment_HKD": "15000.00",
          "used_HKD": "5625.00",
          "pending_classification_HKD": "0.00",
          "refund_received_HKD": "9375.00",
          "refund_due_HKD": "0.00"
        }
      ],
      "allocation_boundaries": [
        {
          "allotted_shares": "0",
          "used_HKD": "0.00",
          "refund_HKD": "15000.00"
        },
        {
          "allotted_shares": "4500",
          "used_HKD": "5625.00",
          "refund_HKD": "9375.00"
        },
        {
          "allotted_shares": "12000",
          "used_HKD": "15000.00",
          "refund_HKD": "0.00"
        }
      ],
      "final_total_cost_HKD": "5655.00"
    },
    "checks": {
      "prepayment_equals_used_and_refund": true,
      "partial_refund_balances": true,
      "zero_allocation_full_refund": true,
      "full_allocation_zero_refund": true
    }
  },
  "DJ3-008": {
    "inputs": {
      "consolidation_old_per_new": 10,
      "new_board_lot_shares": 500,
      "old_holdings": [
        12347,
        5000,
        4999,
        9,
        0
      ]
    },
    "assumptions": [
      "构造香港直接账户：每名持有人合计计算，小于1新股不发行、也不支付现金",
      "整数新股全部保留；每手500只是交易单位，不是所有权最小整百规则",
      "港股通另有舍尾后精确算法分配差额，本模型不是其最终账户分配"
    ],
    "tables": {
      "decomposition": [
        {
          "old_shares": 12347,
          "raw_new_shares": "1234.7",
          "integer_new_shares": 1234,
          "fractional_entitlement": "0.7",
          "whole_lots": 2,
          "integer_odd_lot_shares": 234
        },
        {
          "old_shares": 5000,
          "raw_new_shares": "500",
          "integer_new_shares": 500,
          "fractional_entitlement": "0",
          "whole_lots": 1,
          "integer_odd_lot_shares": 0
        },
        {
          "old_shares": 4999,
          "raw_new_shares": "499.9",
          "integer_new_shares": 499,
          "fractional_entitlement": "0.9",
          "whole_lots": 0,
          "integer_odd_lot_shares": 499
        },
        {
          "old_shares": 9,
          "raw_new_shares": "0.9",
          "integer_new_shares": 0,
          "fractional_entitlement": "0.9",
          "whole_lots": 0,
          "integer_odd_lot_shares": 0
        },
        {
          "old_shares": 0,
          "raw_new_shares": "0",
          "integer_new_shares": 0,
          "fractional_entitlement": "0",
          "whole_lots": 0,
          "integer_odd_lot_shares": 0
        }
      ],
      "wrong_board_lot_floor": {
        "old_shares": 12347,
        "correct_integer_new_shares": 1234,
        "wrong_only_full_lot_shares": 1000,
        "missing_integer_shares": 234
      }
    },
    "checks": {
      "all_rows_reconstruct_quotient": true,
      "all_rows_reconstruct_integer": true,
      "zero_holding_zero": true
    }
  },
  "DJ3-009": {
    "inputs": {
      "old_shares": "2000",
      "pre_price_CNY": "10",
      "cash_per_old_share_CNY": "0.30",
      "free_new_per_old_share": "0.20",
      "paid_new_per_old_share": "0.25",
      "subscription_price_CNY": "4"
    },
    "assumptions": [
      "全部权益均按登记旧股2000股计，免费新增不再获得本次现金或付费配额",
      "纯构造组合，无税费；全额认购；不是沪深或香港统一流程",
      "参考价用Fraction精确比值，展示6位；守恒用精确分数而非舍入价乘股数"
    ],
    "tables": {
      "base_matrix": [
        {
          "item": "现金",
          "base_old_shares": "2000",
          "rate": "0.30",
          "result_CNY": "600.00"
        },
        {
          "item": "免费新增",
          "base_old_shares": "2000",
          "rate": "0.20",
          "new_shares": "400.00"
        },
        {
          "item": "付费新增",
          "base_old_shares": "2000",
          "rate": "0.25",
          "new_shares": "500.00",
          "cash_out_CNY": "2000.00"
        }
      ],
      "reconciliation": {
        "beginning_reference_value_CNY": "20000.00",
        "ending_shares": "2900.00",
        "stock_reference_value_CNY": "21400.00",
        "dividend_CNY": "600.00",
        "external_cash_CNY": "2000.00",
        "stock_plus_cash_CNY": "22000.00",
        "net_after_external_CNY": "20000.00",
        "reference_price_exact": "214/29",
        "reference_price_display_CNY": "7.379310"
      },
      "wrong_base": {
        "after_free_shares": "2400.00",
        "wrong_paid_shares": "600.0000",
        "excess_paid_shares": "100.0000",
        "excess_payment_CNY": "400.00"
      },
      "zero_paid_rate": {
        "ending_shares": "2400.00",
        "external_CNY": "0.00",
        "reference_price_exact": "97/12"
      }
    },
    "checks": {
      "external_cash_removed_before_comparison": true,
      "fraction_reference_conserves_value": true,
      "zero_all_rates_same_price": true
    }
  },
  "DJ3-010": {
    "inputs": {
      "old_per_new": 5,
      "initial_old_shares": 10000,
      "new_unit_reference_HKD": "15.00",
      "old_to_temp_batches": [
        6000,
        4000
      ],
      "temp_to_formal_batches": [
        1600,
        400
      ]
    },
    "assumptions": [
      "所有代码均为文字占位OLD/TEMP/NEW而非真实证券代码；按凭证分批转换，不设真实交易日程",
      "临时栏已是新股单位，不能再除5；旧历史影子行不是有效余额",
      "渠道日期与交易服务须另核，模型不是港股通账户界面或统一流程；金额只作固定参考估值"
    ],
    "tables": {
      "mapping": [
        {
          "state": "转换前",
          "old_shares": 10000,
          "temporary_new_shares": 0,
          "formal_new_shares": 0,
          "equivalent_new_shares": 2000
        },
        {
          "state": "首笔旧股转换",
          "old_shares": 4000,
          "temporary_new_shares": 1200,
          "formal_new_shares": 0,
          "equivalent_new_shares": 2000
        },
        {
          "state": "余下旧股转换",
          "old_shares": 0,
          "temporary_new_shares": 2000,
          "formal_new_shares": 0,
          "equivalent_new_shares": 2000
        },
        {
          "state": "首笔临时转正式",
          "old_shares": 0,
          "temporary_new_shares": 400,
          "formal_new_shares": 1600,
          "equivalent_new_shares": 2000
        },
        {
          "state": "转换完成",
          "old_shares": 0,
          "temporary_new_shares": 0,
          "formal_new_shares": 2000,
          "equivalent_new_shares": 2000
        }
      ],
      "conversion_vouchers": [
        {
          "from": "OLD",
          "decrease": 6000,
          "to": "TEMP",
          "increase": 1200
        },
        {
          "from": "OLD",
          "decrease": 4000,
          "to": "TEMP",
          "increase": 800
        },
        {
          "from": "TEMP",
          "decrease": 1600,
          "to": "NEW",
          "increase": 1600
        },
        {
          "from": "TEMP",
          "decrease": 400,
          "to": "NEW",
          "increase": 400
        }
      ],
      "reference_value_HKD": "30000.00",
      "duplicate_shadow": {
        "stale_old_shares": 10000,
        "valid_new_shares": 2000,
        "wrong_equivalent_new_shares": 4000,
        "wrong_reference_value_HKD": "60000.00"
      },
      "zero_conversion": {
        "old_shares": 10000,
        "new_shares": 0,
        "equivalent_new_shares": 2000
      }
    },
    "checks": {
      "every_state_preserves_economic_quantity": true,
      "first_conversion_consistent": true,
      "all_old_converted": true,
      "formal_reconciliation": true
    }
  },
  "DJ3-011": {
    "inputs": {
      "placed_shares": "500000",
      "placing_price_HKD": "2.35",
      "subscription_price_HKD": "2.10",
      "pool_expenses_HKD": "25000.00",
      "allocation_denominator_rights": "500000",
      "constructed_payment_threshold_HKD": "50.00",
      "threshold_rule": "超过50全额支付；50或以下不支付"
    },
    "assumptions": [
      "全量配售与分母均构造；无自行卖权成交；只分配已实现净池，不保证出现溢价",
      "50港元门槛为教学自定，不是NIU公告100港元或全港标准",
      "按权利份额分摊，现金向下截到仙；净池以零为下限，不向股东倒收负数"
    ],
    "tables": {
      "pool": {
        "placing_receipts_HKD": "1175000.00",
        "subscription_component_HKD": "1050000.00",
        "gross_premium_HKD": "125000.00",
        "expenses_HKD": "25000.00",
        "distributable_net_HKD": "100000.00",
        "per_right_HKD": "0.20"
      },
      "distributions": [
        {
          "unsubscribed_rights": "100",
          "raw_allocation_HKD": "20.00",
          "paid_HKD": "0.00",
          "retained_HKD": "20.00"
        },
        {
          "unsubscribed_rights": "250",
          "raw_allocation_HKD": "50.00",
          "paid_HKD": "0.00",
          "retained_HKD": "50.00"
        },
        {
          "unsubscribed_rights": "251",
          "raw_allocation_HKD": "50.20",
          "paid_HKD": "50.20",
          "retained_HKD": "0.00"
        },
        {
          "unsubscribed_rights": "1000",
          "raw_allocation_HKD": "200.00",
          "paid_HKD": "200.00",
          "retained_HKD": "0.00"
        }
      ],
      "price_sensitivity": [
        {
          "placing_price_HKD": "2.35",
          "gross_premium_HKD": "125000.00",
          "net_before_floor_HKD": "100000.00",
          "distributable_net_HKD": "100000.00"
        },
        {
          "placing_price_HKD": "2.15",
          "gross_premium_HKD": "25000.00",
          "net_before_floor_HKD": "0.00",
          "distributable_net_HKD": "0.00"
        },
        {
          "placing_price_HKD": "2.10",
          "gross_premium_HKD": "0.00",
          "net_before_floor_HKD": "-25000.00",
          "distributable_net_HKD": "0.00"
        }
      ],
      "wrong_above_only": {
        "rights": "251",
        "correct_paid_HKD": "50.20",
        "wrong_deduct_threshold_HKD": "0.20"
      }
    },
    "checks": {
      "pool_arithmetic": true,
      "threshold_equal_no_payment": true,
      "threshold_above_full_payment": true,
      "zero_premium_zero_net": true
    }
  }
}
