-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADR 22: Preferred identifier algorithm
- Loading branch information
1 parent
2fb68b2
commit b9c1c68
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 23. Preferred Identifier Algorithm | ||
|
||
Date: 2024-11-28 | ||
|
||
## Status | ||
|
||
Draft | ||
|
||
## Context | ||
|
||
When moving to a model where multiple documents have multiple identifiers, we need to understand how we choose which one to display for human identification purposes. | ||
|
||
## Decision | ||
|
||
Scores for individual components are multiplied together; IDs scoring 0 are never routinely considered preferred. (Scores for a component are 1 unless otherwise specified) | ||
|
||
#### Deprecation | ||
|
||
Identifier is deprecated: 0 | ||
Document is deprecated: 0 | ||
|
||
#### Schema | ||
|
||
Default: 0.5? | ||
NCN: 1 | ||
BAILII: 0.8 | ||
FCL SQID: 0.01 | ||
|
||
#### Recentness | ||
|
||
Take the most recent (which measure of recentness? on publication? identifier?) if all other choices are even. | ||
|
||
### Other options | ||
|
||
We probably want to be able to limit to "only public documents" (for the PUI), "only human friendly identifiers", which can also add a 0 modifier to an identifier/document pair. | ||
|
||
## Consequences | ||
|
||
We have a modular system for determining the best identifier/document to return in multiple scenarios. |