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
Handles the movement of red spaceship when the respective keys (W, A, S or D) are pressed.
def edrn(elOs: pygame.key, Z5Q9: pygame.Rect): if elOs[a9eO.K_a] and Z5Q9.x - WGz1 >= 0: Z5Q9.x -= WGz1 if elOs[a9eO.K_d] and Z5Q9.x + xhFZ + WGz1 < pqZk.x: Z5Q9.x += WGz1 if elOs[a9eO.K_w] and Z5Q9.y - WGz1 >= 0: Z5Q9.y -= WGz1 if elOs[a9eO.K_s] and Z5Q9.y + Tctp + WGz1 < dVi8: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K5jA(YKHO, tvqc):\n if tvqc.key == a9eO.K_RIGHT:\n YKHO.ship.moving_right = False\n if tvqc.key == a9eO.K_LEFT:\n YKHO.ship.moving_left = False", "def JZ_g(YKHO, tvqc):\n if tvqc.key == a9eO.K_RIGHT:\n YKHO.ship.moving_right = True\n if tvqc.key == a9eO.K_LEFT:\n YKHO....
[ "0.7481119", "0.7249929", "0.7226284", "0.7137438", "0.7060265", "0.70448506", "0.704254", "0.7033335", "0.7033335", "0.70172745", "0.7006622", "0.6976029", "0.6920202", "0.6914463", "0.6911016", "0.6910531", "0.6893047", "0.6885099", "0.68783575", "0.6870695", "0.6870695", ...
0.7458849
1
Handles the movement of yellow spaceship when the respective keys (left, right, up or down arrow) are pressed.
def o2Ga(elOs: pygame.key, dfSN: pygame.Rect): if elOs[a9eO.K_LEFT] and dfSN.x - WGz1 > pqZk.x + pqZk.width: dfSN.x -= WGz1 if elOs[a9eO.K_RIGHT] and dfSN.x + xhFZ + WGz1 <= Wl2e: dfSN.x += WGz1 if elOs[a9eO.K_UP] and dfSN.y - WGz1 >= 0: dfSN.y -= WGz1 if elOs[a9eO.K_DOWN] and df...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K5jA(YKHO, tvqc):\n if tvqc.key == a9eO.K_RIGHT:\n YKHO.ship.moving_right = False\n if tvqc.key == a9eO.K_LEFT:\n YKHO.ship.moving_left = False", "def JZ_g(YKHO, tvqc):\n if tvqc.key == a9eO.K_RIGHT:\n YKHO.ship.moving_right = True\n if tvqc.key == a9eO.K_LEFT:\n YKHO....
[ "0.7527784", "0.7285538", "0.7240046", "0.71622133", "0.70771945", "0.7038661", "0.7038661", "0.7036953", "0.7027969", "0.7019377", "0.7006582", "0.7002047", "0.7001347", "0.6965386", "0.6941539", "0.69309014", "0.6918354", "0.691488", "0.6911024", "0.6908802", "0.690434", ...
0.7807654
0
Handles bullets by moving them across the screen in right or left direction for respective spaceships. If a bullet is hit, a custom hit event is posted in pygame.event queue.
def qvN0(k5Mo: list, nx5V: list, Z5Q9: pygame.Rect, dfSN: pygame.Rect): for YBnT in k5Mo: YBnT.x += E26P if dfSN.colliderect(YBnT): a9eO.event.post(a9eO.event.Event(FGN7)) k5Mo.remove(YBnT) elif YBnT.x >= Wl2e: k5Mo.remove(YBnT) for YBnT in nx5V: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZSQN(YKHO):\n if YKHO.moving_right:\n if len(YKHO.bullets) < YKHO.settings.bullets_allowed:\n YBnT = GBVa(YKHO.screen, YKHO.settings, YKHO.rect.right, YKHO.rect.top)\n YKHO.bullets.add(YBnT)\n elif YKHO.moving_left:\n if len(YKHO.bullets) < YKHO.settings.bullets_allowe...
[ "0.7464342", "0.72235894", "0.71180123", "0.7113244", "0.71100307", "0.7098168", "0.70915884", "0.70914483", "0.7089883", "0.706983", "0.7061991", "0.7059288", "0.7048706", "0.7041656", "0.7032962", "0.7030765", "0.7029481", "0.702803", "0.7021983", "0.70137393", "0.6981909",...
0.67965764
29
This default evaluation function just returns the score of the state. The score is the same one displayed in the Pacman GUI. This evaluation function is meant for use with adversarial search agents (not reflex agents).
def fHT3(rfNN): return rfNN.getScore()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def b7La(YKHO, QTBn):\n iBIi, oyg0, YPaw = QTBn\n return phK_(oyg0, iBIi)", "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN: GameState):\n re...
[ "0.8074773", "0.8053842", "0.8053842", "0.79368985", "0.76780427", "0.7661634", "0.76435816", "0.7634553", "0.7594052", "0.7594052", "0.7594052", "0.7594052", "0.7594052", "0.7594052", "0.7594052", "0.7594052", "0.7594052", "0.7594052", "0.7503177", "0.7489547", "0.7489547", ...
0.75542086
23
This function will generate the user's random password
def ikbr(u54L): DumB = ['a', 'c', 'e', 'd', 'z', 'm', 'b', 'f', 'l', 'y', 'g', 't', 'v', 'h', '1', '5', 'w', '0', 'o', 'n', '3', '2', '4', 'u', 's', 'p', 'j', 'q', 'k', 'r'] uGpu = '' while len(Vbjy) < u54L: ZfUD = DumB[ajWY(0, len(DumB) + 3)] uGpu += ZfUD return uGpu
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def t4Un():\n return mv1M.objects.make_random_password()", "def ikbr(CBIr):\n return mv1M.generate_random_password()", "def Ywt8():\n return GLL2(tuKI.randint(8, 16), 1, 1, 1)", "def ikbr():\n return ''.join((jxbx().choice(tcl1 + BHGE) for bGrB in range(8)))", "def lHN5():\n return K6Fz(6)",...
[ "0.8781004", "0.86933875", "0.85642445", "0.8475275", "0.8414913", "0.8413128", "0.84077513", "0.83995634", "0.8384601", "0.8381473", "0.8331707", "0.82012063", "0.8197179", "0.81254756", "0.8069825", "0.79791003", "0.7955339", "0.79524946", "0.793329", "0.7901818", "0.786347...
0.74801004
48
this saves the user's password into our passwords array
def nCXD(YKHO): XDID.passwords.append(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ts03(YKHO):\n for YRbF, AIu6 in enumerate(YKHO._data):\n lycd(YKHO._hashed, AIu6, YRbF != 0, filename=YKHO.file_)", "def VSD5(YKHO):\n kjgd.password_list.append(YKHO)", "def nCXD(YKHO, jTXt):\n YKHO._password = jTXt", "def nCXD(J930, oZKl, NtEF, jTXt):\n import pickle\n J930[oZKl] =...
[ "0.74333483", "0.72107464", "0.71481943", "0.6954975", "0.6794495", "0.663564", "0.64201075", "0.64025944", "0.6376064", "0.6355927", "0.63408303", "0.63236225", "0.6322186", "0.6295226", "0.627796", "0.6256863", "0.6253731", "0.62478936", "0.6239086", "0.6238785", "0.6215659...
0.75084317
0
Get the argmin (for END events) or argmax (for NEW/HOFF events) of the qvalues for the given features. Only valid channels are taken argmin/argmax over.
def pekq(YKHO, UzsP, Cs6h, VmPb, bySB): EmyR = ZylS.placeholder(shape=[1], dtype=ZylS.int32) vLGK = ZylS.placeholder(shape=[7, 7, 70], dtype=ZylS.bool) WhVc = ZylS.placeholder(shape=[2], dtype=ZylS.int32) zn0c = ZylS.gather_nd(vLGK, WhVc) QYp_ = ZylS.reshape(YKHO.Qout, [-1]) Jote = lambda: ZylS....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DiVc(YKHO, aadv):\n bOBl = rLdf.DataFrame(aadv)\n ME8y = bOBl.max(axis=0)\n IMb4 = bOBl.min(axis=0)\n lrE3 = list(ME8y)\n MyZ1 = list(IMb4)\n assert len(lrE3) == YKHO.EXPECTED_NUM_FEATURES\n return (oyIN.array(lrE3), oyIN.array(MyZ1))", "def P4wN(wM8l: Dict):\n if wM8l['preprocess'] =...
[ "0.62063855", "0.609164", "0.6065292", "0.6022731", "0.597612", "0.5968134", "0.5810358", "0.579686", "0.57355875", "0.55668217", "0.55568117", "0.55566", "0.55519843", "0.55402994", "0.5518105", "0.5491459", "0.5485618", "0.5475387", "0.5470354", "0.5469668", "0.54398286", ...
0.0
-1
Get failure count for one connection.
def FQdU(YKHO): return YKHO._points_report_errors.count() + YKHO._histograms_report_errors.count() + YKHO._spans_report_errors.count() + YKHO._span_logs_report_errors.count() + YKHO._events_report_errors.count()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iKmY(YKHO):\n return YKHO._fail_counter", "def c8PR(YKHO) -> int:\n return YKHO.error_count", "def AGxm(YKHO):\n if YKHO._cacheExpiration <= NA0M.GetTickCount():\n if YKHO.load(NA0M._yapiContext.GetCacheValidity()) != NA0M.SUCCESS:\n return LgMi.ERRCOUNT_INVALID\n Ylbp = YKHO....
[ "0.7775007", "0.7167309", "0.70823365", "0.70541525", "0.6928075", "0.6850259", "0.6823617", "0.6804189", "0.6686403", "0.6638652", "0.6597535", "0.65587217", "0.6529893", "0.65217125", "0.65187085", "0.647505", "0.647505", "0.6420371", "0.6402943", "0.6388421", "0.6375524", ...
0.65781504
11
Override the method to change the form attribute empty_permitted
def DBvj(YKHO, YRbF, **B2fa): L03z = super(J_1K, YKHO)._construct_form(YRbF, **B2fa) L03z.empty_permitted = False return L03z
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DBvj(YKHO, YRbF, **B2fa):\n L03z = super(J_1K, YKHO)._construct_form(YRbF, **B2fa)\n L03z.empty_permitted = False\n return L03z", "def DBvj(YKHO, YRbF, **B2fa):\n L03z = super(J_1K, YKHO)._construct_form(YRbF, **B2fa)\n L03z.empty_permitted = False\n return L03z", "def DBvj(YKHO, YRbF, **...
[ "0.6683466", "0.6683466", "0.6683466", "0.6683466", "0.66428816", "0.65299535", "0.65218806", "0.61901504", "0.6063393", "0.5996238", "0.57827395", "0.5722534", "0.5682313", "0.5674085", "0.5668094", "0.56626064", "0.5649709", "0.5594872", "0.55843097", "0.55659586", "0.55651...
0.6753155
0
Assert empty input files raises error.
def fBJd(uRsN): with trZe.raises(UAju.MapcheteConfigError): GPtr = _qLf(uRsN.dict) del GPtr['input'] Ijaw(GPtr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n_vO(YKHO):\n YKHO.assertRaisesRegex(IOError, OlgP, kd0u.get_words, ACHI + 'empty.txt')", "def n_vO(YKHO):\n YKHO.assertEquals(len(YKHO.parser.lines), 0)", "def AZ35(YKHO):\n YKHO.assertAccepted([])", "def n_vO(YKHO):\n eZ_W = 'does_not_exist.fasta'\n YKHO.assertFalse(Hy7s.path.isfile(eZ_W...
[ "0.7764213", "0.75167936", "0.75165975", "0.750036", "0.7412161", "0.7291962", "0.7183318", "0.7114032", "0.70953804", "0.7054226", "0.70320404", "0.70133215", "0.6952792", "0.6945557", "0.6943233", "0.6939796", "0.6922179", "0.6919081", "0.6890629", "0.6867071", "0.68393326"...
0.66378194
39
Configures the learning rate.
def TriZ(JbyC, _lQg, Aak1): z4eA = int(_lQg / JbyC.batch_size * JbyC.num_epochs_per_decay) if JbyC.learning_rate_decay_type == 'exponential': return ZylS.train.exponential_decay(JbyC.learning_rate, Aak1, z4eA, JbyC.learning_rate_decay_factor, staircase=True, name='exponential_decay_learning_rate') e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kVtO(YKHO, tspZ=0.1):\n YKHO.learning_rate = tspZ\n return YKHO", "def Aaf0(YKHO, Tclk):\n YKHO.learningRate = Tclk", "def kVtO(YKHO, Qj8D: float):\n pass", "def b0Ix(YKHO, b0Ix):\n YKHO._learning_rate = MoCN.learning_rate_limiter(b0Ix)", "def b0Ix(YKHO, b0Ix):\n YKHO._learning_rate =...
[ "0.7926337", "0.7903272", "0.78032243", "0.771162", "0.771162", "0.76847553", "0.7615253", "0.7590796", "0.758113", "0.7538556", "0.75377834", "0.7530232", "0.75159293", "0.7511709", "0.74517494", "0.7441666", "0.7417797", "0.74022394", "0.73456734", "0.73372835", "0.7327593"...
0.0
-1
Create a sparse representention of x.
def OAT6(jWe2, yDqo=oyIN.int32): _0VL = [] hkxX = [] for exwG, Q6uT in enumerate(jWe2): _0VL.extend(zip([exwG] * len(Q6uT), range(len(Q6uT)))) hkxX.extend(Q6uT) _0VL = oyIN.asarray(_0VL, dtype=oyIN.int64) hkxX = oyIN.asarray(hkxX, dtype=yDqo) ROpF = oyIN.asarray([len(jWe2), oyIN....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zXM_(WKvO):\n zHeZ = ht2j.typename(WKvO).split('.')[-1]\n UX5J = getattr(ht2j.sparse, zHeZ)\n _0VL = ht2j.nonzero(WKvO)\n if len(_0VL.shape) == 0:\n return UX5J(*WKvO.shape)\n _0VL = _0VL.t()\n hkxX = WKvO[tuple((_0VL[YRbF] for YRbF in range(_0VL.shape[0])))]\n return UX5J(_0VL, hkx...
[ "0.7595507", "0.756966", "0.756966", "0.756966", "0.756966", "0.756966", "0.756966", "0.74688697", "0.73303425", "0.7046781", "0.7010728", "0.69882333", "0.6855912", "0.6804643", "0.67745423", "0.67684126", "0.6636492", "0.6590895", "0.6498117", "0.64381975", "0.6436974", "...
0.0
-1
Create a sparse representention of x.
def OUIX(jWe2, yDqo=oyIN.int32): _0VL = [] hkxX = [] for exwG, Q6uT in enumerate(jWe2): _0VL.extend(zip([exwG] * len(Q6uT), Ni9Y(len(Q6uT)))) hkxX.extend(Q6uT) _0VL = oyIN.asarray(_0VL, dtype=oyIN.int64) hkxX = oyIN.asarray(hkxX, dtype=yDqo) ROpF = oyIN.asarray([len(jWe2), oyIN.a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zXM_(WKvO):\n zHeZ = ht2j.typename(WKvO).split('.')[-1]\n UX5J = getattr(ht2j.sparse, zHeZ)\n _0VL = ht2j.nonzero(WKvO)\n if len(_0VL.shape) == 0:\n return UX5J(*WKvO.shape)\n _0VL = _0VL.t()\n hkxX = WKvO[tuple((_0VL[YRbF] for YRbF in range(_0VL.shape[0])))]\n return UX5J(_0VL, hkx...
[ "0.7593571", "0.7567722", "0.7567722", "0.7567722", "0.7567722", "0.7567722", "0.7567722", "0.74685615", "0.7328788", "0.70447063", "0.7009101", "0.6987456", "0.68555236", "0.68046343", "0.67739344", "0.67684674", "0.6635095", "0.65911525", "0.64961725", "0.6437314", "0.64360...
0.0
-1
Wrapper for inserting int64 features into Example proto.
def xJYY(BWXx): if not isinstance(BWXx, list): BWXx = [BWXx] DQUa = [] Myyj = True for wEf2 in BWXx: if not isinstance(wEf2, int): Myyj = False DQUa.append(int(float(wEf2))) if Myyj is False: BWXx = DQUa return ZylS.train.Feature(int64_list=ZylS.tr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wgnv(PU1l, BZ2A, kAne):\n PU1l.features.feature[BZ2A].int64_list.value.append(kAne)", "def Oety(BWXx):\n return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=[BWXx]))", "def Oety(BWXx):\n BWXx = int(BWXx)\n return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=[BWXx]))", ...
[ "0.7374892", "0.73494405", "0.73194486", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301704", "0.7300591", "0.72966045", "0.72966045", "0.72966045"...
0.71101165
81
dict_to_list Creates a list, based on the entries of a dictionary. To do so it ignores the dictionary's keys, accounting only for its indexes.
def eqLo(dict): p06G = [] sjXb = list(dict.keys()) T6S7 = list(dict.values()) for YRbF in range(len(dict)): p06G.append([sjXb[YRbF], T6S7[YRbF]]) return p06G
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eqLo(cmPJ):\n S06t = []\n for BWXx in dict:\n S06t.append(cmPJ[BWXx])\n return S06t", "def MqLa(cmPJ):\n v7Hv = []\n for sjXb, hkxX in cmPJ.items():\n v7Hv.append([sjXb, hkxX])\n return v7Hv", "def eqLo(Csk6):\n Csk6 = dict(Csk6)\n return [WKvO[-1] for WKvO in sorted(C...
[ "0.82986295", "0.82825845", "0.82615715", "0.7951957", "0.79110134", "0.7855532", "0.7779533", "0.7759034", "0.75862825", "0.75085044", "0.7496501", "0.74431884", "0.74164224", "0.72690254", "0.72624", "0.711226", "0.7070742", "0.70684236", "0.70364726", "0.7023997", "0.70161...
0.82805806
2
dict_to_tuple_list Generates a tuple list based on a dict. It does so, by converting each of the dictionary's entry into two entries of the same list's index and then converting each of the lists entries into a tuple.
def s2MG(dict): p06G = [] list = eqLo(dict) for YRbF in range(len(list)): p06G.append((list[YRbF][0], list[YRbF][1])) return p06G
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SMiF(Csk6):\n um5V = []\n for WKvO, LVAh in Csk6.items():\n um5V.append((WKvO, LVAh))\n return um5V", "def BOsE(Csk6):\n return tuple(eqLo(Csk6))", "def GGMD(Csk6):\n um5V = []\n nPrm = []\n for G1Hx, Ty9i in Csk6.items():\n for yzQ0, WKvO in Ty9i.items():\n um...
[ "0.855529", "0.8479046", "0.84101117", "0.79176855", "0.79040307", "0.78454596", "0.7792844", "0.7355329", "0.68943155", "0.68383145", "0.67585003", "0.64600104", "0.64124733", "0.63557976", "0.63497686", "0.6311568", "0.6289226", "0.6222456", "0.6214522", "0.61926967", "0.61...
0.8846902
0
Removes the html tags from the content.
def as8h(hGN5: str) -> str: Z9JV = rKuS(hGN5, 'html.parser') return Z9JV.body.get_text()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nNJN(l5Ny):\n x0SS = ZbWC.compile('<.*?>')\n KxPu.append(ZbWC.sub(x0SS, '', l5Ny))", "def DVW7(l5Ny):\n RBfQ = ZbWC.compile('<.*?>')\n return RBfQ.sub('', l5Ny)", "def JZhs(l5Ny):\n x0SS = ZbWC.compile('<.*?>')\n return ZbWC.sub(x0SS, '', l5Ny)", "def JZhs(nPrm):\n XP5J = ZbWC.compil...
[ "0.8469667", "0.7835908", "0.782178", "0.7608002", "0.7607244", "0.7570154", "0.75293756", "0.7518518", "0.7462995", "0.7462995", "0.74503875", "0.7414065", "0.7414065", "0.7414065", "0.7414065", "0.7414065", "0.7414065", "0.7411703", "0.7399779", "0.7399779", "0.7399779", ...
0.8069988
1
Calculates the objective function value for particular solution, taking as a parameters two matrices that represent distance between locations and flow between facilities.
def hmlP(YKHO): YKHO.fitness = 0 for YRbF in range(YKHO.problem_size): for r845 in range(YKHO.problem_size): Ayfi = YKHO.distance[YRbF][r845] _uqo = YKHO.flow[YKHO.assignment[YRbF]][YKHO.assignment[r845]] YKHO.fitness += Ayfi * _uqo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fhm5(YKHO, GERS):\n return sum((YKHO.distance_matrix[GERS[YRbF], GERS[(YRbF + 1) % len(GERS)]] for YRbF in range(len(GERS))))", "def eVbw(GERS=[], yfx6=[]):\n irEQ = 0\n ScY8 = len(GERS)\n for YRbF in Ni9Y(ScY8 - 1):\n ACUo = GERS[YRbF]\n SEte = GERS[YRbF + 1]\n irEQ += Ayfi(...
[ "0.68134624", "0.6472128", "0.63738614", "0.61012506", "0.6068166", "0.5998802", "0.599779", "0.5978368", "0.59547514", "0.59149015", "0.58867234", "0.5880115", "0.58481735", "0.5837226", "0.5832635", "0.5823991", "0.5786797", "0.57722056", "0.5702676", "0.5702676", "0.570078...
0.5676466
23
True if the token is expired.
def CJbn(YKHO): return not YKHO.is_valid()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JmWR(YKHO, eOtH):\n wzkt = int(ITS7.time())\n return eOtH['expires_at'] - wzkt < 60", "def sOqB(Emd4, eOtH):\n return Emd4.expires_in(eOtH) < fCoM(seconds=0)", "def Xc2J(YKHO):\n mMKc = 0.8\n M1QU = YKHO.token_info.get('expires_in')\n e2iN = YKHO.token_info.get('expiration')\n yYW1 = e...
[ "0.8917295", "0.8906693", "0.8814103", "0.8771341", "0.85833", "0.8503115", "0.84464484", "0.8416819", "0.83915544", "0.83221215", "0.82679456", "0.8259401", "0.82473356", "0.8240687", "0.82313895", "0.8163625", "0.8162959", "0.8125177", "0.80946696", "0.8080115", "0.80691814...
0.7917337
38
Perform a POST request to class URL attribute with given data.
def m8z6(YKHO, nPrm=None): bD7m = nKyW(YKHO.url, **YKHO.url_params) YKHO.response = YKHO.client.post(bD7m, data=qQXR.dumps(nPrm), content_type='application/json') return YKHO.response
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m8z6(YKHO, bD7m, nPrm):\n return YKHO.req('POST', bD7m, nPrm)", "def sbBR(YKHO, bD7m, nPrm):\n MOPg = {'Content-Type': 'application/x-www-form-urlencoded'}\n geh0 = YKHO.session.post(bD7m, data=nPrm, headers=MOPg)\n return geh0", "def oJEX(YKHO, bD7m, nPrm):\n _hkX = G4JS.post(bD7m, data=nPr...
[ "0.7252855", "0.69900215", "0.6852176", "0.68147194", "0.6804697", "0.67674863", "0.6695247", "0.6693548", "0.669243", "0.6620266", "0.65768385", "0.6544403", "0.65419775", "0.65089065", "0.64627373", "0.6444516", "0.6356061", "0.6354669", "0.63456917", "0.633953", "0.6316753...
0.6613014
10
Check if response has OK status and matches the given schema.
def anP7(YKHO): assert YKHO.response.status_code == 200 YKHO.assert_matches_schema()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j1x8(_hkX):\n return _hkX.status_code == 200", "def cbRR(YKHO):\n if YKHO.schema:\n assert VHBo(YKHO.response.json, YKHO.schema)", "def yQRe(_hkX):\n return _hkX.status_code == 200", "def WTjz(_hkX):\n return _hkX.ok", "def NsL3(YKHO, _hkX):\n if _hkX.ok:\n return True\n ...
[ "0.7516085", "0.7179949", "0.6975509", "0.6935872", "0.69198895", "0.68878126", "0.6880414", "0.6712751", "0.67096484", "0.67042375", "0.66944575", "0.668264", "0.6666293", "0.661505", "0.6603838", "0.6602215", "0.6592942", "0.6588963", "0.658812", "0.6581085", "0.6566411", ...
0.777405
0
Check if response has unprocessable entity status (422).
def S5yp(YKHO): assert YKHO.response.status_code == 422
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SFHO(YKHO, _hkX):\n return YKHO.assertEqual(_hkX.status_code, 422)", "def SFHO(YKHO, _hkX):\n return YKHO.assertEqual(_hkX.status_code, 422)", "def zCRF(P1dF):\n geh0 = pz3A({'success': False, 'error_code': 'unprocessable_entity', 'description': 'The request was unable to be fulfilled'})\n retu...
[ "0.8182011", "0.81488234", "0.76319325", "0.7599506", "0.7408321", "0.7333558", "0.73051447", "0.7301916", "0.7139857", "0.71346194", "0.71346194", "0.71203244", "0.6971456", "0.69550645", "0.6905192", "0.6895293", "0.6895293", "0.6889628", "0.6847275", "0.68461317", "0.68424...
0.8382228
0
Returns whether _class is a spellcaster.
def rGoG(PWg9, ABDL=1): Ze5U = ('Bard', 'Cleric', 'Druid', 'Sorcerer', 'Warlock', 'Wizard') if PWg9 in Ze5U: return True if PWg9 in ('Fighter', 'Rogue') and ABDL >= 3: return True if PWg9 in ('Paladin', 'Ranger') and ABDL >= 2: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KuyO(YKHO):\n return YKHO._spell_checker is not None", "def jwRN(YKHO):\n return aeRT is not None", "def amLm(YKHO, mWFP):\n return mWFP in YKHO._targetcls", "def vPen(YKHO, bzs8, ABDL) -> bool:\n return YKHO.get_slots(ABDL) > 0 and bzs8.name in YKHO", "def LJf3(Emd4):\n return as9g(Emd4...
[ "0.6463583", "0.6458117", "0.6338267", "0.6331285", "0.632924", "0.63038665", "0.62924796", "0.622754", "0.608569", "0.60781884", "0.60224193", "0.59578574", "0.59517884", "0.59517884", "0.590399", "0.58753324", "0.5863102", "0.58546597", "0.5770896", "0.5717026", "0.56498456...
0.7587088
0
Returns ability score. Returns int Returns ability score value.
def hckV(Emd4, x2cn): return Emd4.Ability[x2cn]['Score']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1kx(YKHO) -> int:\n return YKHO._score", "def p1kx(YKHO) -> int:\n return YKHO._score", "def hckV(YKHO) -> int:\n return YKHO.p1_score", "def hckV(YKHO) -> int:\n return YKHO.p1_score", "def Q1sI(YKHO):\n return YKHO.data.combatPlayerScore", "def SQRS(YKHO):\n return YKHO.score", ...
[ "0.7122934", "0.7122934", "0.708947", "0.708947", "0.70807296", "0.7052964", "0.7025895", "0.69786376", "0.6958034", "0.6949206", "0.6946961", "0.69456905", "0.69332767", "0.6916396", "0.6915988", "0.6915988", "0.6893368", "0.6881581", "0.6881581", "0.6881123", "0.68726355", ...
0.852012
0
Generate a paginated response for a resource collection. Routes that use this decorator must return a SQLAlchemy query as a response. The output of this decorator is a Python dictionary with the paginated results. The application must ensure that this result is converted to a response object, either by chaining another...
def roPg(xUwc, FFn8=25): def mrMx(eHNT): @xBlr.wraps(eHNT) def b6ry(*qIxc, **B2fa): xDcj = eHNT(*qIxc, **B2fa) B2Dn = QePW.args.get('page', 1, type=int) USOo = min(QePW.args.get('per_page', FFn8, type=int), FFn8) Tdem = None if QePW.args....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j59q(YKHO, nPrm) -> oGir:\n return oGir(U8Lr([('count', YKHO.pagination.count), ('next', YKHO.get_next_link()), ('previous', YKHO.get_previous_link()), ('results', list(nPrm))]))", "def sEOr(Emd4, Ylbp, **B2fa):\n if isinstance(Ylbp, list):\n return [Mkmy.to_dict(**B2fa) for Mkmy in Ylbp]\n M...
[ "0.6991368", "0.6838595", "0.67330134", "0.67126095", "0.6625052", "0.66239095", "0.65101993", "0.64946866", "0.6480815", "0.6449784", "0.6387717", "0.6367853", "0.6272241", "0.6266071", "0.6230633", "0.6216735", "0.62066907", "0.6192983", "0.61661726", "0.61661726", "0.61661...
0.67568564
2
Render the home page.
def kZiy(): return TvZl('index.html', version=BtDU)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('homepage.html')", "def C_QL():\n return TvZl('home.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('pages/home.html')", "def vja_():\n return TvZl('home.html')", "def kZiy():\n return...
[ "0.8777613", "0.8774461", "0.87677056", "0.870502", "0.8609293", "0.8596855", "0.8593956", "0.8579833", "0.8579833", "0.8569989", "0.8569989", "0.8553895", "0.85526305", "0.85526305", "0.85526305", "0.85526305", "0.85526305", "0.85526305", "0.85526305", "0.85526305", "0.85526...
0.0
-1
The 'home' page. Returns an HTML page with Fine Uploader code ready to upload. This HTML page should contain your clientside code for instatiating and modifying Fine Uploader.
def kZiy(QePW): return _1tc(QePW, 'fine_uploader/index.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n L03z = JbYE(QePW.form)\n return TvZl('index.html', form=L03z)", "def kZiy():\n return TvZl('index.html')", "def kZiy():\n RRlC, AQSv = EPt3()\n return TvZl('home.html', files=RRlC, dirs=AQSv)", "def AwJp():\n return TvZl('upload.html')", "def Sn26():\n return TvZl('homepa...
[ "0.7261219", "0.65201086", "0.63151777", "0.63034683", "0.6271668", "0.6223308", "0.62083685", "0.6190641", "0.61614126", "0.6160843", "0.6081039", "0.5936857", "0.5925403", "0.5882305", "0.5843003", "0.5831845", "0.58149785", "0.58108556", "0.5752239", "0.5743557", "0.573808...
0.72887826
0
Sets self.set_local2global to a dictionary Used to relate local domain embedding ids to global entity ids self.set_local2global[local_id] > global_id
def DHTL(YKHO, toex): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pA_y(YKHO):\n ljlo = {}\n for H5ew in YKHO.largest_mappings[0]:\n TsX9 = True\n BWXx = YKHO.largest_mappings[0][H5ew]\n for J8oL in YKHO.largest_mappings:\n if H5ew not in J8oL:\n TsX9 = False\n break\n elif J8oL[H5ew] != BWXx:\n ...
[ "0.65028614", "0.6218985", "0.6070187", "0.60507435", "0.602346", "0.602346", "0.602346", "0.602346", "0.602346", "0.59270805", "0.5908069", "0.5884393", "0.56821764", "0.5586678", "0.5586678", "0.55396736", "0.5528328", "0.5528328", "0.5488505", "0.5488505", "0.5488505", "...
0.6815445
0
Use the admin_obj's get_fieldsets method if it is defined
def HDt3(YKHO): ZWCE = [{'first_name': 'first {}'.format(YRbF), 'middle_name': 'middle {}'.format(YRbF), 'last_name': 'last {}'.format(YRbF)} for YRbF in range(3)] FYrf = [SLz4.objects.create(**exwG) for exwG in ZWCE] geh0 = YKHO.client.get(ZwpL(FYrf, YKHO.client.session)) YKHO.assertEqual(geh0.status_c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wjN7(YKHO, QePW, YEnM=None):\n if not YEnM:\n return YKHO.add_fieldsets\n return super().get_fieldsets(QePW, YEnM)", "def wjN7(YKHO, QePW, YEnM=None):\n if not YEnM and hasattr(YKHO, 'add_fieldsets') and (YKHO.add_fieldsets is not None):\n return YKHO.add_fieldsets\n return super()....
[ "0.7890863", "0.7867019", "0.7111571", "0.6994831", "0.6960325", "0.68642527", "0.68628293", "0.65567863", "0.65551573", "0.6472094", "0.6443382", "0.636982", "0.63376474", "0.62961185", "0.62813646", "0.62244236", "0.6163458", "0.6107927", "0.60357875", "0.59930265", "0.5923...
0.62822825
14
Produces random numbers for variance process with required covariance structure.
def ZU58(YKHO): xlLU = oyIN.random.multivariate_normal return xlLU(YKHO.e, YKHO.c, (YKHO.N, YKHO.s))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eQJx(YKHO, ROaS):\n if YKHO.covariance_type == 'spherical':\n return oyIN.random.rand(YKHO.n_clusters)\n elif YKHO.covariance_type == 'diagonal':\n return oyIN.random.rand(YKHO.n_clusters, ROaS)", "def TdS_(YKHO):\n return YKHO.D", "def jtZX(YKHO):\n pass", "def qvVm(YKHO):\n ...
[ "0.7272359", "0.71941596", "0.7046191", "0.70409", "0.70409", "0.69560146", "0.6776617", "0.67078316", "0.6697139", "0.6654432", "0.6625659", "0.66211176", "0.6522337", "0.64904493", "0.63922274", "0.6389685", "0.6387568", "0.63711935", "0.6335066", "0.6300786", "0.6260157", ...
0.0
-1
Initialize a ``Redacted`` instance.
def FIMM(YKHO, l5Ny='<redacted>'): YKHO.text = l5Ny
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, YEnM, QsHe=None, lI9w=lI9w):\n YKHO.__redacted_obj__ = YEnM\n YKHO.__redacted_attrs__ = QsHe or set()\n YKHO.__redacted__ = lI9w", "def FIMM(YKHO, YEnM, H02z=None, QsHe=None, lI9w=lI9w):\n super(bL83, YKHO).__init__(YEnM, QsHe, lI9w)\n YKHO.__redacted_keys__ = H02z or set()", "def...
[ "0.6777823", "0.65138346", "0.60806316", "0.60806316", "0.5738471", "0.5676956", "0.55600023", "0.5518033", "0.5472375", "0.5454967", "0.54456705", "0.53281987", "0.5312472", "0.5311999", "0.5311999", "0.5311999", "0.5306394", "0.52895576", "0.5284477", "0.5278001", "0.527796...
0.0
-1
Retrieve a string representation of the object.
def zAg0(YKHO): return YKHO.text
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return YKHO.object_repr", "def zAg0(YKHO) -> str:\n return lSJJ(YKHO)", "def zAg0(YKHO):\n return str(YKHO.obj)", "def yLCI(YKHO):\n return YKHO.__str__()", "def yLCI(YKHO):\n return YKHO.__str__()", "def SnfU(YKHO):\n return str(YKHO)", "def zAg0(YKHO):\n return ...
[ "0.81261885", "0.811497", "0.79870677", "0.7981812", "0.7950055", "0.78234047", "0.77971566", "0.77955717", "0.77920073", "0.77920073", "0.77882725", "0.77882725", "0.77809423", "0.7768853", "0.7760066", "0.7749043", "0.77469647", "0.77469647", "0.77469647", "0.7737049", "0.7...
0.0
-1
Initialize a ``RedactedObject`` instance.
def FIMM(YKHO, YEnM, QsHe=None, lI9w=lI9w): YKHO.__redacted_obj__ = YEnM YKHO.__redacted_attrs__ = QsHe or set() YKHO.__redacted__ = lI9w
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, YEnM, H02z=None, QsHe=None, lI9w=lI9w):\n super(bL83, YKHO).__init__(YEnM, QsHe, lI9w)\n YKHO.__redacted_keys__ = H02z or set()", "def FIMM(YKHO, object):\n YKHO.__object = object", "def FIMM(YKHO, QK49):\n YKHO._obj = QK49", "def FIMM(YKHO, YEnM):\n YKHO._obj = YEnM", "def FI...
[ "0.6928127", "0.6121349", "0.608322", "0.6015332", "0.59744215", "0.59641796", "0.58893526", "0.5864184", "0.5849263", "0.5827658", "0.57890433", "0.5766419", "0.5719801", "0.5698087", "0.56977814", "0.5689749", "0.5682172", "0.5677179", "0.5671861", "0.5671861", "0.5671861",...
0.76175386
0
Retrieve an attribute from the proxied object.
def JgjC(YKHO, mWFP): BWXx = getattr(YKHO.__redacted_obj__, mWFP) return YKHO.__redacted__ if mWFP in YKHO.__redacted_attrs__ else BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JgjC(YKHO, hkS8):\n mdHG = YKHO.proxied(hkS8)\n if mdHG is None:\n raise AttributeError('Unable to resolve attribute {0} on {1}'.format(hkS8, YKHO.obj_name))\n return getattr(mdHG, hkS8)", "def JgjC(YKHO, hkS8, **c_sp):\n VKhi = YKHO._getProxyOptions()\n for G1Hx in VKhi:\n if '_...
[ "0.80464715", "0.7258916", "0.70802724", "0.70792055", "0.703642", "0.7034882", "0.7029628", "0.6997257", "0.69807047", "0.69438535", "0.69422984", "0.69296026", "0.69267684", "0.69267684", "0.6911303", "0.688302", "0.6876734", "0.6863411", "0.6857555", "0.68480587", "0.68475...
0.65563977
48
Returns an active user that matches the payload's user id and email.
def K2e4(YKHO, pB3N): D3lj = Iy1N(pB3N) if not D3lj: tO9_ = bGrB('Invalid payload.') raise Bx6I.AuthenticationFailed(tO9_) try: CBIr = mv1M.objects.get_by_natural_key(D3lj) except mv1M.DoesNotExist: tO9_ = bGrB('Invalid signature.') raise Bx6I.AuthenticationFailed...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def atbI(YKHO, D3lj, Urat=False):\n CBIr = YKHO.users.find_one({'email': D3lj})\n if not CBIr:\n raise Exception('User not found')\n if Urat:\n return CBIr\n try:\n yo7_ = qcWV.utcnow().replace(tzinfo=CBIr['_created'].tzinfo)\n RA_F = (yo7_.date() - CBIr['_created'].date())....
[ "0.7514578", "0.75091136", "0.74561286", "0.730593", "0.7257947", "0.724989", "0.7193396", "0.7172547", "0.7164149", "0.71327215", "0.71117073", "0.7111698", "0.7111022", "0.7092066", "0.70834345", "0.70814675", "0.7060369", "0.70507604", "0.70507604", "0.70507604", "0.702504...
0.7168313
8
Calculate the Intersection of Unions (IoUs) between bounding boxes.
def z9IC(H5F9, D8Q3): if H5F9.shape[1] != 4 or D8Q3.shape[1] != 4: raise IndexError GPIy = oyIN.maximum(H5F9[:, None, :2], D8Q3[:, :2]) Rzz_ = oyIN.minimum(H5F9[:, None, 2:], D8Q3[:, 2:]) zLeF = oyIN.prod(Rzz_ - GPIy, axis=2) * (GPIy < Rzz_).all(axis=2) s9o6 = oyIN.prod(H5F9[:, 2:] - H5F9[:,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ySfS(knvf, IkxF):\n rn1I = knvf[2]\n De7X = knvf[3]\n mIwi = IkxF[2]\n GD1K = IkxF[3]\n Z9pq = rn1I * De7X\n d_Zw = mIwi * GD1K\n RsfQ = min(knvf[0] - rn1I / 2.0, IkxF[0] - mIwi / 2.0)\n DIq2 = max(knvf[0] + rn1I / 2.0, IkxF[0] + mIwi / 2.0)\n B5ql = DIq2 - RsfQ\n suhQ = min(knvf[...
[ "0.80823624", "0.8065217", "0.79954994", "0.79907525", "0.7970154", "0.7832395", "0.7750083", "0.7717125", "0.7688169", "0.76633763", "0.7613582", "0.76059663", "0.7601029", "0.7592338", "0.75824386", "0.7579723", "0.75263405", "0.7514359", "0.74938005", "0.7491462", "0.74881...
0.0
-1
Calculate the Mean Average Precision (mAP) of detected objects.
def fWVj(DwNp, DeC7, lKCq, qixX, Yptr, G12u): assert len(DwNp) == len(DeC7) == len(lKCq) == len(qixX) == len(Yptr) TFPw = len(ecF5) n09p = list() for YRbF in range(len(Yptr)): n09p.extend([YRbF] * Yptr[YRbF].size(0)) n09p = ht2j.LongTensor(n09p).to(begE) qixX = ht2j.cat(qixX, dim=0) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fWVj(eQSh):\n pAOo = []\n for UXqs in eQSh:\n wDIY = eQSh[UXqs]\n HRJ_ = oyIN.array(wDIY['tp'])\n ytgA = oyIN.array(wDIY['fp'])\n cCrA = oyIN.around(oyIN.array(wDIY['scores']), 3)\n A07C = oyIN.argsort(-cCrA)\n wjRY = wDIY['total']\n xiTR = oyIN.cumsum(HRJ...
[ "0.7194331", "0.7057097", "0.6800016", "0.67996866", "0.6725838", "0.66630125", "0.6658217", "0.6620275", "0.65394765", "0.6504646", "0.6503142", "0.6503142", "0.6503142", "0.6503142", "0.6503142", "0.6503142", "0.6451095", "0.6433576", "0.6433576", "0.6433576", "0.6433576", ...
0.0
-1
Find the intersection of every box combination between two sets of boxes that are in boundary coordinates.
def mP91(MWrr, MOlU): eTFg = ht2j.max(MWrr[:, :2].unsqueeze(1), MOlU[:, :2].unsqueeze(0)) gUAk = ht2j.min(MWrr[:, 2:].unsqueeze(1), MOlU[:, 2:].unsqueeze(0)) RmPS = ht2j.clamp(gUAk - eTFg, min=0) return RmPS[:, :, 0] * RmPS[:, :, 1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nuKs(YKHO, c2BJ, BHYc):\n Scow = oyIN.maximum(c2BJ[:, 0], BHYc[:, 0])\n eDXU = oyIN.minimum(c2BJ[:, 1], BHYc[:, 1])\n TX60 = Scow - eDXU\n TX60 *= -1 if all(TX60 < 0) else 1\n V3Tl = oyIN.zeros(TX60.shape[0])\n TX60 = oyIN.maximum(TX60, V3Tl)\n iQin = oyIN.prod(TX60)\n return iQin", "...
[ "0.77367973", "0.74945325", "0.7453865", "0.7224252", "0.71752745", "0.7141619", "0.71345985", "0.7107673", "0.7079889", "0.70415914", "0.7018523", "0.7017381", "0.6999694", "0.6999694", "0.6994559", "0.69875866", "0.69777983", "0.6965017", "0.696368", "0.69322497", "0.690061...
0.6504427
50
Find the Jaccard Overlap (IoU) of every box combination between two sets of boxes that are in boundary coordinates.
def khWK(MWrr, MOlU): iQin = mP91(MWrr, MOlU) vXV1 = (MWrr[:, 2] - MWrr[:, 0]) * (MWrr[:, 3] - MWrr[:, 1]) MAOT = (MOlU[:, 2] - MOlU[:, 0]) * (MOlU[:, 3] - MOlU[:, 1]) b65I = vXV1.unsqueeze(1) + MAOT.unsqueeze(0) - iQin return iQin / b65I
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RjuK(wgcq, jRFy):\n HDwO, lrqa = (wgcq[:, 0] - wgcq[:, 2] / 2, jRFy[:, 0] - jRFy[:, 2] / 2)\n yKcm, t57X = (wgcq[:, 1] - wgcq[:, 3] / 2, jRFy[:, 1] - jRFy[:, 3] / 2)\n ZAsR, ruF1 = (wgcq[:, 0] + wgcq[:, 2] / 2, jRFy[:, 0] + jRFy[:, 2] / 2)\n b07p, aKIv = (wgcq[:, 1] + wgcq[:, 2] / 2, jRFy[:, 1] + j...
[ "0.71266", "0.70633423", "0.6991327", "0.69803584", "0.69779944", "0.6962395", "0.69526005", "0.69526005", "0.69526005", "0.69526005", "0.69526005", "0.69526005", "0.69526005", "0.69526005", "0.6915488", "0.6891911", "0.67654896", "0.67414635", "0.67414635", "0.67411196", "0....
0.6440359
64
return the union of two lists
def b65I(jzdc, Fg_i): return list(set(jzdc) | set(Fg_i))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zk73(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(w_3R, XxT4):\n return dDv2(w_3R + XxT4)", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg...
[ "0.87579453", "0.86029536", "0.859923", "0.8588517", "0.85150754", "0.8497468", "0.8485949", "0.8464023", "0.84628814", "0.8451098", "0.8246892", "0.8200105", "0.8185488", "0.81647533", "0.81404", "0.8090162", "0.80833423", "0.8051473", "0.7934182", "0.77234006", "0.7698081",...
0.8507195
6
get a python logger
def fZx2(mWFP='logger', ABDL='DEBUG', pRU9=True, W1Sa=False, qaEx=None, gIsw=None): def _ulu(ABDL): return {'debug': G9jH.DEBUG, 'info': G9jH.INFO, 'warning': G9jH.WARNING, 'error': G9jH.ERROR, 'critical': G9jH.CRITICAL}.get(ABDL.lower()) bo34 = G9jH.getLogger(mWFP) bo34.setLevel(_ulu(ABDL)) ua...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fZx2():\n return bo34", "def XIAT():\n return G9jH.Logger(__name__)", "def fZx2():\n return vzeF", "def bo34():\n return G9jH.getLogger(__name__)", "def bo34():\n return G9jH.getLogger(__name__)", "def bo34():\n return G9jH.getLogger(__name__)", "def fZx2():\n return S0MI", "...
[ "0.88484704", "0.8591336", "0.8581062", "0.8577595", "0.8577595", "0.8577595", "0.85484666", "0.8524525", "0.8510475", "0.83081204", "0.8299854", "0.82781416", "0.8221943", "0.8196299", "0.8189172", "0.81641537", "0.81277514", "0.81254387", "0.81163657", "0.8107608", "0.80774...
0.0
-1
Prevent YAML injection via special characters. Note that this will enforce double quoted YAML strings.
def FaRK(nPrm): if isinstance(nPrm, dict): return {G1Hx: FaRK(Ty9i) for G1Hx, Ty9i in nPrm.items()} elif isinstance(nPrm, list): return [FaRK(Ty9i) for Ty9i in nPrm] elif isinstance(nPrm, str): return qQXR.dumps(nPrm) elif isinstance(nPrm, (int, float)): return nPrm e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aLgw(C5N_: str) -> str:\n ATYb = [hcXw for hcXw in C5N_ if hcXw in ['!', '{', '[']]\n if len(ATYb) == 0:\n return C5N_\n XEBK = '\"'\n k1GV = \"'\"\n if XEBK in C5N_ and XEBK not in C5N_[1:-1]:\n return C5N_\n if XEBK in C5N_[1:-1]:\n C5N_ = k1GV + C5N_ + k1GV\n else:\...
[ "0.73659855", "0.69961315", "0.69009954", "0.6781943", "0.6627486", "0.59316176", "0.5925793", "0.5921054", "0.586526", "0.58523566", "0.58222735", "0.5775834", "0.5753394", "0.57426876", "0.56976193", "0.56841487", "0.56399167", "0.5634892", "0.56345946", "0.5620111", "0.561...
0.0
-1
Computes the mean and variance of block pair event counts
def k99Q(kmIh, lmW_, TFPw): VwMY = BfDw.calc_block_pair_size(lmW_, TFPw).astype(int) jhA4 = oyIN.zeros((TFPw, TFPw)) CLEb = oyIN.zeros((TFPw, TFPw)) for YRbF in range(TFPw): for r845 in range(TFPw): EZl8 = [len(kEE6) for kEE6 in kmIh[YRbF][r845]] EZl8.extend([0] * (VwMY[Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Fr4s(BErt, zDFw, c2_M, aSKj, TFPw, Gsga, Tx5H):\n FOBw = BfDw.calc_block_pair_size(aSKj, TFPw)\n Nc6L = BErt * Gsga / (1 - zDFw)\n Nc6L = Nc6L / Gsga * Tx5H * FOBw\n QrBZ = BErt * Gsga / (1 - zDFw) ** 3\n QrBZ = QrBZ / Gsga * Tx5H * FOBw\n DW5b = hsSP(c2_M, TFPw)\n return (Nc6L, QrBZ, DW5b...
[ "0.7195402", "0.6568928", "0.6457813", "0.6346646", "0.626285", "0.6257841", "0.6252612", "0.62417746", "0.62284076", "0.6220804", "0.62202275", "0.62144923", "0.6204314", "0.6156753", "0.6113135", "0.6103447", "0.6084129", "0.6070786", "0.6053682", "0.6029676", "0.6023261", ...
0.7954069
0
Computes sample mean and variance of block pair event counts
def Fr4s(BErt, zDFw, c2_M, aSKj, TFPw, Gsga, Tx5H): FOBw = BfDw.calc_block_pair_size(aSKj, TFPw) Nc6L = BErt * Gsga / (1 - zDFw) Nc6L = Nc6L / Gsga * Tx5H * FOBw QrBZ = BErt * Gsga / (1 - zDFw) ** 3 QrBZ = QrBZ / Gsga * Tx5H * FOBw DW5b = hsSP(c2_M, TFPw) return (Nc6L, QrBZ, DW5b)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k99Q(kmIh, lmW_, TFPw):\n VwMY = BfDw.calc_block_pair_size(lmW_, TFPw).astype(int)\n jhA4 = oyIN.zeros((TFPw, TFPw))\n CLEb = oyIN.zeros((TFPw, TFPw))\n for YRbF in range(TFPw):\n for r845 in range(TFPw):\n EZl8 = [len(kEE6) for kEE6 in kmIh[YRbF][r845]]\n EZl8.extend([...
[ "0.74459624", "0.6606147", "0.64244825", "0.6371597", "0.6307264", "0.6293787", "0.6287606", "0.62445915", "0.62360376", "0.6222418", "0.6207589", "0.61732656", "0.6165522", "0.6084739", "0.6041553", "0.6023589", "0.60188824", "0.6014229", "0.6008467", "0.5963396", "0.5945596...
0.71557516
1
Pick GPU as device for data if available, else CPU.
def XXJM() -> begE: if lDLs.is_available(): return begE('cuda') else: return begE('cpu')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vxYq():\n return ht2j.device('cuda' if ht2j.cuda.is_available() else 'cpu')", "def TWx1(begE: str='') -> p86R:\n VGCm = begE.lower() == 'cpu'\n lDLs = not VGCm and ht2j.cuda.is_available()\n return p86R('cuda:0' if lDLs else 'cpu')", "def VeaS():\n return ht2j.device('cuda') if ht2j.cuda.is_...
[ "0.7731227", "0.7722913", "0.7706509", "0.77021605", "0.7682011", "0.76782954", "0.7537472", "0.7520611", "0.74999434", "0.7476121", "0.7447948", "0.74425614", "0.7435817", "0.7386128", "0.734084", "0.73255265", "0.73182756", "0.7316332", "0.7305441", "0.7260948", "0.72440934...
0.7060825
36
Convert raw train and test data into torch compatible format. The steps taken includes text quantisation and moving data to a selected device. The selection of processing device will always prefer a GPU if a CUDA enabled GPU is available.
def g40E(x4W3: DataFrame, Dmme: DataFrame, CDpb: str='comment', aQda: str='rating', gZgb: str='abcdefghijklmnopqrstuvwxyz0123456789-,;.!?:\'"/\\|_@#$%^&*~`+ =<>()[]{}\n', BcCR: int=1014, **NArs) -> AzJI[uHIW]: UelW.alphabet = gZgb UelW.max_length = BcCR HTjy, h4TO = (x4W3[CDpb], x4W3[aQda]) MHLE, s8RJ =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eCGt(YKHO):\n qIxc = YKHO.args\n YKHO.data_dir = qIxc.data_dir\n if ht2j.cuda.is_available():\n YKHO.device = ht2j.device('cuda')\n YKHO.device_count = ht2j.cuda.device_count()\n G9jH.info('using {} gpus'.format(YKHO.device_count))\n else:\n raise Exception('gpu is not a...
[ "0.64432704", "0.63287985", "0.62327695", "0.6207145", "0.6207145", "0.6156158", "0.61236036", "0.6118272", "0.61128974", "0.6092961", "0.60756755", "0.60750794", "0.6062199", "0.60522056", "0.60377306", "0.60188675", "0.59997606", "0.59939045", "0.598868", "0.59295523", "0.5...
0.0
-1
This will return an alphabetical list of all file categories in the referenced project.
def xIfZ(YKHO, ekCf): pmON = '/projects/%u/categories.xml?type=attachment' % ekCf return YKHO._request(pmON)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AVZI(ckRy: Text) -> x1iM[I2jr]:\n ycBG = []\n for jQJk in GkAb(ckRy).iterdir():\n ycBG.append(str(jQJk))\n ycBG.sort()\n return ycBG", "async def get_category_list():\n pT7Y = ['images', 'stylesheets', 'javascripts', '_layouts', '.sass-cache', '_site']\n AQSv = [WKvO for WKvO in Hy7s...
[ "0.69810134", "0.68078655", "0.67709845", "0.6598111", "0.65472806", "0.6408528", "0.6370168", "0.6358784", "0.6338465", "0.62234443", "0.62089336", "0.6159915", "0.6154725", "0.6145635", "0.6108817", "0.6106699", "0.61025465", "0.6091138", "0.6082153", "0.60740674", "0.60394...
0.6568113
4
This will return an alphabetical list of all message categories in the referenced project.
def Sqx4(YKHO, ekCf): pmON = '/projects/%u/categories.xml?type=post' % ekCf return YKHO._request(pmON)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQuW(YKHO):\n return sorted(YKHO.categories.keys(), key=str.casefold)", "def LQuW(YKHO):\n LeZt = ''\n for YRbF in YKHO.category.all():\n LeZt += YRbF.name + ' '\n return LeZt", "async def categories_list(Ol8d: types.Message):\n LeZt = eorc(int(Ol8d.chat.id)).get_all_categories()\n ...
[ "0.709876", "0.70649475", "0.6744355", "0.6744355", "0.6671313", "0.6645485", "0.66162956", "0.66027886", "0.6564471", "0.6553214", "0.65316194", "0.6488291", "0.6488291", "0.64802235", "0.64684594", "0.64588076", "0.64477676", "0.6444172", "0.6442298", "0.64227444", "0.64223...
0.7264131
0
This will return the currently logged in person (you)
def RuJL(YKHO): pmON = '/me.xml' return YKHO._request(pmON)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RuJL(YKHO):\n return YKHO.get_user(screen_name=YKHO.auth.get_username())", "def c5ow(YKHO):\n return YKHO.manager.logged_in_user", "def Penc():\n return cuiw['loggedInUser']", "def W84Y(Emd4):\n NtEF = Emd4.connection.get_user().split('@')[0]\n bTKY = _NzP & dict(dj_username=NtEF)\n if ...
[ "0.763162", "0.74199235", "0.7393896", "0.73254997", "0.73242474", "0.73242474", "0.73242474", "0.73242474", "0.7250715", "0.7238737", "0.7187758", "0.7178432", "0.71689075", "0.7154548", "0.71528614", "0.7150932", "0.71351695", "0.7116449", "0.71157616", "0.7103072", "0.7103...
0.0
-1
Updates an existing message, optionally sending notifications to a selected list of people. Note that you can also upload files using this function, but you have to format the request as multipart/formdata. (See the ruby Basecamp API wrapper for an example of how to do this.)
def nVaV(YKHO, KREW, VMw8, leAC, TBsA, Bjnn=False, n3T8=None): pmON = '/posts/%u.xml' % KREW qv1X = GXnK.Element('request') qv1X.append(YKHO._create_message_post_elem(VMw8, leAC, TBsA, Bjnn, n3T8)) if n3T8 is not None: for Aujj in n3T8: GXnK.SubElement(qv1X, 'notify').text = str(int(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ITwz(YKHO, **NejI):\n YKHO.__bot.api(f'/channels/{YKHO.channel_id}/messages/{YKHO.id}', 'PATCH', json=NejI)", "def Rttz():\n mDJ9 = QePW.get_json()['message']\n qraP = Mj8P()\n _hkX = Xx_o(qraP, mDJ9)\n if _hkX:\n return pz3A({'message': _hkX.msg}, status=qed_.BAD_REQUEST)\n else:\n ...
[ "0.6704299", "0.66649365", "0.65997005", "0.6558257", "0.6364378", "0.62239474", "0.62239474", "0.6155575", "0.6135413", "0.61097515", "0.6093975", "0.60739386", "0.6062034", "0.6028871", "0.5988268", "0.5988268", "0.5988268", "0.5988268", "0.5988268", "0.5988268", "0.5988268...
0.6414709
4
Performs a soft update of the target network parameters. For each weight w_s in the original network, and its corresponding
def uW3v(YKHO, jmzt=1.0, pQ4c=1): with ZylS.name_scope('update_target'): def QdZT(): """Update target network.""" JAHz = BJsk.soft_variables_update(YKHO._critic_network_1.variables, YKHO._target_critic_network_1.variables, jmzt, tau_non_trainable=jmzt) Ghvp = BJsk.soft_v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HwXW(YKHO) -> None:\n for SIgb, zHw4 in zip(YKHO.model.target_network_1.parameters(), YKHO.model.value_network_1.parameters()):\n SIgb.data.copy_(SIgb.data * (1.0 - YKHO._cfg.tau) + zHw4.data * YKHO._cfg.tau)\n for SIgb, zHw4 in zip(YKHO.model.target_network_2.parameters(), YKHO.model.value_networ...
[ "0.78954625", "0.7716822", "0.76128685", "0.7512958", "0.7410424", "0.7328378", "0.72505766", "0.7211147", "0.7205041", "0.7205041", "0.71974665", "0.7096814", "0.7043962", "0.6955216", "0.6943293", "0.6934198", "0.6934198", "0.6934198", "0.6897481", "0.6896665", "0.68805003"...
0.0
-1
This default evaluation function just returns the score of the state. The score is the same one displayed in the Pacman GUI. This evaluation function is meant for use with adversarial search agents (not reflex agents).
def fHT3(rfNN): return rfNN.getScore()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def b7La(YKHO, QTBn):\n iBIi, oyg0, YPaw = QTBn\n return phK_(oyg0, iBIi)", "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN: GameState):\n re...
[ "0.80751586", "0.80541986", "0.80541986", "0.79377264", "0.7678492", "0.76619834", "0.76439285", "0.7634972", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", "0.75545406", ...
0.75943935
8
Creates a new default |WorkerPool|. If `ipython_num_engines` or `ipython_profile` is provided as an argument or set as
def MrXb(lIuZ=None, IeJ0=None, GWGv=True): global _pool if ZHjR: bo34 = fhOf('pymor.parallel.default.new_parallel_pool') bo34.warning('new_parallel_pool already called; returning old pool (this might not be what you want).') return ZHjR[1] if lIuZ or IeJ0: from pymor.parallel...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R8S0(**YSA3):\n import os\n if 'profile' not in YSA3:\n YSA3['profile'] = os.environ.get('GLIMPSE_IPYTHON_PROFILE')\n if 'chunksize' not in YSA3:\n ym_X = os.environ.get('GLIMPSE_IPYTHON_CHUNKSIZE')\n if ym_X is not None:\n YSA3['chunksize'] = int(ym_X)\n if 'maxchun...
[ "0.6985611", "0.6541355", "0.61263895", "0.605196", "0.595421", "0.5951793", "0.59474695", "0.59474695", "0.5900829", "0.5900829", "0.5896812", "0.5893109", "0.58522755", "0.5807325", "0.5805157", "0.5801077", "0.5746045", "0.57457125", "0.573991", "0.5733682", "0.57040584", ...
0.69198877
1
Flattens a dictionary of dictionaries by one level. Note that top level keys will be overridden if they collide with flat keys.
def fE84(K9mL, TDw3='/'): JYNz = {} for H7bQ, Nw73 in jKi7.iteritems(K9mL): if isinstance(Nw73, dict): for PpU9, BWXx in jKi7.iteritems(Nw73): JYNz['{}{}{}'.format(H7bQ, TDw3, PpU9)] = BWXx else: JYNz[H7bQ] = Nw73 return JYNz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PWgb(Csk6):\n AjzU = Csk6.copy()\n for G1Hx, Ty9i in Csk6.items():\n if isinstance(Ty9i, dict):\n for LEev, hQHm in AjzU.pop(G1Hx).items():\n AjzU[LEev] = hQHm\n return AjzU", "def CZru(Csk6: Dict) -> cuzp:\n return Cm9e(PWgb(Csk6, enumerate_types=(list,)))", "d...
[ "0.80975294", "0.8076909", "0.8030246", "0.8023006", "0.796496", "0.77880394", "0.7701804", "0.76772994", "0.76580447", "0.76422894", "0.75245094", "0.7519784", "0.75008076", "0.7499197", "0.74621975", "0.74561876", "0.7452571", "0.7428027", "0.73962575", "0.7333984", "0.7307...
0.7407398
18
Unflattens a dictionary into a dict of dicts by one level.
def wQWq(JYNz, tX49, TDw3='/'): A0dw = g760.defaultdict(dict) for H5ew, BWXx in jKi7.iteritems(JYNz): SQ3m = H5ew.split(TDw3) if len(SQ3m) > 1: y0cW = SQ3m[0] if y0cW in tX49: ZI14 = H5ew[len(y0cW + TDw3):] A0dw[y0cW][ZI14] = BWXx ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zp7R(Csk6):\n HJyR = {}\n for G1Hx, Ty9i in Csk6.items():\n vxsF(G1Hx, Ty9i, HJyR)\n return HJyR", "def PWgb(Csk6):\n HHXv = {}\n for G1Hx, Ty9i in Csk6.items():\n if isinstance(Ty9i, dict):\n HHXv.update(PWgb(Ty9i))\n else:\n HHXv[G1Hx] = Ty9i\n r...
[ "0.81351", "0.8094659", "0.78742504", "0.7804171", "0.76498437", "0.75616187", "0.75078887", "0.7502594", "0.73781276", "0.73061466", "0.7304769", "0.72476965", "0.72014046", "0.7190853", "0.7168012", "0.7156059", "0.71363074", "0.7103365", "0.70836514", "0.70773137", "0.7065...
0.6766955
34
Unflattens kwargs and removes any key prefixes.
def i0Hy(YKHO, **B2fa): B2fa = wQWq(B2fa, prefixes=YKHO._Keys.ALL) B2fa = {G1Hx: YKHO._reconstruct_tuple_keys(Ty9i) for G1Hx, Ty9i in jKi7.iteritems(B2fa)} phn5 = {} for H5ew, BWXx in jKi7.iteritems(B2fa): if H5ew in YKHO._Keys.ALL and H5ew != YKHO._Keys.KWARGS: phn5[H5ew.replace('_'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DHvO(YKHO, B2fa):\n return jqqY(lambda G1Hx, Ty9i: cpVm((G1Hx, Ty9i)), B2fa)", "def tKRA(B2fa: Dict[str, Any]) -> cuzp[str, ImMB]:\n qsWe: x1iM[str] = ['extra_arguments', 'kernel_id']\n vZK1 = B2fa.copy()\n for YSA3 in qsWe:\n vZK1.pop(YSA3, None)\n return vZK1", "def lVLA(wE0M, nPrm)...
[ "0.66519314", "0.64682776", "0.6416158", "0.6416158", "0.6298789", "0.61140215", "0.60132974", "0.59253097", "0.5864684", "0.5796233", "0.5778383", "0.57499534", "0.5692877", "0.5687264", "0.56574434", "0.56559736", "0.564944", "0.56483483", "0.56245106", "0.5619374", "0.5607...
0.8552996
0
Runs the metric_fns and groups the returned metric ops by name. Tensors will be passed as params to metric_fns which have the same key. The dicts of eval metrics returned by metric_fns are then reduced by key.
def sbwd(YKHO, OFqs, cRc2): T8Jz = {} for H5ew in sorted(OFqs): FYKK = OFqs[H5ew] qIxc = cRc2[H5ew] cKa4 = FYKK(**qIxc) for pO5v in sorted(cKa4): xVUG = cKa4[pO5v] if pO5v not in T8Jz: T8Jz[pO5v] = [] T8Jz[pO5v].append(xVUG) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ED0i(YKHO, uR05):\n qp5T = YKHO.add_eval_dict(uR05)\n _obH = ['DetectionMasks_Precision/mAP', 'DetectionMasks_Precision/mAP@.50IOU', 'DetectionMasks_Precision/mAP@.75IOU', 'DetectionMasks_Precision/mAP (small)', 'DetectionMasks_Precision/mAP (medium)', 'DetectionMasks_Precision/mAP (large)', 'DetectionMa...
[ "0.686085", "0.6811475", "0.6765151", "0.6739139", "0.6678686", "0.66081685", "0.64584655", "0.6422442", "0.63724303", "0.61888146", "0.61823946", "0.61769366", "0.61330855", "0.61265695", "0.6121677", "0.6097286", "0.5987319", "0.5965555", "0.59415317", "0.5845896", "0.58453...
0.79332614
0
Creates optimizers using .optim_params and places them into .optimizers.
def UH2c(YKHO): YKHO.optimizers = dict() YKHO.lr_schedulers = dict() for G1Hx in YKHO.optim_params: if G1Hx in YKHO.nets: if isinstance(YKHO.nets[G1Hx], U78l.ModuleList): YKHO.optimizers[G1Hx] = [l_Y7.optimizer_from_optim_params(net_optim_params=YKHO.optim_params[G1Hx], n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z9qU(YKHO):\n B2fa = _qLf(YKHO.model_config['optimizer']['params'])\n tzWY = list(YKHO.main_net.parameters()) + list(YKHO.ssl_net.head.parameters())\n B2fa.update({'params': tzWY})\n YKHO.optimizer = CNOZ.create(YKHO.model_config['optimizer']['name'], **B2fa)\n if 'scheduler' in YKHO.model_confi...
[ "0.80102926", "0.7916988", "0.7563568", "0.75306946", "0.7449197", "0.74302614", "0.7411722", "0.74061453", "0.7271154", "0.7271154", "0.7267154", "0.72574097", "0.72214717", "0.71807224", "0.7171433", "0.7134838", "0.71206623", "0.70895827", "0.7072988", "0.7067512", "0.7052...
0.7974624
1
Show list of users
def yVA2(): DW23 = mv1M.query.all() return TvZl('user_list.html', users=DW23)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _FVT():\n DW23 = mv1M.query.all()\n return TvZl('user_list.html', users=DW23)", "def zidE():\n DW23 = mv1M.query.all()\n return TvZl('users.html', users=DW23)", "def yVA2():\n DW23 = mv1M.query\n return TvZl('user_list.html', users=DW23)", "def zidE():\n ESns = NCls.session.query(mv1...
[ "0.8977724", "0.86997825", "0.8685756", "0.8654866", "0.8619568", "0.86169404", "0.86143947", "0.86049986", "0.8595951", "0.85939205", "0.857424", "0.8570503", "0.85648096", "0.85557896", "0.8550139", "0.8541193", "0.84937894", "0.8485771", "0.8424074", "0.8367239", "0.835982...
0.8590824
11
Returns the Field name.
def VvqP(YKHO) -> QMSQ: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gGw6(YKHO):\n return YKHO.name", "def gGw6(YKHO):\n return YKHO.name", "def vXX7(YKHO) -> str:\n return qe4Y.get(YKHO, 'field_name')", "def vXX7(YKHO) -> str:\n return YKHO._field_name", "def vXX7(YKHO):\n return YKHO._field_name", "def vXX7(YKHO):\n if YKHO._field_name is UEFV:\n ...
[ "0.87940687", "0.87940687", "0.8791751", "0.8780592", "0.8736661", "0.84796435", "0.8378699", "0.8270425", "0.81031543", "0.8071133", "0.7973775", "0.7897066", "0.78797525", "0.78797525", "0.7736108", "0.76409894", "0.76348877", "0.75887585", "0.758803", "0.7529253", "0.75003...
0.79736286
11
Returns a description of the fields generated by this factory.
def X3V1(YKHO) -> QMSQ: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yoaG(Emd4):\n print(f'{Emd4.__name__}\\n ' + '\\n '.join((f'{Emd4._get_field_marker(Jyyj)}{Jyyj.name}: {Jyyj.type}' for Jyyj in V_D6(Emd4))))", "def V_D6(YKHO):\n raise NotImplementedError", "def yoaG(Emd4):\n ZWCE = sorted((mWFP for mWFP, Jyyj in Emd4._fields.items() if not Jyyj.hidden))\n Q...
[ "0.75736046", "0.75625145", "0.75550264", "0.7463692", "0.741693", "0.73997784", "0.73302555", "0.72912914", "0.72832537", "0.7273754", "0.7242042", "0.7242042", "0.7242042", "0.71959466", "0.7178777", "0.7092544", "0.70805067", "0.7038566", "0.7018091", "0.7018091", "0.70180...
0.0
-1
Returns the starting x position for the fields generated by this factory.
def ezVc(YKHO) -> int: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FagG(YKHO):\n return (YKHO.startx, YKHO.starty)", "def vAgg(YKHO):\n return YKHO.widget.position[0]", "def HPWF(YKHO):\n return YKHO._position[1]", "def kMt1(YKHO):\n return YKHO._starting_position", "def DHlK(YKHO):\n return YKHO.positionX", "def Ktcp(YKHO):\n return YKHO._position...
[ "0.73510396", "0.73457944", "0.72720224", "0.72369075", "0.7223893", "0.72097135", "0.72097135", "0.7123408", "0.71023434", "0.70625263", "0.7050986", "0.70400757", "0.701487", "0.6950458", "0.6918671", "0.6901499", "0.6897392", "0.68707335", "0.6859028", "0.6833274", "0.6827...
0.773243
0
Interact with the user and test the even_odd function.
def IC0G(): mLGw = UURg.integerbox('Enter an integer', ' ', '', 0, 2 ** 31) UURg.msgbox(msg='The number {} is {}'.format(mLGw, cLIG(mLGw)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vDsO(mLGw):\n if mLGw % 2 == 0:\n return True\n else:\n return False", "def sTzf(FGW3):\n if FGW3 % 2 == 0:\n print('even')\n else:\n print('odd')", "def cLIG(mLGw):\n if mLGw % 2 == 0:\n print(mLGw, 'is even')\n else:\n print(mLGw, 'is odd')", ...
[ "0.72402924", "0.70312256", "0.70194143", "0.70156574", "0.7010767", "0.69593936", "0.6807", "0.6750344", "0.6733757", "0.67253524", "0.6655443", "0.6638512", "0.6619854", "0.6579153", "0.6579153", "0.65665305", "0.6522603", "0.65208936", "0.6489151", "0.6485143", "0.6474734"...
0.7066405
1
Takes a number in and returns a string saying whether it is even or odd
def cLIG(FGW3): if FGW3 % 2 == 0: return 'even' if FGW3 % 1 == 0: return 'odd'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sTzf(FGW3):\n if FGW3 % 2 == 0:\n return 'Even'\n else:\n return 'Odd'", "def s3mC(FGW3):\n if FGW3 % 2 == 0:\n return 'EVEN'\n else:\n return 'ODD'", "def ebpd(mLGw):\n if mLGw % 2 == 0:\n return 'even'\n else:\n return 'odd'", "def JRKM(BWXx: ...
[ "0.8818619", "0.88167834", "0.86773556", "0.8619274", "0.8498283", "0.8463355", "0.84582305", "0.8284216", "0.81616145", "0.81088895", "0.8074607", "0.8064092", "0.8055251", "0.8011697", "0.8011697", "0.80082583", "0.80012", "0.7989184", "0.7989184", "0.7989184", "0.7989184",...
0.8867394
0
Interact with the user and test the pass_fail function.
def U9Lc(): mLGw = UURg.integerbox('Enter score:', ' ', '', 0, 100) UURg.msgbox(msg='{} earns a grade of {}'.format(mLGw, TcWE(mLGw)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ps5X(YKHO):\n YKHO.failUnless(True)", "def tOo4(YKHO, CBIr):\n return True", "def HqkX(YKHO, I1mm, Gme3, ZdbQ, lIkF):\n try:\n YKHO.assertTrue(I1mm == True, ZdbQ)\n YKHO.set_step_message(YKHO.create_step_msg(Gme3, ZdbQ))\n except:\n YKHO.logger.error('Fail:' + lIkF)\n ...
[ "0.69849825", "0.6882663", "0.67416835", "0.67146486", "0.6693194", "0.6678329", "0.6611961", "0.6505213", "0.65044165", "0.6490775", "0.6490775", "0.6448129", "0.6380584", "0.6380584", "0.6380584", "0.6380584", "0.6339474", "0.6327897", "0.63209", "0.63192683", "0.6308918", ...
0.62934935
23
Determines whether the number is a passing or failing grade
def TcWE(mLGw): if mLGw >= 70: return 'Pass' else: return 'Fail'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H3V8(YKHO, FjAN):\n try:\n if float(FjAN) >= YKHO.pass_score:\n return True\n except:\n pass\n if FjAN in YKHO.pass_letters.split(','):\n return True\n return False", "def H3V8(uF89, AsTJ):\n return BIO2(uF89) + iEcC(AsTJ) >= iRug", "def ClS2(p1kx):\n if 90...
[ "0.7549588", "0.69366175", "0.64844954", "0.64604163", "0.64534706", "0.6418604", "0.6416149", "0.6397711", "0.6302133", "0.62172633", "0.62109625", "0.61471456", "0.6078946", "0.6074521", "0.60684824", "0.6040478", "0.6035326", "0.6011264", "0.5986659", "0.5965182", "0.59537...
0.702267
1
Setup the turtle environment with a screen and two turtles, one for drawing and one for writing. Using separate turtles for drawing and writing makes it easy to clear one or the other by doing artist.clear() or writer.clear() to clear only the drawing or writing, respectively.
def YUYO(): Vjhr = ZbiO.Screen() Vjhr.setup(Wl2e, dVi8, NjiM, NjiM) Vjhr.bgcolor('SkyBlue') h5p_ = ZbiO.Turtle() WJI9 = ZbiO.Turtle() h5p_.shape('turtle') if vXvV: Vjhr.delay(0) h5p_.hideturtle() h5p_.speed('fastest') WJI9.hideturtle() WJI9.speed('fast...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YUYO():\n Vjhr = ZbiO.Screen()\n Vjhr.setup(Wl2e, dVi8, NjiM, NjiM)\n Vjhr.bgcolor('SkyBlue')\n h5p_ = ZbiO.Turtle()\n WJI9 = ZbiO.Turtle()\n h5p_.shape('turtle')\n if vXvV:\n Vjhr.delay(0)\n h5p_.hideturtle()\n h5p_.speed('fastest')\n WJI9.hideturtle()\n ...
[ "0.77494943", "0.6719582", "0.6428838", "0.6315214", "0.6289125", "0.62438667", "0.6218858", "0.6116462", "0.6083119", "0.6079372", "0.60500044", "0.60269123", "0.6021315", "0.5997542", "0.5984565", "0.59600747", "0.5853032", "0.5820295", "0.57641584", "0.572015", "0.5663628"...
0.74858963
1
Create an incident with the error message and status specified for the component with its name and new status specified. The status is specified by the cachet.enums enum. Only creates an incident if the component isn't already down.
def nKKW(rhwM: str, maxk: str, cBQZ: int, Wabx: int): ebvp = Fisi.Client(endpoint=gCuF.CACHET_URL, api_token=gCuF.CACHET_TOKEN, version='1') jF51 = rfrI(ebvp, maxk) if jF51.status == aVkO.COMPONENT_STATUS_OPERATIONAL: Ol8d = f'{maxk} failed on {gCuF.UCLAPI_DOMAIN_CURRENT} with error: {repr(rhwM)}' ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ub_h(nVaV: str, maxk: str, jGRS: int):\n ebvp = Fisi.Client(endpoint=gCuF.CACHET_URL, api_token=gCuF.CACHET_TOKEN, version='1')\n jF51 = rfrI(ebvp, maxk)\n hICC = EQYY(ebvp, jF51)\n if jF51.status != aVkO.COMPONENT_STATUS_OPERATIONAL:\n ebvp.incident_updates.create(incident_id=hICC.id, statu...
[ "0.62729883", "0.56239516", "0.56070995", "0.5594842", "0.5548703", "0.5524977", "0.54705995", "0.54064184", "0.50410414", "0.5023823", "0.5006629", "0.5000482", "0.49795005", "0.49777263", "0.49613512", "0.49613512", "0.48960847", "0.48221946", "0.48104358", "0.4792691", "0....
0.8200793
0
Returns the area of the rectangle
def f0tD(YKHO): return YKHO.__width * YKHO.__height
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f0tD(YKHO):\n f0tD = YKHO.__width * YKHO.__height\n return f0tD", "def jGjA(u54L, TVTK):\n f0tD = u54L * TVTK\n return f0tD", "def f0tD(YKHO):\n f0tD = YKHO.length * YKHO.width\n return f0tD", "def sAdl(mawX: np.ndarray) -> float:\n Jw7X = mawX[2] - mawX[0]\n eUWA = mawX[3] - mawX...
[ "0.8337545", "0.82930577", "0.8249059", "0.8239817", "0.8209933", "0.82065386", "0.8178438", "0.8178438", "0.8153648", "0.81413263", "0.8138906", "0.8133067", "0.81310654", "0.81310654", "0.8125131", "0.8125131", "0.8125131", "0.8125131", "0.8123714", "0.81223685", "0.8112858...
0.80657434
27
method to calculate mean and variance from CSV data
def fnDY(): if len(E0cB) == 4: kepv = E0cB[1] KhBf = E0cB[2] gIsw = E0cB[3] + '_' + str(qcWV.now().date()) + '.csv' if len(kepv) == 10 and len(KhBf) == 10 and Hy7s.path.exists(gIsw): with open(gIsw, 'r') as z36O: pmR4 = [] lY0q = 0 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vb4d(__n6):\n nPrm = []\n for apum, J64M in __n6.getAll():\n Xn71 = hnIv.open(apum)\n SRYB, JBMS = eQSh.variance_mean(Xn71.getdata())\n ITS7 = qcWV.datetime.strptime(Xn71.info['Creation Time'], '%d %b %Y %H:%M:%S %Z')\n nPrm.append((ITS7, SRYB, JBMS))\n nPrm.sort(uqom.tuple...
[ "0.7122715", "0.6874514", "0.6751982", "0.67112917", "0.65775317", "0.6575645", "0.65684277", "0.6534234", "0.65139365", "0.64103013", "0.64090365", "0.63954884", "0.6389999", "0.6374315", "0.637341", "0.6365004", "0.63634264", "0.63401955", "0.62490565", "0.62439907", "0.622...
0.0
-1
Get the reconstructed data.
def swlS(YKHO): return oyIN.sum(oyIN.array([oyIN.hstack([YKHO.dmd_tree[ABDL, kjp6].reconstructed_data for kjp6 in YKHO.dmd_tree.index_leaves(ABDL)]) for ABDL in YKHO.dmd_tree.levels]), axis=0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yLtf(YKHO):\n return YKHO._structure_data()", "def JpKl(YKHO):\n return YKHO._data", "def wIX3(YKHO):\n return YKHO._data", "def JpKl(YKHO):\n return YKHO.__data", "def JpKl(YKHO):\n return YKHO.__data", "def JpKl(YKHO):\n return YKHO.__data", "def JpKl(YKHO):\n return YKHO.__d...
[ "0.73207766", "0.7267919", "0.72637546", "0.72229815", "0.72229815", "0.72229815", "0.72229815", "0.72229815", "0.72229815", "0.7218011", "0.7191726", "0.7191726", "0.7179268", "0.71456957", "0.71456957", "0.71244204", "0.7117556", "0.71157277", "0.7071385", "0.7043087", "0.7...
0.0
-1
Loads the serialized version of the model from file
def tyeH(YKHO): YKHO.__q_values = YKHO._load_object(YKHO.__agent_persist_file_path) YKHO.__policy = YKHO.__get_policy()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tyeH(YKHO, eHNT):\n YKHO.model.load(eHNT)", "def tyeH(YKHO, eHNT):\n YKHO.model.load(eHNT)", "def tyeH(YKHO, eHNT):\n YKHO.model.load(eHNT)", "def tyeH(SkYi):\n return t2lc.load(open(SkYi))", "def tyeH(YKHO, SkYi: Path) -> None:\n pass", "def uyMl(Ux0P):\n pass", "def uyMl(YKHO, W...
[ "0.8122932", "0.8122932", "0.8122932", "0.8068558", "0.79925746", "0.7986048", "0.79439366", "0.79306704", "0.7877336", "0.78767115", "0.7876352", "0.7833849", "0.77981466", "0.7773298", "0.7769923", "0.7725988", "0.7725324", "0.77229625", "0.77105844", "0.77038854", "0.77016...
0.0
-1
adds 2 matrix, returning the value of the addition
def FOdN(YKHO, Elif): if not YKHO.check_size(Elif): raise ValueError('The matrix are not of equal size') YKHO.m = map(lambda jtyf, V70B: map(seET.add, jtyf, V70B), YKHO.m, Elif.m) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D6hl(YrCa, vAne):\n return XTiz.add(YrCa, vAne)", "def FOdN(jzdc, Fg_i):\n if jzdc.cols != Fg_i.cols or jzdc.rows != Fg_i.rows:\n raise Exception('Matrices are of incompatible sizes')\n Z9rn = aLMY(jzdc.rows, jzdc.cols)\n for rdlD in range(jzdc.rows):\n for fvDH in range(jzdc.cols):...
[ "0.8328682", "0.81765324", "0.7934174", "0.7904725", "0.7890159", "0.7869602", "0.7772216", "0.77660185", "0.77547693", "0.77332705", "0.76842386", "0.7660271", "0.7658656", "0.7655751", "0.76333076", "0.76297784", "0.7629159", "0.76282716", "0.7612556", "0.76041365", "0.7588...
0.7395346
30
returns true if the 2 matrix are of equal size
def aeCN(YKHO, Elif): if len(YKHO.m) == len(Elif.m) and len(YKHO.m[0]) == len(Elif.m[0]): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UDX1(YKHO, SppC):\n usx6 = YKHO.rows() == SppC.rows()\n WfCS = YKHO.colums() == SppC.colums()\n return usx6 and WfCS", "def J2ZQ(YrCa, vAne):\n return YrCa.get_row_no() == vAne.get_row_no() and YrCa.get_col_no() == vAne.get_col_no()", "def ebKv(fHeP, RRSr):\n gpRq, MxXY = PLLA(fHeP)\n E43...
[ "0.7760588", "0.7733877", "0.7627006", "0.76071876", "0.7577979", "0.75040674", "0.7411681", "0.73419213", "0.72963", "0.7190729", "0.7189734", "0.7163657", "0.71553683", "0.7152307", "0.71092165", "0.7103665", "0.70961857", "0.70510256", "0.70495486", "0.7040978", "0.7029888...
0.74834335
6
Convert the Markdown to normal HTML text.
def u455(J87D): return qPGQ.Markup(mSjq(J87D))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vgwQ(l5Ny):\n return J87D.convert(l5Ny)", "def C5y7(YKHO, Mgps):\n from CommonMark.render.html import HtmlRenderer\n from CommonMark.cmark import CommonMark\n wvEv = CommonMark.Parser()\n jZ4I = wvEv.parse(Mgps)\n pFW3 = HtmlRenderer()\n pFW3.softbreak = '<br/>'\n return pFW3.render(j...
[ "0.81949747", "0.80187637", "0.7898897", "0.77341425", "0.76163334", "0.7601085", "0.7578253", "0.75574964", "0.75395393", "0.7527871", "0.7515948", "0.7416392", "0.73843575", "0.73574704", "0.72187006", "0.7217203", "0.7186077", "0.7168172", "0.7151314", "0.7150658", "0.7146...
0.6902027
35
Setup main Redis connection for queue.
def DbxN(YKHO): yield from YKHO.queue.connect()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gAil(YKHO):\n Fv2L = GPtr['redis']\n YKHO.redis_queue = Mcsg(host=Fv2L['host'], port=Fv2L['port'], db=0)", "def FIMM(YKHO, Q64Y='jobs', p5r8='localhost', B3pN=6379, UFD0=0, BTL9='queue'):\n YKHO.key = '%s:%s' % (BTL9, Q64Y)\n YKHO.redis = OeZe.Redis(host=p5r8, port=B3pN, db=UFD0)\n ngFw = [{'h...
[ "0.785232", "0.7169851", "0.6973253", "0.68538344", "0.68275183", "0.67832243", "0.6699959", "0.6662573", "0.6617485", "0.65935177", "0.65814996", "0.6505276", "0.64872754", "0.6462689", "0.64037216", "0.64004356", "0.6380246", "0.6371465", "0.6370074", "0.6346649", "0.633161...
0.6029737
67
Handles a request to view the home page through the user's account
def nspo(QePW): return _1tc(QePW, 'displaytoday/home.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n if 'logged_in' in cuiw:\n ' User is loggedin show them the home page'\n return TvZl('home.html', user=cuiw['employee_uname'])\n '# User is not loggedin redirect to login page'\n return vKnz(nKyW('login'))", "def K11o(QePW):\n iVQ1 = BPdB()\n if mjXA not in QePW.session:...
[ "0.772187", "0.76562244", "0.7631084", "0.7627494", "0.7509895", "0.7464478", "0.7389655", "0.7370427", "0.73669", "0.7295091", "0.7295063", "0.7247857", "0.72477436", "0.7244485", "0.72079414", "0.7178696", "0.7154957", "0.7151424", "0.7124541", "0.7115589", "0.7093188", "...
0.0
-1
Looks in the database for the variable name and returns the value, which is presumed to be related to window dimensions.
def JyWo(YKHO, mZ1z='windim', dq2y=(640, 480)): qvIY = [-1, -1, dq2y[0], dq2y[1]] YKHO._createDatabaseIfNecessary(YKHO.datafile) w2B8 = iHv3.connect(YKHO.datafile) Z9rn = w2B8.cursor() Z9rn.execute('SELECT id,varname,varvalue FROM tbl_prefs WHERE varname=?', (mZ1z,)) for id, mZ1z, eKGW in Z9rn: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VYVy(YKHO, GLrz):\n return YKHO.variables[GLrz].dimensions", "def vNQ8(YKHO, mWFP):\n for tpio in YKHO.dimension:\n if tpio.name == mWFP:\n return tpio\n return None", "def zAOB(YKHO, mWFP):\n if mWFP in list(YKHO._internal.keys()):\n return YKHO._internal[mWFP]", "de...
[ "0.64505625", "0.6299332", "0.6067858", "0.6032917", "0.60190773", "0.59881747", "0.59420276", "0.5900423", "0.58814865", "0.5867796", "0.58507895", "0.58316654", "0.5800928", "0.5793151", "0.57837", "0.57707596", "0.5769658", "0.57439107", "0.572588", "0.5708202", "0.5689351...
0.7259824
0
Take a 'True' or 'False' or '1' or '0' string and convert to boolean.
def ZylS(YKHO, WKvO): if type(WKvO) == type(u'') or type(WKvO) == type(str('')): if WKvO.lower().strip() == 'true': return True else: return False elif type(WKvO) == type(True): return WKvO else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UcEP(KCHu):\n return KCHu == 'True' or KCHu == 'true' or KCHu == '1' or (KCHu == 1)", "def M0mR(KCHu):\n if KCHu == 'True':\n return True\n elif KCHu == 'False':\n return False", "def oOc6(Ty9i) -> bool:\n if isinstance(Ty9i, bool):\n return Ty9i\n if Ty9i.lower() in ('y...
[ "0.8968793", "0.88099724", "0.87442917", "0.8721369", "0.87152934", "0.86829853", "0.8682102", "0.8618606", "0.8595535", "0.8582288", "0.8561914", "0.8556273", "0.8552764", "0.8548258", "0.85283864", "0.8524356", "0.85241264", "0.85113555", "0.8504945", "0.8492977", "0.848979...
0.0
-1
Return the data unit of the instrument Returns astropy.units.Unit
def bDwP(YKHO): if YKHO.configuration is None: NR3C = 'count' else: NR3C = YKHO.configuration.get('dataunit', default='count') return rYO3.Unit(NR3C)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m25X(YKHO):\n return YKHO.instrument.get_data_unit()", "def b82i(YKHO):\n return lc9R[YKHO.kind][znBy]", "def PXGI(YKHO):\n return YKHO.get_record_value('unit')", "def b82i(YKHO):\n return lc9R[YKHO._sensor_type][znBy]", "def b82i(YKHO):\n return lc9R[YKHO._sensor_type][znBy]", "def b8...
[ "0.874376", "0.81939054", "0.8130127", "0.81090397", "0.81090397", "0.7991668", "0.798789", "0.7978667", "0.79769677", "0.79702306", "0.7940284", "0.7938856", "0.7935714", "0.79283965", "0.79212904", "0.7904631", "0.7904631", "0.7904631", "0.7904631", "0.7904631", "0.7904631"...
0.79490423
10
Return the instrument temperature in Kelvin. Returns astropy.units.Quantity
def yizX(YKHO): if YKHO.configuration is None: return oyIN.nan * rYO3.Unit('Kelvin') elif YKHO.configuration.has_option('kelvin'): return YKHO.configuration.get_float('kelvin') * rYO3.Unit('Kelvin') elif YKHO.configuration.has_option('k2jy'): EHG8 = YKHO.jansky_per_beam().to('Jy/beam...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ovGo(yizX):\n return z1KK.kT * yizX", "def fzzZ(YKHO):\n return YKHO.__dht22Temp.getTemperatureInKelvin()", "def yizX(YKHO):\n return YKHO.instrument.kelvin()", "def rcrL(YKHO) -> float:\n TZ_R = float(YKHO.__reading[rO6F['temperature']])\n return RV7L(TZ_R)", "def ovGo(YKHO) -> P6bq.K:\...
[ "0.8353277", "0.80405605", "0.7911925", "0.7814308", "0.7609912", "0.7558276", "0.75478154", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", "0.7458465", ...
0.75916255
5
Get training data and ground truth in matrix format.
def lu9I(b8_Q, z36O, Sq1H, jbYB, Y5YY): with open(z36O, 'rb') as eHNT: N5Pj = m6_J.reader(eHNT) qgK3 = list(N5Pj) iI2M = [] YHzD = [] for BDwY in qgK3: [wCft, Ae2G] = BDwY[0].split('\t') wCft = wCft.split('/')[1][0:-4] pmON = b8_Q + '/' + wCft + '.f' WKvO ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UlWi():\n EvQg = Zxt2.io.loadmat('data/train_32x32.mat')\n QOe9 = Zxt2.io.loadmat('data/test_32x32.mat')\n CZRf = oyIN.transpose(EvQg['X'], (3, 0, 1, 2))\n pZ_I = oyIN.transpose(QOe9['X'], (3, 0, 1, 2))\n OJCd = EvQg['y'].squeeze()\n PdIf = QOe9['y'].squeeze()\n OJCd[OJCd == 10] = 0\n P...
[ "0.7122684", "0.69693273", "0.69144386", "0.68954825", "0.68954825", "0.67942053", "0.6718559", "0.6699306", "0.66305923", "0.658858", "0.65743047", "0.65290207", "0.6525559", "0.6500594", "0.6455857", "0.64301974", "0.64052916", "0.63928366", "0.6344506", "0.63151765", "0.62...
0.0
-1
Returns the VPC id that this instance is running in.
def ouUl(): return oUlR()['network']['interfaces']['macs'].values()[0]['vpc-id']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')", "def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')", "def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')", "def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')", "def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_...
[ "0.8337379", "0.8337379", "0.8337379", "0.8337379", "0.8337379", "0.8337379", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8189178", "0.8086726", "0.7985649", "0.7985649", "...
0.7826992
37
Returns the availability zone this instance is running in.
def P7hP(): return oUlR()['placement']['availability-zone']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TUUx(YKHO):\n return YKHO._availability_zone", "def TUUx(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'availability_zone')", "def TUUx(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'availability_zone')", "def TUUx(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'availability_zon...
[ "0.87021476", "0.85299975", "0.85299975", "0.85299975", "0.85299975", "0.852886", "0.83220196", "0.83220196", "0.83220196", "0.83220196", "0.83220196", "0.83220196", "0.83220196", "0.82031137", "0.82031137", "0.82031137", "0.82031137", "0.82031137", "0.8182382", "0.7959185", ...
0.8342267
6
Returns the region that the instance is running in.
def oMHX(): return P7hP()[:-1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oMHX(YKHO):\n return YKHO.region", "def oMHX(YKHO):\n return YKHO.region", "def zn0c():\n return gP7g.utils.get_instance_metadata()['placement']['availability-zone'][:-1]", "def zn0c(YKHO) -> str:\n return YKHO.__region", "def zn0c(YKHO):\n return YKHO._region", "def zn0c(YKHO):\n r...
[ "0.8295154", "0.8290735", "0.8189251", "0.8182954", "0.81791043", "0.81791043", "0.81791043", "0.81127834", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", "0.80961037", ...
0.7783765
56
Returns the instance id for this instance.
def Pl65(): return oUlR()['instance-id']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO) -> str:\n return ...
[ "0.9162484", "0.9162484", "0.9162484", "0.9162484", "0.9162484", "0.9162484", "0.9162484", "0.9114041", "0.9097648", "0.90614", "0.90614", "0.90614", "0.89146006", "0.88376105", "0.87671053", "0.8753335", "0.8749354", "0.8749354", "0.8749354", "0.8749354", "0.8749354", "0.8...
0.8483755
41
Returns the current type.
def YwLH(YKHO): return YKHO.type_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FRul(YKHO):\n return YKHO.__type", "def FRul(YKHO):\n return YKHO.__type", "def type(YKHO):\n return YKHO.types[YKHO._internal.get_type()]", "def FRul(YKHO):\n return YKHO._type", "def type(YKHO):\n return YKHO.__type", "def FRul(YKHO):\n return YKHO.Type.value()", "def yaSt(YKHO)...
[ "0.8622657", "0.8622657", "0.84986246", "0.8468933", "0.84458274", "0.8439734", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", "0.84307826", ...
0.0
-1
Write a list of Dashboard objects to disk
def R46F(GPtr, e7YI): eJb6.SafeDumper.ignore_aliases = lambda *qIxc: True with open(mrCW(GPtr), 'w') as eHNT: eJb6.safe_dump([Csk6.to_dict() for Csk6 in e7YI], eHNT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Lsrz(YKHO, T8zF, VqRE):\n pass", "def R2aQ(nDsK):\n if not Hy7s.path.exists(nDsK):\n print('dump: create dashboard dir %s' % nDsK)\n Hy7s.mkdir(nDsK)\n SS0W = _WZu()\n ucBt = set([YRbF.get('folderUid') for YRbF in SS0W if 'folderUid' in YRbF and YRbF.get('type') != 'dash-folder'])\n...
[ "0.6452776", "0.64384264", "0.63810676", "0.63471663", "0.634669", "0.63257474", "0.6320512", "0.6267758", "0.6245625", "0.62060094", "0.6157452", "0.614734", "0.6135182", "0.6132125", "0.6127142", "0.61251175", "0.6124606", "0.6122302", "0.61183286", "0.61159194", "0.611041"...
0.67264867
0
Add the given value to the dictionary at the given key. This function expects that all values of the dictionary parameter are lists.
def QtbF(cmPJ: Dict[Any, List[Any]], H5ew: Any, BWXx: Any) -> cuzp[ImMB, x1iM[ImMB]]: if H5ew in cmPJ: if not isinstance(cmPJ[H5ew], list): Ol8d = f'The value at the "{H5ew}" key in the dictionary is not a list and the dict_add function requires all values to be a list.' raise TypeEr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dQho(cmPJ, H5ew, BWXx):\n if H5ew not in cmPJ:\n cmPJ[H5ew] = [BWXx]\n elif type(cmPJ[H5ew]) == list:\n cmPJ[H5ew].append(BWXx)\n else:\n cmPJ[H5ew] = [cmPJ[H5ew], BWXx]\n return cmPJ", "def H2v5(YKHO, H5ew, BWXx):\n if isinstance(BWXx, list):\n for Ty9i in BWXx:\n ...
[ "0.8528941", "0.80957305", "0.7957421", "0.7849321", "0.78278774", "0.7682112", "0.74192", "0.7370623", "0.7346587", "0.73033756", "0.7248529", "0.7246975", "0.7246975", "0.7244893", "0.7214334", "0.72049284", "0.71992874", "0.7190773", "0.7157475", "0.71508217", "0.71196616"...
0.8250103
1
The matrix transformation from 3pt wavelet to hat function basis. The wavelet indices are ordered levelbylevel, i.e., for d_k the wavelet coordinates on level k, the input vector is ordered as[d_0, d_1, ..., d_J].
def VEf0(Oa10): def XP5J(r845): """ Prolongate hat function of level j-1 to level j. """ vb7U = H4yH.dok_matrix((2 ** (r845 - 1) + 1, 2 ** r845 + 1)) vb7U[:, 0::2] = H4yH.eye(2 ** (r845 - 1) + 1) vb7U[:, 1::2] = H4yH.diags([0.5, 0.5], [0, -1], shape=(2 ** (r845 - 1) + 1, 2 ** (r845 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ATT9():\n xqoZ = {'L': [2, 2, 4], 'lambda': 0, 'J': -1.0}\n mBtZ = OLoz(xqoZ, states=[])\n aEqx = oyIN.array([[1, 2, 4], [0, 3, 5], [3, 0, 6], [2, 1, 7], [5, 6, 8], [4, 7, 9], [7, 4, 10], [6, 5, 11], [9, 10, 12], [8, 11, 13], [11, 8, 14], [10, 9, 15], [13, 14, 0], [12, 15, 1], [15, 12, 2], [14, 13, 3]...
[ "0.5846724", "0.5722065", "0.5697067", "0.5680534", "0.56273085", "0.55911493", "0.55588865", "0.554684", "0.5518836", "0.5514291", "0.5500759", "0.5487529", "0.54729277", "0.5469014", "0.54542476", "0.5444927", "0.5444064", "0.5442919", "0.54391485", "0.5437755", "0.54325813...
0.73135006
0
Helper function that represents operation on level j as a matrix. This helper function is used to return the matrix [p(j) q(j)] when interleaved=true, as this corresponds to a matrix with rows/columns of p(j) and q(j) interleaved.
def lpha(YKHO, r845): Oa10 = YKHO.J XP5J = YKHO.p[r845] vexM = YKHO.q[r845] if r845 == 0: return H4yH.csr_matrix((2 ** Oa10 + 1, 2 ** Oa10 + 1)) usx6, WfCS, T6S7 = ([], [], []) o4sw = 2 ** (Oa10 - r845) tCfH = XP5J.tocoo() UfdT = vexM.tocoo() for Mkmy, Z9rn, Ty9i in zip(tCfH....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XBEM(QyVM):\n return sStN[QyVM - 1]", "def XP5J(r845):\n vb7U = H4yH.dok_matrix((2 ** (r845 - 1) + 1, 2 ** r845 + 1))\n vb7U[:, 0::2] = H4yH.eye(2 ** (r845 - 1) + 1)\n vb7U[:, 1::2] = H4yH.diags([0.5, 0.5], [0, -1], shape=(2 ** (r845 - 1) + 1, 2 ** (r845 - 1)))\n return vb7U.T", "def vexM(r8...
[ "0.6644809", "0.6608083", "0.63702023", "0.61340654", "0.6005058", "0.57893294", "0.57635134", "0.574418", "0.5739997", "0.5706907", "0.5686753", "0.5675905", "0.5644452", "0.5633287", "0.5573927", "0.5557157", "0.5529549", "0.55239105", "0.5513851", "0.5511452", "0.5502796",...
0.6310498
3
Return the number of edges.
def n8F9(YKHO): if YKHO._is_tensor: return CbyH.shape(YKHO._edges)[0] else: return YKHO._edges.shape[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vi4d(YKHO):\n return YKHO._n", "def fOCg(YKHO):\n return YKHO.graph.number_of_edges()", "def n8F9(YKHO) -> int:\n return YKHO.__edge_count", "def fOCg(YKHO):\n return len(YKHO.edges)", "def fOCg(YKHO):\n return len(YKHO.edges)", "def fOCg(YKHO):\n return len(list(YKHO.edges()))", ...
[ "0.9156064", "0.9153936", "0.91130435", "0.90194803", "0.90194803", "0.9010057", "0.90084314", "0.90084314", "0.8977895", "0.8963838", "0.8963838", "0.89593375", "0.89505374", "0.89199406", "0.89139587", "0.8910925", "0.8890304", "0.88641787", "0.88411635", "0.8837749", "0.88...
0.82981217
39
Sample predecessor of given nodes.
def HLL3(YKHO, Ziit, vhsA, GXI3=False, hXNa=False): if YKHO.is_tensor(): raise ValueError("You must call Graph.numpy() first. Tensor object don't supprt sample_predecessor now.") else: qnyY = YKHO.predecessor(Ziit, return_eids=GXI3) if GXI3: qnyY, ZAzi = qnyY if Ziit ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HLL3(YKHO, _nJc, Ziit, vhsA, GXI3=False, hXNa=False):\n return YKHO._multi_graph[_nJc].sample_predecessor(nodes=Ziit, max_degree=vhsA, return_eids=GXI3, shuffle=hXNa)", "def SoZd(YKHO, Q6kx):\n raise NotImplementedError()", "def kNzm(YKHO, BWXx):\n YKHO.predecessor_value = BWXx", "def SoZd(YKHO,...
[ "0.66984546", "0.6213751", "0.60297394", "0.5970496", "0.59315497", "0.5917804", "0.5832848", "0.58179575", "0.57971644", "0.57937866", "0.57937866", "0.57719195", "0.5760202", "0.57363695", "0.57360244", "0.5610923", "0.5600484", "0.5594246", "0.5532315", "0.5530732", "0.552...
0.69902015
0
Call paddle.geometric.send_uv. It computes edge features with source node features and destination node features by using `message_func` op.
def qqqt(YKHO, y0Og, kbJJ, Xgmy='add'): if not YKHO._is_tensor: raise ValueError('You must call Graph.tensor()') assert Xgmy in ['add', 'sub', 'mul', 'div'], "Only support 'add', 'sub', 'max', 'min' build-in message functions." zZcM, zr3f = (YKHO.edges[:, 0], YKHO.edges[:, 1]) return CbyH.geomet...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V0ia(YKHO, RDhP, lS2E, Xgmy='add', vqI3='sum', OVDz=None):\n if not YKHO._is_tensor:\n raise ValueError('You must call Graph.tensor()')\n assert Xgmy in ['add', 'sub', 'mul', 'div'], \"Only support 'add', 'sub', 'max', 'min' build-in message functions.\"\n assert vqI3 in ['sum', 'mean', 'max', ...
[ "0.63164735", "0.6233734", "0.5958778", "0.58936024", "0.58499193", "0.5822086", "0.5440969", "0.54092133", "0.5284388", "0.5280364", "0.5255297", "0.524466", "0.51953405", "0.5172082", "0.513313", "0.51153517", "0.51093394", "0.49977663", "0.4978265", "0.49623847", "0.496000...
0.78593975
0
Return Number of Graphs
def alPt(YKHO): return YKHO._num_graph
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kAKg(YKHO) -> int:\n return 1", "def kAKg(YKHO) -> int:\n if YKHO.__num_graphs__ is not None:\n return YKHO.__num_graphs__\n return YKHO.ptr.numel() + 1", "def kAKg(YKHO):\n return YKHO.batch[-1].item() + 1", "def kAKg(YKHO):\n return YKHO.batch[-1].item() + 1", "def kAKg(YKHO):\n...
[ "0.8519973", "0.83864534", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", "0.8360535", ...
0.85758746
0
Node batch iterator Iterate all node by batch.
def wgwb(YKHO, Ep8u, hXNa=True): if YKHO.is_tensor(): if hXNa: IuXB = CbyH.randperm(YKHO.num_nodes) else: IuXB = CbyH.arange(YKHO.num_nodes) else: IuXB = oyIN.arange(YKHO.num_nodes) if hXNa: oyIN.random.shuffle(IuXB) yKcO = 0 while yKcO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vs4Q(YKHO):\n for Wc9F in YKHO._iterate():\n yield YKHO._process_batch(Wc9F)", "def CHNo(YKHO):\n for bGrB in range(YKHO.n_paths):\n nPrm, Ziit = zip(*list(YKHO.iter_batch_sample()))\n yield (oyIN.moveaxis(oyIN.array(nPrm), 0, 1), Ziit)", "def Vs4Q(YKHO):\n for YRbF in range(l...
[ "0.7431881", "0.7334831", "0.72840786", "0.727452", "0.7243017", "0.7139371", "0.7000804", "0.69783586", "0.6841542", "0.68086207", "0.6780478", "0.6748162", "0.6698679", "0.66955125", "0.66675", "0.6664879", "0.6653248", "0.66448504", "0.6603728", "0.6596577", "0.6552244", ...
0.66374743
18
int the participant's current gold
def T4t1(YKHO): return YKHO.data.gold
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZvgB(YKHO):\n return YKHO.gold", "def Zo2B(YKHO) -> int:\n return mqS_(3, 6) * 10", "def ZvgB(YKHO):\n return YKHO.__gold", "def POBR(YKHO):\n return YKHO.data.goldEarned", "def Qhla(YKHO):\n return YKHO.data.goldSpent", "def T4t1(YKHO):\n return YKHO._bank_account.balance", "def ...
[ "0.7713109", "0.76841617", "0.75064653", "0.73791903", "0.7309126", "0.693266", "0.69034976", "0.66853744", "0.66280913", "0.65856856", "0.65383136", "0.65031344", "0.6306165", "0.6243543", "0.62134606", "0.6198603", "0.61136085", "0.60936725", "0.6076884", "0.60678524", "0.6...
0.76570547
2
int the participant's total gold
def POBR(YKHO): return YKHO.data.goldEarned
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qhla(YKHO):\n return YKHO.data.goldSpent", "def Zo2B(YKHO) -> int:\n return mqS_(3, 6) * 10", "def ZvgB(YKHO):\n return YKHO.gold", "def T4t1(YKHO):\n return YKHO.data.gold", "def ZvgB(YKHO):\n return YKHO.__gold", "def VoQ5(YKHO):\n return YKHO._aggregate_scores[1]", "def T4t1(YK...
[ "0.7392454", "0.7371019", "0.7288458", "0.72048604", "0.7060059", "0.68510604", "0.67747056", "0.6657984", "0.65831864", "0.65250516", "0.64899915", "0.6364339", "0.62912595", "0.6262808", "0.6228674", "0.622224", "0.62216586", "0.62216586", "0.62216586", "0.62216586", "0.621...
0.7147629
4
Lane the lane this participant was in
def J2l3(YKHO): return i6od.type.core.common.Lane.for_id(YKHO.data.playerPosition) if YKHO.data.playerPosition else None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MxrA(YKHO):\n for J2l3 in YKHO.lanes:\n if J2l3.is_inside(YKHO.agent.get_pos()):\n return J2l3.id\n return None", "def tk02():\n s7FL = NmP1(10)\n print(s7FL)\n Ty9i = fC1M('N', 34)\n s7FL.enter(Ty9i)\n print(s7FL)\n s7FL.step()\n print(s7FL)\n for YRbF in rang...
[ "0.69964206", "0.69740117", "0.6739281", "0.66397125", "0.6616677", "0.6411754", "0.6323546", "0.6284816", "0.6239916", "0.62392956", "0.62329406", "0.62105125", "0.62097776", "0.6182061", "0.6131459", "0.6103567", "0.60952294", "0.6043481", "0.6022614", "0.6022395", "0.59691...
0.7356406
0
int the score for this participant
def p1kx(YKHO): return YKHO.data.totalPlayerScore
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1kx(YKHO) -> int:\n return YKHO._score", "def p1kx(YKHO) -> int:\n return YKHO._score", "def p1kx(YKHO) -> int:\n return 0", "def hckV(YKHO) -> int:\n return YKHO.p1_score", "def hckV(YKHO) -> int:\n return YKHO.p1_score", "def yFnZ(YKHO):\n p1kx = 215\n return p1kx", "def p1k...
[ "0.8120334", "0.8120334", "0.79630005", "0.7923634", "0.7923634", "0.7753711", "0.7740449", "0.7740449", "0.77202666", "0.76508814", "0.7628245", "0.76106304", "0.76106304", "0.76106304", "0.76106304", "0.76064783", "0.75908583", "0.7534402", "0.75065553", "0.74822384", "0.74...
0.7816516
5