hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
0e2d89d7fdde94aca8ed8d18d281dd2b46bed0c9
553
py
Python
desktop_file_1w.py
OishiiCha/countdown_timer
111d9402bdcb606367e67cbdd9e54d97a30b43d2
[ "MIT" ]
null
null
null
desktop_file_1w.py
OishiiCha/countdown_timer
111d9402bdcb606367e67cbdd9e54d97a30b43d2
[ "MIT" ]
null
null
null
desktop_file_1w.py
OishiiCha/countdown_timer
111d9402bdcb606367e67cbdd9e54d97a30b43d2
[ "MIT" ]
null
null
null
import getpass import os f = open("countdown_1w.desktop", "x") usr = str(getpass.getuser()) f.write("[Desktop Entry]\nVersion=1.0\nName=Countdown 1w\nComment=Simple countdown timer\nExec=python3 /home/"+ usr +"/countdown_timer/countdown.py\nIcon=/home/"+ usr +"/countdown_timer/data/countdown.ico\nTerminal=false\nType=Application\nCategories=Application;") os.system("mv countdown_1w.desktop ~/Desktop/") os.system("cd") os.system("chmod +x ~/Desktop/countdown_1w.desktop") os.system("gio set ~/Desktop/countdown_1w.desktop metadata::trusted true")
42.538462
265
0.764919
79
553
5.278481
0.531646
0.131894
0.172662
0.100719
0
0
0
0
0
0
0
0.015474
0.065099
553
13
266
42.538462
0.791103
0
0
0
0
0.222222
0.709386
0.416968
0
0
0
0
0
1
0
false
0.222222
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
0e34fba828a37031816683233e76493cf48984b1
15,393
py
Python
DP_Longest_Increasing_Subsequen.py
tw7613781/leetcode
954a7288c21f315e664927b707b800d4d1d2bd6f
[ "Apache-2.0" ]
null
null
null
DP_Longest_Increasing_Subsequen.py
tw7613781/leetcode
954a7288c21f315e664927b707b800d4d1d2bd6f
[ "Apache-2.0" ]
1
2021-05-11T19:27:47.000Z
2021-05-11T19:27:47.000Z
DP_Longest_Increasing_Subsequen.py
tw7613781/leetcode
954a7288c21f315e664927b707b800d4d1d2bd6f
[ "Apache-2.0" ]
null
null
null
# import sys # class Solution: # def lengthOfLIS(self, nums): # """ # :type nums: List[int] # :rtype: int # """ # data = nums # memo = {} # i = 0 # last = -1111111 # rt = self.recursion(data, i, last, memo) # return rt # def recursion(self, data, i, last, memo): # key = str(i) + str(last) # if key in memo: # return memo[key] # if i == len(data): # return 0 # if data[i] > last: # rt = max(1 + self.recursion(data, i+1, data[i], memo), self.recursion(data, i+1, last, memo)) # memo[key] = rt # else: # rt = max(self.recursion(data, i+1, last, memo), self.recursion(data, i+1, last, memo)) # memo[key] = rt # return rt # sys.setrecursionlimit(100000) class Solution: def lengthOfLIS(self, nums): """ :type nums: List[int] :rtype: int """ data = nums data_len = len(data) if data_len == 0: return 0 sub_answer = [1] * data_len for index_forward in range(1, data_len): for index_sub in range(index_forward): if data[index_forward] > data[index_sub]: sub_answer[index_forward] = max(sub_answer[index_sub] + 1, sub_answer[index_forward]) return max(sub_answer) data = [-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-113,-114,-115,-116,-117,-118,-119,-120,-121,-122,-123,-124,-125,-126,-127,-128,-129,-130,-131,-132,-133,-134,-135,-136,-137,-138,-139,-140,-141,-142,-143,-144,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-167,-168,-169,-170,-171,-172,-173,-174,-175,-176,-177,-178,-179,-180,-181,-182,-183,-184,-185,-186,-187,-188,-189,-190,-191,-192,-193,-194,-195,-196,-197,-198,-199,-200,-201,-202,-203,-204,-205,-206,-207,-208,-209,-210,-211,-212,-213,-214,-215,-216,-217,-218,-219,-220,-221,-222,-223,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,-235,-236,-237,-238,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,-257,-258,-259,-260,-261,-262,-263,-264,-265,-266,-267,-268,-269,-270,-271,-272,-273,-274,-275,-276,-277,-278,-279,-280,-281,-282,-283,-284,-285,-286,-287,-288,-289,-290,-291,-292,-293,-294,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-305,-306,-307,-308,-309,-310,-311,-312,-313,-314,-315,-316,-317,-318,-319,-320,-321,-322,-323,-324,-325,-326,-327,-328,-329,-330,-331,-332,-333,-334,-335,-336,-337,-338,-339,-340,-341,-342,-343,-344,-345,-346,-347,-348,-349,-350,-351,-352,-353,-354,-355,-356,-357,-358,-359,-360,-361,-362,-363,-364,-365,-366,-367,-368,-369,-370,-371,-372,-373,-374,-375,-376,-377,-378,-379,-380,-381,-382,-383,-384,-385,-386,-387,-388,-389,-390,-391,-392,-393,-394,-395,-396,-397,-398,-399,-400,-401,-402,-403,-404,-405,-406,-407,-408,-409,-410,-411,-412,-413,-414,-415,-416,-417,-418,-419,-420,-421,-422,-423,-424,-425,-426,-427,-428,-429,-430,-431,-432,-433,-434,-435,-436,-437,-438,-439,-440,-441,-442,-443,-444,-445,-446,-447,-448,-449,-450,-451,-452,-453,-454,-455,-456,-457,-458,-459,-460,-461,-462,-463,-464,-465,-466,-467,-468,-469,-470,-471,-472,-473,-474,-475,-476,-477,-478,-479,-480,-481,-482,-483,-484,-485,-486,-487,-488,-489,-490,-491,-492,-493,-494,-495,-496,-497,-498,-499,-500,-501,-502,-503,-504,-505,-506,-507,-508,-509,-510,-511,-512,-513,-514,-515,-516,-517,-518,-519,-520,-521,-522,-523,-524,-525,-526,-527,-528,-529,-530,-531,-532,-533,-534,-535,-536,-537,-538,-539,-540,-541,-542,-543,-544,-545,-546,-547,-548,-549,-550,-551,-552,-553,-554,-555,-556,-557,-558,-559,-560,-561,-562,-563,-564,-565,-566,-567,-568,-569,-570,-571,-572,-573,-574,-575,-576,-577,-578,-579,-580,-581,-582,-583,-584,-585,-586,-587,-588,-589,-590,-591,-592,-593,-594,-595,-596,-597,-598,-599,-600,-601,-602,-603,-604,-605,-606,-607,-608,-609,-610,-611,-612,-613,-614,-615,-616,-617,-618,-619,-620,-621,-622,-623,-624,-625,-626,-627,-628,-629,-630,-631,-632,-633,-634,-635,-636,-637,-638,-639,-640,-641,-642,-643,-644,-645,-646,-647,-648,-649,-650,-651,-652,-653,-654,-655,-656,-657,-658,-659,-660,-661,-662,-663,-664,-665,-666,-667,-668,-669,-670,-671,-672,-673,-674,-675,-676,-677,-678,-679,-680,-681,-682,-683,-684,-685,-686,-687,-688,-689,-690,-691,-692,-693,-694,-695,-696,-697,-698,-699,-700,-701,-702,-703,-704,-705,-706,-707,-708,-709,-710,-711,-712,-713,-714,-715,-716,-717,-718,-719,-720,-721,-722,-723,-724,-725,-726,-727,-728,-729,-730,-731,-732,-733,-734,-735,-736,-737,-738,-739,-740,-741,-742,-743,-744,-745,-746,-747,-748,-749,-750,-751,-752,-753,-754,-755,-756,-757,-758,-759,-760,-761,-762,-763,-764,-765,-766,-767,-768,-769,-770,-771,-772,-773,-774,-775,-776,-777,-778,-779,-780,-781,-782,-783,-784,-785,-786,-787,-788,-789,-790,-791,-792,-793,-794,-795,-796,-797,-798,-799,-800,-801,-802,-803,-804,-805,-806,-807,-808,-809,-810,-811,-812,-813,-814,-815,-816,-817,-818,-819,-820,-821,-822,-823,-824,-825,-826,-827,-828,-829,-830,-831,-832,-833,-834,-835,-836,-837,-838,-839,-840,-841,-842,-843,-844,-845,-846,-847,-848,-849,-850,-851,-852,-853,-854,-855,-856,-857,-858,-859,-860,-861,-862,-863,-864,-865,-866,-867,-868,-869,-870,-871,-872,-873,-874,-875,-876,-877,-878,-879,-880,-881,-882,-883,-884,-885,-886,-887,-888,-889,-890,-891,-892,-893,-894,-895,-896,-897,-898,-899,-900,-901,-902,-903,-904,-905,-906,-907,-908,-909,-910,-911,-912,-913,-914,-915,-916,-917,-918,-919,-920,-921,-922,-923,-924,-925,-926,-927,-928,-929,-930,-931,-932,-933,-934,-935,-936,-937,-938,-939,-940,-941,-942,-943,-944,-945,-946,-947,-948,-949,-950,-951,-952,-953,-954,-955,-956,-957,-958,-959,-960,-961,-962,-963,-964,-965,-966,-967,-968,-969,-970,-971,-972,-973,-974,-975,-976,-977,-978,-979,-980,-981,-982,-983,-984,-985,-986,-987,-988,-989,-990,-991,-992,-993,-994,-995,-996,-997,-998,-999,-1000,-1001,-1002,-1003,-1004,-1005,-1006,-1007,-1008,-1009,-1010,-1011,-1012,-1013,-1014,-1015,-1016,-1017,-1018,-1019,-1020,-1021,-1022,-1023,-1024,-1025,-1026,-1027,-1028,-1029,-1030,-1031,-1032,-1033,-1034,-1035,-1036,-1037,-1038,-1039,-1040,-1041,-1042,-1043,-1044,-1045,-1046,-1047,-1048,-1049,-1050,-1051,-1052,-1053,-1054,-1055,-1056,-1057,-1058,-1059,-1060,-1061,-1062,-1063,-1064,-1065,-1066,-1067,-1068,-1069,-1070,-1071,-1072,-1073,-1074,-1075,-1076,-1077,-1078,-1079,-1080,-1081,-1082,-1083,-1084,-1085,-1086,-1087,-1088,-1089,-1090,-1091,-1092,-1093,-1094,-1095,-1096,-1097,-1098,-1099,-1100,-1101,-1102,-1103,-1104,-1105,-1106,-1107,-1108,-1109,-1110,-1111,-1112,-1113,-1114,-1115,-1116,-1117,-1118,-1119,-1120,-1121,-1122,-1123,-1124,-1125,-1126,-1127,-1128,-1129,-1130,-1131,-1132,-1133,-1134,-1135,-1136,-1137,-1138,-1139,-1140,-1141,-1142,-1143,-1144,-1145,-1146,-1147,-1148,-1149,-1150,-1151,-1152,-1153,-1154,-1155,-1156,-1157,-1158,-1159,-1160,-1161,-1162,-1163,-1164,-1165,-1166,-1167,-1168,-1169,-1170,-1171,-1172,-1173,-1174,-1175,-1176,-1177,-1178,-1179,-1180,-1181,-1182,-1183,-1184,-1185,-1186,-1187,-1188,-1189,-1190,-1191,-1192,-1193,-1194,-1195,-1196,-1197,-1198,-1199,-1200,-1201,-1202,-1203,-1204,-1205,-1206,-1207,-1208,-1209,-1210,-1211,-1212,-1213,-1214,-1215,-1216,-1217,-1218,-1219,-1220,-1221,-1222,-1223,-1224,-1225,-1226,-1227,-1228,-1229,-1230,-1231,-1232,-1233,-1234,-1235,-1236,-1237,-1238,-1239,-1240,-1241,-1242,-1243,-1244,-1245,-1246,-1247,-1248,-1249,-1250,-1251,-1252,-1253,-1254,-1255,-1256,-1257,-1258,-1259,-1260,-1261,-1262,-1263,-1264,-1265,-1266,-1267,-1268,-1269,-1270,-1271,-1272,-1273,-1274,-1275,-1276,-1277,-1278,-1279,-1280,-1281,-1282,-1283,-1284,-1285,-1286,-1287,-1288,-1289,-1290,-1291,-1292,-1293,-1294,-1295,-1296,-1297,-1298,-1299,-1300,-1301,-1302,-1303,-1304,-1305,-1306,-1307,-1308,-1309,-1310,-1311,-1312,-1313,-1314,-1315,-1316,-1317,-1318,-1319,-1320,-1321,-1322,-1323,-1324,-1325,-1326,-1327,-1328,-1329,-1330,-1331,-1332,-1333,-1334,-1335,-1336,-1337,-1338,-1339,-1340,-1341,-1342,-1343,-1344,-1345,-1346,-1347,-1348,-1349,-1350,-1351,-1352,-1353,-1354,-1355,-1356,-1357,-1358,-1359,-1360,-1361,-1362,-1363,-1364,-1365,-1366,-1367,-1368,-1369,-1370,-1371,-1372,-1373,-1374,-1375,-1376,-1377,-1378,-1379,-1380,-1381,-1382,-1383,-1384,-1385,-1386,-1387,-1388,-1389,-1390,-1391,-1392,-1393,-1394,-1395,-1396,-1397,-1398,-1399,-1400,-1401,-1402,-1403,-1404,-1405,-1406,-1407,-1408,-1409,-1410,-1411,-1412,-1413,-1414,-1415,-1416,-1417,-1418,-1419,-1420,-1421,-1422,-1423,-1424,-1425,-1426,-1427,-1428,-1429,-1430,-1431,-1432,-1433,-1434,-1435,-1436,-1437,-1438,-1439,-1440,-1441,-1442,-1443,-1444,-1445,-1446,-1447,-1448,-1449,-1450,-1451,-1452,-1453,-1454,-1455,-1456,-1457,-1458,-1459,-1460,-1461,-1462,-1463,-1464,-1465,-1466,-1467,-1468,-1469,-1470,-1471,-1472,-1473,-1474,-1475,-1476,-1477,-1478,-1479,-1480,-1481,-1482,-1483,-1484,-1485,-1486,-1487,-1488,-1489,-1490,-1491,-1492,-1493,-1494,-1495,-1496,-1497,-1498,-1499,-1500,-1501,-1502,-1503,-1504,-1505,-1506,-1507,-1508,-1509,-1510,-1511,-1512,-1513,-1514,-1515,-1516,-1517,-1518,-1519,-1520,-1521,-1522,-1523,-1524,-1525,-1526,-1527,-1528,-1529,-1530,-1531,-1532,-1533,-1534,-1535,-1536,-1537,-1538,-1539,-1540,-1541,-1542,-1543,-1544,-1545,-1546,-1547,-1548,-1549,-1550,-1551,-1552,-1553,-1554,-1555,-1556,-1557,-1558,-1559,-1560,-1561,-1562,-1563,-1564,-1565,-1566,-1567,-1568,-1569,-1570,-1571,-1572,-1573,-1574,-1575,-1576,-1577,-1578,-1579,-1580,-1581,-1582,-1583,-1584,-1585,-1586,-1587,-1588,-1589,-1590,-1591,-1592,-1593,-1594,-1595,-1596,-1597,-1598,-1599,-1600,-1601,-1602,-1603,-1604,-1605,-1606,-1607,-1608,-1609,-1610,-1611,-1612,-1613,-1614,-1615,-1616,-1617,-1618,-1619,-1620,-1621,-1622,-1623,-1624,-1625,-1626,-1627,-1628,-1629,-1630,-1631,-1632,-1633,-1634,-1635,-1636,-1637,-1638,-1639,-1640,-1641,-1642,-1643,-1644,-1645,-1646,-1647,-1648,-1649,-1650,-1651,-1652,-1653,-1654,-1655,-1656,-1657,-1658,-1659,-1660,-1661,-1662,-1663,-1664,-1665,-1666,-1667,-1668,-1669,-1670,-1671,-1672,-1673,-1674,-1675,-1676,-1677,-1678,-1679,-1680,-1681,-1682,-1683,-1684,-1685,-1686,-1687,-1688,-1689,-1690,-1691,-1692,-1693,-1694,-1695,-1696,-1697,-1698,-1699,-1700,-1701,-1702,-1703,-1704,-1705,-1706,-1707,-1708,-1709,-1710,-1711,-1712,-1713,-1714,-1715,-1716,-1717,-1718,-1719,-1720,-1721,-1722,-1723,-1724,-1725,-1726,-1727,-1728,-1729,-1730,-1731,-1732,-1733,-1734,-1735,-1736,-1737,-1738,-1739,-1740,-1741,-1742,-1743,-1744,-1745,-1746,-1747,-1748,-1749,-1750,-1751,-1752,-1753,-1754,-1755,-1756,-1757,-1758,-1759,-1760,-1761,-1762,-1763,-1764,-1765,-1766,-1767,-1768,-1769,-1770,-1771,-1772,-1773,-1774,-1775,-1776,-1777,-1778,-1779,-1780,-1781,-1782,-1783,-1784,-1785,-1786,-1787,-1788,-1789,-1790,-1791,-1792,-1793,-1794,-1795,-1796,-1797,-1798,-1799,-1800,-1801,-1802,-1803,-1804,-1805,-1806,-1807,-1808,-1809,-1810,-1811,-1812,-1813,-1814,-1815,-1816,-1817,-1818,-1819,-1820,-1821,-1822,-1823,-1824,-1825,-1826,-1827,-1828,-1829,-1830,-1831,-1832,-1833,-1834,-1835,-1836,-1837,-1838,-1839,-1840,-1841,-1842,-1843,-1844,-1845,-1846,-1847,-1848,-1849,-1850,-1851,-1852,-1853,-1854,-1855,-1856,-1857,-1858,-1859,-1860,-1861,-1862,-1863,-1864,-1865,-1866,-1867,-1868,-1869,-1870,-1871,-1872,-1873,-1874,-1875,-1876,-1877,-1878,-1879,-1880,-1881,-1882,-1883,-1884,-1885,-1886,-1887,-1888,-1889,-1890,-1891,-1892,-1893,-1894,-1895,-1896,-1897,-1898,-1899,-1900,-1901,-1902,-1903,-1904,-1905,-1906,-1907,-1908,-1909,-1910,-1911,-1912,-1913,-1914,-1915,-1916,-1917,-1918,-1919,-1920,-1921,-1922,-1923,-1924,-1925,-1926,-1927,-1928,-1929,-1930,-1931,-1932,-1933,-1934,-1935,-1936,-1937,-1938,-1939,-1940,-1941,-1942,-1943,-1944,-1945,-1946,-1947,-1948,-1949,-1950,-1951,-1952,-1953,-1954,-1955,-1956,-1957,-1958,-1959,-1960,-1961,-1962,-1963,-1964,-1965,-1966,-1967,-1968,-1969,-1970,-1971,-1972,-1973,-1974,-1975,-1976,-1977,-1978,-1979,-1980,-1981,-1982,-1983,-1984,-1985,-1986,-1987,-1988,-1989,-1990,-1991,-1992,-1993,-1994,-1995,-1996,-1997,-1998,-1999,-2000,-2001,-2002,-2003,-2004,-2005,-2006,-2007,-2008,-2009,-2010,-2011,-2012,-2013,-2014,-2015,-2016,-2017,-2018,-2019,-2020,-2021,-2022,-2023,-2024,-2025,-2026,-2027,-2028,-2029,-2030,-2031,-2032,-2033,-2034,-2035,-2036,-2037,-2038,-2039,-2040,-2041,-2042,-2043,-2044,-2045,-2046,-2047,-2048,-2049,-2050,-2051,-2052,-2053,-2054,-2055,-2056,-2057,-2058,-2059,-2060,-2061,-2062,-2063,-2064,-2065,-2066,-2067,-2068,-2069,-2070,-2071,-2072,-2073,-2074,-2075,-2076,-2077,-2078,-2079,-2080,-2081,-2082,-2083,-2084,-2085,-2086,-2087,-2088,-2089,-2090,-2091,-2092,-2093,-2094,-2095,-2096,-2097,-2098,-2099,-2100,-2101,-2102,-2103,-2104,-2105,-2106,-2107,-2108,-2109,-2110,-2111,-2112,-2113,-2114,-2115,-2116,-2117,-2118,-2119,-2120,-2121,-2122,-2123,-2124,-2125,-2126,-2127,-2128,-2129,-2130,-2131,-2132,-2133,-2134,-2135,-2136,-2137,-2138,-2139,-2140,-2141,-2142,-2143,-2144,-2145,-2146,-2147,-2148,-2149,-2150,-2151,-2152,-2153,-2154,-2155,-2156,-2157,-2158,-2159,-2160,-2161,-2162,-2163,-2164,-2165,-2166,-2167,-2168,-2169,-2170,-2171,-2172,-2173,-2174,-2175,-2176,-2177,-2178,-2179,-2180,-2181,-2182,-2183,-2184,-2185,-2186,-2187,-2188,-2189,-2190,-2191,-2192,-2193,-2194,-2195,-2196,-2197,-2198,-2199,-2200,-2201,-2202,-2203,-2204,-2205,-2206,-2207,-2208,-2209,-2210,-2211,-2212,-2213,-2214,-2215,-2216,-2217,-2218,-2219,-2220,-2221,-2222,-2223,-2224,-2225,-2226,-2227,-2228,-2229,-2230,-2231,-2232,-2233,-2234,-2235,-2236,-2237,-2238,-2239,-2240,-2241,-2242,-2243,-2244,-2245,-2246,-2247,-2248,-2249,-2250,-2251,-2252,-2253,-2254,-2255,-2256,-2257,-2258,-2259,-2260,-2261,-2262,-2263,-2264,-2265,-2266,-2267,-2268,-2269,-2270,-2271,-2272,-2273,-2274,-2275,-2276,-2277,-2278,-2279,-2280,-2281,-2282,-2283,-2284,-2285,-2286,-2287,-2288,-2289,-2290,-2291,-2292,-2293,-2294,-2295,-2296,-2297,-2298,-2299,-2300,-2301,-2302,-2303,-2304,-2305,-2306,-2307,-2308,-2309,-2310,-2311,-2312,-2313,-2314,-2315,-2316,-2317,-2318,-2319,-2320,-2321,-2322,-2323,-2324,-2325,-2326,-2327,-2328,-2329,-2330,-2331,-2332,-2333,-2334,-2335,-2336,-2337,-2338,-2339,-2340,-2341,-2342,-2343,-2344,-2345,-2346,-2347,-2348,-2349,-2350,-2351,-2352,-2353,-2354,-2355,-2356,-2357,-2358,-2359,-2360,-2361,-2362,-2363,-2364,-2365,-2366,-2367,-2368,-2369,-2370,-2371,-2372,-2373,-2374,-2375,-2376,-2377,-2378,-2379,-2380,-2381,-2382,-2383,-2384,-2385,-2386,-2387,-2388,-2389,-2390,-2391,-2392,-2393,-2394,-2395,-2396,-2397,-2398,-2399,-2400,-2401,-2402,-2403,-2404,-2405,-2406,-2407,-2408,-2409,-2410,-2411,-2412,-2413,-2414,-2415,-2416,-2417,-2418,-2419,-2420,-2421,-2422,-2423,-2424,-2425,-2426,-2427,-2428,-2429,-2430,-2431,-2432,-2433,-2434,-2435,-2436,-2437,-2438,-2439,-2440,-2441,-2442,-2443,-2444,-2445,-2446,-2447,-2448,-2449,-2450,-2451,-2452,-2453,-2454,-2455,-2456,-2457,-2458,-2459,-2460,-2461,-2462,-2463,-2464,-2465,-2466,-2467,-2468,-2469,-2470,-2471,-2472,-2473,-2474,-2475,-2476,-2477,-2478,-2479,-2480,-2481,-2482,-2483,-2484,-2485,-2486,-2487,-2488,-2489,-2490,-2491,-2492,-2493,-2494,-2495,-2496,-2497,-2498,-2499,-2500] solution = Solution() rt = solution.lengthOfLIS(data) print(rt)
279.872727
13,901
0.626648
2,683
15,393
3.588893
0.945583
0.004154
0.008828
0.009347
0.029702
0.024405
0.024405
0.022017
0.022017
0.022017
0
0.600822
0.035731
15,393
54
13,902
285.055556
0.047901
0.05509
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.25
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0e4d51ae13156262568782dc2cc45b9c17e231d7
49
py
Python
src/teams/__init__.py
pawelad/nba-rank
ff9f80609c25435307608002ee3b36951e337043
[ "MIT" ]
1
2016-08-14T16:56:21.000Z
2016-08-14T16:56:21.000Z
src/teams/__init__.py
pawelad/nba-rank
ff9f80609c25435307608002ee3b36951e337043
[ "MIT" ]
null
null
null
src/teams/__init__.py
pawelad/nba-rank
ff9f80609c25435307608002ee3b36951e337043
[ "MIT" ]
null
null
null
default_app_config = 'teams.apps.TeamsAppConfig'
24.5
48
0.836735
6
49
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.847826
0
0
0
0
0
0.510204
0.510204
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0e6122469d6cec3a61b8d5f1e879ef8c0a6bd80a
245
py
Python
netbox_proxbox/release.py
MesoSource/netbox-proxbox
7af9ea7f6bed5302260181033fc12d56a70b35fc
[ "Apache-2.0" ]
41
2021-05-04T17:16:03.000Z
2022-03-18T14:11:58.000Z
netbox_proxbox/release.py
MesoSource/netbox-proxbox
7af9ea7f6bed5302260181033fc12d56a70b35fc
[ "Apache-2.0" ]
15
2021-05-05T00:06:08.000Z
2022-03-31T16:43:03.000Z
netbox_proxbox/release.py
MesoSource/netbox-proxbox
7af9ea7f6bed5302260181033fc12d56a70b35fc
[ "Apache-2.0" ]
13
2021-05-04T12:50:54.000Z
2022-03-22T13:04:28.000Z
from packaging import version from django.conf import settings NETBOX_RELEASE_CURRENT = version.parse(settings.VERSION) NETBOX_RELEASE_28 = version.parse("2.8") NETBOX_RELEASE_29 = version.parse("2.9") NETBOX_RELEASE_210 = version.parse("2.10")
35
56
0.808163
37
245
5.135135
0.486486
0.273684
0.205263
0
0
0
0
0
0
0
0
0.062222
0.081633
245
7
57
35
0.782222
0
0
0
0
0
0.04065
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
0e743a7d714f10297131181a821f74a8e1c1994a
174
py
Python
evalapp/evalapp/data.py
mana-ysh/tiny-competition-infra
a296a761b3549c53e884860ac18c6f655f689635
[ "Apache-2.0" ]
1
2020-12-19T08:41:32.000Z
2020-12-19T08:41:32.000Z
evalapp/evalapp/data.py
mana-ysh/tiny-competition-infra
a296a761b3549c53e884860ac18c6f655f689635
[ "Apache-2.0" ]
null
null
null
evalapp/evalapp/data.py
mana-ysh/tiny-competition-infra
a296a761b3549c53e884860ac18c6f655f689635
[ "Apache-2.0" ]
null
null
null
def read_gold_data(data_path: str): return [ line.strip() for line in open(data_path) ] def read_pred_data(data_str: str): return data_str.split("\n")
17.4
48
0.655172
28
174
3.785714
0.535714
0.132075
0
0
0
0
0
0
0
0
0
0
0.224138
174
9
49
19.333333
0.785185
0
0
0
0
0
0.011561
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
0e8d830d2677778e240f0ee4300dc73124bc2749
152
py
Python
titan/react_view_pkg/view/resources.py
mnieber/gen
65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9
[ "MIT" ]
null
null
null
titan/react_view_pkg/view/resources.py
mnieber/gen
65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9
[ "MIT" ]
null
null
null
titan/react_view_pkg/view/resources.py
mnieber/gen
65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9
[ "MIT" ]
null
null
null
from dataclasses import dataclass from titan.react_pkg.component import Component @dataclass class View(Component): wraps_children: bool = False
16.888889
47
0.802632
19
152
6.315789
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.144737
152
8
48
19
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
0e9ae601f6f4d490e65243115b4bea03641db0de
22
py
Python
rbcontroller-android-app/pc_controller/__init__.py
RoboticsBrno/Chassis-rider-demo
f435646a96e6a8280404e797e6095c07dd80c4ee
[ "MIT" ]
1
2020-02-15T10:31:13.000Z
2020-02-15T10:31:13.000Z
rbcontroller-android-app/pc_controller/__init__.py
RoboticsBrno/Chassis-rider-demo
f435646a96e6a8280404e797e6095c07dd80c4ee
[ "MIT" ]
1
2020-02-26T22:20:33.000Z
2020-03-07T16:49:16.000Z
rbcontroller-android-app/pc_controller/__init__.py
RoboticsBrno/Chassis-rider-demo
f435646a96e6a8280404e797e6095c07dd80c4ee
[ "MIT" ]
null
null
null
.vscode __pycache__
7.333333
12
0.772727
2
22
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
2
13
11
0.722222
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
0e9ff794d48619f95edb07a2c22bcc6c1fead049
100
py
Python
src/service/exceptions.py
gusilva/sdr
c40f78ef31ddac77e4a13b1a7567171af5caaf07
[ "MIT" ]
null
null
null
src/service/exceptions.py
gusilva/sdr
c40f78ef31ddac77e4a13b1a7567171af5caaf07
[ "MIT" ]
null
null
null
src/service/exceptions.py
gusilva/sdr
c40f78ef31ddac77e4a13b1a7567171af5caaf07
[ "MIT" ]
null
null
null
class WSApiException(Exception): """ Webservice exception from api. """ pass
14.285714
35
0.58
8
100
7.25
0.875
0
0
0
0
0
0
0
0
0
0
0
0.32
100
6
36
16.666667
0.852941
0.3
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
0ea414a47d1b2dce2bf3c7b212cbf52127f38326
66
py
Python
__main__.py
sidbelbase/nepali-calendar-indicator
07cb821aa25ed2b7e4556125e9a6f59f8e6f6dc7
[ "Apache-2.0" ]
7
2016-10-01T23:26:51.000Z
2021-02-02T05:32:46.000Z
__main__.py
sidbelbase/nepali-calendar-indicator
07cb821aa25ed2b7e4556125e9a6f59f8e6f6dc7
[ "Apache-2.0" ]
8
2016-09-18T21:42:28.000Z
2021-11-04T23:45:28.000Z
__main__.py
sidbelbase/nepali-calendar-indicator
07cb821aa25ed2b7e4556125e9a6f59f8e6f6dc7
[ "Apache-2.0" ]
5
2016-09-19T05:38:42.000Z
2021-10-30T12:47:23.000Z
# -*- coding: utf-8 -*- import nepcalapplet nepcalapplet.main()
11
23
0.666667
7
66
6.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.017857
0.151515
66
5
24
13.2
0.767857
0.318182
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
7ebb3ff56b5a129d3556f9481ecd5c76c6f06acd
115
py
Python
sympy/assumptions/predicates/__init__.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/assumptions/predicates/__init__.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/assumptions/predicates/__init__.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
""" Module to implement predicate classes. Class of every predicate registered to ``Q`` is defined here. """
19.166667
62
0.695652
15
115
5.333333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.2
115
5
63
23
0.869565
0.878261
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7ebfd7f03feceefdb0a12e05b2f8dcbf9c667497
95
py
Python
main.py
jingwangian/corona-au
8e017630f43eea6836db207c0c70149493737937
[ "MIT" ]
null
null
null
main.py
jingwangian/corona-au
8e017630f43eea6836db207c0c70149493737937
[ "MIT" ]
null
null
null
main.py
jingwangian/corona-au
8e017630f43eea6836db207c0c70149493737937
[ "MIT" ]
null
null
null
from app import app if __name__ == '__main__': app.run_server(host='0.0.0.0', debug=True)
19
46
0.673684
17
95
3.235294
0.705882
0.109091
0.109091
0
0
0
0
0
0
0
0
0.05
0.157895
95
4
47
23.75
0.6375
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
7efc56a0e5b9a7b5df1319b5732e1756f62758f2
123
py
Python
oidc_provider/signals.py
coolapp-dev/django-oidc-provider
0c8cdc6c580b9d72e46c631167b2347affed6e74
[ "MIT" ]
null
null
null
oidc_provider/signals.py
coolapp-dev/django-oidc-provider
0c8cdc6c580b9d72e46c631167b2347affed6e74
[ "MIT" ]
null
null
null
oidc_provider/signals.py
coolapp-dev/django-oidc-provider
0c8cdc6c580b9d72e46c631167b2347affed6e74
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.dispatch import Signal user_accept_consent = Signal() user_decline_consent = Signal()
20.5
34
0.739837
16
123
5.4375
0.75
0.229885
0
0
0
0
0
0
0
0
0
0.009346
0.130081
123
5
35
24.6
0.803738
0.170732
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
7efdecf6ed5ae2b5ff794b9d006faced554ce50f
22
py
Python
CODE.py
Sheikhawadh19/CODE
bf62f28a348c8f8d9db51db214faa39cc3237223
[ "MIT" ]
null
null
null
CODE.py
Sheikhawadh19/CODE
bf62f28a348c8f8d9db51db214faa39cc3237223
[ "MIT" ]
null
null
null
CODE.py
Sheikhawadh19/CODE
bf62f28a348c8f8d9db51db214faa39cc3237223
[ "MIT" ]
1
2020-09-30T12:39:43.000Z
2020-09-30T12:39:43.000Z
x=4 y=6 z=x*y print(z)
5.5
8
0.590909
9
22
1.444444
0.666667
0
0
0
0
0
0
0
0
0
0
0.105263
0.136364
22
4
8
5.5
0.578947
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7d1e615e3310f314a70b7c06b1816a95f8456479
18
py
Python
filebrowser/__init__.py
dteskera/django-filebrowser-suit
502e7b56f6ab295ab1af198184c76f8c64b44b58
[ "BSD-3-Clause" ]
1,178
2015-07-23T07:49:48.000Z
2022-03-30T19:11:15.000Z
filebrowser/__init__.py
dteskera/django-filebrowser-suit
502e7b56f6ab295ab1af198184c76f8c64b44b58
[ "BSD-3-Clause" ]
105
2015-07-31T18:43:51.000Z
2022-02-27T18:00:22.000Z
filebrowser/__init__.py
dteskera/django-filebrowser-suit
502e7b56f6ab295ab1af198184c76f8c64b44b58
[ "BSD-3-Clause" ]
330
2015-08-13T16:28:12.000Z
2022-03-15T19:34:42.000Z
VERSION = '3.6.1'
9
17
0.555556
4
18
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.166667
18
1
18
18
0.466667
0
0
0
0
0
0.277778
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7d38530da3ccdec67b683662a8c2d5eb27789475
201
py
Python
clientside/server/forms.py
gauthamzz/vimana
e446c14a4b8586fdd2b8ea2744db0a3274cac091
[ "MIT" ]
6
2019-04-08T15:09:30.000Z
2020-08-11T02:44:50.000Z
clientside/server/forms.py
gauthamzz/vimana
e446c14a4b8586fdd2b8ea2744db0a3274cac091
[ "MIT" ]
14
2019-04-10T11:08:18.000Z
2022-02-26T01:39:42.000Z
clientside/server/forms.py
gauthamzz/vimana
e446c14a4b8586fdd2b8ea2744db0a3274cac091
[ "MIT" ]
2
2019-02-07T17:17:49.000Z
2019-08-12T10:46:30.000Z
from django import forms from .models import MLModel class MLModelForm(forms.ModelForm): class Meta: model = MLModel fields = ('title', 'description', 'accuracy', 'file', )
25.125
64
0.641791
21
201
6.142857
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.248756
201
7
65
28.714286
0.854305
0
0
0
0
0
0.14433
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
7d453d7d71b760248f4acb113cea7415245f18bc
168
py
Python
amespahdbpythonsuite/laboratory.py
PAHdb/AmesPAHdbPythonSuite
aa46cef6ef218fd3ea563ae91bad968de2aedbd0
[ "BSD-3-Clause" ]
2
2018-11-27T20:47:53.000Z
2019-12-12T22:17:40.000Z
amespahdbpythonsuite/laboratory.py
PAHdb/AmesPAHdbPythonSuite
aa46cef6ef218fd3ea563ae91bad968de2aedbd0
[ "BSD-3-Clause" ]
11
2019-03-12T18:03:38.000Z
2022-03-12T16:05:26.000Z
amespahdbpythonsuite/laboratory.py
PAHdb/AmesPAHdbPythonSuite
aa46cef6ef218fd3ea563ae91bad968de2aedbd0
[ "BSD-3-Clause" ]
5
2018-11-27T20:48:02.000Z
2021-10-18T22:37:13.000Z
#!/usr/bin/env python3 class Laboratory(): """ AmesPAHdbPythonSuite laboratory class """ def __init__(self, d=None, **keywords): return None
15.272727
43
0.619048
17
168
5.882353
0.823529
0
0
0
0
0
0
0
0
0
0
0.007937
0.25
168
10
44
16.8
0.785714
0.35119
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
adba91eddd142d5861c82336d4bc38307cd56b94
215
py
Python
04-quickPower.py
TheNovel/python-functional-programming
100e6824f2c84c5746af7057808af54492d38e53
[ "MIT" ]
null
null
null
04-quickPower.py
TheNovel/python-functional-programming
100e6824f2c84c5746af7057808af54492d38e53
[ "MIT" ]
null
null
null
04-quickPower.py
TheNovel/python-functional-programming
100e6824f2c84c5746af7057808af54492d38e53
[ "MIT" ]
null
null
null
def quickPower(a, n): if n == 0: return 1 if n == 1: return a if n % 2 == 0: return quickPower(a, n / 2) * quickPower(a, n / 2) else: return quickPower(a, n - 1) * a
19.545455
58
0.455814
34
215
2.882353
0.294118
0.44898
0.489796
0.367347
0
0
0
0
0
0
0
0.062992
0.409302
215
10
59
21.5
0.708661
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.555556
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
adc66ddcd85c8796103ced21d32e57f1e9fcef07
102
py
Python
black_belt/online_lending/apps.py
gfhuertac/coding_dojo_python
4d17bb63fb2b9669216a0f60326d4a4b9055af7e
[ "MIT" ]
null
null
null
black_belt/online_lending/apps.py
gfhuertac/coding_dojo_python
4d17bb63fb2b9669216a0f60326d4a4b9055af7e
[ "MIT" ]
6
2020-06-06T01:50:21.000Z
2022-02-10T11:33:02.000Z
black_belt/online_lending/apps.py
gfhuertac/coding_dojo_python
4d17bb63fb2b9669216a0f60326d4a4b9055af7e
[ "MIT" ]
null
null
null
from django.apps import AppConfig class OnlineLendingConfig(AppConfig): name = 'online_lending'
17
37
0.784314
11
102
7.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
5
38
20.4
0.908046
0
0
0
0
0
0.137255
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
adcd78a3dae5bf9ac01b1b101a7b469c813ee54a
167
py
Python
all/environments/__init__.py
ezelikman/autonomous-learning-library
b32d059ca8b191afe0b310102d0754796f391aff
[ "MIT" ]
1
2021-01-08T01:41:34.000Z
2021-01-08T01:41:34.000Z
all/environments/__init__.py
sadiakhaf/autonomous-learning-library
9c44d41826aec49f9ecba43093551219f9f39408
[ "MIT" ]
null
null
null
all/environments/__init__.py
sadiakhaf/autonomous-learning-library
9c44d41826aec49f9ecba43093551219f9f39408
[ "MIT" ]
null
null
null
from .abstract import Environment from .gym import GymEnvironment from .atari import AtariEnvironment __all__ = ["Environment", "GymEnvironment", "AtariEnvironment"]
27.833333
63
0.808383
16
167
8.1875
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.107784
167
5
64
33.4
0.879195
0
0
0
0
0
0.245509
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
adffe0d9c27266cd6a43f8d0fc57d493a373127e
872
py
Python
sales/migrations/0013_auto_20190805_1923.py
destodasoftware/kately_api
89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd
[ "MIT" ]
null
null
null
sales/migrations/0013_auto_20190805_1923.py
destodasoftware/kately_api
89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd
[ "MIT" ]
10
2019-12-04T23:52:31.000Z
2022-02-10T08:34:15.000Z
sales/migrations/0013_auto_20190805_1923.py
destodasoftware/kately_api
89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-08-05 19:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('sales', '0012_saleitem_is_available'), ] operations = [ migrations.RemoveField( model_name='sale', name='is_verified', ), migrations.RemoveField( model_name='sale', name='total', ), migrations.RemoveField( model_name='saleitem', name='discount', ), migrations.RemoveField( model_name='saleitem', name='is_available', ), migrations.RemoveField( model_name='saleitem', name='is_discount_percent', ), migrations.RemoveField( model_name='saleitem', name='total', ), ]
22.947368
48
0.525229
74
872
6.013514
0.432432
0.283146
0.350562
0.404494
0.557303
0.557303
0.197753
0
0
0
0
0.034234
0.363532
872
37
49
23.567568
0.767568
0.051606
0
0.645161
1
0
0.158788
0.031515
0
0
0
0
0
1
0
false
0
0.032258
0
0.129032
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bc0e9c8584e18c480ee6e8cce98a0d04a1455496
145
py
Python
pythonTex/fResolv.py
carlosefrias/latex-itens
2de60d150428b4550c497dd5811392a3cfb87a05
[ "MIT" ]
17
2020-06-29T13:15:47.000Z
2021-12-05T22:03:18.000Z
pythonTex/fResolv.py
whherrera/latex-itens
a73d7cdf05286b430e3a7525eaaa62a8ed778974
[ "MIT" ]
2
2020-06-17T17:34:34.000Z
2020-06-20T15:26:26.000Z
pythonTex/fResolv.py
whherrera/latex-itens
a73d7cdf05286b430e3a7525eaaa62a8ed778974
[ "MIT" ]
4
2020-11-15T12:11:51.000Z
2021-04-13T01:00:00.000Z
from sympy import * from sympy.abc import * def fResolvente(a,b,c): expr = f"{a}*x**2+{b}*x+{c}" print(latex(expr)) fResolvente(2,-2,1)
18.125
32
0.613793
27
145
3.296296
0.592593
0.202247
0
0
0
0
0
0
0
0
0
0.033058
0.165517
145
8
33
18.125
0.702479
0
0
0
0
0
0.123288
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
bc394a15c9932f12ddc0f733fd00839e1222f876
184
py
Python
smok/sensor/__init__.py
smok-serwis/smok-client
a97b3dac454569f55a8a28a1cac44ae04e3e9cde
[ "MIT" ]
null
null
null
smok/sensor/__init__.py
smok-serwis/smok-client
a97b3dac454569f55a8a28a1cac44ae04e3e9cde
[ "MIT" ]
1
2021-02-03T14:58:35.000Z
2021-02-13T17:25:30.000Z
smok/sensor/__init__.py
smok-serwis/smok-client
a97b3dac454569f55a8a28a1cac44ae04e3e9cde
[ "MIT" ]
null
null
null
from .sensor import Sensor, fqtsify from .types import SensorValueType from .write_logs import SensorWriteEvent __all__ = ['Sensor', 'fqtsify', 'SensorValueType', 'SensorWriteEvent']
30.666667
70
0.793478
19
184
7.421053
0.526316
0.184397
0
0
0
0
0
0
0
0
0
0
0.108696
184
5
71
36.8
0.859756
0
0
0
0
0
0.23913
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
70aba5cba1d6184c34b6a4948ccb0c39589e34cf
738
py
Python
python/testData/inspections/PyBroadExceptionInspection/test.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyBroadExceptionInspection/test.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyBroadExceptionInspection/test.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class ExceptionKlass(Exception): pass try: function_throws_exception() except <weak_warning descr="Too broad exception clause">Exception</weak_warning>: pass try: function_throws_exception() except <weak_warning descr="Too broad exception clause">BaseException</weak_warning>: pass try: function_throws_exception() except ExceptionKlass: pass try: function_throws_exception() <weak_warning descr="Too broad exception clause">except</weak_warning>: pass class Exception: pass try: function_throws_exception() except Exception: pass try: doSomething() except: someCleanup() raise result = [] ## PY-2698 try: function_throws_exception() except Exception, e: result.append(e)
16.772727
85
0.739837
86
738
6.139535
0.267442
0.079545
0.193182
0.295455
0.721591
0.664773
0.570076
0.393939
0.284091
0.284091
0
0.006515
0.168022
738
44
86
16.772727
0.85342
0.009485
0
0.588235
0
0
0.106996
0
0
0
0
0
0
0
null
null
0.205882
0
null
null
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
70cc82cda86c2f73fd7ac3ee66459580ba2ab321
59
py
Python
boston_housing_experiment/__init__.py
GMinozzi/boston_housing_experiment
fcf1fe44065ecc3d54927bccc636bb6cf1d1e548
[ "MIT" ]
null
null
null
boston_housing_experiment/__init__.py
GMinozzi/boston_housing_experiment
fcf1fe44065ecc3d54927bccc636bb6cf1d1e548
[ "MIT" ]
null
null
null
boston_housing_experiment/__init__.py
GMinozzi/boston_housing_experiment
fcf1fe44065ecc3d54927bccc636bb6cf1d1e548
[ "MIT" ]
null
null
null
from .mlp import mlp, predict __all__ = ["mlp", "predict"]
19.666667
29
0.677966
8
59
4.5
0.625
0.555556
0
0
0
0
0
0
0
0
0
0
0.152542
59
3
30
19.666667
0.72
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
70cc86740e529e718d3d6a5ffa550965acf0fad1
98
py
Python
measure_type/apps.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
1
2021-11-30T19:38:55.000Z
2021-11-30T19:38:55.000Z
measure_type/apps.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
null
null
null
measure_type/apps.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
1
2022-02-25T22:48:21.000Z
2022-02-25T22:48:21.000Z
from django.apps import AppConfig class MeasureTypeConfig(AppConfig): name = 'measure_type'
16.333333
35
0.77551
11
98
6.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.153061
98
5
36
19.6
0.903614
0
0
0
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
70f5f4472e09fa1fef1ab89e78a3af6b5316a253
46
py
Python
bot/plugins/utils/__init__.py
best-coloc-ever/globibot
a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176
[ "MIT" ]
14
2016-02-03T16:47:01.000Z
2019-12-09T14:24:25.000Z
bot/plugins/utils/__init__.py
best-coloc-ever/globibot
a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176
[ "MIT" ]
11
2016-08-19T22:00:25.000Z
2022-01-13T00:39:48.000Z
bot/plugins/utils/__init__.py
best-coloc-ever/globibot
a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176
[ "MIT" ]
6
2016-08-19T21:30:58.000Z
2019-09-27T05:24:08.000Z
from .plugin import Utils plugin_cls = Utils
11.5
25
0.782609
7
46
5
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.173913
46
3
26
15.333333
0.921053
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
cb0e0112a1a2adb6be63a770956b6792adbeb2a6
187
py
Python
ramses/scaffolds/ramses_starter/+package+/__init__.py
timgates42/ramses
ea2e1e896325b7256cdf5902309e05fd98e0c14c
[ "Apache-2.0" ]
178
2016-01-29T10:59:56.000Z
2021-09-17T18:28:24.000Z
ramses/scaffolds/ramses_starter/+package+/__init__.py
timgates42/ramses
ea2e1e896325b7256cdf5902309e05fd98e0c14c
[ "Apache-2.0" ]
35
2015-03-31T19:52:23.000Z
2016-01-11T22:44:30.000Z
ramses/scaffolds/ramses_starter/+package+/__init__.py
timgates42/ramses
ea2e1e896325b7256cdf5902309e05fd98e0c14c
[ "Apache-2.0" ]
24
2016-02-12T02:38:28.000Z
2020-06-20T23:35:38.000Z
from pyramid.config import Configurator def main(global_config, **settings): config = Configurator(settings=settings) config.include('ramses') return config.make_wsgi_app()
23.375
44
0.754011
22
187
6.272727
0.681818
0.202899
0
0
0
0
0
0
0
0
0
0
0.144385
187
7
45
26.714286
0.8625
0
0
0
0
0
0.032086
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
cb1bf9ab0965438b1b27f226539bf6ddc1f1c840
150
py
Python
src/ralph/lib/polymorphic/tests/apps.py
DoNnMyTh/ralph
97b91639fa68965ad3fd9d0d2652a6545a2a5b72
[ "Apache-2.0" ]
1,668
2015-01-01T12:51:20.000Z
2022-03-29T09:05:35.000Z
src/ralph/lib/polymorphic/tests/apps.py
hq-git/ralph
e2448caf02d6e5abfd81da2cff92aefe0a534883
[ "Apache-2.0" ]
2,314
2015-01-02T13:26:26.000Z
2022-03-29T04:06:03.000Z
src/ralph/lib/polymorphic/tests/apps.py
hq-git/ralph
e2448caf02d6e5abfd81da2cff92aefe0a534883
[ "Apache-2.0" ]
534
2015-01-05T12:40:28.000Z
2022-03-29T21:10:12.000Z
from django.apps import AppConfig class PolymorphicTestsConfig(AppConfig): name = 'ralph.lib.polymorphic.tests' label = 'polymorphic_tests'
21.428571
40
0.766667
16
150
7.125
0.8125
0.280702
0
0
0
0
0
0
0
0
0
0
0.146667
150
6
41
25
0.890625
0
0
0
0
0
0.293333
0.18
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
cb2fcf4815db1ced88c669cd900af18721b7ed5e
122
py
Python
ch03_loops.py
jeffreycoen/prog_mb
739e9869b51dc861a57da697d49406b1394ade6d
[ "MIT" ]
13
2017-12-05T16:28:14.000Z
2022-02-21T22:05:00.000Z
ch03_loops.py
jeffreycoen/prog_mb
739e9869b51dc861a57da697d49406b1394ade6d
[ "MIT" ]
null
null
null
ch03_loops.py
jeffreycoen/prog_mb
739e9869b51dc861a57da697d49406b1394ade6d
[ "MIT" ]
5
2018-03-23T20:14:18.000Z
2021-03-15T06:37:58.000Z
from microbit import * while True: display.scroll("Hello") sleep(5000) display.scroll("Bye") sleep(5000)
15.25
27
0.647541
15
122
5.266667
0.733333
0.329114
0
0
0
0
0
0
0
0
0
0.084211
0.221311
122
7
28
17.428571
0.747368
0
0
0.333333
0
0
0.065574
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
cb3d7751e19c9e119a79a2a2fc7d873fa7fa564d
57
py
Python
HW7/q1.py
sina-moammar/2020-Fall-Computational-Physics
f03e95b0a97022b628175fd06c301aecfdcf60af
[ "MIT" ]
null
null
null
HW7/q1.py
sina-moammar/2020-Fall-Computational-Physics
f03e95b0a97022b628175fd06c301aecfdcf60af
[ "MIT" ]
null
null
null
HW7/q1.py
sina-moammar/2020-Fall-Computational-Physics
f03e95b0a97022b628175fd06c301aecfdcf60af
[ "MIT" ]
null
null
null
from Ising import example, Ising2D, Ensemble example()
11.4
44
0.77193
7
57
6.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.020833
0.157895
57
4
45
14.25
0.895833
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
cb496c98767a213374eb47dd5db228f65b6eb39d
233
py
Python
tests/myapp.py
Longweig/GiveAway
a5a7b08dcaf7a2b5a23955e9caa9b5b094e4c9c3
[ "MIT" ]
null
null
null
tests/myapp.py
Longweig/GiveAway
a5a7b08dcaf7a2b5a23955e9caa9b5b094e4c9c3
[ "MIT" ]
5
2020-10-01T20:59:53.000Z
2020-10-05T13:04:39.000Z
tests/myapp.py
Longweig/HappyPuppies
a5a7b08dcaf7a2b5a23955e9caa9b5b094e4c9c3
[ "MIT" ]
null
null
null
from flask import Flask def create_app(): app = Flask(__name__) @app.route('/hello') def hello(): return 'Hello, World!', 200 @app.route('/') def base(): return 'Success!', 200 return app
14.5625
35
0.553648
28
233
4.428571
0.5
0.129032
0
0
0
0
0
0
0
0
0
0.036585
0.296137
233
15
36
15.533333
0.719512
0
0
0
0
0
0.120172
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
cb5e90e1ea90879d6a5c58d2dfea7aed310aba83
62
py
Python
entity_embeddings/network/__init__.py
awesome-archive/entity_embeddings_categorical
fcd5e11ed55587ffa1d05f23521c01f970f1aca0
[ "MIT" ]
41
2019-12-02T03:11:48.000Z
2021-04-19T02:02:18.000Z
entity_embeddings/network/__init__.py
awesome-archive/entity_embeddings_categorical
fcd5e11ed55587ffa1d05f23521c01f970f1aca0
[ "MIT" ]
10
2020-01-28T22:37:22.000Z
2022-02-10T00:16:39.000Z
entity_embeddings/network/__init__.py
awesome-archive/entity_embeddings_categorical
fcd5e11ed55587ffa1d05f23521c01f970f1aca0
[ "MIT" ]
10
2019-03-12T16:03:32.000Z
2019-11-05T01:27:05.000Z
from entity_embeddings.network.assembler import ModelAssembler
62
62
0.919355
7
62
8
1
0
0
0
0
0
0
0
0
0
0
0
0.048387
62
1
62
62
0.949153
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
cb61307f26a7d683d67f7dda2d981ec516ae1f16
226
py
Python
general-practice/Exercises solved/w3resource/basic/Exercise20.py
lugabrielbueno/Projeto
f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0
[ "MIT" ]
null
null
null
general-practice/Exercises solved/w3resource/basic/Exercise20.py
lugabrielbueno/Projeto
f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0
[ "MIT" ]
null
null
null
general-practice/Exercises solved/w3resource/basic/Exercise20.py
lugabrielbueno/Projeto
f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0
[ "MIT" ]
null
null
null
#Write a Python program to get a string which is n (non-negative integer) copies of a given string. def newest(string,n): return string*n print(newest('odks',4)) print(newest('Gabriel',9)) print(newest('I love you',10))
28.25
100
0.716814
40
226
4.05
0.7
0.203704
0
0
0
0
0
0
0
0
0
0.020725
0.146018
226
8
101
28.25
0.818653
0.433628
0
0
0
0
0.165354
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.6
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
4
cb7915a7730c7ed0d0c887e9b3a1f86bdd480e6e
358
py
Python
recipe_parser/recipes/_settings.py
tyler-a-cox/recipe-parsing
fa883f66a39063cf72912527628b082cda455e76
[ "MIT" ]
null
null
null
recipe_parser/recipes/_settings.py
tyler-a-cox/recipe-parsing
fa883f66a39063cf72912527628b082cda455e76
[ "MIT" ]
null
null
null
recipe_parser/recipes/_settings.py
tyler-a-cox/recipe-parsing
fa883f66a39063cf72912527628b082cda455e76
[ "MIT" ]
null
null
null
HEADERS = { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Methods": "GET", "Access-Control-Allow-Headers": "Content-Type", "Access-Control-Max-Age": "3600", "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0", } SCHEMA_NAMES = ["Recipe", "WebPage"] SYNTAXES = ["json-ld", "microdata"]
35.8
97
0.648045
47
358
4.893617
0.744681
0.226087
0.234783
0
0
0
0
0
0
0
0
0.084142
0.136872
358
9
98
39.777778
0.660194
0
0
0
0
0.111111
0.670391
0.293296
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
cb89dabe0345df3f04e552e93f5755c45db6771c
37
py
Python
Chapter2/mlfinlab/tests/__init__.py
BenHughess/research
6c2a03eb0be874c83cc5be349c9df19d4792b0c8
[ "MIT" ]
2
2020-01-29T11:14:30.000Z
2020-03-23T14:24:24.000Z
Chapter2/mlfinlab/tests/__init__.py
rajsingh7/research
e2560c6851a37cb058ad183081936e7d5b4273a9
[ "MIT" ]
null
null
null
Chapter2/mlfinlab/tests/__init__.py
rajsingh7/research
e2560c6851a37cb058ad183081936e7d5b4273a9
[ "MIT" ]
6
2021-01-11T17:19:23.000Z
2022-01-03T02:29:58.000Z
""" Unit tests and code coverage """
9.25
28
0.648649
5
37
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.189189
37
3
29
12.333333
0.8
0.756757
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
cb8c42f5b0d938d9d63693972d9d9eb146c3bf72
93
py
Python
assessment_ms/app/assessment/apps.py
jakobschroeber/bachelor_thesis
e2d3fa7eb65bc32345acbda28fc4c7fb775f65cb
[ "MIT" ]
null
null
null
assessment_ms/app/assessment/apps.py
jakobschroeber/bachelor_thesis
e2d3fa7eb65bc32345acbda28fc4c7fb775f65cb
[ "MIT" ]
null
null
null
assessment_ms/app/assessment/apps.py
jakobschroeber/bachelor_thesis
e2d3fa7eb65bc32345acbda28fc4c7fb775f65cb
[ "MIT" ]
1
2021-03-31T12:37:48.000Z
2021-03-31T12:37:48.000Z
from django.apps import AppConfig class MeasuresConfig(AppConfig): name = 'assessment'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.107527
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
cb9a066de910bf2658f88452ca5f3194720a5224
105
py
Python
tests/ambiguous2/models.py
hoefling/model_bakery
ddd258dcb3457899d31f31a1484ff937942c3a03
[ "Apache-2.0" ]
523
2019-10-11T12:23:01.000Z
2022-03-26T18:49:42.000Z
tests/ambiguous2/models.py
hoefling/model_bakery
ddd258dcb3457899d31f31a1484ff937942c3a03
[ "Apache-2.0" ]
200
2019-10-11T11:59:20.000Z
2022-03-31T22:44:39.000Z
tests/ambiguous2/models.py
hoefling/model_bakery
ddd258dcb3457899d31f31a1484ff937942c3a03
[ "Apache-2.0" ]
109
2015-01-15T00:36:52.000Z
2018-07-26T11:22:50.000Z
from django.db import models class Ambiguous(models.Model): name = models.CharField(max_length=20)
17.5
42
0.761905
15
105
5.266667
0.866667
0
0
0
0
0
0
0
0
0
0
0.022222
0.142857
105
5
43
21
0.855556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
cb9e0e67a7bbfc42ec5e5b93131d0dbd3e7d491f
189
py
Python
invite.py
jasmaa/stapler-kun
8b1adf883e03487882420902ef0b6a480a9a80d9
[ "MIT" ]
null
null
null
invite.py
jasmaa/stapler-kun
8b1adf883e03487882420902ef0b6a480a9a80d9
[ "MIT" ]
null
null
null
invite.py
jasmaa/stapler-kun
8b1adf883e03487882420902ef0b6a480a9a80d9
[ "MIT" ]
null
null
null
import os import discord from dotenv import load_dotenv load_dotenv() if __name__ == '__main__': print(f'{discord.utils.oauth_url(os.getenv("CLIENT_ID"), discord.Permissions(8208))}')
23.625
90
0.756614
27
189
4.851852
0.703704
0.152672
0
0
0
0
0
0
0
0
0
0.023669
0.10582
189
8
90
23.625
0.751479
0
0
0
0
0
0.442105
0.394737
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
cbab1b573108b3628db9a2ef4bdb2974e0bdf655
265
py
Python
hbutils/encoding/__init__.py
HansBug/hbutils
6872311c8a441c5955572e0093b10189a2b90708
[ "Apache-2.0" ]
null
null
null
hbutils/encoding/__init__.py
HansBug/hbutils
6872311c8a441c5955572e0093b10189a2b90708
[ "Apache-2.0" ]
25
2021-10-03T06:19:05.000Z
2022-03-27T12:48:57.000Z
hbutils/encoding/__init__.py
HansBug/hbutils
6872311c8a441c5955572e0093b10189a2b90708
[ "Apache-2.0" ]
null
null
null
""" Overview: Encoding module, include some not so complex but useful functions. They will improve \ the quality of your coding experience when dealing with these data. """ from .ansi import * from .base64 import * from .decode import * from .hash import *
26.5
90
0.732075
37
265
5.243243
0.837838
0.154639
0
0
0
0
0
0
0
0
0
0.00939
0.196226
265
9
91
29.444444
0.901408
0.641509
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
cbb07ef402083d05720cf79b4334b80bb5ff7e7f
81
py
Python
rl/models/dqn/__init__.py
khushhallchandra/pytorch-rl
7d51d743de698101e48b487239925541bb6f8407
[ "MIT" ]
15
2018-01-12T12:33:45.000Z
2019-04-26T07:36:27.000Z
rl/models/dqn/__init__.py
pulkitkatdare/pytorch-rl
7d51d743de698101e48b487239925541bb6f8407
[ "MIT" ]
2
2020-09-27T14:41:23.000Z
2020-09-28T14:08:53.000Z
rl/models/dqn/__init__.py
pulkitkatdare/pytorch-rl
7d51d743de698101e48b487239925541bb6f8407
[ "MIT" ]
4
2018-01-12T11:02:03.000Z
2020-03-24T19:31:15.000Z
from __future__ import absolute_import from .critic_cartpole import CriticNetwork
40.5
42
0.901235
10
81
6.7
0.7
0
0
0
0
0
0
0
0
0
0
0
0.08642
81
2
42
40.5
0.905405
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
cbb13778ae48400f9451b5c68d170ebb5f2e94ed
152
py
Python
finmodelprep/api/stock_market.py
ignasrum/finmodelprep
5751cb0caac2a7c866111ee6231255e523133cc9
[ "MIT" ]
null
null
null
finmodelprep/api/stock_market.py
ignasrum/finmodelprep
5751cb0caac2a7c866111ee6231255e523133cc9
[ "MIT" ]
null
null
null
finmodelprep/api/stock_market.py
ignasrum/finmodelprep
5751cb0caac2a7c866111ee6231255e523133cc9
[ "MIT" ]
null
null
null
from finmodelprep.api.api import BASE_URL, download ### most active ### most gainer ### most loser ### NYSE trading hours ### sectors performance
11.692308
51
0.703947
19
152
5.578947
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.177632
152
12
52
12.666667
0.848
0.480263
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
cbcad019215c83457379ac32cb8b3183b5f34b5c
244
py
Python
geomloss/__init__.py
ismedina/geomloss
bbd6289a139174effedb6855e1e992eb77772c67
[ "MIT" ]
null
null
null
geomloss/__init__.py
ismedina/geomloss
bbd6289a139174effedb6855e1e992eb77772c67
[ "MIT" ]
null
null
null
geomloss/__init__.py
ismedina/geomloss
bbd6289a139174effedb6855e1e992eb77772c67
[ "MIT" ]
null
null
null
import sys, os.path __version__ = "0.2.5" from .samples_loss import SamplesLoss from .wasserstein_barycenter_images import ImagesBarycenter from .sinkhorn_images import sinkhorn_divergence __all__ = sorted(["SamplesLoss, ImagesBarycenter"])
24.4
59
0.82377
29
244
6.482759
0.689655
0.12766
0
0
0
0
0
0
0
0
0
0.013699
0.102459
244
9
60
27.111111
0.844749
0
0
0
0
0
0.139344
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
cbd627e4db6882a161a863f42d4788382f45e741
156
py
Python
voting/context_processors.py
SmartElect/SmartElect
d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8
[ "Apache-2.0" ]
23
2015-10-28T14:08:23.000Z
2021-09-11T21:38:41.000Z
voting/context_processors.py
SmartElect/SmartElect
d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8
[ "Apache-2.0" ]
4
2019-12-05T20:36:10.000Z
2020-06-05T18:41:54.000Z
voting/context_processors.py
SmartElect/SmartElect
d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8
[ "Apache-2.0" ]
11
2015-10-28T15:49:56.000Z
2021-09-14T14:18:36.000Z
from voting.models import Election def current_election(request): return { 'current_election': Election.objects.get_current_election(), }
19.5
68
0.724359
17
156
6.411765
0.647059
0.412844
0
0
0
0
0
0
0
0
0
0
0.185897
156
7
69
22.285714
0.858268
0
0
0
0
0
0.102564
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
4
cbd7e6363d3427c47f06da3c89d63cf7ede0be80
25
py
Python
tests/strings.py
zevtyardt/no-strint
47583d55e3c4cd12f00f46902d2fd7d5138c3275
[ "MIT" ]
13
2019-03-13T04:14:45.000Z
2020-04-05T09:13:21.000Z
tests/strings.py
CiKu370/no-strint
4f4fbe71517b84c00abd4fbdee15bacba01c0079
[ "MIT" ]
null
null
null
tests/strings.py
CiKu370/no-strint
4f4fbe71517b84c00abd4fbdee15bacba01c0079
[ "MIT" ]
6
2019-03-22T04:48:59.000Z
2020-08-07T17:09:20.000Z
"ab" 'abcdef..' r"abcde"
6.25
10
0.56
4
25
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
3
11
8.333333
0.636364
0.08
0
0
0
0
0.6
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1dddfae5b9b54eb91624afad3e2aecdb1ace4932
85
py
Python
test/outputs/defined.py
AquilaNipalensis/preprocess
7f9fbe29cf27f1974ea8eacb46265c3215ca6b03
[ "MIT" ]
5
2020-06-19T16:02:23.000Z
2021-12-23T22:15:15.000Z
test/outputs/defined.py
AquilaNipalensis/preprocess
7f9fbe29cf27f1974ea8eacb46265c3215ca6b03
[ "MIT" ]
null
null
null
test/outputs/defined.py
AquilaNipalensis/preprocess
7f9fbe29cf27f1974ea8eacb46265c3215ca6b03
[ "MIT" ]
1
2020-06-17T08:42:11.000Z
2020-06-17T08:42:11.000Z
#!python if __name__ == '__main__': print("ASDF not defined") print("bye")
12.142857
29
0.6
10
85
4.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.223529
85
6
30
14.166667
0.651515
0.082353
0
0
0
0
0.355263
0
0
0
0
0
0
1
0
true
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
1ded13f08505893f2726f5352222a2193fbd2cf7
258
py
Python
test/test_grid_entities.py
The224/PathViz
db807b091997303bfbc9853bedc6a5d7a2b99da7
[ "Apache-2.0" ]
1
2020-10-11T08:38:26.000Z
2020-10-11T08:38:26.000Z
test/test_grid_entities.py
The224/PathViz
db807b091997303bfbc9853bedc6a5d7a2b99da7
[ "Apache-2.0" ]
null
null
null
test/test_grid_entities.py
The224/PathViz
db807b091997303bfbc9853bedc6a5d7a2b99da7
[ "Apache-2.0" ]
null
null
null
import unittest from utils.logger import get_logger class TestGraphEntities(unittest.TestCase): logger = get_logger(__name__) def tearDown(self) -> None: pass def setUp(self) -> None: pass def test_(self): pass
14.333333
43
0.643411
30
258
5.3
0.566667
0.113208
0.150943
0.188679
0
0
0
0
0
0
0
0
0.275194
258
17
44
15.176471
0.850267
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0.3
0.2
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
1df248a13f3a36540e8349052403baff91c501d7
16,621
py
Python
softWare/Generate/data.py
BUAANameNotFound/OCR-Form-Tools
2c795307a5f945126c20f1fdc547829a989d263b
[ "MIT" ]
8
2020-04-12T19:11:16.000Z
2021-08-15T07:56:06.000Z
softWare/Generate/data.py
BUAANameNotFound/OCR-Form-Tools
2c795307a5f945126c20f1fdc547829a989d263b
[ "MIT" ]
96
2020-04-12T11:27:23.000Z
2020-06-02T02:54:56.000Z
softWare/Generate/data.py
BUAANameNotFound/OCR-Form-Tools
2c795307a5f945126c20f1fdc547829a989d263b
[ "MIT" ]
null
null
null
address = ['25 Pine St.', 'Glasgow, KY 42141', '9847 Howard Street', 'Englishtown, NJ 07726', '43 Poor House St.', 'West Chicago, IL 60185', '1 Rockledge Ave.', 'Mentor, OH 44060', '76 King Dr.', 'West Warwick, RI 02893', '225 Thorne Drive', 'Portland, ME 04103', '859 Nut Swamp Dr.', 'Piscataway, NJ 08854', '42 Baker Ave.', 'Raleigh, NC 27603', '38 Johnson St.', 'Lake Worth, FL 33460', '7829 West Pineknoll St.', 'Chesterfield, VA 23832', '42 Southampton St.', 'Ellenwood, GA 30294', '7289 Joy Ridge Dr.', 'Mason City, IA 50401', '7159 Paris Hill Street', 'Santa Clara, CA 95050', '18 East Hudson St.', 'Martinsville, VA 24112', '968 Maple St.', 'Grand Haven, MI 49417', '43 Border Drive', 'Bronx, NY 10451', '9997 West Somerset Ave.', 'Fullerton, CA 92831', '88 Penn Dr.', 'Pikesville, MD 21208', '9373 Rose Lane', 'Media, PA 19063', '4 Tallwood Dr.', 'Brunswick, GA 31525', '7561 Adams Dr.', 'Southaven, MS 38671', '8148 Berkshire St.', 'Norwood, MA 02062', '830 William Rd.', 'Bettendorf, IA 52722', '81 Maple Dr.', 'Utica, NY 13501', '9066 Brandywine Street', 'Grovetown, GA 30813', '50 Marlborough Lane', 'Lemont, IL 60439', '37 Helen St.', 'Feasterville Trevose, PA 19053', '323 North Myers St.', 'Marshfield, WI 54449', '78 Glen Creek Court', 'Glendora, CA 91740', '8965 East Circle Drive', 'San Antonio, TX 78213', '8844 Tunnel Street', 'Lansdale, PA 19446', '782 Mill Pond St.', 'Pewaukee, WI 53072', '7848 Franklin Ave.', 'Bristow, VA 20136', '99 Parker Drive', 'Villa Rica, GA 30180', '801 E. Carpenter Lane', 'Grove City, OH 43123', '68 NW. Fairway Ave.', 'Klamath Falls, OR 97603', '552 Ohio Ave.', 'Johnson City, TN 37601', '470 NW. Rosewood Rd.', 'York, PA 17402', '7901 El Dorado Rd.', 'Palm Coast, FL 32137', '1 Mayfair Street', 'Stillwater, MN 55082', '196 Brandywine Dr.', 'Port Chester, NY 10573', '3C Trout St.', 'Saint Charles, IL 60174', '37 Rockland St.', 'Noblesville, IN 46060', '457 W. Mechanic Dr.', 'Astoria, NY 11102', '17 Anderson Ave.', 'Sewell, NJ 08080', '7440 University St.', 'Brainerd, MN 56401', '867 Homestead Drive', 'Roanoke, VA 24012', '86 W. Pheasant Road', 'Coachella, CA 92236', '1 Dogwood Ave.', 'Pembroke Pines, FL 33028', '8013 N. Spruce Ave.', 'Eastlake, OH 44095', '7055 South Sherwood St.', 'Elizabethton, TN 37643', '672 Longfellow St.', 'Carpentersville, IL 60110', '7115 Orchard St.', 'Far Rockaway, NY 11691', '9247 West Jefferson Street', 'Warren, MI 48089', '44 E. Somerset Road', 'Asheboro, NC 27205', '9711 Harrison Street', 'Glendale Heights, IL 60139', '407 West Rock Creek Lane', 'Jacksonville, NC 28540', '40 Hill Street', 'Starkville, MS 39759', '815 Fieldstone Ave.', 'Michigan City, IN 46360', '734 Honey Creek St.', 'Kalamazoo, MI 49009', '395 North John Ave.', 'Maumee, OH 43537', '38 Highland St.', 'Cranston, RI 02920', '8886 Linda Street', 'Riverdale, GA 30274', '99 Pacific Street', 'Stow, OH 44224', '81 Marlborough St.', 'Coventry, RI 02816', '8 Pulaski Drive', 'Indianapolis, IN 46201', '9 Livingston Street', 'Yonkers, NY 10701', '87 Circle Avenue', 'Plainfield, NJ 07060', '783 Shore Ave.', 'Minot, ND 58701', '777 Gates Court', 'Shrewsbury, MA 01545', '267 Market Lane', 'Glendale, AZ 85302', '450 El Dorado Road', 'North Tonawanda, NY 14120', '647 Bayport Ave.', 'Hyattsville, MD 20782', '52 Oak St.', 'Titusville, FL 32780', '89 SE. Greenview Lane', 'Vineland, NJ 08360', '4 E. Leeton Ridge Avenue', 'Wilson, NC 27893', '318 Schoolhouse Lane', 'San Lorenzo, CA 94580', '164 West Griffin St.', 'Stafford, VA 22554', '7713 Selby St.', 'Petersburg, VA 23803', '9507 Market Lane', 'Gibsonia, PA 15044', '369B Indian Spring Road', 'Kissimmee, FL 34741', '5 S. Riverside Lane', 'The Villages, FL 32162', '788 West Hilltop Street', 'Pickerington, OH 43147', '665 Smith Ave.', 'Unit 22', 'Hopewell Junction, NY 12533', '66 North Goldfield St.', 'East Orange, NJ 07017', '325 Taylor Road', 'Elkhart, IN 46514', '1 Edgemont Dr.', 'Mason, OH 45040', '7049 Warren Street', 'Saint Johns, FL 32259', '7207 Halifax St.', 'Deer Park, NY 11729', '8589 Somerset Ave.', 'Elizabeth City, NC 27909', '911 South Bellevue St.', 'Loveland, OH 45140', '9093 E. Brickell St.', 'Washington, PA 15301', '35 Plymouth Rd.', 'Mishawaka, IN 46544', '6 Gartner St.', 'Glen Burnie, MD 21060', '244 Illinois St.', 'Bountiful, UT 84010', '281 Windfall St.', 'Yorktown Heights, NY 10598', '9332 East Wrangler St.', 'Shakopee, MN 55379', '8188 W. 6th St.', 'Aliquippa, PA 15001', '9304 West Locust Drive', 'Hudson, NH 03051', '55 Smith Rd.', 'Vista, CA 92083', '1 Sunbeam St.', 'Marlton, NJ 08053', '468 Mechanic Court', 'Holly Springs, NC 27540', '3 Applegate St.', 'Lacey, WA 98503', '95 Edgefield Drive', 'Boynton Beach, FL 33435', '4 Arrowhead Drive', 'Trumbull, CT 06611', '686 Arrowhead St.', 'Peoria, IL 61604', '376 Iroquois Dr.', 'Staunton, VA 24401', '540 Old Cottage Drive', 'Richmond, VA 23223', '941 West Windsor Court', 'Winona, MN 55987', '63 Front St.', 'Fort Dodge, IA 50501', '448 E. High Point Dr.', 'Williamsburg, VA 23185', '8063 South Tallwood Drive', 'Chesterton, IN 46304', '816 County Drive', 'Reston, VA 20191', '8713 Dunbar Lane', 'Tuckerton, NJ 08087', '8183 Ryan St.', 'Fond Du Lac, WI 54935', '3 SW. Poplar Lane', 'Groton, CT 06340', '523 Delaware Rd.', 'Greenwood, SC 29646', '9084 Ryan Dr.', 'Glenview, IL 60025', '357 Hawthorne Lane', 'Hollywood, FL 33020', '9281 N. Brickyard Street', 'Liverpool, NY 13090', '8908 Henry Smith Street', 'Canfield, OH 44406', '28 Indian Spring Lane', 'Revere, MA 02151', '9213 East Buttonwood Court', 'Princeton, NJ 08540', '372 East St Paul Ave.', 'Clifton Park, NY 12065', '8346 S. Sierra St.', 'Redondo Beach, CA 90278', '123 Glen Ridge St.', 'Suite 199', 'Twin Falls, ID 83301', '9053 Sutor Dr.', 'Elyria, OH 44035', '66 South State St.', 'Ft Mitchell, KY 41017', '7721 Hilldale St.', 'West Haven, CT 06516', '867 Highland St.', 'Baltimore, MD 21206', '7727 East Hanover Road', 'Cordova, TN 38016', '7694 Pearl Ave.', 'Waterloo, IA 50701', '949 Old Ketch Harbour St.', 'Merrillville, IN 46410', '51 Old York Ave.', 'Fredericksburg, VA 22405', '34 Lantern St.', 'Oceanside, NY 11572', '365 Harvard St.', 'Hialeah, FL 33010', '41 Indian Spring St.', 'Schenectady, NY 12302', '3 Lake St.', 'Dearborn Heights, MI 48127', '7056 Woodland Lane', 'Freeport, NY 11520', '38 South Lancaster Ave.', 'Marquette, MI 49855', '43 Rock Creek Street', 'Fort Lauderdale, FL 33308', '46 Roehampton St.', 'Dyersburg, TN 38024', '85 Pulaski Lane', 'Windsor, CT 06095', '37 West Airport Rd.', 'Newington, CT 06111', '288 Bridgeton St.', 'Drexel Hill, PA 19026', '8233 Cherry Hill Rd.', 'Winter Haven, FL 33880', '4 S. Pawnee Rd.', 'Ontario, CA 91762', '43 Ridge Avenue', 'Reynoldsburg, OH 43068', '8827 North Jefferson Ave.', 'Jonesboro, GA 30236', '639 Taylor Ave.', 'Solon, OH 44139', '71 Belmont Avenue', 'Morrisville, PA 19067', '7811 Windsor St.', 'Suite 35', 'Arlington, MA 02474', '25 West Pawnee Street', 'Asbury Park, NJ 07712', '8 Temple St.', 'District Heights, MD 20747', '1 Thatcher Drive', 'Norfolk, VA 23503', '656 Oak Valley Street', 'Scarsdale, NY 10583', '560 West Fairview Dr.', 'Flemington, NJ 08822', '838 Glenwood Lane', 'Kingston, NY 12401', '284 Harvard St.', 'Mobile, AL 36605', '526 Princeton Street', 'Valrico, FL 33594', '278 Stonybrook Ave.', 'Caldwell, NJ 07006', '408 Whitemarsh Drive', 'Pottstown, PA 19464', '186 S. River Dr.', 'Rockledge, FL 32955', '7155 Wintergreen Ave.', 'Dublin, GA 31021', '385 Corona Street', 'New Britain, CT 06051', '38 Grant St.', 'Alliance, OH 44601', '589 N. Tarkiln Hill Rd.', 'Strongsville, OH 44136', '860 Del Monte St.', 'Branford, CT 06405', '15 Wild Rose St.', 'Redford, MI 48239', '596 Summer St.', 'Frederick, MD 21701', '529 W. Harvard St.', 'Troy, NY 12180', '7764 N. Grandrose St.', 'Aberdeen, SD 57401', '319 Lakewood Dr.', 'Burke, VA 22015', '997 Devon Street', 'Piedmont, SC 29673', '246 Grant Ave.', 'Taylor, MI 48180', '26 South Wild Rose Ave.', 'Whitestone, NY 11357', '66 Depot Rd.', 'Seymour, IN 47274', '76 Lakeshore Ave.', 'Emporia, KS 66801', '905 Clark St.', 'Waynesboro, PA 17268', '904 South Morris Dr.', 'West New York, NJ 07093', '175 Westminster St.', 'Cedar Rapids, IA 52402', '93 53rd Street', 'Soddy Daisy, TN 37379', '3 Pheasant Lane', 'Lititz, PA 17543', '925 Beechwood Court', 'Fairport, NY 14450', '746 Mill St.', 'Kent, OH 44240', '48 Bradford Drive', 'Upper Marlboro, MD 20772', '281 Spring Street', 'North Miami Beach, FL 33160', '2 Trenton Circle', 'Holyoke, MA 01040', '67 Old Jones Ave.', 'Mc Lean, VA 22101', '795 Marvon Street', 'Fernandina Beach, FL 32034', '952 Lees Creek Street', 'Hammonton, NJ 08037', '51 N. Talbot St.', 'Tucker, GA 30084', '8319 Roosevelt Road', 'Mableton, GA 30126', '535 Mechanic Drive', 'Helotes, TX 78023', '441 South Country Ave.', 'Battle Ground, WA 98604', '9209 Coffee Dr.', 'Oxford, MS 38655', '16 Joy Ridge Dr.', 'Saint Cloud, MN 56301', '526 Garfield Ave.', 'Osseo, MN 55311', '71 Buckingham Lane', 'North Canton, OH 44720', '9741 Shadow Brook Road', 'Buckeye, AZ 85326'] fakeNames = ['Julio Pham', 'Celeste Craig', 'Koen Gay', 'Chasity Bender', 'Jaydan Beck', 'Johnathon Kelly', 'Ashlee Winters', 'Ivy Ritter', 'Kaylin Coleman', 'Ramiro Huffman', 'Kristian Hodges', 'Eugene Ferguson', 'Ryan Wilcox', 'Sariah Beard', 'River Rivers', 'Kamron Arias', 'Jeramiah Cole', 'Marvin Sellers', 'Brayden Whitehead', 'Billy Armstrong', 'Lindsey Ford', 'Karma Randolph', 'Christina Miller', 'Elyse Harding', 'Jace Dean', 'Corey Bass', 'Luke Ramirez', 'Virginia Mora', 'Giana Chapman', 'Zackery Stein', 'Christina Dean', 'Jaqueline Decker', 'Leonel Luna', 'Tanya Pace', 'Lyric Graham', 'Ximena Vazquez', 'Yael Cuevas', 'Ali Diaz', 'Jaelyn Shields', 'Allen Molina', 'Kamren Odom', 'Yadiel Gonzales', 'Branden Marquez', 'Adeline Ayers', 'Rylee Soto', 'Dayami Ayers', 'Demetrius Morrison', 'Rohan Callahan', 'Cheyenne Le', 'Clarence Maddox', 'Brenna Stevenson', 'Emilio Waters', 'Emery Contreras', 'Eleanor Case', 'Aiden Gordon', 'Tyrone Yang', 'Rosa Mccoy', 'Emilie Mcknight', 'Anna Hale', 'Maribel Mitchell', 'Alexander Page', 'Will Barrera', 'Ruby Dillon', 'Alena Cobb', 'Aarav Rivera', 'Micah Oneal', 'Kirsten Andrews', 'Jaelynn Moore', 'Aidyn Moore', 'Roger Buck', 'Adolfo Herring', 'Juliette Richmond', 'Ryder Thornton', 'Izabella Yu', 'Frances Woods', 'Elliana Matthews', 'Aditya Bowman', 'Cassandra Anthony', 'Aylin Mathews', 'Jada Rodgers', 'Jonathan Hebert', 'Connor Bright', 'Emerson Jordan', 'Victor Marshall', 'Kolten Grimes', 'Cristina Thompson', 'Karina Fuentes', 'Jaylee Woodward', 'Spencer Holder', 'Anya Knapp', 'Adyson Wiggins', 'Ivan Crane', 'Myah Moses', 'Priscilla Heath', 'Dakota Gill', 'Melina Mosley', 'Rishi Villegas', 'Elianna Hines', 'Jaxon Pollard', 'Jayson Good', 'Julia Avery', 'Kaeden Rivers', 'Ulises Kim', 'Efrain Dyer', 'Nevaeh Garrett', 'Kasey Navarro', 'Angie Boyd', 'Yasmine Stuart', 'Marco Cooper', 'Ciara Whitney', 'Daniela Chambers', 'Elliana Frank', 'Eugene Chavez', 'Mohammed Montoya', 'Naima Flores', 'Alonso Haley', 'Sylvia Madden', 'Karson Odonnell', 'Ismael Flynn', 'Oswaldo Nguyen', 'Caroline Meyer', 'Lydia Brock', 'Leonardo Rice', 'Myah Farrell', 'Kaitlin Quinn', 'Aron Holland', 'Ali Petersen', 'Dale Roberson', 'Oswaldo Love', 'Noelle Hunt', 'Maverick Baker', 'Natalia Ramsey', 'Colt Bolton', 'Talia Bernard', 'Rodney Leonard', 'Rey Hines', 'Raelynn Robles', 'Nathaniel Henry', 'Jayda Santana', 'Alexis Ayers', 'Salma Pittman', 'Connor Mckee', 'Carson Frank', 'Shea Terry', 'Shyann Curry', 'Estrella Gates', 'Christopher Combs', 'Hadley Cobb', 'Amari Drake', 'Mohammad Farmer', 'Odin Henderson', 'Madalynn Chambers', 'Jessie Tran', 'Elena Irwin', 'Ayla Warner', 'Maximus Buchanan', 'Dominick Doyle', 'Tori Velasquez', 'Matteo Dominguez', 'Brady Chaney', 'Allie Phelps', 'Jesse Chase', 'Cael Davila', 'Matias Barr', 'Karly Mcconnell', 'Diya Moon', 'Teagan Finley', 'Quintin Harper', 'Kaylah Webb', 'Gage Cobb', 'Vivian Baker', 'Aditya Riley', 'Bobby Stone', 'Michelle Stuart', 'Naomi Foley', 'Brett Valdez', 'Thomas Hays', 'Milo Moran', 'Kassidy White', 'Saniya Cannon', 'Sanaa Nash', 'Zackary Vaughan', 'Ean Abbott', 'Grayson Buck', 'Sawyer Harper', 'Shaylee Higgins', 'Larissa Buckley', 'Adan Frazier', 'Keon Little', 'Autumn Malone', 'Branden Brock', 'Amiah Rose', 'Cayden Brewer', 'Karla King', 'Jacey Summers', 'Reilly Higgins', 'Ali Schneider', 'Rocco Larsen', 'Joe Juarez', 'Sergio Snyder'] emails = ['temmink@comcast.net', 'crimsane@live.com', 'duchamp@gmail.com', 'wbarker@optonline.net', 'fwitness@yahoo.ca', 'smartfart@optonline.net', 'rhialto@aol.com', 'wildixon@gmail.com', 'marcs@verizon.net', 'jramio@comcast.net', 'lahvak@gmail.com', 'trygstad@me.com', 'aracne@yahoo.com', 'jamuir@msn.com', 'dobey@hotmail.com', 'dsugal@live.com', 'alias@optonline.net', 'corrada@me.com', 'bmorrow@sbcglobal.net', 'tangsh@optonline.net', 'dmouse@yahoo.com', 'tamas@comcast.net', 'unreal@verizon.net', 'symbolic@msn.com', 'comdig@comcast.net', 'fukuchi@live.com', 'mgemmons@msn.com', 'kiddailey@verizon.net', 'carreras@comcast.net', 'sriha@yahoo.com', 'vertigo@sbcglobal.net', 'crypt@me.com', 'crimsane@sbcglobal.net', 'kronvold@icloud.com', 'cliffski@me.com', 'onestab@verizon.net', 'aschmitz@att.net', 'fhirsch@optonline.net', 'keutzer@yahoo.ca', 'treit@comcast.net', 'portele@verizon.net', 'heroine@yahoo.com', 'dsugal@mac.com', 'penna@msn.com', 'elmer@msn.com', 'bcevc@msn.com', 'jfmulder@gmail.com', 'ganter@optonline.net', 'miyop@outlook.com', 'shrapnull@aol.com', 'dialworld@outlook.com', 'carcus@comcast.net', 'twoflower@verizon.net', 'esokullu@att.net', 'jbarta@icloud.com', 'stellaau@comcast.net', 'policies@outlook.com', 'fmerges@optonline.net', 'trieuvan@yahoo.ca', 'dmbkiwi@hotmail.com', 'weazelman@yahoo.com', 'boomzilla@optonline.net', 'wmszeliga@me.com', 'mrobshaw@comcast.net', 'debest@verizon.net', 'stakasa@msn.com', 'cvrcek@verizon.net', 'mgemmons@att.net', 'madler@sbcglobal.net', 'mpiotr@msn.com', 'schumer@verizon.net', 'ylchang@me.com', 'sinkou@yahoo.ca', 'andrewik@att.net', 'brbarret@me.com', 'empathy@msn.com', 'rtanter@verizon.net', 'kalpol@mac.com', 'graham@optonline.net', 'bogjobber@outlook.com', 'cantu@msn.com', 'jmmuller@yahoo.com', 'staffelb@outlook.com', 'mlewan@msn.com', 'esokullu@me.com', 'sopwith@mac.com', 'djpig@live.com', 'geekoid@live.com', 'caidaperl@gmail.com', 'andrei@att.net', 'ranasta@sbcglobal.net', 'amcuri@verizon.net', 'emmanuel@icloud.com', 'elflord@sbcglobal.net', 'aegreene@sbcglobal.net', 'chance@att.net', 'msroth@comcast.net', 'nanop@verizon.net', 'daveewart@hotmail.com', 'bartlett@icloud.com', 'rogerspl@outlook.com', 'drezet@att.net', 'grinder@optonline.net', 'arebenti@att.net', 'mhanoh@att.net', 'tarreau@me.com', 'dprice@sbcglobal.net', 'gavinls@att.net', 'louise@comcast.net', 'rddesign@icloud.com', 'wojciech@gmail.com', 'melnik@icloud.com', 'bryam@mac.com', 'jmcnamara@comcast.net', 'pgottsch@me.com', 'jmgomez@comcast.net', 'drhyde@icloud.com', 'nasarius@comcast.net', 'dieman@live.com', 'ryanvm@aol.com', 'matty@me.com', 'kmself@yahoo.com', 'chrwin@verizon.net', 'rasca@mac.com', 'esasaki@icloud.com', 'sakusha@aol.com', 'ajlitt@outlook.com', 'webteam@gmail.com', 'nweaver@hotmail.com', 'kuparine@icloud.com', 'maradine@optonline.net', 'delpino@yahoo.com', 'willg@sbcglobal.net', 'frosal@verizon.net', 'cmdrgravy@yahoo.ca', 'epeeist@att.net', 'pthomsen@yahoo.com', 'mxiao@yahoo.ca', 'jshirley@aol.com', 'epeeist@live.com', 'birddog@optonline.net', 'johnh@mac.com', 'monkeydo@hotmail.com', 'pierce@me.com', 'chaikin@me.com', 'biglou@att.net', 'tlinden@sbcglobal.net', 'arathi@live.com', 'gospodin@outlook.com', 'graham@optonline.net', 'howler@yahoo.com', 'themer@sbcglobal.net', 'stomv@mac.com', 'mahbub@verizon.net', 'bwcarty@att.net', 'hillct@sbcglobal.net', 'hwestiii@hotmail.com', 'dialworld@gmail.com', 'jwarren@gmail.com', 'sburke@verizon.net', 'ubergeeb@hotmail.com', 'frostman@sbcglobal.net', 'brbarret@aol.com', 'drezet@msn.com', 'gbacon@att.net', 'phish@icloud.com', 'joehall@gmail.com', 'airship@yahoo.ca', 'akoblin@hotmail.com', 'rhavyn@comcast.net', 'curly@att.net', 'msroth@yahoo.ca', 'storerm@mac.com', 'mlewan@hotmail.com', 'meinkej@yahoo.com', 'raines@att.net', 'hwestiii@icloud.com', 'stecoop@me.com', 'luvirini@sbcglobal.net', 'houle@yahoo.com', 'yumpy@sbcglobal.net', 'noneme@me.com', 'eminence@comcast.net', 'geekoid@optonline.net', 'bjoern@yahoo.ca', 'mbrown@me.com', 'denism@me.com', 'bjornk@mac.com', 'dkrishna@hotmail.com', 'yangyan@icloud.com', 'dburrows@msn.com', 'mgemmons@att.net', 'dimensio@verizon.net', 'pfitza@gmail.com', 'earmstro@hotmail.com', 'bmcmahon@outlook.com', 'matty@att.net', 'tokuhirom@outlook.com', 'singer@yahoo.com', 'microfab@live.com']
5,540.333333
9,004
0.692317
2,351
16,621
4.894513
0.591663
0.009386
0.001738
0.00365
0
0
0
0
0
0
0
0.106573
0.117622
16,621
3
9,005
5,540.333333
0.678031
0
0
0
0
0
0.804693
0.03213
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1df7e787b52b61760559089efa436891af53799b
916
py
Python
tests/test_read_json_value.py
MacHu-GWU/sanhe_devops_tools-project
bc617a962db69818d6279277bf24ac45a43f2030
[ "MIT" ]
null
null
null
tests/test_read_json_value.py
MacHu-GWU/sanhe_devops_tools-project
bc617a962db69818d6279277bf24ac45a43f2030
[ "MIT" ]
null
null
null
tests/test_read_json_value.py
MacHu-GWU/sanhe_devops_tools-project
bc617a962db69818d6279277bf24ac45a43f2030
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pytest from os.path import join, dirname from sanhe_devops_tools.read_json_value import get_json_value file_path = join(dirname(__file__), "complex-data.json") def test_get_json_value(): assert get_json_value(file_path, "name") == "alice" assert get_json_value(file_path, "$.name") == "alice" assert get_json_value(file_path, "profile.ssn") == "123-45-6789" assert get_json_value(file_path, "$.profile.ssn") == "123-45-6789" assert get_json_value(file_path, "profile.first name") == "obama" assert get_json_value(file_path, "$.profile.first name") == "obama" assert get_json_value(file_path, "profile.phone-number") == "999-888-7777" assert get_json_value(file_path, "$.profile.phone-number") == "999-888-7777" if __name__ == "__main__": import os basename = os.path.basename(__file__) pytest.main([basename, "-s", "--tb=native"])
31.586207
80
0.69869
133
916
4.43609
0.323308
0.167797
0.20339
0.244068
0.647458
0.613559
0.613559
0.613559
0.613559
0.613559
0
0.049618
0.141921
916
28
81
32.714286
0.701018
0.022926
0
0
0
0
0.244121
0.024636
0
0
0
0
0.470588
1
0.058824
false
0
0.235294
0
0.294118
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
3803fdad813bbdbd93cce3470dd56d81895f96a8
265
py
Python
pagseguro/api/v2/settings.py
ricardosasilva/pagseguro-python
8e39d1b0585684c460b86073d1fb3f33112b5b3d
[ "Apache-2.0" ]
1
2017-02-02T05:54:15.000Z
2017-02-02T05:54:15.000Z
pagseguro/api/v2/settings.py
ricardosasilva/pagseguro-python
8e39d1b0585684c460b86073d1fb3f33112b5b3d
[ "Apache-2.0" ]
1
2021-01-07T03:15:02.000Z
2021-01-19T08:32:32.000Z
pagseguro/api/v2/settings.py
ricardosasilva/pagseguro-python
8e39d1b0585684c460b86073d1fb3f33112b5b3d
[ "Apache-2.0" ]
3
2015-03-28T07:21:30.000Z
2019-03-28T01:55:56.000Z
# -*- coding: utf-8 -*- PAGSEGURO_API_URL = 'https://ws.pagseguro.uol.com.br/v2/checkout' PAGSEGURO_PAYMENT_URL = 'https://pagseguro.uol.com.br/v2/checkout/payment.html' PAGSEGURO_NOTIFICATION_URL = 'https://ws.pagseguro.uol.com.br/v2/transactions/notifications/'
44.166667
93
0.762264
38
265
5.157895
0.473684
0.122449
0.229592
0.260204
0.47449
0.47449
0.295918
0.295918
0
0
0
0.016
0.056604
265
5
94
53
0.768
0.079245
0
0
0
0
0.652893
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3815f0af2c993be3ebb9e7b5b93cdc6e6635fdb2
119
py
Python
algorithms/warmup/solve_me_first.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
algorithms/warmup/solve_me_first.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
algorithms/warmup/solve_me_first.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
def solve_me_first(a,b): return a + b num1 = input() num2 = input() res = solve_me_first(num1, num2) print(res)
11.9
32
0.655462
21
119
3.52381
0.571429
0.189189
0.324324
0
0
0
0
0
0
0
0
0.042105
0.201681
119
9
33
13.222222
0.736842
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.333333
0.166667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
4
3840b21091a116ecca8bba4f8340019a654fc575
140
py
Python
SmartAPI/smartapiexceptions/IllegalCountryCodeException.py
Kreastr/SmartAPI-HEILA
97dbe9e6e27267c60a4f94f60692d5f391e2ef7f
[ "BSD-2-Clause" ]
null
null
null
SmartAPI/smartapiexceptions/IllegalCountryCodeException.py
Kreastr/SmartAPI-HEILA
97dbe9e6e27267c60a4f94f60692d5f391e2ef7f
[ "BSD-2-Clause" ]
null
null
null
SmartAPI/smartapiexceptions/IllegalCountryCodeException.py
Kreastr/SmartAPI-HEILA
97dbe9e6e27267c60a4f94f60692d5f391e2ef7f
[ "BSD-2-Clause" ]
null
null
null
class IllegalCountryCodeException(Exception): def __init__(self, message): super(IllegalCountryCodeException, self).__init__(message)
20
60
0.814286
12
140
8.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.092857
140
6
61
23.333333
0.834646
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
384b44943ea5555d0d1ac36f2994503e479c3d7e
1,551
py
Python
validator/ExamValidator.py
Taller-de-programacion-2-Grupo-14/ubademy-exams
f84e8b4823f6443ba4124e4e8682ccc4c92620dd
[ "MIT" ]
null
null
null
validator/ExamValidator.py
Taller-de-programacion-2-Grupo-14/ubademy-exams
f84e8b4823f6443ba4124e4e8682ccc4c92620dd
[ "MIT" ]
1
2021-12-23T06:00:01.000Z
2021-12-23T06:00:01.000Z
validator/ExamValidator.py
Taller-de-programacion-2-Grupo-14/ubademy-exams
f84e8b4823f6443ba4124e4e8682ccc4c92620dd
[ "MIT" ]
null
null
null
from requests import HTTPError from exceptions.ExamException import CourseNotFound from external.courses import Courses class ExamValidator: def __init__(self, database): self.db = database self.courses = Courses() def get_course_data(self, course_id, user_id): try: data = self.courses.get_course(course_id, user_id) except HTTPError: raise CourseNotFound() return data def is_course_creator(self, course_id, user_id): course = self.get_course_data(course_id, user_id) return course.get("can_edit") def exams_limit_reached(self, number, course_id, user_id): course = self.get_course_data(course_id, user_id) original_quantity = course.get("exams", -1) return original_quantity <= number def is_student(self, course_id, user_id): course = self.get_course_data(course_id, user_id) return course.get("is_subscribed") def is_course_collaborator(self, course_id, user_id): course = self.get_course_data(course_id, user_id) return not course.get("can_collaborate", True) def is_grader(self, course_id, user_id): collab = self.is_course_collaborator(course_id, user_id) creator = self.is_course_creator(course_id, user_id) return collab or creator def notify_course(self, course_id, user_id, resolutions): grades = [] for r in resolutions: grades.append(r.get("status")) self.courses.notify(course_id, user_id, grades)
33.717391
64
0.68343
207
1,551
4.816425
0.256039
0.120361
0.180542
0.210632
0.326981
0.252758
0.252758
0.252758
0.252758
0.252758
0
0.000838
0.230174
1,551
45
65
34.466667
0.834171
0
0
0.114286
0
0
0.030303
0
0
0
0
0
0
1
0.228571
false
0
0.085714
0
0.514286
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
697562216296972c5fbb26b64045d870e2d2f1d1
1,479
py
Python
python-algorithm/leetcode/problem_705.py
isudox/nerd-algorithm
c1fbe153953cf3fc24395f75d102016fdf9ea0fa
[ "MIT" ]
5
2017-06-11T09:19:34.000Z
2019-01-16T16:58:31.000Z
python-algorithm/leetcode/problem_705.py
isudox/leetcode-solution
60085e64deaf396a171367affc94b18114565c43
[ "MIT" ]
5
2020-03-22T13:53:54.000Z
2020-03-23T08:49:35.000Z
python-algorithm/leetcode/problem_705.py
isudox/nerd-algorithm
c1fbe153953cf3fc24395f75d102016fdf9ea0fa
[ "MIT" ]
1
2019-03-02T15:50:43.000Z
2019-03-02T15:50:43.000Z
"""705. Design HashSet https://leetcode.com/problems/design-hashset/ Design a HashSet without using any built-in hash table libraries. Implement MyHashSet class: void add(key) Inserts the value key into the HashSet. bool contains(key) Returns whether the value key exists in the HashSet or not. void remove(key) Removes the value key in the HashSet. If key does not exist in the HashSet, do nothing. Example 1: Input ["MyHashSet", "add", "add", "contains", "contains", "add", "contains", "remove", "contains"] [[], [1], [2], [1], [3], [2], [2], [2], [2]] Output [null, null, null, true, false, null, true, null, false] Explanation MyHashSet myHashSet = new MyHashSet(); myHashSet.add(1); // set = [1] myHashSet.add(2); // set = [1, 2] myHashSet.contains(1); // return True myHashSet.contains(3); // return False, (not found) myHashSet.add(2); // set = [1, 2] myHashSet.contains(2); // return True myHashSet.remove(2); // set = [1] myHashSet.contains(2); // return False, (already removed) Constraints: 0 <= key <= 10^6 At most 10^4 calls will be made to add, remove, and contains. Follow up: Could you solve the problem without using the built-in HashSet library? """ class MyHashSet: def __init__(self): self.arr = [0] * 1000001 def add(self, key: int) -> None: self.arr[key] = 1 def remove(self, key: int) -> None: self.arr[key] = 0 def contains(self, key: int) -> bool: return self.arr[key] == 1
25.947368
76
0.655172
220
1,479
4.386364
0.377273
0.041451
0.034197
0.033161
0.12228
0.12228
0.12228
0.072539
0
0
0
0.036882
0.193374
1,479
56
77
26.410714
0.772003
0.801893
0
0
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
699cb87491f7b60ad64b8106580facf69f0dc355
7,687
py
Python
tests/test_stock.py
condereis/realtime-stock
a00836a7cd55313866ab26eb1aaa7d5fb14af94a
[ "MIT" ]
27
2016-07-12T02:52:03.000Z
2021-07-22T21:15:50.000Z
tests/test_stock.py
condereis/realtime-stock
a00836a7cd55313866ab26eb1aaa7d5fb14af94a
[ "MIT" ]
399
2016-07-26T00:55:07.000Z
2022-03-27T20:02:18.000Z
tests/test_stock.py
condereis/realtime-stock
a00836a7cd55313866ab26eb1aaa7d5fb14af94a
[ "MIT" ]
14
2018-03-23T20:57:10.000Z
2021-12-19T19:21:54.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_stock ---------------------------------- Tests for `rtstock` module. """ import os import sys import unittest import rtstock.error as error from rtstock.stock import Stock class TestRealStock(unittest.TestCase): """Tests for Stock.""" def setUp(self): """SetUp.""" self.ticker = 'AAPL' self.stock = Stock(self.ticker) def test_get_ticker(self): """Test get_ticker.""" self.assertEqual(self.stock.get_ticker(), self.ticker) def test_set_ticker(self): """Test set_ticker.""" self.stock.set_ticker('new_ticker') self.assertEqual(self.stock.get_ticker(), 'new_ticker') def test_get_latest_price(self): """Test get_latest_price success.""" response = self.stock.get_latest_price() # Checks for 'LastTradePriceOnly', 'LastTradeTime' field self.assertEqual(len(response[0].keys()), 2) for key in response[0].keys(): self.assertTrue(key in ['LastTradePriceOnly', 'LastTradeTime']) def test_get_info(self): """Test get_info success.""" keys = ['Ask', 'AverageDailyVolume', 'Bid', 'BookValue', 'Change', 'Change_PercentChange', 'ChangeFromFiftydayMovingAverage', 'ChangeFromTwoHundreddayMovingAverage', 'ChangeFromYearHigh', 'ChangeFromYearLow', 'ChangeinPercent', 'Currency', 'DaysHigh', 'DaysLow', 'DaysRange', 'DividendPayDate', 'DividendShare', 'DividendYield', 'EarningsShare', 'EBITDA', 'EPSEstimateCurrentYear', 'EPSEstimateNextQuarter', 'EPSEstimateNextYear', 'ExDividendDate', 'FiftydayMovingAverage', 'LastTradeDate', 'LastTradePriceOnly', 'LastTradeTime', 'LastTradeWithTime', 'MarketCapitalization', 'Name', 'OneyrTargetPrice', 'Open', 'PEGRatio', 'PERatio', 'PercebtChangeFromYearHigh', 'PercentChange', 'PercentChangeFromFiftydayMovingAverage', 'PercentChangeFromTwoHundreddayMovingAverage', 'PercentChangeFromYearLow', 'PreviousClose', 'PriceBook', 'PriceEPSEstimateCurrentYear', 'PriceEPSEstimateNextYear', 'PriceSales', 'ShortRatio', 'StockExchange', 'Symbol', 'TwoHundreddayMovingAverage', 'Volume', 'YearHigh', 'YearLow', 'YearRange'] response = self.stock.get_info() # Checks for 'LastTradePriceOnly', 'LastTradeTime' field self.assertEqual(len(response[0].keys()), len(keys)) for key in response[0].keys(): self.assertTrue(key in keys) def test_save_historical(self): """Test save_historical success.""" first_line = b'Date,Open,High,Low,Close,Volume,Adj Close\n' self.stock.save_historical('.') with open(self.ticker + '.csv', 'rb') as f: self.assertEqual(f.readline(), first_line) os.remove(self.ticker + '.csv') class TestFakeStock(unittest.TestCase): """Tests for fake Stock""" def setUp(self): """SetUp.""" self.ticker = 'fake_ticker' self.stock = Stock(self.ticker) def test_get_ticker(self): """Test get_ticker.""" self.assertEqual(self.stock.get_ticker(), self.ticker) def test_set_ticker(self): """Test set_ticker.""" self.stock.set_ticker('new_ticker') self.assertEqual(self.stock.get_ticker(), 'new_ticker') def test_get_latest_price(self): """Test get_latest_price error.""" response = self.stock.get_latest_price() # Checks for 'LastTradePriceOnly', 'LastTradeTime' field # Check if both fields are empty self.assertEqual(len(response[0].keys()), 2) for key in response[0].keys(): self.assertTrue(key in ['LastTradePriceOnly', 'LastTradeTime']) self.assertFalse(response[0][key]) def test_get_info(self): """Test get_info error.""" keys = ['Ask', 'AverageDailyVolume', 'Bid', 'BookValue', 'Change', 'Change_PercentChange', 'ChangeFromFiftydayMovingAverage', 'ChangeFromTwoHundreddayMovingAverage', 'ChangeFromYearHigh', 'ChangeFromYearLow', 'ChangeinPercent', 'Currency', 'DaysHigh', 'DaysLow', 'DaysRange', 'DividendPayDate', 'DividendShare', 'DividendYield', 'EarningsShare', 'EBITDA', 'EPSEstimateCurrentYear', 'EPSEstimateNextQuarter', 'EPSEstimateNextYear', 'ExDividendDate', 'FiftydayMovingAverage', 'LastTradeDate', 'LastTradePriceOnly', 'LastTradeTime', 'LastTradeWithTime', 'MarketCapitalization', 'Name', 'OneyrTargetPrice', 'Open', 'PEGRatio', 'PERatio', 'PercebtChangeFromYearHigh', 'PercentChange', 'PercentChangeFromFiftydayMovingAverage', 'PercentChangeFromTwoHundreddayMovingAverage', 'PercentChangeFromYearLow', 'PreviousClose', 'PriceBook', 'PriceEPSEstimateCurrentYear', 'PriceEPSEstimateNextYear', 'PriceSales', 'ShortRatio', 'StockExchange', 'Symbol', 'TwoHundreddayMovingAverage', 'Volume', 'YearHigh', 'YearLow', 'YearRange'] response = self.stock.get_info() # Checks for 'LastTradePriceOnly', 'LastTradeTime' field self.assertEqual(len(response[0].keys()), len(keys)) for key in response[0].keys(): self.assertTrue(key in keys) # Check if all fields but Symbol are empty if key == 'Symbol': self.assertEqual(response[0][key], self.ticker) else: self.assertFalse(response[0][key]) def test_save_historical(self): """Test save_historical error.""" with self.assertRaises(error.RequestError): self.stock.save_historical('.') class TestStockGetHistorical(unittest.TestCase): """Tests for Stock's get_historical method.""" def setUp(self): """SetUp.""" self.ticker = 'AAPL' self.stock = Stock(self.ticker) self.start_date = '2016-03-01' self.end_date = '2016-03-03' self.keys = ['Date', 'Adj_Close', 'Close', 'High', 'Low', 'Open', 'Volume'] def test_success(self): """Test get_historical success.""" response = self.stock.get_historical(self.start_date, self.end_date) # Checks for 3 dictionaries (one per day) self.assertEqual(len(response), 3) # Checks for the field on 'keys' self.assertEqual(response[0]['Date'], self.end_date) self.assertEqual(response[2]['Date'], self.start_date) self.assertEqual(len(response[0].keys()), len(self.keys)) for key in response[0].keys(): self.assertTrue(key in self.keys) def test_wrong_format(self): """Test get_historical passing a wrong date.""" with self.assertRaises(ValueError): self.stock.get_historical(self.start_date, '11111') def test_more_than_a_year(self): """Test get_historical passing a period greater than a year.""" with self.assertRaises(ValueError): self.stock.get_historical(self.start_date, '2017-03-03') def test_change_start_and_end(self): """Test get_historical misplacing start and end dates.""" with self.assertRaises(ValueError): self.stock.get_historical(self.end_date, self.start_date) if __name__ == '__main__': sys.exit(unittest.main())
40.036458
76
0.612593
720
7,687
6.405556
0.223611
0.037077
0.031223
0.033825
0.75954
0.743278
0.730703
0.69601
0.664788
0.652645
0
0.008525
0.252244
7,687
191
77
40.246073
0.793841
0.128919
0
0.709677
0
0
0.283022
0.108375
0
0
0
0
0.201613
1
0.137097
false
0
0.040323
0
0.201613
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
699edd6e3f66cecf8af6cdbc003f24b79fddc8ae
126
py
Python
truck/apps.py
swallville/driverBackEnd
3599e5a2e58304e08502b10a3856b77a05c7fd16
[ "MIT" ]
null
null
null
truck/apps.py
swallville/driverBackEnd
3599e5a2e58304e08502b10a3856b77a05c7fd16
[ "MIT" ]
3
2021-03-30T12:53:49.000Z
2021-09-22T18:44:52.000Z
truck/apps.py
swallville/driverBackEnd
3599e5a2e58304e08502b10a3856b77a05c7fd16
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class TruckConfig(AppConfig): name = 'truck'
15.75
39
0.785714
15
126
6.266667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.15873
126
7
40
18
0.886792
0
0
0
0
0
0.039683
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
69b0c71d3bb8f4cf67474c55884300e34280ea53
1,710
py
Python
stubs.min/System/Windows/__init___parts/DynamicResourceExtensionConverter.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/__init___parts/DynamicResourceExtensionConverter.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/__init___parts/DynamicResourceExtensionConverter.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class DynamicResourceExtensionConverter(TypeConverter): """ Converts from parsed XAML to System.Windows.DynamicResourceExtension and supports dynamic resource references made from XAML. DynamicResourceExtensionConverter() """ def CanConvertTo(self,*__args): """ CanConvertTo(self: DynamicResourceExtensionConverter,context: ITypeDescriptorContext,destinationType: Type) -> bool Returns a value indicating whether this converter can convert an object to the given destination type using the context. context: Context in which the provided type should be evaluated. destinationType: The type of the destination/output of conversion. Returns: true if destinationType is type of System.ComponentModel.Design.Serialization.InstanceDescriptor; otherwise, false. """ pass def ConvertTo(self,*__args): """ ConvertTo(self: DynamicResourceExtensionConverter,context: ITypeDescriptorContext,culture: CultureInfo,value: object,destinationType: Type) -> object Converts the specified object to another type. context: An System.ComponentModel.ITypeDescriptorContext object that provides a format context. culture: A System.Globalization.CultureInfo object that specifies the culture to represent the number. value: Value to be converted. This is expected to be type System.Windows.DynamicResourceExtension. destinationType: Type that should be converted to. Returns: The returned converted object. Cast this to the requested type. Ordinarily this should be cast to System.ComponentModel.Design.Serialization.InstanceDescriptor. """ pass
39.767442
153
0.74386
177
1,710
7.163842
0.440678
0.044953
0.05836
0.104101
0.089905
0
0
0
0
0
0
0
0.2
1,710
42
154
40.714286
0.926901
0.84269
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
69d65a2eb908a2bca5978393781764fde28a6941
50
py
Python
cve_searchsploit/__main__.py
alanyee/cve_searchsploit
a99fc4a11d673a7968736a0e1837af7379ff1873
[ "MIT" ]
127
2017-06-24T12:43:35.000Z
2022-03-31T12:56:46.000Z
cve_searchsploit/__main__.py
ARAisling/cve_searchsploit
a99fc4a11d673a7968736a0e1837af7379ff1873
[ "MIT" ]
10
2018-09-07T02:54:40.000Z
2022-03-28T09:49:43.000Z
cve_searchsploit/__main__.py
ARAisling/cve_searchsploit
a99fc4a11d673a7968736a0e1837af7379ff1873
[ "MIT" ]
42
2018-02-27T02:30:00.000Z
2022-03-28T20:14:35.000Z
#!/usr/bin/env python3 from . import main main()
10
22
0.68
8
50
4.25
0.875
0
0
0
0
0
0
0
0
0
0
0.02381
0.16
50
4
23
12.5
0.785714
0.42
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
0e019be143cd9a93033a3429aaf9422f8056fc05
651
py
Python
django_analyses/serializers/input/types/__init__.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
1
2020-12-30T12:43:34.000Z
2020-12-30T12:43:34.000Z
django_analyses/serializers/input/types/__init__.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
59
2019-12-25T13:14:56.000Z
2021-07-22T12:24:46.000Z
django_analyses/serializers/input/types/__init__.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
2
2020-05-24T06:44:27.000Z
2020-07-09T15:47:31.000Z
from django_analyses.serializers.input.types.boolean_input import \ BooleanInputSerializer from django_analyses.serializers.input.types.directory_input import \ DirectoryInputSerializer from django_analyses.serializers.input.types.file_input import \ FileInputSerializer from django_analyses.serializers.input.types.float_input import \ FloatInputSerializer from django_analyses.serializers.input.types.integer_input import \ IntegerInputSerializer from django_analyses.serializers.input.types.list_input import \ ListInputSerializer from django_analyses.serializers.input.types.string_input import \ StringInputSerializer
43.4
69
0.849462
70
651
7.7
0.3
0.12987
0.233766
0.376623
0.506494
0.506494
0
0
0
0
0
0
0.096774
651
14
70
46.5
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3871a3c9fa31a7007d593be363fe02c10720faa9
233
py
Python
src/ackermann/__init__.py
baldulin/ackermann
e9cb7648c14610b249256a0531a533e3d2b7c70e
[ "MIT" ]
2
2021-05-17T07:27:02.000Z
2021-06-24T18:48:43.000Z
src/ackermann/__init__.py
baldulin/ackermann
e9cb7648c14610b249256a0531a533e3d2b7c70e
[ "MIT" ]
null
null
null
src/ackermann/__init__.py
baldulin/ackermann
e9cb7648c14610b249256a0531a533e3d2b7c70e
[ "MIT" ]
null
null
null
""" Ackerman runs commands after executing the right targets. """ from .command import Command from .config import (Config, async_init, async_run, config_unit, get_config, init, run) from .vars import ConfigVar
25.888889
76
0.708155
30
233
5.366667
0.633333
0
0
0
0
0
0
0
0
0
0
0
0.214592
233
8
77
29.125
0.879781
0.244635
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
38a73501c3adfe60f2bc53ee892bb0afd0e22ac0
17,647
py
Python
river/migrations/0001_initial.py
JohnieBraaf/django-river
58f49624c37e1e5d1bdb4c7680810126454e36a6
[ "BSD-3-Clause" ]
705
2015-07-23T16:09:06.000Z
2022-03-05T03:52:31.000Z
river/migrations/0001_initial.py
JohnieBraaf/django-river
58f49624c37e1e5d1bdb4c7680810126454e36a6
[ "BSD-3-Clause" ]
188
2015-08-28T21:58:38.000Z
2021-12-15T06:39:37.000Z
river/migrations/0001_initial.py
JohnieBraaf/django-river
58f49624c37e1e5d1bdb4c7680810126454e36a6
[ "BSD-3-Clause" ]
101
2015-08-30T04:22:57.000Z
2022-03-29T06:58:20.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-03-16 11:46 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): initial = True dependencies = [ ('contenttypes', '0002_remove_content_type_name'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('auth', '0008_alter_user_username_max_length'), ] operations = [ migrations.CreateModel( name='Function', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('name', models.CharField(max_length=200, unique=True, verbose_name='Function Name')), ('body', models.TextField(max_length=100000, verbose_name='Function Body')), ('version', models.IntegerField(default=0, verbose_name='Function Version')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='OnApprovedHook', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('object_id', models.CharField(blank=True, max_length=200, null=True)), ('hook_type', models.CharField(choices=[(b'BEFORE', 'Before'), (b'AFTER', 'After')], max_length=50, verbose_name='When?')), ('callback_function', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='river_onapprovedhook_hooks', to='river.Function', verbose_name='Function')), ('content_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='contenttypes.ContentType')), ], ), migrations.CreateModel( name='OnCompleteHook', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('object_id', models.CharField(blank=True, max_length=200, null=True)), ('hook_type', models.CharField(choices=[(b'BEFORE', 'Before'), (b'AFTER', 'After')], max_length=50, verbose_name='When?')), ('callback_function', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='river_oncompletehook_hooks', to='river.Function', verbose_name='Function')), ('content_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='contenttypes.ContentType')), ], ), migrations.CreateModel( name='OnTransitHook', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('object_id', models.CharField(blank=True, max_length=200, null=True)), ('hook_type', models.CharField(choices=[(b'BEFORE', 'Before'), (b'AFTER', 'After')], max_length=50, verbose_name='When?')), ('callback_function', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='river_ontransithook_hooks', to='river.Function', verbose_name='Function')), ('content_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='contenttypes.ContentType')), ], ), migrations.CreateModel( name='State', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('slug', models.SlugField(blank=True, null=True, unique=True)), ('label', models.CharField(max_length=50)), ('description', models.CharField(blank=True, max_length=200, null=True, verbose_name='Description')), ], options={ 'verbose_name': 'State', 'verbose_name_plural': 'States', }, ), migrations.CreateModel( name='Transition', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('object_id', models.CharField(max_length=50, verbose_name='Related Object')), ('status', models.CharField(choices=[(b'pending', 'Pending'), (b'cancelled', 'Cancelled'), (b'done', 'Done'), (b'jumped', 'Jumped')], default=b'pending', max_length=100, verbose_name='Status')), ('iteration', models.IntegerField(default=0, verbose_name='Priority')), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType', verbose_name='Content Type')), ('destination_state', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_as_destination', to='river.State', verbose_name='Destination State')), ], options={ 'verbose_name': 'Transition', 'verbose_name_plural': 'Transitions', }, ), migrations.CreateModel( name='TransitionApproval', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('object_id', models.CharField(max_length=50, verbose_name='Related Object')), ('transaction_date', models.DateTimeField(blank=True, null=True)), ('status', models.CharField(choices=[(b'pending', 'Pending'), (b'approved', 'Approved'), (b'cancelled', 'Cancelled'), (b'jumped', 'Jumped')], default=b'pending', max_length=100, verbose_name='Status')), ('priority', models.IntegerField(default=0, verbose_name='Priority')), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType', verbose_name='Content Type')), ('groups', models.ManyToManyField(to='auth.Group', verbose_name='Groups')), ], options={ 'verbose_name': 'Transition Approval', 'verbose_name_plural': 'Transition Approvals', }, ), migrations.CreateModel( name='TransitionApprovalMeta', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('priority', models.IntegerField(default=0, null=True, verbose_name='Priority')), ('groups', models.ManyToManyField(blank=True, to='auth.Group', verbose_name='Groups')), ('parents', models.ManyToManyField(blank=True, db_index=True, related_name='children', to='river.TransitionApprovalMeta', verbose_name='parents')), ('permissions', models.ManyToManyField(blank=True, to='auth.Permission', verbose_name='Permissions')), ], options={ 'verbose_name': 'Transition Approval Meta', 'verbose_name_plural': 'Transition Approval Meta', }, ), migrations.CreateModel( name='TransitionMeta', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('destination_state', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_meta_as_destination', to='river.State', verbose_name='Destination State')), ('source_state', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_meta_as_source', to='river.State', verbose_name='Source State')), ], options={ 'verbose_name': 'Transition Meta', 'verbose_name_plural': 'Transition Meta', }, ), migrations.CreateModel( name='Workflow', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date Created')), ('date_updated', models.DateTimeField(auto_now=True, null=True, verbose_name='Date Updated')), ('field_name', models.CharField(max_length=200, verbose_name='Field Name')), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='contenttypes.ContentType', verbose_name='Content Type')), ('initial_state', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='workflow_this_set_as_initial_state', to='river.State', verbose_name='Initial State')), ], options={ 'verbose_name': 'Workflow', 'verbose_name_plural': 'Workflows', }, ), migrations.AddField( model_name='transitionmeta', name='workflow', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_metas', to='river.Workflow', verbose_name='Workflow'), ), migrations.AddField( model_name='transitionapprovalmeta', name='transition_meta', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_approval_meta', to='river.TransitionMeta', verbose_name='Transition Meta'), ), migrations.AddField( model_name='transitionapprovalmeta', name='workflow', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_approval_metas', to='river.Workflow', verbose_name='Workflow'), ), migrations.AddField( model_name='transitionapproval', name='meta', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='transition_approvals', to='river.TransitionApprovalMeta', verbose_name='Meta'), ), migrations.AddField( model_name='transitionapproval', name='permissions', field=models.ManyToManyField(to='auth.Permission', verbose_name='Permissions'), ), migrations.AddField( model_name='transitionapproval', name='previous', field=mptt.fields.TreeOneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='next_transition', to='river.TransitionApproval', verbose_name='Previous Transition'), ), migrations.AddField( model_name='transitionapproval', name='transactioner', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='Transactioner'), ), migrations.AddField( model_name='transitionapproval', name='transition', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_approvals', to='river.Transition', verbose_name='Transition'), ), migrations.AddField( model_name='transitionapproval', name='workflow', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_approvals', to='river.Workflow', verbose_name='Workflow'), ), migrations.AddField( model_name='transition', name='meta', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transitions', to='river.TransitionMeta', verbose_name='Meta'), ), migrations.AddField( model_name='transition', name='source_state', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transition_as_source', to='river.State', verbose_name='Source State'), ), migrations.AddField( model_name='transition', name='workflow', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='transitions', to='river.Workflow', verbose_name='Workflow'), ), migrations.AddField( model_name='ontransithook', name='transition', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='on_transit_hooks', to='river.Transition', verbose_name='Transition'), ), migrations.AddField( model_name='ontransithook', name='transition_meta', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='on_transit_hooks', to='river.TransitionMeta', verbose_name='Transition Meta'), ), migrations.AddField( model_name='ontransithook', name='workflow', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='river_ontransithook_hooks', to='river.Workflow', verbose_name='Workflow'), ), migrations.AddField( model_name='oncompletehook', name='workflow', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='river_oncompletehook_hooks', to='river.Workflow', verbose_name='Workflow'), ), migrations.AddField( model_name='onapprovedhook', name='transition_approval', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='on_approved_hooks', to='river.TransitionApproval', verbose_name='Transition Approval'), ), migrations.AddField( model_name='onapprovedhook', name='transition_approval_meta', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='on_approved_hooks', to='river.TransitionApprovalMeta', verbose_name='Transition Approval Meta'), ), migrations.AddField( model_name='onapprovedhook', name='workflow', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='river_onapprovedhook_hooks', to='river.Workflow', verbose_name='Workflow'), ), migrations.AlterUniqueTogether( name='workflow', unique_together=set([('content_type', 'field_name')]), ), migrations.AlterUniqueTogether( name='transitionmeta', unique_together=set([('workflow', 'source_state', 'destination_state')]), ), migrations.AlterUniqueTogether( name='transitionapprovalmeta', unique_together=set([('workflow', 'transition_meta', 'priority')]), ), migrations.AlterUniqueTogether( name='ontransithook', unique_together=set([('callback_function', 'workflow', 'transition_meta', 'content_type', 'object_id', 'transition')]), ), migrations.AlterUniqueTogether( name='oncompletehook', unique_together=set([('callback_function', 'workflow', 'content_type', 'object_id')]), ), migrations.AlterUniqueTogether( name='onapprovedhook', unique_together=set([('callback_function', 'workflow', 'transition_approval_meta', 'content_type', 'object_id', 'transition_approval')]), ), ]
61.487805
218
0.636822
1,796
17,647
6.046771
0.083519
0.09116
0.041252
0.064825
0.80663
0.761418
0.693278
0.66105
0.640424
0.619153
0
0.00526
0.224287
17,647
286
219
61.702797
0.788078
0.00391
0
0.615108
1
0
0.23744
0.045121
0
0
0
0
0
1
0
false
0
0.017986
0
0.032374
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
38b9933544e5002d4d9a261295c13473e3af63e6
262
py
Python
bayesian_inference/exceptions/__init__.py
yakuza8/bayesian-inference
a639e147c153cad85286ba7a04801164b5c82ac2
[ "MIT" ]
3
2020-06-19T05:37:44.000Z
2022-02-02T02:15:45.000Z
bayesian_inference/exceptions/__init__.py
yakuza8/bayesian-inference
a639e147c153cad85286ba7a04801164b5c82ac2
[ "MIT" ]
null
null
null
bayesian_inference/exceptions/__init__.py
yakuza8/bayesian-inference
a639e147c153cad85286ba7a04801164b5c82ac2
[ "MIT" ]
null
null
null
from .exceptions import ( IncompleteNodeDataException, PredecessorNotExistInNetwork, NotAllExpectedProbabilityExist, HaveAtLeastOneRandomVariable, NonUniqueRandomVariablesInQuery, RandomVariableNotInContext, InvalidQuery, InvalidProbabilityFactor, )
43.666667
94
0.862595
11
262
20.545455
1
0
0
0
0
0
0
0
0
0
0
0
0.09542
262
5
95
52.4
0.953587
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
38bb80a3d01e89eba6e2d652504154ea920a3420
210
py
Python
shovel/readme.py
garbagetrash/orbital
92a81391bd4a97dc45caaaf7ae2600efecb345fd
[ "MIT" ]
77
2015-01-16T05:45:28.000Z
2022-03-24T14:29:54.000Z
shovel/readme.py
garbagetrash/orbital
92a81391bd4a97dc45caaaf7ae2600efecb345fd
[ "MIT" ]
20
2016-04-21T02:55:53.000Z
2022-02-07T18:21:07.000Z
shovel/readme.py
garbagetrash/orbital
92a81391bd4a97dc45caaaf7ae2600efecb345fd
[ "MIT" ]
31
2015-01-22T12:31:57.000Z
2022-01-06T23:33:20.000Z
from shovel import task import subprocess @task def rst(): """Convert markdown readme to reStructuredText""" subprocess.call(['pandoc', '--from=markdown', '--to=rst', '--output=README', 'README.md'])
23.333333
94
0.67619
25
210
5.68
0.64
0
0
0
0
0
0
0
0
0
0
0
0.138095
210
8
95
26.25
0.78453
0.204762
0
0
0
0
0.329193
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
38e91604df814dfb6e088d0feed15e28b39b4ee4
15
py
Python
test/integration/ListSortStrings/list sort strings.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
30
2019-10-29T12:47:50.000Z
2022-02-12T06:41:39.000Z
test/integration/ListSortStrings/list sort strings.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
247
2017-09-21T17:11:18.000Z
2019-10-08T12:59:07.000Z
test/integration/ListSortStrings/list sort strings.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
17
2017-10-01T16:53:20.000Z
2018-11-28T07:20:35.000Z
# abc.sort() #
3.75
10
0.466667
2
15
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.2
15
3
11
5
0.583333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2a0c88b26991e7a591e5230da6ec3120cecc8f68
368
py
Python
LMS/controller/routes.py
iKintosh/Tink2020_LMS
d5937658cec701af04be18cfae648ffc3bdadf53
[ "MIT" ]
1
2021-05-13T08:42:11.000Z
2021-05-13T08:42:11.000Z
LMS/controller/routes.py
iKintosh/Tink2020_LMS
d5937658cec701af04be18cfae648ffc3bdadf53
[ "MIT" ]
3
2020-03-31T10:48:13.000Z
2021-08-23T20:34:26.000Z
LMS/controller/routes.py
iKintosh/Tink2020_LMS
d5937658cec701af04be18cfae648ffc3bdadf53
[ "MIT" ]
null
null
null
from LMS import api from LMS.controller import login from LMS.controller import signup from LMS.controller import user api.add_resource(signup.SignupApi, "/signup") api.add_resource(login.LoginApi, "/login") api.add_resource(user.UserListAPI, "/user") api.add_resource(user.UserAPI, "/user/<int:url_id>") """API.add_resourse(user.UserCoursesApi, '/user/courses') """
30.666667
57
0.777174
53
368
5.283019
0.377358
0.107143
0.2
0.246429
0
0
0
0
0
0
0
0
0.076087
368
11
58
33.454545
0.823529
0
0
0
0
0
0.117264
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
2a1d8700620ae8a07ea127779cf8c805bca632b8
106
py
Python
test/test_evaluate/sample_venvs/pth_directory/dir-from-foo-pth/__init__.py
rosslannen/jedi
b8d2757cdbe8ece6778031d0536a759b3273d15e
[ "MIT" ]
4,213
2015-01-02T15:43:22.000Z
2022-03-31T16:15:01.000Z
test/test_evaluate/sample_venvs/pth_directory/dir-from-foo-pth/__init__.py
rosslannen/jedi
b8d2757cdbe8ece6778031d0536a759b3273d15e
[ "MIT" ]
1,392
2015-01-02T18:43:39.000Z
2022-03-27T18:43:59.000Z
test/examples/sample_venvs/pth_directory/dir-from-foo-pth/__init__.py
PeterJCLaw/jedi
070f191f550990c23220d7f209df076178307cf6
[ "MIT" ]
525
2015-01-02T19:07:31.000Z
2022-03-13T02:03:20.000Z
# This file is here to force git to create the directory, as *.pth files only # add existing directories.
35.333333
77
0.754717
18
106
4.444444
0.944444
0
0
0
0
0
0
0
0
0
0
0
0.188679
106
2
78
53
0.930233
0.95283
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2a25c04c81202eb99ccdbd4466ab482c77d4be3d
163
py
Python
interface/usecase/auth_usecase.py
ooyamatakehisa/bpm-searcher
0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863
[ "MIT" ]
null
null
null
interface/usecase/auth_usecase.py
ooyamatakehisa/bpm-searcher
0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863
[ "MIT" ]
30
2021-08-25T16:33:32.000Z
2021-12-13T06:49:38.000Z
interface/usecase/auth_usecase.py
ooyamatakehisa/bpm-searcher
0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod class AuthUsecase(metaclass=ABCMeta): @abstractmethod def verify_user(self, id_token: str) -> dict: pass
20.375
49
0.717791
19
163
6.052632
0.894737
0.365217
0
0
0
0
0
0
0
0
0
0
0.202454
163
7
50
23.285714
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
2a302fe387043cd61cfe03e626b6deb39e95b92f
95
py
Python
continents/apps.py
brapastor/pygeographic
3b1522b62bf06430dca007d64a5b71243fdb71f0
[ "MIT" ]
null
null
null
continents/apps.py
brapastor/pygeographic
3b1522b62bf06430dca007d64a5b71243fdb71f0
[ "MIT" ]
9
2019-11-08T07:08:14.000Z
2022-02-10T11:24:37.000Z
continents/apps.py
brapastor/pygeographic
3b1522b62bf06430dca007d64a5b71243fdb71f0
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ContinentsConfig(AppConfig): name = 'continents'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
aa67c27df81e19bbe8eefe35decbc21171588cfa
182
py
Python
client/exceptions.py
lramosduarte/toggl-client
26e6c518244ba58b48a5bef9c2ef1931499407d4
[ "MIT" ]
1
2017-09-06T10:28:04.000Z
2017-09-06T10:28:04.000Z
client/exceptions.py
lramosduarte/toggl-client
26e6c518244ba58b48a5bef9c2ef1931499407d4
[ "MIT" ]
3
2017-08-29T16:53:05.000Z
2019-10-25T23:29:24.000Z
client/exceptions.py
lramosduarte/toggl-client
26e6c518244ba58b48a5bef9c2ef1931499407d4
[ "MIT" ]
null
null
null
class TogglClientException(Exception): pass class ArquivoCOnfiguracaoNaoEncontrado(TogglClientException): pass class TarefaAtivaException(TogglClientException): pass
16.545455
61
0.813187
12
182
12.333333
0.5
0.121622
0
0
0
0
0
0
0
0
0
0
0.137363
182
10
62
18.2
0.942675
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
aaa7dc80b776e0d99dfafd8fb6a73083fdc178c5
468
py
Python
Algorithm/DirectedEdge.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2020-10-12T13:33:29.000Z
2020-10-12T13:33:29.000Z
Algorithm/DirectedEdge.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
null
null
null
Algorithm/DirectedEdge.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2016-11-09T07:28:45.000Z
2016-11-09T07:28:45.000Z
#!/usr/bin/env python3 class DirectedEdge: def __init__(self, v, w, weight): self.v = v self.w = w self.weight = weight def fromv(self): return self.v def to(self): return self.w def getVertex(self): return (self.v, self.w) def getWeight(self): return self.weight def __str__(self): return f'DirectedEdge, from: {self.fromv()}, to: {self.to()}, weight: {self.getWeight()}'
19.5
97
0.564103
62
468
4.129032
0.322581
0.195313
0.21875
0.117188
0
0
0
0
0
0
0
0.003049
0.299145
468
23
98
20.347826
0.777439
0.044872
0
0
0
0.066667
0.177528
0
0
0
0
0
0
1
0.4
false
0
0
0.333333
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
aaa960244e3cd4083dd96518f547e351ef592863
2,725
py
Python
tests/test_fila.py
levysiqueira/py-pcs3110
1de11b58eca1afafc0a82386a057cd3fe70cedcf
[ "CC-BY-4.0" ]
9
2019-09-19T23:42:31.000Z
2021-12-04T03:33:23.000Z
tests/test_fila.py
levysiqueira/py-pcs3110
1de11b58eca1afafc0a82386a057cd3fe70cedcf
[ "CC-BY-4.0" ]
null
null
null
tests/test_fila.py
levysiqueira/py-pcs3110
1de11b58eca1afafc0a82386a057cd3fe70cedcf
[ "CC-BY-4.0" ]
2
2019-09-26T20:53:45.000Z
2019-12-19T04:40:42.000Z
""" Algoritmos de PCS3110 em Python Testes / Exemplos """ from modulo1.fila import Fila import unittest class TestFila(unittest.TestCase): def setUp(self): self.fila = Fila() def test_dequeue_fila_vazia(self): self.assertRaises(ValueError, self.fila.dequeue) def test_enqueue(self): self.fila.enqueue(3) self.assertEqual(len(self.fila), 1) self.fila.enqueue(2) self.assertEqual(len(self.fila), 2) self.fila.enqueue(1) self.assertEqual(len(self.fila), 3) def test_enqueue_valores_iguais(self): self.fila.enqueue(1) self.assertEqual(len(self.fila), 1) self.fila.enqueue(1) self.assertEqual(len(self.fila), 2) self.fila.enqueue(1) self.assertEqual(len(self.fila), 3) def test_enqueue_e_dequeue(self): self.fila = Fila(4) self.fila.enqueue(1) self.assertEqual(self.fila.dequeue(), 1) self.fila.enqueue(2) self.fila.enqueue(3) self.assertEqual(self.fila.dequeue(), 2) self.fila.enqueue(4) self.fila.enqueue(5) self.fila.enqueue(6) self.assertEqual(self.fila.dequeue(), 3) self.assertEqual(self.fila.dequeue(), 4) self.assertEqual(self.fila.dequeue(), 5) self.assertEqual(self.fila.dequeue(), 6) def test_enqueue_overflow(self): self.fila = Fila(2) self.fila.enqueue(3) self.fila.enqueue(2) self.assertRaises(ValueError, self.fila.enqueue, 1) def test_dequeue_ate_acabar(self): self.fila.enqueue(1) self.fila.enqueue(2) self.assertEqual(self.fila.dequeue(), 1) self.assertEqual(self.fila.dequeue(), 2) self.assertRaises(ValueError, self.fila.dequeue) def test_is_empty(self): self.fila = Fila(2) self.assertTrue(self.fila.is_empty()) self.fila.enqueue(1) self.assertFalse(self.fila.is_empty()) self.fila.enqueue(2) self.assertFalse(self.fila.is_empty()) self.fila.dequeue() self.assertFalse(self.fila.is_empty()) self.fila.enqueue(3) self.fila.dequeue() self.assertFalse(self.fila.is_empty()) self.fila.dequeue() self.assertTrue(self.fila.is_empty()) def test_len(self): self.fila = Fila(2) self.fila.enqueue(1) self.assertEqual(len(self.fila), 1) self.fila.enqueue(2) self.assertEqual(len(self.fila), 2) self.fila.dequeue() self.assertEqual(len(self.fila), 1) self.fila.enqueue(2) self.assertEqual(len(self.fila), 2) self.fila.dequeue() self.assertEqual(len(self.fila), 1)
27.806122
59
0.612844
354
2,725
4.649718
0.118644
0.291616
0.209599
0.147023
0.801944
0.741798
0.611179
0.50243
0.417375
0.385176
0
0.025012
0.251743
2,725
98
60
27.806122
0.782246
0.017982
0
0.694444
0
0
0
0
0
0
0
0
0.388889
1
0.125
false
0
0.027778
0
0.166667
0
0
0
0
null
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
aac2ac173254fc14f70161ff1dff729076232bcc
657
py
Python
tests/builtin_constants.py
gousaiyang/vermin
5566d87dbed25372ca0083dd4bbb6fb069838520
[ "MIT" ]
null
null
null
tests/builtin_constants.py
gousaiyang/vermin
5566d87dbed25372ca0083dd4bbb6fb069838520
[ "MIT" ]
null
null
null
tests/builtin_constants.py
gousaiyang/vermin
5566d87dbed25372ca0083dd4bbb6fb069838520
[ "MIT" ]
null
null
null
from .testutils import VerminTest class VerminBuiltinConstantsTests(VerminTest): def test_obj_of_memoryview(self): self.assertOnlyIn((3, 3), self.detect("memoryview(b'1').obj")) def test_nbytes_of_memoryview(self): self.assertOnlyIn((3, 3), self.detect("memoryview(b'1').nbytes")) def test_contiguous_of_memoryview(self): self.assertOnlyIn((3, 3), self.detect("memoryview(b'1').contiguous")) def test_c_contiguous_of_memoryview(self): self.assertOnlyIn((3, 3), self.detect("memoryview(b'1').c_contiguous")) def test_f_contiguous_of_memoryview(self): self.assertOnlyIn((3, 3), self.detect("memoryview(b'1').f_contiguous"))
36.5
75
0.741248
91
657
5.142857
0.230769
0.074786
0.17094
0.213675
0.662393
0.662393
0.662393
0.662393
0.662393
0.662393
0
0.025381
0.100457
657
17
76
38.647059
0.766497
0
0
0
0
0
0.194825
0.164384
0
0
0
0
0.416667
1
0.416667
false
0
0.083333
0
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
4
aace29ebe6a472272cfa9f3bd189a19639fc7c6e
81
py
Python
blapp/utils/testing/browser.py
litheblas/blapp
35b6768044a5d545e2d5931fc61e6a824f2bc729
[ "MIT" ]
null
null
null
blapp/utils/testing/browser.py
litheblas/blapp
35b6768044a5d545e2d5931fc61e6a824f2bc729
[ "MIT" ]
2
2018-12-13T12:19:38.000Z
2020-06-05T18:38:22.000Z
blapp/utils/testing/browser.py
litheblas/blapp
35b6768044a5d545e2d5931fc61e6a824f2bc729
[ "MIT" ]
1
2018-06-29T05:30:16.000Z
2018-06-29T05:30:16.000Z
import attr @attr.dataclass(frozen=True) class ExternalWebserver: url: str
11.571429
28
0.753086
10
81
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.160494
81
6
29
13.5
0.897059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
aade615e459b15cb583218ca466ff09dd4669147
278
py
Python
ppb/systems/__init__.py
ironfroggy/pursuedpybear
a17d29dd58a6f2ecad1f0a9dcf4ee23bed87d780
[ "Artistic-2.0" ]
null
null
null
ppb/systems/__init__.py
ironfroggy/pursuedpybear
a17d29dd58a6f2ecad1f0a9dcf4ee23bed87d780
[ "Artistic-2.0" ]
null
null
null
ppb/systems/__init__.py
ironfroggy/pursuedpybear
a17d29dd58a6f2ecad1f0a9dcf4ee23bed87d780
[ "Artistic-2.0" ]
null
null
null
from ppb.systems.inputs import EventPoller from ppb.systems.renderer import Renderer, Image from ppb.systems.clocks import Updater from ppb.systems.sound import SoundController, Sound __all__ = ( 'EventPoller', 'Renderer', 'Image', 'Updater', 'SoundController', 'Sound', )
30.888889
78
0.769784
33
278
6.363636
0.393939
0.133333
0.266667
0
0
0
0
0
0
0
0
0
0.118705
278
8
79
34.75
0.857143
0
0
0
0
0
0.183453
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
2a9ff84b24047f39c19555e4ad7c871ff9681fd5
167
py
Python
Problem29.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
Problem29.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
Problem29.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
#distinct powers if __name__ == '__main__': s = [] for i in range(2, 101): for j in range(2, 101): s.append(i ** j) print(len(set(s)))
20.875
31
0.502994
26
167
2.923077
0.653846
0.184211
0.210526
0.289474
0
0
0
0
0
0
0
0.071429
0.329341
167
8
32
20.875
0.607143
0.08982
0
0
0
0
0.052632
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2ad43e3e88b9fccc6f9029c7da92686e2aaa7634
160
py
Python
aiogithub/objects/milestone.py
flying-sheep/aiogithub
566252cac036d9abe2b1eb2acb268547e01ca63e
[ "BSD-3-Clause" ]
10
2016-09-13T15:50:10.000Z
2021-05-27T15:36:58.000Z
aiogithub/objects/milestone.py
flying-sheep/aiogithub
566252cac036d9abe2b1eb2acb268547e01ca63e
[ "BSD-3-Clause" ]
5
2017-03-26T13:51:40.000Z
2020-04-22T19:46:36.000Z
aiogithub/objects/milestone.py
flying-sheep/aiogithub
566252cac036d9abe2b1eb2acb268547e01ca63e
[ "BSD-3-Clause" ]
2
2020-03-05T06:07:18.000Z
2022-02-11T14:23:46.000Z
from aiogithub.objects.response import BaseResponseObject class Milestone(BaseResponseObject): _url = 'repos/{login}/{repo}/milestones/{number}' pass
22.857143
57
0.7625
16
160
7.5625
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.125
160
6
58
26.666667
0.864286
0
0
0
0
0
0.25
0.25
0
0
0
0
0
1
0
false
0.25
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
2ae6dcd7082879b1b052cefa463cbed3e7e8d7d9
7,352
py
Python
dedupifier/tests/test_dedupe.py
bne/dedupifier
fe683bec4c07944a5c7486df8052c08913604a67
[ "Apache-2.0" ]
null
null
null
dedupifier/tests/test_dedupe.py
bne/dedupifier
fe683bec4c07944a5c7486df8052c08913604a67
[ "Apache-2.0" ]
null
null
null
dedupifier/tests/test_dedupe.py
bne/dedupifier
fe683bec4c07944a5c7486df8052c08913604a67
[ "Apache-2.0" ]
null
null
null
import os import shutil import unittest from dedupifier import dedupe RED_FILE = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00d\x00\x00\x00d\x08\x06\x00\x00\x00p\xe2\x95T\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\x00IDATx\x9c\xed\xd1A\r\x00 \x10\xc0\xb0\x03\xff\x9e\xe1\x8d\x02\xf6h\x15,\xd9:3g\xc8\xd8\xbf\x03x\x19\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\xcc\x05\xecL\x02\xc6O\xb9\xb7?\x00\x00\x00\x00IEND\xaeB`\x82' BLUE_FILE = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00d\x00\x00\x00d\x08\x06\x00\x00\x00p\xe2\x95T\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\x01IDATx\x9c\xed\xd11\r\x00 \x00\xc00@\x0c\xfe\x1d\xc2\x8d\x02v\xb4\n\x96l\x8e}\xce c\xfd\x0e\xe0eH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x17+\xc2\x02\xec\x12\x9cRP\x00\x00\x00\x00IEND\xaeB`\x82' YELLOW_FILE = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00d\x00\x00\x00d\x08\x06\x00\x00\x00p\xe2\x95T\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\x01IDATx\x9c\xed\xd11\r\x00 \x00\xc00\xc0\xbf@\xdc\xc0\x8d\x02v\xb4\n\x96l\x9e=\xce c\xfd\x0e\xe0eH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x17\x1c\xc7\x03\x9e\x8a\xb8\xfb\xf8\x00\x00\x00\x00IEND\xaeB`\x82' GREEN_FILE = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00d\x00\x00\x00d\x08\x06\x00\x00\x00p\xe2\x95T\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\x01IDATx\x9c\xed\xd11\r\x00 \x00\xc00\xc0\t\xfeE\xc2\x8d\x02v\xb4\n\x96l\x8e\xb3\xcf c\xfd\x0e\xe0eH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x86\xc4\x18\x12cH\x8c!1\x17\x1dI\x02\xe7\x0f\x94\xb8q\x00\x00\x00\x00IEND\xaeB`\x82' class BaseTestCase(unittest.TestCase): root_path = os.path.join(os.path.dirname(__file__), 'data') structure = { 'a': { 'red.png': RED_FILE, 'blue.png': BLUE_FILE, }, 'b': { 'a': { 'red.png': BLUE_FILE, }, 'b': { 'blue.png': BLUE_FILE, 'yellow.png': RED_FILE, }, 'yellow.png': YELLOW_FILE, }, 'c': { 'a': { 'yellow.png': GREEN_FILE, 'blue.png': BLUE_FILE, 'red.png': RED_FILE, }, 'b': { 'a': { 'red.png': RED_FILE, } }, 'c': { 'a': { 'yellow.png': RED_FILE, 'blue.png': GREEN_FILE }, 'b': { 'red.png': RED_FILE } } } } def setUp(self): self.tearDown() os.mkdir(self.root_path) current_path = [self.root_path] def _create_structure(structure): for item in structure: current_path.append(item) if isinstance(structure[item], dict): os.mkdir(os.path.join(*current_path)) _create_structure(structure[item]) elif isinstance(structure[item], bytes): with open(os.path.join(*current_path), 'wb') as file: file.write(structure[item]) current_path.pop() _create_structure(self.structure) def tearDown(self): try: shutil.rmtree(self.root_path) except FileNotFoundError: pass class FindDuplicatesTestCase(BaseTestCase): def test_find_duplicates_by_name(self): dedupifier = dedupe.Dedupifier(self.root_path, use_hash=False) dedupifier.get_items() self.assertEqual(len(dedupifier.items), 3) self.assertEqual(len(dedupifier.items['red.png']), 5) self.assertEqual(len(dedupifier.items['blue.png']), 4) self.assertEqual(len(dedupifier.items['yellow.png']), 4) def test_find_duplicates_by_hash(self): """ 4ad906ab212802e3399e47577cd11ea4 = green f44b218520c49516f4dbd66996e35dbb = blue caedc0f880459ab7f779e410d854ba3e = yellow f8d6a5a1048e120012f949ebba817205 = red """ dedupifier = dedupe.Dedupifier(self.root_path, use_hash=True) dedupifier.get_items() self.assertEqual(len(dedupifier.items), 4) self.assertEqual(len(dedupifier.items['4ad906ab212802e3399e47577cd11ea4']), 2) self.assertEqual(len(dedupifier.items['f44b218520c49516f4dbd66996e35dbb']), 4) self.assertEqual(len(dedupifier.items['caedc0f880459ab7f779e410d854ba3e']), 1) self.assertEqual(len(dedupifier.items['f8d6a5a1048e120012f949ebba817205']), 6) class RemoveDuplicatesTestCase(BaseTestCase): def test_remove_duplicates(self): dedupifier = dedupe.Dedupifier(self.root_path, use_hash=True) dedupifier.get_items() dedupifier.remove_duplicates() self.assertEqual(len(dedupifier.items), 4) for key in ['4ad906ab212802e3399e47577cd11ea4', 'f44b218520c49516f4dbd66996e35dbb', 'caedc0f880459ab7f779e410d854ba3e', 'f8d6a5a1048e120012f949ebba817205']: self.assertTrue(os.path.exists(dedupifier.items[key][0])) for file in dedupifier.items[key][1:]: self.assertFalse(os.path.exists(file))
58.816
914
0.655196
1,222
7,352
3.896072
0.139116
0.083176
0.181474
0.201638
0.68305
0.609536
0.561647
0.552825
0.535182
0.52405
0
0.251876
0.166213
7,352
124
915
59.290323
0.524796
0.021899
0
0.276596
0
0.042553
0.556769
0.534929
0
0
0
0
0.12766
1
0.06383
false
0.010638
0.042553
0
0.159574
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2afef547347b1633eb3944c08e927cdb993eb468
5,829
py
Python
tests/python_test_utils/wenzel_utils.py
jiangzhongshi/acorns-benchmark
df5f43af90a32f4c1578cdea1f4f412237e18c75
[ "MIT" ]
1
2021-09-24T21:24:02.000Z
2021-09-24T21:24:02.000Z
tests/python_test_utils/wenzel_utils.py
jiangzhongshi/acorns-benchmark
df5f43af90a32f4c1578cdea1f4f412237e18c75
[ "MIT" ]
null
null
null
tests/python_test_utils/wenzel_utils.py
jiangzhongshi/acorns-benchmark
df5f43af90a32f4c1578cdea1f4f412237e18c75
[ "MIT" ]
1
2021-09-24T21:22:54.000Z
2021-09-24T21:22:54.000Z
import os import general_utils def generate_wenzel_file(func_num, num_params, functions, params_filename, degree, static): if static: if degree == 'single': with open('./tests/utils/static_code/grad/wenzel_single_static.txt', 'r') as file: wenzel = file.read() wenzel_file = open("./tests/utils/wenzel_single_static.cpp", "w+") num_vars = len(functions[func_num][1]) derivatives = generate_wenzel_ders(func_num, num_vars, functions, degree) cpp_code = wenzel % (num_vars, num_params, num_vars, params_filename, num_vars, derivatives) wenzel_file.write(cpp_code) wenzel_file.close() else: with open('./tests/utils/static_code/hess/wenzel_hessian_static.txt', 'r') as file: wenzel = file.read() wenzel_file = open("./tests/utils/wenzel_hessian_static.cpp", "w+") num_vars = len(functions[func_num][1]) derivatives = generate_wenzel_ders(func_num, num_vars, functions, degree) cpp_code = wenzel % (num_vars, num_vars, num_vars, num_params, num_vars, params_filename, num_vars, derivatives) wenzel_file.write(cpp_code) wenzel_file.close() else: if degree == 'single': with open('./tests/utils/static_code/grad/wenzel_single_dynamic.txt', 'r') as file: wenzel = file.read() wenzel_file = open("./tests/utils/wenzel_single_dynamic.cpp", "w+") num_vars = len(functions[func_num][1]) derivatives = generate_wenzel_ders(func_num, num_vars, functions, degree) cpp_code = wenzel % (num_params, num_vars, params_filename, num_vars, derivatives) wenzel_file.write(cpp_code) wenzel_file.close() else: with open('./tests/utils/static_code/hess/wenzel_hessian_dynamic.txt', 'r') as file: wenzel = file.read() wenzel_file = open("./tests/utils/wenzel_hessian_dynamic.cpp", "w+") num_vars = len(functions[func_num][1]) derivatives = generate_wenzel_ders(func_num, num_vars, functions, degree) cpp_code = wenzel % (num_params, num_vars, params_filename, num_vars, derivatives) wenzel_file.write(cpp_code) wenzel_file.close() def compile_wenzel(degree, static, compiler_version=""): if static: if degree == 'single': os.system("g++{} -std=c++11 -I ./tests/utils/ext/ ./tests/utils/wenzel_single_static.cpp -o ./tests/utils/wenzel_single_static -ffast-math -O3".format(compiler_version)) else: os.system("g++{} -std=c++11 -I ./tests/utils/ext/ ./tests/utils/wenzel_hessian_static.cpp -o ./tests/utils/wenzel_hessian_static -ffast-math -O3".format(compiler_version)) else: if degree == 'single': os.system("g++{} -std=c++11 -I ./tests/utils/ext/ ./tests/utils/wenzel_single_dynamic.cpp -o ./tests/utils/wenzel_single_dynamic -ffast-math -O3".format(compiler_version)) else: os.system("g++{} -std=c++11 -I ./tests/utils/ext/ ./tests/utils/wenzel_hessian_dynamic.cpp -o ./tests/utils/wenzel_hessian_dynamic -ffast-math -O3".format(compiler_version)) def run_wenzel(degree, static): if static: if degree == 'single': os.system("./tests/utils/wenzel_single_static ./tests/utils/wenzel_output_single_static.txt") return general_utils.parse_output("./tests/utils/wenzel_output_single_static.txt") else: os.system("./tests/utils/wenzel_hessian_static ./tests/utils/wenzel_output_hessian_static.txt") return general_utils.parse_output("./tests/utils/wenzel_output_hessian_static.txt") else: if degree == 'single': os.system("./tests/utils/wenzel_single_dynamic ./tests/utils/wenzel_output_single_dynamic.txt") return general_utils.parse_output("./tests/utils/wenzel_output_single_dynamic.txt") else: os.system("./tests/utils/wenzel_hessian_dynamic ./tests/utils/wenzel_output_hessian_dynamic.txt") return general_utils.parse_output("./tests/utils/wenzel_output_hessian_dynamic.txt") def generate_wenzel_ders(func_num, num_vars, functions, degree): ders_string = "\t\tDScalar " for i, var in enumerate(functions[func_num][1]): ders_string += "{}({}, args[index * {} + {}])".format(var, i, num_vars, i) if i == num_vars - 1: ders_string += ";\n" else: ders_string += ", " func_string = "\t\tDScalar Fx = {};\n".format(functions[func_num][0]) grad_string = "" if degree == "single": for i in range(num_vars): grad_string += "\t\tders[index * {} + {}] = Fx.getGradient()({});".format(num_vars, i, i) if i != num_vars - 1: grad_string += "\n" else: num_ders = num_vars * num_vars list_ders = list(range(num_ders)) ders_count = 0 count = 0 for i in range(num_vars): for j in range(num_vars): if j >= i: grad_string += "\t\tders[index * {} + {}] = Fx.getHessian()({});".format(num_ders, count, ders_count) count += 1 list_ders.remove(ders_count) if i != num_ders - 1: grad_string += "\n" ders_count += 1 for i in list_ders: grad_string += "\t\tders[index * {} + {}] = Fx.getHessian()({});".format(num_ders, count, i) count += 1 if i != num_vars - 1: grad_string += "\n" return ders_string + func_string + grad_string
54.990566
185
0.601132
727
5,829
4.550206
0.10729
0.096735
0.116082
0.053204
0.828597
0.819528
0.756651
0.684099
0.633313
0.592503
0
0.006314
0.266426
5,829
106
186
54.990566
0.767306
0
0
0.5
1
0.039216
0.291081
0.20669
0
0
0
0
0
1
0.039216
false
0
0.019608
0
0.107843
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6301e4b14af53f889f25ba27f22c4805b7d730c8
156
py
Python
__main__.py
MoriokaReimen/ConfigHeaderGenerator
73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e
[ "MIT" ]
null
null
null
__main__.py
MoriokaReimen/ConfigHeaderGenerator
73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e
[ "MIT" ]
null
null
null
__main__.py
MoriokaReimen/ConfigHeaderGenerator
73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e
[ "MIT" ]
null
null
null
from View import View from Control import Control if __name__ == '__main__': control = Control.Control() view = View.View(control) view.start()
22.285714
31
0.698718
20
156
5.05
0.4
0.277228
0
0
0
0
0
0
0
0
0
0
0.198718
156
7
32
22.285714
0.808
0
0
0
0
0
0.050955
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
63123ddb432599c0eed546b56abb4bc89b17b55c
10,906
py
Python
dbt/adapters/spark/authentication.py
valdasm/dbt-spark
e37aac4d8c85bcb481e2dd5936a71865936be459
[ "Apache-2.0" ]
null
null
null
dbt/adapters/spark/authentication.py
valdasm/dbt-spark
e37aac4d8c85bcb481e2dd5936a71865936be459
[ "Apache-2.0" ]
null
null
null
dbt/adapters/spark/authentication.py
valdasm/dbt-spark
e37aac4d8c85bcb481e2dd5936a71865936be459
[ "Apache-2.0" ]
null
null
null
# VM Custom implementation # https://docs.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/app-aad-token#get-token # MSAL - the latest microsoft auth library for Python # https://github.com/AzureAD/microsoft-authentication-library-for-python # from msal import PublicClientApplication # app = PublicClientApplication( # "454cf679-c8c3-4495-99e3-cec320145809", # authority="https://login.microsoftonline.com/2cc4f6be-d233-4968-a92c-74ce2d26adb1") # secret = "a3EBAzongiDoNshk2Am_39~~n-r_3Wwh_I" # https://login.microsoftonline.com/2cc4f6be-d233-4968-a92c-74ce2d26adb1/oauth2/authorize?client_id=454cf679-c8c3-4495-99e3-cec320145809&response_type=code&redirect_uri=http://localhost&response_mode=query&resource=2ff814a6-3304-4ab8-85cb-cd0e6f879c1d&state=1234 # Returned code # msal from adal import AuthenticationContext # Obtain the authorization code in by a HTTP request in the browser # then copy it here or, call the function above to get the authorization code authorization_code = "0.ATEAvvbELDPSaEmpLHTOLSatsXn2TEXDyJVEmePOwyAUWAkxAJo.AQABAAIAAAD--DLA3VO7QrddgJg7WevrjrFUXNsYu7Xv1PrByjJUFNw6d3KipKYmTC6x0RRtoG2iRVpx5aI9nRGnxjos_sDZxAMd7eunAPFiN-SHATS16ycqDvKf-Kl9-LEW1lrSmSBO6efEyesFpyBC-SwfDQ7KOyjCvTchFC67ZrjF9zVlV0xZ8RF0WYEW7BoOD01WJ1pXe9-3Od5ACBQGRThF_oglvcF6gyjI892tqiepYKnHZCisXDv-5XLQLPUf8ZNcUG3I83zXXtr7suIBVozlu4DKoI16R-R0joCTJwycv_LW6dDQaHedkuiGhQ6G9LEnQuTOURsvj68jr_RO-C3lEkvG8plKxVqk-xlAXDKkU4tV1OkyUBiM3gcELJjSWlku180R0O4DdDSGT9Y7oZePl3zhogoMq_rQTj8sqNJFOQZ5SIkoPkv1dvoBeg6-Sl-VUxAdNPnrO5IH0mgSOqC-uaMXIULYgH-i5C4EGFiz9iPVRMa2V5aIXRHm-xVNXVpg3tFmtbc4hbFDOP52IZqGcR3vvrsz_3EUqJzWE0Q6S4tknnl9RYwJXQc6fP70Mefl4EuIha2BYSaaJTG67yL8ufi1zD_8i9X_jZvIrS7-4ZNElHEXEFSLs5_lMEaR6vVOnOJWZMy5yCEUxUYjZRI8EcVjXDOB2B9nrW7FzGIpy0lQc3-W5buz0qBCIP8tHNIAtNK6GRn5VDXKfKC_oKVhazozFc0hSrVrtRWiRO_43_KAMm1fGnN_ZAZ1CLZpf45bd1LKk4B_Wc3iq-K8fdFua-Xri8CP2FTT5dv3g8mdDjrgRBq-GeSj5r-poHnmc0IZu_U_dMC3fQX7w3JMoVEhp8v0gsWW-Sp_KHmwHyXyRvevK3p4p1SB4yeFJKmV4FD98HA5KEnvvSiWQWAXuvYI2avxem_pKMMojVdsmqvMiXnpOBJ7ZCIRrX4R3LcYW2zhHhJQzlI3gJtxJKkeDyyAzbRWUS3o2QQyYZGTXcdg4j3G0q-JE9YSx8klqPrOu9P9xveuO7tnuM645swjRTAN8vvVNyAGeKyBIm4oeyzOirtaX4MtdKm_CCnyaMJFCr84RPdbjm5dF0eT3NGFpMPKPzmBJfpxh4FOfchZZzXJq0zYeEsVsNBqvGmpsy75hGuEjmYJmxedo8lV9BlC4w_r26Oa4AhQdSSHFlXFvSoYSqdLBiILpZBHrPf_n5hMTVksaLlLT__0rjvuMzscKbjpSU_Srdui7Nm_kWA4vCrmKv1pCCAA" authority_host_url = "https://login.microsoftonline.com/" azure_databricks_resource_id = "2ff814a6-3304-4ab8-85cb-cd0e6f879c1d" # # Required user input user_parameters = { "tenant" : "2cc4f6be-d233-4968-a92c-74ce2d26adb1", "client_id" : "454cf679-c8c3-4495-99e3-cec320145809", "client_secret": "Gs~img8N.r0.eR.~5h1u~Tx.Mz-fP_Pr37", "username" : "databricks@valdasmaksimavicius.onmicrosoft.com", "password" : "1KWH8f7YaFpn", #"knit2JOCT1voum*gnul" "redirect_uri" : "http://localhost" } authority_url = authority_host_url + user_parameters['tenant'] def get_refresh_and_access_token(): # configure AuthenticationContext # authority URL and tenant ID are used context = AuthenticationContext(authority_url) # API call to get the token, the response is a # key-value dict token_response = context.acquire_token_with_authorization_code( authorization_code, user_parameters['redirect_uri'], azure_databricks_resource_id, user_parameters['client_id']) # you can print all the fields in the token_response for key in token_response.keys(): print(str(key) + ': ' + str(token_response[key])) # the tokens can be returned as a pair (or you can return the full # token_response) return (token_response['accessToken'], token_response['refreshToken']) # supply the refresh_token (whose default lifetime is 90 days or longer [token lifetime]) def refresh_access_token(refresh_token): context = AuthenticationContext(authority_url) # function link token_response = context.acquire_token_with_refresh_token( refresh_token, user_parameters['client_id'], azure_databricks_resource_id) # print all the fields in the token_response for key in token_response.keys(): print(str(key) + ': ' + str(token_response[key])) # the new 'refreshToken' and 'accessToken' will be returned return (token_response['refreshToken'], token_response['accessToken']) print(get_refresh_and_access_token()) # refreshToken = """0.ATEAvvbELDPSaEmpLHTOLSatsXn2TEXDyJVEmePOwyAUWAkxAJo.AgABAAAAAAD--DLA3VO7QrddgJg7WevrAgDs_wQA9P8VHkHDubbSToigD6ot5bRISi9hRbx-1R1xFSAf358UI7LpdKQUcnpW5tKr3gKjpOobqVxvae-yA9w0ECZGelKsMy-Gj2961dhIHx_7Aae_IUnkr-tyiQDHzHInl-UT5kM1zgt_20qAUDLOPmChhJDsSAql5wD__3LtRT5p4rJSSrttH1zbnn7cew6dTOFtTQrAaqURSn5a2S9LAyLcTVHiXWSoW942fthUjN_vr4cXh_JrpCdNkf_PR39q86HQQog_Km08oXK21pSrhfSvzbTHvenFM5yB15TAn_o_KMyGGHPnYMrM4XicRTGAV0r_U43loF9uSzB1JHMem0rsncdvLnbjcGdS2-Zu7-kjH78rFrLGsoGPYCwvV5w0VgcOHgP3x-uC3I-rLJsbJk2ZRNRcfgqU3DbMZrbXgfzVaUjxJfwpVml-DBmC5cdj9QdKYqIH-OTmkvaIfePQgOhhNdJbEBmU38lYBe9T_2PD_meDGSYdtDdZwGvdRZvlnOkuIScWJRy_54dgjp-l5o4GM3geh35BFStG0Jk5yijfFByNxTNR4hai_Ki_3a3wycTGDdK3vXDA6YQwjGC_gvqBW_P5-fmQESlCvlcF3sbP5XdWjWafij8HxNmsq_I7mxjNH4RDzPHz_g6W19NNUFXBiEK5twrSgL-GIT6ymyC8eO3R45JC7CEdguh1UWJnt87qX04er79ffdt1ofA4CahiOo4YORZrlFoCk4zhln2aCYUQEyLU7bYKT2grd-ED4sLUVdCkHsp8CN-25uKdp8LnMEEMejTEc7Umy4kljEZ7aCrEoqTUU1us8ppMU1T8VC_g_CbP23C7V-to0ytellVt1vkXWEIn5Y5E3M-paOlnGFRn3wGkFAvnaXygTGAOlrCSGD_FOjkxJmpBQ5J2BUxBeQUCsV_B_SomaHkA5GDHtP65O7TMitHXzOMt9WanuiKs0zE2exlGfCA9eIMAkxhDWzM4uaaQE0pUXh6RHqREGwwTcjQrSDfrKHU6O1H3UPOBAaj5zkaeGws_x2pz4vPCRNiYP3CFCwtzCKWOXzsEJQHpZOYsN86uNKp_GLL1hsBG8MeQiXMuKvotQESpZQi_kRDsyFA1GWAu3FDfkrhBB8_nN3q6qgxZvyXfYnmpaGbkeZoXThH_KPV8HWhSQZSyq6u0okWb0cQDKI2FeYKKwRUa2cCpUnJldwdnDLlrsUHbKRIaXDbngx39AmQTRMJRyb5mPiQOrytYvPU3z3WOReZhpnTfYDhgCn_1GqAVZoVw8ZTaMR6Aw7xrWfTJbD4kxBGEQ54HE9hDj75uOEyvy9EhBXTGrBw36NyWLhI3upDPpOnuMm7hL9aY9s10P47qTEHZEv1MfnWRVXpxlcyX1jlHEsmMEfzW8KmuypCatXQgvHyYYIgGsvTZUicSKlirfRYLJVswqS3ApTcks1MlmQLivOh4ly6_xNf-M3jdrLmFVMuiS3t58h3qIrJxEcuFIv0HJWmh3EbUTirs1aSOYy7S5qUvV2hhj5tuul0x9DhiFTCk93Ogcjd56W4P9yEHVDIWBmSkv0mr7kEDpcNYW_uUhIKVcWJrNcc292sjn8ZE0_ApOGvMJ7I0pn-BKATDvZcaTiTKexcvhd44UXyyRm2fu5n7ikPqlJYsDbaQ33CX6S4kbipRBE6OdH-ISAaZHgUY0srlmpLTn5yFe_kLjefijwCBD519pe5FZZW5xRGWtstkfqpXOtFMrzPfOmvBiFOpirYt0UCIw06cstJcXlNaRLVIaQpQUN14-cPVYgK_4zPSC6kc957w_9O-WGxb-pKQdK4YaJGqhNX8ySdCsBSG3g # ('0.ATEAvvbELDPSaEmpLHTOLSatsXn2TEXDyJVEmePOwyAUWAkxAJo.AgABAAAAAAD--DLA3VO7QrddgJg7WevrAgDs_wQA9P8VHkHDubbSToigD6ot5bRISi9hRbx-1R1xFSAf358UI7LpdKQUcnpW5tKr3gKjpOobqVxvae-yA9w0ECZGelKsMy-Gj2961dhIHx_7Aae_IUnkr-tyiQDHzHInl-UT5kM1zgt_20qAUDLOPmChhJDsSAql5wD__3LtRT5p4rJSSrttH1zbnn7cew6dTOFtTQrAaqURSn5a2S9LAyLcTVHiXWSoW942fthUjN_vr4cXh_JrpCdNkf_PR39q86HQQog_Km08oXK21pSrhfSvzbTHvenFM5yB15TAn_o_KMyGGHPnYMrM4XicRTGAV0r_U43loF9uSzB1JHMem0rsncdvLnbjcGdS2-Zu7-kjH78rFrLGsoGPYCwvV5w0VgcOHgP3x-uC3I-rLJsbJk2ZRNRcfgqU3DbMZrbXgfzVaUjxJfwpVml-DBmC5cdj9QdKYqIH-OTmkvaIfePQgOhhNdJbEBmU38lYBe9T_2PD_meDGSYdtDdZwGvdRZvlnOkuIScWJRy_54dgjp-l5o4GM3geh35BFStG0Jk5yijfFByNxTNR4hai_Ki_3a3wycTGDdK3vXDA6YQwjGC_gvqBW_P5-fmQESlCvlcF3sbP5XdWjWafij8HxNmsq_I7mxjNH4RDzPHz_g6W19NNUFXBiEK5twrSgL-GIT6ymyC8eO3R45JC7CEdguh1UWJnt87qX04er79ffdt1ofA4CahiOo4YORZrlFoCk4zhln2aCYUQEyLU7bYKT2grd-ED4sLUVdCkHsp8CN-25uKdp8LnMEEMejTEc7Umy4kljEZ7aCrEoqTUU1us8ppMU1T8VC_g_CbP23C7V-to0ytellVt1vkXWEIn5Y5E3M-paOlnGFRn3wGkFAvnaXygTGAOlrCSGD_FOjkxJmpBQ5J2BUxBeQUCsV_B_SomaHkA5GDHtP65O7TMitHXzOMt9WanuiKs0zE2exlGfCA9eIMAkxhDWzM4uaaQE0pUXh6RHqREGwwTcjQrSDfrKHU6O1H3UPOBAaj5zkaeGws_x2pz4vPCRNiYP3CFCwtzCKWOXzsEJQHpZOYsN86uNKp_GLL1hsBG8MeQiXMuKvotQESpZQi_kRDsyFA1GWAu3FDfkrhBB8_nN3q6qgxZvyXfYnmpaGbkeZoXThH_KPV8HWhSQZSyq6u0okWb0cQDKI2FeYKKwRUa2cCpUnJldwdnDLlrsUHbKRIaXDbngx39AmQTRMJRyb5mPiQOrytYvPU3z3WOReZhpnTfYDhgCn_1GqAVZoVw8ZTaMR6Aw7xrWfTJbD4kxBGEQ54HE9hDj75uOEyvy9EhBXTGrBw36NyWLhI3upDPpOnuMm7hL9aY9s10P47qTEHZEv1MfnWRVXpxlcyX1jlHEsmMEfzW8KmuypCatXQgvHyYYIgGsvTZUicSKlirfRYLJVswqS3ApTcks1MlmQLivOh4ly6_xNf-M3jdrLmFVMuiS3t58h3qIrJxEcuFIv0HJWmh3EbUTirs1aSOYy7S5qUvV2hhj5tuul0x9DhiFTCk93Ogcjd56W4P9yEHVDIWBmSkv0mr7kEDpcNYW_uUhIKVcWJrNcc292sjn8ZE0_ApOGvMJ7I0pn-BKATDvZcaTiTKexcvhd44UXyyRm2fu5n7ikPqlJYsDbaQ33CX6S4kbipRBE6OdH-ISAaZHgUY0srlmpLTn5yFe_kLjefijwCBD519pe5FZZW5xRGWtstkfqpXOtFMrzPfOmvBiFOpirYt0UCIw06cstJcXlNaRLVIaQpQUN14-cPVYgK_4zPSC6kc957w_9O-WGxb-pKQdK4YaJGqhNX8ySdCsBSG3g', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIyZmY4MTRhNi0zMzA0LTRhYjgtODVjYi1jZDBlNmY4NzljMWQiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC8yY2M0ZjZiZS1kMjMzLTQ5NjgtYTkyYy03NGNlMmQyNmFkYjEvIiwiaWF0IjoxNjEzODQ0OTI1LCJuYmYiOjE2MTM4NDQ5MjUsImV4cCI6MTYxMzg0ODgyNSwiYWNyIjoiMSIsImFpbyI6IkFVUUF1LzhUQUFBQXo0Zm1TU2hXaHRYUzRhcXpxUlFGM1RmdDhGYTYrOXo4U2c4a1FVWXVCQXpsUEo0M0RHOHZsb3lxbk1FMDYzRC94SzRSRG9QMXh3MUtGYXpYRVlXdkN3PT0iLCJhbHRzZWNpZCI6IjE6bGl2ZS5jb206MDAwM0JGRkQxM0FBQkU3RiIsImFtciI6WyJwd2QiXSwiYXBwaWQiOiI0NTRjZjY3OS1jOGMzLTQ0OTUtOTllMy1jZWMzMjAxNDU4MDkiLCJhcHBpZGFjciI6IjAiLCJlbWFpbCI6InZhbGRhc0BtYWtzaW1hdmljaXVzLmV1IiwiZmFtaWx5X25hbWUiOiIyZGRhMWYzYS0zMjExLTRjMjAtYTdjMC1jYzliMmY3ZmI4NzkiLCJnaXZlbl9uYW1lIjoiZjk1ZWQ5NzgtY2I0My00OThjLWIxNmUtMTU0MGQ5NWYzNDQxIiwiaWRwIjoibGl2ZS5jb20iLCJpcGFkZHIiOiI3OC41OC4yMzcuMTY2IiwibmFtZSI6ImY5NWVkOTc4LWNiNDMtNDk4Yy1iMTZlLTE1NDBkOTVmMzQ0MSAyZGRhMWYzYS0zMjExLTRjMjAtYTdjMC1jYzliMmY3ZmI4NzkiLCJvaWQiOiIwYjRmNWQ3OC03ZTBlLTQyMzItYmI2MS01NjNmZmVlNDlhNzQiLCJwdWlkIjoiMTAwMzAwMDBBQzAwN0U3NyIsInJoIjoiMC5BVEVBdnZiRUxEUFNhRW1wTEhUT0xTYXRzWG4yVEVYRHlKVkVtZVBPd3lBVVdBa3hBSm8uIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiVGNpaS16bXhDUTkxSjdCWVoxdGpKdkVSb0xLQ0FGQ2NPeGYtYmo3QzF3SSIsInRpZCI6IjJjYzRmNmJlLWQyMzMtNDk2OC1hOTJjLTc0Y2UyZDI2YWRiMSIsInVuaXF1ZV9uYW1lIjoibGl2ZS5jb20jdmFsZGFzQG1ha3NpbWF2aWNpdXMuZXUiLCJ1dGkiOiItWXQtSGUwM1NVcTFaYmlubC00TkFBIiwidmVyIjoiMS4wIn0.IfKrnyIsapsGlrflhm5hdnTho0IksI-fKjmB0fMtQybABuLuIncSzNoDF43-zWiumi-tK2jrTf0iM8RbGklhB9ldnJ5mSiJJWBJf9dH-Sva2yLp3XblExFvrdnCmp4ExZH0u3shZNnactBikoSzTp3JP2F-vwojepB1bWOYNwy5m-gabOgOu5bse-xrfrgTVXINkPaeXCOrri0d-41Q9DqG1fyUMNsKSQkjGvq55vPvPkdmhaYAtYxF7MjPuyYk8pcQHpc0h77nGtjPoZnTV9lwYV19C9FFiYrSEhXTfGh6SREQQ7QHC70iK4-OF_mNW8aLNGUiwaZ4gqPdPcvPhvw""" # print(refresh_access_token(refreshToken)) # from msal import ConfidentialClientApplication # app = ConfidentialClientApplication( # client_id=user_parameters['client_id'], # client_credential=user_parameters['client_secret'], # authority="https://login.microsoftonline.com/" + user_parameters['tenant']) # result = None # config = { # "scope": ["https://graph.microsoft.com/.default"], # } # if not result: # result = app.acquire_token_for_client(scopes=config["scope"]) # if "access_token" in result: # # Call a protected API with the access token. # print(result["token_type"]) # print(result) # else: # print(result.get("error")) # print(result.get("error_description")) # print(result.get("correlation_id")) # You might need this when reporting a bug.
95.666667
3,774
0.898405
679
10,906
14.148748
0.443299
0.017591
0.010409
0.011658
0.464037
0.435932
0.428438
0.42011
0.42011
0.407619
0
0.109145
0.051531
10,906
113
3,775
96.513274
0.819606
0.725289
0
0.181818
0
0.030303
0.584155
0.514791
0
1
0
0
0
1
0.060606
false
0.030303
0.030303
0
0.151515
0.090909
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
63161cf653090d9d174d2aeb0a54e09bc0959be0
85
py
Python
apps/robot/apps.py
Raoul1996/robot_view_be
b50c261b4a62779b7536670463cf39599c91bc4d
[ "MIT" ]
1
2018-07-04T18:29:43.000Z
2018-07-04T18:29:43.000Z
apps/robot/apps.py
Raoul1996/robot_view_be
b50c261b4a62779b7536670463cf39599c91bc4d
[ "MIT" ]
8
2018-07-22T03:41:24.000Z
2022-03-11T23:21:22.000Z
apps/robot/apps.py
Raoul1996/robot_view_be
b50c261b4a62779b7536670463cf39599c91bc4d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class RobotConfig(AppConfig): name = 'robot'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6326d3d6e10781e74ec7aab244e311e9514cabb4
27,878
py
Python
solarviewer/ui/resources_rc.py
RobertJaro/solar-viewer
c372d037d1b18d6cf76017ac0fb48a59b2a050b7
[ "BSD-3-Clause" ]
6
2018-01-23T09:18:23.000Z
2019-09-04T20:48:01.000Z
solarviewer/ui/resources_rc.py
RobertJaro/solar-viewer
c372d037d1b18d6cf76017ac0fb48a59b2a050b7
[ "BSD-3-Clause" ]
6
2018-01-28T13:17:27.000Z
2018-07-18T16:33:43.000Z
solarviewer/ui/resources_rc.py
RobertJaro/solar-viewer
c372d037d1b18d6cf76017ac0fb48a59b2a050b7
[ "BSD-3-Clause" ]
1
2018-07-18T16:15:09.000Z
2018-07-18T16:15:09.000Z
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.6.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x00\xfb\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\ \x01\x00\x9a\x9c\x18\x00\x00\x00\x9d\x49\x44\x41\x54\x48\x89\xed\ \xd3\xc1\x09\xc2\x40\x10\x85\xe1\x2f\xda\x87\x58\x82\x1d\x98\x4a\ \x74\xb5\x92\x94\x22\xd8\x88\x96\x60\x03\x81\x34\xa2\x1e\x12\xc9\ \x26\x87\x90\x48\x82\x04\xf3\x60\x60\x0e\xb3\xfc\x6f\x87\x79\x4c\ \xac\xf5\x80\xd9\x15\x4e\xd8\xe1\x31\x85\x99\x33\x5e\x55\x85\x21\ \xae\xfa\x6a\x13\xf5\xdb\x29\x00\x5f\x69\x01\xfc\x01\x20\x89\x40\ \x41\xf3\x14\xdb\x4a\xb1\xaf\xfa\x3b\x6e\x1d\xb3\x05\x2e\xca\xcc\ \xa0\x19\xa2\xb1\x2a\x7c\x9c\x8b\x49\x23\xea\x49\xbd\xa2\x04\x47\ \xdd\x09\x4d\xf5\x5f\x51\x8e\xab\x81\xc6\x33\xf5\xf7\xb3\xbe\x8f\ \xe6\x7f\xa6\x0b\x60\x5e\x80\x22\xea\xf3\xb1\x8d\x50\x86\x31\xe0\ \xa0\x0e\xe8\xef\xf5\x06\xcc\xd3\x2a\xae\x2a\x59\x4d\x55\x00\x00\ \x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x02\x5a\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x04\x00\x00\x00\x4a\x7e\xf5\x73\ \x00\x00\x00\x04\x67\x41\x4d\x41\x00\x00\xb1\x8f\x0b\xfc\x61\x05\ \x00\x00\x00\x20\x63\x48\x52\x4d\x00\x00\x7a\x26\x00\x00\x80\x84\ \x00\x00\xfa\x00\x00\x00\x80\xe8\x00\x00\x75\x30\x00\x00\xea\x60\ \x00\x00\x3a\x98\x00\x00\x17\x70\x9c\xba\x51\x3c\x00\x00\x00\x02\ \x62\x4b\x47\x44\x00\x00\xaa\x8d\x23\x32\x00\x00\x00\x09\x70\x48\ \x59\x73\x00\x00\x0d\xd7\x00\x00\x0d\xd7\x01\x42\x28\x9b\x78\x00\ \x00\x00\x07\x74\x49\x4d\x45\x07\xe2\x04\x0f\x0b\x11\x2a\xbe\x8c\ \xa3\x98\x00\x00\x01\x28\x49\x44\x41\x54\x38\xcb\xbd\xd1\x21\x4b\ \x83\x51\x14\xc6\xf1\x9f\x9b\x41\x31\xad\x0d\x27\x26\xd9\xb2\x22\ \xa8\x41\x30\xac\xac\x1b\x44\xd0\x0f\x30\x6c\x6b\x26\x8b\x5d\x87\ \xcb\x56\x93\x5d\xcc\x62\x18\x82\x75\x60\xb2\xb8\x64\x9b\x1b\xc8\ \x3c\x06\xdf\x0d\xc7\xde\x31\x14\xf4\x5c\xb8\xe1\x3e\xff\xe7\xde\ \xf3\x9c\xcb\x5f\xd7\x4c\xea\xe9\xbc\x3d\x5c\xe9\x22\xe7\x48\x16\ \x37\xee\x27\x5d\xb2\xe4\x41\x08\x0f\x0a\xd8\x11\x42\x38\xfb\x12\ \x33\x63\xf8\x86\xa6\x35\xb0\xa6\x69\x7d\x5a\x8b\xfb\xba\xc2\xbb\ \xaa\xaa\x77\xe1\xcd\xc5\xe8\x0b\xa3\x79\x4e\x85\xf0\xaa\xac\xa2\ \xa2\xec\x35\x81\x53\x0d\x0b\xae\x85\xd0\x52\x54\xd3\xd7\x57\x53\ \xd4\x9a\x64\x58\xf6\x28\x84\x5b\x79\x97\x43\xe8\x52\xde\x6d\x9a\ \x61\x4b\x5b\x08\x0d\x05\x77\xdf\xda\x08\x77\x0a\x1a\x42\x68\xdb\ \x1c\xe0\x87\x7a\x49\xd0\x55\xcf\x23\x78\x08\xcf\x56\x93\x01\xf4\ \x1c\xe0\x5b\xd0\x5d\x9d\x31\x3c\x84\x8e\xdd\xe1\x00\x4e\x69\x0a\ \x2d\x25\x27\x3e\x52\xf1\x10\x3e\x9c\x28\x69\x09\x4d\x16\xd5\xe5\ \x1c\x4f\x84\x07\xeb\x58\x4e\xdd\xe2\x20\xc7\xd9\x54\x43\x32\xa5\ \xd9\xd4\xff\x7e\xd2\x47\xd6\xca\xb8\x94\x6e\xd8\xd6\x46\xde\xcb\ \xb8\x94\xf1\xc3\xfa\x3f\x43\x77\x2a\xd9\x1d\x0d\xdd\x30\x63\x6e\ \x28\x76\x92\xfd\x7c\x78\xd2\xd3\xf8\x69\x2f\xbf\xad\x4f\xb6\x2c\ \xb5\x16\x03\xf2\x1b\xd7\x00\x00\x00\x25\x74\x45\x58\x74\x64\x61\ \x74\x65\x3a\x63\x72\x65\x61\x74\x65\x00\x32\x30\x31\x38\x2d\x30\ \x34\x2d\x31\x35\x54\x31\x31\x3a\x31\x37\x3a\x34\x32\x2b\x30\x32\ \x3a\x30\x30\x0d\xba\x49\x6a\x00\x00\x00\x25\x74\x45\x58\x74\x64\ \x61\x74\x65\x3a\x6d\x6f\x64\x69\x66\x79\x00\x32\x30\x31\x38\x2d\ \x30\x34\x2d\x31\x35\x54\x31\x31\x3a\x31\x37\x3a\x34\x32\x2b\x30\ \x32\x3a\x30\x30\x7c\xe7\xf1\xd6\x00\x00\x00\x19\x74\x45\x58\x74\ \x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\x69\x6e\x6b\ \x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\x00\x00\x00\ \x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x02\x04\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\ \x01\x00\x9a\x9c\x18\x00\x00\x01\xa6\x49\x44\x41\x54\x48\x89\xad\ \x94\xb1\x4a\x03\x41\x10\x86\xbf\x48\xae\xb0\x11\x31\x82\xe4\x09\ \x42\x0a\x6d\x62\xc0\x17\x30\x76\x69\x84\x34\xbe\x53\x10\x44\xd2\ \x8a\x4d\x1a\x2b\x3b\x11\x0c\xda\xc7\x42\x0c\x26\xa4\xc8\x3b\x44\ \x3c\xa2\x5c\x12\x8b\xbd\xbd\xcc\xad\xbb\x9b\xbb\xe0\x0f\xc3\x1d\ \xfb\xef\xcc\x3f\x33\x3b\xbb\xe0\x46\x0d\x68\x03\x7d\x60\x0a\x2c\ \x80\x4f\xe0\x15\xb8\x04\xea\x1e\x5f\x2f\x2a\xc0\x03\xb0\xcc\x60\ \x8f\x40\x35\x4f\xf0\x73\xe0\x2b\x63\x70\x6d\x21\xd0\xca\x1a\x7c\ \x2e\x1c\x17\x40\x17\x68\x02\x65\x20\x00\x4a\xc0\x19\x70\x0b\x44\ \xc6\x5e\xaf\x48\xc5\xc8\x7c\x82\x3a\x03\x1f\x8e\x80\xa1\x51\x89\ \xb3\x5d\xb2\xe7\x13\xe0\x60\x4d\x70\x8d\x7d\x60\x24\x7c\x9f\x6c\ \x9b\x6a\xa4\x4b\xb5\x65\x2e\x7b\x5e\xb4\x54\x22\xdb\x75\x62\x3a\ \xb7\x05\xd9\x75\x64\xea\x13\x00\x75\x26\x9a\xbf\x32\xc9\xbe\x20\ \x9b\x1b\x0a\x34\x04\xff\x66\x92\x53\x41\x96\x1d\x41\x5d\xa6\xc5\ \xf6\xc4\xda\xcc\x14\x58\x08\x32\xd8\x50\xa0\x60\xac\x27\x71\xb6\ \x50\xe3\xa9\xb1\x63\x29\x3f\x0b\x76\xc5\xff\x0f\xea\xd0\x13\x81\ \xb1\x20\x8f\xc5\x7f\x20\x4c\x62\x5b\xac\xcf\x2d\x7e\x63\x54\x15\ \x89\xc0\x8b\x20\x2f\xc4\x7f\x24\x0c\xc7\xfa\xd2\xe2\xf7\x6c\xec\ \xa7\xce\xaa\x77\x11\x6a\xae\x4d\xf8\xa6\xe8\x90\x35\xf7\x00\xd4\ \xab\xa8\x37\x0c\x51\x37\x54\xa2\x28\xac\x20\xd6\x4b\xc0\x87\xf0\ \xed\xd9\x82\x83\x7a\x43\x42\xb1\x71\xe4\xa8\xc4\xcc\x5c\x06\x5f\ \x02\xf7\xfc\x3d\xb3\x04\x2d\xd2\x23\x1b\xa1\x6e\x68\x03\x35\xe7\ \x85\xf8\x7b\x0a\xdc\x90\x6e\x8b\xb4\xbb\x75\x22\xa1\xc3\x31\x8f\ \x79\x45\xaa\xa8\x57\x31\x4b\xa0\x5e\xdc\x96\xdc\x22\xa0\xa6\xe1\ \x0a\xf5\xb6\xcc\x62\xa7\x6f\xe0\x1d\xb8\x66\x35\x2d\x41\x1c\xcc\ \x26\xd2\xf1\x09\x98\x08\x48\x4f\x90\xc9\xd9\x44\xc2\x3c\x02\x59\ \x12\x30\x45\x06\xff\x29\xa0\x45\x3a\xa8\xcc\x07\x40\xed\x17\xaf\ \x3f\xe6\x60\x62\x37\x17\x22\x00\x00\x00\x00\x49\x45\x4e\x44\xae\ \x42\x60\x82\ \x00\x00\x02\x5e\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0d\xd7\x00\x00\x0d\xd7\ \x01\x42\x28\x9b\x78\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\ \x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\ \x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\x00\x00\x01\xdb\x49\x44\ \x41\x54\x48\x89\xbd\x96\x31\x6e\xdb\x30\x14\x86\x7f\xe9\x11\x90\ \x06\x0d\xda\xd2\x4b\x64\x12\xe0\x21\x90\x60\x78\x61\x91\x2b\x54\ \x28\x7c\x83\x0a\x85\xe7\x4c\x99\x83\xc2\x47\x28\x02\x9f\xc1\x30\ \x97\xc2\x70\xe0\x41\x80\xa6\x5e\xa2\xde\x34\x64\xb0\x00\x4a\xea\ \x62\x0a\x34\x2d\x2b\x54\x90\xf6\x9f\x04\x91\xfc\x3f\xf2\xbd\xc7\ \x27\x39\x6d\xdb\xc2\x56\x49\x9a\xdd\x02\xc0\x6e\xb5\xfc\x6d\xbb\ \xc6\x1d\x61\x1e\x13\xd1\x9e\x88\xf6\x49\x9a\xc5\x1f\x0a\x38\x99\ \xaf\xa3\x28\x0a\xa2\x28\x0a\x88\x68\x6d\x0b\x79\x13\xa0\x9b\x87\ \x61\x88\x30\x0c\x31\x06\x32\x08\x30\xcd\x95\xc6\x40\xd8\xe0\x20\ \x63\x0f\x52\xca\x20\xcf\x73\x78\x9e\x77\x9c\x4e\xa7\x3e\x00\x6c\ \xb7\xdb\x63\x55\x55\x3e\x80\x80\x31\xf6\x00\xe0\xf3\xbb\x00\xbf\ \x7e\x3e\x75\x0b\x93\x34\xeb\xca\xad\xaa\x2a\x7f\xb7\x5a\x3a\x43\ \x6b\x95\x2e\x42\x94\xa4\x59\x3c\x9b\x2f\x36\x36\x8b\x75\xcd\xe6\ \x8b\x4d\x5f\xb8\xce\x00\x2a\xe6\x52\x4a\x7e\x31\xd1\x75\x0f\x42\ \x08\x08\x21\xe0\xba\xee\xc1\x1c\x97\x52\xf2\xbe\x9c\x38\xea\xa2\ \xe9\x09\xcd\xf3\x1c\xb6\x21\xd0\x36\xd7\x4e\x26\x13\x14\x45\xf1\ \x5a\xd7\xf5\xfd\x6e\xb5\x7c\xe9\x00\x66\xb5\x68\x49\x84\xeb\xba\ \x87\xed\xf3\x8f\x4f\x7d\xa6\xd3\xaf\xdf\xff\x34\x4d\x73\x03\xa0\ \x2b\x82\xb2\x2c\xcf\x20\x4e\xfc\xe5\xdb\x2d\x11\xed\xcd\x52\x54\ \x12\x42\x5c\x3d\x4d\x92\x66\x2d\xe7\x17\xd1\x84\x06\xb9\xb3\x6e\ \x15\xef\xd5\xbf\x0f\xd1\x7f\x49\xb2\x36\x29\x26\xa2\x75\x5d\xd7\ \x81\x09\xd0\x77\xdb\x77\xaa\x24\xcd\x5a\x22\x3a\x33\x07\x8c\x7b\ \xb0\x5b\x2d\x5f\xea\xba\xbe\x67\x8c\x09\x73\x87\x4d\xd3\xdc\x70\ \xce\xc1\x39\x87\x02\xe9\x62\x8c\x09\xd3\x1c\xe8\x69\x15\xa7\x09\ \x57\x7b\xcb\x35\xe9\x6d\x65\x10\xa0\x6b\x36\x5f\x6c\xd4\xad\xf6\ \x3c\xef\x08\xc0\x57\xcf\xaa\x37\x31\xc6\xc4\x35\xf3\x37\x01\x52\ \xca\x47\x22\xba\x3b\x55\x97\xaf\xde\xeb\xd5\x22\xa5\x7c\x1c\xf2\ \x18\xbc\x07\x2a\x27\x45\x51\xbc\x96\x65\xd9\xbd\x37\x4b\x71\xc8\ \xc3\xb1\xf9\xe8\xeb\x25\x0c\xc0\xda\xdc\x1a\xa0\x43\x00\xc0\xd6\ \x7c\x14\xe0\x04\x19\xfd\xdb\xf2\x17\x6a\x7f\x57\xe0\xd7\xd5\x18\ \xe9\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x01\x6f\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\ \x01\x00\x9a\x9c\x18\x00\x00\x01\x11\x49\x44\x41\x54\x48\x89\xed\ \x93\x4d\x4a\xc4\x40\x10\x85\xab\x7b\xe7\xdf\x98\x7a\x2f\x21\x04\ \x72\x89\x39\x89\x08\x22\x7a\x03\x4f\xe0\x11\x5c\x8c\xe2\xe0\x30\ \xc3\x20\xcc\x0d\xdc\xb8\x12\x5c\x08\x82\x3f\xe0\x0d\x04\x8f\x62\ \x86\x76\xd3\x89\x8d\x1a\x08\x99\xb8\x9a\xbc\x55\xf3\x9a\x7a\x5f\ \xff\x54\x89\xf4\x5a\x6b\x99\x7f\x4d\x57\xd5\x0f\x00\xf3\x10\x14\ \x91\x8b\x88\x7c\x53\xd5\xdd\xa6\x39\xb6\x7e\xc7\xde\x88\x31\x27\ \x00\xa6\x95\x67\xcc\xad\x15\x19\x3a\x6b\xef\x01\x0c\x5a\x9e\xfd\ \x5b\x00\x2e\x40\x3a\x25\x27\x81\xb7\x0f\xf2\x13\xe4\x2b\xc9\x9d\ \x95\x21\x4a\x8e\x3d\x64\x1c\x40\x0e\x3c\xe4\x29\x4d\xd3\xad\x2e\ \x20\x13\x90\x0e\xc0\x79\xe5\xa9\x1e\x82\x2c\x00\x3c\x66\x59\xb6\ \xb9\x32\x04\xc0\xcc\xdf\xe4\xb4\x82\xc4\xf1\x31\xc8\x02\xe4\x5d\ \x5d\x5d\xfd\x27\xff\x56\xd9\x4d\xcb\xd2\x70\xce\x19\xbf\x58\xfe\ \x55\xd0\x58\xaa\x3a\xf5\xa7\x3f\xab\xbc\x38\x3e\x02\x59\xa8\xea\ \x43\x9e\xe7\x1b\xed\xc3\xc9\x2b\xff\xfe\xa3\x00\xd8\xcd\xfb\x97\ \x1d\x14\x91\x97\xa5\xd7\x59\x07\x01\x18\xfd\x9c\x01\x92\x7b\x3e\ \xfc\x25\x49\x92\xed\xd6\xe1\x22\x22\x91\xea\x7b\x18\xee\xa1\xd7\ \x20\x9f\x3b\x99\xe2\x5e\xbd\x1a\xeb\x0b\x36\x82\x41\x6d\x21\xec\ \xc8\xa9\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x0c\x18\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x32\x00\x00\x00\x32\x08\x06\x00\x00\x00\x1e\x3f\x88\xb1\ \x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ \xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\ \x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ \xe1\x0c\x16\x0a\x15\x0e\x7c\xd4\xc9\x00\x00\x00\x0b\xa5\x49\x44\ \x41\x54\x68\xde\xed\x9a\x79\xb0\x5c\xc5\x75\xc6\x7f\xdf\xbd\xf3\ \xb6\x7b\x1f\x42\x0b\x02\x21\x04\x22\x80\x04\x86\x68\x26\x16\x9b\ \xd9\x11\xe0\xb2\x01\x1b\x43\x41\x15\xc6\xb1\x1d\x13\x1c\x0c\x36\ \x76\x81\x89\x13\x94\x02\x1c\x07\x2f\x09\x9b\x6d\xf8\xc3\x49\x9c\ \x08\xca\x14\x09\x55\x84\xb0\x24\x60\x12\x0b\xc7\x01\x2b\x12\x04\ \xb0\xee\xd8\x42\x02\x21\x64\x59\x18\xed\xbb\x66\xde\x36\xb7\xbf\ \xfc\xf1\xee\x3c\x8f\x5e\x9e\x9e\x16\x88\xa2\x54\xa5\xff\x99\xb9\ \x77\xba\xfb\xf4\x77\xba\xcf\x39\x5f\x9f\x33\xf0\xff\x6d\xcf\x5a\ \x9e\x25\xff\xed\x39\x54\xd3\xf7\x6c\xfe\x68\x5f\x83\x08\xd5\x94\ \x3c\x4b\xe2\xb8\x52\x7f\x4f\x65\xec\x35\x90\x56\x6d\x0e\xd7\xf6\ \x48\x2d\xae\xd4\x09\xd5\xb4\x0d\xb8\x10\xb8\x32\x54\xd3\x03\xa2\ \x72\x6d\xff\x3a\x26\xbb\x03\x26\x54\x53\x42\x35\x3d\x31\xcf\x12\ \xe7\x59\xd2\x93\x67\xc9\x27\xdf\xcb\x35\x95\xf6\x66\x50\x5c\xa9\ \x93\x67\x09\x92\x8e\xb4\x7d\x16\xf0\x48\x5c\xa9\x0f\x84\x6a\xca\ \x28\x5a\x6e\x07\x2e\x69\xe2\x92\x74\xd0\x7e\x71\xb4\x80\x36\xdb\ \x97\x00\x0f\x02\x57\x02\xa3\x81\xc0\xd0\x81\xf9\xa0\x24\x24\xf5\ \xda\xde\xbc\xdf\x00\x91\x34\x55\x52\x24\xe9\xa6\x3c\x4b\x66\x0c\ \xb7\x9d\xd6\x26\x53\xb2\x3c\x13\xc0\x76\x4d\xd2\xc6\xfd\x02\x88\ \xa4\x60\x7b\x4b\xf1\x38\x53\xd2\xa7\x43\x35\x8d\x46\xda\x95\x90\ \xa5\x80\x0f\x04\x75\x14\xaf\xb6\xd9\x5e\xbb\x5f\x00\xb1\xdd\x0b\ \xbc\x58\x7c\xc7\xf6\xc5\xc0\x29\x23\x19\xbe\x65\x2c\xc6\xca\x43\ \x4a\xd8\x24\x69\xc5\x7e\x01\xa4\x88\x03\x4b\x6c\xbf\x5a\xbc\x7a\ \x9f\xed\xd3\x5a\x7e\xdb\xc1\x40\x84\x62\xe3\xe6\x9b\xb7\xa3\x72\ \x6d\xd5\x9e\x7a\xc6\xd1\x02\xe8\x5e\x01\x69\x0a\x91\xb4\x42\xd2\ \xdd\x85\x01\x03\x9c\x12\xaa\xe9\x21\x3b\x19\xb6\x9a\xc1\x3e\x9b\ \xb1\x9f\xde\xd5\xfc\x4d\x65\x84\x6a\x7a\x42\x9e\x25\xb7\xe7\x59\ \x32\x23\x2a\xd7\x76\xea\xe6\xa3\xdd\xd5\xc6\xe0\xa4\x49\x6b\x70\ \x23\x2a\xd7\xb0\xfd\x94\xed\x6f\x15\xc0\x66\x00\x87\x0e\xd7\x60\ \x5c\xa9\x63\x7b\xad\xec\x2b\x6d\x7f\x39\xaa\xd4\x1f\x1a\x49\xc3\ \xcd\x67\x49\x84\x6a\x5a\xca\xb3\xe4\x46\xe0\x67\xc0\xd7\x24\x7d\ \x35\x54\xd3\x3d\x67\x04\x79\x96\x94\x42\x35\x4d\x42\x35\xed\x0a\ \xd5\x24\x1e\x49\x60\x13\x70\x5e\x4d\x93\x50\x4d\xee\x0e\x59\xf2\ \x62\xc8\x92\xf2\x0e\xf3\xfc\x22\x55\x5e\x4d\xdb\xc2\x2b\x49\x47\ \x7e\x03\xa5\x00\x51\xb8\x03\x0d\xcd\xe5\x23\xc8\xff\x74\xc7\x39\ \x43\x35\x3d\x3a\xcf\x92\xf9\xa1\x9a\x3a\x54\x53\xe7\x59\xb2\x3d\ \x54\xd3\xdb\x46\x75\x3e\xa3\x44\xe2\xcb\x81\xfb\x6d\xaf\x91\x98\ \x63\xf4\x14\xb0\x36\x2e\xd7\x7a\x9a\x60\xa2\x72\x8d\x9d\x05\xc1\ \xf0\x87\xb4\x3b\x67\x8c\x3e\x93\x9e\x84\x38\xdf\x03\x3e\x86\x05\ \x7d\xb1\x7e\x9d\xbf\xc9\x71\x6d\xcf\x71\x6a\xfb\x02\xff\xb0\xbe\ \x25\xbe\xd1\x8d\x61\x72\x3f\x08\x3c\x61\x3b\x29\x8e\xeb\x06\xdb\ \xdf\x8d\x2b\xf5\x3b\x5a\xe5\xee\x36\x90\x3c\x4b\xba\x25\xdd\x07\ \x5c\x6d\x40\xf6\x76\xe0\x3e\xa4\x07\x81\x37\xa3\x72\xcd\xcd\xb3\ \xec\x6a\x42\x58\x1b\x88\x2f\xe8\x1d\x5c\xcc\xc2\x74\xb2\x1f\xaf\ \x7d\x5c\x7d\x7c\x89\xcb\x92\xa9\xee\x12\x6a\x18\xff\xac\x1f\xad\ \xca\xf1\xb9\x9d\x10\xbc\x98\x9f\xf6\xdd\xc5\x5a\x3f\x13\x7f\x87\ \x35\x85\xcc\xc9\xc0\x0a\x49\x25\xdb\x0d\x49\x4b\x6d\xdf\x1d\x57\ \xea\x73\x46\x03\x31\xaa\x8d\xc4\x95\xfa\x76\xe0\x56\xe0\x61\xc1\ \x80\xa1\x1b\xe9\x4f\x80\xe7\x80\xab\x42\x35\xed\x8a\x2b\x75\xf2\ \x7f\xea\xc0\x7f\x53\x27\xbe\xa0\x97\xe0\x71\x6d\x61\x51\x7a\xbe\ \x07\xfc\x04\x47\x96\xee\xa1\x8d\xa9\x5e\xd6\x40\x80\x23\xd0\x81\ \x11\x3e\x38\x46\x07\xc7\x68\x9b\xdf\xa7\x1e\xcf\xe1\xe8\xf8\xc1\ \xb0\xa0\xeb\xdc\xc2\x36\x4a\x88\xb9\xc0\x7f\x48\xfa\x2b\xdb\x97\ \xc6\x95\xfa\x9c\x26\xe5\x1f\x8d\x39\x68\x57\x9e\x23\x54\x93\x31\ \x36\x5f\x91\xf4\x29\x60\xaa\xed\xa6\x87\xba\x2d\x2a\xd7\xbe\x3e\ \xd4\xff\x4a\x26\xe8\xcc\xf8\x1a\x9f\xdc\xfe\xc7\xa4\xd1\x78\x45\ \xc0\x1b\x03\xb0\x36\xc0\x07\x3a\x30\x86\xcd\x86\x60\x74\x48\x8c\ \x97\x36\x60\x51\x3f\x9c\xdc\x01\x93\xe2\xd5\x6a\x67\x76\x74\x6c\ \xed\xc1\x7c\xed\x18\x58\xd5\xe8\x2e\x14\xb9\x83\x07\xdb\x2b\x1b\ \x19\xbe\x95\xa1\x9a\x7e\x18\xf8\x04\x70\x1e\x70\x18\xf0\x56\x54\ \xae\x1d\x0d\x90\x3f\xd6\x36\x59\x4b\x1a\xdf\x60\x8b\x3f\xcd\xa9\ \xed\x11\xc7\xb4\x61\x81\x4a\xbc\xe3\xe5\x8d\x85\x4c\x2a\x2d\xa5\ \xe4\x75\x34\xe8\x57\x1b\xdd\x8e\x75\x04\x6f\x36\x4e\x54\xee\x19\ \x4c\x6b\x03\x03\xef\x34\xb6\xb3\x78\xe0\x8a\x70\x53\xf8\x97\x52\ \x8b\x43\xd9\x5d\xaa\xaf\xdd\x89\x19\x2d\x3e\xfd\x00\xe0\x74\xdb\ \x53\x25\xbd\x13\x95\x6b\xff\x9c\xbf\xd1\x7d\x00\x5b\xc2\x37\xb5\ \x21\xbf\xc1\x6f\x35\xa0\xd7\x70\x62\xc7\x1a\xc6\x47\x0f\x29\xf8\ \x29\xa6\x96\x16\x45\x63\xb7\xee\xc0\xab\xf2\xb7\xba\xbb\xf4\xfa\ \xc0\x09\x4c\x88\xcf\xa7\xcf\xd7\xb2\xbc\x71\x14\xcb\x07\xf0\x56\ \x5e\xd2\x1b\x9c\xe5\x7b\xd3\xfe\x78\xda\x9e\xdd\x55\xb4\x27\x41\ \x70\xf8\x16\x07\x8f\x8b\x59\xdc\xff\x7b\x34\xf8\x6b\x47\xc4\xf4\ \x18\xad\x6c\xcc\x77\x57\xf4\xf5\xf8\xc2\xde\x67\xf2\x6a\x72\x95\ \xac\x8f\x22\xba\x31\xeb\x11\xf3\x6c\x3f\x19\x57\xea\xeb\x87\xe6\ \x7d\xae\xf3\xf3\xf4\xf9\x6b\xe4\x1c\x44\x6e\x34\x21\x9a\x1e\x9d\ \xd5\xbb\x74\x8f\xb9\xdf\xbb\xe1\x37\xe1\xa9\x8e\xe3\x3c\x2e\x9a\ \xab\x09\xd1\x61\x34\x00\xf1\x9f\xc4\x7c\x29\x3a\xbe\xb6\x20\x64\ \xc9\xed\xa0\x2f\x18\x1f\x5c\xd8\x14\xb6\x37\x49\x7a\xc5\xf6\xec\ \xb8\x52\x7f\x19\x20\x5f\x9c\x4e\x21\xf0\xa4\x60\x26\x01\x0c\x97\ \xc5\x33\x6a\x4f\x8c\x76\xcc\x47\x52\x70\x69\x78\x34\xdf\x95\x61\ \x35\x07\xe6\x5f\x24\xe1\x85\xbe\xeb\x38\x50\x87\xf9\x84\x76\x38\ \xaa\xb4\x1e\x71\x77\x7c\x7c\x6d\x41\x5e\x4d\xcf\xc3\xfe\x1c\xe2\ \x60\x31\x04\x02\x49\xe3\x6c\x5f\x00\xf4\xe5\x59\x72\x75\x5c\xa9\ \xaf\x63\x53\xbe\x8e\x3e\xd5\x88\x07\x3d\x1b\xa6\x7b\x44\xf7\xfa\ \x1b\x5b\x1d\x0b\x4c\x02\x56\x47\xe5\xda\xe6\x26\xcb\x28\x8d\x60\ \x07\xdd\xc0\x39\xb6\xa7\x01\x07\x4a\xaa\xdb\x7e\x07\x98\x1f\x57\ \xea\x6f\x0d\x01\x3d\xbf\x7d\x3c\x03\x5c\x4f\x03\x14\x8c\x57\x35\ \x9e\xd6\xac\xae\x27\x8a\x6d\xbe\xc5\x30\x59\x43\x44\xd9\x6a\x7e\ \x19\xf4\xb2\x9a\x0a\x4c\x01\xd6\x71\x48\xe9\x48\x7e\xd5\x38\x90\ \x97\xfb\xd1\xc6\x00\xed\x5a\xd7\xca\x2e\x24\x7d\x04\x38\x1f\x38\ \xd1\xf6\x91\x40\x67\x11\x36\xda\xf3\x2c\x39\x2d\xae\xd4\xb3\xa8\ \x5c\x1b\x04\x52\xa0\x12\x70\xb1\xed\xbf\x03\x52\xc0\xcd\x23\x31\ \xc8\x5f\x89\xf3\x2c\x79\x0e\xf8\x88\xa4\x01\xc3\x87\x6d\xb7\x17\ \xbf\x6f\x15\x3c\x1f\x75\x6c\xee\x0f\xd5\x74\x16\x30\xbd\xe5\x38\ \x49\xd2\xfd\xc0\x1f\xd8\xee\x2c\xde\x07\xe0\xf4\x3c\x4b\xea\xd4\ \x7c\x39\x13\xa2\xe9\x9e\xd5\x05\x59\x3f\x6c\x0e\x2f\xe7\x4b\x3a\ \xa1\xcf\xb7\x48\xba\x15\xe8\x2c\xe6\x90\x8a\xc1\x83\xfa\x18\xba\ \x3e\xef\x78\x67\x2f\x84\xbc\x5f\xd2\x01\x85\xa0\xa8\x25\x66\x50\ \x00\xbb\xc0\xf6\x24\xaf\xcd\x57\xd1\xa1\x8b\x48\x05\x11\x58\xac\ \x41\x5a\xde\x32\x17\x42\x83\xb1\x43\x02\x7b\x81\x61\x81\xa4\x87\ \x0d\x4b\x05\xd7\x83\x5f\x15\x5c\x6b\xfb\x7a\x49\x9d\x8e\x8d\x4e\ \x6c\x7f\x94\x88\x6d\xee\x33\x92\x6e\x02\x92\x42\xae\x81\x50\xec\ \xec\x26\x60\xbe\xa4\x39\xb6\xb3\x41\xae\x97\x0c\x02\x29\x0c\xa9\ \x27\x54\xd3\xbf\x00\x16\x01\x97\xd9\x9e\xde\x4c\x10\x48\x5a\x6b\ \x7b\x11\xf0\xb7\x71\xa5\xbe\x22\xbf\x95\x2e\x05\xca\x18\x7c\x48\ \x8c\x8e\x2d\x05\xff\x56\x5b\x28\x40\xfc\x04\x78\xd3\x62\xaa\x10\ \xe4\x86\x0d\xe1\x66\x8e\x28\x9d\xe1\x5e\x1f\xa9\xe0\x3e\xb6\x78\ \xbd\xc7\xeb\x13\xac\x09\xb3\xd5\xae\x49\x1e\x0b\x12\xbd\x36\x77\ \xd0\x70\x7f\x31\xcf\x49\x92\x6e\x04\x0e\xb7\xbd\x02\x58\x2c\xe9\ \xc5\xa8\x5c\x5b\x34\x92\x13\xd0\xae\xbc\xc2\x48\xde\xc3\x3f\xec\ \xe9\x54\x1b\xf3\x3c\xa5\x34\x53\x47\x97\x70\xa7\xd6\x93\xf3\xc5\ \xb8\x5c\x7b\xa4\xe8\x73\x0e\xc1\x0f\xd1\xe3\xc3\xfd\xda\x80\xd5\ \x63\x31\xab\x73\x1e\x39\xf7\xb3\x35\x74\xb8\xcf\x1f\xe7\xd0\xf8\ \x42\xfd\xb2\x01\x4b\x06\xe0\xf8\xb6\xba\x0f\x8d\xaf\x55\x67\xf4\ \xf7\xd1\xb1\xdb\xc3\xde\x84\x82\xbd\x72\xbf\xf9\x2f\xd2\x0e\xc4\ \x23\x12\x97\x3a\x80\x06\x8c\x7b\xfc\xed\xf8\xf4\x9e\x2f\x0f\xf5\ \xf9\x71\xe7\xcd\x7a\xa1\xef\x76\xea\x1e\xe3\x8b\xba\xd0\xb8\x08\ \x04\xde\x90\xa3\xd7\x1b\x70\x72\x3b\x36\xbd\x9a\xdf\xb7\xd4\x8b\ \xf2\xaf\xc6\xdf\xe3\xf1\x3d\x51\xe8\x7b\x72\x43\x54\xa0\xa1\x9c\ \xe7\xe9\x37\xda\x10\xec\x65\x0d\x58\x1b\x3e\x16\x16\x26\x17\x0d\ \x5d\x85\xcf\xeb\xbd\x87\xed\xbe\xd3\x93\xa2\x45\x1c\x14\xf5\x0e\ \x19\xa8\xe9\xf1\xea\x7c\x39\x2b\xf3\xb9\x74\xeb\xcf\x7c\x71\xd7\ \x05\x4d\x10\xf9\x9d\x62\x6f\xb3\x8f\x7b\x1d\x10\xc3\xdc\xce\xe9\ \xde\x90\xbf\xc6\xb2\x46\xac\x92\xcc\xe9\x1d\xf2\xd8\xe8\x15\xe5\ \xbe\xc3\xe5\xce\xa7\x62\x6d\x34\x40\xfe\xa3\xce\x93\x74\x48\x7c\ \x36\x30\x19\x18\xf0\xa6\xfc\x57\x7a\xac\xf7\x75\x4e\x6b\x5b\xef\ \x4a\x7b\x44\xa0\x9f\xb1\xd1\xe2\x78\xca\x36\xef\x8c\x5f\xed\xce\ \x2e\x69\x6f\xe9\x49\xfe\xfb\x74\x31\x8e\x3b\xd5\xc5\x0d\x9c\xd4\ \x6e\x4f\x6b\x83\x06\x92\x58\x69\xf1\x18\x1b\xc2\x8f\x18\xa3\x2c\ \x9e\x59\xff\xf5\xd0\x18\x8f\xef\xd4\xa2\xbe\x19\x94\x38\x87\x01\ \x66\x39\xf8\x18\x60\x1b\xf0\x2c\x70\x6f\x5c\xa9\x6f\x2c\xe4\x8d\ \x2f\x3c\xe4\x1a\xe0\xa5\xb8\x52\xef\xd9\x15\x13\xd6\x1e\x10\xc6\ \x83\x6d\x7f\x08\x38\x02\xe9\x7b\x71\xb9\xb6\x31\xcc\x66\x9a\xa7\ \x95\x1e\xe6\xfd\xed\x27\x2b\x1e\x4c\xf6\x38\x42\x5a\x34\x80\x27\ \xc5\x2b\x18\xab\xb7\x90\x36\x08\xfa\x09\x6e\x63\x63\x18\xc7\xc4\ \x78\x6a\x01\x40\xcd\xfb\x79\xd1\xce\x8c\xca\xb5\x79\x85\xac\x6f\ \x03\xbf\x0b\x6c\xb2\xbd\x50\xd2\x03\x51\xb9\xf6\xec\x68\x60\x4a\ \xbb\x03\x22\xcf\x92\x6b\x80\xab\x81\xe9\xc0\x44\xec\x1f\x00\x1b\ \xf9\x16\x4b\xf9\x69\xdb\x0d\x94\x74\x1f\xe6\x54\x0b\x78\x6d\xc0\ \x2c\x1d\x90\xa6\xc4\x53\x2d\x4d\x15\x06\x84\x07\x40\x4b\x06\xe0\ \xd0\x18\xfa\xa1\x88\x0d\xcd\x00\xf7\x1a\x0c\xde\x12\x8b\xd6\x0f\ \x4c\xb4\x3d\xb1\x90\x79\x5a\xa8\xa6\x0f\xd8\xbe\x2b\xae\xd4\xb7\ \x8f\x44\xa7\xa2\x51\xf9\x54\x96\x74\xe6\x59\xf2\x5d\x49\x77\xd9\ \x3e\x03\x98\x08\xdc\x23\xe9\xed\xe6\xe0\xf8\xcc\x9e\x97\x14\xf1\ \x29\x07\x7f\x9f\x6a\x3f\xca\xfa\x45\xb7\xa0\x4d\x05\x2f\x11\xd8\ \x68\x7b\xc0\xab\x72\x7b\x6d\x30\xb1\xc0\xa8\x70\x00\x4f\x4b\xfa\ \x24\xb0\xac\x65\x09\x7f\x0e\x7c\x0e\xd8\x28\x09\xdb\x87\x03\xb7\ \x48\xfa\x87\x50\x4d\x7f\x27\xae\xd4\x87\x12\xe9\xbb\x73\x43\x8c\ \x24\xdd\x0b\xdc\x60\x3b\x2e\x8e\xc0\xcd\xb6\xff\x32\xae\xd4\xeb\ \xa1\x9a\x62\xfb\x37\xbb\x36\x30\xb6\x83\x7b\xb6\x9c\xc4\x5a\xff\ \x11\x27\xb7\x5d\xa2\x63\xdb\xa0\xd4\x42\x18\x57\xe6\xf8\xdf\xfb\ \x60\x5a\x09\xce\xec\xe8\x55\xc3\x8f\x83\x1e\x04\xe6\x47\xe5\xda\ \xb6\xa1\x18\x55\xcc\x19\xaa\x69\xc9\xf6\x54\x60\xb6\xa4\x6b\x5a\ \xb8\xda\x9a\x22\x50\x3e\x1a\x95\x6b\x61\x97\x47\x4b\xd2\xa1\xb6\ \x7f\x1b\xa8\x01\xff\x58\x68\x69\x59\x5c\xa9\x37\xf2\x2c\x19\xf2\ \x22\xcd\xdd\x8b\xdb\x36\xf7\x01\xf3\xc2\x99\x5c\xee\x4b\x4b\x53\ \x88\xb9\xc8\x70\x36\xf6\x51\x82\x84\x1e\x6f\x95\x78\x9d\xd5\x8d\ \xb9\x34\x3a\xfe\x95\x34\xda\x1c\x1d\xbd\x7d\x20\xcf\x92\xae\x91\ \xbc\x52\x54\xae\x35\x80\x65\x79\x96\x7c\x1e\x98\x53\xc8\x3f\x4b\ \xd2\x24\xe0\x43\xc0\x5c\x60\xc3\x1e\x17\x72\x46\xeb\x93\x67\xc9\ \x94\x3c\x4b\xbe\x13\xaa\xe9\x75\xa1\x9a\xb6\xef\xc1\x65\xed\x8a\ \x3c\x4b\xd6\x87\x6a\xba\x3c\xcf\x92\xca\x2e\x64\xc4\x79\x96\x5c\ \x98\x67\xc9\x8f\xf3\x2c\xb9\x2a\xcf\x92\x77\x75\x97\x1a\x89\xb2\ \x4c\x08\xd5\xf4\x81\x22\x91\xf6\x68\xa8\xa6\x93\x46\xe8\xf3\xd9\ \x3c\x4b\x4e\x19\x21\x4b\xff\xf5\xbc\x9a\x34\x93\x70\xd5\x66\xba\ \x75\xb8\x22\x77\x96\xf3\x6d\xed\xf7\xae\x72\xbf\xa1\x9a\x46\xc0\ \xc7\x80\xcf\x14\x86\xfb\x76\x4b\xa9\xa1\xd9\x67\x32\xf0\x7d\x49\ \x8f\x0e\xbd\x7b\x75\x4c\x33\x4b\xff\x9a\xac\x0d\xc5\xd8\x19\xb6\ \xbf\x10\xaa\x69\xa9\xc5\x25\x8f\x9a\x80\xd8\xa5\xd7\xda\xcd\x4c\ \x3c\xb6\x8f\x02\xbe\xd2\x42\xf3\x17\x36\x83\x57\x0b\xa5\x3f\xb7\ \x58\xe8\x84\x3c\x4b\xce\x03\x88\x66\x6e\x6d\xd2\x95\x17\x8c\x7f\ \xde\x92\x04\x9f\x6d\x73\x58\x54\xae\xd1\x58\xb8\x67\xa5\xeb\xbd\ \x2e\x2b\xe4\x59\x12\x4b\x3a\xc3\xf6\x71\xc5\x42\xe7\xdb\x7e\x69\ \x84\xa3\x70\x54\xb1\xc8\x48\xd2\x71\xc3\x14\xb2\x52\xd2\xb3\x45\ \xad\x05\xa0\x24\xf9\x46\x80\x28\xf2\x3e\x2b\xbd\x75\x03\x57\x14\ \x1e\xae\x21\xe9\xc9\xb8\x52\x5f\x3c\xfc\x28\x14\xf7\xf4\xc1\xea\ \x9b\xdd\x3d\xfc\x78\xda\x9e\x03\xcc\x6b\x99\xf7\xb3\x79\x96\x4e\ \x8c\xca\xf5\x7d\x03\x44\x52\x97\xed\xb3\x8b\xc7\x67\x80\x1f\xec\ \xc4\x30\x3b\x5a\x62\x40\xcf\xb0\xba\x3b\x71\xa5\xbe\x4e\xd2\x37\ \x6c\xaf\x1c\x0c\x7e\xea\x96\x7c\xdd\xbe\x2c\xbd\x09\x88\x81\xe7\ \x6d\xdf\x16\x95\x6b\xab\x5b\xe3\x4b\x4b\xdb\xde\xbc\xa7\x4b\x5a\ \xb5\x93\x0c\xc9\xbf\x15\xc1\x76\xe3\xe0\xcd\x98\xb3\xf7\x49\x9d\ \xbd\xd8\x91\x0d\xc0\x47\x81\x55\x51\xb9\xb6\x64\x18\x01\x6c\x05\ \xfc\xcb\xa1\xc2\xae\xfd\xf3\xe1\xde\x68\x28\xa0\x56\xea\x8f\x86\ \x6a\xda\x6b\x7b\x96\xa4\xc7\xf6\xc9\x3f\x1f\x46\xaa\x34\xed\xbc\ \xca\x95\x1e\x51\x14\x6c\x7e\xb2\x9b\xc1\xf5\x80\x5d\xd5\x0b\xff\ \x57\x5a\x9e\x25\xe4\x59\xf2\x81\x50\x4d\xa7\x8c\xc6\x1a\x46\xfa\ \xf7\xd0\x7e\xd3\x9a\x5a\x1d\xfe\xf9\x7f\xb2\x0d\x3b\x36\xff\x63\ \x72\xfe\x0b\x35\x35\x7f\x18\x97\xa8\xa1\xd2\x00\x00\x00\x00\x49\ \x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x01\x65\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\ \x01\x00\x9a\x9c\x18\x00\x00\x01\x07\x49\x44\x41\x54\x48\x89\xed\ \x93\x3f\x4a\x04\x31\x18\xc5\xbf\x49\x29\xea\x24\xef\xb7\x53\xcc\ \x21\x3c\x89\x08\x22\x7a\x03\x6f\x61\x2d\x82\xa2\xcb\xb2\xb0\x22\ \x1e\xc1\xce\x52\x2b\x51\x14\xc1\xca\xc2\xbb\xb8\xba\xc4\x26\xb3\ \x4c\x33\x30\x4c\xb0\x9b\x57\x85\x07\xf9\xbd\xe4\xfb\x63\x36\x6a\ \x54\x4f\x15\xd9\x84\xb2\x2c\x43\x08\xe1\x43\xd2\xa2\x0d\x16\xdc\ \x7a\xf8\xea\xba\xe7\x7a\xc2\xbd\x73\xee\xa1\x70\x6e\x27\xc6\x78\ \xbf\x86\x4b\x37\x66\x76\x5c\x98\xdd\x0d\x7e\xb9\xa4\x6d\x0f\xef\ \x82\x6f\x0f\x7b\x2d\xff\x5a\x10\x25\x9d\x0d\x86\x03\x5b\x82\x57\ \xc1\x12\xd8\x6f\xfc\x00\xf3\x04\x3f\x1f\x0c\xaf\xaa\x6a\x53\xf0\ \x22\xf8\x91\x74\xd0\x82\x4f\x05\xd1\xc3\xd5\x60\xb8\x99\x99\x87\ \x47\xc1\xaf\xa4\xa3\xc6\x93\x74\x22\x88\x01\x66\x7d\x39\x9d\x4d\ \x76\x66\x2b\x33\xb3\x18\xe3\x7a\x04\x63\x51\xac\xd2\x31\x7f\x2c\ \xeb\xba\xde\x90\xf4\x94\x4a\x74\xd8\xf8\x92\x2e\xd2\x2f\xa6\xd9\ \x21\xa9\x0f\xcf\x5d\x7d\x10\x5c\x66\x87\xfc\xeb\x24\x35\x6a\xed\ \xc2\xd2\x4f\x26\xbb\x2d\x7f\x91\xca\x75\x9a\x1d\x12\x42\x28\x3d\ \xbc\x05\x98\xb7\xec\x22\x2d\xdc\x67\x76\xc0\xa8\x51\x9d\xfa\x03\ \x56\x1b\x42\x26\x84\xe6\xfa\x10\x00\x00\x00\x00\x49\x45\x4e\x44\ \xae\x42\x60\x82\ \x00\x00\x01\xa7\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\ \x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\ \x01\x00\x9a\x9c\x18\x00\x00\x01\x49\x49\x44\x41\x54\x48\x89\xed\ \x93\xbf\x4e\xc3\x30\x10\x87\xcf\x2d\xea\x42\x12\xe7\x7e\xbf\x54\ \x7d\x04\x10\xef\xc0\x56\x28\xff\x8b\xc4\x6b\x31\xf1\x2a\x88\x09\ \x06\x04\xa2\x02\x15\x55\x30\x30\xf0\x0e\x48\x51\x36\x52\x52\x9b\ \xa5\x41\x6d\x05\x52\x68\x3b\xf6\x9b\x6c\x9f\xef\x3b\xcb\xf6\x89\ \xac\x58\xb1\x74\x82\x20\x48\x00\xbc\x00\x38\xaf\x9a\xa3\xe4\x05\ \x80\x41\x14\x45\x98\x8d\xd5\x26\x27\x61\x18\xb2\xd1\x68\xdc\x38\ \xef\x37\x8c\x31\x57\x55\x0b\x18\xef\x2f\x45\x64\xab\x5e\xaf\x5f\ \x5b\x6b\xf5\xd7\x4d\xd6\x5a\x05\x30\x00\xf0\xa9\xaa\x9d\xaa\xf2\ \x92\x38\x49\x0e\x41\xe6\xaa\xda\x57\x55\x3b\x2b\x8f\x55\xf5\x79\ \x2c\xdf\xff\xaf\xfc\xa7\x08\x79\x0c\x32\x8f\xc9\x47\x00\x91\x88\ \x88\x00\x88\x62\xf2\x09\x64\x1e\x27\xc9\xe1\xbc\xf2\x12\x92\x5d\ \x90\x43\x90\x3d\x92\xa1\x01\x70\x27\xc6\x6c\x8b\xc8\x87\x88\xbc\ \x2f\x5a\x60\xcc\xa6\x88\xd0\x3b\x77\xbb\xe6\xbd\x1f\x19\x63\x44\ \xbc\xf7\x22\x52\x2c\x45\x6f\x4c\x39\x1a\x09\xc9\x10\x64\x0f\xe4\ \x90\x64\x77\x51\x37\x80\x33\x90\x5f\x20\xef\x5b\xad\xd6\x7a\xb9\ \x38\xf9\x0e\x47\xf3\xca\x49\x9e\x8e\xef\xff\xa1\xd9\x6c\x06\x53\ \x41\x55\xb5\xaa\xda\x07\x99\x6b\x92\x1c\xcc\x21\x3f\x01\x39\x9c\ \xfa\x41\xb3\x4c\xf6\x02\x80\x76\x55\xb9\xaa\xee\xfd\xd5\x03\x53\ \x9d\x9c\x65\x59\x5a\x14\x45\xdb\x7b\xff\x26\x22\x3b\x95\x8f\x5f\ \xab\x75\x9c\x73\xaf\xce\xb9\xdd\x34\x4d\xb3\xca\x79\x2b\x56\x54\ \xe2\x1b\x4a\xc8\x5c\x54\x8c\xd7\xe7\x40\x00\x00\x00\x00\x49\x45\ \x4e\x44\xae\x42\x60\x82\ " qt_resource_name = b"\ \x00\x05\ \x00\x70\x37\xd5\ \x00\x69\ \x00\x6d\x00\x61\x00\x67\x00\x65\ \x00\x07\ \x07\xa7\x57\x87\ \x00\x61\ \x00\x64\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x08\ \x06\x38\x5a\xa7\ \x00\x68\ \x00\x6f\x00\x6d\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x08\ \x06\x60\x47\x67\ \x00\x7a\ \x00\x6f\x00\x6f\x00\x6d\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x07\ \x06\x81\x57\xa7\ \x00\x70\ \x00\x61\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x10\ \x0f\xbb\x5c\x47\ \x00\x64\ \x00\x6f\x00\x75\x00\x62\x00\x6c\x00\x65\x00\x5f\x00\x72\x00\x69\x00\x67\x00\x68\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x08\ \x0a\x61\x5a\xa7\ \x00\x69\ \x00\x63\x00\x6f\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x0f\ \x0c\xf3\x9e\xa7\ \x00\x64\ \x00\x6f\x00\x75\x00\x62\x00\x6c\x00\x65\x00\x5f\x00\x6c\x00\x65\x00\x66\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x09\ \x04\xd8\xa6\x47\ \x00\x72\ \x00\x61\x00\x6e\x00\x67\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\ " qt_resource_struct = b"\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x08\x00\x00\x00\x02\ \x00\x00\x00\xc4\x00\x00\x00\x00\x00\x01\x00\x00\x16\xbf\ \x00\x00\x00\x24\x00\x00\x00\x00\x00\x01\x00\x00\x00\xff\ \x00\x00\x00\x3a\x00\x00\x00\x00\x00\x01\x00\x00\x03\x5d\ \x00\x00\x00\x50\x00\x00\x00\x00\x00\x01\x00\x00\x05\x65\ \x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ \x00\x00\x00\x8a\x00\x00\x00\x00\x00\x01\x00\x00\x09\x3a\ \x00\x00\x00\xa0\x00\x00\x00\x00\x00\x01\x00\x00\x15\x56\ \x00\x00\x00\x64\x00\x00\x00\x00\x00\x01\x00\x00\x07\xc7\ " def qInitResources(): QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) def qCleanupResources(): QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) qInitResources()
57.95842
121
0.725662
6,682
27,878
3.024843
0.044148
0.076588
0.054769
0.018999
0.171284
0.163566
0.161488
0.159262
0.148575
0.139224
0
0.328153
0.019047
27,878
480
122
58.079167
0.410941
0.005416
0
0.090129
0
0.869099
0
0
0
1
0.000289
0
0
1
0.004292
false
0
0.002146
0
0.006438
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
633085c118b1837849f92ffe6bcff84781a217fd
609
py
Python
ios_sdk/bin/ios/Gen4SDK.framework/Headers/inc/m2m2/python/temperature_application_interface_def.py
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
2
2019-03-11T15:24:51.000Z
2022-03-07T09:42:05.000Z
ios_sdk/bin/ios/Gen4SDK.framework/Headers/inc/m2m2/python/temperature_application_interface_def.py
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
null
null
null
ios_sdk/bin/ios/Gen4SDK.framework/Headers/inc/m2m2/python/temperature_application_interface_def.py
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
1
2021-03-16T08:26:05.000Z
2021-03-16T08:26:05.000Z
from ctypes import * from common_application_interface_def import * from m2m2_core_def import * class M2M2_TEMPERATURE_APP_CMD_ENUM_t(c_ubyte): _M2M2_TEMPERATURE_APP_CMD_LOWEST = 0x60 M2M2_TEMPERATURE_APP_CMD_SET_FS_REQ = 0x62 M2M2_TEMPERATURE_APP_CMD_SET_FS_RESP = 0x63 class temperature_app_stream_t(Structure): _pack_ = 1 _fields_ = [ ("command", c_ubyte), ("status", c_ubyte), ("sequence_num", c_ushort), ("nTS", c_ulong), ("nTemperature1", c_ushort), ("nTemperature2", c_ushort), ]
27.681818
47
0.642036
73
609
4.780822
0.534247
0.200573
0.206304
0.240688
0.148997
0.148997
0
0
0
0
0
0.049661
0.272578
609
21
48
29
0.738149
0
0
0
0
0
0.08867
0
0
0
0.019704
0
0
1
0
false
0
0.176471
0
0.588235
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
2d7884dc9ce5d26b6d984fb4c5cdca72a90d15f4
354
py
Python
api/sources/source.py
0xb00d1e/ioc_fetch
7250a122d51de5fe3f16f679b99ec1b0879d235c
[ "MIT" ]
null
null
null
api/sources/source.py
0xb00d1e/ioc_fetch
7250a122d51de5fe3f16f679b99ec1b0879d235c
[ "MIT" ]
null
null
null
api/sources/source.py
0xb00d1e/ioc_fetch
7250a122d51de5fe3f16f679b99ec1b0879d235c
[ "MIT" ]
null
null
null
class Source: def check_ipv4(self, ipv4): raise NotImplementedError def check_domain(self, domain): raise NotImplementedError def check_md5(self, md5): raise NotImplementedError def check_sha1(self, sha1): raise NotImplementedError def check_sha256(self, sha256): raise NotImplementedError
22.125
35
0.683616
37
354
6.405405
0.324324
0.168776
0.455696
0.540084
0
0
0
0
0
0
0
0.045627
0.257062
354
15
36
23.6
0.855513
0
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0
0
0.545455
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
2d894d15737aea7faa4f48436ab4e1c0800f5d78
100
py
Python
python_crash_course/chapter_2/famous_quotes2.py
angelamcadoo/test-dev
7fa520ac0bf4de0985610dd032588935788b31c5
[ "Unlicense" ]
null
null
null
python_crash_course/chapter_2/famous_quotes2.py
angelamcadoo/test-dev
7fa520ac0bf4de0985610dd032588935788b31c5
[ "Unlicense" ]
null
null
null
python_crash_course/chapter_2/famous_quotes2.py
angelamcadoo/test-dev
7fa520ac0bf4de0985610dd032588935788b31c5
[ "Unlicense" ]
null
null
null
name2 = " \t\n Angela McAdoo " print (name2) name2 = name2.strip() print (name2)
20
46
0.54
12
100
4.5
0.583333
0.37037
0
0
0
0
0
0
0
0
0
0.074627
0.33
100
5
47
20
0.731343
0
0
0.5
0
0
0.364583
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
2da995369ce8451c3299d788851ab26a19b7ac25
290
py
Python
imagekitio/constants/defaults.py
samims/imagekit-python
4bc8041e22c6333710645ddc95446c9c348eea5b
[ "MIT" ]
1
2020-01-20T16:56:32.000Z
2020-01-20T16:56:32.000Z
imagekitio/constants/defaults.py
samims/imagekit-python
4bc8041e22c6333710645ddc95446c9c348eea5b
[ "MIT" ]
null
null
null
imagekitio/constants/defaults.py
samims/imagekit-python
4bc8041e22c6333710645ddc95446c9c348eea5b
[ "MIT" ]
null
null
null
import enum class Default(enum.Enum): DEFAULT_TRANSFORMATION_POSITION = "path" QUERY_TRANSFORMATION_POSITION = "query" VALID_TRANSFORMATION_POSITION = [ DEFAULT_TRANSFORMATION_POSITION, QUERY_TRANSFORMATION_POSITION, ] DEFAULT_TIMESTAMP = "9999999999"
24.166667
44
0.741379
26
290
7.846154
0.423077
0.539216
0.284314
0
0
0
0
0
0
0
0
0.042918
0.196552
290
11
45
26.363636
0.832618
0
0
0
0
0
0.065517
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
2dc6320ff6bc8da9c1115df4a4a240ab1f35d9e3
388
py
Python
corgie/data_backends/__init__.py
scottwedge/corgie
c6bad5d2bd2910af859b9222045c42e9eefc3ef7
[ "Apache-2.0" ]
3
2020-06-10T23:56:36.000Z
2020-06-22T21:17:37.000Z
corgie/data_backends/__init__.py
scottwedge/corgie
c6bad5d2bd2910af859b9222045c42e9eefc3ef7
[ "Apache-2.0" ]
null
null
null
corgie/data_backends/__init__.py
scottwedge/corgie
c6bad5d2bd2910af859b9222045c42e9eefc3ef7
[ "Apache-2.0" ]
4
2020-05-21T23:44:53.000Z
2020-07-02T19:40:45.000Z
import click from corgie.data_backends.base import get_data_backends, str_to_backend # when adding a new backend type, include it here from corgie.data_backends.cvbackend import CVDataBackend from corgie.data_backends.base import DataBackendBase # also update default backend if you want to DEFAULT_DATA_BACKEND = 'cv' pass_data_backend = click.make_pass_decorator(DataBackendBase)
25.866667
71
0.837629
57
388
5.473684
0.561404
0.153846
0.134615
0.211538
0.205128
0.205128
0
0
0
0
0
0
0.118557
388
14
72
27.714286
0.912281
0.231959
0
0
0
0
0.006826
0
0
0
0
0
0
1
0
false
0.166667
0.666667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
2dcb77f9c5f7dcb40b30d7bda9cf7fa77a55b015
318
py
Python
msi_perkeyrgb_gui/protocol_data/presets_index.py
MyrikLD/msi-perkeyrgb-gui
a7fd4fa569129d57044eb9928e3306122e406015
[ "MIT" ]
null
null
null
msi_perkeyrgb_gui/protocol_data/presets_index.py
MyrikLD/msi-perkeyrgb-gui
a7fd4fa569129d57044eb9928e3306122e406015
[ "MIT" ]
1
2021-04-11T12:24:53.000Z
2021-04-11T12:24:53.000Z
msi_perkeyrgb_gui/protocol_data/presets_index.py
MyrikLD/msi-perkeyrgb
a7fd4fa569129d57044eb9928e3306122e406015
[ "MIT" ]
null
null
null
PRESETS_FILES = [ ( [ "GE63", "GE73", "GE75", "GS63", "GS73", "GS75", "GX63", "GT63", "GL63", "GP75", "GL73", ], "1.json", ), (["GS65"], "2.json"), ]
15.9
25
0.22327
18
318
3.888889
0.944444
0
0
0
0
0
0
0
0
0
0
0.203125
0.597484
318
19
26
16.736842
0.34375
0
0
0
0
0
0.188679
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2dea6a516c64b88b7d84280fc70ed9e80193a943
211
py
Python
revgraph/dl/model/callbacks/__init__.py
shhoalex/revgraph
7060945aa46fbd9584861715f15b6fc8037ba53f
[ "MIT" ]
9
2020-06-27T07:01:00.000Z
2020-10-23T13:50:04.000Z
revgraph/dl/model/callbacks/__init__.py
shinghinho/revgraph
7060945aa46fbd9584861715f15b6fc8037ba53f
[ "MIT" ]
null
null
null
revgraph/dl/model/callbacks/__init__.py
shinghinho/revgraph
7060945aa46fbd9584861715f15b6fc8037ba53f
[ "MIT" ]
null
null
null
from .base_callback import BaseCallback as base_callback from .progress import Progress as progress from .save import Save as save from .test import Test as test from .validation import Validation as validation
35.166667
56
0.834123
32
211
5.4375
0.3125
0.137931
0
0
0
0
0
0
0
0
0
0
0.14218
211
5
57
42.2
0.961326
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
2def53e10f7f54064a26a3c73076865417765a34
1,377
py
Python
sw/codegen/codegen.py
barabanshek/Dagger
fa133d60db5748e905cef57dbeb59b4693fb37e0
[ "MIT" ]
15
2021-10-12T00:56:11.000Z
2022-03-20T20:16:52.000Z
sw/codegen/codegen.py
varungohil/Dagger
b063e19a3a89a944caefb2bcbcb89b3bfaad466e
[ "MIT" ]
null
null
null
sw/codegen/codegen.py
varungohil/Dagger
b063e19a3a89a944caefb2bcbcb89b3bfaad466e
[ "MIT" ]
1
2022-03-27T19:22:21.000Z
2022-03-27T19:22:21.000Z
# # Codegenerator for Dagger IDL # #!/usr/bin/python TAB_SIZE = 4 class CodeGen: def __init__(self, tmpl_filename = ""): self.__code = "" self.__seek_ptr = 0 def append(self, line): self.__code = self.__code[:self.__seek_ptr] \ + line \ + self.__code[self.__seek_ptr:] self.__seek_ptr = len(self.__code) def append_snippet(self, snippet): self.__code = self.__code[:self.__seek_ptr] \ + snippet \ + self.__code[self.__seek_ptr:] self.__seek_ptr = len(self.__code) def append_codegen(self, codegen): self.__code = self.__code[:self.__seek_ptr] \ + codegen.get_code() \ + self.__code[self.__seek_ptr:] self.__seek_ptr = len(self.__code) def append_from_file(self, tmpl_filename): with open(tmpl_filename) as tmpl_f: self.__code = self.__code[:self.__seek_ptr] \ + tmpl_f.read() \ + self.__code[self.__seek_ptr:] self.__seek_ptr = len(self.__code) def replace(self, token, string): self.__code = self.__code.replace(token, string) def remove_token(self, token): self.__code = self.__code.replace(token, '', 1) def seek(self, token): self.__seek_ptr = self.__code.index(token) def get_code(self): self.__tabs_to_spaces() return self.__code def __tabs_to_spaces(self): self.__code = self.__code.replace('\t', ''.join([' ']*TAB_SIZE))
25.5
66
0.660131
191
1,377
4.141361
0.235602
0.252845
0.242731
0.182048
0.510746
0.457649
0.381795
0.245259
0.245259
0.245259
0
0.00271
0.196078
1,377
53
67
25.981132
0.711834
0.031954
0
0.324324
0
0
0.002259
0
0
0
0
0
0
1
0.27027
false
0
0
0
0.324324
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
2def7bee8b69c8c1570f537bd7ce838afeb05393
157
py
Python
curso/PY1/condicao/ex4.py
smrsassa/Studying-Python
a5acbce42b85bdd6aea8058ca323fbbd12ce5c22
[ "MIT" ]
1
2019-10-21T18:19:13.000Z
2019-10-21T18:19:13.000Z
curso/PY1/condicao/ex4.py
smrsassa/Studying-python
a5acbce42b85bdd6aea8058ca323fbbd12ce5c22
[ "MIT" ]
null
null
null
curso/PY1/condicao/ex4.py
smrsassa/Studying-python
a5acbce42b85bdd6aea8058ca323fbbd12ce5c22
[ "MIT" ]
null
null
null
num = int(input('digite um numero')) pi = num%2 if pi == 0: print ('{} é um numero par'.format(num)) else: print ('{} é um numero impar'.format(num))
26.166667
46
0.598726
27
157
3.481481
0.592593
0.255319
0.170213
0.297872
0
0
0
0
0
0
0
0.016
0.203822
157
6
46
26.166667
0.736
0
0
0
0
0
0.341772
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
932f2f0cdd2cd1e5de722c42b626841bb5b5c8e3
365
py
Python
dictionary2/profilepage/views.py
emelkrml/dictionary2
01e7567458f15ef439681bbfc85f88be31907c31
[ "MIT" ]
null
null
null
dictionary2/profilepage/views.py
emelkrml/dictionary2
01e7567458f15ef439681bbfc85f88be31907c31
[ "MIT" ]
14
2016-08-19T11:15:12.000Z
2017-02-24T20:10:41.000Z
dictionary2/profilepage/views.py
emelkrml/dictionary
01e7567458f15ef439681bbfc85f88be31907c31
[ "MIT" ]
null
null
null
from django.shortcuts import render def profile(request): return render(request, 'materialize/users/profile.html') def ayarlar(request): return render(request, 'pages/ayarlar.html') def messages(request): return render(request, 'materialize/users/message.html') def events(request): return render(request, 'materialize/users/event.html')
17.380952
60
0.739726
44
365
6.136364
0.409091
0.192593
0.281481
0.385185
0.466667
0.466667
0
0
0
0
0
0
0.139726
365
20
61
18.25
0.859873
0
0
0
0
0
0.293629
0.243767
0
0
0
0
0
1
0.444444
false
0
0.111111
0.444444
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
9336903d0db33d3d400b5348dc7ebc1ac3257121
422
py
Python
sessao04/10_110-HerancaSimples/classes.py
Ruteski/CursoPythonOM
afe5ad5e50f903dab370be2b76966a81f07e51dd
[ "MIT" ]
null
null
null
sessao04/10_110-HerancaSimples/classes.py
Ruteski/CursoPythonOM
afe5ad5e50f903dab370be2b76966a81f07e51dd
[ "MIT" ]
null
null
null
sessao04/10_110-HerancaSimples/classes.py
Ruteski/CursoPythonOM
afe5ad5e50f903dab370be2b76966a81f07e51dd
[ "MIT" ]
null
null
null
class Pessoa: def __init__(self, nome, idade): self.nome = nome self.idade = idade self.nome_classe = self.__class__.__name__ def falar(self): print(f'{self.nome_classe} falando ...') class Cliente(Pessoa): def comprar(self): print(f'{self.nome_classe} comprando ...') class Aluno(Pessoa): def estudar(self): print(f'{self.nome_classe} estudando ...')
21.1
50
0.613744
52
422
4.673077
0.365385
0.197531
0.230453
0.17284
0.296296
0.296296
0
0
0
0
0
0
0.246446
422
19
51
22.210526
0.764151
0
0
0
0
0
0.223278
0
0
0
0
0
0
1
0.307692
false
0
0
0
0.538462
0.230769
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
933ff19eeb450a78450f256eabb32040fd6f0321
101
py
Python
pacdeck/config.py
TPHRyan/pacman-deck
b3ddbf33066354692849c2ba57bbff3c2e11174b
[ "MIT" ]
1
2021-06-06T20:33:57.000Z
2021-06-06T20:33:57.000Z
pacdeck/config.py
TPHRyan/pacman-deck
b3ddbf33066354692849c2ba57bbff3c2e11174b
[ "MIT" ]
null
null
null
pacdeck/config.py
TPHRyan/pacman-deck
b3ddbf33066354692849c2ba57bbff3c2e11174b
[ "MIT" ]
null
null
null
from typing import NamedTuple class GlobalArgs(NamedTuple): config_path: str confirm: bool
14.428571
29
0.752475
12
101
6.25
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.19802
101
6
30
16.833333
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
934b3c6626e041d3bd1c5dcda2202a7cd1f5b655
146
py
Python
courses/01_Building_a_distributed_system_and_monitoring_system_with_Python/chapter05/5.3/practice/financialdata/db/__init__.py
FinMind/Class
74610a45ec169bff2bc841565973545adf57dee4
[ "MIT" ]
2
2022-03-24T11:17:27.000Z
2022-03-27T08:41:32.000Z
courses/01_Building_a_distributed_system_and_monitoring_system_with_Python/chapter04/4.2/solution/financialdata/db/__init__.py
FinMind/Class
74610a45ec169bff2bc841565973545adf57dee4
[ "MIT" ]
null
null
null
courses/01_Building_a_distributed_system_and_monitoring_system_with_Python/chapter04/4.2/solution/financialdata/db/__init__.py
FinMind/Class
74610a45ec169bff2bc841565973545adf57dee4
[ "MIT" ]
2
2022-03-22T15:27:52.000Z
2022-03-25T07:17:18.000Z
from financialdata.db.router import ( Router, ) from financialdata.db.db import * router = Router() def get_db_router(): return router
13.272727
37
0.712329
19
146
5.368421
0.421053
0.333333
0.372549
0
0
0
0
0
0
0
0
0
0.191781
146
10
38
14.6
0.864407
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.571429
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
4
935a80f2b814fd946fee6842163dc967d99f5c47
170
py
Python
whist/server/database/warning.py
Whist-Team/Whist-Server
7173bba9cbae505e189c812ebb459af661d656b2
[ "MIT" ]
1
2021-08-09T21:15:23.000Z
2021-08-09T21:15:23.000Z
whist/server/database/warning.py
Whist-Team/Whist-Server
7173bba9cbae505e189c812ebb459af661d656b2
[ "MIT" ]
172
2021-04-18T21:09:56.000Z
2022-03-31T20:38:07.000Z
whist/server/database/warning.py
Whist-Team/Whist-Server
7173bba9cbae505e189c812ebb459af661d656b2
[ "MIT" ]
2
2021-08-28T19:05:55.000Z
2022-03-20T17:50:29.000Z
""" Warnings raised during database object interaction. """ class PlayerAlreadyJoinedWarning(Warning): """ Is raised when a player tries to join again. """
17
51
0.694118
18
170
6.555556
0.944444
0
0
0
0
0
0
0
0
0
0
0
0.205882
170
9
52
18.888889
0.874074
0.564706
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
937d58096431845cbfe6f7399ad58fff15df2a81
241
py
Python
backend/test/warmup_tests.py
josenildoaf/icanfinance
c14bdfdefc1174daaeb050b9f50f389e5fd6aa6c
[ "MIT" ]
29
2015-01-13T13:47:31.000Z
2022-01-10T15:59:42.000Z
backend/test/warmup_tests.py
josenildoaf/icanfinance
c14bdfdefc1174daaeb050b9f50f389e5fd6aa6c
[ "MIT" ]
17
2015-01-05T23:51:56.000Z
2016-02-07T18:03:39.000Z
backend/test/warmup_tests.py
josenildoaf/icanfinance
c14bdfdefc1174daaeb050b9f50f389e5fd6aa6c
[ "MIT" ]
77
2015-02-11T10:48:22.000Z
2020-11-19T23:02:23.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from base import GAETestCase from routes.warmup import BaseHandler class BaseTest(GAETestCase): def test_warmup_success(self): BaseHandler().get()
26.777778
56
0.759336
29
241
6.034483
0.724138
0
0
0
0
0
0
0
0
0
0
0.004878
0.149378
241
9
57
26.777778
0.84878
0.087137
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fa74d99b3091c40093142ef7d26c7f071b6fc407
58
py
Python
expman/__init__.py
vzhong/expman
e73603a4466771170e85b19afb1583c5794f342b
[ "MIT" ]
null
null
null
expman/__init__.py
vzhong/expman
e73603a4466771170e85b19afb1583c5794f342b
[ "MIT" ]
null
null
null
expman/__init__.py
vzhong/expman
e73603a4466771170e85b19afb1583c5794f342b
[ "MIT" ]
null
null
null
from .experiment import Experiment from .loggers import *
19.333333
34
0.810345
7
58
6.714286
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.137931
58
2
35
29
0.94
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
fa810a6c3c298a9f1b53e10b6696c7cafb4bb5f6
812
py
Python
ras/end.py
titansarus/ASIS-CTF-Final-2021
b2757abd7447a3bc8e5c073c31cf9bfbaeb59d19
[ "MIT" ]
10
2021-12-26T21:23:25.000Z
2022-01-09T17:33:46.000Z
ras/end.py
titansarus/ASIS-CTF-Final-2021
b2757abd7447a3bc8e5c073c31cf9bfbaeb59d19
[ "MIT" ]
1
2022-01-01T12:52:47.000Z
2022-01-01T18:36:29.000Z
ras/end.py
titansarus/ASIS-CTF-Final-2021
b2757abd7447a3bc8e5c073c31cf9bfbaeb59d19
[ "MIT" ]
null
null
null
from Crypto.Util.number import long_to_bytes N = 56469405750402193641449232753975279624388972985036568323092258873756801156079913882719631252209538683205353844069168609565141017503581101845476197667784484712057287713526027533597905495298848547839093455328128973319016710733533781180094847568951833393705432945294907000234880317134952746221201465210828955449 P = 23**113 + 1 + 1158518719 Q = N // P enc = 11104433528952071860984483920122173351342473018268740572598132083816861855404615534742178674185812745207876206939230069251889172817480784782618716608299615251541018034321389516732611030641383571306414414804563863131355221859432899624060128497648444189432635603082478662202695641001726208833663163000227827283 phi = (P - 1) * (Q - 1) d = pow(0x10001, -1, phi) print(long_to_bytes(pow(enc, d, N)).decode())
67.666667
314
0.902709
39
812
18.692308
0.615385
0.016461
0.030178
0
0
0
0
0
0
0
0
0.832468
0.051724
812
11
315
73.818182
0.114286
0
0
0
0
0
0
0
0
1
0.008621
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
faaa0ed3766bbc05a45e43201eb28b876fb757e9
80
py
Python
zeroservices/__init__.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
21
2015-01-31T17:45:42.000Z
2017-11-12T05:02:44.000Z
zeroservices/__init__.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
7
2015-01-07T09:52:06.000Z
2015-02-01T00:59:35.000Z
zeroservices/__init__.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
2
2017-06-29T19:40:42.000Z
2019-06-01T12:18:56.000Z
from .service import BaseService from .resources import * from .medium import *
20
32
0.7875
10
80
6.3
0.6
0
0
0
0
0
0
0
0
0
0
0
0.15
80
3
33
26.666667
0.926471
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
fab0a56b50aefc3b94544a726cbe59ae9328fcfd
872
py
Python
django_eveonline_buyback/models.py
b5n/django-eveonline-buyback
d6d882b9600daf472cfc853c5fbe42b454687c6a
[ "MIT" ]
1
2021-09-14T21:57:53.000Z
2021-09-14T21:57:53.000Z
django_eveonline_buyback/models.py
b5n/django-eveonline-buyback
d6d882b9600daf472cfc853c5fbe42b454687c6a
[ "MIT" ]
5
2020-08-30T17:52:13.000Z
2021-02-20T21:26:17.000Z
django_eveonline_buyback/models.py
b5n/django-eveonline-buyback
d6d882b9600daf472cfc853c5fbe42b454687c6a
[ "MIT" ]
null
null
null
# models.py from django.db import models from django_eveonline_connector.models import EveEntity from django_singleton_admin.models import DjangoSingleton class BuybackSettings(DjangoSingleton): ancient_coordinates_database_price = models.FloatField(default=1500000) neural_network_analyzer_price = models.FloatField(default=200000) sleeper_data_library_price = models.FloatField(default=500000) sleeper_drone_ai_nexus_price = models.FloatField(default=5000000) blue_loot_buyback_rate = models.FloatField(default=0.9) general_buyback_rate = models.FloatField(default=0.85) contract_entity = models.ForeignKey( EveEntity, null=True, blank=True, on_delete=models.SET_NULL) @staticmethod def get_instance(): return BuybackSettings.objects.get_or_create(pk=1)[0] def __str__(self): return "Buyback Settings"
37.913043
75
0.786697
107
872
6.11215
0.588785
0.146789
0.211009
0.171254
0.107034
0.107034
0
0
0
0
0
0.043825
0.136468
872
22
76
39.636364
0.824701
0.010321
0
0
0
0
0.018583
0
0
0
0
0
0
1
0.117647
false
0
0.176471
0.117647
0.882353
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4