[deprecated] Used std::set for active/inactive in cost sum

6 jobs for pr/1080 in 68 minutes and 33 seconds (queued for 1 second)