Files
vpd-permission-poc/database/adb/99_sgmp_czn03_standard_business_au_fewshot.sql

24 lines
1.2 KiB
MySQL

-- Approve the reviewed customer QA comparison example. Metric definitions
-- stay in the exact Few-shot example rather than becoming global profile text.
UPDATE sg_qa_vector_example
SET reference_status = 'APPROVED',
inspection_status = 'VERIFIED',
answer_text = 'Expected focus: compare two independently aggregated metrics for the same resolved game and date. '
|| 'Standard AU: CZN_COMN_USER_MST with AU_FLAG=1 and EXPT_USER_YN=''N''. '
|| 'Business AU: CZN_CUSTOM_BIZ_USER_TXN with BIZ_AU_FLAG=1 and EXPT_USER_YN=''N''. '
|| 'The labels standard AU and business AU do not imply STD_USER_YN. '
|| 'Historical answer: STD_AU_COUNT=0, BIZ_AU_COUNT=1.',
inspection_note = 'Customer QA verified: standard and business AU are separate aggregates with their respective AU flags.',
verified_at = SYSTIMESTAMP,
verified_by = 'SGMP_POC_METADATA_REVIEW'
WHERE source_type = 'CUSTOMER_QA_BENCHMARK'
AND source_case_id = 'CZN-03';
COMMIT;
SELECT example_id, reference_status, inspection_status, source_case_id, answer_text
FROM sg_qa_vector_example
WHERE source_type = 'CUSTOMER_QA_BENCHMARK'
AND source_case_id = 'CZN-03';