Zum Inhalt
HALOWERK

Govwerk

vote buying detect

Scores caller-supplied vote/transfer observations using cohort-relative transfer size, transfer recency, and repeated-counterparty count. The output is an investigative triage heuristic, not proof of vote buying, identity linkage, or wrongdoing.

POST https://gov.halowerk.com/v1/vote-buying-detect

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
observationsarrayJa
flag_thresholdnumberNeinRisk-score threshold used only for triage.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "observations"
  ],
  "additionalProperties": false,
  "properties": {
    "observations": {
      "type": "array",
      "minItems": 3,
      "maxItems": 10000,
      "items": {
        "type": "object",
        "required": [
          "voter_id",
          "choice",
          "associated_transfer_amount",
          "transfer_age_hours",
          "repeated_counterparty_count"
        ],
        "additionalProperties": false,
        "properties": {
          "voter_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "choice": {
            "type": "string",
            "enum": [
              "for",
              "against",
              "abstain"
            ]
          },
          "associated_transfer_amount": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000000,
            "description": "Caller-linked transfer amount in one consistent unit."
          },
          "transfer_age_hours": {
            "type": "number",
            "minimum": 0,
            "maximum": 8760,
            "description": "Hours between transfer and vote."
          },
          "repeated_counterparty_count": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100000,
            "description": "Prior linked transfers with the same counterparty."
          }
        }
      }
    },
    "flag_threshold": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Risk-score threshold used only for triage."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "observations": [
    {
      "voter_id": "voter-1",
      "choice": "for",
      "associated_transfer_amount": 12,
      "transfer_age_hours": 240,
      "repeated_counterparty_count": 0
    },
    {
      "voter_id": "voter-2",
      "choice": "against",
      "associated_transfer_amount": 10,
      "transfer_age_hours": 180,
      "repeated_counterparty_count": 1
    },
    {
      "voter_id": "voter-3",
      "choice": "for",
      "associated_transfer_amount": 900,
      "transfer_age_hours": 2,
      "repeated_counterparty_count": 7
    }
  ],
  "flag_threshold": 0.7
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://gov.halowerk.com/v1/vote-buying-detect/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →