[
  {
    "id": "0005-literal-invocation:001:MonthlyPayment",
    "expression": "{PMT: function(p: number, r: number, n: number) (p*r/12)/(1-(1+r/12)**-n), __result: PMT(Loan.amount, Loan.rate, Loan.term)+fee}.__result",
    "expected": 2878.69354943277,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.",
    "coerce_to": "number",
    "context": {
      "Loan": {
        "amount": 600000.0,
        "rate": 0.0375,
        "term": 360.0
      },
      "fee": 100.0
    },
    "epsilon": 1e-08
  },
  {
    "id": "0005-literal-invocation:002:MonthlyPayment",
    "expression": "{PMT: function(p: number, r: number, n: number) (p*r/12)/(1-(1+r/12)**-n), __result: PMT(Loan.amount, Loan.rate, Loan.term)+fee}.__result",
    "expected": 662.707359373292,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.",
    "coerce_to": "number",
    "context": {
      "Loan": {
        "amount": 30000.0,
        "rate": 0.0475,
        "term": 60.0
      },
      "fee": 100.0
    },
    "epsilon": 1e-08
  },
  {
    "id": "0005-literal-invocation:003:MonthlyPayment",
    "expression": "{PMT: function(p: number, r: number, n: number) (p*r/12)/(1-(1+r/12)**-n), __result: PMT(Loan.amount, Loan.rate, Loan.term)+fee}.__result",
    "expected": 2961.03377700389,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.",
    "coerce_to": "number",
    "context": {
      "Loan": {
        "amount": 600000.0,
        "rate": 0.0399,
        "term": 360.0
      },
      "fee": 100.0
    },
    "epsilon": 1e-08
  }
]
