wod-analyzer / dummy.py
datasaur-dev's picture
Create dummy.py
24db518 verified
raw
history blame
2.93 kB
output_test = """{
"status": "success",
"message": "Document processed successfully",
"filename": "Contoh WOD CM REPLACE POSITIVE.pdf",
"wod_type": "REPLACEMENT",
"results": {
"prediction": "POSITIVE",
"summary": {
"Merchant Signboard Photo": {
"reasoning": "The requirement is not met as most pages (3, 4, 5, 6, 7) do not contain a merchant signboard photo, except for Page 2 which shows a clear signboard with the store's name.",
"status": "true"
},
"EDC Machine Photo": {
"reasoning": "The EDC machine photo is visible on Pages 2, 4, and 5, with Page 4 allowing for SN extraction and Page 5 showing the EDC machine but not the SN, SAM Card, or SIM Card details.",
"status": "true"
},
"EDC Desk Placement": {
"reasoning": "The EDC machine is shown on a desk on Pages 2 and 4, meeting the requirement, but is not visible or clear on other pages.",
"status": "true"
},
"MID and TID Extraction": {
"reasoning": "MID and TID are visible and extracted from various documents across pages, with specific values provided on Page 6 (MID: 71617478578, TID: 80951490) and Page 7 (MID: 71617478578).",
"status": "true"
},
"Photo Timestamps": {
"reasoning": "Timestamps are visible on Pages 2 and 4 for all attached photos, but are not consistently available across other pages.",
"status": "true"
},
"Sales Draft Clarity": {
"reasoning": "The Sales Draft is clear and legible on Page 2, but is not available on other pages (3, 4, 5, 6, 7) for assessment.",
"status": "true"
},
"Total Transaction Extraction Rp13": {
"reasoning": "The transaction total of Rp13 is clearly shown on Page 2 and mentioned on Page 6, but the actual Sales Draft is not available on other pages.",
"status": "true"
},
"Transaction Date Extraction": {
"reasoning": "The transaction date ('17 Jan 2025 17:37:54') is available on Page 2, but not on other pages due to the absence of a Sales Draft.",
"status": "true"
},
"Merchant PIC Signature": {
"reasoning": "The merchant's signature is visible on Pages 3, 5, and 6, indicating a signed handover report, but is not consistently available across all pages.",
"status": "true"
},
"Training Form Attachment Requested PM": {
"reasoning": "The merchant training form is attached on Page 3, but not available or mentioned on other pages, except for Page 6 which mentions the possibility of training but does not confirm its completion or attachment.",
"status": "true"
},
"BAST Document Attachment": {
"reasoning": "The BAST document is attached on Pages 3, 6, and 7, with Page 6 and 7 providing a signed handover report that serves as a form of BAST document.",
"status": "true"
}
}
}
}
"""