Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Add confidence score to functions parsing the deceased field #97

@rgreinho

Description

@rgreinho

Issue Type

  • Feature request

Current Behavior

We currently have 3 functions to parse the deceased field:

  • parse_comma_delimited_deceased_field
  • parse_pipe_delimited_deceased_field
  • parse_space_delimited_deceased_field

These functions either work of fail and are ordered from the most used in the reports, to the less used.

Expected Behavior

In addition to returning the results, we should also return a confidence score.

All the functions could be run asynchronously, and once they return, we take the result of the function with the highest confidence score.

Possible Solution

To assign the confidence score, we could:

  1. Count the number of fields that are populated.
  2. Count the length of the fields.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions