-- Customer-provided CZN benchmark examples are the approved reference corpus
-- for exact-question Few-shot retrieval.  Their SQL and expected-answer text
-- remain the source of metric semantics; no runtime game/table branching is added.

UPDATE sg_qa_vector_example
   SET reference_status = 'APPROVED',
       inspection_status = 'VERIFIED',
       inspection_note = 'Customer QA benchmark approved for exact-question Few-shot retrieval.',
       verified_at = SYSTIMESTAMP,
       verified_by = 'SGMP_POC_METADATA_REVIEW'
 WHERE source_type = 'CUSTOMER_QA_BENCHMARK'
   AND source_case_id LIKE 'CZN-%'
   AND reference_status <> 'APPROVED';

COMMIT;

SELECT source_case_id, reference_status, inspection_status
  FROM sg_qa_vector_example
 WHERE source_type = 'CUSTOMER_QA_BENCHMARK'
   AND source_case_id LIKE 'CZN-%'
 ORDER BY source_case_id;
