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 a point (x, y) which is the bottom, right corner of the rect.
def rzex(YKHO): return (YKHO.right, YKHO.bottom)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XOP0(YKHO):\n return PvyL(YKHO.right, YKHO.bottom)", "def PgrI(YKHO):\n YKHO._updateExtents()\n return (YKHO._mMaxX, YKHO._mMaxY)", "def eqr8(YKHO):\n return max(YKHO.x, YKHO.x + YKHO.w)", "def jUDj(LFlW, _tIi):\n WKvO = _tIi.x - (_tIi.x - LFlW.x) / 8\n LVAh = _tIi.y - (_tIi.y - LFlW.y)...
[ "0.80872005", "0.75730133", "0.7417118", "0.7338264", "0.71358335", "0.6994538", "0.6989666", "0.6989666", "0.69538146", "0.69322073", "0.68699884", "0.6857761", "0.6857761", "0.6796901", "0.64759564", "0.64113855", "0.6407288", "0.6404907", "0.63987374", "0.63869905", "0.636...
0.6800102
13
Returns the center y value of the rect
def mtDG(YKHO): return YKHO.top + YKHO.height / 2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def boAb(YKHO):\n return YKHO.rect.y", "def zlZe(mawX):\n WKvO, LVAh, yzQ0, MKlR = mawX\n return (WKvO + yzQ0 / 2, LVAh + MKlR / 2)", "def SJWb(YKHO):\n return YKHO.rect.center", "def yDCK(YKHO):\n return YKHO._collision_rect.y + 25", "def UheW(YKHO, mawX):\n YKHO.rect.centery = mawX.cent...
[ "0.79309195", "0.790699", "0.7538333", "0.7376696", "0.73427653", "0.7278063", "0.72104806", "0.71589947", "0.7077913", "0.7062193", "0.7004303", "0.6935875", "0.6909548", "0.6908068", "0.6899377", "0.68832314", "0.68832153", "0.68709064", "0.68518996", "0.6846448", "0.681041...
0.7078019
8
Returns a point (x, y) which is the midpoint of the top edge the rect.
def BoOj(YKHO): return (YKHO.centerx, YKHO.top)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lKXT(YKHO) -> AzJI[int, int]:\n WioY, U8q3, zt1J, vhEE = YKHO.substrates.bounds\n return ((WioY + zt1J) // 2, (U8q3 + vhEE) // 2)", "def CR20(YKHO):\n return XP5J.Point((YKHO.start.normalVector + YKHO.end.normalVector) / 2.0)", "def TwAD(YKHO):\n return YKHO.rect.midtop", "def lKXT(YKHO) -> A...
[ "0.76500976", "0.7309252", "0.725163", "0.7170698", "0.7047169", "0.69002247", "0.6897029", "0.67588174", "0.6724638", "0.6661621", "0.6647386", "0.6606155", "0.6597936", "0.65815824", "0.6506547", "0.6495151", "0.64475024", "0.644593", "0.64286613", "0.6403866", "0.63949263"...
0.76629424
0
Returns a point (x, y) which is the midpoint of the left edge the rect.
def puoT(YKHO): return (YKHO.left, YKHO.centery)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PqXs(YKHO):\n return min(YKHO.x, YKHO.x + YKHO.w)", "def CR20(YKHO):\n return XP5J.Point((YKHO.start.normalVector + YKHO.end.normalVector) / 2.0)", "def lKXT(YKHO) -> AzJI[int, int]:\n WioY, U8q3, zt1J, vhEE = YKHO.substrates.bounds\n return ((WioY + zt1J) // 2, (U8q3 + vhEE) // 2)", "def LFl...
[ "0.7517219", "0.7243575", "0.7218394", "0.70709705", "0.70709705", "0.68680346", "0.6736029", "0.67191774", "0.6678974", "0.66577965", "0.6645889", "0.65988135", "0.6579809", "0.65635693", "0.643486", "0.6433358", "0.6413653", "0.63680094", "0.6360517", "0.6358098", "0.635241...
0.76932055
0
Returns a point (x, y) which is the midpoint of the bottom edge the rect.
def bMLM(YKHO): return (YKHO.centerx, YKHO.bottom)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lKXT(YKHO) -> AzJI[int, int]:\n WioY, U8q3, zt1J, vhEE = YKHO.substrates.bounds\n return ((WioY + zt1J) // 2, (U8q3 + vhEE) // 2)", "def Nzkc(YKHO):\n return min(YKHO.y, YKHO.y + YKHO.h)", "def yH9b(YKHO):\n YKHO._updateExtents()\n return (YKHO._mMinX, YKHO._mMaxY)", "def CR20(YKHO):\n ...
[ "0.7225014", "0.71007353", "0.70528626", "0.70367455", "0.70005757", "0.6998103", "0.6975342", "0.67965275", "0.67694247", "0.6701562", "0.6600726", "0.6600726", "0.65750843", "0.6566296", "0.6544031", "0.6484949", "0.6414438", "0.63706785", "0.6326723", "0.6299827", "0.62867...
0.80408055
0
Returns a point (x, y) which is the midpoint of the right edge of the rect.
def nzgb(YKHO): return (YKHO.right, YKHO.centery)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lKXT(YKHO) -> AzJI[int, int]:\n WioY, U8q3, zt1J, vhEE = YKHO.substrates.bounds\n return ((WioY + zt1J) // 2, (U8q3 + vhEE) // 2)", "def eqr8(YKHO):\n return max(YKHO.x, YKHO.x + YKHO.w)", "def CR20(YKHO):\n return XP5J.Point((YKHO.start.normalVector + YKHO.end.normalVector) / 2.0)", "def puo...
[ "0.72387004", "0.7190304", "0.7009031", "0.6783551", "0.67242396", "0.66471845", "0.66471845", "0.661838", "0.6569062", "0.65528", "0.654266", "0.6511605", "0.6491345", "0.6409926", "0.64068615", "0.6339525", "0.63193333", "0.62984693", "0.6268774", "0.62637895", "0.6259858",...
0.75244766
0
Returns the width and height of the rect as a tuple (width, height)
def zNig(YKHO): return (YKHO.width, YKHO.height)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JV8o(YKHO):\n return (YKHO._rect.width, YKHO._rect.height)", "def zNig(YKHO) -> AzJI[int, int]:\n return (YKHO.width, YKHO.height)", "def jiw9(YKHO) -> lJMi:\n return (YKHO.get_width(), YKHO.get_height())", "def zNig(YKHO) -> AzJI[int, int]:\n return (YKHO._width, YKHO._height)", "def zNig(...
[ "0.7676337", "0.7610363", "0.74962586", "0.7493948", "0.7468956", "0.746302", "0.744947", "0.7388945", "0.73840725", "0.73544663", "0.7273201", "0.7263148", "0.72242147", "0.72208685", "0.71890175", "0.70977944", "0.70601046", "0.70275784", "0.7000254", "0.698181", "0.6897488...
0.7482307
4
Return random item for a type specified by a mode and a single format character.
def qbwc(Tuqy, hcXw, YEnM): WKvO = qukk(*y9OU[Tuqy][hcXw]) if hcXw == 'c': WKvO = bytes([WKvO]) if YEnM == 'numpy' and WKvO == b'\x00': WKvO = b'\x01' if hcXw == '?': WKvO = bool(WKvO) if hcXw == 'f' or hcXw == 'd': WKvO = BlNT.pack(hcXw, WKvO) WKvO = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hLeQ(exwG, YEnM='ndarray', Tuqy=None, hcXw=None):\n if Tuqy is None:\n Tuqy = Acvy(Fd1k[YEnM][ixS5])\n if hcXw is None:\n hcXw = Acvy(tuple(y9OU[Tuqy]))\n pSDG = Acvy(Fd1k[YEnM][MdIT])\n FMLJ = Tuqy + '#' + hcXw * int(pSDG if pSDG else 1)\n DumB = GXIA(exwG, FMLJ, YEnM)\n ZfUD =...
[ "0.67956036", "0.67956036", "0.6038709", "0.6038709", "0.56997186", "0.56226206", "0.55718905", "0.54492384", "0.5427741", "0.5372512", "0.53331137", "0.52646226", "0.52158815", "0.5094101", "0.50864553", "0.5081942", "0.5081942", "0.5053526", "0.5015463", "0.50019526", "0.49...
0.5497907
7
Return a list of random items (or a scalar).
def GXIA(exwG, FMLJ, YEnM): if exwG == 0: return BRj5(FMLJ, YEnM) yv6U = [0] * exwG for YRbF in range(exwG): yv6U[YRbF] = BRj5(FMLJ, YEnM) return yv6U
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvm2(YKHO):\n return YKHO.items[YKHO.np_random.choice(len(YKHO.items))]", "def c2Yh(YKHO, tuKI, qIxc):\n if YKHO.duplicates:\n n6mp = [YKHO.capacity // ZfUD[0] for ZfUD in YKHO.items]\n return [tuKI.randint(0, r8hN) for r8hN in n6mp]\n else:\n return [tuKI.choice([0, 1]) for bGr...
[ "0.71869344", "0.6829129", "0.6770057", "0.67459834", "0.6688881", "0.6683781", "0.6612185", "0.6610508", "0.6610508", "0.6610508", "0.6610508", "0.65998596", "0.65842193", "0.6575151", "0.6557039", "0.65456676", "0.6540136", "0.6509323", "0.65030175", "0.6499195", "0.6482285...
0.0
-1
Calculate strides of a contiguous array. Layout is 'C' or 'F' (Fortran).
def BeeB(qC1Y, ROpF, GuM9, LAOT): if qC1Y == 0: return () if LAOT == 'C': FEri = list(ROpF[1:]) + [GuM9] for YRbF in range(qC1Y - 2, -1, -1): FEri[YRbF] *= FEri[YRbF + 1] else: FEri = [GuM9] + list(ROpF[:-1]) for YRbF in range(1, qC1Y): FEri[YR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BeeB(qC1Y, ROpF, GuM9, LAOT):\n if qC1Y == 0:\n return ()\n if LAOT == 'C':\n FEri = list(ROpF[1:]) + [GuM9]\n for YRbF in range(qC1Y - 2, -1, -1):\n FEri[YRbF] *= FEri[YRbF + 1]\n else:\n FEri = [GuM9] + list(ROpF[:-1])\n for YRbF in range(1, qC1Y):\n ...
[ "0.6674238", "0.6667623", "0.63901645", "0.62995565", "0.6209812", "0.62079126", "0.6108434", "0.60595614", "0.60080725", "0.5996222", "0.5996222", "0.5860129", "0.57919973", "0.57440704", "0.56975204", "0.56885684", "0.56631756", "0.5634464", "0.56175673", "0.5605618", "0.55...
0.6671998
1
Verify that the parameters represent a valid array within
def lY50(WRfu, GuM9, qC1Y, ROpF, FEri, vgXP): if vgXP % GuM9: return False if vgXP < 0 or vgXP + GuM9 > WRfu: return False if any((Ty9i % GuM9 for Ty9i in FEri)): return False if qC1Y <= 0: return qC1Y == 0 and (not ROpF) and (not FEri) if 0 in ROpF: return Tr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G4sA(a1PO):\n TVLI = a1PO.type\n if PFXX(TVLI):\n raise OK0X(a1PO)\n xzCw(TVLI)", "def ICtp(gwfI):\n if isinstance(gwfI, dict):\n if all((len(oeNL) == 3 for oeNL in gwfI.values())):\n return True\n elif isinstance(gwfI, str):\n return Hy7s.path.exists(gwfI)\n ...
[ "0.7270341", "0.69448113", "0.683705", "0.6811981", "0.6776789", "0.67708015", "0.6727861", "0.6655488", "0.6578328", "0.6572302", "0.65476936", "0.6494485", "0.64726275", "0.64687735", "0.64408755", "0.6395904", "0.6385423", "0.635954", "0.63554", "0.63529444", "0.63336235",...
0.0
-1
Location of an item in the underlying memory.
def QI30(_0VL, a1PO): WRfu, GuM9, qC1Y, ROpF, FEri, vgXP = a1PO XP5J = vgXP for YRbF in range(qC1Y): XP5J += FEri[YRbF] * _0VL[YRbF] return XP5J
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hksT(YKHO):\n return YKHO._loc", "def hksT(YKHO):\n return YKHO._loc", "def REqx(YKHO, REqx):\n YKHO._item_location = REqx", "def Rci7(YKHO, ZfUD):\n return gxEw(ZfUD)", "def Nag5(YKHO, ZfUD):\n dUrJ = YKHO.__find(ZfUD)\n if dUrJ is not None and dUrJ.item == ZfUD:\n return dUrJ...
[ "0.6474729", "0.6474729", "0.64583784", "0.6299048", "0.62329835", "0.619247", "0.6157666", "0.61144316", "0.61032015", "0.60921395", "0.6054449", "0.6024048", "0.6024048", "0.6024048", "0.60220253", "0.593699", "0.5908533", "0.5876502", "0.5874762", "0.5853317", "0.58503854"...
0.0
-1
Create a random slice of len slicelen that fits into listlen.
def hJXC(SLkt, LOx4): OhOo = LOx4 - SLkt yKcO = qukk(OhOo + 1) MN4O = (LOx4 - yKcO) // SLkt if SLkt else 1 YPaw = qukk(1, MN4O + 1) JCyR = yKcO + SLkt * YPaw KCHu = slice(yKcO, JCyR, YPaw) bGrB, bGrB, bGrB, z5su = kFs2(KCHu, LOx4) if z5su != SLkt: raise RuntimeError return KC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hJXC(SLkt, LOx4):\n OhOo = LOx4 - SLkt\n yKcO = qukk(OhOo + 1)\n MN4O = (LOx4 - yKcO) // SLkt if SLkt else 1\n YPaw = qukk(1, MN4O + 1)\n JCyR = yKcO + SLkt * YPaw\n KCHu = slice(yKcO, JCyR, YPaw)\n bGrB, bGrB, bGrB, z5su = kFs2(KCHu, LOx4)\n if z5su != SLkt:\n raise RuntimeError...
[ "0.8386598", "0.8022296", "0.7148622", "0.7131934", "0.6567083", "0.6412609", "0.6211643", "0.61631083", "0.613346", "0.6101639", "0.6099712", "0.6061299", "0.60270053", "0.60159683", "0.5992975", "0.59393466", "0.592926", "0.5924613", "0.59234124", "0.59072083", "0.5882425",...
0.8382608
1
Create two sets of slices for an array x with shape 'shape' such that shapeof(x[lslices]) == shapeof(x[rslices]).
def PLl8(qC1Y, ROpF): A9XV = [0] * qC1Y TiPN = [0] * qC1Y for exwG in range(qC1Y): vC9B = ROpF[exwG] SLkt = qukk(1, vC9B + 1) if vC9B > 0 else 0 A9XV[exwG] = hJXC(SLkt, vC9B) TiPN[exwG] = hJXC(SLkt, vC9B) return (tuple(A9XV), tuple(TiPN))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PLl8(qC1Y, ROpF):\n A9XV = [0] * qC1Y\n TiPN = [0] * qC1Y\n for exwG in range(qC1Y):\n vC9B = ROpF[exwG]\n SLkt = qukk(1, vC9B + 1) if vC9B > 0 else 0\n A9XV[exwG] = hJXC(SLkt, vC9B)\n TiPN[exwG] = hJXC(SLkt, vC9B)\n return (tuple(A9XV), tuple(TiPN))", "def gFik(qC1Y, ...
[ "0.6894566", "0.6573922", "0.64847517", "0.64847517", "0.6427743", "0.64160067", "0.64142555", "0.63429934", "0.63423526", "0.63288146", "0.6293118", "0.62560296", "0.62280154", "0.61813617", "0.59872895", "0.5902308", "0.5837056", "0.5818695", "0.57853127", "0.57816154", "0....
0.6904066
0
Interpret the raw memory of 'exporter' as a list of items with size 'itemsize'. If shape=None, the new structure is assumed to be 1D with n itemsize = bytelen. If shape is given, the usual constraint for contiguous arrays prod(shape) itemsize = bytelen applies. On success, return (items, shape). If the constraints cann...
def HMC8(Fp1S, FMLJ, GuM9, ROpF=None): lqqq = Fp1S.nbytes if ROpF: if QRFO(ROpF) * GuM9 != lqqq: return (None, ROpF) elif ROpF == []: if Fp1S.ndim == 0 or GuM9 != lqqq: return (None, ROpF) else: exwG, Mkmy = divmod(lqqq, GuM9) ROpF = [exwG] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HMC8(Fp1S, FMLJ, GuM9, ROpF=None):\n lqqq = Fp1S.nbytes\n if ROpF:\n if QRFO(ROpF) * GuM9 != lqqq:\n return (None, ROpF)\n elif ROpF == []:\n if Fp1S.ndim == 0 or GuM9 != lqqq:\n return (None, ROpF)\n else:\n exwG, Mkmy = divmod(lqqq, GuM9)\n ROpF =...
[ "0.7727057", "0.4954598", "0.4824147", "0.4800908", "0.4739031", "0.4712107", "0.47060144", "0.46961316", "0.46703562", "0.46703562", "0.46703562", "0.46703562", "0.46573693", "0.4640518", "0.4593343", "0.45195043", "0.4501709", "0.449512", "0.44936705", "0.4489558", "0.44544...
0.7749671
0
Generate random slice for a single dimension of length n. If zero=True, the slices may be empty, otherwise they will be nonempty.
def V1Au(exwG, fSWM=False): TcGQ = 0 if fSWM or exwG == 0 else 1 SLkt = qukk(TcGQ, exwG + 1) return hJXC(SLkt, exwG)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V1Au(exwG, fSWM=False):\n TcGQ = 0 if fSWM or exwG == 0 else 1\n SLkt = qukk(TcGQ, exwG + 1)\n return hJXC(SLkt, exwG)", "def hcIl(YKHO, exwG):\n if exwG == 0:\n return slice(YKHO._lo_atom, YKHO._lo_atom + YKHO._n_atoms)\n raise IndexError(f'{exwG} is invalid for a 1 dimension Slice ')"...
[ "0.77199084", "0.7018895", "0.68136233", "0.68136233", "0.64119023", "0.6384745", "0.62981", "0.6264033", "0.61925167", "0.61633945", "0.6158656", "0.615614", "0.61386144", "0.61261", "0.6123165", "0.60484874", "0.5999658", "0.59985995", "0.59841186", "0.5928469", "0.592645",...
0.77316195
0
Generate random slices for a single dimension.
def TiPN(exwG, fSWM=False): for bGrB in range(5): yield V1Au(exwG, fSWM)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wJiT(X7zS, TwiJ):\n tpio = len(X7zS)\n HstA = oyIN.zeros(shape=(TwiJ, tpio))\n for G1Hx in range(0, tpio):\n HstA[:, G1Hx] = oyIN.random.uniform(low=X7zS[G1Hx][0], high=X7zS[G1Hx][1], size=TwiJ)\n print('shape: ', HstA.shape)\n return HstA", "def PLl8(qC1Y, ROpF):\n A9XV = [0] * qC1Y...
[ "0.67492634", "0.66014093", "0.66008663", "0.6559417", "0.63823134", "0.6370442", "0.63262975", "0.63150316", "0.6308082", "0.62544554", "0.62306637", "0.62290215", "0.6168629", "0.6137895", "0.6110808", "0.6091937", "0.6086058", "0.6046475", "0.6043693", "0.60327446", "0.602...
0.57519436
40
Generate random slice tuples for 'shape'.
def gFik(qC1Y, ROpF, OnWS=5): for bGrB in range(OnWS): yield tuple((V1Au(ROpF[exwG]) for exwG in range(qC1Y))) for bGrB in range(OnWS): yield tuple((V1Au(ROpF[exwG], allow_empty=True) for exwG in range(qC1Y))) yield tuple((slice(0, 1, 0) for bGrB in range(qC1Y)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PLl8(qC1Y, ROpF):\n A9XV = [0] * qC1Y\n TiPN = [0] * qC1Y\n for exwG in range(qC1Y):\n vC9B = ROpF[exwG]\n SLkt = qukk(1, vC9B + 1) if vC9B > 0 else 0\n A9XV[exwG] = hJXC(SLkt, vC9B)\n TiPN[exwG] = hJXC(SLkt, vC9B)\n return (tuple(A9XV), tuple(TiPN))", "def PLl8(qC1Y, ...
[ "0.81741637", "0.81736237", "0.7037425", "0.6892798", "0.6618494", "0.6588587", "0.6519507", "0.64499134", "0.6447227", "0.6422261", "0.6409819", "0.6336206", "0.63095224", "0.6286562", "0.6275536", "0.62747407", "0.6229237", "0.62141496", "0.6178198", "0.6170909", "0.6170909...
0.61362666
22
Leftrotate the tree under node x.
def ap8_(YKHO, WKvO=None): if WKvO is None: WKvO = YKHO.root assert WKvO.right is not YKHO.nil, 'Cannot rotate any further left' LVAh = WKvO.right WKvO.right = LVAh.left if WKvO.right is not YKHO.nil: WKvO.right.parent = WKvO LVAh.parent = WKvO.parent if LVAh.parent is YKHO.n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tsdo(YKHO, RLo2):\n wyPV = RLo2.right\n RLo2.right = wyPV.left\n if wyPV.left:\n wyPV.left.parent = RLo2\n wyPV.parent = RLo2.parent\n if RLo2 is YKHO.root:\n YKHO.root = wyPV\n elif RLo2 is RLo2.parent.left:\n RLo2.parent.left = wyPV\n else:\n RLo2.parent.right...
[ "0.79157615", "0.78381366", "0.76984537", "0.7614066", "0.7600261", "0.75376546", "0.7511552", "0.7416094", "0.73643774", "0.7325683", "0.72307533", "0.7230648", "0.7041633", "0.7040582", "0.69988453", "0.69572175", "0.6934614", "0.6882082", "0.6835029", "0.6818333", "0.67571...
0.84179527
0
Rightrotate the tree under node x.
def cD9a(YKHO, WKvO=None): if WKvO is None: WKvO = YKHO.root assert WKvO.left is not YKHO.nil, 'Cannot rotate any further right' LVAh = WKvO.left WKvO.left = LVAh.right if WKvO.left is not YKHO.nil: WKvO.left.parent = WKvO LVAh.parent = WKvO.parent if LVAh.parent is YKHO.nil:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LmlC(YKHO, Q6kx):\n Q6kx.right = YKHO.rotate_with_left_child(Q6kx.right)\n return YKHO.rotate_with_right_child(Q6kx)", "def EE1x(YKHO, Q6kx):\n ycBG = Q6kx\n O4US = Q6kx.right\n ycBG.right = O4US.left\n O4US.left = ycBG\n return O4US", "def I_tC(YKHO, Q6kx):\n aUGN = Q6kx.left\n ...
[ "0.7628521", "0.75943077", "0.7510121", "0.742038", "0.7366329", "0.7341106", "0.73247653", "0.7276146", "0.72076607", "0.7126255", "0.71257293", "0.7124205", "0.7109927", "0.71011907", "0.7056619", "0.70498395", "0.70308566", "0.70234567", "0.7012712", "0.6971885", "0.689212...
0.8350318
0
Recursively update balance factors going up the tree. For a single insertion, factor = 1. For a single deletion, factor = 1.
def QdZT(YKHO, WKvO, aM8h=0): if WKvO is YKHO.nil: return if WKvO.balance > 1 or WKvO.balance < -1: YKHO.rebalance(WKvO) return if WKvO is YKHO.root: return if WKvO is WKvO.parent.left: WKvO.parent.balance += aM8h elif WKvO is WKvO.parent.right: WKvO.p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UFdQ(YKHO, znBS=True):\n if YKHO.node:\n if znBS:\n if YKHO.node.left:\n YKHO.node.left.update_balances()\n if YKHO.node.right:\n YKHO.node.right.update_balances()\n YKHO.balance = YKHO.node.left.height - YKHO.node.right.height\n else:\n ...
[ "0.7114943", "0.6488515", "0.6434147", "0.62561345", "0.6224313", "0.6212973", "0.6092666", "0.5940654", "0.581709", "0.58043826", "0.5763958", "0.57568693", "0.5716241", "0.56767696", "0.5675978", "0.5668895", "0.56612366", "0.564704", "0.56425905", "0.5569215", "0.5566293",...
0.7416797
0
Get current CPS Should return a float
def ZUxg(YKHO): return YKHO._current_cps
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M3Yz(YKHO):\n if YKHO._cps is not None:\n return YKHO._cps\n else:\n try:\n return YKHO.counts / YKHO.livetime\n except TypeError:\n raise oi9i('Unknown livetime; cannot calculate CPS from counts')", "def M3Yz(YKHO):\n return YKHO.datacounts / YKHO.exptime"...
[ "0.7728652", "0.7462495", "0.7036479", "0.7036479", "0.6906312", "0.68568826", "0.6835569", "0.65149987", "0.64797735", "0.64733404", "0.64303815", "0.6356482", "0.6325371", "0.6296346", "0.6296247", "0.6290065", "0.62089956", "0.6181946", "0.61742765", "0.61742765", "0.61445...
0.736031
3
Returns bad response on response validation errors.
def EiAq(XObx): return (pz3A(message='Bad response'), 500)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WEtw():\n return oGir('{\"error\": \"Invalid request\"}', status=400, mimetype='application/json')", "def gfDP(YKHO, geh0: requests.Response) -> None:\n if 400 <= geh0.status_code < 500:\n tO9_ = f'{geh0.status_code} Client Error: {geh0.reason} for path: {YKHO.path}. Request payload: {geh0.reque...
[ "0.7957971", "0.7649618", "0.74914646", "0.7456368", "0.73698705", "0.73698705", "0.73698705", "0.7343411", "0.73405534", "0.7328041", "0.7253684", "0.7207405", "0.71976", "0.71240443", "0.71097517", "0.708896", "0.7068561", "0.6963485", "0.6949408", "0.6906186", "0.68362963"...
0.82996505
0
Return self, for use with for loops.
def Vs4Q(YKHO): return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vs4Q(YKHO):\n return YKHO", "def Vs4Q(YKHO) -> object:\n return YKHO", "def Vs4Q(YKHO):\n return YKHO", "def Vs4Q(YKHO):\n YKHO._first()\n return YKHO", "def Vs4Q(YKHO):\n YKHO.index = 0\n return YKHO", "def Vs4Q(YKHO):\n YKHO.__index__ = 0\n return YKHO", "def Vs4Q(YKHO)...
[ "0.7343625", "0.7325457", "0.7251591", "0.7046542", "0.69823456", "0.6917468", "0.6901136", "0.6889359", "0.6784111", "0.6725885", "0.67133707", "0.66941875", "0.66941875", "0.66941875", "0.6690696", "0.6660724", "0.6660724", "0.6660724", "0.6660724", "0.66546494", "0.6647987...
0.73247856
23
returns an email address as a unquoted unicode string
def ii8K(UTX6, p4k2='utf8'): mWFP = _V2_(UTX6[0]) rRzo = UTX6[1] rRzo = '<' + rRzo + '>' if not mWFP: return rRzo return mWFP + ' ' + rRzo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jdlN(D3lj):\n return", "def D3lj(rRV8):\n if xxbx(rRV8):\n return rRV8\n else:\n raise ValueError('{} is not a valid email'.format(rRV8))", "def Hxmi(YKHO) -> 'str':\n return YKHO._attrs.get('emailAddress')", "def w0mp(YKHO, sIWq):\n Ylbp = D3lj.utils.parseaddr(sIWq)\n if ...
[ "0.71394217", "0.702159", "0.69071203", "0.68899196", "0.6840699", "0.6702935", "0.66950506", "0.65692395", "0.6528242", "0.65049773", "0.65012676", "0.64955735", "0.6491553", "0.6484322", "0.6463048", "0.6436164", "0.639294", "0.63714993", "0.6341899", "0.6336248", "0.630566...
0.71918446
0
returns the email rules that match this message.
def nHNT(Ol8d, c_NS): K_C7 = set() for e1vZ in c_NS: if ZoPw(Ol8d, c_NS[e1vZ]): K_C7.add(e1vZ) return list(K_C7)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c_NS(YKHO):\n return YKHO._alert_rules_client", "def Ddaj(YKHO):\n c_NS = []\n for ZfUD in YKHO.rule:\n c_NS.append(ZfUD)\n return c_NS", "def Ddaj(YKHO):\n c_NS = []\n for ZfUD in YKHO.name:\n c_NS.append(ZfUD)\n return c_NS", "def c_NS(YKHO):\n return tuple((tTpl f...
[ "0.699283", "0.6886916", "0.6780218", "0.6646598", "0.6495222", "0.6300169", "0.6114471", "0.6104266", "0.6102272", "0.60898846", "0.60876673", "0.60361826", "0.6027149", "0.60163724", "0.5911143", "0.5886574", "0.5871772", "0.5841316", "0.5761576", "0.5761576", "0.57128936",...
0.6175876
6
Cohen's d, standardized mean difference under normality assumption. This computes the standardized mean difference, Cohen's d, effect size that is equivalent to the rank based probability ``p`` of being stochastically larger if we assume that the data is normally distributed, given by
def eMgk(YKHO, JxU2=None): if JxU2 is None: JxU2 = YKHO.prob1 return eQSh.norm.ppf(JxU2) * oyIN.sqrt(2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _5uP(Csk6):\n return (Csk6 ** 2 - 1) / 4", "def cC6U(XSm6, B3MX):\n RA_F = oyIN.mean(XSm6) - oyIN.mean(B3MX)\n GS6z = oyIN.sqrt(((len(XSm6) - 1) * oyIN.std(XSm6, ddof=1) ** 2 + (len(B3MX) - 1) * oyIN.std(B3MX, ddof=1) ** 2) / (len(XSm6) + len(B3MX)))\n return RA_F / GS6z", "def Mdbu(YKHO):\n ...
[ "0.66413516", "0.64329755", "0.6382515", "0.62766397", "0.62706274", "0.62279636", "0.6169494", "0.615108", "0.61090934", "0.6099853", "0.609961", "0.60770863", "0.6051967", "0.60413456", "0.6031248", "0.60311335", "0.5995423", "0.5995423", "0.5974874", "0.5948726", "0.594612...
0.63479984
3
Convert Cohen's d effect size to stochasticallylargerprobability. This assumes observations are normally distributed. Computed as p = Prob(x1 > x2) = F(d / sqrt(2)) where `F` is cdf of normal distribution. Cohen's d is defined as d = (mean1 mean2) / std where ``std`` is the pooled within standard deviation.
def g99D(Csk6): return eQSh.norm.cdf(Csk6 / oyIN.sqrt(2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cC6U(XSm6, B3MX):\n RA_F = oyIN.mean(XSm6) - oyIN.mean(B3MX)\n GS6z = oyIN.sqrt(((len(XSm6) - 1) * oyIN.std(XSm6, ddof=1) ** 2 + (len(B3MX) - 1) * oyIN.std(B3MX, ddof=1) ** 2) / (len(XSm6) + len(B3MX)))\n return RA_F / GS6z", "def _5uP(Csk6):\n return (Csk6 ** 2 - 1) / 4", "def eMgk(YKHO, JxU2=...
[ "0.62903917", "0.6092724", "0.5854814", "0.5814859", "0.58076376", "0.57111233", "0.5642833", "0.5614208", "0.56010324", "0.5499328", "0.54770863", "0.5456112", "0.543066", "0.5401293", "0.5387434", "0.5343079", "0.5338465", "0.5328492", "0.53196543", "0.5310944", "0.5307831"...
0.70773894
0
Returns the facepose data Returns facepose data using the columns set in fex.facepose_columns
def ToDJ(YKHO): return YKHO[YKHO.facepose_columns]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n22Y(YKHO):\n return YKHO[YKHO.facebox_columns]", "def n22Y(YKHO):\n return YKHO[YKHO.facebox_columns]", "def MeYw(YKHO):\n ai9l = d_Ba.feature.Feature()\n ai9l.type = d_Ba.feature.Type.CHARGING.value\n ai9l.received_time = ITS7.time()\n ai9l.timeout = 1.0\n ai9l.data['posedata'] = YKH...
[ "0.63843197", "0.6273101", "0.59165555", "0.5586807", "0.5567384", "0.5509971", "0.54848564", "0.5475028", "0.545142", "0.5449467", "0.5415388", "0.5318611", "0.5299302", "0.5239533", "0.5221949", "0.52017903", "0.5186216", "0.51813877", "0.5175315", "0.5161512", "0.5136092",...
0.7442376
1
Returns the x landmarks. Returns the xcoordinates for facial landmarks looking for "x" in fex.landmark_columns.
def bfSB(YKHO): QrnJ = [fvDH for fvDH in YKHO.landmark_columns if 'x' in fvDH] return YKHO[QrnJ]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FLqt(SLsv, PJWX=True):\n QwO3 = uouW.get_frontal_face_detector()\n iyYY = uouW.shape_predictor(xET4)\n QRtr = oyIN.uint8(oyIN.multiply(SLsv, 256))\n pV99 = []\n for YRbF, f4IJ in enumerate(QRtr):\n if PJWX:\n print('Computing facial landmarks... {:.1f}%'.format(100.0 * (YRbF + ...
[ "0.689068", "0.68787104", "0.68787104", "0.673929", "0.66141653", "0.61886597", "0.611724", "0.5882194", "0.5851471", "0.58252877", "0.5794902", "0.57377267", "0.5733932", "0.5688064", "0.56825036", "0.5644469", "0.5632531", "0.56302077", "0.56162626", "0.56021917", "0.558027...
0.8438608
1
Returns the facebox data Returns the facebox data using fex.facebox_columns.
def n22Y(YKHO): return YKHO[YKHO.facebox_columns]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n22Y(YKHO):\n return YKHO[YKHO.facebox_columns]", "def Kp6m(nPrm):\n sdCG = UuNZ(nPrm)\n S6mZ = nPrm['position_data']['face_box'][nPrm['i']]\n ttV6 = nPrm['sefs'][nPrm['i']]\n if S6mZ is not None:\n XC5k.rectangle(sdCG, *S6mZ, (0, 255, 0))\n else:\n XC5k.rectangle(sdCG, *ttV6,...
[ "0.786718", "0.58591956", "0.5781269", "0.57674426", "0.57323515", "0.57317066", "0.57074684", "0.5695902", "0.5650277", "0.5650277", "0.5629819", "0.5547583", "0.54429126", "0.53911495", "0.53716815", "0.5363829", "0.5342121", "0.532826", "0.53220755", "0.5313227", "0.525019...
0.7945136
0
Plots detection results by Feat.
def is1U(YKHO, h4n7=True, CV5j=True, tlBK=False, shtX=False): from PIL import Image import matplotlib.pyplot as QrM1 from matplotlib.patches import Rectangle import seaborn as uuEx from textwrap import wrap uuEx.set_context('paper', font_scale=2.0) g4y1 = YKHO.input().unique() KEH4 = [] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ymRl(QtII, um4J, Ca8T, tGDF=['plants', 'water']):\n QrM1.style.use(['dark_background', 'bmh'])\n RBVb('figure', figsize=(8, 8), max_open_warning=False)\n RBVb('axes', facecolor='none')\n QrM1.figure(figsize=(15, 15))\n for YRbF, (rb3L, bGrB) in enumerate(QtII.take(10)):\n aNZO = QrM1.subp...
[ "0.6936621", "0.6553356", "0.6532636", "0.6425827", "0.6355377", "0.6339292", "0.63373595", "0.62557954", "0.62518823", "0.6233054", "0.6231182", "0.61923826", "0.6184363", "0.61733305", "0.6170361", "0.61695814", "0.6168787", "0.61479247", "0.614077", "0.6139721", "0.6132155...
0.6414809
4
return the root item, which is smallest item
def T7C_(YKHO): if YKHO.is_empty(): raise ValueError('Heap is empty') return YKHO._heap[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k9Va(YKHO):\n return YKHO._find_smallest(YKHO.root)", "def ohV5(YKHO):\n if YKHO.root is None:\n return float('+inf')\n jvSB = YKHO.root\n while jvSB.left is not None:\n jvSB = jvSB.left\n return jvSB.key", "def Rr1k(YKHO):\n ZbOB = YKHO\n while ZbOB.hasLeftChild():\n ...
[ "0.80904216", "0.7712999", "0.75463486", "0.75278705", "0.74578255", "0.74254566", "0.7418548", "0.7393716", "0.73874015", "0.7343374", "0.7324827", "0.73158646", "0.73106855", "0.7302941", "0.72807777", "0.7251923", "0.7242987", "0.71348315", "0.7131564", "0.7127903", "0.710...
0.0
-1
Returns the signals names list of the 128 signals available in the software Returns
def eX1s(YKHO): HNum = YKHO.NanonisTCP.make_header('Signals.NamesGet', body_size=0) YKHO.NanonisTCP.send_command(HNum) geh0 = YKHO.NanonisTCP.receive_response() ncVB = YKHO.NanonisTCP.hex_to_int32(geh0[4:8]) or8S = 8 MMe5 = [] for exwG in range(ncVB): zNig = YKHO.NanonisTCP.hex_to_in...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PuRq(YKHO):\n return [YKHO.signal_label(Fpx_) for Fpx_ in range(YKHO.signals_in_file)]", "def WNU3(YKHO, MMe5):\n Aofo = []\n for mWFP in MMe5:\n JBZA = YKHO._pio.signal_description(mWFP)\n e9Yr = YKHO._pio.signal_domain_type(mWFP)\n hXjR, Z1yi, oQ6x = YKHO._pio.signal_info(mWFP...
[ "0.7081996", "0.6256773", "0.62184995", "0.6027004", "0.602181", "0.59879315", "0.58767784", "0.58168095", "0.57998013", "0.5774171", "0.5773198", "0.57506484", "0.5691146", "0.5681253", "0.56616247", "0.5658089", "0.56555593", "0.56504756", "0.5634074", "0.5604724", "0.55868...
0.67688495
1
Returns the range limits of the selected signal
def sAuQ(YKHO, y0Rf): HNum = YKHO.NanonisTCP.make_header('Signals.RangeGet', body_size=4) HNum += YKHO.NanonisTCP.to_hex(y0Rf, 4) YKHO.NanonisTCP.send_command(HNum) geh0 = YKHO.NanonisTCP.receive_response(8) LdVe = YKHO.NanonisTCP.hex_to_float32(geh0[0:4]) yQ0H = YKHO.NanonisTCP.hex_to_float32(g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zh7C(YKHO):\n kg7d = [WKvO * YKHO.getSign() + YKHO.getOffset() for WKvO in (YKHO.connection.getChannel(YKHO.chanNamePrefix % 'low_limit').read(), YKHO.connection.getChannel(YKHO.chanNamePrefix % 'high_limit').read())]\n return (min(kg7d), max(kg7d))", "def c5uu(YKHO):\n return [min(YKHO.xvalues), ma...
[ "0.73762864", "0.71308875", "0.7054792", "0.6830011", "0.6793152", "0.6729338", "0.6718176", "0.67145187", "0.67106813", "0.67011774", "0.66700286", "0.6667773", "0.6657521", "0.66403186", "0.6615031", "0.6606257", "0.65952", "0.65758884", "0.6560238", "0.65521395", "0.654826...
0.6633522
14
Flat negative utility as long as the required data rate is not met; then positive. Nothing in between.
def PrJZ(rm2G, W4X1): if rm2G >= W4X1: return HfFX return Thsb
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tbib(nPrm):\n return sfxH.negative(nPrm)", "def la4d(YKHO):\n return 0 - YKHO", "def la4d(YKHO):\n return -1 * YKHO", "def tbib(jzdc: Decimal) -> ZjSO:\n return -jzdc", "def la4d(YKHO):\n return YKHO.__mul__(-1)", "def la4d(YKHO):\n return YKHO.neg()", "def PKV0(YKHO):\n if YKH...
[ "0.7066463", "0.665684", "0.6532293", "0.64558023", "0.64310837", "0.64054364", "0.64012533", "0.6342113", "0.63170445", "0.6309546", "0.6293097", "0.6287095", "0.6280602", "0.62652326", "0.6237082", "0.6232605", "0.6226406", "0.6218029", "0.6215773", "0.62019897", "0.6201989...
0.0
-1
Get the firmware writeprotection state.
def bGIA(YKHO): CqyM = YKHO._interface.get('fw_wp_en') == 'on' gvpA = YKHO._interface.get('fw_wp') == 'on' if CqyM: return YKHO._STATE_FORCE_ON if gvpA else YKHO._STATE_FORCE_OFF else: return YKHO._STATE_ON if gvpA else YKHO._STATE_OFF
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ja6o(YKHO):\n U5bT = YKHO.send('?S', recv=True)\n assert U5bT in 'WDR'\n return U5bT", "def nc8k(YKHO) -> str:\n return qe4Y.get(YKHO, 'current_protection_state')", "def r0xN(YKHO, Z9rn):\n return YKHO.protection_state", "def jf1H(YKHO) -> 'outputs.ProtectionStatusDetailsResponse':\n re...
[ "0.6681692", "0.66042894", "0.6322094", "0.6071203", "0.58912504", "0.58912504", "0.5873062", "0.5845878", "0.58376557", "0.5716381", "0.56194377", "0.5616816", "0.56100225", "0.5602101", "0.55674225", "0.5563936", "0.5562468", "0.55550563", "0.5532806", "0.5522311", "0.55085...
0.6028243
4
Test that it raises an error if transitions is the wrong size.
def Zb8V(YKHO): with YKHO.assertRaises(ValueError): kbWm.Viterbi([1], [1], [[]], [lambda WKvO: 1])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qVbB(YKHO, UlCL: np.ndarray) -> oyIN.ndarray:\n if not isinstance(UlCL, oyIN.ndarray):\n raise TypeError('Transition matrix must be a numpy.ndarray')\n if not UlCL.shape == (YKHO.n_states, YKHO.n_states):\n raise ValueError('Transition matrix must be of shape (n_states, n_states)')\n if ...
[ "0.67167807", "0.66485035", "0.65419185", "0.64016193", "0.6346695", "0.6316185", "0.6251593", "0.6177131", "0.6109697", "0.6097884", "0.6073906", "0.60323924", "0.5990011", "0.59798384", "0.59667546", "0.5940059", "0.5925748", "0.5901199", "0.5878569", "0.5870042", "0.584557...
0.6723367
0
Calculate the great circle distance between two points on the earth (specified in decimal degrees)
def DJ7s(YKHO, PNCc, igSk, v7YJ, TGuP): PNCc, igSk, v7YJ, TGuP = map(Y_1E, [float(PNCc), float(igSk), float(v7YJ), float(TGuP)]) H91H = v7YJ - PNCc n_9K = TGuP - igSk jzdc = YUNn(n_9K / 2) ** 2 + YhSR(igSk) * YhSR(TGuP) * YUNn(H91H / 2) ** 2 Z9rn = 2 * P099(PZyS(jzdc)) Mkmy = 6371 return Z9r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KzuF(rCSf, hjIX, FNKk, T3JP):\n hjIX = r8hN.radians(hjIX)\n rCSf = r8hN.radians(rCSf)\n T3JP = r8hN.radians(T3JP)\n FNKk = r8hN.radians(FNKk)\n Csk6 = 2 * 6367.45 * r8hN.asin(r8hN.sqrt(GeVo(FNKk - rCSf) + r8hN.cos(rCSf) * r8hN.cos(FNKk) * GeVo(T3JP - hjIX)))\n return Csk6", "def T97B(GgQG, ...
[ "0.8146062", "0.78638023", "0.7604661", "0.7595527", "0.75950956", "0.7592873", "0.757031", "0.7564319", "0.75560796", "0.75300086", "0.7516366", "0.7493803", "0.746558", "0.7450864", "0.7432722", "0.7391925", "0.7355981", "0.7347892", "0.7330029", "0.73271745", "0.732655", ...
0.7632202
2
Test that the `space` class' repr can actually be used to reconstruct it.
def H4zp(YKHO): for G1Hx in (0, -1, 1, 1.75, 0.325, 1 / 7, -1.75, -0.325, -1 / 7): KCHu = n294(fake_curvature=G1Hx) Mkmy = repr(KCHu) Ty9i = eval(Mkmy) YKHO.assertTrue(KCHu == Ty9i)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H4zp():\n Z9rn = Lr0q(4)\n assert Z9rn.__repr__() == 'Circle(4)'", "def H4zp(YKHO, Mkmy, sWfS):\n assert repr(Mkmy) == sWfS", "def H4zp(YKHO):\n YKHO.assertEqual(repr(YKHO.card), 'A of Spades')", "def H4zp(YKHO):\n KMkJ = fuvS(2, 3, 4)\n KCHu = str(KMkJ)\n assert 'ConcentricGrid' in ...
[ "0.73583317", "0.72364193", "0.7070561", "0.6968653", "0.6947609", "0.6947217", "0.6841201", "0.6831168", "0.67981154", "0.6763639", "0.6755482", "0.67387325", "0.6714545", "0.6667278", "0.66649514", "0.6640729", "0.66333807", "0.66019505", "0.6570984", "0.65403324", "0.65355...
0.68895775
6
Test that the repr of the class can be used to exactly reconstruct a point. For this test, we don't care so much what the space or point is, only that it is reconstructible exactly.
def H4zp(YKHO): XSoh = (3 / 13, 4 / 13, 12 / 13) YXbZ = 7.3333737773773775 for G1Hx in (0, -1, 1, 1.75, 0.325, 1 / 7, -1.75, -0.325, -1 / 7): KCHu = n294(fake_curvature=G1Hx) XP5J = KCHu.make_point(XSoh, YXbZ) Mkmy = repr(XP5J) Ty9i = eval(Mkmy) YKHO.assertTrue(XP5J =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tJc6(YKHO):\n XP5J = PvyL(x=3, y=5)\n YKHO.assertTupleEqual(XP5J.__repr__(), (3.0, 5.0), 'Test of Point(x=3, y=5).__repr__() failed. Returned value != (3.0, 5.0)')", "def oPdp(YKHO):\n XP5J = PvyL(x=3, y=5)\n YKHO.assertEqual(XP5J.__str__(), '(3.0, 5.0)', 'Test of Point(x=3, y=5).__repr__() faile...
[ "0.74315566", "0.7010876", "0.6719743", "0.64998335", "0.6484903", "0.634178", "0.6326949", "0.629799", "0.62194276", "0.6167945", "0.6164364", "0.6142622", "0.61114615", "0.6019057", "0.59666646", "0.5960959", "0.59585816", "0.5937703", "0.5936237", "0.58785623", "0.5838388"...
0.7450213
0
Test that the magnitude of a point constructed from the (direction, magnitude) method actually has correct magnitude. Also checks that the magnitude matches the distance to the origin.
def O1Mc(YKHO): IrOQ = (1,) KoVS = (0, 1 / 2, 0, 1 / 2, 1 / 2, 0, 0, 0, 1 / 2) kh1c = (12 / 13, 4 / 13, 3 / 13) for G1Hx in (0, -1, 1): KCHu = n294(fake_curvature=G1Hx) for Csk6 in (0, 1, 1 / 3, 3 / 2): for exwG in (IrOQ, KoVS, kh1c): XP5J = KCHu.make_point(ex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O1Mc(YKHO):\n XOOk = F_On.Vector(1, 2, 3)\n YKHO.assertEqual(XOOk.magnitude(), epAf.sqrt(14))\n XOOk = F_On.Vector(-1, -2, -3)\n YKHO.assertEqual(XOOk.magnitude(), epAf.sqrt(14))\n XOOk = F_On.Vector(1, 0, 0)\n YKHO.assertEqual(XOOk.magnitude(), 1)\n XOOk = F_On.Vector(0, 1, 0)\n YKHO.a...
[ "0.6976977", "0.62176955", "0.61258674", "0.609689", "0.609689", "0.6085904", "0.6048376", "0.6014426", "0.5913031", "0.5852871", "0.58514756", "0.5800771", "0.5755077", "0.5749432", "0.57480156", "0.5734468", "0.5716839", "0.57111055", "0.56150967", "0.56097627", "0.55773836...
0.7013087
0
In Euclidean space, all of the sphere formulas look like a monomial in the radius r. Thus when we scale the r, we should expect the mass to be scaled by r^n, where n is the dimensionality and also the exponent in that monomial.
def XDJf(YKHO): KCHu = n294(curvature=0) twTI = 77773.33377377778 for AdrB in (2, 5, 1 / 3, 1 / 11, twTI, 1 / twTI): for mWFP, tpio in (('sphere_s1', 1), ('sphere_v2', 2), ('sphere_s2', 2), ('sphere_v3', 3)): YKHO.assertTrue(hrk3(getattr(KCHu, mWFP)(1) * AdrB ** tpio, getattr(KCHu, mWFP)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NUxm(Mkmy):\n return 4 / 3 * 3.14159 * Mkmy ** 3", "def NUxm(Mkmy):\n return 4 / 3.0 * epAf.pi * Mkmy ** 3", "def fr8z(exwG, Mkmy):\n return epAf.pi ** (exwG / 2) * Mkmy ** exwG / KMvS(exwG / 2 + 1)", "def SPW6(Mkmy):\n akib = 4 / 3 * epAf.pi * Mkmy ** 3\n return akib", "def T_P4(YKHO, W...
[ "0.6940514", "0.68404996", "0.6613535", "0.65793604", "0.65733814", "0.65725887", "0.6526441", "0.6446438", "0.63393754", "0.62693536", "0.62570846", "0.6243203", "0.6241686", "0.62026006", "0.6196672", "0.60735595", "0.6071401", "0.6061628", "0.6036803", "0.60190624", "0.601...
0.6543655
6
Test that the dot product behaves as expected, first using the properties of the dot product, then using test vectors.
def tvYa(YKHO): import itertools twTI = 0.3337777737373774 for G1Hx in (0, 1, -1, 1 / 11, -1 / 11, 1 + twTI, -1 - twTI): KCHu = n294(curvature=G1Hx) z1Rg = KCHu.make_origin(3) YKHO.assertTrue(z1Rg * z1Rg == 0) for XSoh in ((1, 0, 0), (3 / 5, 0, 4 / 5), (3 / 7, 6 / 7, 2 / 7), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gEh4():\n SjMt(BJ1H(lNLu(3.0, 2.0), lNLu(2.0, -1.0)), 4.0)", "def gEh4(YKHO):\n lSjb = SoA4(3, 4, 5)\n v8Fa = SoA4(2, 3, 4)\n BJ1H = lSjb.dot(v8Fa)\n aEqx = 3 * 2 + 4 * 3 + 5 * 4\n YKHO.assertEqual(BJ1H, aEqx)", "def wvGc():\n BJ1H(lNLu(1.0), lNLu(2.0, 3.0))", "def eb2N(YKHO):\n s...
[ "0.8664247", "0.83274865", "0.8118059", "0.8098606", "0.7927716", "0.7889314", "0.7855894", "0.75989074", "0.74231285", "0.7346898", "0.7001903", "0.69980097", "0.69750464", "0.6973565", "0.69656646", "0.6964708", "0.69644076", "0.69447196", "0.69319606", "0.6923835", "0.6916...
0.6961445
17
Provides a statistical summary of the providers' forecasts and their errors. Missing values are excluded.
def nUxu(CIn9, AhCl, ExCh, e6F1, bpJN, Z0AY, slwp, OPcU, inh2, pJDI, arit, OyJB, xqoZ): L3UG = round(HRpk([CIn9, e6F1, slwp, pJDI]), 3) WsFK = round(HRpk([AhCl, bpJN, OPcU, arit]), 3) MGU9 = round(HRpk([ExCh, Z0AY, inh2, OyJB]), 3) Wp7M = round(BJ1F([CIn9, e6F1, slwp, pJDI]), 3) mpEa = round(BJ1F([A...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zUDE(YKHO):\n sum = {'prior_var': [], 'post_var': [], 'percent_reduction': []}\n for QVeo in YKHO.prior_forecast.keys():\n zTi3 = YKHO.prior_forecast[QVeo]\n Xf84 = YKHO.posterior_forecast[QVeo]\n r902 = 100.0 * (1.0 - Xf84 / zTi3)\n sum['prior_var'].append(zTi3)\n sum[...
[ "0.6572249", "0.6057412", "0.5841539", "0.5594807", "0.5581071", "0.55651456", "0.5560634", "0.5553574", "0.54943204", "0.5466428", "0.54632604", "0.54625744", "0.54508865", "0.54131085", "0.5403664", "0.5400281", "0.5382816", "0.53824395", "0.5373882", "0.53687817", "0.53681...
0.5903888
2
Extracts index of the CAND cell from the macro name
def pdi9(aadv): KLHH = {10: 0, 9: 1, 8: 2, 7: 3, 6: 4} SQ3m = aadv.split('.') for YRbF, GIN8 in enumerate(SQ3m): if GIN8 in ['I_hilojoint', 'I_enjoint']: Q7me = SQ3m[YRbF - 1] break else: assert False, aadv or8S = int(Q7me[1:]) assert or8S in KLHH, (aadv, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EvYn(Jdbc, mWFP, d6pt):\n U5bT = 0\n for lQ3t in Jdbc.cregs:\n if mWFP != lQ3t.name:\n U5bT += lQ3t.size\n else:\n return U5bT + d6pt\n return U5bT + d6pt", "def EhRB(OGYo, mWFP, mLGw):\n for or8S in range(1, 26):\n if OGYo[chr(or8S + 64) + str(mLGw)].va...
[ "0.6677239", "0.65177643", "0.64571553", "0.6414777", "0.6116624", "0.60948515", "0.6059686", "0.60338223", "0.600395", "0.59993935", "0.59941286", "0.5988476", "0.5973601", "0.5892307", "0.58767915", "0.5873143", "0.5831077", "0.5810633", "0.57852215", "0.577415", "0.5764521...
0.6356116
4
Tests to ensure Model.from_dict() works as advertised.
def xjTb(YKHO): class Person(wOed): mWFP = NP6E() ZJe_ = LooS(bounds=(0, None)) VCYo = aSlI(of=NP6E()) pnOk = nj3W.from_dict({'name': 'Joe Shmoe', 'age': 21, 'siblings': ['Dick Shmoe', 'Jane Shmoe']}) assert pnOk.name == 'Joe Shmoe' assert pnOk.age == 21 assert pnOk.siblings...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gwbn(YKHO):\n kYGz = KcDH()\n kYGz.name = 'Holberton'\n kYGz.my_number = 89\n VV5h = kYGz.to_dict()\n ftz7 = KcDH(**VV5h)\n YKHO.assertEqual(kYGz.my_number, ftz7.my_number)\n YKHO.assertEqual(kYGz.id, ftz7.id)\n YKHO.assertEqual(kYGz.name, ftz7.name)\n YKHO.assertEqual(kYGz.created_a...
[ "0.7688621", "0.731317", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", "0.72200084", ...
0.7694948
0
returns 1 if the point is inside any obstacles 0 otherwise
def RfDZ(AU8u, fhZS): for W061 in fhZS: if AU8u[0] > W061[0][0] and AU8u[0] < W061[0][2] and (AU8u[1] > W061[1][0]) and (AU8u[1] < W061[1][2]): return 1 return 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iorx(YKHO, WKvO: float, LVAh: float) -> bool:\n for fhZS in YKHO.obstacles:\n if fhZS.contains_point((WKvO, LVAh)):\n return True\n return False", "def Gq2i(zFiD, rM81):\n GY6m = 100\n for YRbF in range(GY6m):\n if RfDZ((zFiD[0] + YRbF * (zFiD[2] - zFiD[0]) / GY6m, zFiD[1...
[ "0.7569299", "0.75461394", "0.75419754", "0.7019176", "0.70144844", "0.69907904", "0.68982977", "0.6818476", "0.6774961", "0.67379445", "0.667127", "0.66310084", "0.6615502", "0.66107047", "0.6606105", "0.6582978", "0.6573739", "0.65736836", "0.6563211", "0.6532585", "0.65290...
0.83202106
1
Returns nested string representation of the dictionary (like json.dumps).
def PjZe(YKHO, MnRD=1): smAg = U8Lr({str(G1Hx): Ty9i for G1Hx, Ty9i in YKHO.items()}) for G1Hx, Ty9i in smAg.items(): if isinstance(Ty9i, dict): smAg[G1Hx] = U8Lr({str(LEev): hQHm for LEev, hQHm in Ty9i.items()}) for LEev, hQHm in smAg[G1Hx].items(): if isinstance...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rekt(YKHO) -> str:\n kcsq = []\n for H5ew, BWXx in YKHO.__dict__.items():\n if isinstance(BWXx, dict):\n kcsq.append(H5ew)\n kcsq.extend('\\n'.join(['Key: {:24}\\tValue: {}'.format(ibDM, LXG0) for ibDM, LXG0 in BWXx.items()]))\n else:\n kcsq.append('Key: {:2...
[ "0.7627298", "0.72192067", "0.71890104", "0.7064385", "0.70334524", "0.70074034", "0.6991048", "0.6952123", "0.6899821", "0.6873991", "0.68563676", "0.684795", "0.68241227", "0.6818709", "0.6813821", "0.67837304", "0.6758368", "0.6736979", "0.672827", "0.6699891", "0.6698725"...
0.70391566
4
Returns all children of the requested type that have the requested attribute == requested value.
def Qa36(YKHO, n0X3: str, xC3W: str, BWXx: str) -> x1iM[d2OS]: return [z1Rg for z1Rg in YKHO.get_objects_by_type(n0X3) if z1Rg.get_attribute(xC3W) == BWXx]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def neBz(tk5Y, *, type=None, o8Kj={}, rb7a=10000):\n for aUGN in tk5Y.get_children():\n assert isinstance(aUGN, K8hS)\n kUBT = True\n if type and (not isinstance(aUGN, type)):\n kUBT = False\n if not all((KGI7(aUGN, H5ew, BWXx) for H5ew, BWXx in o8Kj.items())):\n ...
[ "0.62692064", "0.61959255", "0.6129688", "0.60676503", "0.58746266", "0.57456374", "0.57456374", "0.5730761", "0.56680083", "0.5666754", "0.56216437", "0.56107014", "0.5610693", "0.559932", "0.5574028", "0.5562178", "0.5560661", "0.54851705", "0.5461284", "0.5440673", "0.5405...
0.6883142
0
Add an item to the top of the stack.
def _jXH(YKHO, ZfUD): YKHO.items.append(ZfUD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _jXH(YKHO, ZfUD):\n YKHO.stack.insert(0, ZfUD)", "def _jXH(YKHO, ZfUD):\n YKHO.stack.append(ZfUD)", "def _jXH(YKHO, ZfUD):\n YKHO.stack.append(ZfUD)", "def _jXH(YKHO, ZfUD):\n YKHO.top = [ZfUD] + YKHO.top", "def _jXH(YKHO, ZfUD: Any) -> None:\n Q6kx: o7DN = o7DN(ZfUD)\n if YKHO.is_emp...
[ "0.8537657", "0.8231838", "0.8231838", "0.8116884", "0.79721665", "0.79617554", "0.7936523", "0.78856003", "0.7831923", "0.77516866", "0.7709417", "0.7687498", "0.7645379", "0.75725293", "0.7538926", "0.74725765", "0.7427238", "0.7426789", "0.7425252", "0.74129057", "0.739656...
0.7164999
27
Return the top of the stack.
def T7C_(YKHO): return YKHO.items[len(YKHO.items) - 1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tlxW(YKHO):\n if YKHO.stack == []:\n return None\n return YKHO.stack[-1]", "def tlxW(YKHO):\n if YKHO.stack:\n return YKHO.stack[-1]\n raise ValueError", "def tlxW(YKHO):\n return YKHO.stack[-1]", "def tlxW(YKHO) -> int:\n return YKHO.stack[-1]", "def tlxW(YKHO) -> int:\...
[ "0.8958158", "0.88953453", "0.87201875", "0.8571802", "0.8571802", "0.8552679", "0.85195655", "0.83358246", "0.833083", "0.83180547", "0.8304592", "0.82532", "0.82478213", "0.8205401", "0.8178111", "0.81203896", "0.8096149", "0.8084116", "0.7972592", "0.79617023", "0.78329045...
0.0
-1
Return true if and only if the stack is empty.
def A4KR(YKHO): if YKHO.items == None: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBfn(YKHO):\n return len(YKHO.the_stack) == 0", "def FBfn(YKHO):\n return len(YKHO.stack) == 0", "def lsmZ(YKHO) -> bool:\n if len(YKHO.stack) == 0:\n return True\n else:\n return False", "def lsmZ(YKHO) -> bool:\n return len(YKHO.stack) == 0", "def lsmZ(YKHO):\n return ...
[ "0.9229959", "0.9187908", "0.9156134", "0.91536194", "0.91056377", "0.90918183", "0.90918183", "0.9081206", "0.8974966", "0.8973743", "0.8949262", "0.88958967", "0.8875942", "0.88593787", "0.88593787", "0.8859211", "0.88169986", "0.8807362", "0.8790325", "0.8726085", "0.87163...
0.0
-1
Convert rotations given as quaternions to rotation matrices.
def Hf7V(urL5): Mkmy, YRbF, r845, G1Hx = ht2j.unbind(urL5, -1) LyLa = 2.0 / (urL5 * urL5).sum(-1) z1Rg = ht2j.stack((1 - LyLa * (r845 * r845 + G1Hx * G1Hx), LyLa * (YRbF * r845 - G1Hx * Mkmy), LyLa * (YRbF * G1Hx + r845 * Mkmy), LyLa * (YRbF * r845 + G1Hx * Mkmy), 1 - LyLa * (YRbF * YRbF + G1Hx * G1Hx), LyL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E9zH(cJsZ, hbUd, BzON, iv7Q) -> oyIN:\n CYO9 = 2 * (cJsZ * cJsZ + hbUd * hbUd) - 1\n BgWB = 2 * (hbUd * BzON - cJsZ * iv7Q)\n LpGM = 2 * (hbUd * iv7Q + cJsZ * BzON)\n WM11 = 2 * (hbUd * BzON + cJsZ * iv7Q)\n Kri1 = 2 * (cJsZ * cJsZ + BzON * BzON) - 1\n sUwq = 2 * (BzON * iv7Q - cJsZ * hbUd)\n...
[ "0.7556122", "0.734608", "0.7273189", "0.7248003", "0.71576226", "0.7103836", "0.7101638", "0.7073682", "0.70327914", "0.6948816", "0.691051", "0.6897135", "0.686652", "0.67593074", "0.6753725", "0.6734849", "0.67228466", "0.6715095", "0.67141867", "0.6690246", "0.6690246", ...
0.73008364
2
Make a new device driver If your child class also has an init function, don't forget to call `super().__init__()`! If you pass a simulation_object (a callable which returns an object which implements a method called "query" which takes a string as input and produces a string as output) then this driver can be run in si...
def FIMM(YKHO, *qIxc, id=None, GrHg=False, hw6u=57600, dIjg=' ', **B2fa): bo34.debug('Creating new driver object for device %s', id) YKHO.command_separator = dIjg YKHO.simulation = GrHg if not id: raise ValueError('You must pass an id') try: YKHO.id = La0F(id) if YKHO.id.lowe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, rRzo, mWFP=None, OFQE=None):\n super().__init__(rRzo, name=mWFP, i2c=OFQE)\n YKHO.sim = None", "def FIMM(YKHO, N6LA, xl08):\n YKHO.kernel_api = None\n if N6LA == 'traci':\n YKHO.simulation = IbgC(YKHO)\n YKHO.network = sFI0(YKHO, xl08)\n YKHO.vehicle = OIbb(YKHO, x...
[ "0.61960036", "0.6151352", "0.61269534", "0.6040944", "0.58551556", "0.5850262", "0.5809987", "0.5751357", "0.5697687", "0.56727403", "0.5662593", "0.5633159", "0.5540421", "0.55293876", "0.5488719", "0.54857534", "0.5480112", "0.54695004", "0.54672223", "0.5466742", "0.54567...
0.6724382
0
Close the connection to this device. After this method is called, no other methods will work and this object should be discarded.
def DDI8(YKHO): bo34.warning('Closing VISA connection to device %s', YKHO.dev_id) YKHO.instr.close() del G2MM[YKHO.dev_id] del wsZH[YKHO.dev_id]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DDI8(YKHO):\n YKHO.device.disconnect()", "def DDI8(YKHO):\n YKHO.device.close()", "def wNOv(YKHO):\n raise NotImplementedError('implement in derived transport class')", "def DDI8(YKHO) -> None:\n if YKHO.__opened:\n YKHO.device.close()\n YKHO.__opened = False", "def DDI8(YKHO)...
[ "0.83891964", "0.82722986", "0.801343", "0.793924", "0.7921128", "0.7770837", "0.77586097", "0.77462935", "0.7720507", "0.7697589", "0.76925737", "0.76883036", "0.76796466", "0.7677324", "0.76755846", "0.7658179", "0.7649552", "0.76257664", "0.7618437", "0.7616994", "0.759503...
0.0
-1
Filters out all the data points that don't have evidence in the given corpus This will only be used when only a sample of the corpus is used (for testing purposes)
def P6IV(nPrm: List[dict], rrSk: dict): DphK = list(rrSk.keys()) FtWz = [] for Csk6 in nPrm: zgyA = _bPv(Csk6) for bffr in zgyA: if bffr in DphK: FtWz.append(Csk6) break return FtWz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kppo(YKHO, gGnb):\n GfdN = [G1Hx not in YKHO._samples for G1Hx in gGnb]\n Ytbv = oyIN.sum(GfdN)\n if Ytbv > 0:\n with open('/tmp/excluded.subjects', 'w') as eHNT:\n for ZfUD in gGnb[oyIN.array(GfdN)]:\n eHNT.write('%s\\n' % ZfUD)\n print(Ytbv, 'were not in vcf f...
[ "0.6361318", "0.6335295", "0.600313", "0.59109133", "0.58922136", "0.58378917", "0.5788261", "0.57730836", "0.57625693", "0.57011586", "0.56857", "0.5643858", "0.5617604", "0.5586348", "0.5529099", "0.54720646", "0.5436433", "0.5436164", "0.54335773", "0.54274094", "0.5419971...
0.73949057
0
This function appends a string at the end of a text file (UTF8) and returns the number of characters added
def taSO(Ux0P='', l5Ny=''): with open(Ux0P, 'a') as BdN0: raqa = BdN0.write(l5Ny) BdN0.close() return raqa
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def taSO(Ux0P='', l5Ny=''):\n with open(Ux0P, 'a', encoding='utf-8') as EY3W:\n m7GZ = EY3W.write(l5Ny)\n return m7GZ", "def taSO(Ux0P='', l5Ny=''):\n UHFx = 0\n with open(Ux0P, 'a', encoding='utf-8') as eHNT:\n UHFx = eHNT.write(str(l5Ny))\n return UHFx", "def taSO(Ux0P='', l5Ny='...
[ "0.80808324", "0.7698628", "0.76165926", "0.74722177", "0.702376", "0.6901683", "0.6870309", "0.679619", "0.67527986", "0.6727121", "0.6677319", "0.66663206", "0.66330814", "0.6628055", "0.6593488", "0.658327", "0.6576636", "0.65581506", "0.6462257", "0.63993156", "0.63973117...
0.62818354
24
Closes the connection but automatically commits before doing so.
def DDI8(jSYO=True): if jSYO: UzPC.commit() UzPC.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KPcr(YKHO):\n YKHO.connection.commit()\n YKHO.cursor.close()\n YKHO.connection.close()", "def mzWe(YKHO, UzPC):\n UzPC.commit()\n UzPC.close()", "def DDI8(YKHO):\n YKHO.conn.commit()\n YKHO.conn.close()\n stkY.release(YKHO.lock)", "def DDI8(YKHO):\n YKHO.connection.commit()\n ...
[ "0.79462487", "0.78683907", "0.76800936", "0.7479128", "0.74709946", "0.74501497", "0.73357517", "0.7300451", "0.72837037", "0.71752745", "0.7140643", "0.7114005", "0.7111587", "0.7095112", "0.7093633", "0.70799047", "0.7079185", "0.7069021", "0.7069021", "0.7066565", "0.7040...
0.7458308
5
Write either failed sample IDs or SNPs to two files. One is a humanreadable csv file, the other is a csv file intended to be read into a Pandas DataFrame.
def nQX5(MUIl: dict, _RR0: str='failed_ids'): gqtN = Ux0P + '_hr.csv' zTi3 = Ux0P + '_pr.csv' with open(gqtN, 'w') as eHNT: for G1Hx, Ty9i in MUIl.items(): eHNT.write(str(G1Hx) + ': ' + str(Ty9i) + '\n') rLdf.DataFrame.from_dict(data=MUIl, orient='index').to_csv(zTi3, header=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RKgt(OXXj: str='plink.imiss', cMPX: str='plink.lmiss', bxcZ: str='plink.sexcheck', XqVH: str='het_fail_ind.txt', MkBL: str='pihat_min0.2_in_founders.genome', Lsrz: bool=True):\n A07C = {}\n l8wm = []\n XL1d = rLdf.read_csv(OXXj, delimiter=' ', skipinitialspace=True)\n TNN6 = rLdf.read_csv(cMPX, del...
[ "0.59206516", "0.5845258", "0.58105785", "0.575506", "0.5745646", "0.5745309", "0.5710545", "0.5644103", "0.556784", "0.544185", "0.5432509", "0.54268724", "0.5420259", "0.5400306", "0.53917617", "0.53685975", "0.5348828", "0.5346041", "0.53247756", "0.5324289", "0.531969", ...
0.59977597
0
Set a Phandle at root of tree
def p2E4(YKHO, FMS4, Q6kx): if YKHO.is_root(): YKHO.phandles[FMS4] = Q6kx else: YKHO.parent.set_phandle(FMS4, Q6kx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WwKU(YKHO, nVrR):\n ...", "def hEGt(YKHO, tk5Y):\n YKHO.root = tk5Y", "def hEGt(YKHO, tk5Y):\n YKHO.root = tk5Y", "def Q7DL(YKHO):\n try:\n FQcb(Yg1o.TreeliteTreeBuilderSetRootNode(YKHO.tree.handle, gk2W.c_int(YKHO.node_key)))\n except AttributeError:\n raise ICwg('This node ...
[ "0.65065104", "0.6168138", "0.6168138", "0.6086465", "0.6064793", "0.60237354", "0.6013145", "0.59666854", "0.5928178", "0.592426", "0.591921", "0.5821204", "0.58120984", "0.58011585", "0.5799797", "0.5778036", "0.5778036", "0.5771436", "0.57671916", "0.57671916", "0.57248354...
0.80903965
0
Return Unsigned 64 bit value
def mrb6(EJwJ): zNig = BlNT.calcsize('!Q') return (BlNT.unpack('!Q', EJwJ[:zNig])[0], EJwJ[zNig:])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j5PQ(YKHO):\n return YKHO.read(zNGS.UINT_64.value)", "def WhIS(BWXx: bytes, dmhX: str='little', Zihr: bool=False) -> int:\n return MZ6z(BWXx, 64, dmhX, Zihr)", "def bDih(YKHO, dmhX='<'):\n return YKHO.unpack('%sQ' % dmhX, 8)", "def lQYI(wEf2):\n if pJQY:\n return _Tdf(wEf2)\n else:\...
[ "0.7732684", "0.7446968", "0.72475135", "0.69126683", "0.6825021", "0.6811793", "0.6808178", "0.6808178", "0.6703142", "0.65805477", "0.6558285", "0.64141923", "0.6322656", "0.63142073", "0.61584127", "0.614074", "0.61293703", "0.61293703", "0.61291134", "0.6006034", "0.59875...
0.77944994
0
Get a profile config entry.
def Aesb(YKHO, z39Z: str) -> h8nf[HQsn]: VECZ = YKHO.hass.config_entries.async_entries(PtXs.DOMAIN) for bTKY in VECZ: if bTKY.data.get(PtXs.PROFILE) == z39Z: return bTKY return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hyMU(YKHO):\n return YKHO.sqlfluff_config.get_section((YKHO.templater_selector, YKHO.name, 'profile'))", "def Bgf_(pmON='~'):\n global profiles\n z39Z = QhXp.get(pmON, None)\n if not z39Z:\n z39Z = bT8Y(Hy7s.path.join(pmON, '.myradioprofile'), {})\n QhXp[pmON] = z39Z\n return z39...
[ "0.66670287", "0.6411377", "0.6361126", "0.6269245", "0.62344956", "0.62108827", "0.6192574", "0.6067322", "0.6047501", "0.6047501", "0.60274976", "0.5993081", "0.5978055", "0.5957146", "0.5954137", "0.592238", "0.59220034", "0.5870727", "0.586618", "0.5852387", "0.5836615", ...
0.778216
0
Create an entry for selecting a profile.
async def async_step_user(YKHO, fZOT=None): _uqo = YKHO.hass.data.get(AUAL) if not _uqo: return YKHO.async_abort(reason='no_flows') if fZOT: return await YKHO.async_step_auth(fZOT) return YKHO.async_show_form(step_id='user', data_schema=qjHC.Schema({qjHC.Required(PtXs.PROFILE): qjHC.In(_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def euOS(vC92, **B2fa):\n from .profiles import Profile\n CBIr = B2fa['instance']\n Profile.objects.get_or_create(user=CBIr)", "def XM26(YKHO):\n if YKHO.profile:\n return\n from soc.modules.gsoc.models.profile import GSoCProfile\n CBIr = YKHO.createUser()\n C9U5 = {'link_id': CBIr.li...
[ "0.6810462", "0.6756266", "0.6752545", "0.6702942", "0.6544468", "0.652044", "0.6486107", "0.64638823", "0.64472526", "0.6446024", "0.6337883", "0.6322042", "0.63020146", "0.6233277", "0.6228291", "0.6228291", "0.6228291", "0.62151825", "0.6207635", "0.6181077", "0.6136875", ...
0.0
-1
Construct a InfraValidator component.
def FIMM(YKHO, C3ST: types.BaseChannel, iu6f: infra_validator_pb2.ServingSpec, _73Q: Optional[types.BaseChannel]=None, y8J8: Optional[infra_validator_pb2.RequestSpec]=None, QzYk: Optional[infra_validator_pb2.ValidationSpec]=None): cD3V = SnBA.Channel(type=T11B.InfraBlessing) Cqok = CJYy.InfraValidatorSpec(model...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nZer(YKHO):\n return fXSX(*YKHO.params)", "def FIMM(YKHO, aBkf):\n YKHO.validator = aBkf", "def FIMM(YKHO, *qIxc):\n VQ6Z = _VfD.new_SBMLExternalValidator(*qIxc)\n try:\n YKHO.this.append(VQ6Z)\n except:\n YKHO.this = VQ6Z", "def FIMM(Ro_8, kFeU: str, qIxc: InfraAlertConditio...
[ "0.5603296", "0.5553809", "0.54241323", "0.53484607", "0.52278566", "0.52126884", "0.51830024", "0.51698196", "0.5162531", "0.5120903", "0.5055932", "0.501882", "0.49940273", "0.49849048", "0.48895204", "0.48774824", "0.48774824", "0.48667395", "0.48442984", "0.4812087", "0.4...
0.66081
0
The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
def yuXE(YKHO) -> 'outputs.MaxPodsConstraintResponse': return qe4Y.get(YKHO, 'default_max_pods_constraint')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R5Zj(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'max_pods_per_node')", "def FIMM(Ro_8, *, R5Zj: Optional[pulumi.Input[str]]=None):\n if R5Zj is not None:\n qe4Y.set(Ro_8, 'max_pods_per_node', R5Zj)", "def rvg4(YKHO) -> h8nf[qe4Y.Input['MaxPodsConstraintArgs']]:\n return qe4Y.ge...
[ "0.72490424", "0.68969697", "0.68824875", "0.67405826", "0.67405826", "0.67405826", "0.67405826", "0.67405826", "0.649803", "0.649803", "0.63067025", "0.6065648", "0.60440755", "0.59721464", "0.5968138", "0.5968138", "0.59207267", "0.5918348", "0.58353317", "0.57983226", "0.5...
0.7413817
0
An optional description of this cluster.
def JBZA(YKHO) -> str: return qe4Y.get(YKHO, 'description')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UWf5(YKHO):\n if YKHO._cluster_description is None:\n if YKHO._parsed_globals is None:\n x0hE = YKHO._session.create_client('eks')\n else:\n x0hE = YKHO._session.create_client('eks', region_name=YKHO._parsed_globals.region, endpoint_url=YKHO._parsed_globals.endpoint_url, ...
[ "0.76005006", "0.6678997", "0.6652965", "0.65934986", "0.6575377", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", "0.65400887", ...
0.0
-1
Configure the maintenance policy for this cluster.
def PJXR(YKHO) -> 'outputs.MaintenancePolicyResponse': return qe4Y.get(YKHO, 'maintenance_policy')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O5jG(YKHO, m2vp, DEXX):\n print(('enabling' if m2vp else 'disabling') + ' Maintainer mode')\n h5J3 = 60\n while True:\n Amyp = YKHO.send_request(DEXX, G4JS.put, '/_admin/cluster/maintenance', '\"on\"' if m2vp else '\"off\"')\n if len(Amyp) > 0:\n print('Reply: ' + str(Amyp[0]....
[ "0.64312863", "0.623691", "0.5964941", "0.5939729", "0.58500016", "0.5806587", "0.569082", "0.5675406", "0.560191", "0.55524373", "0.5497656", "0.5389543", "0.5386789", "0.5330773", "0.53293234", "0.5314058", "0.5286401", "0.52688134", "0.52688134", "0.5238898", "0.52187634",...
0.57226455
6
[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in routebased network mode.
def Y_5Y(YKHO) -> int: return qe4Y.get(YKHO, 'node_ipv4_cidr_size')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zNig(YKHO):\n return sum((dBuj.size() for dBuj in YKHO.host_to_pool.values()))", "def zNig(YKHO):\n return YKHO._container._size", "def fLtQ(YKHO):\n return YKHO.max_node_capacity", "def jiw9(YKHO, Q6kx: int):\n return YKHO._servers[Q6kx].size + YKHO._queues[Q6kx].size", "def f0f2(YKHO):\n ...
[ "0.63324183", "0.6079987", "0.6069866", "0.60444885", "0.5908167", "0.59070915", "0.59035134", "0.58925134", "0.58586276", "0.574201", "0.5722505", "0.57091755", "0.5695193", "0.56881124", "0.56256837", "0.5572904", "0.55593646", "0.5550266", "0.55467", "0.54951555", "0.54932...
0.7194445
0
[Output only] The current status of this cluster.
def jGRS(YKHO) -> str: return qe4Y.get(YKHO, 'status')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SwtZ(YKHO):\n nPrm = YKHO.connect('get', 'cluster/status', None)\n return nPrm", "def VLTN(YKHO):\n try:\n Z9rn = YKHO._oc_command(['status'])\n z1Rg = fupw(Z9rn, return_output=True)\n for zFiD in z1Rg.split('\\n'):\n bo34.debug(zFiD)\n return z1Rg\n except ...
[ "0.8553311", "0.78891647", "0.7813006", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", "0.73891544", ...
0.70313823
54
Gets the details of a specific cluster.
def iBC6(JvOq: Optional[str]=None, Rci7: Optional[str]=None, bNKA: Optional[str]=None, VKhi: Optional[pulumi.InvokeOptions]=None) -> tpSz: rYZf = dict() rYZf['clusterId'] = JvOq rYZf['location'] = Rci7 rYZf['project'] = bNKA if VKhi is None: VKhi = qe4Y.InvokeOptions() if VKhi.version is...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HVIl(c0yN, f5m3):\n QgMl = dict()\n QgMl.update(P4t4.clusters[c0yN].__dict__)\n QgMl.pop('auth_data', None)\n QgMl['connection'] = P4t4.managers[c0yN]._client.state\n _hkX = oGir(qQXR.dumps(QgMl), status=200, mimetype='application/json')\n return _hkX", "def oT52(mWFP: str) -> PwH5:\n Gi...
[ "0.7897404", "0.75417316", "0.7313178", "0.7272689", "0.7173806", "0.710711", "0.7080003", "0.7046904", "0.70306623", "0.7023701", "0.7007954", "0.6987795", "0.6888798", "0.68558335", "0.6829277", "0.6829277", "0.67708707", "0.6730021", "0.6724221", "0.67015386", "0.6658421",...
0.6339357
38
Gets the details of a specific cluster.
def KTfV(JvOq: Optional[pulumi.Input[str]]=None, Rci7: Optional[pulumi.Input[str]]=None, bNKA: Optional[pulumi.Input[Optional[str]]]=None, VKhi: Optional[pulumi.InvokeOptions]=None) -> qe4Y.Output[uF6Q]: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HVIl(c0yN, f5m3):\n QgMl = dict()\n QgMl.update(P4t4.clusters[c0yN].__dict__)\n QgMl.pop('auth_data', None)\n QgMl['connection'] = P4t4.managers[c0yN]._client.state\n _hkX = oGir(qQXR.dumps(QgMl), status=200, mimetype='application/json')\n return _hkX", "def oT52(mWFP: str) -> PwH5:\n Gi...
[ "0.7897798", "0.7540865", "0.731198", "0.72720367", "0.7173309", "0.7105595", "0.70795816", "0.7044785", "0.7030576", "0.7023705", "0.70082265", "0.6988782", "0.6889642", "0.6854871", "0.68287843", "0.68287843", "0.6769925", "0.67298573", "0.6723058", "0.6700514", "0.6658565"...
0.6303932
42
Initialize the sensor entity.
def FIMM(YKHO, S3vU, XtFw): YKHO._name = f'{S3vU.data['deviceName']} {lc9R[XtFw]}' YKHO._sensor = XtFw YKHO.coordinator = S3vU YKHO._unique_id = f'{S3vU.data['deviceID']}-{XtFw}'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OM8D(YKHO):\n YKHO.flush()\n print('Initializing sensor...')\n try:\n YKHO.get_sample()\n print('Initialization successful')\n except:\n print('Initialization failed. Please disconnect and reconnect sensor.')", "def uIcm(YKHO):\n YKHO._entity = YKHO.args.get('new_entity')\...
[ "0.7230359", "0.70916075", "0.7091005", "0.6762784", "0.67036307", "0.6690288", "0.6670451", "0.6654925", "0.65851283", "0.65650827", "0.64943004", "0.64905995", "0.6485989", "0.6478384", "0.6428585", "0.6428585", "0.6428585", "0.6416432", "0.63569015", "0.6347496", "0.632133...
0.0
-1
Return the name of the sensor.
def mWFP(YKHO): return YKHO._name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO._sensor.name", "def _lKy(YKHO):\n return YKHO.data[1]", "def mWFP(YKHO):\n return YKHO.device.device_data[YKHO.device_id]['name'] + f' {YKHO._sensor_type}'", "def mWFP(YKHO):\n return f'{YKHO._name} {lc9R[YKHO.sensor][0]}'", "def mWFP(YKHO):\n return f'{YKHO._na...
[ "0.91896784", "0.9168378", "0.890185", "0.8770976", "0.8511273", "0.8479953", "0.844435", "0.8299758", "0.8186503", "0.8105667", "0.8079737", "0.8066149", "0.8049647", "0.7700968", "0.7612295", "0.7611456", "0.7600605", "0.7600605", "0.7600605", "0.75392073", "0.75166553", ...
0.0
-1
Return the device class.
def rM2U(YKHO): if YKHO._sensor == 'batteryLevel': return OJnG return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rM2U(YKHO):\n return YKHO._device_class", "def rM2U(YKHO):\n return YKHO._device_class", "def rM2U(YKHO):\n return YKHO._device_class", "def rM2U(YKHO):\n return YKHO._device_class", "def rM2U(YKHO):\n return YKHO._device_class", "def rM2U(YKHO):\n return YKHO._device_class", "def...
[ "0.9174014", "0.91620594", "0.91620594", "0.91620594", "0.91620594", "0.91620594", "0.907593", "0.9070195", "0.90696234", "0.9045985", "0.900636", "0.900636", "0.900636", "0.88951564", "0.8841795", "0.8841795", "0.8813498", "0.8746576", "0.87439585", "0.87439585", "0.8701672"...
0.7558658
49
This function receives a data frame saves it as csv file. By default all csv files will be saved on the same data folder (WeatherGenerator/Data).
def wn4j(jQ3Z, _bsB, gIsw, VWe_, tZ2K): try: _c1T = qcWV.datetime.now().replace(microsecond=0) GSwS = _bsB + gIsw jQ3Z.to_csv(GSwS, sep=VWe_, encoding=tZ2K, index=False, header=True) except IOError: print('Error saving the file: ', gIsw) HwRy.exit(1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eFxq(Kiac, qaEx):\n Kiac.to_csv(qaEx)\n return None", "def zHPr(jQ3Z: pd.DataFrame, mWFP: str, X05Z=False) -> None:\n puAn = Hy7s.path.dirname(xAKo)\n if X05Z:\n KTXh = Hy7s.path.join(puAn, 'eikon_time_series_files')\n else:\n KTXh = Hy7s.path.join(puAn, 'eikon_data_files')\n ...
[ "0.7642509", "0.7587368", "0.75801885", "0.749137", "0.7390332", "0.73413545", "0.7337835", "0.7332336", "0.7270352", "0.72200686", "0.7219331", "0.7153811", "0.7128128", "0.71032315", "0.709886", "0.70687246", "0.70483303", "0.7038225", "0.70165855", "0.6952389", "0.6939272"...
0.7485409
4
This function will return a random datetime between two datetime objects.
def YUTi(kepv, KhBf): RA_F = KhBf - kepv lFaR = RA_F.days * 24 * 60 * 60 + RA_F.seconds ij4K = tuKI.randrange(lFaR) qzrO = kepv + qcWV.timedelta(seconds=ij4K) return qzrO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qzrO(yKcO, Os4s):\n return yKcO + qcWV.timedelta(seconds=tuKI.randint(0, int((Os4s - yKcO).total_seconds())))", "def qzrO(yKcO, Os4s):\n RA_F = Os4s - yKcO\n lFaR = RA_F.days * 24 * 60 * 60 + RA_F.seconds\n ij4K = qukk(lFaR)\n return yKcO + fCoM(seconds=ij4K)", "def qzrO(yKcO, Os4s):\n RA...
[ "0.7791904", "0.7564631", "0.7562412", "0.7530505", "0.75095034", "0.75095034", "0.75095034", "0.75095034", "0.75095034", "0.7405501", "0.73354554", "0.723516", "0.72078717", "0.71699125", "0.6945227", "0.68628716", "0.67520624", "0.66040426", "0.6575143", "0.6524325", "0.624...
0.75455165
3
Test for exception for invalid rover heading direction from the the instructions
def RCVy(YKHO): QE8M = aKLT(YKHO.plateau_dimensions, YKHO.rover_initial_position, 8) with YKHO.assertRaises(Tr1Z): QE8M.get_heading
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iSqz(XSoh, paSp):\n assert XSoh in ['L', 'R', 'U', 'D'], 'Direction information has an incorrect alphabet'\n assert paSp > 0, 'Step value is zero'", "def mvta():\n rPMv.run(SRIv).stdin('EAST').stdout('Invalid command.')", "def zbHo(YKHO, XSoh):\n for UqXK, rLcl in YKHO.get_block_positions(YKHO....
[ "0.65833044", "0.6357308", "0.62598133", "0.6221409", "0.6108726", "0.6033738", "0.59482646", "0.59148085", "0.5909448", "0.5874125", "0.5872158", "0.5871811", "0.57743484", "0.5769745", "0.57350487", "0.5729894", "0.5703237", "0.5687465", "0.567887", "0.5635186", "0.56183463...
0.6877422
0
Get current scene name.
def XJhI(): iFGc = ccKF.file(query=True, sceneName=True, shortName=True) iFGc = BKva.splitext(iFGc)[0] return iFGc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hSt3(YKHO):\n return YKHO._document.GetDocumentName()", "def mWFP(YKHO):\n return YKHO._scene_name", "def ADZS(YKHO):\n bo34.debug('Func: currentBaseSceneName/getter')\n return YKHO._currentBaseSceneName", "def iFGc():\n pass", "def uWZQ():\n j9fW = bU35.bs_getEnvDetails()['projectNam...
[ "0.8562304", "0.8504572", "0.8130134", "0.76879084", "0.7049954", "0.67965925", "0.6732677", "0.6724501", "0.66471833", "0.6629287", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216", "0.659216...
0.87072027
0
Return True if no event was received for more that self._timeout seconds.
def qEa8(YKHO): return ITS7.time() - YKHO.last_activity > YKHO._timeout
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yb4p(YKHO) -> bool:\n return bool(YKHO.timeout)", "def R0RJ(YKHO) -> bool:\n return YKHO.runtime.timeout <= 0.0", "def wAzx(YKHO):\n if YKHO.timeout is None:\n return True\n return ITS7.time() <= YKHO._stop", "def GmXu(YKHO):\n return ITS7.time() > YKHO.end_time", "def qKjA(YKHO):...
[ "0.78861916", "0.75421256", "0.7503443", "0.74547696", "0.7451348", "0.7334026", "0.7321874", "0.7296838", "0.72828937", "0.7145972", "0.71218836", "0.7006994", "0.70036685", "0.6940974", "0.6886329", "0.6866522", "0.68532044", "0.6839235", "0.68082976", "0.6778195", "0.67576...
0.63674796
41
r"""A Wrapper for tensorboard SummaryWriter. It creates a dummy writer when log_dir is empty string or None. It also has functionality that generates tb video directly from numpy images.
def FIMM(YKHO, N_e1: str, *qIxc: Any, sDRJ: Optional[str]=None, **B2fa: Any): YKHO.writer = None if N_e1 is not None and len(N_e1) > 0: YKHO.writer = x5pc(N_e1, *qIxc, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gJzC(lKro):\n return x5pc(Hy7s.path.join(lKro, 'tensorboard'))", "def db60(YKHO):\n YKHO.writer = x5pc(log_dir=YKHO.log_dir)", "def FIMM(YKHO, N_e1):\n YKHO.writer = ZylS.summary.create_file_writer(N_e1)", "def FIMM(YKHO, N_e1):\n YKHO.writer = ZylS.summary.FileWriter(N_e1)", "def VQEe(YKHO...
[ "0.70837986", "0.6822536", "0.67881095", "0.67448044", "0.6740439", "0.653547", "0.6499817", "0.649777", "0.6493077", "0.64700574", "0.6467797", "0.62770206", "0.6270831", "0.61230636", "0.60727465", "0.6061636", "0.60464215", "0.59820116", "0.5820206", "0.57858354", "0.57605...
0.62245476
13
Decorator to "register" a mock method. `name` is required. Unlike `remote_method`, and `Mock.method`, this doesn't immediately add functions to a `Registry` instead, it sets an attribute on the function, allowing such functions to be recognised when the test case is instantiated.
def liu6(mWFP): def mrMx(JfyU): """ Return `func`, with the `mock_method.attr_name` attribute set. """ setattr(JfyU, liu6.attr_name, mWFP) return JfyU setattr(mrMx, liu6.decorator_attr_name, True) return mrMx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mrMx(JfyU):\n setattr(JfyU, liu6.attr_name, mWFP)\n return JfyU", "def MNvZ(Si4S):\n\n def h3Xc(YKHO, *qIxc, **B2fa):\n if Si4S not in YKHO.__dict__:\n raise AttributeError(\"object '%s' has no mock method '%s'\" % (WMub.get(id(YKHO)), Si4S))\n return YKHO.__dict__[Si4S](*qI...
[ "0.7267121", "0.6734391", "0.65233094", "0.64206845", "0.6276636", "0.6275976", "0.62199324", "0.61470366", "0.6111515", "0.60806227", "0.60078967", "0.59150237", "0.57728004", "0.57687855", "0.5745724", "0.57455486", "0.5732674", "0.5726623", "0.57248616", "0.5696047", "0.56...
0.74133193
0
Constructor for the InputSpec_FileTimeFilter class
def FIMM(YKHO, x77T=None, D9gg=None): YKHO.change_time_range_end_secs = x77T YKHO.change_time_range_start_secs = D9gg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, qaEx, CjKC, MTe8):\n YKHO.file_path = qaEx\n YKHO.day = CjKC\n YKHO.exec_time = MTe8", "def OSzj(YKHO):\n lo9Y = '[!] Microsoft FILETIME timestamps are 2 sets of 8 hex characters (4 bytes), separated by a colon'\n StIK = YKHO.ts_types['filetime']\n try:\n if not ':' in YKH...
[ "0.6358217", "0.63409555", "0.6320702", "0.62546915", "0.6202406", "0.6152201", "0.6085748", "0.6076846", "0.6069727", "0.59726804", "0.5960691", "0.59265167", "0.5924161", "0.59126186", "0.5910627", "0.5856921", "0.57780313", "0.5768944", "0.57120574", "0.56999254", "0.56876...
0.0
-1
Creates an instance of this model from a dictionary
def rQfz(Emd4, cmPJ): if cmPJ is None: return None x77T = cmPJ.get('changeTimeRangeEndSecs') D9gg = cmPJ.get('changeTimeRangeStartSecs') return Emd4(x77T, D9gg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rQfz(Emd4, cmPJ):\n if cmPJ is None:\n return None\n id = cmPJ.get('id')\n mWFP = cmPJ.get('name')\n tDvy = cmPJ.get('type')\n fFb7 = cmPJ.get('usageBytes')\n return Emd4(id, mWFP, tDvy, fFb7)", "def eLpg(Emd4, cmPJ):\n return Emd4(**cmPJ)", "def eLpg(Emd4, cmPJ):\n return Em...
[ "0.83181363", "0.8168959", "0.8168959", "0.81190246", "0.8089133", "0.79781497", "0.79491246", "0.792305", "0.7898849", "0.7895396", "0.78879154", "0.78826", "0.7881249", "0.78768563", "0.7858234", "0.7840083", "0.7804028", "0.7804028", "0.7804028", "0.7804028", "0.7804028", ...
0.0
-1
Show the user the home view.
def kZiy(): pB3N = p_z1.get_payload() return TvZl('index.html', payload=pB3N)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy(QePW):\n if QePW.user.is_authenticated():\n return Yd7Q('logged-in')\n else:\n nspo = 1\n return SGJU('content/home.html', {'version': DpZH, 'home_view': nspo}, K1Ja(QePW))", "def kZiy():\n return TvZl('home.html', face=cuiw.get(P4t4.config['SESSION_KEY'], None))", "def k...
[ "0.7822083", "0.7681199", "0.7657261", "0.7621443", "0.7581386", "0.7562457", "0.7542981", "0.74898934", "0.7455843", "0.74304396", "0.739116", "0.73809606", "0.7374586", "0.7372637", "0.7370815", "0.7368356", "0.73586553", "0.73586553", "0.73586553", "0.73586553", "0.7358655...
0.71515113
57
Make a colormap that interpolates between a set of colors
def zbMf(FPxY, Xlun=256, X7zS=None): from matplotlib.colors import LinearSegmentedColormap i6Hb = len(FPxY) if X7zS is None: X7zS = oyIN.linspace(0, 1, i6Hb) UNQF = [] TCxC = [] gJLo = [] ppkj = [] for Fg_i, Z9rn in zip(X7zS, FPxY): UNQF.append((Fg_i, Z9rn[0], Z9rn[0])) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qXq2(Jw9H):\n Jw9H = oyIN.asarray(Jw9H)\n if Jw9H.shape[1] == 3:\n Jw9H = oyIN.hstack((Jw9H, oyIN.ones((len(Jw9H), 1))))\n paSp = (0.5 + oyIN.asarray(range(len(Jw9H) - 1), dtype=oyIN.float)) / (len(Jw9H) - 1)\n return I8kJ.colors.LinearSegmentedColormap('auto_cmap', {Tsuu: [(0, fvDH[0], fvDH...
[ "0.7055231", "0.70238847", "0.697991", "0.6821794", "0.66445976", "0.64763236", "0.6431895", "0.6399483", "0.6385551", "0.6385279", "0.63844943", "0.6378595", "0.6367068", "0.63656914", "0.6358004", "0.6350998", "0.63482785", "0.63321567", "0.6314091", "0.6309613", "0.6234388...
0.57706785
79
Main route, entry point for react.
def b8V_(na_E=['GET']): soKL() return cs4A(rXn9(wk5E.static_folder, 'templates'), 'index.html', cache_timeout=-1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_():\n return TvZl('index.html')", "def b8V_():\n return TvZl('index.html')", "def gBgG():\n return TvZl('index.html')", "def d6pt():\n return TvZl('main.html')", "def d6pt():\n return TvZl('main.html')", "def d6pt():\n return TvZl('main.html')", "def b8V_():\n P4t4 = Z33s()...
[ "0.6447276", "0.6447276", "0.64463717", "0.62885624", "0.62535536", "0.62535536", "0.6203376", "0.61515373", "0.61481404", "0.61362463", "0.6129602", "0.61003274", "0.6099093", "0.60786444", "0.60769945", "0.6044359", "0.6034689", "0.6023297", "0.60171825", "0.59856635", "0.5...
0.5889983
29
Query HAPI for resource_type and return as JSON FHIR Bundle NB not decorated with `.require_login` as that does an implicit redirect. Client should watch for 401 and redirect appropriately.
def Ws1U(Qjbs, na_E=['GET']): eOtH = soKL() bD7m = wk5E.config.get('MAP_API') + Qjbs NArs = {'_count': 1000} NArs.update(QePW.args) _hkX = G4JS.get(bD7m, auth=AaCp(eOtH), params=NArs) try: _hkX.raise_for_status() except G4JS.exceptions.HTTPError as err: eTsH(XObx.response.sta...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j_d5(Qjbs, PcW4, na_E=['GET']):\n eOtH = soKL()\n bD7m = f'{wk5E.config.get('MAP_API')}{Qjbs}/{PcW4}'\n _hkX = G4JS.get(bD7m, auth=AaCp(eOtH))\n try:\n _hkX.raise_for_status()\n except G4JS.exceptions.HTTPError as err:\n eTsH(XObx.response.status_code, XObx)\n return pz3A(_hkX.j...
[ "0.6384943", "0.59034264", "0.58505565", "0.58505565", "0.5843548", "0.57318074", "0.57253337", "0.5722467", "0.5722467", "0.5722467", "0.5722467", "0.5722467", "0.5609039", "0.5602633", "0.55896556", "0.5560408", "0.55597615", "0.54899234", "0.54797965", "0.5467379", "0.5423...
0.6920961
0
Opens MS Excel spreadsheet and converts it to a pandas DataFrame Arguments
def ZAQi(YKHO, eZ_W, jV6y=3): WbAn = rLdf.read_excel(eZ_W) k9bt = list(WbAn.columns) for YRbF in range(len(k9bt)): "Rename 'Unnamed' columns that are formed from merged \n cells. These will form bins for analysis" if k9bt[YRbF].find('Unnamed') >= 0: for Fg_i in range(j...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UlWi(YKHO) -> rLdf.DataFrame:\n if not Hy7s.path.exists(YKHO.file_name):\n raise FileNotFoundError(f'File does not exist: {YKHO.file_name}')\n bGrB, YBcr = Hy7s.path.splitext(YKHO.file_name)\n assert YBcr == '.xls', 'Invalid filetype attempted to load'\n return rLdf.read_excel(YKHO.file_name...
[ "0.6927821", "0.68101346", "0.6791269", "0.6779291", "0.65881425", "0.65550566", "0.6459987", "0.64265513", "0.6392646", "0.6365372", "0.6361536", "0.6303345", "0.6301174", "0.62911224", "0.6281604", "0.6263413", "0.6236919", "0.62304354", "0.6213377", "0.6197233", "0.6163493...
0.0
-1
Check if the given word is a number. Return True in case it is together with the tuple('number', value)
def mFHL(YKHO, GIN8): try: return (('number', int(GIN8)), True) except ValueError: return (None, False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tIyV(GIN8):\n try:\n int(GIN8)\n return True\n except ValueError:\n return False", "def ye72(l5Ny):\n return l5Ny.lower() in a02f", "def Ozdp(yzQ0):\n rmc3 = list(yzQ0)\n for KCHu in rmc3:\n if KCHu in vIwR.digits:\n return '<NUM>'\n return yzQ0", ...
[ "0.789358", "0.7467294", "0.7333102", "0.6969791", "0.6964006", "0.6943701", "0.6941617", "0.6911992", "0.6892562", "0.6856893", "0.6847538", "0.683996", "0.68387276", "0.68271315", "0.6822781", "0.68095434", "0.68031216", "0.67755413", "0.67716694", "0.67705446", "0.67630583...
0.80926466
0
Split the given message into words. Return an array of tuples with (TYPE, WORD)
def amup(YKHO, Ol8d): V22M = Ol8d.split(' ') for GIN8 in V22M: YKHO.words.append(YKHO.__check_word__(GIN8)) return YKHO.words
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QmeH(P57q):\n return P57q.split()", "def l4Z4(Ol8d):\n QPxx = set(YcFa(Ol8d.replace('=\\\\n', '').lower()))\n POVZ = [GIN8 for GIN8 in QPxx if GIN8 not in di0c and len(GIN8) > 2]\n return POVZ", "def s2mk(l5Ny) -> AzJI[KLCG]:\n return tuple(ZbWC.findall('[a-z]+', l5Ny.lower()))", "def FsSq...
[ "0.66460824", "0.6443859", "0.6398183", "0.637118", "0.6302318", "0.62749106", "0.6269124", "0.6215595", "0.6203069", "0.62026393", "0.62026393", "0.61878115", "0.6163675", "0.6147167", "0.6147167", "0.6147167", "0.6147167", "0.6147167", "0.6146015", "0.6146015", "0.6129641",...
0.66256505
1
function that checks if a word is a number or not
def tIyV(GIN8): try: int(GIN8) return True except ValueError: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ye72(l5Ny):\n return l5Ny.lower() in a02f", "def Ozdp(yzQ0):\n rmc3 = list(yzQ0)\n for KCHu in rmc3:\n if KCHu in vIwR.digits:\n return '<NUM>'\n return yzQ0", "def uvGH(YKHO, WKvO):\n return WKvO in '1234567890.-'", "def QirG(Dhyu):\n return Myyj(Dhyu) or QpCZ(Dhyu)",...
[ "0.78436583", "0.7706737", "0.75962543", "0.7555199", "0.75409734", "0.75214046", "0.75180584", "0.7509221", "0.7465878", "0.7459621", "0.74367565", "0.7393404", "0.7370456", "0.73683584", "0.7351673", "0.7326669", "0.7314529", "0.728529", "0.7263139", "0.721123", "0.71813613...
0.8211872
0
Returns None if this is the base class. Returns the type of project if this is a valid project.
def wa6H(YKHO): wa6H = YKHO.__class__.__name__.lower() if wa6H == 'baseproject': wa6H = None return wa6H
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bNKA(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'project')", "def bNKA(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'project')", "def bNKA(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'project')", "def bNKA(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(Y...
[ "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6679888", "0.6569116", "...
0.87560594
0
Add a vertex to the graph.
def ohmD(YKHO, oqUi): if oqUi not in YKHO.vertices: YKHO.vertices[oqUi] = set()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ohmD(YKHO, SLBp):\n raise NotImplementedError", "def ohmD(YKHO, SLBp):\n if isinstance(SLBp, Yegm):\n YKHO.vertices.append(SLBp)\n return\n raise TypeError('Is not vertex instance!')", "def ohmD(YKHO, niHF: n):\n rJkO = Yegm(niHF)\n YKHO._graph[rJkO.name] = rJkO", "def ohmD(Y...
[ "0.8703537", "0.84338593", "0.8423067", "0.8409588", "0.83660835", "0.8317327", "0.8255059", "0.8086839", "0.8082268", "0.803738", "0.80348116", "0.7882737", "0.78723216", "0.7840483", "0.7840483", "0.7762625", "0.775688", "0.77160776", "0.7714244", "0.7668677", "0.76634395",...
0.71977395
45
Add a directed edge to the graph.
def rz7z(YKHO, hQHm, jlSq): if hQHm in YKHO.vertices and jlSq in YKHO.vertices: YKHO.vertices[hQHm].add(jlSq) else: raise IndexError('Nonexistant Vert.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rz7z(YKHO, D70y):\n zZcM = D70y.get_source()\n e1vZ = D70y.get_destination()\n if not (zZcM in YKHO.edges and e1vZ in YKHO.edges):\n raise ValueError('Node not in graph')\n YKHO.edges[zZcM].append(e1vZ)", "def WYRu(YKHO, hQHm, jlSq):\n if hQHm in YKHO.vertices:\n YKHO.vertices[hQ...
[ "0.78169996", "0.77789694", "0.7618847", "0.761851", "0.75694674", "0.7547367", "0.7483565", "0.7437083", "0.74284625", "0.7422367", "0.741715", "0.7337182", "0.73281914", "0.7266331", "0.7227267", "0.7212267", "0.71977764", "0.7194343", "0.71735585", "0.7168542", "0.7152955"...
0.64732856
84
Get all neighbors (edges) of a vertex.
def BTfj(YKHO, oqUi): return YKHO.vertices[oqUi]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o3gy(YKHO, SLBp):\n return list(YKHO.neighbor_in_iterator(SLBp))", "def YHRb(YKHO, SLBp):\n return list(YKHO.neighbor_out_iterator(SLBp))", "def qIRx(YKHO, SLBp):\n hlel = []\n if SLBp in YKHO.adjacency_list:\n for _Wdu in YKHO.adjacency_list[SLBp]:\n hlel.append([_Wdu.vertex....
[ "0.8146605", "0.7827587", "0.78129476", "0.7634852", "0.7618999", "0.7560592", "0.73914623", "0.7361076", "0.73325294", "0.72803164", "0.7162256", "0.71298254", "0.7084523", "0.70770735", "0.7035943", "0.6989027", "0.6977301", "0.6921764", "0.6862733", "0.68447185", "0.683753...
0.7294812
14
Read the power spectra.
def nuiR(gIsw, _nn5=None): nPrm = oyIN.loadtxt(gIsw) if _nn5 is None: return (nPrm[:, 0], nPrm[:, 1]) vC9B = nPrm[:, 0] hnFq = {Cqok: nPrm[:, YRbF + 1] for YRbF, Cqok in enumerate(_nn5)} return (vC9B, hnFq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _owh(YKHO):\n eHNT, _owh = cr9B.get_spectra(YKHO.input.data, method=YKHO.method)\n return _owh", "def TpZY(YKHO):\n pass", "def UgmH(YKHO):\n return YKHO.power", "def x0b3(SH8A):\n FxNH = qEVw.open(SH8A)\n yzQ0 = [jzdc[0] for jzdc in FxNH[0].data]\n eHNT = [jzdc[1] for jzdc in FxNH[0...
[ "0.6329057", "0.61971503", "0.613785", "0.6120758", "0.6106788", "0.60167044", "0.5948364", "0.59256417", "0.59231085", "0.5865226", "0.5854366", "0.582095", "0.58152694", "0.578552", "0.57659465", "0.57477266", "0.5726273", "0.571724", "0.57160217", "0.5703028", "0.5693531",...
0.5718962
17
Override config_test to mitigate configtest error in vanilla installation of mod_ssl in Fedora. The error is caused by nonexistent selfsigned certificates referenced by the configuration, that would be autogenerated during the first (re)start of httpd.
def svXR(YKHO) -> None: bhNm = gnPz.get_os_info() wyhk = bhNm[0].lower() == 'fedora' try: super().config_test() except UAju.MisconfigurationError: if wyhk: YKHO._try_restart_fedora() else: raise
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VAy9(YKHO):\n assert Mi51.security_settings.ssl_verify()", "def XD4i(YKHO):\n if hasattr(EzXZ, 'OP_NO_TLSv1_3'):\n Vqo8 = EzXZ.OP_NO_TLSv1_3\n delattr(EzXZ, 'OP_NO_TLSv1_3')\n YKHO.addCleanup(setattr, EzXZ, 'SSL.OP_NO_TLSv1_3', Vqo8)\n assert not hasattr(EzXZ, 'OP_NO_TLSv1_3...
[ "0.6727355", "0.63705546", "0.6329668", "0.6128186", "0.6121189", "0.6027173", "0.5984769", "0.595791", "0.5845316", "0.5811212", "0.5764254", "0.5710378", "0.5709384", "0.5708145", "0.5704409", "0.56836855", "0.567058", "0.5670131", "0.5651558", "0.5639474", "0.5631079", "...
0.61838734
3
Sprite needs to be a pygame.image object.
def FIMM(YKHO, Jqc7): YKHO.sprite = Jqc7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n super().__init__()\n YKHO.image = a9eO.Surface([20, 20])\n YKHO.image.fill(Uah8)\n YKHO.rect = YKHO.image.get_rect()", "def FIMM(YKHO):\n super().__init__()\n YKHO.image = a9eO.Surface([20, 20])\n YKHO.image.fill(Uah8)\n YKHO.rect = YKHO.image.get_rect()", "def FIMM(YK...
[ "0.6985332", "0.6973626", "0.6831595", "0.6831595", "0.67319673", "0.67185324", "0.66925913", "0.6686012", "0.6662481", "0.6637729", "0.6637485", "0.6610897", "0.660033", "0.6596914", "0.6587467", "0.65714735", "0.64629394", "0.6451392", "0.6406171", "0.63714856", "0.6319911"...
0.7154421
0
Loads environment for inference mode, used in jupyter notebook.
def NzmD(h_xa, eG0V): t9eR = dlRo.get_default_hparams() with ZylS.gfile.Open(Hy7s.path.join(eG0V, 'model_config.json'), 'r') as eHNT: t9eR.parse_json(eHNT.read()) return AyYN(h_xa, t9eR, inference_mode=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vxsi(YKHO):\n from sage import all_cmdline\n from sage.repl.user_globals import initialize_globals\n initialize_globals(all_cmdline, YKHO.shell.user_ns)\n YKHO.run_init()", "def sPGM(YKHO, sEAN):\n YKHO.env = sEAN", "def P7rU(YKHO):\n xPXn = Ipp5.SessionOptions()\n xPXn.graph_optimizat...
[ "0.62730896", "0.6208105", "0.6028741", "0.586392", "0.58456445", "0.5837497", "0.57491773", "0.57484585", "0.5718714", "0.5686432", "0.563619", "0.5559297", "0.5552985", "0.55186814", "0.54520696", "0.54429024", "0.5422108", "0.5422108", "0.5422108", "0.5422108", "0.5422108"...
0.65105677
0