mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Add the sequential W2/completion plan and deterministic earthquake ground-raster, geometry, lifecycle and strict runtime QA. Prove the comparator rejects incomplete evidence and release deleted overlay entries from the collision arbiter. Record native dev/preview acceptance and full checkpoint gates.
48 lines
1.2 KiB
JavaScript
48 lines
1.2 KiB
JavaScript
// USGS-shaped fixed observations; source parsers remain the production ones.
|
|
export const W2_EPOCH_MS = 1792152000000;
|
|
export function earthquakeFixture() {
|
|
const features = [];
|
|
for (const [region, lon, lat] of [
|
|
['sf', -122.42, 37.77],
|
|
['austin', -97.74, 30.27],
|
|
['alaska', -150.4, 61.0],
|
|
]) {
|
|
for (let i = 0; i < 5; i++) {
|
|
features.push({
|
|
type: 'Feature',
|
|
id: `qa-${region}-${i}`,
|
|
geometry: {
|
|
type: 'Point',
|
|
coordinates: [
|
|
lon + (i - 2) * 0.24,
|
|
lat + (i % 2) * 0.3,
|
|
[8, 70, 300, 301, 45][i],
|
|
],
|
|
},
|
|
properties: {
|
|
mag: [2.5, 3, 4, 5, 5.5][i],
|
|
place: `W2 ${region} event ${i}`,
|
|
time: W2_EPOCH_MS - i * 60000,
|
|
},
|
|
});
|
|
}
|
|
}
|
|
features.push({
|
|
type: 'Feature',
|
|
id: 'qa-below',
|
|
geometry: { type: 'Point', coordinates: [-122.42, 37.77, 5] },
|
|
properties: { mag: 2.4 },
|
|
});
|
|
features.push({
|
|
type: 'Feature',
|
|
id: 'qa-missing-mag',
|
|
geometry: { type: 'Point', coordinates: [-122.4, 37.7, 5] },
|
|
properties: { mag: null },
|
|
});
|
|
return {
|
|
type: 'FeatureCollection',
|
|
metadata: { generated: W2_EPOCH_MS },
|
|
features,
|
|
};
|
|
}
|