diff --git a/test/API/examples/actual/average_named_entity_references_by_ANO_members_result.txt b/test/API/examples/actual/average_named_entity_references_by_ANO_members_result.txt index 2c69786..ddbbdab 100644 --- a/test/API/examples/actual/average_named_entity_references_by_ANO_members_result.txt +++ b/test/API/examples/actual/average_named_entity_references_by_ANO_members_result.txt @@ -1,127 +1,46 @@ -[{'affiliation.person_id': 'RobertStrzinek.1968', 'average_named_entity_references': 15.0}, {'affiliation.person_id': 'VeraJourova.1964', 'average_named_entity_references': 13.152380952380952}, {'affiliation.person_id': 'AndrejBabis.1954', 'average_named_entity_references': 12.828511151295961}, {'affiliation.person_id': 'RichardBrabec.1966', 'average_named_entity_references': 10.931332236842104}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'average_named_entity_references': 10.742249388753056}, {'affiliation.person_id': 'StanislavBerkovec.1956', 'average_named_entity_references': 10.710441334768568}, {'affiliation.person_id': 'MichalRatiborsky.1981', 'average_named_entity_references': 10.47887323943662}, {'affiliation.person_id': 'LubomirMetnar.1967', 'average_named_entity_references': 9.959677419354838}, {'affiliation.person_id': 'MatejFichtner.1984', 'average_named_entity_references': 9.924229808492923}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'average_named_entity_references': 9.827352085354025}, {'affiliation.person_id': 'TatanaMala.1981', 'average_named_entity_references': 9.61111111111111}, {'affiliation.person_id': 'PavelSramek.1965', 'average_named_entity_references': 9.543715846994536}, {'affiliation.person_id': 'KarlaSlechtova.1977', 'average_named_entity_references': 9.35924006908463}, {'affiliation.person_id': 'MilanPour.1965', 'average_named_entity_references': 9.21631205673759}, {'affiliation.person_id': 'JosefHajek.1956', 'average_named_entity_references': 9.17668583376895}, {'affiliation.person_id': 'MartinStropnicky.1956', 'average_named_entity_references': 9.12180889861415}, {'affiliation.person_id': 'RadimHolis.1975', 'average_named_entity_references': 9.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'average_named_entity_references': 8.650684931506849}, {'affiliation.person_id': 'AdamVojtech.1986', 'average_named_entity_references': 8.56401028277635}, {'affiliation.person_id': 'MilanHnilicka.1973', 'average_named_entity_references': 8.387543252595156}, {'affiliation.person_id': 'RomanaFischerova.1969', 'average_named_entity_references': 8.125}, {'affiliation.person_id': 'DanTok.1959', 'average_named_entity_references': 8.08}, {'affiliation.person_id': 'KarelHavlicek.1969', 'average_named_entity_references': 8.016114592658909}, {'affiliation.person_id': 'StanislavPfleger.1958', 'average_named_entity_references': 7.777777777777778}, {'affiliation.person_id': 'JiriStrycek.1959', 'average_named_entity_references': 7.610619469026549}, {'affiliation.person_id': 'KristynaZelienkova.1974', 'average_named_entity_references': 7.291463414634146}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'average_named_entity_references': 7.278070836473248}, {'affiliation.person_id': 'RadekZlesak.1983', 'average_named_entity_references': 7.2559852670349905}, {'affiliation.person_id': 'KlaraDostalova.1971', 'average_named_entity_references': 7.145543744889616}, {'affiliation.person_id': 'JosefVozdecky.1945', 'average_named_entity_references': 6.834586466165414}, {'affiliation.person_id': 'JanSchiller.1972', 'average_named_entity_references': 6.791666666666667}, {'affiliation.person_id': 'RomanProchazka.1968', 'average_named_entity_references': 6.77612556794713}, {'affiliation.person_id': 'IvanaDobesova.1960', 'average_named_entity_references': 6.699121027721433}, {'affiliation.person_id': 'JanRehounek.1974', 'average_named_entity_references': 6.662886597938145}, {'affiliation.person_id': 'EvaFialova.1982', 'average_named_entity_references': 6.5710088148873655}, {'affiliation.person_id': 'JosefBelica.1978', 'average_named_entity_references': 6.5064935064935066}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'average_named_entity_references': 6.449022055763629}, {'affiliation.person_id': 'MilosBabis.1960', 'average_named_entity_references': 6.307420494699646}, {'affiliation.person_id': 'KamalFarhan.1969', 'average_named_entity_references': 6.259036144578313}, {'affiliation.person_id': 'MargitaBalastikova.1967', 'average_named_entity_references': 6.220731707317073}, {'affiliation.person_id': 'PatrikNacher.1974', 'average_named_entity_references': 6.220195611948189}, {'affiliation.person_id': 'PavelRuzicka.1970', 'average_named_entity_references': 6.142857142857143}, {'affiliation.person_id': 'JiriZlatuska.1957', 'average_named_entity_references': 6.104070305272895}, {'affiliation.person_id': 'JiriMasek.1958', 'average_named_entity_references': 6.102002503128911}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'average_named_entity_references': 6.073582400910298}, {'affiliation.person_id': 'MiloslavaRutova.1947', 'average_named_entity_references': 6.064285714285714}, {'affiliation.person_id': 'BohuslavChalupa.1960', 'average_named_entity_references': 5.929196623944983}, {'affiliation.person_id': 'LenkaDrazilova.1963', 'average_named_entity_references': 5.90625}, {'affiliation.person_id': 'JanKubik.1978', 'average_named_entity_references': 5.8202416918429005}, {'affiliation.person_id': 'IgorNykl.1963', 'average_named_entity_references': 5.739852398523985}, {'affiliation.person_id': 'PetrVrana.1975', 'average_named_entity_references': 5.72093023255814}, {'affiliation.person_id': 'TomasKohoutek.1983', 'average_named_entity_references': 5.707762557077626}, {'affiliation.person_id': 'IvanaMadlova.1966', 'average_named_entity_references': 5.676470588235294}, {'affiliation.person_id': 'PavelJuricek.1956', 'average_named_entity_references': 5.65023597273204}, {'affiliation.person_id': 'MonikaCervickova.1967', 'average_named_entity_references': 5.578461538461538}, {'affiliation.person_id': 'MartinaBerdychova.1971', 'average_named_entity_references': 5.466145833333333}, {'affiliation.person_id': 'AdamKalous.1979', 'average_named_entity_references': 5.431105047748977}, {'affiliation.person_id': 'MarekNovak.1976', 'average_named_entity_references': 5.417889587700908}, {'affiliation.person_id': 'OndrejBabka.1994', 'average_named_entity_references': 5.318731117824774}, {'affiliation.person_id': 'MonikaOborna.1989', 'average_named_entity_references': 5.063100137174211}, {'affiliation.person_id': 'RadekVondracek.1973', 'average_named_entity_references': 5.004417355435502}, {'affiliation.person_id': 'PavelVolcik.1950', 'average_named_entity_references': 5.0}, {'affiliation.person_id': 'MartinKomarek.1961', 'average_named_entity_references': 4.9511494252873565}, {'affiliation.person_id': 'StanislavFridrich.1956', 'average_named_entity_references': 4.942528735632184}, {'affiliation.person_id': 'JosefKott.1970', 'average_named_entity_references': 4.930196078431372}, {'affiliation.person_id': 'RostislavVyzula.1952', 'average_named_entity_references': 4.927466150870406}, {'affiliation.person_id': 'AndreaBabisova.1972', 'average_named_entity_references': 4.913793103448276}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'average_named_entity_references': 4.887859128822984}, {'affiliation.person_id': 'JiriHolecek.1972', 'average_named_entity_references': 4.851063829787234}, {'affiliation.person_id': 'KarelRais.1949', 'average_named_entity_references': 4.812223626026532}, {'affiliation.person_id': 'BarboraKoranova.1984', 'average_named_entity_references': 4.745566166439291}, {'affiliation.person_id': 'JuliusSpicak.1952', 'average_named_entity_references': 4.678947368421053}, {'affiliation.person_id': 'RobertKralicek.1977', 'average_named_entity_references': 4.619489559164733}, {'affiliation.person_id': 'IvaKalatova.1962', 'average_named_entity_references': 4.611111111111111}, {'affiliation.person_id': 'HelenaValkova.1951', 'average_named_entity_references': 4.5271398747390394}, {'affiliation.person_id': 'EvaMatyasova.1959', 'average_named_entity_references': 4.418803418803419}, {'affiliation.person_id': 'RadkaMaxova.1968', 'average_named_entity_references': 4.413535990823057}, {'affiliation.person_id': 'JanaLorencova.1940', 'average_named_entity_references': 4.229700854700854}, {'affiliation.person_id': 'PavelPustejovsky.1972', 'average_named_entity_references': 4.1361228813559325}, {'affiliation.person_id': 'JanaPastuchova.1965', 'average_named_entity_references': 4.029816513761468}, {'affiliation.person_id': 'JiriHlavaty.1948', 'average_named_entity_references': 4.0}, {'affiliation.person_id': 'ZuzanaOzanova.1970', 'average_named_entity_references': 3.8481619605753865}, {'affiliation.person_id': 'ZuzanaSanova.1959', 'average_named_entity_references': 3.6901960784313723}, {'affiliation.person_id': 'JanSedlacek.1979', 'average_named_entity_references': 3.6666666666666665}, {'affiliation.person_id': 'MartinSedlar.1972', 'average_named_entity_references': 3.6318407960199006}, {'affiliation.person_id': 'AlesJuchelka.1976', 'average_named_entity_references': 3.618313689936537}, {'affiliation.person_id': 'VlastimilVozka.1954', 'average_named_entity_references': 3.5881742738589213}, {'affiliation.person_id': 'IvanPilny.1944', 'average_named_entity_references': 3.560336300692384}, {'affiliation.person_id': 'IvoVondrak.1959', 'average_named_entity_references': 3.533707865168539}, {'affiliation.person_id': 'MilanFeranec.1964', 'average_named_entity_references': 3.3526951672862455}, {'affiliation.person_id': 'JaroslavaPuntova.1957', 'average_named_entity_references': 3.3333333333333335}, {'affiliation.person_id': 'BerenikaPestova.1971', 'average_named_entity_references': 3.324324324324324}, {'affiliation.person_id': 'RomanKubicek.1963', 'average_named_entity_references': 3.275767195767196}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'average_named_entity_references': 3.2058823529411766}, {'affiliation.person_id': 'FrantisekPetrtyl.1959', 'average_named_entity_references': 3.134020618556701}, {'affiliation.person_id': 'JaroslavKytyr.1963', 'average_named_entity_references': 3.0962199312714778}, {'affiliation.person_id': 'VeraAdamkova.1954', 'average_named_entity_references': 3.0535349407437677}, {'affiliation.person_id': 'PavelCihak.1960', 'average_named_entity_references': 2.9375}, {'affiliation.person_id': 'KarelTurecek.1971', 'average_named_entity_references': 2.902439024390244}, {'affiliation.person_id': 'PavelPlzak.1960', 'average_named_entity_references': 2.8396054073803434}, {'affiliation.person_id': 'DavidPrazak.1979', 'average_named_entity_references': 2.8087167070217918}, {'affiliation.person_id': 'DavidKasal.1969', 'average_named_entity_references': 2.6520459228731235}, {'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'average_named_entity_references': 2.5718598275919016}, {'affiliation.person_id': 'LadislavOklestek.1961', 'average_named_entity_references': 2.543336439888164}, {'affiliation.person_id': 'VeraProchazkova.1954', 'average_named_entity_references': 2.3538888888888887}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'average_named_entity_references': 2.2301435406698564}, {'affiliation.person_id': 'MarcelaMelkova.1971', 'average_named_entity_references': 2.2052505966587113}, {'affiliation.person_id': 'RobertPelikan.1979', 'average_named_entity_references': 2.142857142857143}, {'affiliation.person_id': 'AndreaBrzobohata.1971', 'average_named_entity_references': 1.95}, {'affiliation.person_id': 'DavidStolpa.1983', 'average_named_entity_references': 1.9268292682926829}, {'affiliation.person_id': 'PetrVenhoda.1986', 'average_named_entity_references': 1.9}, {'affiliation.person_id': 'JanVolny.1959', 'average_named_entity_references': 1.7398293029871976}, {'affiliation.person_id': 'PetrSadovsky.1969', 'average_named_entity_references': 1.699410609037328}, {'affiliation.person_id': 'JanRichter.1967', 'average_named_entity_references': 1.6777251184834123}, {'affiliation.person_id': 'JiriBlaha.1961', 'average_named_entity_references': 1.6445993031358885}, {'affiliation.person_id': 'IvanJac.1956', 'average_named_entity_references': 1.5}, {'affiliation.person_id': 'MilanBrazdil.1962', 'average_named_entity_references': 1.4398950131233597}, {'affiliation.person_id': 'PavelStanek.1967', 'average_named_entity_references': 1.4}, {'affiliation.person_id': 'PremyslMalis.1980', 'average_named_entity_references': 0.9642857142857143}, {'affiliation.person_id': 'RenataOulehlova.1968', 'average_named_entity_references': 0.0}, {'affiliation.person_id': 'IrenaBlazkova.1969', 'average_named_entity_references': 0.0}] +[{'affiliation.person_id': 'AndrejBabis.1954', 'average_named_entity_references': 81.39669421487604}, {'affiliation.person_id': 'VeraJourova.1964', 'average_named_entity_references': 50.0}, {'affiliation.person_id': 'RichardBrabec.1966', 'average_named_entity_references': 36.2}, {'affiliation.person_id': 'JosefKott.1970', 'average_named_entity_references': 22.4390243902439}, {'affiliation.person_id': 'AdamVojtech.1986', 'average_named_entity_references': 21.5}, {'affiliation.person_id': 'KarelHavlicek.1969', 'average_named_entity_references': 18.666666666666668}, {'affiliation.person_id': 'DanTok.1959', 'average_named_entity_references': 16.333333333333332}, {'affiliation.person_id': 'RobertPelikan.1979', 'average_named_entity_references': 16.0}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'average_named_entity_references': 12.326923076923077}, {'affiliation.person_id': 'LubomirMetnar.1967', 'average_named_entity_references': 12.0}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'average_named_entity_references': 12.0}, {'affiliation.person_id': 'MarekNovak.1976', 'average_named_entity_references': 12.0}, {'affiliation.person_id': 'KlaraDostalova.1971', 'average_named_entity_references': 11.068965517241379}, {'affiliation.person_id': 'PetrVrana.1975', 'average_named_entity_references': 11.0}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'average_named_entity_references': 10.455696202531646}, {'affiliation.person_id': 'RadekVondracek.1973', 'average_named_entity_references': 10.06561203319502}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'average_named_entity_references': 7.722614840989399}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'average_named_entity_references': 7.5}, {'affiliation.person_id': 'RomanKubicek.1963', 'average_named_entity_references': 7.4}, {'affiliation.person_id': 'BerenikaPestova.1971', 'average_named_entity_references': 7.333333333333333}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'average_named_entity_references': 7.0}, {'affiliation.person_id': 'IvoVondrak.1959', 'average_named_entity_references': 6.5}, {'affiliation.person_id': 'JiriZlatuska.1957', 'average_named_entity_references': 6.5}, {'affiliation.person_id': 'JosefHajek.1956', 'average_named_entity_references': 6.0}, {'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'average_named_entity_references': 5.787781350482315}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'average_named_entity_references': 5.5}, {'affiliation.person_id': 'RobertKralicek.1977', 'average_named_entity_references': 5.0}, {'affiliation.person_id': 'MartinStropnicky.1956', 'average_named_entity_references': 4.1875}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'average_named_entity_references': 3.57847533632287}, {'affiliation.person_id': 'MilanBrazdil.1962', 'average_named_entity_references': 3.3548387096774195}, {'affiliation.person_id': 'RomanaFischerova.1969', 'average_named_entity_references': 3.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'average_named_entity_references': 3.0}, {'affiliation.person_id': 'JanVolny.1959', 'average_named_entity_references': 2.1560283687943262}, {'affiliation.person_id': 'JiriBlaha.1961', 'average_named_entity_references': 2.0}, {'affiliation.person_id': 'HelenaValkova.1951', 'average_named_entity_references': 1.3804347826086958}, {'affiliation.person_id': 'RadkaMaxova.1968', 'average_named_entity_references': 1.0}, {'affiliation.person_id': 'MatejFichtner.1984', 'average_named_entity_references': 0.5588235294117647}, {'affiliation.person_id': 'PatrikNacher.1974', 'average_named_entity_references': 0.5}, {'affiliation.person_id': 'OndrejBabka.1994', 'average_named_entity_references': 0.0}, {'affiliation.person_id': 'DavidKasal.1969', 'average_named_entity_references': 0.0}] +--------------------------------+---------------------------------+ | affiliation.person_id | average_named_entity_references | +--------------------------------+---------------------------------+ -| RobertStrzinek.1968 | 15.0 | -| VeraJourova.1964 | 13.152380952380952 | -| AndrejBabis.1954 | 12.828511151295961 | -| RichardBrabec.1966 | 10.931332236842104 | -| MartinKolovratnik.1975 | 10.742249388753056 | -| StanislavBerkovec.1956 | 10.710441334768568 | -| MichalRatiborsky.1981 | 10.47887323943662 | -| LubomirMetnar.1967 | 9.959677419354838 | -| MatejFichtner.1984 | 9.924229808492923 | -| AlenaSchillerova.1964 | 9.827352085354025 | -| TatanaMala.1981 | 9.61111111111111 | -| PavelSramek.1965 | 9.543715846994536 | -| KarlaSlechtova.1977 | 9.35924006908463 | -| MilanPour.1965 | 9.21631205673759 | -| JosefHajek.1956 | 9.17668583376895 | -| MartinStropnicky.1956 | 9.12180889861415 | -| RadimHolis.1975 | 9.0 | -| JaroslavBzoch.1983 | 8.650684931506849 | -| AdamVojtech.1986 | 8.56401028277635 | -| MilanHnilicka.1973 | 8.387543252595156 | -| RomanaFischerova.1969 | 8.125 | -| DanTok.1959 | 8.08 | -| KarelHavlicek.1969 | 8.016114592658909 | -| StanislavPfleger.1958 | 7.777777777777778 | -| JiriStrycek.1959 | 7.610619469026549 | -| KristynaZelienkova.1974 | 7.291463414634146 | -| MiloslavJanulik.1962 | 7.278070836473248 | -| RadekZlesak.1983 | 7.2559852670349905 | -| KlaraDostalova.1971 | 7.145543744889616 | -| JosefVozdecky.1945 | 6.834586466165414 | -| JanSchiller.1972 | 6.791666666666667 | -| RomanProchazka.1968 | 6.77612556794713 | -| IvanaDobesova.1960 | 6.699121027721433 | -| JanRehounek.1974 | 6.662886597938145 | -| EvaFialova.1982 | 6.5710088148873655 | -| JosefBelica.1978 | 6.5064935064935066 | -| JanaMrackovaVildumetzova.1973 | 6.449022055763629 | -| MilosBabis.1960 | 6.307420494699646 | -| KamalFarhan.1969 | 6.259036144578313 | -| MargitaBalastikova.1967 | 6.220731707317073 | -| PatrikNacher.1974 | 6.220195611948189 | -| PavelRuzicka.1970 | 6.142857142857143 | -| JiriZlatuska.1957 | 6.104070305272895 | -| JiriMasek.1958 | 6.102002503128911 | -| JaroslavFaltynek.1962 | 6.073582400910298 | -| MiloslavaRutova.1947 | 6.064285714285714 | -| BohuslavChalupa.1960 | 5.929196623944983 | -| LenkaDrazilova.1963 | 5.90625 | -| JanKubik.1978 | 5.8202416918429005 | -| IgorNykl.1963 | 5.739852398523985 | -| PetrVrana.1975 | 5.72093023255814 | -| TomasKohoutek.1983 | 5.707762557077626 | -| IvanaMadlova.1966 | 5.676470588235294 | -| PavelJuricek.1956 | 5.65023597273204 | -| MonikaCervickova.1967 | 5.578461538461538 | -| MartinaBerdychova.1971 | 5.466145833333333 | -| AdamKalous.1979 | 5.431105047748977 | -| MarekNovak.1976 | 5.417889587700908 | -| OndrejBabka.1994 | 5.318731117824774 | -| MonikaOborna.1989 | 5.063100137174211 | -| RadekVondracek.1973 | 5.004417355435502 | -| PavelVolcik.1950 | 5.0 | -| MartinKomarek.1961 | 4.9511494252873565 | -| StanislavFridrich.1956 | 4.942528735632184 | -| JosefKott.1970 | 4.930196078431372 | -| RostislavVyzula.1952 | 4.927466150870406 | -| AndreaBabisova.1972 | 4.913793103448276 | -| ZdenekSoukup.1952 | 4.887859128822984 | -| JiriHolecek.1972 | 4.851063829787234 | -| KarelRais.1949 | 4.812223626026532 | -| BarboraKoranova.1984 | 4.745566166439291 | -| JuliusSpicak.1952 | 4.678947368421053 | -| RobertKralicek.1977 | 4.619489559164733 | -| IvaKalatova.1962 | 4.611111111111111 | -| HelenaValkova.1951 | 4.5271398747390394 | -| EvaMatyasova.1959 | 4.418803418803419 | -| RadkaMaxova.1968 | 4.413535990823057 | -| JanaLorencova.1940 | 4.229700854700854 | -| PavelPustejovsky.1972 | 4.1361228813559325 | -| JanaPastuchova.1965 | 4.029816513761468 | -| JiriHlavaty.1948 | 4.0 | -| ZuzanaOzanova.1970 | 3.8481619605753865 | -| ZuzanaSanova.1959 | 3.6901960784313723 | -| JanSedlacek.1979 | 3.6666666666666665 | -| MartinSedlar.1972 | 3.6318407960199006 | -| AlesJuchelka.1976 | 3.618313689936537 | -| VlastimilVozka.1954 | 3.5881742738589213 | -| IvanPilny.1944 | 3.560336300692384 | -| IvoVondrak.1959 | 3.533707865168539 | -| MilanFeranec.1964 | 3.3526951672862455 | -| JaroslavaPuntova.1957 | 3.3333333333333335 | -| BerenikaPestova.1971 | 3.324324324324324 | -| RomanKubicek.1963 | 3.275767195767196 | -| JanaHanzlikova.1966 | 3.2058823529411766 | -| FrantisekPetrtyl.1959 | 3.134020618556701 | -| JaroslavKytyr.1963 | 3.0962199312714778 | -| VeraAdamkova.1954 | 3.0535349407437677 | -| PavelCihak.1960 | 2.9375 | -| KarelTurecek.1971 | 2.902439024390244 | -| PavelPlzak.1960 | 2.8396054073803434 | -| DavidPrazak.1979 | 2.8087167070217918 | -| DavidKasal.1969 | 2.6520459228731235 | -| JaroslavaPokornaJermanova.1970 | 2.5718598275919016 | -| LadislavOklestek.1961 | 2.543336439888164 | -| VeraProchazkova.1954 | 2.3538888888888887 | -| BronislavSchwarz.1966 | 2.2301435406698564 | -| MarcelaMelkova.1971 | 2.2052505966587113 | -| RobertPelikan.1979 | 2.142857142857143 | -| AndreaBrzobohata.1971 | 1.95 | -| DavidStolpa.1983 | 1.9268292682926829 | -| PetrVenhoda.1986 | 1.9 | -| JanVolny.1959 | 1.7398293029871976 | -| PetrSadovsky.1969 | 1.699410609037328 | -| JanRichter.1967 | 1.6777251184834123 | -| JiriBlaha.1961 | 1.6445993031358885 | -| IvanJac.1956 | 1.5 | -| MilanBrazdil.1962 | 1.4398950131233597 | -| PavelStanek.1967 | 1.4 | -| PremyslMalis.1980 | 0.9642857142857143 | -| RenataOulehlova.1968 | 0.0 | -| IrenaBlazkova.1969 | 0.0 | +| AndrejBabis.1954 | 81.39669421487604 | +| VeraJourova.1964 | 50.0 | +| RichardBrabec.1966 | 36.2 | +| JosefKott.1970 | 22.4390243902439 | +| AdamVojtech.1986 | 21.5 | +| KarelHavlicek.1969 | 18.666666666666668 | +| DanTok.1959 | 16.333333333333332 | +| RobertPelikan.1979 | 16.0 | +| JanaMrackovaVildumetzova.1973 | 12.326923076923077 | +| LubomirMetnar.1967 | 12.0 | +| BronislavSchwarz.1966 | 12.0 | +| MarekNovak.1976 | 12.0 | +| KlaraDostalova.1971 | 11.068965517241379 | +| PetrVrana.1975 | 11.0 | +| AlenaSchillerova.1964 | 10.455696202531646 | +| RadekVondracek.1973 | 10.06561203319502 | +| JaroslavFaltynek.1962 | 7.722614840989399 | +| ZdenekSoukup.1952 | 7.5 | +| RomanKubicek.1963 | 7.4 | +| BerenikaPestova.1971 | 7.333333333333333 | +| MiloslavJanulik.1962 | 7.0 | +| IvoVondrak.1959 | 6.5 | +| JiriZlatuska.1957 | 6.5 | +| JosefHajek.1956 | 6.0 | +| JaroslavaPokornaJermanova.1970 | 5.787781350482315 | +| JanaHanzlikova.1966 | 5.5 | +| RobertKralicek.1977 | 5.0 | +| MartinStropnicky.1956 | 4.1875 | +| MartinKolovratnik.1975 | 3.57847533632287 | +| MilanBrazdil.1962 | 3.3548387096774195 | +| RomanaFischerova.1969 | 3.0 | +| JaroslavBzoch.1983 | 3.0 | +| JanVolny.1959 | 2.1560283687943262 | +| JiriBlaha.1961 | 2.0 | +| HelenaValkova.1951 | 1.3804347826086958 | +| RadkaMaxova.1968 | 1.0 | +| MatejFichtner.1984 | 0.5588235294117647 | +| PatrikNacher.1974 | 0.5 | +| OndrejBabka.1994 | 0.0 | +| DavidKasal.1969 | 0.0 | +--------------------------------+---------------------------------+ diff --git a/test/API/examples/actual/average_sentences_most_talkative_result.txt b/test/API/examples/actual/average_sentences_most_talkative_result.txt index d56596e..765ef9a 100644 --- a/test/API/examples/actual/average_sentences_most_talkative_result.txt +++ b/test/API/examples/actual/average_sentences_most_talkative_result.txt @@ -1,11 +1,9 @@ -[{'affiliation.role': 'deputyHead', 'average_sentence_count': 6.296012975911273}, {'affiliation.role': 'member', 'average_sentence_count': 6.277422307657101}, {'affiliation.role': 'representative', 'average_sentence_count': 6.305979337294578}, {'affiliation.role': 'verifier', 'average_sentence_count': 6.327535906642729}, {'affiliation.role': 'head', 'average_sentence_count': 6.295505125733812}] +[{'affiliation.role': 'member', 'average_sentence_count': 10.937954642704321}, {'affiliation.role': 'head', 'average_sentence_count': 11.042723631508679}, {'affiliation.role': 'deputyHead', 'average_sentence_count': 8.285714285714286}] +------------------+------------------------+ | affiliation.role | average_sentence_count | +------------------+------------------------+ -| deputyHead | 6.296012975911273 | -| member | 6.277422307657101 | -| representative | 6.305979337294578 | -| verifier | 6.327535906642729 | -| head | 6.295505125733812 | +| member | 10.937954642704321 | +| head | 11.042723631508679 | +| deputyHead | 8.285714285714286 | +------------------+------------------------+ diff --git a/test/API/examples/actual/average_tokens_by_position_result.txt b/test/API/examples/actual/average_tokens_by_position_result.txt index f6a378a..0f6ec07 100644 --- a/test/API/examples/actual/average_tokens_by_position_result.txt +++ b/test/API/examples/actual/average_tokens_by_position_result.txt @@ -1,9 +1,9 @@ -[{'speech.role': 'guest', 'average_tokens': 452.1521328803322}, {'speech.role': 'regular', 'average_tokens': 266.9352142475181}, {'speech.role': 'chair', 'average_tokens': 55.23546464501979}] +[{'speech.role': 'guest', 'average_tokens': 1077.8934426229507}, {'speech.role': 'regular', 'average_tokens': 496.90713671539123}, {'speech.role': 'chair', 'average_tokens': 143.19426456984274}] -+-------------+-------------------+ -| speech.role | average_tokens | -+-------------+-------------------+ -| guest | 452.1521328803322 | -| regular | 266.9352142475181 | -| chair | 55.23546464501979 | -+-------------+-------------------+ ++-------------+--------------------+ +| speech.role | average_tokens | ++-------------+--------------------+ +| guest | 1077.8934426229507 | +| regular | 496.90713671539123 | +| chair | 143.19426456984274 | ++-------------+--------------------+ diff --git a/test/API/examples/actual/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt b/test/API/examples/actual/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt index 2f05e27..44df0ce 100644 --- a/test/API/examples/actual/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt +++ b/test/API/examples/actual/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt @@ -1,54 +1,7 @@ -[{'speech.earliest_timestamp': '09:18:00', 'average_wpm': 164.11680742063112}, {'speech.earliest_timestamp': '09:28:00', 'average_wpm': 129.36363728644952}, {'speech.earliest_timestamp': '09:38:00', 'average_wpm': 155.39009388151504}, {'speech.earliest_timestamp': '09:48:00', 'average_wpm': 152.7478361903574}, {'speech.earliest_timestamp': '09:58:00', 'average_wpm': 165.18550043565887}, {'speech.earliest_timestamp': '10:08:00', 'average_wpm': 144.47282013863554}, {'speech.earliest_timestamp': '10:18:00', 'average_wpm': 169.15814319433517}, {'speech.earliest_timestamp': '10:28:00', 'average_wpm': 146.55715833517496}, {'speech.earliest_timestamp': '10:38:00', 'average_wpm': 158.9193022118747}, {'speech.earliest_timestamp': '10:48:00', 'average_wpm': 168.05042809371233}, {'speech.earliest_timestamp': '10:58:00', 'average_wpm': 146.2948280005757}, {'speech.earliest_timestamp': '11:08:00', 'average_wpm': 175.516693163752}, {'speech.earliest_timestamp': '11:58:00', 'average_wpm': 179.42122186495178}, {'speech.earliest_timestamp': '12:18:00', 'average_wpm': 168.16277678037102}, {'speech.earliest_timestamp': '12:28:00', 'average_wpm': 156.29386991109033}, {'speech.earliest_timestamp': '13:38:00', 'average_wpm': 177.40384615384616}, {'speech.earliest_timestamp': '13:48:00', 'average_wpm': 140.09835117153602}, {'speech.earliest_timestamp': '14:08:00', 'average_wpm': 154.37826893875484}, {'speech.earliest_timestamp': '14:28:00', 'average_wpm': 165.6070708636998}, {'speech.earliest_timestamp': '14:38:00', 'average_wpm': 162.36269133338254}, {'speech.earliest_timestamp': '14:58:00', 'average_wpm': 175.8412156923554}, {'speech.earliest_timestamp': '15:08:00', 'average_wpm': 166.35407322841067}, {'speech.earliest_timestamp': '15:18:00', 'average_wpm': 155.87698356972334}, {'speech.earliest_timestamp': '15:28:00', 'average_wpm': 164.44885799404173}, {'speech.earliest_timestamp': '15:38:00', 'average_wpm': 136.21565917980186}, {'speech.earliest_timestamp': '16:18:00', 'average_wpm': 157.53682171247584}, {'speech.earliest_timestamp': '16:38:00', 'average_wpm': 145.3038674033149}, {'speech.earliest_timestamp': '16:48:00', 'average_wpm': 174.36702560605926}, {'speech.earliest_timestamp': '16:58:00', 'average_wpm': 172.14250977532714}, {'speech.earliest_timestamp': '17:08:00', 'average_wpm': 181.54979644288355}, {'speech.earliest_timestamp': '17:18:00', 'average_wpm': 157.7944508333258}, {'speech.earliest_timestamp': '17:28:00', 'average_wpm': 174.13340664808337}, {'speech.earliest_timestamp': '17:38:00', 'average_wpm': 180.93744814692937}, {'speech.earliest_timestamp': '17:48:00', 'average_wpm': 108.08175518916276}, {'speech.earliest_timestamp': '18:08:00', 'average_wpm': 174.8878923766816}, {'speech.earliest_timestamp': '18:18:00', 'average_wpm': 161.55352480417753}, {'speech.earliest_timestamp': '18:28:00', 'average_wpm': 123.18382817435251}, {'speech.earliest_timestamp': '19:08:00', 'average_wpm': 192.19219219219218}, {'speech.earliest_timestamp': '19:18:00', 'average_wpm': 146.5439259298675}, {'speech.earliest_timestamp': '19:28:00', 'average_wpm': 167.80045351473922}, {'speech.earliest_timestamp': '20:38:00', 'average_wpm': 156.58654275442558}, {'speech.earliest_timestamp': '21:58:00', 'average_wpm': 189.63254593175853}, {'speech.earliest_timestamp': '22:38:00', 'average_wpm': 162.02260113325391}, {'speech.earliest_timestamp': '22:58:00', 'average_wpm': 186.91169878978036}, {'speech.earliest_timestamp': '23:18:00', 'average_wpm': 148.11606986091118}, {'speech.earliest_timestamp': '23:28:00', 'average_wpm': 139.46059544658493}, {'speech.earliest_timestamp': '23:38:00', 'average_wpm': 135.70973901973264}, {'speech.earliest_timestamp': '23:48:00', 'average_wpm': 156.3575572819353}] +[{'speech.earliest_timestamp': '12:48:00', 'average_wpm': 161.34031413612567}] +---------------------------+--------------------+ | speech.earliest_timestamp | average_wpm | +---------------------------+--------------------+ -| 09:18:00 | 164.11680742063112 | -| 09:28:00 | 129.36363728644952 | -| 09:38:00 | 155.39009388151504 | -| 09:48:00 | 152.7478361903574 | -| 09:58:00 | 165.18550043565887 | -| 10:08:00 | 144.47282013863554 | -| 10:18:00 | 169.15814319433517 | -| 10:28:00 | 146.55715833517496 | -| 10:38:00 | 158.9193022118747 | -| 10:48:00 | 168.05042809371233 | -| 10:58:00 | 146.2948280005757 | -| 11:08:00 | 175.516693163752 | -| 11:58:00 | 179.42122186495178 | -| 12:18:00 | 168.16277678037102 | -| 12:28:00 | 156.29386991109033 | -| 13:38:00 | 177.40384615384616 | -| 13:48:00 | 140.09835117153602 | -| 14:08:00 | 154.37826893875484 | -| 14:28:00 | 165.6070708636998 | -| 14:38:00 | 162.36269133338254 | -| 14:58:00 | 175.8412156923554 | -| 15:08:00 | 166.35407322841067 | -| 15:18:00 | 155.87698356972334 | -| 15:28:00 | 164.44885799404173 | -| 15:38:00 | 136.21565917980186 | -| 16:18:00 | 157.53682171247584 | -| 16:38:00 | 145.3038674033149 | -| 16:48:00 | 174.36702560605926 | -| 16:58:00 | 172.14250977532714 | -| 17:08:00 | 181.54979644288355 | -| 17:18:00 | 157.7944508333258 | -| 17:28:00 | 174.13340664808337 | -| 17:38:00 | 180.93744814692937 | -| 17:48:00 | 108.08175518916276 | -| 18:08:00 | 174.8878923766816 | -| 18:18:00 | 161.55352480417753 | -| 18:28:00 | 123.18382817435251 | -| 19:08:00 | 192.19219219219218 | -| 19:18:00 | 146.5439259298675 | -| 19:28:00 | 167.80045351473922 | -| 20:38:00 | 156.58654275442558 | -| 21:58:00 | 189.63254593175853 | -| 22:38:00 | 162.02260113325391 | -| 22:58:00 | 186.91169878978036 | -| 23:18:00 | 148.11606986091118 | -| 23:28:00 | 139.46059544658493 | -| 23:38:00 | 135.70973901973264 | -| 23:48:00 | 156.3575572819353 | +| 12:48:00 | 161.34031413612567 | +---------------------------+--------------------+ diff --git a/test/API/examples/actual/fastest_speaking_speakers_result.txt b/test/API/examples/actual/fastest_speaking_speakers_result.txt index 0174c92..ef4348c 100644 --- a/test/API/examples/actual/fastest_speaking_speakers_result.txt +++ b/test/API/examples/actual/fastest_speaking_speakers_result.txt @@ -1,16 +1,16 @@ -[{'speech.person_id': 'HubertLang.1969', 'average_wpm': 161.41698165379296}, {'speech.person_id': 'PavelBlazek.1969', 'average_wpm': 158.97911562369416}, {'speech.person_id': 'PetrDolinek.1981', 'average_wpm': 158.30039783796744}, {'speech.person_id': 'OndrejVesely.1976', 'average_wpm': 158.10500409292203}, {'speech.person_id': 'BronislavSchwarz.1966', 'average_wpm': 157.14088727252556}, {'speech.person_id': 'LukasWagenknecht', 'average_wpm': 155.23762539056077}, {'speech.person_id': 'JaroslavBzoch.1983', 'average_wpm': 152.54676361269722}, {'speech.person_id': 'IvanAdamec.1960', 'average_wpm': 151.1822576897536}, {'speech.person_id': 'MikulasPeksa.1986', 'average_wpm': 151.1454368990201}, {'speech.person_id': 'JaroslavMartinu.1959', 'average_wpm': 150.94729800606635}] +[{'speech.person_id': 'BronislavSchwarz.1966', 'average_wpm': 161.34031413612567}, {'speech.person_id': 'LukasKolarik.1984', 'average_wpm': 155.80850204389782}, {'speech.person_id': 'OndrejVesely.1976', 'average_wpm': 151.81583647549118}, {'speech.person_id': 'PavelBlazek.1969', 'average_wpm': 149.77964855666076}, {'speech.person_id': 'MilanChovanec.1970', 'average_wpm': 149.25437760129654}, {'speech.person_id': 'MarianJurecka.1981', 'average_wpm': 147.04994388205515}, {'speech.person_id': 'RobertPlaga.1978', 'average_wpm': 145.44581783271332}, {'speech.person_id': 'MarcelChladek', 'average_wpm': 145.00501169395255}, {'speech.person_id': 'MiloslavJanulik.1962', 'average_wpm': 143.10080192959902}, {'speech.person_id': 'MartinKolovratnik.1975', 'average_wpm': 142.27168366868392}] -+-----------------------+--------------------+ -| speech.person_id | average_wpm | -+-----------------------+--------------------+ -| HubertLang.1969 | 161.41698165379296 | -| PavelBlazek.1969 | 158.97911562369416 | -| PetrDolinek.1981 | 158.30039783796744 | -| OndrejVesely.1976 | 158.10500409292203 | -| BronislavSchwarz.1966 | 157.14088727252556 | -| LukasWagenknecht | 155.23762539056077 | -| JaroslavBzoch.1983 | 152.54676361269722 | -| IvanAdamec.1960 | 151.1822576897536 | -| MikulasPeksa.1986 | 151.1454368990201 | -| JaroslavMartinu.1959 | 150.94729800606635 | -+-----------------------+--------------------+ ++------------------------+--------------------+ +| speech.person_id | average_wpm | ++------------------------+--------------------+ +| BronislavSchwarz.1966 | 161.34031413612567 | +| LukasKolarik.1984 | 155.80850204389782 | +| OndrejVesely.1976 | 151.81583647549118 | +| PavelBlazek.1969 | 149.77964855666076 | +| MilanChovanec.1970 | 149.25437760129654 | +| MarianJurecka.1981 | 147.04994388205515 | +| RobertPlaga.1978 | 145.44581783271332 | +| MarcelChladek | 145.00501169395255 | +| MiloslavJanulik.1962 | 143.10080192959902 | +| MartinKolovratnik.1975 | 142.27168366868392 | ++------------------------+--------------------+ diff --git a/test/API/examples/actual/gender_average_tokens_result.txt b/test/API/examples/actual/gender_average_tokens_result.txt index 8afded1..a4a854d 100644 --- a/test/API/examples/actual/gender_average_tokens_result.txt +++ b/test/API/examples/actual/gender_average_tokens_result.txt @@ -1,9 +1,9 @@ -[{'person.sex': '', 'average_tokens': 479.80645161290323}, {'person.sex': 'M', 'average_tokens': 155.81989557910347}, {'person.sex': 'F', 'average_tokens': 171.8917569422139}] +[{'person.sex': '', 'average_tokens': 1335.3333333333333}, {'person.sex': 'M', 'average_tokens': 325.23359818388195}, {'person.sex': 'F', 'average_tokens': 245.54014029618082}] +------------+--------------------+ | person.sex | average_tokens | +------------+--------------------+ -| | 479.80645161290323 | -| M | 155.81989557910347 | -| F | 171.8917569422139 | +| | 1335.3333333333333 | +| M | 325.23359818388195 | +| F | 245.54014029618082 | +------------+--------------------+ diff --git a/test/API/examples/actual/gender_total_speeches_result.txt b/test/API/examples/actual/gender_total_speeches_result.txt index 7ac083e..1e68170 100644 --- a/test/API/examples/actual/gender_total_speeches_result.txt +++ b/test/API/examples/actual/gender_total_speeches_result.txt @@ -1,9 +1,9 @@ -[{'person.sex': '', 'total_speeches': 93}, {'person.sex': 'M', 'total_speeches': 161845}, {'person.sex': 'F', 'total_speeches': 34247}] +[{'person.sex': '', 'total_speeches': 3}, {'person.sex': 'M', 'total_speeches': 4405}, {'person.sex': 'F', 'total_speeches': 1283}] +------------+----------------+ | person.sex | total_speeches | +------------+----------------+ -| | 93 | -| M | 161845 | -| F | 34247 | +| | 3 | +| M | 4405 | +| F | 1283 | +------------+----------------+ diff --git a/test/API/examples/actual/most_speeches_male_result.txt b/test/API/examples/actual/most_speeches_male_result.txt index fe26f24..a6160e6 100644 --- a/test/API/examples/actual/most_speeches_male_result.txt +++ b/test/API/examples/actual/most_speeches_male_result.txt @@ -1,16 +1,16 @@ -[{'person.person_id': 'VojtechFilip.1955', 'total_speeches': 18681}, {'person.person_id': 'JanBartosek.1971', 'total_speeches': 11598}, {'person.person_id': 'PetrGazdik.1974', 'total_speeches': 10010}, {'person.person_id': 'RadekVondracek.1973', 'total_speeches': 9423}, {'person.person_id': 'TomioOkamura.1972', 'total_speeches': 8665}, {'person.person_id': 'PetrFiala.1964', 'total_speeches': 7939}, {'person.person_id': 'VojtechPikal.1987', 'total_speeches': 7874}, {'person.person_id': 'JanHamacek.1978', 'total_speeches': 7812}, {'person.person_id': 'TomasHanzel.1975', 'total_speeches': 5134}, {'person.person_id': 'ZbynekStanjura.1964', 'total_speeches': 3842}] +[{'person.person_id': 'RadekVondracek.1973', 'total_speeches': 769}, {'person.person_id': 'JanHamacek.1978', 'total_speeches': 587}, {'person.person_id': 'TomioOkamura.1972', 'total_speeches': 303}, {'person.person_id': 'JanBartosek.1971', 'total_speeches': 287}, {'person.person_id': 'VojtechFilip.1955', 'total_speeches': 262}, {'person.person_id': 'MiroslavKalousek.1960', 'total_speeches': 160}, {'person.person_id': 'ZbynekStanjura.1964', 'total_speeches': 127}, {'person.person_id': 'PetrFiala.1964', 'total_speeches': 126}, {'person.person_id': 'JanSkopecek.1980', 'total_speeches': 119}, {'person.person_id': 'VojtechPikal.1987', 'total_speeches': 89}] -+---------------------+----------------+ -| person.person_id | total_speeches | -+---------------------+----------------+ -| VojtechFilip.1955 | 18681 | -| JanBartosek.1971 | 11598 | -| PetrGazdik.1974 | 10010 | -| RadekVondracek.1973 | 9423 | -| TomioOkamura.1972 | 8665 | -| PetrFiala.1964 | 7939 | -| VojtechPikal.1987 | 7874 | -| JanHamacek.1978 | 7812 | -| TomasHanzel.1975 | 5134 | -| ZbynekStanjura.1964 | 3842 | -+---------------------+----------------+ ++-----------------------+----------------+ +| person.person_id | total_speeches | ++-----------------------+----------------+ +| RadekVondracek.1973 | 769 | +| JanHamacek.1978 | 587 | +| TomioOkamura.1972 | 303 | +| JanBartosek.1971 | 287 | +| VojtechFilip.1955 | 262 | +| MiroslavKalousek.1960 | 160 | +| ZbynekStanjura.1964 | 127 | +| PetrFiala.1964 | 126 | +| JanSkopecek.1980 | 119 | +| VojtechPikal.1987 | 89 | ++-----------------------+----------------+ diff --git a/test/API/examples/actual/most_talkative_regulars_result.txt b/test/API/examples/actual/most_talkative_regulars_result.txt index ba0f995..edd0720 100644 --- a/test/API/examples/actual/most_talkative_regulars_result.txt +++ b/test/API/examples/actual/most_talkative_regulars_result.txt @@ -1,16 +1,16 @@ -[{'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_tokens': 15869}, {'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_tokens': 3494}, {'persName.forename': 'Adam', 'persName.surname': 'Vojtěch', 'total_tokens': 187216}, {'persName.forename': 'Adolf', 'persName.surname': 'Beznoska', 'total_tokens': 41522}, {'persName.forename': 'Alena', 'persName.surname': 'Gajdůšková', 'total_tokens': 78796}, {'persName.forename': 'Alena', 'persName.surname': 'Nohavová', 'total_tokens': 17614}, {'persName.forename': 'Alena', 'persName.surname': 'Schillerová', 'total_tokens': 416524}, {'persName.forename': 'Aleš', 'persName.surname': 'Dufek', 'total_tokens': 4498}, {'persName.forename': 'Aleš', 'persName.surname': 'Juchelka', 'total_tokens': 134560}, {'persName.forename': 'Alexander', 'persName.surname': 'Černý', 'total_tokens': 20376}] +[{'persName.forename': 'Josef', 'persName.surname': 'Bělica', 'total_tokens': 307}, {'persName.forename': 'Alena', 'persName.surname': 'Gajdůšková', 'total_tokens': 65}, {'persName.forename': 'Antonín', 'persName.surname': 'Seďa', 'total_tokens': 117}, {'persName.forename': 'Věra', 'persName.surname': 'Adámková', 'total_tokens': 7310}, {'persName.forename': 'Vít', 'persName.surname': 'Vomáčka', 'total_tokens': 29}, {'persName.forename': 'Stanislav', 'persName.surname': 'Juránek', 'total_tokens': 89}, {'persName.forename': 'Robert', 'persName.surname': 'Stržínek', 'total_tokens': 653}, {'persName.forename': 'Petr', 'persName.surname': 'Třešňák', 'total_tokens': 227}, {'persName.forename': 'Jakub', 'persName.surname': 'Michálek', 'total_tokens': 11491}, {'persName.forename': 'Vladimíra', 'persName.surname': 'Lesenská', 'total_tokens': 1003}] +-------------------+------------------+--------------+ | persName.forename | persName.surname | total_tokens | +-------------------+------------------+--------------+ -| Adam | Kalous | 15869 | -| Adam | Rykala | 3494 | -| Adam | Vojtěch | 187216 | -| Adolf | Beznoska | 41522 | -| Alena | Gajdůšková | 78796 | -| Alena | Nohavová | 17614 | -| Alena | Schillerová | 416524 | -| Aleš | Dufek | 4498 | -| Aleš | Juchelka | 134560 | -| Alexander | Černý | 20376 | +| Josef | Bělica | 307 | +| Alena | Gajdůšková | 65 | +| Antonín | Seďa | 117 | +| Věra | Adámková | 7310 | +| Vít | Vomáčka | 29 | +| Stanislav | Juránek | 89 | +| Robert | Stržínek | 653 | +| Petr | Třešňák | 227 | +| Jakub | Michálek | 11491 | +| Vladimíra | Lesenská | 1003 | +-------------------+------------------+--------------+ diff --git a/test/API/examples/actual/politician_comparisonCS_result.txt b/test/API/examples/actual/politician_comparisonCS_result.txt index 4e974e2..50c60c7 100644 --- a/test/API/examples/actual/politician_comparisonCS_result.txt +++ b/test/API/examples/actual/politician_comparisonCS_result.txt @@ -1,8 +1,8 @@ -[{'person.person_id': 'AdamKalous.1979', 'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_speeches': 79}, {'person.person_id': 'AdamRykala.1986', 'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_speeches': 29}] +[{'person.person_id': 'AdamKalous.1979', 'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_speeches': 0}, {'person.person_id': 'AdamRykala.1986', 'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_speeches': 0}] +------------------+-------------------+------------------+----------------+ | person.person_id | persName.forename | persName.surname | total_speeches | +------------------+-------------------+------------------+----------------+ -| AdamKalous.1979 | Adam | Kalous | 79 | -| AdamRykala.1986 | Adam | Rykala | 29 | +| AdamKalous.1979 | Adam | Kalous | 0 | +| AdamRykala.1986 | Adam | Rykala | 0 | +------------------+-------------------+------------------+----------------+ diff --git a/test/API/examples/actual/speech_count_parties_result.txt b/test/API/examples/actual/speech_count_parties_result.txt index 06ec3ec..89fc43b 100644 --- a/test/API/examples/actual/speech_count_parties_result.txt +++ b/test/API/examples/actual/speech_count_parties_result.txt @@ -1,27 +1,27 @@ -[{'organisation.name': 'Poslanecký klub ANO 2011', 'total_speeches': 36271}, {'organisation.name': 'Poslanecký klub České pirátské strany', 'total_speeches': 15221}, {'organisation.name': 'Poslanecký klub České strany sociálně demokratické', 'total_speeches': 32997}, {'organisation.name': 'Poslanecký klub KDU-ČSL', 'total_speeches': 16056}, {'organisation.name': 'Poslanecký klub Komunistické strany Čech a Moravy', 'total_speeches': 27412}, {'organisation.name': 'Poslanecký klub Občanské demokratické strany', 'total_speeches': 26465}, {'organisation.name': 'Poslanecký klub Starostové a nezávislí', 'total_speeches': 4196}, {'organisation.name': 'Poslanecký klub Svoboda a přímá demokracie', 'total_speeches': 9794}, {'organisation.name': 'Poslanecký klub TOP 09', 'total_speeches': 3954}, {'organisation.name': 'Poslanecký klub TOP 09 a Starostové', 'total_speeches': 18965}, {'organisation.name': 'Poslanecký klub Úsvit - Národní Koalice', 'total_speeches': 2756}, {'organisation.name': 'ANO2011', 'total_speeches': 5237}, {'organisation.name': 'Česká pirátská strana', 'total_speeches': 13217}, {'organisation.name': 'Česká strana sociálně demokratická', 'total_speeches': 22889}, {'organisation.name': 'Komunistická strana Čech a Moravy', 'total_speeches': 25605}, {'organisation.name': 'Křesťanská a demokratická unie - Československá strana lidová', 'total_speeches': 14224}, {'organisation.name': 'Občanská demokratická strana', 'total_speeches': 19823}, {'organisation.name': 'Starostove a nezavisli', 'total_speeches': 1452}, {'organisation.name': 'Svoboda a prima demokracie - Tomio Okamura', 'total_speeches': 1161}, {'organisation.name': 'TOP 09', 'total_speeches': 18465}, {'organisation.name': 'Úsvit přímé demokracie Tomia Okamury', 'total_speeches': 2526}] +[{'organisation.name': 'Poslanecký klub Úsvit - Národní Koalice', 'total_speeches': 105}, {'organisation.name': 'Úsvit přímé demokracie Tomia Okamury', 'total_speeches': 114}, {'organisation.name': 'Poslanecký klub České pirátské strany', 'total_speeches': 294}, {'organisation.name': 'Poslanecký klub Komunistické strany Čech a Moravy', 'total_speeches': 468}, {'organisation.name': 'Svoboda a prima demokracie - Tomio Okamura', 'total_speeches': 29}, {'organisation.name': 'Křesťanská a demokratická unie - Československá strana lidová', 'total_speeches': 253}, {'organisation.name': 'Česká strana sociálně demokratická', 'total_speeches': 735}, {'organisation.name': 'Poslanecký klub Starostové a nezávislí', 'total_speeches': 293}, {'organisation.name': 'Poslanecký klub TOP 09 a Starostové', 'total_speeches': 415}, {'organisation.name': 'Poslanecký klub Svoboda a přímá demokracie', 'total_speeches': 161}, {'organisation.name': 'Česká pirátská strana', 'total_speeches': 227}, {'organisation.name': 'Poslanecký klub Občanské demokratické strany', 'total_speeches': 550}, {'organisation.name': 'Poslanecký klub TOP 09', 'total_speeches': 197}, {'organisation.name': 'Občanská demokratická strana', 'total_speeches': 367}, {'organisation.name': 'Poslanecký klub ANO 2011', 'total_speeches': 1101}, {'organisation.name': 'TOP 09', 'total_speeches': 392}, {'organisation.name': 'Poslanecký klub České strany sociálně demokratické', 'total_speeches': 1362}, {'organisation.name': 'Poslanecký klub KDU-ČSL', 'total_speeches': 353}, {'organisation.name': 'Starostove a nezavisli', 'total_speeches': 45}, {'organisation.name': 'ANO2011', 'total_speeches': 25}, {'organisation.name': 'Komunistická strana Čech a Moravy', 'total_speeches': 399}] +---------------------------------------------------------------+----------------+ | organisation.name | total_speeches | +---------------------------------------------------------------+----------------+ -| Poslanecký klub ANO 2011 | 36271 | -| Poslanecký klub České pirátské strany | 15221 | -| Poslanecký klub České strany sociálně demokratické | 32997 | -| Poslanecký klub KDU-ČSL | 16056 | -| Poslanecký klub Komunistické strany Čech a Moravy | 27412 | -| Poslanecký klub Občanské demokratické strany | 26465 | -| Poslanecký klub Starostové a nezávislí | 4196 | -| Poslanecký klub Svoboda a přímá demokracie | 9794 | -| Poslanecký klub TOP 09 | 3954 | -| Poslanecký klub TOP 09 a Starostové | 18965 | -| Poslanecký klub Úsvit - Národní Koalice | 2756 | -| ANO2011 | 5237 | -| Česká pirátská strana | 13217 | -| Česká strana sociálně demokratická | 22889 | -| Komunistická strana Čech a Moravy | 25605 | -| Křesťanská a demokratická unie - Československá strana lidová | 14224 | -| Občanská demokratická strana | 19823 | -| Starostove a nezavisli | 1452 | -| Svoboda a prima demokracie - Tomio Okamura | 1161 | -| TOP 09 | 18465 | -| Úsvit přímé demokracie Tomia Okamury | 2526 | +| Poslanecký klub Úsvit - Národní Koalice | 105 | +| Úsvit přímé demokracie Tomia Okamury | 114 | +| Poslanecký klub České pirátské strany | 294 | +| Poslanecký klub Komunistické strany Čech a Moravy | 468 | +| Svoboda a prima demokracie - Tomio Okamura | 29 | +| Křesťanská a demokratická unie - Československá strana lidová | 253 | +| Česká strana sociálně demokratická | 735 | +| Poslanecký klub Starostové a nezávislí | 293 | +| Poslanecký klub TOP 09 a Starostové | 415 | +| Poslanecký klub Svoboda a přímá demokracie | 161 | +| Česká pirátská strana | 227 | +| Poslanecký klub Občanské demokratické strany | 550 | +| Poslanecký klub TOP 09 | 197 | +| Občanská demokratická strana | 367 | +| Poslanecký klub ANO 2011 | 1101 | +| TOP 09 | 392 | +| Poslanecký klub České strany sociálně demokratické | 1362 | +| Poslanecký klub KDU-ČSL | 353 | +| Starostove a nezavisli | 45 | +| ANO2011 | 25 | +| Komunistická strana Čech a Moravy | 399 | +---------------------------------------------------------------+----------------+ diff --git a/test/API/examples/actual/total_duration_of_speeches_given_by_ANO_members_ms_result.txt b/test/API/examples/actual/total_duration_of_speeches_given_by_ANO_members_ms_result.txt index 72b61a3..fbd46c9 100644 --- a/test/API/examples/actual/total_duration_of_speeches_given_by_ANO_members_ms_result.txt +++ b/test/API/examples/actual/total_duration_of_speeches_given_by_ANO_members_ms_result.txt @@ -1,127 +1,45 @@ -[{'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'total_duration_ms': 3854961400.0}, {'affiliation.person_id': 'RadekVondracek.1973', 'total_duration_ms': 2499316000.0}, {'affiliation.person_id': 'AndrejBabis.1954', 'total_duration_ms': 1240812000.0}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'total_duration_ms': 1167449900.0}, {'affiliation.person_id': 'HelenaValkova.1951', 'total_duration_ms': 1036069000.0}, {'affiliation.person_id': 'PatrikNacher.1974', 'total_duration_ms': 967494900.0}, {'affiliation.person_id': 'JanaPastuchova.1965', 'total_duration_ms': 665546100.0}, {'affiliation.person_id': 'BohuslavChalupa.1960', 'total_duration_ms': 586295900.0}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'total_duration_ms': 477131840.0}, {'affiliation.person_id': 'KarelRais.1949', 'total_duration_ms': 471537400.0}, {'affiliation.person_id': 'RadkaMaxova.1968', 'total_duration_ms': 457603580.0}, {'affiliation.person_id': 'RichardBrabec.1966', 'total_duration_ms': 448263740.0}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'total_duration_ms': 440943870.0}, {'affiliation.person_id': 'JanVolny.1959', 'total_duration_ms': 433108600.0}, {'affiliation.person_id': 'JosefHajek.1956', 'total_duration_ms': 417401150.0}, {'affiliation.person_id': 'AdamVojtech.1986', 'total_duration_ms': 406686400.0}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'total_duration_ms': 320994560.0}, {'affiliation.person_id': 'JosefKott.1970', 'total_duration_ms': 317592500.0}, {'affiliation.person_id': 'JiriBlaha.1961', 'total_duration_ms': 315286880.0}, {'affiliation.person_id': 'IvanaDobesova.1960', 'total_duration_ms': 313974140.0}, {'affiliation.person_id': 'JiriZlatuska.1957', 'total_duration_ms': 312397800.0}, {'affiliation.person_id': 'PavelPlzak.1960', 'total_duration_ms': 311203140.0}, {'affiliation.person_id': 'MarekNovak.1976', 'total_duration_ms': 229400540.0}, {'affiliation.person_id': 'RostislavVyzula.1952', 'total_duration_ms': 228832610.0}, {'affiliation.person_id': 'PavelJuricek.1956', 'total_duration_ms': 210307010.0}, {'affiliation.person_id': 'DavidKasal.1969', 'total_duration_ms': 208956820.0}, {'affiliation.person_id': 'KarelHavlicek.1969', 'total_duration_ms': 208694130.0}, {'affiliation.person_id': 'MartinStropnicky.1956', 'total_duration_ms': 202414590.0}, {'affiliation.person_id': 'KristynaZelienkova.1974', 'total_duration_ms': 186925500.0}, {'affiliation.person_id': 'KlaraDostalova.1971', 'total_duration_ms': 185812820.0}, {'affiliation.person_id': 'DanTok.1959', 'total_duration_ms': 174332930.0}, {'affiliation.person_id': 'RomanKubicek.1963', 'total_duration_ms': 168781500.0}, {'affiliation.person_id': 'IvanPilny.1944', 'total_duration_ms': 162731200.0}, {'affiliation.person_id': 'VeraAdamkova.1954', 'total_duration_ms': 159045890.0}, {'affiliation.person_id': 'JiriMasek.1958', 'total_duration_ms': 151366160.0}, {'affiliation.person_id': 'MatejFichtner.1984', 'total_duration_ms': 147749310.0}, {'affiliation.person_id': 'AdamKalous.1979', 'total_duration_ms': 146458700.0}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'total_duration_ms': 145814050.0}, {'affiliation.person_id': 'EvaFialova.1982', 'total_duration_ms': 136329360.0}, {'affiliation.person_id': 'RomanProchazka.1968', 'total_duration_ms': 135852450.0}, {'affiliation.person_id': 'MartinKomarek.1961', 'total_duration_ms': 134901660.0}, {'affiliation.person_id': 'ZuzanaOzanova.1970', 'total_duration_ms': 125285230.0}, {'affiliation.person_id': 'MilanBrazdil.1962', 'total_duration_ms': 121230670.0}, {'affiliation.person_id': 'VeraProchazkova.1954', 'total_duration_ms': 112981496.0}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'total_duration_ms': 112201616.0}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'total_duration_ms': 110138680.0}, {'affiliation.person_id': 'MargitaBalastikova.1967', 'total_duration_ms': 108885064.0}, {'affiliation.person_id': 'JanaLorencova.1940', 'total_duration_ms': 108006770.0}, {'affiliation.person_id': 'MilanFeranec.1964', 'total_duration_ms': 106471570.0}, {'affiliation.person_id': 'LenkaDrazilova.1963', 'total_duration_ms': 100392510.0}, {'affiliation.person_id': 'KamalFarhan.1969', 'total_duration_ms': 91505384.0}, {'affiliation.person_id': 'JiriStrycek.1959', 'total_duration_ms': 89151010.0}, {'affiliation.person_id': 'RobertPelikan.1979', 'total_duration_ms': 88198696.0}, {'affiliation.person_id': 'KarlaSlechtova.1977', 'total_duration_ms': 81776690.0}, {'affiliation.person_id': 'AlesJuchelka.1976', 'total_duration_ms': 79842624.0}, {'affiliation.person_id': 'JanRehounek.1974', 'total_duration_ms': 78260064.0}, {'affiliation.person_id': 'MartinaBerdychova.1971', 'total_duration_ms': 75258760.0}, {'affiliation.person_id': 'StanislavBerkovec.1956', 'total_duration_ms': 74264390.0}, {'affiliation.person_id': 'PavelRuzicka.1970', 'total_duration_ms': 72850250.0}, {'affiliation.person_id': 'PavelSramek.1965', 'total_duration_ms': 70504530.0}, {'affiliation.person_id': 'BarboraKoranova.1984', 'total_duration_ms': 69507920.0}, {'affiliation.person_id': 'PavelPustejovsky.1972', 'total_duration_ms': 63083672.0}, {'affiliation.person_id': 'JanSchiller.1972', 'total_duration_ms': 61050000.0}, {'affiliation.person_id': 'VlastimilVozka.1954', 'total_duration_ms': 59393652.0}, {'affiliation.person_id': 'MilanPour.1965', 'total_duration_ms': 59355252.0}, {'affiliation.person_id': 'TomasKohoutek.1983', 'total_duration_ms': 52332200.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'total_duration_ms': 50221260.0}, {'affiliation.person_id': 'JaroslavKytyr.1963', 'total_duration_ms': 49535360.0}, {'affiliation.person_id': 'IgorNykl.1963', 'total_duration_ms': 46315080.0}, {'affiliation.person_id': 'MonikaOborna.1989', 'total_duration_ms': 43204740.0}, {'affiliation.person_id': 'KarelTurecek.1971', 'total_duration_ms': 41765660.0}, {'affiliation.person_id': 'MichalRatiborsky.1981', 'total_duration_ms': 40023100.0}, {'affiliation.person_id': 'MonikaCervickova.1967', 'total_duration_ms': 39982512.0}, {'affiliation.person_id': 'MilanHnilicka.1973', 'total_duration_ms': 39800692.0}, {'affiliation.person_id': 'IvoVondrak.1959', 'total_duration_ms': 39209140.0}, {'affiliation.person_id': 'JanKubik.1978', 'total_duration_ms': 34374528.0}, {'affiliation.person_id': 'OndrejBabka.1994', 'total_duration_ms': 33488320.0}, {'affiliation.person_id': 'LadislavOklestek.1961', 'total_duration_ms': 33466510.0}, {'affiliation.person_id': 'LubomirMetnar.1967', 'total_duration_ms': 33034440.0}, {'affiliation.person_id': 'JiriHolecek.1972', 'total_duration_ms': 31034740.0}, {'affiliation.person_id': 'RadekZlesak.1983', 'total_duration_ms': 29361500.0}, {'affiliation.person_id': 'MilosBabis.1960', 'total_duration_ms': 28280690.0}, {'affiliation.person_id': 'VeraJourova.1964', 'total_duration_ms': 28247370.0}, {'affiliation.person_id': 'ZuzanaSanova.1959', 'total_duration_ms': 27561630.0}, {'affiliation.person_id': 'MartinSedlar.1972', 'total_duration_ms': 26622610.0}, {'affiliation.person_id': 'BerenikaPestova.1971', 'total_duration_ms': 25864630.0}, {'affiliation.person_id': 'PetrSadovsky.1969', 'total_duration_ms': 21566400.0}, {'affiliation.person_id': 'MarcelaMelkova.1971', 'total_duration_ms': 20428280.0}, {'affiliation.person_id': 'RobertKralicek.1977', 'total_duration_ms': 20390110.0}, {'affiliation.person_id': 'PavelCihak.1960', 'total_duration_ms': 19931130.0}, {'affiliation.person_id': 'AndreaBrzobohata.1971', 'total_duration_ms': 18564200.0}, {'affiliation.person_id': 'TatanaMala.1981', 'total_duration_ms': 18501230.0}, {'affiliation.person_id': 'JosefVozdecky.1945', 'total_duration_ms': 18042710.0}, {'affiliation.person_id': 'MiloslavaRutova.1947', 'total_duration_ms': 17700590.0}, {'affiliation.person_id': 'PavelStanek.1967', 'total_duration_ms': 16085600.0}, {'affiliation.person_id': 'StanislavFridrich.1956', 'total_duration_ms': 14861700.0}, {'affiliation.person_id': 'DavidPrazak.1979', 'total_duration_ms': 14049650.0}, {'affiliation.person_id': 'JanRichter.1967', 'total_duration_ms': 12302890.0}, {'affiliation.person_id': 'StanislavPfleger.1958', 'total_duration_ms': 12036550.0}, {'affiliation.person_id': 'JosefBelica.1978', 'total_duration_ms': 11558920.0}, {'affiliation.person_id': 'JuliusSpicak.1952', 'total_duration_ms': 9906850.0}, {'affiliation.person_id': 'FrantisekPetrtyl.1959', 'total_duration_ms': 7866530.0}, {'affiliation.person_id': 'IvanaMadlova.1966', 'total_duration_ms': 7462250.0}, {'affiliation.person_id': 'IvaKalatova.1962', 'total_duration_ms': 6750950.0}, {'affiliation.person_id': 'PetrVrana.1975', 'total_duration_ms': 5289360.0}, {'affiliation.person_id': 'EvaMatyasova.1959', 'total_duration_ms': 4564250.0}, {'affiliation.person_id': 'PetrVenhoda.1986', 'total_duration_ms': 4563480.0}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'total_duration_ms': 3518970.0}, {'affiliation.person_id': 'JaroslavaPuntova.1957', 'total_duration_ms': 2442950.0}, {'affiliation.person_id': 'AndreaBabisova.1972', 'total_duration_ms': 2352130.0}, {'affiliation.person_id': 'PavelVolcik.1950', 'total_duration_ms': 2311600.0}, {'affiliation.person_id': 'JanSedlacek.1979', 'total_duration_ms': 1290400.0}, {'affiliation.person_id': 'DavidStolpa.1983', 'total_duration_ms': 1244640.0}, {'affiliation.person_id': 'RomanaFischerova.1969', 'total_duration_ms': 1000610.0}, {'affiliation.person_id': 'PremyslMalis.1980', 'total_duration_ms': 902250.0}, {'affiliation.person_id': 'IrenaBlazkova.1969', 'total_duration_ms': 656460.0}, {'affiliation.person_id': 'IvanJac.1956', 'total_duration_ms': 561000.0}, {'affiliation.person_id': 'JiriHlavaty.1948', 'total_duration_ms': 391500.0}, {'affiliation.person_id': 'RobertStrzinek.1968', 'total_duration_ms': 347110.0}, {'affiliation.person_id': 'RadimHolis.1975', 'total_duration_ms': 209080.0}, {'affiliation.person_id': 'RenataOulehlova.1968', 'total_duration_ms': 95710.0}] +[{'affiliation.person_id': 'RadekVondracek.1973', 'total_duration_ms': 291840000.0}, {'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'total_duration_ms': 137331790.0}, {'affiliation.person_id': 'AndrejBabis.1954', 'total_duration_ms': 95323344.0}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'total_duration_ms': 62572336.0}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'total_duration_ms': 39024576.0}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'total_duration_ms': 27244690.0}, {'affiliation.person_id': 'KarelHavlicek.1969', 'total_duration_ms': 15647360.0}, {'affiliation.person_id': 'AdamVojtech.1986', 'total_duration_ms': 13979280.0}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'total_duration_ms': 11743220.0}, {'affiliation.person_id': 'RichardBrabec.1966', 'total_duration_ms': 10657070.0}, {'affiliation.person_id': 'KlaraDostalova.1971', 'total_duration_ms': 8251750.0}, {'affiliation.person_id': 'HelenaValkova.1951', 'total_duration_ms': 4230210.0}, {'affiliation.person_id': 'JanVolny.1959', 'total_duration_ms': 3914380.0}, {'affiliation.person_id': 'JosefKott.1970', 'total_duration_ms': 3703800.0}, {'affiliation.person_id': 'DanTok.1959', 'total_duration_ms': 3655100.0}, {'affiliation.person_id': 'MartinStropnicky.1956', 'total_duration_ms': 3646530.0}, {'affiliation.person_id': 'VeraJourova.1964', 'total_duration_ms': 3494370.0}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'total_duration_ms': 3380260.0}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'total_duration_ms': 3342500.0}, {'affiliation.person_id': 'MarekNovak.1976', 'total_duration_ms': 3037740.0}, {'affiliation.person_id': 'JiriZlatuska.1957', 'total_duration_ms': 2756800.0}, {'affiliation.person_id': 'JiriBlaha.1961', 'total_duration_ms': 2298300.0}, {'affiliation.person_id': 'PatrikNacher.1974', 'total_duration_ms': 1891340.0}, {'affiliation.person_id': 'RobertPelikan.1979', 'total_duration_ms': 1476220.0}, {'affiliation.person_id': 'RadkaMaxova.1968', 'total_duration_ms': 1434500.0}, {'affiliation.person_id': 'MilanBrazdil.1962', 'total_duration_ms': 1387340.0}, {'affiliation.person_id': 'LubomirMetnar.1967', 'total_duration_ms': 1017200.0}, {'affiliation.person_id': 'MatejFichtner.1984', 'total_duration_ms': 917380.0}, {'affiliation.person_id': 'JosefHajek.1956', 'total_duration_ms': 893160.0}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'total_duration_ms': 788900.0}, {'affiliation.person_id': 'RomanKubicek.1963', 'total_duration_ms': 732260.0}, {'affiliation.person_id': 'BerenikaPestova.1971', 'total_duration_ms': 478290.0}, {'affiliation.person_id': 'RobertKralicek.1977', 'total_duration_ms': 414070.0}, {'affiliation.person_id': 'PetrVrana.1975', 'total_duration_ms': 244040.0}, {'affiliation.person_id': 'DavidKasal.1969', 'total_duration_ms': 150220.0}, {'affiliation.person_id': 'OndrejBabka.1994', 'total_duration_ms': 108290.0}, {'affiliation.person_id': 'IvoVondrak.1959', 'total_duration_ms': 18300.0}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'total_duration_ms': 0.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'total_duration_ms': 0.0}] +--------------------------------+-------------------+ | affiliation.person_id | total_duration_ms | +--------------------------------+-------------------+ -| JaroslavaPokornaJermanova.1970 | 3854961400.0 | -| RadekVondracek.1973 | 2499316000.0 | -| AndrejBabis.1954 | 1240812000.0 | -| MartinKolovratnik.1975 | 1167449900.0 | -| HelenaValkova.1951 | 1036069000.0 | -| PatrikNacher.1974 | 967494900.0 | -| JanaPastuchova.1965 | 665546100.0 | -| BohuslavChalupa.1960 | 586295900.0 | -| JaroslavFaltynek.1962 | 477131840.0 | -| KarelRais.1949 | 471537400.0 | -| RadkaMaxova.1968 | 457603580.0 | -| RichardBrabec.1966 | 448263740.0 | -| AlenaSchillerova.1964 | 440943870.0 | -| JanVolny.1959 | 433108600.0 | -| JosefHajek.1956 | 417401150.0 | -| AdamVojtech.1986 | 406686400.0 | -| JanaMrackovaVildumetzova.1973 | 320994560.0 | -| JosefKott.1970 | 317592500.0 | -| JiriBlaha.1961 | 315286880.0 | -| IvanaDobesova.1960 | 313974140.0 | -| JiriZlatuska.1957 | 312397800.0 | -| PavelPlzak.1960 | 311203140.0 | -| MarekNovak.1976 | 229400540.0 | -| RostislavVyzula.1952 | 228832610.0 | -| PavelJuricek.1956 | 210307010.0 | -| DavidKasal.1969 | 208956820.0 | -| KarelHavlicek.1969 | 208694130.0 | -| MartinStropnicky.1956 | 202414590.0 | -| KristynaZelienkova.1974 | 186925500.0 | -| KlaraDostalova.1971 | 185812820.0 | -| DanTok.1959 | 174332930.0 | -| RomanKubicek.1963 | 168781500.0 | -| IvanPilny.1944 | 162731200.0 | -| VeraAdamkova.1954 | 159045890.0 | -| JiriMasek.1958 | 151366160.0 | -| MatejFichtner.1984 | 147749310.0 | -| AdamKalous.1979 | 146458700.0 | -| ZdenekSoukup.1952 | 145814050.0 | -| EvaFialova.1982 | 136329360.0 | -| RomanProchazka.1968 | 135852450.0 | -| MartinKomarek.1961 | 134901660.0 | -| ZuzanaOzanova.1970 | 125285230.0 | -| MilanBrazdil.1962 | 121230670.0 | -| VeraProchazkova.1954 | 112981496.0 | -| BronislavSchwarz.1966 | 112201616.0 | -| MiloslavJanulik.1962 | 110138680.0 | -| MargitaBalastikova.1967 | 108885064.0 | -| JanaLorencova.1940 | 108006770.0 | -| MilanFeranec.1964 | 106471570.0 | -| LenkaDrazilova.1963 | 100392510.0 | -| KamalFarhan.1969 | 91505384.0 | -| JiriStrycek.1959 | 89151010.0 | -| RobertPelikan.1979 | 88198696.0 | -| KarlaSlechtova.1977 | 81776690.0 | -| AlesJuchelka.1976 | 79842624.0 | -| JanRehounek.1974 | 78260064.0 | -| MartinaBerdychova.1971 | 75258760.0 | -| StanislavBerkovec.1956 | 74264390.0 | -| PavelRuzicka.1970 | 72850250.0 | -| PavelSramek.1965 | 70504530.0 | -| BarboraKoranova.1984 | 69507920.0 | -| PavelPustejovsky.1972 | 63083672.0 | -| JanSchiller.1972 | 61050000.0 | -| VlastimilVozka.1954 | 59393652.0 | -| MilanPour.1965 | 59355252.0 | -| TomasKohoutek.1983 | 52332200.0 | -| JaroslavBzoch.1983 | 50221260.0 | -| JaroslavKytyr.1963 | 49535360.0 | -| IgorNykl.1963 | 46315080.0 | -| MonikaOborna.1989 | 43204740.0 | -| KarelTurecek.1971 | 41765660.0 | -| MichalRatiborsky.1981 | 40023100.0 | -| MonikaCervickova.1967 | 39982512.0 | -| MilanHnilicka.1973 | 39800692.0 | -| IvoVondrak.1959 | 39209140.0 | -| JanKubik.1978 | 34374528.0 | -| OndrejBabka.1994 | 33488320.0 | -| LadislavOklestek.1961 | 33466510.0 | -| LubomirMetnar.1967 | 33034440.0 | -| JiriHolecek.1972 | 31034740.0 | -| RadekZlesak.1983 | 29361500.0 | -| MilosBabis.1960 | 28280690.0 | -| VeraJourova.1964 | 28247370.0 | -| ZuzanaSanova.1959 | 27561630.0 | -| MartinSedlar.1972 | 26622610.0 | -| BerenikaPestova.1971 | 25864630.0 | -| PetrSadovsky.1969 | 21566400.0 | -| MarcelaMelkova.1971 | 20428280.0 | -| RobertKralicek.1977 | 20390110.0 | -| PavelCihak.1960 | 19931130.0 | -| AndreaBrzobohata.1971 | 18564200.0 | -| TatanaMala.1981 | 18501230.0 | -| JosefVozdecky.1945 | 18042710.0 | -| MiloslavaRutova.1947 | 17700590.0 | -| PavelStanek.1967 | 16085600.0 | -| StanislavFridrich.1956 | 14861700.0 | -| DavidPrazak.1979 | 14049650.0 | -| JanRichter.1967 | 12302890.0 | -| StanislavPfleger.1958 | 12036550.0 | -| JosefBelica.1978 | 11558920.0 | -| JuliusSpicak.1952 | 9906850.0 | -| FrantisekPetrtyl.1959 | 7866530.0 | -| IvanaMadlova.1966 | 7462250.0 | -| IvaKalatova.1962 | 6750950.0 | -| PetrVrana.1975 | 5289360.0 | -| EvaMatyasova.1959 | 4564250.0 | -| PetrVenhoda.1986 | 4563480.0 | -| JanaHanzlikova.1966 | 3518970.0 | -| JaroslavaPuntova.1957 | 2442950.0 | -| AndreaBabisova.1972 | 2352130.0 | -| PavelVolcik.1950 | 2311600.0 | -| JanSedlacek.1979 | 1290400.0 | -| DavidStolpa.1983 | 1244640.0 | -| RomanaFischerova.1969 | 1000610.0 | -| PremyslMalis.1980 | 902250.0 | -| IrenaBlazkova.1969 | 656460.0 | -| IvanJac.1956 | 561000.0 | -| JiriHlavaty.1948 | 391500.0 | -| RobertStrzinek.1968 | 347110.0 | -| RadimHolis.1975 | 209080.0 | -| RenataOulehlova.1968 | 95710.0 | +| RadekVondracek.1973 | 291840000.0 | +| JaroslavaPokornaJermanova.1970 | 137331790.0 | +| AndrejBabis.1954 | 95323344.0 | +| JaroslavFaltynek.1962 | 62572336.0 | +| JanaMrackovaVildumetzova.1973 | 39024576.0 | +| AlenaSchillerova.1964 | 27244690.0 | +| KarelHavlicek.1969 | 15647360.0 | +| AdamVojtech.1986 | 13979280.0 | +| MartinKolovratnik.1975 | 11743220.0 | +| RichardBrabec.1966 | 10657070.0 | +| KlaraDostalova.1971 | 8251750.0 | +| HelenaValkova.1951 | 4230210.0 | +| JanVolny.1959 | 3914380.0 | +| JosefKott.1970 | 3703800.0 | +| DanTok.1959 | 3655100.0 | +| MartinStropnicky.1956 | 3646530.0 | +| VeraJourova.1964 | 3494370.0 | +| ZdenekSoukup.1952 | 3380260.0 | +| BronislavSchwarz.1966 | 3342500.0 | +| MarekNovak.1976 | 3037740.0 | +| JiriZlatuska.1957 | 2756800.0 | +| JiriBlaha.1961 | 2298300.0 | +| PatrikNacher.1974 | 1891340.0 | +| RobertPelikan.1979 | 1476220.0 | +| RadkaMaxova.1968 | 1434500.0 | +| MilanBrazdil.1962 | 1387340.0 | +| LubomirMetnar.1967 | 1017200.0 | +| MatejFichtner.1984 | 917380.0 | +| JosefHajek.1956 | 893160.0 | +| MiloslavJanulik.1962 | 788900.0 | +| RomanKubicek.1963 | 732260.0 | +| BerenikaPestova.1971 | 478290.0 | +| RobertKralicek.1977 | 414070.0 | +| PetrVrana.1975 | 244040.0 | +| DavidKasal.1969 | 150220.0 | +| OndrejBabka.1994 | 108290.0 | +| IvoVondrak.1959 | 18300.0 | +| JanaHanzlikova.1966 | 0.0 | +| JaroslavBzoch.1983 | 0.0 | +--------------------------------+-------------------+ diff --git a/test/API/examples/actual/total_sentences_female_result.txt b/test/API/examples/actual/total_sentences_female_result.txt index ac33d47..d472399 100644 --- a/test/API/examples/actual/total_sentences_female_result.txt +++ b/test/API/examples/actual/total_sentences_female_result.txt @@ -1,7 +1,7 @@ -[{'person.sex': 'F', 'total_sentences': 346909}] +[{'person.sex': 'F', 'total_sentences': 18642}] +------------+-----------------+ | person.sex | total_sentences | +------------+-----------------+ -| F | 346909 | +| F | 18642 | +------------+-----------------+ diff --git a/test/API/examples/actual/total_speeches_by_organisation_roles_result.txt b/test/API/examples/actual/total_speeches_by_organisation_roles_result.txt index 9e8493c..1dd41f7 100644 --- a/test/API/examples/actual/total_speeches_by_organisation_roles_result.txt +++ b/test/API/examples/actual/total_speeches_by_organisation_roles_result.txt @@ -1,19 +1,18 @@ -[{'organisation.role': 'interparliamentaryFriendshipGroup', 'COUNT(speech.id) as total_speeches': 993377}, {'organisation.role': 'committee', 'COUNT(speech.id) as total_speeches': 407840}, {'organisation.role': 'subcommittee', 'COUNT(speech.id) as total_speeches': 311298}, {'organisation.role': 'parliament', 'COUNT(speech.id) as total_speeches': 256168}, {'organisation.role': 'parliamentaryGroup', 'COUNT(speech.id) as total_speeches': 194087}, {'organisation.role': 'politicalParty', 'COUNT(speech.id) as total_speeches': 124599}, {'organisation.role': 'commission', 'COUNT(speech.id) as total_speeches': 123586}, {'organisation.role': 'delegation', 'COUNT(speech.id) as total_speeches': 28483}, {'organisation.role': 'government', 'COUNT(speech.id) as total_speeches': 23395}, {'organisation.role': 'supervisoryBoard', 'COUNT(speech.id) as total_speeches': 8226}, {'organisation.role': 'boardOfDirectors', 'COUNT(speech.id) as total_speeches': 3538}, {'organisation.role': 'institution', 'COUNT(speech.id) as total_speeches': 75}, {'organisation.role': 'republic', 'COUNT(speech.id) as total_speeches': 24}] +[{'organisation.role': 'interparliamentaryFriendshipGroup', 'COUNT(speech.id) as total_speeches': 17013}, {'organisation.role': 'committee', 'COUNT(speech.id) as total_speeches': 9380}, {'organisation.role': 'parliament', 'COUNT(speech.id) as total_speeches': 6220}, {'organisation.role': 'parliamentaryGroup', 'COUNT(speech.id) as total_speeches': 5299}, {'organisation.role': 'subcommittee', 'COUNT(speech.id) as total_speeches': 4803}, {'organisation.role': 'politicalParty', 'COUNT(speech.id) as total_speeches': 2586}, {'organisation.role': 'commission', 'COUNT(speech.id) as total_speeches': 1890}, {'organisation.role': 'delegation', 'COUNT(speech.id) as total_speeches': 1452}, {'organisation.role': 'government', 'COUNT(speech.id) as total_speeches': 383}, {'organisation.role': 'supervisoryBoard', 'COUNT(speech.id) as total_speeches': 201}, {'organisation.role': 'boardOfDirectors', 'COUNT(speech.id) as total_speeches': 14}, {'organisation.role': 'republic', 'COUNT(speech.id) as total_speeches': 4}] +-----------------------------------+------------------------------------+ | organisation.role | COUNT(speech.id) as total_speeches | +-----------------------------------+------------------------------------+ -| interparliamentaryFriendshipGroup | 993377 | -| committee | 407840 | -| subcommittee | 311298 | -| parliament | 256168 | -| parliamentaryGroup | 194087 | -| politicalParty | 124599 | -| commission | 123586 | -| delegation | 28483 | -| government | 23395 | -| supervisoryBoard | 8226 | -| boardOfDirectors | 3538 | -| institution | 75 | -| republic | 24 | +| interparliamentaryFriendshipGroup | 17013 | +| committee | 9380 | +| parliament | 6220 | +| parliamentaryGroup | 5299 | +| subcommittee | 4803 | +| politicalParty | 2586 | +| commission | 1890 | +| delegation | 1452 | +| government | 383 | +| supervisoryBoard | 201 | +| boardOfDirectors | 14 | +| republic | 4 | +-----------------------------------+------------------------------------+ diff --git a/test/API/examples/actual/total_speeches_male_time_frame_result.txt b/test/API/examples/actual/total_speeches_male_time_frame_result.txt index f5cee11..7554776 100644 --- a/test/API/examples/actual/total_speeches_male_time_frame_result.txt +++ b/test/API/examples/actual/total_speeches_male_time_frame_result.txt @@ -1,7 +1,7 @@ -[{'person.sex': 'M', 'total_speeches': 21517}] +[{'person.sex': 'M', 'total_speeches': 285}] +------------+----------------+ | person.sex | total_speeches | +------------+----------------+ -| M | 21517 | +| M | 285 | +------------+----------------+ diff --git a/test/API/examples/expected/average_named_entity_references_by_ANO_members_result.txt b/test/API/examples/expected/average_named_entity_references_by_ANO_members_result.txt index 2c69786..ddbbdab 100644 --- a/test/API/examples/expected/average_named_entity_references_by_ANO_members_result.txt +++ b/test/API/examples/expected/average_named_entity_references_by_ANO_members_result.txt @@ -1,127 +1,46 @@ -[{'affiliation.person_id': 'RobertStrzinek.1968', 'average_named_entity_references': 15.0}, {'affiliation.person_id': 'VeraJourova.1964', 'average_named_entity_references': 13.152380952380952}, {'affiliation.person_id': 'AndrejBabis.1954', 'average_named_entity_references': 12.828511151295961}, {'affiliation.person_id': 'RichardBrabec.1966', 'average_named_entity_references': 10.931332236842104}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'average_named_entity_references': 10.742249388753056}, {'affiliation.person_id': 'StanislavBerkovec.1956', 'average_named_entity_references': 10.710441334768568}, {'affiliation.person_id': 'MichalRatiborsky.1981', 'average_named_entity_references': 10.47887323943662}, {'affiliation.person_id': 'LubomirMetnar.1967', 'average_named_entity_references': 9.959677419354838}, {'affiliation.person_id': 'MatejFichtner.1984', 'average_named_entity_references': 9.924229808492923}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'average_named_entity_references': 9.827352085354025}, {'affiliation.person_id': 'TatanaMala.1981', 'average_named_entity_references': 9.61111111111111}, {'affiliation.person_id': 'PavelSramek.1965', 'average_named_entity_references': 9.543715846994536}, {'affiliation.person_id': 'KarlaSlechtova.1977', 'average_named_entity_references': 9.35924006908463}, {'affiliation.person_id': 'MilanPour.1965', 'average_named_entity_references': 9.21631205673759}, {'affiliation.person_id': 'JosefHajek.1956', 'average_named_entity_references': 9.17668583376895}, {'affiliation.person_id': 'MartinStropnicky.1956', 'average_named_entity_references': 9.12180889861415}, {'affiliation.person_id': 'RadimHolis.1975', 'average_named_entity_references': 9.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'average_named_entity_references': 8.650684931506849}, {'affiliation.person_id': 'AdamVojtech.1986', 'average_named_entity_references': 8.56401028277635}, {'affiliation.person_id': 'MilanHnilicka.1973', 'average_named_entity_references': 8.387543252595156}, {'affiliation.person_id': 'RomanaFischerova.1969', 'average_named_entity_references': 8.125}, {'affiliation.person_id': 'DanTok.1959', 'average_named_entity_references': 8.08}, {'affiliation.person_id': 'KarelHavlicek.1969', 'average_named_entity_references': 8.016114592658909}, {'affiliation.person_id': 'StanislavPfleger.1958', 'average_named_entity_references': 7.777777777777778}, {'affiliation.person_id': 'JiriStrycek.1959', 'average_named_entity_references': 7.610619469026549}, {'affiliation.person_id': 'KristynaZelienkova.1974', 'average_named_entity_references': 7.291463414634146}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'average_named_entity_references': 7.278070836473248}, {'affiliation.person_id': 'RadekZlesak.1983', 'average_named_entity_references': 7.2559852670349905}, {'affiliation.person_id': 'KlaraDostalova.1971', 'average_named_entity_references': 7.145543744889616}, {'affiliation.person_id': 'JosefVozdecky.1945', 'average_named_entity_references': 6.834586466165414}, {'affiliation.person_id': 'JanSchiller.1972', 'average_named_entity_references': 6.791666666666667}, {'affiliation.person_id': 'RomanProchazka.1968', 'average_named_entity_references': 6.77612556794713}, {'affiliation.person_id': 'IvanaDobesova.1960', 'average_named_entity_references': 6.699121027721433}, {'affiliation.person_id': 'JanRehounek.1974', 'average_named_entity_references': 6.662886597938145}, {'affiliation.person_id': 'EvaFialova.1982', 'average_named_entity_references': 6.5710088148873655}, {'affiliation.person_id': 'JosefBelica.1978', 'average_named_entity_references': 6.5064935064935066}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'average_named_entity_references': 6.449022055763629}, {'affiliation.person_id': 'MilosBabis.1960', 'average_named_entity_references': 6.307420494699646}, {'affiliation.person_id': 'KamalFarhan.1969', 'average_named_entity_references': 6.259036144578313}, {'affiliation.person_id': 'MargitaBalastikova.1967', 'average_named_entity_references': 6.220731707317073}, {'affiliation.person_id': 'PatrikNacher.1974', 'average_named_entity_references': 6.220195611948189}, {'affiliation.person_id': 'PavelRuzicka.1970', 'average_named_entity_references': 6.142857142857143}, {'affiliation.person_id': 'JiriZlatuska.1957', 'average_named_entity_references': 6.104070305272895}, {'affiliation.person_id': 'JiriMasek.1958', 'average_named_entity_references': 6.102002503128911}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'average_named_entity_references': 6.073582400910298}, {'affiliation.person_id': 'MiloslavaRutova.1947', 'average_named_entity_references': 6.064285714285714}, {'affiliation.person_id': 'BohuslavChalupa.1960', 'average_named_entity_references': 5.929196623944983}, {'affiliation.person_id': 'LenkaDrazilova.1963', 'average_named_entity_references': 5.90625}, {'affiliation.person_id': 'JanKubik.1978', 'average_named_entity_references': 5.8202416918429005}, {'affiliation.person_id': 'IgorNykl.1963', 'average_named_entity_references': 5.739852398523985}, {'affiliation.person_id': 'PetrVrana.1975', 'average_named_entity_references': 5.72093023255814}, {'affiliation.person_id': 'TomasKohoutek.1983', 'average_named_entity_references': 5.707762557077626}, {'affiliation.person_id': 'IvanaMadlova.1966', 'average_named_entity_references': 5.676470588235294}, {'affiliation.person_id': 'PavelJuricek.1956', 'average_named_entity_references': 5.65023597273204}, {'affiliation.person_id': 'MonikaCervickova.1967', 'average_named_entity_references': 5.578461538461538}, {'affiliation.person_id': 'MartinaBerdychova.1971', 'average_named_entity_references': 5.466145833333333}, {'affiliation.person_id': 'AdamKalous.1979', 'average_named_entity_references': 5.431105047748977}, {'affiliation.person_id': 'MarekNovak.1976', 'average_named_entity_references': 5.417889587700908}, {'affiliation.person_id': 'OndrejBabka.1994', 'average_named_entity_references': 5.318731117824774}, {'affiliation.person_id': 'MonikaOborna.1989', 'average_named_entity_references': 5.063100137174211}, {'affiliation.person_id': 'RadekVondracek.1973', 'average_named_entity_references': 5.004417355435502}, {'affiliation.person_id': 'PavelVolcik.1950', 'average_named_entity_references': 5.0}, {'affiliation.person_id': 'MartinKomarek.1961', 'average_named_entity_references': 4.9511494252873565}, {'affiliation.person_id': 'StanislavFridrich.1956', 'average_named_entity_references': 4.942528735632184}, {'affiliation.person_id': 'JosefKott.1970', 'average_named_entity_references': 4.930196078431372}, {'affiliation.person_id': 'RostislavVyzula.1952', 'average_named_entity_references': 4.927466150870406}, {'affiliation.person_id': 'AndreaBabisova.1972', 'average_named_entity_references': 4.913793103448276}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'average_named_entity_references': 4.887859128822984}, {'affiliation.person_id': 'JiriHolecek.1972', 'average_named_entity_references': 4.851063829787234}, {'affiliation.person_id': 'KarelRais.1949', 'average_named_entity_references': 4.812223626026532}, {'affiliation.person_id': 'BarboraKoranova.1984', 'average_named_entity_references': 4.745566166439291}, {'affiliation.person_id': 'JuliusSpicak.1952', 'average_named_entity_references': 4.678947368421053}, {'affiliation.person_id': 'RobertKralicek.1977', 'average_named_entity_references': 4.619489559164733}, {'affiliation.person_id': 'IvaKalatova.1962', 'average_named_entity_references': 4.611111111111111}, {'affiliation.person_id': 'HelenaValkova.1951', 'average_named_entity_references': 4.5271398747390394}, {'affiliation.person_id': 'EvaMatyasova.1959', 'average_named_entity_references': 4.418803418803419}, {'affiliation.person_id': 'RadkaMaxova.1968', 'average_named_entity_references': 4.413535990823057}, {'affiliation.person_id': 'JanaLorencova.1940', 'average_named_entity_references': 4.229700854700854}, {'affiliation.person_id': 'PavelPustejovsky.1972', 'average_named_entity_references': 4.1361228813559325}, {'affiliation.person_id': 'JanaPastuchova.1965', 'average_named_entity_references': 4.029816513761468}, {'affiliation.person_id': 'JiriHlavaty.1948', 'average_named_entity_references': 4.0}, {'affiliation.person_id': 'ZuzanaOzanova.1970', 'average_named_entity_references': 3.8481619605753865}, {'affiliation.person_id': 'ZuzanaSanova.1959', 'average_named_entity_references': 3.6901960784313723}, {'affiliation.person_id': 'JanSedlacek.1979', 'average_named_entity_references': 3.6666666666666665}, {'affiliation.person_id': 'MartinSedlar.1972', 'average_named_entity_references': 3.6318407960199006}, {'affiliation.person_id': 'AlesJuchelka.1976', 'average_named_entity_references': 3.618313689936537}, {'affiliation.person_id': 'VlastimilVozka.1954', 'average_named_entity_references': 3.5881742738589213}, {'affiliation.person_id': 'IvanPilny.1944', 'average_named_entity_references': 3.560336300692384}, {'affiliation.person_id': 'IvoVondrak.1959', 'average_named_entity_references': 3.533707865168539}, {'affiliation.person_id': 'MilanFeranec.1964', 'average_named_entity_references': 3.3526951672862455}, {'affiliation.person_id': 'JaroslavaPuntova.1957', 'average_named_entity_references': 3.3333333333333335}, {'affiliation.person_id': 'BerenikaPestova.1971', 'average_named_entity_references': 3.324324324324324}, {'affiliation.person_id': 'RomanKubicek.1963', 'average_named_entity_references': 3.275767195767196}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'average_named_entity_references': 3.2058823529411766}, {'affiliation.person_id': 'FrantisekPetrtyl.1959', 'average_named_entity_references': 3.134020618556701}, {'affiliation.person_id': 'JaroslavKytyr.1963', 'average_named_entity_references': 3.0962199312714778}, {'affiliation.person_id': 'VeraAdamkova.1954', 'average_named_entity_references': 3.0535349407437677}, {'affiliation.person_id': 'PavelCihak.1960', 'average_named_entity_references': 2.9375}, {'affiliation.person_id': 'KarelTurecek.1971', 'average_named_entity_references': 2.902439024390244}, {'affiliation.person_id': 'PavelPlzak.1960', 'average_named_entity_references': 2.8396054073803434}, {'affiliation.person_id': 'DavidPrazak.1979', 'average_named_entity_references': 2.8087167070217918}, {'affiliation.person_id': 'DavidKasal.1969', 'average_named_entity_references': 2.6520459228731235}, {'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'average_named_entity_references': 2.5718598275919016}, {'affiliation.person_id': 'LadislavOklestek.1961', 'average_named_entity_references': 2.543336439888164}, {'affiliation.person_id': 'VeraProchazkova.1954', 'average_named_entity_references': 2.3538888888888887}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'average_named_entity_references': 2.2301435406698564}, {'affiliation.person_id': 'MarcelaMelkova.1971', 'average_named_entity_references': 2.2052505966587113}, {'affiliation.person_id': 'RobertPelikan.1979', 'average_named_entity_references': 2.142857142857143}, {'affiliation.person_id': 'AndreaBrzobohata.1971', 'average_named_entity_references': 1.95}, {'affiliation.person_id': 'DavidStolpa.1983', 'average_named_entity_references': 1.9268292682926829}, {'affiliation.person_id': 'PetrVenhoda.1986', 'average_named_entity_references': 1.9}, {'affiliation.person_id': 'JanVolny.1959', 'average_named_entity_references': 1.7398293029871976}, {'affiliation.person_id': 'PetrSadovsky.1969', 'average_named_entity_references': 1.699410609037328}, {'affiliation.person_id': 'JanRichter.1967', 'average_named_entity_references': 1.6777251184834123}, {'affiliation.person_id': 'JiriBlaha.1961', 'average_named_entity_references': 1.6445993031358885}, {'affiliation.person_id': 'IvanJac.1956', 'average_named_entity_references': 1.5}, {'affiliation.person_id': 'MilanBrazdil.1962', 'average_named_entity_references': 1.4398950131233597}, {'affiliation.person_id': 'PavelStanek.1967', 'average_named_entity_references': 1.4}, {'affiliation.person_id': 'PremyslMalis.1980', 'average_named_entity_references': 0.9642857142857143}, {'affiliation.person_id': 'RenataOulehlova.1968', 'average_named_entity_references': 0.0}, {'affiliation.person_id': 'IrenaBlazkova.1969', 'average_named_entity_references': 0.0}] +[{'affiliation.person_id': 'AndrejBabis.1954', 'average_named_entity_references': 81.39669421487604}, {'affiliation.person_id': 'VeraJourova.1964', 'average_named_entity_references': 50.0}, {'affiliation.person_id': 'RichardBrabec.1966', 'average_named_entity_references': 36.2}, {'affiliation.person_id': 'JosefKott.1970', 'average_named_entity_references': 22.4390243902439}, {'affiliation.person_id': 'AdamVojtech.1986', 'average_named_entity_references': 21.5}, {'affiliation.person_id': 'KarelHavlicek.1969', 'average_named_entity_references': 18.666666666666668}, {'affiliation.person_id': 'DanTok.1959', 'average_named_entity_references': 16.333333333333332}, {'affiliation.person_id': 'RobertPelikan.1979', 'average_named_entity_references': 16.0}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'average_named_entity_references': 12.326923076923077}, {'affiliation.person_id': 'LubomirMetnar.1967', 'average_named_entity_references': 12.0}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'average_named_entity_references': 12.0}, {'affiliation.person_id': 'MarekNovak.1976', 'average_named_entity_references': 12.0}, {'affiliation.person_id': 'KlaraDostalova.1971', 'average_named_entity_references': 11.068965517241379}, {'affiliation.person_id': 'PetrVrana.1975', 'average_named_entity_references': 11.0}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'average_named_entity_references': 10.455696202531646}, {'affiliation.person_id': 'RadekVondracek.1973', 'average_named_entity_references': 10.06561203319502}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'average_named_entity_references': 7.722614840989399}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'average_named_entity_references': 7.5}, {'affiliation.person_id': 'RomanKubicek.1963', 'average_named_entity_references': 7.4}, {'affiliation.person_id': 'BerenikaPestova.1971', 'average_named_entity_references': 7.333333333333333}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'average_named_entity_references': 7.0}, {'affiliation.person_id': 'IvoVondrak.1959', 'average_named_entity_references': 6.5}, {'affiliation.person_id': 'JiriZlatuska.1957', 'average_named_entity_references': 6.5}, {'affiliation.person_id': 'JosefHajek.1956', 'average_named_entity_references': 6.0}, {'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'average_named_entity_references': 5.787781350482315}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'average_named_entity_references': 5.5}, {'affiliation.person_id': 'RobertKralicek.1977', 'average_named_entity_references': 5.0}, {'affiliation.person_id': 'MartinStropnicky.1956', 'average_named_entity_references': 4.1875}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'average_named_entity_references': 3.57847533632287}, {'affiliation.person_id': 'MilanBrazdil.1962', 'average_named_entity_references': 3.3548387096774195}, {'affiliation.person_id': 'RomanaFischerova.1969', 'average_named_entity_references': 3.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'average_named_entity_references': 3.0}, {'affiliation.person_id': 'JanVolny.1959', 'average_named_entity_references': 2.1560283687943262}, {'affiliation.person_id': 'JiriBlaha.1961', 'average_named_entity_references': 2.0}, {'affiliation.person_id': 'HelenaValkova.1951', 'average_named_entity_references': 1.3804347826086958}, {'affiliation.person_id': 'RadkaMaxova.1968', 'average_named_entity_references': 1.0}, {'affiliation.person_id': 'MatejFichtner.1984', 'average_named_entity_references': 0.5588235294117647}, {'affiliation.person_id': 'PatrikNacher.1974', 'average_named_entity_references': 0.5}, {'affiliation.person_id': 'OndrejBabka.1994', 'average_named_entity_references': 0.0}, {'affiliation.person_id': 'DavidKasal.1969', 'average_named_entity_references': 0.0}] +--------------------------------+---------------------------------+ | affiliation.person_id | average_named_entity_references | +--------------------------------+---------------------------------+ -| RobertStrzinek.1968 | 15.0 | -| VeraJourova.1964 | 13.152380952380952 | -| AndrejBabis.1954 | 12.828511151295961 | -| RichardBrabec.1966 | 10.931332236842104 | -| MartinKolovratnik.1975 | 10.742249388753056 | -| StanislavBerkovec.1956 | 10.710441334768568 | -| MichalRatiborsky.1981 | 10.47887323943662 | -| LubomirMetnar.1967 | 9.959677419354838 | -| MatejFichtner.1984 | 9.924229808492923 | -| AlenaSchillerova.1964 | 9.827352085354025 | -| TatanaMala.1981 | 9.61111111111111 | -| PavelSramek.1965 | 9.543715846994536 | -| KarlaSlechtova.1977 | 9.35924006908463 | -| MilanPour.1965 | 9.21631205673759 | -| JosefHajek.1956 | 9.17668583376895 | -| MartinStropnicky.1956 | 9.12180889861415 | -| RadimHolis.1975 | 9.0 | -| JaroslavBzoch.1983 | 8.650684931506849 | -| AdamVojtech.1986 | 8.56401028277635 | -| MilanHnilicka.1973 | 8.387543252595156 | -| RomanaFischerova.1969 | 8.125 | -| DanTok.1959 | 8.08 | -| KarelHavlicek.1969 | 8.016114592658909 | -| StanislavPfleger.1958 | 7.777777777777778 | -| JiriStrycek.1959 | 7.610619469026549 | -| KristynaZelienkova.1974 | 7.291463414634146 | -| MiloslavJanulik.1962 | 7.278070836473248 | -| RadekZlesak.1983 | 7.2559852670349905 | -| KlaraDostalova.1971 | 7.145543744889616 | -| JosefVozdecky.1945 | 6.834586466165414 | -| JanSchiller.1972 | 6.791666666666667 | -| RomanProchazka.1968 | 6.77612556794713 | -| IvanaDobesova.1960 | 6.699121027721433 | -| JanRehounek.1974 | 6.662886597938145 | -| EvaFialova.1982 | 6.5710088148873655 | -| JosefBelica.1978 | 6.5064935064935066 | -| JanaMrackovaVildumetzova.1973 | 6.449022055763629 | -| MilosBabis.1960 | 6.307420494699646 | -| KamalFarhan.1969 | 6.259036144578313 | -| MargitaBalastikova.1967 | 6.220731707317073 | -| PatrikNacher.1974 | 6.220195611948189 | -| PavelRuzicka.1970 | 6.142857142857143 | -| JiriZlatuska.1957 | 6.104070305272895 | -| JiriMasek.1958 | 6.102002503128911 | -| JaroslavFaltynek.1962 | 6.073582400910298 | -| MiloslavaRutova.1947 | 6.064285714285714 | -| BohuslavChalupa.1960 | 5.929196623944983 | -| LenkaDrazilova.1963 | 5.90625 | -| JanKubik.1978 | 5.8202416918429005 | -| IgorNykl.1963 | 5.739852398523985 | -| PetrVrana.1975 | 5.72093023255814 | -| TomasKohoutek.1983 | 5.707762557077626 | -| IvanaMadlova.1966 | 5.676470588235294 | -| PavelJuricek.1956 | 5.65023597273204 | -| MonikaCervickova.1967 | 5.578461538461538 | -| MartinaBerdychova.1971 | 5.466145833333333 | -| AdamKalous.1979 | 5.431105047748977 | -| MarekNovak.1976 | 5.417889587700908 | -| OndrejBabka.1994 | 5.318731117824774 | -| MonikaOborna.1989 | 5.063100137174211 | -| RadekVondracek.1973 | 5.004417355435502 | -| PavelVolcik.1950 | 5.0 | -| MartinKomarek.1961 | 4.9511494252873565 | -| StanislavFridrich.1956 | 4.942528735632184 | -| JosefKott.1970 | 4.930196078431372 | -| RostislavVyzula.1952 | 4.927466150870406 | -| AndreaBabisova.1972 | 4.913793103448276 | -| ZdenekSoukup.1952 | 4.887859128822984 | -| JiriHolecek.1972 | 4.851063829787234 | -| KarelRais.1949 | 4.812223626026532 | -| BarboraKoranova.1984 | 4.745566166439291 | -| JuliusSpicak.1952 | 4.678947368421053 | -| RobertKralicek.1977 | 4.619489559164733 | -| IvaKalatova.1962 | 4.611111111111111 | -| HelenaValkova.1951 | 4.5271398747390394 | -| EvaMatyasova.1959 | 4.418803418803419 | -| RadkaMaxova.1968 | 4.413535990823057 | -| JanaLorencova.1940 | 4.229700854700854 | -| PavelPustejovsky.1972 | 4.1361228813559325 | -| JanaPastuchova.1965 | 4.029816513761468 | -| JiriHlavaty.1948 | 4.0 | -| ZuzanaOzanova.1970 | 3.8481619605753865 | -| ZuzanaSanova.1959 | 3.6901960784313723 | -| JanSedlacek.1979 | 3.6666666666666665 | -| MartinSedlar.1972 | 3.6318407960199006 | -| AlesJuchelka.1976 | 3.618313689936537 | -| VlastimilVozka.1954 | 3.5881742738589213 | -| IvanPilny.1944 | 3.560336300692384 | -| IvoVondrak.1959 | 3.533707865168539 | -| MilanFeranec.1964 | 3.3526951672862455 | -| JaroslavaPuntova.1957 | 3.3333333333333335 | -| BerenikaPestova.1971 | 3.324324324324324 | -| RomanKubicek.1963 | 3.275767195767196 | -| JanaHanzlikova.1966 | 3.2058823529411766 | -| FrantisekPetrtyl.1959 | 3.134020618556701 | -| JaroslavKytyr.1963 | 3.0962199312714778 | -| VeraAdamkova.1954 | 3.0535349407437677 | -| PavelCihak.1960 | 2.9375 | -| KarelTurecek.1971 | 2.902439024390244 | -| PavelPlzak.1960 | 2.8396054073803434 | -| DavidPrazak.1979 | 2.8087167070217918 | -| DavidKasal.1969 | 2.6520459228731235 | -| JaroslavaPokornaJermanova.1970 | 2.5718598275919016 | -| LadislavOklestek.1961 | 2.543336439888164 | -| VeraProchazkova.1954 | 2.3538888888888887 | -| BronislavSchwarz.1966 | 2.2301435406698564 | -| MarcelaMelkova.1971 | 2.2052505966587113 | -| RobertPelikan.1979 | 2.142857142857143 | -| AndreaBrzobohata.1971 | 1.95 | -| DavidStolpa.1983 | 1.9268292682926829 | -| PetrVenhoda.1986 | 1.9 | -| JanVolny.1959 | 1.7398293029871976 | -| PetrSadovsky.1969 | 1.699410609037328 | -| JanRichter.1967 | 1.6777251184834123 | -| JiriBlaha.1961 | 1.6445993031358885 | -| IvanJac.1956 | 1.5 | -| MilanBrazdil.1962 | 1.4398950131233597 | -| PavelStanek.1967 | 1.4 | -| PremyslMalis.1980 | 0.9642857142857143 | -| RenataOulehlova.1968 | 0.0 | -| IrenaBlazkova.1969 | 0.0 | +| AndrejBabis.1954 | 81.39669421487604 | +| VeraJourova.1964 | 50.0 | +| RichardBrabec.1966 | 36.2 | +| JosefKott.1970 | 22.4390243902439 | +| AdamVojtech.1986 | 21.5 | +| KarelHavlicek.1969 | 18.666666666666668 | +| DanTok.1959 | 16.333333333333332 | +| RobertPelikan.1979 | 16.0 | +| JanaMrackovaVildumetzova.1973 | 12.326923076923077 | +| LubomirMetnar.1967 | 12.0 | +| BronislavSchwarz.1966 | 12.0 | +| MarekNovak.1976 | 12.0 | +| KlaraDostalova.1971 | 11.068965517241379 | +| PetrVrana.1975 | 11.0 | +| AlenaSchillerova.1964 | 10.455696202531646 | +| RadekVondracek.1973 | 10.06561203319502 | +| JaroslavFaltynek.1962 | 7.722614840989399 | +| ZdenekSoukup.1952 | 7.5 | +| RomanKubicek.1963 | 7.4 | +| BerenikaPestova.1971 | 7.333333333333333 | +| MiloslavJanulik.1962 | 7.0 | +| IvoVondrak.1959 | 6.5 | +| JiriZlatuska.1957 | 6.5 | +| JosefHajek.1956 | 6.0 | +| JaroslavaPokornaJermanova.1970 | 5.787781350482315 | +| JanaHanzlikova.1966 | 5.5 | +| RobertKralicek.1977 | 5.0 | +| MartinStropnicky.1956 | 4.1875 | +| MartinKolovratnik.1975 | 3.57847533632287 | +| MilanBrazdil.1962 | 3.3548387096774195 | +| RomanaFischerova.1969 | 3.0 | +| JaroslavBzoch.1983 | 3.0 | +| JanVolny.1959 | 2.1560283687943262 | +| JiriBlaha.1961 | 2.0 | +| HelenaValkova.1951 | 1.3804347826086958 | +| RadkaMaxova.1968 | 1.0 | +| MatejFichtner.1984 | 0.5588235294117647 | +| PatrikNacher.1974 | 0.5 | +| OndrejBabka.1994 | 0.0 | +| DavidKasal.1969 | 0.0 | +--------------------------------+---------------------------------+ diff --git a/test/API/examples/expected/average_sentences_most_talkative_result.txt b/test/API/examples/expected/average_sentences_most_talkative_result.txt index d56596e..765ef9a 100644 --- a/test/API/examples/expected/average_sentences_most_talkative_result.txt +++ b/test/API/examples/expected/average_sentences_most_talkative_result.txt @@ -1,11 +1,9 @@ -[{'affiliation.role': 'deputyHead', 'average_sentence_count': 6.296012975911273}, {'affiliation.role': 'member', 'average_sentence_count': 6.277422307657101}, {'affiliation.role': 'representative', 'average_sentence_count': 6.305979337294578}, {'affiliation.role': 'verifier', 'average_sentence_count': 6.327535906642729}, {'affiliation.role': 'head', 'average_sentence_count': 6.295505125733812}] +[{'affiliation.role': 'member', 'average_sentence_count': 10.937954642704321}, {'affiliation.role': 'head', 'average_sentence_count': 11.042723631508679}, {'affiliation.role': 'deputyHead', 'average_sentence_count': 8.285714285714286}] +------------------+------------------------+ | affiliation.role | average_sentence_count | +------------------+------------------------+ -| deputyHead | 6.296012975911273 | -| member | 6.277422307657101 | -| representative | 6.305979337294578 | -| verifier | 6.327535906642729 | -| head | 6.295505125733812 | +| member | 10.937954642704321 | +| head | 11.042723631508679 | +| deputyHead | 8.285714285714286 | +------------------+------------------------+ diff --git a/test/API/examples/expected/average_tokens_by_position_result.txt b/test/API/examples/expected/average_tokens_by_position_result.txt index f6a378a..0f6ec07 100644 --- a/test/API/examples/expected/average_tokens_by_position_result.txt +++ b/test/API/examples/expected/average_tokens_by_position_result.txt @@ -1,9 +1,9 @@ -[{'speech.role': 'guest', 'average_tokens': 452.1521328803322}, {'speech.role': 'regular', 'average_tokens': 266.9352142475181}, {'speech.role': 'chair', 'average_tokens': 55.23546464501979}] +[{'speech.role': 'guest', 'average_tokens': 1077.8934426229507}, {'speech.role': 'regular', 'average_tokens': 496.90713671539123}, {'speech.role': 'chair', 'average_tokens': 143.19426456984274}] -+-------------+-------------------+ -| speech.role | average_tokens | -+-------------+-------------------+ -| guest | 452.1521328803322 | -| regular | 266.9352142475181 | -| chair | 55.23546464501979 | -+-------------+-------------------+ ++-------------+--------------------+ +| speech.role | average_tokens | ++-------------+--------------------+ +| guest | 1077.8934426229507 | +| regular | 496.90713671539123 | +| chair | 143.19426456984274 | ++-------------+--------------------+ diff --git a/test/API/examples/expected/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt b/test/API/examples/expected/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt index 733cba1..44df0ce 100644 --- a/test/API/examples/expected/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt +++ b/test/API/examples/expected/average_words_per_minute_of_fastest_speaker_depending_on_time_result.txt @@ -1,54 +1,7 @@ -[{'speech.earliest_timestamp': '09:18:00', 'average_wpm': 164.11680742063112}, {'speech.earliest_timestamp': '09:28:00', 'average_wpm': 129.36363728644952}, {'speech.earliest_timestamp': '09:38:00', 'average_wpm': 155.39009388151504}, {'speech.earliest_timestamp': '09:48:00', 'average_wpm': 152.7478361903574}, {'speech.earliest_timestamp': '09:58:00', 'average_wpm': 165.18550043565887}, {'speech.earliest_timestamp': '10:08:00', 'average_wpm': 144.47282013863554}, {'speech.earliest_timestamp': '10:18:00', 'average_wpm': 169.15814319433517}, {'speech.earliest_timestamp': '10:28:00', 'average_wpm': 146.55715833517496}, {'speech.earliest_timestamp': '10:38:00', 'average_wpm': 158.9193022118747}, {'speech.earliest_timestamp': '10:48:00', 'average_wpm': 168.0504280937123}, {'speech.earliest_timestamp': '10:58:00', 'average_wpm': 146.2948280005757}, {'speech.earliest_timestamp': '11:08:00', 'average_wpm': 175.516693163752}, {'speech.earliest_timestamp': '11:58:00', 'average_wpm': 179.42122186495178}, {'speech.earliest_timestamp': '12:18:00', 'average_wpm': 168.16277678037102}, {'speech.earliest_timestamp': '12:28:00', 'average_wpm': 156.29386991109033}, {'speech.earliest_timestamp': '13:38:00', 'average_wpm': 177.40384615384616}, {'speech.earliest_timestamp': '13:48:00', 'average_wpm': 140.09835117153602}, {'speech.earliest_timestamp': '14:08:00', 'average_wpm': 154.37826893875484}, {'speech.earliest_timestamp': '14:28:00', 'average_wpm': 165.6070708636998}, {'speech.earliest_timestamp': '14:38:00', 'average_wpm': 162.36269133338254}, {'speech.earliest_timestamp': '14:58:00', 'average_wpm': 175.8412156923554}, {'speech.earliest_timestamp': '15:08:00', 'average_wpm': 166.35407322841067}, {'speech.earliest_timestamp': '15:18:00', 'average_wpm': 155.87698356972334}, {'speech.earliest_timestamp': '15:28:00', 'average_wpm': 164.44885799404173}, {'speech.earliest_timestamp': '15:38:00', 'average_wpm': 136.21565917980186}, {'speech.earliest_timestamp': '16:18:00', 'average_wpm': 157.53682171247584}, {'speech.earliest_timestamp': '16:38:00', 'average_wpm': 145.3038674033149}, {'speech.earliest_timestamp': '16:48:00', 'average_wpm': 174.36702560605926}, {'speech.earliest_timestamp': '16:58:00', 'average_wpm': 172.14250977532714}, {'speech.earliest_timestamp': '17:08:00', 'average_wpm': 181.54979644288355}, {'speech.earliest_timestamp': '17:18:00', 'average_wpm': 157.7944508333258}, {'speech.earliest_timestamp': '17:28:00', 'average_wpm': 174.1334066480834}, {'speech.earliest_timestamp': '17:38:00', 'average_wpm': 180.93744814692937}, {'speech.earliest_timestamp': '17:48:00', 'average_wpm': 108.08175518916276}, {'speech.earliest_timestamp': '18:08:00', 'average_wpm': 174.8878923766816}, {'speech.earliest_timestamp': '18:18:00', 'average_wpm': 161.55352480417753}, {'speech.earliest_timestamp': '18:28:00', 'average_wpm': 123.18382817435251}, {'speech.earliest_timestamp': '19:08:00', 'average_wpm': 192.19219219219218}, {'speech.earliest_timestamp': '19:18:00', 'average_wpm': 146.5439259298675}, {'speech.earliest_timestamp': '19:28:00', 'average_wpm': 167.80045351473922}, {'speech.earliest_timestamp': '20:38:00', 'average_wpm': 156.58654275442558}, {'speech.earliest_timestamp': '21:58:00', 'average_wpm': 189.63254593175853}, {'speech.earliest_timestamp': '22:38:00', 'average_wpm': 162.02260113325391}, {'speech.earliest_timestamp': '22:58:00', 'average_wpm': 186.91169878978036}, {'speech.earliest_timestamp': '23:18:00', 'average_wpm': 148.11606986091118}, {'speech.earliest_timestamp': '23:28:00', 'average_wpm': 139.46059544658493}, {'speech.earliest_timestamp': '23:38:00', 'average_wpm': 135.70973901973264}, {'speech.earliest_timestamp': '23:48:00', 'average_wpm': 156.3575572819353}] +[{'speech.earliest_timestamp': '12:48:00', 'average_wpm': 161.34031413612567}] +---------------------------+--------------------+ | speech.earliest_timestamp | average_wpm | +---------------------------+--------------------+ -| 09:18:00 | 164.11680742063112 | -| 09:28:00 | 129.36363728644952 | -| 09:38:00 | 155.39009388151504 | -| 09:48:00 | 152.7478361903574 | -| 09:58:00 | 165.18550043565887 | -| 10:08:00 | 144.47282013863554 | -| 10:18:00 | 169.15814319433517 | -| 10:28:00 | 146.55715833517496 | -| 10:38:00 | 158.9193022118747 | -| 10:48:00 | 168.0504280937123 | -| 10:58:00 | 146.2948280005757 | -| 11:08:00 | 175.516693163752 | -| 11:58:00 | 179.42122186495178 | -| 12:18:00 | 168.16277678037102 | -| 12:28:00 | 156.29386991109033 | -| 13:38:00 | 177.40384615384616 | -| 13:48:00 | 140.09835117153602 | -| 14:08:00 | 154.37826893875484 | -| 14:28:00 | 165.6070708636998 | -| 14:38:00 | 162.36269133338254 | -| 14:58:00 | 175.8412156923554 | -| 15:08:00 | 166.35407322841067 | -| 15:18:00 | 155.87698356972334 | -| 15:28:00 | 164.44885799404173 | -| 15:38:00 | 136.21565917980186 | -| 16:18:00 | 157.53682171247584 | -| 16:38:00 | 145.3038674033149 | -| 16:48:00 | 174.36702560605926 | -| 16:58:00 | 172.14250977532714 | -| 17:08:00 | 181.54979644288355 | -| 17:18:00 | 157.7944508333258 | -| 17:28:00 | 174.1334066480834 | -| 17:38:00 | 180.93744814692937 | -| 17:48:00 | 108.08175518916276 | -| 18:08:00 | 174.8878923766816 | -| 18:18:00 | 161.55352480417753 | -| 18:28:00 | 123.18382817435251 | -| 19:08:00 | 192.19219219219218 | -| 19:18:00 | 146.5439259298675 | -| 19:28:00 | 167.80045351473922 | -| 20:38:00 | 156.58654275442558 | -| 21:58:00 | 189.63254593175853 | -| 22:38:00 | 162.02260113325391 | -| 22:58:00 | 186.91169878978036 | -| 23:18:00 | 148.11606986091118 | -| 23:28:00 | 139.46059544658493 | -| 23:38:00 | 135.70973901973264 | -| 23:48:00 | 156.3575572819353 | +| 12:48:00 | 161.34031413612567 | +---------------------------+--------------------+ diff --git a/test/API/examples/expected/fastest_speaking_speakers_result.txt b/test/API/examples/expected/fastest_speaking_speakers_result.txt index 87b6a1d..ef4348c 100644 --- a/test/API/examples/expected/fastest_speaking_speakers_result.txt +++ b/test/API/examples/expected/fastest_speaking_speakers_result.txt @@ -1,16 +1,16 @@ -[{'speech.person_id': 'HubertLang.1969', 'average_wpm': 161.41698165379293}, {'speech.person_id': 'PavelBlazek.1969', 'average_wpm': 158.97911562369416}, {'speech.person_id': 'PetrDolinek.1981', 'average_wpm': 158.30039783796744}, {'speech.person_id': 'OndrejVesely.1976', 'average_wpm': 158.10500409292203}, {'speech.person_id': 'BronislavSchwarz.1966', 'average_wpm': 157.14088727252556}, {'speech.person_id': 'LukasWagenknecht', 'average_wpm': 155.23762539056077}, {'speech.person_id': 'JaroslavBzoch.1983', 'average_wpm': 152.54676361269722}, {'speech.person_id': 'IvanAdamec.1960', 'average_wpm': 151.18225768975364}, {'speech.person_id': 'MikulasPeksa.1986', 'average_wpm': 151.14543689902007}, {'speech.person_id': 'JaroslavMartinu.1959', 'average_wpm': 150.94729800606632}] +[{'speech.person_id': 'BronislavSchwarz.1966', 'average_wpm': 161.34031413612567}, {'speech.person_id': 'LukasKolarik.1984', 'average_wpm': 155.80850204389782}, {'speech.person_id': 'OndrejVesely.1976', 'average_wpm': 151.81583647549118}, {'speech.person_id': 'PavelBlazek.1969', 'average_wpm': 149.77964855666076}, {'speech.person_id': 'MilanChovanec.1970', 'average_wpm': 149.25437760129654}, {'speech.person_id': 'MarianJurecka.1981', 'average_wpm': 147.04994388205515}, {'speech.person_id': 'RobertPlaga.1978', 'average_wpm': 145.44581783271332}, {'speech.person_id': 'MarcelChladek', 'average_wpm': 145.00501169395255}, {'speech.person_id': 'MiloslavJanulik.1962', 'average_wpm': 143.10080192959902}, {'speech.person_id': 'MartinKolovratnik.1975', 'average_wpm': 142.27168366868392}] -+-----------------------+--------------------+ -| speech.person_id | average_wpm | -+-----------------------+--------------------+ -| HubertLang.1969 | 161.41698165379293 | -| PavelBlazek.1969 | 158.97911562369416 | -| PetrDolinek.1981 | 158.30039783796744 | -| OndrejVesely.1976 | 158.10500409292203 | -| BronislavSchwarz.1966 | 157.14088727252556 | -| LukasWagenknecht | 155.23762539056077 | -| JaroslavBzoch.1983 | 152.54676361269722 | -| IvanAdamec.1960 | 151.18225768975364 | -| MikulasPeksa.1986 | 151.14543689902007 | -| JaroslavMartinu.1959 | 150.94729800606632 | -+-----------------------+--------------------+ ++------------------------+--------------------+ +| speech.person_id | average_wpm | ++------------------------+--------------------+ +| BronislavSchwarz.1966 | 161.34031413612567 | +| LukasKolarik.1984 | 155.80850204389782 | +| OndrejVesely.1976 | 151.81583647549118 | +| PavelBlazek.1969 | 149.77964855666076 | +| MilanChovanec.1970 | 149.25437760129654 | +| MarianJurecka.1981 | 147.04994388205515 | +| RobertPlaga.1978 | 145.44581783271332 | +| MarcelChladek | 145.00501169395255 | +| MiloslavJanulik.1962 | 143.10080192959902 | +| MartinKolovratnik.1975 | 142.27168366868392 | ++------------------------+--------------------+ diff --git a/test/API/examples/expected/gender_average_tokens_result.txt b/test/API/examples/expected/gender_average_tokens_result.txt index 8afded1..a4a854d 100644 --- a/test/API/examples/expected/gender_average_tokens_result.txt +++ b/test/API/examples/expected/gender_average_tokens_result.txt @@ -1,9 +1,9 @@ -[{'person.sex': '', 'average_tokens': 479.80645161290323}, {'person.sex': 'M', 'average_tokens': 155.81989557910347}, {'person.sex': 'F', 'average_tokens': 171.8917569422139}] +[{'person.sex': '', 'average_tokens': 1335.3333333333333}, {'person.sex': 'M', 'average_tokens': 325.23359818388195}, {'person.sex': 'F', 'average_tokens': 245.54014029618082}] +------------+--------------------+ | person.sex | average_tokens | +------------+--------------------+ -| | 479.80645161290323 | -| M | 155.81989557910347 | -| F | 171.8917569422139 | +| | 1335.3333333333333 | +| M | 325.23359818388195 | +| F | 245.54014029618082 | +------------+--------------------+ diff --git a/test/API/examples/expected/gender_total_speeches_result.txt b/test/API/examples/expected/gender_total_speeches_result.txt index 7ac083e..1e68170 100644 --- a/test/API/examples/expected/gender_total_speeches_result.txt +++ b/test/API/examples/expected/gender_total_speeches_result.txt @@ -1,9 +1,9 @@ -[{'person.sex': '', 'total_speeches': 93}, {'person.sex': 'M', 'total_speeches': 161845}, {'person.sex': 'F', 'total_speeches': 34247}] +[{'person.sex': '', 'total_speeches': 3}, {'person.sex': 'M', 'total_speeches': 4405}, {'person.sex': 'F', 'total_speeches': 1283}] +------------+----------------+ | person.sex | total_speeches | +------------+----------------+ -| | 93 | -| M | 161845 | -| F | 34247 | +| | 3 | +| M | 4405 | +| F | 1283 | +------------+----------------+ diff --git a/test/API/examples/expected/most_speeches_male_result.txt b/test/API/examples/expected/most_speeches_male_result.txt index fe26f24..a6160e6 100644 --- a/test/API/examples/expected/most_speeches_male_result.txt +++ b/test/API/examples/expected/most_speeches_male_result.txt @@ -1,16 +1,16 @@ -[{'person.person_id': 'VojtechFilip.1955', 'total_speeches': 18681}, {'person.person_id': 'JanBartosek.1971', 'total_speeches': 11598}, {'person.person_id': 'PetrGazdik.1974', 'total_speeches': 10010}, {'person.person_id': 'RadekVondracek.1973', 'total_speeches': 9423}, {'person.person_id': 'TomioOkamura.1972', 'total_speeches': 8665}, {'person.person_id': 'PetrFiala.1964', 'total_speeches': 7939}, {'person.person_id': 'VojtechPikal.1987', 'total_speeches': 7874}, {'person.person_id': 'JanHamacek.1978', 'total_speeches': 7812}, {'person.person_id': 'TomasHanzel.1975', 'total_speeches': 5134}, {'person.person_id': 'ZbynekStanjura.1964', 'total_speeches': 3842}] +[{'person.person_id': 'RadekVondracek.1973', 'total_speeches': 769}, {'person.person_id': 'JanHamacek.1978', 'total_speeches': 587}, {'person.person_id': 'TomioOkamura.1972', 'total_speeches': 303}, {'person.person_id': 'JanBartosek.1971', 'total_speeches': 287}, {'person.person_id': 'VojtechFilip.1955', 'total_speeches': 262}, {'person.person_id': 'MiroslavKalousek.1960', 'total_speeches': 160}, {'person.person_id': 'ZbynekStanjura.1964', 'total_speeches': 127}, {'person.person_id': 'PetrFiala.1964', 'total_speeches': 126}, {'person.person_id': 'JanSkopecek.1980', 'total_speeches': 119}, {'person.person_id': 'VojtechPikal.1987', 'total_speeches': 89}] -+---------------------+----------------+ -| person.person_id | total_speeches | -+---------------------+----------------+ -| VojtechFilip.1955 | 18681 | -| JanBartosek.1971 | 11598 | -| PetrGazdik.1974 | 10010 | -| RadekVondracek.1973 | 9423 | -| TomioOkamura.1972 | 8665 | -| PetrFiala.1964 | 7939 | -| VojtechPikal.1987 | 7874 | -| JanHamacek.1978 | 7812 | -| TomasHanzel.1975 | 5134 | -| ZbynekStanjura.1964 | 3842 | -+---------------------+----------------+ ++-----------------------+----------------+ +| person.person_id | total_speeches | ++-----------------------+----------------+ +| RadekVondracek.1973 | 769 | +| JanHamacek.1978 | 587 | +| TomioOkamura.1972 | 303 | +| JanBartosek.1971 | 287 | +| VojtechFilip.1955 | 262 | +| MiroslavKalousek.1960 | 160 | +| ZbynekStanjura.1964 | 127 | +| PetrFiala.1964 | 126 | +| JanSkopecek.1980 | 119 | +| VojtechPikal.1987 | 89 | ++-----------------------+----------------+ diff --git a/test/API/examples/expected/most_talkative_regulars_result.txt b/test/API/examples/expected/most_talkative_regulars_result.txt index ba0f995..edd0720 100644 --- a/test/API/examples/expected/most_talkative_regulars_result.txt +++ b/test/API/examples/expected/most_talkative_regulars_result.txt @@ -1,16 +1,16 @@ -[{'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_tokens': 15869}, {'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_tokens': 3494}, {'persName.forename': 'Adam', 'persName.surname': 'Vojtěch', 'total_tokens': 187216}, {'persName.forename': 'Adolf', 'persName.surname': 'Beznoska', 'total_tokens': 41522}, {'persName.forename': 'Alena', 'persName.surname': 'Gajdůšková', 'total_tokens': 78796}, {'persName.forename': 'Alena', 'persName.surname': 'Nohavová', 'total_tokens': 17614}, {'persName.forename': 'Alena', 'persName.surname': 'Schillerová', 'total_tokens': 416524}, {'persName.forename': 'Aleš', 'persName.surname': 'Dufek', 'total_tokens': 4498}, {'persName.forename': 'Aleš', 'persName.surname': 'Juchelka', 'total_tokens': 134560}, {'persName.forename': 'Alexander', 'persName.surname': 'Černý', 'total_tokens': 20376}] +[{'persName.forename': 'Josef', 'persName.surname': 'Bělica', 'total_tokens': 307}, {'persName.forename': 'Alena', 'persName.surname': 'Gajdůšková', 'total_tokens': 65}, {'persName.forename': 'Antonín', 'persName.surname': 'Seďa', 'total_tokens': 117}, {'persName.forename': 'Věra', 'persName.surname': 'Adámková', 'total_tokens': 7310}, {'persName.forename': 'Vít', 'persName.surname': 'Vomáčka', 'total_tokens': 29}, {'persName.forename': 'Stanislav', 'persName.surname': 'Juránek', 'total_tokens': 89}, {'persName.forename': 'Robert', 'persName.surname': 'Stržínek', 'total_tokens': 653}, {'persName.forename': 'Petr', 'persName.surname': 'Třešňák', 'total_tokens': 227}, {'persName.forename': 'Jakub', 'persName.surname': 'Michálek', 'total_tokens': 11491}, {'persName.forename': 'Vladimíra', 'persName.surname': 'Lesenská', 'total_tokens': 1003}] +-------------------+------------------+--------------+ | persName.forename | persName.surname | total_tokens | +-------------------+------------------+--------------+ -| Adam | Kalous | 15869 | -| Adam | Rykala | 3494 | -| Adam | Vojtěch | 187216 | -| Adolf | Beznoska | 41522 | -| Alena | Gajdůšková | 78796 | -| Alena | Nohavová | 17614 | -| Alena | Schillerová | 416524 | -| Aleš | Dufek | 4498 | -| Aleš | Juchelka | 134560 | -| Alexander | Černý | 20376 | +| Josef | Bělica | 307 | +| Alena | Gajdůšková | 65 | +| Antonín | Seďa | 117 | +| Věra | Adámková | 7310 | +| Vít | Vomáčka | 29 | +| Stanislav | Juránek | 89 | +| Robert | Stržínek | 653 | +| Petr | Třešňák | 227 | +| Jakub | Michálek | 11491 | +| Vladimíra | Lesenská | 1003 | +-------------------+------------------+--------------+ diff --git a/test/API/examples/expected/politician_comparisonCS_result.txt b/test/API/examples/expected/politician_comparisonCS_result.txt index 4e974e2..50c60c7 100644 --- a/test/API/examples/expected/politician_comparisonCS_result.txt +++ b/test/API/examples/expected/politician_comparisonCS_result.txt @@ -1,8 +1,8 @@ -[{'person.person_id': 'AdamKalous.1979', 'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_speeches': 79}, {'person.person_id': 'AdamRykala.1986', 'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_speeches': 29}] +[{'person.person_id': 'AdamKalous.1979', 'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_speeches': 0}, {'person.person_id': 'AdamRykala.1986', 'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_speeches': 0}] +------------------+-------------------+------------------+----------------+ | person.person_id | persName.forename | persName.surname | total_speeches | +------------------+-------------------+------------------+----------------+ -| AdamKalous.1979 | Adam | Kalous | 79 | -| AdamRykala.1986 | Adam | Rykala | 29 | +| AdamKalous.1979 | Adam | Kalous | 0 | +| AdamRykala.1986 | Adam | Rykala | 0 | +------------------+-------------------+------------------+----------------+ diff --git a/test/API/examples/expected/speech_count_parties_result.txt b/test/API/examples/expected/speech_count_parties_result.txt index 06ec3ec..89fc43b 100644 --- a/test/API/examples/expected/speech_count_parties_result.txt +++ b/test/API/examples/expected/speech_count_parties_result.txt @@ -1,27 +1,27 @@ -[{'organisation.name': 'Poslanecký klub ANO 2011', 'total_speeches': 36271}, {'organisation.name': 'Poslanecký klub České pirátské strany', 'total_speeches': 15221}, {'organisation.name': 'Poslanecký klub České strany sociálně demokratické', 'total_speeches': 32997}, {'organisation.name': 'Poslanecký klub KDU-ČSL', 'total_speeches': 16056}, {'organisation.name': 'Poslanecký klub Komunistické strany Čech a Moravy', 'total_speeches': 27412}, {'organisation.name': 'Poslanecký klub Občanské demokratické strany', 'total_speeches': 26465}, {'organisation.name': 'Poslanecký klub Starostové a nezávislí', 'total_speeches': 4196}, {'organisation.name': 'Poslanecký klub Svoboda a přímá demokracie', 'total_speeches': 9794}, {'organisation.name': 'Poslanecký klub TOP 09', 'total_speeches': 3954}, {'organisation.name': 'Poslanecký klub TOP 09 a Starostové', 'total_speeches': 18965}, {'organisation.name': 'Poslanecký klub Úsvit - Národní Koalice', 'total_speeches': 2756}, {'organisation.name': 'ANO2011', 'total_speeches': 5237}, {'organisation.name': 'Česká pirátská strana', 'total_speeches': 13217}, {'organisation.name': 'Česká strana sociálně demokratická', 'total_speeches': 22889}, {'organisation.name': 'Komunistická strana Čech a Moravy', 'total_speeches': 25605}, {'organisation.name': 'Křesťanská a demokratická unie - Československá strana lidová', 'total_speeches': 14224}, {'organisation.name': 'Občanská demokratická strana', 'total_speeches': 19823}, {'organisation.name': 'Starostove a nezavisli', 'total_speeches': 1452}, {'organisation.name': 'Svoboda a prima demokracie - Tomio Okamura', 'total_speeches': 1161}, {'organisation.name': 'TOP 09', 'total_speeches': 18465}, {'organisation.name': 'Úsvit přímé demokracie Tomia Okamury', 'total_speeches': 2526}] +[{'organisation.name': 'Poslanecký klub Úsvit - Národní Koalice', 'total_speeches': 105}, {'organisation.name': 'Úsvit přímé demokracie Tomia Okamury', 'total_speeches': 114}, {'organisation.name': 'Poslanecký klub České pirátské strany', 'total_speeches': 294}, {'organisation.name': 'Poslanecký klub Komunistické strany Čech a Moravy', 'total_speeches': 468}, {'organisation.name': 'Svoboda a prima demokracie - Tomio Okamura', 'total_speeches': 29}, {'organisation.name': 'Křesťanská a demokratická unie - Československá strana lidová', 'total_speeches': 253}, {'organisation.name': 'Česká strana sociálně demokratická', 'total_speeches': 735}, {'organisation.name': 'Poslanecký klub Starostové a nezávislí', 'total_speeches': 293}, {'organisation.name': 'Poslanecký klub TOP 09 a Starostové', 'total_speeches': 415}, {'organisation.name': 'Poslanecký klub Svoboda a přímá demokracie', 'total_speeches': 161}, {'organisation.name': 'Česká pirátská strana', 'total_speeches': 227}, {'organisation.name': 'Poslanecký klub Občanské demokratické strany', 'total_speeches': 550}, {'organisation.name': 'Poslanecký klub TOP 09', 'total_speeches': 197}, {'organisation.name': 'Občanská demokratická strana', 'total_speeches': 367}, {'organisation.name': 'Poslanecký klub ANO 2011', 'total_speeches': 1101}, {'organisation.name': 'TOP 09', 'total_speeches': 392}, {'organisation.name': 'Poslanecký klub České strany sociálně demokratické', 'total_speeches': 1362}, {'organisation.name': 'Poslanecký klub KDU-ČSL', 'total_speeches': 353}, {'organisation.name': 'Starostove a nezavisli', 'total_speeches': 45}, {'organisation.name': 'ANO2011', 'total_speeches': 25}, {'organisation.name': 'Komunistická strana Čech a Moravy', 'total_speeches': 399}] +---------------------------------------------------------------+----------------+ | organisation.name | total_speeches | +---------------------------------------------------------------+----------------+ -| Poslanecký klub ANO 2011 | 36271 | -| Poslanecký klub České pirátské strany | 15221 | -| Poslanecký klub České strany sociálně demokratické | 32997 | -| Poslanecký klub KDU-ČSL | 16056 | -| Poslanecký klub Komunistické strany Čech a Moravy | 27412 | -| Poslanecký klub Občanské demokratické strany | 26465 | -| Poslanecký klub Starostové a nezávislí | 4196 | -| Poslanecký klub Svoboda a přímá demokracie | 9794 | -| Poslanecký klub TOP 09 | 3954 | -| Poslanecký klub TOP 09 a Starostové | 18965 | -| Poslanecký klub Úsvit - Národní Koalice | 2756 | -| ANO2011 | 5237 | -| Česká pirátská strana | 13217 | -| Česká strana sociálně demokratická | 22889 | -| Komunistická strana Čech a Moravy | 25605 | -| Křesťanská a demokratická unie - Československá strana lidová | 14224 | -| Občanská demokratická strana | 19823 | -| Starostove a nezavisli | 1452 | -| Svoboda a prima demokracie - Tomio Okamura | 1161 | -| TOP 09 | 18465 | -| Úsvit přímé demokracie Tomia Okamury | 2526 | +| Poslanecký klub Úsvit - Národní Koalice | 105 | +| Úsvit přímé demokracie Tomia Okamury | 114 | +| Poslanecký klub České pirátské strany | 294 | +| Poslanecký klub Komunistické strany Čech a Moravy | 468 | +| Svoboda a prima demokracie - Tomio Okamura | 29 | +| Křesťanská a demokratická unie - Československá strana lidová | 253 | +| Česká strana sociálně demokratická | 735 | +| Poslanecký klub Starostové a nezávislí | 293 | +| Poslanecký klub TOP 09 a Starostové | 415 | +| Poslanecký klub Svoboda a přímá demokracie | 161 | +| Česká pirátská strana | 227 | +| Poslanecký klub Občanské demokratické strany | 550 | +| Poslanecký klub TOP 09 | 197 | +| Občanská demokratická strana | 367 | +| Poslanecký klub ANO 2011 | 1101 | +| TOP 09 | 392 | +| Poslanecký klub České strany sociálně demokratické | 1362 | +| Poslanecký klub KDU-ČSL | 353 | +| Starostove a nezavisli | 45 | +| ANO2011 | 25 | +| Komunistická strana Čech a Moravy | 399 | +---------------------------------------------------------------+----------------+ diff --git a/test/API/examples/expected/total_duration_of_speeches_given_by_ANO_members_ms_result.txt b/test/API/examples/expected/total_duration_of_speeches_given_by_ANO_members_ms_result.txt index 7bca596..fbd46c9 100644 --- a/test/API/examples/expected/total_duration_of_speeches_given_by_ANO_members_ms_result.txt +++ b/test/API/examples/expected/total_duration_of_speeches_given_by_ANO_members_ms_result.txt @@ -1,127 +1,45 @@ -[{'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'total_duration_ms': 3855006700.0}, {'affiliation.person_id': 'RadekVondracek.1973', 'total_duration_ms': 2499311400.0}, {'affiliation.person_id': 'AndrejBabis.1954', 'total_duration_ms': 1240811500.0}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'total_duration_ms': 1167449000.0}, {'affiliation.person_id': 'HelenaValkova.1951', 'total_duration_ms': 1036066240.0}, {'affiliation.person_id': 'PatrikNacher.1974', 'total_duration_ms': 967492860.0}, {'affiliation.person_id': 'JanaPastuchova.1965', 'total_duration_ms': 665546240.0}, {'affiliation.person_id': 'BohuslavChalupa.1960', 'total_duration_ms': 586292860.0}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'total_duration_ms': 477132450.0}, {'affiliation.person_id': 'KarelRais.1949', 'total_duration_ms': 471537300.0}, {'affiliation.person_id': 'RadkaMaxova.1968', 'total_duration_ms': 457603650.0}, {'affiliation.person_id': 'RichardBrabec.1966', 'total_duration_ms': 448263360.0}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'total_duration_ms': 440943900.0}, {'affiliation.person_id': 'JanVolny.1959', 'total_duration_ms': 433109700.0}, {'affiliation.person_id': 'JosefHajek.1956', 'total_duration_ms': 417400700.0}, {'affiliation.person_id': 'AdamVojtech.1986', 'total_duration_ms': 406686600.0}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'total_duration_ms': 320994370.0}, {'affiliation.person_id': 'JosefKott.1970', 'total_duration_ms': 317592670.0}, {'affiliation.person_id': 'JiriBlaha.1961', 'total_duration_ms': 315286940.0}, {'affiliation.person_id': 'IvanaDobesova.1960', 'total_duration_ms': 313974700.0}, {'affiliation.person_id': 'JiriZlatuska.1957', 'total_duration_ms': 312397760.0}, {'affiliation.person_id': 'PavelPlzak.1960', 'total_duration_ms': 311204000.0}, {'affiliation.person_id': 'MarekNovak.1976', 'total_duration_ms': 229400260.0}, {'affiliation.person_id': 'RostislavVyzula.1952', 'total_duration_ms': 228832560.0}, {'affiliation.person_id': 'PavelJuricek.1956', 'total_duration_ms': 210306660.0}, {'affiliation.person_id': 'DavidKasal.1969', 'total_duration_ms': 208956780.0}, {'affiliation.person_id': 'KarelHavlicek.1969', 'total_duration_ms': 208694180.0}, {'affiliation.person_id': 'MartinStropnicky.1956', 'total_duration_ms': 202414540.0}, {'affiliation.person_id': 'KristynaZelienkova.1974', 'total_duration_ms': 186925860.0}, {'affiliation.person_id': 'KlaraDostalova.1971', 'total_duration_ms': 185812820.0}, {'affiliation.person_id': 'DanTok.1959', 'total_duration_ms': 174332990.0}, {'affiliation.person_id': 'RomanKubicek.1963', 'total_duration_ms': 168781600.0}, {'affiliation.person_id': 'IvanPilny.1944', 'total_duration_ms': 162731260.0}, {'affiliation.person_id': 'VeraAdamkova.1954', 'total_duration_ms': 159045980.0}, {'affiliation.person_id': 'JiriMasek.1958', 'total_duration_ms': 151366050.0}, {'affiliation.person_id': 'MatejFichtner.1984', 'total_duration_ms': 147749090.0}, {'affiliation.person_id': 'AdamKalous.1979', 'total_duration_ms': 146458660.0}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'total_duration_ms': 145813980.0}, {'affiliation.person_id': 'EvaFialova.1982', 'total_duration_ms': 136329260.0}, {'affiliation.person_id': 'RomanProchazka.1968', 'total_duration_ms': 135852640.0}, {'affiliation.person_id': 'MartinKomarek.1961', 'total_duration_ms': 134901760.0}, {'affiliation.person_id': 'ZuzanaOzanova.1970', 'total_duration_ms': 125285430.0}, {'affiliation.person_id': 'MilanBrazdil.1962', 'total_duration_ms': 121230640.0}, {'affiliation.person_id': 'VeraProchazkova.1954', 'total_duration_ms': 112981390.0}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'total_duration_ms': 112201430.0}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'total_duration_ms': 110138730.0}, {'affiliation.person_id': 'MargitaBalastikova.1967', 'total_duration_ms': 108885064.0}, {'affiliation.person_id': 'JanaLorencova.1940', 'total_duration_ms': 108006720.0}, {'affiliation.person_id': 'MilanFeranec.1964', 'total_duration_ms': 106471624.0}, {'affiliation.person_id': 'LenkaDrazilova.1963', 'total_duration_ms': 100392480.0}, {'affiliation.person_id': 'KamalFarhan.1969', 'total_duration_ms': 91505450.0}, {'affiliation.person_id': 'JiriStrycek.1959', 'total_duration_ms': 89151000.0}, {'affiliation.person_id': 'RobertPelikan.1979', 'total_duration_ms': 88198680.0}, {'affiliation.person_id': 'KarlaSlechtova.1977', 'total_duration_ms': 81776710.0}, {'affiliation.person_id': 'AlesJuchelka.1976', 'total_duration_ms': 79842624.0}, {'affiliation.person_id': 'JanRehounek.1974', 'total_duration_ms': 78260056.0}, {'affiliation.person_id': 'MartinaBerdychova.1971', 'total_duration_ms': 75258870.0}, {'affiliation.person_id': 'StanislavBerkovec.1956', 'total_duration_ms': 74264360.0}, {'affiliation.person_id': 'PavelRuzicka.1970', 'total_duration_ms': 72850216.0}, {'affiliation.person_id': 'PavelSramek.1965', 'total_duration_ms': 70504530.0}, {'affiliation.person_id': 'BarboraKoranova.1984', 'total_duration_ms': 69507840.0}, {'affiliation.person_id': 'PavelPustejovsky.1972', 'total_duration_ms': 63083672.0}, {'affiliation.person_id': 'JanSchiller.1972', 'total_duration_ms': 61049964.0}, {'affiliation.person_id': 'VlastimilVozka.1954', 'total_duration_ms': 59393712.0}, {'affiliation.person_id': 'MilanPour.1965', 'total_duration_ms': 59355248.0}, {'affiliation.person_id': 'TomasKohoutek.1983', 'total_duration_ms': 52332200.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'total_duration_ms': 50221264.0}, {'affiliation.person_id': 'JaroslavKytyr.1963', 'total_duration_ms': 49535360.0}, {'affiliation.person_id': 'IgorNykl.1963', 'total_duration_ms': 46315080.0}, {'affiliation.person_id': 'MonikaOborna.1989', 'total_duration_ms': 43204744.0}, {'affiliation.person_id': 'KarelTurecek.1971', 'total_duration_ms': 41765660.0}, {'affiliation.person_id': 'MichalRatiborsky.1981', 'total_duration_ms': 40023100.0}, {'affiliation.person_id': 'MonikaCervickova.1967', 'total_duration_ms': 39982512.0}, {'affiliation.person_id': 'MilanHnilicka.1973', 'total_duration_ms': 39800688.0}, {'affiliation.person_id': 'IvoVondrak.1959', 'total_duration_ms': 39209140.0}, {'affiliation.person_id': 'JanKubik.1978', 'total_duration_ms': 34374528.0}, {'affiliation.person_id': 'OndrejBabka.1994', 'total_duration_ms': 33488320.0}, {'affiliation.person_id': 'LadislavOklestek.1961', 'total_duration_ms': 33466510.0}, {'affiliation.person_id': 'LubomirMetnar.1967', 'total_duration_ms': 33034440.0}, {'affiliation.person_id': 'JiriHolecek.1972', 'total_duration_ms': 31034740.0}, {'affiliation.person_id': 'RadekZlesak.1983', 'total_duration_ms': 29361500.0}, {'affiliation.person_id': 'MilosBabis.1960', 'total_duration_ms': 28280690.0}, {'affiliation.person_id': 'VeraJourova.1964', 'total_duration_ms': 28247370.0}, {'affiliation.person_id': 'ZuzanaSanova.1959', 'total_duration_ms': 27561630.0}, {'affiliation.person_id': 'MartinSedlar.1972', 'total_duration_ms': 26622610.0}, {'affiliation.person_id': 'BerenikaPestova.1971', 'total_duration_ms': 25864630.0}, {'affiliation.person_id': 'PetrSadovsky.1969', 'total_duration_ms': 21566400.0}, {'affiliation.person_id': 'MarcelaMelkova.1971', 'total_duration_ms': 20428280.0}, {'affiliation.person_id': 'RobertKralicek.1977', 'total_duration_ms': 20390110.0}, {'affiliation.person_id': 'PavelCihak.1960', 'total_duration_ms': 19931130.0}, {'affiliation.person_id': 'AndreaBrzobohata.1971', 'total_duration_ms': 18564200.0}, {'affiliation.person_id': 'TatanaMala.1981', 'total_duration_ms': 18501230.0}, {'affiliation.person_id': 'JosefVozdecky.1945', 'total_duration_ms': 18042710.0}, {'affiliation.person_id': 'MiloslavaRutova.1947', 'total_duration_ms': 17700590.0}, {'affiliation.person_id': 'PavelStanek.1967', 'total_duration_ms': 16085600.0}, {'affiliation.person_id': 'StanislavFridrich.1956', 'total_duration_ms': 14861700.0}, {'affiliation.person_id': 'DavidPrazak.1979', 'total_duration_ms': 14049650.0}, {'affiliation.person_id': 'JanRichter.1967', 'total_duration_ms': 12302890.0}, {'affiliation.person_id': 'StanislavPfleger.1958', 'total_duration_ms': 12036550.0}, {'affiliation.person_id': 'JosefBelica.1978', 'total_duration_ms': 11558920.0}, {'affiliation.person_id': 'JuliusSpicak.1952', 'total_duration_ms': 9906850.0}, {'affiliation.person_id': 'FrantisekPetrtyl.1959', 'total_duration_ms': 7866530.0}, {'affiliation.person_id': 'IvanaMadlova.1966', 'total_duration_ms': 7462250.0}, {'affiliation.person_id': 'IvaKalatova.1962', 'total_duration_ms': 6750950.0}, {'affiliation.person_id': 'PetrVrana.1975', 'total_duration_ms': 5289360.0}, {'affiliation.person_id': 'EvaMatyasova.1959', 'total_duration_ms': 4564250.0}, {'affiliation.person_id': 'PetrVenhoda.1986', 'total_duration_ms': 4563480.0}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'total_duration_ms': 3518970.0}, {'affiliation.person_id': 'JaroslavaPuntova.1957', 'total_duration_ms': 2442950.0}, {'affiliation.person_id': 'AndreaBabisova.1972', 'total_duration_ms': 2352130.0}, {'affiliation.person_id': 'PavelVolcik.1950', 'total_duration_ms': 2311600.0}, {'affiliation.person_id': 'JanSedlacek.1979', 'total_duration_ms': 1290400.0}, {'affiliation.person_id': 'DavidStolpa.1983', 'total_duration_ms': 1244640.0}, {'affiliation.person_id': 'RomanaFischerova.1969', 'total_duration_ms': 1000610.0}, {'affiliation.person_id': 'PremyslMalis.1980', 'total_duration_ms': 902250.0}, {'affiliation.person_id': 'IrenaBlazkova.1969', 'total_duration_ms': 656460.0}, {'affiliation.person_id': 'IvanJac.1956', 'total_duration_ms': 561000.0}, {'affiliation.person_id': 'JiriHlavaty.1948', 'total_duration_ms': 391500.0}, {'affiliation.person_id': 'RobertStrzinek.1968', 'total_duration_ms': 347110.0}, {'affiliation.person_id': 'RadimHolis.1975', 'total_duration_ms': 209080.0}, {'affiliation.person_id': 'RenataOulehlova.1968', 'total_duration_ms': 95710.0}] +[{'affiliation.person_id': 'RadekVondracek.1973', 'total_duration_ms': 291840000.0}, {'affiliation.person_id': 'JaroslavaPokornaJermanova.1970', 'total_duration_ms': 137331790.0}, {'affiliation.person_id': 'AndrejBabis.1954', 'total_duration_ms': 95323344.0}, {'affiliation.person_id': 'JaroslavFaltynek.1962', 'total_duration_ms': 62572336.0}, {'affiliation.person_id': 'JanaMrackovaVildumetzova.1973', 'total_duration_ms': 39024576.0}, {'affiliation.person_id': 'AlenaSchillerova.1964', 'total_duration_ms': 27244690.0}, {'affiliation.person_id': 'KarelHavlicek.1969', 'total_duration_ms': 15647360.0}, {'affiliation.person_id': 'AdamVojtech.1986', 'total_duration_ms': 13979280.0}, {'affiliation.person_id': 'MartinKolovratnik.1975', 'total_duration_ms': 11743220.0}, {'affiliation.person_id': 'RichardBrabec.1966', 'total_duration_ms': 10657070.0}, {'affiliation.person_id': 'KlaraDostalova.1971', 'total_duration_ms': 8251750.0}, {'affiliation.person_id': 'HelenaValkova.1951', 'total_duration_ms': 4230210.0}, {'affiliation.person_id': 'JanVolny.1959', 'total_duration_ms': 3914380.0}, {'affiliation.person_id': 'JosefKott.1970', 'total_duration_ms': 3703800.0}, {'affiliation.person_id': 'DanTok.1959', 'total_duration_ms': 3655100.0}, {'affiliation.person_id': 'MartinStropnicky.1956', 'total_duration_ms': 3646530.0}, {'affiliation.person_id': 'VeraJourova.1964', 'total_duration_ms': 3494370.0}, {'affiliation.person_id': 'ZdenekSoukup.1952', 'total_duration_ms': 3380260.0}, {'affiliation.person_id': 'BronislavSchwarz.1966', 'total_duration_ms': 3342500.0}, {'affiliation.person_id': 'MarekNovak.1976', 'total_duration_ms': 3037740.0}, {'affiliation.person_id': 'JiriZlatuska.1957', 'total_duration_ms': 2756800.0}, {'affiliation.person_id': 'JiriBlaha.1961', 'total_duration_ms': 2298300.0}, {'affiliation.person_id': 'PatrikNacher.1974', 'total_duration_ms': 1891340.0}, {'affiliation.person_id': 'RobertPelikan.1979', 'total_duration_ms': 1476220.0}, {'affiliation.person_id': 'RadkaMaxova.1968', 'total_duration_ms': 1434500.0}, {'affiliation.person_id': 'MilanBrazdil.1962', 'total_duration_ms': 1387340.0}, {'affiliation.person_id': 'LubomirMetnar.1967', 'total_duration_ms': 1017200.0}, {'affiliation.person_id': 'MatejFichtner.1984', 'total_duration_ms': 917380.0}, {'affiliation.person_id': 'JosefHajek.1956', 'total_duration_ms': 893160.0}, {'affiliation.person_id': 'MiloslavJanulik.1962', 'total_duration_ms': 788900.0}, {'affiliation.person_id': 'RomanKubicek.1963', 'total_duration_ms': 732260.0}, {'affiliation.person_id': 'BerenikaPestova.1971', 'total_duration_ms': 478290.0}, {'affiliation.person_id': 'RobertKralicek.1977', 'total_duration_ms': 414070.0}, {'affiliation.person_id': 'PetrVrana.1975', 'total_duration_ms': 244040.0}, {'affiliation.person_id': 'DavidKasal.1969', 'total_duration_ms': 150220.0}, {'affiliation.person_id': 'OndrejBabka.1994', 'total_duration_ms': 108290.0}, {'affiliation.person_id': 'IvoVondrak.1959', 'total_duration_ms': 18300.0}, {'affiliation.person_id': 'JanaHanzlikova.1966', 'total_duration_ms': 0.0}, {'affiliation.person_id': 'JaroslavBzoch.1983', 'total_duration_ms': 0.0}] +--------------------------------+-------------------+ | affiliation.person_id | total_duration_ms | +--------------------------------+-------------------+ -| JaroslavaPokornaJermanova.1970 | 3855006700.0 | -| RadekVondracek.1973 | 2499311400.0 | -| AndrejBabis.1954 | 1240811500.0 | -| MartinKolovratnik.1975 | 1167449000.0 | -| HelenaValkova.1951 | 1036066240.0 | -| PatrikNacher.1974 | 967492860.0 | -| JanaPastuchova.1965 | 665546240.0 | -| BohuslavChalupa.1960 | 586292860.0 | -| JaroslavFaltynek.1962 | 477132450.0 | -| KarelRais.1949 | 471537300.0 | -| RadkaMaxova.1968 | 457603650.0 | -| RichardBrabec.1966 | 448263360.0 | -| AlenaSchillerova.1964 | 440943900.0 | -| JanVolny.1959 | 433109700.0 | -| JosefHajek.1956 | 417400700.0 | -| AdamVojtech.1986 | 406686600.0 | -| JanaMrackovaVildumetzova.1973 | 320994370.0 | -| JosefKott.1970 | 317592670.0 | -| JiriBlaha.1961 | 315286940.0 | -| IvanaDobesova.1960 | 313974700.0 | -| JiriZlatuska.1957 | 312397760.0 | -| PavelPlzak.1960 | 311204000.0 | -| MarekNovak.1976 | 229400260.0 | -| RostislavVyzula.1952 | 228832560.0 | -| PavelJuricek.1956 | 210306660.0 | -| DavidKasal.1969 | 208956780.0 | -| KarelHavlicek.1969 | 208694180.0 | -| MartinStropnicky.1956 | 202414540.0 | -| KristynaZelienkova.1974 | 186925860.0 | -| KlaraDostalova.1971 | 185812820.0 | -| DanTok.1959 | 174332990.0 | -| RomanKubicek.1963 | 168781600.0 | -| IvanPilny.1944 | 162731260.0 | -| VeraAdamkova.1954 | 159045980.0 | -| JiriMasek.1958 | 151366050.0 | -| MatejFichtner.1984 | 147749090.0 | -| AdamKalous.1979 | 146458660.0 | -| ZdenekSoukup.1952 | 145813980.0 | -| EvaFialova.1982 | 136329260.0 | -| RomanProchazka.1968 | 135852640.0 | -| MartinKomarek.1961 | 134901760.0 | -| ZuzanaOzanova.1970 | 125285430.0 | -| MilanBrazdil.1962 | 121230640.0 | -| VeraProchazkova.1954 | 112981390.0 | -| BronislavSchwarz.1966 | 112201430.0 | -| MiloslavJanulik.1962 | 110138730.0 | -| MargitaBalastikova.1967 | 108885064.0 | -| JanaLorencova.1940 | 108006720.0 | -| MilanFeranec.1964 | 106471624.0 | -| LenkaDrazilova.1963 | 100392480.0 | -| KamalFarhan.1969 | 91505450.0 | -| JiriStrycek.1959 | 89151000.0 | -| RobertPelikan.1979 | 88198680.0 | -| KarlaSlechtova.1977 | 81776710.0 | -| AlesJuchelka.1976 | 79842624.0 | -| JanRehounek.1974 | 78260056.0 | -| MartinaBerdychova.1971 | 75258870.0 | -| StanislavBerkovec.1956 | 74264360.0 | -| PavelRuzicka.1970 | 72850216.0 | -| PavelSramek.1965 | 70504530.0 | -| BarboraKoranova.1984 | 69507840.0 | -| PavelPustejovsky.1972 | 63083672.0 | -| JanSchiller.1972 | 61049964.0 | -| VlastimilVozka.1954 | 59393712.0 | -| MilanPour.1965 | 59355248.0 | -| TomasKohoutek.1983 | 52332200.0 | -| JaroslavBzoch.1983 | 50221264.0 | -| JaroslavKytyr.1963 | 49535360.0 | -| IgorNykl.1963 | 46315080.0 | -| MonikaOborna.1989 | 43204744.0 | -| KarelTurecek.1971 | 41765660.0 | -| MichalRatiborsky.1981 | 40023100.0 | -| MonikaCervickova.1967 | 39982512.0 | -| MilanHnilicka.1973 | 39800688.0 | -| IvoVondrak.1959 | 39209140.0 | -| JanKubik.1978 | 34374528.0 | -| OndrejBabka.1994 | 33488320.0 | -| LadislavOklestek.1961 | 33466510.0 | -| LubomirMetnar.1967 | 33034440.0 | -| JiriHolecek.1972 | 31034740.0 | -| RadekZlesak.1983 | 29361500.0 | -| MilosBabis.1960 | 28280690.0 | -| VeraJourova.1964 | 28247370.0 | -| ZuzanaSanova.1959 | 27561630.0 | -| MartinSedlar.1972 | 26622610.0 | -| BerenikaPestova.1971 | 25864630.0 | -| PetrSadovsky.1969 | 21566400.0 | -| MarcelaMelkova.1971 | 20428280.0 | -| RobertKralicek.1977 | 20390110.0 | -| PavelCihak.1960 | 19931130.0 | -| AndreaBrzobohata.1971 | 18564200.0 | -| TatanaMala.1981 | 18501230.0 | -| JosefVozdecky.1945 | 18042710.0 | -| MiloslavaRutova.1947 | 17700590.0 | -| PavelStanek.1967 | 16085600.0 | -| StanislavFridrich.1956 | 14861700.0 | -| DavidPrazak.1979 | 14049650.0 | -| JanRichter.1967 | 12302890.0 | -| StanislavPfleger.1958 | 12036550.0 | -| JosefBelica.1978 | 11558920.0 | -| JuliusSpicak.1952 | 9906850.0 | -| FrantisekPetrtyl.1959 | 7866530.0 | -| IvanaMadlova.1966 | 7462250.0 | -| IvaKalatova.1962 | 6750950.0 | -| PetrVrana.1975 | 5289360.0 | -| EvaMatyasova.1959 | 4564250.0 | -| PetrVenhoda.1986 | 4563480.0 | -| JanaHanzlikova.1966 | 3518970.0 | -| JaroslavaPuntova.1957 | 2442950.0 | -| AndreaBabisova.1972 | 2352130.0 | -| PavelVolcik.1950 | 2311600.0 | -| JanSedlacek.1979 | 1290400.0 | -| DavidStolpa.1983 | 1244640.0 | -| RomanaFischerova.1969 | 1000610.0 | -| PremyslMalis.1980 | 902250.0 | -| IrenaBlazkova.1969 | 656460.0 | -| IvanJac.1956 | 561000.0 | -| JiriHlavaty.1948 | 391500.0 | -| RobertStrzinek.1968 | 347110.0 | -| RadimHolis.1975 | 209080.0 | -| RenataOulehlova.1968 | 95710.0 | +| RadekVondracek.1973 | 291840000.0 | +| JaroslavaPokornaJermanova.1970 | 137331790.0 | +| AndrejBabis.1954 | 95323344.0 | +| JaroslavFaltynek.1962 | 62572336.0 | +| JanaMrackovaVildumetzova.1973 | 39024576.0 | +| AlenaSchillerova.1964 | 27244690.0 | +| KarelHavlicek.1969 | 15647360.0 | +| AdamVojtech.1986 | 13979280.0 | +| MartinKolovratnik.1975 | 11743220.0 | +| RichardBrabec.1966 | 10657070.0 | +| KlaraDostalova.1971 | 8251750.0 | +| HelenaValkova.1951 | 4230210.0 | +| JanVolny.1959 | 3914380.0 | +| JosefKott.1970 | 3703800.0 | +| DanTok.1959 | 3655100.0 | +| MartinStropnicky.1956 | 3646530.0 | +| VeraJourova.1964 | 3494370.0 | +| ZdenekSoukup.1952 | 3380260.0 | +| BronislavSchwarz.1966 | 3342500.0 | +| MarekNovak.1976 | 3037740.0 | +| JiriZlatuska.1957 | 2756800.0 | +| JiriBlaha.1961 | 2298300.0 | +| PatrikNacher.1974 | 1891340.0 | +| RobertPelikan.1979 | 1476220.0 | +| RadkaMaxova.1968 | 1434500.0 | +| MilanBrazdil.1962 | 1387340.0 | +| LubomirMetnar.1967 | 1017200.0 | +| MatejFichtner.1984 | 917380.0 | +| JosefHajek.1956 | 893160.0 | +| MiloslavJanulik.1962 | 788900.0 | +| RomanKubicek.1963 | 732260.0 | +| BerenikaPestova.1971 | 478290.0 | +| RobertKralicek.1977 | 414070.0 | +| PetrVrana.1975 | 244040.0 | +| DavidKasal.1969 | 150220.0 | +| OndrejBabka.1994 | 108290.0 | +| IvoVondrak.1959 | 18300.0 | +| JanaHanzlikova.1966 | 0.0 | +| JaroslavBzoch.1983 | 0.0 | +--------------------------------+-------------------+ diff --git a/test/API/examples/expected/total_sentences_female_result.txt b/test/API/examples/expected/total_sentences_female_result.txt index ac33d47..d472399 100644 --- a/test/API/examples/expected/total_sentences_female_result.txt +++ b/test/API/examples/expected/total_sentences_female_result.txt @@ -1,7 +1,7 @@ -[{'person.sex': 'F', 'total_sentences': 346909}] +[{'person.sex': 'F', 'total_sentences': 18642}] +------------+-----------------+ | person.sex | total_sentences | +------------+-----------------+ -| F | 346909 | +| F | 18642 | +------------+-----------------+ diff --git a/test/API/examples/expected/total_speeches_by_organisation_roles_result.txt b/test/API/examples/expected/total_speeches_by_organisation_roles_result.txt index 9e8493c..1dd41f7 100644 --- a/test/API/examples/expected/total_speeches_by_organisation_roles_result.txt +++ b/test/API/examples/expected/total_speeches_by_organisation_roles_result.txt @@ -1,19 +1,18 @@ -[{'organisation.role': 'interparliamentaryFriendshipGroup', 'COUNT(speech.id) as total_speeches': 993377}, {'organisation.role': 'committee', 'COUNT(speech.id) as total_speeches': 407840}, {'organisation.role': 'subcommittee', 'COUNT(speech.id) as total_speeches': 311298}, {'organisation.role': 'parliament', 'COUNT(speech.id) as total_speeches': 256168}, {'organisation.role': 'parliamentaryGroup', 'COUNT(speech.id) as total_speeches': 194087}, {'organisation.role': 'politicalParty', 'COUNT(speech.id) as total_speeches': 124599}, {'organisation.role': 'commission', 'COUNT(speech.id) as total_speeches': 123586}, {'organisation.role': 'delegation', 'COUNT(speech.id) as total_speeches': 28483}, {'organisation.role': 'government', 'COUNT(speech.id) as total_speeches': 23395}, {'organisation.role': 'supervisoryBoard', 'COUNT(speech.id) as total_speeches': 8226}, {'organisation.role': 'boardOfDirectors', 'COUNT(speech.id) as total_speeches': 3538}, {'organisation.role': 'institution', 'COUNT(speech.id) as total_speeches': 75}, {'organisation.role': 'republic', 'COUNT(speech.id) as total_speeches': 24}] +[{'organisation.role': 'interparliamentaryFriendshipGroup', 'COUNT(speech.id) as total_speeches': 17013}, {'organisation.role': 'committee', 'COUNT(speech.id) as total_speeches': 9380}, {'organisation.role': 'parliament', 'COUNT(speech.id) as total_speeches': 6220}, {'organisation.role': 'parliamentaryGroup', 'COUNT(speech.id) as total_speeches': 5299}, {'organisation.role': 'subcommittee', 'COUNT(speech.id) as total_speeches': 4803}, {'organisation.role': 'politicalParty', 'COUNT(speech.id) as total_speeches': 2586}, {'organisation.role': 'commission', 'COUNT(speech.id) as total_speeches': 1890}, {'organisation.role': 'delegation', 'COUNT(speech.id) as total_speeches': 1452}, {'organisation.role': 'government', 'COUNT(speech.id) as total_speeches': 383}, {'organisation.role': 'supervisoryBoard', 'COUNT(speech.id) as total_speeches': 201}, {'organisation.role': 'boardOfDirectors', 'COUNT(speech.id) as total_speeches': 14}, {'organisation.role': 'republic', 'COUNT(speech.id) as total_speeches': 4}] +-----------------------------------+------------------------------------+ | organisation.role | COUNT(speech.id) as total_speeches | +-----------------------------------+------------------------------------+ -| interparliamentaryFriendshipGroup | 993377 | -| committee | 407840 | -| subcommittee | 311298 | -| parliament | 256168 | -| parliamentaryGroup | 194087 | -| politicalParty | 124599 | -| commission | 123586 | -| delegation | 28483 | -| government | 23395 | -| supervisoryBoard | 8226 | -| boardOfDirectors | 3538 | -| institution | 75 | -| republic | 24 | +| interparliamentaryFriendshipGroup | 17013 | +| committee | 9380 | +| parliament | 6220 | +| parliamentaryGroup | 5299 | +| subcommittee | 4803 | +| politicalParty | 2586 | +| commission | 1890 | +| delegation | 1452 | +| government | 383 | +| supervisoryBoard | 201 | +| boardOfDirectors | 14 | +| republic | 4 | +-----------------------------------+------------------------------------+ diff --git a/test/API/examples/expected/total_speeches_male_time_frame_result.txt b/test/API/examples/expected/total_speeches_male_time_frame_result.txt index f5cee11..7554776 100644 --- a/test/API/examples/expected/total_speeches_male_time_frame_result.txt +++ b/test/API/examples/expected/total_speeches_male_time_frame_result.txt @@ -1,7 +1,7 @@ -[{'person.sex': 'M', 'total_speeches': 21517}] +[{'person.sex': 'M', 'total_speeches': 285}] +------------+----------------+ | person.sex | total_speeches | +------------+----------------+ -| M | 21517 | +| M | 285 | +------------+----------------+ diff --git a/test/API/examples/inputs/total_duration_of_speeches_given_by_ANO_members_ms.json b/test/API/examples/inputs/total_duration_of_speeches_given_by_ANO_members_ms.json index 470fa93..7f5b9ca 100644 --- a/test/API/examples/inputs/total_duration_of_speeches_given_by_ANO_members_ms.json +++ b/test/API/examples/inputs/total_duration_of_speeches_given_by_ANO_members_ms.json @@ -40,6 +40,11 @@ "operator":"IN", "value":"step_result.get_ano_members.affiliation.person_id" }, + { + "column":"speech.total_duration", + "operator":"IS NOT", + "value":"NULL" + }, { "column":"speech.date", "operator":"<=", diff --git a/test/API/tester.py b/test/API/tester.py index 3560d01..ac29918 100644 --- a/test/API/tester.py +++ b/test/API/tester.py @@ -30,8 +30,8 @@ def main(args): client_process = subprocess.run([my_venv, client, f"--specific_query={args.specific}"], capture_output=True, text=True) actual = client_process.stdout.strip() f1 = open(args.expected, 'r') + expected = f1.read().strip() - if (actual == expected): print(f"Query {args.specific}: PASSED!") else: @@ -46,6 +46,7 @@ def main(args): print("---TESTING ALL QUERIES AT ONCE---") client_process = subprocess.run([my_venv, client, f"--query_source={args.source_dir}", f"--dir={args.target_dir}"], capture_output=True, text=True) + results = os.listdir(args.target_dir) targets = os.listdir("examples/expected/") for result, target in zip(results, targets): @@ -55,7 +56,6 @@ def main(args): expected = f2.read().strip() f1.close() f2.close() - if (actual == expected): print(f"Query: {result[:]} PASSED!") else: