AI Made Simple

Free guide · Practice answer key

Answer key - keep out of the workflow input

12 distinct transactions, 3 cities, no missing locations or duplicates.

Baseline

12 distinct transactions, 3 cities, no missing locations or duplicates.

CityIDsNet CAD
TorontoEXP-001 through EXP-004642.00
OttawaEXP-005 through EXP-008474.00
MontrealEXP-009 through EXP-012558.00
Total12 transactions1,674.00

Categories: lodging 1,090.00; local transport 96.00; meals 168.00; meeting rooms 320.00.

With optional exceptions

15 source records, 14 distinct accounting entries after removing one duplicate. EXP-003 occurs in two source files but counts only once; retain both references. ADJ-001 is a separate -40.00 refund against EXP-009, not a duplicate. EXP-013 is a 22.00 meal with no location.

Toronto 642.00; Ottawa 474.00; Montreal 518.00. Mapped total: 1,634.00. Unlocated: 22.00. Grand total: 1,656.00. Summing all source records without deduplication incorrectly gives 1,720.00.

Pass checks

  • Every distinct entry has its source filename and page 1.
  • Dates, IDs and amounts match the PDFs.
  • Clicking each city shows only its transactions, including the Montreal refund in the second run.
  • Only city-centre markers are used; no merchant-address precision is implied.
  • Duplicate and unlocated entries are explicitly reported.
  • Grand total includes the unlocated expense and reconciles to mapped total plus unlocated total.

Detailed expected records are in answer-key.json.

Source records

IDDateMerchantLocationSigned CADSource, pageDuplicate?
EXP-0012026-09-14Harbour Lane LodgeToronto, Ontario, Canada420.0001-toronto.pdf, page 1No
EXP-0022026-09-14Cedar CabToronto, Ontario, Canada38.0001-toronto.pdf, page 1No
EXP-0032026-09-15Copper TableToronto, Ontario, Canada64.0001-toronto.pdf, page 1No
EXP-0042026-09-15North Desk RoomsToronto, Ontario, Canada120.0001-toronto.pdf, page 1No
EXP-0052026-09-16Canal House LodgeOttawa, Ontario, Canada310.0002-ottawa.pdf, page 1No
EXP-0062026-09-16Maple CabOttawa, Ontario, Canada26.0002-ottawa.pdf, page 1No
EXP-0072026-09-17Birch KitchenOttawa, Ontario, Canada48.0002-ottawa.pdf, page 1No
EXP-0082026-09-17Summit Desk RoomsOttawa, Ontario, Canada90.0002-ottawa.pdf, page 1No
EXP-0092026-09-18Orchard House LodgeMontreal, Quebec, Canada360.0003-montreal.pdf, page 1No
EXP-0102026-09-18River CabMontreal, Quebec, Canada32.0003-montreal.pdf, page 1No
EXP-0112026-09-19Elm KitchenMontreal, Quebec, Canada56.0003-montreal.pdf, page 1No
EXP-0122026-09-19East Desk RoomsMontreal, Quebec, Canada110.0003-montreal.pdf, page 1No
EXP-0032026-09-15Copper TableToronto, Ontario, Canada64.0004-optional-exceptions.pdf, page 1Yes
ADJ-0012026-09-20Orchard House LodgeMontreal, Quebec, Canada-40.0004-optional-exceptions.pdf, page 1No
EXP-0132026-09-20Juniper CafeNot recorded22.0004-optional-exceptions.pdf, page 1No