There needs to be a goal type which is height gain based.
For cyclists preparing for climbs training goals are volume of feet or meters climbed.
This is typically based on % of event height in session and weekly format.
ie so many meters climbed per session and so many meters climbed per week
One formula is
Individual training session ~60% of event total climb and weekly load of ~125% of event total climb