← Files Suomen vaalidata AIARCHIVED FILE

.codex-plugin/plugin.json

9.45 KB · Nov 30, 2026 · 00:22 UTC

↓ Download file

{
  "author": {
    "name": "Suomen vaalidatapalvelu Oy"
  },
  "description": "Suomen vaalidata AI helps you explore Finnish election results and candidates' disclosed campaign finance. Find and compare candidates, examine votes by geography, such as postcode areas, compare changes in party support, and explore disclosed contributions, campaign funding sources and expenditure allocation.\n\nSources include election data from Finland's Ministry of Justice, campaign-finance disclosures from the National Audit Office of Finland, and postcode-level population statistics from Statistics Finland. Source links are shown when included in the query results. Sign-in and access entitlement are required.",
  "interface": {
    "capabilities": [],
    "category": "Data & Analytics",
    "defaultPrompt": [
      "Which geographic areas provided Teemu Keskisarja's (Finns Party) votes in 2023, and how concentrated was his support?",
      "Which Varsinais-Suomi postcodes had the highest estimated National Coalition Party support in the 2023 parliamentary election?",
      "Which geographic areas saw the largest changes in Greens support between the 2019 and 2023 parliamentary elections?"
    ],
    "developerName": "Suomen vaalidatapalvelu Oy",
    "displayName": "Suomen vaalidata AI",
    "longDescription": "Suomen vaalidata AI helps you explore Finnish election results and candidates' disclosed campaign finance. Find and compare candidates, examine votes by geography, such as postcode areas, compare changes in party support, and explore disclosed contributions, campaign funding sources and expenditure allocation.\n\nSources include election data from Finland's Ministry of Justice, campaign-finance disclosures from the National Audit Office of Finland, and postcode-level population statistics from Statistics Finland. Source links are shown when included in the query results. Sign-in and access entitlement are required.",
    "privacyPolicyURL": "https://ai.suomenvaalidata.fi/tietosuojaseloste",
    "shortDescription": "Finnish election data",
    "supportURL": "https://ai.suomenvaalidata.fi/tuki",
    "termsOfServiceURL": "https://ai.suomenvaalidata.fi/kayttoehdot",
    "websiteURL": "https://suomenvaalidata.fi",
    "logo": "./assets/icon.png",
    "composerIcon": "./assets/icon.png"
  },
  "name": "app-6a8c35feac1c819183d0ab35080f9bf3",
  "version": "1.0.3",
  "mcpServers": "./.mcp.json",
  "extensions": {
    "com.openai": {
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "A user wants to understand where Teemu Keskisarja received his votes in the 2023 parliamentary election and how geographically concentrated his support was.",
              "prompt": "Which geographic areas contributed Teemu Keskisarja\u2019s (Finns Party) votes in the 2023 parliamentary election, and how geographically concentrated was his support?",
              "expected_behavior": "Identifies the correct candidacy using a retrieved candidate ID. Presents the strongest polling districts with vote counts and their shares of his total votes. Explains concentration using the returned Gini coefficient, constituency median/rank, and home-municipality vote share. Retrieves enough pages to support the analysis. Interprets Gini within the constituency and cites available sources.",
              "tools_triggered": "vaali_list_elections, vaali_search_candidates, vaali_get_candidate, vaali_get_candidate_vote_breakdown"
            },
            {
              "description": "A user wants to compare postcode areas in Varsinais-Suomi by Kokoomus\u2019s estimated support in a specific election.",
              "prompt": "In which postcode areas of Varsinais-Suomi did the National Coalition Party have the strongest estimated support in the 2023 parliamentary election?",
              "expected_behavior": "Resolves the election and party, then filters postcode results to Varsinais-Suomi. Lists the leading postcode areas in descending estimated support order, showing postcode, area name, municipality, and approximate support percentage. Clearly labels figures as estimates derived from polling-district results, rounds estimated percentages to whole numbers, and explains mapping uncertainty using paras_vastaavuus where relevant.",
              "tools_triggered": "vaali_list_elections, vaali_list_parties, vaali_postinumero_kannatus"
            },
            {
              "description": "A user wants to identify the largest increases and decreases in Greens\u2019 support between the 2019 and 2023 parliamentary elections, accounting for changes to polling districts.",
              "prompt": "In which geographic areas did the Greens\u2019 support change the most between the 2019 and 2023 parliamentary elections?",
              "expected_behavior": "Uses the 2023 election and its official primary comparison election, 2019. Shows the largest increases and decreases, including district names, municipalities, support percentages in both elections, and changes in percentage points. Retrieves enough pages to identify decreases as well as increases. Reports comparable-district coverage, explains merged predecessors, and excludes incomparable districts from change rankings.",
              "tools_triggered": "vaali_list_elections, vaali_list_parties, vaali_aanestysalue_muutos"
            },
            {
              "description": "A user wants to examine one candidate\u2019s declared campaign-finance sources and spending categories.",
              "prompt": "What were the funding sources for Teemu Keskisarja\u2019s 2023 parliamentary election campaign, and how was the campaign money spent?",
              "expected_behavior": "Resolves Keskisarja\u2019s candidacy for the correct election. Summarizes declared funding and spending totals, with available category amounts and shares. Includes named donors where returned and explains that itemized donors may represent only part of total funding because of disclosure thresholds. Distinguishes missing finance information from zero funding and cites available sources.",
              "tools_triggered": "vaali_list_elections, vaali_search_candidates, vaali_get_candidate_funding"
            },
            {
              "description": "A user wants to identify the largest disclosed corporate donors to candidates in the 2023 parliamentary election and inspect whom the largest donor supported.",
              "prompt": "Which were the five largest corporate donors to candidates in the 2023 parliamentary election, based on disclosed contributions, and which candidates did the largest donor support?",
              "expected_behavior": "Filters donor search to the 2023 parliamentary election and donor type Yritys (company), excluding loans. Presents the five largest donors and their disclosed totals in the server\u2019s ranking order. Uses the leading donor\u2019s returned identifier to retrieve its recipient candidates and contribution amounts. Explains that coverage concerns disclosed donations to candidates and does not include donations directly to parties or their member organizations. Does not present filing dates as donation dates.",
              "tools_triggered": "vaali_list_elections, vaali_search_donors, vaali_get_donor"
            }
          ],
          "negative": [
            {
              "description": "A user asks the plugin to change stored election results. The service provides read-only access.",
              "prompt": "Change Teemu Keskisarja\u2019s total vote count in the 2023 parliamentary election to 50,000 and save the change to the database.",
              "expected_behavior": "Explains that the plugin cannot modify election records because it is read-only. Does not attempt a write operation or claim the change succeeded. May offer to retrieve the recorded result instead."
            },
            {
              "description": "A user requests donations received directly by a party. The dataset covers donations to candidates, so candidate donations cannot answer this question.",
              "prompt": "List the companies that donated directly to the National Coalition Party in 2023 and their contribution amounts. Exclude donations to individual candidates.",
              "expected_behavior": "Explains that direct donations to parties and their member organizations are outside the dataset. Does not substitute donations to Kokoomus candidates, interpret a recipient-party filter as direct party funding, or report zero donations merely because the requested records are unavailable."
            },
            {
              "description": "A user requests postcode-level party support for an election predating the postcode mapping\u2019s 2017 coverage.",
              "prompt": "List the ten postcode areas in Varsinais-Suomi where the National Coalition Party had its strongest support in the 2011 parliamentary election, and provide exact support percentages.",
              "expected_behavior": "Explains that the service\u2019s postcode mapping starts in 2017, so it cannot provide the requested 2011 ranking. Does not invent percentages, substitute another election without permission, or interpret unavailable data as zero support. Explains that supported postcode figures are estimates rather than exact measured results. May offer polling-district results or a supported later election as alternatives. No postcode tool call is needed for a known unsupported year; an election-list lookup is optional if election coverage needs checking."
            }
          ]
        }
      }
    }
  },
  "apps": "./.app.json"
}

SHA-256: cbf2e5e2e83c6e7d34b67427d50caca92637216392b4d2823299270d9f49ab54