query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Parse and encode the MIDI data in midi_filepath into numpy format
def a46M(QzA1, lIju): sJrY = m3tr.read(path=QzA1, resolution=ZRd8) jKgd = sJrY.stack()[0] jKgd[jKgd >= 1] = 1 jKgd = jKgd[lIju:] HdIx = jKgd.shape[0] // mAmw jKgd = oyIN.transpose(jKgd, axes=(1, 0)) jKgd = oyIN.split(jKgd[:, :HdIx * mAmw], HdIx, axis=1) for r8hN in jKgd: if r8hN....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EbG_(fcvf, kal_):\n dWZ0 = SC2F(fcvf + '/*.mid')\n for YRbF, eHNT in enumerate(dWZ0):\n if YRbF % 100 == 0:\n print(YRbF)\n IznC = eHNT.split('/')[-1].split('.')[0]\n iZJa = IznC + '.npz'\n try:\n x1fj = iZ7g(eHNT)\n qw7D, bGrB, bGrB = tdZQ(mW3...
[ "0.69877064", "0.6932189", "0.6873799", "0.65794134", "0.65229505", "0.6511455", "0.64748", "0.63786125", "0.6301209", "0.6207039", "0.6179254", "0.6122758", "0.6105393", "0.6096554", "0.60858727", "0.6082177", "0.6029059", "0.5939264", "0.5935598", "0.59311205", "0.5908515",...
0.6241908
9
URL path for the dataset's APIs.
def pmON(YKHO): return '/projects/%s/datasets/%s' % (YKHO.project, YKHO.name)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ewWg(YKHO):\n return TDhU(YKHO.base_url, '/api/dataset')", "def pmON(YKHO):\n return '/projects/%s/datasets/%s' % (YKHO.project, YKHO.dataset_id)", "def pmON(YKHO):\n return '/projects/%s/datasets/%s' % (YKHO.project, YKHO.dataset_id)", "def lQ5l(YKHO, c55i):\n return TDhU(YKHO.base_url, '/ap...
[ "0.80217147", "0.746815", "0.746815", "0.7060754", "0.67980963", "0.67675817", "0.6528397", "0.6521565", "0.64886814", "0.64544004", "0.6442154", "0.6417913", "0.6367688", "0.6323965", "0.6315336", "0.62741697", "0.6100134", "0.60858727", "0.6050455", "0.6023909", "0.6012169"...
0.7433467
3
ID for the dataset resource.
def c55i(YKHO): return YKHO._properties.get('id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def id(YKHO) -> str:\n return YKHO.build_dataset_id(YKHO.name, YKHO.workspace)", "def c55i(YKHO):\n return YKHO._loader.dataset_id", "def id(YKHO):\n if YKHO._id is None:\n YKHO._id = YKHO.config.get('datalad.dataset.id', None)\n return YKHO._id", "def c55i(YKHO):\n return YKHO.json_dic...
[ "0.8268202", "0.80850804", "0.7993397", "0.78084147", "0.756906", "0.75670236", "0.75542897", "0.73860735", "0.7384551", "0.73182213", "0.7211133", "0.71047795", "0.71047795", "0.71047795", "0.71012956", "0.7092073", "0.7071328", "0.70573515", "0.69962215", "0.69882333", "0.6...
0.8300974
0
This method initializes a card.
def FIMM(YKHO, BWXx, iCfd, LNo8, Zode): YKHO.value = BWXx YKHO.suit = iCfd YKHO.image = LNo8 YKHO.hidden = Zode
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, khoC):\n YKHO.cards = khoC", "def FIMM(YKHO, khoC):\n YKHO.cards = khoC", "def K7Er(YKHO, khoC):\n if len(YKHO.stack):\n raise Exception('Illegal init, cards already there')\n if YKHO.type == 'freecell':\n raise Exception(\"Illegal init, can't init cards in free cell\")...
[ "0.7593168", "0.75311184", "0.7485665", "0.7414325", "0.7390628", "0.7331442", "0.7268363", "0.72672236", "0.724633", "0.724222", "0.7236602", "0.71908796", "0.71908796", "0.71766734", "0.71636903", "0.7144568", "0.71368194", "0.7128089", "0.7101852", "0.7096447", "0.7089144"...
0.0
-1
Sell shares of stock.
def ZBqQ(): if QePW.method == 'POST': if not QePW.form.get('symbol'): return P88m('must provide symbol') if not QePW.form.get('share'): return P88m('must provide share') o61b = QePW.form.get('symbol') weUZ = float(QePW.form.get('share')) Aofo = ccBJ(o6...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vLdO(YKHO, o61b, Z5kt):\n pass", "def vLdO(YKHO):\n pass", "def e4Ga(YKHO, q9zX, FGW3, RdoJ):\n pass", "def D3VZ(YKHO):\n YKHO.txnumber = YKHO.txnumber + 1\n B__k = YKHO.portfolio.positions[YKHO.stockB].amount\n YKHO.order(YKHO.stockB, -1 * B__k)\n VjqK = YKHO.portfolio.positions[YKH...
[ "0.8071122", "0.8061821", "0.7694411", "0.7502568", "0.73832303", "0.73098236", "0.71871305", "0.7154468", "0.7084108", "0.7039368", "0.7006816", "0.6988836", "0.6988496", "0.6956943", "0.6924168", "0.6924127", "0.69210345", "0.68403393", "0.682865", "0.6816798", "0.6783942",...
0.63625383
82
Defines an initializer for the Xavier distribution. Specifically, the output should be sampled uniformly from [epsilon, epsilon] where epsilon = sqrt(6) / e.g., if shape = (2, 3), epsilon = sqrt(6 / (2 + 3)) This function will be used as a variable initializer.
def zh9b(ROpF): Xk2t = oyIN.sqrt(6.0 / sum(ROpF)) yvT9 = oyIN.random.uniform(-Xk2t, Xk2t, ROpF) return yvT9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gk9z(aM8h=6.0, js4S=True, yokr=1996, yDqo=m1c7.float32):\n aM8h = aM8h / 6\n return _hvt(factor=aM8h, mode='FAN_AVG', other=False, scale=aM8h, uniform=js4S, seed=yokr, dtype=yDqo)", "def gk9z(js4S=True, yokr=None, yDqo=m1c7.float32):\n return _hvt(factor=1.0, mode='FAN_AVG', uniform=js4S, seed=yokr,...
[ "0.78496325", "0.77669746", "0.74370116", "0.72814435", "0.72454816", "0.6803527", "0.67546314", "0.6748771", "0.6742787", "0.67280966", "0.66471285", "0.6564278", "0.65464306", "0.6540839", "0.64817065", "0.64771765", "0.64613265", "0.6455559", "0.64460987", "0.64213616", "0...
0.64198977
20
Return true if the argument is a special symbol for all nodes or edges.
def AheU(d7pR): return isinstance(d7pR, str) and d7pR == AvhY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def My_c(YKHO, mWFP):\n return mWFP in YKHO.symbols", "def vWJI(YKHO, o61b):\n return o61b == 'x' or o61b == 'o'", "def GoVZ(Z9rn):\n return Z9rn in {'{', '}', '(', ')', '[', ']', '.', ',', ';', '+', '-', '*', '/', '&', '|', '<', '>', '=', '~'}", "def HlvU(YKHO, Q6kx):\n return Q6kx.id in YKHO.sp...
[ "0.6750943", "0.67282766", "0.6715835", "0.6496022", "0.6473704", "0.64731395", "0.6421338", "0.64063704", "0.6405875", "0.63938767", "0.6390787", "0.63811785", "0.63422996", "0.6310212", "0.63061005", "0.62706333", "0.6254054", "0.6230976", "0.62217796", "0.6178192", "0.6178...
0.5601103
65
Closes a connection object.
def s0Lu(RZ33): G9jH.warning('Closing connection to sqlite3 database') return RZ33.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ngVb(YKHO) -> None:\n YKHO.__connection.close()", "def DDI8(YKHO):\n try:\n YKHO.__the_connection\n except AttributeError:\n pass\n else:\n YKHO.__the_connection.close()", "def ngVb(YKHO):\n if YKHO.__connection is not None:\n YKHO.__connection.close()", "def ng...
[ "0.7320629", "0.72853446", "0.7239369", "0.7221487", "0.71972394", "0.71954405", "0.7182157", "0.71577984", "0.7153281", "0.71501267", "0.7136515", "0.7097041", "0.7093582", "0.7078526", "0.7049415", "0.7044937", "0.70415473", "0.70415014", "0.7011174", "0.70004404", "0.69792...
0.0
-1
Embed context words, lemmas and MSDs. The context of a lemma consists of the previous and following word forms, lemmas and MSDs as well as the MSD for the lemma in question.
def G_wZ(YRbF, KCHu, Y9ns=0): dhx_ = KCHu[YRbF][zPMK] dhx_ = ht2j.LongTensor([Ryuj(dhx_, YS_K, Y9ns)]) return NCoS(dhx_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q1PJ(dhx_, QpfX):\n dhx_ = [UZ_3] + list(dhx_) + [UZ_3]\n dhx_ = [Z9rn if Z9rn in iOM2 else GUeh for Z9rn in dhx_]\n dhx_ = [iOM2[Z9rn] for Z9rn in dhx_]\n global character_lookup\n return [eUWA.concatenate([zhnV[Z9rn], QpfX]) for Z9rn in dhx_]", "def Q1PJ(dhx_, QpfX):\n dhx_ = [UZ_3] + lis...
[ "0.64834815", "0.62553954", "0.61767536", "0.6061401", "0.6021628", "0.5920799", "0.5903569", "0.5879417", "0.5856144", "0.5856144", "0.5834563", "0.57997775", "0.578773", "0.578313", "0.5769882", "0.575517", "0.5743404", "0.57413435", "0.570394", "0.56939673", "0.5677962", ...
0.5513483
46
Recursive implementation of Levenshtein, with alignments returned. Courtesy of Mans Hulden.
def KX6q(KCHu, a1PO, Z6f1=1.0, XTbL=1.0, fLSU=1.0): @z4vu def GFbZ(FOt3, ZRQG, G9j2, lPtt, sSN_): if len(G9j2) == 0: return (FOt3 + len(lPtt) * '_', ZRQG + lPtt, '', '', sSN_ + len(lPtt)) if len(lPtt) == 0: return (FOt3 + G9j2, ZRQG + len(G9j2) * '_', '', '', sSN_ + len(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UYeD(YKHO):\n YKHO.assertEqual(KX6q('abcde', 'abcde'), 0)", "def CHnU(YKHO) -> int:\n SppC = A5BC(len(YKHO.pair.doc_1) + 1, len(YKHO.pair.doc_2) + 1)\n for YRbF in range(len(YKHO.pair.doc_1) + 1):\n SppC[YRbF][0] = YRbF\n for r845 in range(len(YKHO.pair.doc_2) + 1):\n SppC[0][r845] ...
[ "0.7228117", "0.72240186", "0.71939003", "0.716273", "0.71122706", "0.70827764", "0.70698166", "0.70381314", "0.70374906", "0.7030106", "0.70299274", "0.7029868", "0.70288974", "0.70121646", "0.7008986", "0.6999236", "0.69976205", "0.69755876", "0.6961038", "0.6956966", "0.69...
0.674227
41
Returns the current color for this Thing in RGB format
def _TGj(YKHO) -> Vl3X: raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qfpW(YKHO):\n return YKHO._rgb", "def PICn(YKHO):\n return YKHO._color", "def PICn(YKHO):\n return YKHO.color", "def PICn(YKHO):\n return YKHO.color", "def PICn(YKHO):\n return YKHO._color", "def PICn(YKHO):\n return YKHO._color", "def PICn(YKHO):\n return YKHO._color", "def ...
[ "0.84233713", "0.82973886", "0.8275044", "0.8275044", "0.8246259", "0.8246259", "0.8246259", "0.8246259", "0.82400525", "0.8217705", "0.81953794", "0.81942624", "0.81745654", "0.8144388", "0.81352305", "0.8106865", "0.8071841", "0.8070567", "0.80584043", "0.8020717", "0.80165...
0.72751176
100
Helper function that returns a RobotModel instance.
def iMTd(): return BzgW(urdf_xml_path=ZFHX, srdf_xml_path=I9Mq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sTIn(YKHO):\n return YKHO._robot_model", "def HN_8(YKHO):\n if YKHO.robotModel is not None:\n return YKHO.robotModel\n if YKHO.fn is None:\n raise RuntimeError(\"Can't load robot model for \" + YKHO.name + ', no file given')\n from klampt import WorldModel, RobotModel\n YKHO._wor...
[ "0.7647137", "0.68086624", "0.6677223", "0.6636598", "0.6608699", "0.6586217", "0.6524786", "0.64723504", "0.6422404", "0.63765574", "0.63749325", "0.63683605", "0.6350991", "0.6319919", "0.6306141", "0.62986404", "0.6274494", "0.6263294", "0.62492406", "0.62471336", "0.62415...
0.83461255
0
Test that the jacobian is correct
def aS0g(YKHO): sTIn = iMTd() tUBe = x1cL(sTIn) tUBe.update() v8WM = tUBe.get_jacobian(joint_model_group_name='panda_arm', reference_point_position=oyIN.array([0.0, 0.0, 0.0])) YKHO.assertIsInstance(v8WM, oyIN.ndarray)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v8WM(YKHO):\n raise NotImplementedError", "def VZ9r(YKHO):\n sTIn = iMTd()\n tUBe = x1cL(sTIn)\n tUBe.update()\n v8WM = tUBe.get_jacobian(joint_model_group_name='panda_arm', link_name='panda_link6', reference_point_position=oyIN.array([0.0, 0.0, 0.0]))\n YKHO.assertIsInstance(v8WM, oyIN.nda...
[ "0.75352746", "0.7484377", "0.7320652", "0.7219028", "0.71998036", "0.7148996", "0.7133949", "0.7078206", "0.7054387", "0.7046989", "0.6970411", "0.6941041", "0.6918856", "0.6876269", "0.6872431", "0.68532604", "0.684163", "0.67968184", "0.6790889", "0.67796063", "0.67765546"...
0.745672
2
Test that the jacobian is correct
def VZ9r(YKHO): sTIn = iMTd() tUBe = x1cL(sTIn) tUBe.update() v8WM = tUBe.get_jacobian(joint_model_group_name='panda_arm', link_name='panda_link6', reference_point_position=oyIN.array([0.0, 0.0, 0.0])) YKHO.assertIsInstance(v8WM, oyIN.ndarray)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v8WM(YKHO):\n raise NotImplementedError", "def aS0g(YKHO):\n sTIn = iMTd()\n tUBe = x1cL(sTIn)\n tUBe.update()\n v8WM = tUBe.get_jacobian(joint_model_group_name='panda_arm', reference_point_position=oyIN.array([0.0, 0.0, 0.0]))\n YKHO.assertIsInstance(v8WM, oyIN.ndarray)", "def uJmc(Rpkt,...
[ "0.75352746", "0.745672", "0.7320652", "0.7219028", "0.71998036", "0.7148996", "0.7133949", "0.7078206", "0.7054387", "0.7046989", "0.6970411", "0.6941041", "0.6918856", "0.6876269", "0.6872431", "0.68532604", "0.684163", "0.67968184", "0.6790889", "0.67796063", "0.67765546",...
0.7484377
1
Takes a string and removes the given characters
def biH0(l5Ny: str, SIyd: str) -> str: return ''.join([bseI for bseI in l5Ny if bseI not in SIyd])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nqAZ(vIwR, gLiZ):\n return ''.join([WKvO for WKvO in vIwR if WKvO not in gLiZ])", "def W6MX(gLiZ: str, KCHu: str) -> str:\n for Z9rn in gLiZ:\n KCHu = KCHu.replace(Z9rn, '')\n return KCHu", "def S8gL(KCHu, *gLiZ):\n for Z9rn in gLiZ:\n KCHu = KCHu.replace(Z9rn, '')\n return KCH...
[ "0.84616554", "0.83360714", "0.8313081", "0.815124", "0.81274784", "0.7990249", "0.7881974", "0.7769431", "0.77617687", "0.77493745", "0.7715362", "0.7675099", "0.76631784", "0.7616355", "0.76129156", "0.75945526", "0.75673085", "0.75640076", "0.7559422", "0.7556251", "0.7547...
0.0
-1
User changes their password
def jTXt(): if QePW.method == 'POST': if not QePW.form.get('current_password'): return P88m('please type your current password') if not QePW.form.get('current_password_retype'): return P88m('please retype your current password') if not QePW.form.get('new_password'): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YxCE(YKHO) -> None:\n rn8m = AOO4.getpass('Current password: ')\n uGpu = YKHO.enter_password('New password: ', confirm=True)\n YKHO.client.change_user_password(rn8m, uGpu)\n print(\"Password changed. Next, use 'avn user login' to log in again using your new password.\")", "def ZfHT(YKHO):\n YK...
[ "0.8737888", "0.84818244", "0.8434219", "0.8207927", "0.8084049", "0.80693346", "0.79943025", "0.79607683", "0.79528135", "0.79456985", "0.7941991", "0.78861177", "0.7876968", "0.7838009", "0.77728516", "0.7772306", "0.7768318", "0.7758832", "0.7748845", "0.7746329", "0.77428...
0.0
-1
Profile page for user
def z39Z(): if QePW.method == 'GET': VCCg = NCls.execute('SELECT username, cash FROM users WHERE id = :user_id', user_id=cuiw['user_id']) print(VCCg) return TvZl('profile.html', user_info=VCCg) return vKnz(nKyW('password'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SGll():\n return TvZl('user_profile_page.html')", "def fRKm():\n return TvZl('userprofile.html', username=SAOk())", "def QyAW():\n return TvZl('user_profile_page.html')", "def z39Z():\n uJjO = cuiw['logged_in']\n c5ow = mv1M.query.get(uJjO)\n return TvZl('profile.html', current_user=c5o...
[ "0.8673814", "0.8490733", "0.8466291", "0.8384044", "0.83634096", "0.83069587", "0.8291544", "0.8276761", "0.827173", "0.8268474", "0.82549316", "0.82502824", "0.8220868", "0.81981194", "0.8189422", "0.81849", "0.8160731", "0.81577855", "0.8151988", "0.81458694", "0.8135143",...
0.76454926
65
Sell shares of stock.
def ZBqQ(): if QePW.method == 'POST': o61b = QePW.form.get('symbol') if not o61b.isalpha(): return P88m('Please only input the symbol in the symbol section') try: eZqv = float(QePW.form.get('num_shares')) except: return P88m('Please only input the ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vLdO(YKHO, o61b, Z5kt):\n pass", "def vLdO(YKHO):\n pass", "def e4Ga(YKHO, q9zX, FGW3, RdoJ):\n pass", "def D3VZ(YKHO):\n YKHO.txnumber = YKHO.txnumber + 1\n B__k = YKHO.portfolio.positions[YKHO.stockB].amount\n YKHO.order(YKHO.stockB, -1 * B__k)\n VjqK = YKHO.portfolio.positions[YKH...
[ "0.8072918", "0.8063354", "0.76947683", "0.7503331", "0.7384993", "0.7310677", "0.71882445", "0.71568274", "0.70857376", "0.7041662", "0.7009744", "0.69902384", "0.69897187", "0.6959713", "0.6925477", "0.6925465", "0.69224066", "0.68414044", "0.68296736", "0.6818411", "0.6784...
0.6307314
98
Find the first occurence of a comment in a string
def ftR4(KCHu, jEkF=[';', '#']): for SAEY in jEkF: d6pt = KCHu.find(SAEY) if d6pt != -1: break return d6pt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TDzs(zFiD):\n IguF = False\n NCC9 = False\n for YRbF, hcXw in enumerate(zFiD):\n if hcXw == '\\\\':\n IguF = True\n continue\n elif hcXw == '\"':\n if IguF:\n IguF = False\n continue\n else:\n NCC9 =...
[ "0.6983953", "0.69685614", "0.69179904", "0.6850736", "0.6813826", "0.6811595", "0.68006253", "0.6689583", "0.6658447", "0.66358864", "0.66207415", "0.6602847", "0.66020477", "0.65685034", "0.6538617", "0.64682955", "0.6442681", "0.6370722", "0.63704354", "0.6368402", "0.6361...
0.78554696
0
return the first index of item in array or None if item is not found
def TrX4(qw7D, ZfUD): return Ngua(qw7D, ZfUD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VkCx(qw7D: np.ndarray, ZfUD: typing.Any) -> laHg.Optional[laHg.Tuple[int, ...]]:\n for or8S, wEf2 in oyIN.ndenumerate(qw7D):\n if wEf2 == ZfUD:\n return or8S\n return None", "def Ajkz(qw7D, TgwQ):\n for YRbF in range(len(qw7D)):\n if qw7D[YRbF] == TgwQ:\n return Y...
[ "0.8050509", "0.78791124", "0.7520682", "0.7477335", "0.7288227", "0.72670394", "0.7200822", "0.71215326", "0.71068335", "0.70616376", "0.7059638", "0.7035502", "0.70077246", "0.69563776", "0.69327813", "0.6895977", "0.6887504", "0.6860908", "0.68538326", "0.68336827", "0.682...
0.6255572
74
return the index of item in sorted array or None if item is not found
def jUbz(qw7D: [str], ZfUD: str): return aHV3(qw7D, ZfUD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ajkz(qw7D, TgwQ):\n for YRbF in range(len(qw7D)):\n if qw7D[YRbF] == TgwQ:\n return YRbF\n return None", "def neBz(YKHO, ZfUD):\n for YRbF in range(YKHO.length):\n if YKHO.A[YRbF] == ZfUD:\n return YRbF\n return -1", "def TrX4(ezWE, H5ew):\n for YRbF in ra...
[ "0.76192176", "0.74204427", "0.73098975", "0.7279961", "0.72263575", "0.7102747", "0.70936203", "0.7088252", "0.70844054", "0.7059167", "0.7037558", "0.7011783", "0.70117646", "0.7009921", "0.7009306", "0.69910645", "0.6977518", "0.6933952", "0.6928042", "0.69178665", "0.6881...
0.0
-1
Add keypairs with the the value 0 if keypair does not exist in dict
def zVKr(YKHO, rSJM, GK5c, LyE1) -> 'dict[str, float]': for oiSt in LyE1: for odN7 in GK5c: if (odN7, oiSt) not in rSJM: rSJM[odN7, oiSt] = 0 return rSJM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uT87(YKHO, H5ew):\n if H5ew not in YKHO.SCHMA_NOK_CNT_DICT:\n YKHO.SCHMA_NOK_CNT_DICT[H5ew] = 1\n else:\n YKHO.SCHMA_NOK_CNT_DICT[H5ew] += 1", "def t6N8(YKHO, H5ew):\n if H5ew not in YKHO.NONE_CNT_DICT:\n YKHO.NONE_CNT_DICT[H5ew] = 1\n else:\n YKHO.NONE_CNT_DICT[H5ew] ...
[ "0.72051734", "0.70728576", "0.6937868", "0.6592479", "0.6510635", "0.6328018", "0.62880564", "0.6242364", "0.61944956", "0.619399", "0.6187264", "0.6147329", "0.61294526", "0.6101188", "0.60929626", "0.6051191", "0.6049061", "0.6019944", "0.6009824", "0.5932009", "0.59309036...
0.54578274
66
Get the normalized of the given vector
def xNGd(YKHO, iArr) -> list: iArr = oyIN.array(iArr) CkYf = oyIN.linalg.norm(iArr) if CkYf == 0: return iArr return iArr / CkYf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VDTB(Ty9i):\n return Ty9i / i1gc(Ty9i)", "def NkkI(iArr):\n Ty9i = oyIN.array(iArr)\n FOSW = oyIN.linalg.norm(Ty9i)\n if FOSW == 0:\n return Ty9i\n else:\n return Ty9i / FOSW", "def NkkI(iArr):\n return iArr / pEuX.norm(iArr)", "def NkkI(YKHO, iArr):\n i1gc = oyIN.sqrt(...
[ "0.8758164", "0.8670101", "0.8610478", "0.8598497", "0.85827446", "0.8550917", "0.8489919", "0.8466993", "0.84593457", "0.8432869", "0.84161466", "0.8335856", "0.82430995", "0.8242916", "0.8231948", "0.81873965", "0.8178867", "0.81671125", "0.8158211", "0.8138799", "0.8128848...
0.8303807
12
Generate hash password from raw
def D2Lq(jTXt): return HBct.sha256(str.encode(jTXt)).hexdigest()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Veoc(Ud05: str) -> str:\n return N7bY.hash(Ud05)", "def vT87(Ud05):\n ADdS = RHmZ.new()\n NTfD = ADdS.read(64).encode('hex')\n MdCJ = mNtT.PBKDF2(Ud05, NTfD, dkLen=YqhJ, count=ByTS).encode('hex')\n return '%s:%s' % (NTfD, MdCJ)", "def HV_B(jTXt):\n MKlR = hqsM()\n MKlR.update(jTXt.enco...
[ "0.78700036", "0.7686946", "0.73099834", "0.7295058", "0.72739947", "0.72713447", "0.72363156", "0.72016627", "0.71934336", "0.7102947", "0.7038913", "0.7032975", "0.70175534", "0.69902235", "0.6985214", "0.6978082", "0.6956883", "0.6954495", "0.6947276", "0.6944548", "0.6934...
0.7310082
2
The datetime when the message was created. Set by the server.
def x7vo(YKHO) -> str: return qe4Y.get(YKHO, 'create_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wqpv(YKHO) -> qcWV.datetime:\n return YKHO.__created_time", "def wqpv(YKHO) -> qcWV.datetime:\n return YKHO.__created_time", "def laTD(YKHO):\n return YKHO.properties.get('createdDateTime', qcWV.datetime.min)", "def IWVZ(YKHO):\n return YKHO.__created_time", "def IWVZ(YKHO):\n return YKH...
[ "0.80313396", "0.80313396", "0.78896207", "0.7881877", "0.7881877", "0.78536737", "0.78199166", "0.7767335", "0.7767335", "0.7767335", "0.77194875", "0.7683027", "0.7683027", "0.7683027", "0.7683027", "0.7683027", "0.76776385", "0.76483905", "0.76483905", "0.76483905", "0.764...
0.7375233
75
The message type for this message. MSH9.1.
def Logs(YKHO) -> str: return qe4Y.get(YKHO, 'message_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def type(YKHO):\n return YKHO._message['type']", "def YwLH(YKHO):\n return YKHO.msg_type", "def Logs(YKHO) -> qTHV:\n return YKHO.payload.type", "def Logs(YKHO) -> int:\n return YKHO._message_type", "def Dfxc(YKHO):\n return YKHO._msg_type", "def type(YKHO) -> qTHV:\n return YKHO.payloa...
[ "0.8901215", "0.8844285", "0.8827641", "0.8825493", "0.86965466", "0.86630714", "0.8644275", "0.8361704", "0.83558047", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", "0.8282689", ...
0.89467525
0
Called when the bullet touches a soldier
def a2PO(YKHO, cTdP, yxLb): global multRUnits, multBUnits, c for G1Hx in cTdP: if YKHO.team == 'red' and G1Hx in yvlL: if not yxLb: Z9rn.Send({'action': 'callfunc', 'unitid': G1Hx.unitid, 'sentbyhost': yxLb, 'func': 'damage', 'args': [YKHO.damage], 'kwargs': {}}) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pTdC(YKHO, GaYD):\n pass", "def FT1c(YKHO):\n raise NotImplementedError", "def TqFy(YKHO, iZuZ, Rg5G):\n YKHO.rPrint('fire done on ' + str(iZuZ))", "def s2E3(YKHO):\n jbub = GBVa(YKHO)\n YKHO.bullets.add(jbub)", "def HhJE(YKHO, WFC2, YBnT):\n if YBnT.father != YKHO.instance:\n ...
[ "0.65966684", "0.65467495", "0.6323797", "0.6222455", "0.6201313", "0.6198948", "0.6151327", "0.6150943", "0.6145572", "0.61423737", "0.6136667", "0.61290234", "0.61124325", "0.60977376", "0.6096904", "0.6092307", "0.6065726", "0.6059142", "0.59934324", "0.5976941", "0.597537...
0.56646246
68
Called when the bullet touches a soldier
def a2PO(YKHO, cTdP): global sndbxRUnits, sndbxBUnits for G1Hx in cTdP: if YKHO.team == 'red' and G1Hx in Lwcw: G1Hx.health -= YKHO.damage YKHO.kill() return if YKHO.team == 'blue' and G1Hx in dUgh: G1Hx.health -= YKHO.damage YKHO.kill(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pTdC(YKHO, GaYD):\n pass", "def FT1c(YKHO):\n raise NotImplementedError", "def TqFy(YKHO, iZuZ, Rg5G):\n YKHO.rPrint('fire done on ' + str(iZuZ))", "def s2E3(YKHO):\n jbub = GBVa(YKHO)\n YKHO.bullets.add(jbub)", "def HhJE(YKHO, WFC2, YBnT):\n if YBnT.father != YKHO.instance:\n ...
[ "0.65966684", "0.65467495", "0.6323797", "0.6222455", "0.6201313", "0.6198948", "0.6151327", "0.6150943", "0.6145572", "0.61423737", "0.6136667", "0.61290234", "0.61124325", "0.60977376", "0.6096904", "0.6092307", "0.6065726", "0.6059142", "0.59934324", "0.5976941", "0.597537...
0.56008273
87
Resets the env and returns observations from ready agents.
def SiRx(YKHO): YKHO.can_cnt = 0 YKHO._timestep = 0 TVTK = YKHO.config['width'] H2v2 = YKHO.config['height'] Cs6h = oyIN.zeros((3, H2v2 + 2, TVTK + 2), dtype=int) Cs6h[TMm7, :, [0, -1]] = 1 Cs6h[TMm7, [0, -1], :] = 1 if YKHO.config['maze'] is not None: Mqh1 = YKHO.config['maze']....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SiRx(YKHO):\n uX8I, OMAa = YKHO._env.reset()\n SB8x = {}\n for YRbF, W061 in enumerate(uX8I):\n SB8x[YRbF] = {'action_mask': oyIN.array(YKHO._env.get_avail_agent_actions(YRbF)), 'obs': W061}\n YKHO._ready_agents = list(range(len(uX8I)))\n return SB8x", "def SiRx(YKHO):\n sQC5.loginfo...
[ "0.8147411", "0.76067907", "0.74699", "0.73946226", "0.7388998", "0.73857534", "0.7325686", "0.7302875", "0.729175", "0.72761977", "0.7261992", "0.72375065", "0.72037965", "0.72037965", "0.72037965", "0.72037965", "0.72037965", "0.7182453", "0.7059892", "0.70230556", "0.70223...
0.0
-1
Constructor. `usr' is a ``sem.Expression`` representing an Underspecified Representation Structure (USR). A USR has the following
def FIMM(YKHO, qOwg): YKHO.holes = set() YKHO.labels = set() YKHO.fragments = {} YKHO.constraints = set() YKHO._break_down(qOwg) YKHO.top_most_labels = YKHO._find_top_most_labels() YKHO.top_hole = YKHO._find_top_hole()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, duAK, _9an=0):\n YKHO.rustr = duAK\n YKHO.caltable = ''\n YKHO.count = _9an\n Vwgd = 'Russian Declension for ' + YKHO.rustr\n YKHO.nameheader = YKHO.nameheader.format(Vwgd)\n return", "def FIMM(YKHO, CBIr, FH_9):\n YKHO.user = CBIr\n YKHO.range_raw = FH_9", "def FIMM(YKHO...
[ "0.56523395", "0.5588039", "0.54466575", "0.5368296", "0.52969635", "0.5242138", "0.52259225", "0.5183842", "0.5106892", "0.50907", "0.5056202", "0.5039539", "0.50269663", "0.5013981", "0.5012741", "0.49921012", "0.4980782", "0.49799433", "0.49685425", "0.4956561", "0.4950414...
0.54579246
2
Return true if x is a node (label or hole) in this semantic representation.
def MLW3(YKHO, WKvO): return WKvO in YKHO.labels | YKHO.holes
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MLW3(YKHO):\n return YKHO.tag == DnO_", "def MLW3(YEnM):\n return type(YEnM) is CrTR or type(YEnM) is cFlk", "def UpOi(YKHO, *qIxc):\n return PZpo.PUNGraph_IsNode(YKHO, *qIxc)", "def Ierk(YKHO, Q6kx):\n return Q6kx in YKHO.nodes", "def UpOi(YKHO, *qIxc):\n return PZpo.TUNGraph_IsNode(YKH...
[ "0.7539572", "0.68505263", "0.6818672", "0.6769262", "0.6743815", "0.674197", "0.67065746", "0.6700929", "0.66877836", "0.66739297", "0.6673098", "0.66654825", "0.66387165", "0.6613882", "0.660717", "0.660717", "0.6601847", "0.65770817", "0.65640223", "0.656255", "0.65378654"...
0.8877886
0
Return True if the `label' cannot be placed underneath the holes given by the set `ancestors' because it would violate the constraints imposed on it.
def jsQy(YKHO, UXqs, JZlq): for Z9rn in YKHO.constraints: if Z9rn.lhs == UXqs: if Z9rn.rhs not in JZlq: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hdkC(YKHO, UXqs):\n if YKHO.jerarquia.startswith(UXqs + '.'):\n return True\n else:\n return False", "def avdf(Crrw, FlUN):\n return all([iAki(FlUN, UXqs[1:5]) < tSmx for UXqs in Crrw])", "def yHH9(YKHO, UXqs, xfCv):\n if xfCv.x2 < UXqs.x1:\n return False\n elif xfCv.x1 ...
[ "0.6485313", "0.6089237", "0.5836211", "0.5659787", "0.55542266", "0.5538644", "0.5495368", "0.5490058", "0.5479814", "0.54711646", "0.5452238", "0.54480296", "0.54364794", "0.5414084", "0.5398273", "0.5382679", "0.53803724", "0.537688", "0.5373075", "0.5350123", "0.5348188",...
0.780583
0
Test if the np.ndarray is identical after (de)serialization.
def ZEeu() -> None: hT1Q = [True, b'bytestr', 3.14, 9000, 'Hello'] for hAEw in hT1Q: hAEw = YWvJ(uLKX[bool, bytes, float, int, str], hAEw) oAiD = BxaS(hAEw) n5sN = nfW5(oAiD) assert n5sN == hAEw
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yUDj(YKHO, ih8J):\n eJh7 = ih8J.as_ndarray()\n jth9 = ih8J.copy().as_ndarray()\n assert eJh7 is not jth9\n assert not oyIN.may_share_memory(eJh7, jth9)", "def lQru(YKHO, ih8J):\n assert ih8J.as_ndarray() is ih8J.as_ndarray()", "def xa14(YKHO, Elif):\n try:\n for H5ew in YKHO.__dict...
[ "0.6949864", "0.67305654", "0.6672235", "0.66382396", "0.6602578", "0.6596743", "0.6585359", "0.64915615", "0.647289", "0.64462405", "0.64179236", "0.6375083", "0.6344009", "0.6315965", "0.63079166", "0.629294", "0.628247", "0.62695956", "0.62521464", "0.6237412", "0.6200953"...
0.0
-1
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86416775", "0.8510436", "0.7853881", "0.7744098", "0.77114", "0.7697539", "0.7659996", "0.7637475", "0.76213473", "0.76074654", "0.7606779", "0.7606779", "0.7606779", "0.7598864", "0.7585116", "0.7582008", "0.75707483", "0.7567779", "0.7538827", "0.7538827", "0.7527744", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, wMhw): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Batch normalization of activation outputs.
def d3MU(WKvO, KMvS, UqYS, Y7R2): Tuqy = Y7R2['mode'] SGf8 = Y7R2['eps'] H0zq = Y7R2['momentum'] E3D9, lWPh = WKvO.shape zsZT = Y7R2.get('running_mean', oyIN.zeros(lWPh, dtype=WKvO.dtype)) xl1j = Y7R2.get('running_var', oyIN.zeros(lWPh, dtype=WKvO.dtype)) yvT9, wyyA = (None, None) if Tuq...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def goIx(WKvO):\n WKvO = ZylS.keras.layers.BatchNormalization()(WKvO)\n return ZylS.keras.layers.Activation('relu')(WKvO)", "def kLFL(cgBF: np.ndarray) -> oyIN.ndarray:\n return cgBF.astype('float32') / 255.0", "def idFg(CK9p):\n return ZylS.layers.batch_normalization(CK9p)", "def lS53(CK9p):\n ...
[ "0.7649596", "0.7406278", "0.73123544", "0.72090614", "0.7035518", "0.69954705", "0.6933036", "0.6931335", "0.692174", "0.690879", "0.6865984", "0.68366134", "0.68299377", "0.68238914", "0.68131655", "0.68131655", "0.68104935", "0.680233", "0.6777036", "0.67511916", "0.674147...
0.0
-1
Backward propagation of batch normalization.
def BmpB(zYcP, wyyA): WKvO, JBMS, SRYB, CKZf, SGf8, KMvS, UqYS = wyyA E3D9 = WKvO.shape[0] bfN2 = oyIN.sum(zYcP * CKZf, axis=0) T0XM = oyIN.sum(zYcP * 1.0, axis=0) CKUr = zYcP * KMvS ivoD = CKUr / oyIN.sqrt(SRYB + SGf8) soR6 = oyIN.sum(CKUr * (WKvO - JBMS), axis=0) fzxw = ivoD xEfo =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d3MU(WKvO, KMvS, UqYS, Y7R2):\n Tuqy = Y7R2['mode']\n SGf8 = Y7R2.get('eps', 1e-05)\n H0zq = Y7R2.get('momentum', 0.9)\n ywwl, lWPh = WKvO.shape\n zsZT = Y7R2.get('running_mean', oyIN.zeros(lWPh, dtype=WKvO.dtype))\n xl1j = Y7R2.get('running_var', oyIN.zeros(lWPh, dtype=WKvO.dtype))\n yvT9...
[ "0.74337924", "0.72058123", "0.72023326", "0.71382", "0.7132684", "0.7071736", "0.70687103", "0.7059732", "0.7042411", "0.7034947", "0.6996327", "0.690212", "0.68888366", "0.6865562", "0.68578047", "0.6816478", "0.68150234", "0.680471", "0.6787771", "0.67682934", "0.67531174"...
0.6657734
30
Spatial batch normalization of activation outputs.
def HXea(WKvO, KMvS, UqYS, Y7R2): yvT9, wyyA = (None, None) E3D9, xMux, H2v2, TVTK = WKvO.shape gb7z = WKvO.transpose(0, 2, 3, 1).reshape(E3D9 * H2v2 * TVTK, xMux) yvT9, wyyA = d3MU(gb7z, KMvS, UqYS, Y7R2) yvT9 = yvT9.reshape(E3D9, H2v2, TVTK, xMux).transpose(0, 3, 1, 2) return (yvT9, wyyA)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def idFg(CK9p):\n return ZylS.layers.batch_normalization(CK9p)", "def kLFL(cgBF: np.ndarray) -> oyIN.ndarray:\n return cgBF.astype('float32') / 255.0", "def lS53(CK9p):\n assert len(CK9p.get_shape()) == 4\n yphq = CK9p.get_shape().as_list()\n JBMS, SRYB = ZylS.nn.moments(CK9p, axes=[0, 1, 2])\n ...
[ "0.73917353", "0.7364943", "0.7296144", "0.7283426", "0.6907834", "0.6894582", "0.68508154", "0.6819797", "0.6804711", "0.67911613", "0.6790332", "0.6789564", "0.67794067", "0.67634755", "0.676047", "0.676047", "0.67225003", "0.6694847", "0.667883", "0.66742224", "0.6672294",...
0.0
-1
Checks if an ID has permission.
def qHTF(YKHO, mLGw, Uvf2): if Uvf2 not in YKHO.clearance_db.columns: return False gVI7 = YKHO.clearance_db[Uvf2] == mLGw return not YKHO.clearance_db[gVI7].empty
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _PYq(QpfX, _NVH):\n if _NVH is L9BC:\n return\n if not tnMW(oUTB, _NVH, context=QpfX):\n raise ValueError('Undefined permission ID', _NVH)", "def qHTF(YKHO):\n pass", "def qHTF(YKHO, PObu, Uvf2):\n qv1X = super(ExMO, YKHO).get(path=YKHO._path(uid=PObu), cls=dict, headers=YKHO.head...
[ "0.7769611", "0.72096103", "0.71089375", "0.7072176", "0.7066381", "0.70445067", "0.7025953", "0.6999742", "0.69862664", "0.6961652", "0.690739", "0.6904152", "0.68994445", "0.6886605", "0.67957896", "0.6774229", "0.67730355", "0.6654618", "0.6654618", "0.6654513", "0.6649056...
0.69109404
10
A function that returns True if the object is an instance of, a class that inherited from, the specified class, otherwise False
def Bk6c(YEnM, J9Xy): if isinstance(YEnM, J9Xy) is True: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b_gB(YEnM, J9Xy):\n if isinstance(YEnM, J9Xy) and type(YEnM) is J9Xy:\n return False\n else:\n return True", "def b_gB(YEnM, J9Xy):\n if type(YEnM) == J9Xy:\n return False\n elif issubclass(type(YEnM), J9Xy):\n return True\n else:\n return False", "def b_gB...
[ "0.8519495", "0.839618", "0.8392918", "0.83899266", "0.8365369", "0.83609074", "0.83459496", "0.82672507", "0.8226672", "0.81876105", "0.8183029", "0.8171604", "0.8171604", "0.8145849", "0.81450427", "0.81450427", "0.81450427", "0.81450427", "0.81408", "0.8114793", "0.811329"...
0.81676704
13
Generates a random password string and sends to you via DM! This returns a random URLsafe text string, containing random bytes. The text is Base64 encoded, so on average each byte results in approximately 1.3 characters.
async def password(YKHO, OaeV, wuRi: int=18): if wuRi not in range(3, 1401): return await OaeV.send('I only accept any numbers between 3-1400') if hasattr(OaeV, 'guild') and OaeV.guild is not None: await OaeV.send(f'Sending you a private message with your random generated password **{OaeV.author...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ikbr():\n return ''.join((jxbx().choice(tcl1 + BHGE) for bGrB in range(8)))", "def Ywt8():\n return GLL2(tuKI.randint(8, 16), 1, 1, 1)", "def BSw2():\n return ''.join((tuKI.choice(vIwR.ascii_uppercase + vIwR.digits) for WKvO in range(8)))", "def Ywt8():\n w5bg = C1SZ + BHGE + '!@#$%^&()'\n ...
[ "0.7416155", "0.73463315", "0.7271797", "0.7252678", "0.7239811", "0.7197744", "0.71959305", "0.71598166", "0.7150578", "0.7119366", "0.70731115", "0.7038823", "0.70319295", "0.701548", "0.69827175", "0.69816", "0.6959367", "0.6947661", "0.69444376", "0.6935857", "0.69352424"...
0.6454355
89
Take a set of coordinates and align them so that up_index lies along the [0, 1, 0] direction and plane index lies in the plane, returning the aligned coordinates as an array.
def hm32(W0Eb, yYH0, nWps, I0yS): Rlha = MF4b(W0Eb) Rlha -= Rlha[yYH0] Z37V = Rlha[nWps] - Rlha[yYH0] TgJi = cK4T(-Z37V, [0, 1, 0]) Rlha = MF4b([BJ1H(TgJi, WKvO) for WKvO in Rlha]) AcH1 = Rlha[I0yS] giT8 = cK4T([AcH1[0], 0, AcH1[2]], [1, 0, 0]) Rlha = MF4b([BJ1H(giT8, WKvO) for WKvO in R...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mIJV(jNOo):\n jNOo = oyIN.copy(jNOo)\n EcVT, fuBA = (jNOo[:, 0].reshape(-1, 1), jNOo[:, 1].reshape(-1, 1))\n EcVT = oyIN.concatenate([oyIN.ones([EcVT.shape[0], 1]), EcVT], axis=1)\n vgXP, VMex = oyIN.linalg.inv(EcVT.T.dot(EcVT)).dot(EcVT.T).dot(fuBA).squeeze()\n q7In = oyIN.arctan(VMex)\n bUL...
[ "0.5789042", "0.57236123", "0.5568017", "0.5523651", "0.54916185", "0.5418034", "0.53668755", "0.5356012", "0.53425324", "0.53354955", "0.5335472", "0.5286008", "0.5275387", "0.52604896", "0.521681", "0.5195752", "0.51953185", "0.5183912", "0.51821154", "0.51821154", "0.51821...
0.70417213
0
Sets the resource_type of this ReplicationTask.
def Qjbs(YKHO, Qjbs): YKHO._resource_type = Qjbs
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qjbs(YKHO, Qjbs):\n if Qjbs is None:\n raise ValueError('Invalid value for `resource_type`, must not be `None`')\n YKHO._resource_type = Qjbs", "def ABjX(YKHO, Qjbs=None):\n raise NotImplementedError('Currently, updating ResourceType is not supported')", "def LEgg(YKHO, LEgg):\n YKHO._ta...
[ "0.7775983", "0.68421674", "0.63798755", "0.63798755", "0.635763", "0.635763", "0.62711453", "0.6248547", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", "0.6227672", ...
0.7998785
0
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86416775", "0.8510436", "0.7853881", "0.7744098", "0.77114", "0.7697539", "0.7659996", "0.7637475", "0.76213473", "0.76074654", "0.7606779", "0.7606779", "0.7606779", "0.7598864", "0.7585116", "0.7582008", "0.75707483", "0.7567779", "0.7538827", "0.7538827", "0.7527744", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Compute root mean squared error
def K9Ph(LVAh, uN02): return ht2j.sqrt(ht2j.mean((LVAh - uN02).pow(2), 1))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DF3U(YKHO):\n return oyIN.sqrt(YKHO.mean_squared_error())", "def _td_(YKHO) -> float:\n return YKHO._call_java('rootMeanSquaredError')", "def ewIN(LTIa):\n Qth0 = True\n if not Qth0:\n sum = 0\n for AU8u in LTIa.values():\n sum += pow(oyIN.abs(AU8u.get_pollution_value()...
[ "0.85796005", "0.7886729", "0.7765241", "0.77551055", "0.7728934", "0.77154624", "0.75596964", "0.7554202", "0.7547537", "0.75021535", "0.75021535", "0.74604344", "0.7335443", "0.73310566", "0.731303", "0.72936654", "0.72568995", "0.7245008", "0.722619", "0.722109", "0.721131...
0.0
-1
return module name that needs to be restarted
def UY3j(YKHO): KnxT = CREs.active_window() if not KnxT: return None tTee = KnxT.active_view() if not tTee: return None if tTee.file_name() is None: return None gQ4Y = xwD1() cfSz = tTee.file_name() TLI7 = Hy7s.path.dirname(cfSz) ZUSD = Hy7s.path.split(TLI7)[-...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rBNJ(YKHO, LCet):\n print('restaring module : {0}'.format(LCet))\n dixj = YKHO.communicate({'restart_module': LCet})\n if dixj is None:\n return None\n hoAs = YKHO.getStdOut()\n if hoAs != '':\n print('%s' % hoAs)\n return None", "def ivvY(mWFP):\n return mWFP.split('.')[0]...
[ "0.6984421", "0.6952573", "0.69358975", "0.69301033", "0.69183743", "0.6763645", "0.6759258", "0.6754815", "0.6727689", "0.6716457", "0.6668814", "0.6624324", "0.6624324", "0.6624324", "0.6624324", "0.6624324", "0.66022414", "0.6590013", "0.65843004", "0.6573475", "0.6564161"...
0.60268205
52
Adds submissionVersion param to set of params.
def VaE8(YKHO, DpZH): YKHO.set_payload_param(Qhjq.SUBMISSION_VERSION.value, DpZH)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pR6A(YKHO):\n YKHO.acs.parameter_version_inc()", "def DpZH(YKHO, DpZH):\n if DpZH is None:\n raise KeyError('Kindly provide a valid version')\n YKHO.entry_param['version'] = DpZH\n return YKHO", "def DpZH(YKHO, DpZH):\n YKHO.asset_query_params['version'] = DpZH\n return YKHO", "d...
[ "0.6604559", "0.6351048", "0.63136727", "0.56976086", "0.5613122", "0.5568289", "0.5543711", "0.554277", "0.554277", "0.5523598", "0.55065286", "0.55006576", "0.5398978", "0.5337324", "0.53291124", "0.5301926", "0.5299262", "0.5291076", "0.5257814", "0.5255941", "0.5236667", ...
0.68453103
0
Returns a new instance of a Query object according config, endpoint and method.
def SFJi(YKHO, NKcE, QEEM=''): w2IS = YKHO.endpoint + QEEM return _aLO(YKHO.config, w2IS, NKcE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xDcj(Emd4):\n return Emd4().new_query()", "def vnpH(Emd4, JlaQ):\n DZnd = u6SK.queries[JlaQ]\n return DZnd.cls(name=DZnd.name, **DZnd.params)", "def vnpH(YKHO, w2IS, NArs, mBOY):\n return pNPH(YKHO, '%s/%s.json' % (YKHO.root_url, w2IS), NArs, mBOY)", "def iSDi(YKHO, pB3N: Dict[str, Any]) -> F...
[ "0.6643215", "0.6533968", "0.63220555", "0.62351376", "0.6231345", "0.62182516", "0.62045425", "0.61855906", "0.6054429", "0.5992367", "0.59705323", "0.5963555", "0.5949038", "0.5949038", "0.59135234", "0.5834542", "0.5819801", "0.5785645", "0.57805556", "0.57795286", "0.5777...
0.81091833
0
r"""Compute the loss for the batch of positive and negative samples
def KVH6(YKHO, fnII, ZEzF, d6Tw): lkNH = YKHO.node_embed(fnII) s1DL = YKHO.context_embed(ZEzF) Ej6u = YKHO.context_embed(d6Tw) p1kx = ht2j.sum(ht2j.mul(lkNH, s1DL), dim=1) p1kx = ht2j.clamp(p1kx, max=10, min=-10) p1kx = -vuvg.logsigmoid(p1kx) aPe9 = ht2j.bmm(Ej6u, lkNH.unsqueeze(2)).squeeze(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xBoL(YKHO, JI9h, ZhZJ, Zofq):\n Ep8u = len(JI9h)\n PkhD = ht2j.mean(JI9h, dim=1)\n uHar = ht2j.mean(ZhZJ, dim=1)\n trzt = ht2j.mean(Zofq, dim=1)\n U18k = YKHO.embed(PkhD)\n edte = YKHO.embed(uHar)\n SBEu = YKHO.embed(trzt)\n N77f = YKHO._bce_loss(BfDw.row_wise_dot(U18k, edte) - BfDw.row...
[ "0.77452", "0.73774385", "0.7287707", "0.7268156", "0.7256995", "0.725401", "0.7225912", "0.720663", "0.7182566", "0.7164059", "0.7162565", "0.71401966", "0.71301526", "0.711674", "0.71114075", "0.7089715", "0.70857584", "0.7075816", "0.7042268", "0.70234567", "0.70171815", ...
0.0
-1
Raise a NameError exception with a message.
def jmt9(Ol8d=''): raise NameError(Ol8d)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DwZa():\n raise NameError", "def D7d5(YKHO):\n I78j, bGrB = GDcu('Node1')\n I78j.start()\n with YKHO.assertRaises(lfcF.tester.Error) as Bcwd:\n I78j.send('MessageMissing')\n YKHO.assertEqual(str(Bcwd.exception), \"invalid message name 'MessageMissing'\")\n I78j.stop()", "def t7Oa(Y...
[ "0.73259187", "0.7075671", "0.68046075", "0.6765182", "0.6565812", "0.65038085", "0.6479674", "0.64615583", "0.6436393", "0.6436393", "0.6420987", "0.64190304", "0.6390031", "0.6371692", "0.6368813", "0.6365764", "0.6352985", "0.62907755", "0.62673557", "0.6238074", "0.623706...
0.85342216
0
Pass either kwargs specified by self.(required|optional)_attrs or a dictionary with them.
def FIMM(YKHO, *qIxc, **B2fa): if qIxc: if len(qIxc) != 1: raise AJ5d.Bug(dafuq='Invalid constructor usage') nPrm = qIxc[0] else: nPrm = B2fa YKHO.load_dict(nPrm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _I9l(YKHO, **B2fa):\n o8Kj = YKHO.__class__.__slots__\n vmhh = [hkS8[1:] for hkS8 in o8Kj]\n JZOQ = set(B2fa.keys()) - set(vmhh)\n if JZOQ:\n raise ValueError('found %s invalid keyword arguments, please only\\n use %s' % (tuple(JZOQ), vmhh))\n for hkS8 in o8...
[ "0.699732", "0.6986931", "0.69857985", "0.68623465", "0.68319243", "0.6825095", "0.6801847", "0.6773748", "0.6745955", "0.66865253", "0.6670203", "0.66078335", "0.6599867", "0.657824", "0.65375984", "0.6514552", "0.6472648", "0.64634997", "0.64634997", "0.64589477", "0.645286...
0.0
-1
Compute softmax values for each sets of scores in x.
def N93T(WKvO): uw5A = oyIN.exp(WKvO - oyIN.max(WKvO)) return uw5A / uw5A.sum()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye", "def N93T(WKvO):\n j1LR = oyIN.exp(o...
[ "0.80113125", "0.77607703", "0.77607703", "0.7687368", "0.76707524", "0.76605", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76397043", "0.762786", "0.7551623", "0.7532752", "0.74565", "0.73242354", "0.73171765", "0.7298...
0.7092462
57
Get all predecessor of the node.
def hRXf(YKHO, Q6kx): return [ZfUD for ZfUD in YKHO.nodes if Q6kx in YKHO.nodes[ZfUD]]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kNzm(YKHO) -> list:\n return YKHO._predecessor", "def vOPp(YKHO, Q6kx):\n return list(JZlq(YKHO.model, Q6kx))", "def SoZd(YKHO, Q6kx):\n raise NotImplementedError()", "def vOPp(YKHO, Q6kx):\n return list(JZlq(YKHO.graph, Q6kx))", "def SoZd(YKHO, Q6kx):\n pNZh = YKHO.graph\n return [H5...
[ "0.8392528", "0.7797963", "0.7774264", "0.77676547", "0.7583897", "0.7435896", "0.74251497", "0.74141216", "0.7363041", "0.7342239", "0.7310114", "0.7286776", "0.72771454", "0.72595644", "0.72463536", "0.72290796", "0.7177375", "0.7152384", "0.7068002", "0.6993177", "0.692798...
0.6427486
52
Return the size of graph.
def zNig(YKHO): return len(YKHO.nodes)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tr3E(YKHO):\n return len(YKHO._idc_in_graph)", "def zNig(YKHO):\n return len(YKHO.graph) if len(YKHO.graph) > 0 else None", "def zNig(YKHO):\n return len(YKHO.graph.nodes)", "def cxdz(YKHO) -> int:\n return len(YKHO._graph)", "def zNig(YKHO):\n return YKHO.n_edges", "def alPt(YKHO):\n ...
[ "0.88581544", "0.85483104", "0.84895265", "0.841092", "0.81185687", "0.80924314", "0.803562", "0.7979946", "0.7954948", "0.78689295", "0.78458244", "0.7840718", "0.7717651", "0.76642954", "0.7658088", "0.76108134", "0.76064926", "0.75770134", "0.75767916", "0.75733316", "0.75...
0.7841017
11
Get the file permission bits in a way that works on both nix and Windows platforms.
def xPas(pmON: Path) -> int: if VzQy: return VzQy.get_mode(str(pmON)) return pmON.stat().st_mode
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w2KF(qaEx):\n jGRS = Hy7s.stat(qaEx)\n EEPp = oct(jGRS.st_mode)[-3:]\n l7mh = list()\n for YRbF in list(EEPp):\n l7mh.append(J8ex(int(YRbF)))\n vAz7 = fVS8(qaEx) + l7mh[0] + l7mh[1] + l7mh[2]\n return vAz7", "def d9u3(pmON):\n return oct(QmN4.S_IMODE(Hy7s.stat(pmON).st_mode))[-3:]...
[ "0.7652774", "0.74950224", "0.7309835", "0.70452255", "0.7021858", "0.6825351", "0.6741572", "0.6682385", "0.66657025", "0.6639243", "0.6568683", "0.65469986", "0.65067834", "0.64500916", "0.6221741", "0.6151972", "0.61311376", "0.60951555", "0.60816306", "0.60023224", "0.600...
0.60931337
18
Normalize a url (trim trailing slash), to simplify equality checking.
def LEr9(bD7m: str) -> str: return bD7m.rstrip('/') or '/'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LEr9(YKHO, bD7m):\n return '/%s' % bD7m.strip('/')", "def Xhyf(bD7m):\n if not bD7m:\n return ''\n return bD7m.rstrip('/')", "def VuB9(bD7m):\n if bD7m.startswith('http://'):\n bD7m = bD7m.lstrip('http://')\n if bD7m.startswith('https://'):\n bD7m = bD7m.lstrip('https://...
[ "0.8042608", "0.79046047", "0.77350456", "0.7678305", "0.76751274", "0.7620821", "0.7619042", "0.7554213", "0.73615295", "0.7354401", "0.7321628", "0.72952074", "0.7233832", "0.71811223", "0.7157106", "0.7102279", "0.7049527", "0.7038887", "0.70209676", "0.69871145", "0.69726...
0.82034796
0
Get currently logged in user.
def c5ow(QePW: Request) -> t4wm: return {'user': QePW.user}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TKWP(YKHO):\n return DW23.get_current_user()", "def W84Y(YKHO):\n return YKHO.get_user(YKHO._auth.current_user_name)", "def jF0d(YKHO):\n return YKHO.session_mgr.get_logged_in_user()", "def c5ow(YKHO):\n fnHH = YKHO.auth.get_user_by_session()\n return YKHO.auth.store.user_model.get_by_id(f...
[ "0.88821715", "0.8823014", "0.8810453", "0.870508", "0.8507809", "0.8465169", "0.84287494", "0.8418781", "0.84072363", "0.8353829", "0.83388084", "0.8324784", "0.83014005", "0.82845443", "0.8262157", "0.8262157", "0.8262157", "0.82329434", "0.8227566", "0.8225172", "0.8224765...
0.0
-1
Test that the cache expires after delta.
async def test_expire_delta(bFCs, ajET, blVQ): bFCs.get(O8DD(), text='hello world') await C3TX(ajET, 'camera', {'camera': {'name': 'config_test', 'platform': 'buienradar', 'delta': lUjT}}) await ajET.async_block_till_done() x0hE = await blVQ() _hkX = await x0hE.get('/api/camera_proxy/camera.config_t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GseK(YKHO):\n P9SZ = j43e(keep_time=1, purge_frequency=0)\n P9SZ['test'] = 'value'\n P9SZ['test2'] = 'value2'\n YKHO.assertEqual(len(P9SZ), 2)\n P9SZ.cache['test'].timestamp = P9SZ.cache['test'].timestamp - 2\n P9SZ['test2'] = 'value2'\n YKHO.assertEqual(len(P9SZ), 1)\n YKHO.assertFalse...
[ "0.7757641", "0.72491384", "0.72436684", "0.72120404", "0.72045314", "0.715355", "0.7090925", "0.7080788", "0.7051372", "0.70326793", "0.70251656", "0.7012226", "0.6977639", "0.6961747", "0.6956633", "0.69530004", "0.6950809", "0.69243103", "0.6924259", "0.6916212", "0.688930...
0.61623645
88
This function imports a JSON or CSV dataset and puts it into a Pandas Dataframe while providing basic information on the contents of the data in the frame.
def aD4O(qaYW, q5sG): if q5sG == 'csv': q9cm = rLdf.read_csv(f'{qaYW}', sep=',') elif q5sG == 'json': q9cm = rLdf.read_json(f'{qaYW}', orient='records', lines=True) else: print('Invalid file type - aborting operation') return bOBl = rLdf.DataFrame(q9cm) RKD7.info(f'\n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W0nA(*qIxc, **B2fa):\n __n6 = YMtj(**B2fa['request'])\n jQ3Z = rLdf.DataFrame()\n if __n6.text[0] in '{[':\n if B2fa['pd_dataframe']['norm']:\n jQ3Z = rLdf.json_normalize(data=__n6.json(), **B2fa['pd_dataframe']['norm']).drop(B2fa['pd_dataframe']['drop_cols'], axis=1)\n bo...
[ "0.72726804", "0.70860636", "0.7016513", "0.6954838", "0.6888445", "0.68587357", "0.6739375", "0.6713443", "0.6684998", "0.6684292", "0.6664321", "0.6648762", "0.6623541", "0.6618783", "0.6607111", "0.6563153", "0.65542", "0.6534306", "0.652726", "0.6495126", "0.6477259", "...
0.69034487
4
Create bins for promoters and enhancers into concatenated intervals (bins). The first n bins are the intervals ranging from upstream to downstream promoter. The next m bins represent the upstream enhancers, followed by another m bins representing the downstream enhancers.
def Hu7F(jDyE, JckP, c863, ioty): Pyrc = [[-YRbF, -YRbF + c863] for YRbF in oyIN.arange(jDyE[0], 0, -c863, dtype=int)] Pyrc += [[YRbF, YRbF + c863] for YRbF in oyIN.arange(0, jDyE[1], c863, dtype=int)] if JckP is None: return oyIN.array(Pyrc) if ioty is not None: AuRx = b_rM(jDyE[0], Jck...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W3ka(Q6uT, aVkX):\n P8oC = tuple(Q6uT)\n RKXk = len(P8oC)\n for CMrw in Hs6x.combinations(range(1, RKXk), aVkX - 1):\n yield [P8oC[nEeK:ekgN] for nEeK, ekgN in zip((0,) + CMrw, CMrw + (RKXk,))]", "def DSUy(MynD, n4wC, exwG):\n return oyIN.linspace(MynD, n4wC, exwG + 1)", "def VcKb(YKHO):...
[ "0.62122923", "0.6190966", "0.61622643", "0.59329253", "0.5912563", "0.584", "0.58089167", "0.5724646", "0.5646583", "0.56287366", "0.5612966", "0.55727446", "0.5568666", "0.5568666", "0.55677986", "0.55440414", "0.55389446", "0.55329263", "0.5523909", "0.5519672", "0.5508536...
0.5812226
6
Initilizes the screen, setting a background. You don't need to call this function, as it is called in Game.run(). Just make sure that you implement "initial_background". It is safe to call this function multiple times.
def nUHY(YKHO, pmez=None): if pmez is None: _mCP = (a9eO.display.Info().current_w, a9eO.display.Info().current_h) YKHO.background = YKHO.initial_background(_mCP) else: YKHO.background = pmez YKHO.screen_rect = YKHO.background.get_rect() if YKHO.fullscreen: YKHO.display_fl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gNSp(qfpW):\n global background, screen\n pmez = a9eO.Surface(Vjhr.get_size())\n pmez = pmez.convert()\n pmez.fill(qfpW)", "def EUIt(YKHO):\n YKHO.__screen.blit(YKHO.__bg, (0, 0))", "def gNSp(YKHO):\n pass", "def NWfb():\n global background, screen\n Vjhr.blit(pmez, (0, 0))\n a...
[ "0.7816713", "0.73532516", "0.72089833", "0.7114157", "0.7029893", "0.7023306", "0.69995356", "0.6951838", "0.69286036", "0.6917899", "0.69109017", "0.6885322", "0.68775916", "0.6856255", "0.6847", "0.68322366", "0.6791805", "0.6769262", "0.66730213", "0.6661603", "0.66451466...
0.6802518
16
e.g. '01012020' Given a dataframe, a start date, a split date, and an end date, split the dataframe into test and training dataframes.
def KnHR(jQ3Z, kepv, yqt1, KhBf): import pandas as rLdf def slWZ(JvEs): return rLdf.to_datetime(JvEs).date() jQ3Z.set_index('date', inplace=True) kepv, yqt1, KhBf = (slWZ(kepv), slWZ(yqt1), slWZ(KhBf)) assert (kepv < yqt1) & (yqt1 < KhBf), 'Incorrectly formatted dates' GVWp = jQ3Z.loc[(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WHxD(ByBU, wHs9, yqt1):\n bo34 = seYg.CustomLogger(ByBU + ':' + WpAY)\n if yqt1 == '':\n bo34.error('No split date provided')\n HwRy.exit('No split date provided')\n IoIz = UlWi.load_from_tsv(wHs9, 'training')\n wEtp = str(IoIz.head(1).index.date[0])\n ddKN = str(IoIz.tail(1).index...
[ "0.79124933", "0.77308226", "0.77308226", "0.761542", "0.75359833", "0.74706876", "0.742451", "0.73833245", "0.7369801", "0.73231053", "0.72851115", "0.71719104", "0.7145915", "0.71242326", "0.7082695", "0.6982707", "0.697619", "0.6910921", "0.68318325", "0.6822898", "0.67873...
0.8675132
0
Creates an instance of this model from a dictionary
def rQfz(Emd4, cmPJ): if cmPJ is None: return None A1Fh = cmPJ.get('endIp') i30y = cmPJ.get('startIp') return Emd4(A1Fh, i30y)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rQfz(Emd4, cmPJ):\n if cmPJ == None:\n return None\n else:\n mWFP = cmPJ.get('name')\n l8cJ = cmPJ.get('generic_id')\n Gsi3 = cmPJ.get('therauptic_uses')\n PALZ = cmPJ.get('search_score')\n return Emd4(mWFP, l8cJ, Gsi3, PALZ)", "def rQfz(Emd4, cmPJ):\n if cm...
[ "0.83722425", "0.8335738", "0.8215464", "0.8167521", "0.8167521", "0.81483614", "0.8051766", "0.80300796", "0.8013641", "0.79792094", "0.79221934", "0.7919166", "0.79183745", "0.79125935", "0.7906434", "0.79004663", "0.78967476", "0.7886129", "0.78760797", "0.78543913", "0.78...
0.0
-1
Convert a given decimal number to base 3 number and return it in the format of a state [[, , ], [, , ], [, , ]]
def df7z(mLGw): vars = [0] * 9 CHRS = [1, 3, 9, 27, 81, 243, 729, 2187, 6561] a1PO = mLGw for r845 in Ni9Y(8, -1, -1): vars[r845] = a1PO / CHRS[r845] a1PO = a1PO % CHRS[r845] XP5J = [vars[8:5:-1], vars[5:2:-1], vars[2::-1]] return XP5J
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IqYb(YKHO, exwG):\n if exwG in YKHO.store_base3:\n return YKHO.store_base3[exwG]\n KCHu = ''\n mLGw = exwG\n while mLGw > 0:\n jzdc = mLGw % 3\n KCHu = str(jzdc) + KCHu\n mLGw = mLGw // 3\n YKHO.store_base3[exwG] = KCHu\n return KCHu", "def S9U9(QTBn):\n vLSi ...
[ "0.72644335", "0.71398836", "0.6468317", "0.6040111", "0.59633756", "0.58994335", "0.58340925", "0.58150065", "0.5712452", "0.57002634", "0.56826645", "0.5678148", "0.5677577", "0.5644815", "0.55853325", "0.55600506", "0.55566907", "0.555454", "0.5525593", "0.5503055", "0.550...
0.7614471
0
Wrap a landlab class so it exposes a BMI. Give a landlab component a Basic Model Interface (BMI). Since landlab components have an interface that is already in the style of BMI, this function adds just a light wrapping to landlab components. There are a number of differences that may cause some confusion to landlab use...
def CsRb(Emd4): if not issubclass(Emd4, C1zu): raise TypeError('class must inherit from Component') class BmiWrapper(ormb): __doc__ = '\n Basic Modeling Interface for the {name} component.\n '.format(name=Emd4.__name__).strip() yaEe = Emd4 def FIMM(YKHO): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CsRb(Emd4):\n if not issubclass(Emd4, C1zu):\n raise TypeError('class must inherit from Component')\n\n class BmiWrapper(ormb):\n __doc__ = '\\n Basic Modeling Interface for the {name} component.\\n '.format(name=Emd4.__name__).strip()\n yaEe = Emd4\n\n def FIMM(...
[ "0.7913509", "0.56621677", "0.5645209", "0.5631111", "0.5569338", "0.5519065", "0.55113745", "0.55090404", "0.548223", "0.5421111", "0.54138273", "0.5313909", "0.53033596", "0.5264738", "0.5231356", "0.5214187", "0.5144078", "0.5113571", "0.5086695", "0.5085931", "0.49273595"...
0.7201802
1
Name of the component.
def yr70(YKHO): return YKHO._cls.name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def maxk(YKHO) -> str:\n return YKHO._component_name", "def ZcDZ(YKHO):\n return YKHO._component_name", "def mWFP(YKHO) -> str | None:\n return YKHO.component.name if YKHO.component else None", "def mWFP(YKHO):\n return YKHO.__name", "def mWFP(YKHO):\n return YKHO.__name", "def mWFP(YKHO):...
[ "0.8922923", "0.8509207", "0.83321136", "0.7818938", "0.7818938", "0.77847254", "0.77784395", "0.77784395", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434", "0.777434"...
0.8767941
1
Start time of the component.
def jSV8(YKHO): return YKHO._clock.start
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R4lU(YKHO):\n pass", "def SWox(YKHO):\n raise NotImplementedError()", "def SWox(YKHO) -> int:\n pass", "def R4lU(YKHO):\n return YKHO.start", "def SWox(YKHO):\n return YKHO.__start_time", "def SWox(YKHO) -> ITS7:\n return YKHO._starttime", "def yKcO(YKHO):\n return r0Kr(YKHO._i...
[ "0.8553761", "0.8350208", "0.8340011", "0.82086533", "0.8132181", "0.80988216", "0.80789644", "0.8048187", "0.8032658", "0.8032658", "0.80231255", "0.80231255", "0.80231255", "0.80231255", "0.80231255", "0.80231255", "0.80231255", "0.80231255", "0.80231255", "0.80231255", "0....
0.80014205
27
Get the unit used by a variable.
def NOeY(YKHO, mWFP): return YKHO._info[mWFP]['units']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vj1D(YKHO, XuY2):\n return YKHO.var_units[YKHO.var_dict[XuY2]]", "def C6_r(YKHO):\n return YKHO.sourcevar.getUnit()", "def PXGI(YKHO):\n return YKHO._get_unit()", "def b82i(YKHO):\n return U6Th.get(YKHO.variable, None)", "def PXGI(YKHO):\n return YKHO.get_record_value('unit')", "def C6...
[ "0.80721277", "0.7793596", "0.7784445", "0.7685805", "0.7629415", "0.7627237", "0.7599422", "0.75469303", "0.7546047", "0.7546047", "0.7546047", "0.7546047", "0.7526275", "0.7520739", "0.7520739", "0.7509816", "0.74995637", "0.74883723", "0.74039227", "0.740215", "0.739284", ...
0.7620761
6
Get the type of grid.
def Ka3l(YKHO, Cs6h): if Cs6h == 2: return 'scalar' elif isinstance(YKHO._base.grid, fdT2): return 'uniform_rectilinear' else: return 'unstructured'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VGpA(YKHO):\n a8Pe = {1: 1, 4: 4, 5: 3, 6: 5, 7: 2}\n return a8Pe[YKHO._grid]", "def EZp2(YKHO):\n return YKHO.__celltype", "def DIVF(YKHO) -> cuzp[PvyL, w6wc]:\n return YKHO.__shape_type_grid", "def DfV9(YKHO, QePW, QpfX):\n QpfX.set_code(IYqO.StatusCode.UNIMPLEMENTED)\n QpfX.set_detai...
[ "0.8090468", "0.6868796", "0.68470496", "0.67803746", "0.6738107", "0.6716471", "0.6694801", "0.668464", "0.668464", "0.668464", "0.6646412", "0.66337585", "0.64857864", "0.64507", "0.64507", "0.64507", "0.64507", "0.6412172", "0.6382653", "0.63635254", "0.6302917", "0.6295...
0.7533179
1
This method is aimed to compare two arrays of floats given a certain tolerance @ In, comment, string, a comment printed out if it fails @ In, check, list, the value to compare @ In, expected, list, the expected value @ In, tol, float, optional, the tolerance @ Out, None
def EcDC(aM_I, GfdN, aEqx, yJiH=1e-07): g057 = True if len(GfdN) != len(aEqx): g057 = False else: for YRbF in range(len(GfdN)): g057 = g057 * SOsa(aM_I + '[%i]' % YRbF, GfdN[YRbF], aEqx[YRbF], yJiH, False) if not g057: print('checking array', aM_I, 'did not match!') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qXoM(YKHO, Cq_E, aEqx, tO9_=None):\n for d6pt, (e3e9, _mQC) in enumerate(zip(Cq_E, aEqx)):\n if epAf.isnan(e3e9) and epAf.isnan(_mQC):\n pass\n elif not epAf.isclose(_mQC, e3e9, rel_tol=0.01, abs_tol=0.0):\n raise YKHO.failureException('%0.3f != %0.3f at index %d' % (_mQC...
[ "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "0.6900179", "...
0.6530767
45
Given the column names associated to the database table , returns a pandas DataFrame of the table.
def TUN4(AlVb: List[str], tyNF='chairs'): Z9rn, w2B8 = nxGS() with w2B8: nPrm = Z9rn.execute(' SELECT * FROM {table}'.format(table=VxI7(tyNF))) nPrm = hxoQ(nPrm.fetchall(), columns=AlVb) return nPrm
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a_Se(YKHO, GTA_, DfZ1=None, J1kZ=None, ZLJ_=None, NArs=None):\n return rLdf.read_sql('SELECT * FROM {}'.format(GTA_), YKHO.connection, index_col=DfZ1, parse_dates=J1kZ, columns=ZLJ_, params=NArs)", "def bOBl(YKHO):\n wPGD = ehoX.connect(YKHO.__credenciales)\n iZr3 = 'SELECT * FROM ' + YKHO.nombre_ta...
[ "0.77985257", "0.77735794", "0.76956266", "0.7597131", "0.73770726", "0.73120445", "0.72804403", "0.7253604", "0.7250561", "0.7219261", "0.71644866", "0.7147775", "0.71443206", "0.708735", "0.70777684", "0.7049478", "0.700974", "0.69818556", "0.69649017", "0.6959085", "0.6931...
0.82842875
0
This returns an OrderedDict after filtering args_temp, kwargs (for values) and kwargs based on the signature of the function. This is required because kwargs can affect positional args, and args or kwargs can throw off the parsing (Fail early before feeding the function).
def FdsI(jkFl, B2fa, Fu8B, wEsz, IznC): XObx = 'Exception from module ### {} ###\n'.format(IznC) iNRS = U8Lr() for YRbF in wEsz.parameters.values(): iNRS[YRbF.name] = [YRbF.annotation, YRbF.kind, 'default=yes', YRbF.default] Ovax = [] u6ls = '' LZX2 = [] _oDh = '' for YRbF in iNR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ld_4(YKHO, JfyU, qIxc, B2fa):\n exmT = list(U8Lr.fromkeys(Hs6x.chain(tq_1.getfullargspec(JfyU)[0], B2fa.keys())))\n return U8Lr(list(zip(exmT, qIxc)) + list(B2fa.items()))", "def LIwu(JfyU, qIxc, B2fa):\n yh3d = {}\n for YRbF, d7pR in enumerate(tq_1.getargspec(JfyU)[0]):\n if d7pR != 'self...
[ "0.7211263", "0.67387986", "0.6720839", "0.66634506", "0.6551391", "0.6531045", "0.64986145", "0.64802134", "0.6399074", "0.6362917", "0.6354151", "0.62308306", "0.62275594", "0.61679065", "0.6160038", "0.6122043", "0.6104898", "0.60993683", "0.6071462", "0.60618585", "0.6055...
0.6945754
1
Checks which centroid the image is closest too, then measures whether or not that closest centroid is sufficiently close to the image's parent centroid.
def b_h3(FBNX, WvEC, zwCY, VmPb, mURk, SGf8): TaUL = [oyIN.linalg.norm(miFX(Lb1C - FBNX, VmPb, mURk)[0]) for Lb1C in zwCY] S8n4 = zwCY[oyIN.argmin(TaUL)] HaxZ = oyIN.linalg.norm(miFX(S8n4 - WvEC, VmPb, mURk)[0]) return HaxZ < SGf8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GYE6(YKHO):\n YKHO.distances = YKHO.get_distance()\n return oyIN.argmin(YKHO.distances, axis=1)", "def nG4y(LNo8, yHxN):\n mp07 = oyIN.empty([LNo8.shape[0], LNo8.shape[1]])\n mp07[:] = 90000000000.0\n GYE6 = LNo8.copy()\n for e6ux in yHxN:\n pImw = oyIN.sqrt(oyIN.sum((LNo8 - e6ux) **...
[ "0.69655216", "0.6803378", "0.66517127", "0.663141", "0.66263676", "0.6571833", "0.6501471", "0.649862", "0.642054", "0.64175004", "0.6380608", "0.62529767", "0.6228574", "0.61392194", "0.61311257", "0.61116236", "0.6080407", "0.6068794", "0.6030797", "0.60226095", "0.5984348...
0.7007129
0
Getter method for l2_count, mapped from YANG variable /counts_state/bad_lsp_log/l2_count (uint32)
def mZsu(YKHO): return YKHO.__l2_count
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xyiB(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='l2-count', rest_name='l2-count', parent=YKHO, path_helper=YKHO._p...
[ "0.7256958", "0.5870603", "0.5398011", "0.5362301", "0.5349622", "0.5341728", "0.5337807", "0.5319092", "0.5284785", "0.5248302", "0.52350175", "0.520104", "0.5192579", "0.5170289", "0.5153401", "0.5145783", "0.5140899", "0.51212513", "0.51077384", "0.5098537", "0.50718725", ...
0.68215525
1
reads config file and returns a value of a requested key
def R4f_(PXGI, kZiy=False): bO6T = 'config.json' try: Fv2L = open(bO6T).readline() qpFi = qQXR.loads(Fv2L) except FileNotFoundError: try: Fv2L = open('../' + bO6T).readline() qpFi = qQXR.loads(Fv2L) except FileNotFoundError: try: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(H5ew):\n return viqz[H5ew]", "def NMoC(YKHO, H5ew):\n H5ew = H5ew.lower()\n if H5ew in YKHO.data:\n return YKHO.data[H5ew]\n else:\n raise ValueError(\"Key '{}' not in config file.\".format(H5ew))", "def Qc70(YKHO, nUeQ, XLMv, H5ew):\n GPtr = enR0.ConfigParser()\n try:\...
[ "0.78800225", "0.7854455", "0.7802477", "0.76986253", "0.7624748", "0.7609035", "0.7582268", "0.74905527", "0.7446101", "0.7423622", "0.7412863", "0.74123", "0.7387125", "0.7377894", "0.73759407", "0.73558015", "0.7354896", "0.7327281", "0.73095626", "0.72862184", "0.7271438"...
0.0
-1
Decorate routes to require login.
def chz6(eHNT): @zaGL(eHNT) def SzLu(*qIxc, **B2fa): if cuiw.get('approved') is None: return vKnz('/approve') return eHNT(*qIxc, **B2fa) return SzLu
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uKii(JfyU):\n\n @xBlr.wraps(JfyU)\n def WS4m(*qIxc, **B2fa):\n if not 'logged_in' in cuiw:\n return vKnz(nKyW('index', next=QePW.url))\n return JfyU(*qIxc, **B2fa)\n return WS4m", "def uKii(JfyU):\n\n @xBlr.wraps(JfyU)\n def WS4m(*qIxc, **B2fa):\n if Oa1e.user i...
[ "0.7088456", "0.69661", "0.69525415", "0.6949141", "0.6931404", "0.69277924", "0.69114035", "0.6908829", "0.68492377", "0.68424016", "0.68367666", "0.68357086", "0.6820801", "0.6820801", "0.6820801", "0.6820801", "0.6806658", "0.68059635", "0.67959154", "0.6781016", "0.677388...
0.0
-1
Get weights, bias, and noutputs for a dense layer
def S0Z3(yK6n, TPj8, Ya2q, mCcN): if mCcN in ['timedistributed']: Z9ju = yK6n else: Z9ju = yK6n[TPj8['name']] fhcK = kl0f(Z9ju) _mSQ = fhcK['W' + sPcC] oug5 = fhcK['b' + sPcC] assert _mSQ.shape[1] == oug5.shape[0] assert _mSQ.shape[0] == Ya2q z21l = {'weights': _mSQ.T.fla...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o8Dd(WKvO, wjbX, YDYE='relu', mWFP=None):\n return ZylS.keras.layers.Dense(wjbX, activation=None, use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None)(WKvO)", "...
[ "0.6677081", "0.65974617", "0.64705235", "0.6415728", "0.6401164", "0.63159937", "0.63134235", "0.6280515", "0.62411463", "0.62116444", "0.6193998", "0.6182764", "0.61683017", "0.6121484", "0.6117921", "0.6095526", "0.6095526", "0.6079595", "0.60778093", "0.60746634", "0.5997...
0.68008417
0
Get weights, bias, and noutputs for a highway layer
def d_Uy(yK6n, TPj8, Ya2q, mCcN): Z9ju = yK6n[TPj8['name']] fhcK = kl0f(Z9ju) _LFN = fhcK['W'].shape[1] hu2a = {} for ewpR in ['', '_carry']: hu2a[ewpR[1:] or 't'] = {'weights': fhcK['W' + ewpR].T.flatten().tolist(), 'bias': fhcK['b' + ewpR].flatten().tolist()} return ({'components': hu2...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def t9Yp(CLda, zNig, Kz5H=U78l.ReLU, qfSr=U78l.Sigmoid, begE='cpu'):\n bk2d = []\n for bGrB in range(CLda):\n bk2d.append(gEmA.Highway(zNig, nonlinearity=Kz5H, gate_activation=qfSr, device=begE))\n return U78l.Sequential(*bk2d)", "def ZpmW(YKHO):\n j7Fc = oyIN.random.normal(0, oyIN.sqrt(2 / YK...
[ "0.66403335", "0.65884924", "0.65616", "0.6539371", "0.64869595", "0.6466318", "0.64307487", "0.63495547", "0.6341905", "0.63034755", "0.6262984", "0.6245189", "0.6245189", "0.62358475", "0.6233344", "0.62295693", "0.6218507", "0.61986995", "0.61970544", "0.61959666", "0.6195...
0.7172744
0
Merge layer converter, currently only supports embedding, and only for the first layer.
def hVVK(yK6n, TPj8, Ya2q, mCcN): qiyX = 0 qFp1 = 0 RNnc = [] for NpBf in TPj8['layers']: assert NpBf['class_name'].lower() == 'sequential' assert len(NpBf['config']) == 1 oi0m = NpBf['config'][0]['config'] _2sc = NpBf['config'][0]['class_name'].lower() if _2sc ==...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o4zP(YKHO, orOa, EvQg=False):\n YKHO.merge_model.train()\n if EvQg:\n EFMD = YKHO.training_op['trainloader']\n else:\n EFMD = YKHO.training_op['adaptloader']\n gXXc = 0\n wjRY = 0\n KBpI = sqQC.Adam(YKHO.merge_model.parameters(), lr=YKHO.lr, weight_decay=0.0001)\n for qtWj in...
[ "0.63068724", "0.6133969", "0.5728589", "0.5728589", "0.5667197", "0.5537447", "0.55287546", "0.55087596", "0.5456845", "0.54474217", "0.5430303", "0.5425296", "0.5386953", "0.53858626", "0.5383973", "0.5375763", "0.53668815", "0.5365474", "0.5329139", "0.5295781", "0.5289779...
0.5216583
39
Return an element with lowest fn(seq[i]) score; tie goes to first one. >>> argmin(['one', 'to', 'three'], len) 'to'
def WHwV(Q6uT, FYKK): P6Dd = Q6uT[0] Qai7 = FYKK(P6Dd) for WKvO in Q6uT: VTuD = FYKK(WKvO) if VTuD < Qai7: P6Dd, Qai7 = (WKvO, VTuD) return P6Dd
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WHwV(Q6uT, FYKK):\n P6Dd = Q6uT[0]\n Qai7 = FYKK(P6Dd)\n for WKvO in Q6uT:\n VTuD = FYKK(WKvO)\n if VTuD < Qai7:\n P6Dd, Qai7 = (WKvO, VTuD)\n return P6Dd", "def WHwV(Q6uT, FYKK):\n P6Dd = Q6uT[0]\n Qai7 = FYKK(P6Dd)\n for WKvO in Q6uT:\n VTuD = FYKK(WKvO)...
[ "0.83703834", "0.8339666", "0.83337843", "0.83337843", "0.83337843", "0.7555931", "0.7450852", "0.723924", "0.723924", "0.71481043", "0.7094835", "0.7080278", "0.7011451", "0.6951677", "0.68975556", "0.6543445", "0.65254825", "0.6489024", "0.6466554", "0.6462201", "0.6442684"...
0.83472615
1
Return an element with highest fn(seq[i]) score; tie goes to first one. >>> argmax(['one', 'to', 'three'], len) 'three'
def q1NN(Q6uT, FYKK): return WHwV(Q6uT, lambda WKvO: -FYKK(WKvO))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def q1NN(cCrA):\n return max(cCrA.iteritems(), key=seET.itemgetter(1))[0]", "def q1NN(Q6uT, FYKK):\n return WHwV(Q6uT, lambda WKvO: -FYKK(WKvO))", "def q1NN(fUYa):\n return max(enumerate(fUYa), key=lambda WKvO: WKvO[1])[0]", "def q1NN(vC9B):\n return max(enumerate(vC9B), key=lambda WKvO: WKvO[1])...
[ "0.76880723", "0.7438499", "0.7236861", "0.7235815", "0.7235815", "0.7235815", "0.7235815", "0.7229797", "0.7204588", "0.7148131", "0.70982164", "0.70936906", "0.6987789", "0.6963994", "0.6945756", "0.68971926", "0.68677527", "0.67989194", "0.6614156", "0.65940636", "0.657758...
0.7442119
1
Calculates the color based on a value and its value range. Green for low values and red for high values.
def ncq6(BWXx: float, dgIT: float, bQ6z: float, LoP9: Optional[float]=None) -> str: if LoP9 is None: LoP9 = (bQ6z - dgIT) / 2 BWXx = max(min(BWXx, bQ6z), dgIT) if BWXx >= LoP9: upAO = (BWXx - LoP9) / (bQ6z - LoP9) return Cq7M.float_to_hex(*Cq7M.blend_rgb(rgb_a=(1, 0, 0), rgb_b=(1, 1,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qfpW(YKHO, BWXx):\n if not len(YKHO.colors):\n return (0, 0, 0)\n elif len(YKHO.colors) == 1:\n return YKHO.colors[0][1]\n elif BWXx < YKHO.min:\n return YKHO.colors[0][1]\n elif BWXx > YKHO.max:\n return YKHO.colors[-1][1]\n BWXx = (BWXx - YKHO.min) / (YKHO.max - YKH...
[ "0.8119153", "0.79652786", "0.7830862", "0.7747031", "0.7625383", "0.7469473", "0.7209998", "0.71213245", "0.7109394", "0.70567936", "0.702878", "0.69982505", "0.6993427", "0.69577193", "0.69552135", "0.6943115", "0.693037", "0.6909813", "0.6909813", "0.6909813", "0.6871782",...
0.75004154
5
Returns a mutated chromosome. The mutation is done by searching for all classes that violate some hard constraint (with any resource) and randomly choosing one of them. Then, transfer that class in an unoccupied time frame, in one of the allowed classrooms for that class. If there exists no such combination of time fra...
def _Wdu(q7V9): kbGe = [] for G1Hx in range(len(q7V9[0])): for r845 in range(len(q7V9[2][q7V9[0][G1Hx]['Assigned_classroom']])): if q7V9[2][q7V9[0][G1Hx]['Assigned_classroom']][r845] >= 2: kbGe.append(G1Hx) for r845 in range(len(q7V9[1][q7V9[0][G1Hx]['Professor']])): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def r3Zb(YKHO, q7V9):\n mXDZ = list(q7V9.pattern)\n if tuKI.random() < YKHO.MUTATION_RATE:\n bAWF = tuKI.randrange(len(mXDZ))\n mXDZ[bAWF] = a4Hw.generate_pattern()\n return a4Hw(q7V9.bin_capacity, ''.join(mXDZ))", "def r3Zb(YKHO):\n q7V9 = _qLf(YKHO.best_chrom)\n for bGrB in range(t...
[ "0.6234649", "0.61866385", "0.5726267", "0.5666549", "0.5663708", "0.56479746", "0.5638439", "0.56346834", "0.55629754", "0.5445179", "0.53880394", "0.536076", "0.5356036", "0.53395426", "0.5320019", "0.53175455", "0.52969426", "0.52812755", "0.5274645", "0.5271355", "0.52684...
0.597083
2
Return a vector of the parameters b for a given temperature T
def Fg_i(Kt_s): tjUW = oyIN.zeros(6) tjUW[0] = EcVT[19] / Kt_s ** 2 + EcVT[20] / Kt_s ** 3 tjUW[1] = EcVT[21] / Kt_s ** 2 + EcVT[22] / Kt_s ** 4 tjUW[2] = EcVT[23] / Kt_s ** 2 + EcVT[24] / Kt_s ** 3 tjUW[3] = EcVT[25] / Kt_s ** 2 + EcVT[26] / Kt_s ** 4 tjUW[4] = EcVT[27] / Kt_s ** 2 + EcVT[28] /...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bwPu(Kt_s=FVca):\n return oyIN.sqrt(jOU9 * Kt_s / GouJ)", "def tjUW(Kt_s):\n global b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18\n global bmix\n Cjqi = epAf.sqrt(Kt_s)\n JJcT = Kt_s * Kt_s\n jW4K = Kt_s * JJcT\n dqwm = jW4K * Cjqi\n o0lq = Kt_s * dqw...
[ "0.6627342", "0.6548359", "0.63691276", "0.6179051", "0.6113912", "0.60527736", "0.6044886", "0.60396093", "0.6031484", "0.60055524", "0.5996215", "0.5994674", "0.59499156", "0.5913367", "0.59128594", "0.5868237", "0.5862463", "0.5854996", "0.5826601", "0.5811608", "0.5802503...
0.73015404
0
Pressure as given by equation 7
def CJ2p(oZuG, Kt_s): zOn6 = 0 qYa6 = 0 k0lF = jzdc(Kt_s) tjUW = Fg_i(Kt_s) vuvg = Ou1D(oZuG) for YRbF in range(8): zOn6 = zOn6 + k0lF[YRbF] * oZuG ** (YRbF + 1 + 1) if YRbF < 6: qYa6 = qYa6 + tjUW[YRbF] * oZuG ** (2 * (YRbF + 1) + 1) V6IE = oZuG * Kt_s + zOn6 + v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CJ2p(YKHO):\n return YKHO.number_density * YKHO.temperature * hAVj.k * 10000000.0", "def CJ2p(YKHO):\n XP5J = (YKHO.voltage() / 5.0 + 0.095) / 0.009\n return XP5J", "def CJ2p(YKHO) -> P6bq.Pa:\n ...", "def nEfJ(YKHO):\n T8ck = YKHO.Q\n oZuG = YKHO.rho\n Oa1e = YKHO.g\n C7Ls = YKHO...
[ "0.7810857", "0.7791247", "0.7652891", "0.76093066", "0.7597472", "0.7507902", "0.74054915", "0.73993325", "0.7399294", "0.7346759", "0.7225259", "0.72147626", "0.71904993", "0.7183816", "0.7171824", "0.71522015", "0.7151257", "0.7116518", "0.7116014", "0.7110293", "0.7083287...
0.6994548
28
Given a Pandas DF that has appropriately named columns, this function will iterate the rows and generate Spark Row objects. It's recommended that this method be invoked via Spark's flatMap
def IETM(nxOI: pd.DataFrame): usx6 = [] for d6pt, dy_H in nxOI.iterrows(): N7QT = {str(G1Hx): str(Ty9i) for G1Hx, Ty9i in dy_H.to_dict().items()} usx6.append(d3C6(**N7QT)) return usx6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dMS4(jQ3Z):\n if jQ3Z is None:\n I45O.debug('Returning nothing')\n return iter([])\n if type(jQ3Z) is rLdf.Series:\n jQ3Z = jQ3Z.to_frame().T\n if jQ3Z.empty:\n I45O.warning('Pandas DataFrame is empty! Returning nothing!')\n return iter([])\n I45O.debug('Convert D...
[ "0.65359235", "0.64304596", "0.62674266", "0.5999389", "0.5938122", "0.58592105", "0.57098347", "0.56165224", "0.558759", "0.55427974", "0.55421984", "0.55367255", "0.54848826", "0.5400768", "0.5398746", "0.538805", "0.53818136", "0.5379634", "0.5379634", "0.53740084", "0.537...
0.66923773
0
Restful api client initialization.
def FIMM(YKHO, bD7m, MOPg=None, Odov=None, wOb_=None): YKHO.url_ = bD7m YKHO.session_ = G4JS.Session() if MOPg: YKHO.session_.headers = MOPg if Odov is not None: YKHO.session_.proxies = Odov if wOb_ is not None: YKHO.session_.stream = wOb_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d4y1(YKHO):\n raise NotImplementedError", "def d4y1(QePW):\n QePW.cls.client = iJSR()", "def Pntg(YKHO):\n YKHO.client = i9zE()", "def F0UL(YKHO):\n if YKHO.incluster:\n GPtr.load_incluster_config()\n else:\n GPtr.load_kube_config()\n YKHO.kube_client = x0hE.BatchV1Api()",...
[ "0.7468579", "0.74209595", "0.7354726", "0.7276322", "0.71589655", "0.71310866", "0.7125317", "0.71126497", "0.7081615", "0.7076263", "0.7070811", "0.700694", "0.6992316", "0.69662106", "0.6902708", "0.68746185", "0.68703526", "0.68703526", "0.686591", "0.6849429", "0.6844017...
0.0
-1
Setup the test driver and create test users
def FCbF(YKHO): YKHO.driver = cSpz.Chrome() YKHO.driver.get(YKHO.get_server_url())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FCbF(YKHO):\n NCls.drop_all()\n NCls.create_all()\n P4t4.config['TESTING'] = True\n YKHO.client = P4t4.test_client()", "def FCbF(YKHO):\n YKHO.new_user = YJv1('Judy', 'homeboys123')", "def FCbF(YKHO):\n YKHO.app = YKHO._set_up_test_app(LUif)\n YKHO.client = YKHO._set_up_client(YKHO.app...
[ "0.7921968", "0.7724628", "0.769797", "0.7681414", "0.7657598", "0.76462173", "0.76446414", "0.76058704", "0.7595306", "0.7561998", "0.7560156", "0.7558062", "0.7552231", "0.7550416", "0.7549437", "0.7548452", "0.7516301", "0.74977505", "0.74875516", "0.7479532", "0.7460554",...
0.767285
4
Return a representation of the cantilever. Rounds the cantilever to 9 digits, so eval(repr(cantilever)) is not necessarily equal to cantilever.
def wHJl(YKHO): return 'Cantilever(f_c = {self.f_c}, k_c = {self.k_c}, Q = {self.Q})'.format(self=YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n if float(YKHO) == int(YKHO):\n yLCI = '(' + str(int(YKHO)) + ')'\n elif YKHO.zaehler < 0 and YKHO.nenner < 0:\n yLCI = '(' + str(abs(YKHO.zaehler)) + '/' + str(abs(YKHO.nenner)) + ')'\n else:\n yLCI = '(' + str(YKHO.zaehler) + '/' + str(YKHO.nenner) + ')'\n return...
[ "0.5682228", "0.5568761", "0.55318254", "0.5491929", "0.5474973", "0.54495597", "0.5437484", "0.54326075", "0.54081553", "0.5403116", "0.5403116", "0.5329059", "0.5302976", "0.52637947", "0.5243306", "0.5228319", "0.52148414", "0.5210537", "0.5153051", "0.5139167", "0.513903"...
0.5445383
6
Return a representation of the cantilever. Rounds the cantilever to 9 digits, so eval(repr(cantilever)) is not necessarily equal to cantilever.
def wHJl(YKHO): return "Cantilever(f_c = {self.f_c}, k_c = {self.k_c}, Q = {self.Q},R_tip = {self.R_tip}, L_tip = {self.L_tip},theta_tip = {self.theta_tip},geometry_c = '{self.geometry_c}')".format(self=YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n if float(YKHO) == int(YKHO):\n yLCI = '(' + str(int(YKHO)) + ')'\n elif YKHO.zaehler < 0 and YKHO.nenner < 0:\n yLCI = '(' + str(abs(YKHO.zaehler)) + '/' + str(abs(YKHO.nenner)) + ')'\n else:\n yLCI = '(' + str(YKHO.zaehler) + '/' + str(YKHO.nenner) + ')'\n return...
[ "0.56799525", "0.55663556", "0.5532106", "0.5489853", "0.5473627", "0.544668", "0.54436105", "0.54346687", "0.54318684", "0.54063827", "0.5399959", "0.5399959", "0.5326409", "0.5300983", "0.52618337", "0.52409863", "0.5225674", "0.52130216", "0.5208449", "0.51509714", "0.5138...
0.5045857
41
A nice string representation of the experiment.
def zAg0(YKHO): return 'Tip-sample: {self.d}, {self.V_ts}'.format(self=YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n if 'start_time' in YKHO.config:\n Qvn0 = str(qcWV.now() - qcWV.strptime(YKHO.config['start_time'], '%d.%m.%Y %H:%M:%S'))\n else:\n Qvn0 = 'Not available!'\n TcPZ = f'Experiment ({Hy7s.path.normpath(YKHO.path).split(Hy7s.sep)[-1]})\\n'\n TcPZ += f'- -- Epoch: {(YKHO.tig_t...
[ "0.7349961", "0.72217053", "0.7212222", "0.71900713", "0.71698475", "0.71514875", "0.7123835", "0.71234256", "0.70926905", "0.70604026", "0.7046969", "0.7033134", "0.7026061", "0.6994829", "0.69794726", "0.697471", "0.69650286", "0.6957937", "0.6894512", "0.6887222", "0.68833...
0.67674637
41
The conductivity sigma of the sample.
def WTkW(YKHO): return YKHO.mobility * YKHO.rho * YKHO.q
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WTkW(YKHO):\n return YKHO._sigma", "def WTkW(YKHO):\n YKHO.rawsigma = oyIN.std(YKHO.rawdata)\n return YKHO.rawsigma", "def cPyA(YKHO):\n Dwvl = ht2j.sigmoid(YKHO.ratio)\n return Dwvl.detach().cpu().numpy()[:, 0] * YKHO.scale", "def N4Xy(YKHO):\n Dwvl = ht2j.sigmoid(YKHO.ratio)\n retu...
[ "0.79636496", "0.7852769", "0.769266", "0.76924604", "0.7680615", "0.7579505", "0.7579505", "0.7575667", "0.7537162", "0.7529687", "0.75111014", "0.7467665", "0.74624646", "0.7454593", "0.74353725", "0.7351685", "0.71979177", "0.71534264", "0.71305746", "0.70772916", "0.70466...
0.7581988
6
The conductivity sigma of the sample.
def WTkW(YKHO): return YKHO.mobility * YKHO.rho * YKHO.q
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WTkW(YKHO):\n return YKHO._sigma", "def WTkW(YKHO):\n YKHO.rawsigma = oyIN.std(YKHO.rawdata)\n return YKHO.rawsigma", "def cPyA(YKHO):\n Dwvl = ht2j.sigmoid(YKHO.ratio)\n return Dwvl.detach().cpu().numpy()[:, 0] * YKHO.scale", "def N4Xy(YKHO):\n Dwvl = ht2j.sigmoid(YKHO.ratio)\n retu...
[ "0.79636496", "0.7852769", "0.769266", "0.76924604", "0.7680615", "0.7579505", "0.7579505", "0.7575667", "0.7537162", "0.7529687", "0.75111014", "0.7467665", "0.74624646", "0.7454593", "0.74353725", "0.7351685", "0.71979177", "0.71534264", "0.71305746", "0.70772916", "0.70466...
0.7581988
5
Pick the argmax action
def gZZH(ph8c, BFeB, xlLU): oOT7 = int(oyIN.argmax(BFeB)) return oOT7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def q1NN(YKHO, QTBn):\n raise NotImplementedError", "def q1NN(YKHO, jDK_=None, yvT9=None):\n pass", "def v1Pe(YKHO, BFeB):\n JcvF = []\n for XP5J in BFeB:\n JcvF.append(oyIN.argmax(XP5J))\n return JcvF", "def q1NN(vhpA, tpio):\n pass", "def q1NN(WKvO):\n return ht2j.max(WKvO, di...
[ "0.79730964", "0.75185496", "0.734026", "0.7211504", "0.7127478", "0.7108066", "0.705903", "0.7056069", "0.7002435", "0.6970465", "0.6949754", "0.6949754", "0.6935649", "0.6935649", "0.6935649", "0.68379915", "0.6835246", "0.6821188", "0.68035126", "0.679297", "0.67841375", ...
0.7386765
2
String representation of object
def zAg0(YKHO): return YKHO.name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return YKHO.object_repr", "def zAg0(YKHO) -> str:\n return lSJJ(YKHO)", "def Sa1R(YKHO, YEnM):\n raise NotImplementedError()", "def zAg0(YKHO):\n return str(YKHO.obj)", "def zAg0(YKHO):\n return str(YKHO.serialize())", "def zAg0(YKHO):\n return str(YKHO.__dict__)", "...
[ "0.82925206", "0.8284604", "0.81689364", "0.8128393", "0.8082072", "0.8028579", "0.8026915", "0.8026915", "0.8026915", "0.7951265", "0.7951265", "0.7951265", "0.7951265", "0.7951265", "0.7951265", "0.79369575", "0.79369575", "0.79369575", "0.79369575", "0.79369575", "0.793695...
0.0
-1
Upsamples the inputs by a factor using bilinear interpolation and the performs conv2d on the upsampled input. This function is more computationally and memory efficient than a naive implementation. Unlike a naive implementation that would upsample the input first, this implementation first convolves the bilinear kernel...
def P__h(g4y1, KUnM, Ot1W, FEri=(1, 1), dvgN='SAME', WZcn=None, e5sz=True, oug5=None): Ot1W = list(Ot1W) if isinstance(Ot1W, (tuple, list)) else [Ot1W] * 2 FEri = list(FEri) if isinstance(FEri, (tuple, list)) else [FEri] * 2 if dvgN != 'SAME': raise NotImplementedError GhuM = g4y1.get_shape().as...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rco9(input, dMYj, Ep8u=None, VBqE=None, yyc2=True):\n Kt_s = e89i.tensor\n try:\n y2gf = Ep8u * VBqE\n except TypeError:\n y2gf = None\n rdlD, fvDH = input.shape[2:]\n juHI = input.reshape((-1, 1, rdlD, fvDH))\n ZFsJ = Kt_s.concatenate((juHI[:, :, :1, :], juHI, juHI[:, :, -1:, :...
[ "0.7592368", "0.72016674", "0.67898", "0.6736184", "0.67288613", "0.6661008", "0.661762", "0.6547119", "0.65073603", "0.6485319", "0.6461746", "0.6433014", "0.64255893", "0.64208335", "0.6406125", "0.6379484", "0.63783705", "0.634458", "0.63236874", "0.63236874", "0.631239", ...
0.690769
2
convenience function for computing the empirical CDF
def Zt0j(WKvO): T6S7, BWz1 = oyIN.unique(WKvO, return_counts=True) Zt0j = oyIN.cumsum(BWz1).astype(oyIN.float64) Zt0j /= Zt0j[-1] return (T6S7, Zt0j)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mRKC(JBMS, I8JS):\n\n def YzER(WKvO):\n \"\"\"Cumulative distribution function.\"\"\"\n try:\n from scipy.special import erf\n except ImportError:\n pass\n return 0.5 * (1.0 + erf((WKvO - JBMS) / epAf.sqrt(2.0 * I8JS)))\n return YzER", "def YzER(YKHO, W...
[ "0.77244925", "0.7702084", "0.7653352", "0.76347965", "0.7610853", "0.758789", "0.75840294", "0.7581221", "0.7538265", "0.75084215", "0.7484935", "0.7435495", "0.74320865", "0.7417799", "0.74088377", "0.7391643", "0.7386946", "0.73582464", "0.7355324", "0.73229253", "0.730091...
0.0
-1
Returns `model_fn` closure for TPUEstimator.
def mfXR(dyeT, ynwe): def JnVv(bySB, Crrw, Tuqy, NArs): """The `model_fn` for TPUEstimator.""" l6vq.info('*** Features ***') for mWFP in sorted(bySB.keys()): l6vq.info(' name = %s, shape = %s' % (mWFP, bySB[mWFP].shape)) Pha6 = bySB['input_ids'] qV0r = bySB['inp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rNzv(QjBU):\n\n def Csmj(bySB, Crrw, Tuqy, NArs):\n \"\"\"Model function.\"\"\"\n del Crrw, NArs\n qqWV = C3ST.BaseModel(QjBU, mode=Tuqy, features=bySB)\n if Tuqy == QUnY.ModeKeys.INFER:\n xnXT = qqWV.predicted_ids\n xnXT = ZylS.transpose(xnXT, [2, 1, 0])\n ...
[ "0.67876256", "0.67231953", "0.6708339", "0.6708339", "0.6704804", "0.6642739", "0.66179776", "0.6606682", "0.64987177", "0.64855075", "0.64845395", "0.64673865", "0.6446065", "0.63442314", "0.6340337", "0.63192046", "0.62871474", "0.6259095", "0.6225923", "0.6223681", "0.620...
0.6385782
13
The `model_fn` for TPUEstimator.
def JnVv(bySB, Crrw, Tuqy, NArs): l6vq.info('*** Features ***') for mWFP in sorted(bySB.keys()): l6vq.info(' name = %s, shape = %s' % (mWFP, bySB[mWFP].shape)) Pha6 = bySB['input_ids'] qV0r = bySB['input_mask'] Uszf = bySB['segment_ids'] if Tuqy == ZylS.estimator.ModeKeys.PREDICT: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZPn8(YKHO, bySB, Crrw, ND3i):\n oYbx = gnPz.fn_args(YKHO._model_fn)\n B2fa = {}\n GPtr = jth9.deepcopy(YKHO._config)\n NArs = jth9.deepcopy(YKHO._params)\n if 'labels' in oYbx:\n B2fa['labels'] = Crrw\n elif Crrw is not None:\n raise ValueError('model_fn does not take labels, bu...
[ "0.72362834", "0.7198053", "0.71058893", "0.70971304", "0.7038464", "0.7038464", "0.697475", "0.69312525", "0.6887504", "0.67796916", "0.66569746", "0.6626366", "0.66256857", "0.6591902", "0.65852433", "0.65476555", "0.6534668", "0.6486356", "0.6484161", "0.64805233", "0.6425...
0.596155
52