mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-04-27 19:52:14 +00:00
Docs: Update benchmark for moonshotai/kimi-k2.6
This commit is contained in:
8
tests/11_geospatial/outputs/moonshotai_kimi-k2.6.js
Normal file
8
tests/11_geospatial/outputs/moonshotai_kimi-k2.6.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const analyzeGPS = async (readings, boundary) => {
|
||||
const { booleanPointInPolygon, lineString, length } = await import('https://esm.sh/@turf/turf');
|
||||
const v = readings.filter(r => booleanPointInPolygon(r.loc, boundary, { ignoreBoundary: true })).sort((a, b) => a.ts - b.ts);
|
||||
return v.length < 2 ? 0 : +length(lineString(v.map(r => r.loc)), { units: 'kilometers' }).toFixed(2);
|
||||
};
|
||||
export default analyzeGPS;
|
||||
// Generation time: 74.841s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user