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 |
|---|---|---|---|---|---|---|
Get absolute path to resource, works for dev and for PyInstaller | def JFat(t_yv):
try:
XSj5 = HwRy._MEIPASS
except Exception:
XSj5 = Hy7s.path.abspath('.')
return Hy7s.path.join(XSj5, t_yv) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gZBG():\n return khtY.abspath(khtY.join(khtY.dirname(xAKo), 'resources') + khtY.sep)",
"def JFat(Qth0):\n if getattr(HwRy, 'frozen', None):\n ObT1 = HwRy._MEIPASS\n else:\n ObT1 = Hy7s.path.join(Hy7s.getcwd())\n return Hy7s.path.join(ObT1, Qth0)",
"def JFat(t_yv):\n try:\n ... | [
"0.86645293",
"0.819118",
"0.81755054",
"0.81639224",
"0.80871934",
"0.80871934",
"0.80871934",
"0.80871934",
"0.80869186",
"0.8079278",
"0.8077592",
"0.8074599",
"0.80659",
"0.80633307",
"0.80633307",
"0.80633307",
"0.80633307",
"0.80633307",
"0.80633307",
"0.80633307",
"0.8... | 0.80464077 | 30 |
Compute this layer's output function given a symbolic input variable | def ZMt9(YKHO, g4y1, **B2fa):
input = g4y1[0]
ZHfW = None
xVEQ = None
MmLN = None
if YKHO.mask_incoming_index > 0:
ZHfW = g4y1[YKHO.mask_incoming_index]
if YKHO.hid_init_incoming_index > 0:
xVEQ = g4y1[YKHO.hid_init_incoming_index]
if YKHO.cov_init_incoming_index > 0:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def enZN(WKvO):\n return oyIN.sin(WKvO)",
"def TtD1(YKHO, o61b: str) -> any:\n raise NotImplementedError",
"def S121(YKHO, pKvt):\n exwG = pKvt\n Z9rn = cACa.constant(1.0, name='c')\n exwG = qkSJ.add(exwG, Z9rn, name='add')\n exwG = qkSJ.mul(exwG, exwG, name='mul')\n exwG = qkSJ.add(exwG, ... | [
"0.63922364",
"0.6340632",
"0.6148267",
"0.60676986",
"0.60007995",
"0.59954596",
"0.598418",
"0.5900088",
"0.5895157",
"0.5877588",
"0.5876193",
"0.58758575",
"0.5825172",
"0.5815265",
"0.5811127",
"0.5805839",
"0.57758945",
"0.5743312",
"0.5725328",
"0.571089",
"0.5689334",... | 0.0 | -1 |
test that tags returned are for the authenticated user | def Si6S(YKHO):
uDCI = egNl().objects.create_user('other@gmail.com', 'other1234')
OhYN.objects.create(user=uDCI, name='Fruit')
TZ9E = OhYN.objects.create(user=YKHO.user, name='Comfort Food')
Ylbp = YKHO.client.get(ebJ5)
YKHO.assertEqual(Ylbp.status_code, jGRS.HTTP_200_OK)
YKHO.assertEqual(len(Yl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PxkR(YKHO):\n pB3N = YKHO.payload\n pB3N['email'] = 'user2@gmail.com'\n uDCI = egNl().objects.create_user(**pB3N)\n OhYN.objects.create(user=uDCI, name='fruity')\n TZ9E = OhYN.objects.create(user=YKHO.user, name='dessert')\n geh0 = YKHO.client.get(ebJ5)\n YKHO.assertEqual(geh0.status_code,... | [
"0.81671435",
"0.80447054",
"0.8018053",
"0.7965241",
"0.78922975",
"0.7870436",
"0.78237647",
"0.7774095",
"0.77699757",
"0.77421194",
"0.7738087",
"0.7696187",
"0.76263833",
"0.7620093",
"0.76076806",
"0.7576062",
"0.7412162",
"0.7293611",
"0.7291248",
"0.72502476",
"0.7230... | 0.7734341 | 11 |
test creating a new tag | def Yh3b(YKHO):
pB3N = {'name': 'test tag'}
YKHO.client.post(ebJ5, pB3N)
vtfo = OhYN.objects.filter(user=YKHO.user, name=pB3N['name']).exists()
YKHO.assertTrue(vtfo) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FDpy(YKHO):\n pass",
"def FDpy(YKHO):\n nNXP.content.create(container=YKHO.portal, type='tribuna.content.tag', title='Tag 1')",
"def q1zF(YKHO):\n pB3N = {'name': 'new tag'}\n YKHO.client.post(ebJ5, pB3N)\n vtfo = OhYN.objects.filter(user=YKHO.user, name=pB3N['name']).exists()\n YKHO.asse... | [
"0.9002231",
"0.83099824",
"0.80546904",
"0.7997737",
"0.79106915",
"0.78988725",
"0.7866906",
"0.7861965",
"0.7852131",
"0.78401744",
"0.78374875",
"0.7834394",
"0.78210765",
"0.7815015",
"0.7796304",
"0.7765548",
"0.775435",
"0.774659",
"0.77302176",
"0.7713992",
"0.7693881... | 0.7937382 | 4 |
Calculates longrange correction for LennardJones potential per atom. | def UB_3(InLe, akW7):
import math
BgJO = 1.0 / akW7 ** 3
return math.pi * (8.0 / 9.0 * BgJO ** 3 - 8.0 / 3.0 * BgJO) * InLe | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fPEo(LD1b):\n dlau = oyIN.clip(oyIN.exp(1 - oyIN.abs(LD1b[:, 0])), 0, 1)\n g0Hx = oyIN.clip(oyIN.exp(1 - oyIN.abs(LD1b[:, 1])), 0, 1)\n return dlau * g0Hx",
"def M707(qcWV):\n L1dM = [334166.0, 3489.0, 350.0, 342.0, 314.0, 268.0, 234.0, 132.0, 127.0, 120.0, 99.0, 90.0, 86.0, 78.0, 75.0, 51.0, 49.... | [
"0.56350046",
"0.5622099",
"0.55938584",
"0.5552179",
"0.546763",
"0.5395193",
"0.5385126",
"0.53609973",
"0.5356038",
"0.5311406",
"0.52901536",
"0.52680093",
"0.5233249",
"0.5230614",
"0.52248764",
"0.5223007",
"0.51819396",
"0.5171953",
"0.5163133",
"0.5146745",
"0.5146713... | 0.4769922 | 99 |
Calculates longrange correction for LennardJones pressure. | def VQce(InLe, akW7):
import math
BgJO = 1.0 / akW7 ** 3
return math.pi * (32.0 / 9.0 * BgJO ** 3 - 16.0 / 3.0 * BgJO) * InLe ** 2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fPEo(LD1b):\n dlau = oyIN.clip(oyIN.exp(1 - oyIN.abs(LD1b[:, 0])), 0, 1)\n g0Hx = oyIN.clip(oyIN.exp(1 - oyIN.abs(LD1b[:, 1])), 0, 1)\n return dlau * g0Hx",
"def Oup9(B0DR, RgFo, SqHK, xMdD, M8pK):\n gGnb, BFeB, dMYj = _IvL(RgFo.potenteval, RgFo.gradeval, RgFo.hesseval, B0DR, SqHK, xMdD, M8pK)\n ... | [
"0.5822626",
"0.5774322",
"0.5719067",
"0.5693741",
"0.56905484",
"0.5686758",
"0.56664956",
"0.5660398",
"0.5650348",
"0.5591241",
"0.55848",
"0.55652785",
"0.5560396",
"0.55351216",
"0.5531023",
"0.5508205",
"0.55068076",
"0.5482036",
"0.5478513",
"0.5476884",
"0.5467836",
... | 0.56965053 | 3 |
Convert 'positive' and 'negative' labels to 1s and 0s | def NiJz(MNmn):
KeL5 = []
for _dZy in MNmn:
if _dZy == 'positive':
KeL5.append(1)
elif _dZy == 'negative':
KeL5.append(0)
else:
raise ValueError("A sentiment wasn't positive or negative!")
return ht2j.tensor(KeL5) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iDwL(Crrw):\n k5Zv = []\n for YRbF in Crrw:\n if YRbF == 'tumor':\n k5Zv.append(1)\n else:\n k5Zv.append(0)\n return k5Zv",
"def uUG0(Yptr, UXqs):\n if UXqs == 0:\n Yptr[Yptr == UXqs], Yptr[Yptr != UXqs] = (0, 1)\n Yptr = [1] * Yptr.shape[0] - Ypt... | [
"0.71925676",
"0.7087392",
"0.70285434",
"0.7015268",
"0.6932914",
"0.6861538",
"0.68612444",
"0.6860062",
"0.6823216",
"0.6818949",
"0.6812451",
"0.66792446",
"0.6633245",
"0.64946735",
"0.6464057",
"0.64343715",
"0.64280695",
"0.6403158",
"0.6383683",
"0.6379873",
"0.635481... | 0.0 | -1 |
Generate a random profile using the Polya Urn with fixedsize approval sets distribution. | def EK3P(msQn, r85G, gyWJ, qx_G):
s0wd = 1.0
PEWX = []
J7IR = {}
for bGrB in range(msQn):
Mkmy = xlLU.random() * s0wd
if Mkmy < 1.0:
aJKN = list(range(r85G))
xlLU.shuffle(aJKN)
aJKN = aJKN[:gyWJ]
PEWX.append(aJKN)
H5ew = tuple(s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G40d(msQn, r85G, XP5J, qx_G):\n PEWX = []\n wgH3 = 1.0\n for r845 in range(msQn):\n oZuG = xlLU.uniform(0, wgH3)\n if oZuG <= 1.0:\n Wyiq = set()\n for Z9rn in range(r85G):\n if xlLU.random() <= XP5J:\n Wyiq.add(Z9rn)\n P... | [
"0.68555564",
"0.65269107",
"0.63550144",
"0.63239217",
"0.6246258",
"0.5974777",
"0.58946985",
"0.5845001",
"0.5820144",
"0.58194315",
"0.57787186",
"0.5770081",
"0.5744355",
"0.57351714",
"0.5714418",
"0.57041764",
"0.565345",
"0.5647087",
"0.56344014",
"0.5599285",
"0.5586... | 0.6123636 | 5 |
Generate a random profile using the IC with fixedsize approval sets distribution. | def vzgl(msQn, r85G, gyWJ):
PEWX = []
for bGrB in range(msQn):
aJKN = list(range(r85G))
xlLU.shuffle(aJKN)
aJKN = aJKN[:gyWJ]
PEWX.append(aJKN)
z39Z = SYRW(r85G)
z39Z.add_voters(PEWX)
return z39Z | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G40d(msQn, r85G, XP5J, qx_G):\n PEWX = []\n wgH3 = 1.0\n for r845 in range(msQn):\n oZuG = xlLU.uniform(0, wgH3)\n if oZuG <= 1.0:\n Wyiq = set()\n for Z9rn in range(r85G):\n if xlLU.random() <= XP5J:\n Wyiq.add(Z9rn)\n P... | [
"0.65551746",
"0.6551434",
"0.62414575",
"0.6210023",
"0.61880416",
"0.609574",
"0.58934844",
"0.5850628",
"0.5848455",
"0.58456177",
"0.5845566",
"0.5844028",
"0.58357507",
"0.57775867",
"0.5763592",
"0.57552165",
"0.57545185",
"0.575102",
"0.57227385",
"0.5701868",
"0.56877... | 0.7030509 | 0 |
Generate a point in space according to a given probability distribution. | def qRtf(jiKy):
if jiKy.name == '1d_interval':
vgXP = jiKy.center_point[0] - jiKy.width / 2
AU8u = xlLU.random() * jiKy.width + vgXP
elif jiKy.name == '1d_gaussian':
AU8u = xlLU.normal(jiKy.center_point[0], jiKy.sigma)
elif jiKy.name == '1d_gaussian_interval':
while True:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iIoW(YKHO, JBMS, _IBo, reta):\n XP5J = XTiz.random.multivariate_normal(JBMS, _IBo)\n AlKg = XTiz.linalg.norm(XP5J)\n if not AlKg > 0.0:\n XP5J[0] = 1.0\n AlKg = 1.0\n XP5J += XP5J * (reta / AlKg)\n return XP5J",
"def Q7Be(XP5J):\n return XP5J > tuKI.uniform(0.0, 1.0)",
"def ... | [
"0.69633263",
"0.6743231",
"0.6743231",
"0.6743231",
"0.6743231",
"0.6743231",
"0.6707102",
"0.669174",
"0.66205394",
"0.66018224",
"0.6526165",
"0.6515872",
"0.6445625",
"0.64293236",
"0.6425712",
"0.6409799",
"0.640682",
"0.63635474",
"0.6357008",
"0.6357008",
"0.6357008",
... | 0.79234535 | 0 |
Convert altitude provided in m to pressure in Pa. | def QIKx(H2v2):
CrCU = 101325
gSqT = 6.49
NW4O = 288.15
gSqT = oyIN.multiply(gSqT, 0.001)
e4dE = oyIN.divide(oyIN.multiply(Oa1e, pl04), oyIN.multiply(tic2, gSqT))
aLFy = oyIN.divide(oyIN.multiply(gSqT, H2v2), NW4O)
CJ2p = oyIN.multiply(CrCU, oyIN.power(oyIN.subtract(1.0, aLFy), e4dE))
re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kkLi(YKHO, JIWq=0.0):\n CJ2p = float(YKHO.read_pressure())\n y4fz = CJ2p / pow(1.0 - JIWq / 44330.0, 5.255)\n return y4fz",
"def dwfn(lDiA):\n lDiA = oyIN.array(lDiA)\n ZhUZ = 101.3 * oyIN.exp(-(lDiA / 8200.0))\n return ZhUZ",
"def CJ2p(YKHO, Zc6P, bJQn):\n N5UB = YKHO.altitude_profile... | [
"0.75385803",
"0.73167163",
"0.69658136",
"0.6939351",
"0.6904757",
"0.68799484",
"0.6824192",
"0.6790845",
"0.6783156",
"0.6775239",
"0.6711379",
"0.6696778",
"0.6550465",
"0.6418251",
"0.6346308",
"0.62942594",
"0.6251548",
"0.6241312",
"0.6206733",
"0.61860394",
"0.6176431... | 0.6389631 | 14 |
The set of arguments for constructing a DataPolicy resource. | def FIMM(Ro_8, *, yKAh: pulumi.Input[str], e6VO: pulumi.Input[str], Rci7: pulumi.Input[str], B4vO: pulumi.Input[str], RglQ: Optional[pulumi.Input['DataPolicyDataMaskingPolicyArgs']]=None, bNKA: Optional[pulumi.Input[str]]=None):
qe4Y.set(Ro_8, 'data_policy_id', yKAh)
qe4Y.set(Ro_8, 'data_policy_type', e6VO)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(Ro_8, kFeU: str, qIxc: DataPolicyArgs, VKhi: Optional[pulumi.ResourceOptions]=None):\n ...",
"def FIMM(Ro_8, kFeU: str, VKhi: Optional[pulumi.ResourceOptions]=None, RglQ: Optional[pulumi.Input[pulumi.InputType['DataPolicyDataMaskingPolicyArgs']]]=None, yKAh: Optional[pulumi.Input[str]]=None, e6VO: Op... | [
"0.77739656",
"0.69835865",
"0.6592752",
"0.6504047",
"0.6427508",
"0.63203824",
"0.62384987",
"0.62022734",
"0.6200442",
"0.5930807",
"0.5915685",
"0.58854806",
"0.5884218",
"0.5882159",
"0.58779514",
"0.58419484",
"0.58351845",
"0.5832244",
"0.57998884",
"0.57959455",
"0.57... | 0.6501736 | 4 |
Userassigned (human readable) ID of the data policy that needs to be unique within a project. Used as {dataPolicyId} in part of the resource name. | def yKAh(YKHO) -> qe4Y.Input[str]:
return qe4Y.get(YKHO, 'data_policy_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yKAh(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def yKAh(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def ulWc(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'policy_id')",
"def ulWc(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(... | [
"0.7587906",
"0.73262167",
"0.67837477",
"0.67837477",
"0.66729295",
"0.66729295",
"0.66729295",
"0.66074234",
"0.6594473",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
... | 0.74760485 | 1 |
Userassigned (human readable) ID of the data policy that needs to be unique within a project. Used as {dataPolicyId} in part of the resource name. | def yKAh(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'data_policy_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yKAh(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def yKAh(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def ulWc(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'policy_id')",
"def ulWc(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, ... | [
"0.7587906",
"0.74760485",
"0.67837477",
"0.67837477",
"0.66729295",
"0.66729295",
"0.66729295",
"0.66074234",
"0.6594473",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
"0.64711046",
... | 0.73262167 | 2 |
Resource name of this data policy, in the format of projects/{project_number}/locations/{locationId}/dataPolicies/{dataPolicyId}. | def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kIPs(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_policy')",
"def yKAh(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def yKAh(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def CX3n(YKHO) -> str:\n return qe4Y.get(YKHO, 'policy_name')",
"def ... | [
"0.711609",
"0.6751373",
"0.67152554",
"0.66629094",
"0.66629094",
"0.66629094",
"0.66629094",
"0.66629094",
"0.66629094",
"0.66629094",
"0.6524728",
"0.6498127",
"0.6498127",
"0.6498127",
"0.6498127",
"0.6394275",
"0.6339801",
"0.6339801",
"0.6339801",
"0.6326469",
"0.632646... | 0.0 | -1 |
Userassigned (human readable) ID of the data policy that needs to be unique within a project. Used as {dataPolicyId} in part of the resource name. | def yKAh(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'data_policy_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yKAh(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def yKAh(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'data_policy_id')",
"def ulWc(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'policy_id')",
"def ulWc(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(Y... | [
"0.7475298",
"0.73257",
"0.677918",
"0.677918",
"0.6670301",
"0.6670301",
"0.6670301",
"0.66035914",
"0.6593082",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6467531",
"0.6... | 0.7586344 | 0 |
Check if abs_path is actually an absolute path. This can happen either with eval/exec like here, or when the file in the frame is relative to __main__ | def auwV():
Wxnj = compile('1/0', 'test.py', 'exec')
try:
exec(Wxnj, {})
except Exception:
Bx6I = HOef(HwRy.exc_info())
AJ5d, = Bx6I
VIPT = AJ5d['stacktrace']['frames']
assert len(VIPT) == 2
for f4IJ in VIPT:
assert Hy7s.path.abspath(f4IJ['abs_path']) == f4IJ['abs_pat... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Esl9(Sd0C):\n return Hy7s.path.isabs(Sd0C) and Hy7s.path.isfile(Sd0C)",
"def t_gb(pmON: str) -> bool:\n pass",
"def juj8(Ux0P):\n if not isinstance(Ux0P, str):\n kmFp = False\n elif Ux0P != NVxF(Ux0P):\n kmFp = True\n elif Hy7s.path.isabs(Ux0P):\n kmFp = True\n else:\... | [
"0.79842746",
"0.7720693",
"0.76580507",
"0.7589121",
"0.74117285",
"0.7335717",
"0.7311051",
"0.730773",
"0.7158587",
"0.7093948",
"0.7049087",
"0.7027334",
"0.7008127",
"0.69478637",
"0.6927632",
"0.6868173",
"0.676812",
"0.6748996",
"0.6727306",
"0.6726885",
"0.6726437",
... | 0.75906533 | 3 |
Returns a user entity by id | def ggdo(Emd4, id):
CBIr = Emd4.get_by_id(id)
return CBIr | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bt8D(id):\n return mv1M.query.get(id)",
"def g971(id):\n return mv1M.query.get(int(id))",
"def bt8D(id: int) -> mv1M:\n return DQE7(mv1M, mv1M.id, id)",
"def bt8D(id):\n return mv1M.query.filter(mv1M.user_id == id).first()",
"def TKWP(P4t4, id):\n Dvct = P4t4.model.session\n return Dv... | [
"0.8591189",
"0.853352",
"0.8446604",
"0.8383866",
"0.8237077",
"0.8212208",
"0.8155518",
"0.81092703",
"0.81092703",
"0.810481",
"0.810481",
"0.8093428",
"0.8093428",
"0.8093428",
"0.8093428",
"0.8093428",
"0.8093428",
"0.8093428",
"0.80916804",
"0.8091009",
"0.8069114",
"... | 0.8305742 | 5 |
Gets the ldap_url of this KerberosRequest. | def Nw18(YKHO):
return YKHO._ldap_url | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UmEw(YKHO):\n return YKHO._authentication_url",
"def Nw18(YKHO, Nw18):\n YKHO._ldap_url = Nw18",
"def E8Zc(afZs):\n return 'ldap://%s' % afZs",
"def evZn(YKHO) -> h8nf[qe4Y.Input['CacheDirectoryLdapArgs']]:\n return qe4Y.get(YKHO, 'directory_ldap')",
"def evZn(YKHO) -> h8nf[qe4Y.Input['Cach... | [
"0.6655424",
"0.6273256",
"0.60714304",
"0.594735",
"0.594735",
"0.58496386",
"0.5783364",
"0.5783364",
"0.5774343",
"0.5768411",
"0.57339185",
"0.57339185",
"0.5724073",
"0.5719885",
"0.56650233",
"0.5659809",
"0.5656217",
"0.5624735",
"0.56131935",
"0.55617666",
"0.5548834"... | 0.8493862 | 0 |
Gets the krb5_conf of this KerberosRequest. | def OvHn(YKHO):
return YKHO._krb5_conf | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OvHn(YKHO, OvHn):\n YKHO._krb5_conf = OvHn",
"def ik9e(YKHO):\n return {'krb5-conf': {'properties_attributes': {}, 'properties': {'domains': YKHO.deploy.kerberos_realm, 'manage_krb5_conf': 'false'}}}",
"def iNfu(YKHO) -> h8nf[qe4Y.Input['MetastoreServiceHiveMetastoreConfigKerberosConfigArgs']]:\n ... | [
"0.69382054",
"0.69044006",
"0.62035894",
"0.51626164",
"0.5040168",
"0.5016418",
"0.50119436",
"0.50119436",
"0.50119436",
"0.50119436",
"0.4939825",
"0.48857987",
"0.48701158",
"0.48645258",
"0.48588693",
"0.48567402",
"0.4853623",
"0.48285148",
"0.48213953",
"0.48008636",
... | 0.88690704 | 0 |
Gets the master_key of this KerberosRequest. kerberos master key | def g5aQ(YKHO):
return YKHO._master_key | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qt4k(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'kms_master_key_id')",
"def WDsf(YKHO):\n sjXb = YKHO.find_keys(objclass=K9Ga.KEY_CLASS_SECRET_KEY, label=u'dnssec-master', cka_wrap=True, cka_unwrap=True)\n assert len(sjXb) > 0, 'DNSSEC master key with UN/WRAP = TRUE not found'\n return sjXb.popi... | [
"0.7794858",
"0.69712865",
"0.6724139",
"0.66604966",
"0.6598514",
"0.6433557",
"0.64118314",
"0.63191277",
"0.626745",
"0.62274474",
"0.62132716",
"0.61972463",
"0.6189233",
"0.6189233",
"0.6189233",
"0.6189233",
"0.6154077",
"0.61358815",
"0.6110893",
"0.6092188",
"0.607443... | 0.8009664 | 0 |
Gets the password of this KerberosRequest. kerberos admin password | def jTXt(YKHO):
return YKHO._password | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o2iF(YKHO) -> str:\n return qe4Y.get(YKHO, 'admin_password')",
"def o2iF(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'admin_password')",
"def Iay0(YKHO, QpfX):\n KAOR = ec6H.load(QpfX, YKHO._get_running_query_router_id())\n return YKHO.get_guest(KAOR).get_admin_password()",
"def arJR(Y... | [
"0.77164906",
"0.7633855",
"0.7613416",
"0.75882006",
"0.75556797",
"0.74662673",
"0.7458495",
"0.7378019",
"0.7378019",
"0.72735757",
"0.7186009",
"0.7173079",
"0.71355313",
"0.71355313",
"0.71355313",
"0.7116907",
"0.7104182",
"0.7085198",
"0.70833343",
"0.707343",
"0.70221... | 0.7027732 | 25 |
Returns the string representation of the model | def gTzM(YKHO):
return EyO9(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(... | [
"0.8392633",
"0.8354901",
"0.82950056",
"0.8132309",
"0.81149805",
"0.8099986",
"0.809911",
"0.8097883",
"0.8097883",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8066694",
"0.80594814",
"0.805757",
... | 0.0 | -1 |
Check if first three octets of subnet cidr is in subnet name. | def YCk9(YKHO, VWZy):
VKof = VWZy.attributes.allocated_cidr
Hwjy = VKof[:VKof.rfind('.')]
if Hwjy in VWZy.alias:
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sP9r(yf3m):\n return W27y(yf3m) or f5PJ(yf3m)",
"def BzmL(rng9):\n I33c = rng9[0]\n [eCHR, zweh] = rng9[1].split('/')\n zweh = int(zweh)\n _czW = SIe6(eCHR)\n hIIt = SIe6(I33c)\n YylP = hIIt[0:zweh]\n print(f'bin_ip_network: {YylP}')\n Htct = _czW[0:zweh]\n print(f'bin_cidr_ne... | [
"0.6921162",
"0.6540286",
"0.6498542",
"0.64853495",
"0.6406613",
"0.6395881",
"0.6378521",
"0.63626796",
"0.6256106",
"0.6086275",
"0.6084769",
"0.6055656",
"0.60456496",
"0.60299486",
"0.60233194",
"0.60183513",
"0.60160184",
"0.5953039",
"0.5945093",
"0.5928845",
"0.590954... | 0.77353966 | 0 |
Compute the relative 3D transformation between a and b. | def uiSp(jzdc, Fg_i):
return XTiz.dot(XTiz.linalg.inv(jzdc), Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f_En(UA_Z: torch.Tensor, zC_n: torch.Tensor) -> ht2j.Tensor:\n return xP72(G0kx(UA_Z), zC_n)",
"def XGgk(k7bR, ojtb):\n Pzlo = jLnD.Transform()\n Pzlo.orient = k7bR.orient * ojtb.orient\n VjBb = k7bR.inverse\n Pzlo.pos = Cd44(ojtb.pos, VjBb, to_TF=True)\n Pzlo.pos = k7bR.pos + k7bR.orient *... | [
"0.77720726",
"0.70419997",
"0.6801434",
"0.6733025",
"0.6601426",
"0.65774924",
"0.64909995",
"0.64868903",
"0.6430274",
"0.6410967",
"0.6410967",
"0.64008737",
"0.6394849",
"0.6394849",
"0.6373645",
"0.634109",
"0.63296735",
"0.6248122",
"0.62372357",
"0.622639",
"0.6213456... | 0.0 | -1 |
Return a random edge | def dBLZ(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XXhP(YKHO):\n dBLZ = tuple(tuKI.sample(YKHO.nodes, 2))\n return dBLZ",
"def Iqmt(YKHO):\n return tuKI.choice(YKHO.get_edges())",
"def dBLZ(YKHO):\n mvm2 = tuKI.sample(YKHO.edges, 1)\n return mvm2[0] if len(mvm2) != 0 else None",
"def ZbWC(YKHO):\n return YKHO.G.edge(*_J4B(YKHO.G.iter_ed... | [
"0.8879944",
"0.8712919",
"0.83944947",
"0.78549653",
"0.7815809",
"0.7439722",
"0.6821822",
"0.68037194",
"0.6795411",
"0.67290574",
"0.6720936",
"0.6671664",
"0.657123",
"0.6555009",
"0.6540954",
"0.64770555",
"0.64770555",
"0.6386057",
"0.6377375",
"0.634826",
"0.63441753"... | 0.89621 | 0 |
Creates the placeholders for the tensorflow session. | def ajAQ(ZuM2, eV2A):
EcVT = ZylS.placeholder(ZylS.float32, shape=(ZuM2, None), name='X')
fuBA = ZylS.placeholder(ZylS.float32, shape=(eV2A, None), name='Y')
return (EcVT, fuBA) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ajAQ(YKHO):\n YKHO.user_list = ZylS.placeholder(ZylS.int32, [None], name='user_list_placeholder')\n YKHO.prod_list = ZylS.placeholder(ZylS.int32, [None], name='product_list_placeholder')\n YKHO.label_list = ZylS.placeholder(ZylS.float32, [None, 1], name='label_list_placeholder')\n YKHO.treatment_pr... | [
"0.7913667",
"0.75698566",
"0.75386786",
"0.75360644",
"0.7528334",
"0.7514339",
"0.7508823",
"0.74458563",
"0.73841095",
"0.7383416",
"0.7373823",
"0.7333247",
"0.7266518",
"0.7261225",
"0.72566026",
"0.72531605",
"0.72456115",
"0.7227042",
"0.720735",
"0.71915203",
"0.71863... | 0.6437928 | 72 |
Return a string representation of the model. | def zAg0(YKHO):
return f'{YKHO.user.username}' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def wHJl(YKHO: BaseModel) -> str:\n sgKs = [f'{H5ew}={repr(BWXx)}' for H5ew, BWXx in YKHO.to_dict().items()]\n return f'{type(YKHO).__name__}({sgKs})'",
"def zAg0(YKHO):\n oOUF = '------------------------... | [
"0.8495676",
"0.8424549",
"0.7915226",
"0.78231704",
"0.77746725",
"0.7646499",
"0.76353073",
"0.76262254",
"0.7618147",
"0.75990707",
"0.7594216",
"0.75930893",
"0.75854623",
"0.7563424",
"0.7563424",
"0.7563424",
"0.7544013",
"0.75400853",
"0.7535514",
"0.7530679",
"0.75306... | 0.0 | -1 |
Create profile when you create a user. | def sxXS(vC92, KAOR, _EYN, **B2fa):
if _EYN:
SYRW.objects.create(user=KAOR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sxXS(vC92, KAOR, _EYN, **B2fa):\n if _EYN:\n SYRW.objects.create(user=KAOR)",
"def euOS(YKHO):\n zR3h = BFpK.objects.create(user=YKHO, biography='')",
"def euOS(vC92, KAOR, _EYN, **B2fa):\n if _EYN:\n SYRW.objects.create(user=KAOR)",
"def Sroh(vC92, KAOR, _EYN, **B2fa):\n if _EY... | [
"0.87253374",
"0.86570466",
"0.8624995",
"0.8591307",
"0.8566206",
"0.856279",
"0.85279787",
"0.85247886",
"0.8514514",
"0.8512506",
"0.84986454",
"0.84948426",
"0.84948426",
"0.843772",
"0.84322697",
"0.838832",
"0.838832",
"0.83871734",
"0.83797145",
"0.8356665",
"0.8329376... | 0.85479623 | 7 |
Check if file exists, fix if file in cache and not on Pithos+ | def vtfo(YKHO, YEnM, **B2fa):
pmON = YKHO._construct_path(YEnM, **B2fa)
try:
YKHO.pithos.get_object_info(pmON)
return True
except nheh as ce:
if NszA.status not in (404,):
raise
LMFw = YKHO._in_cache(pmON)
F3B1 = B2fa.get('dir_only', False)
if F3B1:
oE... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def midV(qGF8=jctn):\n return Hy7s.path.isfile(qGF8)",
"def ImCi(YKHO):\n return Hy7s.path.exists(YKHO.local_fn)",
"def Fo8P(gIsw, SPqu, j3Nz) -> str:\n qaEx = ''\n if (Aofo := RjfR(gIsw, j3Nz)) != None:\n qaEx, j3Nz = Aofo\n else:\n qaEx = neBz(gIsw, SPqu)\n open(j3Nz, mode... | [
"0.7598245",
"0.7271724",
"0.7263571",
"0.72558117",
"0.7158253",
"0.7115493",
"0.7060847",
"0.7057532",
"0.7055122",
"0.7013506",
"0.7009069",
"0.7002301",
"0.69724417",
"0.6969363",
"0.69615537",
"0.69265175",
"0.69258606",
"0.69109714",
"0.6884342",
"0.6866969",
"0.6852693... | 0.0 | -1 |
Initialize attributes to represent a card. | def FIMM(YKHO, QR0v):
YKHO.image = None
YKHO.name = ''
YKHO.color = ''
YKHO.screen = QR0v.screen
YKHO.x, YKHO.y = (0.0, 0.0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, FCyN, tXNk, wEiH):\n YKHO.card_sprite = FCyN\n YKHO.card_type = tXNk\n YKHO.card_factor = wEiH",
"def FIMM(YKHO, qsJ6, QTBn, kfQt):\n P8oC = V0G0(YKHO, kfQt['base'])\n F1Hz.__init__(YKHO, kfQt['Name'], kfQt['Cost'], P8oC, qsJ6, QTBn, kfQt)\n YKHO.countdown = kfQt['Base'].setdefau... | [
"0.7062375",
"0.67984414",
"0.6772543",
"0.67533875",
"0.6735696",
"0.6689717",
"0.666261",
"0.66241425",
"0.6548172",
"0.6467396",
"0.6460013",
"0.6446232",
"0.6405172",
"0.6376933",
"0.63638735",
"0.6350473",
"0.6332486",
"0.62892455",
"0.62874174",
"0.6273057",
"0.6264587"... | 0.6230896 | 28 |
Convert time in seconds to python `datetime.time` object. | def c_i7(cAD4):
gqtN = cAD4 // 3600
if gqtN > 23:
gqtN = gqtN % 24
Hvjk = cAD4 % 3600
eRPr, lcOE = (Hvjk // 60, Hvjk % 60)
return ITS7(gqtN, eRPr, lcOE) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PFz2(C6wh):\n ITS7 = Kmii()\n ITS7.seconds = C6wh\n return ITS7",
"def KXAk(C6wh):\n ITS7 = Kmii()\n _v6V, ITS7.second = divmod(C6wh, 60)\n ITS7.hour, ITS7.minute = divmod(_v6V, 60)\n return ITS7",
"def KXAk(C6wh):\n ITS7 = Kmii()\n _v6V, ITS7.second = divmod(C6wh, 60)\n ITS7.... | [
"0.8122812",
"0.79571235",
"0.79571235",
"0.7920565",
"0.78326416",
"0.77956885",
"0.76628035",
"0.7453091",
"0.7443445",
"0.7279098",
"0.7240831",
"0.72379035",
"0.72379035",
"0.71994656",
"0.71705025",
"0.7157973",
"0.71348447",
"0.71348447",
"0.71110827",
"0.7092053",
"0.7... | 0.7674772 | 6 |
The canonical URL for the user following the list | def qVdO(YKHO):
return YKHO.base.get('canonicalUrl', []) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FM5I(YKHO) -> str:\n return qe4Y.get(YKHO, 'canonical_url')",
"def FM5I(YKHO) -> str:\n return qe4Y.get(YKHO, 'canonical_url')",
"def FM5I(YKHO) -> str:\n return qe4Y.get(YKHO, 'canonical_url')",
"def FM5I(YKHO) -> str:\n return qe4Y.get(YKHO, 'canonical_url')",
"def FM5I(YKHO) -> str:\n ... | [
"0.7374545",
"0.7374545",
"0.7374545",
"0.7374545",
"0.7227226",
"0.72263926",
"0.7138891",
"0.7068487",
"0.7068487",
"0.7068487",
"0.7068487",
"0.7068487",
"0.7068487",
"0.7068487",
"0.7068487",
"0.7068487",
"0.70566744",
"0.7043235",
"0.7040271",
"0.7015718",
"0.69670206",
... | 0.67345303 | 33 |
The gender of the user who is following the list | def L3jt(YKHO):
return YKHO.base.get('gender', []) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EE3v(YKHO):\n return lhy8.object.gender[YKHO.id]",
"def xVNR(YKHO):\n return YKHO.gender",
"def EE3v(YKHO):\n return lhy8.house.gender[YKHO.id]",
"def xVNR(YKHO):\n return YKHO.gender",
"def EE3v(YKHO):\n return YKHO._gender",
"def EE3v(YKHO):\n return YKHO._gender",
"def xVNR(YKH... | [
"0.7313879",
"0.71238226",
"0.710074",
"0.7074041",
"0.70500696",
"0.70500696",
"0.699588",
"0.6940789",
"0.6894774",
"0.6857676",
"0.6852933",
"0.6802789",
"0.6756572",
"0.6754921",
"0.66572726",
"0.66024584",
"0.6472233",
"0.646564",
"0.644236",
"0.6424553",
"0.6410151",
... | 0.679471 | 12 |
Internal utility method; retrieve a subobject from a JSON object/array; returns an empty object if key is not present | def lQ2n(YKHO, qQXR, H5ew):
rRmI = {}
if qQXR is not None:
rRmI = qQXR.get(H5ew, {})
return rRmI | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eJdB(Rf_J, H5ew, WmM4):\n if H5ew == []:\n raise ValueError('key list cannot be empty')\n if H5ew[0] not in Rf_J:\n return WmM4\n elif not isinstance(Rf_J, dict):\n raise TypeError\n elif len(H5ew) == 1:\n return Rf_J[H5ew[0]]\n else:\n return eJdB(Rf_J[H5ew[0]... | [
"0.6661958",
"0.6475819",
"0.6442461",
"0.63712436",
"0.6188495",
"0.61546636",
"0.6136588",
"0.6124432",
"0.60864496",
"0.60864496",
"0.60864496",
"0.60864496",
"0.6066396",
"0.6042537",
"0.6010256",
"0.6006312",
"0.6006165",
"0.6006165",
"0.6006165",
"0.6006165",
"0.6006165... | 0.5895036 | 27 |
Return whether user has view permission for object. App label and object name are retrieved automatically. | def PFbn(YKHO, QePW, YEnM=None):
VKhi = YKHO.opts
return QePW.user.has_perm(VKhi.app_label + '.' + 'change_%s' % VKhi.object_name.lower()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h8ch(YKHO, QePW, YEnM=None):\n VKhi = YKHO.opts\n return QePW.user.has_perm(VKhi.app_label + '.' + YKHO.get_view_permission())",
"def h8ch(YKHO, QePW, YEnM=None):\n VKhi = YKHO.opts\n return QePW.user.has_perm(VKhi.app_label + '.' + 'view_%s' % VKhi.object_name.lower())",
"def M1EP(YKHO, QePW, ... | [
"0.8677514",
"0.86101264",
"0.8331969",
"0.8221154",
"0.820886",
"0.80767614",
"0.79620636",
"0.7944581",
"0.7936481",
"0.7908535",
"0.790732",
"0.78822535",
"0.78822535",
"0.78822535",
"0.78822535",
"0.78822243",
"0.78807646",
"0.78671795",
"0.78501683",
"0.7833909",
"0.7831... | 0.0 | -1 |
Return whether user has view permission for object. App label and object name are retrieved automatically. | def h8ch(YKHO, QePW, YEnM=None):
VKhi = YKHO.opts
return QePW.user.has_perm(VKhi.app_label + '.' + 'view_%s' % VKhi.object_name.lower()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h8ch(YKHO, QePW, YEnM=None):\n VKhi = YKHO.opts\n return QePW.user.has_perm(VKhi.app_label + '.' + YKHO.get_view_permission())",
"def M1EP(YKHO, QePW, YEnM=None):\n return YKHO.model_admin.has_view_permission(QePW, obj=YEnM)",
"def h8ch(YKHO, QePW, YEnM=None):\n return YKHO.has_global_view_perm... | [
"0.86757404",
"0.8329995",
"0.82181716",
"0.8207837",
"0.8076055",
"0.7960446",
"0.7943565",
"0.7934493",
"0.7907933",
"0.7907017",
"0.78813463",
"0.78813463",
"0.78813463",
"0.78813463",
"0.78811044",
"0.7878863",
"0.7867198",
"0.78475344",
"0.7833155",
"0.7830154",
"0.78235... | 0.86082286 | 1 |
Provide custom form classes for User. | def t5Qk(YKHO, E5H6, QePW, **B2fa):
if issubclass(E5H6.rel.to, mv1M):
B2fa.update({'form_class': dPhQ})
return super(W7qe, YKHO).formfield_for_foreignkey(E5H6, QePW, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NcQ7(YKHO, QePW):\n from refs.accounts.forms import UserRegistrationForm\n return UserRegistrationForm",
"def NcQ7(YKHO):\n L03z = super().get_form_class()\n L03z.base_fields['name'].widget = H6V6.TextInput(attrs={'class': 'input is-primary', 'placeholder': 'Transcription Name'})\n L03z.base_f... | [
"0.71400064",
"0.6784502",
"0.67073107",
"0.65274876",
"0.6469065",
"0.64323974",
"0.63116175",
"0.6308097",
"0.622197",
"0.6150189",
"0.61469424",
"0.61387205",
"0.6117917",
"0.6117917",
"0.6117917",
"0.6111434",
"0.60979456",
"0.60754097",
"0.60693944",
"0.6036086",
"0.6033... | 0.5767235 | 39 |
Response 400 message, otherwhise. | def yA8I(YKHO):
_hkX = pz3A()
_hkX.content_type = 'application/json'
_hkX.status_code = 400
return _hkX | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Y1ZN(tTpl):\n return geh0('failed', 'Bad Request', 400)",
"def bC4h(YKHO, geh0=None, tO9_=None):\n YKHO._assert_response_code(400, geh0, tO9_)",
"def M7ri(YKHO, geh0):\n YKHO.assertStatus(geh0, 400)",
"def M7ri(YKHO, geh0):\n YKHO.assertStatus(geh0, 400)",
"def KQIY(YKHO):\n YKHO.respons... | [
"0.82978135",
"0.7894064",
"0.77234495",
"0.77234495",
"0.7714235",
"0.76895916",
"0.7636226",
"0.7587723",
"0.75466347",
"0.75194615",
"0.7508826",
"0.74819815",
"0.7354584",
"0.73292446",
"0.73292446",
"0.7230478",
"0.72303927",
"0.7224221",
"0.7222508",
"0.7221538",
"0.722... | 0.8200275 | 1 |
Response 404 message, on unauthorized call. | def D2as(YKHO, nPrm=None):
_hkX = pz3A(nPrm)
_hkX.content_type = 'application/json'
_hkX.status_code = 404
return _hkX | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DCL3(P1dF):\n return Yxsy(pz3A({'message': 'Not found, Invalid Parameters or URL'}), 401)",
"def o3cf():\n UAju = {'_resource': ['not found']}\n return P1dF(404, UAju)",
"def o3cf():\n return Yxsy(pz3A({'error': 'Not found'}), 404)",
"def mZnU():\n return oGir(RA4y, '<h1>404 Error : Some c... | [
"0.8084969",
"0.79261464",
"0.76825947",
"0.764332",
"0.7636265",
"0.7620744",
"0.76034814",
"0.76022017",
"0.7584412",
"0.7554257",
"0.75437224",
"0.7513088",
"0.7506067",
"0.7497309",
"0.74877363",
"0.74773526",
"0.7453741",
"0.74429876",
"0.7441715",
"0.7434526",
"0.742089... | 0.0 | -1 |
Response 404 message, on unauthorized call. When rate limit is hit. | def Jmq3(YKHO):
_hkX = pz3A()
_hkX.content_type = 'application/json'
_hkX.status_code = 429
return _hkX | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JaJC(tTpl):\n return Yxsy(pz3A({'error': {'id': 'url_unkown', 'code': 404, 'details': tTpl.description}}), 404)",
"def o3cf():\n UAju = {'_resource': ['not found']}\n return P1dF(404, UAju)",
"def DCL3(P1dF):\n return Yxsy(pz3A({'message': 'Not found, Invalid Parameters or URL'}), 401)",
"def... | [
"0.7241306",
"0.71886146",
"0.71393317",
"0.7039381",
"0.70079833",
"0.69394964",
"0.6937766",
"0.69329375",
"0.689995",
"0.6894735",
"0.68688834",
"0.68550694",
"0.6840358",
"0.6830987",
"0.68276805",
"0.68216324",
"0.6820389",
"0.6815995",
"0.68067837",
"0.6793398",
"0.6789... | 0.0 | -1 |
Response 405 message, on unauthorized call. not defined methods. | def leN9(YKHO):
_hkX = pz3A()
_hkX.content_type = 'application/json'
_hkX.status_code = 404
return _hkX | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _tIS(YKHO, qv1X):\n _hkX = oGir(status=405)\n _hkX.allow = YKHO.methods\n return _hkX",
"def _tIS(tTpl):\n RKD7.warning(tTpl)\n geh0 = {'message': 'Method not allowed'}\n return (pz3A(geh0), 405)",
"def PLnz(tTpl):\n return geh0(QePW, status=405)",
"def m8z6(YKHO):\n YKHO.error(40... | [
"0.8100037",
"0.7948418",
"0.7830813",
"0.7814719",
"0.7740385",
"0.76963806",
"0.7674375",
"0.7674375",
"0.7574403",
"0.7526699",
"0.7524191",
"0.75201195",
"0.75145066",
"0.7506801",
"0.74423957",
"0.7400705",
"0.738981",
"0.73719364",
"0.73702043",
"0.73702043",
"0.7343123... | 0.68965167 | 58 |
Split the data into train and test | def qMKV(YKHO):
bo34.info('Columns: {}'.format(YKHO.df.columns))
if YKHO.df.columns.dtype != 'object':
if YKHO.class_label is not None and YKHO.class_label.isdigit():
YKHO.class_label_column = int(YKHO.class_label)
YKHO.class_label = None
else:
raise Exception... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lpha(nPrm, zBu_):\n ppBc = nPrm.iloc[0:pBSp(zBu_ * len(nPrm))]\n Zwka = nPrm.iloc[pBSp(zBu_ * len(nPrm)):]\n return (ppBc, Zwka)",
"def hhTY(YKHO):\n EvQg = []\n QOe9 = []\n for ZfUD in YKHO.data:\n if ZfUD[0] == 'train':\n EvQg.append(ZfUD)\n else:\n QOe... | [
"0.8498496",
"0.8497148",
"0.8425471",
"0.8341802",
"0.83096796",
"0.8285164",
"0.8274552",
"0.8253512",
"0.82430387",
"0.824124",
"0.82034504",
"0.8185929",
"0.81127506",
"0.8110487",
"0.81040597",
"0.8089189",
"0.80815184",
"0.8076635",
"0.80747265",
"0.8065513",
"0.8064093... | 0.0 | -1 |
Load obj from `path` directory | def fNOy(pmON: Path) -> 'SerDe':
e5kH = yOmc.from_disk(pmON)
C3nE = dVGP(e5kH.module_name, e5kH.class_name)
if not isinstance(C3nE, BQyL):
raise ValueError(f"Invalid class loaded: `{C3nE}` doesn't implement SerDe")
return C3nE.from_disk(pmON) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def J6er(pmON):\n pass",
"def RgB_(pmON):\n with open(pmON, 'rb') as eHNT:\n return t2lc.load(eHNT)",
"def gq0U(pmON):\n try:\n BJ1H = pmON.rindex('.')\n except ValueError:\n raise ValueError(\"Error loading object '%s': not a full path\" % pmON)\n r8hN, mWFP = (pmON[:BJ1H],... | [
"0.77932006",
"0.7764725",
"0.7745548",
"0.773005",
"0.7508319",
"0.7356691",
"0.73513603",
"0.72517425",
"0.7243105",
"0.71975553",
"0.7179787",
"0.7154823",
"0.7134658",
"0.70622355",
"0.7000692",
"0.6990934",
"0.6981135",
"0.692782",
"0.6886169",
"0.68697494",
"0.6869098",... | 0.0 | -1 |
Returns the string representation of the model | def gTzM(YKHO):
import simplejson as qQXR
if jKi7.PY2:
import sys
U3hF(sys)
sys.setdefaultencoding('utf-8')
return qQXR.dumps(yInN(YKHO), ensure_ascii=False) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(... | [
"0.8393104",
"0.8355197",
"0.8295551",
"0.8133039",
"0.811476",
"0.8100177",
"0.80994433",
"0.80982935",
"0.80982935",
"0.8093244",
"0.8093244",
"0.8093244",
"0.8093244",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.80671525",
"0.80597436",
"0.8057952",
"0... | 0.0 | -1 |
Determines if the find specification has a location defined. | def g8QU(YKHO):
return bool(YKHO._location_segments) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k1_u(YKHO):\n if YKHO.latitude is not None and YKHO.longitude is not None:\n return True\n else:\n return False",
"def duWo(Rci7):\n assert Rci7 is not None, 'Region can not be found'",
"def Rci7(YKHO) -> h8nf[str]:\n raise NotImplementedError()",
"def sJ2X(Emd4, Rci7):\n if ... | [
"0.6672365",
"0.6497125",
"0.6091908",
"0.6060528",
"0.6007546",
"0.59454256",
"0.59454256",
"0.59454256",
"0.5928319",
"0.5830371",
"0.5828875",
"0.5827953",
"0.5814319",
"0.58093077",
"0.5809072",
"0.5794445",
"0.57548636",
"0.575254",
"0.5751192",
"0.5725258",
"0.57082325"... | 0.7058053 | 0 |
Returns the relative path based on a resolved path specification. The relative path is the location of the upper most path specification. The the location of the mount point is stripped off if relevant. | def cKqQ(YKHO, xhv7):
Rci7 = getattr(xhv7, 'location', None)
if Rci7 is None:
raise UAju.PathSpecError('Path specification missing location.')
if qqwA.Factory.IsSystemLevelTypeIndicator(YKHO._file_system.type_indicator):
if not Rci7.startswith(YKHO._mount_point.location):
raise U... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Wrz_(t_yv: str, Vavl: Optional[str]=None) -> str:\n if Vavl is not None:\n return Hy7s.path.join(Vavl, t_yv)\n return Hy7s.path.abspath(Hy7s.path.join('resources', t_yv))",
"def xWFJ(XSj5, XNWQ):\n TLI7 = Hy7s.path.dirname(XSj5)\n XVFa = Hy7s.path.join(TLI7, XNWQ)\n return Hy7s.path.nor... | [
"0.6917925",
"0.687733",
"0.68238467",
"0.6749938",
"0.67343944",
"0.67111176",
"0.6658003",
"0.665284",
"0.66169757",
"0.66128284",
"0.6609709",
"0.6583144",
"0.657426",
"0.6560509",
"0.6549149",
"0.6537581",
"0.6535054",
"0.6507312",
"0.6497217",
"0.6492907",
"0.64793736",
... | 0.7139481 | 0 |
creating a bullet at the ship current location | def FIMM(YKHO, dsqR):
super().__init__()
YKHO.screen = dsqR.screen
YKHO.settings = dsqR.settings
YKHO.colour = dsqR.settings.bullet_colour
YKHO.rect = TlDD.Rect(0, 0, YKHO.settings.bullet_width, YKHO.settings.bullet_height)
YKHO.rect.midtop = dsqR.ship.rect.midtop
YKHO.y = float(YKHO.rect.y) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, MBtl, Vjhr, C7MP):\n super(GBVa, YKHO).__init__()\n YKHO.screen = Vjhr\n YKHO.rect = a9eO.Rect(0, 0, MBtl.bullet_width, MBtl.bullet_height)\n YKHO.rect.centerx = C7MP.rect.centerx\n YKHO.rect.top = C7MP.rect.top\n YKHO.y = float(YKHO.rect.y)\n YKHO.color = MBtl.bullet_color\n ... | [
"0.7727299",
"0.7667407",
"0.7627416",
"0.7617129",
"0.7446271",
"0.7432833",
"0.7408342",
"0.73864466",
"0.73724705",
"0.7361944",
"0.7358218",
"0.73581314",
"0.72946095",
"0.72905827",
"0.7287237",
"0.72818786",
"0.72657907",
"0.72657907",
"0.72657907",
"0.72642446",
"0.726... | 0.6984005 | 60 |
draw the bullet to the screen | def izLs(YKHO):
TlDD.draw.rect(YKHO.screen, YKHO.colour, YKHO.rect) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def izLs(YKHO):\n a9eO.draw.rect(YKHO.screen, YKHO.color, YKHO.rect)",
"def izLs(YKHO):\n a9eO.draw.rect(YKHO.screen, YKHO.color, YKHO.rect)",
"def izLs(YKHO):\n a9eO.draw.rect(YKHO.screen, YKHO.color, YKHO.rect)",
"def izLs(YKHO):\n a9eO.draw.rect(YKHO.screen, YKHO.color, YKHO.rect)",
"def izL... | [
"0.89931846",
"0.89931846",
"0.89931846",
"0.8976872",
"0.89517117",
"0.89517117",
"0.8934387",
"0.8929883",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.89195746",
"0.8901994",
... | 0.89465547 | 6 |
Runs pixelwise (gridpointbygridpoint) evaluation. This is effectively the main method. | def zizW(UL0Y, qkh5, ch8d, OV15, Pg1B, kW6H, J3Ii):
if kW6H <= 0:
kW6H = None
E_Xv = JOyK.find_many_files(top_directory_name=UL0Y, first_date_string=qkh5, last_date_string=ch8d, raise_error_if_any_missing=False)
u10a = FB2O.get_basic_scores(prediction_file_names=E_Xv, event_frequency_in_training=kW6... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sRVz(YKHO):\n YKHO.assertAlmostEquals(YKHO.comp.runXY([0.4, 0.5]), YKHO.xy_matrix[0], 8)\n YKHO.assertAlmostEquals(YKHO.comp.runXY([1.3, 1.57]), YKHO.xy_matrix[1], 8)",
"def sRVz(YKHO):\n YKHO.assertAlmostEquals(YKHO.comp.runXY([0.4, 0.5]), YKHO.xy_matrix[0], 8)\n YKHO.assertAlmostEquals(YKHO.com... | [
"0.6355209",
"0.6354115",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"0.6333798",
"... | 0.0 | -1 |
Sets the learning rate to the initial LR decayed by 10 at every specified step | def e_63(K0do, tspZ, KMvS, YPaw):
b0Ix = tspZ * KMvS ** YPaw
for Lwm5 in K0do.param_groups:
Lwm5['lr'] = b0Ix | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e_63(K0do, qtWj, DJmW=0.1, YPaw=30, WMj5=0.1):\n tspZ = DJmW * WMj5 ** (qtWj // YPaw)\n print('Learning Rate %f' % tspZ)\n for Lwm5 in K0do.param_groups:\n Lwm5['lr'] = tspZ\n return tspZ",
"def biVQ(qtWj, aF2y, lvfV):\n oLNr = aF2y\n paSp = qtWj * lvfV\n fqnS = oLNr * epAf.pow(KM... | [
"0.7742066",
"0.7664952",
"0.756466",
"0.7537706",
"0.7523377",
"0.7521011",
"0.75192326",
"0.75102985",
"0.74808586",
"0.7462051",
"0.74554104",
"0.74512875",
"0.744487",
"0.74410754",
"0.7427189",
"0.742558",
"0.7422378",
"0.7402177",
"0.7389699",
"0.73863226",
"0.73808753"... | 0.72752154 | 52 |
Return a new array as described by the scene, filled with zeros. | def VNqG(YKHO):
yvT9 = YKHO.empty()
yvT9[...] = 0
return yvT9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VNqG(YKHO):\n YKHO._array = 0 * YKHO.load()._array\n return YKHO",
"def AxqP(YKHO) -> oyIN.array:\n return oyIN.zeros(YKHO.dim)",
"def VNqG(YKHO) -> gyIm:\n return oyIN.zeros(YKHO.N)",
"def VNqG(YKHO):\n YKHO._newcube = True\n YKHO.data = oyIN.zeros(YKHO.cubesize, dtype=oyIN.uint32)",
... | [
"0.72626156",
"0.72034323",
"0.7068526",
"0.6931458",
"0.6845472",
"0.6750724",
"0.66756886",
"0.66013205",
"0.65900165",
"0.65790755",
"0.6449678",
"0.6433035",
"0.642717",
"0.64249283",
"0.6410834",
"0.6404572",
"0.6390814",
"0.6358667",
"0.6306815",
"0.63035136",
"0.626349... | 0.7158976 | 2 |
Analyze text for sentiment, returning its score. | def JybI(YKHO, l5Ny):
b0j5 = Dhdw.tokenize.TweetTokenizer()
s2mk = b0j5.tokenize(l5Ny)
p1kx = 0
for GIN8 in s2mk:
if GIN8.lower() in YKHO.negatives:
p1kx += -1
elif GIN8.lower() in YKHO.positives:
p1kx += 1
else:
continue
return p1kx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JybI(YKHO, l5Ny):\n p1kx = 0\n b0j5 = Dhdw.tokenize.TweetTokenizer()\n s2mk = b0j5.tokenize(l5Ny)\n for zFiD in YKHO.positives:\n if zFiD == s2mk[0]:\n p1kx += 1\n else:\n p1kx += 0\n for zFiD in YKHO.negatives:\n if zFiD == s2mk[0]:\n p1kx -... | [
"0.87208176",
"0.85311913",
"0.82421094",
"0.81936306",
"0.8187723",
"0.81874937",
"0.8126702",
"0.80681616",
"0.8063584",
"0.8044609",
"0.80404395",
"0.802662",
"0.80199224",
"0.7970823",
"0.79697996",
"0.7925178",
"0.79161304",
"0.79069155",
"0.787933",
"0.7875431",
"0.7824... | 0.8122368 | 7 |
Converts image and annotations to a tf.Example proto. | def D7IR(YJcd, jYte=None):
if YJcd is None:
return None
if jYte is None:
raise ValueError('`label_map_dict` is None')
H2v2 = YJcd.get('height', None)
TVTK = YJcd.get('width', None)
Ux0P = YJcd.get('filename', None)
DeX_ = YJcd.get('sha256_key', None)
_gs9 = YJcd.get('encoded_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mh6I(QMAG, XgyP, jYte):\n with ZylS.gfile.GFile(QMAG, 'rb') as hOYR:\n _gs9 = hOYR.read()\n print(_gs9[1, 1, :])\n KlzJ = xDSY.BytesIO(_gs9)\n LNo8 = aldn.open(KlzJ)\n LNo8 = oyIN.asarray(LNo8)\n H5ew = HBct.sha256(_gs9).hexdigest()\n TVTK = int(LNo8.shape[1])\n H2v2 = int(LNo8.s... | [
"0.81394255",
"0.7882013",
"0.78486806",
"0.76455075",
"0.7626953",
"0.75339913",
"0.7520164",
"0.7476196",
"0.74478114",
"0.7384357",
"0.7340872",
"0.7339804",
"0.72976494",
"0.72586006",
"0.72492844",
"0.72479594",
"0.722024",
"0.7145299",
"0.71213436",
"0.7119926",
"0.7102... | 0.7585956 | 5 |
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix inorder arguments and keyword arguments. | def FIMM(YKHO, *qIxc, **c_sp):
if qIxc or c_sp:
super(oMLS, YKHO).__init__(*qIxc, **c_sp)
if YKHO.joint_angles is None:
YKHO.joint_angles = []
if YKHO.link_x is None:
YKHO.link_x = []
if YKHO.forces is None:
YKHO.forces = []
if YKHO.masses ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, Ol8d=None):\n if Ol8d is not None:\n YKHO.message = Ol8d",
"def FIMM(YKHO, Ol8d=None):\n YKHO.message = Ol8d",
"def FIMM(YKHO, Ol8d=None):\n YKHO.message = Ol8d",
"def FIMM(YKHO, Ol8d=None):\n super().__init__()\n YKHO.message = Ol8d",
"def FIMM(YKHO, *qIxc, **c_sp):\n ... | [
"0.8165841",
"0.7719984",
"0.7719984",
"0.7652579",
"0.75723845",
"0.75442773",
"0.7485476",
"0.74710065",
"0.7458108",
"0.7446829",
"0.744584",
"0.7433617",
"0.74152017",
"0.7408084",
"0.7391839",
"0.7375146",
"0.73632765",
"0.7326098",
"0.732388",
"0.732388",
"0.732388",
... | 0.0 | -1 |
Reads an image as RGB or GRAY_SCALE and displays it | def y9R7(Ux0P: str, TcPZ: int):
VXjJ = J_xH(Ux0P, TcPZ)
if TcPZ == dseU:
QrM1.imshow(VXjJ, cmap='gray')
else:
QrM1.imshow(VXjJ)
QrM1.show() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q5aE(Ux0P, TcPZ):\n LNo8 = cE34(Ux0P)\n LNo8 = LNo8.astype(oyIN.float64).copy() / (q5Tg - 1)\n if TcPZ == g91X:\n LNo8 = zI1D(LNo8)\n return LNo8",
"def q5aE(Ux0P, TcPZ):\n VXjJ = hiw8.imread(Ux0P) / 255\n return VXjJ if TcPZ == 2 else zI1D(VXjJ)",
"def q5aE(Ux0P, TcPZ):\n Xn71 ... | [
"0.7044225",
"0.7033778",
"0.70160735",
"0.69502884",
"0.6930587",
"0.6911485",
"0.6884589",
"0.6879109",
"0.6859911",
"0.6853022",
"0.68322724",
"0.6750265",
"0.6742111",
"0.674131",
"0.67327887",
"0.6723949",
"0.67140436",
"0.6693323",
"0.6674972",
"0.66548085",
"0.6648523"... | 0.67920214 | 11 |
Converts an RGB image to YIQ color space | def K6No(bWaE: np.ndarray) -> oyIN.ndarray:
MKlR, yzQ0, bGrB = bWaE.shape
B0gN = oyIN.array([[0.299, 0.587, 0.114], [0.596, -0.275, -0.321], [0.212, -0.523, 0.311]])
IE94 = bWaE.reshape((-1, 3)).T
IE94 = B0gN.dot(IE94).T
IE94 = IE94.reshape((MKlR, yzQ0, 3))
return IE94 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qv15(IE94: np.ndarray) -> oyIN.ndarray:\n YM83 = oyIN.array([[1.0, 0.956, 0.623], [1.0, -0.272, -0.648], [1.0, -1.105, 0.705]])\n return oyIN.dot(IE94, YM83.T.copy())",
"def qv15(IE94: np.ndarray) -> oyIN.ndarray:\n czET = oyIN.array([[1, 0.956, 0.619], [1, -0.272, -0.647], [1, -1.106, 1.703]])\n ... | [
"0.79200864",
"0.79183257",
"0.78845346",
"0.7865297",
"0.78191864",
"0.78156435",
"0.78077394",
"0.7761733",
"0.77484465",
"0.7668317",
"0.7645206",
"0.7588221",
"0.7523056",
"0.7475246",
"0.7471768",
"0.7398386",
"0.73114324",
"0.72936255",
"0.72904766",
"0.7260905",
"0.725... | 0.76798236 | 9 |
Converts an YIQ image to RGB color space | def qv15(IE94: np.ndarray) -> oyIN.ndarray:
MKlR, yzQ0, bGrB = IE94.shape
B0gN = oyIN.array([[0.299, 0.587, 0.114], [0.596, -0.275, -0.321], [0.212, -0.523, 0.311]])
IE94 = IE94.reshape((-1, 3)).T
B0gN = oyIN.linalg.inv(B0gN)
bWaE = B0gN.dot(IE94).T
bWaE = bWaE.reshape((MKlR, yzQ0, 3))
retur... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qv15(IE94: np.ndarray) -> oyIN.ndarray:\n czET = oyIN.array([[1, 0.956, 0.619], [1, -0.272, -0.647], [1, -1.106, 1.703]])\n bWaE = oyIN.dot(IE94, czET.T.copy())\n return bWaE",
"def qv15(IE94: np.ndarray) -> oyIN.ndarray:\n YM83 = oyIN.array([[1.0, 0.956, 0.623], [1.0, -0.272, -0.648], [1.0, -1.1... | [
"0.82558644",
"0.82023203",
"0.8153553",
"0.80684733",
"0.8066707",
"0.79767525",
"0.796551",
"0.7910417",
"0.7882603",
"0.72586423",
"0.72445726",
"0.7174825",
"0.71592176",
"0.7134353",
"0.71237046",
"0.7112421",
"0.7037723",
"0.7035933",
"0.70141",
"0.6988503",
"0.6889807"... | 0.8152578 | 3 |
Fix the trace norm of an operator to 1 | def KF2g(YKHO):
CkYf = YKHO.induced_norm(2)
if XTiz.isclose(CkYf, 0.0):
raise ZeroDivisionError('Cannot renormalize empty or zero operator')
else:
YKHO /= CkYf | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hHPi(YKHO) -> 'unsigned int':\n return hBPC.vnl_matrixSI_operator_one_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned short':\n return hBPC.vnl_matrixSS_operator_one_norm(YKHO)",
"def hHPi(YKHO) -> 'float':\n return hBPC.vnl_matrixCF_operator_one_norm(YKHO)",
"def hHPi(YKHO) -> 'unsigned long':\n r... | [
"0.6794864",
"0.668288",
"0.66300756",
"0.65961105",
"0.65932274",
"0.65857977",
"0.6512489",
"0.6475751",
"0.6471929",
"0.6441658",
"0.6424241",
"0.634489",
"0.6338221",
"0.6318149",
"0.6301909",
"0.6245683",
"0.6143656",
"0.61347485",
"0.6118246",
"0.61028904",
"0.6084063",... | 0.6192061 | 16 |
Configures number of instances for each capability. If the capability exists, it increments the configured instances by the number of instances requested, otherwise an exception will be raised. | def AZhJ(YKHO, HD3K):
Asoz = 'ConfigureCapability'
TifC = DPlB(YKHO.get_name())
XfaH = list(TifC.attribute_query('obsState').enum_labels)
pD9E = XfaH.index('CONFIGURING')
OKaf, S8Iz = HD3K
YKHO._validate_capability_types(Asoz, S8Iz)
YKHO._validate_input_sizes(Asoz, HD3K)
YKHO._obs_state ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Uj_j(YKHO, yR_P, DpZH, bUWH):\n raise NotImplementedError()",
"def Uj_j(YKHO, yR_P, DpZH, bUWH):\n if yR_P not in YKHO._module_name_to_versions:\n raise KUqR()\n if DpZH not in YKHO._module_name_to_versions[yR_P]:\n raise yq18()\n raise KB_2()",
"def Ep5Y(YKHO):\n raise ysXe('n... | [
"0.71052086",
"0.68653804",
"0.6706126",
"0.65670955",
"0.6285882",
"0.6271161",
"0.62708706",
"0.62708706",
"0.6186956",
"0.610649",
"0.6090226",
"0.5943278",
"0.58849025",
"0.5841201",
"0.58110803",
"0.57687634",
"0.57687634",
"0.5727129",
"0.5727129",
"0.5727129",
"0.57271... | 0.0 | -1 |
The x coordinate of the rect. | def WKvO(YKHO) -> int:
return YKHO.position.x | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nIKw(YKHO):\n return YKHO.x_coord",
"def mRpp(YKHO):\n return YKHO._x_coord",
"def HPWF(YKHO):\n return YKHO._position[1]",
"def nIKw(YKHO):\n return YKHO._coordinate.get_x()",
"def Aco_(YKHO):\n return YKHO.__pos_x",
"def WKvO(YKHO):\n return YKHO.__position.x",
"def X0em(YKHO):\... | [
"0.8197473",
"0.81229466",
"0.8119053",
"0.81045073",
"0.80103594",
"0.7984286",
"0.7981729",
"0.7972691",
"0.7972691",
"0.791073",
"0.7883289",
"0.7879792",
"0.7874542",
"0.7873176",
"0.7785206",
"0.7691605",
"0.76196045",
"0.7558122",
"0.7509024",
"0.74617636",
"0.744718",
... | 0.7726745 | 15 |
The y coordinate of the rect. | def LVAh(YKHO) -> int:
return YKHO.position.y | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yDCK(YKHO):\n return YKHO._coordinate.get_y()",
"def LVAh(YKHO):\n return YKHO.__position.y",
"def GOIu(YKHO):\n return YKHO._y_coord",
"def LVAh(YKHO):\n return YKHO.position.y",
"def yDCK(YKHO):\n return YKHO.y_coord",
"def LVAh(YKHO):\n return YKHO.position.y",
"def xdjK(YKHO):... | [
"0.85103804",
"0.8447561",
"0.84430283",
"0.8427991",
"0.84260404",
"0.840459",
"0.83884823",
"0.8259232",
"0.8247996",
"0.82206494",
"0.82178164",
"0.8209376",
"0.81922543",
"0.81922543",
"0.81922543",
"0.81922543",
"0.81922543",
"0.81922543",
"0.81922543",
"0.81827563",
"0.... | 0.84394187 | 3 |
Given a list, possibly nested to any level, return it flattened. | def PWgb(qgK3):
FWg_ = []
for ZfUD in qgK3:
if type(ZfUD) == type([]):
FWg_.extend(PWgb(ZfUD))
else:
FWg_.append(ZfUD)
return FWg_ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PWgb(vC9B):\n\n def cWjI(vC9B, Mkmy):\n if type(vC9B) is not list:\n Mkmy.append(vC9B)\n else:\n for YRbF in vC9B:\n Mkmy = Mkmy + PWgb(YRbF)\n return Mkmy\n return cWjI(vC9B, [])",
"def PWgb(KayY):\n return list(Hs6x.chain(*KayY))",
"def D... | [
"0.81003165",
"0.8092127",
"0.79826593",
"0.78083456",
"0.7801541",
"0.7787721",
"0.7787721",
"0.7787721",
"0.7772136",
"0.7702016",
"0.7700807",
"0.76965815",
"0.76936835",
"0.7689362",
"0.7684581",
"0.766386",
"0.7657072",
"0.76359844",
"0.7604242",
"0.76030284",
"0.7576121... | 0.74690026 | 35 |
Build a denseblock where the output of each conv_factory is fed to subsequent ones | def JJ21(WKvO, O7Wv, mM8X, bV3u, lo24=None, oNEO=0.0001):
H2_B = [WKvO]
if nMvt.image_dim_ordering() == 'th':
iXOV = 1
elif nMvt.image_dim_ordering() == 'tf':
iXOV = -1
for YRbF in range(O7Wv):
WKvO = klP4(WKvO, bV3u, lo24, oNEO)
H2_B.append(WKvO)
WKvO = vGZu(H2_B... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ggRs(input, fhcK=5, G1Hx=4, KnxT=(3, 3), YDYE='relu'):\n XkN1 = input\n for gEmA in range(fhcK):\n VZhH = yHwh(G1Hx, KnxT, padding='same', activation='relu')(XkN1)\n XkN1 = MPiJ([XkN1, VZhH], axis=-1)\n return XkN1",
"def Cc7Y(YKHO):\n if YKHO.n_channels == 0:\n g4y1 = X6a0(s... | [
"0.70855606",
"0.6983141",
"0.6803341",
"0.6791888",
"0.67523026",
"0.6750749",
"0.67492676",
"0.67059547",
"0.6697611",
"0.6684452",
"0.6668641",
"0.663187",
"0.66301703",
"0.65898144",
"0.6583196",
"0.6574345",
"0.6567584",
"0.6562946",
"0.6559",
"0.6541624",
"0.65387803",
... | 0.6243762 | 74 |
Build a denseblock where the output of each conv_factory is fed to subsequent ones. (Alternative of a above) | def P_SK(WKvO, O7Wv, mM8X, bV3u, lo24=None, oNEO=0.0001):
if nMvt.image_dim_ordering() == 'th':
iXOV = 1
elif nMvt.image_dim_ordering() == 'tf':
iXOV = -1
for YRbF in range(O7Wv):
xNx4 = klP4(WKvO, bV3u, lo24, oNEO)
WKvO = vGZu([xNx4, WKvO], mode='concat', concat_axis=iXOV)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ggRs(input, fhcK=5, G1Hx=4, KnxT=(3, 3), YDYE='relu'):\n XkN1 = input\n for gEmA in range(fhcK):\n VZhH = yHwh(G1Hx, KnxT, padding='same', activation='relu')(XkN1)\n XkN1 = MPiJ([XkN1, VZhH], axis=-1)\n return XkN1",
"def Cc7Y(YKHO):\n if YKHO.n_channels == 0:\n g4y1 = X6a0(s... | [
"0.7034865",
"0.6937654",
"0.6797653",
"0.67950904",
"0.6766682",
"0.6760086",
"0.6758604",
"0.6757349",
"0.6720328",
"0.6699004",
"0.6678112",
"0.6661879",
"0.66585046",
"0.65887815",
"0.65857303",
"0.65756834",
"0.6571094",
"0.65662473",
"0.65601814",
"0.6552663",
"0.654495... | 0.0 | -1 |
Construct sparse autoencoder loss, return tensor. | def orkI(q7In, HY_b, wjbX, w4rS, oR5X, UqYS, tt5y):
Brwi = q7In[0:wjbX * HY_b].reshape(wjbX, HY_b, order='F')
fa64 = q7In[wjbX * HY_b:2 * wjbX * HY_b].reshape(HY_b, wjbX, order='F')
j__R = q7In[2 * wjbX * HY_b:2 * wjbX * HY_b + wjbX]
spgc = q7In[2 * wjbX * HY_b + wjbX:]
hE3l = {}
def VPBW(wEf2,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Gn87(ndi4, E1ho, f8Bx, b0Ix, WoL1):\n GhuM = (ndi4,)\n\n def x0Pt(ORKV):\n return 0.0001 * nMvt.abs(8 - nMvt.sqrt(nMvt.sum(nMvt.square(ORKV), axis=-1)))\n g4y1 = X6a0(shape=GhuM, name='encoder_input')\n WKvO = l6ZH(f8Bx, activation='relu')(g4y1)\n ERVO = l6ZH(E1ho, name='latent_vars', act... | [
"0.6178131",
"0.58946574",
"0.5881638",
"0.58713335",
"0.58243936",
"0.57911354",
"0.57594144",
"0.57506514",
"0.5703808",
"0.5585595",
"0.54839617",
"0.5475925",
"0.54491293",
"0.54460865",
"0.5438544",
"0.5437054",
"0.5422556",
"0.54117596",
"0.5408346",
"0.53843284",
"0.53... | 0.0 | -1 |
Lists all classifier objects in the Data Catalog. | def haER(xTyj=None, aSFH=None):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CLlE(YKHO, PJWX=False):\n NArs = {'verbose': PJWX, 'version': YKHO.version}\n return YKHO.request(method='GET', url='/v3/classifiers', params=NArs, accept_json=True)",
"def rNmM():\n return qZuN.objects.all()",
"def WxTH(YKHO):\n geh0 = G4JS.get(KVWQ.urljoin(YKHO.url, '/api/opendata/v1/content/... | [
"0.64470315",
"0.6296336",
"0.62675023",
"0.62011015",
"0.61546326",
"0.60140795",
"0.60140795",
"0.59877205",
"0.59807235",
"0.59724796",
"0.59670687",
"0.59637743",
"0.59228706",
"0.58816063",
"0.5866984",
"0.5864257",
"0.5846004",
"0.5827678",
"0.58176243",
"0.57689357",
"... | 0.0 | -1 |
Create a paginator for an operation. | def oL8A(hTqE=None):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oL8A(YKHO, hTqE: str=None) -> NIbP:\n pass",
"def oL8A(YKHO, hTqE: str=None) -> NIbP:\n pass",
"def oL8A(YKHO, hTqE: str=None) -> NIbP:\n pass",
"def oL8A(YKHO, hTqE: str=None) -> NIbP:\n pass",
"def oL8A(YKHO, hTqE: str=None) -> NIbP:\n pass",
"def oL8A(YKHO, hTqE: str=None) -> NIbP:\... | [
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.76366186",
"0.70472574",
"0.67338336",
"0.6382978",... | 0.7726925 | 1 |
Retrieves a specified security configuration. | def upNu(av29=None):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Sn5p(YKHO):\n return YKHO.request(YKHO._securityURL + '/config')",
"def eRAg(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'security_configuration')",
"def eRAg(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'security_configuration')",
"def eRAg(YKHO) -> qe4Y.Output[h8nf[str]]... | [
"0.78572285",
"0.7156275",
"0.7156275",
"0.7102545",
"0.68346316",
"0.6712015",
"0.66578656",
"0.65372753",
"0.652886",
"0.6524159",
"0.6524159",
"0.65112585",
"0.6385765",
"0.63529015",
"0.6248101",
"0.6190977",
"0.6175748",
"0.6163036",
"0.613804",
"0.6100992",
"0.60813046"... | 0.7507084 | 1 |
Retrieves the Table definition in a Data Catalog for a specified table. | def ja1s(ToT7=None, zpMU=None, av29=None):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tyNF(k9X4):\n return NCls.metadata.tables[k9X4]",
"def tyNF(YKHO, GTA_: str) -> J2BS.Table:\n return J2BS.Table(GTA_, YKHO.metadata, autoload=True, autoload_with=YKHO.db_engine)",
"def tyNF(YKHO, GTA_: str) -> J2BS.Table:\n return J2BS.Table(GTA_, YKHO.metadata, autoload=True, autoload_with=YKHO.d... | [
"0.7462755",
"0.6991512",
"0.6991512",
"0.697531",
"0.6778531",
"0.6751354",
"0.6662758",
"0.6662758",
"0.66585845",
"0.66391444",
"0.66359097",
"0.6612412",
"0.65777797",
"0.6567273",
"0.65370625",
"0.65199006",
"0.65046513",
"0.65003437",
"0.6499285",
"0.6455931",
"0.643220... | 0.7357111 | 1 |
Retrieves the definition of a trigger. | def INz2(av29=None):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XCjG(YKHO):\n return YKHO.__trigger",
"def XCjG(YKHO):\n return YKHO.__trigger",
"def iqFZ(YKHO):\n YKHO._trigger, BWXx = YKHO.get_attr_from_set(YKHO._trigger, 'trigger')\n return BWXx",
"def iqFZ(YKHO):\n if YKHO.object.val != 0:\n return None\n if YKHO._trigger is None:\n ... | [
"0.75204164",
"0.75204164",
"0.68892187",
"0.682293",
"0.6679296",
"0.6662819",
"0.6626353",
"0.6518691",
"0.6401473",
"0.62914145",
"0.628362",
"0.6277553",
"0.6268384",
"0.62132025",
"0.620179",
"0.61892694",
"0.6169383",
"0.61602676",
"0.61428326",
"0.6137786",
"0.61262447... | 0.734115 | 2 |
Gets all the triggers associated with a job. | def ZXmZ(aSFH=None, hp2_=None, xTyj=None):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def get_all_triggers(YKHO):\n Pe9W = '\\n SELECT trigger FROM {}.reacts;\\n '.format(YKHO.schema)\n mTnr = []\n J2us = await YKHO.pool.fetch(Pe9W)\n for ETu_ in J2us:\n mTnr.append(ETu_['trigger'])\n return mTnr",
"def jsay(YKHO):\n return YKHO._get_list_field('trigge... | [
"0.7485274",
"0.71678543",
"0.711173",
"0.69844157",
"0.6828393",
"0.67977524",
"0.65163946",
"0.65130246",
"0.6445549",
"0.642889",
"0.64234686",
"0.633803",
"0.62917966",
"0.6289429",
"0.6275047",
"0.62317735",
"0.6187762",
"0.61529756",
"0.6118175",
"0.6054571",
"0.6054571... | 0.6162193 | 17 |
Filter out requests that don't hit the API | def filter(YKHO, AIu6):
return '/api' in QePW.path | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def M72l(YKHO, QePW):\n pass",
"def A7Nr(QePW):\n tjkT = ['https://api.eventdata.crossref.org']\n OYFm = any([QePW.url.startswith(YRbF) for YRbF in tjkT])\n if not OYFm:\n return None\n return QePW",
"def w_dw(YKHO):\n YKHO.apiGet(YKHO.get_list_url(YKHO.local_site_name), expected_statu... | [
"0.63701797",
"0.62469107",
"0.5939409",
"0.59282494",
"0.59149724",
"0.58855665",
"0.58831954",
"0.58392286",
"0.58303046",
"0.58285564",
"0.5814244",
"0.5795509",
"0.57898325",
"0.57745266",
"0.5745553",
"0.5698378",
"0.5692396",
"0.5691384",
"0.5691384",
"0.5691384",
"0.56... | 0.6211412 | 2 |
As "any" covers every valid IPv4 or IPv6 address, this is always true if tested with such an object. | def FYXB(YKHO, ZfUD: object) -> bool:
if isinstance(ZfUD, (pE_C, E6SK)):
return True
elif isinstance(ZfUD, str):
try:
E6SK(ZfUD).__contains__(YKHO)
return True
except:
return False
else:
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UAlu(YKHO, rRzo, KYrJ):\n if rRzo == 'any':\n return True\n if not KYrJ:\n return True\n for D8Ke in KYrJ:\n if rRzo.subnet_of(D8Ke):\n return True\n return False",
"def qyWL(KYrJ):\n for UTX6 in KYrJ:\n if not (RFFS(UTX6) or kvAq(UTX6)):\n ret... | [
"0.7045028",
"0.6787131",
"0.6697705",
"0.6642155",
"0.6601052",
"0.6536929",
"0.6513783",
"0.6505423",
"0.6458989",
"0.6442445",
"0.643266",
"0.64276063",
"0.6417268",
"0.6391054",
"0.6379822",
"0.63754386",
"0.6358208",
"0.6340114",
"0.6335987",
"0.6316901",
"0.63008386",
... | 0.59547573 | 71 |
Returns all custom defined holidays for the given year. | def Elif(YKHO, lO87):
for x0eS, CjKC in YKHO._other:
yield (_c1T(lO87, x0eS, CjKC), YKHO._other[x0eS, CjKC]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZHqE(lO87=2010):\n ir_A = o4qF.easter(lO87)\n rhBO = {'New Year': _c1T(lO87, 1, 1), 'Trzech Kroli': _c1T(lO87, 1, 6), 'Easter Sunday': ir_A, 'Easter Monday': ir_A + fCoM(days=1), 'Labor Day': _c1T(lO87, 5, 1), 'Constitution Day': _c1T(lO87, 5, 3), 'Pentecost Sunday': ir_A + enlf(days=+1, weekday=w5Ef(+7)... | [
"0.74652255",
"0.7196708",
"0.6696384",
"0.66645104",
"0.65954375",
"0.63469106",
"0.63112336",
"0.6277829",
"0.62054986",
"0.61380225",
"0.6135974",
"0.61266935",
"0.6069363",
"0.6048225",
"0.6041655",
"0.6030717",
"0.5996877",
"0.59334266",
"0.59230095",
"0.5893372",
"0.587... | 0.0 | -1 |
This method returns a list of pretrained model which can be instantiated directly from NVIDIA's NGC cloud. | def j0Fd(Emd4) -> h8nf[sWYP]:
Aofo = []
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def j0Fd(Emd4) -> 'List[PretrainedModelInfo]':\n DTMN = []\n C3ST = sWYP(pretrained_model_name='tts_en_talknet', location='https://api.ngc.nvidia.com/v2/models/nvidia/nemo/tts_en_talknet/versions/1.0.0rc1/files/talknet_spect.nemo', description='This model is trained on LJSpeech sampled at 22050Hz, and can be... | [
"0.7350458",
"0.7290012",
"0.7265866",
"0.7253452",
"0.7220212",
"0.7131065",
"0.69249314",
"0.66910154",
"0.66216487",
"0.6605869",
"0.6597242",
"0.6591165",
"0.65440285",
"0.65338945",
"0.64267844",
"0.64267844",
"0.63940996",
"0.6385187",
"0.63653076",
"0.63337964",
"0.632... | 0.71926737 | 5 |
Returns an array of portfolio statistics, including portfolio return, volatility and sharpe ratio. | def WYPg(_mSQ, lO3O):
_mSQ = oyIN.array(_mSQ)
_o84 = oyIN.sum(LPXl.mean() * _mSQ) * 252
T5Nm = oyIN.sqrt(oyIN.dot(oyIN.dot(_mSQ.T, LPXl.cov() * 252), _mSQ))
fpYW = (_o84 - lO3O) / T5Nm
return oyIN.array([_o84, T5Nm, fpYW]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WYPg(YKHO):\n ZgWQ = YKHO._daily\n TXjx = 'cum_investment_return'\n CuxP = ZgWQ.reset_index().pivot(index='date', columns='symbol', values=TXjx).sum(axis=1).transform(lambda WKvO: WKvO - WKvO.shift(1)) / ZgWQ.reset_index().pivot(index='date', columns='symbol', values='cum_cost_basis').sum(axis=1)\n ... | [
"0.788551",
"0.7522688",
"0.71430683",
"0.69483423",
"0.69347113",
"0.69202596",
"0.68855155",
"0.6794154",
"0.6760634",
"0.673216",
"0.6727556",
"0.65577465",
"0.6474781",
"0.64430225",
"0.6404152",
"0.6391722",
"0.6378828",
"0.6334779",
"0.6265305",
"0.6189577",
"0.6179154"... | 0.7404402 | 2 |
Returns the portfolio variance. | def M5jT(_mSQ):
return WYPg(_mSQ, KMJb)[1] ** 2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def I8JS(YKHO):\n return YKHO._rv.var()",
"def M5jT():\n return I8JS",
"def I8JS(YKHO):\n yGTL = YKHO.expected()\n return YKHO.moment(2) - yGTL * yGTL",
"def I8JS(YKHO):\n return YKHO._variance",
"def I8JS(YKHO):\n Y7fn, UqYS = (YKHO.xi, YKHO.beta)\n SRYB = ht2j.where(Y7fn < 1 / 2.0, h... | [
"0.81171",
"0.8043316",
"0.802226",
"0.7977559",
"0.79517215",
"0.7910005",
"0.7857954",
"0.77853525",
"0.77817845",
"0.7711919",
"0.7666068",
"0.7608877",
"0.753975",
"0.7530466",
"0.75189066",
"0.7506573",
"0.7500986",
"0.7402715",
"0.7323555",
"0.73047686",
"0.7268019",
... | 0.78302 | 7 |
Updates the weights for the number of iterations specified. | def e2K7(YKHO, iter, PJWX=0):
for YRbF in range(1, iter):
YKHO.update_weights()
if PJWX == 1 and YRbF % 1 == 0:
print('\t\titer: %i | error: %f' % (YRbF, YKHO.error)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MyUA(YKHO, UHFx):\n pass",
"def QdZT(YKHO):\n for G1Hx in range(YKHO.__numOfLayers):\n YKHO._layer[G1Hx].updateWeights()",
"def MyUA(YKHO):\n for Zxma in Ni9Y(len(YKHO.weights)):\n for YRbF in Ni9Y(len(YKHO.weights[Zxma])):\n for r845 in Ni9Y(len(YKHO.weights[Zxma][YRbF]))... | [
"0.83376616",
"0.76157737",
"0.74131715",
"0.7392836",
"0.73818845",
"0.73603964",
"0.7266476",
"0.71980673",
"0.7171699",
"0.71693444",
"0.7159089",
"0.7129751",
"0.711094",
"0.70994264",
"0.7066044",
"0.7053461",
"0.7052463",
"0.7038728",
"0.7027015",
"0.70258987",
"0.70069... | 0.7330211 | 6 |
Classifies the input array based on max filter along the specified axis | def xQZq(WKvO: np.array, jDK_):
LFlW, _tIi = WKvO.align(oyIN.amax(WKvO, axis=jDK_), axis=jDK_, copy=False)
return (LFlW == _tIi).astype(float) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q1NN(xlLU, ezWE, jDK_=-1):\n if not isinstance(ezWE, oLG2.ndarray):\n ezWE = oLG2.asarray(ezWE)\n kbGe = ezWE == oLG2.max(ezWE, axis=jDK_, keepdims=True)\n KeL5 = (2 * kbGe - 1) * 50.0\n KeL5 = oLG2.moveaxis(KeL5, jDK_, -1)\n return yOcR.random.categorical(xlLU, KeL5)",
"def JxQE(ezWE, ... | [
"0.6955601",
"0.6870973",
"0.68043715",
"0.6519532",
"0.64230114",
"0.6405098",
"0.63952273",
"0.63868827",
"0.6311882",
"0.62911206",
"0.6246476",
"0.6238939",
"0.62099755",
"0.60985625",
"0.6062605",
"0.598229",
"0.59567547",
"0.5955483",
"0.5947729",
"0.5920415",
"0.590128... | 0.73882115 | 0 |
Return whether or not the Authorizer is ready to authorize requests. A ``True`` return value does not guarantee that the access_token is actually valid on the server side. | def SGVO(YKHO):
return YKHO.access_token is not None and ITS7.time() < YKHO._expiration_timestamp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uaMb(YKHO):\n return YKHO.token is not None",
"def deVW(YKHO):\n if YKHO.access_token is None:\n return False\n if YKHO.expiry:\n return YKHO.expired\n else:\n return YKHO.check_token()",
"def P3Bs(YKHO):\n if YKHO._api is None:\n return False\n return True",
... | [
"0.7339524",
"0.72491705",
"0.7219306",
"0.7198632",
"0.7112815",
"0.7047991",
"0.70478994",
"0.6989967",
"0.69644713",
"0.69557184",
"0.68866557",
"0.6877583",
"0.6875012",
"0.6850614",
"0.68454504",
"0.68151885",
"0.6788597",
"0.67448974",
"0.6733318",
"0.671213",
"0.669821... | 0.71893746 | 4 |
Obtain a new access token from the refresh_token. | def uUrB(YKHO):
if YKHO._pre_refresh_callback:
YKHO._pre_refresh_callback(YKHO)
if YKHO.refresh_token is None:
raise nWKG('refresh token not provided')
YKHO._request_token(grant_type='refresh_token', refresh_token=YKHO.refresh_token)
if YKHO._post_refresh_callback:
YKHO._post_ref... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GQl3(YKHO):\n nPrm = {'grant_type': 'refresh_token', 'client_id': YKHO.client_id, 'client_secret': YKHO.client_secret, 'refresh_token': YKHO.access_token['refresh_token']}\n m8z6 = G4JS.post(YKHO.TOKEN_URL, data=nPrm)\n YKHO.access_token = m8z6.json()",
"async def renew_access_token(YKHO):\n pBBr... | [
"0.8273947",
"0.8127731",
"0.8095243",
"0.8085976",
"0.80479074",
"0.80283546",
"0.8014453",
"0.80137384",
"0.800623",
"0.80001676",
"0.7928663",
"0.78207546",
"0.77991384",
"0.77323526",
"0.7687281",
"0.7646107",
"0.7613875",
"0.7580479",
"0.75498503",
"0.7542473",
"0.754079... | 0.6745067 | 88 |
Test two rasters uploaded | def bqeV(YKHO):
J2us = YKHO.session.query(iFr1.id).all()
assert len(J2us) == 9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HNXx(YKHO):\n QJVn(Jl4e('http://localhost:5000/index.html', selector='#godot', path='test_img.jpg'))\n VXjJ = hnIv.open('test_img.jpg')\n YKHO.assertEqual(VXjJ.size, YKHO.img_dog.size)\n YKHO.assertNotAlmostEqual(_q2Z(VXjJ, YKHO.img_dog_change), 0, delta=0.05)",
"def J2ra(YKHO):\n lE0q = []\n ... | [
"0.61612046",
"0.60286343",
"0.60071504",
"0.599556",
"0.59902143",
"0.5956889",
"0.5917792",
"0.58830833",
"0.5861537",
"0.58509415",
"0.58335567",
"0.58203655",
"0.5809688",
"0.5774027",
"0.5759287",
"0.57436824",
"0.5739788",
"0.5728939",
"0.57278186",
"0.5710882",
"0.5693... | 0.0 | -1 |
normalizes a list to unit norm | def NmQd(vC9B):
return NkkI(oyIN.array(vC9B).reshape(1, -1), copy=False)[0] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CkYf(UYfR):\n return [YRbF / sum(UYfR) for YRbF in UYfR]",
"def KRpR(UbQ_):\n G1Hx = list()\n G1Hx.append(UbQ_)\n qmLP.filterwarnings('ignore')\n return list(NkkI(oyIN.matrix(G1Hx))[0])",
"def BBJq(YKHO, qFa0):\n SyNa = float(sum(qFa0))\n for YRbF in range(len(qFa0)):\n qFa0[YRb... | [
"0.82993424",
"0.79817903",
"0.7932863",
"0.78156805",
"0.77881414",
"0.75811595",
"0.75611925",
"0.7526398",
"0.74901956",
"0.74811494",
"0.7470139",
"0.74623543",
"0.7387197",
"0.7377347",
"0.7364955",
"0.73638564",
"0.7358168",
"0.7349769",
"0.7295843",
"0.7289191",
"0.719... | 0.7821277 | 3 |
Test the completion of the stack method is empty and the string is balanced. | def urc2():
assert IyPk('{([])}') is True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RTY9(yAmx):\n xvhq = []\n for hcXw in yAmx:\n if hcXw == '(':\n xvhq.append(hcXw)\n if hcXw == ')':\n try:\n xvhq.pop()\n except IndexError:\n return False\n if len(xvhq) == 0:\n return True",
"def NSko(YKHO):\n Y... | [
"0.69401354",
"0.6862236",
"0.68035144",
"0.67996484",
"0.67092294",
"0.66793424",
"0.66764027",
"0.6671072",
"0.6664751",
"0.65987766",
"0.6523579",
"0.64984626",
"0.64887893",
"0.64887893",
"0.6435736",
"0.64254564",
"0.64254564",
"0.6417338",
"0.6414773",
"0.6414028",
"0.6... | 0.0 | -1 |
Test edge case of incorrect bracket assertion. | def kt9s():
assert IyPk('([)]') is False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _VTD():\n assert IyPk('([]]]') is False",
"def IfNt():\n assert IyPk('(](') is False",
"def ChdS(YKHO):\n gTqN = '{[(])}'\n YKHO.assertEqual(QMqe(gTqN), False)",
"def chdB(YKHO):\n gTqN = '{[()]}'\n YKHO.assertEqual(QMqe(gTqN), True)",
"def yiyu():\n assert IyPk",
"def qgSX():\n ... | [
"0.8113415",
"0.8086431",
"0.8036927",
"0.7772358",
"0.77670866",
"0.77309006",
"0.7562337",
"0.7541602",
"0.7222878",
"0.69718397",
"0.69625276",
"0.6856212",
"0.6854808",
"0.6852005",
"0.6753097",
"0.67252535",
"0.6560249",
"0.6488254",
"0.64855",
"0.6476953",
"0.64494103",... | 0.82424986 | 0 |
Return string representation of the receiver. | def zAg0(YKHO) -> str:
return ' | '.join(['{}..{}'.format(str(Mkmy[0]), str(Mkmy[-1])) if len(Mkmy) > 1 else str(Mkmy[0]) for Mkmy in YKHO.intervals]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return YKHO.to_message().as_string()",
"def zAg0(YKHO):\n return YKHO.to_message().as_string()",
"def yLCI(YKHO):\n return YKHO.__str__()",
"def yLCI(YKHO):\n return YKHO.__str__()",
"def yLCI(YKHO) -> str:\n return YKHO.__str__()",
"def gTzM(YKHO):\n return YKHO.__str... | [
"0.8193975",
"0.8193975",
"0.8164557",
"0.81136596",
"0.8036508",
"0.79553306",
"0.7922917",
"0.791801",
"0.791801",
"0.79163843",
"0.7907783",
"0.7907783",
"0.78782916",
"0.787771",
"0.7871951",
"0.78669673",
"0.783405",
"0.7830146",
"0.7817026",
"0.78089863",
"0.78089863",
... | 0.0 | -1 |
Create new AppUser for authentication. | def iQ7K(QePW):
Yudc = qQXR.loads(QePW.body.decode())
if len(Yudc) != 8:
nPrm = qQXR.dumps({'invalid': False})
return igJ6(nPrm, content_type='application/json', status=jGRS.HTTP_400_BAD_REQUEST)
Q5YQ = mv1M.objects.create_user(username=Yudc['username'], email=Yudc['email'], password=Yudc['p... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q5YQ(P4t4):\n return mv1M(**MaRw)",
"def lYUQ(YKHO):\n return egNl().objects.create_user(YKHO.user_email, YKHO.user_password)",
"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.User.obj... | [
"0.7603257",
"0.74468803",
"0.72943985",
"0.72406715",
"0.71875036",
"0.7182784",
"0.7174516",
"0.7170775",
"0.71526784",
"0.71485466",
"0.71392405",
"0.7108959",
"0.7075783",
"0.7070119",
"0.705902",
"0.70371354",
"0.70369357",
"0.70344657",
"0.7029957",
"0.7029957",
"0.7029... | 0.0 | -1 |
Push element x to the back of queue. | def _jXH(YKHO, WKvO):
YKHO.in_stack.append(WKvO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _jXH(YKHO, WKvO):\n YKHO.stack.append(WKvO)",
"def _jXH(YKHO, WKvO):\n YKHO.queue.push(WKvO)\n for YRbF in range(YKHO.queue.size() - 1):\n YKHO.queue.push(YKHO.queue.peek())\n YKHO.queue.pop()",
"def _jXH(YKHO, WKvO):\n YKHO.q_.push(WKvO)\n for YRbF in range(YKHO.q_.size() - 1)... | [
"0.8627964",
"0.847768",
"0.8414127",
"0.827978",
"0.8259876",
"0.82024014",
"0.81944746",
"0.81445456",
"0.81445456",
"0.81041193",
"0.81004506",
"0.80947775",
"0.805236",
"0.805236",
"0.8037114",
"0.8033887",
"0.79936236",
"0.79584146",
"0.7948628",
"0.7944436",
"0.7899758"... | 0.7313683 | 57 |
Removes the element from in front of queue and returns that element. | def BEuN(YKHO):
if not YKHO.out_stack:
YKHO._transfer()
return YKHO.out_stack.pop() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WvVJ(YKHO):\n if not YKHO.isEmpty():\n ZfUD = YKHO.queue[0]\n YKHO.queue = YKHO.queue[1:]\n YKHO.rear -= 1\n YKHO._print()\n return ZfUD\n YKHO._print()\n return None",
"def BEuN(YKHO):\n YKHO.peek()\n return YKHO.queue.pop()",
"def BEuN(YKHO):\n if len(... | [
"0.85555553",
"0.8329695",
"0.81405824",
"0.80353034",
"0.791703",
"0.78865194",
"0.7882125",
"0.7802728",
"0.77982587",
"0.7746587",
"0.7715509",
"0.77124494",
"0.7696993",
"0.76691186",
"0.76638514",
"0.7662351",
"0.76441866",
"0.7642656",
"0.76400787",
"0.7635912",
"0.7620... | 0.0 | -1 |
Get the front element. | def T7C_(YKHO):
if not YKHO.out_stack:
YKHO._transfer()
return YKHO.out_stack[-1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VnzS(YKHO):\n return YKHO.frontelem.elem",
"def uW34(YKHO):\n if not YKHO.isEmpty():\n return YKHO._items[0]",
"def TA6u(YKHO):\n return YKHO.storage[0]",
"def VnzS(YKHO):\n return YKHO.head",
"def VnzS(YKHO):\n assert not YKHO.is_empty()\n return YKHO._first[UhXv]",
"def qnv... | [
"0.87835056",
"0.83788836",
"0.82574433",
"0.80897844",
"0.8012526",
"0.7981897",
"0.786668",
"0.783555",
"0.7815892",
"0.77942365",
"0.7735508",
"0.769147",
"0.76801795",
"0.76465446",
"0.7630563",
"0.75877416",
"0.7572392",
"0.75053453",
"0.74844474",
"0.74813557",
"0.74660... | 0.0 | -1 |
ForgottenPasswordInformation a model defined in Swagger | def FIMM(YKHO, oSna=None, **B2fa):
if oSna is None:
oSna = y8cn()
YKHO._configuration = oSna
YKHO._forgotten_password_answer1 = None
YKHO._forgotten_password_answer2 = None
YKHO._forgotten_password_answer3 = None
YKHO._forgotten_password_answer4 = None
YKHO._forgotten_password_questi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G3s8(YKHO, QePW):\n ZMzz = YKHO.get_serializer(data=QePW.data)\n ZMzz.is_valid(raise_exception=True)\n return oGir({'success': True, 'message': 'Password reset successful'}, status=jGRS.HTTP_200_OK)",
"def AQXB(YKHO):\n pass",
"def faAE(YKHO, QePW):\n YLnl = True\n KAOR = QePW.user\n Z... | [
"0.6641751",
"0.65461516",
"0.62050486",
"0.6163476",
"0.6104353",
"0.6044821",
"0.6042473",
"0.6039841",
"0.5993168",
"0.59722924",
"0.59347916",
"0.5926538",
"0.58858174",
"0.58838546",
"0.5866419",
"0.58226967",
"0.5817802",
"0.5794525",
"0.57840127",
"0.5767781",
"0.57654... | 0.0 | -1 |
Sets the forgotten_password_answer2 of this ForgottenPasswordInformation. | def qnDZ(YKHO, qnDZ):
YKHO._forgotten_password_answer2 = qnDZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HEEq(YKHO, HEEq):\n YKHO._forgotten_password_question2 = HEEq",
"def xANz(YKHO, xANz):\n YKHO._forgotten_password_answer1 = xANz",
"def ysDt(YKHO, ysDt):\n YKHO._forgotten_password_question1 = ysDt",
"def xDuR(YKHO, xDuR):\n YKHO._forgotten_password_answer3 = xDuR",
"def iAbo(YKHO, iAbo):\n... | [
"0.8889189",
"0.80288714",
"0.72563046",
"0.6976862",
"0.64786047",
"0.63744605",
"0.60022324",
"0.5970751",
"0.59179723",
"0.57088304",
"0.5640057",
"0.5565747",
"0.5550108",
"0.5494634",
"0.54715896",
"0.54600173",
"0.54600173",
"0.54600173",
"0.54581016",
"0.54264224",
"0.... | 0.9397838 | 0 |
Sets the forgotten_password_answer4 of this ForgottenPasswordInformation. | def iAbo(YKHO, iAbo):
YKHO._forgotten_password_answer4 = iAbo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def If7G(YKHO, If7G):\n YKHO._forgotten_password_question4 = If7G",
"def xDuR(YKHO, xDuR):\n YKHO._forgotten_password_answer3 = xDuR",
"def xANz(YKHO, xANz):\n YKHO._forgotten_password_answer1 = xANz",
"def qnDZ(YKHO, qnDZ):\n YKHO._forgotten_password_answer2 = qnDZ",
"def GZiQ(YKHO, GZiQ):\n ... | [
"0.86933815",
"0.71608824",
"0.70338696",
"0.6639903",
"0.6615927",
"0.6523759",
"0.6438412",
"0.60680753",
"0.60106474",
"0.5578185",
"0.55601746",
"0.55424505",
"0.5527518",
"0.5502483",
"0.5411568",
"0.5385732",
"0.53055024",
"0.5296165",
"0.5275715",
"0.52682185",
"0.5253... | 0.92255306 | 0 |
Sets the forgotten_password_question2 of this ForgottenPasswordInformation. | def HEEq(YKHO, HEEq):
YKHO._forgotten_password_question2 = HEEq | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qnDZ(YKHO, qnDZ):\n YKHO._forgotten_password_answer2 = qnDZ",
"def ysDt(YKHO, ysDt):\n YKHO._forgotten_password_question1 = ysDt",
"def xANz(YKHO, xANz):\n YKHO._forgotten_password_answer1 = xANz",
"def GZiQ(YKHO, GZiQ):\n YKHO._forgotten_password_question3 = GZiQ",
"def xDuR(YKHO, xDuR):\n... | [
"0.8659447",
"0.79855675",
"0.7630627",
"0.72731215",
"0.69079256",
"0.66297907",
"0.61232585",
"0.5921797",
"0.5746833",
"0.5548411",
"0.5381232",
"0.5376352",
"0.5372076",
"0.53705245",
"0.5369444",
"0.53548235",
"0.53548235",
"0.53548235",
"0.525238",
"0.52507687",
"0.5226... | 0.9270404 | 0 |
Sets the forgotten_password_question3 of this ForgottenPasswordInformation. | def GZiQ(YKHO, GZiQ):
YKHO._forgotten_password_question3 = GZiQ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xDuR(YKHO, xDuR):\n YKHO._forgotten_password_answer3 = xDuR",
"def If7G(YKHO, If7G):\n YKHO._forgotten_password_question4 = If7G",
"def ysDt(YKHO, ysDt):\n YKHO._forgotten_password_question1 = ysDt",
"def HEEq(YKHO, HEEq):\n YKHO._forgotten_password_question2 = HEEq",
"def xANz(YKHO, xANz):... | [
"0.8759445",
"0.70656943",
"0.70505095",
"0.6594868",
"0.6398339",
"0.63305813",
"0.5931158",
"0.5898287",
"0.5753905",
"0.5618596",
"0.5593478",
"0.55494106",
"0.55251086",
"0.5479057",
"0.54662097",
"0.54662097",
"0.5437391",
"0.54104376",
"0.53675115",
"0.522278",
"0.51716... | 0.92406183 | 0 |
Sets the forgotten_password_question4 of this ForgottenPasswordInformation. | def If7G(YKHO, If7G):
YKHO._forgotten_password_question4 = If7G | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iAbo(YKHO, iAbo):\n YKHO._forgotten_password_answer4 = iAbo",
"def GZiQ(YKHO, GZiQ):\n YKHO._forgotten_password_question3 = GZiQ",
"def ysDt(YKHO, ysDt):\n YKHO._forgotten_password_question1 = ysDt",
"def xDuR(YKHO, xDuR):\n YKHO._forgotten_password_answer3 = xDuR",
"def xANz(YKHO, xANz):\n... | [
"0.86408913",
"0.7386226",
"0.70288324",
"0.69423884",
"0.650413",
"0.6343131",
"0.60823786",
"0.58259577",
"0.56055146",
"0.54741377",
"0.53726846",
"0.53724426",
"0.5305679",
"0.5274932",
"0.524101",
"0.52353525",
"0.51489884",
"0.50957394",
"0.5065858",
"0.5060927",
"0.505... | 0.91489655 | 0 |
Returns the string representation of the model | def gTzM(YKHO):
return CgYo.pformat(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |