Skip to content

Place operating_status and confidence schema descriptions are inaccurate #526

@FlorianNachtigall

Description

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions