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 |
|---|---|---|---|---|---|---|
Convert sparse matrix to tuple representation. | def nPep(On0F):
def EV8W(RsfQ):
if not H4yH.isspmatrix_coo(RsfQ):
RsfQ = RsfQ.tocoo()
jNOo = oyIN.vstack((RsfQ.row, RsfQ.col)).transpose()
hkxX = RsfQ.data
ROpF = RsfQ.shape
return ZylS.SparseTensorValue(jNOo, hkxX, oyIN.array(ROpF, dtype=oyIN.int64))
if isin... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nPep(On0F):\n\n def EV8W(RsfQ):\n if not H4yH.isspmatrix_coo(RsfQ):\n RsfQ = RsfQ.tocoo()\n jNOo = oyIN.vstack((RsfQ.row, RsfQ.col)).transpose()\n hkxX = RsfQ.data\n ROpF = RsfQ.shape\n return (jNOo, hkxX, ROpF)",
"def nPep(On0F):\n\n def EV8W(RsfQ):\n ... | [
"0.85558724",
"0.82866716",
"0.8280783",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82645863",
"0.82525605",
"0.82518",
"0.82514536",
"0.8240027",
"0.82272243",
"0.82272243",
"0.82272243",
"... | 0.7863985 | 26 |
Symmetrically normalize adjacency matrix. | def ujN0(eQUr, type='sym'):
if type == 'sym':
eQUr = H4yH.coo_matrix(eQUr)
mJjf = oyIN.array(eQUr.sum(1))
tvzN = oyIN.power(mJjf, -0.5).flatten()
tvzN[oyIN.isinf(tvzN)] = 0.0
hEeC = H4yH.diags(tvzN)
return eQUr.dot(hEeC).transpose().dot(hEeC).tocoo()
elif type == ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ujN0(eQUr):\n mJjf = oyIN.array(eQUr.sum(1))\n tvzN = oyIN.power(mJjf, -0.5).flatten()\n tvzN[oyIN.isinf(tvzN)] = 0.0\n hEeC = H4yH.diags(tvzN)\n return eQUr.dot(hEeC).transpose().dot(hEeC).tocoo()",
"def ujN0(eQUr):\n mJjf = oyIN.array(eQUr.sum(1))\n tvzN = oyIN.power(mJjf, -0.5).flatte... | [
"0.79748905",
"0.78841347",
"0.78669816",
"0.78669816",
"0.78590506",
"0.7824809",
"0.7818386",
"0.7787256",
"0.77343863",
"0.77217567",
"0.77149534",
"0.77057743",
"0.7697704",
"0.7697704",
"0.7697704",
"0.7697704",
"0.7697704",
"0.7697704",
"0.7697704",
"0.7697704",
"0.7697... | 0.66124487 | 54 |
Creates a dict that maps each square to the list of units that contain | def Q2dz(y4m8, Nv3Z):
xRhz = {}
for Fyji in y4m8:
for PXGI in Nv3Z:
if Fyji in PXGI:
if Fyji not in xRhz:
xRhz[Fyji] = []
xRhz[Fyji].append(PXGI)
return xRhz | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZVkd(YKHO) -> {}:\n OVDm = YKHO.available_unit_names()\n hlel = {}\n for vQCx in OVDm:\n e_2d = s_TI.dimensionality_string(YKHO, vQCx)\n if e_2d in hlel:\n hlel[e_2d].append(vQCx)\n else:\n hlel[e_2d] = [vQCx]\n return hlel",
"def rON1(y4m8, RJ3g):\n ... | [
"0.689764",
"0.6825988",
"0.66614455",
"0.65587777",
"0.65557104",
"0.6363794",
"0.635505",
"0.6346632",
"0.6291068",
"0.626699",
"0.62214005",
"0.62199306",
"0.61938256",
"0.6093985",
"0.6077384",
"0.6072152",
"0.6034928",
"0.603033",
"0.6019933",
"0.60139227",
"0.5981651",
... | 0.8436085 | 0 |
Check all the units, and if there is a unit with a value that can only be placed to one specific square, assign the value to the square. | def DJng(hkxX):
for PXGI in Nv3Z:
for FGW3 in BHGE:
XGG9 = []
for Fyji in PXGI:
if FGW3 in hkxX[Fyji]:
XGG9.append(Fyji)
if len(XGG9) == 1:
hkxX[XGG9[0]] = FGW3
return hkxX | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rIvV(hkxX):\n for PXGI in dzni:\n for Ko6S in '123456789':\n S5Zo = [FlUN for FlUN in PXGI if Ko6S in hkxX[FlUN]]\n if len(S5Zo) == 1:\n zUz_(hkxX, S5Zo[0], Ko6S)\n return hkxX",
"def bD1G(YKHO, hkxX, Fyji, Ko6S):\n if Ko6S != '.':\n Zlmx = hkxX[Fyj... | [
"0.6427291",
"0.61417764",
"0.6126436",
"0.6019959",
"0.59909296",
"0.5973692",
"0.59558064",
"0.59523",
"0.5936667",
"0.5910607",
"0.59096193",
"0.5907914",
"0.5876272",
"0.58727705",
"0.5811512",
"0.5811338",
"0.58012944",
"0.57479423",
"0.57328236",
"0.570747",
"0.5696382"... | 0.62107724 | 1 |
Go through all the squares, and when there is a solved square (meaning a square with length 1 or with a single value), eliminate this value from the set of values of all its peers (including diagonal peers). | def nAgT(hkxX):
hJMU = []
for Fyji in hkxX:
if len(hkxX[Fyji]) == 1:
hJMU.append(Fyji)
for aPLg in hJMU:
for jYLz in k5Tt[aPLg]:
hkxX[jYLz] = hkxX[jYLz].replace(hkxX[aPLg], '')
for uUgQ in acTC:
if aPLg in uUgQ:
for nUiB in uUgQ:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zJeh(hkxX, IjIm=True):\n yV4l = tIjd if IjIm else UdV5\n vMy3 = [FlUN for FlUN in hkxX.keys() if len(hkxX[FlUN]) == 1]\n for FlUN in vMy3:\n Ko6S = hkxX[FlUN]\n for jYLz in yV4l[FlUN]:\n if len(hkxX[jYLz]) > 1:\n zUz_(hkxX, jYLz, hkxX[jYLz].replace(Ko6S, ''))\n ... | [
"0.75249195",
"0.74625415",
"0.7414563",
"0.73280454",
"0.7304686",
"0.7190235",
"0.71649224",
"0.70951253",
"0.708517",
"0.70830274",
"0.7081881",
"0.70777845",
"0.69791293",
"0.6950683",
"0.69384676",
"0.68785113",
"0.6877825",
"0.6865085",
"0.68373245",
"0.68312913",
"0.68... | 0.76548743 | 0 |
Find two squares, both in the same unit, that have only the same two candidate values left, and eliminate that two possible values from all the peers of the squares. | def aphn(hkxX):
Y8yi = acTC + Nv3Z
for PXGI in Y8yi:
Wh9P = {}
for Fyji in PXGI:
if hkxX[Fyji] not in Wh9P:
Wh9P[hkxX[Fyji]] = []
Wh9P[hkxX[Fyji]].append(Fyji)
for qViq in Wh9P:
ZMlM = Wh9P[qViq]
if len(ZMlM) == 2 and len(qV... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qwlA(YKHO, PYiT):\n O7yS = YKHO.board.get_associated_squares(*PYiT.index)\n for eNJ3 in O7yS:\n if eNJ3 != PYiT:\n eNJ3.removePossible(PYiT.getValue())",
"def nAgT(hkxX):\n hJMU = []\n for Fyji in hkxX:\n if len(hkxX[Fyji]) == 1:\n hJMU.append(Fyji)\n for aP... | [
"0.6938859",
"0.6814309",
"0.6736424",
"0.66460913",
"0.66213",
"0.65054286",
"0.647461",
"0.6455482",
"0.64301723",
"0.63816303",
"0.6375023",
"0.63651437",
"0.6300478",
"0.62972873",
"0.6286964",
"0.62463665",
"0.6235459",
"0.6234067",
"0.6222209",
"0.6217274",
"0.6201781",... | 0.0 | -1 |
Normalises using inverse camera matrix and then returns the data points | def kwsU(YKHO, LTIa):
s3WE = Yn8Y.catone(LTIa)
hlel = oyIN.dot(YKHO.inverseMatrix, s3WE.T)
hlel = hlel.T[:, 0:2]
return hlel | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PmpU(YKHO):\n YKHO._data[:, 0] /= oyIN.linalg.norm(YKHO._data[:, 0])\n YKHO._data[:, 1] -= oyIN.dot(YKHO._data[:, 1], YKHO._data[:, 0]) * YKHO._data[:, 0]\n YKHO._data[:, 1] /= oyIN.linalg.norm(YKHO._data[:, 1])\n YKHO._data[:, 2] = oyIN.cross(YKHO._data[:, 0], YKHO._data[:, 1])",
"def GOZd(YKHO)... | [
"0.6666828",
"0.6599822",
"0.65622467",
"0.6500492",
"0.6485358",
"0.6474999",
"0.6465246",
"0.63890713",
"0.6333887",
"0.632878",
"0.63257945",
"0.63111395",
"0.63047963",
"0.63037336",
"0.6285779",
"0.62758297",
"0.6268585",
"0.6268585",
"0.62547106",
"0.6252656",
"0.625039... | 0.69273704 | 0 |
Return True if varName is the name of an outcome variable. | def C22e(YKHO, SbMi):
Csk6 = YKHO.GetDeclaration(SbMi)
return isinstance(Csk6, doZR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def C22e(YKHO, SbMi):\n Csk6 = YKHO.GetDeclaration(SbMi)\n if Csk6 is None:\n return SbMi == 'completionStatus'\n else:\n return isinstance(Csk6, doZR)",
"def TYse(YKHO, XuY2):\n return XuY2 in YKHO.data.columns",
"def TYse(YKHO, XuY2):\n return XuY2 in YKHO.weights.columns",
"de... | [
"0.7395175",
"0.692877",
"0.67735916",
"0.6591523",
"0.6410292",
"0.6344769",
"0.6334761",
"0.62387645",
"0.62171257",
"0.61983186",
"0.6108323",
"0.6064985",
"0.6047888",
"0.6044191",
"0.5932473",
"0.5926686",
"0.5907161",
"0.5875557",
"0.5847717",
"0.5836289",
"0.58173645",... | 0.77837974 | 0 |
Return True if varName is the name of a response variable. We add handling of the builtin response variables numAttempts and duration. | def o4tp(YKHO, SbMi):
Csk6 = YKHO.GetDeclaration(SbMi)
if Csk6 is None:
return SbMi in ('numAttempts', 'duration')
else:
return isinstance(Csk6, pDhA) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o4tp(YKHO, SbMi):\n PCpl, mWFP = YKHO.GetNamespace(SbMi)\n if isinstance(PCpl, lTEa):\n return PCpl.IsResponse(mWFP)\n elif PCpl:\n return mWFP == u'duration'\n else:\n raise NotImplementedError",
"def o4tp(YKHO, SbMi):\n Csk6 = YKHO.GetDeclaration(SbMi)\n return isinst... | [
"0.7805628",
"0.72161937",
"0.65435815",
"0.6485262",
"0.61331147",
"0.6095977",
"0.6061613",
"0.6061456",
"0.6037296",
"0.5962982",
"0.5956367",
"0.59328526",
"0.59048796",
"0.580267",
"0.57883227",
"0.5753483",
"0.57311755",
"0.5726909",
"0.5706987",
"0.5665122",
"0.5567355... | 0.7893612 | 0 |
Return True if varName is the name of an outcome variable. We add handling of the builtin outcome variable completionStatus. | def C22e(YKHO, SbMi):
Csk6 = YKHO.GetDeclaration(SbMi)
if Csk6 is None:
return SbMi == 'completionStatus'
else:
return isinstance(Csk6, doZR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def C22e(YKHO, SbMi):\n Csk6 = YKHO.GetDeclaration(SbMi)\n return isinstance(Csk6, doZR)",
"def o4tp(YKHO, SbMi):\n PCpl, mWFP = YKHO.GetNamespace(SbMi)\n if isinstance(PCpl, lTEa):\n return PCpl.IsResponse(mWFP)\n elif PCpl:\n return mWFP == u'duration'\n else:\n raise Not... | [
"0.74600714",
"0.6141315",
"0.60217035",
"0.5825533",
"0.57963437",
"0.577566",
"0.57281333",
"0.56553197",
"0.5546039",
"0.5506365",
"0.5470083",
"0.54644424",
"0.5453281",
"0.53977937",
"0.5397747",
"0.53763515",
"0.5342776",
"0.5333186",
"0.53134966",
"0.52486056",
"0.5230... | 0.81049335 | 0 |
Return True if varName is the name of a response variable. The testlevel duration values are treated as builtin responses and return True. | def o4tp(YKHO, SbMi):
PCpl, mWFP = YKHO.GetNamespace(SbMi)
if isinstance(PCpl, lTEa):
return PCpl.IsResponse(mWFP)
elif PCpl:
return mWFP == u'duration'
else:
raise NotImplementedError | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o4tp(YKHO, SbMi):\n Csk6 = YKHO.GetDeclaration(SbMi)\n if Csk6 is None:\n return SbMi in ('numAttempts', 'duration')\n else:\n return isinstance(Csk6, pDhA)",
"def o4tp(YKHO, SbMi):\n Csk6 = YKHO.GetDeclaration(SbMi)\n return isinstance(Csk6, pDhA)",
"def Kyfi(YKHO, SRYB: str) ... | [
"0.732087",
"0.68574846",
"0.615909",
"0.6083294",
"0.58721745",
"0.582455",
"0.58179706",
"0.57946926",
"0.5723266",
"0.5711234",
"0.5667936",
"0.56364876",
"0.56268495",
"0.5581381",
"0.5569063",
"0.55646664",
"0.5534156",
"0.54728216",
"0.5399545",
"0.53950125",
"0.5377448... | 0.77983284 | 0 |
Onehot encodes a single word given its index and the size of the vocabulary. | def zGX0(or8S, jXxl):
KLLm = oyIN.zeros(jXxl)
KLLm[or8S] = 1.0
return KLLm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YoQU(yvrD, bV1g):\n begE = yvrD.device\n yvrD = yvrD.type(ht2j.LongTensor).to(begE)\n Ep8u = yvrD.size()[0]\n ccx5 = yvrD.size()[1]\n C0n2 = ht2j.zeros((Ep8u, ccx5, bV1g), device=begE)\n C0n2.scatter_(dim=2, index=yvrD, value=1)\n return C0n2",
"def WNJw(iLHl):\n iLHl = oyIN.array(iLH... | [
"0.818118",
"0.8030135",
"0.7800715",
"0.76276",
"0.76084197",
"0.75587445",
"0.7483598",
"0.7481122",
"0.74760693",
"0.7372854",
"0.73184806",
"0.72947276",
"0.72656995",
"0.72463185",
"0.72299874",
"0.7182636",
"0.7171488",
"0.7167807",
"0.7165499",
"0.7160986",
"0.71608347... | 0.85154945 | 0 |
Onehot encodes a sequence of words given a fixed vocabulary size. | def J8zd(aWuw, jXxl):
tZ2K = oyIN.array([zGX0(GIN8, jXxl) for GIN8 in aWuw])
tZ2K = tZ2K.reshape(tZ2K.shape[0], tZ2K.shape[1], 1)
return tZ2K | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zGX0(or8S, jXxl):\n KLLm = oyIN.zeros(jXxl)\n KLLm[or8S] = 1.0\n return KLLm",
"def TXWa(rrSk, bV1g):\n ywwl = rrSk.shape[0]\n if rrSk.ndim == 1:\n KLLm = oyIN.zeros((ywwl, bV1g), dtype=oyIN.int32)\n for or8S, I0MX in enumerate(rrSk):\n KLLm[or8S, I0MX] = 1\n elif r... | [
"0.8067761",
"0.80196846",
"0.7805782",
"0.77916557",
"0.7744606",
"0.7616124",
"0.75965077",
"0.7536574",
"0.751143",
"0.7494125",
"0.7468466",
"0.7433214",
"0.7413583",
"0.7410577",
"0.7400595",
"0.7388759",
"0.7345318",
"0.7332156",
"0.7331301",
"0.7292585",
"0.72692734",
... | 0.79087996 | 2 |
Converts a string representing cents into an orderable float. | def luh1(vIwR):
iwUh = f'0.{vIwR[:-1]}'
return float(iwUh) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kiea(YKHO, KCHu):\n return float(KCHu.replace('$', '').replace(',', ''))",
"def DGIJ(KCHu):\n KCHu = str(KCHu)\n KCHu = KCHu.replace(',', '')\n return float(KCHu[KCHu.rfind('$') + 1:])",
"def unHH(vIwR):\n return float(vIwR[1:]) if float(vIwR[1:]) > 0 else 0.01",
"def fqum(YKHO, vIwR):\n ... | [
"0.71957093",
"0.70168257",
"0.69991165",
"0.6993517",
"0.69920325",
"0.6874299",
"0.6677184",
"0.6630549",
"0.6618041",
"0.66165507",
"0.65541404",
"0.6545015",
"0.648945",
"0.646571",
"0.64397675",
"0.6420218",
"0.63978255",
"0.6376767",
"0.63230675",
"0.62776434",
"0.62660... | 0.5843679 | 71 |
Compute the gradient (also called the slope or derivative) of the sigmoid function with respect to its input x. You can store the output of the sigmoid function into variables and then use it to calculate the gradient. | def NZml(WKvO):
KCHu = m1Hg(WKvO)
oxOY = KCHu * (1 - KCHu)
return oxOY | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xQSX(WKvO):\n D5po = m1Hg(WKvO)\n return D5po * (1 - D5po)",
"def Hcjj(WKvO):\n return xZsq.sigmoid(WKvO) * (1 - xZsq.sigmoid(WKvO))",
"def _aH1(WKvO):\n return WKvO * (1.0 - WKvO)",
"def NZml(WKvO):\n return m1Hg(WKvO) * (1.0 - m1Hg(WKvO))",
"def NZml(WKvO):\n KCHu = m1Hg(WKvO)\n ... | [
"0.79712814",
"0.7935286",
"0.7835973",
"0.7780277",
"0.7779397",
"0.77775365",
"0.77414787",
"0.7731623",
"0.7724612",
"0.7723772",
"0.77137",
"0.76960284",
"0.7678806",
"0.76746976",
"0.7574551",
"0.75258404",
"0.7491783",
"0.7473475",
"0.74246675",
"0.74141705",
"0.7372416... | 0.77811295 | 3 |
Function that normalizes each row of the matrix x (to have unit length, meaning length 1). | def U95B(WKvO):
WzsH = oyIN.linalg.norm(WKvO, ord=2, axis=1, keepdims=True)
WKvO = WKvO / WzsH
return WKvO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U95B(WKvO):\n return WKvO / oyIN.linalg.norm(WKvO, axis=1)[:, None]",
"def U95B(WKvO):\n ciZM = oyIN.apply_along_axis(lambda WKvO: oyIN.sqrt(WKvO.T.dot(WKvO)), 1, WKvO)\n WKvO /= ciZM[:, None]\n return WKvO",
"def U95B(WKvO):\n WzsH = oyIN.linalg.norm(WKvO, axis=1, keepdims=True)\n WKvO =... | [
"0.8802364",
"0.8732635",
"0.8689052",
"0.86820364",
"0.8530899",
"0.83281523",
"0.82885146",
"0.82164663",
"0.80227876",
"0.78933585",
"0.7788253",
"0.77741134",
"0.7651218",
"0.7626795",
"0.75886995",
"0.7572201",
"0.7539505",
"0.75263596",
"0.7524396",
"0.7520961",
"0.7508... | 0.85643363 | 4 |
Calculates the softmax for each row of the input x. Your code should work for a row vector and also for matrices of shape (n, m). | def N93T(WKvO):
yRgo = oyIN.exp(WKvO)
qjcP = oyIN.sum(yRgo, axis=1, keepdims=True)
KCHu = yRgo / qjcP
return KCHu | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N93T(WKvO):\n JNn7 = WKvO.shape\n if len(WKvO.shape) > 1:\n HZcj = oyIN.max(WKvO, axis=1)\n HZcj = oyIN.reshape(HZcj, (HZcj.size, -1))\n xbFY = oyIN.exp(WKvO - HZcj)\n RBuv = oyIN.sum(xbFY, axis=1)\n RBuv = oyIN.reshape(RBuv, (RBuv.size, -1))\n KCHu = xbFY / RBuv... | [
"0.8331955",
"0.8298709",
"0.82749736",
"0.8240577",
"0.82338923",
"0.8145735",
"0.814567",
"0.8119686",
"0.81087554",
"0.8102259",
"0.80988514",
"0.80704594",
"0.8036686",
"0.8013739",
"0.79665625",
"0.7956787",
"0.79345",
"0.79313916",
"0.7924838",
"0.7910979",
"0.79108644"... | 0.79383844 | 16 |
String for representing the Model object | def zAg0(YKHO):
return '%s (%s)' % (YKHO.id, YKHO.title) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\t' + _2sc + ' instance\\n'\n oOUF += '--... | [
"0.8169026",
"0.8015787",
"0.79665667",
"0.78248763",
"0.7769048",
"0.7715981",
"0.76182216",
"0.7589441",
"0.75218886",
"0.75218886",
"0.75218886",
"0.75083184",
"0.75034547",
"0.74968916",
"0.74968916",
"0.7475592",
"0.74743956",
"0.74732584",
"0.7463823",
"0.7461314",
"0.7... | 0.0 | -1 |
String for representing the Model object. | def zAg0(YKHO):
return '%s, %s' % (YKHO.last_name, YKHO.first_name) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\t' + _2sc + ' instance\\n'\n oOUF += '--... | [
"0.81885296",
"0.8092215",
"0.79587615",
"0.7848622",
"0.7839469",
"0.76655394",
"0.75757945",
"0.75660306",
"0.7560155",
"0.7548143",
"0.7483473",
"0.7464744",
"0.74516714",
"0.74516714",
"0.74475425",
"0.74459755",
"0.74459755",
"0.74459755",
"0.74117213",
"0.74064744",
"0.... | 0.0 | -1 |
(Maze, int, int) > bool Return True iff there is a wall at the given row and column of the maze. >>> Maze.is_wall(1, 3) True | def OC7g(YKHO, rdlD, iVRZ):
return YKHO.maze[rdlD][iVRZ] == GNtq | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OC7g(YKHO, rdlD, fvDH):\n return YKHO.maze[rdlD][fvDH] == GNtq",
"def OC7g(YKHO, rdlD, fvDH):\n return YKHO.maze[rdlD][fvDH] == GNtq",
"def OC7g(YKHO, rdlD, fvDH):\n return YKHO.maze[rdlD][fvDH] == GNtq",
"def LS2R(YKHO):\n r8hN = pHXX.Maze([['#', '#', '#', '#', '#', '#', '#'], ['#', '.', '.'... | [
"0.87176555",
"0.86239886",
"0.8530858",
"0.8237394",
"0.7894243",
"0.781235",
"0.78082",
"0.7762513",
"0.7745242",
"0.7745242",
"0.77408814",
"0.7732509",
"0.76534957",
"0.7547224",
"0.7420551",
"0.73994565",
"0.7381167",
"0.734114",
"0.7311554",
"0.72560495",
"0.7202021",
... | 0.857557 | 2 |
Obscure an integer to a base32 string. | def RIQS(YKHO, YRbF):
"""
:param i: integer
:returns: 7-character base32 string.
"""
KCHu = WR89.b32encode(BlNT.pack('!L', YKHO.transform(YRbF)))
if HwRy.version_info.major == 3:
KCHu = KCHu.decode('ascii')
return KCHu[:7] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def P1Yq(FGW3, BTps=None):\n P8oC = 32\n if not isinstance(FGW3, int):\n raise ValueError('Can only convert int')\n if FGW3 < 0:\n raise ValueError('Only positive numbers')\n OZ3z = epAf.ceil(epAf.log(FGW3 + 1) / epAf.log(P8oC))\n if BTps is None:\n BTps = OZ3z\n elif BTps < ... | [
"0.7486495",
"0.7213766",
"0.72022194",
"0.7109372",
"0.7020381",
"0.69508255",
"0.6932756",
"0.6909794",
"0.6860018",
"0.6842804",
"0.6795885",
"0.6782123",
"0.6772218",
"0.6760328",
"0.67348135",
"0.67288494",
"0.6715801",
"0.6715801",
"0.66941565",
"0.6692349",
"0.66784817... | 0.75688285 | 0 |
Obscure an integer to a custom alphabet base32 string. The base32 alphabet without the letters I and U to eliminate common offensive words. | def ROC3(YKHO, YRbF):
"""
:param i: integer
:returns: 7-character custom alphabet base32 string.
"""
KCHu = YKHO.encode_base32(YRbF)
return KCHu.translate(eTGC) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vqFb(mLGw):\n Aofo = ''\n if mLGw == 0:\n return 'a'\n while mLGw:\n Wxnj = mLGw % 62\n mLGw /= 62\n if Wxnj < 26:\n Wxnj = ord('a') + Wxnj\n elif Wxnj < 52:\n Wxnj = ord('A') + (Wxnj - 26)\n else:\n Wxnj = ord('0') + (Wxnj - 5... | [
"0.7172126",
"0.71385205",
"0.7118877",
"0.7094948",
"0.7069609",
"0.70091033",
"0.6968907",
"0.6889297",
"0.68438417",
"0.6742674",
"0.67230135",
"0.67230135",
"0.6697655",
"0.66723514",
"0.6662812",
"0.6662208",
"0.6662208",
"0.6645984",
"0.6644619",
"0.662914",
"0.661505",... | 0.7473686 | 0 |
Get original interger from a custom base32 string. | def Q8t0(YKHO, KCHu):
"""
:param s: custom encoded, 7-character base32 string
:returns: original integer
"""
return YKHO.decode_base32(KCHu.translate(ZYtt)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FwSc(YKHO, KCHu):\n return YKHO.transform(BlNT.unpack('!L', WR89.b32decode(KCHu + '='))[0])",
"def DaXC(vIwR):\n try:\n vIwR = vIwR.encode('utf-8')\n except AttributeError:\n pass\n tazb = HBct.sha256(vIwR).hexdigest()\n return int(tazb, 36) % 10240",
"def FGW3(KCHu, P8oC=10):\... | [
"0.78587365",
"0.6743826",
"0.66509014",
"0.6646243",
"0.65373796",
"0.6531399",
"0.6518067",
"0.6493782",
"0.6453537",
"0.64495337",
"0.64488864",
"0.6440261",
"0.64157593",
"0.6366803",
"0.635357",
"0.6349557",
"0.63468784",
"0.6345618",
"0.6305295",
"0.6305271",
"0.6260673... | 0.7138445 | 1 |
Implementation of softmax_agg aggregator, see more information in the paper | def Gcpz(UqYS):
def RxTi(tO9_):
Cwt5 = hP_F.sequence_softmax(tO9_, UqYS)
tO9_ = tO9_ * Cwt5
return aPd6.sequence_pool(tO9_, 'sum')
return RxTi | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N93T(WKvO):\n return Kt_s.nnet.softmax(WKvO.T)",
"def N93T(WKvO, jDK_=-1):\n return giQI(WKvO, jDK_, False)",
"def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=0)",
"def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=0)",
"def N93T(WKvO):\n ret... | [
"0.7166269",
"0.71334755",
"0.70378864",
"0.7027931",
"0.695849",
"0.6951556",
"0.6938387",
"0.6935206",
"0.69317824",
"0.691903",
"0.6917944",
"0.68953794",
"0.68783045",
"0.6836908",
"0.6835347",
"0.6835347",
"0.6835347",
"0.6835347",
"0.6835347",
"0.6827051",
"0.6827051",
... | 0.7797091 | 0 |
A nondefault content delivery network (CDN) to serve ad segments. By default, AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the origin ads.mediatailor..amazonaws.com. Then specify the rule's name in this... | def eW7B(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'ad_segment_url_prefix') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(Ro_8, *, eW7B: Optional[str]=None, daIz: Optional[str]=None):\n if eW7B is not None:\n qe4Y.set(Ro_8, 'ad_segment_url_prefix', eW7B)\n if daIz is not None:\n qe4Y.set(Ro_8, 'content_segment_url_prefix', daIz)",
"def s4MG(QePW):\n rwAw = yDx4()\n b5Tw = gCuF.STATIC_URL\n _Lb4... | [
"0.5654719",
"0.5608393",
"0.5540897",
"0.551492",
"0.5358651",
"0.5334411",
"0.5309377",
"0.5309377",
"0.5281998",
"0.52079463",
"0.51543677",
"0.5023968",
"0.49604756",
"0.481621",
"0.481621",
"0.47897482",
"0.47591725",
"0.47423574",
"0.47379196",
"0.45347574",
"0.45311117... | 0.62977475 | 0 |
The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, a... | def PkZG(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'mpd_location') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TOAy(qv1X, yEHD):\n if not qv1X.snapshotSettings:\n qv1X.snapshotSettings = yEHD.SnapshotSettings()\n if not qv1X.snapshotSettings.storageLocation:\n qv1X.snapshotSettings.storageLocation = yEHD.SnapshotSettingsStorageLocationSettings()",
"def HI2E():\n return {}",
"def ERn6(YKHO) ->... | [
"0.49866822",
"0.49821582",
"0.49031666",
"0.48888454",
"0.48888454",
"0.48510677",
"0.48419458",
"0.47382867",
"0.46501744",
"0.46344465",
"0.45970702",
"0.45657098",
"0.45647246",
"0.45513988",
"0.45468515",
"0.45090812",
"0.45090812",
"0.45090812",
"0.45090812",
"0.45090812"... | 0.47872674 | 7 |
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token. | def fFcV(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'secret_arn') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qvqm(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'secrets_manager_arn')",
"def tmJ8(YKHO) -> str:\n return qe4Y.get(YKHO, 'aws_secret_name')",
"def zv3H(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'secrets_manager_access_role_arn')",
"def zv3H(YKHO) -> h8nf[qe4Y.Input[s... | [
"0.7462105",
"0.7408583",
"0.7399081",
"0.7304876",
"0.7304876",
"0.7304433",
"0.7304433",
"0.6721782",
"0.66540504",
"0.6648209",
"0.6603021",
"0.6546414",
"0.6546414",
"0.6541021",
"0.64586735",
"0.64388376",
"0.63883215",
"0.63883215",
"0.6379845",
"0.63729316",
"0.6320282... | 0.7397855 | 4 |
A unique identifier used to distinguish between multiple segment delivery configurations in a source location. | def mWFP(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ShR8(YKHO):\n return f'{YKHO.coordinator._satellite}_location'",
"def ShR8(YKHO):\n return f'{YKHO.location_name}_{YKHO.sensor_name}'",
"def iWul(Q6uT):\n return hash(tuple(Q6uT))",
"def ShR8(YKHO):\n return qjwc.message_burst_source_sptr_unique_id(YKHO)",
"def mtJJ(YKHO) -> str:\n retur... | [
"0.6257749",
"0.6075246",
"0.60444635",
"0.6014835",
"0.59860027",
"0.5946235",
"0.59396863",
"0.5872142",
"0.5809895",
"0.579908",
"0.5787395",
"0.5783456",
"0.5776434",
"0.5758686",
"0.5738315",
"0.5734833",
"0.57301277",
"0.57293004",
"0.5727703",
"0.57015455",
"0.569864",... | 0.0 | -1 |
Handles password reset tokens When a token is created, an email needs to be sent to the user | def QcQe(vC92, Wne8, *qIxc, **B2fa):
QpfX = {'current_user': Wne8.user, 'username': Wne8.user.username, 'email': Wne8.user.email, 'reset_password_url': 'http://some_url/reset/?token={token}'.format(token=Wne8.key)}
nnKr = eoaG('email/user_reset_password.html', QpfX)
JbFw = eoaG('email/user_reset_password.tx... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QcQe(vC92, KAOR, Wne8, *qIxc, **B2fa):\n QpfX = {'current_user': Wne8.user, 'username': Wne8.user.username, 'email': Wne8.user.email, 'reset_password_url': '{}?token={}'.format(gxEw('password_reset:reset-password-request'), Wne8.key)}\n print('sending email')\n U4ZT = 'Sign In to Sales Discovery Platf... | [
"0.8223141",
"0.81950283",
"0.81334376",
"0.8112022",
"0.80741954",
"0.80347055",
"0.7955087",
"0.7553434",
"0.7354387",
"0.7243814",
"0.7233957",
"0.7221556",
"0.7138631",
"0.71189386",
"0.70866287",
"0.70846534",
"0.7054282",
"0.7031943",
"0.6959371",
"0.6950877",
"0.694312... | 0.8020222 | 6 |
Test that invalid calls to permute_hook_implementations raise errors. | def nuwp(kXs6):
LJsF = kXs6.hooks.myhook
with trZe.raises(TypeError):
LJsF.bring_to_front([1, 2])
with trZe.raises(ValueError):
LJsF.bring_to_front(['p1', 'wrapper'])
with trZe.raises(ValueError):
LJsF.bring_to_front(['p1', 'p4'])
with trZe.raises(ValueError):
LJsF.br... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cors(YKHO):\n YKHO.assertRaises(ValueError, JFfh.permutations, ('abc', 1))",
"def t68z():\n CBIr = Jpbe.auth_register('test@email.com', 'password', 'Barry', 'Benson')\n with trZe.raises(P1dF.InputError):\n dp9S.change_user_permission(CBIr['token'], CBIr['u_id'], 4)",
"def aOEX(YKHO):\n M... | [
"0.64862674",
"0.6350315",
"0.6319773",
"0.5973333",
"0.5927421",
"0.591444",
"0.58863807",
"0.58399",
"0.58108574",
"0.57983834",
"0.57979053",
"0.5785107",
"0.57369244",
"0.5720535",
"0.57070994",
"0.56952494",
"0.5686365",
"0.5668622",
"0.5654244",
"0.5639544",
"0.56233895... | 0.0 | -1 |
Returns a list of (score, doc_id). Calculates the dot product between each document's score for each feature and the respective feature weights. | def yFnZ(YKHO, iQXJ):
dixj = []
for oFUB, p1kx in iQXJ.iteritems():
Clza = [p1kx.get(H5ew, 0) for H5ew in YKHO.features_vector_key]
v4x6 = BfDw.dot_product(Clza, YKHO.features_weights)
dixj.append((v4x6, Clza, oFUB))
return dixj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def p1kx(YKHO, A97Q, UXqs):\n p1kx = YKHO.biases[UXqs]\n for RDhP in A97Q:\n p1kx *= A97Q[RDhP] * YKHO.weights[UXqs][RDhP]\n return p1kx",
"def uYbU(uiFc, pbzD):\n dixj = []\n for WsTC in uiFc:\n A75M = uiFc[WsTC]\n cuIS = 0\n for WKvO in pbzD:\n if WKvO in A... | [
"0.63959754",
"0.6209839",
"0.6173802",
"0.6162921",
"0.61591154",
"0.61420006",
"0.61410815",
"0.61369777",
"0.61283207",
"0.6054629",
"0.597269",
"0.5967875",
"0.594838",
"0.5945268",
"0.59432364",
"0.59090734",
"0.59041995",
"0.5899995",
"0.5891759",
"0.58901906",
"0.58767... | 0.7935415 | 0 |
Initialization for convolutional kernels. The main difference with tf.variance_scaling_initializer is that tf.variance_scaling_initializer uses a truncated normal with an uncorrected standard deviation, whereas here we use a normal distribution. Similarly, tf.contrib.layers.variance_scaling_initializer uses a truncated... | def AHN4(ROpF, yDqo=None):
vlvc, CS3p, bGrB, bZ_1 = ROpF
XNhq = int(vlvc * CS3p * bZ_1)
return ZylS.random.normal(ROpF, mean=0.0, stddev=oyIN.sqrt(2.0 / XNhq), dtype=yDqo) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Lo2K(NXpY=1.0, yokr=None):\n NXpY = 2.0 * NXpY\n return ZylS.keras.initializers.VarianceScaling(scale=NXpY, mode='fan_in', distribution='truncated_normal', seed=yokr)",
"def AHN4(ROpF, yDqo=None, TLZu=None):\n del TLZu\n vlvc, CS3p, bGrB, bZ_1 = ROpF\n XNhq = int(vlvc * CS3p * bZ_1)\n retur... | [
"0.754439",
"0.6974239",
"0.6927848",
"0.68794405",
"0.6718113",
"0.6718113",
"0.64820856",
"0.63953495",
"0.6348479",
"0.6165134",
"0.6146745",
"0.6139077",
"0.6139077",
"0.6081733",
"0.6072459",
"0.6029831",
"0.59381497",
"0.59171116",
"0.5879621",
"0.58593404",
"0.5846604"... | 0.6733901 | 4 |
Initialization for dense kernels. This initialization is equal to tf.variance_scaling_initializer(scale=1.0/3.0, mode='fan_out', distribution='uniform'). It is written out explicitly here for clarity. | def _bKn(ROpF, yDqo=None):
rtOB = 1.0 / oyIN.sqrt(ROpF[1])
return ZylS.random.uniform(ROpF, -rtOB, rtOB, dtype=yDqo) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Lo2K(NXpY=1.0, yokr=None):\n NXpY = 2.0 * NXpY\n return ZylS.keras.initializers.VarianceScaling(scale=NXpY, mode='fan_in', distribution='truncated_normal', seed=yokr)",
"def _hvt(NXpY=2.0, Tuqy='fan_in', IZxK='truncated_normal', JBMS=0.0, yokr=None, yDqo=ZylS.float32):\n if not yDqo.is_floating:\n ... | [
"0.7980304",
"0.7304044",
"0.72033703",
"0.6973093",
"0.66699886",
"0.65734136",
"0.65652025",
"0.63444537",
"0.6300554",
"0.6287656",
"0.62516963",
"0.6212609",
"0.6212609",
"0.6182069",
"0.6065105",
"0.6026404",
"0.60179114",
"0.59844005",
"0.5975067",
"0.5924388",
"0.59102... | 0.64285153 | 7 |
Resizes and image and returns normalization statistics. | def RPoI(VXjJ, zNig, jEjx=None, Q2DF=None, GoGv=XC5k.INTER_AREA, xvq8=True):
if not isinstance(zNig, (tuple, list)):
zNig = (zNig, zNig)
VXjJ = wXRY(VXjJ)
qO2t = VXjJ.shape[0]
if Q2DF is not None:
dMYj = qO2t / Q2DF
else:
dMYj = 1
if jEjx is not None:
cviu = oyIN.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CPun(Emd4, LNo8):\n rHUV = E3Mn.HistEqStretch(LNo8)\n CkYf = E3Mn.ImageNormalize(LNo8, stretch=rHUV, clip=True)\n return CkYf(LNo8)",
"def lvMM():\n JBMS = [0.485, 0.456, 0.406]\n M1Jx = [0.229, 0.224, 0.225]\n Yw_3 = ht2j.zeros(4, 3, 1536, 2048)\n HBfW = KfCj(Yw_3, JBMS, M1Jx)\n prin... | [
"0.6951191",
"0.68602896",
"0.6837793",
"0.67363304",
"0.66551477",
"0.6630181",
"0.6608264",
"0.66079485",
"0.6566341",
"0.6565784",
"0.65604895",
"0.6528269",
"0.64393836",
"0.64377844",
"0.6426001",
"0.64128757",
"0.6406116",
"0.63944626",
"0.63896155",
"0.63842946",
"0.63... | 0.0 | -1 |
This function determines whether there is an edge between two variables X and Y. | def aGAH(aUGN, NqLI, _AKB, XkN1=[], KJXv=0.1):
SWox = ITS7.time()
ZgHY = 0
Q2r4 = []
for YRbF in range(5):
rpi1, QoA0 = NSDL(data=NqLI.clone(), model=aUGN, intervention_list=XkN1)
ZmIi, BHkC = NSDL(data=NqLI.clone(), model=aUGN, intervention_list=_AKB)
PaLJ = XSoh(ht2j.tensor(rpi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GJ1X(YKHO, WKvO, LVAh):\n return LVAh in YKHO._dictOut[WKvO]",
"def GJ1X(YKHO, WKvO, LVAh):\n return LVAh in YKHO._dict[WKvO]",
"def GJ1X(YKHO, WKvO, LVAh):\n return YKHO._matr[WKvO][LVAh]",
"def w36A(YKHO, WKvO, LVAh):\n return WKvO < 0 or WKvO >= YKHO.size or LVAh < 0 or (LVAh >= YKHO.size)... | [
"0.80508864",
"0.78197277",
"0.7797719",
"0.7609568",
"0.7497159",
"0.748788",
"0.7435541",
"0.7338278",
"0.722572",
"0.7203463",
"0.71274406",
"0.7112385",
"0.70990026",
"0.7082551",
"0.70663625",
"0.70613813",
"0.70570844",
"0.7043803",
"0.70421636",
"0.70410377",
"0.703969... | 0.0 | -1 |
Generate random colors for atom coloring. | def vw9P(it_H=110):
Jw9H = ['#' + ''.join([tuKI.choice('0123456789ABCDEF') for r845 in range(6)]) for YRbF in range(it_H)]
lXH0 = {}
for YRbF, P2GO in enumerate(Jw9H):
lXH0[YRbF] = P2GO
return lXH0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tuKI():\n return HRmL([tuKI.randint(0, 256) for WKvO in range(3)])",
"def pph3():\n return int(hex(ajWY(0, 16581375)), 0)",
"def pph3():\n\n def eK5b():\n return round(10 * epAf.sqrt(tuKI.randint(100, 255)))\n return (eK5b(), eK5b(), eK5b())",
"def gOt5(YKHO):\n return [qukk(0, 255)... | [
"0.78738266",
"0.7565756",
"0.75199723",
"0.74677664",
"0.7464216",
"0.74566287",
"0.7434407",
"0.74275917",
"0.741751",
"0.7417325",
"0.74076265",
"0.73520184",
"0.73177314",
"0.73115957",
"0.7281436",
"0.7265807",
"0.7257842",
"0.7234571",
"0.7229784",
"0.7229784",
"0.72251... | 0.0 | -1 |
Write out the logmessage to the file. | def Lsrz(YKHO, xw8E, _NYw):
YKHO.dbmanager.sqlalchemydebuglevel_temporarydisable()
WT8z = YKHO.logclass.new()
WT8z.map_dict_to_properties(xw8E.fields)
WT8z.save()
YKHO.dbmanager.sqlalchemydebuglevel_donetemporarydisable()
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nVOF(YKHO, nUeQ, Ol8d):\n Ga6V = open('logs/' + nUeQ, 'a')\n Ga6V.write(Ol8d + '\\n')\n Ga6V.flush()\n Ga6V.close()",
"def snc1(YKHO):\n try:\n with open(YKHO._filename, 'w') as kDv2:\n kRlw.dump(YKHO._log, kDv2)\n except TypeError as type_ex:\n YKHO._logger.error('... | [
"0.79941916",
"0.7926837",
"0.7867835",
"0.7817259",
"0.76523864",
"0.76460785",
"0.75720316",
"0.7521877",
"0.75027496",
"0.7488795",
"0.74866724",
"0.74264735",
"0.7424591",
"0.7418028",
"0.74141616",
"0.7366057",
"0.7296007",
"0.7248283",
"0.7240873",
"0.7208937",
"0.72053... | 0.0 | -1 |
Gets the target state for this game | def UQgU(YKHO):
return YKHO._target_state | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ja6o(YKHO):\n return YKHO.game.get_state()",
"def j3Sc(YKHO):\n return YKHO._game_state",
"def j3Sc(YKHO):\n return YKHO._game_state",
"def j3Sc(YKHO):\n return YKHO._game_state",
"def j3Sc(YKHO):\n return YKHO._game_state",
"def j3Sc(YKHO):\n return YKHO._game_state",
"def j3Sc(Y... | [
"0.776225",
"0.72682047",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.71947145",
"0.7163196",
"0.709197",
"0.7049015",
"0.6979873",
"0.6967787",
"0.6... | 0.83296484 | 0 |
Gets the target node | def auXa(YKHO):
return YKHO._target_node | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YOP5(YKHO):\n return YKHO.__target_node",
"def auXa(YKHO):\n return YKHO._nodes_and_instances.get_node(YKHO.target_id)",
"def c0_7():\n global targetNode\n if not BHck:\n BHck = wohN.getNode(qIxc.destOrLocal)\n return BHck",
"def zldD(YKHO):\n return YKHO.target",
"def zldD(YKH... | [
"0.91055727",
"0.8680161",
"0.83987963",
"0.77987117",
"0.77673316",
"0.7767249",
"0.7679771",
"0.7669002",
"0.76628864",
"0.756739",
"0.75585383",
"0.75102985",
"0.74830925",
"0.74628055",
"0.74628055",
"0.74628055",
"0.74628055",
"0.74628055",
"0.7432481",
"0.73979",
"0.736... | 0.8898255 | 1 |
US10 Marriage should be at least 14 years after birth of both spouses this fucntion takes family and individual data as input and returns true or false based on data. | def EijB(ksxK, z1fx):
ygnF = {}
for qBg8 in ksxK.values():
if qBg8.marr != 'NA':
b7aj = None
JLJn = None
B14_ = RpRn(qBg8.marr)
pqrd = qcWV(B14_.year - 14, B14_.month, B14_.day)
for DM04 in z1fx.values():
if DM04.uid == qBg8.hus... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B5Gi(DM04):\n if DM04['child'] == 'NA':\n return True\n qBg8 = udrl(DM04['child'])\n NFxc = Nn2I(qBg8['married'], DM04['birthday'])\n OlvQ = yOka(qBg8['divorced'], DM04['birthday'], 9, 'months', qBg8['divorced'])\n return NFxc or OlvQ",
"def hvSz(YKHO):\n YKHO.assertTrue(Melp(X7tt, x... | [
"0.7176298",
"0.64178324",
"0.6310073",
"0.62922627",
"0.6291918",
"0.6231921",
"0.6090801",
"0.60029656",
"0.59198886",
"0.59098375",
"0.5873304",
"0.5818316",
"0.5813332",
"0.5794157",
"0.57894045",
"0.57715577",
"0.57452154",
"0.57391524",
"0.5705118",
"0.56595206",
"0.565... | 0.6558186 | 1 |
Check that two libcst nodes are equal. | def MnUk(YKHO, cntZ: libcst.CSTNode, CsFy: libcst.CSTNode) -> None:
if not cntZ.deep_equals(CsFy):
YKHO.fail(f'Nodes are not equal\nGot: {BfDw.to_string(cntZ)}\nExpected: {BfDw.to_string(CsFy)}') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Wuey(YKHO):\n hnOb = pNZh.Node(YKHO.UNIQUE_KEY_1)\n EYVr = pNZh.Node(YKHO.UNIQUE_KEY_1)\n YKHO.assertEqual(hnOb, EYVr)",
"def Qdql(YKHO):\n U88d = Rfv8.HistoryNode()\n DpVi = Rfv8.HistoryNode()\n YKHO.assertTrue(U88d == DpVi)",
"def Avg2(vsJz, OWJi):\n if vsJz.node_count() != OWJi.node... | [
"0.76628447",
"0.73427826",
"0.7340024",
"0.7042769",
"0.68881816",
"0.685873",
"0.6853303",
"0.68522257",
"0.68406636",
"0.68102753",
"0.67904866",
"0.6756527",
"0.6745016",
"0.6725465",
"0.6712383",
"0.6710941",
"0.6679238",
"0.6675219",
"0.66546744",
"0.6640231",
"0.663631... | 0.8459937 | 0 |
Validate the supplied email address. | def cxgF(YKHO, Hxmi):
if not Hxmi or len(Hxmi) < 5:
return None
if not ZbWC.match("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", Hxmi):
return None
return Hxmi | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WIr9(YKHO):\n if not abGk.match(YKHO.email):\n raise iO0w(bGrB('Given email address is not valid!'))",
"def Bt7w(D3lj):\n return G4pt(D3lj)",
"def WIr9(YKHO):\n if not abGk.match(YKHO.email):\n raise iO0w(bGrB('Your email address is not valid!'))",
"def fgvw(D3lj):\n if Psfc(D3l... | [
"0.8208491",
"0.8141609",
"0.81089336",
"0.8026643",
"0.802221",
"0.80180264",
"0.7993811",
"0.7928925",
"0.7886179",
"0.7868555",
"0.7866585",
"0.7863646",
"0.7853518",
"0.7847803",
"0.7831511",
"0.78296405",
"0.78289145",
"0.7800324",
"0.77987576",
"0.7779325",
"0.7776823",... | 0.7866414 | 11 |
Returns whether the reference field is being used, or the value field. | def epCp(YKHO):
return YKHO._is_reference | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def epCp(YKHO) -> bool:\n return getattr(YKHO, 'ref', None) is not None",
"def gIXw(YKHO, vXX7):\n pass",
"def m338(YKHO):\n m338 = YKHO._is_reference\n if m338 is None:\n m338 = YKHO.ftype[:9] == 'reference'\n YKHO._is_reference = m338\n return m338",
"def m338(YKHO) -> bool:\n ... | [
"0.6848874",
"0.68445134",
"0.6802611",
"0.6549085",
"0.6498015",
"0.6473457",
"0.64677954",
"0.6383692",
"0.6141935",
"0.6102063",
"0.6098071",
"0.6090688",
"0.6063265",
"0.60288715",
"0.59659255",
"0.59595144",
"0.5948017",
"0.592412",
"0.5916759",
"0.59051",
"0.5896574",
... | 0.6671475 | 3 |
Returns the value associated with this Argument, either by returning Argument.value, or using the accumulator to dereference the associated Action output. | def Zmkp(YKHO, alQJ):
if YKHO.value is not None:
return YKHO.value
if alQJ:
pQaK = YKHO._get_action_from_reference(alQJ)
if not YKHO.selection:
return pQaK
return YKHO._select(pQaK)
else:
return YKHO.reference | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def seTo(YKHO, Iltc):\n return YKHO.arguments[Iltc]",
"def BWXx(YKHO):\n return YKHO._args[2]",
"def vchh(YKHO, XeOP):\n return XeOP(YKHO.current_value)",
"def BWXx(YKHO):\n if isinstance(YKHO._value, iQnE):\n return YKHO._value.value()\n else:\n return YKHO._value",
"def UnfG(... | [
"0.6266816",
"0.618774",
"0.6085159",
"0.6040584",
"0.6029658",
"0.60166645",
"0.59161717",
"0.5861351",
"0.5861351",
"0.58472246",
"0.5840847",
"0.58128524",
"0.58114064",
"0.5752377",
"0.57407594",
"0.57394683",
"0.5727126",
"0.57079875",
"0.5696744",
"0.5694117",
"0.568005... | 0.76327235 | 0 |
Sort the provided word list ignoring case, and numbers last (1995, 19ab = numbers / Happy, happy4you = strings, hence for numbers you only need to check the first char of the word) | def ZPZR(V22M):
UzTa = sorted(V22M, key=lambda GIN8: GIN8.lower())
xYvp = Hs6x.takewhile(lambda WKvO: str(WKvO)[0] in list(map(str, range(0, 10))), UzTa)
QhHk = Hs6x.dropwhile(lambda WKvO: str(WKvO)[0] in list(map(str, range(0, 10))), UzTa)
return list(QhHk) + list(xYvp) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZPZR(V22M):\n hcXw = [Z9rn for Z9rn in V22M if not Z9rn[0].isnumeric()]\n mLGw = [exwG for exwG in V22M if exwG[0].isnumeric()]\n UzTa = sorted(hcXw, key=lambda GIN8: GIN8.lower()) + sorted(mLGw)\n return UzTa\n return sorted(V22M, key=lambda WKvO: (WKvO[0].isdigit(), str(WKvO).lower()))",
"de... | [
"0.8280561",
"0.8141174",
"0.77917546",
"0.77436477",
"0.7731932",
"0.75709957",
"0.7541055",
"0.74733377",
"0.74463224",
"0.7409867",
"0.73903126",
"0.73145616",
"0.73009855",
"0.7237863",
"0.72335577",
"0.72196704",
"0.72171193",
"0.72082275",
"0.72079664",
"0.7185041",
"0.... | 0.73919713 | 10 |
This function is to do window computation. Only one thread is assumed to do the computation. This thread is responsible for the `arr_len` of elements in the input array, which is cached in the `shared` array. Due to the limitation of numba, shared array cannot be sliced properly. As a work around, the passedin `offset`... | def ezH4(rKLW, AhS8, wkyF, rk8E, yMhW, wga7, np77, vgXP, qonS):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h0sT(rKLW, AhS8, wkyF, rk8E, yMhW, wga7, np77, vgXP, qonS):\n KCHu = 0.0\n SRYB = 0.0\n cntZ = False\n lrZb = 0\n for YRbF in range(np77):\n if YRbF + AhS8 < yMhW - 1:\n rk8E[YRbF] = oyIN.nan\n elif wkyF - YRbF < wga7 + 1:\n rk8E[YRbF] = oyIN.nan\n elif... | [
"0.6662385",
"0.66400045",
"0.6631635",
"0.66271657",
"0.645686",
"0.6369582",
"0.63518935",
"0.63352394",
"0.6312404",
"0.6297442",
"0.62898177",
"0.6186136",
"0.59446514",
"0.5890727",
"0.58646053",
"0.5642371",
"0.5629377",
"0.56151515",
"0.55438477",
"0.5522567",
"0.54953... | 0.7292667 | 0 |
This function is to compute the exponetiallyweighted moving average for the window. See `window_kernel` for detailed arguments | def y_eK(FpBs, rKLW, AhS8, rk8E, yMhW, uvMl, np77, vgXP, qonS, nSQe):
KCHu = 0.0
Ty9i = 0.0
OrfG = 0.0
cntZ = False
Cwt5 = 2 / (uvMl + 1)
EhIg = 1
V3oS = 0
ewCu = 0
QIk7 = 1.0
srNz = 1.0
lrZb = 0
for YRbF in range(np77):
if FpBs[YRbF + nSQe] == 1:
AhS8... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tVz4(hkxX, KnxT):\n _mSQ = oyIN.exp(oyIN.linspace(-1.0, 0.0, KnxT))\n _mSQ /= _mSQ.sum()\n jzdc = oyIN.convolve(hkxX, _mSQ, mode='valid')[:len(hkxX)]\n jzdc[:KnxT] = jzdc[KnxT + 1]\n epBp = oyIN.ones(len(hkxX) - len(jzdc)) * jzdc[0]\n jzdc = oyIN.concatenate((epBp, jzdc))\n return jzdc",
... | [
"0.7936084",
"0.7856343",
"0.76694804",
"0.76694804",
"0.76694804",
"0.76694804",
"0.75854456",
"0.7521516",
"0.7217527",
"0.7148774",
"0.7114043",
"0.7093038",
"0.70572567",
"0.7021008",
"0.6903343",
"0.68676716",
"0.68385273",
"0.6827768",
"0.6827768",
"0.6827768",
"0.67926... | 0.6978583 | 14 |
This function is to compute the exponetiallyweighted moving average for the window. See `window_kernel` for detailed arguments | def SISj(rKLW, AhS8, rk8E, yMhW, uvMl, np77, vgXP, qonS):
KCHu = 0.0
Ty9i = 0.0
OrfG = 0.0
cntZ = False
Cwt5 = 2 / (uvMl + 1)
EhIg = 1
V3oS = 0
ewCu = 0
QIk7 = 1.0
srNz = 1.0
lrZb = 0
for YRbF in range(np77):
if YRbF + AhS8 < uvMl - 1:
rk8E[YRbF] = oyI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tVz4(hkxX, KnxT):\n _mSQ = oyIN.exp(oyIN.linspace(-1.0, 0.0, KnxT))\n _mSQ /= _mSQ.sum()\n jzdc = oyIN.convolve(hkxX, _mSQ, mode='valid')[:len(hkxX)]\n jzdc[:KnxT] = jzdc[KnxT + 1]\n epBp = oyIN.ones(len(hkxX) - len(jzdc)) * jzdc[0]\n jzdc = oyIN.concatenate((epBp, jzdc))\n return jzdc",
... | [
"0.7937063",
"0.7857625",
"0.7670125",
"0.7670125",
"0.7670125",
"0.7670125",
"0.7586697",
"0.7521962",
"0.72170365",
"0.71480006",
"0.7092303",
"0.7056775",
"0.7019788",
"0.6978834",
"0.6903666",
"0.68674016",
"0.68393266",
"0.6827482",
"0.6827482",
"0.6827482",
"0.67928797"... | 0.7114014 | 10 |
This function is to compute the moving average for the window See `window_kernel` for detailed arguments | def EaRy(rKLW, AhS8, wkyF, rk8E, yMhW, wga7, np77, vgXP, qonS):
cntZ = False
KCHu = 0.0
lrZb = 0
for YRbF in range(np77):
if YRbF + AhS8 < yMhW - 1:
rk8E[YRbF] = oyIN.nan
elif wkyF - YRbF < wga7 + 1:
rk8E[YRbF] = oyIN.nan
elif not cntZ:
for r84... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZCKv(hkxX, KnxT):\n _mSQ = oyIN.repeat(1.0, KnxT) / KnxT\n return oyIN.convolve(hkxX, _mSQ, 'valid')",
"def ZCKv(hkxX, KnxT):\n _mSQ = oyIN.repeat(1.0, KnxT) / KnxT\n return oyIN.convolve(hkxX, _mSQ, 'valid')",
"def ZCKv(hkxX, KnxT):\n _mSQ = oyIN.repeat(1.0, KnxT) / KnxT\n return oyIN.co... | [
"0.80253726",
"0.80253726",
"0.80253726",
"0.80253726",
"0.79140496",
"0.78383636",
"0.7802",
"0.7692358",
"0.76823914",
"0.7570183",
"0.7550936",
"0.746844",
"0.7444345",
"0.74433684",
"0.74307966",
"0.7362674",
"0.7319604",
"0.7315335",
"0.728791",
"0.727416",
"0.72673947",... | 0.6752532 | 55 |
This function is to compute the std for the window See `window_kernel` for detailed arguments | def Fhay(rKLW, AhS8, wkyF, rk8E, yMhW, wga7, np77, vgXP, qonS):
KCHu = 0.0
SRYB = 0.0
cntZ = False
lrZb = 0
for YRbF in range(np77):
if YRbF + AhS8 < yMhW - 1:
rk8E[YRbF] = oyIN.nan
elif wkyF - YRbF < wga7 + 1:
rk8E[YRbF] = oyIN.nan
elif not cntZ:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def afLB(VXjJ):\n return oyIN.sum((VXjJ - oyIN.mean(VXjJ)) ** 2)",
"def cIMB(jzdc, KnxT=3):\n return oyIN.std(agUT(jzdc, KnxT), -1)",
"def xJ7n(hkxX, KnxT):\n return hkxX.rolling(window=KnxT).std()",
"def xJ7n(hkxX, KnxT):\n return hkxX.rolling(window=KnxT, center=False).std()",
"def CL0v(EcVT,... | [
"0.7725156",
"0.7344594",
"0.72769105",
"0.7261192",
"0.7224102",
"0.70776886",
"0.70295995",
"0.6911799",
"0.6903696",
"0.68583006",
"0.6760252",
"0.67024165",
"0.6691847",
"0.6651107",
"0.66308385",
"0.66123873",
"0.6603128",
"0.6602226",
"0.6587894",
"0.658415",
"0.6574129... | 0.6550714 | 22 |
Find integer in a sorted list. | def rC71(YRbF, vC9B):
if vC9B:
rVpA = len(vC9B) / 2
XP5J = vC9B[rVpA]
if YRbF == XP5J:
return rVpA
elif len(vC9B) == 1:
return
elif YRbF < XP5J:
Ylbp = rC71(YRbF, vC9B[:rVpA])
if Ylbp:
return Ylbp
elif YR... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Lj2e(yv6U, BWXx):\n if KdtW(yv6U):\n for YRbF in yv6U:\n if YRbF == BWXx:\n return YRbF\n return -1",
"def gBvS(tu39, BZh3) -> int:\n return Ce1H(tu39, BZh3)",
"def TrX4(yv6U, BWXx):\n for YRbF in range(len(yv6U)):\n if BWXx == yv6U[YRbF]:\n re... | [
"0.76097023",
"0.7541636",
"0.722728",
"0.72240293",
"0.71952754",
"0.7139903",
"0.71347785",
"0.71253586",
"0.712281",
"0.70849603",
"0.7066461",
"0.70475966",
"0.7025034",
"0.70135957",
"0.701114",
"0.6991955",
"0.69866365",
"0.6968642",
"0.6965286",
"0.6961113",
"0.6951573... | 0.7376649 | 2 |
Sort list using quick sort. | def vdyO(vC9B):
if len(vC9B) <= 1:
return vC9B
csQL = vC9B[0]
HFDh = []
InF8 = []
_5Kr = []
for tTpl in vC9B:
if tTpl < csQL:
HFDh.append(tTpl)
elif tTpl == csQL:
InF8.append(tTpl)
else:
_5Kr.append(tTpl)
return vdyO(HFDh) +... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lguw(UrXw):\n pass",
"def lguw(WHDa):\n if len(WHDa) in [0, 1]:\n return WHDa\n else:\n csQL = WHDa[0]\n _5Kr, g2pi = Qrt_(WHDa[1:], csQL)\n return lguw(g2pi) + [csQL] + lguw(_5Kr)",
"def R3Pj(yv6U):\n if not yv6U:\n return\n csQL = yv6U[0]\n HFDh = [U6D... | [
"0.8888212",
"0.82200384",
"0.7969999",
"0.793766",
"0.79343736",
"0.79236287",
"0.7897499",
"0.7897172",
"0.78794974",
"0.78251964",
"0.7818305",
"0.77982914",
"0.77932364",
"0.7783727",
"0.7773639",
"0.7750159",
"0.7681432",
"0.7661128",
"0.7660511",
"0.765834",
"0.7651483"... | 0.75991684 | 22 |
Replaces index.html location. Provides links to take_it_offline, final_quest, and youre_a_star Locations final_quest and youre_a_star not yet developed. | def d6pt():
return TvZl('main.html', user='Adrian') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xGKN():\n vKnz('/ardublockly/index.html')",
"def WhEF(YKHO):\n PKxI = '%s/index.html' % MeMa\n eHNT = open(PKxI, 'r')\n Nqlg = eHNT.readlines()\n eHNT.close()\n P8oC = Hy7s.path.basename(YKHO.htmlout_file)\n eWAE = Hy7s.path.dirname(YKHO.htmlout_file).split('/')[-1]\n cDa0 = './%s/%s'... | [
"0.64465",
"0.6418392",
"0.6397453",
"0.6376116",
"0.63463545",
"0.6282251",
"0.6171658",
"0.61435944",
"0.6120865",
"0.60875785",
"0.60853153",
"0.6046775",
"0.6011609",
"0.6003818",
"0.5997626",
"0.5987668",
"0.59801203",
"0.59697866",
"0.59027827",
"0.5888226",
"0.5886306"... | 0.0 | -1 |
Return a string representing the exception | def zAg0(YKHO):
return '[State Exception:reason=%s]' % YKHO._reason | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nsfs(YKHO):\n return YKHO._exception_str",
"def rgJq():\n return ''.join(wVCK.format_exception(*HwRy.exc_info()))",
"def AJ5d(YKHO):\n LaVg = wVCK.format_exception_only(YKHO.exc_type, YKHO.exc_value)\n im04 = ''.join(LaVg).strip()\n return im04.decode('utf-8', 'replace') if VOoL else im04",
... | [
"0.8406359",
"0.82209116",
"0.82198733",
"0.8078184",
"0.7821002",
"0.7790537",
"0.77876",
"0.77438205",
"0.7707779",
"0.76787853",
"0.765054",
"0.76178384",
"0.76023096",
"0.75969255",
"0.7592035",
"0.75673354",
"0.7512521",
"0.7497827",
"0.7497793",
"0.74821085",
"0.7415139... | 0.7162478 | 43 |
Creates a user record. Encrypts the password first though and creates a linked UserProfile. | def eLpg(YKHO, **B2fa):
B2fa = YKHO._preprocess(**B2fa)
PAKQ = B2fa.pop('password', None)
if PAKQ is None:
return aazL.HTTP_400
Nzyw = YKHO._hash(PAKQ)
B2fa['password'] = Nzyw
B2fa['profile_id'] = str(PZEd.create().id)
CBIr = super().create(**B2fa)
return CBIr | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lYUQ(Emd4):\n CBIr = NEJe.blend('auth.User')\n CBIr.set_password(k2eK)\n CBIr.save()\n Emd4.user = CBIr",
"def eLpg(YKHO, vGfb):\n CBIr = FYrf.UserProfile(email=vGfb['email'], name=vGfb['name'])\n CBIr.set_password(vGfb['password'])\n CBIr.save()\n return CBIr",
"def eLpg(YKHO, nPrm... | [
"0.7752952",
"0.7680986",
"0.76702046",
"0.7665158",
"0.7648864",
"0.76445603",
"0.7604638",
"0.75888443",
"0.75379",
"0.75379",
"0.7531465",
"0.75302994",
"0.75226915",
"0.7508781",
"0.75032955",
"0.74785376",
"0.747629",
"0.74723107",
"0.7472284",
"0.7472284",
"0.7472284",
... | 0.7496749 | 15 |
Check whether the body entity studyProfile and morbidities exist or not. Then save it to the local file system. | def xkzz(pVnD):
jJA3 = okZH(pVnD['studyProfile']['studyProfile'])
pVnD['studyProfile'] = wKZ0(jJA3)
iX8R = tiYk(jJA3['study_profile_code'])
for FTYQ in pVnD['morbiditiesData']:
Wbk2 = FTYQ['icd10Code']
omIC = False
for I2IK in iX8R:
if Wbk2 == I2IK['icd10Code']:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t3TG(YKHO):\n YKHO.whois_db.database = YKHO.our_dataset.copy()\n YKHO.whois_db.save()\n aEqx = True\n n5sN = EOaO.helpers.File(YKHO.storage_file).exists()\n YKHO.assertEqual(aEqx, n5sN)\n aEqx = YKHO.our_dataset.copy()\n n5sN = EOaO.helpers.Dict().from_json_file(YKHO.storage_file)\n YKH... | [
"0.5535905",
"0.5511278",
"0.5372291",
"0.53655356",
"0.5283264",
"0.5281887",
"0.5261902",
"0.5259103",
"0.52390414",
"0.52238524",
"0.5205729",
"0.5197982",
"0.51892555",
"0.5176722",
"0.51601523",
"0.515829",
"0.5148062",
"0.51433724",
"0.51343864",
"0.5118747",
"0.5101294... | 0.6493003 | 0 |
Computes a random smooth time offset. | def E_tq(xFFX, M1Jx):
ywwl = xFFX.shape[0]
QiJJ = oyIN.fft.irfft(ywwl * M1Jx * oyIN.random.randn(ywwl) * oyIN.exp(-oyIN.arange(ywwl)))[:ywwl]
return QiJJ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RcgA(pan_, c9Ql, F085):\n UO2i = c9Ql + tuKI.uniform(-F085, F085)\n RA_F = qcWV.timedelta(hours=UO2i)\n return pan_ + RA_F",
"def nrOS(YKHO):\n return YKHO.offset + YKHO.delta * YKHO.rng.random()",
"def _Yr1(YKHO):\n yKcO = tuKI.randint(0, YKHO.sample_rate * 8)\n Os4s = yKcO + 2 * YKHO.sa... | [
"0.6408435",
"0.6058443",
"0.6013642",
"0.5912221",
"0.58518946",
"0.58100736",
"0.5678729",
"0.56619394",
"0.565546",
"0.56305265",
"0.5616947",
"0.5608015",
"0.55409133",
"0.551778",
"0.550913",
"0.54684955",
"0.54469043",
"0.5399214",
"0.5397533",
"0.53966755",
"0.5367629"... | 0.5580004 | 12 |
Remove spaces, dashes and underscores | def NkkI(YKHO, mWFP):
if not mWFP:
bGrB, mWFP = Hy7s.path.split(Hy7s.getcwd())
return ZbWC.sub('[\\s\\-_]', '', mWFP.lower()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Sqwa(KCHu):\n return ZbWC.sub('_', '\\\\_', KCHu)",
"def n1qd(WKvO):\n return WKvO.replace('_', '-')",
"def nIop(l5Ny):\n return ZbWC.sub('[\\\\W_]+', '-', l5Ny)",
"def oRP1(KCHu):\n return KCHu.replace(' ', '_')",
"def vy3D(KCHu):\n return '_'.join(KCHu.lower().split(' '))",
"def eb4L... | [
"0.8117963",
"0.8040201",
"0.79551786",
"0.7807427",
"0.7804568",
"0.77653056",
"0.77231675",
"0.77231675",
"0.77155364",
"0.7636165",
"0.76216793",
"0.76027566",
"0.75635886",
"0.7538283",
"0.7489867",
"0.74836886",
"0.74352556",
"0.74340206",
"0.7433724",
"0.74215007",
"0.7... | 0.0 | -1 |
Retrieves all Transit Gateways. List all the Transit Gateways in the account. User will get a list of Transit Gateways they have access to 'view'. | def baio(YKHO, **B2fa) -> fkWJ:
MOPg = {}
kVod = w64J(service_name=YKHO.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_transit_gateways')
MOPg.update(kVod)
NArs = {'version': YKHO.version}
if 'headers' in B2fa:
MOPg.update(B2fa.get('headers'))
bD7m = '/transit_gateways'
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q_tk():\n pxwp = bT5T.gateways()\n return pxwp",
"def n3Ki():\n return xmTW()",
"def xmTW(YKHO) -> LvnD:\n return LvnD(YKHO._client_resource_config(), 'systems/gateways', 'gateway', 'gateways', delete_via_update=False, missing_endpoints=['create', 'update', 'get'])",
"def CQ5r(mWFP: str) -> l... | [
"0.69135326",
"0.6273675",
"0.62401485",
"0.6101504",
"0.6076503",
"0.59357315",
"0.5927571",
"0.59263206",
"0.58162385",
"0.5788843",
"0.5713878",
"0.56897944",
"0.56882006",
"0.56063485",
"0.56003976",
"0.5520917",
"0.53811735",
"0.5367234",
"0.5317934",
"0.5302736",
"0.528... | 0.7500862 | 0 |
Retrieves specified Transit Gateway connection. This request retrieves a connection from the Transit Gateway. | def P9o4(YKHO, rP6b: str, id: str, **B2fa) -> fkWJ:
if rP6b is None:
raise ValueError('transit_gateway_id must be provided')
if id is None:
raise ValueError('id must be provided')
MOPg = {}
kVod = w64J(service_name=YKHO.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='detail_tra... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OKYa(YKHO, UShr):\n try:\n return YKHO._transactions[UShr]\n except KeyError:\n return YKHO.acquire(UShr.graph_name, UShr.readonly)",
"def lxP0(QePW):\n return TXQY(QePW.user, QePW.session)",
"def DnPx(YKHO):\n return YKHO.conn",
"def lxP0(YKHO):\n return YKHO._connection",
... | [
"0.6949862",
"0.6649227",
"0.6568881",
"0.6512296",
"0.64559585",
"0.64559585",
"0.6440934",
"0.6423736",
"0.64215565",
"0.6408908",
"0.64037925",
"0.6401643",
"0.6325217",
"0.6313401",
"0.63123214",
"0.6276803",
"0.6218858",
"0.6199236",
"0.6197042",
"0.61866486",
"0.6173545... | 0.0 | -1 |
Initialize a ResourceGroupIdentity object. | def FIMM(YKHO, id: str) -> None:
YKHO.id = id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'ResourceGroupIdentity':\n qIxc = {}\n if 'id' in tbx9:\n qIxc['id'] = tbx9.get('id')\n else:\n raise ValueError(\"Required property 'id' not present in ResourceGroupIdentity JSON\")\n return Emd4(**qIxc)",
"def FIMM(Ro_8, *, hE03: Optional[str]=None, IXKo:... | [
"0.63676846",
"0.62029725",
"0.58939403",
"0.58036053",
"0.5723198",
"0.5652133",
"0.56153286",
"0.5614281",
"0.55926484",
"0.55825335",
"0.5511564",
"0.5492461",
"0.5477975",
"0.54643637",
"0.5458944",
"0.54480624",
"0.5445659",
"0.5438126",
"0.5438126",
"0.536902",
"0.53555... | 0.0 | -1 |
Initialize a ResourceGroupIdentity object from a json dictionary. | def jG8h(Emd4, tbx9: Dict) -> 'ResourceGroupIdentity':
qIxc = {}
if 'id' in tbx9:
qIxc['id'] = tbx9.get('id')
else:
raise ValueError("Required property 'id' not present in ResourceGroupIdentity JSON")
return Emd4(**qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, uxij):\n tOvq = uxij['identityId']\n JBZA = uxij['description']\n u8qZ = uxij['companyName']\n c9ua = uxij['firstName']\n zp3f = uxij['lastName']\n LmAn = uxij['role']\n bWtk = uxij['phone']\n oZKl = uxij['website']\n D3lj = uxij['email']\n oZKl = uxij['website']\n h... | [
"0.66356254",
"0.64613354",
"0.6278061",
"0.6100986",
"0.6099181",
"0.60234207",
"0.60178316",
"0.59029853",
"0.583017",
"0.58233905",
"0.5821958",
"0.5812904",
"0.57933617",
"0.5767001",
"0.5747009",
"0.5739929",
"0.5723568",
"0.5697366",
"0.56754315",
"0.5660798",
"0.565748... | 0.8335573 | 0 |
Initialize a ResourceGroupIdentity object from a json dictionary. | def CCiu(Emd4, tbx9):
return Emd4.from_dict(tbx9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'ResourceGroupIdentity':\n qIxc = {}\n if 'id' in tbx9:\n qIxc['id'] = tbx9.get('id')\n else:\n raise ValueError(\"Required property 'id' not present in ResourceGroupIdentity JSON\")\n return Emd4(**qIxc)",
"def jG8h(Emd4, uxij):\n tOvq = uxij['identityI... | [
"0.8335573",
"0.66356254",
"0.64613354",
"0.6278061",
"0.6100986",
"0.6099181",
"0.60234207",
"0.60178316",
"0.59029853",
"0.583017",
"0.58233905",
"0.5821958",
"0.5812904",
"0.57933617",
"0.5767001",
"0.5747009",
"0.5739929",
"0.5723568",
"0.5697366",
"0.56754315",
"0.566079... | 0.55196786 | 67 |
Return a `str` version of this ResourceGroupIdentity object. | def zAg0(YKHO) -> str:
return qQXR.dumps(YKHO.to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str.format(\"<group '{}' (id={}) holds {} ({})\" + \" over resource '{}' (id={})\" + \" via grantor '{}' (id={})>\", str(YKHO.group.name), str(YKHO.group.id), MIr9.NAMES[YKHO.privilege], str(YKHO.privilege), str(YKHO.resource.title), str(YKHO.resource.short_id), str(YKHO.grantor.usernam... | [
"0.7115807",
"0.7067126",
"0.7036884",
"0.69588494",
"0.69581264",
"0.691214",
"0.686061",
"0.6847249",
"0.6836238",
"0.6806013",
"0.6802195",
"0.6800972",
"0.6796602",
"0.6785828",
"0.6785156",
"0.67792493",
"0.6773233",
"0.67709774",
"0.6761549",
"0.6758221",
"0.67414504",
... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'ResourceGroupIdentity') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'ResourceGroupIdentity') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Initialize a ResourceGroupReference object from a json dictionary. | def jG8h(Emd4, tbx9: Dict) -> 'ResourceGroupReference':
qIxc = {}
if 'id' in tbx9:
qIxc['id'] = tbx9.get('id')
else:
raise ValueError("Required property 'id' not present in ResourceGroupReference JSON")
if 'href' in tbx9:
qIxc['href'] = tbx9.get('href')
else:
raise Va... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'ResourceGroupIdentity':\n qIxc = {}\n if 'id' in tbx9:\n qIxc['id'] = tbx9.get('id')\n else:\n raise ValueError(\"Required property 'id' not present in ResourceGroupIdentity JSON\")\n return Emd4(**qIxc)",
"def jG8h(cmPJ=dict()):\n YEnM = gXH2()\n YE... | [
"0.6603696",
"0.59907496",
"0.5783093",
"0.57632893",
"0.56176984",
"0.5563964",
"0.5528762",
"0.54104114",
"0.53953326",
"0.5386601",
"0.53631777",
"0.5338002",
"0.53246474",
"0.53241575",
"0.5323281",
"0.53159004",
"0.5303626",
"0.52902216",
"0.5286586",
"0.526406",
"0.5250... | 0.8273319 | 0 |
Initialize a ResourceGroupReference object from a json dictionary. | def CCiu(Emd4, tbx9):
return Emd4.from_dict(tbx9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'ResourceGroupReference':\n qIxc = {}\n if 'id' in tbx9:\n qIxc['id'] = tbx9.get('id')\n else:\n raise ValueError(\"Required property 'id' not present in ResourceGroupReference JSON\")\n if 'href' in tbx9:\n qIxc['href'] = tbx9.get('href')\n else:\n... | [
"0.8273319",
"0.6603696",
"0.59907496",
"0.5783093",
"0.57632893",
"0.56176984",
"0.5563964",
"0.5528762",
"0.54104114",
"0.53953326",
"0.5386601",
"0.53631777",
"0.5338002",
"0.53246474",
"0.53241575",
"0.5323281",
"0.53159004",
"0.5303626",
"0.52902216",
"0.5286586",
"0.526... | 0.5018611 | 79 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'ResourceGroupReference') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'ResourceGroupReference') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Initialize a TSCollection object. | def FIMM(YKHO, JbSN: List['TSLocationBasic']) -> None:
YKHO.locations = JbSN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n ZYgz.TTimeCollection_swiginit(YKHO, ZYgz.new_TTimeCollection())",
"def FIMM(YKHO, *, g760: List['Collection']=None) -> None:\n YKHO.collections = g760",
"def FIMM(YKHO, *, g760: List['Collection']=None) -> None:\n YKHO.collections = g760",
"def FIMM(YKHO, DsMA=None):\n YKHO._ite... | [
"0.72599775",
"0.7106156",
"0.7106156",
"0.70883787",
"0.6977293",
"0.6959161",
"0.68649936",
"0.68434536",
"0.6839878",
"0.67178935",
"0.67178935",
"0.6664452",
"0.6663392",
"0.6648605",
"0.66072375",
"0.6606742",
"0.65473914",
"0.6507398",
"0.6488414",
"0.64499265",
"0.6445... | 0.0 | -1 |
Initialize a TSCollection object from a json dictionary. | def jG8h(Emd4, tbx9: Dict) -> 'TSCollection':
qIxc = {}
if 'locations' in tbx9:
qIxc['locations'] = [qmne.from_dict(WKvO) for WKvO in tbx9.get('locations')]
else:
raise ValueError("Required property 'locations' not present in TSCollection JSON")
return Emd4(**qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'Collection':\n qIxc = {}\n if 'collection_id' in tbx9:\n qIxc['collection_id'] = tbx9.get('collection_id')\n if 'name' in tbx9:\n qIxc['name'] = tbx9.get('name')\n return Emd4(**qIxc)",
"def jG8h(Emd4, tbx9: Dict) -> 'Collection':\n qIxc = {}\n if 'c... | [
"0.74840647",
"0.7421216",
"0.68416846",
"0.6829958",
"0.67978776",
"0.6794857",
"0.6792081",
"0.67649305",
"0.6741214",
"0.6651618",
"0.66407806",
"0.66407806",
"0.66407806",
"0.66407806",
"0.66407806",
"0.66407806",
"0.66407806",
"0.66407806",
"0.66407806",
"0.66407806",
"0... | 0.8105816 | 0 |
Initialize a TSCollection object from a json dictionary. | def CCiu(Emd4, tbx9):
return Emd4.from_dict(tbx9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TSCollection':\n qIxc = {}\n if 'locations' in tbx9:\n qIxc['locations'] = [qmne.from_dict(WKvO) for WKvO in tbx9.get('locations')]\n else:\n raise ValueError(\"Required property 'locations' not present in TSCollection JSON\")\n return Emd4(**qIxc)",
"def ... | [
"0.8105816",
"0.74840647",
"0.7421216",
"0.68416846",
"0.6829958",
"0.67978776",
"0.6794857",
"0.6792081",
"0.67649305",
"0.6741214",
"0.6651618"
] | 0.0 | -1 |
Return a `str` version of this TSCollection object. | def zAg0(YKHO) -> str:
return qQXR.dumps(YKHO.to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.collection)",
"def wHJl(YKHO) -> str:\n return f'Collection({YKHO.id_})'",
"def str(YKHO):\n return str(YKHO.items)",
"def yLCI(YKHO):\n return YKHO.__str__()",
"def yLCI(YKHO):\n return str(YKHO)",
"def yLCI(YKHO):\n return str(YKHO)",
"def yLCI(YKHO... | [
"0.8215949",
"0.7717608",
"0.7559283",
"0.7518093",
"0.7514226",
"0.7514226",
"0.75034904",
"0.74805766",
"0.7471344",
"0.7454324",
"0.7438857",
"0.7438623",
"0.74145436",
"0.7368824",
"0.7364023",
"0.7364023",
"0.7364023",
"0.7364023",
"0.7364023",
"0.7364023",
"0.7364023",
... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'TSCollection') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'TSCollection') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Initialize a TSLocalLocation object from a json dictionary. | def jG8h(Emd4, tbx9: Dict) -> 'TSLocalLocation':
qIxc = {}
if 'display_name' in tbx9:
qIxc['display_name'] = tbx9.get('display_name')
else:
raise ValueError("Required property 'display_name' not present in TSLocalLocation JSON")
if 'name' in tbx9:
qIxc['name'] = tbx9.get('name')
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TSLocation':\n qIxc = {}\n if 'billing_location' in tbx9:\n qIxc['billing_location'] = tbx9.get('billing_location')\n else:\n raise ValueError(\"Required property 'billing_location' not present in TSLocation JSON\")\n if 'name' in tbx9:\n qIxc['name']... | [
"0.7951792",
"0.7288812",
"0.6763965",
"0.6741206",
"0.66293675",
"0.65387595",
"0.6345006",
"0.6329192",
"0.63171315",
"0.6278238",
"0.6085837",
"0.6057362",
"0.6017542",
"0.60077053",
"0.5932389",
"0.59257615",
"0.5891788",
"0.58862007",
"0.58665913",
"0.5830078",
"0.582684... | 0.84013855 | 0 |
Initialize a TSLocalLocation object from a json dictionary. | def CCiu(Emd4, tbx9):
return Emd4.from_dict(tbx9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TSLocalLocation':\n qIxc = {}\n if 'display_name' in tbx9:\n qIxc['display_name'] = tbx9.get('display_name')\n else:\n raise ValueError(\"Required property 'display_name' not present in TSLocalLocation JSON\")\n if 'name' in tbx9:\n qIxc['name'] = tbx... | [
"0.84013855",
"0.7951792",
"0.7288812",
"0.6763965",
"0.6741206",
"0.66293675",
"0.65387595",
"0.6345006",
"0.6329192",
"0.63171315",
"0.6278238",
"0.6085837",
"0.6057362",
"0.6017542",
"0.60077053",
"0.5932389",
"0.59257615",
"0.5891788",
"0.58862007",
"0.58665913",
"0.58300... | 0.0 | -1 |
Return a `str` version of this TSLocalLocation object. | def zAg0(YKHO) -> str:
return qQXR.dumps(YKHO.to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PrXH(YKHO):\n raise NotImplementedError",
"def zAg0(YKHO):\n return YKHO._fulllocation",
"def zAg0(YKHO):\n hksT = 'Location Estimate: lat_deg = {}\\n'.format(YKHO._lat_deg)\n hksT += ' lat_min = {}\\n'.format(YKHO._lat_min)\n hksT += ' long_deg = {}\\n'.f... | [
"0.80929434",
"0.74056256",
"0.7371968",
"0.7314862",
"0.72329587",
"0.71998477",
"0.7188779",
"0.68869597",
"0.6828724",
"0.68241185",
"0.68054247",
"0.67574495",
"0.67478555",
"0.6740797",
"0.6710481",
"0.6682591",
"0.66695017",
"0.66543823",
"0.6581284",
"0.65483344",
"0.6... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'TSLocalLocation') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'TSLocalLocation') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Initialize a TSLocation object from a json dictionary. | def jG8h(Emd4, tbx9: Dict) -> 'TSLocation':
qIxc = {}
if 'billing_location' in tbx9:
qIxc['billing_location'] = tbx9.get('billing_location')
else:
raise ValueError("Required property 'billing_location' not present in TSLocation JSON")
if 'name' in tbx9:
qIxc['name'] = tbx9.get('n... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TSLocationBasic':\n qIxc = {}\n if 'billing_location' in tbx9:\n qIxc['billing_location'] = tbx9.get('billing_location')\n else:\n raise ValueError(\"Required property 'billing_location' not present in TSLocationBasic JSON\")\n if 'name' in tbx9:\n qI... | [
"0.78154826",
"0.7748015",
"0.74688125",
"0.7460091",
"0.70062244",
"0.69476175",
"0.69419825",
"0.6850627",
"0.6843606",
"0.6711005",
"0.6612372",
"0.66119677",
"0.6506318",
"0.65029293",
"0.6486652",
"0.6430858",
"0.6398342",
"0.638875",
"0.6388521",
"0.637036",
"0.6345436"... | 0.82519007 | 0 |
Initialize a TSLocation object from a json dictionary. | def CCiu(Emd4, tbx9):
return Emd4.from_dict(tbx9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TSLocation':\n qIxc = {}\n if 'billing_location' in tbx9:\n qIxc['billing_location'] = tbx9.get('billing_location')\n else:\n raise ValueError(\"Required property 'billing_location' not present in TSLocation JSON\")\n if 'name' in tbx9:\n qIxc['name']... | [
"0.82519007",
"0.78154826",
"0.7748015",
"0.74688125",
"0.7460091",
"0.70062244",
"0.69476175",
"0.69419825",
"0.6850627",
"0.6843606",
"0.6711005",
"0.6612372",
"0.66119677",
"0.6506318",
"0.65029293",
"0.6486652",
"0.6430858",
"0.6398342",
"0.638875",
"0.6388521",
"0.637036... | 0.0 | -1 |
Return a `str` version of this TSLocation object. | def zAg0(YKHO) -> str:
return qQXR.dumps(YKHO.to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PrXH(YKHO):\n raise NotImplementedError",
"def zAg0(YKHO):\n MM1S = str(YKHO.latVar)\n o8QW = str(YKHO.lonVar)\n return '%s%s %s%s' % (MM1S[2:], YKHO.latNS, o8QW[1:], YKHO.lonEW)",
"def L2UI(YKHO):\n return '({}, {})'.format(YKHO.location_x, YKHO.location_y)",
"def zAg0(YKHO):\n return ... | [
"0.8633806",
"0.7924674",
"0.7916835",
"0.78849554",
"0.7868204",
"0.7748698",
"0.7553623",
"0.7489681",
"0.74015546",
"0.7391993",
"0.7374247",
"0.73590773",
"0.7302613",
"0.7268898",
"0.7268898",
"0.7225322",
"0.7221283",
"0.7177086",
"0.71177167",
"0.70986557",
"0.70915806... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'TSLocation') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'TSLocation') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Return a `str` version of this TSLocationBasic object. | def zAg0(YKHO) -> str:
return qQXR.dumps(YKHO.to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PrXH(YKHO):\n raise NotImplementedError",
"def zAg0(YKHO):\n return YKHO._fulllocation",
"def zAg0(YKHO):\n MM1S = str(YKHO.latVar)\n o8QW = str(YKHO.lonVar)\n return '%s%s %s%s' % (MM1S[2:], YKHO.latNS, o8QW[1:], YKHO.lonEW)",
"def zAg0(YKHO):\n hksT = 'Location Estimate: lat_deg = {}\... | [
"0.8472483",
"0.78597283",
"0.7810766",
"0.76791775",
"0.76511025",
"0.7639461",
"0.7391003",
"0.7369571",
"0.7332033",
"0.7314401",
"0.72504646",
"0.7206895",
"0.71971273",
"0.71931815",
"0.7177406",
"0.715709",
"0.70996994",
"0.70996994",
"0.7079908",
"0.7054425",
"0.704836... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'TSLocationBasic') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'TSLocationBasic') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Return a `str` version of this TransitGateway object. | def zAg0(YKHO) -> str:
return qQXR.dumps(YKHO.to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yLCI(YKHO) -> str:\n return YKHO.__str__()",
"def yLCI(YKHO):\n return YKHO.__str__()",
"def yLCI(YKHO):\n return YKHO.__str__()",
"def yLCI(YKHO) -> str:\n return str(YKHO)",
"def CZBi(YKHO) -> str:\n pass",
"def yLCI(YKHO):\n pass",
"def yLCI(YKHO):\n pass",
"def yLCI(YKHO)... | [
"0.73891205",
"0.7387058",
"0.73805857",
"0.73745275",
"0.737325",
"0.7339531",
"0.7339531",
"0.73201764",
"0.73201764",
"0.7310251",
"0.7296772",
"0.72862756",
"0.72774094",
"0.72591305",
"0.7248161",
"0.7203639",
"0.7176458",
"0.71761835",
"0.7157129",
"0.71323586",
"0.7095... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'TransitGateway') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'TransitGateway') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Initialize a TransitGatewayCollection object from a json dictionary. | def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayCollection':
qIxc = {}
if 'transit_gateways' in tbx9:
qIxc['transit_gateways'] = [fK6o.from_dict(WKvO) for WKvO in tbx9.get('transit_gateways')]
else:
raise ValueError("Required property 'transit_gateways' not present in TransitGatewayCollection J... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayConnectionCollection':\n qIxc = {}\n if 'connections' in tbx9:\n qIxc['connections'] = [nWCV.from_dict(WKvO) for WKvO in tbx9.get('connections')]\n else:\n raise ValueError(\"Required property 'connections' not present in TransitGatewayConnectionC... | [
"0.7802998",
"0.6636556",
"0.6632551",
"0.6498541",
"0.63658375",
"0.63326174",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
"0.6265691",
... | 0.7855628 | 0 |
Initialize a TransitGatewayCollection object from a json dictionary. | def CCiu(Emd4, tbx9):
return Emd4.from_dict(tbx9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayCollection':\n qIxc = {}\n if 'transit_gateways' in tbx9:\n qIxc['transit_gateways'] = [fK6o.from_dict(WKvO) for WKvO in tbx9.get('transit_gateways')]\n else:\n raise ValueError(\"Required property 'transit_gateways' not present in TransitGatewayC... | [
"0.7855628",
"0.7802998",
"0.6636556",
"0.6632551",
"0.6498541",
"0.63658375",
"0.63326174"
] | 0.6265691 | 70 |
Return a `str` version of this TransitGatewayCollection object. | def zAg0(YKHO) -> str:
return qQXR.dumps(YKHO.to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yLCI(YKHO):\n return str(YKHO)",
"def yLCI(YKHO):\n return str(YKHO)",
"def yLCI(YKHO):\n return YKHO.__str__()",
"def yLCI(YKHO) -> str:\n return str(YKHO)",
"def gTzM(YKHO):\n return str(YKHO)",
"def yLCI(YKHO):\n return YKHO.__str__()",
"def yLCI(YKHO):\n pass",
"def yLCI(... | [
"0.7364034",
"0.7364034",
"0.72969353",
"0.7286918",
"0.7269445",
"0.7257615",
"0.723686",
"0.723686",
"0.72157073",
"0.7191867",
"0.71717054",
"0.71504235",
"0.7150036",
"0.7131891",
"0.7116335",
"0.7111295",
"0.71065176",
"0.7056916",
"0.7051665",
"0.7026676",
"0.7026676",
... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'TransitGatewayCollection') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif: 'TransitGatewayCollection') -> bool:
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True",
"def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def xa14(YKHO, Elif):\n return not YKHO != Elif",
"def Vdqg(YKHO, Elif):\n if YKHO ... | [
"0.86501735",
"0.86420214",
"0.85626656",
"0.85626656",
"0.85398483",
"0.84545314",
"0.8438662",
"0.8438662",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093",
"0.8403093... | 0.0 | -1 |
Initialize a TransitGatewayConnectionCollection object from a json dictionary. | def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayConnectionCollection':
qIxc = {}
if 'connections' in tbx9:
qIxc['connections'] = [nWCV.from_dict(WKvO) for WKvO in tbx9.get('connections')]
else:
raise ValueError("Required property 'connections' not present in TransitGatewayConnectionCollection J... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayCollection':\n qIxc = {}\n if 'transit_gateways' in tbx9:\n qIxc['transit_gateways'] = [fK6o.from_dict(WKvO) for WKvO in tbx9.get('transit_gateways')]\n else:\n raise ValueError(\"Required property 'transit_gateways' not present in TransitGatewayC... | [
"0.7365822",
"0.7132097",
"0.65151167",
"0.6400163",
"0.6310306",
"0.6303484",
"0.6089812",
"0.58958966",
"0.58396107",
"0.5835206",
"0.5821935",
"0.582193",
"0.5820355",
"0.5800806",
"0.5800806",
"0.5800806",
"0.5800806",
"0.5800806",
"0.5800806",
"0.5800806",
"0.5800806",
... | 0.84381133 | 0 |
Initialize a TransitGatewayConnectionCollection object from a json dictionary. | def CCiu(Emd4, tbx9):
return Emd4.from_dict(tbx9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayConnectionCollection':\n qIxc = {}\n if 'connections' in tbx9:\n qIxc['connections'] = [nWCV.from_dict(WKvO) for WKvO in tbx9.get('connections')]\n else:\n raise ValueError(\"Required property 'connections' not present in TransitGatewayConnectionC... | [
"0.84381133",
"0.7365822",
"0.7132097",
"0.65151167",
"0.6400163",
"0.6310306",
"0.6303484",
"0.6089812",
"0.58958966",
"0.58396107",
"0.5835206",
"0.5821935",
"0.582193",
"0.5820355"
] | 0.5800806 | 77 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif: 'TransitGatewayConnectionCollection') -> bool:
if not isinstance(Elif, YKHO.__class__):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)",
"def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))",
"def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)",
"def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))",
"def xa14(YKHO, Elif):\n ret... | [
"0.87371325",
"0.8501334",
"0.8474355",
"0.8459273",
"0.8452805",
"0.83500654",
"0.83371586",
"0.8321182",
"0.83089197",
"0.8307465",
"0.8284255",
"0.8284255",
"0.8277331",
"0.8277331",
"0.82759523",
"0.82759523",
"0.82757044",
"0.82738006",
"0.82664746",
"0.82664746",
"0.825... | 0.0 | -1 |