@@ -633,7 +633,7 @@ export function parseFormatted(format: string): parsedRow[] {
633633 alliance : columns [ 3 ] ,
634634 leave : columns [ 4 ] === "true" ,
635635 "fuel ground intake" : columns [ 5 ] === "true" ,
636- "outpost intake" : columns [ 6 ] === "true" ,
636+ "outpost intake" : columns [ 6 ] === "true" ,
637637 "passing from neutral zone" : columns [ 7 ] === "true" ,
638638 "traverse under trench" : columns [ 8 ] === "true" ,
639639 "traverse over bump" : columns [ 9 ] === "true" ,
@@ -1176,7 +1176,7 @@ export async function accuracy(event, matches, data, categories, teams) {
11761176
11771177export async function tps ( data , categories , teams ) {
11781178 return data . map ( ( entry ) => {
1179- if ( ! entry . event . startsWith ( "2026" ) ) {
1179+ if ( ! entry . event . startsWith ( "2026" ) ) {
11801180 return {
11811181 silentlyFail : true ,
11821182 hash : entry . hash
@@ -1202,38 +1202,128 @@ export async function tps(data, categories, teams) {
12021202 }
12031203 } ,
12041204 abilities : {
1205- "auto-leave-starting-zone" : find ( entry , "abilities" , categories , "26-0" , false ) ,
1206- "fuel-ground-intake" : find ( entry , "abilities" , categories , "26-1" , false ) ,
1207- "outpost-intake" : find ( entry , "abilities" , categories , "26-2" , false ) ,
1208- "passing-from-neutral-zone" : find ( entry , "abilities" , categories , "26-3" , false ) ,
1209- "traverse-under-trench" : find ( entry , "abilities" , categories , "26-4" , false ) ,
1210- "traverse-over-bump" : find ( entry , "abilities" , categories , "26-5" , false ) ,
1211- "l1-climb" : find ( entry , "abilities" , categories , "26-6" , false ) ,
1212- "climb-level-2026" : parseInt ( find ( entry , "abilities" , categories , "26-9" , 0 ) )
1205+ "auto-leave-starting-zone" : find (
1206+ entry ,
1207+ "abilities" ,
1208+ categories ,
1209+ "26-0" ,
1210+ false
1211+ ) ,
1212+ "fuel-ground-intake" : find (
1213+ entry ,
1214+ "abilities" ,
1215+ categories ,
1216+ "26-1" ,
1217+ false
1218+ ) ,
1219+ "outpost-intake" : find (
1220+ entry ,
1221+ "abilities" ,
1222+ categories ,
1223+ "26-2" ,
1224+ false
1225+ ) ,
1226+ "passing-from-neutral-zone" : find (
1227+ entry ,
1228+ "abilities" ,
1229+ categories ,
1230+ "26-3" ,
1231+ false
1232+ ) ,
1233+ "traverse-under-trench" : find (
1234+ entry ,
1235+ "abilities" ,
1236+ categories ,
1237+ "26-4" ,
1238+ false
1239+ ) ,
1240+ "traverse-over-bump" : find (
1241+ entry ,
1242+ "abilities" ,
1243+ categories ,
1244+ "26-5" ,
1245+ false
1246+ ) ,
1247+ "l1-climb" : find (
1248+ entry ,
1249+ "abilities" ,
1250+ categories ,
1251+ "26-6" ,
1252+ false
1253+ ) ,
1254+ "climb-level-2026" : parseInt (
1255+ find ( entry , "abilities" , categories , "26-9" , 0 )
1256+ )
12131257 } ,
12141258 counters : {
1215- "auto-fuel-count" : parseInt ( find ( entry , "counters" , categories , "26-19" , 0 ) ) ,
1216- "teleop-fuel-count" : parseInt ( find ( entry , "counters" , categories , "26-21" , 0 ) )
1259+ "auto-fuel-count" : parseInt (
1260+ find ( entry , "counters" , categories , "26-19" , 0 )
1261+ ) ,
1262+ "teleop-fuel-count" : parseInt (
1263+ find ( entry , "counters" , categories , "26-21" , 0 )
1264+ )
12171265 } ,
12181266 data : {
1219- "auto-fuel-scoring-2026" : find ( entry , "data" , categories , "26-7" , [ ] ) ,
1220- "teleop-fuel-scoring-2026" : find ( entry , "data" , categories , "26-8" , [ ] ) ,
1221- "auto-fuel-locations" : find ( entry , "data" , categories , "26-18" , [ ] ) ,
1222- "teleop-fuel-locations" : find ( entry , "data" , categories , "26-20" , [ ] ) ,
1267+ "auto-fuel-scoring-2026" : find (
1268+ entry ,
1269+ "data" ,
1270+ categories ,
1271+ "26-7" ,
1272+ [ ]
1273+ ) ,
1274+ "teleop-fuel-scoring-2026" : find (
1275+ entry ,
1276+ "data" ,
1277+ categories ,
1278+ "26-8" ,
1279+ [ ]
1280+ ) ,
1281+ "auto-fuel-locations" : find (
1282+ entry ,
1283+ "data" ,
1284+ categories ,
1285+ "26-18" ,
1286+ [ ]
1287+ ) ,
1288+ "teleop-fuel-locations" : find (
1289+ entry ,
1290+ "data" ,
1291+ categories ,
1292+ "26-20" ,
1293+ [ ]
1294+ ) ,
12231295 notes : entry . comments || ""
12241296 } ,
12251297 ratings : {
1226- "driver-skill" : parseInt ( find ( entry , "ratings" , categories , "26-13" , 0 ) ) ,
1227- "defense-skill" : parseInt ( find ( entry , "ratings" , categories , "26-14" , 0 ) ) ,
1228- speed : parseInt ( find ( entry , "ratings" , categories , "26-15" , 0 ) ) ,
1229- stability : parseInt ( find ( entry , "ratings" , categories , "26-16" , 0 ) ) ,
1230- "intake-consistency" : parseInt ( find ( entry , "ratings" , categories , "26-17" , 0 ) ) ,
1231- "balls-per-second" : parseInt ( find ( entry , "ratings" , categories , "26-22" , 0 ) )
1298+ "driver-skill" : parseInt (
1299+ find ( entry , "ratings" , categories , "26-13" , 0 )
1300+ ) ,
1301+ "defense-skill" : parseInt (
1302+ find ( entry , "ratings" , categories , "26-14" , 0 )
1303+ ) ,
1304+ speed : parseInt (
1305+ find ( entry , "ratings" , categories , "26-15" , 0 )
1306+ ) ,
1307+ stability : parseInt (
1308+ find ( entry , "ratings" , categories , "26-16" , 0 )
1309+ ) ,
1310+ "intake-consistency" : parseInt (
1311+ find ( entry , "ratings" , categories , "26-17" , 0 )
1312+ ) ,
1313+ "balls-per-second" : parseInt (
1314+ find ( entry , "ratings" , categories , "26-22" , 0 )
1315+ )
12321316 } ,
12331317 timers : {
1234- "climb-time" : parseInt ( find ( entry , "timers" , categories , "26-10" , 0 ) ) ,
1235- "brick-time" : parseInt ( find ( entry , "timers" , categories , "26-11" , 0 ) ) ,
1236- "defense-time" : parseInt ( find ( entry , "timers" , categories , "26-12" , 0 ) )
1318+ "climb-time" : parseInt (
1319+ find ( entry , "timers" , categories , "26-10" , 0 )
1320+ ) ,
1321+ "brick-time" : parseInt (
1322+ find ( entry , "timers" , categories , "26-11" , 0 )
1323+ ) ,
1324+ "defense-time" : parseInt (
1325+ find ( entry , "timers" , categories , "26-12" , 0 )
1326+ )
12371327 }
12381328 } ,
12391329 privacy : [
@@ -1258,7 +1348,6 @@ export async function tps(data, categories, teams) {
12581348 } ) ;
12591349}
12601350
1261-
12621351const scouting2026 = {
12631352 categories,
12641353 layout,
0 commit comments