{
  "app": {
    "name": "Mokabla",
    "url": "https://www.mokabla.com",
    "description": "Real interview questions from companies in Egypt, organised by company. Access is sold per company for 30 days."
  },
  "page": {
    "kind": "question",
    "title": "Question · warranty-claims-report",
    "humanPath": "/en/c/dell/warranty-claims-report",
    "humanOnly": false
  },
  "identity": {
    "class": "declared",
    "agent": "ClaudeBot",
    "operator": "Anthropic",
    "verified": false,
    "reason": "The user agent is ClaudeBot (Anthropic), which identifies itself as an AI agent.",
    "signals": [
      "Known agent user agent"
    ],
    "claimable": false
  },
  "state": {
    "question": {
      "slug": "warranty-claims-report",
      "title": "Warranty Claims Report",
      "difficulty": "medium",
      "tags": [
        "sql",
        "data",
        "technical",
        "data-eng"
      ],
      "is_free": true,
      "locked": false,
      "frequency": 0.6,
      "last_reported_at": "2026-06-02T09:54:12.710432Z",
      "url": "https://www.mokabla.com/en/c/dell/warranty-claims-report",
      "agent": {
        "page": "https://www.mokabla.com/agent/en/c/dell/warranty-claims-report",
        "question": "https://www.mokabla.com/agent/_call/get_question?company=dell&question=warranty-claims-report"
      },
      "company": {
        "slug": "dell",
        "name_en": "Dell Technologies Egypt"
      },
      "body_md": "## Problem\nThree tables from a warranty system:\n\n- `products(id, model, category)`\n- `claims(id, product_id, claimed_at, status)`, status is `open`, `approved` or `rejected`\n- `repairs(claim_id, cost, completed_at)`, one row per approved claim, absent otherwise\n\nFor each product **category**, return the number of claims filed in 2026 Q1, the approval rate as a percentage with one decimal, and the average repair cost for approved claims. Categories with no claims in the quarter must still appear with zeros. Order by claim count descending.\n\n## Examples\n**Example 1**, category `Laptops` has 4 claims in Q1: 3 approved (repairs 100, 200, 300) and 1 rejected. Row: `Laptops, 4, 75.0, 200.0`.\n\n**Example 2**, category `Monitors` has one product and no claims at all. Row: `Monitors, 0, 0.0, NULL` (or `0.0` for the average if you argue it clearly).\n\n## Constraints\n- Standard SQL; SQLite or PostgreSQL syntax both accepted\n- The 2026 Q1 filter must be on `claimed_at` and must be index-friendly (no wrapping the column in a function)\n- A single query; CTEs are allowed\n\n## What they look for\nCorrect outer joins so empty categories survive, putting the date filter in the `ON` clause rather than the `WHERE` (this is the trap), integer-division awareness for the percentage, and `AVG` ignoring NULLs for unapproved claims.",
      "follow_ups_md": "- Add the month-over-month change in claim count.\n- Which of these tables would you partition, and by what?\n- How would you detect duplicate claims for the same product within 7 days?"
    },
    "paid": false,
    "access": "Question bodies are paid content: a person buys 30 days of access per company (200 EGP or 200 points) in the human app. Agents get titles, tags and difficulty; bodies only for free questions."
  },
  "actions": [
    {
      "name": "get_question",
      "description": "One question with its body. Bodies are paid content unless the question is free.",
      "permission": "allow",
      "sideEffect": "read",
      "input": {
        "company": "string",
        "question": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/get_question?company=dell&question=warranty-claims-report",
      "ready": true,
      "missing": [],
      "humanPath": "https://www.mokabla.com/en/pricing"
    },
    {
      "name": "list_questions",
      "description": "The questions reported at a company: titles, tags, difficulty, whether each is free or paid.",
      "permission": "allow",
      "sideEffect": "read",
      "input": {
        "company": "string",
        "page": "number?"
      },
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=dell",
      "ready": true,
      "missing": []
    },
    {
      "name": "buy_access",
      "description": "Buy 30 days of access to a company.",
      "permission": "block",
      "reason": "This action is for people only",
      "ruleId": "R1",
      "sideEffect": "payment",
      "input": {
        "company": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/buy_access?company=dell",
      "ready": true,
      "missing": [],
      "humanPath": "https://www.mokabla.com/en/pricing"
    },
    {
      "name": "post_comment",
      "description": "Comment on a question.",
      "permission": "block",
      "reason": "This action is for people only",
      "ruleId": "R1",
      "sideEffect": "write",
      "input": {
        "question": "string",
        "text": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/post_comment?question=warranty-claims-report",
      "ready": false,
      "missing": [
        "text"
      ],
      "humanPath": "https://www.mokabla.com/en/companies"
    }
  ],
  "navigate": [
    {
      "label": "This question, as data (free questions only)",
      "href": "https://www.mokabla.com/agent/_call/get_question?company=dell&question=warranty-claims-report"
    },
    {
      "label": "All questions at this company",
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=dell"
    },
    {
      "label": "The company page",
      "href": "https://www.mokabla.com/agent/en/c/dell"
    },
    {
      "label": "Warranty Claims Report · page",
      "href": "https://www.mokabla.com/agent/en/c/dell/warranty-claims-report"
    }
  ],
  "notices": [
    {
      "severity": "info",
      "message": "This classification is final for the session: it came from a strong signal, not a guess. The human pages are not served to agents."
    },
    {
      "severity": "info",
      "message": "Unverified agents are read-only. Signed requests (Web Bot Auth) are the path to write access."
    }
  ],
  "meta": {
    "requestId": "ag_aee5df36eff6",
    "policyVersion": "mokabla-2026-11-03",
    "generatedAt": "2026-11-03T18:44:26.117Z",
    "jsonUrl": "https://www.mokabla.com/agent/en/c/dell/warranty-claims-report?format=json",
    "manifestUrl": "https://www.mokabla.com/.well-known/agentgate.json",
    "humanUrl": "https://www.mokabla.com/en/c/dell/warranty-claims-report",
    "humanClaimUrl": "https://www.mokabla.com/agent/_claim/human?to=%2Fen%2Fc%2Fdell%2Fwarranty-claims-report"
  }
}