Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

fix(import): 15 more Hevy titles follow Hevy's own artwork

lodepavfc7dd70b9062
diff --git a/frontend/src/lib/hevy-id-map.js b/frontend/src/lib/hevy-id-map.js
index d4c40931c..cb2420bd9 100644
--- a/frontend/src/lib/hevy-id-map.js
+++ b/frontend/src/lib/hevy-id-map.js
@@ -4,7 +4,7 @@
// verified title aliases. Three title aliases whose catalogue match was wrong (side plank → hip
// adduction, machine squat → barbell squat, cable reverse fly → a lever machine) are left out;
// those titles import as custom exercises.
-// 299 mapped · 152 left unmatched (import as custom).
+// 300 mapped · 151 left unmatched (import as custom).
// Source templates: 451 (built-in only).
export const HEVY_ID_MAP = {
@@ -62,13 +62,13 @@ export const HEVY_ID_MAP = {
"234897AB": "0165",
"238BA231": "5052",
"23A48484": "0175",
- "23E92538": "0292",
+ "23E92538": "0293",
"243710DE": "3666",
"24706DCD": "0576",
"286C1D0B": "0246",
"28BB4A95": "0814",
"29083183": "1326",
- "29472BE1": "0251",
+ "29472BE1": "1755",
"2982AA23": "0687",
"2A48E443": "0116",
"2B4B7310": "0085",
@@ -106,7 +106,7 @@ export const HEVY_ID_MAP = {
"47B9DF13": "2315",
"49C922A1": "1409",
"4B4BF8C2": "0019",
- "4E5257DE": "2616",
+ "4E5257DE": "6392",
"4F5866F8": "1860",
"4F942934": "0070",
"5046D0A9": "0042",
@@ -131,7 +131,7 @@ export const HEVY_ID_MAP = {
"67280085": "0375",
"68B83EE0": "3193",
"68F8A292": "0351",
- "6A6C31A5": "2330",
+ "6A6C31A5": "0150",
"6AC96645": "0405",
"6DA40660": "0417",
"6E6EE645": "0054",
@@ -149,7 +149,7 @@ export const HEVY_ID_MAP = {
"796E8E2C": "0834",
"797F0782": "0437",
"79D0BB3A": "0025",
- "7AB9A362": "0120",
+ "7AB9A362": "0121",
"7B8D84E8": "1165",
"7C0028C3": "0593",
"7C50F118": "1429",
@@ -169,7 +169,7 @@ export const HEVY_ID_MAP = {
"90427D4A": "1675",
"90B04F96": "0471",
"90E506D5": "3305",
- "91237BDD": "2289",
+ "91237BDD": "0738",
"914F3A96": "0327",
"91AF29E0": "0091",
"91FAFBA3": "4214",
@@ -179,7 +179,7 @@ export const HEVY_ID_MAP = {
"9283BABA": "0858",
"92D858EA": "0243",
"9372FFAA": "0396",
- "93A552C6": "0241",
+ "93A552C6": "0201",
"947DAC23": "0259",
"94B7239B": "0200",
"95F2E076": "1426",
@@ -192,7 +192,7 @@ export const HEVY_ID_MAP = {
"99C1F2AD": "0151",
"99D5F10E": "0857",
"9B13BA4B": "0548",
- "9DCE2D64": "0596",
+ "9DCE2D64": "1030",
"9F48F858": "0206",
"9F9C164B": "0631",
"A01BE509": "0443",
@@ -207,7 +207,7 @@ export const HEVY_ID_MAP = {
"A733CC5B": "1460",
"A8814C06": "1003",
"AA1EB7D8": "0571",
- "AA52E8D2": "0773",
+ "AA52E8D2": "1164",
"ABB00838": "0028",
"ABEC557F": "0406",
"AC5A4C58": "0046",
@@ -217,6 +217,7 @@ export const HEVY_ID_MAP = {
"B09A1304": "0766",
"B123DD01": "2285",
"B2398CD1": "0277",
+ "B33B526E": "0190",
"B3B1D947": "3360",
"B537D09F": "0336",
"B582299E": "0383",
@@ -233,7 +234,7 @@ export const HEVY_ID_MAP = {
"BD4E7E53": "0535",
"BD86EFD5": "0041",
"BE289E45": "0178",
- "BE640BA0": "0203",
+ "BE640BA0": "7744",
"BF6ECE89": "0431",
"C315DC2A": "0602",
"C3BCABB3": "0218",
@@ -279,12 +280,12 @@ export const HEVY_ID_MAP = {
"E05C2C38": "0605",
"E3EDA509": "1775",
"E53CCBE5": "1372",
- "E5988A0A": "0383",
+ "E5988A0A": "0380",
"E644F828": "1258",
"E8D86EE8": "4568",
"E9E4089F": "0009",
"EA820646": "0027",
- "EAC7D9C5": "3124",
+ "EAC7D9C5": "3780",
"EB43ADD4": "1452",
"EB813C91": "1359",
"F1258206": "1004",
@@ -295,11 +296,11 @@ export const HEVY_ID_MAP = {
"F3717B0E": "3888",
"F49E31D6": "0630",
"F4B4C6EE": "0597",
- "F5DEF1EB": "1489",
+ "F5DEF1EB": "0851",
"F8356514": "0472",
"F8A0FCCA": "0549",
"F99C211D": "0535",
- "FAB6EB2F": "0372",
+ "FAB6EB2F": "0402",
"FAF31231": "0033",
"FB09C938": "0067",
"FBF92739": "1299",
@@ -331,7 +332,7 @@ export const HEVY_TITLE_MAP = {
"bench press - wide grip (barbell)": "1258",
"bent over row (band)": "0027",
"bent over row (barbell)": "0027",
- "bent over row (dumbbell)": "0292",
+ "bent over row (dumbbell)": "0293",
"bent over row (smith machine)": "1359",
"bicep curl (barbell)": "0031",
"bicep curl (cable)": "0868",
@@ -343,7 +344,7 @@ export const HEVY_TITLE_MAP = {
"bulgarian split squat (barbell)": "0099",
"bulgarian split squat (dumbbell)": "0410",
"burpee": "1160",
- "butterfly (pec deck)": "0596",
+ "butterfly (pec deck)": "1030",
"cable core pallof press": "0979",
"cable crunch": "0175",
"cable fly crossovers": "1269",
@@ -351,27 +352,27 @@ export const HEVY_TITLE_MAP = {
"cable twist (down to up)": "0243",
"cable twist (up to down)": "0243",
"calf extension (machine)": "2315",
- "calf press (machine)": "2289",
- "chest dip": "0251",
+ "calf press (machine)": "0738",
"chest dip (assisted)": "0009",
- "chest dip (weighted)": "0251",
+ "chest dip (weighted)": "1755",
+ "chest dip": "0251",
"chest fly (dumbbell)": "0308",
"chest fly (machine)": "0596",
- "chest press (band)": "3124",
+ "chest press (band)": "3780",
"chest press (machine)": "0577",
"chest supported incline row (dumbbell)": "0327",
"chest supported reverse fly (dumbbell)": "0383",
- "chin up": "1326",
"chin up (assisted)": "0572",
"chin up (weighted)": "0572",
+ "chin up": "1326",
"clap push ups": "1273",
- "clean": "0028",
"clean and press": "0028",
+ "clean": "0028",
"concentration curl": "0297",
"cross body hammer curl": "0298",
- "crunch": "0274",
"crunch (machine)": "1452",
"crunch (weighted)": "0832",
+ "crunch": "0274",
"cycling": "2331",
"dead bug": "0276",
"deadlift (band)": "0032",
@@ -383,8 +384,8 @@ export const HEVY_TITLE_MAP = {
"decline bench press (dumbbell)": "0301",
"decline bench press (machine)": "0033",
"decline bench press (smith machine)": "0753",
- "decline crunch": "0277",
"decline crunch (weighted)": "0277",
+ "decline crunch": "0277",
"decline push up": "0279",
"diamond push up": "0283",
"drag curl": "0038",
@@ -394,7 +395,7 @@ export const HEVY_TITLE_MAP = {
"elbow to knee": "0443",
"elliptical trainer": "2141",
"ez bar biceps curl": "0447",
- "face pull": "0203",
+ "face pull": "7744",
"farmers walk": "2133",
"floor press (barbell)": "0065",
"floor triceps dip": "0815",
@@ -410,8 +411,8 @@ export const HEVY_TITLE_MAP = {
"glute ham raise": "3193",
"goblet squat": "1760",
"good morning (barbell)": "0044",
- "hack squat": "0046",
"hack squat (machine)": "0743",
+ "hack squat": "0046",
"hammer curl (band)": "0313",
"hammer curl (cable)": "0165",
"hammer curl (dumbbell)": "0312",
@@ -451,9 +452,9 @@ export const HEVY_TITLE_MAP = {
"kneeling push up": "3211",
"landmine 180": "0562",
"lat pulldown (band)": "2330",
- "lat pulldown (cable)": "2330",
+ "lat pulldown (cable)": "0150",
"lat pulldown (machine)": "0579",
- "lat pulldown - close grip (cable)": "2616",
+ "lat pulldown - close grip (cable)": "6392",
"lateral lunge": "1410",
"lateral raise (band)": "0977",
"lateral raise (cable)": "0178",
@@ -464,9 +465,9 @@ export const HEVY_TITLE_MAP = {
"leg press horizontal (machine)": "2611",
"leg raise parallel bars": "0826",
"low row (suspension)": "0180",
- "lunge": "0054",
"lunge (barbell)": "0054",
"lunge (dumbbell)": "0336",
+ "lunge": "0054",
"lying leg curl (machine)": "0586",
"lying leg raise": "0865",
"lying neck curls": "10780",
@@ -486,20 +487,20 @@ export const HEVY_TITLE_MAP = {
"plate front raise": "0310",
"power clean": "0648",
"preacher curl (barbell)": "0070",
- "preacher curl (dumbbell)": "0372",
+ "preacher curl (dumbbell)": "0402",
"preacher curl (machine)": "0592",
- "pull up": "0652",
"pull up (assisted)": "0017",
"pull up (band)": "0970",
"pull up (weighted)": "0652",
+ "pull up": "0652",
"pullover (dumbbell)": "0375",
"pullover (machine)": "2285",
"push press": "1700",
- "push up": "0662",
"push up (weighted)": "0662",
"push up - close grip": "0259",
+ "push up": "0662",
"rack pull": "0074",
- "rear delt reverse fly (dumbbell)": "0383",
+ "rear delt reverse fly (dumbbell)": "0380",
"rear delt reverse fly (machine)": "0602",
"renegade row (dumbbell)": "0521",
"reverse crunch": "0872",
@@ -543,12 +544,13 @@ export const HEVY_TITLE_MAP = {
"shrug (smith machine)": "0767",
"side bend (dumbbell)": "0407",
"single arm cable row": "7564",
+ "single arm curl (cable)": "0190",
"single arm lateral raise (cable)": "0192",
"single arm tricep extension (dumbbell)": "0362",
"single leg extensions": "7108",
- "single leg standing calf raise": "5052",
"single leg standing calf raise (machine)": "0605",
- "sissy squat (weighted)": "1489",
+ "single leg standing calf raise": "5052",
+ "sissy squat (weighted)": "0851",
"skullcrusher (barbell)": "0060",
"skullcrusher (dumbbell)": "0351",
"snatch": "0067",
@@ -564,44 +566,44 @@ export const HEVY_TITLE_MAP = {
"squat row": "1003",
"stair machine (floors)": "2311",
"stair machine (steps)": "2311",
- "standing calf raise": "1372",
"standing calf raise (barbell)": "1372",
"standing calf raise (dumbbell)": "0417",
"standing calf raise (machine)": "0605",
- "standing calf raise (smith)": "0773",
+ "standing calf raise (smith)": "1164",
+ "standing calf raise": "1372",
"standing leg curls": "4347",
"standing military press (barbell)": "1457",
"straight arm lat pulldown (cable)": "0238",
"straight leg deadlift": "0116",
"sumo deadlift": "0117",
- "sumo squat": "3142",
"sumo squat (barbell)": "3142",
"sumo squat (dumbbell)": "3142",
"sumo squat (kettlebell)": "3142",
+ "sumo squat": "3142",
"superman": "0803",
"t bar row": "0606",
"thruster (barbell)": "3305",
"thruster (kettlebell)": "0550",
"treadmill": "3666",
- "triceps dip": "0814",
"triceps dip (assisted)": "0019",
"triceps dip (weighted)": "1755",
+ "triceps dip": "0814",
"triceps extension (barbell)": "0607",
"triceps extension (cable)": "0149",
"triceps extension (dumbbell)": "0430",
"triceps extension (machine)": "0607",
"triceps extension (suspension)": "0607",
"triceps pressdown": "1605",
- "triceps pushdown": "0241",
+ "triceps pushdown": "0201",
"triceps rope pushdown": "0200",
- "upright row (barbell)": "0120",
+ "upright row (barbell)": "0121",
"upright row (cable)": "0246",
"upright row (dumbbell)": "0437",
"waiter curl (dumbbell)": "5201",
- "walking": "2258",
- "walking lunge": "1460",
"walking lunge (dumbbell)": "1460",
"walking lunge (sandbag)": "1460",
+ "walking lunge": "1460",
+ "walking": "2258",
"wall sit": "0624",
"wide pull up": "1429",
"yoga": "1494",
diff --git a/frontend/src/lib/import-hevy.test.js b/frontend/src/lib/import-hevy.test.js
index 6d51d91f8..d671441ca 100644
--- a/frontend/src/lib/import-hevy.test.js
+++ b/frontend/src/lib/import-hevy.test.js
@@ -74,7 +74,7 @@ describe('HEVY_ID_MAP', () => {
B5D3A742: '0410', // Bulgarian Split Squat (Dumbbell)
'914F3A96': '0327', // Chest Supported Incline Row (Dumbbell)
'98237BA2': '0826', // Knee Raise Parallel Bars
- '4E5257DE': '2616', // Lat Pulldown - Close Grip (Cable)
+ '4E5257DE': '6392', // Lat Pulldown - Close Grip (Cable)
C315DC2A: '0602', // Rear Delt Reverse Fly (Cable)
FFDA283B: '0381', // Reverse Lunge (Dumbbell)
'8BAB2735': '0318', // Seated Incline Curl (Dumbbell)
@@ -117,7 +117,7 @@ describe('parseHevyWorkouts', () => {
expect(elliptical).toBeTruthy()
expect(elliptical.sets[0]).toMatchObject({ min: 3, done: true })
- const pulldown = entries.find(e => e.id === '2616')
+ const pulldown = entries.find(e => e.id === '6392')
expect(pulldown).toBeTruthy()
expect(pulldown.sets[0]).toMatchObject({ w: 25, r: 15, phase: 'warmup' })
expect(pulldown.sets[1]).toMatchObject({ w: 52, r: 15, rpe: 8 })
@@ -137,7 +137,7 @@ describe('parseHevyWorkouts', () => {
it('converts kg weights into a lb profile', () => {
const parsed = parseHevyWorkouts([WORKOUT], TEMPLATES, { unit: 'lb' })
- const pulldown = parsed.workouts[0].entries.find(e => e.id === '2616')
+ const pulldown = parsed.workouts[0].entries.find(e => e.id === '6392')
expect(pulldown.sets.find(s => s.r === 15 && !s.phase).w).toBeCloseTo(114.6, 0)
expect(parsed.converted).toBe(true)
})
@@ -272,7 +272,7 @@ describe('parseHevyRoutines', () => {
const [cardio, pull, row] = parsed.routines[0].ex
expect(cardio.id).toBe('2141')
expect(cardio).toMatchObject({ sets: 1, min: 3 })
- expect(pull.id).toBe('2616')
+ expect(pull.id).toBe('6392')
expect(pull).toMatchObject({ sets: 3, reps: 15, weight: 52, warmupSets: 1 })
expect(row.id).toBe('0327')
expect(pull.sg).toBeTruthy()
@@ -305,7 +305,7 @@ describe('buildHevyExerciseMap', () => {
it('indexes every template id from the static map', () => {
const map = buildHevyExerciseMap(TEMPLATES)
expect(map.get('3303376C')).toBe('2141')
- expect(map.get('4E5257DE')).toBe('2616')
+ expect(map.get('4E5257DE')).toBe('6392')
expect(map.get('DEADBEEF')).toBeNull()
expect(map.size).toBe(TEMPLATES.length)
})
diff --git a/frontend/src/lib/import-match.test.js b/frontend/src/lib/import-match.test.js
index 67b22e576..3e01961fc 100644
--- a/frontend/src/lib/import-match.test.js
+++ b/frontend/src/lib/import-match.test.js
@@ -125,7 +125,7 @@ describe('Hevy CSV uses the generated title map', () => {
it('resolves English Hevy titles through HEVY_TITLE_MAP before the word-bag', () => {
expect(matchHevyTitle('Bulgarian Split Squat (Dumbbell)')).toBe('0410')
- expect(matchHevyTitle('Lat Pulldown - Close Grip (Cable)')).toBe('2616')
+ expect(matchHevyTitle('Lat Pulldown - Close Grip (Cable)')).toBe('6392')
expect(matchHevyTitle('Reverse Lunge (Dumbbell)')).toBe('0381')
// Since v1.4 the word-bag finds the new "dumbbell bulgarian split squat" on its own; the
// map still wins, so a Hevy history keeps landing on the id earlier imports used.
@@ -137,8 +137,8 @@ describe('Hevy CSV uses the generated title map', () => {
expect(parsed.source).toBe('Hevy')
expect(parsed.created).toBe(0)
const ids = parsed.workouts[0].entries.map(e => e.id).sort()
- expect(ids).toEqual(['0410', '0381', '2616'].sort())
- const pull = parsed.workouts[0].entries.find(e => e.id === '2616')
+ expect(ids).toEqual(['0410', '0381', '6392'].sort())
+ const pull = parsed.workouts[0].entries.find(e => e.id === '6392')
expect(pull.sets[0]).toMatchObject({ w: 25, r: 15, phase: 'warmup' })
expect(pull.sets[1]).toMatchObject({ w: 52, r: 12, rpe: 8 })
})
@@ -164,6 +164,15 @@ describe('Hevy titles land on the exercise Hevy shows', () => {
expect(matchHevyTitle('Seated Cable Row - Bar Wide Grip')).toBe('0218')
})
+ it('follows Hevy\'s artwork for common lifts too', () => {
+ expect(matchHevyTitle('Lat Pulldown (Cable)')).toBe('0150')
+ expect(matchHevyTitle('Face Pull')).toBe('7744')
+ expect(matchHevyTitle('Butterfly (Pec Deck)')).toBe('1030')
+ expect(matchHevyTitle('Triceps Pushdown')).toBe('0201')
+ expect(matchHevyTitle('Chest Dip (Weighted)')).toBe('1755')
+ expect(matchHevyTitle('Single Arm Curl (Cable)')).toBe('0190') // was left unmatched
+ })
+
it('gives a title and its weighted twin their own match in one file', () => {
const head = 'title,start_time,end_time,description,exercise_title,superset_id,exercise_notes,set_index,set_type,weight_kg,reps,distance_km,duration_seconds,rpe'
const row = title => `Push,2026-08-01 10:00:00,2026-08-01 11:00:00,,${title},,,0,normal,10,8,0,,`
diff --git a/scripts/build-hevy-id-map.mjs b/scripts/build-hevy-id-map.mjs
index eee3df239..466e834e2 100644
--- a/scripts/build-hevy-id-map.mjs
+++ b/scripts/build-hevy-id-map.mjs
@@ -49,8 +49,8 @@ const BY_TITLE = {
'bulgarian split squat (barbell)': '0099',
'chest supported incline row (dumbbell)': '0327',
'knee raise parallel bars': '0826',
- 'lat pulldown - close grip (cable)': '2616',
- 'rear delt reverse fly (dumbbell)': '0383',
+ 'lat pulldown - close grip (cable)': '6392',
+ 'rear delt reverse fly (dumbbell)': '0380',
'rear delt reverse fly (machine)': '0602',
'reverse lunge (dumbbell)': '0381',
'reverse lunge (barbell)': '0078',
@@ -72,7 +72,7 @@ const BY_TITLE = {
'battle ropes': '0128',
'pallof press': '0979',
'cable pallof press': '0979',
- 'face pull': '0203',
+ 'face pull': '7744',
'hack squat (machine)': '0743',
'iso-lateral row (machine)': '0571',
'seated cable row - bar grip': '0180',
@@ -81,7 +81,7 @@ const BY_TITLE = {
'plate front raise': '0310',
'back extension (weighted hyperextension)': '5035',
'behind the back bicep wrist curl (barbell)': '0104',
- 'butterfly (pec deck)': '0596',
+ 'butterfly (pec deck)': '1030',
'chest fly (machine)': '0596',
'chest fly (dumbbell)': '0308',
'incline chest fly (dumbbell)': '0319',
@@ -110,8 +110,8 @@ const BY_TITLE = {
'romanian deadlift (dumbbell)': '1459',
'sumo deadlift (barbell)': '0117',
'bent over row (barbell)': '0027',
- 'bent over row (dumbbell)': '0292',
- 'lat pulldown (cable)': '2330',
+ 'bent over row (dumbbell)': '0293',
+ 'lat pulldown (cable)': '0150',
'lat pulldown - wide grip (cable)': '2330',
'leg press (machine)': '0739',
'leg extension (machine)': '0585',
@@ -183,6 +183,15 @@ const BY_TITLE = {
'triceps pressdown': '1605',
'triceps rope pushdown': '0200',
'walking': '2258',
+ 'calf press (machine)': '0738',
+ 'chest dip (weighted)': '1755',
+ 'chest press (band)': '3780',
+ 'preacher curl (dumbbell)': '0402',
+ 'single arm curl (cable)': '0190',
+ 'sissy squat (weighted)': '0851',
+ 'standing calf raise (smith)': '1164',
+ 'triceps pushdown': '0201',
+ 'upright row (barbell)': '0121',
}
const EQ_PAREN = {