Skip to content

Analysis results dashboard - #12

Closed
dfguerrerom wants to merge 19 commits into
mainfrom
feature/analysis-dashboard
Closed

Analysis results dashboard#12
dfguerrerom wants to merge 19 commits into
mainfrom
feature/analysis-dashboard

Conversation

@dfguerrerom

Copy link
Copy Markdown
Contributor

Moves the accuracy-assessment results into a dashboard modal with ipecharts charts, leaving a compact summary in the right panel.

  • Panel: summary card (overall accuracy, confidence level, n samples, # classes) + a "Ver dashboard" button + CSV downloads.
  • Modal: confusion-matrix heatmap (visualMap), accuracy-by-class bars, error-adjusted area ± CI bars, and estimated-area proportion pie; the full result tables in an expansion panel; the ha/m² toggle. All charts transparent-backed and theme-aware.
  • Adds a themed RawEChartsWidget (for the heatmap's visualMap) and a shared echarts theme mixin.

No analysis math changed — everything reads from app_state.analysis_results.

Tests: 117 passing; black/ruff clean.

Branches off main, independent of #11. The only overlap is the one-line AreaEstimateChart transparent-background fix that #11 also makes (trivial, auto-resolvable).

Follow-ups (non-blocking): de-dup the pie with summary.py via a shared helper; add edge-guard/unit-toggle test coverage; harden the empty-but-present confusion-matrix guard.

Add a "map" area-source option that uploads a classification GeoTIFF
and derives map_code + per-class areas by sampling it at the reference
points, off the UI thread. Column mapping hides the map role and marks
x/y required for that source. clear_analysis_data() now also drops the
uploaded classification path.
@dfguerrerom

Copy link
Copy Markdown
Contributor Author

Superseded by #13, which folds these commits into a single combined PR to main (this branch was stacked underneath it). Closing to consolidate review there.

@dfguerrerom
dfguerrerom deleted the feature/analysis-dashboard branch July 31, 2026 14:22
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