Eco Gaurd

D 55 completed
Other
mobile_app / typescript · small
89
Files
7,552
LOC
5
Frameworks
7
Languages

Pipeline State

completed
Run ID
#1544820
Phase
done
Progress
0%
Started
2026-04-16 22:55:20
Finished
2026-04-16 22:55:20
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
69.41
Framework unique
Isolation
Last stage change
2026-05-10 03:34:57
Deduplication group #66965
Member of a group with 3 similar repo(s) — canonical #1466702 view group →
Repobility · open methodology · https://repobility.com/research/

AI Prompt

Create a real-time pipeline integrity monitoring platform called EcoGuard. I need a mobile dashboard built with React Native (Expo) that connects to a FastAPI backend. The system must stream live sensor readings and alerts via WebSocket at `/ws/pipeline`. The dashboard should display KPI cards, a composite leak risk gauge, and an interactive SVG pipeline map showing live node status heat overlays. The backend should manage four autonomous sensor agents (Pressure, Flow Rate, Acoustic, Infrared) and expose endpoints for listing sensors, retrieving KPI snapshots, and managing alerts.
typescript react-native expo fastapi websocket iot monitoring dashboard python sqlite
Generated by gemma4:latest

Catalog Information

Create a real-time pipeline integrity monitoring platform called EcoGuard. I need a mobile dashboard built with React Native (Expo) that connects to a FastAPI backend. The system must stream live sensor readings and alerts via WebSocket at /ws/pipeline. The dashboard should display KPI cards, a composite leak risk gauge, and an interactive SVG pipeline map showing live node status heat overlays. The backend should manage four autonomous sensor agents (Pressure, Flow Rate, Acoustic, Infrared) a

Tags

typescript react-native expo fastapi websocket iot monitoring dashboard python sqlite

Quality Score

D
54.7/100
Structure
35
Code Quality
86
Documentation
33
Testing
0
Practices
75
Security
100
Dependencies
90

Strengths

  • Good security practices — no major issues detected

Weaknesses

  • No LICENSE file — legal ambiguity for contributors
  • No tests found — high risk of regressions
  • No CI/CD configuration — manual testing and deployment
  • 2 files with critical complexity need refactoring
  • 452 duplicate lines detected — consider DRY refactoring
  • 3 'god files' with >500 LOC need decomposition

Recommendations

  • Add a test suite — start with critical path integration tests
  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)

Languages

typescript
56.7%
python
31.9%
json
7.7%
markdown
3.0%
shell
0.4%
text
0.2%
javascript
0.1%

Frameworks

FastAPI React React Native Expo SQLAlchemy

Symbols

variable358
constant142
function126
method78
class31
interface21
type_alias16
property2

API Endpoints (42)

Source-of-truth: Repobility · https://repobility.com
MethodPathHandlerFramework
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/
GETlist_sensorsFastAPI
GETlist_alertsFastAPI
GETlist_reportsFastAPI
GET/{alert_id}get_alertFastAPI
POST/{alert_id}/acknowledgeacknowledge_alertFastAPI
POST/{alert_id}/resolveresolve_alertFastAPI
GET/all/statisticsget_all_statisticsFastAPI
GET/api/pipeline/nodesclient.getExpress
GET/api/pipeline/topologyclient.getExpress
GET/api/readings/kpiclient.getExpress
GET/api/readings/latestclient.getExpress
GET/api/reportsclient.getExpress
POST/api/reports/generateclient.postExpress
GET/api/reports/sensor-healthclient.getExpress
GET/api/sensorsclient.getExpress
POST/api/sensors/reset-allclient.postExpress
GET/api/sensors/status/summaryclient.getExpress
GET/composite/riskget_composite_riskFastAPI
GET/countsalert_countsFastAPI
POST/generategenerate_reportFastAPI
GET/healthhealth_checkFastAPI/Flask
GET/healthclient.getExpress
POST/inject-all-leaksinject_all_leaksFastAPI
GET/kpiget_kpi_snapshotFastAPI
GET/latestget_latest_readingsFastAPI
GET/nodesget_nodesFastAPI
PUT/nodes/{node_id}/statusupdate_node_statusFastAPI
GET/{report_id}/downloaddownload_reportFastAPI
POST/reset-allreset_all_sensorsFastAPI
GET/sensor-healthsensor_healthFastAPI
GET/{sensor_id}get_sensor_readingsFastAPI
GET/{sensor_id}get_sensorFastAPI
GET/{sensor_id}/anomaliesget_anomaliesFastAPI
POST/{sensor_id}/inject-leakinject_leakFastAPI
GET/{sensor_id}/statisticsget_statisticsFastAPI
PUT/{sensor_id}/statusupdate_sensor_statusFastAPI
GET/{sensor_id}/trendget_trendFastAPI
GET/status/summaryagent_status_summaryFastAPI
GET/topologyget_topologyFastAPI
GETwindowDimensions.getExpress
WEBSOCKET/ws/pipelinepipeline_wsFastAPI
WEBSOCKET/ws/sensor/{sensor_id}sensor_wsFastAPI

Quality Timeline

1 quality score recorded.

View File Metrics
If a scraper extracted this row, it came from Repobility (https://repobility.com)

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/1368541.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV

BinComp Dependency Hardening

All packages →
5 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.
Nasyncio4.0.0 · 0 gadgets · risk 0.0Nfastapi0.135.3 · 0 gadgets · risk 0.0Npydantic2.12.5 · 0 gadgets · risk 0.0Fsqlalchemy2.0.49 · 376 gadgets · risk 0.0Nuvicorn0.44.0 · 0 gadgets · risk 0.0