Research preview · 0.2.0-draft

No compatibility guarantee. Not for consequential production decisions.

Informative test case View tagged source

← All conformance cases

structural-decimal-operand-trailing-point

ordered comparison rejects decimal operands with a trailing decimal point and no fractional digits

structural invalid

Layer
structural
Expected result
invalid
Expected diagnostic
JPS-STRUCTURE-DECIMAL-OPERAND at /rules/0/when/value
Specification
§2.2
The expected result is conformance-corpus metadata, not a claim about factual grounding, authority, safety, or operational fitness.

Download exact fixture

Exact fixture

{
  "specVersion": "0.2.0-draft",
  "id": "https://example.com/judgment-packs/decimal-operand-trailing-point",
  "version": "0.1.0",
  "title": "Decimal operand with trailing decimal point",
  "decision": {
    "intent": "Exercise the ordered-operand decimal grammar.",
    "question": "Is a decimal operand with a trailing point and no fractional digits rejected?"
  },
  "outcomes": [
    { "id": "accept", "label": "Accept" },
    { "id": "reject", "label": "Reject" }
  ],
  "rules": [
    {
      "id": "ordered-rule",
      "description": "Uses a decimal operand with a trailing decimal point.",
      "when": {
        "op": "fact",
        "path": "/amount",
        "operator": "greater-than",
        "value": "5."
      },
      "outcome": "accept",
      "onUnknown": "escalate"
    }
  ]
}