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 |
|---|---|---|---|---|---|---|
return the id of this vertex | def unpH(YKHO):
return YKHO.id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b78Z(YKHO):\n vEq1 = YKHO.vid\n YKHO.vid += 1\n return vEq1",
"def Wuck(YKHO):\n return str(YKHO._maxVertexId + 1)",
"def f7Xa(YKHO):\n return YKHO._vertex_id_type",
"def mLJR(YKHO):\n return _VfD.GraphicalObject_getId(YKHO)",
"def id(YKHO):\n return YKHO.proto.id",
"def mLJR(YKH... | [
"0.7892035",
"0.7257178",
"0.7131824",
"0.7107204",
"0.7085526",
"0.70773166",
"0.70301354",
"0.702662",
"0.70043594",
"0.69884765",
"0.6951958",
"0.6932379",
"0.6932379",
"0.6923012",
"0.6923012",
"0.6923012",
"0.6923012",
"0.6923012",
"0.6923012",
"0.6892489",
"0.6874294",
... | 0.6832376 | 45 |
return all the vertices in the graph | def EBww(YKHO):
return str(YKHO.vert_dict.keys()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iXlf(YKHO):\n return list(YKHO._graph)",
"def iXlf(YKHO):\n return list(YKHO.__graph.values())",
"def EBww(YKHO):\n return YKHO.graph.keys()",
"def iXlf(YKHO):\n return list(YKHO.graph_dict.keys())",
"def iXlf(YKHO):\n return list(YKHO.__graph_dict.keys())",
"def iXlf(YKHO):\n retur... | [
"0.86164004",
"0.8599357",
"0.8462153",
"0.84238523",
"0.83624405",
"0.83595043",
"0.83595043",
"0.83595043",
"0.83207643",
"0.8091262",
"0.79812604",
"0.7958977",
"0.79587495",
"0.791507",
"0.7900842",
"0.7893824",
"0.7866203",
"0.78402805",
"0.7832743",
"0.78071636",
"0.780... | 0.7092185 | 38 |
Initialize the feedforward neural network with the given arguments. | def FIMM(YKHO, Gzv5: int, ZSYc: bool) -> None:
YKHO.hidden_units = 25
YKHO.lr = 0.001
YKHO.epochs = 400
YKHO.x_train, YKHO.y_train = (None, None)
YKHO.x_test, YKHO.y_test = (None, None)
oyIN.random.seed(0)
YKHO.weights, YKHO.biases = (None, None)
YKHO.total_layers = None
'\n I... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, *qIxc):\n super(byfJ, YKHO).__init__()\n YKHO.fc = U78l.Linear(*qIxc)",
"def FIMM(YKHO, qIxc, pNZh):\n YKHO.args = qIxc\n YKHO.graph = pNZh\n YKHO.targets = BcFL(YKHO.args.target_weighting, YKHO.graph)\n YKHO.weights = BcFL(YKHO.args.regularization_weighting, YKHO.graph)\n YKH... | [
"0.693068",
"0.68053097",
"0.6771204",
"0.6737905",
"0.67176753",
"0.67046845",
"0.6693471",
"0.66682386",
"0.66614175",
"0.66218555",
"0.6587649",
"0.65875095",
"0.65644807",
"0.65573025",
"0.6543317",
"0.6542243",
"0.65409994",
"0.653147",
"0.6526267",
"0.6501251",
"0.64533... | 0.6265208 | 38 |
Close current webdriver session | def T_bE(YKHO):
if not YKHO.driver:
return
YKHO.driver.close() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def x9p9(YKHO):\n YKHO.driver.close()",
"def xFj2():\n E_qD.close()",
"def l5JM():\n E_qD.close()\n E_qD.quit()",
"def b7E4(YKHO):\n YKHO.web_driver.quit()\n YKHO.write_log('Web driver ended.')",
"def DDI8(YKHO):\n YKHO.driver.quit()",
"def T_bE(E_qD):\n E_qD.close()",
"def T_bE... | [
"0.86924076",
"0.8310856",
"0.8202522",
"0.80669224",
"0.79323953",
"0.7929606",
"0.7929606",
"0.78884935",
"0.7878081",
"0.7769547",
"0.76531255",
"0.7610583",
"0.74302614",
"0.731738",
"0.71945685",
"0.7192469",
"0.7154296",
"0.7151825",
"0.71452886",
"0.71355426",
"0.71253... | 0.72686195 | 14 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, sy7y):
return False
return YKHO.to_dict() == Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.8088463",
"0.8088463",
"0.80553037",
"0.7983272",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
"0.7966844",
... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
if not isinstance(Elif, sy7y):
return True
return YKHO.to_dict() != Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.845611",
"0.8391477",
"0.8144138",
"0.81410587",
"0.8132492",
"0.8093973",
"0.80920255",
"0.80920255",
"0.80920255",
"0.8085325",
"0.8085325",
"0.8076365",
"0.8076365",
"0.8065748",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
... | 0.0 | -1 |
Plots a confusion matrix. | def PkTE(aMgO, H96n):
print('\t\tGenerating confusion matrix')
SppC = YsYU(H96n, aMgO)
KndY = ['0', '1']
QrM1.imshow(SppC, interpolation='nearest', cmap=QrM1.cm.Blues)
QrM1.title('Confusion Matrix')
QrM1.colorbar()
wIWT = oyIN.arange(len(KndY))
QrM1.xticks(wIWT, KndY, rotation=45)
Qr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LwSz(YKHO):\n pTn1 = beib.from_learner(YKHO.learn)\n pTn1.plot_confusion_matrix()",
"def LwSz(Bcwd, KndY=None, leAC='Confusion matrix'):\n if KndY is not None:\n uuEx.heatmap(Bcwd, xticklabels=KndY, yticklabels=KndY, vmin=0.0, vmax=1.0, annot=True)\n else:\n uuEx.heatmap(Bcwd, vmin=... | [
"0.82892585",
"0.80569196",
"0.8022603",
"0.79713845",
"0.7959875",
"0.7953862",
"0.793396",
"0.7907878",
"0.7894419",
"0.7860251",
"0.7843132",
"0.782993",
"0.78283834",
"0.78082895",
"0.78075576",
"0.78029644",
"0.7791608",
"0.7786759",
"0.77672493",
"0.7762046",
"0.7753337... | 0.76352954 | 67 |
Returns the True Positive Rate. | def BYBV(H96n, aMgO):
SppC = YsYU(H96n, aMgO)
return SppC[0][0] / (SppC[0][0] + SppC[0][1]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W4lg(Y8eF, aMgO):\n XP5J = oyIN.sum(Y8eF == 1)\n HRJ_ = oyIN.sum((aMgO == Y8eF) & (Y8eF == 1))\n return HRJ_ / XP5J",
"def kY8x(YKHO):\n fMvj = oyIN.sum(oyIN.maximum(0.0, 1.0 + YKHO._penalty_predictions) * (YKHO._penalty_labels > 0.0) * YKHO._penalty_weights * YKHO._penalty_predicate)\n UFId =... | [
"0.77392876",
"0.73020947",
"0.6902011",
"0.67140955",
"0.6624155",
"0.64819026",
"0.6388948",
"0.63819015",
"0.62754554",
"0.6237641",
"0.6227454",
"0.62140214",
"0.6213185",
"0.61659676",
"0.61594856",
"0.6000939",
"0.59121954",
"0.59088683",
"0.5902609",
"0.58928984",
"0.5... | 0.0 | -1 |
return the Vincenty's geodesic distance in meters default place = Colosseum | def zOJ0(k0lF, tjUW=bNKr('Colosseo')):
return jLKC.distance.vincenty(k0lF, tjUW).meters | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vJuf(YKHO):\n l1UJ = nXNw.distance(ICs9[0], ICs9[1], o5u7[0], o5u7[1])\n YKHO.assertAlmostEqual(l1UJ / 1000, jiiB, places=2)",
"def _Sbn(mAYH, pks6):\n return CgaZ(mAYH, pks6).meters",
"def NONC(YKHO, j5sA):\n QnmL = epAf.radians(YKHO.latitude - j5sA.latitude)\n Swre = epAf.radians(YKHO.long... | [
"0.6498927",
"0.6275704",
"0.6147526",
"0.6071417",
"0.6049193",
"0.60424995",
"0.60412097",
"0.60300684",
"0.59930766",
"0.59867513",
"0.5983225",
"0.5982476",
"0.5937943",
"0.5910756",
"0.58916783",
"0.58858246",
"0.58803946",
"0.5852699",
"0.5835505",
"0.57912487",
"0.5777... | 0.6381934 | 1 |
Get the balance of the currently selected account. | def wMl7(YKHO):
return YKHO.selectedAccount.balance | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rCkj(YKHO):\n return YKHO._call_account_method('getBalance')",
"def u0LD(YKHO):\n return int(YKHO.request('get', 'fort/accounts')['balance'])",
"def bzWM(YKHO):\n return YKHO._account_balance",
"def rCkj(YKHO):\n return YKHO.balance",
"def rCkj(YKHO):\n return YKHO.balance",
"def rCkj(... | [
"0.85140026",
"0.82848483",
"0.8017407",
"0.7934792",
"0.7934792",
"0.79322433",
"0.78752065",
"0.78281647",
"0.7814984",
"0.78131884",
"0.7744242",
"0.7723017",
"0.7720504",
"0.7710793",
"0.770632",
"0.76632845",
"0.7632946",
"0.7629615",
"0.76277447",
"0.7608066",
"0.760642... | 0.88500786 | 0 |
Normalize each feature (feature) to mean 0 and std 1. | def QFzF(nPrm, go03=None, sb4g=None, yJiH=1e-06):
if go03 is None:
go03 = oyIN.mean(nPrm, axis=0)
go03.reshape((1, go03.shape[0]))
if sb4g is None:
sb4g = oyIN.std(nPrm, axis=0)
sb4g.reshape((1, sb4g.shape[0]))
return ((nPrm - go03) / (sb4g + yJiH), go03, sb4g) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ydI2(EcVT):\n M1Jx = EcVT.std(axis=0)\n M1Jx = oyIN.where(M1Jx == 0, 1, M1Jx)\n DG22 = (EcVT - EcVT.mean(axis=0)) / M1Jx\n return DG22",
"def YCQc(EcVT):\n j7NI = oyIN.mean(EcVT, axis=0)\n qQqn = oyIN.std(EcVT, axis=0)\n qQqn[0, 0] = 1\n DJLM = (EcVT - j7NI) / qQqn\n DJLM[:, 0] = 1... | [
"0.83642626",
"0.82921165",
"0.81067187",
"0.7972007",
"0.7877109",
"0.78433263",
"0.78164446",
"0.77510375",
"0.77510375",
"0.7659686",
"0.7531712",
"0.75263065",
"0.75076073",
"0.75076073",
"0.7484797",
"0.7479303",
"0.74726456",
"0.7452319",
"0.7396048",
"0.73586774",
"0.7... | 0.6804239 | 55 |
Change class labels to {0,1,2,3,...,C1}. | def CD9C(KndY):
P6bq, _0VL = oyIN.unique(KndY, return_inverse=True)
return (P6bq, _0VL) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G80n(KndY, VC5D):\n KndY = oyIN.asarray(KndY)\n Q3xp = oyIN.zeros(KndY.shape, dtype=object)\n for YRbF in range(len(VC5D)):\n Q3xp[KndY == YRbF] = VC5D[YRbF]\n return Q3xp",
"def cbuO(KndY, VC5D):\n KndY = oyIN.asarray(KndY)\n Q3xp = oyIN.zeros(KndY.shape, dtype=object)\n for YRbF... | [
"0.77513784",
"0.7401485",
"0.73173046",
"0.72202057",
"0.6984909",
"0.6919675",
"0.6919675",
"0.6846815",
"0.6835775",
"0.6682273",
"0.6659315",
"0.6613225",
"0.6613225",
"0.6561288",
"0.65586245",
"0.6536495",
"0.6524072",
"0.65168506",
"0.65034986",
"0.64883274",
"0.648742... | 0.77180415 | 1 |
Change class labels from {0,1,2,..,C1} to C given labels. | def G80n(KndY, VC5D):
KndY = oyIN.asarray(KndY)
Q3xp = oyIN.zeros(KndY.shape, dtype=object)
for YRbF in range(len(VC5D)):
Q3xp[KndY == YRbF] = VC5D[YRbF]
return Q3xp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eUkN(Crrw, qTBf):\n ZHfW = [1 if ATUZ else -1 for ATUZ in qTBf]\n ZHfW = oyIN.array(ZHfW)\n return Crrw.dot(ZHfW)",
"def cbuO(KndY, VC5D):\n KndY = oyIN.asarray(KndY)\n Q3xp = oyIN.zeros(KndY.shape, dtype=object)\n for YRbF in VC5D:\n Q3xp[KndY == YRbF] = VC5D[YRbF]\n return Q3xp"... | [
"0.6992697",
"0.6837959",
"0.6693193",
"0.669192",
"0.66654474",
"0.64492464",
"0.6423079",
"0.63709766",
"0.63561493",
"0.6344861",
"0.63359374",
"0.6307434",
"0.6277332",
"0.6277332",
"0.62742",
"0.6256962",
"0.6184584",
"0.61784",
"0.61784",
"0.6164157",
"0.61195576",
"0... | 0.7006755 | 0 |
Plot subplots of the (classification) performance. | def TrCa(Ux0P, Oz57, NdnM=None, iS2a='x', hHOl='y', k1TJ='Bar-Plot', na_E=None, gMbG=None, pa3d=8, vO07=6, Jw9H=None, huUU='lower left', zdk7=8, Z3Zd=8, Ok70=8, IVET=8, _FNQ=2, h3cg=None, Z3uP=None):
import matplotlib as x5MY
x5MY.use('pdf')
import matplotlib.pyplot as QrM1
VVGa = len(Oz57)
gqUV = i... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v1ak(jQ3Z, mWFP, gDe8=[1, 1, 1]):\n vZbL = len(jQ3Z['Accuracy'])\n QrM1.subplot(gDe8[0], gDe8[1], gDe8[2])\n for YRbF in range(vZbL):\n or8S = jQ3Z.index.values[YRbF]\n wEf2 = jQ3Z.loc[or8S, mWFP]\n if wEf2 < 0.1:\n vPEl = '{:.1e}'.format(wEf2)\n elif wEf2 < 1:\n... | [
"0.6868625",
"0.67438436",
"0.6719258",
"0.657829",
"0.6491491",
"0.6450311",
"0.64406115",
"0.64351785",
"0.6403012",
"0.6365545",
"0.6357223",
"0.6350088",
"0.6332457",
"0.6323541",
"0.6316883",
"0.63105553",
"0.6297465",
"0.62891555",
"0.6276111",
"0.62506855",
"0.6242694"... | 0.0 | -1 |
Normalize the column of row vectors p_unnormalized to make its sum equal to 1. | def _cr9(WcbB):
ZN0K = WcbB / WcbB.sum(axis=0)
return ZN0K | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def J8on(OKHU):\n return (OKHU.T / oyIN.sum(OKHU, axis=1)).T",
"def NkkI(Ty9i):\n tpio = Ty9i.shape\n for YRbF in range(0, tpio[0] - 1):\n Ty9i[YRbF, :, :] = (Ty9i[YRbF, :, :].T / oyIN.sum(Ty9i[YRbF, :, :], 1)).T\n return Ty9i",
"def NkkI(V6IE, ut5U):\n wjRY = V6IE.sum(axis=0)\n V6IE =... | [
"0.732212",
"0.6956838",
"0.6916627",
"0.68260205",
"0.68254274",
"0.6822281",
"0.6744222",
"0.6686921",
"0.6653818",
"0.6616239",
"0.65912735",
"0.6584773",
"0.6570175",
"0.6560664",
"0.6559938",
"0.6549311",
"0.653112",
"0.6530278",
"0.652785",
"0.6526737",
"0.6519474",
"... | 0.8077504 | 0 |
Compute value of sigmoid function. | def m1Hg(EcVT):
if isinstance(EcVT, (list, tuple)):
EcVT = oyIN.array(EcVT)
return 1 / (1 + oyIN.exp(-EcVT)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m1Hg(BWXx):\n return 1.0 / (1.0 + epAf.exp(-BWXx))",
"def m1Hg(WKvO):\n return 1 / (1 + r8hN.exp(-WKvO))",
"def m1Hg(WKvO):\n return 1 / (1 + epAf.exp(-WKvO))",
"def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))",
"def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))",
"def m1Hg(WKvO):\n ret... | [
"0.8630542",
"0.8492864",
"0.8485449",
"0.84613866",
"0.84613866",
"0.8438934",
"0.84358114",
"0.8433787",
"0.840705",
"0.84069014",
"0.84069014",
"0.84058803",
"0.84058803",
"0.84058803",
"0.84058803",
"0.84058803",
"0.84058803",
"0.8402837",
"0.84014016",
"0.8394882",
"0.83... | 0.78663784 | 73 |
Returns a predefined model by name | def YrZb(mWFP, **B2fa):
FYrf = {'resnet18_v1': sI9J, 'resnet34_v1': VG6J, 'resnet50_v1': _baC, 'resnet101_v1': Dd5Z, 'resnet152_v1': AKgQ, 'resnet18_v1b': lx5n, 'resnet34_v1b': BYbF, 'resnet50_v1b': h_Pj, 'resnet101_v1b': vvnr, 'resnet152_v1b': UHHn, 'resnet18_v2': GVNe, 'resnet34_v2': iXyt, 'resnet50_v2': FIRQ, 'r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def u5_9(Emd4, mWFP):\n ZGE9 = QQNo.camelize(mWFP)\n C3ST = Emd4.models[ZGE9]\n return C3ST",
"def YrZb(ZGE9):\n LCet = 'strain.models.strain_' + ZGE9.lower()\n iwaC = ANWz.import_module(LCet)\n YEnM = getattr(iwaC, ZGE9)\n return YEnM",
"def YrZb(*, mWFP: str) -> laHg.Optional[laHg.Type]:... | [
"0.86644953",
"0.8185217",
"0.8126433",
"0.8062319",
"0.78151715",
"0.76357776",
"0.7558631",
"0.75453484",
"0.7492341",
"0.7424903",
"0.73904973",
"0.73707604",
"0.73473495",
"0.7307407",
"0.72990835",
"0.7268272",
"0.7191123",
"0.7151645",
"0.7143545",
"0.7143203",
"0.71279... | 0.74860954 | 9 |
Initialize transition and emission matrices Returns self | def AnNp(YKHO):
assert YKHO._training_dataset and YKHO._valid_dataset
YKHO._state_prior = ht2j.zeros(YKHO._config.d_hidden, device=YKHO._config.device) + 0.01
YKHO._state_prior[0] += 1 - YKHO._state_prior.sum()
PmvC = list(map(oyIN.array, YKHO._training_dataset.obs + YKHO._valid_dataset.obs))
YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, nPrm, CGbr, XBDB, mCLV, fOEa, r_oW, MdXf):\n YKHO.data = nPrm\n YKHO.transition_matrix = CGbr\n YKHO.transition_cov = XBDB\n YKHO.observation_matrix = mCLV\n fOEa = oyIN.atleast_1d(fOEa)\n if fOEa.ndim < 2:\n fOEa = oyIN.diag(fOEa)\n YKHO.observation_cov = fOEa\n YKHO.... | [
"0.69301707",
"0.68914825",
"0.6785378",
"0.6652829",
"0.66432846",
"0.65974975",
"0.6552659",
"0.6530405",
"0.6503993",
"0.64403176",
"0.6375109",
"0.6363374",
"0.6319126",
"0.6281334",
"0.6220608",
"0.62093467",
"0.6194667",
"0.61889064",
"0.61753225",
"0.6133739",
"0.61183... | 0.8201914 | 0 |
calculate initial hidden states (not used in our setup since our sequences all begin from [CLS], which corresponds to hidden state "O". | def OS6A(pR3T, RLKD, cqSg=None):
bUW2 = pR3T[0].shape[1]
bo34.info('Constructing start distribution prior...')
BLU5 = oyIN.zeros((len(RLKD),))
if cqSg is not None:
for W061 in pR3T:
BLU5[W061[0, cqSg].argmax()] += 1
else:
for W061 in pR3T:
for epBp in range(bU... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cpW8(YKHO, cbXH, RQrb):\n kxuu = 2 if YKHO.lstm.bidirectional else 1\n Zode = RQrb.view(YKHO.lstm.num_layers * kxuu, len(RQrb), -1)\n tkA9 = ht2j.zeros(YKHO.lstm.num_layers * kxuu, cbXH.size(0), YKHO.lstm.hidden_size, dtype=cbXH.dtype, device=cbXH.device)\n return (Zode, tkA9)",
"def J5wX(YKHO):\... | [
"0.6787233",
"0.66803056",
"0.6576232",
"0.64972544",
"0.64267683",
"0.6420007",
"0.639715",
"0.6329298",
"0.6329298",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
"0.6319232",
... | 0.0 | -1 |
Return a list of paths matching a pathname pattern. The pattern may contain simple shellstyle wildcards. Input may also include multiple patterns, separated by separator. | def SC2F(bD7m, g8rx=','):
b6H_ = [bD7m] if g8rx is None else bD7m.split(g8rx)
Aofo = []
for mXDZ in b6H_:
Aofo.extend(YhjU.glob(Hy7s.path.expanduser(mXDZ.strip())))
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fYd3(mXDZ):\n if '**' in mXDZ:\n if wkGJ >= 848:\n Aofo = SC2F.glob(mXDZ, recursive=True)\n else:\n JDy1 = yLbB('glob2', must_exist=False)\n if JDy1 is None:\n MriA.sysexit(\"Using pattern with '**' is not supported before Python 3.5 unless glob2... | [
"0.74146295",
"0.72181344",
"0.71377015",
"0.7048085",
"0.7028551",
"0.70099825",
"0.6975622",
"0.69260097",
"0.6915531",
"0.68578994",
"0.6822235",
"0.68084985",
"0.68074733",
"0.68068284",
"0.6783339",
"0.6744541",
"0.66718614",
"0.6655444",
"0.6598566",
"0.6596499",
"0.655... | 0.69321907 | 7 |
Returns the weather status related to the specified weather status code, if any is stored, ``None`` otherwise. | def QUzK(YKHO, Wxnj):
naOY = lambda yKcO, Os4s, exwG: yKcO <= exwG <= Os4s
for jGRS in YKHO._code_ranges_dict:
for wiDV in YKHO._code_ranges_dict[jGRS]:
if naOY(wiDV['start'], wiDV['end'], Wxnj):
return jGRS
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NR3K(YKHO):\n dixj = YKHO.status_table.query_items({'api_version': YKHO.api_version})\n if not dixj:\n return None\n else:\n return dixj[0]",
"def zZqv(Wxnj, NZfz=Byma.return_value_index_of_weather_not_found):\n d6pt = 0\n for YRbF in [100, 200, 300, 400]:\n for r845 in [0... | [
"0.60381204",
"0.5700774",
"0.56418914",
"0.5632815",
"0.5626133",
"0.55948323",
"0.55400085",
"0.5539533",
"0.54614943",
"0.54383075",
"0.538316",
"0.53373677",
"0.533062",
"0.52795756",
"0.5276125",
"0.5265189",
"0.52628005",
"0.52628005",
"0.52628005",
"0.52628005",
"0.526... | 0.5382744 | 11 |
Sets all inputs to 0. | def Z954(YKHO) -> None:
B2Dn = YKHO.pages[YKHO.current_page]
for oD_N in B2Dn.buttons:
if isinstance(oD_N, gQoq):
oD_N.update_name(oD_N.prompt + '0') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SiRx(YKHO) -> None:\n YKHO.true_positives = 0\n YKHO.all_positives = 0",
"def SiRx(YKHO) -> None:\n YKHO.true_positives = 0\n YKHO.actual_positives = 0",
"def Ojh2(YKHO):\n for Npgh in YKHO.channel_map:\n YKHO.set(Npgh, 0)\n for KCHu in YKHO.current_sources.values():\n for U... | [
"0.73862517",
"0.72831494",
"0.7043144",
"0.7020515",
"0.69402176",
"0.6864524",
"0.68370813",
"0.6798243",
"0.67877233",
"0.67691493",
"0.676336",
"0.67317015",
"0.67267185",
"0.67148405",
"0.6673523",
"0.6645414",
"0.6645223",
"0.6621239",
"0.6608637",
"0.66079724",
"0.6602... | 0.0 | -1 |
Returns a transparent surface to highlight things. | def wzfy(TVTK: int, H2v2: int, H2jU: int, OfK8: tuple) -> a9eO.Surface:
C5Es = a9eO.Surface((TVTK, H2v2))
C5Es.set_alpha(H2jU)
C5Es.fill(OfK8)
return C5Es | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def usV6():\n J20S.fill(fCKe)",
"def usV6():\n J20S.fill(LLj2)",
"def Fy0u(YKHO):\n yzQ0, MKlR = (YKHO.rect.w, YKHO.rect.h)\n J20S = g74T.Surface((yzQ0, MKlR))\n J20S.set_colorkey((0, 0, 0))\n return g74T.Surface((yzQ0, MKlR))",
"def FjUp(YKHO):\n Vwtj = ksmO.Oval(ksmO.Point(5, 0), ksmO.... | [
"0.7073487",
"0.67633545",
"0.6482005",
"0.64178133",
"0.6231856",
"0.62229246",
"0.6179503",
"0.6144318",
"0.60913134",
"0.60510623",
"0.592515",
"0.5840295",
"0.5825739",
"0.58114403",
"0.5807025",
"0.57903624",
"0.5722515",
"0.5683975",
"0.5683335",
"0.567609",
"0.5659917"... | 0.6569519 | 2 |
Make sure decrease_verbosity() respects default and custom levels. | def AFqE(YKHO):
fTst(G9jH.INFO)
assert spvT() == G9jH.INFO
bi5u()
assert spvT() == G9jH.NOTICE
bi5u()
assert spvT() == G9jH.WARNING
bi5u()
assert spvT() == G9jH.SUCCESS
bi5u()
assert spvT() == G9jH.ERROR
bi5u()
assert spvT() == G9jH.CRITICAL
bi5u()
assert spvT() =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WIbb(YKHO):\n pass",
"def Xooo(YKHO):\n fTst(G9jH.INFO)\n assert spvT() == G9jH.INFO\n w63i()\n assert spvT() == G9jH.VERBOSE\n w63i()\n assert spvT() == G9jH.DEBUG\n w63i()\n assert spvT() == G9jH.SPAM\n w63i()\n assert spvT() == G9jH.NOTSET\n w63i()\n assert spvT() ==... | [
"0.68031543",
"0.67715657",
"0.64890355",
"0.63964814",
"0.61082494",
"0.60896164",
"0.59988964",
"0.59575367",
"0.5885777",
"0.5837932",
"0.5740178",
"0.56478745",
"0.56093204",
"0.5540782",
"0.54861337",
"0.5454685",
"0.5428475",
"0.5400164",
"0.53992915",
"0.53795314",
"0.... | 0.8545314 | 0 |
Generate a random string. | def BWvy(u54L=25):
return ''.join((tuKI.choice(vIwR.ascii_letters) for YRbF in range(25))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KpEQ():\n return ''.join(QMfv(rU7A(32)).decode('utf-8'))",
"def e7Tf():\n return ''.join((tuKI.choice(vIwR.ascii_lowercase + vIwR.digits) for bGrB in range(16)))",
"def tEgU():\n return kxTZ().hex[:6].upper()",
"def r4k0(OaeV, wuRi=''):\n bo34.info('DeprecationWarning: randomstr is deprecated... | [
"0.8578539",
"0.8441121",
"0.8133987",
"0.8079295",
"0.7861931",
"0.7836429",
"0.7835519",
"0.7829959",
"0.7806615",
"0.7802263",
"0.7784853",
"0.7757301",
"0.7716101",
"0.7697982",
"0.7670295",
"0.76616114",
"0.7635579",
"0.7635229",
"0.7623369",
"0.76233643",
"0.7619771",
... | 0.7409631 | 50 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yhWf(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC2IUC2 *':\n return RC9M.itkNotImageFilterIUC2IUC2_cast(YEnM)",
"def X_jZ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC2IUC2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC2IUC2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') ->... | [
"0.8373914",
"0.83368945",
"0.8327061",
"0.83144534",
"0.82797426",
"0.82787293",
"0.8246595",
"0.8222928",
"0.8222029",
"0.82185924",
"0.8212413",
"0.81729686",
"0.81532335",
"0.80912536",
"0.8090301",
"0.80876535",
"0.8083768",
"0.8068906",
"0.80403566",
"0.8038936",
"0.803... | 0.8009665 | 22 |
New() > itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass Create a new object of the class itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass 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... | def oW_4(*qIxc, **PECO):
YEnM = SF5v.__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 = Vr_0.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = wqNU.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.79888564",
"0.78763497",
"0.77651006",
"0.75823504",
"0.7556321",
"0.7529211",
"0.7493161",
"0.73906076",
"0.73606807",
"0.7347436",
"0.7326545",
"0.72667193",
"0.72513187",
"0.7249625",
"0.7248869",
"0.7242637",
"0.7240498",
"0.7191401",
"0.7170956",
"0.7129441",
"0.71245... | 0.8296763 | 0 |
itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass | def tdtb(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pWD7(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC2IUC2_Superclass *':\n return RC9M.itkNotImageFilterIUC2IUC2_Superclass_cast(YEnM)",
"def sunC(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass_cast(*qIxc)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC2... | [
"0.8835389",
"0.87349844",
"0.83738136",
"0.83454335",
"0.83302766",
"0.81931233",
"0.81249267",
"0.8083662",
"0.80120367",
"0.80116135",
"0.7988092",
"0.79793197",
"0.7976546",
"0.79746395",
"0.79460114",
"0.7928653",
"0.78978604",
"0.78787917",
"0.7861197",
"0.7847855",
"0.... | 0.9000824 | 0 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIUC3IUC3 *':\n return xm6Z.itkBinaryContourImageFilterIUC3IUC3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIUC3IUC3 *':\n return twC5.itkHuangThresholdImageFilterIUC3IUC3_cast(YEnM)",
"def m936(YEnM: 'itkLi... | [
"0.82602894",
"0.82260966",
"0.8202932",
"0.817431",
"0.81674427",
"0.81555796",
"0.8150027",
"0.8147007",
"0.81001055",
"0.8081696",
"0.80759335",
"0.80758363",
"0.80636823",
"0.8060561",
"0.80527085",
"0.80526936",
"0.80327415",
"0.8002276",
"0.79898804",
"0.7977367",
"0.79... | 0.7916601 | 26 |
New() > itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass Create a new object of the class itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass 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... | def oW_4(*qIxc, **PECO):
YEnM = cKli.__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 = YC6F.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = WVUi.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.807798",
"0.7908402",
"0.78980994",
"0.76574767",
"0.75760937",
"0.75268495",
"0.7436834",
"0.7385991",
"0.7366028",
"0.73551995",
"0.7296822",
"0.72875845",
"0.7265753",
"0.72655773",
"0.7258307",
"0.7250042",
"0.7210124",
"0.72053784",
"0.71931475",
"0.71582484",
"0.7152... | 0.8324405 | 0 |
itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass | def tJ2h(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ERX9(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass_cast(*qIxc)",
"def jtmK(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC3IUC3_Superclass *':\n return RC9M.itkNotImageFilterIUC3IUC3_Superclass_cast(YEnM)",
"def wVUu(*qIxc):\n return t627.itkScalarConnectedCompon... | [
"0.8881763",
"0.8818381",
"0.85601026",
"0.83235383",
"0.82895714",
"0.8283099",
"0.82566494",
"0.8226127",
"0.8182628",
"0.8135981",
"0.81199634",
"0.8056167",
"0.80485183",
"0.8035068",
"0.8025682",
"0.7944413",
"0.7910709",
"0.7896207",
"0.7885687",
"0.78699106",
"0.784408... | 0.9017755 | 0 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sunC(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass_cast(*qIxc)",
"def yhWf(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC2IUC2 *':\n return RC9M.itkNotImageFilterIUC2IUC2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIUC2IUC2 *':\n ... | [
"0.8137295",
"0.81144726",
"0.81034064",
"0.80842566",
"0.8082507",
"0.8062883",
"0.8025743",
"0.80135703",
"0.79984206",
"0.7993635",
"0.798538",
"0.7974651",
"0.7965373",
"0.795851",
"0.79563195",
"0.7940877",
"0.7940221",
"0.7926741",
"0.7921273",
"0.79019433",
"0.7883134"... | 0.7861453 | 25 |
New() > itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass Create a new object of the class itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass 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... | def oW_4(*qIxc, **PECO):
YEnM = Vr_0.__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 = SF5v.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = ofh3.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.79293394",
"0.7682931",
"0.7592233",
"0.74128306",
"0.7383144",
"0.73787665",
"0.7314795",
"0.72946954",
"0.7281245",
"0.72784317",
"0.7260836",
"0.7246929",
"0.7215616",
"0.71865517",
"0.7153669",
"0.71256053",
"0.7052438",
"0.70401925",
"0.70252705",
"0.7019509",
"0.7006... | 0.8066124 | 0 |
itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass | def sunC(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pWD7(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC2IUC2_Superclass *':\n return RC9M.itkNotImageFilterIUC2IUC2_Superclass_cast(YEnM)",
"def tdtb(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUC2IUC2_Superclass_cast(*qIxc)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC2... | [
"0.88222533",
"0.8538787",
"0.85042906",
"0.8416162",
"0.83637136",
"0.828291",
"0.8221451",
"0.8180893",
"0.81778497",
"0.8175101",
"0.81708777",
"0.81279",
"0.8045159",
"0.8042782",
"0.7976095",
"0.7951157",
"0.79437846",
"0.7933835",
"0.7888482",
"0.7883145",
"0.7871909",
... | 0.8826939 | 0 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIUC3IUC3 *':\n return xm6Z.itkBinaryContourImageFilterIUC3IUC3_cast(YEnM)",
"def ERX9(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass_cast(*qIxc)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageF... | [
"0.80465895",
"0.80451906",
"0.8024448",
"0.7976598",
"0.79580814",
"0.7934757",
"0.79332995",
"0.7930154",
"0.7919232",
"0.7916955",
"0.79104036",
"0.7900125",
"0.78946424",
"0.78911334",
"0.788673",
"0.78817594",
"0.7868017",
"0.78619254",
"0.786052",
"0.7853873",
"0.785040... | 0.77591836 | 35 |
New() > itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass Create a new object of the class itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass 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... | def oW_4(*qIxc, **PECO):
YEnM = YC6F.__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 = cKli.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = XR2w.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8021561",
"0.7832278",
"0.7686181",
"0.7528257",
"0.74295425",
"0.74047303",
"0.737033",
"0.73688716",
"0.72868675",
"0.72861767",
"0.7259644",
"0.72051597",
"0.72039235",
"0.7180347",
"0.71762323",
"0.7168856",
"0.708275",
"0.7077592",
"0.7069185",
"0.7062895",
"0.7060802... | 0.8122671 | 0 |
itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass | def ERX9(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jtmK(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC3IUC3_Superclass *':\n return RC9M.itkNotImageFilterIUC3IUC3_Superclass_cast(YEnM)",
"def tJ2h(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUC3IUC3_Superclass_cast(*qIxc)",
"def D9RE(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF3I... | [
"0.8803312",
"0.86449105",
"0.8535724",
"0.8479139",
"0.8452617",
"0.84264666",
"0.84224206",
"0.83043456",
"0.8270181",
"0.82094204",
"0.81859463",
"0.8135153",
"0.80809337",
"0.80211985",
"0.80122304",
"0.7973795",
"0.795727",
"0.79481983",
"0.79092205",
"0.7909145",
"0.790... | 0.8871611 | 0 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xzkH(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass_cast(*qIxc)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC2IUS2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC2IUS2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageK... | [
"0.81915516",
"0.81156105",
"0.81073385",
"0.80806106",
"0.8065526",
"0.8049756",
"0.80449915",
"0.8036971",
"0.802313",
"0.8022427",
"0.7998354",
"0.79935724",
"0.79523236",
"0.7941602",
"0.79313487",
"0.7924515",
"0.78811514",
"0.78804374",
"0.78767306",
"0.7876399",
"0.786... | 0.7910274 | 16 |
New() > itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass Create a new object of the class itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass 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... | def oW_4(*qIxc, **PECO):
YEnM = ofh3.__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 = SF5v.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = Vr_0.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.7678271",
"0.7655405",
"0.76441723",
"0.74518394",
"0.7405382",
"0.7403386",
"0.7372071",
"0.72548264",
"0.72095364",
"0.7176152",
"0.7157599",
"0.71421695",
"0.7133457",
"0.711661",
"0.7086007",
"0.70576686",
"0.7050542",
"0.70487005",
"0.70431554",
"0.7028226",
"0.701392... | 0.8181928 | 0 |
itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass | def xzkH(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS2IUS2_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ak2W(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUS2IUS2_Superclass *':\n return RC9M.itkNotImageFilterIUS2IUS2_Superclass_cast(YEnM)",
"def sunC(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUL2IUL2_Superclass_cast(*qIxc)",
"def pWD7(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUC2... | [
"0.85293573",
"0.8372307",
"0.83341527",
"0.8298288",
"0.8216767",
"0.8166742",
"0.81062627",
"0.80371875",
"0.80260044",
"0.79250103",
"0.7921005",
"0.77972156",
"0.7756477",
"0.7738011",
"0.7720133",
"0.7716097",
"0.771443",
"0.77049196",
"0.76873475",
"0.7675675",
"0.76526... | 0.88261366 | 0 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wVUu(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass_cast(*qIxc)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIUS3IUS3 *':\n return xm6Z.itkBinaryContourImageFilterIUS3IUS3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansIma... | [
"0.8166338",
"0.80760056",
"0.8003374",
"0.79730195",
"0.7967778",
"0.7964597",
"0.79473734",
"0.79247075",
"0.7903957",
"0.78958106",
"0.7890896",
"0.787974",
"0.78356713",
"0.7825678",
"0.78146356",
"0.7811121",
"0.78096986",
"0.77979946",
"0.7795485",
"0.77901447",
"0.7786... | 0.78748775 | 12 |
New() > itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass Create a new object of the class itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass 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... | def oW_4(*qIxc, **PECO):
YEnM = XR2w.__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 = cKli.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = YC6F.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.7764017",
"0.77600557",
"0.769599",
"0.7424273",
"0.742347",
"0.7404771",
"0.7402288",
"0.728064",
"0.726493",
"0.7253065",
"0.72271013",
"0.72248095",
"0.7159781",
"0.7150203",
"0.7147572",
"0.71391547",
"0.7133078",
"0.71082973",
"0.70719075",
"0.7055912",
"0.7055696",
... | 0.8203029 | 0 |
itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass | def wVUu(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS3IUS3_Superclass_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ERX9(*qIxc):\n return t627.itkScalarConnectedComponentImageFilterIUL3IUL3_Superclass_cast(*qIxc)",
"def Bw7J(YEnM: 'itkLightObject') -> 'itkNotImageFilterIUS3IUS3_Superclass *':\n return RC9M.itkNotImageFilterIUS3IUS3_Superclass_cast(YEnM)",
"def tJ2h(*qIxc):\n return t627.itkScalarConnectedCompon... | [
"0.86058754",
"0.85308504",
"0.8498732",
"0.83170855",
"0.81600755",
"0.8121675",
"0.8096127",
"0.8081138",
"0.80614513",
"0.7986754",
"0.7939779",
"0.79018605",
"0.7886339",
"0.7853257",
"0.7817949",
"0.7815338",
"0.7800593",
"0.77823305",
"0.7746147",
"0.7738201",
"0.770218... | 0.88917935 | 0 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC2IUC2 | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC2IUC2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X_jZ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC2IUC2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC2IUC2_cast(YEnM)",
"def fQEa(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIUC2IUC2 *':\n return twC5.itkHuangThresholdImageFilterIUC2IUC2_cast(YEnM)",
"def hnlv(YEnM... | [
"0.8210794",
"0.81096345",
"0.81008255",
"0.8082504",
"0.8057508",
"0.8051031",
"0.80381334",
"0.7998478",
"0.7986707",
"0.7957477",
"0.79340714",
"0.7895289",
"0.7884382",
"0.7881572",
"0.78710383",
"0.7857907",
"0.78422636",
"0.78330564",
"0.78275764",
"0.78247577",
"0.7815... | 0.7516038 | 46 |
New() > itkScalarConnectedComponentImageFilterIUC2IUC2 Create a new object of the class itkScalarConnectedComponentImageFilterIUC2IUC2 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 th... | def oW_4(*qIxc, **PECO):
YEnM = wqNU.__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 = SF5v.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = bS11.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.82890993",
"0.80919987",
"0.7972135",
"0.769499",
"0.76891416",
"0.76693314",
"0.7655011",
"0.7634815",
"0.7547371",
"0.75144476",
"0.7445717",
"0.73707694",
"0.7366639",
"0.73470503",
"0.7321714",
"0.73068327",
"0.730653",
"0.7302156",
"0.7295887",
"0.72797024",
"0.727499... | 0.84135324 | 0 |
itkScalarConnectedComponentImageFilterIUC2IUC2_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC2IUC2 | def Zvg1(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC2IUC2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X_jZ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC2IUC2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC2IUC2_cast(YEnM)",
"def fQEa(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIUC2IUC2 *':\n return twC5.itkHuangThresholdImageFilterIUC2IUC2_cast(YEnM)",
"def KjbM(YEnM... | [
"0.86770827",
"0.8592209",
"0.8536538",
"0.8488406",
"0.84309644",
"0.8365264",
"0.8363735",
"0.83201844",
"0.831776",
"0.8315851",
"0.829173",
"0.82808596",
"0.8231839",
"0.82100934",
"0.819712",
"0.8179949",
"0.81383145",
"0.81375134",
"0.81322634",
"0.81084555",
"0.8103",
... | 0.8481047 | 4 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC3IUC3 | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC3IUC3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bmc8(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC3IUC3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC3IUC3_cast(YEnM)",
"def m936(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIUC3IUC3 *':\n return xm6Z.itkBinaryContourImageFilterIUC3IUC3_cast(YEnM)",
"def GZwt(YEnM: ... | [
"0.80655646",
"0.8044055",
"0.80262136",
"0.8000181",
"0.7984599",
"0.7975501",
"0.7949575",
"0.7945044",
"0.79200274",
"0.79129684",
"0.79083264",
"0.788007",
"0.785818",
"0.7856537",
"0.7846855",
"0.7846487",
"0.78220224",
"0.78138953",
"0.78130984",
"0.78047156",
"0.779065... | 0.74988544 | 67 |
New() > itkScalarConnectedComponentImageFilterIUC3IUC3 Create a new object of the class itkScalarConnectedComponentImageFilterIUC3IUC3 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 th... | def oW_4(*qIxc, **PECO):
YEnM = WVUi.__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 = cKli.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = YZ2n.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8374496",
"0.82753766",
"0.80984014",
"0.79423463",
"0.7904366",
"0.7863606",
"0.7715439",
"0.76771253",
"0.76436585",
"0.76350534",
"0.76116276",
"0.7608908",
"0.75708395",
"0.7562149",
"0.7539045",
"0.7494597",
"0.7489892",
"0.7465747",
"0.7446531",
"0.7426763",
"0.73435... | 0.8522409 | 0 |
itkScalarConnectedComponentImageFilterIUC3IUC3_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUC3IUC3 | def cTJG(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUC3IUC3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bmc8(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC3IUC3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC3IUC3_cast(YEnM)",
"def m936(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIUC3IUC3 *':\n return xm6Z.itkBinaryContourImageFilterIUC3IUC3_cast(YEnM)",
"def GZwt(YEnM: ... | [
"0.85622454",
"0.84595835",
"0.8449937",
"0.8420969",
"0.83058935",
"0.82976854",
"0.82877815",
"0.82875663",
"0.82346743",
"0.82270944",
"0.8199658",
"0.81908154",
"0.8187711",
"0.8184873",
"0.8178296",
"0.8166826",
"0.8158557",
"0.81440413",
"0.813135",
"0.8127258",
"0.8113... | 0.84496486 | 3 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL2IUL2 | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL2IUL2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hnlv(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIF2IUC2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIF2IUC2_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIUC2IUC2 *':\n return twC5.itkHuangThresholdImageFilterIUC2IUC2_cast(YEnM)",
"def X_jZ(YEnM: ... | [
"0.7916095",
"0.786956",
"0.7855203",
"0.785469",
"0.7835622",
"0.7818663",
"0.7810699",
"0.7808432",
"0.7793141",
"0.777744",
"0.77737254",
"0.7772055",
"0.7763011",
"0.7760259",
"0.77510923",
"0.772141",
"0.7718588",
"0.7711092",
"0.770316",
"0.76983154",
"0.76683915",
"0... | 0.7272096 | 78 |
New() > itkScalarConnectedComponentImageFilterIUL2IUL2 Create a new object of the class itkScalarConnectedComponentImageFilterIUL2IUL2 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 th... | def oW_4(*qIxc, **PECO):
YEnM = bS11.__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 = Vr_0.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = wqNU.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.810969",
"0.8016988",
"0.79049355",
"0.76995564",
"0.76176834",
"0.7489592",
"0.7249162",
"0.72354",
"0.72223645",
"0.721926",
"0.7180621",
"0.717406",
"0.71616745",
"0.71258533",
"0.71121764",
"0.7111806",
"0.71020114",
"0.70966864",
"0.7091883",
"0.70879316",
"0.70839036... | 0.83067244 | 0 |
itkScalarConnectedComponentImageFilterIUL2IUL2_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL2IUL2 | def mCnf(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL2IUL2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ryQ_(YEnM: 'itkLightObject') -> 'itkSquaredDifferenceImageFilterIUC2IUC2IUC2 *':\n return p38V.itkSquaredDifferenceImageFilterIUC2IUC2IUC2_cast(YEnM)",
"def X_jZ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC2IUC2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC2IUC2_cast(YEnM)",
... | [
"0.83139575",
"0.8299848",
"0.82793486",
"0.82171625",
"0.81998134",
"0.81863654",
"0.8177342",
"0.81746405",
"0.81718636",
"0.816269",
"0.8118483",
"0.8114306",
"0.8095563",
"0.8085433",
"0.8082807",
"0.8075328",
"0.8057134",
"0.80275905",
"0.80198264",
"0.80029255",
"0.7999... | 0.82432014 | 3 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL3IUL3 | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL3IUL3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIUC3IUC3 *':\n return twC5.itkHuangThresholdImageFilterIUC3IUC3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIF3IUC3 *':\n return twC5.itkHuangThresholdImageFilterIF3IUC3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLi... | [
"0.7853975",
"0.7829323",
"0.7813771",
"0.77942395",
"0.7764419",
"0.77603024",
"0.7748666",
"0.7748361",
"0.7741525",
"0.7741163",
"0.77325594",
"0.7731624",
"0.77311325",
"0.77278167",
"0.7726055",
"0.77257085",
"0.771961",
"0.77153486",
"0.7686271",
"0.76790184",
"0.767397... | 0.0 | -1 |
New() > itkScalarConnectedComponentImageFilterIUL3IUL3 Create a new object of the class itkScalarConnectedComponentImageFilterIUL3IUL3 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 th... | def oW_4(*qIxc, **PECO):
YEnM = YZ2n.__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 = YC6F.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = WVUi.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8189891",
"0.81607014",
"0.8048441",
"0.7936693",
"0.7874287",
"0.7509646",
"0.7485256",
"0.7415221",
"0.74138474",
"0.73920166",
"0.73784506",
"0.7333224",
"0.73199415",
"0.7306188",
"0.7292536",
"0.72861814",
"0.72784054",
"0.7264141",
"0.72630477",
"0.725936",
"0.725420... | 0.84237623 | 0 |
itkScalarConnectedComponentImageFilterIUL3IUL3_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUL3IUL3 | def A941(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUL3IUL3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bmc8(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC3IUC3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC3IUC3_cast(YEnM)",
"def feMn(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIF3IUC3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIF3IUC3_cast(YEnM)",
"def GZwt(... | [
"0.8281941",
"0.82585204",
"0.820341",
"0.819792",
"0.8176459",
"0.8163337",
"0.81595755",
"0.814559",
"0.81233966",
"0.8112018",
"0.8099364",
"0.8094154",
"0.80918366",
"0.8090299",
"0.8069894",
"0.80612946",
"0.8050016",
"0.80486995",
"0.8048654",
"0.80484223",
"0.8043133",... | 0.8268188 | 1 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS2IUS2 | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS2IUS2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AybQ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIF2IUS2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIF2IUS2_cast(YEnM)",
"def L4uj(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUS2IUS2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUS2IUS2_cast(YEnM)",
"def iYVn(... | [
"0.8234662",
"0.8152375",
"0.8149365",
"0.81165546",
"0.80900943",
"0.808157",
"0.8069009",
"0.80225384",
"0.80201405",
"0.7982874",
"0.79731125",
"0.79427916",
"0.79268795",
"0.79194987",
"0.78996825",
"0.7874097",
"0.7871689",
"0.7853509",
"0.78272766",
"0.782098",
"0.78207... | 0.7388554 | 52 |
New() > itkScalarConnectedComponentImageFilterIUS2IUS2 Create a new object of the class itkScalarConnectedComponentImageFilterIUS2IUS2 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 th... | def oW_4(*qIxc, **PECO):
YEnM = IQfq.__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 = ofh3.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = bS11.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8137704",
"0.7743462",
"0.76507866",
"0.7580337",
"0.7579631",
"0.75062066",
"0.7500052",
"0.7498552",
"0.7477128",
"0.7439366",
"0.73874336",
"0.73563516",
"0.7352051",
"0.726111",
"0.7194784",
"0.7122389",
"0.7110345",
"0.7109056",
"0.70837086",
"0.70642364",
"0.70642024... | 0.8326859 | 0 |
itkScalarConnectedComponentImageFilterIUS2IUS2_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS2IUS2 | def JMcY(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS2IUS2_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iYVn(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC2IUS2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC2IUS2_cast(YEnM)",
"def L4uj(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUS2IUS2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUS2IUS2_cast(YEnM)",
"def Ayb... | [
"0.86568946",
"0.865473",
"0.8643864",
"0.8536566",
"0.8449378",
"0.84431946",
"0.8386589",
"0.8364948",
"0.8335412",
"0.8325585",
"0.83042836",
"0.82981235",
"0.82755077",
"0.8249215",
"0.8215279",
"0.820519",
"0.8185933",
"0.8174471",
"0.81638825",
"0.81563234",
"0.81561357... | 0.84245735 | 6 |
cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS3IUS3 | def YWvJ(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS3IUS3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUS3IUS3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUS3IUS3_cast(YEnM)",
"def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC3IUS3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC3IUS3_cast(YEnM)",
"def YWv... | [
"0.79711974",
"0.7969842",
"0.7935341",
"0.7925768",
"0.79115564",
"0.7905374",
"0.79045045",
"0.7894235",
"0.787495",
"0.7850108",
"0.78205234",
"0.7820389",
"0.7813434",
"0.7807995",
"0.7800571",
"0.77685785",
"0.77541655",
"0.7716147",
"0.77084535",
"0.7705211",
"0.7700794... | 0.74438447 | 66 |
New() > itkScalarConnectedComponentImageFilterIUS3IUS3 Create a new object of the class itkScalarConnectedComponentImageFilterIUS3IUS3 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 th... | def oW_4(*qIxc, **PECO):
YEnM = DjPz.__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 = XR2w.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\n YEnM = YZ2n.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM",
"def oW_4(*qIxc, **PECO):\... | [
"0.8304271",
"0.7937007",
"0.78271604",
"0.77677476",
"0.77512723",
"0.77341753",
"0.7723568",
"0.77019167",
"0.766848",
"0.7551639",
"0.75462586",
"0.74764556",
"0.74504095",
"0.7335301",
"0.73238575",
"0.73043185",
"0.7283724",
"0.7280787",
"0.726569",
"0.72395",
"0.7233015... | 0.8474772 | 0 |
itkScalarConnectedComponentImageFilterIUS3IUS3_cast(itkLightObject obj) > itkScalarConnectedComponentImageFilterIUS3IUS3 | def Wxhj(*qIxc):
return t627.itkScalarConnectedComponentImageFilterIUS3IUS3_cast(*qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dNk0(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUC3IUS3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUC3IUS3_cast(YEnM)",
"def CtHM(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIUS3IUS3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIUS3IUS3_cast(YEnM)",
"def suW... | [
"0.8513326",
"0.8487962",
"0.84489006",
"0.84366953",
"0.83054096",
"0.82858",
"0.8284152",
"0.82524645",
"0.82222956",
"0.81974435",
"0.81933993",
"0.815109",
"0.8142676",
"0.81216824",
"0.8113342",
"0.81000835",
"0.80980945",
"0.80843073",
"0.803703",
"0.8009234",
"0.800210... | 0.8449123 | 2 |
returns sum of list if list contains elements, returns 0 otherwise | def b4yx(list):
if not list:
return 0
else:
return sum(list) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum(YKHO):\n wjRY = 0\n for geyT in YKHO.__list:\n if type(geyT) is int or type(geyT) is float:\n wjRY += geyT\n elif not geyT:\n continue\n else:\n wjRY += len(geyT)\n return wjRY",
"def QoeY(hcfj):\n Aofo = 0\n if type(hcfj) == list:\n ... | [
"0.73673296",
"0.72543484",
"0.71892315",
"0.71892315",
"0.7164543",
"0.7128246",
"0.71101135",
"0.70301265",
"0.70015615",
"0.69780755",
"0.6967028",
"0.69275284",
"0.6924894",
"0.69185996",
"0.6872352",
"0.68629694",
"0.6846797",
"0.6823928",
"0.6821867",
"0.68018556",
"0.6... | 0.79704857 | 0 |
Return the dataset metadata as a dictionary. Can be set, in which case the dictionary items passed will be added to, or replace existing metadata. | def yIVm(YKHO):
if YKHO._open is not None:
YKHO._init_metadata()
return YKHO._metadata[YKHO._metadata_root]
else:
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GNr7(YKHO, xYGm, c55i):\n return {}",
"def yIVm(YKHO):\n YKHO.data_as_dict = {}\n for _pUq in YKHO.data:\n YKHO.data_as_dict[_pUq.name] = _pUq.value\n return YKHO.data_as_dict",
"def oUlR(YKHO):\n return {}",
"def IkX6(YKHO, **B2fa):\n Aofo = JH2i({})\n with YKHO._getDatasetLo... | [
"0.76442873",
"0.7315918",
"0.7298317",
"0.7244353",
"0.72138727",
"0.7205591",
"0.72011495",
"0.71890664",
"0.71887076",
"0.71873593",
"0.7177314",
"0.7045093",
"0.69751775",
"0.6916879",
"0.6916879",
"0.69139266",
"0.68935937",
"0.6882811",
"0.6862776",
"0.6856322",
"0.6823... | 0.0 | -1 |
Units of measurement (a string) for the primary scalar data associated with this dataset. Can be set. | def JZJQ(YKHO):
try:
oTcM = YKHO.metadata['geosoft']['dataset']['geo:unitofmeasurement']['#text']
except KeyError:
oTcM = ''
return oTcM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b82i(YKHO):\n return YKHO.values.primary.units",
"def b82i(YKHO):\n return YKHO._metadata[1]",
"def PXGI(YKHO, vQCx, mJaN):\n YKHO.units[vQCx] = mJaN\n return YKHO",
"def b82i(YKHO) -> str | None:\n trRF = YKHO.gateway.const.SetReq\n if gXVD(YKHO.gateway.protocol_version) >= gXVD('1.5')... | [
"0.67859006",
"0.6782565",
"0.66467106",
"0.66189003",
"0.6529448",
"0.652696",
"0.6481571",
"0.6481571",
"0.64311045",
"0.6430065",
"0.64198154",
"0.64142084",
"0.63645273",
"0.6356002",
"0.6331003",
"0.63056725",
"0.6305194",
"0.6290799",
"0.62898374",
"0.62540966",
"0.6251... | 0.6372359 | 12 |
Compute QR factorization of X s.t. QR = X. | def fy5h(EcVT, vgXP=0):
assert vgXP in [0, 1]
assert type(EcVT) == oyIN.ndarray
assert EcVT.shape[0] == EcVT.shape[1]
A3Vt = jth9.deepcopy(EcVT)
T8ck = oyIN.eye(EcVT.shape[0])
for YRbF in range(EcVT.shape[0] - vgXP):
eQ6J = oyIN.eye(A3Vt.shape[0])
bGrB, jrOu = OOL9(A3Vt[YRbF + vg... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tCou(YKHO):\n if YKHO.m != YKHO.n:\n raise NotImplementedError('QR decomposition not yet available ' + 'for non-square matrices')\n rIiq = [he6J.Vector.fromMatrixColumn(YKHO, r845) for r845 in range(YKHO.m)]\n fH9L, SqKM = ([], [])\n for r845 in range(YKHO.m):\n P6bq = rIiq[r845]\n ... | [
"0.68571144",
"0.68361026",
"0.6699512",
"0.6681736",
"0.64381254",
"0.6415697",
"0.6369449",
"0.635679",
"0.62745416",
"0.6270178",
"0.62691253",
"0.62282455",
"0.62140536",
"0.6119611",
"0.6109474",
"0.6093629",
"0.6078438",
"0.6075319",
"0.6073432",
"0.602924",
"0.60271794... | 0.67876667 | 2 |
Create and configure an instance of the Flask application. | def LUif(zmu8=None):
P4t4 = L2w0(__name__)
P4t4.config.from_mapping(SECRET_KEY=L_5q, DATABASE=Hy7s.path.join('/Users/raisonm/proj/journalApp/instance/records.sqlite'))
if zmu8 is None:
P4t4.config.from_pyfile('config.py', silent=True)
else:
P4t4.config.update(zmu8)
try:
Hy7s.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bxQM():\n P4t4 = L2w0(import_name=__name__, template_folder='templates', static_folder='static')\n P4t4 = jPWl(P4t4)\n fRSk(P4t4)\n wyyA.init_app(P4t4)\n WWrj(P4t4.config)\n S0MI.info('Set up app & logger.')\n _wue(P4t4.config)\n ptR4(P4t4.config)\n TfOc(P4t4)\n sSY8(P4t4)\n re... | [
"0.8524236",
"0.8516853",
"0.8504485",
"0.83319825",
"0.82396483",
"0.82314265",
"0.8200104",
"0.81300336",
"0.80288595",
"0.8026753",
"0.8019436",
"0.79989535",
"0.7984679",
"0.7978355",
"0.7973289",
"0.7970172",
"0.7959833",
"0.79556865",
"0.7952428",
"0.7946338",
"0.793713... | 0.0 | -1 |
returns the z for which P(Z >= z) = probability | def vRHY(Q7Be, yGTL=0, WTkW=1):
return eaZe.inverse_normal_cdf(1 - Q7Be, yGTL, WTkW) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def guBC(epBp):\n RdgZ = 6.0\n if epBp == 0.0:\n WKvO = 0.0\n else:\n LVAh = 0.5 * epAf.fabs(epBp)\n if LVAh >= RdgZ * 0.5:\n WKvO = 1.0\n elif LVAh < 1.0:\n yzQ0 = LVAh * LVAh\n WKvO = ((((((((0.000124818987 * yzQ0 - 0.001075204047) * yzQ0 + 0.... | [
"0.7923753",
"0.7625524",
"0.75491405",
"0.7405041",
"0.6838012",
"0.6697751",
"0.64589626",
"0.64409125",
"0.63929063",
"0.6382707",
"0.63141704",
"0.6314136",
"0.62904847",
"0.62522966",
"0.62209",
"0.61795706",
"0.6152627",
"0.6144414",
"0.6080992",
"0.6080628",
"0.6077197... | 0.0 | -1 |
Test basic artist searches | def fcai(YKHO):
o0Dy = (UAfl('nicki minaj'), UAfl('jay-z'), wHgn('jay z', dTTS(title=mQYu('jay-z'))), UAfl('passion pit'), UAfl('red hot chili peppers'), UAfl('the temper trap'), wHgn('glitch mob', dTTS(title=mQYu('the glitch mob'))), wHgn('kanye', dTTS(title=mQYu('kanye west'))), UAfl('justin bieber'), wHgn('carly... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nuBQ(XN37):\n Ga1l(x6fo, VJZb, zZkk, '00020064artistsearch:Fritjof', XN37)",
"def gC4t(YKHO):\n jzdc = YKHO.d.artist(1)\n YKHO.assertEqual(jzdc.name, 'Persuader, The')",
"def G8Mr(XN37):\n JsSA, mvdW = Ga1l(SBJl, _kan, wGdK, '00020064albumsearch:de unge', XN37)\n oh4c('artist', JsSA, mvdW, w... | [
"0.8730556",
"0.73908883",
"0.7223678",
"0.7182206",
"0.70584786",
"0.6936459",
"0.69300425",
"0.691414",
"0.68024915",
"0.67899215",
"0.67833483",
"0.67777526",
"0.6768378",
"0.6757824",
"0.6756352",
"0.674949",
"0.6747021",
"0.6727671",
"0.66787386",
"0.6640034",
"0.6628598... | 0.6691727 | 18 |
Test artist searches containing other keywords (songs, albums, etc.) | def AIvO(YKHO):
o0Dy = (wHgn('adele 21', OniX(title=mQYu('21'), artist=mQYu('adele')), kPxn(title=mQYu('adele'))), wHgn('kanye power', sjAw(title=mQYu('power', artist=mQYu('kanye west'))), kPxn(title=mQYu('kanye west')), OniX(title=mQYu('my beautiful dark twisted fantasy'))), wHgn('ratat party with children', sjAw(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nuBQ(XN37):\n Ga1l(x6fo, VJZb, zZkk, '00020064artistsearch:Fritjof', XN37)",
"def tStS(YKHO, zdHi, R09q, QePW):\n SvuF = qxeD.UUID(nDCn.compat.to_uuid_input('2221930a-f28d-44ed-856b-c84b35f76713'))\n R09q.track_store.get_by_artist.return_value = zdHi\n R09q.id_cache.get_artist_id.return_value = S... | [
"0.7995313",
"0.70002437",
"0.68818027",
"0.68789047",
"0.68000746",
"0.67578024",
"0.6725196",
"0.65796924",
"0.657236",
"0.6539186",
"0.65365154",
"0.65276545",
"0.6515611",
"0.6484073",
"0.6395277",
"0.6394893",
"0.6350415",
"0.6272386",
"0.6269972",
"0.62673277",
"0.62570... | 0.72164255 | 1 |
Test artists from top songs from iTunes | def DG09(YKHO):
MoUh = fkS2()
p9NO = MoUh.get_top_songs(limit=10)
YKHO.__test_artists('top_songs', p9NO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kJR1(YKHO):\n MoUh = fkS2()\n p9NO = MoUh.get_top_albums(limit=10)\n YKHO.__test_artists('top_albums', p9NO)",
"def IGCL(YKHO):\n I7e3 = AY4k.SpAlbumTrack(Szi1.munchify({'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/25BObiRSDCMwVrBGIVaLIf'}, 'href': 'https://api.spoti... | [
"0.7286616",
"0.708159",
"0.6732261",
"0.64436823",
"0.6413006",
"0.64110905",
"0.63900334",
"0.63674253",
"0.63660115",
"0.635695",
"0.6314102",
"0.6280709",
"0.62699217",
"0.6259501",
"0.6251138",
"0.62174183",
"0.6200491",
"0.619385",
"0.613875",
"0.6108411",
"0.6104719",
... | 0.8056132 | 0 |
Euclidean distance between two points. | def Ayfi(EBgd, HpuQ):
o4D3, si3g = EBgd
ajwV, skBL = HpuQ
return HEbx(ajwV - o4D3, skBL - si3g) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def usGr(lCHq, ANJu):\n return epAf.sqrt(sum([(WKvO - LVAh) ** 2 for WKvO, LVAh in zip(lCHq, ANJu)]))",
"def usGr(lCHq, ANJu):\n return oyIN.linalg.norm(oyIN.array(lCHq) - oyIN.array(ANJu))",
"def usGr(QxIi, Mo0Q):\n return oyIN.linalg.norm(QxIi - Mo0Q)",
"def usGr(o4D3, ajwV):\n return oyIN.sqrt... | [
"0.84279233",
"0.83612895",
"0.8324174",
"0.83092695",
"0.8306929",
"0.82199126",
"0.8209069",
"0.82086724",
"0.8176723",
"0.805556",
"0.80503225",
"0.8045459",
"0.80258095",
"0.7958847",
"0.7943932",
"0.79337907",
"0.79223317",
"0.78885055",
"0.7877786",
"0.78511626",
"0.784... | 0.0 | -1 |
Find a shared site associated with this HTTP request object. Raises Raises SharingSite.DoesNotExist if no appropriate sharing site exists. Uses request hostname and port to find matching sharing site. | def bzCn(Emd4, QePW):
try:
ayrW = QePW.get_host().split(':')[0]
except KeyError:
ayrW = None
try:
bIwZ = QePW.get_port()
except (AttributeError, KeyError):
bIwZ = QePW.META.get('SERVER_PORT')
return Emd4.objects.get(hostname=ayrW, port=bIwZ) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KBst(YKHO, mWFP) -> HAC5:\n PTTa = YKHO.get_iis_object()\n XLMv = PTTa.GetAdminSection('system.applicationHost/sites', 'MACHINE/WEBROOT/APPHOST')\n xUwc = XLMv.Collection\n for YRbF in range(xUwc.Count):\n qpDA = xUwc[YRbF]\n QWcs = qpDA.Properties\n w1vn = QWcs['name'].Value\n... | [
"0.5777654",
"0.57026607",
"0.5693258",
"0.56853914",
"0.5562463",
"0.54654884",
"0.54498243",
"0.5429493",
"0.54260767",
"0.5395053",
"0.53559476",
"0.53478336",
"0.5291979",
"0.5291979",
"0.519769",
"0.51714766",
"0.510463",
"0.50839126",
"0.5083297",
"0.50640726",
"0.50364... | 0.5885416 | 0 |
Returns an iterator over a series of lists of length size from iterable. >>> list(group([1,2,3,4], 2)) [[1, 2], [3, 4]] | def uOe2(Q6uT, zNig):
if not hasattr(Q6uT, 'next'):
Q6uT = iter(Q6uT)
while True:
yield [Q6uT.next() for YRbF in Ni9Y(zNig)] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lqrn(oHE7: Iterator[A], BJJz: int) -> bDy6[x1iM[k0lF]]:\n return iter(lambda: list(uOgj(oHE7, 0, BJJz)), [])",
"def k47Z(OxJJ, zNig: int):\n uOe2 = []\n for ZfUD in OxJJ:\n uOe2.append(ZfUD)\n if len(uOe2) == zNig:\n yield uOe2\n uOe2 = []\n if uOe2:\n y... | [
"0.7845661",
"0.7796447",
"0.746594",
"0.72798073",
"0.71628743",
"0.7129424",
"0.7043983",
"0.70111305",
"0.6984684",
"0.6973007",
"0.69131935",
"0.6896535",
"0.6894965",
"0.6853358",
"0.67718494",
"0.67208564",
"0.6720669",
"0.6720669",
"0.67117584",
"0.6690675",
"0.6685970... | 0.73727816 | 3 |
One or more VPC subnet IDs to associate with the new proxy. | def DJwV(YKHO) -> qe4Y.Input[bdIy[qe4Y.Input[str]]]:
return qe4Y.get(YKHO, 'vpc_subnet_ids') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EKIl(YKHO, DpRu, s48d):\n for VWZy in YKHO.router_data['properties']['networks'].keys():\n Eorv = str(DpRu + '_' + VWZy)\n Mff6 = U8Lr({Eorv: {'type': 'OS::Neutron::Subnet', 'properties': {'name': Eorv, 'network_id': {'get_resource': s48d}, 'cidr': {'get_param': Eorv + '_net_cidr'}, 'gateway_i... | [
"0.64786094",
"0.62313414",
"0.6107781",
"0.60586315",
"0.6030688",
"0.6014509",
"0.59777415",
"0.58825356",
"0.58703643",
"0.58640033",
"0.57853884",
"0.57761633",
"0.5771132",
"0.5764335",
"0.57343537",
"0.57222754",
"0.5701753",
"0.56956595",
"0.5691823",
"0.56753445",
"0.... | 0.5740728 | 14 |
Indicates whether this endpoint is the default endpoint for the associated DB proxy. | def eoCS(YKHO) -> h8nf[qe4Y.Input[bool]]:
return qe4Y.get(YKHO, 'is_default') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kX6n(YKHO):\n ...",
"def NnMb(YKHO) -> str:\n return YKHO.settings['default_endpoint']",
"def NnMb(YKHO, w2IS: str):\n YKHO.settings['default_endpoint'] = w2IS",
"def Aq2s(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'ignore_missing_service_endpoint')",
"def CQv0(YKHO) -> h8nf[q... | [
"0.68786114",
"0.6868568",
"0.63896644",
"0.63464546",
"0.6318467",
"0.62582296",
"0.6236508",
"0.6214144",
"0.61666054",
"0.61666054",
"0.61666054",
"0.61614776",
"0.61614776",
"0.6153259",
"0.61497265",
"0.6144049",
"0.61388963",
"0.61081105",
"0.6086263",
"0.6071304",
"0.6... | 0.5795998 | 43 |
The VPC ID of the DB proxy endpoint. | def xOeT(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'vpc_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gkse(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'vpc_endpoint_id')",
"def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')",
"def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')",
"def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')",
"def xOeT(YKHO) -> str:\n ... | [
"0.7767872",
"0.7618442",
"0.7618442",
"0.7618442",
"0.7618442",
"0.7618442",
"0.7618442",
"0.75157815",
"0.75157815",
"0.7356796",
"0.7356796",
"0.7356796",
"0.7356796",
"0.7356796",
"0.7356796",
"0.7356796",
"0.7356796",
"0.7356796",
"0.7265193",
"0.72050333",
"0.7203479",
... | 0.6964387 | 37 |
One or more VPC subnet IDs to associate with the new proxy. | def DJwV(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:
return qe4Y.get(YKHO, 'vpc_subnet_ids') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EKIl(YKHO, DpRu, s48d):\n for VWZy in YKHO.router_data['properties']['networks'].keys():\n Eorv = str(DpRu + '_' + VWZy)\n Mff6 = U8Lr({Eorv: {'type': 'OS::Neutron::Subnet', 'properties': {'name': Eorv, 'network_id': {'get_resource': s48d}, 'cidr': {'get_param': Eorv + '_net_cidr'}, 'gateway_i... | [
"0.64805716",
"0.6233515",
"0.6109247",
"0.60611063",
"0.6031659",
"0.6016416",
"0.597962",
"0.5884555",
"0.58737445",
"0.5868061",
"0.5787678",
"0.57792675",
"0.5775068",
"0.57668495",
"0.57441205",
"0.5738021",
"0.57257336",
"0.57025003",
"0.56971884",
"0.5693566",
"0.56782... | 0.55675864 | 35 |
Get an existing ProxyEndpoint resource's state with the given name, id, and optional extra properties used to qualify the lookup. | def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None, hMqs: Optional[pulumi.Input[str]]=None, CQv0: Optional[pulumi.Input[str]]=None, VFls: Optional[pulumi.Input[str]]=None, w2IS: Optional[pulumi.Input[str]]=None, eoCS: Optional[pulumi.Input[bool]]=None, dJ1p: Optional[pulumi.Input[Map... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None) -> 'Endpoint':\n VKhi = qe4Y.ResourceOptions.merge(VKhi, qe4Y.ResourceOptions(id=id))\n r6DL = SayD.__new__(SayD)\n r6DL.__dict__['create_time'] = None\n r6DL.__dict__['description'] = None\n r6DL.__dict__['endpo... | [
"0.66231143",
"0.6017139",
"0.5900722",
"0.5832839",
"0.5550165",
"0.5501538",
"0.5426185",
"0.5421561",
"0.53255767",
"0.5290732",
"0.5287796",
"0.5284393",
"0.5119403",
"0.50882995",
"0.50860167",
"0.5077548",
"0.5043828",
"0.5016635",
"0.49872842",
"0.49578288",
"0.4948095... | 0.74556327 | 0 |
Indicates whether this endpoint is the default endpoint for the associated DB proxy. | def eoCS(YKHO) -> qe4Y.Output[bool]:
return qe4Y.get(YKHO, 'is_default') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kX6n(YKHO):\n ...",
"def NnMb(YKHO) -> str:\n return YKHO.settings['default_endpoint']",
"def NnMb(YKHO, w2IS: str):\n YKHO.settings['default_endpoint'] = w2IS",
"def Aq2s(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'ignore_missing_service_endpoint')",
"def CQv0(YKHO) -> h8nf[q... | [
"0.68792164",
"0.6868145",
"0.6389235",
"0.63450086",
"0.6317704",
"0.6258677",
"0.6237682",
"0.62150997",
"0.61676514",
"0.61676514",
"0.61676514",
"0.61610067",
"0.61610067",
"0.6154658",
"0.6151027",
"0.61453587",
"0.61399704",
"0.61102986",
"0.608743",
"0.6072734",
"0.607... | 0.5912732 | 31 |
The VPC ID of the DB proxy endpoint. | def xOeT(YKHO) -> qe4Y.Output[str]:
return qe4Y.get(YKHO, 'vpc_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gkse(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'vpc_endpoint_id')",
"def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')",
"def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')",
"def xOeT(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpc_id')",
"def xOeT(YKHO) -> str:\n ... | [
"0.7767872",
"0.7618442",
"0.7618442",
"0.7618442",
"0.7618442",
"0.7618442",
"0.7618442",
"0.75157815",
"0.75157815",
"0.7265193",
"0.72050333",
"0.7203479",
"0.71747273",
"0.70911527",
"0.70911527",
"0.70911527",
"0.70911527",
"0.70911527",
"0.70911527",
"0.6964387",
"0.696... | 0.7356796 | 16 |
One or more VPC subnet IDs to associate with the new proxy. | def DJwV(YKHO) -> qe4Y.Output[bdIy[str]]:
return qe4Y.get(YKHO, 'vpc_subnet_ids') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EKIl(YKHO, DpRu, s48d):\n for VWZy in YKHO.router_data['properties']['networks'].keys():\n Eorv = str(DpRu + '_' + VWZy)\n Mff6 = U8Lr({Eorv: {'type': 'OS::Neutron::Subnet', 'properties': {'name': Eorv, 'network_id': {'get_resource': s48d}, 'cidr': {'get_param': Eorv + '_net_cidr'}, 'gateway_i... | [
"0.64814",
"0.62341714",
"0.61093396",
"0.6060098",
"0.60323834",
"0.60166353",
"0.5979888",
"0.5885736",
"0.58737963",
"0.5867164",
"0.5787546",
"0.5778637",
"0.5774332",
"0.57652676",
"0.57433325",
"0.5736887",
"0.5724892",
"0.57025915",
"0.56974316",
"0.5692673",
"0.567753... | 0.0 | -1 |
Sets the account_type of this BalanceSheetAccountType. | def dhPZ(YKHO, dhPZ):
YKHO._account_type = dhPZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dhPZ(YKHO, dhPZ):\n BbPm = ['USER_ACCOUNT', 'SERVICE_ACCOUNT', 'INACTIVE_SERVICE_ACCOUNT']\n if dhPZ not in BbPm:\n raise ValueError('Invalid value for `account_type` ({0}), must be one of {1}'.format(dhPZ, BbPm))\n YKHO._account_type = dhPZ",
"def AwQC(YKHO, ZrNc: str):\n U5bT = YKHO._cal... | [
"0.81264126",
"0.64217424",
"0.6230757",
"0.6179754",
"0.60649496",
"0.60101914",
"0.59519535",
"0.59519535",
"0.59519535",
"0.59519535",
"0.5939822",
"0.59117794",
"0.5900935",
"0.5900935",
"0.5890645",
"0.58612657",
"0.58521056",
"0.58521056",
"0.5826119",
"0.5805313",
"0.5... | 0.84163225 | 1 |
Sets the total of this BalanceSheetAccountType. | def wjRY(YKHO, wjRY):
YKHO._total = wjRY | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KpBD(YKHO, KpBD):\n YKHO._total_amount = KpBD",
"def wjRY(YKHO, wjRY):\n if YKHO.local_vars_configuration.client_side_validation and wjRY is None:\n raise ValueError('Invalid value for `total`, must not be `None`')\n YKHO._total = wjRY",
"def hedl(YKHO, KpBD):\n YKHO.set_value_into_input... | [
"0.65251774",
"0.6347317",
"0.6249022",
"0.613172",
"0.60106283",
"0.5921658",
"0.5797202",
"0.57935345",
"0.57583624",
"0.5585873",
"0.5519938",
"0.54650676",
"0.5445725",
"0.54339665",
"0.5433608",
"0.5417886",
"0.53624874",
"0.53624874",
"0.53624874",
"0.53624874",
"0.5325... | 0.64666826 | 6 |
Creates the output tensor/op given the state tensor as input. | def pOv4(YKHO, QTBn, Y9ns=True):
WKvO = YKHO.representation(QTBn, projection=False)
if Y9ns:
WKvO = ZylS.nn.dropout(WKvO, rate=YKHO._dropout)
WKvO = YKHO.dense2(WKvO)
if YKHO._num_actions == 1:
WKvO = ZylS.squeeze(WKvO, axis=-1)
return WKvO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e_Ry(vhpA, ZHfW):\n rxEN = ZylS.transpose(vhpA, [1, 0, 2])\n return ZylS.boolean_mask(rxEN, ZHfW)",
"def fkCJ(YKHO, VjJf, ph8c):\n with ZylS.name_scope('shared_layers'):\n gEmA = l6ZH(kdJv, activation='relu')(VjJf)\n gEmA = l6ZH(kdJv, activation='relu')(gEmA)\n gEmA = l6ZH(kdJv,... | [
"0.66156334",
"0.649565",
"0.6493756",
"0.64574003",
"0.6291887",
"0.62488365",
"0.6246639",
"0.6222644",
"0.61866707",
"0.6157383",
"0.6144531",
"0.6142868",
"0.6093979",
"0.6089289",
"0.6045012",
"0.6040169",
"0.597687",
"0.5948398",
"0.5943508",
"0.59234047",
"0.5903304",
... | 0.5865734 | 23 |
Create route for / and render template with parameters. | def d6pt():
return TvZl('main_board/board.html', url_for_api_messages=nKyW('api.main_board'), limit=10, message_form=VPh7()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kZiy():\n G9jH.info('Entering route: HOME')\n G9jH.info('Rendering template: main.html')\n return TvZl('main.html')",
"def c6zd(g2Vd, N0q9, flp6):\n sEAN = GD_A.create_jinja_env()\n rPXJ = sEAN.get_template('views/base-reroute.html')\n B2fa = {'pod': g2Vd, 'partials': [{'partial': 'routes',... | [
"0.63299686",
"0.6284386",
"0.6281332",
"0.62672126",
"0.62635124",
"0.61952674",
"0.6163771",
"0.6156774",
"0.6097935",
"0.603782",
"0.603782",
"0.60363984",
"0.59981525",
"0.5994949",
"0.5994949",
"0.5994949",
"0.5994949",
"0.5965198",
"0.5962408",
"0.594807",
"0.594807",
... | 0.0 | -1 |
Build a spatialpandas MultiPointArray from a geopandas GeometryArray or GeoSeries. | def ILHs(Emd4, mQYJ):
return super(OVfD, Emd4).from_geopandas(mQYJ) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def alaT(nPrm, iSU7, GCHw, ZLJ_=[], NgpY='point'):\n from spatialpandas import GeoSeries, GeoDataFrame\n from spatialpandas.geometry import Point, Line, Polygon, Ring, LineArray, PolygonArray, PointArray, MultiLineArray, MultiPolygonArray, MultiPointArray, RingArray\n from ...element import Polygons\n ... | [
"0.65889156",
"0.65358377",
"0.6173825",
"0.5891766",
"0.5843449",
"0.57850546",
"0.56397897",
"0.56059635",
"0.5588825",
"0.5586981",
"0.5575386",
"0.55105734",
"0.54928976",
"0.5483556",
"0.5483181",
"0.5466134",
"0.53898054",
"0.53849596",
"0.5361512",
"0.53492594",
"0.534... | 0.67450875 | 0 |
For some input value of text s, calculate entropy. | def oqGu(KCHu):
XP5J, qYPq = (mBkc(KCHu), float(len(KCHu)))
return -sum((UHFx / qYPq * epAf.log(UHFx / qYPq, 2) for UHFx in XP5J.values())) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oqGu(YKHO, l5Ny):\n DIeq = []\n for GIN8 in l5Ny:\n if GIN8.count(\"'\") > 0:\n V22M = GIN8.split(\"'\")\n for yzQ0 in V22M:\n DIeq.append(yzQ0)\n else:\n DIeq.append(GIN8)\n l5Ny = DIeq\n tTpl = 0.0\n WPLo = len(l5Ny)\n if WPLo ==... | [
"0.8155261",
"0.7962855",
"0.7665606",
"0.7654546",
"0.7294347",
"0.72940874",
"0.7265017",
"0.72210306",
"0.7048441",
"0.7004906",
"0.69228864",
"0.6890849",
"0.6792241",
"0.67860514",
"0.677865",
"0.66873765",
"0.66873765",
"0.66249645",
"0.6624372",
"0.66194814",
"0.660663... | 0.792586 | 2 |
Traverse nested dictionary and yield list of its elements. | def eNvf(ayQ8, rb7a, soTl=None, O1l_=False):
if not soTl:
soTl = dict()
for vC9B in jMIb(ayQ8, rb7a):
if not soTl:
if O1l_ or len(vC9B) == rb7a:
yield vC9B
continue
npjt = True
for H5ew in soTl:
if H5ew <= len(vC9B) and vC9B[H5e... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k1ay(Csk6):\n for H5ew in sorted(Csk6.keys()):\n if isinstance(Csk6[H5ew], dict):\n yield from k1ay(Csk6[H5ew])\n else:\n yield Csk6[H5ew]",
"def DSaT(fK8P):\n for G1Hx, Ty9i in fK8P.items():\n yield (fK8P, G1Hx, Ty9i)\n if isinstance(Ty9i, dict):\n ... | [
"0.7484896",
"0.7424627",
"0.732711",
"0.73233217",
"0.72193086",
"0.71362484",
"0.70572597",
"0.7038582",
"0.7018474",
"0.69527173",
"0.6914603",
"0.6856945",
"0.6762729",
"0.6754361",
"0.67450166",
"0.6738772",
"0.6687975",
"0.6664475",
"0.6643112",
"0.6505769",
"0.64327466... | 0.63049287 | 22 |
Return number of created connections | def dVDm(YKHO):
return len(YKHO._available_connections) + len(YKHO._in_use_connections) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iT_a(YKHO):\n return YKHO.proxy.getconnectioncount()",
"def RDfO(YKHO):\n return len(YKHO._connections_openned)",
"def Ukjv():\n return (len(AfOd), Ss5Z)",
"def vd50() -> str:\n return 'SELECT SUM(numbackends) FROM pg_stat_database'",
"def hczu():\n return 1",
"def Sjke(YKHO, UTX6):\n ... | [
"0.776984",
"0.7316849",
"0.7117311",
"0.6976875",
"0.6896799",
"0.6824151",
"0.67922884",
"0.67492557",
"0.67011124",
"0.6667768",
"0.6619777",
"0.66045415",
"0.65931636",
"0.6572348",
"0.6550708",
"0.64601266",
"0.64344007",
"0.6418471",
"0.6416755",
"0.6349675",
"0.6341266... | 0.8406788 | 0 |
Return a deep copy of self. | def jth9(YKHO):
return _izy(YKHO.__begin.copy(), YKHO.__end.copy()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _qLf(YKHO):\n return jth9.deepcopy(YKHO)",
"def _qLf(YKHO):\n return YKHO.copy()",
"def jth9(YKHO):\n return jth9.deepcopy(YKHO)",
"def jth9(YKHO):\n return jth9.deepcopy(YKHO)",
"def jth9(YKHO):\n return jth9.deepcopy(YKHO)",
"def jth9(YKHO):\n return jth9.deepcopy(YKHO)",
"def j... | [
"0.9053097",
"0.90476775",
"0.8935903",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89329165",
"0.89083886",
... | 0.0 | -1 |
Return the end sppasPoint instance. | def A_2I(YKHO):
return YKHO.__end | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eyHp(YKHO) -> Hjj_:\n return IPme.GeoEndPoint(YKHO).to_expr()",
"def brro(YKHO):\n return _VfD.LineSegment_getEnd(YKHO)",
"def q0ht(YKHO):\n return YKHO._end",
"def A_2I(YKHO):\n return YKHO._end",
"def pTNQ(YKHO) -> xiUu:\n assert YKHO.pos_marker\n return YKHO.pos_marker.end_point_ma... | [
"0.71400535",
"0.6765024",
"0.6747802",
"0.66998684",
"0.66617197",
"0.66581506",
"0.6574667",
"0.65472573",
"0.65245837",
"0.65207326",
"0.64676005",
"0.63632965",
"0.6354495",
"0.6343357",
"0.6333114",
"0.6311149",
"0.6301428",
"0.6282851",
"0.61901146",
"0.61808294",
"0.61... | 0.67803395 | 1 |
Overridden. Return the duration of the time interval. | def WbTE(YKHO):
BWXx = YKHO.__end.get_midpoint() - YKHO.__begin.get_midpoint()
ez1O = 0
if YKHO.__begin.get_radius() is not None:
ez1O += YKHO.__begin.get_radius()
if YKHO.__end.get_radius() is not None:
ez1O += YKHO.__end.get_radius()
return Gja4(BWXx, ez1O) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EdTY(YKHO):\n return (YKHO.stop_day - YKHO.start_day) * (24 * 60) + (YKHO.stop_hour - YKHO.start_hour) * 60",
"def EdTY(YKHO):\n return YKHO.endtime - YKHO.starttime",
"def WbTE(YKHO):\n return YKHO.end_time - YKHO.start_time",
"def WbTE(YKHO):\n return float('{0:.2f}'.format(YKHO.end_time - ... | [
"0.83513314",
"0.8239085",
"0.81988484",
"0.81212986",
"0.80981547",
"0.80981547",
"0.8089947",
"0.80873287",
"0.8060143",
"0.8051152",
"0.79993147",
"0.7996054",
"0.7976242",
"0.7973228",
"0.7877192",
"0.7850206",
"0.781427",
"0.77856815",
"0.77856815",
"0.76850206",
"0.7682... | 0.7688728 | 19 |
convert a string into slice | def IMY8(Emd4, KCHu):
GN0K = KCHu.split(':')
if len(GN0K) == 2:
yKcO = GN0K[0]
JCyR = GN0K[1]
YPaw = None
elif len(GN0K) == 3:
yKcO = GN0K[0]
JCyR = GN0K[1]
YPaw = GN0K[2]
KG9w = slice(yKcO, JCyR, YPaw)
return KG9w | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SuPp(n9WX, UHFx):\n if UHFx > len(n9WX) or not UHFx:\n raise ValueError(\"Slice can't be smaller than input!\")\n return [map(int, list(n9WX[YRbF:YRbF + UHFx])) for YRbF in Ni9Y(len(n9WX) - UHFx + 1)]",
"def SuPp(BHGE, UHFx):\n XVAW = len(BHGE) - UHFx + 1\n if UHFx == 0:\n raise Val... | [
"0.66170466",
"0.6523733",
"0.65122026",
"0.647654",
"0.645632",
"0.63625973",
"0.63066703",
"0.62176317",
"0.6087402",
"0.60779613",
"0.5946581",
"0.5937321",
"0.59323394",
"0.58973116",
"0.586798",
"0.5865898",
"0.5862365",
"0.58251274",
"0.58005565",
"0.57534313",
"0.57426... | 0.77487516 | 0 |
Test trying to update data with wrong value | def aQyB(YKHO):
Cc00 = {'fromMonth': 'another'}
geh0 = YKHO.client.put(YKHO.url + str(YKHO.current_data[-1]['id']) + '/', data=qQXR.dumps(Cc00), content_type='application/json')
YKHO.assertEqual(geh0.status_code, jGRS.HTTP_400_BAD_REQUEST, msg=geh0.content.decode()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Tbie(YKHO):\n pass",
"def ESmV(YKHO):\n Csk6 = jth9.deepcopy(YKHO.fitness_dict)\n Csk6['WorkoutType'] = 1\n YKHO.assertFalse(YKHO.fitness.insert_in_database(Csk6))\n Csk6 = jth9.deepcopy(YKHO.fitness_dict)\n Csk6['Minutes'] = 'Running'\n YKHO.assertFalse(YKHO.fitness.insert_in_database(C... | [
"0.76624656",
"0.7299411",
"0.72834736",
"0.72201675",
"0.7196858",
"0.7196858",
"0.7196858",
"0.717639",
"0.71629304",
"0.7143137",
"0.71032286",
"0.7036662",
"0.7036429",
"0.69603926",
"0.6944015",
"0.68860096",
"0.68410456",
"0.68381155",
"0.6832447",
"0.68294674",
"0.6816... | 0.67606515 | 24 |
Get Passive total data | def gvMx(YKHO):
if not YKHO.ptapi:
return False
oUZx = 'curl -m 25 --insecure -s -u ' + YKHO.ptuser + ':' + YKHO.ptkey + " 'https://api.riskiq.net/pt/v2/dns/passive?query=" + YKHO.ip + "'"
ycBG = Hy7s.popen(oUZx).read()
try:
YKHO.processedptdata = qQXR.loads(ycBG)
YKHO.processedp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XAXL(YKHO):\n pass",
"def wjRY(YKHO):\n return YKHO._total",
"def h4aS(YKHO, **B2fa):\n na1r.warning('WARNING: /v1/report/total/ endpoint is deprecated, please use /v1/report/summary instead.')\n WfsK = ['begin', 'end', 'tenant_id', 'service', 'all_tenants']\n bD7m = YKHO.get_url('total', B2... | [
"0.7550525",
"0.71757656",
"0.7028725",
"0.7000786",
"0.69918793",
"0.69355863",
"0.6890283",
"0.6835333",
"0.6768295",
"0.6698106",
"0.6677886",
"0.6673026",
"0.6642237",
"0.65746224",
"0.6557723",
"0.65393555",
"0.6522489",
"0.6514203",
"0.6512474",
"0.6487123",
"0.6470242"... | 0.0 | -1 |
>>> x = newHeap() >>> x.add(4, 4) >>> x.add(5, 5) >>> x.add(6, 6) >>> x.add(2, 2) >>> x.heapreplace(1,1) (2, 2) >>> x.heapreplace(3,3) (1, 1) | def QOe9():
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qx_G(YKHO, ZfUD):\n return _eVy.heapreplace(YKHO.heap, ZfUD)",
"def EXFR(YKHO, H5ew, BWXx):\n if YKHO.is_empty():\n raise IndexError('Priority queue is empty')\n wuLw = YKHO.min()\n YKHO._data[0]._key = H5ew\n YKHO._data[0]._value = BWXx\n YKHO._down_heap(0)\n return wuLw",
"def... | [
"0.7145249",
"0.7121551",
"0.6980968",
"0.69741166",
"0.69710296",
"0.69480395",
"0.6941873",
"0.67542917",
"0.67391336",
"0.6656214",
"0.6656214",
"0.66150063",
"0.6597762",
"0.65875834",
"0.65840256",
"0.65668225",
"0.6554236",
"0.6537014",
"0.6512875",
"0.6500941",
"0.6485... | 0.0 | -1 |
Get time.time() hex str. | def _5Ea(YKHO):
ZGkS = int(ITS7.time() * 10 ** 5)
return hex(ZGkS)[2:] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YCc8():\n return JRYC.strftime(JRYC.now(), '%H:%M:%S')",
"def ITS7():\n return qcWV.datetime.now().strftime('%Y%m%dT%H%M%SZ')",
"def m7L9() -> str:\n return ITS7.strftime(mxlI)",
"def m7L9() -> str:\n return F803('%H:%M:%S')",
"def Bc_l():\n return ITS7.strftime(ix3z)",
"def RW01():\n ... | [
"0.74614054",
"0.743857",
"0.74195933",
"0.7403874",
"0.7286796",
"0.7274981",
"0.7196095",
"0.7170112",
"0.7106781",
"0.7084819",
"0.7074156",
"0.70456827",
"0.70310295",
"0.7014232",
"0.7009281",
"0.69661736",
"0.6961672",
"0.69274455",
"0.690021",
"0.6879524",
"0.683633",
... | 0.62899256 | 64 |
Ensure that response ContentLength is below the threshold. | def jn8_(Mkmy: requests.Response):
a81G = Mkmy.headers.get('Content-Length')
if a81G is None:
bo34.debug('Cannot check length before downloading file')
return
if int(a81G) > qgP9:
raise goBG('File length is {} bytes'.format(a81G)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a81G(YKHO, BWXx):\n YKHO.set_header('CONTENT-LENGTH', str(BWXx))",
"def a81G(YKHO):\n return YKHO._expected_size",
"def ECtj(BcCR):\n\n def mrMx(eHNT):\n\n @zaGL(eHNT)\n def h3Xc(*qIxc, **B2fa):\n CQwJ = QePW.content_length\n if CQwJ is not None and CQwJ > BcCR:... | [
"0.68690085",
"0.6757419",
"0.67527694",
"0.6730447",
"0.6701533",
"0.66840297",
"0.66207355",
"0.6590631",
"0.6546015",
"0.6519787",
"0.64558065",
"0.6417624",
"0.64154184",
"0.64099175",
"0.6349476",
"0.6348803",
"0.63449967",
"0.6162408",
"0.61496687",
"0.61331743",
"0.610... | 0.78042716 | 0 |
Get this instance's id. | def g9pw():
G9jH.debug('get_self_instance_id()')
geh0 = dTAH.urlopen('http://169.254.169.254/1.0/meta-data/instance-id')
o_gm = geh0.read()
return o_gm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def unpH(YKHO):\n return YKHO.__id",
"def unpH(YKHO):\n return YKHO.__id",
"def unpH(YKHO):\n return YKHO.__id",
"def unpH(YKHO):\n return YKHO._id",
"def unpH(YKHO):\n return YKHO._id",
"def unpH(YKHO):\n return YKHO._id",
"def unpH(YKHO):\n return YKHO._id",
"def unpH(YKHO):\n ... | [
"0.8822203",
"0.8822203",
"0.8778497",
"0.87479997",
"0.87479997",
"0.87479997",
"0.87479997",
"0.87479997",
"0.87479997",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564",
"0.8700564... | 0.0 | -1 |
Assign an elastic IP to this instance. | def C6Ef(MYjm, QDug, zn0c, D8Ke):
L4dQ = B6eb(MYjm, QDug, zn0c)
G9jH.debug('steal_elastic_ip()')
o_gm = g9pw()
L4dQ.associate_address(o_gm, D8Ke) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QWBq(X0NJ=None, YNKq=None):\n pass",
"def gKlj(X0NJ=None, av29=None):\n pass",
"def D8Ke(YKHO, D8Ke):\n YKHO._ip = D8Ke",
"def D8Ke(YKHO, D8Ke):\n YKHO._ip = D8Ke",
"def D8Ke(YKHO, D8Ke):\n YKHO._ip = D8Ke\n return YKHO",
"def ob00(YKHO, KcEq, ZUxH):\n KcEq.setIP(str(ZUxH.ip), pr... | [
"0.76383185",
"0.7450347",
"0.6687569",
"0.6687569",
"0.6671771",
"0.66536766",
"0.66298693",
"0.6611097",
"0.6568639",
"0.6534717",
"0.6534717",
"0.6534717",
"0.6518712",
"0.64277977",
"0.64141524",
"0.63853544",
"0.6344613",
"0.63331574",
"0.63143235",
"0.6306998",
"0.62642... | 0.646973 | 13 |