{
  "schema_version": "1.0.0",
  "record_id": "dn-next42-20261205-q25",
  "record_version": "1.0.0",
  "title": "A retrieval filter needs an authorised-answer test",
  "canonical_url": "https://decentralised.news/ai-retrieval-access-control-authorized-recall-2027",
  "evidence_type": "documentary_analysis_with_synthetic_worked_example",
  "source_review_date": "2026-12-05",
  "last_verified_utc": null,
  "observation_window": null,
  "methodology_url": "https://decentralised.news/ai-retrieval-access-control-authorized-recall-2027",
  "methodology_version": "1.0.0",
  "input_schema": {
    "columns": [
      "document",
      "rank",
      "synthetic_similarity_score",
      "authorized",
      "relevant",
      "synthetic"
    ],
    "rows_file": "https://decentralised.news/data/dn-next42-20261205/v1/q25.csv"
  },
  "units": {
    "definition": "Units are named in the CSV columns, manuscript and calculation labels. Do not combine quantities without resolving their dimensions."
  },
  "sources": [
    {
      "id": 1,
      "title": "Azure AI Search: Security filters for trimming results",
      "url": "https://learn.microsoft.com/en-us/azure/search/search-security-trimming-for-azure-search",
      "reviewDate": "2026-12-05",
      "supports": "Security trimming can filter results through indexed user/group permission fields.",
      "evidenceType": "Provider documentation"
    },
    {
      "id": 2,
      "title": "Azure AI Search: Vector query filters",
      "url": "https://learn.microsoft.com/en-us/azure/search/vector-search-filters",
      "reviewDate": "2026-12-05",
      "supports": "Filter placement changes returned candidates; postfiltering can omit qualifying documents from a bounded candidate set.",
      "evidenceType": "Provider documentation"
    },
    {
      "id": 3,
      "title": "Amazon Kendra: User context filtering",
      "url": "https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html",
      "reviewDate": "2026-12-05",
      "supports": "User/group access filtering does not authenticate the caller; the application remains responsible for supplied identity and authorization.",
      "evidenceType": "Provider documentation"
    }
  ],
  "calculations": [
    {
      "label": "Authorized relevant denominator",
      "expression": "1+1+1+1",
      "expected": 4
    },
    {
      "label": "Postfilter authorized recall",
      "expression": "1/4",
      "expected": 0.25
    },
    {
      "label": "Eligible-first authorized recall",
      "expression": "3/4",
      "expected": 0.75
    },
    {
      "label": "Recall difference percentage points",
      "expression": "(3/4-1/4)*100",
      "expected": 50
    },
    {
      "label": "Unfiltered top-five unauthorized fraction",
      "expression": "3/5",
      "expected": 0.6
    }
  ],
  "example": {
    "synthetic": true,
    "description": "Authored exact ranking and permission/relevance labels for one fictional principal. Scores are ordering placeholders, not observed retrieval outputs; all three candidate paths use this same ledger.",
    "rows": [
      [
        "D1",
        1,
        0.99,
        false,
        true,
        true
      ],
      [
        "D2",
        2,
        0.98,
        true,
        true,
        true
      ],
      [
        "D3",
        3,
        0.97,
        false,
        true,
        true
      ],
      [
        "D4",
        4,
        0.96,
        true,
        false,
        true
      ],
      [
        "D5",
        5,
        0.95,
        false,
        true,
        true
      ],
      [
        "D6",
        6,
        0.94,
        true,
        true,
        true
      ],
      [
        "D7",
        7,
        0.93,
        true,
        true,
        true
      ],
      [
        "D8",
        8,
        0.92,
        true,
        false,
        true
      ],
      [
        "D9",
        9,
        0.91,
        true,
        true,
        true
      ],
      [
        "D10",
        10,
        0.9,
        false,
        true,
        true
      ]
    ]
  },
  "limitations": [
    "Examples use declared invented inputs, not observed fills, customer outcomes, provider rankings or predictive backtests.",
    "Source-review date is not a measurement time, publication date of the source or assurance that terms will remain current.",
    "Documentation does not establish individual access, legal eligibility, service reliability or investment suitability."
  ],
  "falsification_or_recheck_triggers": [
    "Changed governing document or applicable software version.",
    "Evidence of different account, product, timing, unit or legal-entity scope.",
    "An arithmetic error or reproducible counterexample to the stated mechanism."
  ],
  "rights": {
    "original_DN_analysis": "Cite Decentralised News, the canonical URL and record version when reusing this worked example.",
    "third_party_sources": "Third-party material remains subject to its original terms. Linking does not grant redistribution rights."
  },
  "commercial_disclosure": "This article includes a link to DN’s own separately scoped research service. No provider purchase is required to use the example.",
  "corrections": []
}
