Warning: Undefined array key 1 in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 505

Warning: Undefined array key 2 in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 505

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 557

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930
{"id":2696,"date":"2026-11-19T08:20:18","date_gmt":"2026-11-19T08:20:18","guid":{"rendered":"http:\/\/blog.yogindar.org\/?p=2696"},"modified":"2026-11-19T08:20:19","modified_gmt":"2026-11-19T08:20:19","slug":"practical-ai-model-evaluation-with-golden-datasets","status":"publish","type":"post","link":"http:\/\/blog.yogindar.org\/?p=2696","title":{"rendered":"Practical AI: Model Evaluation with Golden Datasets"},"content":{"rendered":"\n

A golden dataset<\/strong> is a carefully prepared collection of test examples with verified expected answers. It helps determine whether an AI model performs reliably on the tasks that matter to you.<\/p>\n\n\n\n

Think of it as a regression test suite for AI.<\/p>\n\n\n\n

How it works<\/strong><\/p>\n\n\n\n

\"\"<\/a><\/figure>\n\n\n\n

Unlike ordinary software tests, AI evaluation often needs to account for multiple acceptable answers, not just exact text matches.<\/p>\n\n\n\n

Everyday application: Validate AI-generated engineering summaries<\/strong><\/p>\n\n\n\n

Suppose you use AI to summarize firmware defects. Before trusting it for routine work, prepare five anonymized defects with verified root causes and expected summaries.<\/p>\n\n\n\n

Run the AI against these examples and check whether it preserves important technical facts.<\/p>\n\n\n\n

Evaluate an AI firmware defect summarizer using these three examples:<\/p>\n\n\n\n

    \n
  1. Input: Drive 14 reports 202170 POH; verified value is 5562.
    Expected: Identify incorrect power-on-hours reporting without changing the verified value.<\/li>\n\n\n\n
  2. Input: Firmware update times out; root cause not yet established.
    Expected: Report timeout and explicitly state that root cause is unknown.<\/li>\n\n\n\n
  3. Input: Redfish endpoint returns HTTP 404 for a documented resource.
    Expected: Report missing resource; do not assume the cause.
    For each case, generate a summary and compare it against the expected answer. Identify factual errors, missing details, and unsupported assumptions. Do not treat the expected answer as model-generated evidence.<\/li>\n<\/ol>\n\n\n\n

    Spend five minutes reviewing the examples and testing the copied prompt. For a meaningful benchmark, keep the expected answers separate from the model being tested, then compare its outputs afterward.<\/p>\n\n\n\n

    Example Prompt:<\/strong> Drive 14 reports 202170 POH; verified value is 5562. What is the reason?<\/p>\n\n\n\n

    Responses<\/strong><\/p>\n\n\n\n

      \n
    1. Chatgpt:<\/strong>\n
        \n
      1. The numbers have an exact split: 202,170 = 5,562 + (3 \u00d7 65,536)<\/strong>. In hex, 202,170 is 0x000315BA<\/code>; its low 16 bits are 0x15BA<\/code>, or 5,562.<\/li>\n\n\n\n
      2. That points to the report combining an extra high-order value (3<\/code>) with the POH count\u2014likely a SMART data decoding or field-width issue. I can\u2019t confirm which field was included without Drive 14\u2019s raw SMART data and the report source; those aren\u2019t in the workspace.<\/li>\n<\/ol>\n<\/li>\n\n\n\n
      3. Meta:<\/strong>\n
          \n
        1. It’s a decoding error, not real usage.<\/strong><\/li>\n\n\n\n
        2. 202,170 hours = ~23 years<\/strong> powered on continuously, which is impossible for this drive.<\/li>\n\n\n\n
        3. 5,562 hours = ~232 days<\/strong> powered on, which is plausible.<\/li>\n\n\n\n
        4. The maths<\/li>\n\n\n\n
        5. $$202170 – 5562 = 196608$$<\/li>\n\n\n\n
        6. $$196608 = 0x30000$$<\/li>\n\n\n\n
        7. In hex:<\/li>\n\n\n\n
        8. Reported value: 0x315BA<\/code><\/li>\n\n\n\n
        9. Verified value: 0x15BA<\/code> = 5,562<\/strong><\/li>\n\n\n\n
        10. So the reporting tool is including extra vendor-packed bits 0x3<\/code> in the high part of the raw value. The true Power-On Hours are in the low bits.<\/li>\n\n\n\n
        11. This is a known Seagate SMART quirk: Seagate packs several counters into one raw value, so large raw values look alarming when read as a single decimal count. Other reports show the actual hours stored in the lower bytes, with the upper bytes carrying separate\/fractional data.<\/li>\n\n\n\n
        12. What to trust<\/li>\n\n\n\n
        13. Use 5,562 hours<\/strong>.<\/li>\n\n\n\n
        14. Check it with a tool that interprets Seagate SMART correctly, such as Seagate SeaTools, or view the raw value in hex and read only the low-order POH field.<\/li>\n<\/ol>\n<\/li>\n\n\n\n
        15. Gemini:<\/strong>\n
            \n
          1. The discrepancy is caused by a vendor-specific multi-byte SMART encoding<\/strong><\/mark> (most commonly seen in Seagate drives) where additional data is packed into the upper bytes of the raw Power-On Hours (POH) field. [1, 2]
            Mathematical Breakdown


            Reported Value (202170<\/code>):<\/strong> In hexadecimal, this value is 0x0000000315BA<\/code><\/strong>.
            Verified Value (5562<\/code>):<\/strong> In hexadecimal, your actual hours are 0x0000000015BA<\/code><\/strong>.
            The Difference (196608<\/code>):<\/strong> The extra 0x30000<\/code> (which equals 3 \u00d7 65,536<\/code> hours) sits in the third byte of the 6-byte raw SMART attribute field.

            Why This Happens


            Packed Raw Fields:<\/strong> The S.M.A.R.T. Attribute 9<\/a> raw data field is 48 bits (6 bytes) long. While the lower 16 bits (0x15BA<\/code>) store the actual power-on hours, certain drive manufacturers pack internal counters, sub-hour timers (such as fractional hours or minutes), or state flags into the upper bytes. [1, 2, 3]
            Unparsed Raw Output:<\/strong> Monitoring software that reads the entire 48-bit integer directly\u2014without masking out the upper vendor-specific bytes\u2014displays 202170<\/code> instead of 5562<\/code>. Tools that apply vendor-specific parsing rules (like smartmontools) isolate the lower 16 bits and report the true 5562<\/code> hours. [1, 2]

            If you’d like, share:

            The drive brand and model<\/strong>
            The monitoring tool<\/strong> reporting 202170<\/code>
            I can tell you the exact flag or setting to make it display the verified value.
            print(202170 \/ 5562) print(hex(202170), hex(5562)) print(202170 - 5562) print(hex(202170 - 5562))<\/code>

            [1]
            https:\/\/forums.unraid.net<\/a>
            [2]
            https:\/\/forums.tomshardware.com<\/a>
            [3]
            https:\/\/stbsuite.com<\/a><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n

            Today’s takeaway:<\/strong> A golden dataset lets you measure AI quality against known, verified examples before relying on it for real work. It also provides a repeatable way to detect regressions when changing models or configurations.<\/p>\n\n\n\n

            <\/p>\n","protected":false},"excerpt":{"rendered":"

            A golden dataset is a carefully prepared collection of test examples with verified expected answers. It helps determine whether an AI model performs reliably on the tasks that matter to you. Think of it as a regression test suite for AI. How it works Unlike ordinary software tests, AI evaluation often needs to account for […]<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1743],"tags":[1716,1762],"class_list":["post-2696","post","type-post","status-publish","format-standard","hentry","category-artificial-intelligence","tag-ai","tag-training"],"_links":{"self":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2696"}],"version-history":[{"count":1,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2696\/revisions"}],"predecessor-version":[{"id":2698,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2696\/revisions\/2698"}],"wp:attachment":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2696"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}