Reference risk score object

The reference risk score represents the result of executing a Reference risk model with a language code and wiki revision ID.

Example

{
  "model_name": "reference-risk",
  "model_version": "2024-07",
  "wiki_db": "enwiki",
  "revision_id": 1242378206,
  "reference_count": 307,
  "survival_ratio": {
    "min": 0.6917214573238013,
    "mean": 0.830631414204165,
    "median": 0.8305581162142753
  },
  "reference_risk_score": 0.0,
  "references": [
    {
      "url": "https://coasterforce.com/wild-mouse-steel/",
      "domain_name": "coasterforce.com",
      "domain_metadata": {
        "ps_label_local": null,
        "ps_label_enwiki": null,
        "survival_ratio": 0.6917214573238013,
        "page_count": 56,
        "editors_count": 40
      }
    },
    ...
  ]
}

Schema

model_name

required string

The model that generated the output.
model_version

required string

The version of the model being used. For Reference risk, it is the snapshot of the precomputed domain metadata.
wiki_db

required string

String identifying the target Wiki.
revision_id

required integer

Integer representing the Wiki revision id.
reference_count

required integer

Number of URL-based references.
survival_ratio

required

map

Map structure of minimum, mean, and median survival edit ratio of cited domains.
reference_risk_score

required

float

Proportion of deprecated and blacklisted domains.
references

optional

list

List of URL-based references. The model outputs the following features per such reference:
url

required string

Parsed URL
domain_name

required string

Domain extracted from the URL
domain_metadata

required

map

ps_label_local: Classification of the domain in the local perennial sources list (if any).

ps_label_enwiki: Classification of the domain in the English perennial sources list (if any).

survival_ratio : Survival edit ratio (survival), i.e., the proportion of survived edits since domain addition.

page_count: in how many pages in a corresponding wiki the domain was added.

editors_count: how many distinct editors in a corresponding wiki cited the domain.