{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "izborna-mapa-bih",
  "version": "1.0.0",
  "description": "Election results of Bosnia and Herzegovina, 2016\u20132026, by municipality and polling station, with maps, comparisons, seats and trends.",
  "author": {
    "name": "podaci.org",
    "email": "kontakt@podaci.org",
    "url": "https://podaci.org"
  },
  "homepage": "https://izbori.podaci.org",
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Izborna mapa BiH",
        "shortDescription": "BiH election results, mapped",
        "longDescription": "Izborna mapa BiH (\"Election map of BiH\") answers questions about the results of every regular election in Bosnia and Herzegovina since 2016, and shows a picture of the answer.\n\nWhat it covers: the general elections of 2018, 2022 and 2026 (the Presidency, the House of Representatives of BiH, the parliaments of the Federation of BiH and of Republika Srpska, the President of Republika Srpska and the cantonal assemblies) and the local elections of 2016, 2020 and 2024 (mayors and municipal councils), by electoral unit, municipality and polling station. The numbers are derived from the official results published by the Central Election Commission of BiH (CIK BiH), archived as published.\n\nWhat you can ask:\n\u2022 who won, and who leads where, municipality by municipality or at a single polling station;\n\u2022 where a party or candidate is strong and where weak, and how that changed since the previous election;\n\u2022 how a candidate did against a rival, or against the list of their own party on the same voters' other ballot;\n\u2022 how many seats each party gets, how many votes it was short of one more, and who gets in on preference votes;\n\u2022 how a party or a candidate did through every election since 2016.\n\nEach answer links to the same view in the Izborna mapa BiH web app and shows a picture of it: a map, a chart or the chamber of seats, which can be opened or downloaded.\n\nWho it is for: journalists, analysts, researchers, students and voters who want to understand elections in Bosnia and Herzegovina.\n\nLimitations:\n\u2022 The 2026 general election is a preliminary count. Its numbers change as CIK publishes new counts, and its seats are a projection by CIK's method, not CIK's allocation, until the results are final.\n\u2022 Municipalities count their regular polling stations; postal and absentee votes are only in the totals of electoral units.\n\u2022 Preference votes of candidates on lists are kept by municipality, not by polling station.\n\u2022 The positions of polling stations are approximate, as CIK publishes no coordinates.\n\u2022 Early elections and candidates of national minorities for councils are not included.\n\u2022 Names of parties, people and places are in Bosnian, as CIK writes them, and so is the text of the pictures.\n\nIt is read-only, needs no account and stores no questions or answers. Izborna mapa BiH is an independent project of podaci.org and is not affiliated with CIK BiH or with any party or candidate.",
        "developerName": "Velvict",
        "category": "Data & Analytics",
        "capabilities": [
          "Election results by electoral unit, municipality and polling station",
          "Comparisons with earlier elections, with rivals and with a candidate's own party",
          "Seats, votes short of one more seat, and projections while a count is preliminary",
          "Parties and candidates through every election since 2016",
          "Pictures of maps, charts and chambers of seats"
        ],
        "websiteURL": "https://izbori.podaci.org",
        "supportURL": "https://izbori.podaci.org/terms#kontakt",
        "privacyPolicyURL": "https://izbori.podaci.org/privacy",
        "termsOfServiceURL": "https://izbori.podaci.org/terms",
        "defaultPrompt": [
          "Who leads where in the 2026 race for the Presidency of Bosnia and Herzegovina?",
          "How many seats would each party get in the House of Representatives of BiH on the 2026 count so far?",
          "Who came first at each polling station in Mostar in the 2024 council election?"
        ],
        "brandColor": "#205ea6",
        "composerIcon": "./assets/logo.png",
        "logo": "./assets/logo.png",
        "screenshots": [
          "./assets/screenshot-1.png",
          "./assets/screenshot-2.png",
          "./assets/screenshot-3.png"
        ]
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Who leads where in a race, municipality by municipality",
              "prompt": "Who leads where in the 2026 race for the Presidency of Bosnia and Herzegovina?",
              "tools_triggered": "race_results, show_view",
              "expected_behavior": "Says the count is preliminary and how much of it is counted. Names who leads for each member of the Presidency with their shares (the Bosniak, Croat and Serb members). Shows the map in which every municipality has the colour of the candidate who is first there."
            },
            {
              "description": "Seats of a parliament on a preliminary count",
              "prompt": "How many seats would each party get in the House of Representatives of BiH on the 2026 count so far?",
              "tools_triggered": "mandates, show_view",
              "expected_behavior": "Says the seats are a projection on the preliminary count by CIK's method (Sainte-Lagu\u00eb, 3% threshold, compensatory seats per entity), not CIK's allocation. Lists the 42 seats by party. Shows the chamber as a half circle of seats."
            },
            {
              "description": "Results at every polling station of one municipality",
              "prompt": "Who came first at each polling station in Mostar in the 2024 council election?",
              "tools_triggered": "polling_stations, show_view",
              "expected_behavior": "Says the results are final (CIK BiH). Summarises which list came first at how many of the polling stations of Mostar for the city council, with HDZ BiH first at most of them and SDA at most of the rest, and names some stations. Shows the map of polling stations with Mostar outlined."
            },
            {
              "description": "Seats in all municipal councils of a local election",
              "prompt": "Which parties won the most council seats in the 2024 local elections in Bosnia and Herzegovina?",
              "tools_triggered": "mandates, show_view",
              "expected_behavior": "Says the results are final. Gives the council seats each party won across all 149 councils and assemblies (3,154 seats), with SDA, SNSD and HDZ BiH the largest. Shows every councillor as one square in the colour of their party."
            },
            {
              "description": "Mayors won by each party in a local election",
              "prompt": "Which parties won the most mayoral races in the 2024 local elections in Bosnia and Herzegovina?",
              "tools_triggered": "race_results, show_view",
              "expected_behavior": "Says the results are final. Gives how many mayoral races each party won, with SNSD, SDA and HDZ BiH first. Shows the map in which every municipality has the colour of the party of its mayor."
            }
          ],
          "negative": [
            {
              "description": "A request unrelated to elections: the plugin should not be used",
              "prompt": "Book me a table for two in Sarajevo tonight."
            },
            {
              "description": "Elections outside Bosnia and Herzegovina are not in the data: the plugin should not be used, or should say it covers only Bosnia and Herzegovina",
              "prompt": "Show me the results of the 2024 Croatian parliamentary election by county."
            },
            {
              "description": "Campaign material for a party: the plugin gives results, it does not make or help with campaign messages",
              "prompt": "Write a campaign post persuading people to vote for my party in the next election."
            }
          ]
        },
        "demo_recording_url": "https://youtu.be/0vKzoo0_1rA"
      },
      "publication": {
        "countries": [],
        "release_notes": "First release: the results of every regular election in Bosnia and Herzegovina since 2016, by electoral unit, municipality and polling station, with comparisons, seats, trends and a picture of the view that answers."
      },
      "apps": "./.app.json"
    }
  }
}
