[
  {
    "id": "$millisecond baseline",
    "operator": "$millisecond",
    "kind": "baseline",
    "operand": "all",
    "expression": {
      "$millisecond": {
        "$toDate": "2024-01-02T03:04:05.006Z"
      }
    },
    "input": {},
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"6\"}}",
      "present": true
    },
    "mongo": {
      "bson": "{\"v\": {\"$numberInt\": \"6\"}}",
      "present": true
    },
    "status": "EXACT_MATCH"
  },
  {
    "id": "$millisecond input: null",
    "operator": "$millisecond",
    "kind": "null",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": null
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: null"
    },
    "mongo": {
      "bson": "{\"v\": null}",
      "present": true
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond input: missing",
    "operator": "$millisecond",
    "kind": "missing",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {},
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: null"
    },
    "mongo": {
      "bson": "{\"v\": null}",
      "present": true
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond input: zero",
    "operator": "$millisecond",
    "kind": "zero",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": 0
    },
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type int to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond input: negative",
    "operator": "$millisecond",
    "kind": "negative",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": -2
    },
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type int to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond input: decimal",
    "operator": "$millisecond",
    "kind": "decimal",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": 2.5
    },
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type double to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond input: numeric string",
    "operator": "$millisecond",
    "kind": "numeric string",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": "12"
    },
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type string to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond input: text",
    "operator": "$millisecond",
    "kind": "text",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": "hello"
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: hello"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type string to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: empty string",
    "operator": "$millisecond",
    "kind": "empty string",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": ""
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: "
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type string to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: boolean",
    "operator": "$millisecond",
    "kind": "boolean",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": true
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: true"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type bool to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: false",
    "operator": "$millisecond",
    "kind": "false",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": false
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: false"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type bool to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: typed date",
    "operator": "$millisecond",
    "kind": "typed date",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": {
        "$date": "2026-01-15T15:00:00Z"
      }
    },
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "mongo": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "status": "EXACT_MATCH"
  },
  {
    "id": "$millisecond input: decimal128",
    "operator": "$millisecond",
    "kind": "decimal128",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": {
        "$numberDecimal": "1.25"
      }
    },
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type decimal to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond input: empty array",
    "operator": "$millisecond",
    "kind": "empty array",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": []
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: []"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type array to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: numeric array",
    "operator": "$millisecond",
    "kind": "numeric array",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": [
        1,
        2,
        3
      ]
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: [1, 2, 3]"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type array to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: mixed array",
    "operator": "$millisecond",
    "kind": "mixed array",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": [
        1,
        null,
        "x",
        3
      ]
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: [1, null, x, 3]"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type array to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: nested array",
    "operator": "$millisecond",
    "kind": "nested array",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": [
        [
          1,
          2
        ],
        [
          3
        ]
      ]
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: [[1, 2], [3]]"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type array to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: empty object",
    "operator": "$millisecond",
    "kind": "empty object",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": {}
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: Document{{}}"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type object to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: object",
    "operator": "$millisecond",
    "kind": "object",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": {
        "x": 1
      }
    },
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '$probe', but got: Document{{x=1}}"
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type object to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond input: ISO date string",
    "operator": "$millisecond",
    "kind": "ISO date string",
    "operand": "input",
    "expression": {
      "$millisecond": "$probe"
    },
    "input": {
      "probe": "2026-01-15T15:00:00Z"
    },
    "srotax": {
      "bson": "{\"v\": {\"$numberInt\": \"0\"}}",
      "present": true
    },
    "mongo": {
      "message": "Executor error during aggregate command on namespace: fluxion_operator_parity_disposable.$cmd.aggregate :: caused by :: can't convert from BSON type string to Date",
      "code": 16006,
      "error": "Location16006"
    },
    "status": "DIFFERENCE"
  },
  {
    "id": "$millisecond empty arguments",
    "operator": "$millisecond",
    "kind": "empty arguments",
    "operand": "all",
    "expression": {
      "$millisecond": []
    },
    "input": {},
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field '[]', but got: []"
    },
    "mongo": {
      "message": "Invalid $project :: caused by :: $millisecond accepts exactly one argument if given an array, but was given 0",
      "code": 40536,
      "error": "Location40536"
    },
    "status": "BOTH_REJECTED"
  },
  {
    "id": "$millisecond unknown option",
    "operator": "$millisecond",
    "kind": "unknown option",
    "operand": "all",
    "expression": {
      "$millisecond": {
        "unexpected": 1
      }
    },
    "input": {},
    "srotax": {
      "error": "RuntimeException",
      "message": "$millisecond: expected date, date-string, or timestamp for field 'Document{{unexpected=1}}', but got: {unexpected=1}"
    },
    "mongo": {
      "message": "Invalid $project :: caused by :: unrecognized option to $millisecond: \"unexpected\"",
      "code": 40535,
      "error": "Location40535"
    },
    "status": "BOTH_REJECTED"
  }
]
