@@ -17,10 +17,10 @@ import CommitsOnRedTrendPanel from "components/metrics/vllm/CommitsOnRedTrendPan
1717import ContinuousBuildTracker from "components/metrics/vllm/ContinuousBuildTracker" ;
1818import DockerBuildRuntimePanel from "components/metrics/vllm/DockerBuildRuntimePanel" ;
1919import DurationDistributionPanel from "components/metrics/vllm/DurationDistributionPanel" ;
20+ import JobBuildsPanel from "components/metrics/vllm/JobBuildsPanel" ;
2021import JobGroupFilter , {
2122 JobGroup ,
2223} from "components/metrics/vllm/JobGroupFilter" ;
23- import JobBuildsPanel from "components/metrics/vllm/JobBuildsPanel" ;
2424import JobReliabilityPanel from "components/metrics/vllm/JobReliabilityPanel" ;
2525import JobRuntimePanel from "components/metrics/vllm/JobRuntimePanel" ;
2626import MergesPanel from "components/metrics/vllm/MergesPanel" ;
@@ -604,7 +604,7 @@ export default function Page() {
604604 ? undefined
605605 : dailyHealthPercentages . length <= 1
606606 ? 0
607- : dailyHealthPercentages . reduce ( ( count , current , index ) => {
607+ : dailyHealthPercentages . reduce ( ( count : number , current , index ) => {
608608 if ( index === 0 ) return 0 ;
609609 const previous = dailyHealthPercentages [ index - 1 ] ;
610610 return current !== previous ? count + 1 : count ;
@@ -620,8 +620,10 @@ export default function Page() {
620620 : ( ( ) => {
621621 const volatilityPenalty = ciHealthVolatility * 50 ; // 0-50 penalty
622622 const transitionPenalty =
623- Math . min ( stateTransitions / ( dailyHealthPercentages ?. length || 1 ) , 1 ) *
624- 50 ; // 0-50 penalty
623+ Math . min (
624+ stateTransitions / ( dailyHealthPercentages ?. length || 1 ) ,
625+ 1
626+ ) * 50 ; // 0-50 penalty
625627 return Math . max ( 0 , 100 - volatilityPenalty - transitionPenalty ) / 100 ;
626628 } ) ( ) ;
627629
@@ -693,7 +695,7 @@ export default function Page() {
693695 ? undefined
694696 : prevDailyHealthPercentages . length <= 1
695697 ? 0
696- : prevDailyHealthPercentages . reduce ( ( count , current , index ) => {
698+ : prevDailyHealthPercentages . reduce ( ( count : number , current , index ) => {
697699 if ( index === 0 ) return 0 ;
698700 const previous = prevDailyHealthPercentages [ index - 1 ] ;
699701 return current !== previous ? count + 1 : count ;
@@ -1067,7 +1069,9 @@ export default function Page() {
10671069 {
10681070 title : "State Transitions" ,
10691071 value :
1070- stateTransitions === undefined ? undefined : stateTransitions ,
1072+ stateTransitions === undefined
1073+ ? undefined
1074+ : stateTransitions ,
10711075 valueRenderer : formatCount ,
10721076 badThreshold : ( v ) =>
10731077 ( v ?? 0 ) > ( dailyHealthPercentages ?. length || 1 ) * 0.3 ,
0 commit comments