[
  {
    "id": "0082-feel-coercion:decision_001:decision_001",
    "expression": "1+1",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "string"
  },
  {
    "id": "0082-feel-coercion:decision_003:decision_003",
    "expression": "[1,2,\"foo\"]",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "list<number>"
  },
  {
    "id": "0082-feel-coercion:decision_004:decision_004",
    "expression": "{name: \"foo\", surname: \"bar\", age: 10}",
    "expected": {
      "name": "foo",
      "surname": "bar",
      "age": 10.0
    },
    "expected_type": "context",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "context<name: string, age: number>"
  },
  {
    "id": "0082-feel-coercion:decision_005:decision_005",
    "expression": "{name: \"foo\"}",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "context<name: string, age: number>"
  },
  {
    "id": "0082-feel-coercion:decision_006_a:decision_006_a",
    "expression": "\"foo\"",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "list<number>"
  },
  {
    "id": "0082-feel-coercion:decision_007:decision_007",
    "expression": "[\"foo\"]",
    "expected": "foo",
    "expected_type": "string",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "string"
  },
  {
    "id": "0082-feel-coercion:decision_007_a:decision_007_a",
    "expression": "[1]",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "string"
  },
  {
    "id": "0082-feel-coercion:decision_008:decision_008",
    "expression": "null",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "list<string>"
  },
  {
    "id": "0082-feel-coercion:decision_bkm_001:decision_bkm_001",
    "expression": "{bkm_001: function(nameAndAge: context<name: string, age: number>) nameAndAge != null, __result: bkm_001({name: \"foo\", surname: \"bar\", age: 10})}.__result",
    "expected": true,
    "expected_type": "boolean",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0082-feel-coercion:decision_bkm_002:decision_bkm_002",
    "expression": "{bkm_001: function(nameAndAge: context<name: string, age: number>) nameAndAge != null, __result: bkm_001({name: \"foo\"})}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0082-feel-coercion:decision_bkm_003:decision_bkm_003",
    "expression": "{bkm_002: function(nameAndAge: context<name: string, age: number>) nameAndAge != null, __result: bkm_002({name: \"foo\"})}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "context<name: string, age: number>"
  },
  {
    "id": "0082-feel-coercion:decision_bkm_004_a:decision_bkm_004_a",
    "expression": "{bkm_004: function(arg) arg, __result: bkm_004(\"foo\")}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "list<number>"
  },
  {
    "id": "0082-feel-coercion:decision_bkm_004_b:decision_bkm_004_b",
    "expression": "{bkm_004: function(arg) arg, __result: bkm_004(null)}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "list<number>"
  },
  {
    "id": "0082-feel-coercion:decision_bkm_005:decision_bkm_005",
    "expression": "{bkm_005: function(arg) [arg], __result: bkm_005(10)}.__result",
    "expected": 10.0,
    "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",
    "epsilon": 1e-08
  },
  {
    "id": "0082-feel-coercion:decision_bkm_005_a:decision_bkm_005_a",
    "expression": "{bkm_005: function(arg) [arg], __result: bkm_005(\"foo\")}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "number"
  },
  {
    "id": "0082-feel-coercion:decision_context_01:decision_context_01",
    "expression": "context(entries: [{key:\"a\", value:1}, {key:\"b\", value:2}])",
    "expected": {
      "a": 1.0,
      "b": 2.0
    },
    "expected_type": "context",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "context<a: number, b: number>"
  },
  {
    "id": "0082-feel-coercion:decision_context_02:decision_context_02",
    "expression": "context(entries: [{key:\"a\", value:1}, {key:\"b\", value:2}])",
    "expected": {
      "a": 1.0,
      "b": 2.0
    },
    "expected_type": "context",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "context<a: number>"
  },
  {
    "id": "0082-feel-coercion:decision_context_03:decision_context_03",
    "expression": "context(entries: [{key:\"a\", value:1}, {key:\"b\", value:2}])",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "context<a: number, b: number, c: number>"
  },
  {
    "id": "0082-feel-coercion:fd_001:fd_001",
    "expression": "{fn: function(arg: number) arg, __result: fn(10)}.__result",
    "expected": 10.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0082-feel-coercion:fd_002:fd_002",
    "expression": "{fn: function(arg: number) arg, __result: fn(\"foo\")}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0082-feel-coercion:invoke_001:invoke_001",
    "expression": "{bkm_001: function(nameAndAge: context<name: string, age: number>) nameAndAge != null, __result: bkm_001(nameAndAge: {name: \"foo\"})}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0082-feel-coercion:invoke_002:invoke_002",
    "expression": "{bkm_001: function(nameAndAge: context<name: string, age: number>) nameAndAge != null, __result: bkm_001(nameAndAge: {name: \"foo\", age: 10})}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "string"
  },
  {
    "id": "0082-feel-coercion:invoke_004:invoke_004",
    "expression": "{bkm_005: function(arg) [arg], __result: bkm_005(arg: \"foo\")}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "list<number>"
  },
  {
    "id": "0082-feel-coercion:invoke_005:invoke_005",
    "expression": "{bkm_005: function(arg) [arg], __result: bkm_005(arg: [10])}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "number"
  },
  {
    "id": "0082-feel-coercion:invoke_006:invoke_006",
    "expression": "{bkm_005: function(arg) [arg], __result: bkm_005(arg: [\"foo\"])}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "number"
  },
  {
    "id": "0082-feel-coercion:invoke_007:invoke_007",
    "expression": "{bkm_005: function(arg) [arg], __result: bkm_005(arg1: 123)}.__result",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "number"
  },
  {
    "id": "0082-feel-coercion:literal_001:literal_001",
    "expression": "5+5",
    "expected": 10.0,
    "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",
    "epsilon": 1e-08
  },
  {
    "id": "0082-feel-coercion:literal_002:literal_002",
    "expression": "\"foo\"",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "number"
  },
  {
    "id": "0082-feel-coercion:literal_004:literal_004",
    "expression": "\"foo\"",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "list<number>"
  },
  {
    "id": "0082-feel-coercion:literal_005:literal_005",
    "expression": "[10]",
    "expected": 10.0,
    "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",
    "epsilon": 1e-08
  },
  {
    "id": "0082-feel-coercion:literal_006:literal_006",
    "expression": "[\"foo\"]",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "coerce_to": "number"
  }
]
