in app/classes/ReleaseInsights/Beta.php [186:204]
public function uplifts(): array
{
$uplifts_per_beta = $this->getBugsFromLogs();
$log_links = array_map(fn($query) => URL::Mercurial->value . $query, $this->getLogEndpoints());
$log_links = array_map(fn($query) => str_replace('json-pushes', 'pushloghtml', $query), $log_links);
foreach ($log_links as $beta => $url) {
$uplifts_per_beta[$beta]['hg_link'] = $url;
}
foreach ($log_links as $beta => $url) {
$uplifts_per_beta[$beta]['bugzilla'] = Bugzilla::getBugListLink($uplifts_per_beta[$beta]['total']);
}
// We use a natural sort to avoid having a beta 10 listed after beta 1
ksort($uplifts_per_beta, SORT_NATURAL);
return $uplifts_per_beta;
}