Scenario Planning

Simulate
Price: $0.08/callLatency: <3msComplexity: O(s * v)

Quick scenarios

Compare 3 what-if scenarios against a base case. Calculates deltas, per-variable impact, and sensitivity rankings.

Click "Run Algorithm" to see results
cURL
curl -X POST https://oraclaw-api.onrender.com/api/v1/simulate/scenario \
  -H "Content-Type: application/json" \
  -d '{"baseCase":{"revenue":1000000,"costs":600000,"growth":10},"scenarios":[{"name":"Optimistic","variables":{"revenue":1500000,"costs":650000,"growth":25}},{"name":"Pessimistic","variables":{"revenue":800000,"costs":700000,"growth":2}},{"name":"High Growth","variables":{"revenue":1200000,"costs":900000,"growth":40}}]}'

Input Schema

baseCase: Record<string, number>
scenarios: Array of {name, variables: Record<string, number>}

Output Fields

baseCaseresultssensitivityRankingscenarioCount