Synthesize the COMPLETE optimal bounded continuous capital-injection policy for
Synthesize the COMPLETE optimal bounded continuous capital-injection policy for one explicitly declared2stage finite information tree: fourleafscenarios A0,A1,B0,B1. Rootinjection x occurs BEFORE observedstage1signal A/B and its cashflow d1; childinjection yA/yB occurs AFTER that observed signal but BEFORE unresolved second cashflow d2. A/Bare declared OBSERVED exogenous information signals, even if their cashflows coincide; futureleafindex is not revealed.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://finops.halowerk.com/v1/scenario-nonanticipative-liquidity-injections
| Category | Market data |
|---|---|
| Provider host | finops.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.003 | 1205 ms |
| 2026-11-26 | valid payment request | 402 | $0.003 | 1191 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 1211 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 1336 ms |
Example input (from the provider)
{
"body": {
"cost_denominator": 1,
"initial_cash_n": 0,
"injection_caps_n": [
6,
6,
6
],
"leaf_probability_n": [
1,
1,
1,
1
],
"money_denominator": 1,
"probability_denominator": 4,
"report": {
"optimal_vertices": [
[
{
"d": "1",
"n": "5"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
}
]
],
"policy_and_value": {
"after_signal_A": {
"d": "1",
"n": "0"
},
"after_signal_B": {
"d": "1",
"n": "0"
},
"expected_cost": {
"d": "1",
"n": "5"
},
"optimal_root_max": {
"d": "1",
"n": "5"
},
"optimal_root_min": {
"d": "1",
"n": "5"
},
"root": {
"d": "1",
"n": "5"
}
}
},
"stage1_cashflow_n": [
-2,
1
],
"stage2_cashflow_n": [
[
-3,
2
],
[
-5,
1
]
],
"unit_cost_n": [
1,
4,
4
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"cost_denominator": {
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"initial_cash_n": {
"maximum": 1000,
"minimum": 0,
"type": "integer"
},
"injection_caps_n": {
"items": {
"maximum": 1000,
"minimum": 0,
"type": "integer"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"leaf_probability_n": {
"items": {
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"money_denominator": {
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"probability_denominator": {
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"report": {
"anyOf": [
{
"type": "null"
},
{
"additionalProperties": false,
"properties": {
"optimal_vertices": {
"items": {
"items": {
"additionalProperties": false,
"oneOf": [
{
"properties": {
"d": {
"maxLength": 64,
"pattern": "^[1-9][0-9]*$",
"type": "string"
},
"n": {
"maxLength": 64,
"pattern": "^(0|-[1-9][0-9]*|[1-9][0-9]*)$",
"type": "string"
}
}
},
{
"properties": {
"d": {
"type": "null"
},
"n": {
"type": "null"
}
}
}
],
"properties": {
"d": {},
"n": {}
},
"required": [
"n",
"d"
],
"type": "object"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
},
"policy_and_value": {
"additionalProperties": {
"additionalProperties": false,
"oneOf": [
{
"properties": {
"d": {
"maxLength": 64,
"pattern": "^[1-9][0-9]*$",
"type": "string"
},
"n": {
"maxLength": 64,
"pattern": "^(0|-[1-9][0-9]*|[1-9][0-9]*)$",
"type": "string"
}
}
},
{
"properties": {
"d": {
"type": "null"
},
"n": {
"type": "null"
}
}
}
],
"properties": {
"d": {},
"n": {}
},
"required": [
"n",
"d"
],
"type": "object"
},
"maxProperties": 6,
"minProperties": 6,
"propertyNames": {
"enum": [
"root",
"after_signal_A",
"after_signal_B",
"expected_cost",
"optimal_root_min",
"optimal_root_max"
]
},
"type": "object"
}
},
"required": [
"policy_and_value",
"optimal_vertices"
],
"type": "object"
}
]
},
"stage1_cashflow_n": {
"items": {
"maximum": 1000,
"minimum": -1000,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},