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 |
|---|---|---|---|---|---|---|
Test that a ValueError is raised when initialising a Sinusoidal DataSet with xlimits that don't broadcast to the size of x_train and test.x. As stated in the docstring for the data.Sinusoidal initialiser, x_hi "should be a float, or a numpy array with shape [input_dim, 1]". | def MJwI():
with trZe.raises(ValueError):
Csk6 = nPrm.Sinusoidal(input_dim=3, x_lo=[1, 2])
with trZe.raises(ValueError):
Csk6 = nPrm.Sinusoidal(input_dim=4, x_hi=[3, 4, 5, 6], n_train=10)
with trZe.raises(ValueError):
ZP9R = oyIN.array([3, 4, 5, 6]).reshape(1, -1)
Csk6 = nPrm... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SKBQ():\n Csk6 = nPrm.Sinusoidal(input_dim=4, x_hi=7.5, n_train=10)\n ZP9R = oyIN.array([3, 4, 5, 6]).reshape(-1, 1)\n Csk6 = nPrm.Sinusoidal(input_dim=4, x_hi=ZP9R, n_train=10)",
"def jY6W():\n with trZe.raises(ValueError):\n Csk6 = nPrm.Sinusoidal(input_dim=3, output_dim=7, freq=oyIN.zer... | [
"0.82507175",
"0.7061065",
"0.6526121",
"0.61525166",
"0.60648817",
"0.6047244",
"0.6029876",
"0.5997701",
"0.5951664",
"0.5922276",
"0.5911692",
"0.5910902",
"0.5861408",
"0.58533555",
"0.58473945",
"0.58419716",
"0.58122104",
"0.5801483",
"0.57864684",
"0.5759275",
"0.57510... | 0.8641391 | 0 |
returns the 10 states in the buffer in the form of a torch tensor in the order in which they were encountered | def kKi3(YKHO):
u2tz = YKHO.buffer[0].shape[1]
Ez5A = oyIN.asarray(YKHO.buffer)
Ez5A = oyIN.reshape(Ez5A, (1, u2tz * YKHO.bufferSize))
QTBn = ht2j.from_numpy(Ez5A).to(YKHO.device)
QTBn = QTBn.type(ht2j.cuda.FloatTensor)
return QTBn | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Aofg(rNYq):\n jtyf = [wEf2.tolist() for wEf2 in list(rNYq.values())]\n V70B = []\n for XuXy in jtyf:\n try:\n V70B.extend(XuXy)\n except:\n V70B.append(XuXy)\n return ht2j.FloatTensor(V70B).view(1, -1)",
"def GCJD(YKHO):\n DNs0 = oyIN.arange(YKHO.total_tuple... | [
"0.62470174",
"0.6240836",
"0.62133694",
"0.6151693",
"0.61003697",
"0.6083209",
"0.6031348",
"0.6029954",
"0.60242444",
"0.60075206",
"0.59954375",
"0.59234744",
"0.592341",
"0.59016013",
"0.59005815",
"0.58944803",
"0.587009",
"0.58636975",
"0.5850975",
"0.58461607",
"0.582... | 0.6043191 | 6 |
creates a onehot array of length 'size' and sets indexes in list 'idx' to be ones. | def zVZC(or8S, zNig):
yvT9 = oyIN.zeros(zNig)
yvT9[or8S] = 1
return yvT9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def F9zB(zNig, QyVM):\n KLLm = oyIN.zeros((zNig,))\n KLLm[QyVM] = 1\n return KLLm",
"def zGX0(or8S, jXxl):\n KLLm = oyIN.zeros(jXxl)\n KLLm[or8S] = 1.0\n return KLLm",
"def KLLm(zNig, d6pt, ds3w=False):\n ZHfW = oUL2(ds3w)(*zNig).fill_(0)\n pSfY = 1\n if isinstance(d6pt, iQnE):\n ... | [
"0.85007226",
"0.817196",
"0.79167044",
"0.7711318",
"0.76636624",
"0.7568578",
"0.7568513",
"0.7556647",
"0.7535074",
"0.7470529",
"0.74541855",
"0.7398961",
"0.72270286",
"0.71101564",
"0.71099555",
"0.7004205",
"0.69983613",
"0.69957",
"0.68536526",
"0.6836187",
"0.6814278... | 0.0 | -1 |
returns a torch tensor for cpu or gpu when appropriate. | def _gRY(*qIxc, **B2fa):
KCHu = eHNT(*qIxc, **B2fa)
if ht2j.cuda.is_available():
return ht2j.from_numpy(KCHu).cuda().type(yDqo)
return ht2j.from_numpy(KCHu).type(yDqo) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Csk6(vhpA=None):\n if vhpA is None:\n return 'cuda' if ht2j.cuda.is_available() else 'cpu'\n return 'cuda' if vhpA.is_cuda else 'cpu'",
"def xYdp(YKHO):\n return ht2j.device('cuda' if ht2j.cuda.is_available() else 'cpu')",
"def begE():\n return ht2j.device('cuda:0' if ht2j.cuda.is_availa... | [
"0.75074846",
"0.6957397",
"0.6949091",
"0.6948686",
"0.69339514",
"0.6911639",
"0.685103",
"0.64918804",
"0.64831996",
"0.6421975",
"0.6421975",
"0.6334914",
"0.62923133",
"0.6291921",
"0.6290327",
"0.62333614",
"0.62177485",
"0.620876",
"0.6156528",
"0.6118051",
"0.6085593"... | 0.5979092 | 29 |
returns a torch tensor for cpu or gpu when appropriate. | def _gRY(*qIxc, **B2fa):
KCHu, Mkmy, Csk6, XP5J = eHNT(*qIxc, **B2fa)
if ht2j.cuda.is_available():
KCHu = ht2j.from_numpy(KCHu).cuda().type(yDqo)
else:
KCHu = ht2j.from_numpy(KCHu).type(yDqo)
return (KCHu, Mkmy, Csk6, XP5J) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Csk6(vhpA=None):\n if vhpA is None:\n return 'cuda' if ht2j.cuda.is_available() else 'cpu'\n return 'cuda' if vhpA.is_cuda else 'cpu'",
"def xYdp(YKHO):\n return ht2j.device('cuda' if ht2j.cuda.is_available() else 'cpu')",
"def begE():\n return ht2j.device('cuda:0' if ht2j.cuda.is_availa... | [
"0.75074846",
"0.6957397",
"0.6949091",
"0.6948686",
"0.69339514",
"0.6911639",
"0.685103",
"0.64918804",
"0.64831996",
"0.6421975",
"0.6421975",
"0.6334914",
"0.62923133",
"0.6291921",
"0.6290327",
"0.62333614",
"0.62177485",
"0.620876",
"0.6156528",
"0.6118051",
"0.6085593"... | 0.0 | -1 |
Makes a faster deep copy of a dictionary, provided it only includes native types, numpy arrays, and other dicts containing the aforementioned. | def Di7o(mUif):
if mUif is None:
return None
R8cc = {}
for H5ew, wEf2 in mUif.items():
if isinstance(wEf2, oyIN.ndarray):
R8cc[H5ew] = wEf2.copy()
elif isinstance(wEf2, dict):
R8cc[H5ew] = Di7o(wEf2)
else:
R8cc[H5ew] = wEf2
return R8cc | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rR9A(W061):\n return {G1Hx: oyIN.copy(Ty9i) for G1Hx, Ty9i in W061.items()}",
"def jth9(YKHO):\n return WY2F(dict.copy(YKHO))",
"def N77C(QAIN):\n yvT9 = dict().fromkeys(QAIN)\n for G1Hx, Ty9i in QAIN.items():\n try:\n yvT9[G1Hx] = Ty9i.copy()\n except AttributeError:\n... | [
"0.740023",
"0.715696",
"0.7063612",
"0.70240486",
"0.6893642",
"0.68819386",
"0.68759614",
"0.6707072",
"0.67013973",
"0.6690156",
"0.6665948",
"0.6643454",
"0.6631786",
"0.6544152",
"0.6527721",
"0.64701086",
"0.6451407",
"0.6443501",
"0.6391387",
"0.6385858",
"0.63385326",... | 0.7445735 | 0 |
Return the unique locator of the component. The container property should be used for finding elements within the Component. | def zGKt(YKHO) -> uLKX[cFlk, None]:
if YKHO._container is None and YKHO.ROOT_LOCATOR is not None:
try:
return YKHO.driver.find_element(*YKHO.ROOT_LOCATOR)
except FxK5:
return None
return YKHO._container | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ud9f(YKHO):\n return YKHO._find_by_locator().locator",
"def PoKV(YKHO) -> str:\n return qe4Y.get(YKHO, 'component_id')",
"def PoKV(YKHO) -> str:\n return qe4Y.get(YKHO, 'component_id')",
"def vttM(YKHO):\n return YKHO._container",
"def PoKV(YKHO) -> cIM4:\n return YKHO.configuration.comp... | [
"0.584968",
"0.5806735",
"0.5806735",
"0.56683934",
"0.5645886",
"0.5596713",
"0.55917645",
"0.5566299",
"0.554846",
"0.554846",
"0.5472993",
"0.54071313",
"0.5395849",
"0.52848",
"0.516613",
"0.5151198",
"0.5150812",
"0.50920725",
"0.50770795",
"0.5065384",
"0.5022508",
"0... | 0.58994013 | 0 |
Update the policy towards gradient minimisation. | def PwnR(YKHO):
YKHO.optimizer.step()
YKHO.optimizer.zero_grad() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PwnR(YKHO, qv1X):\n with YKHO.mutex:\n for ICX2 in qv1X.gradients:\n YKHO.global_policy.zero_grad()\n YKHO.transfer_gradient(ICX2)\n ht2j.nn.utils.clip_grad_norm_(YKHO.global_policy.parameters(), 1.0)\n YKHO.optimizer.step()\n YKHO.iteration_coun... | [
"0.7133308",
"0.71033305",
"0.6860328",
"0.6839332",
"0.6750171",
"0.6742011",
"0.6742011",
"0.65853024",
"0.6578528",
"0.6524286",
"0.6504555",
"0.65042746",
"0.65024805",
"0.64918643",
"0.64248914",
"0.6421828",
"0.64096856",
"0.6384872",
"0.6378293",
"0.6375617",
"0.636486... | 0.8098685 | 0 |
Returns a learning rate multiplier. Till `warmup_epochs`, learning rate linearly increases to `initial_lr`, and then gets multiplied by `lr_gamma` every time a milestone is crossed. | def RYVi(v_XK: int) -> float:
aOou = float(v_XK) / YKHO.iterations
if aOou <= YKHO.hparams.warmup_epochs:
Cwt5 = aOou / float(YKHO.hparams.warmup_epochs)
return YKHO.hparams.warmup_factor * (1.0 - Cwt5) + Cwt5
else:
br_7 = 1.0
if aOou >= YKHO.hparams.lr_milestones[0] and aOou... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e_63(K0do, KMvS, qtWj, F8hG, dfHy, LIcp):\n zTNR = -1\n if qtWj <= zTNR:\n tspZ = 1e-06 + (ma4o - 1e-06) * dfHy / (LIcp * zTNR)\n else:\n tspZ = ma4o * KMvS ** F8hG\n for Lwm5 in K0do.param_groups:\n Lwm5['lr'] = tspZ\n return tspZ",
"def e_63(K0do, KMvS, qtWj, F8hG, dfHy,... | [
"0.73172796",
"0.7291044",
"0.7040951",
"0.7020304",
"0.7020304",
"0.69728035",
"0.6957149",
"0.6908177",
"0.6898319",
"0.68701005",
"0.68401206",
"0.68250597",
"0.68250597",
"0.68181247",
"0.67841184",
"0.6776931",
"0.67424643",
"0.67359215",
"0.6726599",
"0.6721407",
"0.667... | 0.68627304 | 10 |
Sets the padding of the box. | def HnJ8(FlUN, H5Km):
return FvrG.uiBoxSetPadded(FlUN, H5Km) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def j3k4(YKHO, dvgN):\n YKHO._tool_border_padding = dvgN",
"def KqB7(YKHO, dvgN):\n YKHO._highlightPadding = float(dvgN)",
"def KrLR(YKHO):\n return YKHO.rounded_box(YKHO.border_top_width, YKHO.border_right_width, YKHO.border_bottom_width, YKHO.border_left_width)",
"def HThn(YKHO, QWcs=1):\n YKHO... | [
"0.71547043",
"0.69287086",
"0.67011386",
"0.64324564",
"0.6394307",
"0.63604707",
"0.6292556",
"0.623254",
"0.6129037",
"0.611621",
"0.6101955",
"0.6094178",
"0.59365183",
"0.58720225",
"0.57999176",
"0.5795704",
"0.5623149",
"0.5605316",
"0.5599155",
"0.55901927",
"0.550882... | 0.6398962 | 4 |
Returns an horizonal box | def UuHR():
FvrG.uiNewHorizontalBox.restype = gk2W.POINTER(alzL)
return FvrG.uiNewHorizontalBox() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FlUN(YKHO, WKvO, LVAh, yzQ0, MKlR):\n pass",
"def VVQX():\n Kp3Y()\n print(XIZv[SGPK['Style']]['Lower left corner'], end='')\n for bGrB in range(Hl24):\n print(XIZv[SGPK['Style']]['Horizontal line'], end='')\n print(XIZv[SGPK['Style']]['Lower right corner'])",
"def bM2s(YKHO):\n re... | [
"0.648853",
"0.64233685",
"0.6334169",
"0.6334169",
"0.6281487",
"0.6100632",
"0.5914149",
"0.5909809",
"0.58835644",
"0.5836569",
"0.5818222",
"0.579173",
"0.5722725",
"0.5693106",
"0.5674006",
"0.5652499",
"0.56512713",
"0.56438434",
"0.56310797",
"0.5569382",
"0.55501586",... | 0.6863571 | 0 |
Returns a vertical box. | def nWgD():
FvrG.uiNewVerticalBox.restype = gk2W.POINTER(alzL)
return FvrG.uiNewVerticalBox() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WnvX(YKHO):\n return YKHO._vertical",
"def ph3O(Miq3, MVIL: int):\n lWrn, yK2S = Miq3.getmaxyx()\n FlUN = ((MVIL, MVIL), (lWrn - MVIL, yK2S - MVIL))\n lued(Miq3, FlUN[0][0], FlUN[0][1], FlUN[1][0], FlUN[1][1])\n Miq3.refresh()\n return FlUN",
"def J7sY(YKHO, iVRZ):\n yKcO = YKHO.VERTIC... | [
"0.71319246",
"0.6555198",
"0.6545565",
"0.6417528",
"0.6313212",
"0.61657774",
"0.6089948",
"0.60688394",
"0.6055331",
"0.60266155",
"0.59782344",
"0.59030807",
"0.5864125",
"0.5810194",
"0.5804189",
"0.579966",
"0.5789129",
"0.57780665",
"0.5740657",
"0.5733366",
"0.5722404... | 0.756977 | 0 |
Returns a new dictionary based on `_dict`, restricting keys to those in the iterable `keys`. | def iEJi(sjXb, tbx9):
YWxY = set(sjXb) & set(tbx9.keys())
return dict(((H5ew, tbx9[H5ew]) for H5ew in YWxY)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZNxQ(Csk6: dict, sjXb: set) -> dict:\n return {H5ew: Csk6[H5ew] for H5ew in sjXb if H5ew in Csk6}",
"def bBev(Op6c, *sjXb):\n U5bT = {}\n for H5ew in sjXb:\n U5bT[H5ew] = Op6c[H5ew]\n return U5bT",
"def ZNxQ(ZfUD, sjXb):\n return dict(((G1Hx, Ty9i) for G1Hx, Ty9i in ZfUD.iteritems() i... | [
"0.77919745",
"0.77433276",
"0.7384091",
"0.7382268",
"0.7380925",
"0.734552",
"0.7228086",
"0.72250354",
"0.71410555",
"0.7120883",
"0.70789886",
"0.7077636",
"0.7055068",
"0.7049844",
"0.7012748",
"0.69217265",
"0.68992394",
"0.686657",
"0.684182",
"0.68406624",
"0.67788893... | 0.7347125 | 5 |
Train and validation data loaders. If using CUDA, num_workers should be set to 1 and pin_memory to True. | def xhzP(h_xa: Path, Ep8u: int, igb0: int, *, von7: float=0.1, hXNa: bool=True, I7Gy: int=4, oiT4: bool=False, cKl4: bool=True) -> AzJI[ht2j.utils.data.DataLoader, ht2j.utils.data.DataLoader]:
tf1m = '[!] valid_size should be in the range [0, 1].'
assert von7 >= 0 and von7 <= 1, tf1m
if cKl4:
assert... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lW6r(GPtr):\n assert 'loaders' in GPtr, 'Could not find data loaders configuration'\n tA2k = GPtr['loaders']\n bo34.info('Creating training and validation set loaders...')\n Og5D = tA2k.get('dataset', None)\n if Og5D is None:\n Og5D = 'StandardHDF5Dataset'\n bo34.warning(f\"Cannot ... | [
"0.7448477",
"0.7433901",
"0.7323474",
"0.7300152",
"0.7211862",
"0.71513426",
"0.70979655",
"0.70978105",
"0.7047037",
"0.7036657",
"0.7034936",
"0.7021785",
"0.7018932",
"0.7002462",
"0.7002462",
"0.7002462",
"0.7002462",
"0.7002462",
"0.7002462",
"0.7002462",
"0.7002462",
... | 0.6670798 | 53 |
Method to initialize a fixed paper bypass capacitor data model instance. | def FIMM(YKHO):
super(xd63, YKHO).__init__()
YKHO.specification = 0
YKHO.spec_sheet = 0
if YKHO.hazard_rate_type < 3:
YKHO.reference_temperature = 358.0
'\n Method to set the Capacitor data model attributes.\n\n :param tuple values: tuple of values to assign to the instance\n ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n YKHO.loadCSPAD2x2CalibParsDefault()",
"def FIMM(YKHO):\n if not Hy7s.path.isfile(mJRN):\n try:\n print('Predictor not found. Downloading...this may take a while...')\n bD7m = 'https://github.com/hriddhidey/visage/blob/master/visage/shape_predictor_68_face_land... | [
"0.56605643",
"0.5631703",
"0.5603185",
"0.5531293",
"0.55057305",
"0.5474339",
"0.5468749",
"0.5468749",
"0.5468749",
"0.5454386",
"0.5423358",
"0.541508",
"0.54039514",
"0.53960836",
"0.53943884",
"0.5391988",
"0.53797185",
"0.5355427",
"0.53510463",
"0.53401256",
"0.529789... | 0.64554626 | 0 |
Method to initialize a fixed paper feedthrough capacitor data model instance. | def FIMM(YKHO):
super(L3Ju, YKHO).__init__()
YKHO.spec_sheet = 0
if YKHO.hazard_rate_type < 3:
YKHO.reference_temperature = 358.0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uIcm(YKHO, C3ST):\n pass",
"def FIMM(YKHO):\n super(xd63, YKHO).__init__()\n YKHO.specification = 0\n YKHO.spec_sheet = 0\n if YKHO.hazard_rate_type < 3:\n YKHO.reference_temperature = 358.0\n '\\n Method to set the Capacitor data model attributes.\\n\\n :param tuple va... | [
"0.59698486",
"0.59545016",
"0.5887364",
"0.5868895",
"0.57281184",
"0.57179004",
"0.571618",
"0.57110226",
"0.56136376",
"0.5604693",
"0.5590886",
"0.5525213",
"0.5525213",
"0.5525213",
"0.5508003",
"0.55046964",
"0.5502422",
"0.5499117",
"0.5496652",
"0.54930043",
"0.548183... | 0.627681 | 0 |
Method to initialize a fixed metallized paper capacitor data model instance. | def FIMM(YKHO):
super(GXbR, YKHO).__init__()
YKHO.spec_sheet = 0
if YKHO.hazard_rate_type < 3:
YKHO.reference_temperature = 358.0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n super(xd63, YKHO).__init__()\n YKHO.specification = 0\n YKHO.spec_sheet = 0\n if YKHO.hazard_rate_type < 3:\n YKHO.reference_temperature = 358.0\n '\\n Method to set the Capacitor data model attributes.\\n\\n :param tuple values: tuple of values to assign to th... | [
"0.63892734",
"0.62356937",
"0.60370934",
"0.5986701",
"0.5974616",
"0.5952684",
"0.5854218",
"0.58036363",
"0.57712287",
"0.57269406",
"0.5718652",
"0.5691929",
"0.56858313",
"0.5684827",
"0.5684659",
"0.5668943",
"0.5650766",
"0.5636431",
"0.5636431",
"0.5636431",
"0.563308... | 0.6565761 | 0 |
Discrete cosine transform This function originally existed to replicate Matlabs dct function using scipy's dct function. It was necessary to perform the dct along the rows and columns. To simplify the container creation, the dct function from opencv was used. This function is slower, and scipy's version should be imple... | def fjFG(S8z6):
Csk6 = XC5k.dct(S8z6).astype(oyIN.float64)
return Csk6 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fK8P(eHNT, jDK_=-1):\n exwG = eHNT.shape[jDK_]\n YRbF = G1Hx = oyIN.arange(exwG)\n WKvO = (2 * YRbF + 1) / (2 * exwG)\n d7pR = oyIN.multiply.outer(WKvO, G1Hx * oyIN.pi)\n Cwt5 = oyIN.where(G1Hx == 0, 1 / oyIN.sqrt(exwG), oyIN.sqrt(2 / exwG))\n yzQ0 = Cwt5 * oyIN.cos(d7pR)\n Z9rn = oyIN.ten... | [
"0.7243201",
"0.7202878",
"0.68848133",
"0.6597979",
"0.6331608",
"0.6183264",
"0.61051756",
"0.60531604",
"0.60465574",
"0.6019478",
"0.5882954",
"0.5709797",
"0.56822425",
"0.56684345",
"0.5654719",
"0.56476843",
"0.562984",
"0.5605799",
"0.5580458",
"0.5577763",
"0.5506232... | 0.50631976 | 57 |
Initialise with empty arrays | def FIMM(YKHO):
YKHO.temperature = oyIN.array([])
YKHO.salinity = oyIN.array([])
YKHO.date = oyIN.array([])
YKHO.temperatureQF = oyIN.array([])
YKHO.salinityQF = oyIN.array([]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q_WH(YKHO):\n YKHO._data = []",
"def FIMM(YKHO):\n YKHO.arr = []\n for YRbF in range(80):\n YKHO.arr.append([])",
"def FIMM(YKHO):\n YKHO.array = [None for YRbF in range(10000)]",
"def uIcm(YKHO):\n nJ9F = [None] * 3\n for YRbF in YKHO.free:\n if YRbF == 'lengthscale':\n ... | [
"0.74245286",
"0.7125384",
"0.69205505",
"0.69110274",
"0.68678844",
"0.6813673",
"0.65707946",
"0.6555074",
"0.6554811",
"0.6545936",
"0.6505278",
"0.6468751",
"0.64523095",
"0.6438656",
"0.642166",
"0.63936675",
"0.63936675",
"0.63936675",
"0.63936675",
"0.63686407",
"0.635... | 0.667415 | 6 |
Sets the cabletype of this EndpointPort. | def uCW2(YKHO, uCW2):
YKHO._cabletype = uCW2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q7_x(YKHO, YsUp):\n YKHO._type = YsUp",
"def TG_K(YKHO, type):\n YKHO.type = type",
"def TG_K(YKHO, type):\n YKHO.type = type",
"def TG_K(YKHO, type):\n YKHO._type = type",
"def TG_K(YKHO, type, IbHI=None):\n YKHO._set_property('pc:type', type, IbHI)",
"def TG_K(YKHO, Qy0e):\n YKHO.... | [
"0.6082409",
"0.5971174",
"0.5971174",
"0.5912708",
"0.5896561",
"0.58715934",
"0.5869885",
"0.58139575",
"0.5718777",
"0.5698157",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
"0.5670525",
... | 0.7924619 | 0 |
Sets the vport of this EndpointPort. | def QPCW(YKHO, QPCW):
YKHO._vport = QPCW | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PZMI(YKHO, bIwZ):\n YKHO.__port = bIwZ",
"def jQw7(YKHO, bIwZ):\n L3iJ.xmlURISetPort(YKHO._o, bIwZ)",
"def bIwZ(YKHO, bIwZ):\n YKHO._port = bIwZ",
"def bIwZ(YKHO, bIwZ):\n YKHO._port = bIwZ",
"def bIwZ(YKHO, bIwZ):\n YKHO._port = bIwZ",
"def NSfb(YKHO, cznn):\n gTEQ('PrlVmCfg_SetVNC... | [
"0.6798428",
"0.6536438",
"0.64268637",
"0.64268637",
"0.64268637",
"0.6335774",
"0.62666005",
"0.6106723",
"0.60891765",
"0.6024321",
"0.6011783",
"0.6011783",
"0.6002069",
"0.59743917",
"0.59706175",
"0.5845767",
"0.57627624",
"0.5746521",
"0.5745913",
"0.56158763",
"0.5615... | 0.84797245 | 0 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, CUL5):
return False
return YKHO.__dict__ == Elif.__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.8088132",
"0.8088132",
"0.8054589",
"0.7982687",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n 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.0 | -1 |
Returns the nodes that are involved in samehost transmission. | def suh0(yvY1, VcU7):
Ziit = set()
for Sa_m, Kxs4, Csk6 in yvY1.edges(data=True):
PYoa = yvY1.node[Sa_m]['host_species']
xzn9 = yvY1.node[Kxs4]['host_species']
ENt7 = yvY1.node[Sa_m]['subtype']
gL0G = yvY1.node[Kxs4]['subtype']
GwWC = ['Mixed', 'mixed']
RyFH = ENt... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CDNe(YKHO):\n Ziit = [{'address': 'http://0.0.0.0:100'}, {'address': 'http://0.0.0.0:200'}, {'address': 'http://0.0.0.0:300'}, {'address': 'http://0.0.0.0:400'}, {'address': 'http://0.0.0.0:500'}]\n return Ziit",
"def IqSb(YKHO, Q6kx):\n Q6kx = YKHO.coalesce_node(Q6kx)\n Ziit = [w2B8[1] for w2B8 ... | [
"0.69564664",
"0.68129665",
"0.6775778",
"0.6775778",
"0.67545515",
"0.670209",
"0.66642195",
"0.6663798",
"0.6618814",
"0.6607294",
"0.6595256",
"0.6539304",
"0.65308946",
"0.6501001",
"0.64669794",
"0.64458746",
"0.6423951",
"0.6393715",
"0.63774943",
"0.634415",
"0.6327830... | 0.62601346 | 26 |
r""" Use this API to count filtered the set of lsntransportprofile resources. | def hOC2(Emd4, x0hE, UU6M):
try:
YEnM = e5cF()
PPeq = xAU6()
PPeq.count = True
PPeq.filter = UU6M
geh0 = YEnM.getfiltered(x0hE, PPeq)
if geh0:
return geh0[0].__dict__['___count']
return 0
except Exception as e:
raise tTpl | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UHFx(Emd4, x0hE):\n try:\n YEnM = e5cF()\n PPeq = xAU6()\n PPeq.count = True\n geh0 = YEnM.get_resources(x0hE, PPeq)\n if geh0:\n return geh0[0].__dict__['___count']\n return 0\n except Exception as e:\n raise tTpl",
"def hOC2(Emd4, x0hE, UU6M... | [
"0.70993674",
"0.63204956",
"0.629977",
"0.58865976",
"0.5848211",
"0.5815522",
"0.5715243",
"0.54175544",
"0.54111826",
"0.54080623",
"0.5396334",
"0.5376295",
"0.5171212",
"0.51088667",
"0.5047795",
"0.49986812",
"0.49927226",
"0.49915752",
"0.49903664",
"0.4969002",
"0.496... | 0.73774296 | 0 |
important to reset the parameters of the simulation for each run | def SiRx(YKHO):
XoHV.reset(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q0Ko(YKHO):\n YKHO.rnn.reset_parameters()\n YKHO.action_lookup.reset_parameters()\n YKHO.own_c_lookup.reset.parameters()\n YKHO.own_s_lookup.reset_parameters()\n YKHO.th_1_lookup.reset_parameters()\n YKHO.th_2_lookup.reset_parameters()\n YKHO.th_3_lookup.reset_parameters()\n YKHO.f_1_lo... | [
"0.74126",
"0.73593175",
"0.7357744",
"0.72735965",
"0.72510463",
"0.7177278",
"0.7162423",
"0.7136781",
"0.71206963",
"0.71025246",
"0.71025246",
"0.7094235",
"0.70760673",
"0.7075606",
"0.706025",
"0.69804007",
"0.69660336",
"0.6956141",
"0.6943643",
"0.6943643",
"0.6932077... | 0.74002284 | 1 |
mesure b = b+a, a reste a | def rpxx(jzdc, Fg_i):
lNnt = [int(WKvO) for WKvO in bin(jzdc)[2:]]
TWwp = [int(WKvO) for WKvO in bin(Fg_i)[2:]]
while len(lNnt) >= len(TWwp):
TWwp = [0] + TWwp
while len(lNnt) < len(TWwp) - 1:
lNnt = [0] + lNnt
lNnt.reverse()
TWwp.reverse()
exwG = len(lNnt) + len(TWwp)
wC... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H2v5(jzdc, Fg_i):\n if jzdc == 0:\n return Fg_i\n elif Fg_i == 0:\n return jzdc\n else:\n return H2v5(jzdc - 1, Fg_i + 1)",
"def QjOl(jzdc, Fg_i):\n wjRY = jzdc + Fg_i\n return wjRY",
"def VMgD(jzdc, Fg_i):\n return jzdc + Fg_i * 2 + jzdc",
"def H2v5(jzdc: int, Fg_i... | [
"0.7491585",
"0.721712",
"0.71878177",
"0.7166232",
"0.7112104",
"0.7079948",
"0.689132",
"0.6860645",
"0.6829874",
"0.6822391",
"0.68115765",
"0.6802283",
"0.6800593",
"0.6800593",
"0.6762015",
"0.67618835",
"0.6742176",
"0.6736365",
"0.67156816",
"0.66800547",
"0.6669307",
... | 0.6637637 | 27 |
mesure b = b+a, a reste a | def CWhw(jzdc, Fg_i):
lNnt = [int(WKvO) for WKvO in bin(jzdc)[2:]]
TWwp = [int(WKvO) for WKvO in bin(Fg_i)[2:]]
while len(lNnt) >= len(TWwp):
TWwp = [0] + TWwp
while len(lNnt) < len(TWwp) - 1:
lNnt = [0] + lNnt
lNnt.reverse()
TWwp.reverse()
exwG = len(lNnt) + len(TWwp)
wC... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H2v5(jzdc, Fg_i):\n if jzdc == 0:\n return Fg_i\n elif Fg_i == 0:\n return jzdc\n else:\n return H2v5(jzdc - 1, Fg_i + 1)",
"def QjOl(jzdc, Fg_i):\n wjRY = jzdc + Fg_i\n return wjRY",
"def VMgD(jzdc, Fg_i):\n return jzdc + Fg_i * 2 + jzdc",
"def H2v5(jzdc: int, Fg_i... | [
"0.7491585",
"0.721712",
"0.71878177",
"0.7166232",
"0.7112104",
"0.7079948",
"0.689132",
"0.6860645",
"0.6829874",
"0.6822391",
"0.68115765",
"0.6802283",
"0.6800593",
"0.6800593",
"0.6762015",
"0.67618835",
"0.6742176",
"0.6736365",
"0.67156816",
"0.66800547",
"0.6669307",
... | 0.65896094 | 33 |
mesure b = b+a, a reste a | def vJ4L(jzdc, Fg_i, cHk7):
lNnt = [int(WKvO) for WKvO in bin(jzdc)[2:]]
TWwp = [int(WKvO) for WKvO in bin(Fg_i)[2:]]
D_32 = [int(WKvO) for WKvO in bin(cHk7)[2:]]
while len(lNnt) >= len(TWwp):
TWwp = [0] + TWwp
while len(lNnt) < len(TWwp) - 1:
lNnt = [0] + lNnt
while len(D_32) < ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H2v5(jzdc, Fg_i):\n if jzdc == 0:\n return Fg_i\n elif Fg_i == 0:\n return jzdc\n else:\n return H2v5(jzdc - 1, Fg_i + 1)",
"def QjOl(jzdc, Fg_i):\n wjRY = jzdc + Fg_i\n return wjRY",
"def VMgD(jzdc, Fg_i):\n return jzdc + Fg_i * 2 + jzdc",
"def H2v5(jzdc: int, Fg_i... | [
"0.7491585",
"0.721712",
"0.71878177",
"0.7166232",
"0.7112104",
"0.7079948",
"0.689132",
"0.6860645",
"0.6829874",
"0.6822391",
"0.68115765",
"0.6802283",
"0.6800593",
"0.6800593",
"0.6762015",
"0.67618835",
"0.6742176",
"0.6736365",
"0.67156816",
"0.66800547",
"0.6669307",
... | 0.0 | -1 |
Resets all user settings. | async def reset(YKHO, OaeV, CBIr: str=None):
keIl = ZOrr.utils.get(OaeV.message.server.members, id='186835826699665409')
if YKHO.check_channel(OaeV):
if YKHO.check_permission(OaeV) or OaeV.message.author == keIl:
RB4i = False
if CBIr == 'bot':
YKHO.intro_message =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zfBO():\n gCuF = hp1l()\n gCuF.reset()\n gCuF.save()",
"def x6N0(YKHO) -> None:\n ...",
"async def _reset_settings(YKHO, OaeV):\n nPrm = await YKHO.get_data(OaeV)\n await nPrm.Settings.clear()\n tO9_ = '{0.name} ({0.id}) reset all casino settings.'.format(OaeV.author)\n await OaeV.s... | [
"0.80459386",
"0.7999448",
"0.79718506",
"0.77476704",
"0.76072717",
"0.74945843",
"0.7281146",
"0.7212389",
"0.7155161",
"0.70512056",
"0.69930583",
"0.69436246",
"0.69074893",
"0.68918353",
"0.676131",
"0.6749676",
"0.6689122",
"0.6644092",
"0.659244",
"0.6588544",
"0.65855... | 0.0 | -1 |
Gets the `user.name` configured property. | def BaHi(YKHO) -> str:
Aofo = Yn3K.run(['git', 'config', 'user.name'], check=True, cwd=YKHO.dir, encoding='utf-8', stdout=Yn3K.PIPE)
return Aofo.stdout.strip() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BaHi(YKHO) -> str:\n return qe4Y.get(YKHO, 'user_name')",
"def XR0Q(YKHO):\n CBIr = mv1M.by_id(YKHO.user_id)\n return CBIr.name",
"def BaHi(YKHO):\n return YKHO._user_name",
"def W0tD(YKHO):\n return YKHO.user.username if YKHO.user.username else YKHO.user.email",
"def BaHi(YKHO):\n re... | [
"0.80897087",
"0.79748535",
"0.7912074",
"0.7867508",
"0.78557134",
"0.7830691",
"0.7792011",
"0.7666164",
"0.7656069",
"0.76533896",
"0.7602009",
"0.75911784",
"0.7570611",
"0.7474011",
"0.74507844",
"0.74421436",
"0.7409676",
"0.740338",
"0.7394927",
"0.7311124",
"0.7253367... | 0.73327833 | 19 |
Set the direction of the fan. | def oivB(YKHO, XSoh: str) -> None:
if XSoh == 'forward':
YKHO._bond.setDirection(YKHO._deviceId, o5oX.FORWARD)
elif XSoh == 'reverse':
YKHO._bond.setDirection(YKHO._deviceId, o5oX.REVERSE)
YKHO._attributes['current_direction'] = XSoh | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oivB(YKHO, XSoh: str) -> None:\n YKHO.wink.set_fan_direction(XSoh)",
"async def async_set_direction(YKHO, XSoh: str) -> None:\n if XSoh == IDxW:\n YKHO._device.fan_dir = BvTd\n else:\n YKHO._device.fan_dir = zMOu",
"def oivB(YKHO, dir):\n if dir == 0:\n YKHO.direction = [0,... | [
"0.84235466",
"0.8002017",
"0.7371954",
"0.7242101",
"0.71836823",
"0.70205814",
"0.6959635",
"0.69295996",
"0.680304",
"0.6784216",
"0.671103",
"0.66704005",
"0.6656352",
"0.66099894",
"0.66099894",
"0.656002",
"0.64762187",
"0.6465095",
"0.6440604",
"0.64347273",
"0.6427641... | 0.6862913 | 8 |
Return the ID of this fan. | def jf3N(YKHO):
return YKHO.unique_id | {
"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 OyzV(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.7602217",
"0.7581651",
"0.7581651",
"0.75514257",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
"0.75165975",
... | 0.0 | -1 |
Takes a list of os.DirEntry instances (`fileset`) and optional file size bounds. This function groups the os.DirEntry instances in the `fileset` list by size and returns lists of os.DirEntry instances, grouped by their file size. Only groups larger than `min_group_size` are returned. | def ayAi(DTSC, qonS=d6LV, E0wO=twmd, yBnU=2, fHUa=16):
return Pb8v(DTSC, RNMt(min_size=qonS, max_size=E0wO), min_group_size=yBnU, workers=fHUa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pb8v(DTSC, Sm6L, yBnU=2, fHUa=16):\n dBuj = zKKu(fHUa)\n\n def b7La(bTKY):\n return (Sm6L(bTKY), bTKY)\n p2ZL = dBuj.map(b7La, DTSC)\n jx0l = {}\n for H5ew, bTKY in p2ZL:\n if H5ew is None:\n continue\n jx0l.setdefault(H5ew, []).append(bTKY)\n return [uOe2 for ... | [
"0.68340915",
"0.67008173",
"0.5891528",
"0.5725846",
"0.56749976",
"0.56577903",
"0.56277245",
"0.5557965",
"0.5434485",
"0.5362395",
"0.52733916",
"0.5248512",
"0.52346754",
"0.5195571",
"0.51573217",
"0.5146702",
"0.5136847",
"0.51073664",
"0.51056486",
"0.50906515",
"0.50... | 0.8297646 | 0 |
generated source for method equals | def aPi6(YKHO, YEnM):
if YEnM == None:
return False
if not isinstance(YEnM, (ioK0,)):
return False
z1Rg = YEnM
if YKHO.__name__ != z1Rg.__name__:
return False
if YKHO.getTupleSize() != z1Rg.getTupleSize():
return False
return z1Rg.matches(YKHO.underscoreSentence.g... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YKHO, *qIxc):\n pass",
"def xa14(YK... | [
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.81492925",
"0.80947864",
"0.80947864",
"0.80947864",
"0.80947864",
"0.80947864",
"0.80947864",
"0.80947864",
"0.80947864",
"0.80947864"... | 0.0 | -1 |
Return the note value for value1 minus value2. There are no exceptions for producing negative values, which can be useful for taking differences. | def wncN(UXsi, c163):
return 1 / (1.0 / UXsi - 1.0 / c163) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ruoQ(YKHO, E_TU, OyNW):\n return E_TU - OyNW",
"def yk4i(YKHO, o4D3, ajwV):\n return ajwV - o4D3",
"def wncN(cntZ, CsFy):\n return cntZ - CsFy",
"def by6d(_1qI, zDMu):\n return abs(_1qI - zDMu)",
"def wncN(*qIxc):\n by6d = str(qIxc[0] - qIxc[1])\n return by6d",
"def XR2B(_MbF, jhe9)... | [
"0.7447529",
"0.66436636",
"0.66115594",
"0.6582123",
"0.64716774",
"0.64410996",
"0.6402103",
"0.63906467",
"0.6387559",
"0.6344708",
"0.63281155",
"0.6301104",
"0.63009715",
"0.6282708",
"0.62618786",
"0.62618786",
"0.6253684",
"0.6253684",
"0.6250198",
"0.62224627",
"0.621... | 0.75106716 | 0 |
Gets batch at position `index`. Arguments | def OP2O(YKHO, d6pt):
raise NotImplementedError | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OP2O(YKHO, d6pt):\n U_4K = YKHO.indexes[d6pt * YKHO.batch_size:(d6pt + 1) * YKHO.batch_size]\n fE75 = [YKHO.X_path[G1Hx] for G1Hx in U_4K]\n Mekx, ON2u = YKHO.data_generation(fE75)\n return (Mekx, ON2u)",
"def OP2O(YKHO, or8S):\n return YKHO.batches[or8S]",
"def OP2O(YKHO, d6pt):\n bS0K =... | [
"0.77815783",
"0.7501798",
"0.7491086",
"0.7487417",
"0.7453526",
"0.74027854",
"0.7374272",
"0.7374272",
"0.73643535",
"0.73643535",
"0.733775",
"0.7313693",
"0.72521627",
"0.71925616",
"0.71191174",
"0.71149236",
"0.71149236",
"0.70405775",
"0.69668067",
"0.674754",
"0.6693... | 0.0 | -1 |
Set the business identifier. | def Ilxn(YKHO, BWXx: str):
if RyWp.validate_identifier(BWXx):
YKHO._identifier = BWXx
else:
raise qTNt('invalid-identifier-format', 406) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RFDe(YKHO, RFDe):\n YKHO._business_id = RFDe",
"def OY_H(YKHO, OY_H):\n YKHO._business_phone = OY_H",
"def Yjwf(YKHO, Yjwf):\n YKHO._business_phone_number = Yjwf",
"def obYY(YKHO, obYY):\n YKHO._bus_ob_id = obYY",
"def obYY(YKHO, obYY):\n YKHO._bus_ob_id = obYY",
"def xjps(QpfX, RFDe):... | [
"0.82185113",
"0.6863438",
"0.67412084",
"0.66765165",
"0.66765165",
"0.66457736",
"0.6540936",
"0.63930273",
"0.6316089",
"0.6245376",
"0.61600924",
"0.61535364",
"0.60639226",
"0.5928157",
"0.59223795",
"0.5885838",
"0.58488697",
"0.5762276",
"0.5746218",
"0.57386255",
"0.5... | 0.60359097 | 13 |
Retrieve the next anniversary date for which an AR filing is due. | def auL8(YKHO):
CoU2 = YKHO.founding_date
if YKHO.last_ar_date:
CoU2 = YKHO.last_ar_date
return CoU2 + vTqy.datedelta(years=1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xJKc(YKHO):\n pass",
"def bIge(_c1T):\n jQ3Z = GFmo()\n jQ3Z = jQ3Z[jQ3Z['ReleaseDate'] > _c1T]\n return jQ3Z['ReleaseDate'].iloc[0]",
"def next(YKHO):\n return YKHO.from_date(YKHO.date_b)",
"def f7kC(YKHO):\n try:\n zAVU = next((zAVU for zAVU in YKHO.race_weekends if zAVU['sessi... | [
"0.6712821",
"0.64788795",
"0.6261124",
"0.613204",
"0.6068264",
"0.60125107",
"0.60042846",
"0.60042846",
"0.5991352",
"0.5991352",
"0.5988149",
"0.5853404",
"0.58238065",
"0.58052295",
"0.5805032",
"0.5781143",
"0.5752652",
"0.57317793",
"0.5704329",
"0.56928706",
"0.568524... | 0.7412065 | 0 |
Return the mailing address. | def FeMH(YKHO):
z0g2 = NCls.session.query(MVZX).filter(MVZX.business_id == YKHO.id).filter(MVZX.office_type == 'registeredOffice').one_or_none()
if z0g2:
return z0g2.addresses.filter(EDCT.address_type == 'mailing')
return NCls.session.query(EDCT).filter(EDCT.business_id == YKHO.id).filter(EDCT.addre... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Hxmi(YKHO) -> str:\n return YKHO._email_address",
"def RC0X(YKHO):\n return YKHO.reference[XMvj][NNfF]",
"def POt2(YKHO):\n return '%s.%s@%s' % (qxeD.uuid4(), YKHO.mailbox, 'mailosaur.io')",
"def FeMH(YKHO):\n if 'mailingAddress' in YKHO._prop_dict:\n if isinstance(YKHO._prop_dict['mai... | [
"0.75741124",
"0.7503663",
"0.7410263",
"0.73760414",
"0.7364919",
"0.73581123",
"0.72250074",
"0.7199065",
"0.71284175",
"0.71284175",
"0.7118047",
"0.7014694",
"0.68627334",
"0.68540025",
"0.6832236",
"0.6832236",
"0.6832236",
"0.68315107",
"0.6799576",
"0.6799576",
"0.6799... | 0.6850261 | 14 |
Return the delivery address. | def AVf_(YKHO):
z0g2 = NCls.session.query(MVZX).filter(MVZX.business_id == YKHO.id).filter(MVZX.office_type == 'registeredOffice').one_or_none()
if z0g2:
return z0g2.addresses.filter(EDCT.address_type == 'delivery')
return NCls.session.query(EDCT).filter(EDCT.business_id == YKHO.id).filter(EDCT.addr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AXpR(YKHO):\n return YKHO._delivery_email",
"def vllj(YKHO) -> 'outputs.ShippingAddressResponse':\n return qe4Y.get(YKHO, 'shipping_address')",
"def vllj(YKHO) -> 'outputs.ShippingAddressResponse':\n return qe4Y.get(YKHO, 'shipping_address')",
"def vllj(YKHO) -> 'outputs.ShippingAddressResponse'... | [
"0.74156535",
"0.72566354",
"0.72566354",
"0.72566354",
"0.72422594",
"0.6928906",
"0.6904006",
"0.6904006",
"0.6777604",
"0.67241406",
"0.6719341",
"0.6702189",
"0.6698054",
"0.66799706",
"0.6605211",
"0.6546907",
"0.6546907",
"0.65107256",
"0.65107256",
"0.65107256",
"0.651... | 0.7560972 | 0 |
Show the cluster in 2D image, use whatever dim_reduce_fn provided for dimension reduction | def dXpU(nPrm: np.ndarray, qC6E: np.ndarray, YfxK, XnzY: int, leAC: str, XkN1: bool, **B2fa):
assert len(nPrm.shape) == 2
eAYh, HhVR = nPrm.shape
if HhVR < 2:
print('num_features should be at least 2!')
raise ValueError
if HhVR > 2:
nPrm = YfxK(n_components=2, **B2fa).fit_transfo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q5i7(nPrm: np.ndarray, qC6E: np.ndarray, XnzY: int=10, leAC: str='', XkN1: bool=True):\n try:\n LZpg, aNZO = dXpU(nPrm, qC6E, EHUa, XnzY, leAC, XkN1)\n except:\n raise\n return (LZpg, aNZO)",
"def BHT4(VXjJ, EBgd, HpuQ, G1Hx, UXqs, Hw9C, dvgN):\n for YRbF in range(G1Hx):\n qf... | [
"0.6484613",
"0.6469742",
"0.6398015",
"0.628059",
"0.6276145",
"0.6186685",
"0.6117444",
"0.6112742",
"0.60588443",
"0.6039611",
"0.6010218",
"0.5992633",
"0.5965117",
"0.5928539",
"0.5914676",
"0.5913095",
"0.58893025",
"0.58834386",
"0.5875173",
"0.58668375",
"0.58628815",... | 0.75691134 | 0 |
Get a list of (key, value) pairs representing all the tags on this document. | def Gicz(YKHO, wI36):
return [(H5ew, qQXR.loads(BWXx)) for H5ew, BWXx in YKHO.sql_session.query(V_n5).filter(V_n5.document == wI36).values(V_n5.key, V_n5.value)] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qwli(YKHO) -> fHNa[I2jr]:\n return {TZ9E for TZ9E in YKHO.tags}",
"def aPwV(YKHO):\n dJ1p = []\n for C13M in YKHO.documents:\n for A_64 in C13M.tags:\n dJ1p.append(A_64)\n return dJ1p",
"def list(YKHO):\n return YKHO._post(request='list', uri=f8tE.TAGS.value).get('tags')",
... | [
"0.7840789",
"0.781512",
"0.77442646",
"0.7724683",
"0.7681494",
"0.76672333",
"0.76367587",
"0.76367587",
"0.76367587",
"0.76367587",
"0.76367587",
"0.76367587",
"0.76367587",
"0.76367587",
"0.7582436",
"0.7581504",
"0.7575502",
"0.7513426",
"0.75106466",
"0.75066066",
"0.75... | 0.71501315 | 63 |
Get a list of all (key, value) pairs that define tags on this dataset. | def q2BR(YKHO):
dJ1p = set()
xDcj = YKHO.sql_session.query(V_n5).all()
for TZ9E in xDcj:
dJ1p.add((TZ9E.key, qQXR.loads(TZ9E.value)))
return dJ1p | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lcpH(YKHO):\n RI88 = []\n for lSki in YKHO.tagnames:\n RI88.append([lSki, YKHO.get_datatype(lSki), YKHO.get(lSki)])\n return RI88",
"def dJ1p(YKHO):\n return tuple([WKvO.strip() for WKvO in YKHO._dict.get('tags').split(',')])",
"def Es54(YKHO):\n return ({'name': 'tag', 'attrs': {'k':... | [
"0.7621681",
"0.7486133",
"0.7429748",
"0.7426325",
"0.7426325",
"0.7394023",
"0.7381528",
"0.7381528",
"0.7381528",
"0.7381528",
"0.72575873",
"0.7238815",
"0.72214174",
"0.721224",
"0.72098017",
"0.7185993",
"0.7184216",
"0.71597636",
"0.71597636",
"0.71597636",
"0.71597636... | 0.753002 | 1 |
Attach a lot of summaries to a Tensor (for TensorBoard visualization). | def g4Yp(SRYB, mWFP=None):
with ZylS.name_scope('summaries'):
with ZylS.name_scope(mWFP):
JBMS = ZylS.reduce_mean(SRYB)
ZylS.summary.scalar('mean', JBMS)
with ZylS.name_scope('stddev'):
z2bo = ZylS.sqrt(ZylS.reduce_mean(ZylS.square(SRYB - JBMS)))
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n1pK(YKHO):\n for G1Hx, Ty9i in YKHO.metrics.items():\n ZylS.summary.scalar(G1Hx, Ty9i)\n YKHO.summary_op = ZylS.summary.merge_all()",
"def RlbR(YKHO):\n ZylS.summary.scalar('loss', YKHO.loss)\n XIcQ = ZylS.summary.merge_all()\n YKHO.summary_op = XIcQ\n ZylS.logging.info('summary op ... | [
"0.7071791",
"0.6970259",
"0.6970259",
"0.6800256",
"0.67872906",
"0.67407334",
"0.66669947",
"0.66576326",
"0.66193783",
"0.66085786",
"0.6595776",
"0.65836215",
"0.6581151",
"0.655297",
"0.6500364",
"0.6459978",
"0.64145213",
"0.6294558",
"0.62718755",
"0.62713677",
"0.6265... | 0.0 | -1 |
Return the number of lines currently stored. | def len(YKHO):
return YKHO.__len__() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KEFA(YKHO):\n YKHO._update_linetab(len(YKHO.input))\n vF77 = len(YKHO.__linepos)\n return vF77 - YKHO.input.endswith('\\n')",
"def ilr2(YKHO):\n try:\n return YKHO._n_lines\n except AttributeError:\n YKHO._n_lines = len(YKHO.lines())\n return YKHO._n_lines",
"def szAg(YK... | [
"0.7744905",
"0.7716623",
"0.77034104",
"0.7584345",
"0.7571357",
"0.7294285",
"0.7235321",
"0.7154316",
"0.7121671",
"0.70978796",
"0.7049138",
"0.69943905",
"0.6980415",
"0.695",
"0.6944435",
"0.6941798",
"0.6918959",
"0.6889288",
"0.6882911",
"0.683706",
"0.6835687",
"0.... | 0.0 | -1 |
Return lines 'n' through to 'm' as a list. Return a set of lines starting from line index 'n' up to but not including line index 'm', as a list. | def rLuH(YKHO, exwG, r8hN):
return YKHO.__contents[exwG:r8hN] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def slice(exwG, r8hN):\n eHxA = []\n for mrj1 in uOgj(exwG, r8hN):\n eHxA.append(mrj1)\n return eHxA",
"def uOgj(exwG, r8hN):\n kk8n = int(epAf.ceil(1.0 * exwG / r8hN))\n for YRbF in range(kk8n):\n if (YRbF + 1) * r8hN > exwG:\n yield (YRbF, YRbF * r8hN, exwG)\n els... | [
"0.67716974",
"0.6224634",
"0.5853799",
"0.5835376",
"0.5824087",
"0.5730224",
"0.5648795",
"0.5611413",
"0.5570121",
"0.55668485",
"0.5544765",
"0.5440498",
"0.5436642",
"0.54233885",
"0.541674",
"0.5413343",
"0.54080105",
"0.54019946",
"0.5400344",
"0.53933394",
"0.53759825... | 0.7621629 | 0 |
Return lines 'n' through to 'm' as a string. Return the specified lines from the buffer concatenated into a single string with line ends terminated by a newline character. | def kGys(YKHO, exwG, r8hN):
str = ''
vcn7 = YKHO.getlines(exwG, r8hN)
for zFiD in vcn7:
str = str + zFiD + '\n'
return str.rstrip('\n') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rLuH(YKHO, exwG, r8hN):\n return YKHO.__contents[exwG:r8hN]",
"def zFiD(exwG, str):\n en4D = ''\n for bGrB in range(exwG):\n en4D += str\n return en4D",
"def LBna(Nqlg, exwG):\n U5bT = []\n for zFiD in Nqlg:\n if len(U5bT) > 0 and len(U5bT[-1]) + len(zFiD) < exwG:\n ... | [
"0.69112617",
"0.61346996",
"0.57810104",
"0.54826766",
"0.547621",
"0.54677206",
"0.53977156",
"0.5341624",
"0.5321045",
"0.522847",
"0.51702565",
"0.51668864",
"0.50412095",
"0.5013615",
"0.5012478",
"0.4983798",
"0.498349",
"0.49503186",
"0.49287623",
"0.49239844",
"0.4903... | 0.7198326 | 0 |
Return entire buffer contents as a string. All lines in the buffer will be concatenated into a single string with line ends terminated by a newline character. | def all(YKHO):
str = ''
for zFiD in YKHO.__contents:
str = str + zFiD + '\n'
return str.rstrip('\n') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qTDM(YKHO):\n return '\\n'.join(YKHO.buf) + '\\n'",
"def yV3j(YKHO) -> bytes:\n if not len(YKHO.buffer):\n return b''\n return YKHO.buffer.pop(0)",
"def Ueki(YKHO):\n KCHu = ''\n while YKHO.ser.inWaiting() > 0:\n vC9B = YKHO.ser.read(1)\n YKHO.buffer.append(vC9B)\n ... | [
"0.8359845",
"0.65811425",
"0.61754847",
"0.61234534",
"0.60652316",
"0.5985307",
"0.597845",
"0.5951997",
"0.5897178",
"0.58949333",
"0.58383757",
"0.57829076",
"0.57718486",
"0.57434195",
"0.57319045",
"0.5720836",
"0.5712709",
"0.57027024",
"0.56890196",
"0.56695783",
"0.5... | 0.59816027 | 6 |
Set the start line of the most recent fragment. The most recent fragment is the last fragment object in the list of fragments for this logfile. 'line_no' is the current line number in the source file. If the fragment has an 'nlines' attribute then this is taken to be the offset from the current line back to the start o... | def UbZ_(YKHO, Q82t):
vBtp = YKHO.__fragments[-1]
vBtp.set_attribute('source_file', YKHO.__filename)
if vBtp.has_attribute('nlines'):
vgXP = vBtp.nlines
vBtp.set_startline(Q82t - vgXP)
elif YKHO.nfragments() > 1:
vBtp.set_startline(Q82t)
else:
vBtp.set_startline(1)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GgSy(YKHO, Q82t):\n if not YKHO.__fragments:\n YKHO.newfragment()\n vBtp = YKHO.__fragments[-1]\n if vBtp.get_endline() > -1:\n return\n vBtp.set_attribute('source_file', YKHO.__filename)\n vBtp.set_endline(Q82t)\n if vBtp.get_startline() < 1:\n if YKHO.nfragments() > 1:\... | [
"0.7719114",
"0.7470164",
"0.6964227",
"0.68452215",
"0.660155",
"0.6232456",
"0.6128378",
"0.60555327",
"0.6030448",
"0.6003474",
"0.5895308",
"0.58591986",
"0.5841012",
"0.58401483",
"0.58177835",
"0.5806955",
"0.57940376",
"0.57373744",
"0.56910324",
"0.5682642",
"0.562250... | 0.86531585 | 0 |
Get the end line of the fragment in the source document. | def oQpX(YKHO):
return YKHO.get_attribute('endline') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HHfX(YKHO):\n return YKHO._line_end",
"def Os4s(YKHO):\n return YKHO.__end_line",
"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 VaNX(zFiD):\n return zFiD.rstrip() + '\\n'",
"def A_2I(YKHO)... | [
"0.7682052",
"0.73179024",
"0.7276879",
"0.67844164",
"0.66894656",
"0.66873777",
"0.66470546",
"0.66333526",
"0.65602964",
"0.65187526",
"0.64627564",
"0.6461266",
"0.6386545",
"0.6379997",
"0.63460267",
"0.6297336",
"0.6279818",
"0.6254276",
"0.6253468",
"0.6219032",
"0.606... | 0.7623206 | 1 |
Return the 'raw' table text taken from the logfile. This returns any original 'raw' text of the table that was used to populate the table object. If the table object wasn't populated from a text fragment then this will return an empty string. The 'loggraph' and 'jloggraph' methods are recommended over the 'rawtable' me... | def NQ0O(YKHO):
return YKHO.__rawtable | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def A1b0(YKHO, VN2L):\n IOk8 = '<table'\n K8EF = '/table>'\n F4WF = VN2L.find(IOk8)\n assert F4WF >= 0\n MWVh = VN2L.find(K8EF)\n assert MWVh >= 0\n return VN2L[F4WF:MWVh + len(K8EF)]",
"def SnfU(YKHO):\n if not YKHO._flip:\n XRrw = rlUc + rlUc.join(['l' for fvDH in Ni9Y(YKHO._num_... | [
"0.58754724",
"0.55608314",
"0.5558947",
"0.5519892",
"0.55107796",
"0.5324703",
"0.5282555",
"0.5257986",
"0.5214659",
"0.51848185",
"0.5166116",
"0.5142387",
"0.5128453",
"0.510642",
"0.50548655",
"0.5031862",
"0.50179136",
"0.50171846",
"0.4995371",
"0.49797314",
"0.492628... | 0.6390309 | 0 |
Return the table graph type. See the 'settype' method for the possible values and their associated meanings for the table graph type. | def type(YKHO):
return YKHO.__type | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gL6U(Emd4) -> str:\n raise NotImplementedError",
"def FRul(YKHO) -> str:\n return YKHO.row_dict['type']",
"def FRul(YKHO) -> str:\n return Dy8w.ESL.name",
"def EZp2(YKHO) -> str:\n axWF = YKHO._get_hcell2()\n return axWF['celltype']",
"def type(YKHO):\n return VK7r[YKHO.arrow_dtype.id... | [
"0.6988938",
"0.68203956",
"0.6666259",
"0.63268405",
"0.6299978",
"0.6250772",
"0.62453824",
"0.6177533",
"0.61744297",
"0.6173327",
"0.61688596",
"0.6165021",
"0.6165021",
"0.6156729",
"0.614962",
"0.61374724",
"0.61238676",
"0.6113671",
"0.60981536",
"0.60965216",
"0.60959... | 0.0 | -1 |
Return the number of complete rows in the table. Returns the length of the shortest column of data stored in the table. | def HN6s(YKHO):
if YKHO.ncolumns() == 0:
return 0
HN6s = YKHO.table_column(0).nrows()
for YRbF in range(1, YKHO.ncolumns()):
HN6s = min(YKHO.table_column(YRbF).nrows(), HN6s)
return HN6s | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def doZm(tyNF):\n return max((len(rdlD) for rdlD in tyNF))",
"def jiw9(YKHO):\n return len(YKHO.table)",
"def szAg(YKHO) -> int:\n return len(YKHO._table)",
"def szAg(YKHO) -> int:\n return len(YKHO.table)",
"def TVTK(YKHO):\n if not YKHO._rows:\n return 0\n return len(YKHO._rows[0... | [
"0.77543604",
"0.76834154",
"0.7441514",
"0.7420827",
"0.7388482",
"0.7339574",
"0.71748793",
"0.7085411",
"0.7058776",
"0.70582944",
"0.697618",
"0.6973408",
"0.6973408",
"0.69654304",
"0.69581044",
"0.6929921",
"0.69274026",
"0.6922489",
"0.6913085",
"0.69083977",
"0.689897... | 0.7264148 | 6 |
Return the 'raw' data from the table body. This method returns the 'raw' table body text as supplied originally via the 'setdata' method. Of itself this data is probably not very useful. | def nPrm(YKHO):
return YKHO.__data | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NQ0O(YKHO):\n return YKHO.__rawtable",
"def kEiw(YKHO):\n return YKHO.table_data",
"def qWJY(*qIxc, **B2fa):\n return {'columns': [{'title': 'id'}, {'title': 'name'}, {'title': 'type'}], 'data': [[18371164, 'All', 'CUSTOM'], [18371166, 'None', 'CUSTOM'], [18371168, 'Localhost', 'CUSTOM'], [1837117... | [
"0.68796223",
"0.6572474",
"0.65240335",
"0.6490398",
"0.63842374",
"0.63546395",
"0.63278866",
"0.63278866",
"0.6317744",
"0.6317744",
"0.627621",
"0.62314504",
"0.6231356",
"0.61547494",
"0.6117596",
"0.6073401",
"0.59920025",
"0.5903801",
"0.58853537",
"0.58781505",
"0.583... | 0.0 | -1 |
Return the i'th column associated with the table. This returns the i'th table_column object in the table. Note that i counts from zero. Generally applications that want to examine the data stored in a table are better off using the 'col' method of the table class rather than the 'table_column' method. The 'col' method ... | def Yg6c(YKHO, YRbF):
return YKHO.__column_list[YRbF] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iYZ_(YKHO):\n return YKHO._column_number",
"def CUXk(YKHO):\n return _VfD.SBase_getColumn(YKHO)",
"def iVRZ(YKHO) -> int:\n return YKHO._column",
"def iVRZ(YKHO):\n return YKHO['column']",
"def BOes(tyNF, fvDH):\n return tyNF[0].index(fvDH)",
"def iVRZ(YKHO):\n return YKHO._column",... | [
"0.72881776",
"0.725009",
"0.71717143",
"0.71515965",
"0.71171147",
"0.7107709",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
"0.6944993",
... | 0.8410045 | 0 |
Return the number of graphs defined in the table. This method returns the number of 'table_graph' objects associated with the table. | def LF8Y(YKHO):
return len(YKHO.__graph_list) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iq9F(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.graph_count)",
"def i7QW(YKHO):\n exwG = 0\n for Kb4M, tyNF in YKHO.totsupport.iteritems():\n exwG += len(tyNF)\n return exwG",
"def oklI(YKHO):\n try:\n return YKHO.edges\n except:\n print('ERROR: No graph exists... | [
"0.7490503",
"0.71354496",
"0.68978655",
"0.68912643",
"0.6888261",
"0.6863996",
"0.6855631",
"0.68390226",
"0.68390226",
"0.68260455",
"0.68052197",
"0.67812365",
"0.6747441",
"0.67241776",
"0.6713882",
"0.6701291",
"0.66969246",
"0.6684455",
"0.6618828",
"0.65931845",
"0.65... | 0.7578547 | 0 |
Create a new table_graph object. The 'title' argument is a string containing the title for the graph. 'scaling' is a string describing how the graph should be displayed within the (x|j)loggraph program. 'column_list' is a list of integers corresponding to the columns in the table that holds the graph. The first column ... | def FIMM(YKHO, leAC='', X6rE='', JN9H=None):
if JN9H is None:
JN9H = []
YKHO.__title = leAC
YKHO.__column_list = JN9H
YKHO.__scaling = X6rE
if YKHO.__title:
YKHO.__nonzero = True
else:
YKHO.__nonzero = False
YKHO.__parent_table = None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def paPx(YKHO, leAC, ZLJ_, X6rE=''):\n if len(ZLJ_) < 2:\n raise ValueError('Graph definition needs at least two columns')\n Sws1 = ''\n for tMSe in ZLJ_:\n EmMj = False\n for dRHZ in range(0, YKHO.ncolumns()):\n if YKHO.table_column(dRHZ).title() == tMSe:\n ... | [
"0.7689638",
"0.6327908",
"0.6204365",
"0.6084483",
"0.60020566",
"0.58996344",
"0.5865012",
"0.57811326",
"0.574204",
"0.57022965",
"0.5649352",
"0.5639205",
"0.562492",
"0.56165814",
"0.55693924",
"0.5556476",
"0.5550503",
"0.5527653",
"0.5523539",
"0.5496096",
"0.54621035"... | 0.70459396 | 1 |
Initialise the table_column object. | def FIMM(YKHO, leAC=''):
YKHO.__title = leAC
YKHO.__data = []
if YKHO.__title:
YKHO.__nonzero = True
else:
YKHO.__nonzero = False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def euOf(YKHO, tyNF: 'Table'):\n if not YKHO.columns:\n YKHO.columns = tyNF.columns\n YKHO._data = tyNF.data",
"def FIMM(YKHO, tyNF):\n YKHO.table = tyNF\n HAeZ.__init__(YKHO)",
"def FIMM(YKHO, *qIxc):\n ED7W.Table_swiginit(YKHO, ED7W.new_Table(*qIxc))",
"def Mbp_(YKHO, kYV0, ZJYL):\n ... | [
"0.76160246",
"0.6843938",
"0.6769626",
"0.66117823",
"0.6513",
"0.6427167",
"0.6372307",
"0.63681704",
"0.63521",
"0.62856585",
"0.62796426",
"0.6276626",
"0.6187677",
"0.61768895",
"0.615778",
"0.6148508",
"0.61469716",
"0.6136409",
"0.6106704",
"0.610345",
"0.6079561",
"... | 0.0 | -1 |
Return the list of data values in the column. | def nPrm(YKHO):
return YKHO.__data | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qxcP(YKHO) -> list:\n return YKHO.__data_value",
"def OtVm(YKHO, cCSD=False):\n if YKHO.df is None:\n return []\n if cCSD:\n return [str(fvDH) for fvDH in YKHO.df.columns]\n else:\n return list(YKHO.df.columns.values)",
"def TSF4(YKHO, fvDH):\n if fvDH not in YKHO.cols:\... | [
"0.77621824",
"0.75108343",
"0.73730034",
"0.7306862",
"0.72316456",
"0.7151132",
"0.71071196",
"0.7009832",
"0.69682443",
"0.6956054",
"0.69481695",
"0.6897997",
"0.6847924",
"0.6839055",
"0.683376",
"0.6833056",
"0.6809157",
"0.67972124",
"0.67474854",
"0.6731912",
"0.66975... | 0.0 | -1 |
Returns a compiled regular expression from the pattern. This method returns a compiled regular expression associated with 'name', based on the supplied 'pattern'. If the name already has a compiled expression then that is returned, otherwise the compile method compiles and stores it before returning it. | def compile(YKHO, mWFP, mXDZ):
try:
return YKHO.get_pattern(mWFP)
except KeyError:
return YKHO.store_pattern(mWFP, ZbWC.compile(mXDZ)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YMGQ(YKHO, mWFP):\n return YKHO._pattern_reg[mWFP]",
"def yeHf(YKHO, mWFP, Opc6):\n if not YKHO.has_pattern(mWFP):\n YKHO.__patterns[mWFP] = Opc6\n return Opc6\n raise KeyError",
"def PD5D(mXDZ):\n if hasattr(mXDZ, 'pattern'):\n return mXDZ\n import re\n try:\n ... | [
"0.7053393",
"0.69807243",
"0.68922836",
"0.680196",
"0.65995646",
"0.6445656",
"0.637927",
"0.6272458",
"0.62703013",
"0.6254384",
"0.6248992",
"0.6191969",
"0.6138184",
"0.60868573",
"0.6076194",
"0.60364896",
"0.592131",
"0.5911789",
"0.57946867",
"0.5789343",
"0.5768408",... | 0.896322 | 0 |
Test if text matches a 'phaserstyle' CCP4 program termination. If the match fails then return False; if it succeeds then | def FSjs(YKHO, l5Ny):
if l5Ny.find('EXIT STATUS:') < 0:
return dict()
OXAZ = YKHO.compile('isccp4termination_phaser', '\\-*\\nEXIT STATUS: *([^\\n]+)\\n\\-*\\n\\nCPU Time: *([A-Za-z0-9 \\.\\(\\)]*)\\nFinished: *([A-Za-z0-9 \\.\\(\\)]*)').search(l5Ny)
Aofo = dict()
if OXAZ:
Aofo['terminat... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pbT6(l5Ny):\n return bool(ZbWC.search('\\\\b((kill|stop) the (alarm|clock|music))\\\\b', l5Ny, ZbWC.IGNORECASE))",
"def pbT6(l5Ny):\n return bool(ZbWC.search('\\\\b(start|stop) (look|watch|guard)ing\\\\b', l5Ny, ZbWC.IGNORECASE))",
"def pbT6(l5Ny):\n return bool(ZbWC.search('\\\\b((close|activate)... | [
"0.68806815",
"0.6431269",
"0.62761736",
"0.62584203",
"0.6175639",
"0.6046156",
"0.5953662",
"0.58471936",
"0.57547706",
"0.5619328",
"0.5606648",
"0.55991066",
"0.559731",
"0.55803996",
"0.5565938",
"0.5543286",
"0.55386716",
"0.5534791",
"0.551588",
"0.54312927",
"0.540606... | 0.66751474 | 1 |
Test if text matches a CCP4i tail line. | def Zj_O(YKHO, l5Ny):
J3uN = YKHO.compile('isccp4itail', '#CCP4I (TERMINATION|MESSAGE) (.*)').search(l5Ny)
Aofo = ''
if J3uN:
Aofo = J3uN.group(0)
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lA5R(YKHO, zFiD):\n if ZbWC.match('\\\\s+submit|complete|issued|latency\\\\s+\\\\:\\\\s+.*', zFiD):\n return True",
"def McHG(hGN5):\n return ZbWC.match('((\\\\d\\\\d:){2}\\\\d\\\\d),(\\\\d{3}) --> ((\\\\d\\\\d:){2}\\\\d\\\\d),(\\\\d{3})', hGN5) is not None",
"def G0o8(YKHO):\n return YKHO.... | [
"0.6165118",
"0.6059435",
"0.584028",
"0.5717279",
"0.5696224",
"0.5647701",
"0.5600821",
"0.558109",
"0.5574541",
"0.55356145",
"0.5461781",
"0.5414007",
"0.54010665",
"0.53995013",
"0.5394877",
"0.5394877",
"0.5393739",
"0.53821474",
"0.5381525",
"0.53373706",
"0.53371525",... | 0.74067825 | 0 |
Retrieve a block of text from a file. Given the name of a file 'filen' and a pair of start and end line numbers, extract and return the text from the file. This uses the linecache module beware of problems with consuming too much memory if the cache isn't cleared. | def GKJL(N5ik, yKcO, Os4s):
l5Ny = ''
if yKcO < 0 and Os4s < 0 or Os4s < yKcO:
return ''
if Hy7s.path.isfile(N5ik):
try:
for YRbF in range(yKcO, Os4s + 1):
l5Ny = l5Ny + str(jS1m.getline(N5ik, YRbF))
return l5Ny
except Exception:
pr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZmFk(nUeQ, yKcO, JCyR, Rrsh=None):\n if isinstance(nUeQ, (str, QMSQ)):\n hnfE = nzaE.get(Rrsh, open)\n eHNT = hnfE(nUeQ, 'rb')\n try:\n Aofo = ZmFk(eHNT, yKcO, JCyR)\n finally:\n eHNT.close()\n return Aofo\n if yKcO:\n nUeQ.seek(yKcO - 1)\n ... | [
"0.66028094",
"0.61330855",
"0.6021374",
"0.6013926",
"0.58157",
"0.57478464",
"0.5697128",
"0.5690969",
"0.56610155",
"0.56597036",
"0.5638598",
"0.56333935",
"0.56316376",
"0.5624669",
"0.55683804",
"0.54887336",
"0.54860926",
"0.5481318",
"0.54469955",
"0.54426193",
"0.543... | 0.7582829 | 0 |
Get the context job id. | def Ilxn(YKHO):
return YKHO._identifier | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rjee(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'job_id')",
"def rjee(YKHO):\n return YKHO._job_id",
"def rjee(YKHO) -> EUd7:\n return YKHO._job_id",
"def rjee(YKHO):\n return YKHO._properties.get('jobReference', {}).get('jobId')",
"def l_ss(YKHO) -> str:\n return YKHO.split_name... | [
"0.83027655",
"0.82377154",
"0.81556493",
"0.8152497",
"0.79086715",
"0.79013383",
"0.7836271",
"0.77879333",
"0.77255225",
"0.7648038",
"0.7558042",
"0.7460855",
"0.743235",
"0.7370359",
"0.73652166",
"0.71326286",
"0.67862326",
"0.6784332",
"0.67703295",
"0.67596656",
"0.67... | 0.0 | -1 |
Get the workspace path. | def fDoZ(YKHO):
return YKHO._path_temp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HUs2(YKHO) -> str:\n return YKHO._workspace",
"def HUs2(YKHO):\n return YKHO.rpc.call(OMwV.DbCurrentWorkspace)['workspace']",
"def w7bG(YKHO):\n w7g_ = YKHO._config['workspace']\n return (F81_.workspace_origin[w7g_], F81_.workspace_size[w7g_])",
"def FjT_():\n return KupS.CurrentWorkspace(... | [
"0.808841",
"0.73892677",
"0.7196388",
"0.71127325",
"0.7047736",
"0.7035057",
"0.6977684",
"0.6977684",
"0.6975696",
"0.6975696",
"0.6913617",
"0.68990153",
"0.6889027",
"0.6880461",
"0.6875449",
"0.6873213",
"0.686939",
"0.6846639",
"0.6831748",
"0.68179715",
"0.677618",
... | 0.87626225 | 0 |
Set the StatusSucceeded stored response. | def LuPx(YKHO, o4Jx):
YKHO.logger.info('status: SUCCEEDED')
YKHO._callback('on_succeeded', o4Jx)
return YKHO.update_response(YKHO.encoder.encode_response(o4Jx)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nyyK(YKHO):\n YKHO.succeeded = True",
"def LbSa(YKHO, LbSa):\n YKHO._succeeded = LbSa",
"def nyyK(YKHO, nyyK):\n YKHO._success = nyyK",
"def Efwd(YKHO, BWXx: bool):\n YKHO._has_success = BWXx",
"def gnr7(YKHO, tvqc: Any):\n return None",
"def NO1c(YKHO):\n pass",
"def E53L(YKHO):\... | [
"0.72555155",
"0.72406644",
"0.68162996",
"0.6451494",
"0.6386816",
"0.6230903",
"0.62161815",
"0.61402065",
"0.61326414",
"0.6007828",
"0.5980256",
"0.5966839",
"0.59579724",
"0.59549826",
"0.5949553",
"0.59176713",
"0.58903384",
"0.5843035",
"0.5817118",
"0.57979983",
"0.57... | 0.7669811 | 0 |
Returns the mood data for the self object. | def Wacx(YKHO):
nPrm = PW6U.search(clientID='10189056-547D2643844BF1E2B9E85BD85773AEFE', userID='27678235334765580-1FB57EBF64483B1937D128ACEB314A68', artist=YKHO.artist, track=YKHO.name)
return nPrm['mood'] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Wacx(YKHO):\n return YKHO.mood",
"def pZum(YKHO):\n XP5J, jzdc, Csk6 = YKHO._to_pad()\n uakN = eq8W(XP5J * YKHO.amount, jzdc * YKHO.amount, Csk6 * YKHO.amount)\n return uakN",
"def TFGd(YKHO):\n return YKHO.data.food",
"def yLtf(YKHO):\n return YKHO.data",
"def yLtf(YKHO):\n return... | [
"0.707828",
"0.65597147",
"0.600287",
"0.5847662",
"0.5847662",
"0.5847662",
"0.5824011",
"0.58185995",
"0.5816317",
"0.58157253",
"0.5793315",
"0.5785683",
"0.57529503",
"0.57529503",
"0.57529503",
"0.57529503",
"0.5699327",
"0.56794226",
"0.56726956",
"0.56711876",
"0.56711... | 0.6494342 | 2 |
Returns whether graph tuple has data flow columns. | def HLXZ(YKHO) -> bool:
return YKHO.data_flow_steps is not None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HLXZ(YKHO) -> bool:\n return YKHO.graph_count and (not YKHO.data_flow_null_count)",
"def xfOv(YKHO):\n SJF9 = YKHO.get_available_columns()\n return YKHO._state.n_neutral_markers != 3 and len(SJF9) > 0",
"def dWUk(YKHO):\n return len(YKHO.group_cols) != 0",
"def flos(nPrm):\n try:\n ... | [
"0.73087084",
"0.62618893",
"0.62294143",
"0.60616344",
"0.5883864",
"0.58398294",
"0.5827965",
"0.5804638",
"0.58013505",
"0.579512",
"0.5755214",
"0.57446986",
"0.57126534",
"0.5698431",
"0.5695845",
"0.5677411",
"0.5674231",
"0.5668995",
"0.56561",
"0.5649514",
"0.5647821"... | 0.6793305 | 1 |
The number of nonempty graphs in the database. | def iq9F(YKHO) -> int:
return int(YKHO.graph_tuple_stats.graph_count) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LF8Y(YKHO):\n return len(YKHO.__graph_list)",
"def szAg(YKHO) -> int:\n return len(YKHO.graphs)",
"def szAg(YKHO):\n return len(YKHO._graphs)",
"def oxyd(YKHO):\n yvY1 = YKHO.to_undirected_graph()\n UHFx = yvY1.num_subgraph()\n print('The number of disconnected components in the graph i... | [
"0.79743457",
"0.7504434",
"0.74953914",
"0.7198793",
"0.7186508",
"0.7116534",
"0.70988756",
"0.7008549",
"0.6985727",
"0.69620484",
"0.6946738",
"0.69251335",
"0.6913998",
"0.6853583",
"0.6814957",
"0.6808008",
"0.67881924",
"0.6778874",
"0.67762065",
"0.67637783",
"0.67608... | 0.73212576 | 3 |
The number of distinct intermediate representations that the nonempty graphs are constructed from. | def vtJe(YKHO) -> int:
return int(YKHO.graph_tuple_stats.ir_count or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oxyd(YKHO):\n yvY1 = YKHO.to_undirected_graph()\n UHFx = yvY1.num_subgraph()\n print('The number of disconnected components in the graph is ', UHFx)",
"def LF8Y(YKHO):\n return len(YKHO.__graph_list)",
"def zNig(YKHO):\n return (len(YKHO.nodes), sum([len(WKvO.outgoing_relations) for WKvO in ... | [
"0.69580394",
"0.6901225",
"0.68328345",
"0.6654836",
"0.6581869",
"0.65681267",
"0.6553942",
"0.65491015",
"0.64167225",
"0.6414495",
"0.6406426",
"0.64015645",
"0.6379493",
"0.63785857",
"0.6376907",
"0.6314292",
"0.631428",
"0.628712",
"0.6264335",
"0.6260748",
"0.6252857"... | 0.0 | -1 |
The total edge count in nonempty graphs. | def L1_y(YKHO) -> int:
return int(YKHO.graph_tuple_stats.edge_count or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ovND(YKHO):\n if YKHO._edges is None:\n return 0\n return len(YKHO._edges)",
"def n8F9(YKHO):\n return sum((1 for bGrB in YKHO.iteredges()))",
"def L1_y(YKHO):\n return int(sum((YKHO.degree(Q6kx) for Q6kx in range(YKHO.size))) / 2)",
"def epQE(YKHO):\n return sum(map(lambda WKvO: le... | [
"0.8249911",
"0.8182177",
"0.8074126",
"0.8054863",
"0.8015126",
"0.7966927",
"0.79349965",
"0.79123414",
"0.7898535",
"0.789485",
"0.7856146",
"0.78183407",
"0.7708368",
"0.76901406",
"0.7683947",
"0.76611614",
"0.76355785",
"0.7598577",
"0.75306374",
"0.75204",
"0.7489845",... | 0.8167904 | 2 |
The total control edge count in nonempty graphs. | def Euwg(YKHO) -> int:
return int(YKHO.graph_tuple_stats.control_edge_count or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ovND(YKHO):\n if YKHO._edges is None:\n return 0\n return len(YKHO._edges)",
"def n8F9(YKHO):\n return sum((1 for bGrB in YKHO.iteredges()))",
"def L1_y(YKHO):\n return int(sum((YKHO.degree(Q6kx) for Q6kx in range(YKHO.size))) / 2)",
"def zk7j(YKHO):\n raise NotImplementedError",
... | [
"0.7671002",
"0.7583738",
"0.7552115",
"0.7543077",
"0.7488707",
"0.747598",
"0.74449474",
"0.7384125",
"0.7357291",
"0.73411644",
"0.7281453",
"0.72562706",
"0.72472435",
"0.7186039",
"0.7162985",
"0.7141361",
"0.7127213",
"0.7121711",
"0.70692843",
"0.70536083",
"0.7053473"... | 0.83895445 | 0 |
The total data edge count in nonempty graphs. | def jhmV(YKHO) -> int:
return int(YKHO.graph_tuple_stats.data_edge_count or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ovND(YKHO):\n if YKHO._edges is None:\n return 0\n return len(YKHO._edges)",
"def L1_y(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.edge_count or 0)",
"def i7QW(YKHO):\n j93S = YKHO.DBcurs.execute('SELECT count(*) FROM edges')\n nPrm = j93S.fetchone()\n if nPrm:\n retur... | [
"0.7800657",
"0.7794975",
"0.7633602",
"0.76169175",
"0.75449234",
"0.7540726",
"0.7529082",
"0.74902093",
"0.7473793",
"0.74730647",
"0.74693835",
"0.74677736",
"0.73781526",
"0.73730785",
"0.7341601",
"0.7340502",
"0.7338263",
"0.728748",
"0.7282665",
"0.72618115",
"0.72309... | 0.8461542 | 0 |
The total call edge count in nonempty graphs. | def QrKR(YKHO) -> int:
return int(YKHO.graph_tuple_stats.call_edge_count or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def L1_y(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.edge_count or 0)",
"def ovND(YKHO):\n if YKHO._edges is None:\n return 0\n return len(YKHO._edges)",
"def n8F9(YKHO):\n return sum((1 for bGrB in YKHO.iteredges()))",
"def epQE(YKHO):\n return sum(map(lambda WKvO: len(WKvO), YKH... | [
"0.80320984",
"0.7823313",
"0.7732773",
"0.77264416",
"0.7686398",
"0.7670742",
"0.7598584",
"0.75807464",
"0.75784785",
"0.757243",
"0.7571619",
"0.7543357",
"0.74949706",
"0.7410557",
"0.7390591",
"0.73792005",
"0.7375282",
"0.73612076",
"0.7359264",
"0.73359424",
"0.733292... | 0.843418 | 0 |
The maximum node count in nonempty graphs. | def Cjt0(YKHO) -> int:
return int(YKHO.graph_tuple_stats.node_count_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n211(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_node_count')",
"def n211(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'max_node_count')",
"def bPEQ(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'total_max_node_count')",
"def sfjl(YKHO) -> h8nf[int]:\n if YKHO.has_data_flo... | [
"0.8475552",
"0.8424115",
"0.8013726",
"0.78631645",
"0.77609974",
"0.7732972",
"0.7713095",
"0.7530842",
"0.7477472",
"0.7457324",
"0.7369719",
"0.73358995",
"0.7318735",
"0.7259197",
"0.72470963",
"0.7146205",
"0.7133655",
"0.7104894",
"0.70887065",
"0.70836776",
"0.7054412... | 0.8854185 | 0 |
The maximum edge count in nonempty graphs. | def OMIa(YKHO) -> int:
return int(YKHO.graph_tuple_stats.edge_count_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HNhf(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.control_edge_count_max or 0)",
"def eDgB(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.data_edge_count_max or 0)",
"def Cjt0(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.node_count_max or 0)",
"def xFVj(YKHO) -> int:\n return int... | [
"0.8515026",
"0.8204971",
"0.7975469",
"0.7874876",
"0.78690207",
"0.7757313",
"0.7739741",
"0.7608959",
"0.7506974",
"0.74741423",
"0.7405962",
"0.740406",
"0.7397524",
"0.73851115",
"0.73846835",
"0.73748547",
"0.7369171",
"0.73598754",
"0.7322804",
"0.7290015",
"0.7259158"... | 0.87999994 | 0 |
The maximum control edge count in nonempty graphs. | def HNhf(YKHO) -> int:
return int(YKHO.graph_tuple_stats.control_edge_count_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OMIa(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.edge_count_max or 0)",
"def Euwg(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.control_edge_count or 0)",
"def eDgB(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.data_edge_count_max or 0)",
"def Cjt0(YKHO) -> int:\n return int(YKH... | [
"0.82586896",
"0.80404776",
"0.78491384",
"0.7651805",
"0.7535716",
"0.7498579",
"0.7315929",
"0.71309024",
"0.71202606",
"0.7101038",
"0.7076226",
"0.70214707",
"0.6993303",
"0.69738775",
"0.69400984",
"0.6939304",
"0.69201416",
"0.69083655",
"0.6890705",
"0.68877965",
"0.68... | 0.8865007 | 0 |
The maximum data edge count in nonempty graphs. | def eDgB(YKHO) -> int:
return int(YKHO.graph_tuple_stats.data_edge_count_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OMIa(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.edge_count_max or 0)",
"def HNhf(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.control_edge_count_max or 0)",
"def blQ1(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.graph_data_size_max or 0)",
"def jhmV(YKHO) -> int:\n return int... | [
"0.85272914",
"0.83137953",
"0.80320483",
"0.79585135",
"0.7821264",
"0.7688663",
"0.7495857",
"0.74765414",
"0.7469649",
"0.74584746",
"0.74530524",
"0.73381126",
"0.7211458",
"0.7193933",
"0.7142157",
"0.7100411",
"0.7068765",
"0.7018833",
"0.69775563",
"0.6974506",
"0.6970... | 0.90285796 | 0 |
The maximum call edge count in nonempty graphs. | def xFVj(YKHO) -> int:
return int(YKHO.graph_tuple_stats.call_edge_count_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OMIa(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.edge_count_max or 0)",
"def HNhf(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.control_edge_count_max or 0)",
"def eDgB(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.data_edge_count_max or 0)",
"def Cjt0(YKHO) -> int:\n return int... | [
"0.87430996",
"0.8617895",
"0.82285845",
"0.82136303",
"0.78453845",
"0.75599176",
"0.7554201",
"0.7492416",
"0.74294525",
"0.74255854",
"0.7347798",
"0.7277639",
"0.7197151",
"0.70962626",
"0.70839167",
"0.7020606",
"0.7002968",
"0.6987848",
"0.6969511",
"0.6947145",
"0.6944... | 0.8996734 | 0 |
The maximum edge position in nonempty graphs. | def qBKD(YKHO) -> int:
return int(YKHO.graph_tuple_stats.edge_position_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OMIa(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.edge_count_max or 0)",
"def EAOo(YKHO):\n return None",
"def HNhf(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.control_edge_count_max or 0)",
"def eDgB(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.data_edge_count_max or 0)",
"... | [
"0.7699541",
"0.75583553",
"0.7406411",
"0.7186106",
"0.7168089",
"0.7127655",
"0.7062937",
"0.7053888",
"0.7040154",
"0.7022066",
"0.7021296",
"0.6997701",
"0.69907147",
"0.69566745",
"0.6948608",
"0.6903866",
"0.6903811",
"0.68760663",
"0.686353",
"0.68229544",
"0.68058765"... | 0.89069694 | 0 |
The total size of the nonempty graph data, in bytes. | def hDPH(YKHO) -> int:
return int(YKHO.graph_tuple_stats.graph_data_size or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jiw9(YKHO):\n return HwRy.getsizeof(YKHO.children) + HwRy.getsizeof(YKHO.parent) + HwRy.getsizeof(YKHO.dataset_id) + HwRy.getsizeof(YKHO.k) + YKHO.filter.get_size()",
"def zNig(YKHO):\n return YKHO.data.size",
"def zNig(YKHO):\n zNig = 0\n zNig += YKHO.data.size * HwRy.getsizeof(YKHO.data)\n ... | [
"0.76009125",
"0.7567456",
"0.7476673",
"0.7441184",
"0.7439027",
"0.7308852",
"0.7308852",
"0.7308852",
"0.7308852",
"0.7308852",
"0.72974616",
"0.7281327",
"0.7249524",
"0.72390497",
"0.72349966",
"0.72322136",
"0.72161245",
"0.71898574",
"0.7189039",
"0.71829236",
"0.71750... | 0.80668235 | 0 |
The average size of the nonempty graph tuple data, in bytes. | def AsMC(YKHO) -> float:
return float(YKHO.graph_tuple_stats.graph_data_size_avg or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hDPH(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.graph_data_size or 0)",
"def La9j(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.graph_data_size_min or 0)",
"def zNig(YKHO):\n zNig = 0\n zNig += YKHO.data.size * HwRy.getsizeof(YKHO.data)\n return zNig / 1024.0 / 1024.0 / 1024.0",
... | [
"0.8075156",
"0.72535473",
"0.7106614",
"0.7105748",
"0.69817734",
"0.6926077",
"0.684619",
"0.6829289",
"0.67583275",
"0.6725425",
"0.67089623",
"0.6685527",
"0.66743547",
"0.6655449",
"0.662042",
"0.65756935",
"0.6574154",
"0.65442",
"0.65364003",
"0.65173227",
"0.6515654",... | 0.8278755 | 0 |
Return whether the graph database has data flow annotations. This is only true if all columns have data flow values. | def HLXZ(YKHO) -> bool:
return YKHO.graph_count and (not YKHO.data_flow_null_count) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HLXZ(YKHO) -> bool:\n return YKHO.data_flow_steps is not None",
"def TbN7(YKHO):\n return YKHO.datamask is not None",
"def LUSK(YKHO) -> bool:\n return bool(YKHO.data)",
"def LUSK(YKHO) -> bool:\n raise NotImplementedError",
"def nRjE(YKHO):\n return YKHO._dataset is not None",
"def LU... | [
"0.73181945",
"0.6149563",
"0.6127147",
"0.59476316",
"0.58931696",
"0.5845224",
"0.58129483",
"0.57737625",
"0.57239795",
"0.5696435",
"0.5663467",
"0.5662338",
"0.5662338",
"0.56621134",
"0.5641391",
"0.5615787",
"0.56096166",
"0.5592349",
"0.5580872",
"0.5571526",
"0.55653... | 0.7705465 | 0 |
The number of database rows without data flow information. If > 0, then has_data_flow is False. | def NP2t(YKHO) -> int:
return YKHO.graph_count - int(YKHO.graph_tuple_stats.data_flow_steps_count or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NwL4(YKHO):\n return len(YKHO.rows)",
"def NwL4(YKHO):\n return len(YKHO.rows)",
"def RTy5(YKHO):\n return len(YKHO.data)",
"def _1Ox(YKHO):\n return YKHO._num_rows",
"def gYg2(YKHO):\n return len(YKHO.columns) + (1 if YKHO.serialize else 0)",
"def jOFs(YKHO):\n usx6 = YKHO.db().exe... | [
"0.723747",
"0.71625364",
"0.7060408",
"0.7035086",
"0.70193493",
"0.69925404",
"0.69619495",
"0.69619495",
"0.6934714",
"0.69228566",
"0.6903881",
"0.6823599",
"0.673938",
"0.67330176",
"0.6729505",
"0.6727585",
"0.67250323",
"0.672352",
"0.67103606",
"0.66660213",
"0.666549... | 0.68647486 | 11 |
The maximum data flow steps for nonempty graphs. | def C1Lb(YKHO) -> h8nf[int]:
if YKHO.has_data_flow:
return int(YKHO.graph_tuple_stats.data_flow_steps_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wvmV(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'max_steps')",
"def NP2t(YKHO) -> int:\n return YKHO.graph_count - int(YKHO.graph_tuple_stats.data_flow_steps_count or 0)",
"def sfjl(YKHO) -> h8nf[int]:\n if YKHO.has_data_flow:\n return int(YKHO.graph_tuple_stats.data_flow_posit... | [
"0.7379896",
"0.72180307",
"0.71333224",
"0.7130157",
"0.7053816",
"0.6724929",
"0.6718832",
"0.65928626",
"0.65211934",
"0.6508231",
"0.6501113",
"0.6481268",
"0.6477526",
"0.64273363",
"0.6383378",
"0.6323962",
"0.63217306",
"0.62544966",
"0.616601",
"0.6162776",
"0.6140091... | 0.85527885 | 0 |
The minimum data flow positive node count for nonempty graphs. | def jFlK(YKHO) -> h8nf[int]:
if YKHO.has_data_flow:
return int(YKHO.graph_tuple_stats.data_flow_positive_node_count_min or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rimA(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'min_node_count')",
"def rimA(YKHO) -> int:\n return qe4Y.get(YKHO, 'min_node_count')",
"def sfjl(YKHO) -> h8nf[int]:\n if YKHO.has_data_flow:\n return int(YKHO.graph_tuple_stats.data_flow_positive_node_count_max or 0)",
"def X6... | [
"0.8023936",
"0.789185",
"0.7807824",
"0.7802201",
"0.7475199",
"0.73862046",
"0.7230794",
"0.7140071",
"0.70534784",
"0.7000579",
"0.6776419",
"0.67453575",
"0.6729449",
"0.6729449",
"0.6729449",
"0.6729449",
"0.67278403",
"0.66915274",
"0.6668609",
"0.6654191",
"0.66488093"... | 0.9030552 | 0 |
The minimum data flow average node count for nonempty graphs. | def zOH0(YKHO) -> h8nf[int]:
if YKHO.has_data_flow:
return int(YKHO.graph_tuple_stats.data_flow_positive_node_count_avg or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jFlK(YKHO) -> h8nf[int]:\n if YKHO.has_data_flow:\n return int(YKHO.graph_tuple_stats.data_flow_positive_node_count_min or 0)",
"def X6z1(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'total_min_node_count')",
"def rimA(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'min_... | [
"0.78608286",
"0.7457774",
"0.7295959",
"0.72802347",
"0.7071397",
"0.69049734",
"0.68340874",
"0.6799799",
"0.66957015",
"0.6537798",
"0.6476839",
"0.6365325",
"0.631854",
"0.631854",
"0.6278462",
"0.62412375",
"0.61753774",
"0.61577886",
"0.612815",
"0.61114705",
"0.6093907... | 0.8258879 | 0 |
The minimum data flow max node count for nonempty graphs. | def sfjl(YKHO) -> h8nf[int]:
if YKHO.has_data_flow:
return int(YKHO.graph_tuple_stats.data_flow_positive_node_count_max or 0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Cjt0(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.node_count_max or 0)",
"def jFlK(YKHO) -> h8nf[int]:\n if YKHO.has_data_flow:\n return int(YKHO.graph_tuple_stats.data_flow_positive_node_count_min or 0)",
"def n211(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'max_node_coun... | [
"0.8033217",
"0.78229624",
"0.77741414",
"0.75901127",
"0.75760174",
"0.7533512",
"0.74085224",
"0.73444754",
"0.72644717",
"0.71415263",
"0.71330804",
"0.7117792",
"0.7116259",
"0.6940493",
"0.68805736",
"0.68435514",
"0.6733795",
"0.67269415",
"0.67033595",
"0.669884",
"0.6... | 0.8371491 | 0 |
Fetch the database statics as a JSON dictionary. | def Cpgz(YKHO) -> cuzp[str, ImMB]:
return {mWFP: m2Zb(YKHO) for mWFP, m2Zb in M_qy} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yQoh(YKHO):\n return YKHO.get_metadata()",
"def XgSV(QePW):\n zgjV = []\n for Eorv in ISu2.objects.all():\n AIu6 = {}\n AIu6['title'] = Eorv.name\n AIu6['description'] = Eorv.description\n AIu6['keyword'] = Eorv.csw_keywords.split(',')\n AIu6['modified'] = Eorv.las... | [
"0.65091604",
"0.6287642",
"0.60685253",
"0.60585207",
"0.6045111",
"0.60367566",
"0.6025539",
"0.60035616",
"0.59572256",
"0.5947966",
"0.59469616",
"0.5919571",
"0.5884199",
"0.58766294",
"0.58616024",
"0.58563447",
"0.5848007",
"0.58461374",
"0.5843245",
"0.5835563",
"0.58... | 0.0 | -1 |
plot ground truth (left) and reconstruction (right) showing b/w image data of mnist | def KwM3():
QrM1.subplot(121)
QrM1.imshow(nPrm.data.numpy()[0,].squeeze())
QrM1.subplot(122)
QrM1.imshow(pwpu.view(-1, 28, 28).data.numpy()[0,].squeeze())
QrM1.show()
QrM1.pause(1e-06)
QrM1.gcf().clear()
mvm2 = C3ST.sample_z(nPrm)
QrM1.imshow(mvm2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HodY(YKHO):\n if YKHO.data_generated:\n c5aS = len(YKHO.true_data['targets'])\n iMGt = QrM1.get_cmap('gnuplot')\n Jw9H = [iMGt(YRbF) for YRbF in oyIN.linspace(0, 0.9, c5aS)]\n LZpg = QrM1.figure(figsize=(15, 5))\n QrM1.subplot(1, 3, 1)\n for G1Hx in YKHO.phd_filter[... | [
"0.6359372",
"0.63568735",
"0.6351003",
"0.61925846",
"0.6187286",
"0.61738014",
"0.6107763",
"0.6085257",
"0.6078938",
"0.6055362",
"0.603561",
"0.6034434",
"0.6034434",
"0.6008966",
"0.6008966",
"0.6008966",
"0.60033107",
"0.5982332",
"0.59349245",
"0.593149",
"0.59275013",... | 0.61624676 | 6 |
Number of negative residues in a protein sequence. | def ifVc(Q6uT):
Q6uT = Q6uT.upper()
for D9cM in Q6uT:
if D9cM not in K7gZ.aa.keys():
raise RuntimeError(D9cM + ' is not a valid amino acid.')
return Q6uT.count('D') + Q6uT.count('E') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ifVc(Q6uT):\n Q6uT = Q6uT.upper()\n for D9cM in Q6uT:\n if D9cM not in K7gZ.aa.keys():\n raise RuntimeError(D9cM + ' is not a valid amino acid.')\n return Q6uT.count('E') + Q6uT.count('D')",
"def _zKC(Q6uT):\n Q6uT = Q6uT.upper()\n for D9cM in Q6uT:\n if D9cM not in Sq... | [
"0.82678354",
"0.80789524",
"0.71521777",
"0.65276897",
"0.64138657",
"0.6410651",
"0.6380766",
"0.63229483",
"0.63189644",
"0.63189644",
"0.6284025",
"0.6230671",
"0.6191797",
"0.6168326",
"0.58007723",
"0.56923634",
"0.56741333",
"0.5620887",
"0.55961305",
"0.55678385",
"0.... | 0.75642145 | 2 |
Gets a list of registered ResourceLoaders. | def Lbv1():
pdlj = []
if vPBo['data_search_paths'].present:
for pmON in vPBo.data_search_paths:
pdlj.append(VFiV(pmON))
else:
for pmON in vPBo.data_search_paths:
if Hy7s.path.isdir(pmON):
pdlj.append(VFiV(pmON))
pdlj.extend(D6_o)
return pdlj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NKgD(YKHO):\n return YKHO.__loaders",
"def A0zC(YKHO):\n return []",
"def list(YKHO):\n JKCy = YKHO._os_resource_manager.list()\n PSFz = []\n for Eorv in JKCy:\n PSFz.append(YKHO._resource_class(id=Eorv.id, name=Eorv.name))\n return PSFz",
"def A0zC(YKHO, **OTw7):\n return [Gv... | [
"0.81416523",
"0.637179",
"0.6344715",
"0.629529",
"0.6217948",
"0.61834675",
"0.6145614",
"0.59924227",
"0.5954884",
"0.59497255",
"0.59497255",
"0.59359246",
"0.59182215",
"0.59130603",
"0.5862964",
"0.5828555",
"0.5793263",
"0.57533056",
"0.5741845",
"0.5725582",
"0.569191... | 0.7558301 | 1 |
Constructor for the PatchBankAccount class | def FIMM(YKHO, _6K8=None, qKsO=None):
YKHO.account_holder_name = _6K8
YKHO.routing_number = qKsO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, pl8n, dDSB, wMl7):\n YKHO._bank_name = pl8n\n YKHO._account_num = dDSB\n YKHO._balance = wMl7",
"def FIMM(YKHO, lb7m: str, pl8n: str, KAc2: float):\n super().__init__(lb7m)\n YKHO.bank_name = pl8n\n YKHO.starting_balance = KAc2\n YKHO.current_balance = KAc2",
"def FIMM(YKHO,... | [
"0.67347664",
"0.6665173",
"0.65751433",
"0.6356631",
"0.6301538",
"0.62909985",
"0.62768334",
"0.6247869",
"0.6194805",
"0.61794615",
"0.61187714",
"0.60189223",
"0.58762217",
"0.58614963",
"0.5832388",
"0.58311236",
"0.5817464",
"0.5808375",
"0.5808244",
"0.5781593",
"0.578... | 0.0 | -1 |
Creates an instance of this model from a dictionary | def rQfz(Emd4, cmPJ):
if cmPJ is None:
return None
_6K8 = cmPJ.get('accountHolderName')
qKsO = cmPJ.get('routingNumber')
return Emd4(_6K8, qKsO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rQfz(Emd4, cmPJ):\n if cmPJ is None:\n return None\n id = cmPJ.get('id')\n mWFP = cmPJ.get('name')\n tDvy = cmPJ.get('type')\n fFb7 = cmPJ.get('usageBytes')\n return Emd4(id, mWFP, tDvy, fFb7)",
"def eLpg(Emd4, cmPJ):\n return Emd4(**cmPJ)",
"def eLpg(Emd4, cmPJ):\n return Em... | [
"0.83181584",
"0.8168118",
"0.8168118",
"0.8118749",
"0.8089047",
"0.79787344",
"0.7949278",
"0.79231393",
"0.7898951",
"0.78923255",
"0.788838",
"0.7882321",
"0.7882212",
"0.7876749",
"0.78585315",
"0.7836853",
"0.7801407",
"0.7801407",
"0.7801407",
"0.7801407",
"0.7801407",... | 0.7705121 | 66 |
sets the default value for the user's default_custom_columns | def EllH(QePW):
TBsA = qQXR.loads(QePW.body)
ZLJ_ = TBsA['columns']
wO38 = TBsA.get('show_shared_buildings')
QePW.user.default_custom_columns = ZLJ_
if wO38 is not None:
QePW.user.show_shared_buildings = wO38
QePW.user.save()
return {'status': 'success'} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Tyqu(QePW):\n ZLJ_ = QePW.user.default_custom_columns\n if ZLJ_ == '{}' or type(ZLJ_) == dict:\n nJ_K = True\n ZLJ_ = L437\n else:\n nJ_K = False\n if type(ZLJ_) == QMSQ:\n ZLJ_ = qQXR.loads(ZLJ_)\n return {'status': 'success', 'columns': ZLJ_, 'initial_columns': nJ_K... | [
"0.71918476",
"0.63976187",
"0.62911725",
"0.62810946",
"0.61775875",
"0.6020808",
"0.59625727",
"0.58059883",
"0.56875354",
"0.56598103",
"0.56401706",
"0.55985165",
"0.5580176",
"0.5558134",
"0.5525293",
"0.54914945",
"0.54885626",
"0.5485158",
"0.5463281",
"0.5459858",
"0.... | 0.7769795 | 0 |
Creates a new empty dataset (ImportRecord). | def oUGu(QePW):
TBsA = qQXR.loads(QePW.body)
try:
QAIN = zvVu.objects.get(pk=TBsA['organization_id'])
except zvVu.DoesNotExist:
return {'status': 'error', 'message': 'organization_id not provided'}
AIu6 = m6Rt.objects.create(name=TBsA['name'], app='seed', start_time=qcWV.datetime.now(), ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QR7x(nqDb, H_bB, mWFP, **B2fa):\n return (H_bB.create_dataset(mWFP, shape=None, dtype='V1', **xlWI(B2fa)), ())",
"def alxV():\n ZylS.logging.info('Create records..')\n EvQg, wEf2, QOe9 = gnPz.load_data(h_xa, vPBo['is_aug'])\n ZylS.logging.info('Dataset size: Train-{} Test-{} Val-{}'.format(len(Ev... | [
"0.62038827",
"0.6160961",
"0.61396396",
"0.60411006",
"0.59956115",
"0.58439934",
"0.5828674",
"0.58265716",
"0.58131844",
"0.58111525",
"0.57789344",
"0.5772935",
"0.57699925",
"0.575616",
"0.5748804",
"0.57160425",
"0.5681925",
"0.56727135",
"0.56416404",
"0.5640246",
"0.5... | 0.61703247 | 1 |
Retrieves details about an ImportFile. | def PX22(QePW):
from seed.models import obj_to_dict
F7bj = QePW.GET.get('import_file_id', '')
CAeL = QePW.user.orgs.all()
_U0y = QAUH.objects.get(pk=F7bj)
Csk6 = m6Rt.objects.filter(super_organization__in=CAeL, pk=_U0y.import_record_id)
if not Csk6.exists():
return {'status': 'success', ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JqUh(YKHO):\n return YKHO.setup.import_info",
"def _U0y(YKHO) -> qe4Y.Input['FileMetadataArgs']:\n return qe4Y.get(YKHO, 'import_file')",
"def _U0y(YKHO) -> 'outputs.FileMetadataResponse':\n return qe4Y.get(YKHO, 'import_file')",
"def _U0y(YKHO) -> qe4Y.Output['outputs.FileMetadataResponse']:\n ... | [
"0.7248999",
"0.6746192",
"0.6590657",
"0.6530779",
"0.6172895",
"0.596939",
"0.5742963",
"0.5708968",
"0.56474656",
"0.56010765",
"0.5437616",
"0.5401174",
"0.54005516",
"0.53999656",
"0.5388597",
"0.5372574",
"0.5350929",
"0.53432524",
"0.5339969",
"0.52719903",
"0.52370346... | 0.62912744 | 4 |
Updates the name of a dataset. | def U5pZ(QePW):
TBsA = qQXR.loads(QePW.body)
CAeL = QePW.user.orgs.all()
Csk6 = m6Rt.objects.filter(super_organization__in=CAeL, pk=TBsA['dataset']['id'])
if not Csk6.exists():
return {'status': 'error', 'message': 'user does not have permission to update dataset'}
Csk6 = Csk6[0]
Csk6.na... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def I1fw(YKHO, j3aw: Optional[str]=None):\n YKHO._current_dataset_name = YKHO._validate_dataset_name(j3aw)",
"def U5pZ(YKHO, __n6, mWFP=None, JBZA=None):\n j8eK = RNQx(YKHO.baseuri + '/{owner}/{id}').expand(owner=YKHO.username, id=__n6)\n return YKHO.session.patch(j8eK, json=YKHO._attribs(mWFP, JBZA))",... | [
"0.71942943",
"0.7085657",
"0.7053566",
"0.69522166",
"0.6884053",
"0.6884053",
"0.68170536",
"0.6797914",
"0.67543006",
"0.66649425",
"0.6632209",
"0.66024053",
"0.65867317",
"0.65579575",
"0.6535266",
"0.6512995",
"0.6488904",
"0.6488904",
"0.64725125",
"0.63948125",
"0.636... | 0.0 | -1 |
r"""VGG 11layers model (configuration "A") with batch normalization | def CAz4(mL4f: bool=False, Eb4t: bool=True, **B2fa: Any) -> s3br:
return zm1_('vgg11_bn', 'A', True, mL4f, Eb4t, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vHu7(GhuM=(224, 224, 3), oLRV=1000):\n C3ST = ileL()\n C3ST.add(X6a0(shape=GhuM))\n C3ST.add(l2Dx((1, 1)))\n C3ST.add(yHwh(64, (3, 3), activation='relu'))\n C3ST.add(l2Dx((1, 1)))\n C3ST.add(yHwh(64, (3, 3), activation='relu'))\n C3ST.add(YMbS((2, 2), strides=(2, 2)))\n C3ST.add(l2Dx((1... | [
"0.6401826",
"0.6339081",
"0.6320962",
"0.6220103",
"0.6205287",
"0.6181516",
"0.60886914",
"0.6079174",
"0.6036321",
"0.60285294",
"0.5988841",
"0.5985864",
"0.5980047",
"0.59774154",
"0.5973252",
"0.59162146",
"0.59033006",
"0.58979875",
"0.5890361",
"0.587359",
"0.58735275... | 0.5397236 | 78 |