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
(Vector, Vector) > Vector Returns the cross product of the two vectors.
def wnaF(YKHO, Elif): if YKHO.dimension() != 3 and Elif.dimension() != 3: YXxD = 'vectors must be 3-dimensional to compute cross product' raise gYj3(YXxD) XOOk, pHXX, MgfK = YKHO._v kYGz, ftz7, _2fo = (Elif.get(1), Elif.get(2), Elif.get(3)) MxXY = pHXX * _2fo - MgfK * ftz7 cWFu = Mgf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dcUW(WKvO, LVAh):\n assert WKvO.shape[0] == 3\n assert LVAh.shape[0] == 3\n return oyIN.expand_dims(oyIN.cross(WKvO[:, 0], LVAh[:, 0]), axis=-1)", "def WHx2(hQHm, jlSq):\n return hQHm[0] * jlSq[1] - hQHm[1] * jlSq[0]", "def wnaF(hQHm, jlSq):\n (o4D3, si3g), (ajwV, skBL) = (hQHm, jlSq)\n r...
[ "0.8190508", "0.8166132", "0.81588936", "0.81303126", "0.8112231", "0.80614704", "0.80564976", "0.8039563", "0.8030764", "0.79666895", "0.7945135", "0.79432267", "0.7935706", "0.79220974", "0.7881635", "0.7828351", "0.78238666", "0.78226006", "0.78093725", "0.7805819", "0.779...
0.80174726
9
(Vector) > bool Returns True iff this vector is the zero vector.
def Witr(YKHO): for BWXx in YKHO._v: if BWXx != 0: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ebnO(YKHO) -> 'bool':\n return FZrS.vectorvectorI___nonzero__(YKHO)", "def ebnO(YKHO) -> 'bool':\n return FZrS.vectorvectorD___nonzero__(YKHO)", "def ebnO(YKHO) -> 'bool':\n return FZrS.vectorvectorF___nonzero__(YKHO)", "def ebnO(YKHO) -> 'bool':\n return FZrS.vectorF___nonzero__(YKHO)", "d...
[ "0.83787805", "0.83665323", "0.83627963", "0.83550745", "0.83526725", "0.83449936", "0.8340988", "0.83285457", "0.8284876", "0.8278874", "0.8264502", "0.82596064", "0.8236617", "0.8229474", "0.81826377", "0.8164563", "0.8150344", "0.8064265", "0.8030785", "0.7990655", "0.7983...
0.7916755
23
Calculate absolute magnitude of vector. Add an array containing the values to data.
def Vkkj(XtFw, Kc94, PXGI): WKvO = XtFw.data[Kc94.format('x')] LVAh = XtFw.data[Kc94.format('y')] epBp = XtFw.data[Kc94.format('z')] vC9B = oyIN.sqrt(WKvO ** 2 + LVAh ** 2 + epBp ** 2) mZ1z = Kc94.format('') XtFw.data[mZ1z] = WKvO if PXGI is not None: XtFw.units[mZ1z] = PXGI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WTaY(nPrm):\n NFRE = []\n for iArr in nPrm:\n YXbZ = 0.0\n for tpio in iArr:\n YXbZ += tpio ** 2\n NFRE.append(YXbZ ** 0.5)\n return oyIN.array(NFRE)", "def YXbZ(iArr):\n return epAf.sqrt(sum([iArr[YRbF] ** 2 for YRbF in range(len(iArr))]))", "def WTaY(nPrm, leAC...
[ "0.7567444", "0.70248914", "0.6998342", "0.6938735", "0.69234097", "0.6807479", "0.6765256", "0.670622", "0.67018443", "0.65165603", "0.6496398", "0.6481539", "0.64621156", "0.63857174", "0.63210607", "0.62770987", "0.6245736", "0.62168646", "0.6180919", "0.6104797", "0.60884...
0.0
-1
Return simulation params used to maintain compatibility with base.py SimulationGrid
def mzhO(YKHO, Zi9o: int=None) -> cuzp: return YKHO._simulation_parameters
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T9Lg(YKHO):\n print('WARNING: get_sim_params() not redefined for SimulationWindow')\n print(' > simulation using default parameters')\n print(' To use custom parameters, redefine get_sim_params() to return your parameter structure')\n return YKHO.default_params", "def ...
[ "0.8190667", "0.77007616", "0.75903434", "0.7343263", "0.72028756", "0.6910809", "0.67590237", "0.67232126", "0.669732", "0.6642811", "0.6631004", "0.66261446", "0.660998", "0.65923357", "0.65895057", "0.65666574", "0.65564024", "0.65456545", "0.65451044", "0.65418106", "0.65...
0.75933695
2
Generates a test image with colors arranged so that any transformation is recognizable.
def ZMWz(ROpF=(250, 250)): OtaY = int(ROpF[0] / 10) S6Fl = int(ROpF[1] / 10) VXjJ = oyIN.full((*ROpF, 3), 0, oyIN.uint8) VXjJ[:, int((ROpF[1] - S6Fl) / 2):int((ROpF[1] + S6Fl) / 2), 0] = 255 VXjJ[:, :S6Fl, 1] = 255 VXjJ[:, -S6Fl:, 2] = 255 VXjJ[:OtaY, :, 2] = 255 VXjJ[-OtaY:, :, 1] = 255...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkfZ():\n dnJc = GrNN(2, 6)\n JSFg = GrNN(2, 4)\n _ivY = GrNN(2, 5)\n VXjJ = hnIv.new('RGB', (350, 350))\n lEHr = VXjJ.load()\n for WKvO in range(350):\n RAe9 = SlZZ(WKvO, 1, 349, -1, 1)\n for LVAh in range(350):\n k0tH = SlZZ(LVAh, 1, 349, -1, 1)\n Z5Q9 = ...
[ "0.68409353", "0.6662631", "0.65257657", "0.65257657", "0.65257657", "0.65198874", "0.65071017", "0.64685285", "0.64240676", "0.63538796", "0.635001", "0.63204783", "0.62569463", "0.6207863", "0.61822695", "0.6091256", "0.60453355", "0.60402256", "0.6039264", "0.6007587", "0....
0.64577216
8
Test that the index URL is set correctly
def hDnz(): assert gxEw('open_discussions-index') == '/'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SGLt(YKHO):\n with YKHO.app as Z9rn:\n _hkX = Z9rn.get('http://127.0.0.1:5000/api/v1/')\n YKHO.assertEqual(_hkX.status_code, 200)", "def mc1b(YKHO):\n d6pt = tTFA(YKHO.db)\n YKHO.assertEqual(d6pt.index_url, '/'.join((YKHO.db.database_url, '_index')))", "def hDnz(YKHO):\n geh0 = YK...
[ "0.7804571", "0.77267647", "0.7723146", "0.7705316", "0.7702956", "0.7692236", "0.7624386", "0.7622406", "0.7615922", "0.7565662", "0.753496", "0.75268126", "0.74986905", "0.7491049", "0.7467177", "0.7464088", "0.74160254", "0.7411666", "0.73940396", "0.7385318", "0.73237514"...
0.7385944
19
String representation of a card object
def zAg0(YKHO): return f'{F1Hz.VALUES[YKHO.value]} of {F1Hz.SUITS[YKHO.suit]}'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n return str(YKHO.cards)", "def zAg0(YKHO):\n return 'Card({0}, {1})'.format(str(YKHO.get_number()), YKHO.get_colour().__str__())", "def zAg0(YKHO):\n EsFv = ''\n for dxhl in YKHO.cards:\n EsFv += str(dxhl) + '\\n'\n return EsFv", "def zAg0(YKHO):\n return '\\n'.join(...
[ "0.8169714", "0.8039983", "0.8027324", "0.80159825", "0.7960656", "0.7889545", "0.78823894", "0.78324026", "0.7832181", "0.7823327", "0.7804435", "0.77944493", "0.77942234", "0.77637744", "0.776317", "0.7758256", "0.7735311", "0.7689022", "0.76824194", "0.76822764", "0.767277...
0.7300411
50
Returns the card at the given position in the deck (0 indexed, i.e. position=0 returns the first card)
def WFY4(YKHO, dQgj): if not isinstance(dQgj, int): raise TypeError(f'Illegal position type: position must be of type int. You tried\n type {type(dQgj)}') elif dQgj < 0 or dQgj >= YKHO.getNumCards(): raise ValueError('Illegal position attempted: position must be between 0 and the ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F48w(YKHO, d6pt):\n return YKHO.deck[d6pt]", "def F48w(pWAK):\n return vbhM[int(pWAK)]", "def KGkO(nf_0, d6pt):\n if len(nf_0) - 1 >= d6pt + 2:\n return nf_0[d6pt + 2]\n elif len(nf_0) - 1 >= d6pt + 1:\n return nf_0[d6pt + 1]\n else:\n try:\n return nf_0[d6pt]...
[ "0.8269789", "0.81319284", "0.7850465", "0.7698574", "0.7440807", "0.73445517", "0.7315665", "0.7135777", "0.71262497", "0.70978755", "0.7083005", "0.7050192", "0.69959277", "0.69549096", "0.68977016", "0.68768567", "0.68393", "0.6822984", "0.68139035", "0.6739466", "0.671883...
0.83898926
0
Returns the number of cards in the deck
def RbKl(YKHO): return len(YKHO.cards)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gjWw(YKHO):\n return len(YKHO.deck)", "def Ql1p(YKHO) -> int:\n return len(YKHO.__deck)", "def UHFx(YKHO):\n return len(YKHO.deck)", "def H7Zb(YKHO):\n exwG = 0\n for dxhl in YKHO.cards:\n exwG += dxhl.count\n return int(exwG)", "def UHFx(YKHO):\n return len(YKHO.cards)", ...
[ "0.87377936", "0.8608286", "0.85250115", "0.834606", "0.82062894", "0.8126962", "0.8003142", "0.78445643", "0.783284", "0.78163004", "0.7763059", "0.7678081", "0.7678081", "0.7669152", "0.76407254", "0.75952333", "0.7586814", "0.7576893", "0.74884856", "0.73972154", "0.734524...
0.8160848
5
get the value of property _FlowTableType
def bG5d(YKHO): if YKHO.force_auto_sync: YKHO.get('FlowTableType') return YKHO._FlowTableType
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T9cl(YKHO) -> RnTg.program.model.symbol.FlowType:\n ...", "def N8Lq(YKHO):\n return YKHO._properties.get('type')", "def N8Lq(YKHO):\n return YKHO._properties.get('type')", "def fuc0(YKHO):\n return YKHO._flow_table", "def YwLH(YKHO):\n return YKHO.type_", "def type(YKHO):\n return Y...
[ "0.73292917", "0.6917428", "0.6917428", "0.656498", "0.64459443", "0.6314389", "0.630041", "0.62893164", "0.6266851", "0.6256859", "0.62382686", "0.62281245", "0.6207958", "0.62059844", "0.6202061", "0.619133", "0.6162533", "0.6137106", "0.6119319", "0.6110827", "0.6110827", ...
0.7951599
0
Extracts target and feature series from df.
def W0nA(YKHO): GWEB = oyIN.asarray(YKHO.df['eia_load_ramp']) fBh4 = oyIN.asarray(YKHO.df['eia_solar_ramp']) ti1X = oyIN.asarray(YKHO.df['eia_wind_ramp']) HOVt = ['EIALoadRamp', 'EIASolarRamp', 'EIAWindRamp'] x6A0 = oyIN.stack([GWEB, fBh4, ti1X], axis=0) return (x6A0, HOVt) return (x6A0, byS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p4KO(bySB, pan_, jQ3Z):\n EcVT = jQ3Z.loc[:, bySB]\n LVAh = jQ3Z[pan_]\n return (EcVT, LVAh)", "def carQ(YKHO, jQ3Z):\n hMEF = []\n for mWFP, Jm84 in YKHO.steps:\n hMEF.append(Jm84.extract(jQ3Z))\n return rLdf.concat(hMEF, axis=1, sort=False)", "def LVvn(jQ3Z):\n EcVT = jQ3Z.dro...
[ "0.74830407", "0.6958424", "0.69533706", "0.68447405", "0.66573215", "0.661878", "0.65782064", "0.64803463", "0.64359266", "0.642977", "0.6365191", "0.6364546", "0.63447", "0.634089", "0.6283211", "0.62742335", "0.6263598", "0.62355846", "0.6230928", "0.6228867", "0.62032986"...
0.6842352
4
given that we're extracting the data around the annotations, adjust the start and end indices so that they're correct for the extracted data >>> starts = [0] >>> ends = [10] >>> n = 10 >>> padLen = 0
def k1U9(LRjM, HPXo, exwG, _iqd=0): if _iqd is not None: assert _iqd >= 0 LRjM = oyIN.asarray(LRjM) HPXo = oyIN.asarray(HPXo) XT48 = ayX6(LRjM, HPXo, exwG, _iqd) eCHy, xXZz = (XT48[:, 0], XT48[:, 1]) kMSi = xXZz - eCHy W0D6 = xXZz - oyIN.cumsum(kMSi) Whnd = [] LCj6 = [] q...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gcFi(YKHO):\n yKcO = 0\n for Os4s in YKHO.annot_index:\n yield (yKcO, Os4s)\n yKcO = Os4s", "def CQ87(EcVT, LRjM, HPXo, _iqd=0):\n sP8s = ayX6(LRjM, HPXo, len(EcVT), _iqd)\n MtpF = k1U9(LRjM, HPXo, len(EcVT), _iqd)\n Whnd, LCj6 = (MtpF[:, 0], MtpF[:, 1])\n xWpM = []\n for Y...
[ "0.6492171", "0.63090456", "0.6188792", "0.6032238", "0.581086", "0.58053124", "0.5776618", "0.5711584", "0.5708561", "0.5661764", "0.5658674", "0.55784076", "0.55755204", "0.5547997", "0.55302054", "0.5517574", "0.54834723", "0.5468328", "0.5454425", "0.5451756", "0.5431021"...
0.684111
0
Return the native unit of measurement.
def qraf(YKHO) -> str: return z0X2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qraf(YKHO):\n return YKHO._unit_of_measurement", "def qraf(YKHO):\n return YKHO._unit_of_measurement", "def qraf(YKHO):\n return YKHO._unit_of_measurement", "def qraf(YKHO):\n return YKHO._handle('native_unit_of_measurement')", "def qraf(YKHO) -> str | None:\n return YKHO.unit_of_measure...
[ "0.88663673", "0.88663673", "0.88663673", "0.8770856", "0.8716091", "0.86122346", "0.8519365", "0.84811974", "0.8439001", "0.8439001", "0.8434531", "0.8372375", "0.82799417", "0.8279453", "0.82413423", "0.8207265", "0.81566316", "0.81538683", "0.8109362", "0.8109362", "0.8109...
0.7632775
91
Return the device class.
def rM2U(YKHO) -> str: return qzfi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rM2U(YKHO):\n return YKHO._handle('device_class')", "def rM2U(YKHO):\n return YKHO._class", "def rM2U(YKHO) -> str:\n return YKHO._dev_cls", "def rM2U(YKHO):\n return YKHO._device_class", "def rM2U(YKHO):\n return YKHO._device_class", "def rM2U(YKHO):\n return YKHO._device_class", ...
[ "0.93540233", "0.9202765", "0.9180319", "0.91749567", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.9162649", "0.91477996", ...
0.7838648
66
Return the state attributes.
def R1i3(YKHO): return {'attribution': v7XK, 'id': YKHO.config_entry.data[af7e], 'integration': Sugg}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def upgy(YKHO):\n return YKHO._state_attrs", "def upgy(YKHO):\n nPrm = {}\n return nPrm", "def upgy(YKHO):\n azoT = {}\n for H5ew in YKHO._attributes.keys():\n azoT[H5ew] = YKHO._item[YKHO._attributes[H5ew]]\n return azoT", "def R1i3(YKHO):\n return YKHO.attr\n 'Return the stat...
[ "0.91432905", "0.88020736", "0.879611", "0.85616714", "0.84978837", "0.84978837", "0.8403058", "0.83845854", "0.83843285", "0.8365656", "0.8365656", "0.8365656", "0.8365656", "0.8365656", "0.83648384", "0.83648384", "0.83648384", "0.8358277", "0.83347726", "0.83347726", "0.83...
0.0
-1
Return the state class.
def VPCt(YKHO) -> str: return WYNN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VPCt(YKHO):\n return YKHO._handle('state_class')", "def VPCt(YKHO):\n return YKHO._sc", "def VPCt(YKHO):\n return YKHO._sensor_type[B980] if YKHO._device.valid else None", "def VPCt(YKHO) -> F6px | str | None:\n if hasattr(YKHO, '_attr_state_class'):\n return YKHO._attr_state_class\n ...
[ "0.92337173", "0.8730793", "0.8238986", "0.819187", "0.76352346", "0.7576462", "0.7574584", "0.73514783", "0.7228405", "0.7162212", "0.715766", "0.70905626", "0.7008711", "0.6978466", "0.69708794", "0.69466853", "0.69466853", "0.69466853", "0.69466853", "0.69466853", "0.69466...
0.77643
4
Return the state class.
def VPCt(YKHO) -> str: return NCR7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VPCt(YKHO):\n return YKHO._handle('state_class')", "def VPCt(YKHO):\n return YKHO._sc", "def VPCt(YKHO):\n return YKHO._sensor_type[B980] if YKHO._device.valid else None", "def VPCt(YKHO) -> F6px | str | None:\n if hasattr(YKHO, '_attr_state_class'):\n return YKHO._attr_state_class\n ...
[ "0.92337173", "0.8730793", "0.8238986", "0.819187", "0.77643", "0.7576462", "0.7574584", "0.73514783", "0.7228405", "0.7162212", "0.715766", "0.70905626", "0.7008711", "0.6978466", "0.69708794", "0.69466853", "0.69466853", "0.69466853", "0.69466853", "0.69466853", "0.69466853...
0.76352346
5
In an iterable of dicts, return a list of values from one key
def IDAB(OxJJ, H5ew, apeE='N/A'): Aofo = list() for ZfUD in OxJJ: Ghgm = dict(ZfUD) Aofo.append(Ghgm.pop(H5ew, apeE)) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T6S7(H5ew):\n return [Csk6[H5ew] for Csk6 in fgcx if H5ew in Csk6]", "def xkpa(SmrQ: list, uxij: dict) -> list:\n JTgH = list()\n for H5ew in SmrQ:\n JTgH.append(next((Ty9i for G1Hx, Ty9i in uxij.items() if G1Hx == H5ew), None))\n return JTgH", "def Rulp(H5ew, GBaN):\n bM03 = [WKvO[H5...
[ "0.7920346", "0.76565576", "0.7259467", "0.7125861", "0.69902736", "0.69834137", "0.69834137", "0.6935916", "0.69185424", "0.69164526", "0.6868359", "0.68464506", "0.6727153", "0.6718835", "0.67159796", "0.66668344", "0.6665662", "0.66636974", "0.6596108", "0.6591084", "0.658...
0.0
-1
Take two iterables, one with keys and other with values and return a dict
def _fYl(sjXb, hkxX): try: bGrB = iter(sjXb) except TypeError: return {sjXb: hkxX} return dict(zip(sjXb, hkxX))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def weDf(sjXb: list, hkxX: list) -> dict[str, ImMB]:\n return dict(zip(sjXb, hkxX))", "def okam(WbPA, S69B):\n return {YRbF: WbPA[YRbF] for YRbF in WbPA.keys() & S69B.keys()}", "def IHRT(LFlW: Mapping[str, str], _tIi: Mapping[str, str]) -> cuzp[str, str]:\n Ylbp = dict(LFlW)\n Ylbp.update(_tIi)\n ...
[ "0.75377256", "0.71141106", "0.70117", "0.69825494", "0.6956242", "0.6853713", "0.6780489", "0.67384833", "0.6715201", "0.6682274", "0.6635004", "0.66258365", "0.6594183", "0.6594183", "0.6591566", "0.65404624", "0.6504447", "0.6486584", "0.64780104", "0.64695626", "0.6465209...
0.7113255
2
Concantenate tissue dataframes to create a single combined data frame
def o5qg(_obu, JomX, n80H): RKD7.debug('Combining: {}\t{}'.format(_obu, JomX)) if not Hy7s.path.exists(n80H): nWQ0 = [rLdf.read_csv(Tmfv, sep='\t', index_col=0) for Tmfv in _obu] DjJz = rLdf.read_csv(JomX, sep='\t', index_col=0) jQ3Z = rLdf.concat(nWQ0 + [DjJz], axis=1) jQ3Z.to_c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _9C2(DPdl):\n return rLdf.concat(DPdl)", "def VssM(LFlW, _tIi):\n jtyf = LFlW.values.tolist()\n V70B = _tIi.values.tolist()\n for YRbF in range(len(jtyf)):\n jtyf[YRbF].extend(V70B[YRbF])\n return rLdf.DataFrame(jtyf, columns=LFlW.columns.tolist() + _tIi.columns.tolist())", "def Np3_(...
[ "0.71737903", "0.7163252", "0.7149082", "0.71347624", "0.7124551", "0.6847136", "0.6822943", "0.67743874", "0.6661749", "0.6636417", "0.663473", "0.6624941", "0.65919995", "0.6586875", "0.6546429", "0.6541584", "0.6528118", "0.65272236", "0.648893", "0.6482266", "0.64694554",...
0.65289223
16
A string representation of a string list parameter.
def EHQi(YKHO, xqoZ): mPaN = getattr(YKHO, xqoZ) return ','.join(mPaN)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gw9t(YKHO, xqoZ, sdCG=None):\n if isinstance(xqoZ, (dict, list)):\n if sdCG:\n return sdCG + '\\n' + ''.join(map(str, YKHO._pp.pformat(xqoZ)))\n return ''.join(map(str, YKHO._pp.pformat(xqoZ)))\n if sdCG:\n return sdCG + '\\n' + YKHO._pp.pformat(xqoZ)\n return YKHO._pp....
[ "0.75229436", "0.75196755", "0.7504541", "0.70061845", "0.69915015", "0.69860786", "0.6949317", "0.69413", "0.6913206", "0.69099504", "0.68891007", "0.6841718", "0.67805713", "0.67676", "0.67216027", "0.6687357", "0.6672481", "0.6639887", "0.6634274", "0.6603607", "0.65596676...
0.62348896
36
Initialize the open boundary conditions.
def NzuG(YKHO): YKHO.obcs = {} for NZQz in YKHO.oblist: YKHO.obcs[NZQz] = J4NP.OpenBoundaryCondition(NZQz, YKHO.hgrid, YKHO.zgrid)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, UMN4):\n if len(UMN4) == 0:\n raise OrWq('List of boundaries must not be empty')\n YKHO.grid = UMN4[0].grid\n if len(UMN4) != YKHO.grid.num_axes:\n raise OrWq(f'Need boundary conditions for {YKHO.grid.num_axes} axes')\n for jDK_, zXil in enumerate(UMN4):\n if zXil.gr...
[ "0.6677947", "0.6578566", "0.6563048", "0.6516869", "0.6370249", "0.631946", "0.6308224", "0.628934", "0.6226862", "0.62263924", "0.6195226", "0.61646396", "0.6147065", "0.6138903", "0.6125443", "0.61238855", "0.60750014", "0.60500795", "0.6028277", "0.6011027", "0.6005002", ...
0.73855084
0
Initialize a 'simple tides' nested model.
def FIMM(YKHO, zrIJ, Jw7X, aqMF, mWFP='test', NKpy='LatLon', YdD0=None, eUWA=None, Skbs=None, dcQE=1): if YdD0 is None: YdD0 = [2005, 2015] if eUWA is None: eUWA = Jw7X if Skbs is None: Skbs = ['south', 'north', 'west', 'east'] _2Kc.__init__(YKHO, zrIJ, Jw7X, aqMF, YdD0, name=mWF...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, C3ST):\n super().__init__(C3ST, allowed_models=['flat'])", "def FIMM(YKHO, C3ST):\n super().__init__(C3ST, allowed_models=['flat'])", "def FIMM(YKHO, C3ST, nNXP=None, V_D6=None):\n YKHO.tree_class = Dl62\n wOed.__init__(YKHO, C3ST, nNXP, V_D6)", "def FIMM(YKHO, rb7a=2):\n YKHO.d...
[ "0.5872312", "0.5872312", "0.5853534", "0.5599592", "0.552617", "0.5523338", "0.544426", "0.5412291", "0.5347498", "0.5311751", "0.53102547", "0.5302876", "0.5291952", "0.52828175", "0.5275352", "0.52738965", "0.52578366", "0.52569443", "0.5249168", "0.5246995", "0.52412164",...
0.51755667
41
f(x) = x , x => 0 f(x) = 0 , x < 0
def zd9I(Nk6w): return (Nk6w > 0) * Nk6w
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eHNT(WKvO: float) -> int:\n if WKvO < 0:\n return -1\n elif WKvO < 1:\n return 0\n else:\n return 1", "def eHNT(Emd4, WKvO):\n return lyYP.float64(WKvO > 0)", "def tbib(mLGw):\n return mLGw < 0", "def K0G5(WKvO):\n WKvO[WKvO < 0] = -1\n WKvO[WKvO >= 0] = 1\n r...
[ "0.79336435", "0.7242815", "0.71504337", "0.71299326", "0.7120558", "0.71002316", "0.7032276", "0.6915555", "0.6906119", "0.6868955", "0.6856707", "0.68542695", "0.67458814", "0.6697804", "0.66928405", "0.66903245", "0.66830057", "0.6678526", "0.6678526", "0.6668399", "0.6650...
0.0
-1
Compute and return the softmax of the input. To improve numerical stability, we do the following
def N93T(Nk6w): ywl4 = Nk6w.copy() ywl4 -= oyIN.max(ywl4, axis=0, keepdims=True) EW9S = oyIN.sum(oyIN.exp(ywl4), axis=0, keepdims=True) EFYf = ywl4 - oyIN.log(EW9S) N77f = oyIN.exp(EFYf) return N77f
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N93T(input):\n input = input - oyIN.max(input)\n s852 = oyIN.exp(input)\n pSPY = oyIN.sum(s852)\n return s852 / pSPY + 10 ** (-6)", "def N93T(UnuI):\n return Zxt2.special.softmax(UnuI)", "def N93T(YKHO, WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO))", "def N93T(WKvO):\n eH...
[ "0.8913374", "0.8764266", "0.8691883", "0.8620045", "0.8613311", "0.86064357", "0.8601455", "0.85961384", "0.85949594", "0.8570607", "0.8563496", "0.85623133", "0.8560668", "0.8554322", "0.855385", "0.85492533", "0.8548525", "0.8529801", "0.85263956", "0.8526127", "0.8521328"...
0.0
-1
Update the parameters in params according to the gradient descent update routine.
def EayS(Fv2L, NArs, JuX_): vGU_ = {} hUTg = int(len(NArs.items()) / 2 + 1) b0Ix = Fv2L['learning_rate'] for vC9B in range(1, hUTg): vGU_['W_' + str(vC9B)] = NArs['W_' + str(vC9B)] - b0Ix * JuX_['grad_W_' + str(vC9B)] vGU_['b_' + str(vC9B)] = NArs['b_' + str(vC9B)] - b0Ix * JuX_['grad_b_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x2Fr(YKHO, dmz4):\n for xqoZ, Ro40 in zip(YKHO.params, dmz4):\n xqoZ -= YKHO.learning_rate * Ro40", "def EayS(Fv2L, NArs, JuX_):\n fhcK = int(len(list(JuX_)) / 2)\n qHf0 = Fv2L['learning_rate']\n for YRbF in range(1, fhcK + 1):\n NArs['W_' + str(YRbF)] -= qHf0 * JuX_['grad_W_' + str...
[ "0.80136496", "0.7963658", "0.79245996", "0.7891325", "0.78101474", "0.77331233", "0.76023984", "0.75448906", "0.7534128", "0.74907154", "0.7487401", "0.74805325", "0.7463365", "0.73492634", "0.7335619", "0.73250955", "0.7318985", "0.72952855", "0.72906125", "0.7265122", "0.7...
0.8050464
0
Function to check if a queen can be placed on board
def KXjL(iBIi, rdlD, fvDH, exwG): for Z9rn in range(fvDH): if iBIi[rdlD][Z9rn] == 1: return False for Mkmy, Z9rn in zip(range(rdlD, -1, -1), range(fvDH, -1, -1)): if iBIi[Mkmy][Z9rn] == 1: return False for Mkmy, Z9rn in zip(range(rdlD, exwG, 1), range(fvDH, -1, -1)): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HAYG(iBIi, LVAh, WKvO):\n dixj = []\n for YRbF in range(WKvO - iBIi.size, WKvO + iBIi.size + 1):\n for r845 in range(LVAh - iBIi.size, LVAh + iBIi.size + 1):\n if YRbF >= 0 and r845 >= 0 and (abs(YRbF - WKvO) == abs(r845 - LVAh)) or YRbF == WKvO or r845 == LVAh:\n try:\n ...
[ "0.76566654", "0.761183", "0.75296986", "0.7525932", "0.7483721", "0.7483525", "0.7411676", "0.7321051", "0.72761405", "0.72608745", "0.7168419", "0.7099645", "0.70903563", "0.7063927", "0.7053379", "0.70162857", "0.7013812", "0.7007495", "0.69653964", "0.69447017", "0.688888...
0.66717595
41
Create a plane by an origin and normal vector.
def glfv(y4fz, imdf): return glfv(y4fz, imdf)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mlz2(hLRM, mhAC, NkBi=None):\n hLRM = BDQe.coerce3dpoint(hLRM, True)\n mhAC = BDQe.coerce3dvector(mhAC, True)\n RBVb = rSBT.Geometry.Plane(hLRM, mhAC)\n if NkBi:\n NkBi = BDQe.coerce3dvector(NkBi, True)\n NkBi = rSBT.Geometry.Vector3d(NkBi)\n NkBi.Unitize()\n i4e5 = rSBT...
[ "0.8046178", "0.7454948", "0.7348474", "0.7228811", "0.7204514", "0.69416213", "0.6667597", "0.6636401", "0.6603359", "0.6592179", "0.65599257", "0.648893", "0.64714754", "0.64634556", "0.6426611", "0.6409525", "0.63741297", "0.63450104", "0.63434845", "0.63331056", "0.630758...
0.7089458
5
Testing creating a user.
def bt2G(YKHO): geh0 = YKHO.client.post('/api/v1/auth', data=qQXR.dumps(YKHO.user_data), content_type='application/json') Ylbp = qQXR.loads(geh0.data.decode()) YKHO.assertEqual(geh0.status_code, 201)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qtiS(YKHO):\n YKHO._test_create_new_user()", "def cDXr(YKHO):\n pass", "def ELyG(YKHO):\n bD7m = gxEw('user-list')\n nPrm = {'first_name': 'Wayne', 'last_name': 'Gretzky', 'email': 'wayne.gretzky@plantustest.com', 'password': 'qwer1234'}\n geh0 = YKHO.client.post(bD7m, data=nPrm)\n YKHO.a...
[ "0.89370346", "0.8901592", "0.8613394", "0.85737497", "0.85711676", "0.85192114", "0.8492643", "0.84805715", "0.8480108", "0.8467478", "0.8459268", "0.84567934", "0.8440746", "0.8422718", "0.84101546", "0.8409486", "0.83968925", "0.83802223", "0.8358357", "0.8358136", "0.8330...
0.0
-1
Testing wrong password user login.
def Skbs(YKHO): geh0 = YKHO.client.post('/api/v1/login', data=qQXR.dumps(YKHO.wrong_login_data), content_type='application/json') Ylbp = qQXR.loads(geh0.data.decode()) YKHO.assertEqual(geh0.status_code, 401)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BRJb(YKHO):\n YKHO.assertFalse(mv1M.authenticate(YKHO.SantanaRP.username, 'lakjgs;as'))", "def BRJb(YKHO):\n Wju4 = YKHO.t1.username\n zN5h = 'wrongpwd'\n YKHO.assertFalse(mv1M.authenticate(Wju4, zN5h))", "def m0p0(YKHO):\n dsbO = mv1M.login('testuser', 'pass1234toomany')\n YKHO.assertFal...
[ "0.8692312", "0.8689019", "0.86559457", "0.8634674", "0.86039126", "0.8595949", "0.8555536", "0.8555216", "0.85267484", "0.8492091", "0.8446521", "0.8443818", "0.83955497", "0.8341779", "0.8293538", "0.8289922", "0.8283461", "0.8277909", "0.8266739", "0.82639575", "0.8256053"...
0.792493
52
Returns a list of perc controllers instances for this server
def qVSn(): Ylbp = iXC1('omreport', 'storage controller') if Ylbp.find('Controllers') is None: raise Bx6I.ControllerError('Unable to retrieve controller information') uuUY = Ylbp.find('Controllers') A07C = [Z7L0.find('ControllerNum').text for Z7L0 in uuUY] return [QRnd(WKvO) for WKvO in A07C...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uuUY(YKHO) -> 'list[IUController]':\n return YKHO._controllers", "def qVSn(Emd4) -> [int]:\n return Emd4._controllers.copy()", "def MVqa(YKHO):\n return YKHO._pool_ctrl_list", "def Y0f7(YKHO):\n uuUY = YKHO.pass_command('SC?')\n if uuUY is None:\n return\n uuUY = int(uuUY)\n r...
[ "0.6908691", "0.6886866", "0.66893697", "0.66724914", "0.6638762", "0.62997985", "0.6299693", "0.6266177", "0.6206283", "0.61981314", "0.6133021", "0.6101714", "0.6100952", "0.6091678", "0.6081283", "0.60651255", "0.60611033", "0.605587", "0.6052976", "0.6049883", "0.6046729"...
0.68571925
2
Check that token represents a valid session for specified user.
def IYbX(uJjO, eOtH): vexM = "select * from `authors` where `id`=%s and `session`='%s'" usx6 = Z9rn.execute(vexM % (uJjO, eOtH)) if usx6 != 1: return None return Z9rn.fetchone()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gvth(c5ow: str):\n Yabc = cuiw['user_id']\n if Yabc:\n if Yabc == c5ow:\n return\n else:\n bo34.info('Token user does not match the session user. Creating a new session...')\n cuiw.clear()\n P4t4.open_session()\n cuiw['user_id'] = c5ow", "def...
[ "0.78870034", "0.7759023", "0.737313", "0.7275504", "0.7270569", "0.72193325", "0.71150976", "0.7034878", "0.7030706", "0.7028195", "0.7005305", "0.69914424", "0.69667625", "0.6961334", "0.69484055", "0.68964", "0.6881858", "0.68364006", "0.68327516", "0.68148565", "0.6806813...
0.62136316
83
Get db ids for all ReadingData objects that correspond to a db ref. Note that the objects are modified IN PLACE, so nothing is returned, and if a copy of the objects is passed as an argument, this function will have no effect. This does nothing if the readings are not in the database.
def SJb0(doFz, NCls=None): bo34.debug('Enriching the reading data with database refs.') if NCls is None: NCls = g_4R() JP48 = NCls.select_all('reading', NCls.Reading.text_content_id.in_([Zohj.tcid for Zohj in doFz if Zohj.reading_id is None])) for Lm7W in doFz: for ogoH in JP48: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def duOS(SjUB, fld4, y2OX=False, Ep8u=1000, NCls=None):\n if NCls is None:\n NCls = g_4R()\n T3_C = B2tj(SjUB, fld4, db=NCls, force_fulltext=y2OX)\n if T3_C is not None:\n XMSj = [d2tH.from_db_reading(Mkmy) for Mkmy in T3_C.yield_per(Ep8u)]\n else:\n XMSj = []\n return XMSj", ...
[ "0.6588241", "0.61882174", "0.5958391", "0.59480774", "0.5731591", "0.5730043", "0.5708144", "0.57031345", "0.56070167", "0.55607563", "0.5554062", "0.5553875", "0.5513605", "0.5504313", "0.54996413", "0.5494503", "0.5489086", "0.5467029", "0.5438342", "0.53930086", "0.538908...
0.5610475
8
Get a list of clauses to be passed to a db query. Note that an empty condition will be returned if id_dict has no ids in it (either the dict is empty or all the lists within the dict are empty), which will in general have the unexpected effect of selecting everything, rather than nothing.
def D652(SjUB, NCls): d48F = [getattr(NCls.TextRef, o6OS).in_(Wo3y) for o6OS, Wo3y in SjUB.items() if len(Wo3y) and o6OS not in ['tcid', 'trid']] for o6OS, tyNF in [('trid', NCls.TextRef), ('tcid', NCls.TextContent)]: if o6OS in SjUB.keys() and len(SjUB[o6OS]): XpKM = [int(YRbF) for YRbF in ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dTca(YKHO, A07C):\n y8bC = []\n hkxX = []\n z3LN = {}\n for d6pt, id in enumerate(A07C):\n YPGK = []\n PK_L = []\n for Jyyj, BWXx in dict(AO38(id)).items():\n aC0l = z3LN.setdefault(Jyyj, {}).setdefault(BWXx, '%s%s' % (Jyyj, d6pt))\n YPGK.append((Jyyj, aC0...
[ "0.64425343", "0.59832346", "0.5870183", "0.58545583", "0.5783648", "0.5690042", "0.56265616", "0.56245166", "0.5607328", "0.5575897", "0.55636656", "0.55632067", "0.55587333", "0.55390763", "0.55264294", "0.5485752", "0.54857194", "0.5444575", "0.5440849", "0.5433134", "0.54...
0.81138074
0
Add a root to the graph
def Yamk(YKHO, Q6kx: Union[str, NODE_TYPE]) -> None: BWXx = YKHO.find_node(Q6kx) if BWXx is None: raise KeyError('Adding non-existing {node!r} as root') YKHO._roots.add(BWXx.identifier)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wo0D(pNZh):\n pNZh.add_node('root', type='root', hierarchy=0)\n mC4V = [('root', KCHu) for KCHu, Csk6 in pNZh.in_degree if Csk6 == 0 and KCHu != 'root']\n pNZh.add_edges_from(mC4V, type=2)", "def Yamk(YKHO, tk5Y):\n if YKHO.root is not None:\n raise AttributeError('Tree already has a root!...
[ "0.8043867", "0.7727817", "0.7372706", "0.7124161", "0.7097218", "0.70874184", "0.70558846", "0.70447904", "0.6970398", "0.6896509", "0.68802345", "0.6860448", "0.68364286", "0.6830822", "0.67128414", "0.6680959", "0.66781473", "0.66763055", "0.65594614", "0.65473145", "0.651...
0.6876457
11
Add a root to the graph
def g5gD(YKHO, Q6kx: NODE_TYPE) -> None: if Q6kx.identifier in YKHO._nodes: raise ValueError(f'Already have node with name {Q6kx.identifier!r}') YKHO._nodes[Q6kx.identifier] = Q6kx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wo0D(pNZh):\n pNZh.add_node('root', type='root', hierarchy=0)\n mC4V = [('root', KCHu) for KCHu, Csk6 in pNZh.in_degree if Csk6 == 0 and KCHu != 'root']\n pNZh.add_edges_from(mC4V, type=2)", "def Yamk(YKHO, tk5Y):\n if YKHO.root is not None:\n raise AttributeError('Tree already has a root!...
[ "0.8042302", "0.77258503", "0.7371063", "0.71219134", "0.709523", "0.70845765", "0.70538753", "0.7041886", "0.696756", "0.6896826", "0.6885204", "0.6874644", "0.6859916", "0.6835543", "0.68279546", "0.6712459", "0.6679835", "0.66753536", "0.66748935", "0.6560045", "0.6545325"...
0.0
-1
Add a directed edge between source and destination with edge attributes. Edges between the source and destination with the same edge attributes are merged into a single edge.
def rz7z(YKHO, JZXy: Union[str, NODE_TYPE], yFgu: Union[str, NODE_TYPE], knIy: EDGE_TYPE) -> None: SrYI = YKHO.find_node(JZXy) O53q = YKHO.find_node(yFgu) if SrYI is None: raise KeyError(f'Source {JZXy!r} not found') if O53q is None: raise KeyError(f'Destination {yFgu!r} not found') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rz7z(YKHO, JZXy, e1vZ):\n JYV8 = YKHO.add_node(JZXy)\n UlMs = YKHO.add_node(e1vZ)\n YKHO._outward[JYV8].add(UlMs)\n YKHO._inward[UlMs].add(JYV8)\n return (JYV8, UlMs)", "def rz7z(YKHO, pNZh: DirectedGraph, JZXy: str, yFgu: str, upAO: float=0.0):\n pNZh.add_edge(JZXy, yFgu, upAO)", "def Fh...
[ "0.7852286", "0.76706856", "0.7644395", "0.7609612", "0.75287586", "0.747114", "0.7466953", "0.7447487", "0.7396009", "0.736825", "0.7314138", "0.73058546", "0.7285709", "0.72347575", "0.7217452", "0.72057515", "0.7196741", "0.7175446", "0.7126145", "0.7107354", "0.7101609", ...
0.8206323
0
Remove an edge from the graph
def iyca(YKHO, JZXy: Union[str, NODE_TYPE], yFgu: Union[str, NODE_TYPE], knIy: EDGE_TYPE) -> None: SrYI = YKHO.find_node(JZXy) O53q = YKHO.find_node(yFgu) if SrYI is None: raise KeyError('Source {source!r} not found') if O53q is None: raise KeyError('Destination {destination!r} not found...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iyca(YKHO, tTpl):\n pass", "def iyca(YKHO, tTpl):\n try:\n YKHO.hyperedge.remove(set(tTpl))\n except ValueError:\n raise jHsn.NetworkXError('The edge %s is not in the hypergraph' % tTpl)", "def Qmvo(YKHO, D70y):\n YKHO.nodes[D70y[0]].neighbors.discard(D70y[1])\n YKHO.nodes[D70y...
[ "0.8625693", "0.838488", "0.83341944", "0.8151133", "0.8137771", "0.80541575", "0.8041331", "0.8037057", "0.80235076", "0.7946995", "0.7852588", "0.783895", "0.7836491", "0.7810201", "0.7809764", "0.780289", "0.7781069", "0.7767829", "0.776401", "0.7757603", "0.77342135", "...
0.0
-1
Normalizes string, converts to lowercase, removes nonalpha characters, and converts spaces to hyphens. From
def bez7(BWXx): BWXx = zVCt.normalize('NFKD', BWXx).encode('ascii', 'ignore') BWXx = ZbWC.sub('[^\\w\\s-]', '', BWXx.decode('utf-8', 'ignore')) BWXx = BWXx.strip().lower() BWXx = ZbWC.sub('[-\\s]+', '-', BWXx) return BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nJdR(YKHO, KCHu: str) -> str:\n return ''.join([Z9rn.lower() for Z9rn in KCHu if Z9rn.isalnum()])", "def I3lj(YKHO, KCHu):\n KCHu = KCHu.lower().strip()\n KCHu = YKHO.unicode_to_ascii(KCHu.lower().strip())\n KCHu = ZbWC.sub('([.!?])', ' \\\\1', KCHu)\n KCHu = ZbWC.sub('[^a-zA-Z.!?]+', ' ', KCH...
[ "0.80343604", "0.80012125", "0.7971204", "0.7940789", "0.78977644", "0.7801906", "0.77952665", "0.77879924", "0.77875245", "0.7747406", "0.766281", "0.7574329", "0.7564775", "0.7508402", "0.74334604", "0.7416365", "0.7379648", "0.73408043", "0.73220086", "0.7317144", "0.73151...
0.717939
43
Stores the pickled version of `value` in the source `value` is also stored in the property cache. returns the stored value.
def HCdl(YKHO, A97Q, BWXx): A97Q._values.property_cache[YKHO.name] = BWXx return kLcZ(BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IGPx(BWXx):\n return x8I_(kLcZ(BWXx, unpicklable=True))", "def vU8F(YKHO, BWXx):\n return jth9.deepcopy(BWXx)", "def PjZe(YKHO, BWXx):\n return t2lc.dumps(BWXx)", "def j6Nn(YKHO, BWXx):\n wyyA, LeuP = kMno(YKHO)\n wyyA.put(LeuP, BWXx)", "def D4hR(YKHO, Qj8D):\n YKHO.db_value = ycwe(Qj...
[ "0.6928889", "0.64304495", "0.6346986", "0.62465185", "0.6126998", "0.6115379", "0.6093402", "0.6076494", "0.605829", "0.60486203", "0.6040759", "0.6011276", "0.59804183", "0.59341985", "0.59167147", "0.58917576", "0.5861856", "0.58598316", "0.5826229", "0.5825098", "0.580749...
0.5687211
30
Returns smallest positive number missing from a given array.
def GERS(k0lF): abZk = True t4HM = max(k0lF) Pgpp = {exwG: False for exwG in range(1, t4HM + 1, 1)} for jzdc in k0lF: if jzdc > 0: abZk = False Pgpp[jzdc] = True if abZk: return 1 for mLGw in range(1, t4HM + 1, 1): if not Pgpp[mLGw]: re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def S5bX(ezWE, LFlW, _tIi):\n if LFlW > _tIi:\n return LFlW", "def im4M(qw7D):\n e525 = qw7D[-1]\n W_u7 = e525 * (e525 + 1) / 2\n CYuN = sum(qw7D)\n return W_u7 - CYuN", "def lC4M(xYvp):\n exwG = len(xYvp)\n return exwG * (exwG + 1) // 2 - sum(xYvp)", "def gwSR(gXtX):\n exwG = ...
[ "0.75064284", "0.70956415", "0.70947087", "0.7036933", "0.7012316", "0.6882649", "0.6862555", "0.68529385", "0.6810956", "0.67900187", "0.6766015", "0.6682594", "0.6640064", "0.65431833", "0.64565706", "0.645465", "0.64539325", "0.63569033", "0.63569033", "0.6354373", "0.6353...
0.6746954
11
Custom initializer that builds `request_fields`.
def FIMM(YKHO, KAOR=None, nPrm=V_D6.empty, bdKs=None, jQ38=None, vaWC=None, a4Y1=None, _kBN=None, dsE5=False, A4Wh=True, Q1PJ=False, c8Hf=False, **B2fa): mWFP = YKHO.get_name() if nPrm is not V_D6.empty and mWFP in nPrm and (len(nPrm) == 1): nPrm = nPrm[mWFP] if nPrm is not V_D6.empty: for v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _tJY(YKHO):\n YKHO.format_request_headers()\n YKHO.append_custom_headers()", "def E2Sy(YKHO, QePW, *qIxc, **B2fa):\n nNdW = YKHO.get_parser_context(QePW)\n return VNUm(QePW, parsers=YKHO.get_parsers(), authenticators=YKHO.get_authenticators(), negotiator=YKHO.get_content_negotiator(), parser_cont...
[ "0.7066725", "0.6921034", "0.6906816", "0.68689215", "0.6479003", "0.64054507", "0.63597757", "0.6346997", "0.63268685", "0.6288961", "0.6220012", "0.6218236", "0.6206465", "0.6201779", "0.61804545", "0.6179073", "0.61679894", "0.61600095", "0.61440194", "0.610594", "0.609127...
0.0
-1
Get the model, if the serializer has one. Model serializers should implement this method.
def YrZb(Emd4): return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YrZb(YKHO):\n return YKHO._model", "def YrZb(YKHO):\n return YKHO._model", "def YrZb(YKHO):\n return YKHO.model", "def YrZb(YKHO):\n return YKHO.model", "def YrZb(YKHO):\n return YKHO.model", "def YrZb(YKHO):\n return YKHO.model", "def YrZb(YKHO):\n return YKHO.model", "def Y...
[ "0.7760163", "0.7760163", "0.768457", "0.768457", "0.768457", "0.768457", "0.768457", "0.768457", "0.76556003", "0.76324725", "0.7632421", "0.7627446", "0.7620661", "0.7567509", "0.7525365", "0.7514468", "0.74891305", "0.7471778", "0.7471778", "0.7470633", "0.7436402", "0.7...
0.7529005
14
Get the serializer name. The name can be defined on the Meta class or will be generated automatically from the model name.
def W0tD(Emd4): if not hasattr(Emd4.Meta, 'name'): _2sc = getattr(Emd4.get_model(), '__name__', None) setattr(Emd4.Meta, 'name', QQNo.underscore(_2sc) if _2sc else None) return Emd4.Meta.name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qviK(YKHO):\n KCHu = YKHO._meta.label.split('.')[-1]\n return KCHu[0].lower() + KCHu[1:]", "def lWKb(YKHO, ZMzz):\n XjA3 = getattr(ZMzz, 'Meta', None)\n qviK = type(ZMzz).__name__\n if hasattr(XjA3, 'ref_name'):\n mXGw = XjA3.ref_name\n elif qviK == 'NestedSerializer' and isinstance(...
[ "0.85823494", "0.7556594", "0.7066088", "0.67788875", "0.675064", "0.67344224", "0.6677775", "0.66731614", "0.6639868", "0.6638319", "0.66050076", "0.65707207", "0.6560022", "0.6547752", "0.6523291", "0.651752", "0.651752", "0.65173066", "0.6496037", "0.64815193", "0.6455562"...
0.6851715
3
Get the serializer's plural name. The plural name may be defined on the Meta class. If the plural name is not defined, the pluralized form of the name will be returned.
def W4vX(Emd4): if not hasattr(Emd4.Meta, 'plural_name'): setattr(Emd4.Meta, 'plural_name', QQNo.pluralize(Emd4.get_name())) return Emd4.Meta.plural_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BgbZ(Emd4):\n return str(Emd4.model._meta.verbose_name_plural)", "def nd0d(jFH4):\n return nd0d.custom.get(jFH4, None) or '%ss' % jFH4", "def qviK(YKHO):\n KCHu = YKHO._meta.label.split('.')[-1]\n return KCHu[0].lower() + KCHu[1:]", "def nd0d(KCHu):\n return wxgh.plural(KCHu)", "def cB24...
[ "0.72154623", "0.6808223", "0.6682361", "0.6304309", "0.6277978", "0.60546947", "0.5937342", "0.5925274", "0.5909293", "0.58796954", "0.58500093", "0.57553375", "0.5696883", "0.5679262", "0.5676339", "0.5665236", "0.56502056", "0.56277186", "0.56256473", "0.5619796", "0.55562...
0.80787146
0
Returns the entire serializer field set. Does not respect dynamic field inclusions/exclusions.
def QckB(YKHO): if not hasattr(YKHO, '_all_fields'): YKHO._all_fields = super(LRIX, YKHO).get_fields() for G1Hx, Jyyj in jKi7.iteritems(YKHO._all_fields): Jyyj.field_name = G1Hx UXqs = QQNo.humanize(G1Hx) Jyyj.label = getattr(Jyyj, 'label', UXqs) or UXqs ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mttl(YKHO):\n VKhi = YKHO.model._meta.concrete_model._meta\n V_D6 = (Jyyj.name for Jyyj in VKhi.local_fields + VKhi.local_many_to_many) if YKHO.fields is None else YKHO.fields\n V_D6 = (VKhi.get_field(Jyyj) for Jyyj in V_D6 if Jyyj not in YKHO.exclude)\n for Jyyj in V_D6:\n if Uw3a(Jyyj):\n ...
[ "0.7176181", "0.69526494", "0.68828815", "0.6660197", "0.66255796", "0.65233207", "0.6514317", "0.6482116", "0.64761055", "0.6441375", "0.6433359", "0.6430504", "0.6424713", "0.6423768", "0.6423768", "0.6401116", "0.636998", "0.6359006", "0.6332728", "0.6280064", "0.6272621",...
0.64371663
10
Modified to_representation with optimizations. 1) Returns a plain old dict as opposed to OrderedDict. (Constructing ordered dict is ~100x slower than `{}`.) 2) Ensure we use a cached list of fields (this optimization exists in DRF 3.2 but not 3.1)
def AXwi(YKHO, KAOR): U5bT = {} V_D6 = YKHO._readable_fields for Jyyj in V_D6: try: xC3W = Jyyj.get_attribute(KAOR) except lf3r: continue if xC3W is None: U5bT[Jyyj.field_name] = None else: U5bT[Jyyj.field_name] = Jyyj.to_repres...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UpuU(YKHO, KAOR):\n U5bT = U8Lr()\n V_D6 = YKHO._readable_fields\n bdKs, jQ38 = YKHO.get_only_fields_and_include_fields()\n iaHa = YKHO.get_on_demand_fields()\n for Jyyj in V_D6:\n if not YKHO.check_if_needs_serialization(Jyyj.field_name, bdKs, jQ38, iaHa):\n continue\n ...
[ "0.79625994", "0.7560269", "0.75559026", "0.7390898", "0.7237398", "0.7237398", "0.7237398", "0.7237398", "0.7237398", "0.7237398", "0.7237398", "0.72135776", "0.68867743", "0.6840576", "0.6700512", "0.6638857", "0.6586477", "0.65498364", "0.6526964", "0.6483841", "0.6483841"...
0.7148263
12
Called to return a list of fields consisting of, at minimum, the PK field name. The output of this method is used to construct a Prefetch object with a .only() queryset when this field is not being sideloaded but we need to return a list of IDs.
def swLg(YKHO): C3ST = YKHO.get_model() e5kH = K3Tg(C3ST) yvT9 = [e5kH.get_pk_field().attname] for Jyyj in e5kH.get_fields(): if isinstance(Jyyj, FYrf.ForeignKey): yvT9.append(Jyyj.attname) return yvT9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TnMw(Emd4):\n return [Jyyj['identifier'] for Jyyj in Emd4.fields]", "def C8hB(YKHO):\n ...", "def TnMw(YKHO):\n V_D6 = []\n for Jyyj in YKHO.identity_fields.all():\n V_D6.append(Jyyj.name, Jyyj.value, Jyyj.get_type_display())\n return V_D6", "def zJN_(YKHO):\n ZWCE = []\n for ...
[ "0.7437136", "0.7320377", "0.7014908", "0.693795", "0.69235253", "0.67881423", "0.67881423", "0.67881423", "0.67881423", "0.669865", "0.6682793", "0.66429365", "0.66200346", "0.6524333", "0.651723", "0.64976484", "0.6495341", "0.6495341", "0.6490814", "0.6444925", "0.63817585...
0.7282363
2
Attempts to place an order and drive off. A car can place an order only if they're the first one up Returns True if succesful, False otherwise
def pH8m(zj4q, _6NH): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zcJB(YKHO):\n if YKHO.temperature != 'overflow':\n return False\n for zJ7I, T4Wy in YKHO.__order_dict.items():\n gzBU = X4uH.get_shelf(T4Wy.temp)\n lCOu = False\n gzBU.lock_shelf()\n if gzBU.has_space():\n YKHO.remove_order(T4Wy)\n gzBU.add_order(T...
[ "0.644212", "0.64275444", "0.64049804", "0.640052", "0.6400059", "0.6341307", "0.62640727", "0.6253303", "0.6237246", "0.6209034", "0.6165552", "0.61381304", "0.6044031", "0.60427964", "0.6003055", "0.59962404", "0.59520984", "0.5885254", "0.58490986", "0.5846137", "0.5835382...
0.75650245
0
Hash password and return an encoded hash.
def hash(YKHO, jTXt): return aFGc(secret=zUhA(jTXt, YKHO.encoding), salt=zUhA(YKHO.salt, YKHO.encoding), time_cost=YKHO.time_cost, memory_cost=YKHO.memory_cost, parallelism=YKHO.parallelism, hash_len=YKHO.hash_len, type=eBH2.ID).decode('ascii')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qzFd(jTXt: str) -> bytes:\n Qzy6 = jTXt.encode()\n kz9X = B8ni.hashpw(KeOt, B8ni.gensalt())\n return kz9X", "def qzFd(jTXt):\n return HBct.sha256(jTXt.encode()).hexdigest()", "def qzFd(jTXt):\n return HBct.sha256(jTXt.encode()).hexdigest()", "def qzFd(jTXt: str) -> bytes:\n return HBct....
[ "0.8115997", "0.8097956", "0.8097956", "0.80735666", "0.80542356", "0.8020968", "0.7994636", "0.7976378", "0.79759073", "0.7972418", "0.79667497", "0.7955273", "0.7955273", "0.7945263", "0.79368675", "0.79070693", "0.7903573", "0.7889415", "0.7886554", "0.7878648", "0.7875197...
0.7437151
81
Checks if this constraint is satisfied with current assignments. If any variable is not instantiated yet this should return False.
def dVYS(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def I3xs(YKHO):\n for Ty9i in YKHO.network.variables:\n if Ty9i.isAssigned():\n for XmAe in YKHO.network.getNeighborsOfVariable(Ty9i):\n if Ty9i.getAssignment() == XmAe.getAssignment():\n return False\n return True", "def ZZQq(YKHO):\n return len(YKHO....
[ "0.8155925", "0.7479055", "0.7413933", "0.7225098", "0.7174394", "0.70371485", "0.7032936", "0.69845015", "0.68281025", "0.68281025", "0.68281025", "0.68281025", "0.68281025", "0.68281025", "0.68281025", "0.6795845", "0.6789344", "0.67868096", "0.6761992", "0.674678", "0.6742...
0.0
-1
Return center coordinates of the bounding box.
def hgjH(YKHO): return oyIN.array([YKHO._x1 + (YKHO._w - 1) / 2, YKHO._y1 + (YKHO._h - 1) / 2])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Lnpr(YKHO):\n cviu = YKHO.get_bounding_box()\n return cviu.center()", "def o9dz(YKHO):\n QOjQ = ccKF.getAttr('{}.boundingBoxMin'.format(YKHO.MAYA_STR_OBJECT))[0]\n VZti = ccKF.getAttr('{}.boundingBoxMax'.format(YKHO.MAYA_STR_OBJECT))[0]\n return (VZti[0] / 2 + QOjQ[0] / 2, VZti[1] / 2 + QOjQ[1...
[ "0.85886735", "0.8500004", "0.8212819", "0.82024825", "0.813301", "0.8031093", "0.8028154", "0.79962903", "0.79881805", "0.798015", "0.7933259", "0.7911437", "0.79035264", "0.7890997", "0.78785276", "0.7864079", "0.78509194", "0.78075933", "0.78038144", "0.7803697", "0.774055...
0.7859036
16
Contour plot of densities.
def ue2N(EcVT, fuBA, aVkX=[], gYZ3=20, aNZO=None, **B2fa): fvDH, vuvg, xzHJ, Pnox = EnTY(EcVT, fuBA, aVkX, gYZ3) if not aNZO: XP5J = QrM1.contour(xzHJ, Pnox, vuvg, **B2fa) return XP5J else: XP5J = aNZO.contour(xzHJ, Pnox, vuvg, **B2fa) return XP5J
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gyz5(KwPE, d7d0='src/python/dens_cont.pdf', leAC='Posterior estimate contour'):\n vb7U = oyIN.loadtxt(open(KwPE, 'rb'), delimiter=',')\n WfCS = vb7U.shape[1]\n if WfCS != 3:\n print('Error: density file must have 3 columns to be plotted')\n return\n JI1i = QrM1.figure()\n exwG = oy...
[ "0.70659", "0.6897424", "0.6724834", "0.6684924", "0.659625", "0.65271175", "0.6468751", "0.6418221", "0.6184133", "0.6113047", "0.59741485", "0.59626645", "0.59519035", "0.59515244", "0.5935565", "0.5889066", "0.58821553", "0.58737487", "0.5862211", "0.58569646", "0.5851101"...
0.5948209
14
Randomly jitter points. jittering is per point.
def tj8F(J1hN, WTkW=0.01, vJPk=0.05): tjUW, ywwl, Nq1b = J1hN.shape assert vJPk > 0 WLXc = oyIN.clip(WTkW * oyIN.random.randn(tjUW, ywwl, Nq1b), -1 * vJPk, vJPk) WLXc += J1hN return WLXc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bHg_(YKHO, aM8h=1.0):\n for YFMp in YKHO.stars:\n YFMp.x += tuKI.uniform(-0.1, 0.1) * aM8h\n YFMp.y += tuKI.uniform(-0.1, 0.1) * aM8h", "def bHg_(WKvO, Mkmy=0.1):\n return WKvO + oyIN.random.rand(*WKvO.shape) * oyIN.std(WKvO)[None, :] * Mkmy", "def bHg_(VOlW, aM8h):\n return VOlW + V...
[ "0.75472695", "0.7410611", "0.7287109", "0.694834", "0.6911661", "0.68838114", "0.68357635", "0.6556249", "0.6437521", "0.63828707", "0.63305485", "0.6319276", "0.6313966", "0.6290827", "0.61949134", "0.61942804", "0.619288", "0.6158329", "0.6111379", "0.6110583", "0.6109834"...
0.57829773
58
Return the file name without extension.
def bWPB(pmON): return aPr_(pmON).split('.')[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AjhE(YKHO):\n return Hy7s.path.basename(YKHO.file.name).split('.')[0]", "def t5OZ(qaEx):\n return gLx5(aPr_(qaEx))[0]", "def eHpM(Ux0P):\n return oAb3.Path(Ux0P).stem", "def icfS(pmON):\n return Hy7s.path.splitext(Hy7s.path.basename(pmON))[0]", "def AjhE(qaEx):\n return Hy7s.path.basenam...
[ "0.9072393", "0.8621378", "0.84798616", "0.84705454", "0.8455821", "0.8437487", "0.83330923", "0.8247273", "0.82371753", "0.8236931", "0.8202934", "0.81673217", "0.81388545", "0.81368506", "0.81178564", "0.8093286", "0.80423903", "0.79600364", "0.79512167", "0.79287845", "0.7...
0.0
-1
Return True if the file from the path exists.
def poxP(pmON): return EFYe(pmON)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def poxP(YKHO, pmON):\n return Hy7s.path.exists(YKHO.relative_path(pmON))", "def poxP(pmON: str) -> bool:\n return Hy7s.path.isfile(pmON)", "def poxP(pmON: str) -> bool:\n assert isinstance(pmON, str)\n return Hy7s.path.exists(pmON)", "def poxP(YKHO, pmON):\n VqRE = Hy7s.path.join(YKHO.base_pa...
[ "0.8797211", "0.87417024", "0.8737996", "0.8686923", "0.86506957", "0.8618608", "0.8577002", "0.85642564", "0.85607874", "0.8525777", "0.8515533", "0.8506291", "0.84872127", "0.8483745", "0.848099", "0.8476587", "0.8465704", "0.8436415", "0.84351534", "0.8417023", "0.841674",...
0.87036085
3
Load an image from file into a numpy array. Puts image into numpy array to feed into tensorflow graph. Note that by convention we put it into a numpy array with shape (height, width, channels), where channels=3 for RGB.
def IrN9(pmON): return oyIN.array(hnIv.open(pmON))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IrN9(pmON):\n LNo8 = None\n if pmON.startswith('http'):\n geh0 = Kf9k(pmON)\n UiEM = geh0.read()\n UiEM = aKaX(UiEM)\n LNo8 = hnIv.open(UiEM)\n else:\n UiEM = ZylS.io.gfile.GFile(pmON, 'rb').read()\n LNo8 = hnIv.open(aKaX(UiEM))\n nbX2, t4ML = LNo8.size\n ...
[ "0.79382217", "0.79184765", "0.79138464", "0.79138464", "0.78690356", "0.78690356", "0.78645265", "0.77993697", "0.77736133", "0.77736133", "0.77736133", "0.77736133", "0.7759376", "0.7749899", "0.7640717", "0.76339716", "0.76115096", "0.75858396", "0.75724965", "0.75378877", ...
0.7824996
7
Test that an exception is raised when getting an attr of an unknown entity.
def nAOj(YKHO): fqMY = yD8P() LEXu = xBeT() with YKHO.assertRaises(Exception): fqMY.get_entity_attr(LEXu.entity_id, 'alive')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ikd4(YKHO):\n fqMY = yD8P()\n LEXu = xBeT()\n fqMY.register_entity(LEXu.entity_id)\n with YKHO.assertRaises(Pa0Q):\n fqMY.get_entity_attr(LEXu.entity_id, 'likes_icecream')", "def YanJ(YKHO):\n with YKHO.assertRaises(AttributeError):\n YKHO.access_dict.missing", "def fGVu(YKHO):...
[ "0.7572802", "0.74421924", "0.73851484", "0.7380688", "0.71408135", "0.70965797", "0.70381355", "0.7010725", "0.69617945", "0.6945689", "0.68401706", "0.680424", "0.67938113", "0.6787345", "0.67541516", "0.67436093", "0.67406064", "0.67229956", "0.6720918", "0.6720535", "0.67...
0.8694093
0
Returns the first matching element of this query, or None if there was no match.
def cntZ(YKHO): for tTpl in YKHO: return tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UQKt(YKHO, *qIxc, **B2fa):\n try:\n return next(YKHO.query(*qIxc, **B2fa))\n except StopIteration:\n return None", "def cntZ(YKHO):\n try:\n umWR = YKHO if YKHO.ordered else YKHO.order_by('pk')\n return next(umWR[:1].iterator())\n except StopIteration:\n return ...
[ "0.7675077", "0.7602959", "0.752176", "0.7480123", "0.74595404", "0.7450765", "0.7355927", "0.73240525", "0.73240525", "0.73102725", "0.72740006", "0.72703904", "0.7231678", "0.7175462", "0.71739113", "0.71716684", "0.7135033", "0.71121883", "0.71118116", "0.7107577", "0.7073...
0.0
-1
Returns the last matching element of this query, or None if there was no match.
def XVAW(YKHO): YdtA = None for tTpl in YKHO: YdtA = tTpl return YdtA
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XVAW(YKHO):\n try:\n umWR = YKHO.reverse() if YKHO.ordered else YKHO.order_by('-pk')\n return next(umWR[:1].iterator())\n except StopIteration:\n return None", "def XVAW(YKHO):\n if len(YKHO.list) < 1:\n return None\n return YKHO.list[-1]", "def gTqa(YKHO, lgNN=None)...
[ "0.79110754", "0.7564904", "0.74940497", "0.732014", "0.7148751", "0.7102895", "0.70905536", "0.7083573", "0.708062", "0.7071838", "0.70455056", "0.7026349", "0.6983439", "0.6940875", "0.69061595", "0.6903261", "0.6900931", "0.6892478", "0.68921477", "0.68921477", "0.6884976"...
0.76998776
1
A generator yielding ``(key, value)`` attribute pairs, sorted by key name.
def DumB(YKHO): for H5ew in sorted(YKHO.attrs): yield (H5ew, YKHO.attrs[H5ew])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lZBZ(YKHO):\n for H5ew in YKHO._attributes:\n yield (H5ew, getattr(YKHO, H5ew))", "def o8Kj(YKHO):\n for hkS8, BWXx in YKHO.__dict__.items():\n yield (hkS8, BWXx)", "def o8Kj(YKHO):\n for hkS8, BWXx in YKHO.__dict__.items():\n yield (hkS8, BWXx)", "def o8Kj(YKHO):\n for h...
[ "0.6967646", "0.69168466", "0.69168466", "0.69168466", "0.68990487", "0.6787132", "0.6475535", "0.64459026", "0.6404047", "0.6370686", "0.63685566", "0.63127035", "0.63103664", "0.62938255", "0.6283942", "0.6229374", "0.6215242", "0.62041056", "0.61938", "0.61876833", "0.6183...
0.7747028
0
Returns a canonical path to this element, relative to the root node.
def pmON(YKHO, BwZK=False): pmON = '%s[%d]' % (YKHO.tagname, YKHO.index or 0) XP5J = YKHO.parent while XP5J is not None: if XP5J.parent or BwZK: pmON = '%s[%d]/%s' % (XP5J.tagname, XP5J.index or 0, pmON) XP5J = XP5J.parent return pmON
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HieR(YKHO):\n return GkAb(YKHO.get_canonical())", "def a_f_(YKHO):\n return Hy7s.path.realpath(YKHO.path)", "def LIOs(YKHO):\n return GkAb(GkAb(YKHO.get_absolute()).split()[0] + YKHO.separator())", "def pmON(YKHO):\n _AKB = YKHO._parent\n if _AKB is YKHO._root:\n return f'{YKHO.sepa...
[ "0.816263", "0.77450216", "0.7099944", "0.7073875", "0.7040793", "0.7033714", "0.6970596", "0.69491124", "0.6875724", "0.68287534", "0.680318", "0.67796016", "0.67531174", "0.6720552", "0.66820335", "0.6681243", "0.6676516", "0.6640949", "0.66405505", "0.6639922", "0.6639697"...
0.6224607
79
Recursively find any descendants of this node with the given tag name. If a tag name is omitted, this will yield every descendant node.
def iter(YKHO, mWFP=None): for Z9rn in YKHO._children: if mWFP is None or Z9rn.tagname == mWFP: yield Z9rn for gigf in Z9rn.find(mWFP): yield gigf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s52Z(tk5Y, hLhr):\n eEku = []\n for B2Dn in tk5Y:\n xDcj = f'.//{hLhr}'\n eEku = B2Dn.findall(xDcj)\n break\n return eEku", "def c2KQ(YKHO, TZ9E):\n EmMj = []\n for aUGN in YKHO.children:\n if aUGN.tag == TZ9E:\n EmMj.append(aUGN)\n EmMj.extend(aUG...
[ "0.72796303", "0.67446566", "0.6701139", "0.6653798", "0.66137165", "0.64413726", "0.64230883", "0.64140236", "0.64140236", "0.6211309", "0.62039137", "0.61957645", "0.612139", "0.60593694", "0.60575044", "0.6019006", "0.58678895", "0.5827545", "0.5824054", "0.5805287", "0.57...
0.6484782
5
Yields all parents of this element, back to the root element.
def ACnF(YKHO, mWFP=None): XP5J = YKHO.parent while XP5J is not None: if mWFP is None or XP5J.tagname == mWFP: yield XP5J XP5J = XP5J.parent
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ACnF(YKHO):\n if YKHO.is_outermost():\n raise StopIteration\n yield YKHO._parent\n for _AKB in YKHO._parent.parents():\n yield _AKB", "def HqGg(YKHO):\n QAIN = YKHO\n while True:\n QAIN = QAIN.parent\n if QAIN:\n yield QAIN\n else:\n bre...
[ "0.839749", "0.7956544", "0.78817457", "0.78194076", "0.77573395", "0.7703617", "0.75689", "0.75569093", "0.7488591", "0.74796015", "0.7460832", "0.7460832", "0.7460832", "0.74579173", "0.73752", "0.7217716", "0.71648544", "0.71545464", "0.7145874", "0.71244544", "0.7094921",...
0.7560451
7
Returns a new dbTable with only the columns specified. Similar to a SELECT statement in SQL
def EfUA(YKHO, ZLJ_): if not isinstance(ZLJ_, list): raise TypeError('SELECT expects a list') for fvDH in ZLJ_: if fvDH not in YKHO.columns: raise KeyError(fvDH + ' not in table') olYd = {fvDH: YKHO.columns[fvDH] for fvDH in ZLJ_} xAU6 = dict(YKHO.options) return AT_J(YKH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __BO(*ZLJ_, **B2fa):\n return tyNF(*ZLJ_, **B2fa)", "def tyNF(mWFP, *ZLJ_):\n return Vf84(mWFP, *ZLJ_)", "def ZWpO(YKHO):\n return NCls.select([YKHO.sql_column_clause()]).select_from(YKHO.table.sql_table_clause())", "def I6ui(YKHO, ZLJ_, qoqK=-1):\n YjEu = [YKHO.cols[Z9rn] for Z9rn in ZLJ_]\n...
[ "0.6870296", "0.67383194", "0.66802686", "0.6617483", "0.6397152", "0.62775826", "0.6244307", "0.6205266", "0.62049794", "0.61870986", "0.6184093", "0.6169505", "0.6154746", "0.61158997", "0.6112449", "0.610023", "0.60681474", "0.60681474", "0.60507137", "0.60423", "0.6032578...
0.72435904
0
Returns a numpy array representing this column
def iwLm(YKHO): return YKHO.table._get_column(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qw7D(YKHO):\n return XTiz.array(YKHO)", "def uzII(YKHO):\n return YKHO.numpy()", "def uzII(YKHO):\n return YKHO.numpy()", "def iwLm(YKHO) -> _ABP.Column:\n uPxI = YKHO.schema()\n if len(uPxI) != 1:\n raise zJeG.ExpressionError('Table must have exactly one column when viewed as array...
[ "0.77558833", "0.76860017", "0.76860017", "0.76463974", "0.7631477", "0.74905115", "0.7465464", "0.7444069", "0.7404921", "0.74040705", "0.7384124", "0.7361174", "0.7305142", "0.72492", "0.7161018", "0.7161018", "0.715796", "0.7151639", "0.7136726", "0.7135756", "0.7134121", ...
0.83008784
0
Sets the learning rate to the initial LR decayed by 10 at every specified step
def e_63(K0do, KMvS, YPaw): print('Lowering learning rate...') tspZ = qIxc.lr * KMvS ** YPaw for Lwm5 in K0do.param_groups: Lwm5['lr'] = tspZ print('Done!')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e_63(K0do, qtWj, DJmW=0.1, YPaw=30, WMj5=0.1):\n tspZ = DJmW * WMj5 ** (qtWj // YPaw)\n print('Learning Rate %f' % tspZ)\n for Lwm5 in K0do.param_groups:\n Lwm5['lr'] = tspZ\n return tspZ", "def biVQ(qtWj, aF2y, lvfV):\n oLNr = aF2y\n paSp = qtWj * lvfV\n fqnS = oLNr * epAf.pow(KM...
[ "0.7742588", "0.766556", "0.75653327", "0.7537892", "0.75226617", "0.75218594", "0.75210714", "0.7509601", "0.7481421", "0.7462596", "0.745802", "0.7453109", "0.7444806", "0.74404967", "0.74281114", "0.74262553", "0.7423381", "0.7402776", "0.73885894", "0.73872906", "0.738172...
0.7271153
55
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.8073216", "0.8052229", "0.8052229", "0.79367465", "0.7676834", "0.7660452", "0.76424044", "0.76333016", "0.75926745", "0.75926745", "0.75926745", "0.75926745", "0.75926745", "0.75926745", "0.75926745", "0.75926745", "0.75926745", "0.75926745", "0.7501656", "0.7488117", "0....
0.75528044
21
In Darknet backbone, ConvLayer is usually followed by ResBlock. This function will make that. The Conv layers always have 3x3 filters with stride=2. The number of the filters in Conv layer is the same as the out channels of the ResBlock
def AZwb(DYuh, tYiq, HfTV, yfP4=dict(type='BN', requires_grad=True), pqcp=dict(type='LeakyReLU', negative_slope=0.1)): _Fei = dict(norm_cfg=yfP4, act_cfg=pqcp) C3ST = U78l.Sequential() C3ST.add_module('conv', R48A(DYuh, tYiq, 3, stride=2, padding=1, **_Fei)) for or8S in range(HfTV): C3ST.add_mod...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mQG_(g4y1, gt4n: int):\n WKvO = yHwh(filters=gt4n, kernel_size=3, padding='same')(g4y1)\n WKvO = GVKG()(WKvO)\n WKvO = MroH('relu')(WKvO)\n WKvO = yHwh(filters=gt4n, kernel_size=3, padding='same')(g4y1)\n WKvO = GVKG()(WKvO)\n WKvO = MroH('relu')(WKvO)\n return WKvO", "def mQG_(g4y1: tf....
[ "0.7721062", "0.76929283", "0.76597124", "0.7651386", "0.763719", "0.75815266", "0.75714165", "0.757113", "0.7560307", "0.75504446", "0.7485735", "0.74846894", "0.74783266", "0.7477717", "0.747343", "0.7463982", "0.7461678", "0.74604654", "0.7452733", "0.74508935", "0.744399"...
0.0
-1
Return AgNO2 cell (Imm2).
def AWow(): VmPb = HAmh(Hy7s.path.join(Bicb, 'AgNO2_cell.yaml')) return VmPb
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vo6s(YKHO):\n return YKHO.__A2", "def vo6s(YKHO):\n return YKHO.__A2", "def vo6s(YKHO):\n return YKHO.__A2", "def ftz7(YKHO):\n return YKHO.__b2", "def ftz7(YKHO):\n return YKHO.__b2", "def ftz7(YKHO):\n return YKHO.__b2", "def sHm3(YKHO):\n VRMS = YKHO.Tcell ** 3.0 / YKHO.pvco...
[ "0.6382424", "0.6215875", "0.6215875", "0.59251416", "0.56760776", "0.56760776", "0.5577311", "0.5548041", "0.5519674", "0.5514452", "0.5514452", "0.55129874", "0.53879046", "0.53554773", "0.5334653", "0.5286008", "0.52689034", "0.52247113", "0.5219671", "0.51879793", "0.5179...
0.63426656
1
Return Phono3py instance of NaCl 2x2x2. with symmetry compact fc
def Jpgy(QePW): xu9m = Hy7s.path.join(Bicb, 'phono3py_params_NaCl222.yaml.xz') nZg9 = QePW.config.getoption('--v1') return D6OQ.load(xu9m, store_dense_gp_map=nZg9, store_dense_svecs=nZg9, log_level=1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CFYn(YKHO):\n a1PO = 0.1\n Mkmy = oyIN.linspace(0.0, 1.2, 10)\n ELnd = lkwt()\n v7GT = ELnd(Mkmy, a1PO)\n TI_o = VLY6()\n ikNf = TI_o(Mkmy, a1PO)\n oyIN.testing.assert_allclose(v7GT.density, ikNf.density)\n oyIN.testing.assert_allclose(v7GT.pressure, ikNf.pressure)\n oyIN.testing.ass...
[ "0.56298065", "0.54356706", "0.5415266", "0.5412636", "0.5395506", "0.53923196", "0.5340792", "0.5323124", "0.52576494", "0.5232815", "0.51877993", "0.518294", "0.5182742", "0.5182477", "0.51824445", "0.51818097", "0.5176889", "0.5172757", "0.51648605", "0.51475924", "0.51380...
0.0
-1
Returns list of runtime dependencies of the package specified in setup.py. Dependencies are in RPM SPECFILE format see DependencyParser.dependency_to_rpm() for details, but names are already transformed according to current distro.
def _ERJ(YKHO): return YKHO.name_convert_deps_list(xcko.deps_from_pyp_format(YKHO.archive.find_list_argument('install_requires'), runtime=True))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iDFV(YKHO):\n SMAd = []\n if YKHO.package_format == 1:\n for zJAO in YKHO.get_multiple_with_version('/package/run_depend'):\n SMAd.append(zJAO.replace('_', '-'))\n if YKHO.package_format == 2:\n for zJAO in YKHO.get_multiple_with_version('/package/exec_depend'):\n S...
[ "0.7933263", "0.7541215", "0.73818624", "0.70484906", "0.6942747", "0.6925995", "0.6723509", "0.66953284", "0.6684078", "0.64902157", "0.646864", "0.6456052", "0.6413725", "0.63733065", "0.636609", "0.636609", "0.633807", "0.6251794", "0.6247936", "0.6241347", "0.6227571", ...
0.7776029
1
Returns list of runtime dependencies of the package specified in EGGINFO/requires.txt. Dependencies are in RPM SPECFILE format see DependencyParser.dependency_to_rpm() for details, but names are already transformed according to current distro.
def BWTP(YKHO): rgnJ = YKHO.archive.get_content_of_file('EGG-INFO/requires.txt', True) or '' return YKHO.name_convert_deps_list(xcko.deps_from_pyp_format(rgnJ.splitlines()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c0tL() -> laHg.List[str]:\n emMa = []\n with open(GkAb(xAKo).absolute().parent.joinpath('requirements.txt'), 'r') as rl4e:\n emMa = [WKvO for WKvO in rl4e if not WKvO.startswith('.') and (not WKvO.startswith('-e'))]\n return emMa", "def YACE(YKHO):\n aeQa = []\n tH7c = YKHO.package_env....
[ "0.74636126", "0.73637164", "0.7336393", "0.73265177", "0.72855085", "0.72851974", "0.7183053", "0.7025852", "0.701074", "0.6988845", "0.6827443", "0.6817802", "0.6807613", "0.67967093", "0.6780513", "0.67651904", "0.6754844", "0.67186457", "0.67166406", "0.6704635", "0.66729...
0.8658854
0
Verify that inputing a donation in the UI successfully adds that donation to the donations list
def qOZj(OYAm): OYAm.side_effect = ['20', 'done'] Aofo = iG_M.add_donations() assert len(Aofo) == 1 assert Aofo[0] == 20.0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nP2F():\n UZsd = WIED(_h_z())\n if UZsd is not None:\n yJpz = g3AR(oL8r())\n if yJpz is not None:\n jXgX(UZsd, yJpz)\n d2uD(UZsd.title(), float(yJpz))", "def JOex():\n Z5kt = 745.0\n aEqx = {'name': 'Calvin Fannin', 'amount': [645.0, 745.0]}\n hs7Z = 6\n ...
[ "0.718442", "0.7170768", "0.7147648", "0.6910259", "0.6907882", "0.68730557", "0.6865502", "0.6862805", "0.6862281", "0.6799096", "0.67780626", "0.6727217", "0.671709", "0.6705831", "0.6676692", "0.66453195", "0.66453195", "0.6640748", "0.6631464", "0.65648764", "0.6546964", ...
0.6594262
19
Return model weights relative to the project directory
def AupR() -> cuzp[str, str]: return {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zsw_(YKHO):\n return f'{YKHO._data_folder}/{YKHO._model_hash}_{YKHO.epoch}.weights'", "def n5PV(YKHO):\n return Hy7s.path.join(YKHO.job_dir, 'frozen_model.pb')", "def wT46(dC43):\n id8u = Hy7s.path.sep.join([niWf, dC43])\n return id8u", "def n5PV(YKHO) -> str:\n deXY = Hy7s.listdir(YKHO._p...
[ "0.7655311", "0.7466599", "0.73547477", "0.7180742", "0.7060768", "0.7060768", "0.7060768", "0.69551504", "0.6831609", "0.67956525", "0.6791844", "0.67370534", "0.6666526", "0.65538317", "0.6503646", "0.65016496", "0.64551204", "0.64302707", "0.6423185", "0.6423185", "0.64183...
0.0
-1
Convert text to bool
def oOc6(YKHO, a1PO, bNQG): if isinstance(a1PO, bool): return a1PO elif a1PO.lower() in ['true', 't', '1', 'y', 'yes', 'on', 'enabled']: return True elif a1PO.lower() in ['false', 'f', '0', 'n', 'no', 'off', 'disabled']: return False else: return bNQG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Brwf(l5Ny):\n if l5Ny.title() in ('True', '1'):\n Aofo = True\n elif l5Ny.title() in ('False', '0'):\n Aofo = False\n else:\n raise ValueError(\"Expected 'True', 'False', '1', '0'; got '%s'\" % l5Ny)\n return Aofo", "def M0mR(l5Ny):\n l5Ny = l5Ny.lower()\n if l5Ny == 't...
[ "0.85338783", "0.8384463", "0.83215517", "0.7753288", "0.77387726", "0.76971805", "0.7683116", "0.7661658", "0.7660679", "0.762651", "0.7618578", "0.75954086", "0.7592796", "0.75743014", "0.7569092", "0.7565311", "0.7551446", "0.7550074", "0.75460887", "0.75388527", "0.753858...
0.0
-1
Create plugin handle for the given plugin type PluginBaseType = TypeVar('PluginBaseType', bound=JanusPlugin)
async def create_plugin_handle(YKHO, nYCQ: Type[PluginBaseType]) -> uFG1: geh0 = await YKHO.send({'janus': 'attach', 'plugin': nYCQ.name}) mHo8 = nYCQ(YKHO, geh0['data']['id']) YKHO.plugin_handles[mHo8.id] = mHo8 return mHo8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(Emd4, mWFP, gitN, o8Kj):\n if Emd4.plugins is None:\n Emd4.plugins = []\n else:\n Emd4.plugins.append(Emd4)\n super(I_y3, Emd4).__init__(mWFP, gitN, o8Kj)", "def OR0D(YKHO, kN9s, vbQv, z282):\n Hg1U, r055, OWw8 = {'trigger': (YKHO._trigger_plugins, YKHO._trigger_classes, XsyW),...
[ "0.6454459", "0.61634505", "0.61527604", "0.6025371", "0.5917239", "0.5887678", "0.577915", "0.57266176", "0.5622052", "0.5619267", "0.55610514", "0.5558108", "0.5528163", "0.5528163", "0.5528163", "0.5528163", "0.5528163", "0.5528163", "0.55129635", "0.54856056", "0.54553956...
0.66314054
0
Builds up the SoundNet model and loads the weights from a given model file (8layer model is kept at models/sound8.npy).
def n8cN(YKHO): wdzC = oyIN.load(YKHO.v_model_path).item() C3ST = ileL() C3ST.add(J9Qm(batch_input_shape=(1, None, 1))) ABrS = [{'name': 'conv1', 'num_filters': 16, 'padding': 32, 'kernel_size': 64, 'conv_strides': 2, 'pool_size': 8, 'pool_strides': 8}, {'name': 'conv2', 'num_filters': 32, 'padding': 16...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n8cN():\n wdzC = oyIN.load('models/sound8.npy').item()\n C3ST = ileL()\n C3ST.add(J9Qm(batch_input_shape=(1, None, 1)))\n ABrS = [{'name': 'conv1', 'num_filters': 16, 'padding': 32, 'kernel_size': 64, 'conv_strides': 2, 'pool_size': 8, 'pool_strides': 8}, {'name': 'conv2', 'num_filters': 32, 'paddi...
[ "0.7352681", "0.68312633", "0.6784323", "0.6709336", "0.66845685", "0.6679091", "0.6677361", "0.6670121", "0.6669654", "0.6614934", "0.6606248", "0.6572787", "0.6524385", "0.65132946", "0.6469202", "0.6464444", "0.646035", "0.64546335", "0.6446891", "0.6442609", "0.6433722", ...
0.60609597
68
Computes the average precision at k.
def QVoc(PjQx, Ueki, G1Hx): p1kx = 0.0 yAQO = 0.0 for YRbF, XP5J in enumerate(PjQx): if XP5J in Ueki and XP5J not in PjQx[:YRbF]: yAQO += 1.0 p1kx += yAQO / (YRbF + 1.0) return p1kx / min(len(Ueki), G1Hx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx]\n return oyIN.mean(Mkmy)", "def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx] != 0\n if Mkmy.size != G1Hx:\n raise ValueError('Relevance score length < k')\n return oyIN.mean(Mkmy)", ...
[ "0.8699612", "0.80268586", "0.77740043", "0.773649", "0.77168673", "0.7664805", "0.7556534", "0.74315214", "0.7391896", "0.7373148", "0.7372334", "0.73715734", "0.7267162", "0.72322404", "0.72162825", "0.7216024", "0.71614546", "0.69312483", "0.6931224", "0.68861353", "0.6805...
0.0
-1
Sets the query_id of this CreateQueryTask.
def scn9(YKHO, scn9): if scn9 is None: raise ValueError('Invalid value for `query_id`, must not be `None`') YKHO._query_id = scn9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rhY0(YKHO, scn9=''):\n YKHO._query_id = scn9", "def n7FZ(YKHO, xDcj):\n YKHO._query = xDcj", "def EIr_(YKHO, xDcj=None):\n if xDcj is not None:\n YKHO.query = xDcj\n YKHO._updateResultsInternal()", "def EIr_(YKHO, xDcj):\n YKHO.query = xDcj", "def gUxl(YKHO, gUxl):\n YKHO._quer...
[ "0.8138032", "0.67780125", "0.67728937", "0.6753162", "0.6473157", "0.64487666", "0.64487666", "0.6314853", "0.63004625", "0.60680217", "0.6062817", "0.6062817", "0.6062817", "0.6062817", "0.6062817", "0.60040724", "0.60040724", "0.60040724", "0.59566504", "0.58762115", "0.58...
0.7763315
1
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.83931243", "0.83552086", "0.82955265", "0.8132768", "0.81150424", "0.81002593", "0.80996835", "0.80982906", "0.80982906", "0.80930424", "0.80930424", "0.80930424", "0.80930424", "0.8085779", "0.8085779", "0.8085779", "0.8085779", "0.8085779", "0.8067391", "0.80594134", "0....
0.0
-1
Checks whether the given subset of attributes is closed under the set of implications. The function is used by MembershipEquivalenceExpert and Learner classes.
def WBvf(mx4U, iOUT): for jwCB in iOUT: if not jwCB.is_respected(mx4U): return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SEEh(Rhv4, uwaB):\n for yAmx in Rhv4:\n assert type(yAmx) is RWlt and Oydg(yAmx)\n for si3H in uwaB:\n assert avzC(si3H)\n return TCcq(Rhv4, uwaB) and DCtd(Rhv4, uwaB) and AaPQ(Rhv4, uwaB)", "def gB9w(YKHO, mx4U):\n YKHO.membership_query_count += 1\n jwCB = beJe(mx4U, set())\n ...
[ "0.59677523", "0.59452933", "0.5939548", "0.59309626", "0.55763847", "0.54696536", "0.5463488", "0.5446182", "0.5395811", "0.53876495", "0.5297764", "0.5277231", "0.5232986", "0.518089", "0.5155537", "0.51113886", "0.5109403", "0.50783575", "0.5071738", "0.50544703", "0.50300...
0.8754337
0
Repeated character e.g. [bc] for [bc], or [a] for (aaa)
def Uecf(YKHO) -> h8nf[_Ldl]: return YKHO.repeat.exact_character_class()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wwRI(GIN8: str) -> str:\n return finE('([a-z])\\\\1+', '\\\\1', GIN8)", "def XeEr(str):\n cTt2 = str.lower()\n ygKg = enumerate(cTt2)\n for YRbF, sZqf in ygKg:\n if cTt2.count(sZqf) == 1:\n return str[YRbF]\n return ''", "def IWGu(KCHu):\n for Z9rn in KCHu:\n if K...
[ "0.6892855", "0.6859582", "0.66568047", "0.6564597", "0.6564561", "0.6529353", "0.6500841", "0.6459724", "0.6415652", "0.64013433", "0.6397241", "0.63806987", "0.6361785", "0.632105", "0.62783724", "0.62191874", "0.6199889", "0.616195", "0.61340606", "0.61129004", "0.6087383"...
0.0
-1
Defines an LSTM cell with a dense transition under different settings.
def aFP8(YKHO, Gzv5, EDoJ, TpNx='hard_sigmoid', YDYE=None, Zkqc=False, E1mE=True, NXCx=3, KReV='hard_sigmoid', mXV2=0, lJ7p=['h', 'c'], tSpV=3, BseF='hard_sigmoid', lb8X=['h', 'c'], **wtJv): g4y1 = X6a0((Gzv5,)) RGyR = X6a0((EDoJ,)) oFg0 = X6a0((EDoJ,)) if Zkqc: uROa = YKHO._set_DTs_dense_input(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l5mM():\n return ZylS.nn.rnn_cell.LSTMCell(wjbX, activation=WsCG)", "def EnlN():\n VmPb = ZylS.nn.rnn_cell.LSTMCell(NArs['n_hours_per_month'], forget_bias=1.0, state_is_tuple=True)\n if Tuqy == ZylS.estimator.ModeKeys.TRAIN:\n VmPb = ZylS.contrib.rnn.DropoutWrapper(VmPb, output_keep_prob=NArs...
[ "0.722895", "0.71955425", "0.70460683", "0.70166564", "0.685416", "0.66225725", "0.6559752", "0.6546552", "0.6544687", "0.6526079", "0.64444345", "0.6432989", "0.64273626", "0.64073026", "0.6356274", "0.63177115", "0.63090825", "0.6292385", "0.6283181", "0.6283181", "0.627321...
0.67647135
5
Updates the weights of the neuron and uses backpropagation to update all neurons in previous layers
def QdZT(YKHO, yRKV): for r8hN in range(len(YKHO.inputs)): YKHO.inputs[r8hN].receiveWeightedError(YKHO.weights[r8hN] * YKHO.lastError) for HgE9 in YKHO.inputs: HgE9.update(None) YKHO.updateInputs() HNeR = jth9.copy(YKHO.weights) vh_H = [] RlY0 = YKHO.inK(HNeR) for YRbF in ran...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QdZT(YKHO):\n for G1Hx in range(YKHO.__numOfLayers):\n YKHO._layer[G1Hx].updateWeights()", "def _W9z(YKHO):\n for gEmA in reversed(YKHO.network.neuron_layers_list):\n for HgE9 in gEmA:\n for H1is in HgE9.input_synapses:\n j6Rr = -1 * YKHO.network.miu * HgE9.delta...
[ "0.81566745", "0.7978493", "0.7770825", "0.77305055", "0.7726844", "0.7669529", "0.75285196", "0.7513254", "0.7513254", "0.75107485", "0.7388847", "0.73780537", "0.73738575", "0.7372426", "0.7350386", "0.7322597", "0.72964287", "0.7280491", "0.7212738", "0.72026676", "0.71586...
0.71893317
20
Get the best model_id from history using the metric value
def ejJg(YKHO): if YKHO.optimize_mode is zsXh.Maximize: return max(YKHO.history, key=lambda WKvO: WKvO['metric_value'])['model_id'] return min(YKHO.history, key=lambda WKvO: WKvO['metric_value'])['model_id']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rsbh(YKHO, tsEk):\n for ZfUD in YKHO.history:\n if ZfUD['model_id'] == tsEk:\n return ZfUD['metric_value']\n return None", "def P6Dd(YKHO):\n return max(YKHO.history.items(), key=lambda bTKY: bTKY[1][1])[1]", "def EF_6(dixj):\n RXaf = None\n RXaf = max(dixj, key=lambda WKvO...
[ "0.67143244", "0.6371642", "0.63473463", "0.6216092", "0.6205513", "0.6125891", "0.59953207", "0.5874202", "0.5825155", "0.5811116", "0.5771621", "0.57695234", "0.57644516", "0.5701153", "0.5636051", "0.5627674", "0.56275314", "0.56133974", "0.5612651", "0.5585339", "0.552431...
0.765335
0
Create a list of actors. Actors are tuples of (imdb_id, first_name, last_name).
def mA6p(sV3k): Z7zz = [] for LHvA in sV3k: gig7 = LHvA['Actors'] qUqj = LHvA['imdb_id'] for ehDb in gig7: ehDb = ehDb.split(' ') qUqj = qUqj.split(' ') c9ua = ehDb[0] try: zp3f = ehDb[1] except: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gig7(QiwA=None):\n return QTBn.actor_table(actor_id=QiwA)", "def bPL1(YKHO, LHvA: Movie) -> x1iM[Zrzj]:\n raise NotImplementedError", "def mA6p(YKHO):\n return [YKHO.actor]", "def mA6p(YKHO):\n return [YKHO.actor]", "def mA6p(YKHO):\n return [YKHO.actor.get_actor()]", "def mA6p(YKHO) -...
[ "0.72995347", "0.67974734", "0.67677575", "0.67677575", "0.67142147", "0.6700313", "0.6627379", "0.6627379", "0.6565153", "0.65270364", "0.64566576", "0.64507264", "0.64356804", "0.64093256", "0.639301", "0.6360234", "0.6341886", "0.6288821", "0.6225526", "0.6213811", "0.6206...
0.7503806
0
Filter by unique data format id and highest corresponding version.
def FRrV(troP: Optional[List[Dict]]) -> cuzp: kiy6: cuzp = {} troP = troP if troP else [] for wH3T in troP: j995 = wH3T.get('DataFormatID') DpZH = wH3T.get('DataFormatVersion') if j995 and DpZH: acxg = kiy6.get(j995) acxg = acxg if acxg else {'DataFormatVersio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oJou(YKHO):\n r0Jn = YKHO._about_dataset()\n return max([bTKY['version_id'] for bTKY in r0Jn['feed']['entry']])", "def IuYr(ucxv: Iterable[compatibility_store.CompatibilityResult]) -> iu5r[L4vp.CompatibilityResult]:\n\n def GAUk(KBgZ):\n return (frozenset(KBgZ.packages), KBgZ.python_major_ver...
[ "0.599032", "0.59456724", "0.58879405", "0.5684558", "0.5671493", "0.5546207", "0.5524374", "0.5515281", "0.5495126", "0.54544526", "0.5451609", "0.53652745", "0.53545654", "0.5326072", "0.5304318", "0.5289456", "0.52292424", "0.52076346", "0.5099913", "0.5079572", "0.5065620...
0.6551122
0
Return Altinn models from database.
async def altinn_catalog() -> str: G9jH.info('Fetching Altinn catalog from database') return await YIVz(COwE.ALTINN.value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ArHU():\n return lmOc.query.all()", "def C3ST():\n NCls = LW5_(WPAL, folder=U7RZ, pool_size=1)\n tyNF(NCls)\n return NCls", "def Ukh8() -> list:\n FYrf = None\n UzPC = ceBR()\n if UzPC is None:\n return None\n N1p7 = UzPC.cursor()\n try:\n Pe9W = 'SELECT manufacture...
[ "0.73429203", "0.7125108", "0.667636", "0.6622578", "0.6608717", "0.6526121", "0.63982165", "0.6373014", "0.6368871", "0.6365794", "0.6322985", "0.62838864", "0.62680864", "0.62599355", "0.6236787", "0.6228617", "0.62025225", "0.61971235", "0.61923826", "0.61809367", "0.61681...
0.0
-1
Return Seres models from database.
async def seres_catalog() -> str: G9jH.info('Fetching Seres catalog from database') return await YIVz(COwE.SERES.value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ArHU():\n return lmOc.query.all()", "def FYrf(YKHO):\n return YKHO.data", "def DLGb(YKHO):\n FYrf = []\n for H5ew in YKHO.db.keys():\n FYrf.append(H5ew.decode())\n return FYrf", "def FYrf(YKHO):\n return [WKvO[0] for WKvO in YKHO.query(ec6H.model).distinct().all()]", "def iQZA(...
[ "0.776963", "0.7228687", "0.71749383", "0.7080196", "0.6817541", "0.68120664", "0.6801035", "0.6763167", "0.67629296", "0.6713851", "0.67018944", "0.66974396", "0.6647679", "0.66420275", "0.6548292", "0.6534705", "0.6497312", "0.6463424", "0.6448556", "0.6429521", "0.6414583"...
0.0
-1
Numerically stable computation of st.dev. of inputs over reduction_axis.
def Ck_M(g4y1, tfB0, _hZ2=BVxk): return oLG2.sqrt(g4y1.var(axis=tfB0, keepdims=True) + _hZ2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jaAE(WKvO, jDK_=None, JsoO=False):\n return ZylS.sqrt(LO5U(WKvO, axis=jDK_, keepdims=JsoO))", "def ybJL(input):\n return oyIN.asarray([WKvO.std() for WKvO in input])", "def NhpO(EvQg):\n OiMW = EvQg[EvQg.nonzero()].toarray()\n return oyIN.std(OiMW)", "def ee6l(YKHO):\n raise NotImplemented...
[ "0.7031638", "0.69996995", "0.6963094", "0.69059366", "0.68162024", "0.67449117", "0.6727803", "0.6685664", "0.66813695", "0.6660277", "0.6591615", "0.6564159", "0.65542126", "0.6480958", "0.6478673", "0.6464996", "0.6445319", "0.64211184", "0.6407543", "0.6403574", "0.633023...
0.72018343
0
Normalizes the input using batch statistics.
def dRO0(YKHO, WKvO, gEmA=UvX8, Kz5H=True, FmZA=32, BJJz=None, gWmB=None, TnBk=False, jDK_=-1, H0zq=0.99, _hZ2=1e-05, yDqo=oLG2.float32, oug5=True, NXpY=True, R9Vf=EcCx.zeros, itsZ=EcCx.ones, wl_9=None, F5l7=None): WKvO = oLG2.asarray(WKvO, oLG2.float32) jDK_ = jDK_ if isinstance(jDK_, tuple) else (jDK_,) j...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VqIM(o4Jx, T9l5) -> None:\n udlB = T9l5.image_threshold.value.cpu()\n rpbJ = T9l5.pixel_threshold.value.cpu()\n eQSh = T9l5.normalization_metrics.cpu()\n o4Jx['pred_scores'] = NkkI(o4Jx['pred_scores'], udlB, eQSh.min, eQSh.max)\n if 'anomaly_maps' in o4Jx:\n o4Jx['anomaly_maps'] = NkkI(o4...
[ "0.72837955", "0.7230948", "0.71309125", "0.71180403", "0.69858223", "0.6984644", "0.69063693", "0.6904811", "0.6870472", "0.6856057", "0.68554586", "0.6778726", "0.67335796", "0.67327774", "0.67231077", "0.6684895", "0.66690683", "0.6658839", "0.664963", "0.6648969", "0.6625...
0.0
-1
Normalizes the input using batch statistics.
def dRO0(YKHO, WKvO, gWmB=None, TnBk=False, jDK_=-1, H0zq=0.99, _hZ2=1e-05, yDqo=oLG2.float32, wl_9=None, F5l7=None): WKvO = oLG2.asarray(WKvO, oLG2.float32) jDK_ = jDK_ if isinstance(jDK_, tuple) else (jDK_,) jDK_ = U78l.normalization._absolute_dims(WKvO.ndim, jDK_) WThZ = tuple((Csk6 for YRbF, Csk6 in...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VqIM(o4Jx, T9l5) -> None:\n udlB = T9l5.image_threshold.value.cpu()\n rpbJ = T9l5.pixel_threshold.value.cpu()\n eQSh = T9l5.normalization_metrics.cpu()\n o4Jx['pred_scores'] = NkkI(o4Jx['pred_scores'], udlB, eQSh.min, eQSh.max)\n if 'anomaly_maps' in o4Jx:\n o4Jx['anomaly_maps'] = NkkI(o4...
[ "0.7284607", "0.7231499", "0.7131635", "0.7118421", "0.69867826", "0.6985377", "0.69078934", "0.6905668", "0.68705404", "0.6856456", "0.68560266", "0.6778909", "0.6733754", "0.6733249", "0.67241687", "0.6685707", "0.6670433", "0.6659602", "0.66507864", "0.6649177", "0.6626132...
0.0
-1
Applies group normalization to the input (arxiv.org/abs/1803.08494). This op is similar to batch normalization, but statistics are shared across equallysized groups of channels and not shared across batch dimension. Thus, group normalization does not depend on the batch composition and does not require maintaining inte...
def dRO0(YKHO, WKvO, FmZA=32, BJJz=None, _hZ2=1e-06, yDqo=oLG2.float32): WKvO = oLG2.asarray(WKvO, oLG2.float32) if FmZA is None and BJJz is None or (FmZA is not None and BJJz is not None): raise ValueError('Either `num_groups` or `group_size` should be specified, but not both of them.') xMux = WKvO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OEry(xMux):\n return U78l.GroupNorm(16, xMux)", "def OEry(xMux):\n return zzB6(32, xMux)", "def sVYz(yR_P: nn.Module, FmZA: int=32, K7tJ: Optional[int]=None) -> U78l.Module:\n return Eu0J(yR_P, ht2j.nn.GroupNorm, num_groups=FmZA, channels_per_group=K7tJ)", "def zcN8(g4y1, uOe2=32, jDK_=-1, SGf8=...
[ "0.7658484", "0.74367434", "0.7250606", "0.6988234", "0.6931473", "0.6855592", "0.66681135", "0.65792507", "0.6544717", "0.6514607", "0.64906055", "0.644524", "0.64240074", "0.63447434", "0.63447434", "0.6190362", "0.6182815", "0.6166523", "0.6155754", "0.6131982", "0.6102283...
0.0
-1
Check that the username exists
def Z3WL(YKHO, BWXx): try: mv1M.objects.get(username=BWXx) except mv1M.DoesNotExist: raise sUXu(a1PO("User '%(value)s' does not exist." % {'value': BWXx})) return BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V7zm(NtEF):\n with gCuF(warn_only=True):\n return 'o such user' not in iXC1('id %s' % NtEF)", "def ulhh(YKHO, NtEF: str) -> bool:\n pass", "def LCZz(NtEF):\n DW23 = mv1M.DB.Table(P4t4.config['USERS'])\n geh0 = DW23.get_item(Key={'username': NtEF}, AttributesToGet=['username'])\n if ge...
[ "0.83693045", "0.8245625", "0.82246876", "0.81663483", "0.8165433", "0.8137735", "0.809844", "0.80947834", "0.8055291", "0.80518866", "0.8027854", "0.80178136", "0.80116946", "0.8011283", "0.79854906", "0.7982148", "0.7982148", "0.7924559", "0.79116917", "0.78943515", "0.7876...
0.72800463
97
Numerically ranks the level of an operator.
def fylS(khtY): if khtY in ('=', '<', '>', '<=', '>='): return 0 elif khtY == '->': return 1 elif khtY == '+': return 2 elif khtY == '-': return 3 elif khtY == '*': return 4 elif khtY == '/': return 5 elif khtY == '^': fdMZ = 6 else...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DE28(*mOyh, mats):\n mWFP, *bGrB = mOyh\n Jl2v = BqtH[mWFP]\n if mats == 0:\n return\n if mOyh not in Jl2v:\n Jl2v[mOyh] = mats\n else:\n Jl2v[mOyh] += mats", "def fdMZ():\n return 0", "def fdMZ(YKHO):\n return 1", "def fdMZ(YKHO):\n return 0", "def IYpI(YKH...
[ "0.65808475", "0.6414364", "0.6189729", "0.61794657", "0.6172547", "0.61374664", "0.61034334", "0.6090222", "0.6040211", "0.6035697", "0.6034615", "0.6003686", "0.5930303", "0.59094447", "0.5881848", "0.58761483", "0.5854293", "0.582508", "0.57672876", "0.57612115", "0.575123...
0.74662906
0
Concat a list of `dd.Series` or `dd.DataFrame` objects into one DataFrame This will use `DataFrame.concat` if all pieces are the same length. Otherwise we will iterratively join. When axis=1 and divisions are unknown, Dask `DataFrame.concat` can only operate on objects with equal lengths, otherwise it will raise a Valu...
def fGcJ(K2kF: List[Union[dd.Series, dd.DataFrame]]) -> I1iR.DataFrame: Fbjb = list(map(len, K2kF)) if len(set(Fbjb)) != 1: Aofo = K2kF[0].to_frame() for Elif in K2kF[1:]: Aofo = Aofo.join(Elif.to_frame(), how='outer') else: Aofo = I1iR.concat(K2kF, axis=1) return Aof...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ENFq(K2kF, jDK_=0):\n jQ3Z = rLdf.concat(K2kF, axis=jDK_)\n return jQ3Z", "def Y9SQ(M0wk):\n return Y3tb.concat(M0wk)", "def _9C2(DPdl):\n return rLdf.concat(DPdl)", "def ENFq(K2kF: List[DataFrame]) -> hxoQ:\n if not K2kF:\n raise ValueError('dfs must be non-empty')\n if len(K2kF...
[ "0.67527044", "0.6713041", "0.6628787", "0.6520674", "0.64719045", "0.6412609", "0.63419944", "0.6307054", "0.6150595", "0.6035226", "0.6006651", "0.59845614", "0.59810907", "0.59339863", "0.59196097", "0.59153813", "0.59148693", "0.5846321", "0.5797112", "0.57909364", "0.575...
0.7403134
0
Deserializes the JSON file to __objects
def U3hF(YKHO): try: with open(YKHO.__file_path, 'r') as eHNT: ZfUD = qQXR.load(eHNT) for G1Hx in ZfUD: YKHO.__objects[G1Hx] = KndY[ZfUD[G1Hx]['__class__']](**ZfUD[G1Hx]) except FileNotFoundError: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ddor(YKHO, TLbt):\n pass", "def ffSL(YKHO, Ux0P):\n with open(Ux0P, 'r') as G6EG:\n YKHO.sensors = qQXR.load(G6EG, cls=Ajxs)", "def Ueki(YKHO):\n if not Hy7s.path.exists(YKHO.filename):\n return\n with open(YKHO.filename, 'r') as ytgA:\n YKHO._object = HjBM.load(ytgA)", "...
[ "0.7161372", "0.70688593", "0.7061043", "0.7023114", "0.7000785", "0.6959131", "0.6942194", "0.6893531", "0.6885781", "0.6877506", "0.686655", "0.68640983", "0.6862545", "0.6821248", "0.6778132", "0.6770488", "0.6761329", "0.67420965", "0.67406684", "0.67285234", "0.67282367"...
0.6489586
64
Return a copy of this message that is safe for previews.
def Fs_U(YKHO): s2mk = [YRbF for YRbF in YKHO.tokens if not isinstance(YRbF, xASv.PauseAt)] return YKHO.__class__(s2mk)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jth9(YKHO):\n return LuKW(YKHO.mtype, YKHO.name, YKHO.arguments)", "def jth9(YKHO):\n return LuKW(fQos.codes_clone(YKHO._handle))", "def m3H1(YKHO) -> None:\n raise NotImplementedError", "def jth9(YKHO):\n BdN0 = object.__new__(type(YKHO))\n BdN0.emoji = YKHO.emoji\n BdN0.message = YKHO...
[ "0.6516792", "0.6481568", "0.63565063", "0.61330974", "0.6103759", "0.6053938", "0.5913644", "0.5800347", "0.5800347", "0.5681328", "0.56310636", "0.5587854", "0.55866253", "0.55778", "0.55734515", "0.5541071", "0.5523744", "0.55194145", "0.5496347", "0.54907084", "0.5483953"...
0.0
-1