Get Integrity Score
get_integrity_scoreCalculate a job's lineage integrity score by comparing declared and observed edges, returning precision and recall to pinpoint stale claims versus missing sources.
Instructions
Get the Lineage Integrity Score for a job, with its components.
The score is the Jaccard index of declared vs observed edges. Precision and recall are returned separately because a low score from stale claims and a low score from missing sources need different fixes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_urn": "<job_urn>"
},
"name": "get_integrity_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_urn | Yes | A DataHub dataJob URN. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||