Skip to content

Survey scoring#114

Merged
SebKister merged 1 commit into
SebKister:masterfrom
speleobrad:feature/survey-scoring
Sep 8, 2025
Merged

Survey scoring#114
SebKister merged 1 commit into
SebKister:masterfrom
speleobrad:feature/survey-scoring

Conversation

@speleobrad

Copy link
Copy Markdown
Collaborator

This adds a 1-5 start scoring system to surveys, displaying their "quality" and giving hints for next measurements.

It takes few things into the account:

  • heading and pitch angle difference between in and out (50% weight)
  • measured vs calculated lenght differences (35% weight)
  • data completeness (15% weight)

For each survey, it will show:

  • 1-5 star overall rating below the date
  • Hover display with details of the scoring, including top 3 issues in each category (looks ok on desktop, can't tell for mobile - might need adjustments)

Implements a comprehensive quality assessment system for cave survey data:

Features:
- 5-star rating system (1-5 stars) displayed below survey dates in section cards
- Hover tooltips with detailed quality breakdown and top issues
- Real-time scoring based on measurement accuracy and data completeness

Scoring Metrics (weighted):
- Measurement Consistency (50%): Evaluates heading/pitch in/out agreement
- Length Validation (35%): Compares measured vs trigonometrically calculated lengths
- Data Completeness (15%): Checks for missing values, bonus for LRUD/temperature

Implementation:
- SurveyQualityService: Core scoring algorithms with worst-case discrepancy penalties
- SurveyQuality model: Quality data structure with formatted tooltip generation
- StarRatingWidget: Visual 5-star display component with tooltips
- Enhanced SectionCard: Integrated quality stars below survey timestamps

Quality assessment helps surveyors identify measurement issues, problematic shots,
and data reliability concerns for improved survey accuracy.
@SebKister SebKister merged commit 4652cfb into SebKister:master Sep 8, 2025
6 checks passed
@speleobrad speleobrad deleted the feature/survey-scoring branch October 4, 2025 00:48
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.

2 participants