Detection

Censorship risk heuristic (experimental)

Changed on

Experimental heuristic; requires an API key. Not a validated prediction; no accuracy claim. currentRisk is the country's live OONI anomaly rate, or a fixed fallback score when live data is missing (dataSource says which; modelVersion ooni-anomaly-heuristic-v1, method "experimental heuristic: OONI anomaly rate"). predictedRisk equals currentRisk and trend is always "stable" (trendModeled false): no trend or onset model runs, so onset timing is unproven. horizon is echoed, not modeled. factors names the single input currentRisk comes from. With a target domain, mlPrediction gives the per-domain blocked probability from the ML service (source ml_service). If the service does not answer, its values are null with source unavailable; a low service value for a domain on the static known-blocked list is withheld (null values, source withheld). The list is not measurement evidence and never supplies a value; mlPrediction.note says why a value is missing. Apart from timestamp, the same input and the same upstream data give the same output.

post/hydra/v1/predict

Request

  • Base URL
    https://api.voidly.ai
  • URL
    https://api.voidly.ai/hydra/v1/predict
  • Auth
    API key in header X-API-Key

Request body

countrystring required
targetstring
horizoninteger

Response

Experimental risk heuristic result

countrystring required
targetstring nullable
currentRisknumber required
predictedRisknumber required
confidencenumber required

Grows with the OONI measurement count: (0.5 + measurementCount/100000, capped at 0.95) x 0.9 with live data. Without live data it is the country's fallback-table confidence x 0.9, or 0.45 when the country has no table entry. Not a calibrated probability.

trend'stable' required

Always "stable"; no trend is modeled (see trendModeled).

horizoninteger required

Echoed from the request, not modeled.

dataSource'live_ooni' | 'fallback'
modelVersionstring
methodstring
validatedfalse
onsetTiming'unproven'
trendModeledfalse
notestring
timestampstring date-time

Example response

{
  "method": "experimental heuristic: OONI anomaly rate"
}

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • warning

      added the new unavailable enum value to the / response property for the response status

    • warning

      added the new withheld enum value to the / response property for the response status

    • info

      added the optional property / to the response with the status

    • info

      removed the local_rule:country_risk_tier enum value from the / response property for the response status

    • info

      removed the local_rule:known_blocked_list enum value from the / response property for the response status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status