mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-02-04 09:57:54 +00:00
Docs: Update benchmark for moonshotai/kimi-k2.5
This commit is contained in:
8
tests/11_geospatial/outputs/moonshotai_kimi-k2.5.js
Normal file
8
tests/11_geospatial/outputs/moonshotai_kimi-k2.5.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const analyzeGPS = async (r, b) => {
|
||||
const {booleanPointInPolygon, lineString, length} = await import('https://cdn.jsdelivr.net/npm/@turf/turf@6/turf.min.js');
|
||||
const v = r.filter(x => booleanPointInPolygon({type: 'Point', coordinates: x.loc}, b, {ignoreBoundary: true})).sort((a, b) => a.ts - b.ts);
|
||||
return v.length < 2 ? 0 : Math.round(length(lineString(v.map(x => x.loc))) * 100) / 100;
|
||||
};
|
||||
export default analyzeGPS;
|
||||
// Generation time: 30.668s
|
||||
// Result: FAIL
|
||||
Reference in New Issue
Block a user