Docs: Update benchmark for minimax/minimax-m2

This commit is contained in:
github-actions[bot]
2025-12-02 15:05:25 +00:00
parent 2f24697c10
commit 8ab1e91949
11 changed files with 387 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
export async function analyzeGPS(readings, boundary) {
const t = await import('https://cdn.skypack.dev/@turf/turf')
const v = readings.filter(r => t.booleanPointInPolygon(r.loc, boundary)).sort((a,b) => a.ts-b.ts)
if(v.length < 2) return 0
const coords = v.map(r => r.loc)
const line = t.lineString(coords)
return Math.round(t.length(line, {units:'kilometers'})*100)/100
}
export default analyzeGPS;
// Generation time: 11.219s
// Result: PASS