{
  "tool": "msc-agentic.backoff_schedule",
  "name": "Exponential backoff (CDU-ICT-AGT-900)",
  "answers": "How long does a polite client wait between retries, and how long might the whole attempt take?",
  "degree": {
    "id": "competency:msc-agentic",
    "code": "CDU-ICT-AGT-900",
    "name": "Master of Science — Agentic Systems Engineering",
    "version": "1.0.1"
  },
  "reference": "AWS Architecture Blog, \"Exponential Backoff And Jitter\" (2015): wait_n = min(cap, base × 2^n)",
  "endpoint": "/faculty/msc-agentic/backoff_schedule",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "attempts",
      "baseSeconds",
      "capSeconds"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "attempts": {
        "type": "number",
        "description": "Retry attempts to schedule",
        "minimum": 1,
        "maximum": 20
      },
      "baseSeconds": {
        "type": "number",
        "description": "The first wait (s)",
        "minimum": 0.01,
        "maximum": 3600
      },
      "capSeconds": {
        "type": "number",
        "description": "The longest any single wait may be (s)",
        "minimum": 0.01,
        "maximum": 86400
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "scheduleSeconds",
      "totalSeconds",
      "cappedFrom"
    ],
    "properties": {
      "scheduleSeconds": {
        "type": "array",
        "description": "The wait before each retry, in order",
        "items": {
          "type": "number"
        }
      },
      "totalSeconds": {
        "type": "number",
        "description": "Worst-case total waiting time"
      },
      "cappedFrom": {
        "type": "number",
        "description": "The first attempt (1-based) the cap bites on; 0 when it never does"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "attempts": 5,
    "baseSeconds": 1,
    "capSeconds": 30
  }
}