mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-03-17 03:11:01 +00:00
Docs: Update benchmark for google/gemini-3.1-pro-preview
This commit is contained in:
12
tests/11_geospatial/outputs/google_gemini-3.1-pro-preview.js
Normal file
12
tests/11_geospatial/outputs/google_gemini-3.1-pro-preview.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const analyzeGPS = async (r, b) => {
|
||||
const t = await import('https://cdn.jsdelivr.net/npm/@turf/turf/+esm');
|
||||
|
||||
const v = r
|
||||
.filter(p => t.booleanPointInPolygon(t.point(p.loc), b, { ignoreBoundary: true }))
|
||||
.sort((x, y) => x.ts - y.ts);
|
||||
|
||||
return v.length < 2 ? 0 : +t.length(t.lineString(v.map(p => p.loc))).toFixed(2);
|
||||
};
|
||||
export default analyzeGPS;
|
||||
// Generation time: 23.653s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user