Guardians of the Vote in the Online World
TEMPO.CO by Mahardika Satria Hadi (Singapore), Eko Widianto (Malang)
This year’s presidential election was a memorable one for Ainun Najib. He did not only join in the five-yearly democratic festival by casting his vote in Singapore. From the neighbouring country, the 28-year-old man also played an active role in overseeing the vote count. Yes, through the kawalpemilu.org website, Ainun provided real-count recapitulation results that the public could access and verify directly.
The site, assembled over two days and launched on Tuesday evening, 15 July 2014, gave Ainun a new occupation. He had to respond promptly to every notification that appeared at any time on his Facebook page. They were often messages from volunteers. But quite often they were reports from the public about data errors.
“There was invalid-vote data entered twice alongside valid votes, making the total large,” Ainun said after reading a notification on Saturday two weeks ago. He immediately corrected the data-entry error so that the recapitulation could be amended.
Throughout that afternoon, Ainun’s fingers seemed never to stop dancing over the keyboard of his Apple Mac laptop. While waiting for iftar at Mr Teh Tarik Eating House on Geylang Road in Singapore, the information technology consultant, a graduate of Nanyang Technological University, kept his eyes fixed on the monitor. From time to time he shifted his gaze to the screen of the white iPhone lying on the table.
Ainun said kawalpemilu.org was actually the result of tinkering by two of his colleagues, computer experts who worked at technology giants in Silicon Valley and had offices in the United States and Australia respectively. They were the ones who made the software for downloading data, the database that formed the backbone of the site, the data-entry page and various other features.
Kawalpemilu.org consists of internal and external servers. The internal server address is deliberately kept secret. “Because the database is there,” Ainun said. Its external server, www.kawalpemilu.org, is accessible to the public and updates its data from the internal server every 10 minutes.
The database system was also built from scratch. Ainun and his two colleagues used an in-memory database that works thousands of times faster than a hard disk, the system used by the General Elections Commission (KPU). With the total amount of data turning out to be quite small, at around 50 megabytes, Ainun’s site was lighter to access for millions of people. “That had already been anticipated,” he said.
According to Ainun, kawalpemilu.org’s working principle is fairly simple. All scanned C1 forms—containing the vote counts at each polling station—were downloaded from the KPU website using special software. The software also cut the C1 forms into snippets so that only the section showing the number of votes received could be seen. The data was placed on an internal server and could only be accessed by Ainun and his team.
Then, using crowdsourcing, 700 netizen volunteers at home and abroad worked together to transfer all the figures in the snippets into the data-entry column to their right. The column consisted of four rows. Each was filled in with the number of votes for the Prabowo Subianto-Hatta Rajasa ticket, the number of votes for Joko Widodo-Jusuf Kalla, the total number of valid votes, and the total number of invalid votes.
In this way, figures that had previously been handwritten by polling officials were turned into digital numbers. As a result, the data could be recapitulated quickly and easily. Ainun said it took only five seconds to enter data for one polling station. More than 478,000 polling stations could be completed in three days. “Very fast,” he said.
Kawalpemilu.org displays national aggregate data that can be viewed in detail down to the province, regency/city, sub-district, village and polling-station levels. Each polling station is accompanied by its C1 evidence. This display makes it easy for anyone to verify the data in it. The public can correct data through the “report an error” feature.
According to Ainun, kawalpemilu.org is able to provide accurate data that is also easy to trace. In this way, anyone can claim their own data is correct, but their claims are faced with a solid verifier. “It doesn’t end up as troubling rumours or a reason to mobilise the masses,” he said.
Ainun confirmed that kawalpemilu.org was protected by a very strong, multilayered security system. First, its internal server was hosted by Google and Amazon. With its very large bandwidth, hacker attacks could not easily bring kawalpemilu.org down. “If you want to take kawalpemilu down, you have to take Google down.”
The external kawalpemilu.org server was then layered with CloudFlare. This cloud-computing technology acts as a bridge so that visitors, hackers, crawlers and bots do not visit the main site directly, but are redirected to a shadow page. “The attacks are handled by CloudFlare first,” Ainun said. A side effect is that kawalpemilu.org’s display is not updated immediately because CloudFlare has to retrieve the data first.
Ainun’s colleague in the United States said they had deliberately built all of kawalpemilu.org’s infrastructure from scratch so it would perform optimally in line with what they wanted. Moreover, by designing everything specifically, security was better assured. “The standard hacking methods out there don’t work on our system,” said the man, who also commented through Ainun’s Facebook chat room.
One volunteer, Dayce Sjaflan, said this election was phenomenal for Indonesian society. The KPU’s transparency over the data enabled the public to carry out the vote-counting process together. “This is the time for me to get involved, not just observe,” said the 38-year-old woman, who works for a communications company in Jakarta.
Dayce had been a volunteer since 16 July. She was invited by a former colleague who had become a volunteer earlier, was friends with Ainun and lived in Singapore. As part of the public relations team, Dayce’s duties were to provide information about kawalpemilu.org, manage its social media accounts on Twitter and Facebook, maintain relations with the media, and co-ordinate with all the volunteers.
Kawalpemilu.org was not the only independent website carrying out a vote count. From Uncle Sam’s land, Henry Tan Setiawan created www.pilpres2014.org. Unlike kawalpemilu.org, which was worked on by a group, Henry worked on his site alone. The software engineer, who works at Microsoft, made use of data from scans of DA1 (sub-district count), DB1 (regency/city) and DC1 (province), with the addition of visualisation features.
Henry used a crawler to download DA1 automatically and update it every two hours. His computer programme was tasked with browsing and retrieving pages from the KPU website. “The crawler can automatically extract tables of provincial, regency and sub-district codes,” he said by email.
The codes were useful for obtaining the vote totals from DA1 documents. The data was then arranged by regency, province and national level. According to Henry, this method enabled him to process the data without doing manual counting. The results were also more consistent and avoided basic counting errors.
Henry said his crawler could scan all the KPU pages in 20–30 minutes using parallel-thread processing. Updating the data every two hours was not a coincidence. Henry had deliberately set it that way. “Two hours is fast enough, and I’m very careful not to flood the KPU server with spam,” said the man, born in Sukabumi and living in Seattle, United States.
Henry created www.pilpres2014.org a week after the presidential election. He used Microsoft Visual Studio IDE to write all the code and Microsoft Azure Cloud infrastructure to host his site. “The system was running in less than 24 hours,” he said. What was unique about the site was that the results it displayed were not only percentages, but also visualisations of votes received in each region.
In the country, Muhammadiyah University of Malang (UMM) in East Java took the initiative to create a real-count vote-counting site. The idea came spontaneously to UMM information and computer centre head Suyatno, because he was curious about the vote count. But it turned out the data on the KPU site was not easy to read and understand.
The idea found support, and the university backed Suyatno. “The computing system was ready within a day,” infrastructure and networks division head M. Nasar told Tempo. Servers and an Internet connection were also prepared. The result, http://data-pilpres.umm.ac.id, was completed two weeks ago and displays vote-recapitulation data for the general public.
The UMM-built site uses verified DB1 data from 464 regencies/cities and 130 overseas election committees. Using the Hypertext Preprocessor (PHP) web programming language and the Get URL feature, the data is extracted into seven tables arranged by province. The tables contain data on the votes and percentages for each presidential candidate, the margin between the candidates, and the percentage of data from regencies/cities that has been processed.
The extracted tables harvested from the KPU site are what is displayed at http://data-pilpres.umm.ac.id. The data changes automatically every 60 seconds. This is because the KPU site updates its data every 1–7 minutes. “The data presented is identical to the data uploaded on the KPU website,” Nasar said.
In the Lion City, Ainun never expected kawalpemilu.org to attract the attention of people back home. Abuse and praise flooded his Twitter account page. But the site was deliberately designed to prevent the election from being rigged in any way. Ainun also intended to apply pressure so that anyone planning to cheat would think twice. “That is indeed our aim.”
National tabulation of the 2014 Presidential Election (real time)
Prabowo-Hatta: 47.05% 61,711,978 votes
Jokowi-JK:
52.95% 69,455,113 votes
Margin:
5.90% 7,743,135 votes
Real-count results from independent vote-counting sites:
www.kawalpemilu.org Prabowo-Hatta: 46.84% (62,576,585 votes) Jokowi-JK:
53.15% (70,997,607 votes)
www.pilpres2014.org Prabowo-Hatta: 46.85% (62,262,844 votes) Jokowi-JK:
53.15% (70,633,576 votes)
www.data-pilpres.umm.ac.id Prabowo-Hatta: 47.05% (61,711,978 votes) Jokowi-JK:
52.95% (69,455,113 votes)
www.kawal-suara.appspot.com Prabowo-Hatta: 47.22% (37,329,986 votes) Jokowi-JK:
52.78% (41,731,323 votes)
Source: jawawa.id (https://jawawa.id/newsitem/guardians-of-the-vote-in-the-online-world-1406653200)
Originally published by Tempo Interactive (http://majalah.tempo.co/konten/2014/07/28/LU/145935/Pengawal-Suara-di-Dunia-Maya/22/43), translated from Indonesian