Skip to content

[WIP] Fix code based on review comments#14

Merged
AUREX-ML merged 1 commit into
copilot/eneros-site-intelligence-mvp-v0-1from
copilot/fix
Jul 3, 2026
Merged

[WIP] Fix code based on review comments#14
AUREX-ML merged 1 commit into
copilot/eneros-site-intelligence-mvp-v0-1from
copilot/fix

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor
  • Remove unused requests dependency from simulator requirements.txt
  • Fix live mode timestamp (don't truncate seconds) in simulate.py
  • Normalize -0.0 battery_kw to 0.0 in simulate.py
  • Validate --interval and --hours CLI args in simulate.py
  • Use telemetry record timestamp for alerts in analytics.py
  • Use telemetry record timestamp for recommendations in analytics.py
  • Fix replacereplaceAll for site_status in TelemetryPanel.tsx
  • Handle API failure in resolveAlert in App.tsx
  • Handle API failure in dismissRec in App.tsx
  • Restrict CORS origins via env var in main.py
  • Make test_get_latest_telemetry self-contained in test_api.py
  • Use Boolean column type for resolved/dismissed in models.py

@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@AUREX-ML
AUREX-ML marked this pull request as ready for review July 3, 2026 18:32
Copilot AI review requested due to automatic review settings July 3, 2026 18:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AUREX-ML
AUREX-ML merged commit e00ac4b into copilot/eneros-site-intelligence-mvp-v0-1 Jul 3, 2026
2 of 3 checks passed
Copilot stopped work on behalf of AUREX-ML due to an error July 3, 2026 18:32
Copilot AI requested a review from AUREX-ML July 3, 2026 18:32
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.

3 participants