Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add min/max value constraints to score and confidence slots. #373

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Add issue_tracker_item and issue_tracker [model elements](https://github.com/mapping-commons/sssom/pull/259).
- Add recommendation to sort the keys in the YAML metadata block.
- Double-typed slots explicitly constrained to the [0.0,1.0] range, as per their description.

## SSSOM version 0.13.0

Expand Down
6 changes: 6 additions & 0 deletions src/sssom_schema/schema/sssom_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ slots:
description: A score between 0 and 1 to denote the confidence or probability that
the match is correct, where 1 denotes total confidence.
range: double
minimum_value: 0.0
maximum_value: 1.0
subject_match_field:
description: A list of properties (term annotations on the subject) that was used
for the match.
Expand Down Expand Up @@ -516,6 +518,8 @@ slots:
description: A score between 0 and 1 to denote the semantic similarity, where
1 denotes equivalence.
range: double
minimum_value: 0.0
maximum_value: 1.0
semantic_similarity_measure:
description: The measure used for computing the the semantic similarity score.
To make processing this field as unambiguous as possible, we recommend using
Expand All @@ -528,6 +532,8 @@ slots:
description: A score between 0 and 1 to denote the similarity, where
1 denotes equivalence.
range: double
minimum_value: 0.0
maximum_value: 1.0
similarity_measure:
description: The measure used for computing the the similarity score.
To make processing this field as unambiguous as possible, we recommend using
Expand Down
Loading