How geopredia/georisk-app works
GeoPredIA is a Flutter prototype for assessing geological, environmental, and social risks across mining zones. Users explore portfolio KPIs and zones, consult an assistant, inspect IoT signals and dataset sources, review proposed decisions, and compare multi-perspective analyses. The dashboard has a distinct data-access layer; the README also documents a BTP API with a packaged-data fallback. The sampled source is platform-hosting code rather than feature implementation, so feature relationships rely on README statements; internal calls among feature modules are not inferred.
Main entry points: main.dart GeoPredIA app · flutter_window.cpp Windows Flutter host · assistant_screen.dart Conversational assistant · dashboard_screen.dart Risk dashboard
Components 18
App experience
- GeoPredIA app
lib/main.dart - Conversational assistant
lib/features/assistant/presentation/screens/assistant_screen.dart - Joule assistant service
lib/features/assistant/data/services/joule_data_assistant.dart - Profile
lib/features/profile/presentation/screens/profile_screen.dart - Windows Flutter host
windows/runner/flutter_window.cpp - Native window
windows/runner/win32_window.cpp
Risk analysis
- Risk dashboard
lib/features/dashboard/presentation/screens/dashboard_screen.dart - Dashboard data access
lib/features/dashboard/data/repositories/dashboard_repository_impl.dart - Mining dataset
lib/features/dashboard/data/services/mining_dataset_service.dart - Zone detail
lib/features/zone_detail/presentation/screens/zone_detail_screen.dart - Multiagent analysis
lib/features/multiagent_analysis/presentation/screens/multiagent_analysis_screen.dart
Review and monitoring
- IoT monitoring
lib/features/iot_sentinel/presentation/screens/iot_sentinel_screen.dart - Human review inbox
lib/features/review_approval/presentation/screens/review_inbox_screen.dart - Review decisions
lib/features/review_approval/data/services/review_manager_service.dart
Data and integration
- HANA dataset view
lib/features/hana_dataset/presentation/screens/hana_dataset_screen.dart - BTP API
- Packaged demo data
assets/data
Other components
- User
Connections 17
- User → GeoPredIA app: uses
README.md - GeoPredIA app → Risk dashboard: provides view
README.md - GeoPredIA app → Multiagent analysis: provides view
README.md - GeoPredIA app → IoT monitoring: provides view
README.md - GeoPredIA app → Human review inbox: provides view
README.md - GeoPredIA app → Conversational assistant: provides view
README.md - GeoPredIA app → HANA dataset view: provides view
README.md - GeoPredIA app → Zone detail: offers zone details
README.md - GeoPredIA app → Profile: provides view
README.md - GeoPredIA app → BTP API: consumes API
README.md - GeoPredIA app → Packaged demo data: uses as fallback
README.md - Windows Flutter host → Native window: inherits window
windows/runner/flutter_window.cpp - Windows Flutter host → Native window: delegates messages
windows/runner/flutter_window.cpp - Risk dashboard → Dashboard data access: shows portfolio data
- Dashboard data access → Mining dataset: loads dataset
- Conversational assistant → Joule assistant service: uses assistant service
- Human review inbox → Review decisions: records decisions