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
Returns True if this ttype is one we recurse on for validation.
def Fopa(PVEG): return PVEG in NqF5
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ox51(YKHO):\n if YKHO.GetType() == YKHO.typelist[0]:\n return True\n else:\n return False", "def fqjV(YKHO):\n return YKHO.type != None", "def DZio(YKHO, a1PO):\n return isinstance(YKHO, a1PO)", "def DZio(YKHO, a1PO):\n return isinstance(YKHO, a1PO)", "def fqjV(YKHO):\n ...
[ "0.71337116", "0.7132883", "0.69332796", "0.69332796", "0.69166", "0.6801179", "0.6728186", "0.6535391", "0.6530689", "0.6530689", "0.6447114", "0.6442296", "0.6437931", "0.6396161", "0.6378136", "0.63324493", "0.62691575", "0.62613654", "0.6235083", "0.62337863", "0.6227634"...
0.6597229
7
Bound mean difference and normalized mean difference CI. Since the plausible range of mean difference and normalized mean difference is [1, 1], bound the confidence interval to this range.
def jOgl(jz32, YO2t): jz32 = jz32 if jz32 > -1 else -1 YO2t = YO2t if YO2t < 1 else 1 return (jz32, YO2t)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def q0Vu(Fv2L, QmN4, WTkW):\n E5xV, Lq_m = eQSh.norm.interval(Fv2L, loc=QmN4, scale=WTkW)\n return (E5xV, Lq_m)", "def e09t(gGnb):\n return (a0y0(gGnb), sfgS(gGnb))", "def mjJ1(WKvO, WTkW, CQwJ):\n CLNC = ppsq(WKvO, WTkW, CQwJ)\n d2DU = AbYn(WKvO, WTkW, CQwJ)\n return (CLNC, d2DU)", "def mj...
[ "0.6665329", "0.65300024", "0.6451514", "0.64377046", "0.64345837", "0.6393486", "0.6389303", "0.6355771", "0.61382085", "0.61320657", "0.61003876", "0.6097742", "0.6032748", "0.5926895", "0.5926366", "0.59166914", "0.58821434", "0.58478314", "0.5843335", "0.5823775", "0.5796...
0.7919905
0
Compute lift in normalized mean difference between y and pred. This measure represents the delta between absolute normalized mean difference score in true y and predicted y. Values are in the range [0, 1] where the higher the value, the better. Note that this takes into account the reverse discrimintion case. Also note...
def M9Yi(LVAh, nvEb, KCHu): return abs(bRtZ(LVAh, KCHu)[0]) - abs(bRtZ(nvEb, KCHu)[0])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rePt(LVAh, nvEb, KCHu):\n return abs(Ims1(LVAh, KCHu)[0]) - abs(Ims1(nvEb, KCHu)[0])", "def W4jA(Y8eF, aMgO, gH2v=drcX.Reduction.MEAN):\n return u4MP.l1_loss([aMgO, Y8eF], reduction=gH2v.upper())", "def iThH(YKHO, LVAh):\n return (LVAh - YKHO.output_mean) / YKHO.output_std", "def SkyM(Y8eF, aMgO...
[ "0.7215073", "0.68031603", "0.6761749", "0.6643585", "0.6604488", "0.65437925", "0.6506017", "0.6488789", "0.64876133", "0.64843136", "0.64681983", "0.6433566", "0.6425265", "0.6385354", "0.6364482", "0.63418865", "0.63418865", "0.6318942", "0.63025314", "0.62904865", "0.6255...
0.75618136
0
Return the package version.
def DpZH() -> str: return yIVm.version(UROH)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kaPv(YKHO):\n return YKHO.get_single('/package/version')", "def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')", "def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')", "def zvqz(YKHO):\n return YKHO.get_job()['packageVersion']", "def Dp...
[ "0.90137583", "0.88962597", "0.88962597", "0.8639682", "0.862353", "0.8463686", "0.84389204", "0.84389204", "0.84389204", "0.8419172", "0.83903265", "0.837802", "0.8360681", "0.83411145", "0.8340118", "0.83326894", "0.8308331", "0.82820576", "0.8276987", "0.8252668", "0.82478...
0.80429596
49
Test waiting on an epoll object which has had some sockets added to it.
def WeJu(YKHO): x0hE, N5z6 = YKHO._connectedPair() XP5J = LtBk.epoll(16) XP5J._control(LtBk.CTL_ADD, x0hE.fileno(), LtBk.IN | LtBk.OUT | LtBk.ET) XP5J._control(LtBk.CTL_ADD, N5z6.fileno(), LtBk.IN | LtBk.OUT | LtBk.ET) wzkt = ITS7.time() YTVa = hxoH(XP5J.wait, 4, 1000) suE3 = ITS7.time() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b_CD(YKHO):\n assert not YKHO.clients._server\n YKHO.clients.poll()", "def gYeR(YKHO):\n DDmv = YKHO.context.socket(pgdZ.REP)\n z1FJ = YKHO.context.socket(pgdZ.REQ)\n YKHO.sockets.extend([DDmv, z1FJ])\n z1FJ.bind('tcp://127.0.0.1:6667')\n Uz51 = DDmv.get_monitor_socket()\n Uz51.linger...
[ "0.6579399", "0.6401137", "0.62946224", "0.62731844", "0.6264434", "0.625697", "0.625697", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "0.6188839", "...
0.64665395
1
Compose an arbitrary number of functions lefttoright passed as args
def capf(*aese): return Pusg(jpI4, aese)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def capf(*ZZSa):\n\n def iXyt(d7pR=None):\n for eHNT in reversed(ZZSa):\n d7pR = eHNT(d7pR)\n return d7pR\n return iXyt", "def capf(ZZSa):\n return Pusg(lambda eHNT, Oa1e: lambda *WKvO: eHNT(*Oa1e(*WKvO)), reversed(ZZSa), lambda *WKvO: WKvO)", "def capf(*ZZSa):\n\n def MZWB...
[ "0.7847603", "0.7773269", "0.77186674", "0.77186674", "0.7678341", "0.7593051", "0.75803304", "0.75707376", "0.7555951", "0.7555951", "0.7524798", "0.7510368", "0.75037915", "0.75033945", "0.74988395", "0.7481948", "0.7462779", "0.7437704", "0.7398461", "0.7390973", "0.734174...
0.7708611
4
Attach a lot of summaries to a Tensor (for TensorBoard visualization).
def g4Yp(SRYB): with ZylS.name_scope('summaries'): JBMS = ZylS.reduce_mean(SRYB) ZylS.summary.scalar('mean', JBMS) with ZylS.name_scope('stddev'): z2bo = ZylS.sqrt(ZylS.reduce_mean(ZylS.square(SRYB - JBMS))) ZylS.summary.scalar('stddev', z2bo) ZylS.summary.scalar(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oxpy(YKHO):\n with ZylS.name_scope('summaries'):\n ZylS.summary.scalar('loss', YKHO.loss)\n ZylS.summary.scalar('accuracy', YKHO.accuracy)\n ZylS.summary.histogram('W', YKHO.W)\n ZylS.summary.histogram('B', YKHO.B)\n YKHO.summary = ZylS.summary.merge_all()", "def oxpy(YK...
[ "0.773631", "0.7636054", "0.71544313", "0.7066801", "0.7010252", "0.70038253", "0.6864809", "0.679064", "0.6711722", "0.67016", "0.669732", "0.6652493", "0.6650507", "0.6646651", "0.6623788", "0.6604622", "0.6596553", "0.6581095", "0.6570419", "0.6537464", "0.65369606", "0....
0.0
-1
Compute the vectormatrix product between the vector w and the pytree jacobian oks
def f1uU(wii4: PyTree, yzQ0: Array) -> DQaz: Ylbp = yOcR.tree_map(YLnl(oLG2.tensordot, yzQ0, axes=yzQ0.ndim), wii4) return yOcR.tree_map(lambda WKvO: Klvv.mpi_sum_jax(WKvO)[0], Ylbp)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v8WM(YKHO, a1PO, WKvO, P6bq, yzQ0):\n raise Exception('Jacobian not implemented yet')", "def Fvzu(zq5a):\n assert zq5a.shape == (ywwl, lWPh), zq5a.shape\n return zq5a + xMdD * syJN(fUYa, zq5a)", "def OdRK():\n return oyIN.block([[k0lF, oyIN.zeros((r8hN, r8hN + exwG))], [-1 * T8ck, k0lF.T, oyIN....
[ "0.67021215", "0.6607143", "0.6573512", "0.6573512", "0.64954805", "0.64888215", "0.6461597", "0.6403066", "0.63660717", "0.63524204", "0.63441813", "0.6340985", "0.6250627", "0.6250261", "0.62376076", "0.62222284", "0.62203294", "0.6213406", "0.61521965", "0.61405987", "0.60...
0.6919306
0
Takes input state vectors and calculates orbital elements
def Kyot(YKHO): YKHO.angmomvec = YKHO.position.cross(YKHO.velocity) YKHO.angmom = YKHO.angmomvec.mag() b5c2 = YKHO.G * YKHO.totalMass J9gT = YKHO.position.mag() Fram = YKHO.velocity.mag() Z36E = YKHO.velocity.dot(YKHO.position) if J9gT == 0.0: Tz3w = twFZ(0.0, 0.0, 0.0) else: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QkkH(CceE, PCpl):\n assert len(CceE) > 0, 'There must be at least one populated motional state.'\n yvT9 = oyIN.zeros(2 * PCpl, dtype=oyIN.complex128)\n exwG = 1.0 / PZyS(len(CceE))\n for KG9w in CceE:\n yvT9[QTBn.idx(KG9w, PCpl)] = fMXZ(1j * mM0K * QTBn.phase(KG9w)) * exwG\n return yvT9",...
[ "0.6688794", "0.6666933", "0.66263586", "0.6614021", "0.63474536", "0.6177409", "0.61673075", "0.6165538", "0.6123004", "0.60788167", "0.6058967", "0.6027209", "0.60259825", "0.5995362", "0.5981375", "0.5934298", "0.5924401", "0.592074", "0.5891484", "0.5888449", "0.5875818",...
0.66982245
0
Displays statistics on the most frequent times of travel.
def dWJR(jQ3Z): print('\nCalculating The Most Frequent Times of Travel...\n') SWox = ITS7.time() sp3M = ['january', 'february', 'march', 'april', 'may', 'june'] hFPs = jQ3Z['month'].mode()[0] hFPs = sp3M[hFPs - 1] print('The most common month is {}'.format(hFPs.title())) DSEJ = jQ3Z['day_of_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dWJR(jQ3Z):\n print('\\nCalculating The Most Frequent Times of Travel...\\n')\n SWox = ITS7.time()\n print('The most common month of travel is: {} '.format(jQ3Z.Month.mode()[0]))\n print('The most common day of travel is: {} '.format(jQ3Z.Day.mode()[0]))\n print('The most common hour of travel i...
[ "0.79996175", "0.7920857", "0.7891767", "0.78612196", "0.785926", "0.7838814", "0.779974", "0.77848285", "0.7735119", "0.7723049", "0.771342", "0.7708436", "0.770453", "0.77017164", "0.7689714", "0.7685842", "0.7680146", "0.76788265", "0.76721054", "0.7661351", "0.7660023", ...
0.0
-1
Displays statistics on the most popular stations and trip.
def Huc_(jQ3Z): print('\nCalculating The Most Popular Stations and Trip...\n') SWox = ITS7.time() HBxl = jQ3Z['Start Station'].mode()[0] print('The most commonly used Start Station is: {}'.format(HBxl)) fEpx = jQ3Z['End Station'].mode()[0] print('The most commonly used End Station is: {}'.format...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations and Trip...\\n')\n SWox = ITS7.time()\n v6Be(jQ3Z)\n BeYU(jQ3Z)\n O6Ct(jQ3Z)\n print('\\nThis took %s seconds.' % (ITS7.time() - SWox))\n print('-' * 40)", "def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations ...
[ "0.7665365", "0.76264536", "0.7610902", "0.75852126", "0.7576492", "0.7567089", "0.75577486", "0.7538181", "0.75294757", "0.7502035", "0.74997437", "0.7496321", "0.74872565", "0.74840283", "0.7475714", "0.7472988", "0.7437631", "0.74366206", "0.7433223", "0.7428372", "0.74269...
0.0
-1
Displays statistics on the total and average trip duration.
def kDMA(jQ3Z): print('\nCalculating Trip Duration...\n') SWox = ITS7.time() print('The total travel time was {}'.format(float(jQ3Z['Trip Duration'].sum()))) print('The average travel time was {}'.format(jQ3Z['Trip Duration'].mean())) print('\nThis took %s seconds.' % (ITS7.time() - SWox)) print...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kDMA(dMlt):\n print('\\nCalculating Trip Duration...\\n')\n SWox = ITS7.time()\n qZ1g = dMlt['Trip Duration'].sum()\n print('The total travel time is ', qZ1g, ' seconds.')\n NPSF = dMlt['Trip Duration'].mean()\n print('The average travel time is ', NPSF, ' seconds.')\n print('\\nThis took ...
[ "0.8251978", "0.81471264", "0.80965656", "0.80127156", "0.7987783", "0.79834235", "0.7978646", "0.79705906", "0.7965226", "0.79636025", "0.79616374", "0.79614663", "0.79523134", "0.7948989", "0.79445267", "0.7937707", "0.7923821", "0.792045", "0.79198813", "0.7918623", "0.791...
0.7859619
55
Resolvse a volume claim to the associated volume.
async def volume_from_pvc(OaeV: Context, Eorv: pykube.objects.PersistentVolumeClaim) -> Bxdx.objects.PersistentVolume: PurT = I45O.new(resource=Eorv) yyHu = Eorv try: FNha = Eorv.obj['spec']['volumeName'] except KeyError as exc: raise Swwu('Could not get volume name from volume claim', v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EPS2(YKHO, akib, BGvY):\n rbx7, YN2F, xOkl = YKHO._get_share_mount_and_vol_from_vol_ref(BGvY)\n na1r.debug('Asked to manage NFS volume %(vol)s, with vol ref %(ref)s', {'vol': akib['id'], 'ref': BGvY['source-name']})\n XLKm = CIX7.get_volume_extra_specs(akib)\n YKHO._check_volume_type(akib, rbx7, xO...
[ "0.60873777", "0.60248196", "0.58211535", "0.5806942", "0.5804156", "0.57191753", "0.5638345", "0.55896956", "0.5458103", "0.538907", "0.5370823", "0.5352219", "0.53182596", "0.5308872", "0.5282048", "0.5235247", "0.52340484", "0.5205702", "0.5205045", "0.519148", "0.5188036"...
0.5667439
6
return random alphanumeric characters key with given length. default length is 50
def VTrb(u54L=50): H5ew = ''.join([tuKI.choice(vIwR.ascii_letters + vIwR.digits) for YRbF in range(u54L)]) return H5ew
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VTrb(u54L):\n SuXy = vIwR.ascii_letters + vIwR.digits\n return ''.join((tuKI.choice(SuXy) for YRbF in range(u54L)))", "def Gi98(u54L=8):\n return ''.join(tuKI.sample(sA85, u54L))", "def C6nX(u54L=16):\n return ''.join([tuKI.choice(gZgb) for bGrB in range(u54L)])", "def JiSL(u54L):\n gLiZ =...
[ "0.8981203", "0.87236726", "0.8722617", "0.8579688", "0.848641", "0.8365375", "0.8320402", "0.8320402", "0.83186746", "0.83186746", "0.8198943", "0.81406885", "0.81071246", "0.81029034", "0.8004524", "0.79090667", "0.79052234", "0.78209823", "0.77925503", "0.7775218", "0.7767...
0.9017631
0
Given a bunch of chromosomes, this individual is a wrapper around them. It holds all chromosomes in place.
def FIMM(YKHO, OkZe): YKHO.chromosomes = OkZe
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pi1E(YKHO) -> x1iM[a4Hw]:\n return _qLf(YKHO.chromosomes)", "def FIMM(YKHO, Fi7Z: int, xzG7: Genetic):\n YKHO.genetic = xzG7\n YKHO.num_chromosomes = Fi7Z\n YKHO.chromosomes: list[a4Hw] = list()\n YKHO.initilize()", "def kHAz(YKHO):\n for bGrB in range(YKHO.__ga_parameters['population_siz...
[ "0.6230451", "0.62246853", "0.6104127", "0.601072", "0.5986959", "0.5976588", "0.59262455", "0.58911204", "0.588701", "0.58139616", "0.58086413", "0.5796802", "0.57455575", "0.57184255", "0.569882", "0.5694045", "0.5689539", "0.5684196", "0.56828725", "0.5672416", "0.5652674"...
0.675471
0
Get absolute path to resource, works for dev and for PyInstaller
def JFat(t_yv): XSj5 = getattr(HwRy, '_MEIPASS', Hy7s.path.dirname(Hy7s.path.abspath(xAKo))) return Hy7s.path.join(XSj5, t_yv)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gZBG():\n return khtY.abspath(khtY.join(khtY.dirname(xAKo), 'resources') + khtY.sep)", "def JFat(Qth0):\n if getattr(HwRy, 'frozen', None):\n ObT1 = HwRy._MEIPASS\n else:\n ObT1 = Hy7s.path.join(Hy7s.getcwd())\n return Hy7s.path.join(ObT1, Qth0)", "def JFat(t_yv):\n try:\n ...
[ "0.86645055", "0.8190357", "0.8175001", "0.8163073", "0.80863976", "0.80863976", "0.80863976", "0.80863976", "0.8086095", "0.80784917", "0.8077746", "0.8073863", "0.8065137", "0.80625504", "0.80625504", "0.80625504", "0.80625504", "0.80625504", "0.80625504", "0.80625504", "0....
0.7835679
78
Assuming items is an array of paths using path.sep as a path separator, return a common path prefix of the items.
def SCmh(DumB): y0cW = None if len(DumB) <= 1: return '' for ZfUD in DumB: if y0cW is None: XVAW = ZfUD.rfind(pmON.sep) if XVAW < 0: return '' y0cW = ZfUD[:XVAW + 1] continue Os4s = len(ZfUD) while True: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nV7c(DumB):\n\n def aiYc(jzdc, Fg_i):\n jyYi = luid(None, jzdc, Fg_i)\n kUBT = jyYi.find_longest_match(0, len(jzdc), 0, len(Fg_i))\n return jzdc[kUBT.a:kUBT.a + kUBT.size] if kUBT.a == 0 else ''\n return Pusg(aiYc, DumB)", "def TAEi(ckRy):\n if len(ckRy) == 0:\n return ''...
[ "0.80553216", "0.7401905", "0.7380357", "0.7355944", "0.68000746", "0.66042405", "0.66042405", "0.65716803", "0.6398075", "0.63806903", "0.6377567", "0.6362581", "0.62758267", "0.61647666", "0.61614007", "0.61495185", "0.61177415", "0.6086314", "0.6043417", "0.5990322", "0.59...
0.9071228
0
Return all subclasses of class recursivley.
def Ty1Z(Emd4: Type) -> x1iM[eBH2]: return Emd4.__subclasses__() + [Oa1e for KCHu in Emd4.__subclasses__() for Oa1e in Ty1Z(KCHu)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vCuQ(Emd4):\n for dm7U in Emd4.__subclasses__():\n yield from dm7U.__recursive_subclasses__()\n yield dm7U", "def tBqQ(Emd4):\n for dm7U in Emd4.__subclasses__():\n yield dm7U\n for dm7U in dm7U._get_all_subclasses():\n yield dm7U", "def m7Nk(rV9y):\n return ...
[ "0.82632536", "0.8109338", "0.7996564", "0.79369015", "0.79343873", "0.7922869", "0.7882278", "0.78591835", "0.7795731", "0.77725506", "0.7746634", "0.7701299", "0.7689086", "0.7689086", "0.766719", "0.7648471", "0.7645792", "0.7628288", "0.7625646", "0.7565501", "0.75646573"...
0.72830546
42
Return None if the value is empty, otherwise return str(value).
def tL1h(YKHO, BWXx: Any) -> ImMB: if BWXx in YKHO.null_values: return YKHO.empty_value else: return BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def h7DF(YKHO, BWXx):\n return BWXx if BWXx is not None else ''", "def VuC5(BWXx: str or None) -> str:\n return str(BWXx) if BWXx is not None else ''", "def YYHj(BWXx: str) -> str or None:\n return None if BWXx == '' else BWXx", "def im3y(BWXx):\n if BWXx is None:\n return 'None'\n else...
[ "0.8145785", "0.8144855", "0.8043929", "0.79221", "0.7898633", "0.7898326", "0.7832408", "0.7628921", "0.76235944", "0.75516737", "0.7526803", "0.7522932", "0.74913913", "0.747655", "0.7440457", "0.74301624", "0.7422814", "0.734314", "0.73164105", "0.7269839", "0.71889716", ...
0.0
-1
Remove excess empty values.
def QNws(YKHO, rdlD: List[Union[str, int, float, None]]) -> x1iM[uLKX[str, int, float, None]]: while rdlD[-1] == YKHO.empty_value: rdlD = rdlD[:-1] return [YKHO.prepare_value(BWXx) for BWXx in rdlD]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yaGM(LihS):\n ...", "def j8ZP(YKHO, nPrm):\n yifd = oyIN.ndarray(shape=nPrm.shape, dtype=nPrm.dtype)\n lxKD = 1e-05\n fohw = 0\n for bySB in nPrm:\n xhAU = 0\n for BWXx in bySB:\n if abs(YKHO.__EMPTY_VALUE - BWXx) > lxKD:\n yifd[fohw][xhAU] = BWXx\n ...
[ "0.6949547", "0.6863825", "0.677472", "0.670163", "0.66702425", "0.66438866", "0.6605889", "0.6600849", "0.64984787", "0.6484829", "0.64420193", "0.64388293", "0.64184076", "0.6406719", "0.6397383", "0.63570774", "0.6259613", "0.6228206", "0.6215538", "0.62058055", "0.620472"...
0.0
-1
This default evaluation function just returns the score of the state. The score is the same one displayed in the Pacman GUI. This evaluation function is meant for use with adversarial search agents (not reflex agents).
def fHT3(rfNN): return rfNN.getScore()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def fHT3(Ov5A):\n return Ov5A.getScore()", "def b7La(YKHO, QTBn):\n iBIi, oyg0, YPaw = QTBn\n return phK_(oyg0, iBIi)", "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN: GameState):\n re...
[ "0.8075455", "0.8054519", "0.8054519", "0.79372096", "0.76785314", "0.766229", "0.7643951", "0.7635007", "0.7594506", "0.7594506", "0.7594506", "0.7594506", "0.7594506", "0.7594506", "0.7594506", "0.7594506", "0.7594506", "0.7594506", "0.750237", "0.7490011", "0.7490011", "...
0.7554659
30
Create a sparse representention of x.
def OUIX(jWe2, yDqo=oyIN.int32): _0VL = [] hkxX = [] for exwG, Q6uT in enumerate(jWe2): _0VL.extend(zip([exwG] * len(Q6uT), Ni9Y(len(Q6uT)))) hkxX.extend(Q6uT) _0VL = oyIN.asarray(_0VL, dtype=oyIN.int64) hkxX = oyIN.asarray(hkxX, dtype=yDqo) ROpF = oyIN.asarray([len(jWe2), oyIN.a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zXM_(WKvO):\n zHeZ = ht2j.typename(WKvO).split('.')[-1]\n UX5J = getattr(ht2j.sparse, zHeZ)\n _0VL = ht2j.nonzero(WKvO)\n if len(_0VL.shape) == 0:\n return UX5J(*WKvO.shape)\n _0VL = _0VL.t()\n hkxX = WKvO[tuple((_0VL[YRbF] for YRbF in range(_0VL.shape[0])))]\n return UX5J(_0VL, hkx...
[ "0.7595507", "0.756966", "0.756966", "0.756966", "0.756966", "0.756966", "0.756966", "0.74688697", "0.73303425", "0.7046781", "0.7010728", "0.69882333", "0.6855912", "0.6804643", "0.67745423", "0.67684126", "0.6636492", "0.6590895", "0.6498117", "0.64381975", "0.6436974", "...
0.0
-1
Return a random selected quote.
def zlaX(YKHO): try: cuiw = YKHO.persistence.get_session() NCC9 = cuiw.query(LX6y).order_by(JfyU.random()).limit(1).one() return NCC9 except ELJA: raise c_is
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zlaX():\n return RjKZ('quotes.json', 'quote')", "def DYHh() -> str:\n return tuKI.choice(TsNG)", "def gTcu(YKHO):\n with open('quotes.txt') as DikD:\n PenU = DikD.readlines()\n return tuKI.choice(PenU)", "def nlWt(YKHO):\n return tuKI.choice(YKHO.quotes.values())", "def gTcu()...
[ "0.8353014", "0.8290233", "0.8101739", "0.80346406", "0.8008782", "0.7968924", "0.78616536", "0.78180736", "0.7721368", "0.7651604", "0.7644486", "0.7552418", "0.7515029", "0.71645683", "0.7105395", "0.70661885", "0.7045369", "0.7002369", "0.695586", "0.69437146", "0.693665",...
0.7845731
7
(Maze, int, int) > bool Return True if there is a wall.
def OC7g(YKHO, rdlD, fvDH): return YKHO.maze[rdlD][fvDH] == GNtq
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LS2R(YKHO):\n r8hN = pHXX.Maze([['#', '#', '#', '#', '#', '#', '#'], ['#', '.', '.', '.', '.', '.', '#'], ['#', '.', '#', '#', '#', '.', '#'], ['#', '.', '.', '@', '#', '.', '#'], ['#', '@', '#', '.', '@', '.', '#'], ['#', '#', '#', '#', '#', '#', '#']], pHXX.Rat('J', 1, 1), pHXX.Rat('P', 1, 4))\n YKHO.a...
[ "0.8249421", "0.8143826", "0.8007199", "0.7971421", "0.79456145", "0.7808908", "0.7795083", "0.7755953", "0.7731591", "0.7632728", "0.7553414", "0.7535249", "0.751888", "0.7501527", "0.7501527", "0.74718356", "0.74326503", "0.7300915", "0.72919834", "0.72917706", "0.7290063",...
0.83369744
0
Function to get the error between calculated total thrust coefficient and the input one
def EkHl(F3Pu, wK_d, r612): return oyIN.sum(F3Pu * wK_d) - r612
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P1dF(YKHO):\n GVWx = YKHO.a_tilde\n RoW6 = YKHO.V_tilde\n jmzt = YKHO.tau\n return epAf.fsum((WKvO ** 2 for WKvO in GVWx * RoW6 - jmzt))", "def rCPl(J2ZS):\n _mSQ = [2, 1, 1, 1, 1, 0.5, 0.5, 2, 1, 1, 1, 1, 1]\n sum = 0.0\n for _jd4 in _mSQ:\n MDzo = MLrH(J2ZS)\n eUlt = _jd4...
[ "0.687082", "0.6639911", "0.66219914", "0.65815955", "0.64845634", "0.6428624", "0.63908625", "0.63635814", "0.6360867", "0.63380164", "0.6326678", "0.63168675", "0.63101894", "0.6286246", "0.6278444", "0.6226601", "0.6221593", "0.62154603", "0.6188118", "0.61709213", "0.6167...
0.73445827
0
This function reads in the feature file created in GetFeatures.py. It creates two pandas dataframe from that file. The first is a dataframe with many columns that contains all the features for each message. The second is a dataframe with binary columns for each label for each message. The returned objects are the featu...
def r1De(nUeQ=Dryy): DMnN = rLdf.read_csv(nUeQ, quotechar='"') DMnN = DMnN.drop(['id'], axis=1) H0N9 = DMnN Crrw = list(DMnN.columns[-8:]) HVUa = rLdf.DataFrame() HVUa['message'] = DMnN['message'] for vC9B in Crrw: H0N9 = H0N9.drop([vC9B], axis=1) HVUa[vC9B] = DMnN[vC9B] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FW5P(Emd4) -> AzJI[str, hxoQ]:\n pmON = Emd4.get_raw_path()\n ZWCE = [f'feature_{YRbF}' for YRbF in range(Emd4.NUM_FEATURES)] + ['label']\n jQ3Z = rLdf.read_csv(pmON, names=ZWCE)\n return (Emd4.NAME, jQ3Z)", "def FW5P(Emd4) -> AzJI[str, hxoQ]:\n pmON = Emd4.get_raw_path()\n ZWCE = [f'featur...
[ "0.6901677", "0.6901677", "0.6891986", "0.67946404", "0.6787597", "0.6716749", "0.66980135", "0.6694062", "0.66856796", "0.6634122", "0.6617466", "0.656107", "0.6526416", "0.6435865", "0.63927436", "0.63927436", "0.63927436", "0.63637716", "0.6337046", "0.63272184", "0.632541...
0.7602072
0
Returns a dict with job configuration as keys and the corresponding templates as values Defaults to using the job configuration parameter name as the template variable name. e.g. {
def VJ3C(Emd4) -> dict: wOGa = {} C9U5 = Emd4.schema()['properties'] for G1Hx, Ty9i in C9U5.items(): if Ty9i.get('template'): rPXJ = Ty9i['template'] else: rPXJ = '{{ ' + G1Hx + ' }}' wOGa[G1Hx] = rPXJ return wOGa
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WlgP(rPXJ, If3P, aEqx):\n\n class ArbitraryJobConfiguration(L1sh):\n CIn9: str = wsY0(template='{{ var1 }}')\n AhCl: int = wsY0(template='{{ var2 }}')\n GPtr = kYnc.from_template_and_overrides(base_job_template=rPXJ, deployment_overrides=If3P)\n assert GPtr.dict() == aEqx", "def K7c8(Y...
[ "0.6934155", "0.69169873", "0.6744212", "0.6497803", "0.63519907", "0.6250478", "0.62033767", "0.59727925", "0.5925192", "0.5914032", "0.58691573", "0.5812169", "0.58026683", "0.5776047", "0.57649326", "0.5735175", "0.57207596", "0.5705623", "0.57006097", "0.56983006", "0.569...
0.62684584
5
Generate a dictionary of labels for a flow run job.
def WEvx(OH7j: 'FlowRun') -> cuzp[str, str]: return {'prefect.io/flow-run-id': str(OH7j.id), 'prefect.io/flow-run-name': OH7j.name, 'prefect.io/version': nlbW.__version__}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kqdp(YKHO) -> str:\n LEgg = YKHO.problem_statement.tasks[0].type\n if LEgg.HasField('multi_class_classification'):\n return LEgg.multi_class_classification.label\n if LEgg.HasField('binary_classification'):\n return LEgg.binary_classification.label\n if LEgg.HasField('one_dimensional_...
[ "0.6508366", "0.6383811", "0.63697815", "0.63697815", "0.63697815", "0.63697815", "0.63697815", "0.63697815", "0.63697815", "0.63697815", "0.6325117", "0.6325117", "0.6305624", "0.6301965", "0.6301965", "0.6223585", "0.6223585", "0.6223585", "0.6223585", "0.6223585", "0.62235...
0.75199556
0
Determines on which side of the position value the density function making up one half of a violin is plotted. Useful when comparing two violin traces under "overlay" mode, where one trace has `side` set to "positive" and the other to "negative".
def HEZd(YKHO): return YKHO['side']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lQpQ(YKHO):\n return abs(YKHO.side)", "def lQpQ(YKHO):\n if YKHO._side < 0:\n YKHO._side = -YKHO._side\n return YKHO._side", "def lQpQ(YKHO, XSoh):\n return YKHO.sides[XSoh]", "def lQpQ(YKHO) -> int:\n return YKHO._side", "def POAu(YKHO):\n o4D3 = YKHO.path[YKHO.point][0]\n ...
[ "0.64694846", "0.64103115", "0.6108596", "0.61064374", "0.60306156", "0.5987797", "0.5967375", "0.5944969", "0.59060407", "0.5872066", "0.5872066", "0.5833471", "0.58192015", "0.58192015", "0.58192015", "0.58192015", "0.58192015", "0.5767399", "0.5757101", "0.5677827", "0.565...
0.59698117
6
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an identifier of a particular subplot, of type 'x', that may be specified as the s...
def NkBi(YKHO): return YKHO['xaxis']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iDQV(YKHO, HKaf, p7NP, dsJ2, f2qf=None):\n if f2qf is not None:\n YRbF, r845, G1Hx = f2qf\n if 'xaxis' in HKaf:\n if type(HKaf['xaxis']) is str and HKaf['xaxis'] in list(YKHO.inputs.keys()):\n a1PO = YKHO.inputs[HKaf['xaxis']]['val'].T[p7NP]\n else:\n a1PO = HKa...
[ "0.660535", "0.6277806", "0.6160141", "0.6141384", "0.61321986", "0.60721946", "0.6032638", "0.59315944", "0.5884251", "0.5871414", "0.5851412", "0.5759515", "0.5759515", "0.573052", "0.573052", "0.573052", "0.5699524", "0.5689183", "0.56220067", "0.56187266", "0.5615372", ...
0.64002067
1
Construct a new Violin object In vertical (horizontal) violin plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one violin per distinct x (y) value is drawn If no `x` (`y`) list is provided, a single violin is drawn. That violin position is then positioned with with `name` or with ...
def FIMM(YKHO, d7pR=None, lUK_=None, FlUN=None, cBqf=None, UeLP=None, lKb2=None, zv4Z=None, UlC_=None, TnKV=None, WGxC=None, A07C=None, m1t2=None, bHg_=None, hNEQ=None, zFiD=None, _5yy=None, Oz2q=None, mWFP=None, BCp6=None, C3ap=None, OQS_=None, LTIa=None, keb6=None, saHI=None, se2i=None, jG1Z=None, fX_7=None, HEZd=Non...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WUFL(YKHO, *qIxc, **B2fa):\n return YKHO.violinplot(*qIxc, **B2fa)", "def xckR(YKHO, WKvO, LZpg=None, aNZO=None, sXTW=False, hFjW=None, iqkH=None, leAC='Distribution of {x_name}', cHAw='{x_name}', AQDP=None, koHm='both'):\n return YKHO._setup_vis(LZpg, aNZO, YKHO._gen_violin_box_plot, [WKvO], sXTW, hFj...
[ "0.64848274", "0.6309061", "0.6248417", "0.6156975", "0.6148915", "0.59830916", "0.5780885", "0.5764813", "0.5741556", "0.57090527", "0.56297445", "0.5607319", "0.55221635", "0.53736395", "0.5310431", "0.53025657", "0.52328956", "0.5224526", "0.5204357", "0.5196088", "0.51606...
0.6405295
1
Clear the cache and cache statistics.
def sCEQ(YKHO): YKHO.algorithm.clear()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y7Bk():\n wyyA.clear()\n P2qO.hits = P2qO.misses = 0", "def ORNU(YKHO):\n pass", "def Y7Bk(YmRm=False):\n wyyA.clear()\n umaf.clear()\n if not YmRm:\n eQSh[:] = [0, 0, 0]", "def Y7Bk(YmRm=False):\n wyyA.clear()\n if not YmRm:\n eQSh[:] = [0, 0, 0]", "def Y7Bk(YmRm=...
[ "0.84786755", "0.83807087", "0.8345427", "0.82581174", "0.82581174", "0.81870776", "0.81618154", "0.81262946", "0.81092364", "0.809767", "0.80950344", "0.8085795", "0.8085795", "0.8070751", "0.8031398", "0.7975959", "0.79695266", "0.79662126", "0.79658544", "0.7947433", "0.79...
0.79896694
15
This property returns the solve time in seconds.
def ITS7(YKHO): return YKHO._time
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yvhs() -> float:\n pass", "def a1PO(YKHO):\n try:\n return YKHO.solution.t\n except AttributeError:\n raise AttributeError('Pendulum time does not exist. You need to run the solve method to compute a time. Run solve method first.')", "def SS1t(YKHO):\n return sum((ITS7 for ITS7 in...
[ "0.78812677", "0.69814837", "0.6920661", "0.65254563", "0.6504612", "0.6409946", "0.6384766", "0.6323828", "0.63150114", "0.6305051", "0.6282545", "0.62807524", "0.62733984", "0.62573117", "0.6248098", "0.6240583", "0.62379754", "0.6232793", "0.62261814", "0.62244993", "0.620...
0.0
-1
This property returns the solve status as a string. This string is normally the value returned by the CPLEX callable library method CPXXgetstatstring,
def jGRS(YKHO): return YKHO._solve_status
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PRac(YKHO):\n return YKHO._solution_status", "def jGRS(YKHO):\n if YKHO.request_list.conflict:\n return g93s.failed\n if YKHO.callback_return == EXU_.fail:\n return g93s.failed\n aevO = YKHO.phase_stack[-1].status\n if aevO == g93s.cyclic:\n return g93s.failed\n elif le...
[ "0.6931718", "0.6574753", "0.6487612", "0.63121796", "0.6246169", "0.61302984", "0.61059725", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", "0.60437924", ...
0.75381285
0
This property returns the number of nodes processed at the end of solve.
def mNQJ(YKHO): return YKHO._n_nodes_processed
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CYQC(YKHO):\n ewCu = 0\n for bGrB in YKHO:\n ewCu += 1\n return ewCu", "def Ubsw(YKHO):\n return YKHO.solve_count", "def _ouZ(YKHO):\n return YKHO.num_nodes", "def OtzW(YKHO):\n return YKHO.nnodes", "def EKkU(YKHO):\n return YKHO._num_nodes", "def EKkU(YKHO):\n return Y...
[ "0.7314553", "0.7303397", "0.7254469", "0.724719", "0.7244717", "0.7244717", "0.7237821", "0.72328764", "0.72328764", "0.7210962", "0.7205582", "0.71749157", "0.7174162", "0.7173198", "0.7155576", "0.71287596", "0.71147907", "0.7097659", "0.7071331", "0.70392865", "0.703437",...
0.7805514
0
Return whether label is multilabel or singlelebel
def VZXm(YKHO): return YKHO._is_multilabel
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P50e(YKHO):\n return YKHO.product_type == 'L'", "def beKo(YKHO) -> None:\n for or8S in range(len(YKHO)):\n pan_ = YKHO.parse_json(or8S)\n XgyP = pan_.pop('annotations')\n dJ1p = [jzdc.annotation_class.name for jzdc in XgyP if jzdc.annotation_class.annotation_type == 'tag']\n ...
[ "0.73554647", "0.70200354", "0.6829187", "0.676381", "0.67427075", "0.67427075", "0.67427075", "0.6669339", "0.66607094", "0.65869576", "0.6489754", "0.6458824", "0.6452959", "0.6393551", "0.6389019", "0.62936205", "0.6268722", "0.6226864", "0.62162656", "0.62018895", "0.6195...
0.853119
0
Apply cleaning functions in sequential order to an input sentence
def QQPI(yAmx): OkbI = (PfXC, nZmv, LSh8, ev3m, yri_, V5lt) for JfyU in OkbI: yAmx = JfyU(yAmx) return yAmx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OfWB(yAmx):\n return ZFtT(yAmx)", "def _inx(yAmx):\n yAmx = yAmx.capitalize().replace('_', ' ')\n for eOtH in zhu5:\n yAmx = yAmx.replace(' ' + eOtH, eOtH)\n for eOtH in m1SC:\n yAmx = yAmx.replace(eOtH + ' ', eOtH)\n return yAmx", "def biH0(Rhv4):\n yHZQ = rLdf.Series(Rhv4)...
[ "0.70081085", "0.70061094", "0.6974977", "0.69093114", "0.6820962", "0.678494", "0.6738188", "0.673435", "0.6713251", "0.6697268", "0.66852015", "0.6675545", "0.667534", "0.6625466", "0.6602235", "0.6586087", "0.6562712", "0.65550345", "0.6536001", "0.65344447", "0.653081", ...
0.7390709
0
Generates a safe filename that is unlikely to collide with existing objects in Google Cloud Storage. ``filename.ext`` is transformed into ``YYYYMMDDHHMMSSfilename.ext``
def icYR(Ux0P): Ux0P = YX8g(Ux0P) _c1T = qcWV.datetime.utcnow().strftime('%Y-%m-%d-%H%M%S') aPr_, Fst3 = Ux0P.rsplit('.', 1) return '{0}-{1}.{2}'.format(_c1T, aPr_, Fst3)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wOyJ(Ux0P: str) -> str:\n _c1T = qcWV.utcnow().strftime('%Y-%m-%d-%H%M%S')\n aPr_, Fst3 = Ux0P.rsplit('.', 1)\n return '{0}-{1}-{2}.{3}'.format(aPr_, _c1T, str(kxTZ()), Fst3)", "def tGrQ():\n return str(epAf.trunc(round(ITS7.time(), 4) * 1000))", "def icYR(Ux0P):\n Ux0P = YX8g(Ux0P)\n _c1...
[ "0.7787638", "0.7742251", "0.7567498", "0.7567498", "0.7567498", "0.7495631", "0.73416245", "0.7340165", "0.7328301", "0.7285325", "0.7247392", "0.7186133", "0.71554494", "0.7143044", "0.7134405", "0.71247894", "0.7106912", "0.7098788", "0.7094386", "0.7081206", "0.70636314",...
0.76088613
2
Returns timeseries_dense_encoder_forecasting pipeline and parameters.
def QuiI(*, bNKA: str, Rci7: str, jNha: str, gacu: str, ngGk: str, BmLB: Dict[str, List[str]], sCDa: float, ydQI: str, PMlY: List[str], BfG5: Optional[str]=None, CqxR: Optional[List[str]]=None, s3kc: Optional[List[str]]=None, HZ9a: Optional[List[str]]=None, Ub4G: Optional[int]=None, JqS1: Optional[int]=None, EWj1: Opti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eQRq(*, bNKA: str, Rci7: str, jNha: str, gacu: str, ngGk: str, BmLB: Dict[str, List[str]], sCDa: float, ydQI: str, PMlY: List[str], BfG5: Optional[str]=None, CqxR: Optional[List[str]]=None, s3kc: Optional[List[str]]=None, HZ9a: Optional[List[str]]=None, Ub4G: Optional[int]=None, JqS1: Optional[int]=None, EWj1:...
[ "0.5842287", "0.5697638", "0.5602737", "0.55910504", "0.54413986", "0.54027295", "0.5372528", "0.53490007", "0.53484523", "0.5345414", "0.5344214", "0.53005713", "0.52982366", "0.52846444", "0.52737224", "0.524475", "0.52430934", "0.5240976", "0.51654506", "0.51293784", "0.50...
0.75336415
0
The entry dictionary representation.
def MNRr(YKHO): return {'index-entry-number': str(YKHO._position), 'entry-number': str(YKHO._position), 'entry-timestamp': YKHO._timestamp, 'key': YKHO._key, 'item-hash': [str(YKHO._blob_hash)]}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B_kJ(YKHO, bTKY):\n return {}", "def VCK0(bTKY):\n return {'aliases': bTKY.aliases, 'area_id': bTKY.id, 'name': bTKY.name, 'picture': bTKY.picture}", "def BZWn(YKHO) -> dict:\n if YKHO.e_type == 'noun':\n return {'id': YKHO.id, 'entry': f'{YKHO.article} {YKHO.entry}, die {YKHO.plural}', 'tr...
[ "0.77426887", "0.7448756", "0.73521227", "0.7161653", "0.71067065", "0.7010278", "0.6832135", "0.6826291", "0.6826291", "0.6826291", "0.6822095", "0.67709655", "0.6715231", "0.6713443", "0.6687593", "0.6661332", "0.6616694", "0.65353143", "0.6517688", "0.6440969", "0.64259493...
0.6820459
11
The entry blob hash.
def Ye4_(YKHO) -> bkcb: return YKHO._blob_hash
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OoXC(YKHO):\n return YKHO.hash", "def hash(YKHO):\n if YKHO.__stats:\n return YKHO.__stats['hash']", "def hash(YKHO):\n return YKHO.entity.hash", "def OoXC(YKHO):\n return YKHO._hash", "def OoXC(YKHO):\n return YKHO.__hash", "def hash(YKHO):\n return YKHO._hash", "def uk0M(...
[ "0.7760962", "0.771882", "0.7692872", "0.76785886", "0.7643277", "0.761806", "0.76180154", "0.76098275", "0.7531075", "0.7488768", "0.74820656", "0.7465888", "0.74604917", "0.7439106", "0.7426664", "0.7348673", "0.7344987", "0.72992814", "0.7283109", "0.72630936", "0.72546965...
0.8403609
0
Constructor method. Receives the reference to the Blender object.
def FIMM(YKHO, YEnM, _AKB=None): bo34.info('%s initialization' % YEnM.name) super(dctD, YKHO).__init__(YEnM, _AKB) TTsj = YKHO.blender_obj for YwkQ in TTsj.channels: YKHO.local_data[YwkQ.name] = 0.0 YKHO._dofs = YKHO.get_dofs() bo34.info('Component initialized')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, YEnM, _AKB=None):\n bo34.info('%s initialization' % YEnM.name)\n super(YKHO.__class__, YKHO).__init__(YEnM, _AKB)\n YKHO.ppx = 0.0\n YKHO.ppy = 0.0\n YKHO.ppz = 0.0\n YKHO.pproll = 0.0\n YKHO.pppitch = 0.0\n YKHO.ppyaw = 0.0\n YKHO.pvx = 0.0\n YKHO.pvy = 0.0\n YKHO.p...
[ "0.6901853", "0.6671986", "0.66523504", "0.6650017", "0.657792", "0.65649134", "0.65132385", "0.6485478", "0.6455108", "0.64438564", "0.64433527", "0.63991183", "0.63696426", "0.6354169", "0.6338371", "0.63311136", "0.6322776", "0.630094", "0.62811726", "0.6276373", "0.627609...
0.6042328
48
returns the length of the longest unuiqe substring
def oLkN(nPrm): fWv6 = 0 x0QW = 0 nSFH = 0 xyN7 = [] while fWv6 < len(nPrm): bseI = nPrm[fWv6] while bseI in xyN7: xyN7.remove(bseI) x0QW += 1 xyN7.append(bseI) nSFH = max(nSFH, fWv6 - x0QW + 1) fWv6 += 1 return nSFH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uBsB(YKHO, KCHu):\n Bc7X = set([])\n u54L = len(KCHu)\n r845 = 0\n JgcI = 0\n for YRbF in range(u54L):\n while r845 < u54L and KCHu[r845] not in Bc7X:\n Bc7X.add(KCHu[r845])\n r845 += 1\n JgcI = max(JgcI, r845 - YRbF)\n Bc7X.remove(KCHu[YRbF])\n retu...
[ "0.8053918", "0.8045223", "0.79451144", "0.79434174", "0.7937391", "0.7936896", "0.78656846", "0.78514916", "0.77575964", "0.7700271", "0.7699132", "0.7588669", "0.74399877", "0.73416066", "0.731251", "0.7198319", "0.7130728", "0.7101272", "0.7053974", "0.703483", "0.70300096...
0.739924
13
Sorts items by most common value, and returns highest scoring value and consensus boolean if all values are the same. In the special case that greater than one value is found and this value is not $UNKN$, the next most common value is chosen.
def CVzJ(DumB): CpIm = [(H5ew, DumB[H5ew]) for H5ew in DumB] if len(CpIm) != 1: CpIm.sort(key=lambda WKvO: WKvO[1]) CpIm.reverse() CVzJ = False if CpIm[0][0] == P6bq: Dh9T = CpIm[1][0] else: Dh9T = CpIm[0][0] else: CVzJ = True D...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RAO4(khoC):\n w73T = mBkc()\n for dxhl in khoC:\n w73T[dxhl.get_value()] += 1\n IwEg = [Ty9i[0] for Ty9i in w73T.items() if Ty9i[1] >= 2]\n IwEg.reverse()\n if IwEg:\n IwEg = sorted(IwEg, reverse=True)\n jeFX = IwEg[0]\n hkxX = [Ty9i.get_value() for Ty9i in khoC if Ty...
[ "0.61287355", "0.58939636", "0.58521396", "0.5795243", "0.5652526", "0.5652526", "0.5652526", "0.5563987", "0.5556773", "0.55416006", "0.5522189", "0.54999155", "0.5497213", "0.54940003", "0.54589266", "0.54402626", "0.54227936", "0.5416867", "0.54050076", "0.53988034", "0.53...
0.7518827
0
Creates variants from the given string dictionary, each stored in an _ key Currently supported suffixes are _lower, _upper, _title, _capital
def YQCp(XYt3: Dict[str, str]) -> cuzp[str, str]: YSrR: cuzp[str, str] = {} for H5ew in XYt3.keys(): YSrR[H5ew + '_lower'] = XYt3[H5ew].lower() YSrR[H5ew + '_upper'] = XYt3[H5ew].upper() YSrR[H5ew + '_title'] = XYt3[H5ew].title() YSrR[H5ew + '_capital'] = XYt3[H5ew].capitalize() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, cmPJ):\n YKHO.dict = cmPJ\n YKHO.abbrs = {}\n for GIN8 in cmPJ:\n _kTi = YKHO.abbreviation(GIN8)\n if _kTi in YKHO.abbrs and GIN8 != YKHO.abbrs[_kTi]:\n YKHO.abbrs[_kTi] = ''\n else:\n YKHO.abbrs[_kTi] = GIN8", "def FIMM(YKHO, cmPJ):\n YKHO.di...
[ "0.5903343", "0.5892097", "0.5637183", "0.56074387", "0.55966043", "0.5551259", "0.5528659", "0.55034375", "0.5498459", "0.54885787", "0.54758275", "0.5363195", "0.5354689", "0.5317955", "0.5246786", "0.5229211", "0.5223327", "0.5211912", "0.5202056", "0.51916784", "0.5158238...
0.63368344
0
Split contours where they cross the 0/360 degree RA boundary.
def ohBj(Smx5, lB4S, DIk7, YRbF): IVIh = oyIN.split(Smx5[YRbF], DIk7) fHZ_ = oyIN.split(lB4S[YRbF], DIk7) return (IVIh, fHZ_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def I69A(Iowl, DuZT, d6pt):\n XdG6, iSjc = (Iowl[d6pt][0] * 180 / oyIN.pi, Iowl[d6pt][1] * 180 / oyIN.pi)\n NLyf = []\n TMot = []\n r8hN = fHeP.getmaskarray(XdG6)\n J87D = fHeP.getmaskarray(iSjc)\n Csk6 = oyIN.diff(r8hN)\n I1iR = oyIN.diff(J87D)\n L4UL = oyIN.flatnonzero(Csk6) + 1\n fQQ2...
[ "0.72701585", "0.5936788", "0.5885413", "0.5871849", "0.5871849", "0.5871849", "0.5871849", "0.5871849", "0.5773962", "0.57291925", "0.5722999", "0.56432205", "0.5639104", "0.5587037", "0.5569728", "0.5521617", "0.5464702", "0.5448872", "0.543676", "0.5417797", "0.5417197", ...
0.6450012
1
Join together contours which cross the 0/360 boundary.
def eBck(CP3S, UGeA, tWwO, XdG6, iSjc, pImw, PaKC, mWFP, eHNT): HQ5S = [] q7In = 0.5 * oyIN.pi - oyIN.deg2rad(iSjc) rVnq = oyIN.deg2rad(XdG6) HQ5S = A90d.ang2pix(UGeA, q7In, rVnq) UBh3 = [] IdPg = [] zcM_ = [] wqX_ = [] tbUm = [] Iowl = [] import random import math KC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDZV(YKHO):\n if len(YKHO.__contours) == 0:\n return\n G96Y = {iLki.name: MVjK.GetArrayFromImage(iLki.image) for iLki in YKHO.__contours}\n YDzg = YKHO.__contour_color_base(oyIN.linspace(0, 1, len(YKHO.__contours)))\n Jw9H = [YDzg[YRbF] if iLki.color is None else iLki.color for YRbF, iLki in...
[ "0.6041179", "0.5978656", "0.565929", "0.565585", "0.5625256", "0.5577082", "0.55727166", "0.5524471", "0.55230975", "0.5476222", "0.54482836", "0.54160756", "0.5354772", "0.5352394", "0.53200006", "0.53180885", "0.53093195", "0.53093195", "0.52865654", "0.52749145", "0.52685...
0.0
-1
Join together contours which cross the 0/360 boundary.
def Xnnf(CP3S, UGeA, tWwO, XdG6, iSjc, pImw, PaKC, mWFP, eHNT): nPrm = rLdf.read_csv('GLADE_2.3.txt', sep=' ', header=None) nPrm.columns = ['PGC', 'GWGC', 'HyperLEDA', '2MASS', 'SDSS', 'flag1', 'RA', 'Dec', 'dist', 'dist_err', 'z', 'Bmag', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j'] print(len(nPrm)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDZV(YKHO):\n if len(YKHO.__contours) == 0:\n return\n G96Y = {iLki.name: MVjK.GetArrayFromImage(iLki.image) for iLki in YKHO.__contours}\n YDzg = YKHO.__contour_color_base(oyIN.linspace(0, 1, len(YKHO.__contours)))\n Jw9H = [YDzg[YRbF] if iLki.color is None else iLki.color for YRbF, iLki in...
[ "0.6041179", "0.5978656", "0.565929", "0.565585", "0.5625256", "0.5577082", "0.55727166", "0.5524471", "0.55230975", "0.5476222", "0.54482836", "0.54160756", "0.5354772", "0.5352394", "0.53200006", "0.53180885", "0.53093195", "0.53093195", "0.52865654", "0.52749145", "0.52685...
0.0
-1
Format the duration expressed in seconds as string
def DhpL(WbTE): kRsb = WbTE % 60 FIL5 = int(WbTE) // 60 Ylbp = str(kRsb) + 's' if FIL5 == 0: return Ylbp O66n = FIL5 % 60 FIL5 = FIL5 // 60 Ylbp = str(O66n) + 'm ' + Ylbp if FIL5 == 0: return Ylbp ROt1 = FIL5 % 24 FIL5 = FIL5 // 24 Ylbp = str(ROt1) + 'h ' + Yl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DhpL(C6wh):\n EIOD = ''\n if C6wh >= 3600:\n EIOD += '%d:' % (C6wh / 3600)\n C6wh %= 3600\n EIOD += '%02d:%02d' % (C6wh / 60, C6wh % 60)\n return EIOD", "def ct8j(C6wh):\n return str(fCoM(seconds=C6wh))", "def DhpL(C6wh):\n g75m = fCoM(seconds=int(C6wh))\n return ('{}:'.f...
[ "0.8362483", "0.80021554", "0.79865813", "0.798386", "0.7642817", "0.76365405", "0.7610882", "0.7578168", "0.7571347", "0.753576", "0.74719095", "0.7455469", "0.7449091", "0.7412032", "0.73936653", "0.73546493", "0.7273912", "0.72580373", "0.7254011", "0.72456753", "0.7237767...
0.7752172
4
Adds an employee for the user.
def H2v5(YKHO, GPtr): ADmz.click_toolbar('Add') for Xg1X in GPtr: ADmz.select_tab(Xg1X) for H5ew, BWXx in GPtr[Xg1X].items(): if not ADmz.set_value(H5ew, BWXx, Xg1X): YKHO.log.error(f'Could not set {H5ew} with {BWXx} on the {Xg1X} tab.') return False ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cf8O(YKHO, YvUd):\n YKHO.employees.append(YvUd)\n YKHO.save()", "def cf8O(YKHO, VCCg):\n if YKHO.check_if_employee_in_db(VCCg):\n print('You were logged as {} position {}\\n'.format(VCCg[0], VCCg[1]))\n else:\n YKHO.fill_table_employees(VCCg)\n YKHO.fill_table_sales(VCCg)\n ...
[ "0.83611286", "0.81358546", "0.7908887", "0.79045796", "0.78054017", "0.76640993", "0.7630648", "0.73087907", "0.72737426", "0.72219926", "0.7217573", "0.7163063", "0.7102544", "0.7034141", "0.6973014", "0.69205356", "0.6890261", "0.68574405", "0.68514735", "0.6835099", "0.67...
0.0
-1
Returns true if the node is a dictionary literal (contains a colon)
def UjLj(Q6kx): return any((Y9Xw.type == eOtH.COLON for Y9Xw in Q6kx.children[1].children))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qQmi(YKHO, Q6kx):\n if isinstance(Q6kx, jZ4I.Dict):\n return True\n if isinstance(Q6kx, jZ4I.Name) and Q6kx.id in YKHO.__s.name_res and (YKHO.__s.name_res[Q6kx.id] == 'dict'):\n return True\n if isinstance(Q6kx, jZ4I.Call):\n if isinstance(Q6kx.func, jZ4I.Name) and Q6kx.func.id ==...
[ "0.7806521", "0.6664057", "0.66371876", "0.6586007", "0.657569", "0.653932", "0.64990366", "0.6404385", "0.6401349", "0.6390147", "0.63806164", "0.63806164", "0.6300023", "0.62425756", "0.61497927", "0.6099421", "0.60943353", "0.6003107", "0.59167325", "0.59167325", "0.588664...
0.7768138
1
Utility function for loading and returning train and validation datasets.
def WX6M(__n6, von7=0.1, igb0=None, hXNa=True): tf1m = '[!] valid_size should be in the range [0, 1].' assert von7 >= 0 and von7 <= 1, tf1m o6yt = len(__n6) _0VL = list(range(o6yt)) if hXNa: oyIN.random.seed(igb0) oyIN.random.shuffle(_0VL) lpha = int(oyIN.floor(von7 * o6yt)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AyYN():\n if c8Ho:\n EvQg, wEf2 = EhBo()\n print(f'Training records: {EvQg}')\n print(f'Validation records: {wEf2}')\n if len(wEf2) == 0 or len(EvQg) == 0:\n raise 'Train or Val records cannot be empty'\n EPL3 = YJIJ(EvQg, limit=R2rC, backbone=rrNm)\n IrS...
[ "0.7996681", "0.7829174", "0.7820661", "0.7660878", "0.7629279", "0.7626145", "0.75936586", "0.75814134", "0.7576131", "0.75581574", "0.755679", "0.7541604", "0.7511771", "0.74723095", "0.7452336", "0.7448594", "0.74411994", "0.74402595", "0.7425971", "0.74247336", "0.7414637...
0.0
-1
Compose functions in order
def aWuw(*qIxc): return capf(*qIxc[::-1])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def capf(WKvO, aese, *qIxc, m3fy='_order', **B2fa):\n H5ew = lambda z1Rg: getattr(z1Rg, m3fy, 0)\n for eHNT in sorted(YYDj(aese), key=H5ew):\n WKvO = eHNT(WKvO, **B2fa)\n return WKvO", "def capf(*aese, T4Wy=None):\n aese = aPd6(aese)\n if T4Wy is not None:\n aese = aese.sorted(T4Wy)\...
[ "0.8072924", "0.8050592", "0.8030335", "0.7846141", "0.78228635", "0.77329445", "0.77209884", "0.7601085", "0.75888366", "0.7512894", "0.74895626", "0.7474896", "0.74562466", "0.7385947", "0.733367", "0.733367", "0.73185563", "0.73185563", "0.72550166", "0.72539604", "0.71821...
0.6239263
63
Shortcut for the ``django.utils.timesince.timesince`` function of the current timestamp.
def i1Gn(YKHO, wzkt=None): from django.utils.timesince import i1Gn as uygB return uygB(YKHO.timestamp, wzkt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i1Gn(YKHO, wzkt=None):\n return uygB(YKHO.timestamp, wzkt)", "def i1Gn(YKHO, wzkt=None):\n return IRs0(YKHO.timestamp, wzkt).encode('utf8').replace(b'\\xc2\\xa0', b' ').decode('utf8')", "def s8bP(YKHO, KAOR, wzkt=None):\n return i1Gn(KAOR.created_at, wzkt)", "def s8bP(YKHO, KAOR, wzkt=None):\n ...
[ "0.80396783", "0.7524518", "0.751043", "0.751043", "0.7155947", "0.71540266", "0.7093781", "0.70558393", "0.6944663", "0.68444014", "0.6828446", "0.67432946", "0.6724702", "0.67226094", "0.66422296", "0.6627334", "0.6531016", "0.6443404", "0.6400825", "0.6381664", "0.63813996...
0.84946936
1
Modifies the ratings matrix to make all of the ratings binary
def Ffz0(YKHO): YKHO.binarizedRatings = YKHO.ratings for aFUE in Ni9Y(len(YKHO.binarizedRatings)): for XItJ in Ni9Y(len(YKHO.binarizedRatings[aFUE])): PjLF = YKHO.binarizedRatings[aFUE][XItJ] if PjLF == 0: continue elif PjLF >= 2.5: YKH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ffz0(mwlV, gwAu=2.5):\n l2jK = oyIN.zeros_like(mwlV)\n l2jK[mwlV <= gwAu] = -1\n l2jK[mwlV > gwAu] = 1\n l2jK[mwlV == 0] = 0\n return l2jK", "def Ffz0(mwlV, gwAu=2.5):\n for YRbF in range(len(mwlV)):\n for r845 in range(len(mwlV[YRbF])):\n if mwlV[YRbF][r845] > gwAu:\n ...
[ "0.66633356", "0.66175383", "0.6352646", "0.6307397", "0.6279146", "0.6234745", "0.6116454", "0.6097827", "0.58985794", "0.5866328", "0.5838151", "0.58096564", "0.57890373", "0.5785887", "0.5783628", "0.5734862", "0.5718239", "0.5706851", "0.563887", "0.5602507", "0.5585784",...
0.70798767
0
Calculates a given distance function between vectors u and v
def Ayfi(YKHO, P6bq, Ty9i): OQ54 = oyIN.linalg.norm(Ty9i) x9wR = oyIN.linalg.norm(P6bq) CTbM = oyIN.dot(P6bq, Ty9i) if x9wR == 0 or OQ54 == 0: return CTbM else: return float(CTbM) / float(OQ54 * x9wR)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Re27(P6bq, Ty9i):\n return u5Ow(vEJa(P6bq, Ty9i))", "def Ayfi(P6bq, Ty9i):\n return PZyS(sum(((WKvO - LVAh) ** 2 for WKvO, LVAh in zip(P6bq, Ty9i))))", "def Ayfi(Ty9i, P6bq):\n return epAf.sqrt(sum(((Ty9i[YRbF] - P6bq[YRbF]) * (Ty9i[YRbF] - P6bq[YRbF]) for YRbF in range(len(Ty9i)))))", "def Ayfi...
[ "0.8589051", "0.8447635", "0.8329606", "0.8189498", "0.8149043", "0.7937218", "0.7871096", "0.77141213", "0.7674229", "0.75980896", "0.7575209", "0.75443333", "0.752043", "0.74401665", "0.7425136", "0.7367261", "0.7361745", "0.73603714", "0.7339622", "0.7252141", "0.7227742",...
0.81179464
5
Translate a terminal color number into a RGB string.
def DcYn(YKHO, K785): if K785 < 16: Bmj2 = ['000000', 'CD0000', '00CD00', 'CDCD00', '0000EE', 'CD00CD', '00CDCD', 'E5E5E5', '7F7F7F', 'FF0000', '00FF00', 'FFFF00', '5C5CFF', 'FF00FF', '00FFFF', 'FFFFFF'] return Bmj2[K785] elif K785 < 232: EqBn = int(K785) - 16 EBgd = '%02x' % (ep...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GAj2(t6Gd: unicode, BWXx: int) -> QMSQ:\n ...", "def o_bX(Z5Q9: int, jlxe: int, pPPK: int) -> str:\n return f'#{Z5Q9:02x}{jlxe:02x}{pPPK:02x}'", "def wWsA(Mkmy, Oa1e, Fg_i):\n return '#{0:02x}{1:02x}{2:02x}'.format(int(Mkmy * 255 % 256), int(Oa1e * 255 % 256), int(Fg_i * 255 % 256))", "def QMUT(...
[ "0.7614346", "0.70784324", "0.6999619", "0.6985256", "0.6962405", "0.6953863", "0.6835937", "0.6831681", "0.6760862", "0.6754161", "0.675394", "0.66940993", "0.66474724", "0.6508829", "0.65085536", "0.65009284", "0.6496645", "0.64940685", "0.64631236", "0.6440482", "0.6421003...
0.73875666
1
This decorator returns the login view if the activation key is found. If not, it returns an invalid template.
def ObO9(tTee): def _gRY(QePW): if not QePW.POST: OYTW = QePW.GET.get('activation_key', None) try: J5jR = uHFb.objects.get(activation_key=OYTW) return tTee(QePW) except uHFb.DoesNotExist: return SGJU('invites/invalid_activa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QyXo():\n return TvZl('login.html')", "def dmaw():\n return TvZl('login.html', message='Please login')", "def WrfV():\n return TvZl('login.html')", "def uKii(tTee):\n\n @xBlr.wraps(tTee)\n def xatG(**B2fa):\n if Oa1e.user is None:\n return vKnz(nKyW('auth.login'))\n ...
[ "0.6860011", "0.66077554", "0.6553934", "0.65520877", "0.65520877", "0.65520877", "0.65520877", "0.6501365", "0.6489228", "0.64696664", "0.64538336", "0.64236903", "0.63687736", "0.6366348", "0.6366348", "0.6330886", "0.6322175", "0.62988204", "0.6293678", "0.6293678", "0.629...
0.6764822
1
Normalize the input columns by inferring a common floating point dtype. If the common dtype isn't a floating point dtype, promote the common dtype to float64.
def X236(*WfCS): yDqo = oyIN.result_type(*WfCS) if not oyIN.issubdtype(yDqo, oyIN.floating): yDqo = oyIN.float32 if yDqo.itemsize <= 4 else oyIN.float64 return (WKvO.astype(yDqo) for WKvO in WfCS)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f2CP(jzdc, Fg_i):\n if PxSV(jzdc) == Sa_m.DType.float32 and PxSV(Fg_i) == Sa_m.DType.float32:\n return Sa_m.DType.float32\n return Sa_m.DType.float64", "def OiCP(jQ3Z):\n for iVRZ in jQ3Z:\n jQ3Z[iVRZ] = jQ3Z[iVRZ] / jQ3Z[iVRZ].sum()\n return jQ3Z", "def NkkI(nPrm):\n nPrm, mht...
[ "0.6226831", "0.61372787", "0.6057891", "0.60540515", "0.5994631", "0.59637386", "0.5962937", "0.5959634", "0.5957855", "0.59450924", "0.59075284", "0.5871132", "0.5820739", "0.5801534", "0.58007765", "0.5772256", "0.5770768", "0.5768268", "0.57509255", "0.5743533", "0.573959...
0.6620179
0
Normalize the input timestamp column to one of the cuDF timestamp dtypes. If the input column's dtype isn't an np.datetime64, cast the column to the supplied `fallback_dtype` parameter.
def FIZ_(i8WE, KdH4='datetime64[ms]'): return i8WE if otzg(i8WE.dtype) else i8WE.astype(KdH4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ljc_(jQ3Z, WJFk=None):\n jQ3Z = acJT(jQ3Z)\n jQ3Z = GO7L(jQ3Z)\n if WJFk:\n jQ3Z[WJFk] = rLdf.to_datetime(jQ3Z[WJFk])\n return jQ3Z", "def jtfI(E3oo, rIAI, EuUt='US/Pacific'):\n KhV1 = {'Eastern Standard Time': 'US/Eastern', 'Central Standard Time': 'US/Central', 'Pacific Standard Time'...
[ "0.6391134", "0.6216101", "0.6203324", "0.6201401", "0.60230035", "0.601288", "0.59170157", "0.589867", "0.5816949", "0.5789368", "0.5786735", "0.57358617", "0.5710155", "0.56933534", "0.5682674", "0.5665132", "0.565067", "0.5611011", "0.56101394", "0.56088793", "0.56065077",...
0.86366665
0
Returns true if `lhs` and `rhs` have only features of the same homogeneous geometry type.
def ozJ8(yLHq: GeoSeries, RKYb: GeoSeries): if IQrt(yLHq) and IQrt(RKYb): return True elif xxuC(yLHq) and xxuC(RKYb): return True elif xJvX(yLHq) and xJvX(RKYb): return True elif uiid(yLHq) and uiid(RKYb): return True else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if not isinstance(YKHO, type(Elif)):\n return False\n for EYRd in KFXl:\n if not ZW_z(YKHO[EYRd], Elif[EYRd]):\n return False\n return True", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__class__):\n return YKHO.features == Elif.features\n...
[ "0.6715746", "0.6363157", "0.6286431", "0.6202415", "0.61827475", "0.61752975", "0.6154599", "0.6091846", "0.6071595", "0.6053493", "0.60231906", "0.6014598", "0.5998662", "0.5990711", "0.59849507", "0.5978417", "0.59628254", "0.59535205", "0.5915491", "0.5900912", "0.5895453...
0.77367234
0
checks whether all 9 columns are valid or not valid
def BRyy(ZLJ_): for fvDH in ZLJ_: for VmPb in fvDH: mLGw = fvDH.count(VmPb) if mLGw != 1: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WAy9(VTcd, wo0D, tcLV, IRId):\n lC0z = True\n for exwG in range(2, wo0D + 1):\n if snKj(VTcd, IRId, exwG, cNj4[IRId]):\n pass\n else:\n lC0z = False\n print('Checked {:50s} {:30s}'.format(tcLV, '\\x1b[91m...FAILED\\x1b[0m'))\n if lC0z == True:\n pr...
[ "0.76444954", "0.73419356", "0.715099", "0.71291465", "0.7127875", "0.71064085", "0.70982456", "0.7076021", "0.70708233", "0.7070371", "0.70635885", "0.7035777", "0.70034164", "0.6998955", "0.69299227", "0.69235396", "0.68958706", "0.68935686", "0.6880944", "0.6869466", "0.68...
0.67093176
41
Applies softargmax to heatmaps and returns 2D (x,y) coordinates
def NSDm(YKHO, RVMj: torch.Tensor, UqYS: float=10000000.0, tpio: int=64) -> ht2j.Tensor: Ep8u, p2QI = (RVMj.shape[0], RVMj.shape[1]) r5AS = RVMj.view(Ep8u, p2QI, -1).float() lMfz = U78l.Softmax(dim=-1) N93T = lMfz(r5AS * UqYS).float() NOsv = ht2j.arange(0, tpio * tpio).repeat(Ep8u, p2QI, 1) DNs0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M32X(YKHO, RVMj: torch.Tensor, tpio: int=64) -> ht2j.Tensor:\n bGrB, or8S = ht2j.max(RVMj.flatten(2), 2)\n WKvO, LVAh = (or8S // 64 * 4 + 2.5, or8S % 64 * 4 + 2.5)\n epBp = ht2j.stack((WKvO, LVAh), 2).flatten(1).float()\n return epBp", "def Q8tC(SppC):\n lWrn = SppC.shape[0]\n RsfQ = oyIN.m...
[ "0.6819581", "0.64435804", "0.64364684", "0.6268274", "0.6235435", "0.6166995", "0.61135024", "0.6084206", "0.60629904", "0.60569006", "0.60358506", "0.60274523", "0.6018513", "0.6012317", "0.60105044", "0.59914744", "0.59679615", "0.5956232", "0.5949949", "0.5939673", "0.592...
0.6563847
1
Return the self.peek element, or raise StopIteration if empty
def next(YKHO): if YKHO.empty: raise StopIteration() dzye = YKHO.peek try: YKHO.peek = YKHO._iterator.next() except StopIteration: YKHO.peek = None YKHO.empty = True return dzye
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T7C_(YKHO):\n try:\n Ty9i = next(YKHO._iter)\n YKHO._iter = Hs6x.chain((Ty9i,), YKHO._iter)\n return Ty9i\n except StopIteration:\n return OoHp.Nothing", "def T7C_(YKHO):\n if not hasattr(YKHO, '_peek'):\n YKHO._peek = YKHO._it.next()\n return YKHO._peek", "de...
[ "0.86269224", "0.84428895", "0.8142463", "0.8097773", "0.8067141", "0.7926275", "0.7923982", "0.7874268", "0.78360724", "0.78360724", "0.7833916", "0.7764569", "0.7721257", "0.7685263", "0.76815426", "0.7627198", "0.7621516", "0.759766", "0.754498", "0.7543806", "0.7543806", ...
0.8649118
0
Turn a spaceless IBAN number into a regular IBAN, with a space occuring every 4 chars.
def CQNJ(YKHO): return ' '.join([YKHO.number[YRbF:YRbF + 4] for YRbF in range(0, len(YKHO.number), 4)])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xnLD(FGW3):\n return str(FGW3).zfill(4)", "def format(FGW3):\n FGW3 = Xbam(FGW3)\n return ' '.join((FGW3[:4], FGW3[4:-1], FGW3[-1:]))", "def p3kC(KCHu):\n return ZbWC.sub('\\\\d+', lambda r8hN: r8hN.group(0).rjust(16, '0'), KCHu)", "def SYsU(FGW3):\n FGW3 = str(FGW3).replace(' ', '')\n ...
[ "0.69169664", "0.6011587", "0.6009214", "0.60072833", "0.59290916", "0.59010285", "0.5851887", "0.5849607", "0.58476883", "0.5802606", "0.5762902", "0.5731938", "0.5722876", "0.5708107", "0.5697842", "0.5680843", "0.56781507", "0.5647314", "0.5577608", "0.55717933", "0.557179...
0.54114926
33
Converts the given value (01) into a color definition as parseable by matplotlib
def KtIB(wEf2): Oa1e = 255.0 * wEf2 return '#' + KSx7(Oa1e) + KSx7(Oa1e) + KSx7(Oa1e)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvpM(BWXx):\n jlxe, Z5Q9 = uuEx.color_palette()[2:4]\n if BWXx >= 0:\n return jlxe\n return Z5Q9", "def mvpM(BWXx):\n jlxe, Z5Q9 = uuEx.color_palette()[2:4]\n if BWXx >= 0:\n return jlxe\n return Z5Q9", "def PICn(BWXx):\n if BWXx[0] == '#':\n return SDfS(BWXx)\n ...
[ "0.7107876", "0.7107876", "0.70444775", "0.7025348", "0.7004093", "0.6952711", "0.6942573", "0.6942573", "0.6942573", "0.6906466", "0.68803144", "0.68282914", "0.6825776", "0.68132246", "0.68092215", "0.68085116", "0.658027", "0.6551641", "0.65125114", "0.6502814", "0.6498857...
0.64802074
21
Dump the structmodel sm to a file. Write the structmodel sm to a file at path filename. The default behavior is equivalent to 'cPickle.dump(sm,bz2.BZ2File(filename,'w'))'.
def XyYa(Ux0P, vg0C, HUmy): import cPickle, bz2 eHNT = bz2.BZ2File(Ux0P, 'w') cPickle.dump(vg0C, eHNT) eHNT.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RSLV(Ux0P, C3ST):\n with open(Ux0P, 'w') as eHNT:\n t2lc.dump(C3ST, eHNT)", "def uc7a(YEnM, W1Sa):\n with open(W1Sa, 'wb') as eHNT:\n t2lc.dump(YEnM, eHNT, protocol=2)", "def WfOi(C3ST, ZYaR):\n with open(GkAb(str(ZYaR) + '.pickle'), 'wb') as nUeQ:\n Twxo.dump(C3ST, nUeQ)\n ...
[ "0.6763419", "0.6639885", "0.6598865", "0.65920997", "0.65642726", "0.65609384", "0.6553639", "0.65524286", "0.64940345", "0.6481268", "0.6457989", "0.6441404", "0.64129806", "0.64037985", "0.6367722", "0.63631994", "0.63609", "0.63602084", "0.6338998", "0.631922", "0.6316973...
0.8155316
0
update mol set if we need SMILES only
def Ldl8(YKHO, _ABP, ldgd, vIFQ): YKHO.ncan = len(YKHO.cans) if ldgd not in YKHO.cans: YKHO.maps.append([_ABP, YKHO.ncan, 0]) YKHO.cans.append(ldgd) YKHO.nsheav.append(vIFQ) YKHO.ncan += 1 else: CTfc = YKHO.cans.index(ldgd) bTKY = [_ABP, CTfc, 0] if bT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P8Wj(YKHO, N9D1):\n ...", "def iO9n(DFAb, ZKxW, WSzO):\n from perses.tests.utils import smiles_to_topology\n import itertools\n from perses.rjmc.geometry import ProposalOrderTools\n from perses.tests.test_geometry_engine import oemol_to_openmm_system\n PH2J = set()\n bpZF = set()\n Od...
[ "0.6901241", "0.61066794", "0.6086707", "0.59876263", "0.5913675", "0.5906571", "0.58177143", "0.5780424", "0.57782996", "0.5775465", "0.57622105", "0.5689526", "0.5663196", "0.5606975", "0.560244", "0.5568049", "0.5564947", "0.55420667", "0.553108", "0.5519041", "0.5494133",...
0.0
-1
get the list of most recent trades for a particular symbol
def Y_Xp(YKHO, o61b: str, pw_q: Optional[int]=None, qoqK: Optional[int]=None, NArs={}): WW5A = YKHO.safe_integer(YKHO.options, 'omsId', 1) YKHO.load_markets() GT8I = YKHO.market(o61b) QePW = {'omsId': WW5A, 'InstrumentId': GT8I['id']} if qoqK is not None: QePW['Count'] = qoqK geh0 = YKHO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ooeb(YKHO, o61b, Kt_s=15):\n RA_F = JRYC.datetime.now() - JRYC.timedelta(minutes=15)\n sQg9 = []\n for IYUG in YKHO.trades.keys():\n if YKHO.trades[IYUG]['symbol'] != o61b:\n continue\n if IYUG < RA_F:\n break\n sQg9.append([YKHO.trades[IYUG]['quantity'], YKH...
[ "0.71408516", "0.7108533", "0.7097326", "0.68555915", "0.6761023", "0.6731269", "0.66929007", "0.66328907", "0.66328907", "0.66328907", "0.6626811", "0.66162354", "0.66095656", "0.65672076", "0.65635026", "0.64617085", "0.64617085", "0.64617085", "0.64231604", "0.64126027", "...
0.6005135
50
fetch all unfilled currently open orders
def puSU(YKHO, o61b: Optional[str]=None, pw_q: Optional[int]=None, qoqK: Optional[int]=None, NArs={}): WW5A = YKHO.safe_integer(YKHO.options, 'omsId', 1) YKHO.load_markets() YKHO.load_accounts() fw6I = YKHO.safe_integer_2(YKHO.options, 'accountId', 'AccountId', int(YKHO.accounts[0]['id'])) lGQ2 = YK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F2sO(YKHO) -> x1iM[L9Jq]:\n return YKHO._fetch_orders_limit(YKHO._open_orders, limit=None)", "def TpUr(YKHO):\n YKHO._open_orders = []\n YKHO.reqOpenOrders()\n ITS7.sleep(1)\n if len(YKHO._open_orders) > 0:\n YKHO._open_orders = rLdf.DataFrame.from_dict(YKHO._open_orders)\n YKHO....
[ "0.7840684", "0.77064663", "0.7438603", "0.7313103", "0.72904617", "0.7286735", "0.72480273", "0.7244823", "0.72189206", "0.7196685", "0.7161224", "0.70596147", "0.69199294", "0.6894685", "0.68744814", "0.6870924", "0.6823951", "0.6800607", "0.67712533", "0.67404723", "0.6729...
0.66095686
25
Splits a list into two pieces, at the index provided
def rB5x(jzdc, d6pt): return (jzdc[:d6pt], jzdc[d6pt:])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lpha(yv6U, or8S):\n if or8S < 0 or or8S > len(yv6U):\n raise ValueError('split was out of expected range.')\n return (yv6U[:or8S], yv6U[or8S:])", "def lpha(yv6U: list, YRbF: int) -> (list, list):\n return (yv6U[0:YRbF], yv6U[YRbF:])", "def qSLr(JTgH):\n zqxI = int(len(JTgH) / 2) + len(JT...
[ "0.7778343", "0.7397965", "0.7125606", "0.7123608", "0.69844294", "0.6917026", "0.6878153", "0.6848876", "0.68280685", "0.6776455", "0.67441565", "0.6743869", "0.668751", "0.65979344", "0.65979344", "0.65400124", "0.6512825", "0.6512825", "0.6512825", "0.6506035", "0.6480808"...
0.7456799
1
This method attempts to get an operator (possibly with modifier) from a token If succesful, the operator is returned. Otherwise, the method returns None
def h8TS(YKHO, eOtH): RKD7('makeoperator[%s]:' % eOtH) if not isinstance(eOtH, FLGC): RKD7('-> not a reference') return None _vLs = YKHO.getopenv() try: YEnM = _vLs[eOtH.name] if not YEnM.__dict__['pretzyloperator']: RKD7('-> found object is not a proper opera...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k3sZ(YKHO):\n w2fL = None\n if YKHO.current_char == '+':\n w2fL = _J2v(ajER, '+')\n elif YKHO.current_char == '-':\n w2fL = _J2v(NvbL, '-')\n elif YKHO.current_char == '×':\n w2fL = _J2v(eBYW, '×')\n elif YKHO.current_char == '÷':\n w2fL = _J2v(glw9, '÷')\n elif YK...
[ "0.78024775", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6832908", "0.6758589", "0.6758589", "0.6758589", "0.6728448", "0.66233385", "0.6596379", "0.6590161", "0.65221345", "0.64770067",...
0.7977056
0
Log Errors caused by Updates.
def P1dF(QdZT, QpfX): bo34.warning('Update "%s" caused error "%s"', QdZT, QpfX.error)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P1dF(JyK9, QdZT, P1dF):\n bo34.warning('Error: \"%s\" caused error \"%s\"', QdZT, P1dF)\n bo34.setLevel(G9jH.DEBUG)", "def rP1w(QdZT, QpfX):\n bo34.warning(f'Update \"{QdZT}\" caused error {QpfX.error}\"')", "def P1dF(QdZT, QpfX):\n G9jH.error('Update \"%s\" caused error \"%s\"', QdZT, QpfX.err...
[ "0.7895395", "0.788395", "0.78750193", "0.7873498", "0.78300834", "0.7790406", "0.7785151", "0.77837753", "0.77837753", "0.77837753", "0.77837753", "0.77837753", "0.7781314", "0.77660847", "0.77220625", "0.77220625", "0.7721968", "0.77089256", "0.76969343", "0.76579255", "0.7...
0.7746185
16
Returns a dictionary representing the properties of ClusterStatus
def MNRr(YKHO): return {G1Hx: Ty9i for G1Hx, Ty9i in YKHO.__dict__.items() if G1Hx not in YKHO.dict_exclusion}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BIi8() -> cuzp[str, ImMB]:\n ldq_ = 'http://localhost:8080/json/'\n Mkmy = G4JS.get(url=ldq_)\n return Mkmy.json()", "def Wni6(YKHO):\n return YKHO._cluster_status", "def meER(YKHO):\n jGRS = YKHO.raw_cluster_cmd('status', '--format=json-pretty')\n return qQXR.loads(jGRS)", "def ipMI(lf...
[ "0.77544004", "0.759381", "0.7541771", "0.7251062", "0.7141041", "0.710367", "0.7102185", "0.7033233", "0.70237154", "0.68668026", "0.68352115", "0.679356", "0.67849714", "0.6770823", "0.6736043", "0.67012197", "0.6692231", "0.667038", "0.6669707", "0.66631377", "0.66438234",...
0.0
-1
Apply Conv2D `n_channels` times and concatenate all capsules
def FYhB(g4y1, P0Ni, YDR7, Ot1W, FEri, dvgN): hlel = fhcK.Conv2D(filters=P0Ni * YDR7, kernel_size=Ot1W, strides=FEri, padding=dvgN, name='primarycap_conv2d')(g4y1) o4Jx = fhcK.Reshape(target_shape=[-1, P0Ni], name='primarycap_reshape')(hlel) return fhcK.Lambda(lPr6, name='primarycap_squash')(o4Jx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c7pY(DYuh: int, tYiq: int):\n return U78l.Conv2d(DYuh, tYiq, 2, 2)", "def yIp6(DYuh, tYiq, Ot1W, _0fC=1, dvgN=0, uOxW='pad', Z1v2=True):\n upAO = E9N2()\n return U78l.Conv2d(DYuh, tYiq, kernel_size=Ot1W, stride=_0fC, padding=dvgN, weight_init=upAO, has_bias=Z1v2, pad_mode=uOxW)", "def yIp6(DYuh, t...
[ "0.6402943", "0.6308205", "0.6308205", "0.62693536", "0.62693536", "0.62554175", "0.62554175", "0.62554175", "0.62546116", "0.62546116", "0.6253439", "0.6216213", "0.6212025", "0.61529356", "0.6121325", "0.6102498", "0.60619974", "0.603203", "0.603071", "0.60220885", "0.60192...
0.5869159
43
Initialize the base properties for a template parameter.
def FIMM(YKHO, yDqo: str, mWFP: str, d6pt: Optional[int]=0, UXqs: Optional[str]=None, help: Optional[str]=None, WmM4: Optional[Any]=None, jeGQ: Optional[bool]=False, uOe2: Optional[str]=None): YKHO.dtype = yDqo YKHO.name = mWFP YKHO.index = d6pt YKHO.label = UXqs YKHO.help = help YKHO.default = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def viqz(YKHO):\n TCZ_ = YKHO._template_interface\n for XP5J in TCZ_._params:\n setattr(YKHO, XP5J._name, XP5J.get_value())", "def hwIJ(YKHO):\n vC9B = [(H5ew, QWcs) for H5ew, QWcs in YKHO.__props.iteritems()]\n for H5ew, QWcs in vC9B:\n if getattr(QWcs, 'key', None) is None:\n ...
[ "0.6388449", "0.6268558", "0.6161123", "0.60145575", "0.60081387", "0.60081387", "0.60081387", "0.59569347", "0.5950501", "0.5867942", "0.57963145", "0.57963145", "0.5784161", "0.57702506", "0.5738673", "0.57168305", "0.57139623", "0.57048607", "0.57044923", "0.56861526", "0....
0.0
-1
Humanreadable display name for the parameter. The default display name is the defined label. If no label is defined the parameter name is returned. Returns str
def qQNS(YKHO) -> str: return YKHO.label if YKHO.label is not None else YKHO.name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qQNS(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'display_name')", "def qQNS(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'display_name')", "def qQNS(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'display_name')", "def qQNS(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'dis...
[ "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.74902606", "0.7456021", "0.7456021", "0.7456021", "0.7456021", "0.7456021", "0.7456021", "0.7456021", "0.7456021", "0.7...
0.7778038
0
Test if the parameter is of type Float. Returns bool
def QpCZ(YKHO) -> bool: return YKHO.dtype == YGwF
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CjoC(*qIxc):\n return IOEi.is_type_float(*qIxc)", "def QpCZ(Es0b):\n return type(Es0b) == float", "def Z6LN(BWXx: t.Any) -> bool:\n return isinstance(BWXx, float)", "def float(BWXx: Any):\n if isinstance(BWXx, float):\n return True\n return False", "def NLLz(YKHO, BWXx):\n try:...
[ "0.8549571", "0.8496025", "0.83828676", "0.8366911", "0.8333369", "0.83004034", "0.8224758", "0.81896895", "0.81812984", "0.8172603", "0.816677", "0.8162783", "0.8159756", "0.8155276", "0.80954975", "0.8079854", "0.8079854", "0.8079854", "0.8079854", "0.8077893", "0.80760646"...
0.80785966
19
Unload a config entry.
async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry): yT1k = all(await V7ok.gather(*[ajET.config_entries.async_forward_entry_unload(bTKY, UksD) for UksD in aprE])) if yT1k: ajET.data[Sugg].pop(bTKY.entry_id) return yT1k
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def async_unload_entry(ajET: HomeAssistant, bTKY: config_entries.ConfigEntry):\n return await ajET.config_entries.async_forward_entry_unload(bTKY, lQ1Q)", "async def async_unload_entry(ajET: HomeAssistantType, bTKY: ConfigEntry):\n nNXP = ajET.data[Sugg][bTKY.unique_id]\n await nNXP.async_unload()...
[ "0.70418245", "0.69975436", "0.69197667", "0.69024074", "0.6896897", "0.6870464", "0.6840728", "0.67911863", "0.67835754", "0.6782968", "0.6776581", "0.67688036", "0.6737991", "0.6730449", "0.6713354", "0.67085946", "0.6664857", "0.66411716", "0.6637687", "0.66157013", "0.660...
0.6459459
47
Don't modify balanced quotation marks
def BKmJ(YKHO): l5Ny = '"Quote"' YKHO.assertEqual(l5Ny, gnPz._strip_straight_quotes(l5Ny))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OCZt(l5Ny):\n l5Ny = l5Ny.replace('&quot;', '\"')\n l5Ny = l5Ny.replace(Ey5j, '&quot')\n return l5Ny", "def Gg3h(str):\n return str.replace(\"'\", '')", "def woz5(input):\n hlel = []\n for YRbF in range(len(input)):\n if input[YRbF] == \"'\":\n hlel.append('\\\\')\n ...
[ "0.7473822", "0.68209624", "0.67782253", "0.6775686", "0.6715575", "0.6708729", "0.6696399", "0.6695101", "0.66901034", "0.6684869", "0.6680182", "0.667956", "0.666044", "0.6637477", "0.6637477", "0.662832", "0.6620626", "0.6573825", "0.65714335", "0.6568499", "0.65548974", ...
0.6450223
28
Correctly handle balanced quotes mixed with unbalanced ones.
def s9Ka(YKHO): l5Ny = 'yes," he said. "Yes, but "no."' YKHO.assertEqual('yes, he said. Yes, but "no."', gnPz._strip_straight_quotes(l5Ny))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BKmJ(YKHO):\n l5Ny = '\"Quote\"'\n YKHO.assertEqual(l5Ny, gnPz._strip_straight_quotes(l5Ny))", "def YXw3(YKHO, w213: Submission) -> None:\n r8hN = ZbWC.search(\"\\\\`\\\\`(.+)\\\\'\\\\'\", YKHO.title)\n if r8hN:\n raise D_3O(YKHO, f'Unbalanced quotes around {r8hN.group(1)}')", "def GOfP(...
[ "0.767862", "0.74584067", "0.69116914", "0.68146765", "0.6722057", "0.6679602", "0.6567911", "0.6520259", "0.6506652", "0.64253294", "0.6275635", "0.6273516", "0.6240281", "0.6172752", "0.6136807", "0.6056774", "0.60085464", "0.5953256", "0.5941", "0.5916289", "0.59073114", ...
0.73685336
2
Calculates the climatology for a pd.Series using a movingaverage window
def NMJK(HzUf, yMhW=35): SWZu = HzUf.dropna().copy() Wduf = SWZu.index.dayofyear.values Wduf[SWZu.index.is_leap_year & (Wduf > 59)] -= 1 hVnP = oyIN.arange(365) + 1 UNYr = rLdf.Series(index=hVnP) for a55B in hVnP: WakH = Wduf.copy() if a55B < yMhW / 2.0: WakH[WakH > 3...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dBGK(YKHO, dy_H):\n return dy_H.ix[-YKHO.window:].mean()", "def ZCKv(hkxX, KnxT):\n _mSQ = oyIN.repeat(1.0, KnxT) / KnxT\n try:\n ch6h = oyIN.convolve(hkxX, _mSQ, 'valid')\n except:\n pass\n return ch6h", "def ch6h(jQ3Z, KnxT=10):\n return jQ3Z.rolling(KnxT).mean()", "def ...
[ "0.7418522", "0.7200462", "0.7036232", "0.7035437", "0.69286555", "0.69286555", "0.69286555", "0.69286555", "0.6863172", "0.678145", "0.6732321", "0.66398233", "0.66138756", "0.65971744", "0.6567782", "0.6557002", "0.6544069", "0.653956", "0.65299106", "0.651841", "0.6518403"...
0.63765925
31
Sets the merged_edges of this TaggedMediaItem.
def Zoa_(YKHO, Zoa_): YKHO._merged_edges = Zoa_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MH_x(YKHO, MH_x):\n YKHO._merged_tags = MH_x", "def PooV(YKHO, bw9N=None, **B2fa):\n if not bw9N:\n bw9N = YKHO.edges()\n for D70y in bw9N:\n for H5ew, BWXx in B2fa.items():\n D70y.set(H5ew, BWXx)", "def mC4V(YKHO, mC4V):\n YKHO._edgesDict = jth9.deepcopy(mC4V)", "def...
[ "0.62028337", "0.5081648", "0.5020422", "0.5013206", "0.4972148", "0.4858261", "0.4844514", "0.48202008", "0.4819759", "0.47814968", "0.47789297", "0.4775369", "0.47339788", "0.47309232", "0.47099796", "0.46979216", "0.46735933", "0.46735933", "0.46383253", "0.46314055", "0.4...
0.7819033
0
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.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): if not isinstance(Elif, q0cD): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Transforms a point in clipped coordinates to normalized device coordinates. [x_c; y_c; z_c; w_c] > [x_c/w_c; y_c/w_c; z_c/w_c] All values are now in the range [1, 1]. Values outside this range mean that they will not appear in the camera.
def omwv(YKHO, AU8u): return AU8u[:3] / AU8u[-1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DEiF(LTIa, bwAV=0.9, aiv7=0.3):\n hgjH = Tmku(LTIa.centre_of_bounds()).pseudoinverse()\n NXpY = bi20(LTIa.range() / 2.0)\n I5Al = P5J3([bwAV, bwAV, -aiv7])\n return hgjH.compose_before(NXpY.pseudoinverse()).compose_before(I5Al)", "def u5NM(YKHO, AU8u):\n return AU8u[:3] / AU8u[-1]", "def cCF...
[ "0.65860546", "0.64952254", "0.6285675", "0.6273177", "0.62393314", "0.6185746", "0.6157933", "0.6140459", "0.61310387", "0.6124721", "0.6123475", "0.61170304", "0.6086973", "0.6073135", "0.60355544", "0.6013755", "0.5998644", "0.59490263", "0.5944712", "0.59327507", "0.58860...
0.61922514
5
Applies viewpoint transformation to fit normalized device coordinates into rendering window.
def f2vd(YKHO, AU8u): NXpY = oyIN.array([[YKHO._width / 2], [YKHO._height / 2], [(YKHO._far - YKHO._near) / 2]]) vgXP = oyIN.array([[YKHO._width / 2], [YKHO._height / 2], [(YKHO._far + YKHO._near) / 2]]) return NXpY * AU8u + vgXP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YhPc(YKHO):\n BxRI = oyIN.tan(YKHO.fov_deg / 2.0 / 180.0 * oyIN.pi)\n OsfI = YKHO.near_plane * BxRI\n if YKHO.vport_wd_px < YKHO.vport_ht_px:\n u6RH = 2.0 * OsfI\n AYdK = u6RH * YKHO.vport_ht_px / float(YKHO.vport_wd_px)\n else:\n AYdK = 2.0 * OsfI\n u6RH = AYdK * YKHO.v...
[ "0.67287993", "0.65733063", "0.6549025", "0.6356861", "0.6345815", "0.6232929", "0.60551745", "0.6016346", "0.5982854", "0.5979015", "0.5940346", "0.59393686", "0.59267896", "0.59255326", "0.58446515", "0.58074784", "0.5766044", "0.57656085", "0.5731251", "0.5728373", "0.5713...
0.5568001
32
Transforms a pixel from window coordinates to normalized device coordinates. This is the inverse of `ndc_to_window`.
def TuEY(YKHO, e3Fk): NXpY = oyIN.array([[2.0 / YKHO._width], [2.0 / YKHO._height], [2.0 / (YKHO._far - YKHO._near)]]) vgXP = oyIN.array([[-1.0], [-1.0], [-(YKHO._far + YKHO._near) / (YKHO._far - YKHO._near)]]) return NXpY * e3Fk + vgXP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f2vd(YKHO, AU8u):\n NXpY = oyIN.array([[YKHO._width / 2], [YKHO._height / 2], [(YKHO._far - YKHO._near) / 2]])\n vgXP = oyIN.array([[YKHO._width / 2], [YKHO._height / 2], [(YKHO._far + YKHO._near) / 2]])\n return NXpY * AU8u + vgXP", "def NkkI(lEHr: np.array):\n return lEHr.astype('float32') / 25...
[ "0.6547515", "0.6220711", "0.6145421", "0.5955165", "0.5907474", "0.58236444", "0.5801803", "0.57853484", "0.5708123", "0.5698488", "0.5652547", "0.5632843", "0.5628611", "0.56285703", "0.56119776", "0.5606891", "0.5603739", "0.55981183", "0.55730164", "0.55700535", "0.555473...
0.727381
0
Gets the pybullet simulated camera image.
def WqL8(YKHO): bGrB, bGrB, u_65, HLiY, Pwne = XP5J.getCameraImage(YKHO._width, YKHO._height, YKHO._view_mat.reshape(-1, order='F'), YKHO._projection_mat.reshape(-1, order='F'), renderer=XP5J.ER_BULLET_HARDWARE_OPENGL) return (u_65, HLiY, Pwne)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDvq():\n return AXOg('camera.png')", "def cMYb(yDvq):\n nPrm = yDvq.read()\n bGrB, Xn71 = nPrm\n return Xn71", "def Tfg2(YKHO):\n return YKHO.camera", "def VDmz(YKHO):\n U5bT, f4IJ = YKHO.cap.read()\n f4IJ = XC5k.resize(f4IJ, (YKHO.w, YKHO.h))\n f4IJ = XC5k.flip(f4IJ, 1)\n ret...
[ "0.8119748", "0.74459094", "0.73546875", "0.7317288", "0.73108155", "0.7179608", "0.70869774", "0.70254105", "0.70212376", "0.6990667", "0.6981215", "0.6957776", "0.6926849", "0.689634", "0.6852543", "0.6845467", "0.6822415", "0.6807585", "0.67964727", "0.6789419", "0.6789003...
0.70006233
9
Returns a humanreadable date string in the form yyyymmdd. >>> str(Date("43211231")) '43211231' >>> str(Date(2017, 10, 26)) '20171026' >>> str(Date(2000, 2, 9)) '20000209'
def zAg0(YKHO): return '%04d-%02d-%02d' % (YKHO.year, YKHO.month, YKHO.day)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Net5(Csk6: datetime.date) -> str:\n return f'{Csk6.year}-{Csk6.month:02}-{Csk6.day:02}'", "def _952(_c1T: datetime) -> str:\n return _c1T.strftime('%Y%m%d')", "def Net5(_c1T):\n return _c1T.strftime('%Y-%m-%d')", "def mbyn(_c1T, format=GGme):\n return _c1T.strftime(format)", "def yf2C(YKHO,...
[ "0.79318076", "0.78273135", "0.7380042", "0.7291645", "0.7201364", "0.7137042", "0.69553024", "0.6892996", "0.68911046", "0.68680775", "0.6863198", "0.6859004", "0.67859757", "0.6772385", "0.6763202", "0.6744107", "0.672115", "0.67188436", "0.6718115", "0.66870576", "0.668237...
0.63241035
50
Scale ctrls OR mirror it in joint mode.
def EWui(sbx9, CKog, IMvB=False, NXpY=[-1, 1, 1], Qul8=None): FQNo.setAttr(sbx9 + '.s', NXpY[0], NXpY[1], NXpY[2]) if Qul8 and FQNo.objExists(Qul8): NUUt(Qul8, CKog)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RqWl(YKHO, *qIxc, **B2fa):\n return tE_f.sccc_decoder_combined_cs_set_scaling(YKHO, *qIxc, **B2fa)", "def RqWl(YKHO, *qIxc, **B2fa):\n return tE_f.sccc_decoder_combined_ci_set_scaling(YKHO, *qIxc, **B2fa)", "def NXpY(YKHO, Sa_m):\n YKHO.getNdArray()[:] *= Sa_m\n return YKHO", "def YDx4(YKHO, ...
[ "0.61986345", "0.6186378", "0.6133075", "0.611437", "0.61122096", "0.60909414", "0.6075985", "0.6072212", "0.6038405", "0.5999043", "0.59876376", "0.5984998", "0.59759176", "0.5974395", "0.59602535", "0.59415203", "0.59125704", "0.59119123", "0.5909972", "0.5903514", "0.59028...
0.64737236
0
Concat a list of cudf dataframes
def Y9SQ(M0wk): return Y3tb.concat(M0wk)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _9C2(DPdl):\n return rLdf.concat(DPdl)", "def qoBT(g4So):\n return map(v6T7, g4So)", "def ENFq(K2kF: List[DataFrame]) -> hxoQ:\n if not K2kF:\n raise ValueError('dfs must be non-empty')\n if len(K2kF) == 1:\n return K2kF[0]\n else:\n Ylbp = K2kF[0]\n for jQ3Z in K...
[ "0.7296813", "0.7128975", "0.66582793", "0.6614704", "0.65868384", "0.652318", "0.6442797", "0.6384962", "0.63777715", "0.6346052", "0.63292015", "0.6281309", "0.6271971", "0.6242585", "0.6168145", "0.6138141", "0.6093699", "0.60843533", "0.6060651", "0.59858125", "0.5955946"...
0.8739454
0
Generate the next array of batches from the data. The array consists of the last batch of the previous array, followed by num_unrollings new ones.
def next(YKHO): nJ0e = [YKHO._last_batch] for YPaw in range(YKHO._num_unrollings): nJ0e.append(YKHO._next_batch()) YKHO._last_batch = nJ0e[-1] return (oyIN.stack(nJ0e[:-1]), oyIN.concatenate(nJ0e[1:], 0))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def next(YKHO):\n nJ0e = [YKHO._last_batch]\n for YPaw in range(YKHO._n_unrollings):\n nJ0e.append(YKHO._next_batch())\n YKHO._last_batch = nJ0e[-1]\n return nJ0e", "def next(YKHO):\n nJ0e = [YKHO._last_batch]\n for YPaw in range(YKHO._num_unrollings):\n nJ0e.append(YKHO._next_bat...
[ "0.7664955", "0.76432794", "0.75842446", "0.7251802", "0.7055436", "0.70220363", "0.694659", "0.66216135", "0.6564015", "0.6539938", "0.6417968", "0.636236", "0.63494766", "0.6297727", "0.6222372", "0.6201849", "0.61886394", "0.613957", "0.609733", "0.60891837", "0.60730064",...
0.7430854
3
Given a batch, return an x and y tensor.
def pTf_(YKHO, Wc9F, ec2x=False): g4y1 = [_dZy for _dZy, bGrB in Wc9F] YKHO.pad_ind = 1 wzH_ = max([len(KCHu) for KCHu in g4y1]) g4y1 = [KCHu + [YKHO.pad_ind] * (wzH_ - len(KCHu)) for KCHu in g4y1] WKvO = ht2j.cuda.LongTensor(g4y1) if ec2x: return WKvO MYYV = [yvT9 for bGrB, yvT9 in ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IWA_(Ep8u=32):\n tuKI = ht2j.randn(Ep8u)\n WKvO = ZJkJ(tuKI)\n LVAh = eHNT(WKvO)\n return (WKvO, LVAh)", "def IWA_(nzV8, OJCd, Ep8u):\n ITSp = oyIN.random.randint(0, nzV8.size()[0], Ep8u)\n VmaS, omIE = (nzV8[ITSp], OJCd[ITSp])\n return (VmaS, omIE)", "def h9uG(WKvO: Tensor) -> AzJI[in...
[ "0.6959225", "0.68150544", "0.665033", "0.665033", "0.66288364", "0.6619276", "0.65954846", "0.65605533", "0.64572006", "0.64282626", "0.6386829", "0.6362638", "0.6328726", "0.6322239", "0.63204235", "0.6306975", "0.6272006", "0.62541735", "0.62384003", "0.62326956", "0.62162...
0.0
-1
Adds something to the FIFO.
def Lsrz(YKHO, RcQu): YKHO.__fifo.append(RcQu.strip())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jvNa(YKHO, ZfUD):\n YKHO.stack1.append(ZfUD)", "def jvNa(YKHO, ZfUD):\n YKHO.append(ZfUD)", "def SStx(YKHO, ZfUD):\n YKHO.queue.append(ZfUD)", "def jvNa(YKHO, wEf2):\n YKHO.items.append(wEf2)", "def jvNa(YKHO, ZfUD):\n YKHO._items.append(ZfUD)", "def jvNa(YKHO, ZfUD):\n YKHO._items....
[ "0.7197472", "0.71935314", "0.71329695", "0.7130963", "0.70772743", "0.70772743", "0.70612794", "0.7050653", "0.70313257", "0.70293087", "0.70182204", "0.70026684", "0.70026684", "0.70026684", "0.70026684", "0.70026684", "0.69876134", "0.69876134", "0.6976392", "0.69618785", ...
0.0
-1
Returns true if the obj is a float
def wyNW(YEnM): return isinstance(YEnM, float)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NLLz(YKHO, BWXx):\n try:\n float(BWXx)\n except ValueError:\n return False\n return True", "def float(BWXx: Any):\n if isinstance(BWXx, float):\n return True\n return False", "def QpCZ(YKHO):\n return BtPp(YKHO.node)", "def Z6LN(BWXx: t.Any) -> bool:\n return isi...
[ "0.83180803", "0.821252", "0.820528", "0.8197142", "0.81966686", "0.81299734", "0.8071452", "0.80384433", "0.8023853", "0.7986371", "0.79706204", "0.7918201", "0.79103315", "0.78837734", "0.7845414", "0.78337884", "0.7829898", "0.7829898", "0.7829898", "0.7829898", "0.7754231...
0.89704585
0
Returns true if the provided value is a float between 0.0 and 1.0.
def a6yV(Ax2O): if wyNW(Ax2O): return 0.0 <= Ax2O <= 1.0 else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SH_w(BWXx):\n try:\n float(BWXx)\n return True\n except ValueError:\n return False", "def float(BWXx: Any):\n if isinstance(BWXx, float):\n return True\n return False", "def SH_w(BWXx):\n try:\n float(BWXx)\n return True\n except ValueError:\n ...
[ "0.83433497", "0.8259268", "0.8154695", "0.8154695", "0.8154695", "0.8154695", "0.8148462", "0.81162256", "0.81124", "0.80940056", "0.8079088", "0.8074173", "0.80233616", "0.79930085", "0.7936724", "0.79312843", "0.7882783", "0.7868526", "0.78379893", "0.7833081", "0.7772211"...
0.70516145
47
Returns true if the obj is a str type
def Jnu0(YEnM): try: return hasattr(YEnM, 'capitalize') except: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def J1TN(xHuz):\n return type(xHuz) is str", "def J1TN(YEnM):\n return isinstance(YEnM, jKi7.string_types)", "def gUMC(YEnM):\n try:\n return isinstance(YEnM, exCv)\n except NameError:\n return isinstance(YEnM, str)", "def LyFV(YEnM):\n return isinstance(YEnM, str)", "def aEXN(...
[ "0.8936321", "0.88396126", "0.86525726", "0.8528505", "0.85152614", "0.8456154", "0.83515805", "0.8238912", "0.8101178", "0.80515397", "0.80116653", "0.7958207", "0.793495", "0.793495", "0.79035455", "0.7813104", "0.7813104", "0.7770737", "0.77566445", "0.77566445", "0.771484...
0.77809876
17
Returns True if the provided value is an iterable, but is not a string
def taYM(YEnM): if SytQ(YEnM): return Jnu0(YEnM) is False else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kUz6(xQfW):\n return not isinstance(xQfW, str)", "def XNOR(WKvO):\n return isinstance(WKvO, iu5r) and (not isinstance(WKvO, str))", "def ztQD(YEnM):\n return isinstance(YEnM, iu5r) and (not isinstance(YEnM, str))", "def XNOR(ZfUD):\n GfZ5 = isinstance(ZfUD, iu5r)\n TcK7 = isinstance(ZfUD, ...
[ "0.87540126", "0.8722092", "0.8538725", "0.84892064", "0.8436968", "0.83766675", "0.8296694", "0.8295384", "0.8227929", "0.8101892", "0.8093714", "0.8002968", "0.79957134", "0.79717475", "0.79311615", "0.7841415", "0.78413934", "0.7840347", "0.78389794", "0.7761001", "0.77287...
0.8183259
9
Returns True if the provided value is a list
def gVDW(YEnM): if SytQ(YEnM): return isinstance(YEnM, list) else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Lm1b(BWXx):\n return isinstance(BWXx, list)", "def Lm1b(BWXx):\n return isinstance(BWXx, list)", "def ojAf(YKHO, BWXx):\n return isinstance(BWXx, list)", "def ZM_r(YKHO, BWXx) -> bool:\n return isinstance(BWXx, x1iM)", "def Lm1b(input):\n return type(input) == jbQU", "def Lm1b(vC9B):\n...
[ "0.9080189", "0.9080189", "0.902791", "0.87585044", "0.8291522", "0.8233073", "0.81876457", "0.81780994", "0.8129016", "0.8057709", "0.8001525", "0.798743", "0.79735005", "0.79579884", "0.7934011", "0.7856037", "0.7827868", "0.78237617", "0.77846915", "0.7765886", "0.76641977...
0.76030016
24