Skip to content

fix(fullstack): release v2.1.1 demo calibration and repo version bump - #413

Open
GiZano wants to merge 7 commits into
mainfrom
fix/v2.1.1-demo-endpoint
Open

GiZano wants to merge 7 commits into
mainfrom
fix/v2.1.1-demo-endpoint

Conversation

@GiZano

@GiZano GiZano commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Overview

This PR finalizes the v2.1.1 release for QuakeGuard. It corrects critical bugs in the mock simulation endpoint (/demo/trigger-earthquake), synchronizes the documentation and whitepaper with these changes, adds Pisa to the Hollywood Simulator, and performs a complete repository-wide version bump to 2.1.1 in preparation for the final release tag.

Changes Made

  • backend/src/main.py & backend/src/schemas.py: Fixed the /demo/trigger-earthquake endpoint. Epicenter coordinates are now dynamically fetched from the zone's PostGIS centroid. The mock calibration coefficient was corrected from 160 to 1.6 to align with the actual worker logic. Default magnitude was lowered to 5.0 for realistic demonstrations.
  • scripts/seed_world_zones.py & scripts/hollywood.py: Added Pisa to the Hollywood Demo orchestration environment.
  • firmware/esp32_config.env: Set static GNSS fallback coordinates to Pisa for local video recordings.
  • docs/whitepaper/16-appendix.typ & QuakeGuard_Technical_Report_v2.1.1.pdf: Rewrote Appendix A to fully document the cascade effect of the demo endpoint (DB inserts, AI Worker trigger, fake telemetry generation). Re-compiled the Typst whitepaper.
  • Repository-wide Version Bump: Systematically updated all versions from 2.1.0 to 2.1.1 across package.json, .cff, .js, settings.tsx, OpenAPI docs, SVGs, and CHANGELOG.md. Also removed a ghost "Timeseries" roadmap item that was already completed in v1.2.1.
  • backend/tests/unit/test_schemas.py: Fixed a failing unit test asserting the old 7.5 magnitude default. All 157 tests now pass.

Impact & Next Steps

This ensures the QuakeGuard demo functionality is statistically robust, spatially accurate, and safely bounded for public exhibitions. It also guarantees a completely clean v2.1.1 release with no mismatched tags or documentation ghosts.

Testing Performed

  • Ran full pytest suite locally on backend (157 passed).
  • Executed full version search sweep, avoiding node_modules and dependency lists (cffi, paho-mqtt undisturbed).
  • Recompiled main.typ manually to ensure PDF generation works with the new roadmap and versions.

Related Issues

Closes QuakeGuard v2.1.1 hotfix sprint.

@GiZano GiZano changed the title [hotfix] Release v2.1.1 - Demo Calibration & Repo Version Bump fix(fullstack): release v2.1.1 demo calibration and repo version bump Sep 12, 2026
@GiZano
GiZano force-pushed the fix/v2.1.1-demo-endpoint branch from 1ee8f7f to 6a684c4 Compare September 12, 2026 14:46
…tude

This commit corrects the hardcoded Milan epicenter in the demo endpoint by fetching the zone's polygon centroid. It also fixes the calibration constant in the reverse-engineering mock from 160 to 1.6 to match the actual worker, changes default magnitude to 5.0 for plausibility, and rewrites Appendix A to document the full behavior.
@GiZano
GiZano force-pushed the fix/v2.1.1-demo-endpoint branch 3 times, most recently from bd6c7a2 to 51940b4 Compare September 12, 2026 16:26
This commit bumps all reference to version v2.1.0 to v2.1.1 in documentation, code artifacts, and metadata. Also re-generated the whitepaper PDF.
@GiZano
GiZano force-pushed the fix/v2.1.1-demo-endpoint branch from 51940b4 to c6b989e Compare September 12, 2026 16:32
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant