{
  "software": "openoffice",
  "function": "DGET",
  "review_date": "2026-10-12",
  "validation_method": "Independent Python numeric and limited database-criteria models; not a native application or a general spreadsheet parser. Error tokens model documented rules only.",
  "native_application_execution": false,
  "hugo_compiled": false,
  "passed": 6,
  "total": 6,
  "scope": "Explicit examples only, not every input or application version. Expected error tokens are documented rules, not observed native error outputs.",
  "official_references": [
    "https://github.com/apache/openoffice/blob/trunk/main/helpcontent2/source/text/scalc/01/04060101.xhp",
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Database.html"
  ],
  "examples": [
    {
      "case_id": 99,
      "software": "openoffice",
      "function": "DGET",
      "source_path": "content/openoffice/functions/dget.md",
      "formula": "=DGET($A$1:$F$7;\"Score\";H1:H2)",
      "field": "Score",
      "criteria": [
        [
          [
            "ID",
            104
          ]
        ]
      ],
      "expected": 40,
      "kind": "database",
      "native_executed": false,
      "expected_ids": [
        104
      ],
      "model_result": 40,
      "passed": true
    },
    {
      "case_id": 100,
      "software": "openoffice",
      "function": "DGET",
      "source_path": "content/openoffice/functions/dget.md",
      "formula": "=DGET($A$1:$F$7;\"Note\";H1:H2)",
      "field": "Note",
      "criteria": [
        [
          [
            "ID",
            104
          ]
        ]
      ],
      "expected": "Ready",
      "kind": "database",
      "native_executed": false,
      "expected_ids": [
        104
      ],
      "model_result": "Ready",
      "passed": true
    },
    {
      "case_id": 101,
      "software": "openoffice",
      "function": "DGET",
      "source_path": "content/openoffice/functions/dget.md",
      "formula": "=DGET($A$1:$F$7;\"Score\";H5:I6)",
      "field": "Score",
      "criteria": [
        [
          [
            "Team",
            2
          ],
          [
            "Class",
            1
          ]
        ]
      ],
      "expected": 30,
      "kind": "database",
      "native_executed": false,
      "expected_ids": [
        103
      ],
      "model_result": 30,
      "passed": true
    },
    {
      "case_id": 102,
      "software": "openoffice",
      "function": "DGET",
      "source_path": "content/openoffice/functions/dget.md",
      "formula": "=DGET($A$1:$F$7;\"Score\";H9:H10)",
      "field": "Score",
      "criteria": [
        [
          [
            "ID",
            999
          ]
        ]
      ],
      "expected": "#VALUE!",
      "kind": "database",
      "native_executed": false,
      "expected_ids": [],
      "model_result": "#VALUE!",
      "passed": true
    },
    {
      "case_id": 103,
      "software": "openoffice",
      "function": "DGET",
      "source_path": "content/openoffice/functions/dget.md",
      "formula": "=DGET($A$1:$F$7;\"Score\";H13:H14)",
      "field": "Score",
      "criteria": [
        [
          [
            "Team",
            1
          ]
        ]
      ],
      "expected": "Err:502",
      "kind": "database",
      "native_executed": false,
      "expected_ids": [
        101,
        102,
        104,
        106
      ],
      "model_result": "Err:502",
      "passed": true
    },
    {
      "case_id": 104,
      "software": "openoffice",
      "function": "DGET",
      "source_path": "content/openoffice/functions/dget.md",
      "formula": "=DCOUNT($A$1:$F$7;\"ID\";H13:H14)",
      "field": "ID",
      "criteria": [
        [
          [
            "Team",
            1
          ]
        ]
      ],
      "expected": 4,
      "kind": "database",
      "native_executed": false,
      "expected_ids": [
        101,
        102,
        104,
        106
      ],
      "model_result": 4,
      "passed": true
    }
  ],
  "input_dataset": [
    [
      "ID",
      "Team",
      "Class",
      "Score",
      "Factor",
      "Note"
    ],
    [
      101,
      1,
      1,
      10,
      2,
      "Ready"
    ],
    [
      102,
      1,
      2,
      20,
      3,
      null
    ],
    [
      103,
      2,
      1,
      30,
      4,
      "Hold"
    ],
    [
      104,
      1,
      1,
      40,
      5,
      "Ready"
    ],
    [
      105,
      2,
      2,
      50,
      6,
      "Ready"
    ],
    [
      106,
      1,
      2,
      0,
      1,
      "Hold"
    ]
  ]
}
