GIScience / GIScience/ohsome-quality-api

roads-thematic-accuracy-indicator: return value 0 if no matched roads

Open
#1,037 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
51
Forks
7
Avg merge
21h 54m
Merged PRs (30d)
9

Description

I saw that if no matched roads are detected, then the value is NULL. Would maybe make more sense to set the value to 0 so that is comparable to "real NULL values.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating the roads-thematic-accuracy-indicator implementation and its existing tests, then trace the no-matched-roads case. Done means that case returns 0 while genuine NULL values remain distinguishable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.