Docs: Update benchmark for anthropic/claude-opus-4.8 EFF:medium

This commit is contained in:
github-actions[bot]
2026-05-31 18:07:47 +00:00
parent 39d0a9f316
commit e5f1b816d1
12 changed files with 413 additions and 0 deletions

View File

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