Docs: Update benchmark for z-ai/glm-4.7

This commit is contained in:
github-actions[bot]
2025-12-23 02:30:02 +00:00
parent 4d6e0294fc
commit 401af17eb6
11 changed files with 217 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
async function analyzeGPS(readings, boundary) {
const t = await import('https://cdn.jsdelivr.net/npm/@turf/turf/+esm');
const valid = readings
.filter(r => t.booleanPointInPolygon(t.point(r.loc), boundary))
.sort((a, b) => a.ts - b.ts);
if (valid.length < 2) return 0;
return +(t.length(t.lineString(valid.map(v => v.loc)), { units: 'kilometers' })).toFixed(2);
}
export default analyzeGPS;
// Generation time: 60.849s
// Result: PASS