Docs: Update benchmark for x-ai/grok-4.1-fast

This commit is contained in:
github-actions[bot]
2025-11-20 01:45:32 +00:00
parent ba05809576
commit 932fcdce31
12 changed files with 199 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
async function analyzeGPS(readings, boundary) {
const { point: p, booleanPointInPolygon: i, lineString: s, length: l } = await import('https://esm.sh/@turf/turf@6');
const v = readings.filter(r => i(p(r.loc), boundary)).sort((a, b) => a.ts - b.ts);
return v.length < 2 ? 0 : +l(s(v.map(r => r.loc))).toFixed(2);
}
export default analyzeGPS;