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 |
|---|---|---|---|---|---|---|
The SKU (pricing tier) of the server. | def PXIM(YKHO) -> qe4Y.Output[h8nf['outputs.SkuResponse']]:
return qe4Y.get(YKHO, 'sku') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EcuX(YKHO) -> h8nf[qe4Y.Input['SkuTier']]:\n return qe4Y.get(YKHO, 'tier')",
"def PXIM(YKHO) -> str:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO):\n return YKHO._sku",
"def PXIM(YKHO):\n return YKHO._sku",
"def PXIM(YKHO):\n return YKHO._sku",
"def PXIM(YKHO):\n return YKHO._sku... | [
"0.78399646",
"0.77133095",
"0.74488086",
"0.74488086",
"0.74488086",
"0.74488086",
"0.74488086",
"0.7405241",
"0.7405241",
"0.7345369",
"0.73437107",
"0.7317727",
"0.7259512",
"0.7259512",
"0.7249613",
"0.72158206",
"0.72095317",
"0.7191323",
"0.7128179",
"0.7128179",
"0.707... | 0.70781946 | 20 |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" | def type(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n ... | [
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.82019424",
"0.8096315",
"0.79813987",
"0.79813987",
"0.79813987",
"0.79813987",
"0.79813987",... | 0.0 | -1 |
>>> normalize_extension_string("java|c|python") ['c', 'java', 'python'] >>> normalize_extension_string("java") ['java'] >>> normalize_extension_string("java|c|java") ['c', 'java'] >>> res = normalize_extension_string(None) >>> str(res) 'None' | def ESyf(CBZq: Optional[str]) -> h8nf[x1iM[str]]:
if not CBZq:
return CBZq
sdA6 = CBZq.split('|')
tb5c = set(sdA6)
return sorted(tb5c) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def svl6(N4Ip):\n return '' if N4Ip is None else N4Ip",
"def oIn5(zCsx):\n return 'NONE'",
"def vmm4(YKHO):\n return '/'.join(YKHO.Split()[0:2])",
"def u2EA(m6Me: str) -> uLKX[str, None]:\n return m6Me.replace('ext.', '')",
"def QTwE(CBZq):\n if isinstance(CBZq, str):\n YBcr: str = CB... | [
"0.6074293",
"0.6046157",
"0.58873916",
"0.5873156",
"0.5683557",
"0.5669016",
"0.5667169",
"0.5649758",
"0.5623732",
"0.5577848",
"0.55442727",
"0.54457086",
"0.5353488",
"0.52533394",
"0.5140051",
"0.50771016",
"0.5064899",
"0.5050402",
"0.5046666",
"0.50254804",
"0.5018109... | 0.7194626 | 0 |
Implements `str(self)`. Returns '[]' if the list is empty, else returns `str(x)` for all values `x` in this list, separated by commas and enclosed by square brackets. E.g., for a list containing values 1, 2 and 3, returns '[1, 2, 3]'. | def zAg0(YKHO):
return '[' + ', '.join((str(WKvO) for WKvO in YKHO)) + ']' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n KCHu = '['\n for WKvO in YKHO:\n KCHu += '{}, '.format(repr(WKvO))\n if len(YKHO) > 0:\n KCHu = KCHu[0:-2] + ']'\n else:\n KCHu += ']'\n return KCHu",
"def zAg0(YKHO):\n return ', '.join([str(ZfUD) for ZfUD in YKHO.to_list()])",
"def zAg0(YKHO):\n Aof... | [
"0.74010795",
"0.73776716",
"0.7322201",
"0.72208124",
"0.71984065",
"0.717543",
"0.717543",
"0.7110409",
"0.71088904",
"0.70967287",
"0.7067763",
"0.7057663",
"0.70547056",
"0.70168644",
"0.6984181",
"0.69770324",
"0.6936807",
"0.6900166",
"0.68951076",
"0.6877132",
"0.68687... | 0.7516117 | 0 |
Returns True if this ArrayList contains the same elements (in order) as other. If other is not an ArrayList, returns False. | def xa14(YKHO, Elif):
if isinstance(Elif, IsEd):
if len(YKHO) != len(Elif):
return False
for or8S in range(len(YKHO.data)):
if YKHO.data[or8S] != Elif[or8S]:
return False
return True
else:
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n if Elif is YKHO:\n return True\n if len(Elif) != len(YKHO):\n return False\n if len(Elif) != len(YKHO):\n return False\n if type(Elif) != type(YKHO):\n return False\n for ZfUD in Elif:\n if YKHO.count(ZfUD) != Elif.count(ZfUD):\n ... | [
"0.7562942",
"0.7384073",
"0.7369798",
"0.7365369",
"0.73522127",
"0.73397976",
"0.7334758",
"0.7309637",
"0.7281937",
"0.72592974",
"0.72452325",
"0.7207152",
"0.7195558",
"0.7191884",
"0.7191884",
"0.7181473",
"0.71782595",
"0.71727973",
"0.71614814",
"0.7135775",
"0.713136... | 0.83645874 | 0 |
Returns the maximum value in this list. | def max(YKHO):
PtQX = YKHO.data[0]
oHE7 = iter(YKHO)
while True:
try:
ZfUD = next(oHE7)
if ZfUD > PtQX:
PtQX = ZfUD
except StopIteration:
break
return PtQX | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def max(YKHO):\n return max(YKHO.lst)",
"def qfB5(YKHO):\n return YKHO.maximum",
"def qQji(YKHO):\n return YKHO.maximum",
"def qfB5(YKHO):\n return YKHO.max",
"def max(YKHO):\n return YKHO.maxes[-1]",
"def max(YKHO):\n BWXx = _qLf(YKHO._values[YKHO._count - 1])\n return BWXx",
"def... | [
"0.8777739",
"0.8444175",
"0.8424003",
"0.84208226",
"0.84022015",
"0.840033",
"0.83813405",
"0.8378748",
"0.8345164",
"0.8295807",
"0.8295807",
"0.8295807",
"0.8295807",
"0.8295807",
"0.8295807",
"0.8295807",
"0.8280903",
"0.82808024",
"0.82808024",
"0.82793087",
"0.82793087... | 0.8421636 | 3 |
Returns the index of the first instance of value encountered in this list between index i (inclusive) and j (exclusive). If j is not specified, search through the end of the list for value. If value is not in the list, raise a ValueError. | def d6pt(YKHO, BWXx, YRbF=0, r845=None):
if r845 is None:
r845 = len(YKHO)
RMvl = YKHO._normalize_idx(YRbF)
d9Qd = YKHO._normalize_idx(r845)
for or8S in range(RMvl, d9Qd):
if YKHO.data[or8S] == BWXx:
return or8S
raise ValueError() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def d6pt(YKHO, BWXx, YRbF=0, r845=None):\n EmMj = False\n zu_J = YKHO._normalize_idx(YRbF)\n if r845 == None and (not EmMj):\n for YRbF in range(zu_J, YKHO.length):\n if YKHO[YRbF] == BWXx:\n EmMj = True\n return YRbF\n elif r845 != None and (not EmMj):\n... | [
"0.76797825",
"0.74390274",
"0.69824195",
"0.6968078",
"0.69434303",
"0.6685027",
"0.66668725",
"0.6599032",
"0.6582734",
"0.65702003",
"0.6559784",
"0.65291905",
"0.649139",
"0.64677626",
"0.64030075",
"0.6397013",
"0.6381348",
"0.63587904",
"0.63186026",
"0.63166827",
"0.62... | 0.7600794 | 1 |
Returns a new ArrayList instance (with a separate data store), that contains the same values as this list. | def jth9(YKHO):
S06t = IsEd()
oHE7 = iter(YKHO)
while True:
try:
S06t.append(next(oHE7))
except StopIteration:
break
return S06t | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jth9(YKHO):\n yv6U = jth9.deepcopy(YKHO.lst)\n return YKHO.__class__(yv6U)",
"def jth9(YKHO):\n Nq1b = x1iM()\n for WKvO in YKHO:\n Nq1b.append(WKvO)\n return Nq1b",
"def jth9(YKHO):\n q4DL = YKHO._list.__class__\n S06t = q4DL(YKHO._list)\n return DqSn(S06t)",
"def FzJk(Emd... | [
"0.69571775",
"0.6898419",
"0.67549604",
"0.6699652",
"0.6686197",
"0.66203856",
"0.64550525",
"0.6451482",
"0.64009213",
"0.6377779",
"0.63701224",
"0.6354274",
"0.6338115",
"0.6338115",
"0.61883956",
"0.6167331",
"0.61503065",
"0.613475",
"0.6110032",
"0.6103077",
"0.608440... | 0.74204683 | 0 |
Creates and saves a superuser with the given email and password. Called via command line user creation. | def Zp54(YKHO, D3lj, LmAn, jTXt):
CBIr = YKHO.create_user(D3lj, role=LmAn, password=jTXt)
CBIr.is_admin = True
CBIr.save(using=YKHO._db)
return CBIr | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zp54(YKHO, D3lj, jTXt=None, **dDGN):\n YKHO._create_user(D3lj, True, jTXt, **dDGN)",
"def Zp54(YKHO, D3lj, jTXt, **wdCM):\n return YKHO._create_user(D3lj, jTXt, True, True, is_active=True, **wdCM)",
"def Zp54(YKHO, D3lj: str, jTXt: str, **wdCM: Dict[str, bool]):\n wdCM.setdefault('is_staff', True)... | [
"0.859987",
"0.81329435",
"0.8125741",
"0.8081067",
"0.8070677",
"0.80561864",
"0.8051649",
"0.80506617",
"0.8050301",
"0.80446595",
"0.8037456",
"0.8035752",
"0.80104584",
"0.800816",
"0.79919106",
"0.7965255",
"0.7953874",
"0.7952696",
"0.7951434",
"0.79425865",
"0.7941729"... | 0.0 | -1 |
Utility method to randomly crop an image. | def TM7i(YKHO, LNo8, Pqyv, LbxQ):
dCLF = LNo8.shape[0] - Pqyv
IA3S = LNo8.shape[1] - LbxQ
WKvO = oyIN.random.randint(0, IA3S)
LVAh = oyIN.random.randint(0, dCLF)
knyT = LNo8[LVAh:LVAh + Pqyv, WKvO:WKvO + LbxQ]
return YKHO.detect_face(knyT) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TM7i(YKHO, VXjJ):\n yzQ0, MKlR = VXjJ.size\n if yzQ0 <= MKlR:\n DU29, EH9b = (256, int(256 * MKlR / yzQ0))\n else:\n EH9b, DU29 = (256, int(256 * yzQ0 / MKlR))\n VXjJ = Ggvv.resize(VXjJ, (DU29, EH9b))\n YRbF = oyIN.random.randint(0, EH9b - YKHO.crop_size + 1)\n r845 = oyIN.rando... | [
"0.84909075",
"0.77623075",
"0.7563153",
"0.7534501",
"0.7494109",
"0.74633574",
"0.7433086",
"0.74060625",
"0.7403492",
"0.7374371",
"0.7367036",
"0.7351469",
"0.7351382",
"0.7316769",
"0.73047894",
"0.7279583",
"0.7219482",
"0.7215345",
"0.7191939",
"0.7163509",
"0.71497184... | 0.77989036 | 1 |
Utility method to apply augmentation techniques to an image. | def Osmv(YKHO, LNo8):
if not isinstance(LNo8, oyIN.ndarray):
raise TypeError(f'The image should be an np.ndarray, but you have provided a {type(LNo8)}')
cJv3 = ZylS.image.flip_left_right(LNo8).numpy()
x0m1 = ZylS.image.transpose(LNo8).numpy()
VPIR = ZylS.image.adjust_saturation(LNo8, 3).numpy()
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EPhu(LNo8, pChn, v__7=128):\n LNo8 = hnIv.fromarray(oyIN.uint8(LNo8))\n if pChn:\n if tuKI.random() < 0.5:\n LNo8 = vuvg.hflip(LNo8)\n if tuKI.random() < 0.5:\n LNo8 = vuvg.vflip(LNo8)\n LNo8 = vuvg.center_crop(LNo8, int(0.8 * LNo8.size[0]))\n aGFF = tuKI... | [
"0.760055",
"0.7451051",
"0.7339697",
"0.72938293",
"0.7286196",
"0.72572184",
"0.72516614",
"0.724067",
"0.7225167",
"0.72094834",
"0.7172085",
"0.71699905",
"0.71609443",
"0.7092537",
"0.702864",
"0.7008682",
"0.6817781",
"0.6811805",
"0.67917234",
"0.6789676",
"0.6771741",... | 0.69906193 | 16 |
Returns a list of bytes from a string/byte. | def NhGy(BWXx):
if isinstance(BWXx, type(ZylS.constant(0))):
BWXx = BWXx.numpy()
return ZylS.train.Feature(bytes_list=ZylS.train.BytesList(value=[BWXx])) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ngHr(m9KM):\n return [Fg_i if Fg_i < 128 else Fg_i - 256 for Fg_i in m9KM]",
"def ZqkC(vIwR):\n A5A1 = [ord(BWXx) for BWXx in vIwR]\n return A5A1",
"def Gkaj(vIwR):\n vC9B = []\n for hcXw in vIwR:\n vC9B += rQcG(x12Q(hcXw))\n return vC9B",
"def s8UZ(vIwR):\n if len(vIwR) % 2 !... | [
"0.78504187",
"0.7537376",
"0.7367082",
"0.7364591",
"0.73224705",
"0.73008275",
"0.728985",
"0.71207136",
"0.7007442",
"0.6811919",
"0.6775004",
"0.66797155",
"0.6630164",
"0.6585771",
"0.6545896",
"0.65436786",
"0.65288264",
"0.65215045",
"0.6426128",
"0.64254576",
"0.63988... | 0.0 | -1 |
Proprietary method to parse an image and label from a given example. | def x8I_(YKHO, oAiD):
TdZx = (YKHO.image_size[0], YKHO.image_size[1], 3)
UkMO = ZylS.io.parse_single_example(oAiD, features={'image': ZylS.io.FixedLenFeature([], ZylS.string), 'label': ZylS.io.FixedLenFeature([], ZylS.string)})
try:
t7xG = ZylS.io.decode_raw(UkMO['image'], ZylS.uint8)
dBxG =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wvEv(BWXx, hCzz):\n Yw_3, Crrw = hCzz.parse_single_example(BWXx)\n LNo8 = {aDRl: Yw_3}\n UXqs = xMWm(Crrw)\n return (LNo8, UXqs)",
"def Gs92(PU1l):\n yJc9 = {'image/filename': ZylS.io.FixedLenFeature([], ZylS.string), 'image/encoded': ZylS.io.FixedLenFeature([], ZylS.string), 'label/marks': Zy... | [
"0.7306974",
"0.7020837",
"0.6894139",
"0.6873005",
"0.68648547",
"0.68605006",
"0.68249965",
"0.6793294",
"0.67683125",
"0.6754759",
"0.66872126",
"0.66214836",
"0.66140395",
"0.6600698",
"0.65898234",
"0.65377694",
"0.6508747",
"0.64996976",
"0.64996976",
"0.64489514",
"0.6... | 0.0 | -1 |
Query if the gallery has no items in it. | def cjJJ(YKHO):
return len(YKHO._items) == 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LwKx(YKHO):\n return len(YKHO._backpack) == 0",
"def mOTF(YKHO):\n geh0 = YKHO.client.get(gxEw('photogallery:index'))\n YKHO.assertEqual(geh0.status_code, 200)\n YKHO.assertContains(geh0, 'No posts were found.')\n YKHO.assertQuerysetEqual(geh0.context['pictures_list'], [])",
"def FBfn(YKHO):... | [
"0.6731345",
"0.67076343",
"0.6653328",
"0.6639701",
"0.6623989",
"0.65964365",
"0.659479",
"0.6566251",
"0.653962",
"0.6520166",
"0.650519",
"0.650519",
"0.650519",
"0.650519",
"0.6496467",
"0.6488298",
"0.6477868",
"0.6477868",
"0.6477868",
"0.64616966",
"0.64521384",
"0.... | 0.0 | -1 |
Compute the cross entropy loss given outputs and labels. | def fNwy(o4Jx, Crrw):
W_zj = U78l.BCELoss()
return W_zj(o4Jx, Crrw) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GT2U(o4Jx, Crrw):\n return U78l.CrossEntropyLoss()(o4Jx, Crrw)",
"def GT2U(o4Jx, Crrw):\n return U78l.CrossEntropyLoss()(o4Jx, Crrw)",
"def qN0O(o4Jx, Crrw):\n Z9rn = 0\n yvT9 = ht2j.zeros(o4Jx.size())\n for YRbF in Crrw:\n yvT9[Z9rn][YRbF] = 1.0\n Z9rn = Z9rn + 1\n ywwl = o... | [
"0.8459948",
"0.8459948",
"0.8279059",
"0.79094493",
"0.7758894",
"0.76519364",
"0.7484525",
"0.7455122",
"0.7414088",
"0.73904777",
"0.7369315",
"0.7367634",
"0.7354333",
"0.7341947",
"0.72994715",
"0.7274125",
"0.7267478",
"0.7259743",
"0.7257992",
"0.7241029",
"0.7224998",... | 0.0 | -1 |
r""" find_binary(arg1, arg2, arg3, arg4, arg5) > ea_t | def XBhQ(*qIxc):
return CE9h.find_binary(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def P0yC(YKHO):\n yqjZ = 100\n Bvvl = 101\n DLnL = qw7D.array('b', [Bvvl] * YKHO.arraylength)\n UWVc = [WKvO for WKvO, LVAh in enumerate(DLnL) if LVAh > yqjZ]\n aEqx = UWVc[0] if len(UWVc) > 0 else YKHO.ARR_ERR_NOTFOUND\n Aofo = dY4s.findindex('>', DLnL, yqjZ, nosimd=True)\n YKHO.assertEqual(A... | [
"0.6455885",
"0.6455885",
"0.6435943",
"0.6435943",
"0.64202917",
"0.64202917",
"0.64052236",
"0.64052236",
"0.6400872",
"0.6400872",
"0.63954806",
"0.63954806",
"0.639471",
"0.639471",
"0.63924146",
"0.6391856",
"0.6391851",
"0.6391851",
"0.6384623",
"0.6384623",
"0.63811797... | 0.72210705 | 0 |
Function to compute the gradient of the l2regularized logistic regression objective function. | def YTAy(UqYS, UX9L, WKvO=cC56, LVAh=VJv0):
exwG = len(WKvO)
Y9eM = WKvO.dot(UqYS)
Vc35 = 1 / (1 + oyIN.exp(LVAh * Y9eM))
ICX2 = -1 / exwG * WKvO.T.dot(LVAh * Vc35)
ICX2 = ICX2 + UX9L * 2 * UqYS
return ICX2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UDst(LVAh, UShr, yzQ0, yGTL):\n return oyIN.matmul(oyIN.transpose(UShr), oyIN.multiply(-LVAh, m1Hg(oyIN.multiply(-LVAh, oyIN.matmul(UShr, yzQ0))))) + yGTL * yzQ0",
"def qWAp(q7In, kOjW, LVAh, _zxd=0):\n q7In = q7In.reshape((-1, 1))\n sSN_ = ZfFu(kOjW, LVAh, q7In, _zxd)\n ICX2 = z4N3(kOjW, LVAh, q... | [
"0.7383277",
"0.7314576",
"0.7292109",
"0.7292109",
"0.7254438",
"0.72109157",
"0.7031414",
"0.70144",
"0.70140904",
"0.6983978",
"0.69398844",
"0.69360816",
"0.6909615",
"0.6905751",
"0.689791",
"0.6885926",
"0.68836427",
"0.6874591",
"0.6845009",
"0.68431133",
"0.68391",
... | 0.6819779 | 21 |
Removes permission from user/group and object pair. | def NFmt(YKHO, LEXu, hGN5):
try:
w0rQ = eVWg(LEXu, hGN5)
for Uvf2 in w0rQ:
szkX(Uvf2, LEXu, obj=hGN5)
except JHSF as err:
bo34.error('Invalid Operation: {0}.'.format(XObx))
return False
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h9W3(YKHO, CBIr, uOe2=None, VNKi=True):\n S9Qt = YKHO.acl\n if uOe2 and YKHO._get_group_id(uOe2) in S9Qt:\n S9Qt.remove(YKHO._get_group_id(uOe2))\n else:\n if str(CBIr.id) in S9Qt:\n S9Qt.remove(str(CBIr.id))\n if CBIr.is_admin:\n HbIg = 'User you are removin... | [
"0.75413597",
"0.728053",
"0.72393435",
"0.7167297",
"0.71539927",
"0.7026282",
"0.70039135",
"0.6968452",
"0.6837437",
"0.6829017",
"0.6651696",
"0.66109127",
"0.6594486",
"0.6578187",
"0.65722203",
"0.652851",
"0.65240043",
"0.651964",
"0.6472773",
"0.64640987",
"0.64372873... | 0.6391172 | 21 |
OT tag sequence to BIO tag sequence | def v4UB(s3H0):
SQYC = []
CGwC = '$$$'
for a1PO in s3H0:
assert a1PO == 'O' or a1PO == 'T'
if a1PO == 'O':
SQYC.append(a1PO)
elif a1PO == 'T':
if CGwC == 'T':
SQYC.append('I')
else:
SQYC.append('B')
CGwC = a1... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xKgH(s3H0):\n hdLZ = []\n for a1PO in s3H0:\n if a1PO == 'O':\n hdLZ.append('O')\n else:\n hdLZ.append('T')\n return hdLZ",
"def JNpu(dn2c):\n NGP0 = []\n Wclp = len(dn2c)\n Q2wj = '$$$'\n for YRbF in range(Wclp):\n zXVG = dn2c[YRbF]\n as... | [
"0.7429788",
"0.7368557",
"0.7361828",
"0.7291457",
"0.7206374",
"0.7100236",
"0.7051852",
"0.68696976",
"0.6808227",
"0.67764497",
"0.6686189",
"0.663315",
"0.63831806",
"0.6308496",
"0.62789273",
"0.6261246",
"0.62520266",
"0.615676",
"0.61399335",
"0.6137126",
"0.61337197"... | 0.7744655 | 0 |
Turn off the backlight. | def l4XF():
d7Eb(0, 0, 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rcNM(YKHO):\n YKHO.lcd.backlight = False",
"def QIY1(YKHO):\n YKHO.device.write_cmd(ICN0)",
"def wHTQ(YKHO):\n if YKHO.backlight_pin:\n YKHO.backlight_pin.setValue(0)",
"def wHTQ(YKHO):\n if YKHO.backlight_pin:\n YKHO.backlight_pin.value(0)",
"def Z_rv(YKHO):\n YKHO.set_bac... | [
"0.92162204",
"0.9099897",
"0.86548454",
"0.86526567",
"0.8570782",
"0.808366",
"0.80250305",
"0.8024258",
"0.80055875",
"0.7938553",
"0.7935737",
"0.7933413",
"0.7887839",
"0.7875743",
"0.7863937",
"0.7855439",
"0.7855439",
"0.7855439",
"0.7849612",
"0.7826966",
"0.77837056"... | 0.0 | -1 |
Checks if every nonterminal is reachable from start symbol | def nzWM(_Fei):
tk5Y = _Fei.rules[0]
IgX0 = [eD8c.name for eD8c in _Fei.rules if eD8c.name != tk5Y.name]
jzqY = fHNa()
for Q6uT in tk5Y.seqs:
for tTpl in Q6uT:
if isinstance(tTpl, U3yL.Non_Term_Ref):
jzqY.add(tTpl.name)
yTOt = jth9.copy(jzqY)
tCo7 = fHNa()
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def scUC(YKHO):\n iWSC = []\n iWSC.append(gXCv('S', 's'))\n c_NS = Y4lh(iWSC)\n NPHd = PWTs(c_NS, 'S2')\n YKHO.assertTrue(NPHd.is_empty())\n NPHd = PWTs(c_NS, 'S')\n YKHO.assertFalse(NPHd.is_empty())\n iWSC = []\n iWSC.append(gXCv('S2', 's'))\n c_NS = Y4lh(iWSC)\n NPHd = PWTs(c_NS,... | [
"0.72187436",
"0.62332755",
"0.619066",
"0.6097444",
"0.60792345",
"0.5987582",
"0.5925722",
"0.59240276",
"0.59122825",
"0.5867984",
"0.5856818",
"0.58226144",
"0.58226144",
"0.5812827",
"0.5806439",
"0.5773371",
"0.5733193",
"0.5731161",
"0.5725976",
"0.571546",
"0.5715387"... | 0.0 | -1 |
If the form is valid, save the associated model. | def lwXz(YKHO, L03z):
LNo8 = L03z.files['image']
gXgy = Hy7s.path.join(gCuF.MEDIA_ROOT, 'uploads', LNo8._name)
pmON = e8HW.save(gXgy, LNo8)
nvEb = N33X(path=pmON, list_content='article').similarity()
OtVm = [YRbF[0] for YRbF in nvEb]
umWR = YKHO.queryset.filter(article__in=OtVm)
Yw_3 = IyFz.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def deVW(YKHO, L03z):\n L03z.save()",
"def lwXz(YKHO, L03z):\n L03z.save()\n return super().form_valid(L03z)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.request.user)\n return Yd7Q(YKHO.get_success_url(), status=303)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.reques... | [
"0.7786421",
"0.7445933",
"0.7416595",
"0.7416595",
"0.7391896",
"0.7391896",
"0.7391896",
"0.7391896",
"0.71387583",
"0.7123397",
"0.7104942",
"0.7073247",
"0.7056793",
"0.7056793",
"0.705132",
"0.70319355",
"0.702643",
"0.7008229",
"0.7001526",
"0.6998036",
"0.69720834",
... | 0.0 | -1 |
Parses html course info into a this Course object. | def FIMM(YKHO, fgTi, mWFP, J3u4, QoB4, NCw6, cuiw):
YKHO.code, YKHO.title = [YRbF.strip() for YRbF in mWFP.split('.', 1) if YRbF]
YKHO.title = YKHO.title.replace('"', "'")
YKHO.link = fgTi.url + '#' + J3u4
YKHO.start_year, YKHO.end_year = fgTi.years
YKHO.dept = fgTi.dept
YKHO.desc = QoB4.replace... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ajKF(Z9JV):\n sDlr = {}\n gfLC = Z9JV.findAll('div', {'class': 'c-courseList-entry'})\n for GQfX in gfLC:\n S7Jr = GQfX['data-course']\n rjUa = {}\n i0gQ = []\n rjUa['organization'] = GQfX.find('div', {'class': 'c-courseList-entry-university'}).find('a').text\n rjUa[... | [
"0.7456911",
"0.7029665",
"0.6977949",
"0.6963746",
"0.66374743",
"0.65887076",
"0.6461661",
"0.63941026",
"0.63433003",
"0.6288362",
"0.6178573",
"0.6125102",
"0.60508406",
"0.60471344",
"0.5990044",
"0.5910274",
"0.58568573",
"0.58129036",
"0.5790216",
"0.5763429",
"0.57589... | 0.52476436 | 65 |
Tx3x3 convolution with padding | def ciO4(UUZO, sYyA, Ot1W=3, _0fC=1, dvgN=1, ivFb=1, oug5=False):
return U78l.Conv3d(UUZO, sYyA, kernel_size=Ot1W, stride=_0fC, padding=dvgN, dilation=ivFb, bias=oug5) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Rjm7(UUZO, sYyA, Ot1W=3, _0fC=1, dvgN=1, ivFb=1, oug5=False):\n return U78l.Conv3d(UUZO, sYyA, kernel_size=Ot1W, stride=_0fC, padding=dvgN, dilation=ivFb, bias=oug5)",
"def rX8G(DMUV, SzTP, LT6S, mx59, _0fC, NLVo, QMv1=False, xfqZ=True, R9Vf=0.0, dvgN='VALID'):\n nuz7 = mx59 if xfqZ else 1\n yzQ0 = ... | [
"0.735741",
"0.73369396",
"0.7298725",
"0.72769856",
"0.6995705",
"0.6978858",
"0.6965425",
"0.68209434",
"0.6781391",
"0.67737377",
"0.67627406",
"0.6740395",
"0.67334473",
"0.67292947",
"0.6728851",
"0.6721969",
"0.67183876",
"0.6712971",
"0.6706362",
"0.66810936",
"0.66807... | 0.734506 | 1 |
Normalizes dictionary values. Used for the Markov Chain normalization. | def _Bxw(zbtn):
wjRY = 1 / float(oyIN.sum(list(zbtn.values())))
for G1Hx, Ty9i in zbtn.items():
zbtn[G1Hx] = Ty9i * wjRY
return zbtn | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NkkI(YKHO, Op6c):\n for geyT in Op6c:\n Op6c[geyT] = {G1Hx: Ty9i / wjRY for wjRY in (sum(Op6c[geyT].values()),) for G1Hx, Ty9i in Op6c[geyT].items()}\n return Op6c",
"def NkkI(Csk6):\n r8hN = 0.0\n for yzQ0 in Csk6.values():\n r8hN += yzQ0 * yzQ0\n r8hN = epAf.sqrt(r8hN)\n if ... | [
"0.79201376",
"0.7839274",
"0.7415751",
"0.74070996",
"0.7356358",
"0.73326695",
"0.73315084",
"0.7311513",
"0.7282273",
"0.7197597",
"0.7188315",
"0.71792316",
"0.71688265",
"0.7150255",
"0.7078823",
"0.70162386",
"0.694113",
"0.6917096",
"0.68802094",
"0.6870139",
"0.685144... | 0.7055599 | 15 |
Implements fast moving average | def ZCKv(jzdc, exwG=2):
U5bT = oyIN.cumsum(jzdc, dtype=float)
U5bT[exwG:] = U5bT[exwG:] - U5bT[:-exwG]
return U5bT[exwG - 1:] / exwG | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZCKv(nPrm, exwG=3):\n U5bT = oyIN.cumsum(nPrm, dtype=float)\n U5bT[exwG:] = U5bT[exwG:] - U5bT[:-exwG]\n return U5bT[exwG - 1:] / exwG",
"def NV0p(nPrm, exwG):\n yvT9 = oyIN.cumsum(nPrm)\n yvT9[exwG:] = yvT9[exwG:] - yvT9[:-exwG]\n return yvT9[exwG - 1:] / exwG",
"def PdzZ(nPrm, exwG=2):\... | [
"0.7655104",
"0.7618854",
"0.76114106",
"0.7545904",
"0.7519875",
"0.74776256",
"0.7462247",
"0.7418132",
"0.7320264",
"0.7300821",
"0.72582525",
"0.72391754",
"0.7217782",
"0.7217782",
"0.7217782",
"0.7217782",
"0.71841455",
"0.71763915",
"0.7175909",
"0.71742135",
"0.713820... | 0.76335144 | 1 |
Mock response generator. Generates the responses from the bot's domain file. | async def generate_response(CqTb, zrIJ):
B2fa = CqTb.get('arguments', {})
geh0 = CqTb.get('response')
duDf = CqTb.get('tracker', {}).get('sender_id')
YTVa = CqTb.get('tracker', {}).get('events')
Edrf = Fkys.from_dict(duDf, YTVa, zrIJ.slots)
R5yJ = CqTb.get('channel', {}).get('name')
return a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def geh0():\n with lw46() as TMAJ:\n yield TMAJ",
"def ZG9D(gIsw):\n LeHk = {'billing.html': 'https://mya.dominionenergy.com/Usage/ViewPastUsage?statementType=2', 'usage.html': 'https://mya.dominionenergy.com/Usage/ViewPastUsage?statementType=4'}\n bD7m = LeHk[gIsw]\n QePW = VNUm(url=bD7m)\n ... | [
"0.6160513",
"0.61355984",
"0.6121732",
"0.60404617",
"0.6034467",
"0.5908302",
"0.5895191",
"0.58767045",
"0.58499026",
"0.5700127",
"0.56228745",
"0.5618158",
"0.5608201",
"0.5605088",
"0.5590713",
"0.5494252",
"0.5488459",
"0.54823273",
"0.5474397",
"0.5463031",
"0.544156"... | 0.623682 | 0 |
Get the model object for this instance, loading it if it's not already loaded. | def YrZb(Emd4):
if Emd4.model == None:
Emd4.model = uyMl('./toxicCommentPred.h5')
return Emd4.model | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uyMl(YKHO) -> awyi:\n if YKHO.is_loaded:\n return YKHO.model\n return tyeH(YKHO.fpath)",
"def tyeH(YKHO):\n if YKHO.rid and (not YKHO.is_loaded):\n VUF1 = auGi.sess.store\n YKHO._is_loaded = True\n YKHO.model = VUF1.find(YKHO.rtype, YKHO.field, YKHO.rid)\n return YKHO.... | [
"0.7958991",
"0.7940311",
"0.7891066",
"0.7794438",
"0.7787604",
"0.7770101",
"0.7743746",
"0.77368706",
"0.77368706",
"0.7735009",
"0.77151966",
"0.7691803",
"0.76794916",
"0.76794916",
"0.76794916",
"0.76794916",
"0.76794916",
"0.76794916",
"0.7654928",
"0.76206505",
"0.761... | 0.0 | -1 |
Flattens a given tensor such that the channel axis is first. | def PWgb(vhpA):
Nq1b = vhpA.size(1)
iQfg = (1, 0) + tuple(range(2, vhpA.dim()))
NPTA = vhpA.permute(iQfg).contiguous()
return NPTA.view(Nq1b, -1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PWgb(vhpA):\n Nq1b = vhpA.size(1)\n iQfg = (1, 0) + tuple(range(2, vhpA.dim()))\n NPTA = vhpA.permute(iQfg)\n return NPTA.contiguous().view(Nq1b, -1)",
"def PWgb(vhpA):\n Nq1b = vhpA.size(1)\n iQfg = (1, 0) + tuple(range(2, vhpA.dim()))\n NPTA = vhpA.permute(iQfg)\n return NPTA.contig... | [
"0.8003141",
"0.8003141",
"0.8003141",
"0.8003141",
"0.7951398",
"0.79186565",
"0.7851139",
"0.72213006",
"0.70216674",
"0.6901291",
"0.6888508",
"0.6726624",
"0.668052",
"0.6603849",
"0.65364784",
"0.65091664",
"0.64601946",
"0.6433061",
"0.6379103",
"0.6367184",
"0.63568914... | 0.800342 | 0 |
Sets the group of this SignatureStatusChangedNotification. | def uOe2(YKHO, uOe2):
YKHO._group = uOe2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QYWb(YKHO, uOe2):\n YKHO._group = uOe2",
"def QYWb(YKHO):\n YKHO.AUX('set_group,group=' + YKHO.group)",
"def uOe2(YKHO, uOe2):\n YKHO._group = uOe2",
"def QG71(YKHO, QG71):\n YKHO._notification_group = QG71",
"def scR9(YKHO, uOe2: Optional[Any]) -> None:\n YKHO.group = uOe2",
"def aNPh... | [
"0.71198404",
"0.7019152",
"0.6906123",
"0.6870759",
"0.6789219",
"0.651113",
"0.6481034",
"0.6435308",
"0.6303232",
"0.62835944",
"0.6206771",
"0.62025666",
"0.61955804",
"0.6078712",
"0.60424477",
"0.6015563",
"0.5997085",
"0.5982883",
"0.59186536",
"0.59186536",
"0.5918653... | 0.6777534 | 6 |
Sets the automatic of this SignatureStatusChangedNotification. | def aIcv(YKHO, aIcv):
YKHO._automatic = aIcv | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tuO_(YKHO):\n YKHO.automatic = not YKHO.automatic",
"def z2ox(YKHO, jGRS):\n raise NotImplementedError()",
"def z2ox(YKHO, jGRS):\n raise NotImplementedError()",
"def z2ox(YKHO, jGRS, MPG8=None):\n raise NotImplementedError()",
"def diU7(YKHO, diU7):\n YKHO._automatic_tag_setting = diU7"... | [
"0.6388752",
"0.5895465",
"0.5895465",
"0.5839354",
"0.5745578",
"0.5594383",
"0.5567195",
"0.5554419",
"0.5507153",
"0.548187",
"0.53959006",
"0.5348096",
"0.5343995",
"0.5330209",
"0.5302695",
"0.53022116",
"0.53002375",
"0.52826416",
"0.52728647",
"0.52657753",
"0.52588993... | 0.58811975 | 3 |
Returns the string representation of the model | def gTzM(YKHO):
return CgYo.pformat(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
if not isinstance(Elif, VWPX):
return True
return YKHO.to_dict() != Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(... | [
"0.8392633",
"0.8354901",
"0.82950056",
"0.8132309",
"0.81149805",
"0.8099986",
"0.809911",
"0.8097883",
"0.8097883",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8066694",
"0.80594814",
"0.805757",
... | 0.0 | -1 |
Get the len of the dataset. | def szAg(YKHO):
return YKHO.env.sample_size | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def szAg(YKHO) -> int:\n return len(YKHO._dataset)",
"def u54L(YKHO) -> int:\n return YKHO._dataset.shape[0]",
"def szAg(YKHO):\n return YKHO.dataset_size",
"def szAg(YKHO):\n return YKHO.dataset_size",
"def szAg(YKHO):\n return YKHO.dataset_size",
"def szAg(YKHO):\n return YKHO.dataset... | [
"0.84679866",
"0.8452268",
"0.8414661",
"0.8414661",
"0.8414661",
"0.8414661",
"0.8414661",
"0.8402925",
"0.83809525",
"0.83691657",
"0.8361085",
"0.83471113",
"0.8285665",
"0.8262545",
"0.8239603",
"0.82351714",
"0.8229384",
"0.82050204",
"0.82048965",
"0.8179265",
"0.816959... | 0.0 | -1 |
Gets the url of this RecipeObjectMeta. | def bD7m(YKHO) -> str:
return YKHO._url | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bD7m(YKHO):\n return YKHO.properties.get('Url', None)",
"def bD7m(YKHO):\n return YKHO.properties.get('Url', None)",
"def hKhs(YKHO) -> str:\n return YKHO.__url",
"def bD7m(YKHO):\n return YKHO.__url",
"def bD7m(YKHO):\n return YKHO.__url",
"def hKhs(YKHO):\n return YKHO.url",
"de... | [
"0.7283812",
"0.7257896",
"0.7162834",
"0.7093091",
"0.7093091",
"0.70838654",
"0.70700186",
"0.70595896",
"0.7055533",
"0.7054636",
"0.70388895",
"0.70388895",
"0.7037148",
"0.7033179",
"0.7033179",
"0.70164514",
"0.70164514",
"0.70164514",
"0.70164514",
"0.70164514",
"0.701... | 0.6961982 | 41 |
Gets the cuisine of this RecipeObjectMeta. | def TdJL(YKHO) -> str:
return YKHO._cuisine | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fMIM(YKHO):\n return YKHO.couleur",
"def vVAQ(YKHO):\n return YKHO.coadd_obs",
"def dgYs(YKHO):\n return YKHO.covarianza",
"def TSk8(YKHO):\n return YKHO._ceremonial_county",
"def Tr5C(YKHO):\n return YKHO._obj.Conductor().sage()",
"def N8JC(YKHO):\n if not YKHO._coco:\n rais... | [
"0.6568533",
"0.61984664",
"0.6059857",
"0.5946638",
"0.58667254",
"0.58488166",
"0.5799546",
"0.57376623",
"0.5710626",
"0.5694295",
"0.56275773",
"0.5566984",
"0.5562955",
"0.5560165",
"0.5523463",
"0.55190396",
"0.55034834",
"0.5496409",
"0.5482823",
"0.544942",
"0.5429906... | 0.72836554 | 0 |
Gets the created of this RecipeObjectMeta. | def _EYN(YKHO) -> str:
return YKHO._created | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _EYN(YKHO):\n if YKHO._created_present:\n return YKHO._created_value\n else:\n raise AttributeError(\"missing required field 'created'\")",
"def _EYN(YKHO):\n if YKHO._created_present:\n return YKHO._created_value\n else:\n return None",
"def _EYN(YKHO):\n return ... | [
"0.7394504",
"0.71993023",
"0.7030098",
"0.70254433",
"0.69792736",
"0.6929212",
"0.6826697",
"0.6826697",
"0.6826697",
"0.6826697",
"0.6826697",
"0.6826697",
"0.6826697",
"0.6826697",
"0.6826697",
"0.6777688",
"0.6777688",
"0.6777688",
"0.6777688",
"0.67397875",
"0.666838",
... | 0.6465902 | 38 |
Sets the created of this RecipeObjectMeta. | def _EYN(YKHO, _EYN: str):
YKHO._created = _EYN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _EYN(YKHO):\n if YKHO._created_present:\n return YKHO._created_value\n else:\n raise AttributeError(\"missing required field 'created'\")",
"def _EYN(YKHO, _EYN):\n YKHO._created = _EYN",
"def zACL(YKHO, _EYN):\n YKHO.created = _EYN",
"def _EYN(YKHO, _EYN):\n YKHO._created = ... | [
"0.63196695",
"0.63152504",
"0.63093245",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424",
"0.62514424"... | 0.6024141 | 27 |
Gets the nutrients_notice of this RecipeObjectMeta. | def JhqE(YKHO) -> str:
return YKHO._nutrients_notice | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JhqE(YKHO, JhqE: str):\n YKHO._nutrients_notice = JhqE",
"def vTGh(YKHO) -> str:\n return qe4Y.get(YKHO, 'notice')",
"def yz_6(CJKf):\n XNkR = CJKf.find('div', {'class': 'nutritional-info'})\n if not XNkR:\n return None\n return XNkR.get_text()",
"def jA43(YKHO):\n KSC9 = ''\n ... | [
"0.6786206",
"0.5768113",
"0.5610532",
"0.54771495",
"0.52551484",
"0.51304126",
"0.5054348",
"0.49982288",
"0.4992125",
"0.4992125",
"0.4992125",
"0.4992125",
"0.4991174",
"0.4979015",
"0.4979015",
"0.4979015",
"0.4979015",
"0.4978798",
"0.4900291",
"0.4874946",
"0.48306996"... | 0.7875721 | 0 |
Set whether tool is licensed to execute. | def ku2f(YKHO):
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def riqM(YKHO):\n pass",
"def ku2f(YKHO):\n try:\n if ZO_c.CheckExtension('Spatial') == 'Available':\n return True\n else:\n return False\n except:\n return False\n return True",
"def ku2f(YKHO):\n try:\n if ZO_c.CheckExtension('Spatial') == 'Ava... | [
"0.6934165",
"0.6712352",
"0.6709214",
"0.6699145",
"0.6699145",
"0.6699145",
"0.6699145",
"0.66979116",
"0.66979116",
"0.66979116",
"0.6694129",
"0.6668929",
"0.6662326",
"0.64707255",
"0.64440554",
"0.63952094",
"0.63952094",
"0.63952094",
"0.63952094",
"0.63952094",
"0.639... | 0.6334155 | 74 |
Returns the configured external network name or the first retrieved external network name | def Ix8P(o069):
tm0f = kNRz.neutron_client(o069)
qM0p = kNRz.get_external_networks(tm0f)
if hasattr(el5c, 'EXTERNAL_NETWORK'):
HAWu = el5c.__getattribute__('EXTERNAL_NETWORK')
for cQcx in qM0p:
if cQcx.name == HAWu:
return HAWu
return qM0p[0].name if qM0p else... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XHTY(YKHO, eVVj):\n bo34.info('Get network %s from External Network Provider %s', eVVj, YKHO.osp_obj.name)\n UziS = [Zxma for Zxma in YKHO.get_all_networks() if Zxma.name == eVVj]\n if not UziS:\n bo34.error('Network: %s not found on External Network Provider: %s', eVVj, YKHO.osp_obj.name)\n ... | [
"0.70361537",
"0.6788262",
"0.6746176",
"0.67249465",
"0.67070967",
"0.67070967",
"0.6701003",
"0.6701003",
"0.67008466",
"0.6688905",
"0.6615264",
"0.6587044",
"0.6518381",
"0.6518381",
"0.6518381",
"0.6518381",
"0.6518381",
"0.6518381",
"0.65148276",
"0.65108156",
"0.651081... | 0.7124367 | 0 |
convert hex string to bytes | def uSzb(KCHu):
if len(KCHu) % 2:
KCHu = b'0' + KCHu
h16r = [int(KCHu[YRbF:YRbF + 2], 16) for YRbF in range(0, len(KCHu), 2)]
return lHmx(h16r) if v43R == 3 else b''.join([chr(Z9rn) for Z9rn in h16r]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RKql(KCHu):\n return bytes.fromhex(KCHu)",
"def ntSl(X9sb: str) -> bytes:\n return bytes.fromhex(X9sb)",
"def uSzb(anAZ):\n YRbF = 0\n ezWE = []\n while YRbF < len(anAZ):\n ezWE.append(int(anAZ[YRbF], 16) << 4 | int(anAZ[YRbF + 1], 16))\n YRbF += 2\n return bytes(ezWE)",
"... | [
"0.8742668",
"0.83815277",
"0.8155158",
"0.8105441",
"0.7957056",
"0.79225314",
"0.7886343",
"0.7881161",
"0.7841708",
"0.7824719",
"0.7690561",
"0.7633014",
"0.76320827",
"0.7604167",
"0.7544586",
"0.74536705",
"0.73333126",
"0.72472894",
"0.72215116",
"0.72205687",
"0.71812... | 0.8253188 | 2 |
Calculates interpretation score of characters in input by splitting input into tokens, then using a "leave one out" method to calculate the score of each token by removing each token and measuring the delta of the output value. | def wLkJ(YKHO, g8rx: str=' ', m1Oc: str | None=None):
YKHO.interpretation_separator = g8rx
YKHO.interpretation_replacement = m1Oc
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VadO(a0GJ: str, TLv5: str) -> int:\n if not a0GJ or not TLv5:\n return 6\n ni3Z = a0GJ[-1]\n EeIQ = TLv5[0]\n oaU8 = not ni3Z.isalnum()\n Cxx_ = not EeIQ.isalnum()\n Pu44 = oaU8 and ni3Z.isspace()\n dRrZ = Cxx_ and EeIQ.isspace()\n FX5i = Pu44 and (ni3Z == '\\r' or ni3Z == '\\n')... | [
"0.59913886",
"0.59720474",
"0.58619237",
"0.5838312",
"0.5752545",
"0.57243955",
"0.5607896",
"0.5593794",
"0.5525135",
"0.5487314",
"0.54693913",
"0.5467583",
"0.54649496",
"0.5414206",
"0.53706896",
"0.53579795",
"0.53492564",
"0.5346304",
"0.53343344",
"0.53187263",
"0.53... | 0.0 | -1 |
This method is deprecated. Please set these arguments in the constructor instead. | def _Cnz(YKHO, *, QOJJ: bool | None=None, zGKt: bool | None=None, **B2fa):
Hh8W()
if QOJJ is not None:
YKHO.show_copy_button = QOJJ
if zGKt is not None:
YKHO.container = zGKt
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def INLv(YKHO):\n qmLP.warn('connection_arguments is deprecated in favor of factory_arguments and will be removed in 1.0', DeprecationWarning)\n return YKHO.factory_arguments",
"def FIMM(YKHO, tkGt: Dict[Text, Any]=None) -> None:\n super().__init__(tkGt)\n CMGp.shared.utils.io.raise_warning(f\"'{YKHO... | [
"0.67215824",
"0.6689204",
"0.66344607",
"0.6550559",
"0.64985526",
"0.6474128",
"0.6474128",
"0.6474128",
"0.6474128",
"0.6433376",
"0.64115435",
"0.6317634",
"0.627199",
"0.62681764",
"0.62465376",
"0.623701",
"0.623701",
"0.6207064",
"0.6193109",
"0.61786526",
"0.61683965"... | 0.0 | -1 |
The name of the storage account. | def mWFP(YKHO) -> str:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def I7Gx(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'storage_account_name')",
"def I7Gx(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'storage_account_name')",
"def I7Gx(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'storage_account_name')",
"def I7Gx(YKHO) -> h8nf[qe4Y.Input[str]]:\... | [
"0.8938272",
"0.8789875",
"0.8789875",
"0.8619934",
"0.80023456",
"0.8000661",
"0.7837255",
"0.7837255",
"0.7659909",
"0.762148",
"0.762148",
"0.75188464",
"0.7486842",
"0.74728763",
"0.73903334",
"0.73903334",
"0.73903334",
"0.73787564",
"0.73763984",
"0.7371366",
"0.7357279... | 0.0 | -1 |
>>> earliest_day_after(date(2016, 5, 4), 3) datetime.date(2016, 6, 3) >>> earliest_day_after(date(2016, 5, 4), 4) datetime.date(2016, 5, 4) >>> earliest_day_after(date(2016, 5, 4), 5) datetime.date(2016, 5, 5) | def p8eB(Csk6, CjKC):
if Csk6.day > CjKC:
Csk6 = _T2t(Csk6)
return _c1T(Csk6.year, Csk6.month, CjKC) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Rqp2(Csk6):\n if Csk6.weekday() <= 4:\n return Csk6\n return Csk6 - fCoM(days=Csk6.weekday() - 4)",
"def odUu(YKHO) -> JRYC.date:\n return YKHO[0][1].date",
"def UcmA(XdMZ, wyni):\n XdMZ = fQkQ(XdMZ, wyni)\n mFQo = min(XdMZ)\n mFQo = mFQo.strftime('%Y-%m-%d')\n return mFQo",
"... | [
"0.6531692",
"0.63717943",
"0.61790323",
"0.61261976",
"0.6050072",
"0.60390675",
"0.59616864",
"0.5931554",
"0.5908712",
"0.5846579",
"0.58003235",
"0.57693917",
"0.57605",
"0.5638127",
"0.56134176",
"0.5605549",
"0.5551313",
"0.55483466",
"0.5542551",
"0.5530367",
"0.550239... | 0.7433579 | 0 |
>>> list(recurring_date_range_by_date(5, date(2016, 5, 4), date(2016, 7, 15))) [datetime.date(2016, 5, 5), datetime.date(2016, 6, 5), datetime.date(2016, 7, 5)] | def E6Gr(CjKC, yKcO, Os4s):
DpUl = p8eB(yKcO, CjKC)
while DpUl <= Os4s:
yield DpUl
DpUl = _T2t(DpUl) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pfix(kepv, KhBf):\n vywY = []\n for exwG in range((KhBf + fCoM(1) - kepv).days):\n GOKc = kepv + fCoM(exwG)\n vywY.append(GOKc.strftime('%Y%m%d'))\n return vywY",
"def Pfix(kepv, KhBf):\n return [kepv + fCoM(WKvO) for WKvO in range((KhBf - kepv).days + 1)]",
"def Pfix(kepv, KhBf, ... | [
"0.75192827",
"0.74018556",
"0.71937376",
"0.71934444",
"0.71833044",
"0.7131273",
"0.701161",
"0.69924486",
"0.69489044",
"0.6920139",
"0.6911139",
"0.68271583",
"0.6806349",
"0.67822963",
"0.67730284",
"0.6759434",
"0.6758727",
"0.67575055",
"0.6684889",
"0.6684889",
"0.665... | 0.6968037 | 8 |
>>> list(recurring_date_range_by_interval(timedelta(weeks=2), date(2016, 3, 10), date(2016, 4, 30))) [datetime.date(2016, 3, 10), datetime.date(2016, 3, 24), datetime.date(2016, 4, 7), datetime.date(2016, 4, 21)] | def FoiI(VOlW, yKcO, Os4s):
DpUl = yKcO
while DpUl <= Os4s:
yield DpUl
DpUl = DpUl + VOlW | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pfix(kepv, KhBf, EAdr, pQ4c):\n Aofo = []\n NlZ_ = kepv\n RA_F = enlf(**{pQ4c: EAdr})\n while NlZ_ <= KhBf:\n Aofo.append(NlZ_)\n NlZ_ += RA_F\n return Aofo",
"def Pfix(kepv, KhBf):\n return [kepv + fCoM(WKvO) for WKvO in range((KhBf - kepv).days + 1)]",
"def Pfix(kepv, KhBf... | [
"0.71568435",
"0.6992091",
"0.6987814",
"0.690968",
"0.68704295",
"0.6854619",
"0.67341334",
"0.6705261",
"0.6697756",
"0.66907656",
"0.6594846",
"0.65819895",
"0.6562716",
"0.6529563",
"0.65287143",
"0.6451404",
"0.64444274",
"0.6422755",
"0.6415015",
"0.6414391",
"0.6412716... | 0.7342854 | 0 |
>>> list(earliest_weekday_date_range_by_interval(date(2016, 3, 5), timedelta(weeks=2), date(2016, 3, 10), date(2016, 4, 30))) [datetime.date(2016, 3, 18), datetime.date(2016, 4, 1), datetime.date(2016, 4, 15), datetime.date(2016, 4, 29)] | def XC0Z(DbxN, VOlW, yKcO, Os4s):
for Csk6 in FoiI(VOlW, DbxN, Os4s):
n5sN = Rqp2(Csk6)
if n5sN < yKcO:
continue
yield n5sN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qy0R(kepv, KhBf):\n KhBf = qcWV.datetime.strptime(KhBf, '%Y-%m-%d')\n kepv = qcWV.datetime.strptime(kepv, '%Y-%m-%d')\n yo7_ = qcWV.datetime.today()\n YdD0 = []\n _c1T = kepv\n while _c1T <= KhBf:\n YdD0.append(qcWV.datetime.strftime(_c1T.date(), '%Y-%m-%d'))\n _c1T = _c1T + qcW... | [
"0.67053145",
"0.66516566",
"0.65396184",
"0.6513152",
"0.6458369",
"0.64296854",
"0.6381637",
"0.62976515",
"0.62205243",
"0.6129832",
"0.610618",
"0.604808",
"0.6033077",
"0.6016815",
"0.60150176",
"0.601129",
"0.6008748",
"0.59759396",
"0.5925846",
"0.58857596",
"0.5868111... | 0.7884442 | 0 |
Returns a JSON response, transforming 'context' to make the payload. | def EK31(YKHO, QpfX, **TIVb):
return jnRN(YKHO.get_data(QpfX), safe=False, **TIVb) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a4iE(YKHO, QpfX, **TIVb):\n TIVb['content_type'] = 'application/json'\n return YKHO.json_response_class(qQXR.dumps(QpfX), **TIVb)",
"def EK31(YKHO, QpfX, **TIVb):\n return igJ6(qQXR.dumps(QpfX), content_type='application/json', **TIVb)",
"def SGJU(YKHO, QpfX):\n return YKHO.get_json_response(Qp... | [
"0.7995763",
"0.77249134",
"0.770435",
"0.770435",
"0.76753193",
"0.76753193",
"0.76446885",
"0.7582211",
"0.7538711",
"0.7429256",
"0.74140453",
"0.74089426",
"0.74089426",
"0.74089426",
"0.7145266",
"0.7081657",
"0.70215803",
"0.6992469",
"0.69255745",
"0.66316104",
"0.6631... | 0.7421507 | 10 |
Return jacobian of prediction of tip from state | def FbRp(QTBn):
q7In = QTBn[0][0]
return oyIN.array([[aPd6 * oyIN.sin(q7In), 0], [aPd6 * oyIN.cos(q7In), 0], [0, 0], [0, 0]]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OdRK(YKHO, a1PO, LVAh):\n return YKHO.lambd",
"def v8WM(YKHO):\n return YKHO._ptr.contents.jacobian",
"def v8WM(YKHO):\n raise NotImplementedError",
"def k1nT(WKvO):\n AOlJ = 500\n stDt = 500\n Y7fn = WKvO[0]\n LVAh = WKvO[1]\n epBp = WKvO[2]\n C7Ls = oyIN.array([[AOlJ / epBp, ... | [
"0.7204146",
"0.7161563",
"0.7137607",
"0.6945314",
"0.6846861",
"0.6807029",
"0.6805112",
"0.6800759",
"0.67555934",
"0.6746696",
"0.66964614",
"0.6647964",
"0.6630759",
"0.662735",
"0.65643126",
"0.6545246",
"0.6529702",
"0.6496151",
"0.6484094",
"0.64782715",
"0.64662737",... | 0.65998924 | 14 |
Shorten some text by replacing the last part with a placeholder (such as '...') | def BjKP(l5Ny, RksB, HMZy='...'):
return TI0e.shorten(l5Ny, RksB, placeholder=str(HMZy)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t788(l5Ny, TVTK, HMZy='...'):\n if not l5Ny:\n return l5Ny\n if len(l5Ny) <= TVTK:\n return l5Ny\n return l5Ny[:max(0, TVTK - len(HMZy))] + HMZy",
"def wO2G(l5Ny: str, len: int=ztuo.MAX_COMPLETION_WIDTH, HMZy: str='...') -> str:\n return TI0e.shorten(l5Ny, width=len, placeholder=HMZ... | [
"0.8040905",
"0.7375624",
"0.6998188",
"0.69947475",
"0.6811686",
"0.6768379",
"0.67655003",
"0.6687179",
"0.6686307",
"0.6670293",
"0.66382575",
"0.6619677",
"0.66070294",
"0.65828997",
"0.6567249",
"0.6549428",
"0.6539329",
"0.65229625",
"0.65213466",
"0.6484976",
"0.648229... | 0.7840282 | 1 |
Get a string error message, or None. | def TbCE(YKHO):
return YKHO.__error | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rhwM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def rhwM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def rhwM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def rhwM(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'error_messag... | [
"0.80384296",
"0.80384296",
"0.80384296",
"0.78417367",
"0.7679189",
"0.7679189",
"0.7660805",
"0.75734717",
"0.7543078",
"0.7498738",
"0.7498738",
"0.7398518",
"0.7398518",
"0.7398518",
"0.7398518",
"0.7327059",
"0.7242047",
"0.71799976",
"0.71605647",
"0.7092759",
"0.709275... | 0.0 | -1 |
Get a string error message, or None. | def TbCE(YKHO):
return YKHO.__error | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rhwM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def rhwM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def rhwM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def rhwM(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'error_messag... | [
"0.80384296",
"0.80384296",
"0.80384296",
"0.78417367",
"0.7679189",
"0.7679189",
"0.7660805",
"0.75734717",
"0.7543078",
"0.7498738",
"0.7498738",
"0.7398518",
"0.7398518",
"0.7398518",
"0.7398518",
"0.7327059",
"0.7242047",
"0.71799976",
"0.71605647",
"0.7092759",
"0.709275... | 0.0 | -1 |
Get the value of the lastBuildTime field as a double. | def IjhG(YKHO):
return YKHO.__current | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cV9T(YKHO) -> float:\n return YKHO._device.last_update",
"def m7L9(YKHO):\n return float(YKHO.curr_time)",
"def xOZo(YKHO):\n return float",
"def BVSY(YKHO):\n return YKHO._get_build_number('lastBuild')",
"def ILrs(YKHO):\n return YKHO.coordinator.data.get('last_reading_watt_hours') * 60... | [
"0.64348793",
"0.6324582",
"0.62415314",
"0.6183229",
"0.61200047",
"0.6085814",
"0.6074982",
"0.60595614",
"0.6056708",
"0.60492605",
"0.60442376",
"0.6001413",
"0.5989665",
"0.5979451",
"0.5972683",
"0.5970228",
"0.59388417",
"0.59366494",
"0.59269476",
"0.59118783",
"0.590... | 0.0 | -1 |
Gets first_name out of lead traveller | def fz1W(YKHO):
if YKHO.first_name == '':
YKHO.get_lead_traveller()
return YKHO.first_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fz1W(YKHO):\n return YKHO.first_name",
"def fz1W(YKHO) -> str:\n return YKHO.first_name",
"def c9ua(YKHO) -> str:\n return qe4Y.get(YKHO, 'first_name')",
"def fz1W(YKHO):\n return YKHO._first_name",
"def uzvr(YKHO):\n if YKHO.lead_traveller == '':\n j13v = YKHO.request_xml.get_ele... | [
"0.7297294",
"0.7196719",
"0.70801073",
"0.7053723",
"0.70258844",
"0.680422",
"0.678607",
"0.6741328",
"0.6722084",
"0.6719087",
"0.6719087",
"0.6719087",
"0.6719087",
"0.6719087",
"0.6719087",
"0.6719087",
"0.67102003",
"0.67102003",
"0.67087054",
"0.6707522",
"0.6689122",
... | 0.8168203 | 0 |
Gets last_name out of lead traveller | def CCKR(YKHO):
if YKHO.last_name == '':
YKHO.get_lead_traveller()
return YKHO.last_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CCKR(YKHO):\n return YKHO.last_name",
"def CCKR(YKHO) -> str:\n return YKHO.last_name",
"def CCKR(YKHO):\n return YKHO._last_name",
"def zp3f(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_name')",
"def CCKR(YKHO):\n return YKHO._last_name",
"def jBHA(YKHO):\n return YKHO._lastname",
... | [
"0.73799443",
"0.7251056",
"0.7205959",
"0.70809186",
"0.70621955",
"0.6875998",
"0.68663734",
"0.68280697",
"0.67782044",
"0.6756196",
"0.6756196",
"0.67532665",
"0.6750001",
"0.6727901",
"0.6727901",
"0.6727901",
"0.6727901",
"0.6727901",
"0.6702631",
"0.66997766",
"0.66997... | 0.8013057 | 0 |
Gets last_name out of lead traveller | def u1wi(YKHO):
if YKHO.traveller_identifier == '':
YKHO.get_lead_traveller()
return YKHO.traveller_identifier | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CCKR(YKHO):\n if YKHO.last_name == '':\n YKHO.get_lead_traveller()\n return YKHO.last_name",
"def CCKR(YKHO):\n return YKHO.last_name",
"def CCKR(YKHO) -> str:\n return YKHO.last_name",
"def CCKR(YKHO):\n return YKHO._last_name",
"def zp3f(YKHO) -> str:\n return qe4Y.get(YKHO, ... | [
"0.8013057",
"0.73799443",
"0.7251056",
"0.7205959",
"0.70809186",
"0.70621955",
"0.6875998",
"0.68663734",
"0.68280697",
"0.67782044",
"0.6756196",
"0.6756196",
"0.67532665",
"0.6750001",
"0.6727901",
"0.6727901",
"0.6727901",
"0.6727901",
"0.6727901",
"0.6702631",
"0.669977... | 0.58687425 | 65 |
Gets mobile out of ContactDetail | def PJzQ(YKHO):
if YKHO.mobile == '':
YKHO.get_contact_detail()
return YKHO.mobile | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bl59(YKHO):\n if YKHO.contact_detail == '':\n YKHO.contact_detail = YKHO.request_xml.get_element(YKHO.booking_mapping['contact_detail']['tag'])\n if YKHO.contact_detail:\n type = YKHO.get_element_text('ContactType', YKHO.contact_detail)\n if type == 'MOBILE':\n ... | [
"0.67184025",
"0.6386281",
"0.6371329",
"0.63613737",
"0.6312548",
"0.62899363",
"0.62545174",
"0.6247271",
"0.62262154",
"0.617628",
"0.6125294",
"0.6063993",
"0.60620904",
"0.60580474",
"0.59448695",
"0.5921083",
"0.5921083",
"0.5921083",
"0.5921083",
"0.5921083",
"0.591050... | 0.7754101 | 0 |
Returns StartDate converted from 'YYYYMMDD' to 'DDMMMYYYY | def nUNa(YKHO):
if YKHO.start_date == '':
kepv = YKHO.request_xml.get_element_text(YKHO.availability_mapping['start_date']['tag'])
if kepv:
try:
YKHO.start_date = v2GL(kepv, '%Y-%m-%d', '%Y-%b-%d')
except ValueError:
YKHO.start_date = ''
re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kepv(YKHO):\n YKHO.format_date()\n _c1T = str(YKHO.df['Date'].min())\n lO87 = int(_c1T[:4])\n x0eS = int(_c1T[4:6])\n CjKC = int(_c1T[6:])\n kepv = qcWV.datetime(lO87, x0eS, CjKC)\n return kepv",
"def _UzY(YKHO, ogmi):\n if isinstance(ogmi, str):\n xzST = wvEv.parse(ogmi).repla... | [
"0.69638675",
"0.66987425",
"0.6629126",
"0.6444436",
"0.64434654",
"0.63476956",
"0.63474786",
"0.6338871",
"0.62392414",
"0.6207303",
"0.6122882",
"0.6114024",
"0.6052281",
"0.59440243",
"0.5922823",
"0.59165996",
"0.5904829",
"0.5889419",
"0.58839977",
"0.5878291",
"0.5873... | 0.6326302 | 8 |
Retrieves TRAVELER INFORMATION to get FIRST AND LAST NAME | def uzvr(YKHO):
if YKHO.lead_traveller == '':
j13v = YKHO.request_xml.get_element_list(YKHO.booking_mapping['lead_traveller']['tag'])
if j13v:
YKHO.lead_traveller = j13v
for jfSi in j13v:
Zp6z = YKHO.request_xml.get_element_text('LeadTraveller', jfSi)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iF4_(YKHO):\n return f'{YKHO.first_name} {YKHO.last_name}'",
"def W0tD(YKHO):\n return YKHO.first_name + ' ' + YKHO.last_name",
"def fz1W(YKHO):\n return YKHO.first_name",
"def mWFP(YKHO):\n return YKHO.first_name + ' ' + YKHO.last_name",
"def W0tD(YKHO):\n return '%s %s' % (YKHO.firstna... | [
"0.6767862",
"0.6307577",
"0.6303279",
"0.6298451",
"0.62807167",
"0.6227698",
"0.6194247",
"0.61288476",
"0.6100496",
"0.6083035",
"0.606699",
"0.6047007",
"0.6047007",
"0.6013662",
"0.59998477",
"0.59541637",
"0.5954105",
"0.5949829",
"0.5947519",
"0.5912799",
"0.589741",
... | 0.0 | -1 |
Eliminate all the other values (except d) from values[s] and propagate. Return values, except return False if a contradiction is detected. | def bD1G(hkxX, KCHu, Csk6):
"""heuristic:
(1) If a square has only one possible value, then eliminate that value from the square's peers.
(2) If a unit has only one possible place for a value, then put the value there.
"""
Zlmx = hkxX[KCHu].replace(Csk6, '')
if all((zJeh(hkxX, KCHu, _sQW) for _... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zJeh(YKHO, hkxX, KCHu, Csk6):\n if Csk6 not in hkxX[KCHu]:\n return hkxX\n hkxX[KCHu] = hkxX[KCHu].replace(Csk6, '')\n if len(hkxX[KCHu]) == 0:\n return False\n elif len(hkxX[KCHu]) == 1:\n _sQW = hkxX[KCHu]\n if not all((YKHO.eliminate(hkxX, Nqp_, _sQW) for Nqp_ in YKHO... | [
"0.70317787",
"0.7010059",
"0.69152725",
"0.68623763",
"0.68160135",
"0.68002176",
"0.630955",
"0.620684",
"0.61583734",
"0.6129865",
"0.60842544",
"0.6006443",
"0.5941839",
"0.5935979",
"0.58846277",
"0.5806185",
"0.5795936",
"0.57019633",
"0.56704956",
"0.5670141",
"0.56674... | 0.59390986 | 13 |
Gets the host_prefix of this ComDayCqWorkflowImplEmailEMailNotificationServiceProperties. | def apBi(YKHO) -> w4ot:
return YKHO._host_prefix | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def y0cW(YKHO) -> w4ot:\n return YKHO._prefix",
"def aFBU(YKHO) -> str:\n return qe4Y.get(YKHO, 'dns_prefix')",
"def aFBU(YKHO) -> str:\n return qe4Y.get(YKHO, 'dns_prefix')",
"def Jk_C(YKHO) -> w4ot:\n return YKHO._path_prefix",
"def J2sF(YKHO) -> w4ot:\n return YKHO._externalizer_host",
... | [
"0.64597654",
"0.64200747",
"0.64200747",
"0.62715656",
"0.6221699",
"0.62171614",
"0.62171614",
"0.6164026",
"0.61091846",
"0.6108812",
"0.61024284",
"0.61024284",
"0.6101296",
"0.60933965",
"0.60863984",
"0.60720325",
"0.6068796",
"0.6062215",
"0.60602605",
"0.60404944",
"0... | 0.76865524 | 0 |
Gets the notify_onabort of this ComDayCqWorkflowImplEmailEMailNotificationServiceProperties. | def t9SY(YKHO) -> MH_9:
return YKHO._notify_onabort | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t9SY(YKHO, t9SY: ConfigNodePropertyBoolean):\n YKHO._notify_onabort = t9SY",
"def XBMi():\n return jvHI('emails_to_notify', DNVW)",
"def MVYD(YKHO) -> qe4Y.Output[h8nf['outputs.AbortConfigProperties']]:\n return qe4Y.get(YKHO, 'abort_config')",
"def MVYD(YKHO) -> h8nf[qe4Y.Input['AbortConfigProp... | [
"0.6370394",
"0.5094514",
"0.5052821",
"0.49492082",
"0.4862626",
"0.4760208",
"0.4717582",
"0.46909225",
"0.44985783",
"0.44656596",
"0.4432297",
"0.44229308",
"0.4409024",
"0.4382398",
"0.4345652",
"0.43232644",
"0.43210286",
"0.43197036",
"0.43190295",
"0.4258211",
"0.4223... | 0.60585415 | 1 |
Gets the notify_useronly of this ComDayCqWorkflowImplEmailEMailNotificationServiceProperties. | def rODQ(YKHO) -> MH_9:
return YKHO._notify_useronly | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rODQ(YKHO, rODQ: ConfigNodePropertyBoolean):\n YKHO._notify_useronly = rODQ",
"def rNrN(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'notifications_enabled')",
"def rNrN(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'notifications_enabled')",
"def rNrN(YKHO) -> h8nf[qe4Y.... | [
"0.6760451",
"0.58921576",
"0.5874599",
"0.5874599",
"0.58100075",
"0.5713575",
"0.5523861",
"0.54716235",
"0.5393886",
"0.538398",
"0.53814906",
"0.5250071",
"0.5209914",
"0.5125632",
"0.5102738",
"0.50828665",
"0.50828665",
"0.5079961",
"0.5078408",
"0.5074363",
"0.50704384... | 0.67220736 | 1 |
Sets the notify_useronly of this ComDayCqWorkflowImplEmailEMailNotificationServiceProperties. | def rODQ(YKHO, rODQ: ConfigNodePropertyBoolean):
YKHO._notify_useronly = rODQ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _hcd(YKHO, _hcd):\n if _hcd is None:\n raise ValueError('Invalid value for `notify_user`, must not be `None`')\n YKHO._notify_user = _hcd",
"def rODQ(YKHO) -> MH_9:\n return YKHO._notify_useronly",
"def gtMf(YKHO, gtMf):\n if YKHO.local_vars_configuration.client_side_validation and gtMf ... | [
"0.69624907",
"0.64392024",
"0.561846",
"0.54101187",
"0.5386748",
"0.53161377",
"0.51854783",
"0.5121065",
"0.5108968",
"0.50818545",
"0.5038208",
"0.502289",
"0.5019195",
"0.49585074",
"0.49529737",
"0.48889077",
"0.48428038",
"0.4835815",
"0.48323917",
"0.48284668",
"0.481... | 0.7999164 | 0 |
Create random string of the given size. | def DsQ5(zNig=16, gLiZ=vIwR.ascii_letters + vIwR.digits):
return ''.join((tuKI.choice(gLiZ) for bGrB in range(zNig))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TDq5(zNig):\n return ''.join((tuKI.choice(vIwR.ascii_lowercase + vIwR.ascii_uppercase + vIwR.digits) for bGrB in range(zNig)))",
"def BWvy(zNig):\n return ''.join((tuKI.choice(vIwR.ascii_uppercase + vIwR.digits) for bGrB in range(zNig)))",
"def E3Kp(zNig=8):\n return ''.join((tuKI.SystemRandom().c... | [
"0.891042",
"0.8709829",
"0.8656835",
"0.8571118",
"0.8539062",
"0.85338515",
"0.8508234",
"0.85007787",
"0.8265162",
"0.8202875",
"0.8201355",
"0.8200654",
"0.8173574",
"0.8140981",
"0.8124493",
"0.8123098",
"0.81094694",
"0.80684423",
"0.79886264",
"0.78104544",
"0.77386963... | 0.8672251 | 2 |
Get application requirements from the requirements.txt file. | def Ks_v(Ux0P):
with open(Ux0P, 'r', encoding='utf-16') as qv1X:
fA3L = qv1X.readlines()
c0tL = [Mkmy.strip() for Mkmy in fA3L if Mkmy.find('git+') != 0]
return c0tL | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def O1OY():\n with open('requirements.txt') as J0RQ:\n return J0RQ.read().splitlines()",
"def O1OY():\n kbO9 = []\n with open('requirements.txt', 'r') as ytgA:\n zFiD = ytgA.readline()\n while zFiD:\n kbO9.append(zFiD.strip())\n zFiD = ytgA.readline()\n retu... | [
"0.81287163",
"0.7927616",
"0.7858074",
"0.7848775",
"0.78475565",
"0.7845405",
"0.78405404",
"0.78107834",
"0.77328557",
"0.7677933",
"0.76096857",
"0.74978435",
"0.7425493",
"0.7419248",
"0.73872674",
"0.73682094",
"0.7319138",
"0.73006284",
"0.7260958",
"0.72562444",
"0.72... | 0.7084618 | 31 |
Create an token identifier > token dict from the database | def Xifh(YKHO, w2B8):
N1p7 = w2B8.cursor()
N1p7.execute('SELECT identifier, token FROM pos_tokens_gimpel')
U5bT = {}
for Ilxn, eOtH in N1p7.fetchall():
U5bT[Ilxn] = eOtH
return U5bT | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qgjr(eOtH):\n w2B8 = iHv3.connect('robinhood.db')\n oUZx = \"INSERT INTO device_token (token, user_id) VALUES ('{}', 1);\".format(eOtH)\n N1p7 = w2B8.execute(oUZx)\n w2B8.commit()\n w2B8.close()\n return N1p7.lastrowid",
"def eLpg(YKHO, nPrm):\n eOtH, _EYN = _J2v.objects.get_or_cre... | [
"0.66474485",
"0.6517642",
"0.6517642",
"0.6502217",
"0.64153737",
"0.64153737",
"0.6386328",
"0.63721454",
"0.6346249",
"0.62497866",
"0.62234974",
"0.62020934",
"0.61555886",
"0.59966815",
"0.5912438",
"0.5873858",
"0.5842061",
"0.58194476",
"0.57717574",
"0.576204",
"0.574... | 0.591481 | 14 |
Given a pair of lat/lon coordinates on Earth (in degrees), return the distance between them (in nautical miles). It uses the haversine formula to estimate the distance. | def WWYU(mAYH, pks6):
igSk, GgQG, TGuP, tk0B = map(epAf.radians, (*mAYH, *pks6))
M7G_ = TGuP - igSk
ybRb = tk0B - GgQG
Bz9A = epAf.sin(M7G_ / 2) ** 2
XToE = epAf.sin(ybRb / 2) ** 2
return 2 * Ec0r * epAf.asin(epAf.sqrt(Bz9A + epAf.cos(igSk) * epAf.cos(TGuP) * XToE)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RQCg(GgQG, igSk, tk0B, TGuP):\n r1VO = 6371.0 * 1000.0\n n_9K = Y_1E(TGuP - igSk)\n H91H = Y_1E(tk0B - GgQG)\n jzdc = YUNn(n_9K / 2.0) ** 2 + YhSR(Y_1E(igSk)) * YhSR(Y_1E(TGuP)) * YUNn(H91H / 2.0) ** 2.0\n Csk6 = 2.0 * r1VO * epAf.asin(PZyS(jzdc))\n return Csk6",
"def pS8a(igSk, GgQG, TGuP,... | [
"0.7983534",
"0.7983488",
"0.79358906",
"0.7889844",
"0.7869853",
"0.78361845",
"0.78044933",
"0.7799743",
"0.77928257",
"0.7790479",
"0.77459127",
"0.7739698",
"0.77159995",
"0.76987994",
"0.76671517",
"0.7662513",
"0.76620865",
"0.7659712",
"0.76576084",
"0.76575255",
"0.76... | 0.0 | -1 |
Return the expression used by this assumption. | def VN2L(YKHO):
return YKHO._args[0] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lsX7(YKHO):\n return YKHO._get_expression()",
"def lsX7(YKHO):\n return YKHO._expression",
"def lsX7(YKHO):\n return YKHO._expression",
"def lsX7(YKHO):\n return YKHO._expression",
"def lsX7(YKHO):\n return YKHO.potential_expression_.expression",
"def caYN(YKHO):\n return YKHO.expre... | [
"0.78732294",
"0.78140074",
"0.78140074",
"0.78140074",
"0.7794271",
"0.77454877",
"0.77126265",
"0.77126265",
"0.75971156",
"0.75099206",
"0.7338145",
"0.72776794",
"0.72776794",
"0.72776794",
"0.72776794",
"0.72776794",
"0.72776794",
"0.72776794",
"0.72776794",
"0.72776794",
... | 0.7121543 | 44 |
Displays statistics on the most frequent times of travel. | def dWJR(jQ3Z):
print('\nCalculating The Most Frequent Times of Travel...')
SWox = ITS7.time()
if jQ3Z['month'].isnull().all():
print('\nThere is no data for the month chosen. Cannot calculate most common month.')
else:
print('\nMost common month(s):')
for E6mv in jQ3Z['month'].m... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dWJR(jQ3Z):\n print('\\nCalculating The Most Frequent Times of Travel...\\n')\n SWox = ITS7.time()\n print('The most common month of travel is: {} '.format(jQ3Z.Month.mode()[0]))\n print('The most common day of travel is: {} '.format(jQ3Z.Day.mode()[0]))\n print('The most common hour of travel i... | [
"0.79996175",
"0.7920857",
"0.7891767",
"0.78612196",
"0.785926",
"0.7838814",
"0.779974",
"0.77848285",
"0.7735119",
"0.7723049",
"0.771342",
"0.7708436",
"0.770453",
"0.77017164",
"0.7689714",
"0.7685842",
"0.7680146",
"0.76788265",
"0.76721054",
"0.7661351",
"0.7660023",
... | 0.0 | -1 |
Displays statistics on the most popular stations and trip. | def Huc_(jQ3Z):
print('\nCalculating The Most Popular Stations and Trip...')
SWox = ITS7.time()
if jQ3Z['Start Station'].isnull().all():
print('\nThere is no data for the start station. Cannot calculate most commonly used start station.')
else:
print('\nMost commonly used start station(s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations and Trip...\\n')\n SWox = ITS7.time()\n v6Be(jQ3Z)\n BeYU(jQ3Z)\n O6Ct(jQ3Z)\n print('\\nThis took %s seconds.' % (ITS7.time() - SWox))\n print('-' * 40)",
"def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations ... | [
"0.7665365",
"0.76264536",
"0.7610902",
"0.75852126",
"0.7576492",
"0.7567089",
"0.75577486",
"0.7538181",
"0.75294757",
"0.7502035",
"0.74997437",
"0.7496321",
"0.74872565",
"0.74840283",
"0.7475714",
"0.7472988",
"0.7437631",
"0.74366206",
"0.7433223",
"0.7428372",
"0.74269... | 0.0 | -1 |
Displays statistics on the total and average trip duration. | def kDMA(jQ3Z):
print('\nCalculating Trip Duration...')
SWox = ITS7.time()
if jQ3Z['Trip Duration'].isnull().all():
print('\nThere is no data for trip duration. Cannot calculate total travel time.')
else:
print('\nTotal travel time (in minutes):', round(jQ3Z['Trip Duration'].sum() / 60, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kDMA(dMlt):\n print('\\nCalculating Trip Duration...\\n')\n SWox = ITS7.time()\n qZ1g = dMlt['Trip Duration'].sum()\n print('The total travel time is ', qZ1g, ' seconds.')\n NPSF = dMlt['Trip Duration'].mean()\n print('The average travel time is ', NPSF, ' seconds.')\n print('\\nThis took ... | [
"0.8252095",
"0.8146775",
"0.8097095",
"0.80126446",
"0.79879653",
"0.79831284",
"0.7978518",
"0.7970333",
"0.7965546",
"0.7963726",
"0.7961668",
"0.79615265",
"0.79524153",
"0.7949122",
"0.7944759",
"0.7923721",
"0.79203206",
"0.7919978",
"0.79188186",
"0.7917697",
"0.791166... | 0.7938008 | 15 |
Apply numerical imputation on the given features | def FIMM(YKHO, ZLJ_, **B2fa):
YKHO.cols = ZLJ_
YKHO.imp = acJG(**B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zpjQ(EvQg, QOe9, eAYh):\n ADw0 = eAYh.fit_transform(EvQg)\n _Us6 = eAYh.transform(QOe9)\n return (ADw0, _Us6)",
"def ngj5():\n d9NH = zBcB(missing_values=oyIN.nan, strategy='mean')\n d9NH.fit([[7, 2, 3], [4, oyIN.nan, 6], [10, 5, 9]])\n zBcB()\n EcVT = [[oyIN.nan, 2, 3], [4, oyIN.nan, 6]... | [
"0.68027025",
"0.66161454",
"0.64578795",
"0.6393157",
"0.6351558",
"0.63441277",
"0.63211906",
"0.6305338",
"0.6294684",
"0.6278946",
"0.6276087",
"0.6269656",
"0.62593186",
"0.62475306",
"0.6229743",
"0.6209349",
"0.62083244",
"0.61997765",
"0.61179286",
"0.6076076",
"0.606... | 0.53624856 | 85 |
This function should build an sklearn.pipeline.Pipeline object to train and evaluate a model on a pandas DataFrame. The pipeline should end with a custom Estimator that wraps a TensorFlow model. See the README for details. | def vzhO():
VwMS = ['education']
ulBT = ['age', 'fnlwgt', 'education-num', 'capital-gain', 'capital-loss', 'hours-per-week']
R8Ph = ['workclass', 'marital-status', 'occupation', 'relationship', 'race', 'sex', 'native-country']
QDCQ = aQo7(['target'], errors='ignore')
ReNU = aQo7(VwMS)
Id6c = B9t... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n8cN(GVWp):\n bo34.info('attempting to fit model')\n return nPIK",
"def EvQg(__n6: Dict[str, pd.DataFrame], NArs: str, j3aw: str='winequality') -> None:\n x4W3 = __n6['train']\n Dmme = __n6['test']\n VJv0 = x4W3['quality']\n cC56 = x4W3.drop('quality', axis=1)\n H96n = Dmme['quality']\n ... | [
"0.78448874",
"0.69646055",
"0.6832698",
"0.68306786",
"0.6827066",
"0.6803356",
"0.6798262",
"0.6789601",
"0.67006606",
"0.668103",
"0.66711724",
"0.66638595",
"0.6646817",
"0.66380763",
"0.6629396",
"0.66274726",
"0.6608328",
"0.65838736",
"0.65794873",
"0.6573576",
"0.6567... | 0.6593731 | 17 |
Computes length for every chord (segment) of a curve Notes ``euclidean`` metric is used to compute segment lengths | def yC3G(AdZ9: 'Curve') -> oyIN.ndarray:
if not AdZ9:
return oyIN.ndarray([], dtype=oyIN.float64)
return oyIN.sqrt(oyIN.sum(oyIN.diff(AdZ9.data, axis=0) ** 2, axis=1)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E89N(YKHO):\n YKHO._update_edges()\n return oyIN.linalg.norm(YKHO.leading_edge - YKHO.trailing_edge)",
"def u54L(hTWD):\n o4D3, si3g = [hTWD[0], hTWD[1]]\n ajwV, skBL = [hTWD[2], hTWD[3]]\n Jw7X = ajwV - o4D3\n eUWA = skBL - si3g\n return (Jw7X * Jw7X + eUWA * eUWA) ** 0.5",
"def gfQA(... | [
"0.71851933",
"0.6924581",
"0.68429756",
"0.67132384",
"0.64603126",
"0.644564",
"0.6430662",
"0.63777786",
"0.6373746",
"0.6307981",
"0.6259187",
"0.62170947",
"0.6141148",
"0.6114702",
"0.61078656",
"0.61021554",
"0.6086907",
"0.60824984",
"0.60803294",
"0.6076479",
"0.6056... | 0.7050435 | 1 |
r"""Returns normal vector at the curve points | def mhAC(YKHO: ty.Union['Curve', 'CurvePoint']) -> oyIN.ndarray:
AdZ9 = YKHO
if not AdZ9:
return oyIN.array([], ndmin=AdZ9.ndim, dtype=oyIN.float64)
b6lf = AdZ9.secondderiv
TP50 = AdZ9.frenet1
return b6lf - ozUP(b6lf, TP50)[:, oyIN.newaxis] * TP50 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iSV7(YKHO):\n hQHm = YKHO.points[0].vector3D\n jlSq = YKHO.points[1].vector3D\n bUZ8 = YKHO.points[2].vector3D\n pO9Q = jlSq - hQHm\n yzPe = bUZ8 - hQHm\n q0Kk = oyIN.cross(pO9Q, yzPe)\n if q0Kk[-1] < 0:\n q0Kk = oyIN.cross(yzPe, pO9Q)\n return q0Kk / 2",
"def vj0b(WKvO, LVAh):... | [
"0.7818146",
"0.77922755",
"0.7672004",
"0.75562423",
"0.75435716",
"0.743751",
"0.73720646",
"0.73530793",
"0.7352995",
"0.7291457",
"0.729119",
"0.72742957",
"0.72209346",
"0.7192752",
"0.7181945",
"0.71084106",
"0.70924884",
"0.7066185",
"0.7036332",
"0.70184785",
"0.69882... | 0.7784847 | 2 |
Remove all xml tags from text. | def vyL5(l5Ny: str):
G5Sp = YxKL(text=l5Ny)
return GXnK.tostring(GXnK.fromstring(f'<wrap>{G5Sp}</wrap>'.encode('utf-8')), method='text', encoding='utf-8').decode('utf-8') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def as8h(l5Ny):\n TKMu = ZbWC.sub('<[^>]+>', '', l5Ny)\n return ZbWC.sub('\\\\s+', ' ', TKMu).strip()",
"def JZhs(l5Ny):\n x0SS = ZbWC.compile('<.*?>')\n return ZbWC.sub(x0SS, '', l5Ny)",
"def as8h(l5Ny):\n jU2M = ZbWC.compile('<([\\\\s\\\\S]*?)>')\n kUBT = jU2M.findall(l5Ny)\n for r8hN in... | [
"0.7909004",
"0.7778492",
"0.7768315",
"0.77580184",
"0.77580184",
"0.7533079",
"0.7525537",
"0.7525537",
"0.7503094",
"0.74933714",
"0.74933714",
"0.74933714",
"0.747721",
"0.74731934",
"0.7472325",
"0.7472325",
"0.7472325",
"0.7472325",
"0.7472325",
"0.7472325",
"0.74110496... | 0.82302535 | 0 |
Returns n! computed recursively. | def TFEx(exwG):
if exwG > 1:
return exwG * TFEx(exwG - 1)
else:
return 1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def znBS(exwG):\n if exwG < 2:\n return 1\n return exwG * znBS(exwG - 1)",
"def _n43(exwG):\n UHFx = 1\n if exwG == 1:\n print(int(exwG))\n return UHFx\n elif exwG % 2 == 0:\n print(int(exwG))\n UHFx += _n43(exwG / 2)\n else:\n print(int(exwG))\n ... | [
"0.7748405",
"0.7302348",
"0.72219604",
"0.7148158",
"0.7068771",
"0.70422614",
"0.7041137",
"0.7040405",
"0.7017687",
"0.69879436",
"0.6968334",
"0.69679034",
"0.6930088",
"0.69290143",
"0.692293",
"0.69132304",
"0.6895133",
"0.6854659",
"0.68462753",
"0.6837909",
"0.6818315... | 0.6459418 | 100 |
Initialize a new instance of Tracing | def FIMM(YKHO, x0hE: Union['ConnectionType', 'SessionType']) -> None:
YKHO.client: uLKX['ConnectionType', 'SessionType'] = x0hE | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, sN4Y=None):\n if sN4Y:\n YKHO.tracing_files = sN4Y\n else:\n YKHO.tracing_files = list()",
"def FIMM(YKHO):\n import logging\n YKHO.env = GikI()\n YKHO.indices = _0VL()",
"def FIMM(YKHO):\n super(iXvz, YKHO).__init__()\n YKHO._logger = qcZb()",
"def FjwZ(ekCf... | [
"0.70120645",
"0.66724104",
"0.66549057",
"0.66510665",
"0.66376907",
"0.663592",
"0.6572548",
"0.6418011",
"0.6360117",
"0.6358444",
"0.6340973",
"0.6314304",
"0.6259188",
"0.6259146",
"0.62557524",
"0.62523377",
"0.6244543",
"0.622861",
"0.6214044",
"0.62108",
"0.6189339",
... | 0.0 | -1 |
Gets supported tracing categories. | def zG33(YKHO) -> ld92[cuzp]:
return YKHO.client.send('Tracing.getCategories', {}) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mkJf(YKHO, g2g3):\n azoT = YKHO.entity_attributes(g2g3)\n return azoT.get(_gDl, [])",
"def LQuW(YKHO):\n return Ivh1(YKHO.wikitext)",
"def gk4j(YKHO):\n if YKHO.taxonomies is not None:\n LeZt = YKHO.taxonomies.get('categories') or []\n for Z9rn in LeZt:\n if Z9rn.get('m... | [
"0.6390364",
"0.6125058",
"0.6047676",
"0.60461277",
"0.60403377",
"0.59169924",
"0.5888321",
"0.5877089",
"0.5842692",
"0.5833269",
"0.58318377",
"0.5814284",
"0.5808589",
"0.5791204",
"0.577676",
"0.5757988",
"0.5748961",
"0.57270175",
"0.56987107",
"0.5671099",
"0.5662356"... | 0.6829463 | 0 |
Get the psycopg2 object ID of a data type. | def daqq(type):
N1p7 = UzPC.cursor()
N1p7.execute('SELECT NULL::%s' % type)
IybC = N1p7.description[0][1]
return IybC | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def unpH(YKHO):\n return YKHO.name",
"def GInC(YKHO, l87X):\n try:\n EhYO = int(l87X)\n return EhYO\n except ValueError:\n pass\n Aofo = YKHO.select.read('Type', columns=['Type_ID'], where=[['Type', 'like', l87X]])\n if Aofo.with_rows:\n return Aofo.fetchone()['Type_ID'... | [
"0.68892723",
"0.67595243",
"0.6712765",
"0.66682625",
"0.656394",
"0.6541564",
"0.6482655",
"0.6389905",
"0.6150514",
"0.6131805",
"0.60930663",
"0.6092906",
"0.6089334",
"0.59835494",
"0.5977788",
"0.5969024",
"0.59361583",
"0.593358",
"0.591647",
"0.59008336",
"0.5892496",... | 0.64572734 | 7 |
Add a vertex to this tessellator, storing data for later lookup | def b3QW(YKHO, Rci7, nPrm=None):
E5ng = getattr(YKHO, 'vertexCache', None)
if E5ng is None:
YKHO.vertexCache = []
E5ng = YKHO.vertexCache
Rci7 = Sk_F.GLdoubleArray.asArray(Rci7, FfRn.GL_DOUBLE)
if Sk_F.GLdoubleArray.arraySize(Rci7) != 3:
raise ValueError('Require 3 doubles for ar... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohmD(YKHO):\n pass",
"def ohmD(YKHO, SLBp):\n YKHO.vertices.append(SLBp)",
"def ohmD(YKHO, Ty9i):\n pass",
"def ohmD(YKHO, SLBp):\n Ty9i = Yegm(SLBp)\n YKHO._vertices[SLBp] = Ty9i",
"def ohmD(YKHO, SLBp):\n Ty9i = Yegm(SLBp)\n YKHO._vertices[SLBp] = Ty9i",
"def ohmD(YKHO, SLBp):\... | [
"0.810549",
"0.78968716",
"0.7836107",
"0.78255033",
"0.78255033",
"0.78255033",
"0.78255033",
"0.78255033",
"0.77027714",
"0.75519645",
"0.7547232",
"0.7547232",
"0.75381166",
"0.7483055",
"0.7456235",
"0.7393427",
"0.73885214",
"0.73821044",
"0.73725486",
"0.7362459",
"0.73... | 0.0 | -1 |
Returns whether agents are colliding. Collisions happens if agent collide amongst themselves or with world objects. | def Hpnv(YKHO, lh34, PSWn, yv7y, gKJE):
nhfz = [True, True]
WnNo = tuple(oyIN.asarray(lh34) + oyIN.asarray(yv7y))
if YKHO.world.get_gridsquare_at(location=WnNo).collidable:
WnNo = lh34
Jkji = tuple(oyIN.asarray(PSWn) + oyIN.asarray(gKJE))
if YKHO.world.get_gridsquare_at(location=Jkji).collid... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aiHG(YKHO):\n return YKHO.collidable",
"def WEbb(YKHO):\n return YKHO.npc_manager.check_collision(YKHO.agent.bounding_box)",
"def wND7(YKHO, Elif: Collidable2D) -> bool:\n if not YKHO.does_collide or YKHO._hitbox_type is None or YKHO._hitbox_type.lower() == 'none':\n return False\n retur... | [
"0.736763",
"0.7125906",
"0.7056165",
"0.6950555",
"0.6878928",
"0.64685136",
"0.63953984",
"0.6379375",
"0.6373025",
"0.6341297",
"0.6310657",
"0.6302742",
"0.6290215",
"0.6280906",
"0.6279905",
"0.62619454",
"0.6258592",
"0.62470746",
"0.62470746",
"0.62257355",
"0.6207849"... | 0.65976423 | 5 |
Returns a basic triangle grid with 21 triangles, a hole and a tail. | def Q5Ft(bS7L):
Cs6h = bS7L
fz7m = ecZB('depth', location='node', data=list(range(1, 21)))
fz7m.attributes['units'] = 'unknown'
fz7m.attributes['standard_name'] = 'sea_floor_depth_below_geoid'
fz7m.attributes['positive'] = 'down'
Cs6h.add_data(fz7m)
return Cs6h | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tXIo():\n SxVy = oyIN.array([[2, 0], [1, oyIN.sqrt(3)]])\n eL5z = oyIN.array([[[0, 0], [2, 0], [1, oyIN.sqrt(3)]], [[2, 0], [1, oyIN.sqrt(3)], [3, oyIN.sqrt(3)]]])\n return (SxVy, eL5z)",
"def tXIo(exwG):\n G1Hx = 2 * exwG - 2\n for YRbF in range(0, exwG):\n for r845 in range(0, G1Hx):\... | [
"0.6515058",
"0.63054526",
"0.62703663",
"0.62477994",
"0.6241396",
"0.62362677",
"0.62057525",
"0.6193506",
"0.6193506",
"0.6158347",
"0.6144729",
"0.6141593",
"0.60960895",
"0.6085153",
"0.60843194",
"0.6076289",
"0.6076289",
"0.6076289",
"0.6051075",
"0.59724766",
"0.59715... | 0.57593685 | 38 |
Clone(itkFastMarchingImageFilterBaseIF2IF2 self) > itkFastMarchingImageFilterBaseIF2IF2_Pointer | def B29l(YKHO) -> 'itkFastMarchingImageFilterBaseIF2IF2_Pointer':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_Clone(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B29l(YKHO) -> 'itkFastMarchingImageFilterBaseIF3IF3_Pointer':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkUnaryGeneratorImageFilterIF2ICF2_Pointer':\n return HTmt.itkUnaryGeneratorImageFilterIF2ICF2_Clone(YKHO)",
"def B29l(YKHO) -> 'itkUnaryGeneratorImageFi... | [
"0.80454457",
"0.7859168",
"0.78197396",
"0.77794313",
"0.77132",
"0.76822",
"0.76547784",
"0.76363975",
"0.76230603",
"0.7607783",
"0.75982386",
"0.7574046",
"0.7555975",
"0.7541229",
"0.75278354",
"0.7512455",
"0.75114006",
"0.7499336",
"0.7463304",
"0.7447487",
"0.74424446... | 0.9325939 | 0 |
GetModifiableLabelImage(itkFastMarchingImageFilterBaseIF2IF2 self) > itkImageUC2 | def Jx95(YKHO) -> 'itkImageUC2 *':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetModifiableLabelImage(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v7fJ(YKHO, *qIxc) -> 'itkImageUC2 *':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetLabelImage(YKHO, *qIxc)",
"def Jx95(YKHO) -> 'itkImageUC3 *':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_GetModifiableLabelImage(YKHO)",
"def v7fJ(YKHO, *qIxc) -> 'itkImageUC3 *':\n return zrAt.itkF... | [
"0.8170596",
"0.7627539",
"0.7071083",
"0.64236474",
"0.63946134",
"0.63702124",
"0.6298278",
"0.62877184",
"0.6284087",
"0.6260778",
"0.62304217",
"0.62042075",
"0.61938995",
"0.616243",
"0.6153194",
"0.6117187",
"0.60954076",
"0.606657",
"0.60490847",
"0.60355735",
"0.60152... | 0.86251515 | 0 |
SetOutputRegion(itkFastMarchingImageFilterBaseIF2IF2 self, itkImageRegion2 _arg) | def _SnI(YKHO, THRx: 'itkImageRegion2') -> 'void':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_SetOutputRegion(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _SnI(YKHO, THRx: 'itkImageRegion3') -> 'void':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_SetOutputRegion(YKHO, THRx)",
"def ymZy(YKHO) -> 'itkImageRegion2 const &':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetOutputRegion(YKHO)",
"def Xvdg(YKHO, THRx: 'itkPointD2') -> 'void':\n ... | [
"0.81961673",
"0.7445179",
"0.73224837",
"0.7025164",
"0.67466694",
"0.66379744",
"0.6579248",
"0.652434",
"0.65171",
"0.6495968",
"0.6484518",
"0.6473536",
"0.6458082",
"0.6456254",
"0.63596684",
"0.6313895",
"0.6291728",
"0.6263939",
"0.6242462",
"0.6190902",
"0.6189289",
... | 0.9146768 | 0 |
GetOutputRegion(itkFastMarchingImageFilterBaseIF2IF2 self) > itkImageRegion2 | def ymZy(YKHO) -> 'itkImageRegion2 const &':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetOutputRegion(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _SnI(YKHO, THRx: 'itkImageRegion2') -> 'void':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_SetOutputRegion(YKHO, THRx)",
"def ymZy(YKHO) -> 'itkImageRegion3 const &':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_GetOutputRegion(YKHO)",
"def B29l(YKHO) -> 'itkFastMarchingImageFilterBaseIF... | [
"0.770385",
"0.74910253",
"0.66918164",
"0.6577391",
"0.6466646",
"0.6326215",
"0.6191568",
"0.61472195",
"0.60667545",
"0.6030465",
"0.59895945",
"0.5986675",
"0.5806862",
"0.58005977",
"0.5774301",
"0.5768585",
"0.5735224",
"0.5699897",
"0.5688684",
"0.5682647",
"0.5682078"... | 0.8588798 | 0 |
SetOutputSpacing(itkFastMarchingImageFilterBaseIF2IF2 self, itkVectorD2 _arg) | def rTLR(YKHO, THRx: 'itkVectorD2') -> 'void':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_SetOutputSpacing(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rTLR(YKHO, THRx: 'itkVectorD3') -> 'void':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_SetOutputSpacing(YKHO, THRx)",
"def rTLR(YKHO, THRx: 'itkVectorD2') -> 'void':\n return Z8Pz.itkChangeInformationImageFilterIF2_SetOutputSpacing(YKHO, THRx)",
"def rTLR(YKHO, THRx: 'itkVectorD2') -> 'void':\... | [
"0.8211686",
"0.8027199",
"0.7952748",
"0.78297883",
"0.7795728",
"0.759129",
"0.7556842",
"0.7391455",
"0.73625195",
"0.725081",
"0.71617514",
"0.71066755",
"0.68576837",
"0.67867893",
"0.67138714",
"0.66291034",
"0.6587834",
"0.652258",
"0.6518322",
"0.644066",
"0.64062274"... | 0.90823555 | 0 |
SetOverrideOutputInformation(itkFastMarchingImageFilterBaseIF2IF2 self, bool const _arg) | def IZyo(YKHO, THRx: 'bool const') -> 'void':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_SetOverrideOutputInformation(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IZyo(YKHO, THRx: 'bool const') -> 'void':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_SetOverrideOutputInformation(YKHO, THRx)",
"def ShKJ(YKHO) -> 'bool const &':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetOverrideOutputInformation(YKHO)",
"def _SnI(YKHO, THRx: 'itkImageRegion2') -... | [
"0.87181866",
"0.78137076",
"0.72488683",
"0.7197804",
"0.67860115",
"0.6688201",
"0.6541752",
"0.6419294",
"0.62541735",
"0.6249246",
"0.6245913",
"0.6242814",
"0.62311494",
"0.6160006",
"0.6064285",
"0.60428303",
"0.6026137",
"0.60206664",
"0.6003464",
"0.60018784",
"0.5982... | 0.9286483 | 0 |
GetOverrideOutputInformation(itkFastMarchingImageFilterBaseIF2IF2 self) > bool const & | def ShKJ(YKHO) -> 'bool const &':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetOverrideOutputInformation(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ShKJ(YKHO) -> 'bool const &':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_GetOverrideOutputInformation(YKHO)",
"def IZyo(YKHO, THRx: 'bool const') -> 'void':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_SetOverrideOutputInformation(YKHO, THRx)",
"def IZyo(YKHO, THRx: 'bool const') -> 'vo... | [
"0.8762509",
"0.7982345",
"0.7567465",
"0.6295095",
"0.6081024",
"0.60274845",
"0.59236",
"0.59216833",
"0.5921541",
"0.5858709",
"0.5821831",
"0.5809006",
"0.5808881",
"0.5753389",
"0.57469934",
"0.57467085",
"0.5744177",
"0.5742939",
"0.5732985",
"0.5729061",
"0.57287776",
... | 0.9200178 | 0 |
cast(itkLightObject obj) > itkFastMarchingImageFilterBaseIF2IF2 | def YWvJ(YEnM: 'itkLightObject') -> 'itkFastMarchingImageFilterBaseIF2IF2 *':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t2yj(YEnM: 'itkLightObject') -> 'itkFastMarchingImageFilterBaseIF2IF2 *':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_cast(YEnM)",
"def BVMF(YEnM: 'itkLightObject') -> 'itkFastMarchingStoppingCriterionBaseIF2IF2 *':\n return XEdo.itkFastMarchingStoppingCriterionBaseIF2IF2_cast(YEnM)",
"def YWv... | [
"0.8768053",
"0.81978047",
"0.8124189",
"0.7923269",
"0.7867584",
"0.78673047",
"0.7842897",
"0.7830157",
"0.7826709",
"0.7818921",
"0.78043526",
"0.77905756",
"0.777498",
"0.77392894",
"0.77243394",
"0.7724315",
"0.77153873",
"0.77045876",
"0.7703884",
"0.77017474",
"0.76977... | 0.8720723 | 1 |
New() > itkFastMarchingImageFilterBaseIF2IF2 Create a new object of the class itkFastMarchingImageFilterBaseIF2IF2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named pa... | def oW_4(*qIxc, **PECO):
YEnM = SztC.__New_orig__()
import itkTemplate
itkTemplate.New(YEnM, *qIxc, **PECO)
return YEnM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oW_4(*qIxc, **PECO):\n YEnM = J0Q7.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = MOc7.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.76812917",
"0.7366163",
"0.7281361",
"0.72072047",
"0.71916085",
"0.7185472",
"0.7178724",
"0.7177116",
"0.7172765",
"0.7167213",
"0.71553695",
"0.71309686",
"0.71309143",
"0.7128395",
"0.7127339",
"0.7110603",
"0.7101296",
"0.7097122",
"0.7095194",
"0.7091861",
"0.7084185... | 0.82054955 | 0 |
itkFastMarchingImageFilterBaseIF2IF2_cast(itkLightObject obj) > itkFastMarchingImageFilterBaseIF2IF2 | def t2yj(YEnM: 'itkLightObject') -> 'itkFastMarchingImageFilterBaseIF2IF2 *':
return zrAt.itkFastMarchingImageFilterBaseIF2IF2_cast(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkFastMarchingImageFilterBaseIF2IF2 *':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_cast(YEnM)",
"def BVMF(YEnM: 'itkLightObject') -> 'itkFastMarchingStoppingCriterionBaseIF2IF2 *':\n return XEdo.itkFastMarchingStoppingCriterionBaseIF2IF2_cast(YEnM)",
"def YWv... | [
"0.9110877",
"0.8633861",
"0.8441588",
"0.81418145",
"0.8103059",
"0.8072914",
"0.8070602",
"0.80471486",
"0.8025031",
"0.8015527",
"0.80055535",
"0.79990786",
"0.79874295",
"0.79852784",
"0.7953647",
"0.7950728",
"0.79318595",
"0.7930502",
"0.7926574",
"0.7919915",
"0.790657... | 0.92882824 | 0 |
Clone(itkFastMarchingImageFilterBaseIF3IF3 self) > itkFastMarchingImageFilterBaseIF3IF3_Pointer | def B29l(YKHO) -> 'itkFastMarchingImageFilterBaseIF3IF3_Pointer':
return zrAt.itkFastMarchingImageFilterBaseIF3IF3_Clone(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B29l(YKHO) -> 'itkUnaryGeneratorImageFilterICF3ICF3_Pointer':\n return HTmt.itkUnaryGeneratorImageFilterICF3ICF3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkUnaryGeneratorImageFilterIF3ICF3_Pointer':\n return HTmt.itkUnaryGeneratorImageFilterIF3ICF3_Clone(YKHO)",
"def B29l(YKHO) -> 'itkUnaryGeneratorImageFi... | [
"0.80485183",
"0.8024015",
"0.79645175",
"0.79481757",
"0.79330397",
"0.79172915",
"0.7906484",
"0.7894305",
"0.7867242",
"0.78418845",
"0.78313357",
"0.7827792",
"0.78244394",
"0.7816612",
"0.7796458",
"0.7788931",
"0.7769776",
"0.7758766",
"0.77567154",
"0.7746323",
"0.7722... | 0.9375004 | 0 |
GetModifiableLabelImage(itkFastMarchingImageFilterBaseIF3IF3 self) > itkImageUC3 | def Jx95(YKHO) -> 'itkImageUC3 *':
return zrAt.itkFastMarchingImageFilterBaseIF3IF3_GetModifiableLabelImage(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v7fJ(YKHO, *qIxc) -> 'itkImageUC3 *':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_GetLabelImage(YKHO, *qIxc)",
"def Jx95(YKHO) -> 'itkImageUC2 *':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetModifiableLabelImage(YKHO)",
"def v7fJ(YKHO, *qIxc) -> 'itkImageUC2 *':\n return zrAt.itkF... | [
"0.8409026",
"0.7690808",
"0.722097",
"0.6690691",
"0.65946776",
"0.6581352",
"0.65243626",
"0.6479536",
"0.6463442",
"0.6462161",
"0.6430304",
"0.63982934",
"0.63949466",
"0.6344892",
"0.6305857",
"0.63004506",
"0.6290489",
"0.6262109",
"0.6255301",
"0.6239529",
"0.6238658",... | 0.8915324 | 0 |
GetOutputSize(itkFastMarchingImageFilterBaseIF3IF3 self) > itkSize3 | def tTgA(YKHO) -> 'itkSize3':
return zrAt.itkFastMarchingImageFilterBaseIF3IF3_GetOutputSize(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tTgA(YKHO) -> 'itkSize2':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_GetOutputSize(YKHO)",
"def h2iC(YKHO, zNig: 'itkSize3') -> 'void':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_SetOutputSize(YKHO, zNig)",
"def ShKJ(YKHO) -> 'bool const &':\n return zrAt.itkFastMarchingImageFilter... | [
"0.64138335",
"0.6373659",
"0.6146869",
"0.5919015",
"0.57724726",
"0.5771473",
"0.57509744",
"0.5711355",
"0.5688865",
"0.56734174",
"0.56367934",
"0.5630901",
"0.5608014",
"0.56073326",
"0.559566",
"0.5594107",
"0.5583848",
"0.5568981",
"0.55570304",
"0.5521141",
"0.5505251... | 0.73615813 | 0 |
SetOutputRegion(itkFastMarchingImageFilterBaseIF3IF3 self, itkImageRegion3 _arg) | def _SnI(YKHO, THRx: 'itkImageRegion3') -> 'void':
return zrAt.itkFastMarchingImageFilterBaseIF3IF3_SetOutputRegion(YKHO, THRx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _SnI(YKHO, THRx: 'itkImageRegion2') -> 'void':\n return zrAt.itkFastMarchingImageFilterBaseIF2IF2_SetOutputRegion(YKHO, THRx)",
"def ymZy(YKHO) -> 'itkImageRegion3 const &':\n return zrAt.itkFastMarchingImageFilterBaseIF3IF3_GetOutputRegion(YKHO)",
"def Xvdg(YKHO, THRx: 'itkPointD3') -> 'void':\n ... | [
"0.7761019",
"0.754406",
"0.7354729",
"0.7111862",
"0.6957629",
"0.6937264",
"0.6916684",
"0.68747395",
"0.6867403",
"0.68425685",
"0.67698157",
"0.66855645",
"0.6601056",
"0.6598456",
"0.65915114",
"0.65608203",
"0.65457207",
"0.65279275",
"0.6486249",
"0.6450929",
"0.632803... | 0.9278277 | 0 |