-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Minor updates and images addition to cookbook #1882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c8926c2
eval driven system design cookbook
shikhar-cyber 662ae4a
Fixes diagram.svg render (#1880)
shyamal-anadkat beffd95
Fixes stripe eval diagram render (#1881)
shyamal-anadkat 384d120
eval driven system design cookbook updates
shikhar-cyber 45c09f1
eval driven system design cookbook updates merge
shikhar-cyber c932d29
eval driven system design cookbook updates merge-2
shikhar-cyber 3338b89
registry update
shikhar-cyber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...it_results/Gas_20240605_164059_Raven_Scan_3_jpeg.rf.e3408aa2b936afd1f1aed84fa40d454e.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. The receipt is for gas (E-85 fuel), which is a travel-related expense. Therefore, NOT_TRAVEL_RELATED is FALSE. \n2. The total amount of the receipt is $36.16, which does not exceed $50. Therefore, AMOUNT_OVER_LIMIT is FALSE. \n3. The subtotal of $36.16 matches the total of $36.16, indicating no math errors. Therefore, MATH_ERROR is FALSE. \n4. The handwritten notes do not contain an 'X'. Therefore, HANDWRITTEN_X is FALSE.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...esults/Nissan_20250205_121534_Raven_Scan_10_jpeg.rf.5524d7df5648dc37d9bf264aa3f1e2c5.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "The receipt is for gasoline, which is considered a travel-related expense, so it does not meet the NOT_TRAVEL_RELATED criterion. The total amount is $49.61, which is below the $50 limit, so the AMOUNT_OVER_LIMIT criterion is not violated. There are no discrepancies in the math for computing the total, confirming that MATH_ERROR is false. There is no 'X' present in the handwritten notes, meaning HANDWRITTEN_X is also false. Since none of the criteria are violated, the receipt does not need auditing.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...results/Nissan_20250205_122340_Raven_Scan_2_jpeg.rf.3f26976203cf4683fc90cbbe34e876bd.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": true, | ||
"math_error": false, | ||
"handwritten_x": true, | ||
"reasoning": "The receipt is for fuel, which is classified as a travel-related expense, hence it does not satisfy the NOT_TRAVEL_RELATED criterion. The total amount of $60.91 exceeds the $50 limit, thus satisfying the AMOUNT_OVER_LIMIT criterion. There are no discrepancies in the arithmetic calculations for the total, so MATH_ERROR is false. However, there is a handwritten 'X' noted in the handwritten notes, which satisfies the HANDWRITTEN_X criterion. 1. NOT_TRAVEL_RELATED: This is a fuel purchase (travel-related), so not_travel_related=false. 2. AMOUNT_OVER_LIMIT: Total of $60.91 exceeds $50, so amount_over_limit=true. 3. MATH_ERROR: 4.199×14.5076≈60.9174, which rounds up to $60.92 or truncates to $60.91, the listed total (either would be acceptable), so math_error=false. 4. HANDWRITTEN_X: The note 'X' is written on the the receipt, so handwritten_x=true. At least one criterion is violated, so needs_audit=true.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...results/Nissan_20250205_122340_Raven_Scan_3_jpeg.rf.8f7d7e820eeaf8cfb2d61ef8232fc1af.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": true, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "The receipt is for fuel, which is considered travel-related, hence NOT_TRAVEL_RELATED is FALSE. The total amount of the receipt is $72.10, which exceeds the $50 limit making AMOUNT_OVER_LIMIT TRUE. The math adds up correctly as the subtotal matches the total, so MATH_ERROR is FALSE. There are no handwritten 'X's in the notes so HANDWRITTEN_X is FALSE. Since one of the criteria (AMOUNT_OVER_LIMIT) is violated, the receipt needs auditing.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...results/Retail_20240605_163628_Raven_Scan_1_jpeg.rf.c28eb1342052ef8af13d54a329c8218b.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": true, | ||
"amount_over_limit": true, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is for home goods and cleaning supplies, which are not travel-related expenses. Therefore, this criterion is TRUE.\n\n2. AMOUNT_OVER_LIMIT: The total of the receipt is $273.52, which is over the $50 limit, making this criterion TRUE.\n\n3. MATH_ERROR: The subtotal adds up correctly when calculated with tax. The subtotal $252.67 plus tax $20.85 equals the total $273.52. Thus, there is no math error, and this is FALSE.\n\n4. HANDWRITTEN_X: There is no 'X' in the handwritten notes provided. Thus, this is FALSE.\n\nSince two of the criteria (AMOUNT_OVER_LIMIT and MATH_ERROR) are TRUE, the final determination is that this receipt needs to be audited.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...ts/Sequoia-gas_20241213_193919_Raven_Scan_4_jpeg.rf.b79fe0306ef298356ee020fd63572734.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt includes fuel as a purchase which is considered travel-related, therefore this criterion is FALSE.\n2. AMOUNT_OVER_LIMIT: The total amount is $49.54, which does not exceed $50, so this is FALSE.\n3. MATH_ERROR: The line item for fuel ($49.54) matches the total provided ($49.54), hence there is no math error, making this FALSE.\n4. HANDWRITTEN_X: There is no 'X' in the handwritten notes, so this is FALSE. \nSince none of the criteria are violated, the receipt does not need an audit.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...ts/Sequoia-gas_20241213_193919_Raven_Scan_9_jpeg.rf.4756583269eace7e380051b580022a04.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": true, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "The expenses are for fuel, which is a travel-related cost, so the criterion for being 'not travel-related' is FALSE. The total amount of the receipt is $60.94, which exceeds the $50 limit, making the 'Amount Over Limit' criterion TRUE. There are no discrepancies in the math as the total matches the sum of the item prices, and there is no 'X' in the handwritten notes. Since one of the criteria (Amount Over Limit) is violated, the receipt needs to be audited.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...ts/Sequoia-gas_20241213_194524_Raven_Scan_1_jpeg.rf.ea9c9e22f0e18cb64e158b64b43de2c0.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is for fuel, which is considered a travel-related expense, so this is FALSE. 2. AMOUNT_OVER_LIMIT: The total amount is $41.46, which does not exceed $50, so this is FALSE. 3. MATH_ERROR: The total of the line item ($41.46) matches the total provided, so this is FALSE. 4. HANDWRITTEN_X: There is no 'X' in the handwritten notes, so this is FALSE. Since none of the criteria are violated, the receipt does not need auditing.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...ts/Sequoia-gas_20241213_194919_Raven_Scan_3_jpeg.rf.842940493d72ebac96a20eed97b226fc.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is from Shell Gasoline and includes fuel expenses, making it travel-related. Therefore, this criterion is FALSE. 2. AMOUNT_OVER_LIMIT: The total amount of $38.26 is below the $50 threshold, so this criterion is FALSE. 3. MATH_ERROR: The line item for fuel ($38.26) matches the computed total, indicating no math errors, so this criterion is FALSE. 4. HANDWRITTEN_X: There is no 'X' present in the handwritten notes on the receipt, making this criterion FALSE. Since all criteria are not violated (all FALSE), the receipt does not need auditing.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...s/Sequoia-gas_20241213_194920_Raven_Scan_11_jpeg.rf.5fa0c8031793626f1d87a7acb08617dd.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": true, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "The receipt is for 'Unleaded' fuel from a gas station, which is a travel-related expense, thus the NOT_TRAVEL_RELATED criterion is FALSE. The total amount of the receipt is $62.68, exceeding the $50 limit, making AMOUNT_OVER_LIMIT TRUE. There are no discrepancies in the math calculations presented, hence MATH_ERROR is FALSE. There is no 'X' noted in the handwritten notes, so HANDWRITTEN_X is FALSE. Since the AMOUNT_OVER_LIMIT criteria is violated, the receipt needs auditing.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...s/Sequoia-gas_20241213_194920_Raven_Scan_15_jpeg.rf.bd3c50eb0d5bd48295b21a4c54c6a639.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is from 'Shell Gasoline' for fuel (E85), which is a travel-related expense. Therefore, this criterion is not violated (FALSE). \n2. AMOUNT_OVER_LIMIT: The total amount on the receipt is $40.19, which does not exceed the $50 limit. This criterion is not violated (FALSE). \n3. MATH_ERROR: The total of the item listed ($40.19) matches the provided total; hence, there are no math errors. This criterion is not violated (FALSE). \n4. HANDWRITTEN_X: There is no 'X' noted in the handwritten notes. This criterion is not violated (FALSE). \n\nSince no criteria were violated, the receipt does not need auditing.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...ts/Sequoia-gas_20241213_195518_Raven_Scan_2_jpeg.rf.ca4db81e957180a860c5557f6e9374e5.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. Not Travel Related: The receipt is for fuel, which is a travel-related expense, thus this criterion is FALSE.\n2. Amount Over Limit: The total amount of $47.06 does not exceed $50, so this criterion is FALSE.\n3. Math Error: The total amount ($47.06) matches the calculated total from the line item (3.859 * 12.195 = 47.06), so there is no math error, making this criterion FALSE.\n4. Handwritten X: There are no 'X's noted in the handwritten notes, hence this criterion is FALSE.\nSince none of the criteria are violated, the receipt does not need auditing.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...esults/Sequoia_20241213_192254_Raven_Scan_1_jpeg.rf.955e6e2cd8eac4712c4b0906b0055bdf.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": true, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is for stationery items, so it is not a travel-related expense (TRUE). \n\n2. AMOUNT_OVER_LIMIT: The total amount is $8.68, which does not exceed $50 (FALSE). \n\n3. MATH_ERROR: The subtotal of $7.98 plus tax of $0.70 correctly sums up to a total of $8.68 (FALSE). \n\n4. HANDWRITTEN_X: There is no 'X' present in the handwritten notes (FALSE). \n\nSince NOT_TRAVEL_RELATED is true the receipt requires auditing.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...esults/Sequoia_20241213_192558_Raven_Scan_1_jpeg.rf.e111cd27ce61db49da51e6355980f178.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": true, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "The receipt is for household and grocery items (Airwick, pantry goods) and contains no travel-related expense (e.g., gas, hotel, airfare). The total $40.69 does not exceed $50. The line items sum correctly to the subtotal and total (15.48 + 17.48 + 4.98 + 2.75 tax = 40.69). There are no handwritten notes or an “X.” Because the expense is not travel-related, the receipt requires auditing.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...lts/Tundra-gas_20241213_204147_Raven_Scan_2_jpeg.rf.dae94ec7e69fb9d48a1f11e50977eb52.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is for Fuel, which is a travel-related expense, so this criterion is FALSE. 2. AMOUNT_OVER_LIMIT: The total amount is $31.58, which does not exceed $50, so this criterion is FALSE. 3. MATH_ERROR: The total matches the sum of the line items ($31.58), so there is no math error, this criterion is FALSE. 4. HANDWRITTEN_X: There is no 'X' in the handwritten notes, so this criterion is FALSE.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...lts/Tundra-gas_20241213_204230_Raven_Scan_5_jpeg.rf.99738f39b4f3109acdd09c30ffb41ea0.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": true, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is for fuel, which is considered a travel-related expense, thus this criterion is FALSE. 2. AMOUNT_OVER_LIMIT: The total amount of $63.13 exceeds the limit of $50, so this criterion is TRUE. 3. MATH_ERROR: The subtotal and total match, indicating there are no math errors, thus this criterion is FALSE. 4. HANDWRITTEN_X: There is no 'X' in the handwritten notes, making this criterion FALSE.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...lts/Tundra-gas_20241213_204335_Raven_Scan_5_jpeg.rf.e62eea7e8c43e88491bb73613785b2cb.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "1. NOT_TRAVEL_RELATED: The receipt is for fuel (Regular Unleaded), which is a travel-related expense, so this is FALSE.\n2. AMOUNT_OVER_LIMIT: The total amount is $45.25, which does not exceed $50, so this is FALSE.\n3. MATH_ERROR: The subtotal, tax, and total correctly add up to $45.25 with no discrepancies, so this is FALSE.\n4. HANDWRITTEN_X: There are no handwritten 'X's present in the notes, so this is FALSE.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...lts/Tundra-gas_20241213_204335_Raven_Scan_7_jpeg.rf.633afab0f048d51329078497a410a115.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": true, | ||
"reasoning": "The receipt is for fuel, which is a travel-related expense, hence NOT_TRAVEL_RELATED is false. The total amount of $32.00 is below the $50 limit, so AMOUNT_OVER_LIMIT is false. There are no math errors as the calculated total matches the receipt total, so MATH_ERROR is false. However, there is an 'X' present in the handwritten notes, making HANDWRITTEN_X true. Since HANDWRITTEN_X is violated, the receipt needs auditing.", | ||
"needs_audit": true | ||
} |
8 changes: 8 additions & 0 deletions
8
...results/Tundra_20241213_202437_Raven_Scan_2_jpeg.rf.aee205252dda5a853dfe881f841e464d.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": false, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "The receipt from O'Reilly Auto Parts is for an automotive item (SNOWBROOM). A snow broom could be required to for safe driving in snowy conditions, so this is plausibly a valid travel-related expense, so NOT_TRAVEL_RELATED is false. The total amount of the receipt is $35.55, which does not exceed the $50 limit, thus AMOUNT_OVER_LIMIT is false. There are no discrepancies in the math as the subtotal plus tax equals the total, so MATH_ERROR is false. The handwritten notes section is empty, therefore HANDWRITTEN_X is false.", | ||
"needs_audit": false | ||
} |
8 changes: 8 additions & 0 deletions
8
...results/Tundra_20241213_202936_Raven_Scan_3_jpeg.rf.40b66c379f232d5621eaa452a87093f1.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"not_travel_related": true, | ||
"amount_over_limit": false, | ||
"math_error": false, | ||
"handwritten_x": false, | ||
"reasoning": "The receipt is for tools purchased at The Home Depot, which are NOT travel-related expenses, so NOT_TRAVEL_RELATED is true. The total amount of $43.54 does not exceed $50, so AMOUNT_OVER_LIMIT is false. All line items sum correctly to the total, and there are no handwritten notes indicating an 'X', so HANDWRITTEN_X is false. Since NOT_TRAVEL_RELATED is violated the receipt needs to be audited.", | ||
"needs_audit": true | ||
} |
39 changes: 39 additions & 0 deletions
39
...extraction/Gas_20240605_164059_Raven_Scan_3_jpeg.rf.e3408aa2b936afd1f1aed84fa40d454e.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"merchant": "ARCO GASOLINE", | ||
"location": { | ||
"city": "Vista", | ||
"state": "CA", | ||
"zipcode": null | ||
}, | ||
"time": "2023-01-20T08:45:00", | ||
"items": [ | ||
{ | ||
"description": "E-85", | ||
"product_code": null, | ||
"category": "Fuel", | ||
"item_price": "2.699", | ||
"sale_price": null, | ||
"quantity": "13.268", | ||
"total": "35.81" | ||
}, | ||
{ | ||
"description": "debitfee", | ||
"product_code": null, | ||
"category": "Fee", | ||
"item_price": null, | ||
"sale_price": null, | ||
"quantity": "1", | ||
"total": "0.35" | ||
} | ||
], | ||
"subtotal": null, | ||
"tax": null, | ||
"total": "36.16", | ||
"handwritten_notes": [ | ||
"vista-> yos", | ||
"sequoia", | ||
"yos", | ||
"206618", | ||
"2023" | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
...action/Nissan_20250205_121534_Raven_Scan_10_jpeg.rf.5524d7df5648dc37d9bf264aa3f1e2c5.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"merchant": "Costco #124", | ||
"location": { | ||
"city": "Vista", | ||
"state": "CA", | ||
"zipcode": "92083" | ||
}, | ||
"time": "2024-04-09T12:52:00", | ||
"items": [ | ||
{ | ||
"description": "Regular", | ||
"product_code": null, | ||
"category": "Fuel", | ||
"item_price": "4.959", | ||
"sale_price": "4.959", | ||
"quantity": "10.005", | ||
"total": "49.61" | ||
} | ||
], | ||
"subtotal": "49.61", | ||
"tax": null, | ||
"total": "49.61", | ||
"handwritten_notes": [ | ||
"vista", | ||
"219948" | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
...raction/Nissan_20250205_122340_Raven_Scan_2_jpeg.rf.3f26976203cf4683fc90cbbe34e876bd.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"merchant": "Fuel Mart", | ||
"location": { | ||
"city": "San Bernardino", | ||
"state": "CA", | ||
"zipcode": "92417" | ||
}, | ||
"time": "2024-07-07T17:47:46", | ||
"items": [ | ||
{ | ||
"description": "REG CR #09", | ||
"product_code": null, | ||
"category": "Fuel", | ||
"item_price": "4.199", | ||
"sale_price": null, | ||
"quantity": "14.507G", | ||
"total": "60.91" | ||
} | ||
], | ||
"subtotal": "60.91", | ||
"tax": null, | ||
"total": "60.91", | ||
"handwritten_notes": [ | ||
"224014", | ||
"Nissan", | ||
"X" | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
...raction/Nissan_20250205_122340_Raven_Scan_3_jpeg.rf.8f7d7e820eeaf8cfb2d61ef8232fc1af.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"merchant": "Chukchansi Crossing", | ||
"location": { | ||
"city": "Coarsegold", | ||
"state": "CA", | ||
"zipcode": "93614" | ||
}, | ||
"time": "2024-12-18T22:10:05", | ||
"items": [ | ||
{ | ||
"description": "SUPER", | ||
"product_code": null, | ||
"category": "Fuel", | ||
"item_price": "3.599", | ||
"sale_price": null, | ||
"quantity": "20.032", | ||
"total": "72.10" | ||
} | ||
], | ||
"subtotal": "72.10", | ||
"tax": null, | ||
"total": "72.10", | ||
"handwritten_notes": [ | ||
"232658", | ||
"Nissan", | ||
"home -> yos" | ||
] | ||
} |
54 changes: 54 additions & 0 deletions
54
...raction/Retail_20240605_163628_Raven_Scan_1_jpeg.rf.c28eb1342052ef8af13d54a329c8218b.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"merchant": "Kohl's", | ||
"location": { | ||
"city": "Oceanside", | ||
"state": "CA", | ||
"zipcode": "92056" | ||
}, | ||
"time": "2023-01-12T15:12:00", | ||
"items": [ | ||
{ | ||
"description": "BATH RUGS", | ||
"product_code": "40076499017", | ||
"category": "Home Goods", | ||
"item_price": "13.99", | ||
"sale_price": "9.79", | ||
"quantity": "1", | ||
"total": "9.79" | ||
}, | ||
{ | ||
"description": "BATH RUGS", | ||
"product_code": "40076499017", | ||
"category": "Home Goods", | ||
"item_price": "13.99", | ||
"sale_price": "4.89", | ||
"quantity": "1", | ||
"total": "4.89" | ||
}, | ||
{ | ||
"description": "FLOOR CARE", | ||
"product_code": "62235658793", | ||
"category": "Cleaning Supplies", | ||
"item_price": "329.99", | ||
"sale_price": "209.99", | ||
"quantity": "1", | ||
"total": "209.99" | ||
}, | ||
{ | ||
"description": "BAKEWARE", | ||
"product_code": "07089662604", | ||
"category": "Kitchenware", | ||
"item_price": "39.99", | ||
"sale_price": "28.00", | ||
"quantity": "1", | ||
"total": "28.00" | ||
} | ||
], | ||
"subtotal": "252.67", | ||
"tax": "20.85", | ||
"total": "273.52", | ||
"handwritten_notes": [ | ||
"yos", | ||
"2023" | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
...on/Sequoia-gas_20241213_193919_Raven_Scan_4_jpeg.rf.b79fe0306ef298356ee020fd63572734.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"merchant": "Vons", | ||
"location": { | ||
"city": "Oakhurst", | ||
"state": "CA", | ||
"zipcode": "93644" | ||
}, | ||
"time": "2024-10-14T20:36:29", | ||
"items": [ | ||
{ | ||
"description": "10-Unleaded", | ||
"product_code": null, | ||
"category": "Fuel", | ||
"item_price": "4.119", | ||
"sale_price": null, | ||
"quantity": "12.026", | ||
"total": "49.54" | ||
} | ||
], | ||
"subtotal": null, | ||
"tax": null, | ||
"total": "49.54", | ||
"handwritten_notes": [ | ||
"home -> Yos", | ||
"Sequoia", | ||
"237407" | ||
] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reasoning text incorrectly indicates that MATH_ERROR is TRUE, even though its value is false. Please update the explanation to correctly list the criteria that are violated (likely NOT_TRAVEL_RELATED and AMOUNT_OVER_LIMIT).
Copilot uses AI. Check for mistakes.