Docs: Update benchmark for google/gemini-3.5-flash

This commit is contained in:
github-actions[bot]
2026-05-19 23:06:38 +00:00
parent a037a78102
commit 1dfaf490cd
12 changed files with 389 additions and 0 deletions

View File

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