Public repository: timo / feel

Reader

An interpreter of FEEL, written in Rust, with integrations for PostgreSQL, WASM, Lua, and Python.

1
[
2
  {
3
    "id": "0004-lending:001:Adjudication",
4
    "expression": "\"ACCEPT\"",
5
    "expected": "ACCEPT",
6
    "expected_type": "string",
7
    "comparison": "exact",
8
    "deviation": null,
9
    "context": {
10
      "ApplicantData": {
11
        "Monthly": {
12
          "Income": 6000.0,
13
          "Expenses": 2000.0,
14
          "Repayments": 0.0
15
        },
16
        "Age": 35.0,
17
        "ExistingCustomer": true,
18
        "MaritalStatus": "M",
19
        "EmploymentStatus": "EMPLOYED"
20
      },
21
      "RequestedProduct": {
22
        "ProductType": "STANDARD LOAN",
23
        "Amount": 350000.0,
24
        "Rate": 0.0395,
25
        "Term": 360.0
26
      },
27
      "BureauData": {
28
        "CreditScore": 649.0,
29
        "Bankrupt": false
30
      },
31
      "SupportingDocuments": "YES"
32
    }
33
  }
34
]