Docs: Update benchmark for x-ai/grok-4.5

This commit is contained in:
github-actions[bot]
2026-07-10 03:55:03 +00:00
parent 866e5c2bbb
commit 0d119317eb
12 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
async function analyzeGPS(readings,boundary){
const{booleanPointInPolygon:i,lineString:l,length:e}=await import('https://esm.sh/@turf/turf@7.1.0');
const v=readings.filter(r=>i(r.loc,boundary,{ignoreBoundary:true})).sort((a,b)=>a.ts-b.ts);
if(v.length<2)return 0;
return+e(l(v.map(r=>r.loc)),{units:'kilometers'}).toFixed(2)
}
export default analyzeGPS;
// Generation time: 14.349s
// Result: PASS