Repository: icssc/AntAlmanac (ts)

Issue:
fix: location_ids and buildingCatalogue are inconsistent
Continuing the saga from #784 and #779, `location_ids` and `buildingCatalogue` are inconsistent.

Noted in #855:
> Not all locations are recognized for custom events on the map even though they are for classes (BS3, for example) and some don't even read on the calendar

In the particular case above,

buildingCatalogue:
```ts
    83057: {
        name: 'Biological Sciences III (BS3)',
        lat: 33.645363,
        lng: -117.846222,
        imageURLs: ['463/biological-sciences-iii.jpg'],
    },

    114877: {
        name: 'Biological Sciences III (BS3)',
        lat: 33.645363,
        lng: -117.846222,
        imageURLs: ['463/biological-sciences-iii.jpg'],
    },
```

location_ids:
```ts
    BS3: 114877,
```

Custom Events seemingly use the 83057 which don't exist in `location_ids`, whereas course events use 114877 which do.

Pull request description:
Fix location ids and building catalogue
Created 1:1 parity between location ids and buildings catalogue

closes #856 


Patch:
diff --git a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx
index 4fd5978d..95efe376 100644
--- a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx
+++ b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx
@@ -226,8 +226,8 @@ function CustomEventDialogs(props: CustomEventDialogProps) {
                         {disabled
                             ? 'Schedule and day must be checked'
                             : props.customEvent
-                            ? 'Save Changes'
-                            : 'Add Event'}
+                              ? 'Save Changes'
+                              : 'Add Event'}
                     </Button>
                 </DialogActions>
             </Dialog>
diff --git a/apps/antalmanac/src/components/Map/Map.tsx b/apps/antalmanac/src/components/Map/Map.tsx
index 58c93c8a..b79ab68e 100644
--- a/apps/antalmanac/src/components/Map/Map.tsx
+++ b/apps/antalmanac/src/components/Map/Map.tsx
@@ -277,13 +277,16 @@ export default function CourseMap() {
      */
     const startDestPairs = useMemo(() => {
         const allEvents = [...markersToDisplay, ...customEventMarkersToDisplay];
-        return allEvents.reduce((acc, cur, index) => {
-            acc.push([cur]);
-            if (index > 0) {
-                acc[index - 1].push(cur);
-            }
-            return acc;
-        }, [] as (typeof allEvents)[]);
+        return allEvents.reduce(
+            (acc, cur, index) => {
+                acc.push([cur]);
+                if (index > 0) {
+                    acc[index - 1].push(cur);
+                }
+                return acc;
+            },
+            [] as (typeof allEvents)[]
+        );
     }, [markersToDisplay, customEventMarkersToDisplay]);
 
     return (
diff --git a/apps/antalmanac/src/lib/buildingCatalogue.ts b/apps/antalmanac/src/lib/buildingCatalogue.ts
index fc8a8411..e93fe32f 100644
--- a/apps/antalmanac/src/lib/buildingCatalogue.ts
+++ b/apps/antalmanac/src/lib/buildingCatalogue.ts
@@ -168,60 +168,24 @@ export default {
         lng: -117.849297,
         imageURLs: ['463/vista-field.jpg'],
     },
-    83057: {
-        name: 'Biological Sciences III (BS3)',
-        lat: 33.645363,
-        lng: -117.846222,
-        imageURLs: ['463/biological-sciences-iii.jpg'],
-    },
     83058: {
         name: 'Bison Modular (BIMO)',
         lat: 33.643814,
         lng: -117.84639,
         imageURLs: ['463/bison-modular.jpg'],
     },
-    83059: {
-        name: 'Bonney Research Laboratory (BRL)',
-        lat: 33.646461,
-        lng: -117.846169,
-        imageURLs: ['463/bonney-research-laboratory.jpg'],
-    },
-    83060: {
-        name: 'Center for the Neurobiology of Learning & Memory Annex (CNLM)',
-        lat: 33.646629,
-        lng: -117.846428,
-        imageURLs: ['463/center-for-the-neurobiology-of-learning-and-memory-annex.jpg'],
-    },
     83061: {
         name: 'Greenhouse',
         lat: 33.64732,
         lng: -117.845367,
         imageURLs: ['463/greenhouse.jpg'],
     },
-    83062: {
-        name: 'McGaugh Hall (MH)',
-        lat: 33.645271,
-        lng: -117.844887,
-        imageURLs: ['463/mcgaugh-hall.jpg'],
-    },
-    83063: {
-        name: 'Qureshey Research Laboratory (QRL)',
-        lat: 33.646648,
-        lng: -117.845764,
-        imageURLs: ['463/qureshey-research-laboratory.jpg'],
-    },
     83064: {
         name: 'Howard Schneiderman Lecture Hall (HSLH)',
         lat: 33.645618,
         lng: -117.844666,
         imageURLs: ['463/howard-schneiderman-lecture-hall.jpg'],
     },
-    83065: {
-        name: 'Steinhaus Hall (SH)',
-        lat: 33.646347,
-        lng: -117.844887,
-        imageURLs: ['463/steinhaus-hall.jpg'],
-    },
     83068: {
         name: 'Arroyo Vista',
         lat: 33.646317,
@@ -241,7 +205,7 @@ export default {
         imageURLs: [],
     },
     83072: {
-        name: 'Mesa Court ',
+        name: 'Mesa Court',
         lat: 33.651924,
         lng: -117.844528,
         imageURLs: [],
@@ -378,12 +342,6 @@ export default {
         lng: -117.840149,
         imageURLs: ['463/engineering-and-comuting-trailer.jpg'],
     },
-    83102: {
-        name: 'Engineering Gateway (EG)',
-        lat: 33.643215,
-        lng: -117.840157,
-        imageURLs: ['463/engineering-gateway.jpg'],
-    },
     83103: {
         name: 'Engineering Hall (EH)',
         lat: 33.643799,
@@ -618,12 +576,6 @@ export default {
         lng: -117.835938,
         imageURLs: ['463/law.jpg'],
     },
-    83167: {
-        name: 'Multipurpose Academic & Administrative Building (MPAA)',
-        lat: 33.647156,
-        lng: -117.837013,
-        imageURLs: ['463/multipurpose-academic-and-admin-building.jpg'],
-    },
     83168: {
         name: 'Science Library (SLIB)',
         lat: 33.645908,
@@ -648,12 +600,6 @@ export default {
         lng: -117.844681,
         imageURLs: ['463/croul-hall.jpg'],
     },
-    83372: {
-        name: 'Multipurpose Science & Technology Building (MSTB)',
-        lat: 33.64209,
-        lng: -117.844467,
-        imageURLs: ['463/multipurpose-science-and-technology.jpg'],
-    },
     83373: {
         name: 'Natural Sciences I (NS1)',
         lat: 33.644348,
@@ -726,12 +672,6 @@ export default {
         lng: -117.835938,
         imageURLs: ['463/continuing-education-6.jpg'],
     },
-    83544: {
-        name: 'Social Ecology I (SE)',
-        lat: 33.646194,
-        lng: -117.838844,
-        imageURLs: ['463/social-ecology-i.jpg'],
-    },
     83545: {
         name: 'Social Ecology II (SE2)',
         lat: 33.64666,
@@ -756,12 +696,6 @@ export default {
         lng: -117.847198,
         imageURLs: ['463/kuci-radio-station.jpg'],
     },
-    83559: {
-        name: 'Student Center (SC)',
-        lat: 33.649323,
-        lng: -117.842255,
-        imageURLs: ['463/student-center_1.jpg'],
-    },
     83560: {
         name: 'Student Health Center (SHC)',
         lat: 33.64555,
@@ -774,12 +708,6 @@ export default {
         lng: -117.842316,
         imageURLs: ['463/student-services-i.jpg'],
     },
-    83565: {
-        name: 'Social & Behavioral Sciences Gateway (SBSG)',
-        lat: 33.647488,
-        lng: -117.839165,
-        imageURLs: ['463/social-and-behavioral-sciences-gateway.jpg'],
-    },
     83566: {
         name: 'Social Science Hall (SSH)',
         lat: 33.646236,
@@ -810,12 +738,6 @@ export default {
         lng: -117.839096,
         imageURLs: ['463/social-science-plaza-b.jpg'],
     },
-    83571: {
-        name: 'Social Science Tower (SST)',
-        lat: 33.646591,
-        lng: -117.840294,
-        imageURLs: ['463/social-science-tower.jpg'],
-    },
     83572: {
         name: 'Social Science Trailer (SSTR)',
         lat: 33.647007,
@@ -888,12 +810,6 @@ export default {
         lng: -117.838409,
         imageURLs: ['463/university-tower-2.jpg'],
     },
-    99610: {
-        name: 'Interim Classroom Facility (ICF)',
-        lat: 33.644463,
-        lng: -117.840012,
-        imageURLs: ['463/interim-classroom-facility.jpg'],
-    },
     101047: {
         name: 'University Hills Community Center',
         lat: 33.636307,
@@ -924,18 +840,6 @@ export default {
         lng: -117.838112,
         imageURLs: ['463/business-ii.jpg'],
     },
-    114585: {
-        name: '100 Theory',
-        lat: 33.644245,
-        lng: -117.855675,
-        imageURLs: [],
-    },
-    114586: {
-        name: 'Anteater Instruction & Research Building (AIRB)',
-        lat: 33.643009,
-        lng: -117.838013,
-        imageURLs: ['463/anteater-instruction-and-research-building.jpg'],
-    },
     114588: {
         name: 'Beckman Center of the National Academies of Sciences & Engineering',
         lat: 33.649414,
@@ -972,12 +876,6 @@ export default {
         lng: -117.846428,
         imageURLs: ['463/center-for-the-neurobiology-of-learning-and-memory-annex.jpg'],
     },
-    114597: {
-        name: 'Greenhouse',
-        lat: 33.64732,
-        lng: -117.845367,
-        imageURLs: ['463/greenhouse.jpg'],
-    },
     114598: {
         name: 'Merage School of Business (SB1)',
         lat: 33.647072,
@@ -996,54 +894,24 @@ export default {
         lng: -117.840157,
         imageURLs: ['463/engineering-gateway.jpg'],
     },
-    114601: {
-        name: 'Engineering Laboratory Facility (ELF)',
-        lat: 33.643822,
-        lng: -117.839622,
-        imageURLs: ['463/engineering-laboratory-facility.jpg'],
-    },
     114602: {
         name: 'Little Theatre',
         lat: 33.647213,
         lng: -117.844063,
         imageURLs: ['463/little-theatre.jpg'],
     },
-    114603: {
-        name: 'Humanities Interim Classroom Facility (HICF) | Studio Art Trailer',
-        lat: 33.646919,
-        lng: -117.84687,
-        imageURLs: ['463/humanities-interim-classroom-facility.jpg'],
-    },
     114604: {
         name: 'Multipurpose Academic & Administrative Building (MPAA)',
         lat: 33.647156,
         lng: -117.837013,
         imageURLs: ['463/multipurpose-academic-and-admin-building.jpg'],
     },
-    114605: {
-        name: 'Beckman Laser Institute (BLI)',
-        lat: 33.644192,
-        lng: -117.849915,
-        imageURLs: ['463/beckman-laser-institute.jpg'],
-    },
-    114606: {
-        name: 'Gillespie Neuroscience Research Facility (GNRF)',
-        lat: 33.644009,
-        lng: -117.851265,
-        imageURLs: ['463/gillespie-neuroscience-research-facility.jpg'],
-    },
     114607: {
         name: 'Sue & Bill Gross Hall: A CIRM Institute',
         lat: 33.643555,
         lng: -117.851501,
         imageURLs: ['463/gross-hall.jpg'],
     },
-    114608: {
-        name: 'Hewitt Research Hall (HRH)',
-        lat: 33.643505,
-        lng: -117.851921,
-        imageURLs: ['463/hewitt-hall.jpg'],
-    },
     114609: {
         name: 'Plumwood House (PH)',
         lat: 33.644718,
@@ -1062,54 +930,24 @@ export default {
         lng: -117.844887,
         imageURLs: ['463/steinhaus-hall.jpg'],
     },
-    114612: {
-        name: 'Bison Modular (BIMO)',
-        lat: 33.643814,
-        lng: -117.84639,
-        imageURLs: ['463/bison-modular.jpg'],
-    },
     114613: {
         name: 'Multipurpose Science & Technology Building (MSTB)',
         lat: 33.64209,
         lng: -117.844467,
         imageURLs: ['463/multipurpose-science-and-technology.jpg'],
     },
-    114614: {
-        name: 'Physical Sciences High Bay',
-        lat: 33.64362,
-        lng: -117.845291,
-        imageURLs: ['463/physical-sciences-high-bay.jpg'],
-    },
-    114615: {
-        name: 'Rowland Hall (RH)',
-        lat: 33.644531,
-        lng: -117.844162,
-        imageURLs: ['463/rowland-hall.jpg'],
-    },
     114616: {
         name: 'Anteater Instruction & Research Building (AIRB)',
         lat: 33.643009,
         lng: -117.838013,
         imageURLs: ['463/anteater-instruction-and-research-building.jpg'],
     },
-    114618: {
-        name: 'Sprague Hall (SPH)',
-        lat: 33.644062,
-        lng: -117.852066,
-        imageURLs: ['463/sprague-hall.jpg'],
-    },
     114621: {
         name: 'Facilities Management Building',
         lat: 33.664715,
         lng: -117.854805,
         imageURLs: [],
     },
-    114622: {
-        name: 'Humanities Gateway (HG)',
-        lat: 33.648266,
-        lng: -117.844406,
-        imageURLs: ['463/humanities-gateway.jpg'],
-    },
     114623: {
         name: 'Social Ecology I (SE)',
         lat: 33.646194,
@@ -1170,12 +1008,6 @@ export default {
         lng: -117.840294,
         imageURLs: ['463/social-science-tower.jpg'],
     },
-    114879: {
-        name: 'Gavin Herbert Eye Institute',
-        lat: 33.641743,
-        lng: -117.852249,
-        imageURLs: ['463/gavin-herbert-eye-institute.jpg'],
-    },
     114880: {
         name: 'Child Development School (CD)',
         lat: 33.662647,
@@ -1620,12 +1452,6 @@ export default {
         lng: -117.850998,
         imageURLs: ['463/gottschalk-pod.jpg'],
     },
-    255880: {
-        name: 'Student Center',
-        lat: 33.648888,
-        lng: -117.8424,
-        imageURLs: ['463/student-center_2.jpg'],
-    },
     255884: {
         name: 'Anteater Learning Pavilion (ALP)',
         lat: 33.647213,
@@ -1698,24 +1524,12 @@ export default {
         lng: -117.849152,
         imageURLs: [],
     },
-    364043: {
-        name: 'Student Services West',
-        lat: 33.646072,
-        lng: -117.849152,
-        imageURLs: [],
-    },
     407361: {
         name: 'ANTrepreneur Center',
         lat: 33.64621,
         lng: -117.837051,
         imageURLs: ['463/banning-house.jpg'],
     },
-    407362: {
-        name: 'Gateway Study Center (GC)',
-        lat: 33.647388,
-        lng: -117.841873,
-        imageURLs: ['463/gateway-study-center.jpg'],
-    },
     444368: {
         name: 'Plaza Verde',
         lat: 33.648224,
@@ -1752,14 +1566,8 @@ export default {
         lng: -117.848709,
         imageURLs: ['463/grounds-maintenance-facility.jpg'],
     },
-    444506: {
-        name: 'Facilities Management Building',
-        lat: 33.66478,
-        lng: -117.854935,
-        imageURLs: [],
-    },
     444507: {
-        name: 'Passport Services ',
+        name: 'Passport Services',
         lat: 33.664795,
         lng: -117.854523,
         imageURLs: [],
@@ -1812,42 +1620,12 @@ export default {
         lng: -117.844414,
         imageURLs: [],
     },
-    454486: {
-        name: 'Medical Surge I (MS1)',
-        lat: 33.646484,
-        lng: -117.850174,
-        imageURLs: ['463/medical-surge-i.jpg'],
-    },
-    454487: {
-        name: 'Donald Bren Hall (DBH)',
-        lat: 33.643288,
-        lng: -117.841965,
-        imageURLs: ['463/donald-bren-hall.jpg'],
-    },
-    454488: {
-        name: 'Engineering Hall (EH)',
-        lat: 33.643799,
-        lng: -117.841202,
-        imageURLs: ['463/engineering-hall.jpg'],
-    },
-    454489: {
-        name: 'Air Pollution Health Effects Laboratory (APHEL)',
-        lat: 33.664837,
-        lng: -117.853844,
-        imageURLs: [],
-    },
     454490: {
         name: 'Student Center South',
         lat: 33.648724,
         lng: -117.842705,
         imageURLs: [],
     },
-    454491: {
-        name: 'Student Center South',
-        lat: 33.648724,
-        lng: -117.842705,
-        imageURLs: [],
-    },
     454492: {
         name: 'Jao Family Sculpture Garden',
         lat: 33.647762,
@@ -1962,4 +1740,52 @@ export default {
         lng: -117.843788,
         imageURLs: ['463/1R7A7978.jpg'],
     },
+    363937: {
+        name: 'Mesa Parking Structure (MPS)',
+        lat: 33.6506,
+        lng: -117.84629,
+        imageURLs: [],
+    },
+    114576: {
+        name: 'Air Pollution Labs (APL)',
+        lat: 33.6648,
+        lng: -117.85382,
+        imageURLs: [],
+    },
+    363936: {
+        name: 'Student Center Parking Structure (SCPS)',
+        lat: 33.64971,
+        lng: -117.84189,
+        imageURLs: [],
+    },
+    363935: {
+        name: 'East Campus Parking Structure (ECPS)',
+        lat: 33.6451,
+        lng: -117.8282,
+        imageURLs: [],
+    },
+    363934: {
+        name: 'Social Science Parking Structure (SSPS)',
+        lat: 33.64768,
+        lng: -117.83801,
+        imageURLs: [],
+    },
+    363932: {
+        name: 'Anteater Parking Structure (APS)',
+        lat: 33.64314,
+        lng: -117.83783,
+        imageURLs: [],
+    },
+    367615: {
+        name: "Dean's Office",
+        lat: 33.64857,
+        lng: -117.84265,
+        imageURLs: [],
+    },
+    83062: {
+        name: 'McGaugh Hall (MH)',
+        lat: 33.64517,
+        lng: -117.84476,
+        imageURLs: [],
+    },
 } as Record<number, Building>;
diff --git a/apps/antalmanac/src/lib/location_ids.ts b/apps/antalmanac/src/lib/location_ids.ts
index 56e452a9..2fce39f6 100644
--- a/apps/antalmanac/src/lib/location_ids.ts
+++ b/apps/antalmanac/src/lib/location_ids.ts
@@ -10,7 +10,7 @@ const locationIds: Record<string, number> = {
     ICS: 83096,
     BRL: 114594,
     BLI: 83134,
-    'Mesa Court': 367611,
+    'Mesa Court': 83072,
     DBH: 83095,
     MS2: 83151,
     SC: 114624,
@@ -34,12 +34,12 @@ const locationIds: Record<string, number> = {
     MS1: 83150,
     LAW: 83166,
     ELF: 83104,
-    HT: 367490,
+    // HT: 367490,
     AIRB: 114616,
     CRCC: 83551,
     ET: 83106,
     EDUC: 114599,
-    CP: 114580,
+    CP: 444502,
     SB1: 114598,
     MAB: 83033,
     CRH: 83371,
@@ -50,12 +50,11 @@ const locationIds: Record<string, number> = {
     AITR: 83024,
     CDDC: 115051,
     MH: 83062,
-    'Student Center': 367612,
     PSLH: 83378,
     SCPS: 363936,
     ELH: 83105,
     SS2: 255997,
-    'Hitachi, PH': 114609,
+    PH: 114609,
     PSCB: 83376,
     HG: 83160,
     HSLH: 83064,
@@ -64,9 +63,9 @@ const locationIds: Record<string, number> = {
     CTT: 83026,
     CAC: 83027,
     ACT: 83022,
-    'Middle Earth': 367613,
+    'Middle Earth': 83073,
     SHC: 83560,
-    CNLMA: 114596,
+    CNLM: 114596,
     IH: 83140,
     FRF: 114575,
     Calit2: 114579,
@@ -90,7 +89,7 @@ const locationIds: Record<string, number> = {
     SE: 114623,
     'MS-C': 83146,
     SH: 114611,
-    'UCI Health': 367616,
+    //'UCI Health': 367616,
     SBSG: 114858,
     GNRF: 83136,
     SSPB: 83570,
@@ -103,7 +102,7 @@ const locationIds: Record<string, number> = {
     ICF: 83099,
     ALP: 255884,
     MSTB: 114613,
-    AH: 83619,
+    //AH: 83619,
     CH: 83050,
     ALH: 83618,
     SSH: 83566,
@@ -111,6 +110,195 @@ const locationIds: Record<string, number> = {
     'MS-E': 83149,
     APS: 363932,
     HH: 83161,
+    'Choral Studio': 83025,
+    'Production Studio': 83036,
+    DS: 83037,
+    'Anteater Ballpark': 83043,
+    'Anteater Stadium': 83045,
+    'Bren Events Center': 83046,
+    'Crawford Clubhouse': 83048,
+    'Crawford Field': 83049,
+    'Crawford Pool': 83051,
+    'Anteater Tennis Stadium': 83054,
+    'Track & Field House': 83055,
+    'Vista Field': 83056,
+    BIMO: 83058,
+    Greenhouse: 83061,
+    'Arroyo Vista': 83068,
+    'Camino del Sol': 83069,
+    'Campus Village': 83070,
+    'Palo Verde': 83074,
+    'Puerta del Sol': 83075,
+    'University Hills': 83076,
+    'Verano Place': 83077,
+    'Vista del Campo': 83078,
+    'Vista del Campo Norte': 83079,
+    'CAC G021 Arts Instructional Lab Classroom': 83081,
+    'OIT@CCC Drop-In Lab': 83083,
+    'Gateway Study Center Drop-In Lab': 83084,
+    'OIT@SST Drop-In Lab': 83086,
+    'OIT@Student Center Drop-In Lab': 83087,
+    'Humanities Studio Labs': 83090,
+    'Langson Library Labs': 83091,
+    'MSTB 210 Instructional Lab Classroom': 83092,
+    'NS1 2144 Instructional Lab Classroom': 83093,
+    'Science Library Labs': 83094,
+    "BC's Cavern": 83120,
+    'POD Social Sciences': 83122,
+    'Cafe Espresso': 83123,
+    'The Green Room': 83125,
+    'Phoenix Food Court': 83128,
+    'Starbucks @ Biological Sciences': 83130,
+    'Gottschalk Medical Plaza': 83137,
+    'Medical Education Building': 83141,
+    'Medical Sciences A Administration': 83143,
+    'Medical Sciences A Annex': 83144,
+    'Medical Sciences Classroom Facility': 83147,
+    'MS-D': 83148,
+    'MRI 3T Trailer': 83152,
+    'MRI 4T Trailer': 83153,
+    'Tamkin Student Lecture Building': 83156,
+    'Physical Sciences High Bay': 83377,
+    'Continuing Education 4': 83384,
+    'Continuing Education 3': 83385,
+    'Continuing Education 5': 83386,
+    'Continuing Education 6': 83387,
+    'Disability Services Center': 83552,
+    'KUCI Radio Station': 83558,
+    '100 Theory': 83609,
+    '111 Theory': 83611,
+    '5251 California': 83612,
+    '101 Academy': 83615,
+    'Administrative Modular': 83617,
+    'Faculty and Staff Housing Office': 83622,
+    'Newkirk Alumni Center': 83624,
+    'University Hills Community Center': 101047,
+    'Beckman Center of the National Academies of Sciences & Engineering': 114588,
+    'Farm School/Red Barn': 114590,
+    'Little Theatre': 114602,
+    'Gavin Herbert Eye Institute': 114610,
+    'Facilities Management Building': 114621,
+    'Student Health Center II': 114626,
+    'Court Building': 114628,
+    'Field Building': 114629,
+    'Irvine Barclay Theatre': 114659,
+    'Early Childhood Education Center': 114881,
+    "Children's Center": 114882,
+    'Extended Day Center': 114883,
+    'Infant Toddler Center I': 114884,
+    'Infant Toddler Center II': 114885,
+    'Verano Preschool': 114887,
+    'University Montessori School': 114888,
+    'American Heart Association': 114890,
+    'Yurt Dance Studio': 114891,
+    '20/20 Cafe': 114958,
+    'Au Bon Pain': 114959,
+    'Espress Yourself': 114960,
+    'Starbucks @ Paul Merage School of Business': 114961,
+    'Java City Kiosk': 114962,
+    'Med Ed Cafe': 114963,
+    'Neuropsychiatric Center': 115040,
+    'Douglas Hospital': 115041,
+    'University Hospital Tower': 115042,
+    'Manchester Pavilion': 115043,
+    'Faculty / Administration Offices': 115044,
+    'Pavilion 3': 115045,
+    'Chao Family Comprehensive Cancer Center': 115046,
+    'Imaging Services': 115047,
+    'Burn & Wound Therapy': 115048,
+    'Pavilion 4': 115049,
+    'Grunigen Medical Library': 115052,
+    'Laboratory Medicine Building': 115053,
+    'Parking & Security': 115054,
+    'Pavilion 1': 115055,
+    'Nikken Center': 115056,
+    'Pavilion 2': 115057,
+    Orthopaedics: 115058,
+    'Visitor Parking': 115059,
+    'Edward Shanbrom, MD Hall': 115060,
+    'Central Plant': 115061,
+    'Facilities Services': 115062,
+    'Administrative / Academic Offices': 115063,
+    'Home Dialysis': 115064,
+    'Courtyard Study Lounge Drop-In Lab': 123779,
+    'Watson Bridge': 126143,
+    'Aldrich Flag Poles': 126144,
+    'Ring Mall': 126145,
+    'Aldrich Park': 126146,
+    'Arts Bridge': 126147,
+    'Physical Sciences Plaza': 126148,
+    'Biological Sciences Plaza': 126149,
+    'Engineering Plaza': 126150,
+    'Social Sciences Plaza': 126151,
+    'Student Center Plaza': 126152,
+    'Humanities Plaza': 126153,
+    'Bostick Bridge': 126154,
+    'Athletics Bridge': 126155,
+    'Alumni Grove': 126156,
+    'Anteater Statue': 126157,
+    'Laurel L. Wilkening Rose Garden': 126158,
+    'Cesario Memorial': 126159,
+    'Bren Center Flag Poles': 126999,
+    'Claire Trevor Oscar/Emmy Display': 127000,
+    'Mesa Parking Bridge': 127001,
+    'Student Center Courtyard Stage': 127052,
+    'Palo Verde Bridge': 127246,
+    '120 Theory': 171183,
+    'Student Center Bridge': 186008,
+    'Continuing Education Bridge': 186011,
+    'Bridge Cafe': 186012,
+    'The Anteatery': 186013,
+    'Summer Session A': 197840,
+    'Summer Session B': 197841,
+    '131 Innovation': 255739,
+    '141 Innovation': 255740,
+    'Gottschalk P.O.D. Express': 255878,
+    'Anteater Community Resource Center': 255992,
+    'Engineering Computing Labs': 257153,
+    'Grunigen Medical Library Lab': 257154,
+    'MSTB 226 Instructional Lab Classroom': 257155,
+    'NS1 3112 Instructional Lab Classroom': 257156,
+    Taza: 264222,
+    'ALP 2800 Computer Focused Classroom': 363319,
+    'ALP 3600 Computer Focused Classroom': 363320,
+    'ALP 3610 Computer Focused Classroom': 363321,
+    'Student Services West': 364042,
+    'ANTrepreneur Center': 407361,
+    'Plaza Verde': 444368,
+    'Building Services Building': 444501,
+    'Electrical Substation': 444503,
+    'Facilities Management Shops': 444504,
+    'Grounds Maintenance Facility': 444505,
+    'Passport Services': 444507,
+    Receiving: 444508,
+    'Recycling Center': 444509,
+    'Thermal Energy Storage Tank': 444510,
+    APHEL: 445384,
+    Brandywine: 446803,
+    'Faculty Research Facility': 447392,
+    '5270 California': 451260,
+    UAG: 454485,
+    'Student Center South': 454490,
+    'Jao Family Sculpture Garden': 454492,
+    'Science Library Mesquite Garden': 454493,
+    'Anteater Plaza': 454494,
+    'Founders Court': 454495,
+    'Campus Village Community Center': 464544,
+    'Campus Village Housing Office': 464545,
+    'Mesa Court Community Center': 464546,
+    'Mesa Court Housing Office': 464547,
+    'Arroyo Vista Community Center & Housing Office': 464548,
+    'Middle Earth Housing Office': 464549,
+    'Palo Verde Housing Office': 464550,
+    'Palo Verde Community Center': 464551,
+    'Verano Place Housing Office': 464552,
+    'Infinity Fountain': 471175,
+    'Stacey Nicholas Tech Pavilion': 471176,
+    'Willed Body Program Dedication Monument': 471177,
+    'Schonfeld Fountain': 471178,
+    'Maya Lin Water Table': 471180,
+    'Gloria Gellman Sculpture': 471202,
+    'Sue & Bill Gross Hall: A CIRM Institute': 114607,
 };
 
 export default locationIds;


Test patch:
diff --git a/apps/antalmanac/tests/locations.test.ts b/apps/antalmanac/tests/locations.test.ts
new file mode 100644
index 00000000..7afb6885
--- /dev/null
+++ b/apps/antalmanac/tests/locations.test.ts
@@ -0,0 +1,45 @@
+import { describe, test, expect } from 'vitest';
+import locationIds from '$lib/location_ids';
+import buildingCatalogue from '$lib/buildingCatalogue';
+
+describe('locationIds', () => {
+    test('no duplicate names', () => {
+        const names = Object.keys(locationIds);
+        const uniqueNames = new Set(names);
+        expect(names.length).toBe(uniqueNames.size);
+    });
+});
+
+describe('buildingCatalogue', () => {
+    test('no duplicate names', () => {
+        const names = Object.values(buildingCatalogue).map((building) => building.name);
+        const uniqueNames = new Set(names);
+        expect(names.length).toBe(uniqueNames.size);
+    });
+});
+
+describe('locationIds and buildingCatalogue', () => {
+    test('all locationIds are in buildingCatalogue', () => {
+        const locationNames = Object.keys(locationIds);
+        const buildingNames = Object.values(buildingCatalogue).map((building) => {
+            const buildingName = building.name.includes('(')
+                ? building.name.substring(building.name.indexOf('(') + 1, building.name.indexOf(')'))
+                : building.name;
+            return buildingName;
+        });
+        for (const locationName of locationNames) {
+            expect(buildingNames).toContain(locationName);
+        }
+    });
+
+    test('all buildingCatalogue are in locationIds', () => {
+        const locationNames = Object.keys(locationIds);
+        const buildingNames = Object.values(buildingCatalogue).map((building) => building.name);
+        for (const buildingName of buildingNames) {
+            const name = buildingName.includes('(')
+                ? buildingName.substring(buildingName.indexOf('(') + 1, buildingName.indexOf(')'))
+                : buildingName;
+            expect(locationNames).toContain(name);
+        }
+    });
+});