Description
The schema description for operating_status and confidence currently says:
|
When `operating_status` is `"permanently_closed"`, the `confidence` field will be |
|
set to 0. |
|
A confidence score of 0 indicates that we are certain the place doesn't exist |
|
anymore and will always be paired with an `operating_status` of |
|
`"permanently_closed"`. |
Similarly, the schema definition for confidence says:
Places with operating_status set to 'closed' will have a confidence score of 0.
|
confidence: |
|
description: The confidence of the existence of the place. It's a number between 0 and 1. 0 means that we're sure that the place doesn't exist (anymore). 1 means that we're sure that the place exists. If there's no value for the confidence, it means that we don't have any confidence information. Places with operating_status set to 'closed' will have a confidence score of 0 |
As far as I know, we don't have a mechanism that sets the operating status to "permanently_closed" when the confidence is 0, nor vice versa. Most feeds do not provide an operating status anyway, but for RenderSEO, for example, the logic is decoupled (at least during ingest):
Furthermore, I thought we had decided to decouple the interpretation of confidence from operating status. In other words, confidence only indicates whether a place record exists or is junk.
Proposed change
Remove the mentions of the coupling between operating_status and confidence in the places schema description and definition.
Description
The schema description for
operating_statusandconfidencecurrently says:schema/packages/overture-schema-places-theme/src/overture/schema/places/place.py
Lines 220 to 221 in 283441d
schema/packages/overture-schema-places-theme/src/overture/schema/places/place.py
Lines 267 to 269 in 283441d
Similarly, the schema definition for
confidencesays:schema/schema/places/place.yaml
Lines 82 to 83 in 283441d
As far as I know, we don't have a mechanism that sets the operating status to "permanently_closed" when the confidence is 0, nor vice versa. Most feeds do not provide an operating status anyway, but for RenderSEO, for example, the logic is decoupled (at least during ingest):
Furthermore, I thought we had decided to decouple the interpretation of confidence from operating status. In other words, confidence only indicates whether a place record exists or is junk.
Proposed change
Remove the mentions of the coupling between
operating_statusandconfidencein the places schema description and definition.