Docs: Update benchmark for anthropic/claude-opus-4.5 TEMP:0.7

This commit is contained in:
github-actions[bot]
2025-11-24 21:54:56 +00:00
parent 1bf768ad10
commit aea139fe4a
12 changed files with 270 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
async function analyzeGPS(readings, boundary) {
const turf = await import('https://cdn.jsdelivr.net/npm/@turf/turf@7/+esm');
const valid = readings
.filter(r => turf.booleanPointInPolygon(turf.point(r.loc), boundary, { ignoreBoundary: true }))
.sort((a, b) => a.ts - b.ts);
if (valid.length < 2) return 0;
const line = turf.lineString(valid.map(r => r.loc));
const len = turf.length(line, { units: 'kilometers' });
return Math.round(len * 100) / 100;
}
export default analyzeGPS;