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 |
|---|---|---|---|---|---|---|
Method to implement REST API call of POST | def bYCP():
for ZfUD in QePW.form.items():
print(ZfUD)
Aofo = {}
nPrm = QePW.get_data()
if nPrm is not None and len(nPrm) > 0:
G9jH.debug("Data to be encrypted: '%s'", nPrm)
iwBV = BZeB(password=zKTY['AES_KEY'])
zv8C = zspY(iwBV.get_key(), nPrm)
G9jH.debug("Encryp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m8z6(YKHO, *qIxc, **B2fa):\n B2fa['method'] = MKW7\n return YKHO.request(*qIxc, **B2fa)",
"def ZzlG(YKHO, *qIxc, **B2fa) -> G4JS.Response:\n return YKHO.__request(*qIxc, **B2fa, method='POST')",
"def oJEX(YKHO, *qIxc, **B2fa) -> oGir:\n return YKHO._send_request(YKHO._requests_lib.post, *qIxc, ... | [
"0.77711564",
"0.76557237",
"0.76360226",
"0.7536791",
"0.7536791",
"0.7536791",
"0.7536305",
"0.7466934",
"0.74608785",
"0.74479353",
"0.73659676",
"0.7359038",
"0.73436123",
"0.7339381",
"0.7330798",
"0.7257458",
"0.72511595",
"0.7245417",
"0.7210806",
"0.7208628",
"0.72024... | 0.0 | -1 |
Onehotencodes the passed vector or singlecolumn matrix. | def vzTG(WKvO: DNDarray) -> _5mP:
cDK5 = WKvO.shape[0]
ROaS = ZsLl.max(WKvO).item() + 1
KLLm = ZsLl.zeros((cDK5, ROaS), split=WKvO.split, device=WKvO.device, comm=WKvO.comm)
KLLm.lloc[range(KLLm.lshape[0]), WKvO.larray] = 1
return KLLm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sjGC(bZ5C, XYiK):\n yvT9 = oyIN.zeros(shape=(len(bZ5C), XYiK))\n for YRbF in range(len(bZ5C)):\n yvT9[YRbF, int(bZ5C[YRbF])] = 1\n return yvT9",
"def zGX0(WKvO):\n tZ2K = oyIN.eye(2)[WKvO]\n return tZ2K",
"def zGX0(WKvO):\n KLLm = oyIN.eye(10)[WKvO]\n return KLLm",
"def vzTG(W... | [
"0.8208443",
"0.8167085",
"0.8080341",
"0.8057763",
"0.8045895",
"0.8025225",
"0.8024837",
"0.7975957",
"0.78980535",
"0.7891722",
"0.78116",
"0.7793738",
"0.7677402",
"0.765209",
"0.76518416",
"0.7631955",
"0.7582601",
"0.7581585",
"0.7574563",
"0.75716",
"0.7539105",
"0.7... | 0.7621337 | 16 |
Processes a list of callbacks and returns a dictionary mapping each hook to a list of Callback classes that implement that method. Since the base Callback class is a noop for each of these methods, if the code is different between the callback instance passed in and the base class, there is logic to run. This upfront p... | def XBbv(oL5I: List[Callback]) -> cuzp[str, x1iM[xSpp]]:
KaNb = ('on_exception', 'on_train_start', 'on_train_epoch_start', 'on_train_step_start', 'on_train_step_end', 'on_train_epoch_end', 'on_train_end', 'on_eval_start', 'on_eval_epoch_start', 'on_eval_step_start', 'on_eval_step_end', 'on_eval_epoch_end', 'on_eval... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XYEH(oL5I: List[Callable]):\n if dXFm._log_training:\n if ut3B not in [type(db6b) for db6b in oL5I]:\n oL5I.append(ut3B(context=dXFm._context, **dXFm._mlrun_logging_callback_kwargs))\n dXFm._mlrun_callbacks.clear()\n for db6b in oL5I:\n if isinstance(db6b, xSpp):\n ... | [
"0.681677",
"0.679356",
"0.66881055",
"0.64750135",
"0.64351374",
"0.6288574",
"0.6234271",
"0.62217146",
"0.6181722",
"0.6095121",
"0.6076316",
"0.6072027",
"0.60588247",
"0.6047802",
"0.60379153",
"0.5936892",
"0.59120435",
"0.5904514",
"0.5897806",
"0.58871645",
"0.5886759... | 0.7969951 | 0 |
Return (but do not remove) the element at the front of the queue. Raise Empty exception if the queue is empty | def cntZ(YKHO):
if YKHO.is_empty():
raise rWmY('Queue is empty')
return YKHO._data[YKHO._front] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XL7A(YKHO):\n if YKHO.is_empty():\n raise nKJm\n return YKHO.queue[YKHO.front]",
"def qnv3(YKHO) -> Kt_s:\n if YKHO.size == 0:\n return None\n return YKHO.queue[YKHO.front]",
"def VnzS(gGq6):\n if FBfn(gGq6):\n raise IndexError('front on empty queue')\n return gGq6.fr... | [
"0.86150026",
"0.85650384",
"0.83731186",
"0.8222615",
"0.82042265",
"0.8160802",
"0.81507015",
"0.81212115",
"0.8118296",
"0.80465996",
"0.8027505",
"0.798665",
"0.79810673",
"0.7965991",
"0.79603666",
"0.79603666",
"0.79603666",
"0.7951406",
"0.79414356",
"0.79376596",
"0.7... | 0.78888565 | 23 |
Remove and return the first element of the queue Raise an exception if the queue is empty | def he0F(YKHO):
if YKHO.is_empty():
raise rWmY('Queue is empty')
ANfV = YKHO._data[YKHO._front]
YKHO._data[YKHO._front] = None
YKHO._front = (YKHO._front + 1) % len(YKHO._data)
YKHO._size -= 1
print('Dequeue')
print('front :', YKHO._front, '\t size : ', YKHO._size, '\t length : ', le... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BEuN(YKHO):\n if len(YKHO._queue) <= 0:\n raise ValueError('Queue is empty. Cannot call remove')\n U6D_ = YKHO._queue[0]\n del YKHO._queue[0]\n return U6D_",
"def he0F(YKHO):\n try:\n cntZ = YKHO._deque.popleft()\n except IndexError:\n raise rWmY('The queue is empty!')\... | [
"0.8312844",
"0.8164982",
"0.8151442",
"0.81475705",
"0.81170124",
"0.8116826",
"0.8113163",
"0.8061912",
"0.798505",
"0.79718786",
"0.7967944",
"0.79582727",
"0.7955536",
"0.7945403",
"0.792867",
"0.7905945",
"0.78987324",
"0.78937817",
"0.78844434",
"0.78835005",
"0.78734",... | 0.0 | -1 |
This method should reset the environment and return the current state (list of float(s)) | def SiRx(YKHO):
return QTBn | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def S4Vx() -> oyIN.ndarray:\n QTBn = sEAN.reset()\n return QTBn.astype(oyIN.float32)",
"def SiRx(YKHO):\n QTBn = YKHO.env.reset()\n for KCHu in range(YKHO.repeat_freq):\n YKHO._state_buffer.append(oyIN.squeeze(YKHO.process_state(QTBn)))\n return oyIN.stack(YKHO._state_buffer, axis=2)",
"d... | [
"0.73434013",
"0.68820477",
"0.6728439",
"0.672278",
"0.66500956",
"0.66143996",
"0.6605317",
"0.6604602",
"0.65345144",
"0.6511254",
"0.64979404",
"0.6491667",
"0.6474222",
"0.64415264",
"0.6439174",
"0.64165395",
"0.6392811",
"0.639124",
"0.6375421",
"0.6324806",
"0.6299751... | 0.0 | -1 |
Draw the entire game frame. | def _1tc(YKHO):
for WKvO in range(YKHO.env.field.size):
for LVAh in range(YKHO.env.field.size):
YKHO.render_cell(WKvO, LVAh) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Wwi1(YKHO):\n YKHO._main_window.fill((255, 255, 255, 255))\n YKHO._game.on_draw(YKHO._main_window)\n a9eO.display.flip()",
"def JmFt(YKHO):\n YKHO.window.fill(a9eO.Color(0, 0, 0))\n YKHO.world.draw(YKHO.window)\n a9eO.display.flip()",
"def dHqP(YKHO):\n YKHO.game_display.fill(AX3l)\n ... | [
"0.8260578",
"0.8096722",
"0.8076856",
"0.8000687",
"0.7999025",
"0.7919906",
"0.79151386",
"0.78976876",
"0.78675103",
"0.78155583",
"0.78104913",
"0.774635",
"0.7732217",
"0.7731183",
"0.7726943",
"0.77048075",
"0.7690739",
"0.7686888",
"0.7676212",
"0.7626504",
"0.76251704... | 0.0 | -1 |
Get time (in milliseconds) since the last checkpoint. | def ITS7(YKHO):
return a9eO.time.get_ticks() - YKHO.start_time | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lLS5(YKHO):\n return YKHO._checkpoint_time",
"def K_lE(YKHO):\n return int(YKHO.__current * 1000)",
"def mn17(YKHO):\n if YKHO._last_updated is None:\n return None\n wzkt = qcWV.datetime.now()\n suE3 = YKHO._last_updated\n T77g = (wzkt - suE3).total_seconds()\n return round(T77g... | [
"0.83025646",
"0.7890641",
"0.743191",
"0.7421326",
"0.73709553",
"0.73490036",
"0.73290324",
"0.7245426",
"0.72049683",
"0.7197564",
"0.7177214",
"0.71488214",
"0.71375495",
"0.713626",
"0.7125833",
"0.71083885",
"0.7104932",
"0.7093967",
"0.70927614",
"0.7086879",
"0.708265... | 0.0 | -1 |
Store object in database. | async def store(YKHO, YEnM: T):
try:
with YKHO.db as NCls:
hkxX = YKHO.mapper.get_insert_data(YEnM)
V_D6 = ', '.join(hkxX.keys())
zbDt = ','.join(['?'] * len(hkxX))
xDcj = f'INSERT OR REPLACE INTO {YKHO.table_name} ({V_D6}) VALUES ({zbDt})'
N1p7 = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _TTP(YKHO):\n NCls.session.add(YKHO)\n NCls.session.commit()",
"def _TTP(YKHO):\n NCls.session.add(YKHO)\n NCls.session.commit()",
"def _TTP(YKHO):\n NCls.session.add(YKHO)\n NCls.session.commit()",
"def _TTP(YKHO):\n NCls.session.add(YKHO)\n NCls.session.commit()",
"def _TTP(YK... | [
"0.811044",
"0.811044",
"0.811044",
"0.811044",
"0.811044",
"0.811044",
"0.811044",
"0.811044",
"0.80827546",
"0.8057937",
"0.8035592",
"0.7969355",
"0.79047644",
"0.7892666",
"0.7828069",
"0.7828069",
"0.77916324",
"0.77700984",
"0.77700984",
"0.77700984",
"0.77700984",
"0... | 0.78534347 | 14 |
A textual representation of this device, if the subclass exposes such information. | def begE(YKHO):
raise NotImplementedError | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wHJl(YKHO):\n return str('%s: %s' % (YKHO.__class__.__name__, repr(YKHO.device_descriptor)))",
"def zAg0(YKHO):\n return YKHO.device_str",
"def zAg0(YKHO):\n return str('%s' % YKHO.device_descriptor)",
"def zAg0(YKHO):\n return 'bus=' + YKHO.dev().getBus().getDirname() + ' device=' + YKHO.de... | [
"0.80410784",
"0.773182",
"0.762772",
"0.7473051",
"0.74651307",
"0.7432623",
"0.73713166",
"0.73640233",
"0.73640233",
"0.73490334",
"0.73484516",
"0.73424894",
"0.7303357",
"0.71893543",
"0.7148124",
"0.71216357",
"0.71216357",
"0.7119179",
"0.7118041",
"0.7115195",
"0.7092... | 0.0 | -1 |
The subpath, as a string containing an absolute path, of the file system located on this device being exposed to the mount point on which this device is mounted, or None if the subclass doesn't support such a notion. For most mount devices that support this, this will just be "/". It can be a different path when a nest... | def _o7t(YKHO):
raise NotImplementedError | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WYgf(YKHO) -> h8nf[str]:\n return YKHO._sub_path",
"def _o7t(YKHO) -> str:\n return YKHO._metadata.subpath",
"def WYgf(YKHO) -> str:\n return qe4Y.get(YKHO, 'sub_path')",
"def xtev(YKHO, WYgf):\n return Hy7s.path.join(Hy7s.path.expanduser(YKHO._path_or_uri), WYgf)",
"def WYgf(YKHO):\n pm... | [
"0.7245326",
"0.68103164",
"0.6710511",
"0.64703006",
"0.64269704",
"0.6383457",
"0.62853414",
"0.6204032",
"0.6204032",
"0.62016547",
"0.62016547",
"0.6200194",
"0.6200194",
"0.6119161",
"0.6089255",
"0.6075314",
"0.60673684",
"0.60324204",
"0.6015698",
"0.59989834",
"0.5989... | 0.6202471 | 9 |
Returns True if this file represents the same file as the specified one, False otherwise. This is usually the same as self == other, but URL implements this | def kJ0s(YKHO, Elif):
if type(YKHO) != type(Elif):
return False
return YKHO.path_components == Elif.path_components | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dgig(YKHO, Elif):\n return YKHO.strpath == str(Elif)",
"def dgig(YKHO, Elif):\n if isinstance(Elif, P4jN):\n return YKHO == Elif\n else:\n return Hy7s.path.samefile(YKHO.path, Elif)",
"def xIHK(YKHO, Elif):\n return YKHO._lib.samefile(YKHO.path, YKHO._to_backend(Elif))",
"def xa... | [
"0.81244576",
"0.80247986",
"0.7751874",
"0.7535427",
"0.7526526",
"0.74862075",
"0.7372756",
"0.73723966",
"0.73723966",
"0.7358814",
"0.7242128",
"0.72419345",
"0.72014415",
"0.7134954",
"0.7080127",
"0.7050288",
"0.70502496",
"0.7018284",
"0.7008874",
"0.6964645",
"0.69553... | 0.7238299 | 12 |
Returns a list of all of the ancestors of this file, with self.parent first. If including_self is True, self will be first, self.parent will be second, and so on. | def TMRN(YKHO, p_5A=False):
if p_5A:
jvSB = YKHO
else:
jvSB = YKHO.parent
dixj = []
while jvSB is not None:
dixj.append(jvSB)
jvSB = jvSB.parent
return dixj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AiDL(YKHO, R89g=True):\n ACnF = list()\n ACnF = YKHO.get_parents(obj=YKHO, parents=ACnF)\n if R89g is True:\n ACnF += [YKHO]\n return ACnF",
"def JZlq(YKHO, R89g=False):\n NCls = oimG.db_for_read(YKHO.__class__, instance=YKHO)\n hWCj = YKHO.item_indexes.db_manager(NCls).exclude(paren... | [
"0.8173238",
"0.7734213",
"0.7644269",
"0.7572426",
"0.7501641",
"0.7455824",
"0.74339604",
"0.7366212",
"0.73490435",
"0.7264105",
"0.7238618",
"0.7213734",
"0.71378213",
"0.712153",
"0.70404536",
"0.7007148",
"0.7007148",
"0.7007148",
"0.7007148",
"0.7007148",
"0.6910591",
... | 0.8756035 | 0 |
A list of all of the ancestors of this file, with self.parent first. This property simply returns | def JZlq(YKHO):
return YKHO.get_ancestors() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JZlq(YKHO):\n JZlq = []\n Oa1e = YKHO.parent\n while Oa1e:\n JZlq.append(Oa1e)\n Oa1e = Oa1e.parent\n return JZlq",
"def JZlq(YKHO):\n JZlq = []\n oHE7 = YKHO\n while oHE7.parent:\n JZlq.append(oHE7.parent)\n oHE7 = oHE7.parent\n JZlq.reverse()\n return ... | [
"0.8485343",
"0.8367579",
"0.83108187",
"0.8133814",
"0.8133814",
"0.8133814",
"0.8133814",
"0.8133814",
"0.8074076",
"0.8062342",
"0.805251",
"0.8002012",
"0.7957737",
"0.7956506",
"0.79295886",
"0.7892408",
"0.7713771",
"0.7673444",
"0.7590199",
"0.75339824",
"0.74712104",
... | 0.8281531 | 3 |
Gets the path to the file represented by this File object. If relative_to is specified, the returned path will be a relative path, the path of this file relative to the specified one. Otherwise, the returned path will be absolute. If separator (which must be a string) is specified, it will be used as the separator to p... | def OyQC(YKHO, IBYl=None, g8rx=None):
if g8rx is None:
g8rx = YKHO._sep
return g8rx.join(YKHO.get_path_components(IBYl)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yCip(YKHO, Znr4, oy5J):\n return Hy7s.path.relpath(oy5J, start=Znr4)",
"def pmON(YKHO):\n return YKHO.file_system.full_path(YKHO.relative_path)",
"def pmON(YKHO):\n return '{0}{1}{2}'.format(YKHO.partialPath, Hy7s.sep, YKHO.filename)",
"def Zg0d(YKHO):\n if YKHO.is_dir:\n return Hy7s.p... | [
"0.6052628",
"0.5975053",
"0.5966961",
"0.593451",
"0.59212035",
"0.5899605",
"0.58618504",
"0.58519584",
"0.5835408",
"0.58275986",
"0.58275986",
"0.5824897",
"0.5816706",
"0.5793887",
"0.5750015",
"0.57416713",
"0.5738513",
"0.5735994",
"0.57245505",
"0.57130307",
"0.566182... | 0.83551514 | 0 |
The absolute path to the file represented by this file object, in a format native to the type of file in use. For instances of fileutils.local.File, this pathname can be used with Python's traditional filerelated utilities. This property simply returns self.get_path(). See the documentation for that method for more com... | def pmON(YKHO):
return YKHO.get_path() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qaEx(YKHO) -> str:\n return YKHO._file_path",
"def pmON(YKHO):\n return YKHO.file_system.full_path(YKHO.relative_path)",
"def pmON(YKHO):\n return Hy7s.path.abspath(YKHO.f)",
"def qaEx(YKHO):\n return YKHO._file_path",
"def fwGe(YKHO):\n return Hy7s.path.join(YKHO.file_dir, YKHO.file_nam... | [
"0.8075311",
"0.8008115",
"0.7982892",
"0.79555875",
"0.7866382",
"0.7855249",
"0.78053504",
"0.7735089",
"0.7724836",
"0.7711369",
"0.76622844",
"0.7649298",
"0.7623416",
"0.76060104",
"0.759017",
"0.759017",
"0.7548131",
"0.7518895",
"0.7498659",
"0.7490369",
"0.7476787",
... | 0.0 | -1 |
A generator that recursively yields all child File objects of this file. Files and directories (and the files and directories contained within them, and so on) are all included. A filter function accepting one argument can be specified. It will be called for each file and folder. It can return one of True, False, SKIP,... | def GQk7(YKHO, filter=None, R89g=True, KfxD=True):
a4gM = True if filter is None else filter(YKHO)
if a4gM in (SqV5, True) and R89g:
yield YKHO
if a4gM in (jDuj, True) or (KfxD and (not a4gM)):
for aUGN in YKHO.children or []:
for eHNT in aUGN.recurse(filter, True, KfxD):
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XN2a(ESvo, isGD=None):\n MVVZ = Hy7s.listdir(ESvo)\n for eHNT in MVVZ:\n if not EFYe(gzes(ESvo, eHNT)):\n yield from XN2a(gzes(ESvo, eHNT), isGD)\n continue\n if isGD is None or isGD(eHNT):\n yield (ESvo, eHNT)",
"def ZAda(YKHO, filter=lambda bGrB: True, S... | [
"0.7674469",
"0.7224911",
"0.7197463",
"0.7055269",
"0.6956067",
"0.68746734",
"0.6852792",
"0.6772541",
"0.67093384",
"0.66854835",
"0.66480994",
"0.66477835",
"0.65883714",
"0.65785027",
"0.65565056",
"0.6511722",
"0.6507508",
"0.6498658",
"0.64910567",
"0.6411537",
"0.6344... | 0.7038825 | 4 |
A property that returns a context manager. This context manager sets the working directory to self upon being entered and restores it to what it previously was upon being exited. One can use this to replace | def VQK7(YKHO):
return ozPA(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aOxl():\n\n @QZXY.contextmanager\n def Psj8(dir):\n try:\n lbsy = Hy7s.getcwd()\n yield Hy7s.chdir(dir)\n finally:\n Hy7s.chdir(lbsy)\n return Psj8",
"def DMw_(YKHO):\n YKHO._original_directory = Hy7s.getcwd()\n if YKHO._directory is not None:\n ... | [
"0.77892613",
"0.74544",
"0.74209255",
"0.7382486",
"0.73441744",
"0.7279923",
"0.71725726",
"0.68924004",
"0.68346465",
"0.6824573",
"0.68116224",
"0.67523474",
"0.67523474",
"0.67473596",
"0.67066175",
"0.6694436",
"0.6691976",
"0.6669918",
"0.6669918",
"0.6638677",
"0.6634... | 0.0 | -1 |
Get the argument parser. Params | def EpPs(_AKB=None):
B2fa = dict(description=__doc__, formatter_class=uaPq)
if _AKB is not None:
wvEv = _AKB.add_parser('prepare', **B2fa)
else:
wvEv = j1Jz.ArgumentParser(**B2fa)
wvEv.add_argument('tree', help='Git tree name')
wvEv.add_argument('app_name', help='Application name')
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xuJu(YKHO):\n return YKHO.__argparser",
"def z0ba(YKHO):\n return YKHO.get_base_arg_parser()",
"def z0ba(YKHO, **B2fa):\n import argparse\n VqfF = argparse.ArgumentParser(prog=B2fa['argv0'], description=YKHO.summary)\n return VqfF",
"def z0ba(YKHO):\n return ugSn.ArgParser(add_help=Fals... | [
"0.76656723",
"0.7575836",
"0.7528957",
"0.7422093",
"0.74207073",
"0.7403455",
"0.73402804",
"0.73114604",
"0.73059505",
"0.7286434",
"0.7270503",
"0.7259233",
"0.7244839",
"0.7223695",
"0.72136027",
"0.7204839",
"0.7204505",
"0.7193164",
"0.71784985",
"0.7158943",
"0.714174... | 0.0 | -1 |
GIVEN mocked db session, and category data WHEN a new category added to db THEN check the category data from db | def yGvr(xyue, V3q3):
NCls = xyue
ACia = q3r1(name=V3q3['name'])
NCls.session.add(ACia)
NCls.session.commit()
ACia = NCls.session.query(q3r1).all()[0]
assert ACia.name == V3q3['name'] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IjUP(YKHO):\n Cpf8 = eorc()\n Cpf8.categoryName = 'cattest'\n NCls.session.add(Cpf8)\n ao3P = eorc.query.all()\n nhGe = ao3P[1]\n YKHO.assertEqual(nhGe, Cpf8)\n YKHO.assertEqual(nhGe.categoryName, 'cattest')",
"def MT4f(YKHO):\n pass",
"def osVu(YKHO):\n leAC = 'Test Category'\n ... | [
"0.7618185",
"0.74480927",
"0.7303217",
"0.72811043",
"0.7243131",
"0.7242106",
"0.72303385",
"0.7107203",
"0.70662445",
"0.7039453",
"0.70217717",
"0.701982",
"0.7016077",
"0.70046705",
"0.6997094",
"0.69513255",
"0.6935966",
"0.69222414",
"0.6918054",
"0.6884065",
"0.686403... | 0.6994333 | 15 |
Checks digit sum functionality. | def WhlH():
assert hasattr(foZf, 'digsum'), "Your Script must have an 'digsum'-function!"
assert foZf.digsum(0) == 0
assert foZf.digsum(9) == 9
assert foZf.digsum(12) == 3
assert foZf.digsum(333) == 9
assert foZf.digsum(9173) == 20
assert foZf.digsum(12345) == 15 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jChZ(YKHO):\n\n def tmkY(wjRY, Ko6S):\n \"\"\"add a stringified digit to the total sum\"\"\"\n return wjRY + int(Ko6S)\n Kw8R = Pusg(tmkY, YKHO.code[1::2], 0)\n WhyD = Pusg(tmkY, YKHO.code[:12:2], 0)\n wjRY = Kw8R * 3 + WhyD\n return (10 - wjRY % 10) % 10",
"def xLI3(BHGE):\n ... | [
"0.78828067",
"0.7145476",
"0.703719",
"0.6896318",
"0.68951917",
"0.68041575",
"0.6739826",
"0.67148226",
"0.67148226",
"0.66605175",
"0.66605175",
"0.66402304",
"0.66245884",
"0.6620319",
"0.6614747",
"0.6539937",
"0.6528363",
"0.6481662",
"0.6446945",
"0.6445224",
"0.64452... | 0.6044478 | 59 |
Add a new experience to memory. | def H2v5(YKHO, QTBn, XeOP, vOGg, rxHc, _ins):
tTpl = YKHO.experience(QTBn, XeOP, vOGg, rxHc, _ins)
YKHO.memory.append(tTpl) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ilp5(YKHO, GsKL):\n YKHO.memory.append(GsKL)",
"def H2v5(YKHO, GsKL):\n YKHO.memory.append(GsKL)",
"def GsKL(YKHO, GsKL: Experience[ActionType]) -> None:\n YKHO.memory.append(GsKL)",
"def H2v5(YKHO, QTBn, XeOP, vOGg, rxHc, _ins):\n YKHO.memory.append(XlZM(QTBn, XeOP, vOGg, rxHc, _ins))",
"d... | [
"0.8763217",
"0.8755159",
"0.8509186",
"0.79707366",
"0.7879077",
"0.7878838",
"0.7878838",
"0.7709677",
"0.7708713",
"0.7609456",
"0.74958277",
"0.7470479",
"0.74537706",
"0.737918",
"0.73555547",
"0.730577",
"0.7283659",
"0.7276514",
"0.72636735",
"0.7246649",
"0.72328925",... | 0.7199177 | 30 |
Randomly sample a batch of experiences from memory. | def mvm2(YKHO, Ep8u=128):
or8S = oyIN.random.permutation(len(YKHO.memory))[:Ep8u]
return [YKHO.memory[YRbF] for YRbF in or8S] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mvm2(YKHO, Ep8u=64):\n return tuKI.sample(YKHO.memory, Ep8u)",
"def cQJh(YKHO):\n Wc9F = []\n for YRbF in Ni9Y(YKHO.minibatch_size):\n Wc9F.append(YKHO.experiences[qukk(0, len(YKHO.experiences))])\n return oyIN.asarray(Wc9F)",
"def mvm2(YKHO):\n wfZK = tuKI.sample(YKHO.memory, k=YKHO.... | [
"0.7983961",
"0.79046863",
"0.7868443",
"0.7706011",
"0.7525482",
"0.75070703",
"0.7481443",
"0.74332356",
"0.7432144",
"0.7427844",
"0.74261487",
"0.74147487",
"0.7403821",
"0.7403821",
"0.7403821",
"0.7392868",
"0.7389204",
"0.7389204",
"0.7389204",
"0.7379021",
"0.7376972"... | 0.6666082 | 72 |
Test that a constructor without app instance will not initialize the connection. After FlaskKiteConnect.init_app(app) is called, the connection will be initialized. | def KsQr(P4t4):
OofJ = W0xu()
assert OofJ._client is None
OofJ.init_app(P4t4)
assert OofJ._client is not None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Baw8(Emd4):\n bGrB, NCls = gbPf.mkstemp(suffix='.sqlite')\n Emd4.app = L2w0('foo')\n Emd4.app.config['CLASSIC_DATABASE_URI'] = f'sqlite:///{NCls}'\n Emd4.app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False\n Emd4.app.config['WAIT_FOR_SERVICES'] = False\n with Emd4.app.app_context():\n ... | [
"0.7019441",
"0.7019441",
"0.7019441",
"0.7019441",
"0.6916817",
"0.69023275",
"0.6864851",
"0.6815588",
"0.6815588",
"0.6815588",
"0.6815588",
"0.6757397",
"0.6728683",
"0.66909474",
"0.6684759",
"0.6684216",
"0.666744",
"0.6627285",
"0.6596169",
"0.657143",
"0.65588033",
... | 0.8253292 | 0 |
Build a critic (value) network that maps (state, action) pairs > Qvalues. Forward through each layer in `hidden_layers`, with ReLU activation. | def KVH6(YKHO, QTBn, XeOP):
hjeA = True
for z8o0 in YKHO.hidden_layers:
QTBn = vuvg.relu(z8o0(QTBn))
if hjeA:
QTBn = ht2j.cat((QTBn, XeOP), dim=1)
hjeA = False
return YKHO.output(QTBn) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lK1_(YKHO):\n wspz = fhcK.Input(shape=(YKHO.state_size,), name='states')\n xASv = fhcK.Input(shape=(YKHO.action_size,), name='actions')\n tTIx = fhcK.Dense(units=32, activation='relu')(wspz)\n tTIx = fhcK.Dense(units=64, activation='relu')(tTIx)\n ivEs = fhcK.Dense(units=32, activation='relu')(x... | [
"0.70250213",
"0.66949844",
"0.66122675",
"0.65903723",
"0.6585676",
"0.65300494",
"0.64017093",
"0.6348789",
"0.62927324",
"0.6287776",
"0.6273351",
"0.6258525",
"0.6245315",
"0.62431633",
"0.6215626",
"0.61741817",
"0.60877264",
"0.608524",
"0.60787004",
"0.6073095",
"0.607... | 0.0 | -1 |
Plots images in one row | def rzaM(lR77: str=None, **Yw_3):
exwG = len(Yw_3)
QrM1.figure(figsize=(16, 5))
for YRbF, (mWFP, LNo8) in enumerate(Yw_3.items()):
QrM1.subplot(1, exwG, YRbF + 1)
QrM1.xticks([])
QrM1.yticks([])
QrM1.title(' '.join(mWFP.split('_')).title())
if LNo8.shape[-1] == 1:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nUHY(YKHO):\n for d6pt, VXjJ in enumerate(YKHO.images):\n QrM1.figure(d6pt)\n QrM1.imshow(VXjJ, cmap='gray', vmin='0', vmax='255')\n (QrM1.xticks([]), QrM1.yticks([]))\n QrM1.show()",
"def rzaM(**Yw_3):\n exwG = len(Yw_3)\n QrM1.figure(figsize=(16, 5))\n for YRbF, (mWF... | [
"0.75598794",
"0.75569916",
"0.7490668",
"0.73894125",
"0.73894125",
"0.73894125",
"0.73894125",
"0.7367365",
"0.73317975",
"0.7329999",
"0.72891396",
"0.7266172",
"0.722711",
"0.72179747",
"0.7198408",
"0.7173748",
"0.7172785",
"0.71599495",
"0.7133535",
"0.71158403",
"0.711... | 0.6893289 | 53 |
Computes the negative log likelihood loss for the transition probabilities. | def F8NJ(YKHO):
AY9y = YKHO.k // YKHO.som_dim[1]
Sotp = YKHO.k % YKHO.som_dim[1]
xNLD = ZylS.concat([AY9y[0:1], AY9y[:-1]], axis=0)
rKig = ZylS.concat([Sotp[0:1], Sotp[:-1]], axis=0)
NeMr = ZylS.stack([xNLD, rKig, AY9y, Sotp], axis=1)
yIrN = ZylS.gather_nd(YKHO.transition_probabilities, NeMr)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CoXr(_mSQ, MV2P, Tb4H=0.0, YzNj=1.0):\n return TRpZ(_mSQ, MV2P, Tb4H, YzNj)[0]",
"def jS9s(LVAh, UShr, yzQ0):\n KCHu = UShr.dot(yzQ0)\n vC9B = oyIN.log(1 + UShr.dot(yzQ0))\n for YRbF in range(len(LVAh)):\n if oyIN.isinf(vC9B[YRbF]):\n vC9B[YRbF] = KCHu[YRbF]\n for YRbF in ran... | [
"0.7201855",
"0.71840566",
"0.705584",
"0.69708043",
"0.69276166",
"0.688969",
"0.6870315",
"0.686233",
"0.6854406",
"0.6801667",
"0.67760646",
"0.6770528",
"0.6767223",
"0.6762645",
"0.67246485",
"0.6687021",
"0.6679435",
"0.6675637",
"0.66642535",
"0.66598254",
"0.6640858",... | 0.0 | -1 |
Computes the smoothness loss for the transitions given their probabilities. | def vXHi(YKHO):
AY9y = YKHO.k // YKHO.som_dim[1]
Sotp = YKHO.k % YKHO.som_dim[1]
xNLD = ZylS.concat([AY9y[0:1], AY9y[:-1]], axis=0)
rKig = ZylS.concat([Sotp[0:1], Sotp[:-1]], axis=0)
JT7A = ZylS.stack([xNLD, rKig], axis=1)
ptpe = ZylS.gather_nd(YKHO.transition_probabilities, JT7A)
Y25V = Zyl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def F8NJ(YKHO):\n AY9y = YKHO.k // YKHO.som_dim[1]\n Sotp = YKHO.k % YKHO.som_dim[1]\n xNLD = ZylS.concat([AY9y[0:1], AY9y[:-1]], axis=0)\n rKig = ZylS.concat([Sotp[0:1], Sotp[:-1]], axis=0)\n NeMr = ZylS.stack([xNLD, rKig, AY9y, Sotp], axis=1)\n yIrN = ZylS.gather_nd(YKHO.transition_probabilitie... | [
"0.6354574",
"0.6209834",
"0.619397",
"0.6172386",
"0.61553496",
"0.6048174",
"0.6032511",
"0.60001206",
"0.5993799",
"0.5987063",
"0.5947265",
"0.59408885",
"0.59348786",
"0.59308106",
"0.5928202",
"0.5923182",
"0.58952516",
"0.58785784",
"0.5861582",
"0.58588815",
"0.584445... | 0.5842935 | 21 |
Extract path + query params from passed url. | def PjTG(bD7m):
pmON = hfK9.urlparse(bD7m).path
xDcj = hfK9.urlparse(bD7m).query
return pmON + '?' + xDcj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iPfO(YKHO, bD7m):\n Gxxr = ZbWC.findall('\\\\?(.*)', bD7m)\n if not Gxxr:\n return {}\n return wAJt(Gxxr[0], '&')",
"def jlCN(YKHO):\n return YKHO.path_info.strip('/').split('/')[2:]",
"def VyJ2(bD7m):\n from urllib.parse import urlparse, parse_qs\n P6bq = urlparse(bD7m)\n retur... | [
"0.74857247",
"0.74131835",
"0.725293",
"0.72446465",
"0.70759743",
"0.70017886",
"0.6928524",
"0.6873599",
"0.6775416",
"0.67216766",
"0.6691985",
"0.6679274",
"0.66609913",
"0.66028965",
"0.6597911",
"0.65877414",
"0.6559947",
"0.6539265",
"0.6531413",
"0.63982517",
"0.6398... | 0.73980474 | 2 |
Get JSON key value by json_path using jsonpath_rw module. Default idx=0 to get the 1st item from resulting list. | def PwLA(eZFu, RsFk, or8S=0):
BWXx = [kUBT.value for kUBT in __0f(RsFk).find(eZFu)][or8S]
return BWXx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rHcR(Emd4, YEnM, pmON):\n aL7Z = Emd4.path_to_keys(pmON)\n for G1Hx in aL7Z:\n G1Hx, YEnM = Emd4._key_obj(G1Hx, YEnM)\n YEnM = YEnM[G1Hx]\n return YEnM",
"def aAbR(ycQM, q8ld):\n if not isinstance(ycQM, dict):\n return ''\n sjXb = q8ld.split('.')\n try:\n BWXx = ... | [
"0.63707924",
"0.63365746",
"0.6299278",
"0.62459534",
"0.60137427",
"0.601127",
"0.5970252",
"0.5924472",
"0.5907107",
"0.58359516",
"0.58048564",
"0.57907265",
"0.57530767",
"0.57127035",
"0.57127035",
"0.5712377",
"0.57109624",
"0.57026297",
"0.56597084",
"0.5635059",
"0.5... | 0.76764107 | 0 |
Gets the description of this AustrianAdministrativeRegion. | def JBZA(YKHO):
return YKHO._description | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aI8p(YKHO):\n QoB4 = '{}\\n'.format(UVCr(YKHO.name))\n QoB4 += f'Region: {YKHO.region}\\n'\n QoB4 += '{} {}: {}\\n'.format(len(YKHO.cities), 'city' if len(YKHO.cities) == 1 else 'cities', ', '.join([j5sA.name for j5sA in YKHO.cities]))\n QoB4 += 'Tiers: {}\\n'.format(', '.join(['{}: {}'.format(EcuX... | [
"0.6522093",
"0.63118434",
"0.62817174",
"0.62795264",
"0.6260962",
"0.6205414",
"0.6201115",
"0.61777645",
"0.61777645",
"0.61777645",
"0.61775845",
"0.61775845",
"0.6168887",
"0.6168887",
"0.6168887",
"0.61652184",
"0.61549485",
"0.61462873",
"0.6126509",
"0.611762",
"0.611... | 0.0 | -1 |
Gets the landtag_mandate of this AustrianAdministrativeRegion. | def JGVa(YKHO):
return YKHO._landtag_mandate | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JGVa(YKHO, JGVa):\n YKHO._landtag_mandate = JGVa",
"def ARoX(YKHO):\n return YKHO._authority_mandate",
"def s2SQ(YKHO):\n return YKHO._landtag",
"def gGYU(YKHO):\n return YKHO._anm",
"def CJw0(YKHO):\n return YKHO.__unique_mandate_reference",
"def MW6v(YKHO):\n return YKHO._presiden... | [
"0.63798845",
"0.6153407",
"0.59234416",
"0.53363353",
"0.5233432",
"0.5157512",
"0.50155264",
"0.4944135",
"0.49358407",
"0.4830304",
"0.48222008",
"0.48148754",
"0.4759272",
"0.471948",
"0.47091016",
"0.47033808",
"0.46986523",
"0.46955884",
"0.46953592",
"0.469133",
"0.466... | 0.806424 | 0 |
Gets the landtag of this AustrianAdministrativeRegion. | def s2SQ(YKHO):
return YKHO._landtag | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def djCu(YKHO):\n return YKHO._land",
"def oMHX(YKHO):\n return YKHO.region",
"def dOMh(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'home_region')",
"def WaiJ(YKHO):\n return YKHO._land_area",
"def oMHX(YKHO):\n return YKHO.region",
"def v5w0(YKHO):\n try:\n return YKHO.__data['l... | [
"0.63498276",
"0.6196614",
"0.61956596",
"0.61549646",
"0.6051478",
"0.6005312",
"0.5910407",
"0.59047794",
"0.59028834",
"0.58723927",
"0.5838635",
"0.5829832",
"0.57657",
"0.57657",
"0.57657",
"0.5699798",
"0.5687578",
"0.5659533",
"0.5656379",
"0.56496876",
"0.5624306",
... | 0.79342216 | 0 |
Gets the id of this AustrianAdministrativeRegion. | def id(YKHO):
return YKHO._id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def M5Bl(YKHO) -> str:\n return qe4Y.get(YKHO, 'region_id')",
"def p9rB(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'administrative_unit_object_id')",
"def ShR8(YKHO):\n return YKHO._zone.unique_id",
"def ShR8(YKHO):\n return str(YKHO._location_id)",
"def p9rB(YKHO) -> h8nf[qe4Y.In... | [
"0.68235946",
"0.67361104",
"0.6559679",
"0.6485803",
"0.6453804",
"0.6453804",
"0.6296555",
"0.6296555",
"0.6296555",
"0.62698835",
"0.62575465",
"0.6185336",
"0.61739635",
"0.6146914",
"0.6130673",
"0.6099992",
"0.6094332",
"0.60854834",
"0.6034743",
"0.6034743",
"0.6034743... | 0.0 | -1 |
Gets the label of this AustrianAdministrativeRegion. | def UXqs(YKHO):
return YKHO._label | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DeTJ(YKHO):\n return YKHO._label",
"def DeTJ(YKHO):\n return YKHO._label",
"def DeTJ(YKHO):\n return YKHO.label",
"def DeTJ(YKHO):\n return YKHO.label",
"def DeTJ(YKHO):\n return YKHO.label",
"def DeTJ(YKHO):\n return YKHO.label",
"def DeTJ(YKHO):\n return YKHO.label",
"def D... | [
"0.6941237",
"0.6941237",
"0.6855666",
"0.6855666",
"0.6855666",
"0.6855666",
"0.6855666",
"0.6855666",
"0.6855666",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"0.6825065",
"... | 0.6674048 | 71 |
Gets the landeshauptmann of this AustrianAdministrativeRegion. | def ANbl(YKHO):
return YKHO._landeshauptmann | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aejm(YKHO):\n return YKHO._ul_lat",
"def hCf7(YKHO) -> float:\n return YKHO._lattitude",
"def k2yq(YKHO):\n return YKHO._lr_lat",
"def yKaD(YKHO):\n return YKHO._administrative_district",
"def LzdO(YKHO):\n return YKHO._ll_lat",
"def TeJA(YKHO):\n return YKHO._ul_lon",
"def VkIb(Y... | [
"0.65257525",
"0.63347435",
"0.6286832",
"0.61999893",
"0.6127461",
"0.6055347",
"0.60031366",
"0.59978175",
"0.5936258",
"0.5923221",
"0.5901417",
"0.5875752",
"0.58567506",
"0.5777457",
"0.57767",
"0.5769733",
"0.5759177",
"0.5756898",
"0.5742406",
"0.57276785",
"0.5702058"... | 0.79431784 | 0 |
Gets the type of this AustrianAdministrativeRegion. | def type(YKHO):
return YKHO._type | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mc0F(YKHO) -> str:\n return YKHO._region_type",
"def mc0F(YKHO):\n return YKHO._region_type",
"def wAC6(YKHO):\n if YKHO.is_acquired:\n SLhm = 'ZAUZETA'\n elif YKHO.occupant is None:\n SLhm = 'slobodna'\n else:\n SLhm = YKHO.occupant.unit_type\n return SLhm",
"def F... | [
"0.68494797",
"0.68076015",
"0.6655096",
"0.6523946",
"0.63933545",
"0.62346536",
"0.62346536",
"0.6213493",
"0.6122572",
"0.6103471",
"0.60734314",
"0.60734314",
"0.60734314",
"0.60734314",
"0.60734314",
"0.60734314",
"0.60734314",
"0.60734314",
"0.60734314",
"0.60734314",
"... | 0.0 | -1 |
Returns a list of all primes <= n. | def YefN(exwG):
rPed = []
jzdc = [True] * (exwG + 1)
jzdc[0] = jzdc[1] = False
for YRbF, T1qg in enumerate(jzdc):
if T1qg:
rPed.append(YRbF)
for r845 in Ni9Y(YRbF, exwG, YRbF):
jzdc[r845] = False
return set(rPed) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m7wK(exwG):\n return [XP5J for XP5J in rPed(exwG)]",
"def ehqz(exwG):\n return [WKvO for WKvO in DghZ().primerange(2, ffYW(exwG))]",
"def SeHV(exwG):\n if exwG <= 1:\n return []\n JbyC = [False, False] + [True for bGrB in range(2, exwG + 1)]\n for XP5J in range(2, exwG // 2 + 1):\n ... | [
"0.857063",
"0.8352423",
"0.8331894",
"0.8318681",
"0.8300591",
"0.8258558",
"0.825801",
"0.8202046",
"0.8196819",
"0.8128964",
"0.8120459",
"0.80795634",
"0.80174834",
"0.80032253",
"0.7995838",
"0.79870003",
"0.79833794",
"0.79691356",
"0.79244715",
"0.79202116",
"0.7904166... | 0.7558576 | 67 |
Pull a specific alarm from the AlienVault API. | async def get_alarmid(YKHO, bD7m, HmCZ, rSTc, LECp) -> str:
MOPg = YKHO.get_token(bD7m, HmCZ, rSTc)
Mkmy = G4JS.get(f'https://{bD7m}/api/2.0/alarms/{LECp}', headers=MOPg)
if Mkmy.status_code != 200:
raise RuntimeError('Alienvault API return an error')
else:
return Mkmy.text | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qnap():\n qIxc = Plm4.args()\n LECp = qIxc['alarm_id']\n geh0 = FHoA(LECp)\n GZA7 = C_jC(geh0)\n dLAe(k5Fh('Alarm {}'.format(LECp), GZA7), {'AlienVault.Alarm(val.ID && val.ID == obj.ID)': GZA7}, geh0)",
"def FHoA(YKHO, LECp: str) -> m1R2:\n IOKn = FHoA(LECp)\n if IOKn is None:\n Y... | [
"0.70675266",
"0.6643324",
"0.63408333",
"0.62769186",
"0.62308884",
"0.6178777",
"0.6173883",
"0.60751736",
"0.6011317",
"0.5980992",
"0.59569126",
"0.58365935",
"0.58364785",
"0.58332986",
"0.5782515",
"0.57137287",
"0.5687696",
"0.5677079",
"0.56766087",
"0.56069326",
"0.5... | 0.7005458 | 1 |
Returns a list of active/activecommitted packages. The list includes SMU/SP/Packages. | def zJbY(ayrW):
ouvA = GhOX()
KcEq = oD8D(ouvA, ayrW)
dfOq = []
if KcEq is not None:
cEzT = ouvA.query(fiWz).filter(nWJV(fiWz.host_id == KcEq.id, nZvB(fiWz.state == z47E.ACTIVE, fiWz.state == z47E.ACTIVE_COMMITTED))).all()
for B5hb in cEzT:
dfOq.append(B5hb.name)
return d... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qiZY(YKHO):\n return h7pL(XP5J.alpm_db_get_pkgcache(YKHO.db))",
"def Stx2(YKHO):\n return YKHO.current_packages",
"def qiZY(YKHO) -> list:\n return [B5hb for B5hb in JiRa.get_packages() if B5hb.get_status() == fiWz.LOADED]",
"def JWUH(YKHO, Nqlg, GZiW):\n cEzT = []\n Nqlg = Nqlg.splitlines... | [
"0.7167665",
"0.7013663",
"0.6851333",
"0.6748497",
"0.6703283",
"0.66558915",
"0.66361034",
"0.6632194",
"0.6619347",
"0.66068757",
"0.66040087",
"0.6582437",
"0.6489305",
"0.64841115",
"0.6454798",
"0.63735694",
"0.63592684",
"0.6349724",
"0.6344584",
"0.6273601",
"0.623813... | 0.6365203 | 16 |
Return the number of features in the feature vector. | def ROaS(YKHO, **B2fa):
qIxc = {'problem': 'n_features', **YKHO.args, **B2fa}
wOb_ = eg9J.minizinc(YKHO.domain_file, problem='n_features', args=qIxc, output_vars=[YKHO.n_features_var])
if len(wOb_) == 0 or YKHO.n_features_var not in wOb_[-1]:
raise IF2F('Problem n_features not supported.')
retur... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HhVR(YKHO):\n return len(YKHO.feature_importances.index)",
"def cUEj(YKHO):\n return YKHO._features_count",
"def HhVR(YKHO):\n return YKHO.x.shape[1]",
"def HkL2(YKHO) -> int:\n raise NotImplementedError()",
"def HhVR(YKHO):\n return YKHO._X.shape[2]",
"def HkL2(YKHO):\n raise NotIm... | [
"0.83507204",
"0.8334455",
"0.8205953",
"0.81789356",
"0.8166188",
"0.8104445",
"0.80832034",
"0.8082284",
"0.8082284",
"0.8052452",
"0.8016718",
"0.8014111",
"0.79829955",
"0.797884",
"0.7940423",
"0.78676647",
"0.7865779",
"0.7836918",
"0.7836918",
"0.76884943",
"0.7643422"... | 0.71893436 | 46 |
Returns the email address associated with the currently logged in account. If a service account is used, it returns the service account. If user authentication (e.g. gcloud auth) is used, it returns the email account of that user. | def X5p_(YKHO) -> str:
Vt89 = YKHO.get_credentials()
if isinstance(Vt89, hBdj.Credentials):
try:
Vt89.refresh(NUBF.Request())
except cVoR as msg:
"\n If the Compute Engine metadata service can't be reached in this case the instance has not\n ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ukCD(YKHO) -> str:\n return qe4Y.get(YKHO, 'service_account_email')",
"def bzh1():\n if QePW.env.web2py_runtime_gae:\n from google.appengine.api import users as CPWy\n P6bq = CPWy.get_current_user()\n if P6bq is None:\n return None\n else:\n return P6bq... | [
"0.79612976",
"0.7953732",
"0.7882723",
"0.7882723",
"0.7882723",
"0.78592503",
"0.77115476",
"0.77115476",
"0.77115476",
"0.77115476",
"0.77115476",
"0.77115476",
"0.77065575",
"0.77018756",
"0.76852864",
"0.76852864",
"0.76004165",
"0.75832415",
"0.75593364",
"0.7549183",
"... | 0.7616656 | 16 |
Return client information used to generate a useragent for API calls. It allows for better errors tracking. This object is only used by the googlecloud libraries that are built specifically for the Google Cloud. It is not supported by The Google APIs Python Client that use Discovery based APIs. | def AyOP(YKHO) -> t7fq:
qmLP.warn('This method is deprecated, please use `airflow.providers.google.common.consts.CLIENT_INFO`.', FliQ, stacklevel=2)
return hGmj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HlPP(YKHO, *qIxc, **B2fa):\n pass",
"def AyOP(YKHO) -> 'outputs.ClientInfoResponse':\n return qe4Y.get(YKHO, 'client_info')",
"def PzEF(YKHO):\n return {'Version': YKHO.client_version()}",
"def VUT0():\n sB1G = 'client'\n Bi9d = T_2m(sB1G)\n PSnA = geh0.parse(Bi9d, sB1G)\n wDBu(PSnA)... | [
"0.69874835",
"0.6961449",
"0.6852397",
"0.66372603",
"0.66236687",
"0.6598065",
"0.63238376",
"0.6321784",
"0.6302056",
"0.62633365",
"0.61316466",
"0.61096674",
"0.6105332",
"0.6063955",
"0.60290444",
"0.6003507",
"0.59984857",
"0.5961907",
"0.5926016",
"0.59025085",
"0.583... | 0.7144015 | 0 |
Return OAuth 2.0 scopes. | def uC2a(YKHO) -> bdIy[str]:
NJnz: str | None = YKHO._get_field('scope', None)
return XHSg(NJnz) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UXPF(YKHO):\n return YKHO.headers()['X-OAuth-Scopes']",
"def UXPF(YKHO) -> qe4Y.Input[bdIy[qe4Y.Input[str]]]:\n return qe4Y.get(YKHO, 'oauth_scopes')",
"def UXPF(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'oauth_scopes')",
"def uC2a(YKHO):\n if YKHO.__scopes is ... | [
"0.8170464",
"0.7842828",
"0.7533558",
"0.7428663",
"0.74180204",
"0.7397672",
"0.7373614",
"0.72785795",
"0.72785795",
"0.72785795",
"0.71432066",
"0.71432066",
"0.71045655",
"0.69438046",
"0.69362104",
"0.68565404",
"0.68339443",
"0.6798087",
"0.674087",
"0.6735378",
"0.671... | 0.67766845 | 18 |
Constructs an argument parser and returns the parsed arguments. | def dCXb():
wvEv = j1Jz.ArgumentParser(description='Descriptive deep learning')
wvEv.add_argument('--no-color', action='store_true', help='Disable colorful logging.')
wvEv.add_argument('-v', '--verbose', default=0, action='count', help='Increase verbosity. Can be specified twice for debug-level output.')
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rwTO():\n wvEv = WDqQ(prog=cwNE, description=xmSp)\n wvEv.add_argument('-V', '--version', action='version', version=UKZg)\n return wvEv.parse_args()",
"def Y8nX():\n wvEv = ugLM()\n return wvEv.parse_args()",
"def TOpa(YKHO):\n wvEv = YKHO._new_argument_parser()\n YKHO._add_base_argume... | [
"0.7825195",
"0.780042",
"0.7781699",
"0.764763",
"0.7595946",
"0.75652456",
"0.75652456",
"0.7547656",
"0.75028473",
"0.74908555",
"0.7482364",
"0.747166",
"0.7462929",
"0.7452464",
"0.7441029",
"0.743776",
"0.7402483",
"0.73959816",
"0.7392905",
"0.7378977",
"0.7373502",
... | 0.0 | -1 |
Generate a fake HTTP request with security context added to it. | def ZlPs(YKHO, Tf5Y=None, Hhz4=None, m5r4=None, uJjO=None, ekCf=None):
qv1X = TMAJ.MagicMock()
qv1X.get_param.return_value = None
B2fa = {'user_id': uJjO, 'project_id': ekCf, 'roles': Tf5Y or [], 'policy_enforcer': YKHO.policy_enforcer}
qv1X.environ = {}
qv1X.environ['barbican.context'] = QpfX.Reque... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UhK8(YKHO):\n i_PC = b9AL()\n i_PC.cookies[gCuF.CSRF_COOKIE_NAME] = YKHO.csrf_token\n QePW = i_PC.post(YKHO.URL, HTTP_REFERER=YKHO.REFERER, HTTP_X_CSRFTOKEN=YKHO.csrf_token)\n QePW.is_secure = lambda: True\n QePW.META['CSRF_COOKIE'] = YKHO.csrf_token\n return QePW",
"def Bh95(NKcE='get', **... | [
"0.67715317",
"0.6680536",
"0.6648451",
"0.6590281",
"0.65634716",
"0.6540722",
"0.64960134",
"0.6443607",
"0.63248545",
"0.63167655",
"0.62511516",
"0.62292427",
"0.62003136",
"0.61415714",
"0.61387205",
"0.61197865",
"0.6117958",
"0.6039336",
"0.6031987",
"0.6018812",
"0.59... | 0.7022511 | 0 |
Check for creator user rule for container get call. If token's user is creator of container but its scoped to different project, then he/she is not allowed access to container when project is marked private. | def AxAD(YKHO):
YKHO.acl_list.pop()
Cm1D = FYrf.ContainerACL(container_id=YKHO.container_id, operation='read', project_access=False, user_ids=['anyRandomUserX', 'aclUser1'])
YKHO.acl_list.append(Cm1D)
YKHO._assert_fail_rbac(['creator'], YKHO._invoke_on_get, user_id=YKHO.creator_user_id, project_id='diff... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rGlf(YKHO):\n YKHO.acl_list.pop()\n Cm1D = FYrf.ContainerACL(container_id=YKHO.container_id, operation='read', project_access=False, user_ids=['anyRandomUserX', 'aclUser1'])\n YKHO.acl_list.append(Cm1D)\n YKHO._assert_pass_rbac(['creator'], YKHO._invoke_on_get, user_id=YKHO.creator_user_id, project... | [
"0.74643666",
"0.6510372",
"0.64760935",
"0.62522286",
"0.6242876",
"0.61613756",
"0.6154004",
"0.6113091",
"0.6084716",
"0.6070389",
"0.60656893",
"0.6012928",
"0.60103333",
"0.59513193",
"0.58848834",
"0.5884283",
"0.58714604",
"0.58146",
"0.5809352",
"0.58086324",
"0.57572... | 0.7317733 | 1 |
makes the input_fn to be used with the estimator class. The input_fn returns two dictionaries, features and labels. Features contains the inputs to the model, labels contains the target outputs. This input function created a shuffle queue, that is, a queue which dequeues random elements as opposed to first in first out... | def kOYU(Ep8u, fcvf, lQDD, A8Ss, gSR0, mP1z, PfOd=True):
def hbsH():
HZqk = ZylS.convert_to_tensor(2147483647, dtype=ZylS.int32)
with ZylS.variable_scope('Input_Fn'):
cy19 = Hy7s.path.join('data', fcvf)
ypmy = Hy7s.path.join('data', lQDD)
if PfOd and (not all([su... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hbsH():\n with ZylS.variable_scope(rrBf or 'input_fn'):\n fJ6C = nPIK.make_data_provider()\n fvDV = nPIK.read_from_data_provider(fJ6C)\n if PeiE:\n bGrB, Wc9F = ZylS.contrib.training.bucket_by_sequence_length(input_length=fvDV['source_len'], bucket_boundaries=PeiE, tensors=fv... | [
"0.7075076",
"0.69789153",
"0.68945223",
"0.6754493",
"0.6537918",
"0.64042276",
"0.6398605",
"0.6392153",
"0.6304535",
"0.6246431",
"0.6194258",
"0.6136184",
"0.6117399",
"0.6114768",
"0.6052549",
"0.60020065",
"0.5979101",
"0.59541327",
"0.5933831",
"0.59172094",
"0.5902259... | 0.70413256 | 1 |
Checks to make sure the hierarchy is preserved when the ontology is serialized. All subclass relationships explicitly included in the substances + quantities hierarchies should be in the ontology | def DL2g():
Oa1e = E5Ed.Graph()
Oa1e.parse('Brick.ttl', format='turtle')
for rV9y, tEiY in Qlgz(YaKD):
xDcj = f'SELECT ?x WHERE {{ <{GPr8[tEiY]}> rdfs:subClassOf ?x }}'
Ylbp = list(Oa1e.query(xDcj))
assert (GPr8[rV9y],) in Ylbp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xvad(YKHO):\n for tk5Y in YKHO.db._session.query(j7I1).filter_by(supertype=None):\n assert tk5Y.depth == 0\n for BG33 in tk5Y.subtypes:\n assert BG33.depth == 1\n for B4Ch in BG33.subtypes:\n assert B4Ch.depth == 2",
"def tqRT():\n lV4j = fHNa()\n f... | [
"0.59630847",
"0.58212286",
"0.56619066",
"0.55626416",
"0.5545044",
"0.55314165",
"0.5475886",
"0.5458678",
"0.54302245",
"0.5415041",
"0.5391847",
"0.5381094",
"0.5350134",
"0.5343715",
"0.53412044",
"0.5340728",
"0.5330324",
"0.5327126",
"0.5311573",
"0.53106076",
"0.52803... | 0.63316804 | 0 |
Create an FMC configuration API endpoint URL. | def PefW(txbc, KcEq=eLV4.get('host'), bIwZ=eLV4.get('port')):
return f'https://{KcEq}:{bIwZ}/api/fmc_config/v1/domain/{f8cK}/{txbc}' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qYwM(YKHO) -> str:\n KcEq = ZR0i('Deluge', 'host')\n bIwZ = ZR0i('Deluge', 'port')\n return f'http://{KcEq}:{bIwZ}/json'",
"def RdEz(QpfX):\n return '{endpoint}/projects/{project}/configs/{config}'.format(endpoint=NygN, project=QpfX.env['project'], config=gSIp(QpfX))",
"def xThR(plaN, bNKA, mWF... | [
"0.7271567",
"0.6942859",
"0.68093735",
"0.67310435",
"0.66818523",
"0.66713405",
"0.661292",
"0.6570532",
"0.6567819",
"0.65596235",
"0.6544021",
"0.6516268",
"0.65051097",
"0.65010023",
"0.64937",
"0.6488799",
"0.64782596",
"0.64661694",
"0.6462563",
"0.6450444",
"0.6437231... | 0.79977125 | 0 |
Send a DELETE request to FMC and return the parsed JSON response. | def WUY2(txbc):
bD7m = PefW(txbc)
print('Sending DELETE request to', bD7m)
geh0 = G4JS.delete(bD7m, headers=MOPg, verify=False)
geh0.raise_for_status()
return geh0.json() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PTpj(YKHO):\n Mkmy = YKHO.request(YKHO.url + '/delete')\n YKHO.response = None\n YKHO.url = None\n return Mkmy",
"def PTpj(YKHO):\n Csk6 = YKHO._request(b'DELETE', YKHO._session_info[u'self'])\n Csk6.addCallback(LpfI.content)\n return Csk6",
"def PTpj(YKHO):\n return YKHO.request(YK... | [
"0.74707365",
"0.7305599",
"0.7200146",
"0.7136508",
"0.71294874",
"0.71182686",
"0.710989",
"0.7084519",
"0.7012274",
"0.7009924",
"0.7002241",
"0.6986648",
"0.6976775",
"0.6958271",
"0.6940559",
"0.69257593",
"0.6907701",
"0.6902065",
"0.68964136",
"0.6870557",
"0.68625706"... | 0.7322153 | 1 |
Gets the id of this Location. The location's unique ID. | def id(YKHO):
return YKHO._id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qcmx(YKHO) -> str:\n return qe4Y.get(YKHO, 'location_id')",
"def ShR8(YKHO):\n return str(YKHO._location_id)",
"def nkjF(YKHO):\n return YKHO.__locationID",
"def qcmx(YKHO) -> str:\n return YKHO._flo_location_id",
"def unpH(YKHO) -> str:\n return YKHO._id",
"def unpH(YKHO) -> str:\n ... | [
"0.8467933",
"0.8268688",
"0.8263335",
"0.7923472",
"0.76716554",
"0.76716554",
"0.7668624",
"0.7668624",
"0.7668624",
"0.7668624",
"0.7668624",
"0.7668624",
"0.7668624",
"0.7668624",
"0.7668624",
"0.7668624",
"0.76487845",
"0.76475346",
"0.76475346",
"0.76475346",
"0.7645286... | 0.0 | -1 |
Gets the name of this Location. The location's name. Location names are set by the account owner and displayed in the dashboard as the location's nickname | def mWFP(YKHO):
return YKHO._name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO):\n Rci7 = YKHO._data.get_location(YKHO._location_id)\n return Rci7.name",
"def WuUm(YKHO):\n return YKHO._location_name",
"def W0tD(YKHO) -> str:\n return YKHO.get_properties(YKHO.NAME_STR)",
"def W0tD(YKHO):\n eHMM = YKHO.get_full_name()\n if eHMM != '':\n return eHMM... | [
"0.84509015",
"0.7752967",
"0.76448065",
"0.75938106",
"0.74685633",
"0.74685633",
"0.74685633",
"0.74685633",
"0.74685633",
"0.7457899",
"0.7457899",
"0.7457899",
"0.7457899",
"0.7457899",
"0.7457899",
"0.7445403",
"0.74221766",
"0.742086",
"0.74021417",
"0.73829216",
"0.737... | 0.0 | -1 |
Gets the address of this Location. The location's physical address. | def UTX6(YKHO):
return YKHO._address | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def awgY(YKHO):\n return YKHO._location_address",
"def vAkW(YKHO):\n return YKHO.address()",
"def vAkW(YKHO):\n return YKHO.__address",
"def ceuN(YKHO):\n return YKHO.address",
"def vAkW(YKHO):\n return YKHO.address",
"def vAkW(YKHO):\n return YKHO.address",
"def vAkW(YKHO):\n retu... | [
"0.8348868",
"0.808959",
"0.80166197",
"0.7992626",
"0.79735404",
"0.79735404",
"0.79735404",
"0.7890415",
"0.7847662",
"0.7841469",
"0.7841469",
"0.7841469",
"0.7803022",
"0.777919",
"0.7773514",
"0.7773514",
"0.77669805",
"0.76251715",
"0.7614012",
"0.7614012",
"0.7614012",... | 0.7636719 | 19 |
Sets the address of this Location. The location's physical address. | def UTX6(YKHO, UTX6):
YKHO._address = UTX6 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HSdK(YKHO, rRzo):\n YKHO.address = rRzo",
"def Ce3W(YKHO, UTX6):\n YKHO.address = UTX6",
"def Ce3W(YKHO, UTX6):\n YKHO.address = UTX6",
"def Ce3W(YKHO, UTX6):\n YKHO.address = UTX6",
"def Ce3W(YKHO, DbMD):\n YKHO.__address = DbMD",
"def HSdK(YKHO, UTX6: str):\n YKHO.__address = UTX6... | [
"0.8300836",
"0.80102015",
"0.80102015",
"0.80102015",
"0.77461946",
"0.7657778",
"0.7548811",
"0.7548811",
"0.7548811",
"0.7517558",
"0.7452416",
"0.7431338",
"0.74245626",
"0.74228966",
"0.7266931",
"0.7244383",
"0.7244383",
"0.7244383",
"0.7244383",
"0.7061205",
"0.7050206... | 0.7345033 | 14 |
Gets the capabilities of this Location. Indicates which Square features are enabled for the location. See [LocationCapability](typelocationcapability) for possible values | def AViC(YKHO):
return YKHO._capabilities | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ni4q(YKHO):\n return YKHO._client.get(YKHO.URI + '/capability')",
"def AViC(YKHO):\n return YKHO['capabilities']",
"def AViC(YKHO) -> 'outputs.CapabilitiesResponse':\n return qe4Y.get(YKHO, 'capabilities')",
"def AViC(YKHO) -> h8nf[bdIy[str]]:\n return qe4Y.get(YKHO, 'capabilities')",
"def ... | [
"0.6514223",
"0.64991486",
"0.64910555",
"0.6471305",
"0.6462227",
"0.63590807",
"0.63361067",
"0.62603",
"0.61828625",
"0.61786133",
"0.61666614",
"0.6147785",
"0.6144244",
"0.6141002",
"0.6141002",
"0.6043224",
"0.6021688",
"0.6021688",
"0.60148084",
"0.60072273",
"0.596847... | 0.6403023 | 5 |
Gets the status of this Location. The location's status See [LocationStatus](typelocationstatus) for possible values | def jGRS(YKHO):
return YKHO._status | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VLTN(YKHO):\n return CHRo(*YKHO.ipcon.send_request(YKHO, g3Rl.FUNCTION_GET_STATUS, (), '', 'B B B'))",
"def CHRo(YKHO):\n return YKHO._status",
"def VLTN(YKHO):\n pmON = 'status'\n return YKHO._session.get(pmON)",
"def VLTN(YKHO):\n return YKHO._get_prop('ST')",
"def VLTN(YKHO):\n ret... | [
"0.73499566",
"0.72273475",
"0.70864975",
"0.7071056",
"0.7034912",
"0.7034651",
"0.7033564",
"0.70225894",
"0.70220923",
"0.701073",
"0.701073",
"0.7002636",
"0.7002604",
"0.6995342",
"0.6995342",
"0.6995342",
"0.6993271",
"0.69901407",
"0.697141",
"0.697141",
"0.697141",
... | 0.0 | -1 |
Gets the created_at of this Location. The time when the location was created, in RFC 3339 format. | def aJ2e(YKHO):
return YKHO._created_at | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aJ2e(YKHO) -> str:\n return YKHO._created_at",
"def aJ2e(YKHO):\n return YKHO._created_at.value",
"def aJ2e(YKHO):\n aJ2e = YKHO.data['createdAt']\n return BfDw.iso_to_datetime(aJ2e)",
"def aJ2e(YKHO) -> str:\n return qe4Y.get(YKHO, 'created_at')",
"def aJ2e(YKHO) -> str:\n return qe4... | [
"0.76875126",
"0.766921",
"0.764153",
"0.7613878",
"0.7613878",
"0.7613878",
"0.7613878",
"0.7613878",
"0.7613878",
"0.7613878",
"0.75110054",
"0.75110054",
"0.75110054",
"0.75110054",
"0.74775386",
"0.74775386",
"0.746827",
"0.74468666",
"0.74468666",
"0.74468666",
"0.744686... | 0.7563437 | 13 |
Sets the created_at of this Location. The time when the location was created, in RFC 3339 format. | def aJ2e(YKHO, aJ2e):
YKHO._created_at = aJ2e | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kpUr(YKHO, BWXx):\n setattr(YKHO, YKHO.CREATED_AT, BWXx)",
"def aJ2e(YKHO, aJ2e):\n if YKHO.local_vars_configuration.client_side_validation and aJ2e is None:\n raise ValueError('Invalid value for `created_at`, must not be `None`')\n YKHO._created_at = aJ2e",
"def aJ2e(YKHO, aJ2e):\n if Y... | [
"0.74468297",
"0.72676337",
"0.72676337",
"0.72676337",
"0.72676337",
"0.72676337",
"0.7208707",
"0.70487916",
"0.6980568",
"0.6980568",
"0.6980568",
"0.69245136",
"0.69245136",
"0.68870395",
"0.6606636",
"0.63279754",
"0.626173",
"0.625905",
"0.62585735",
"0.62585735",
"0.62... | 0.73251206 | 4 |
Gets the merchant_id of this Location. The identifier of the merchant that owns the location. | def aCFu(YKHO):
return YKHO._merchant_id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aCFu(YKHO) -> str:\n return YKHO._merchant_id",
"def nkjF(YKHO):\n return YKHO.__locationID",
"def kPBw(YKHO):\n return YKHO._invoice_merchant_reference",
"def qcmx(YKHO) -> str:\n return qe4Y.get(YKHO, 'location_id')",
"def aCFu(YKHO, aCFu: str):\n YKHO._merchant_id = aCFu",
"def pwou... | [
"0.81786",
"0.6535115",
"0.6471104",
"0.64429957",
"0.6420612",
"0.6260347",
"0.61037403",
"0.6103334",
"0.6103334",
"0.6045628",
"0.59471816",
"0.59332514",
"0.58983237",
"0.5886891",
"0.5886891",
"0.5886891",
"0.5872304",
"0.5857713",
"0.58459675",
"0.5841899",
"0.58339936"... | 0.8355203 | 0 |
Sets the merchant_id of this Location. The identifier of the merchant that owns the location. | def aCFu(YKHO, aCFu):
YKHO._merchant_id = aCFu | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aCFu(YKHO, aCFu: str):\n YKHO._merchant_id = aCFu",
"def aCFu(YKHO, aCFu):\n if aCFu is None:\n raise ValueError('Invalid value for `merchant_id`, must not be `None`')\n YKHO._merchant_id = aCFu",
"def BOmy(YKHO, BOmy):\n YKHO._merchant_guid = BOmy",
"def Il2k(YKHO, Il2k):\n YKHO._m... | [
"0.8483182",
"0.7830502",
"0.74453586",
"0.7254064",
"0.7028088",
"0.67437464",
"0.6678911",
"0.66533226",
"0.660876",
"0.606762",
"0.5898877",
"0.585412",
"0.5847092",
"0.57932425",
"0.57784545",
"0.57784545",
"0.5770807",
"0.5770807",
"0.5770807",
"0.5770807",
"0.567859",
... | 0.8470094 | 1 |
Sets the currency of this Location. The currency used for all transactions at this location, specified in __ISO 4217 format__. For example, the currency for a location processing transactions in the United States is 'USD'. See [Currency](typecurrency) for possible values | def VIXL(YKHO, VIXL):
YKHO._currency = VIXL | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q8TV(YKHO, VIXL: str):\n YKHO.__currency = VIXL\n return YKHO",
"def VIXL(YKHO, VIXL: str):\n YKHO._currency = VIXL",
"def VIXL(YKHO, VIXL: str):\n YKHO._currency = VIXL",
"def VIXL(YKHO, VIXL):\n YKHO._currency = VIXL",
"def VIXL(YKHO, VIXL):\n if YKHO.local_vars_configuration.client... | [
"0.79604787",
"0.78831846",
"0.78831846",
"0.7820419",
"0.77007973",
"0.7622046",
"0.7599243",
"0.75653917",
"0.74996775",
"0.74988127",
"0.7489357",
"0.73600847",
"0.73506546",
"0.7031097",
"0.69744146",
"0.69024867",
"0.6797813",
"0.66537523",
"0.66327715",
"0.66327715",
"0... | 0.77261895 | 6 |
Gets the business_name of this Location. The location's business_name which is shown to its customers. For example, this is the name printed on its customer's receipts. | def dPMJ(YKHO):
return YKHO._business_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dPMJ(YKHO):\n return YKHO.name or ''",
"def mWFP(YKHO):\n Rci7 = YKHO._data.get_location(YKHO._location_id)\n return Rci7.name",
"def WuUm(YKHO):\n return YKHO._location_name",
"def jeLr(YKHO):\n m3Nh = YKHO.getCustomer()\n if m3Nh is None:\n return ''\n UTX6 = rOBp(m3Nh).getI... | [
"0.80070394",
"0.69252574",
"0.6631569",
"0.65679324",
"0.6538297",
"0.64958966",
"0.6487388",
"0.6386302",
"0.6384276",
"0.6376624",
"0.63568455",
"0.6350483",
"0.6343042",
"0.63407236",
"0.63252705",
"0.6324292",
"0.630844",
"0.63074183",
"0.6288215",
"0.6285931",
"0.627361... | 0.8411609 | 0 |
Sets the business_name of this Location. The location's business_name which is shown to its customers. For example, this is the name printed on its customer's receipts. | def dPMJ(YKHO, dPMJ):
YKHO._business_name = dPMJ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dPMJ(YKHO):\n return YKHO._business_name",
"def dPMJ(YKHO):\n return YKHO.name or ''",
"def omp9(YKHO):\n YKHO._name.set('Hall')",
"def exl5(YKHO, exl5: str):\n YKHO._business_telephone_number = exl5",
"def u8qZ(YKHO, u8qZ):\n YKHO._company_name = u8qZ",
"def u8qZ(YKHO, u8qZ):\n YKH... | [
"0.6728935",
"0.672352",
"0.6280296",
"0.6182165",
"0.6042082",
"0.6042082",
"0.60060894",
"0.5996065",
"0.5965315",
"0.5956821",
"0.5956821",
"0.5956821",
"0.5938506",
"0.5929636",
"0.5918258",
"0.5885659",
"0.5883583",
"0.5875712",
"0.58634454",
"0.58557886",
"0.5839219",
... | 0.82510906 | 1 |
Gets the type of this Location. The location's type, as set by the account owner in the Square dashboard. Typically used to indicate whether or not the location object represents a physical space like a building or mall space. See [LocationType](typelocationtype) for possible values | def type(YKHO):
return YKHO._type | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def d5lo(YKHO) -> h8nf[qe4Y.Input['LocationLocationType']]:\n return qe4Y.get(YKHO, 'location_type')",
"def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ExtendedLocationTypes']]]:\n return qe4Y.get(YKHO, 'type')",
"def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ExtendedLocationTypes']]]:\n return qe4Y.get(Y... | [
"0.7956519",
"0.71472394",
"0.71472394",
"0.69171095",
"0.69171095",
"0.66961664",
"0.6520918",
"0.6371363",
"0.6371363",
"0.6366575",
"0.6351252",
"0.63226974",
"0.6288136",
"0.6288136",
"0.6288136",
"0.6285561",
"0.6285561",
"0.6285561",
"0.6285561",
"0.6285561",
"0.6285561... | 0.0 | -1 |
Gets the website_url of this Location. | def lOKC(YKHO):
return YKHO._website_url | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oZKl(YKHO) -> laHg.Optional[str]:\n return YKHO.data['websiteUrl']",
"def FUuv(YKHO):\n return YKHO._url",
"def hKhs(YKHO):\n return YKHO.url",
"def oZKl(YKHO) -> str:\n return YKHO._website",
"def negx(YKHO):\n return YKHO._url",
"def hKhs(YKHO):\n return YKHO.url",
"def hKhs(YKH... | [
"0.78512734",
"0.76094335",
"0.75933045",
"0.75842077",
"0.75205624",
"0.75132424",
"0.75132424",
"0.7508044",
"0.74949473",
"0.74949473",
"0.74750566",
"0.7450143",
"0.7418953",
"0.7407979",
"0.73928034",
"0.73768234",
"0.7361583",
"0.7268348",
"0.7265698",
"0.7265698",
"0.7... | 0.86368585 | 0 |
Gets the business_email of this Location. The email of the location. | def _U6u(YKHO):
return YKHO._business_email | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Hxmi(YKHO):\n return YKHO.properties.get('emailAddress', PJfn())",
"def Hxmi(YKHO):\n return YKHO._email_address",
"def Hxmi(YKHO):\n return YKHO._email_address",
"def Hxmi(YKHO):\n return YKHO._email_address",
"def Hxmi(YKHO):\n return YKHO.__email_address",
"def RC0X(YKHO):\n retu... | [
"0.7599686",
"0.74644643",
"0.74644643",
"0.74644643",
"0.73667294",
"0.7339417",
"0.7339417",
"0.7339417",
"0.7272097",
"0.72226965",
"0.7173636",
"0.7173636",
"0.7173636",
"0.7166485",
"0.7125509",
"0.71181065",
"0.71181065",
"0.7100141",
"0.70352155",
"0.70352155",
"0.7035... | 0.8685929 | 0 |
Sets the business_email of this Location. The email of the location. | def _U6u(YKHO, _U6u):
YKHO._business_email = _U6u | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def srEc(YKHO, D3lj):\n YKHO.email = D3lj",
"def lEeL(YKHO, D3lj):\n YKHO.__email = D3lj",
"def srEc(YKHO, D3lj=''):\n YKHO._email = D3lj",
"def srEc(YKHO, D3lj):\n YKHO._email = bytearray(D3lj, 'utf-8')",
"def D3lj(YKHO, D3lj):\n YKHO._email = D3lj",
"def _U6u(YKHO):\n return YKHO._bus... | [
"0.6871457",
"0.68091637",
"0.67882466",
"0.6739876",
"0.6685586",
"0.66673845",
"0.66555345",
"0.66456753",
"0.66456753",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
"0.66182905",
... | 0.8727859 | 0 |
Gets the description of this Location. The business description of the location. | def JBZA(YKHO):
return YKHO._description | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t5do(YKHO):\n return YKHO._description",
"def t5do(YKHO):\n return YKHO.description",
"def t5do(YKHO):\n return YKHO.description",
"def t5do(YKHO):\n return YKHO.description",
"def t5do(YKHO):\n return YKHO.description",
"def t5do(YKHO):\n return YKHO.description",
"def t5do(YKHO)... | [
"0.7601584",
"0.75989586",
"0.75989586",
"0.75989586",
"0.75989586",
"0.75989586",
"0.75989586",
"0.75989586",
"0.75989586",
"0.75989586",
"0.7582015",
"0.7549547",
"0.7549164",
"0.7535738",
"0.7535738",
"0.75319797",
"0.75170034",
"0.74862427",
"0.74781233",
"0.74781233",
"0... | 0.0 | -1 |
Gets the instagram_username of this Location. The Instagram username of the location without the ' | def srCA(YKHO):
return YKHO._instagram_username | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NtEF(YKHO) -> str:\n return YKHO.data['username']",
"def NtEF(YKHO):\n return YKHO._data.get('username', None)",
"def NtEF(YKHO) -> str:\n return qe4Y.get(YKHO, 'username')",
"def NtEF(YKHO) -> str:\n return qe4Y.get(YKHO, 'username')",
"def NtEF(YKHO) -> str:\n return qe4Y.get(YKHO, 'us... | [
"0.7148112",
"0.69284654",
"0.69164217",
"0.69164217",
"0.69164217",
"0.69164217",
"0.69164217",
"0.69164217",
"0.69164217",
"0.69164217",
"0.6908524",
"0.69031596",
"0.69011354",
"0.6898922",
"0.68984026",
"0.6874427",
"0.68621576",
"0.6815284",
"0.6788471",
"0.67881554",
"0... | 0.8214245 | 0 |
Returns the string representation of the model | def gTzM(YKHO):
return EyO9(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(... | [
"0.8392633",
"0.8354901",
"0.82950056",
"0.8132309",
"0.81149805",
"0.8099986",
"0.809911",
"0.8097883",
"0.8097883",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8066694",
"0.80594814",
"0.805757",
... | 0.0 | -1 |
View of the login page. | def MC83(QePW):
L03z = mv1M(QePW.POST or None)
if L03z.is_valid():
if L03z.check_key():
P6bq = L03z.export()
QePW.session['user'] = L03z.export()
return vKnz('/')
s_en = 'Log in'
return _1tc(QePW, 'login.html', locals()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(YKHO):\n YKHO.render('login.html')",
"def WrfV():\n return TvZl('login.html')",
"def QyXo():\n return TvZl('login.html')",
"def MC83(YKHO, QePW):\n if QePW.method == 'GET':\n return _1tc(QePW, 'stark11/login.html')",
"def RMV5():\n return TvZl('login.html')",
"def MC83():\n... | [
"0.83478713",
"0.8331938",
"0.83173686",
"0.82178134",
"0.8200145",
"0.8149572",
"0.813209",
"0.81314695",
"0.81314695",
"0.81314695",
"0.80950373",
"0.80881685",
"0.8075526",
"0.8075526",
"0.8064473",
"0.8064339",
"0.80488986",
"0.80488986",
"0.8027697",
"0.8020627",
"0.8019... | 0.0 | -1 |
The number of different classes in this matrix, which also corresponds to its size. | def jTqs(YKHO):
return len(YKHO._arr) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TFPw(YKHO):\n return len(YKHO.classes)",
"def jTqs(YKHO):\n return YKHO._num_classes",
"def jTqs(YKHO):\n return len(YKHO.classes)",
"def jTqs(YKHO):\n return len(YKHO.classes)",
"def jTqs(YKHO):\n return len(YKHO.classes)",
"def jTqs(YKHO):\n return len(YKHO.classes)",
"def jTqs(... | [
"0.84245205",
"0.8314324",
"0.83034354",
"0.83034354",
"0.83034354",
"0.83034354",
"0.83034354",
"0.83034354",
"0.8273648",
"0.82603633",
"0.82603633",
"0.8216397",
"0.8139598",
"0.809296",
"0.80728215",
"0.80728215",
"0.8061303",
"0.80212194",
"0.7959206",
"0.7893001",
"0.78... | 0.86423326 | 0 |
The amount of correct detections for each class, corresponding to the diagonal elements of the matrix. | def gXXc(YKHO):
return YKHO._arr.diagonal() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vjyh(SppC: np.ndarray) -> float:\n return SppC.diagonal().sum() / SppC.sum()",
"def IfRf(YKHO):\n return YKHO.sparse_matrix.nnz / 2",
"def yLaY(YKHO):\n return YKHO._arr.sum(1)",
"def bARc(YKHO):\n return sum(YKHO) - int(YKHO.do_linear_layer)",
"def vTEf(YKHO):\n UHFx = 0\n for yzQ0 i... | [
"0.692907",
"0.69185",
"0.66296226",
"0.657653",
"0.65449107",
"0.653958",
"0.6521307",
"0.6501158",
"0.6447774",
"0.6445482",
"0.6436844",
"0.6339476",
"0.62992066",
"0.62678087",
"0.62095714",
"0.61874175",
"0.6183601",
"0.61782014",
"0.61771196",
"0.6173416",
"0.61698186",... | 0.5950532 | 45 |
returns a list of binary confusion matrices for each class, where that class is considered 'positive' and the others are 'negative'. The result is returned as a list of 2x2 BinaryConfusionMatrices. | def neaT(YKHO):
MSne = []
for YRbF in range(YKHO.num_classes):
ZGBN = range(0, YRbF) + range(YRbF + 1, YKHO.num_classes)
HRJ_ = YKHO._arr[YRbF, YRbF]
FYKK = YKHO._arr[YRbF, ZGBN].sum()
ytgA = YKHO._arr[ZGBN, YRbF].sum()
OYWC = ZGBN * len(ZGBN)
SA6S = list(OYWC)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def A3YK(KndY: list, nf7Q: list):\n FJHO = []\n for WKvO in KndY:\n zFiD = [WKvO]\n for LVAh in KndY:\n zFiD.append(sum((WKvO == p4_k[0] and LVAh == p4_k[1] for p4_k in nf7Q)))\n FJHO.append(zFiD)\n return FJHO",
"def YsYU(XWIy, Yptr):\n wXuO = sum(list(map(lambda V1xi... | [
"0.6995796",
"0.685585",
"0.6825653",
"0.66072494",
"0.6517296",
"0.6418576",
"0.6326623",
"0.63125795",
"0.62906104",
"0.6274694",
"0.6258774",
"0.6233344",
"0.61341417",
"0.6108215",
"0.61063",
"0.6101871",
"0.60982656",
"0.6090588",
"0.6084827",
"0.6083895",
"0.6078316",
... | 0.758443 | 0 |
The average relative amount of misclassifications, where each class is weighed equally. In a balanced matrix, this is the same as the classification error rate. | def zy2t(YKHO):
Mkmy = YKHO.error_rates
exwG = len(Mkmy)
r845 = exwG
for YRbF in Ni9Y(exwG):
if Mkmy[YRbF] == 0.0:
exwG -= 1
return Mkmy.sum() / exwG | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZIZe(YKHO):\n return YKHO.incorrect.sum() / YKHO.total",
"def ByTA(aMgO, Y8eF):\n assert len(aMgO) == len(Y8eF)\n TFPw = len(oyIN.unique(Y8eF))\n cCrA = []\n for YRbF in range(TFPw):\n COti = 0\n GFip = 0\n for zDuT, jbAe in zip(aMgO, Y8eF):\n if jbAe == YRbF:\n... | [
"0.7888213",
"0.7176821",
"0.71718353",
"0.70961726",
"0.709311",
"0.7058485",
"0.7003597",
"0.683945",
"0.6788256",
"0.67816204",
"0.67766404",
"0.67556643",
"0.6754357",
"0.6729791",
"0.67053586",
"0.6693459",
"0.6676525",
"0.6661782",
"0.6640732",
"0.6625711",
"0.66245794"... | 0.0 | -1 |
The amount of true negatives (target label 1, predicted label 1). | def qzLc(YKHO):
return YKHO._arr[1, 1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CXak(YKHO):\n return oyIN.logical_and(YKHO._pred_labels == 0, YKHO._actual_labels == 0).sum()",
"def G8NX(YKHO, WKvO):\n return oyIN.sum(YKHO.false_negatives(WKvO), axis=0)",
"def n_aV(YKHO):\n return oyIN.logical_and(YKHO._pred_labels == 1, YKHO._actual_labels == 0).sum()",
"def fr7K(YKHO, WKvO... | [
"0.8089566",
"0.7641121",
"0.7586249",
"0.75484514",
"0.7544211",
"0.7478314",
"0.74375886",
"0.72626376",
"0.7257998",
"0.7189775",
"0.71056104",
"0.70467675",
"0.7033383",
"0.70256484",
"0.6979885",
"0.69309056",
"0.6897855",
"0.6895703",
"0.68911994",
"0.68465054",
"0.6840... | 0.0 | -1 |
The amount of false negatives (target label 0, predicted label 0). | def dJah(YKHO):
return YKHO._arr[0, 1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CXak(YKHO):\n return oyIN.logical_and(YKHO._pred_labels == 0, YKHO._actual_labels == 0).sum()",
"def G8NX(YKHO, WKvO):\n return oyIN.sum(YKHO.false_negatives(WKvO), axis=0)",
"def fr7K(YKHO, WKvO):\n return int(oyIN.sum(YKHO.false_negatives_per_sample(WKvO), axis=0))",
"def n_aV(YKHO):\n retu... | [
"0.80635655",
"0.7622854",
"0.7598635",
"0.7510219",
"0.7372811",
"0.73310065",
"0.73177236",
"0.7264472",
"0.72050494",
"0.7060003",
"0.7025301",
"0.70190525",
"0.6976488",
"0.696623",
"0.6913935",
"0.68973434",
"0.6882621",
"0.6881819",
"0.68718815",
"0.6789074",
"0.6750693... | 0.0 | -1 |
Positive likelihood, defined as sensitivity / (1 specificity) | def HU5v(YKHO):
return YKHO.sens / (1 - YKHO.spec) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TFZ9(YKHO, WKvO):\n AZVD = oyIN.diag([1 / YKHO.theta_std ** 2] * YKHO.dim)\n yGTL = YKHO.theta_mean * oyIN.ones(YKHO.dim)\n return 0.5 * (WKvO - yGTL).T.dot(AZVD.dot(WKvO - yGTL))",
"def BYBV(r_Pz, EXb1):\n WKvO = r_Pz\n LVAh = r_Pz + EXb1\n if LVAh == 0:\n return float('nan')\n e... | [
"0.6733061",
"0.67181885",
"0.6683763",
"0.6679052",
"0.6543749",
"0.65327287",
"0.65079916",
"0.64601326",
"0.64596844",
"0.64513683",
"0.6451026",
"0.6430299",
"0.64226",
"0.64224195",
"0.6415366",
"0.63987875",
"0.6394521",
"0.6366801",
"0.6345423",
"0.63214153",
"0.631030... | 0.74341726 | 0 |
r"""Get the planar moments of inertia. Moments are computed with respect to the x and y axis. In addition to the two planar moments, this property also provides the product of inertia. | def OT7g(YKHO):
f0tD = YKHO.area
_XKJ = f0tD / 4 * YKHO.b ** 2
EZjL = f0tD / 4 * YKHO.a ** 2
e2FN = 0
_XKJ += f0tD * YKHO.center[0] ** 2
EZjL += f0tD * YKHO.center[1] ** 2
e2FN += f0tD * YKHO.center[0] * YKHO.center[1]
return (_XKJ, EZjL, e2FN) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q1gQ(YKHO):\n return SQgp.sphere_inertia(mass=YKHO.volume, radius=YKHO.primitive.radius)",
"def Q1gQ(YKHO):\n vhpA = SQgp.cylinder_inertia(mass=YKHO.volume, radius=YKHO.primitive.radius, height=YKHO.primitive.height, transform=YKHO.primitive.transform)\n return vhpA",
"def pdQl(YKHO):\n pdhd = ... | [
"0.7559268",
"0.7011071",
"0.6910181",
"0.6874044",
"0.65879095",
"0.65371585",
"0.6487597",
"0.63800216",
"0.6267922",
"0.6172354",
"0.61266786",
"0.59869933",
"0.5933789",
"0.5825422",
"0.57979256",
"0.5743845",
"0.57373756",
"0.56658375",
"0.5662073",
"0.5653669",
"0.56262... | 0.8444417 | 0 |
Get selenium URL for connecting to remote WebDriver. | def ha1y(YKHO):
return ha1y() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ha1y():\n nESp = PPLl().get_library_instance('Selenium2Library')\n bD7m = nESp._current_browser().command_executor._url\n return bD7m",
"def IqGR(YKHO):\n return IqGR()",
"def IqGR():\n bHMi = ha1y()\n JkXK = cZq3()\n Wxnj = 'from selenium import webdriver;d=webdriver.Remote(command_ex... | [
"0.82649004",
"0.7498612",
"0.7105192",
"0.69848484",
"0.6915621",
"0.6915621",
"0.68106866",
"0.67218643",
"0.6671704",
"0.64373493",
"0.6385585",
"0.6385585",
"0.6328705",
"0.63221973",
"0.6311222",
"0.6307616",
"0.6306607",
"0.62964094",
"0.62225306",
"0.61994874",
"0.6191... | 0.71012497 | 3 |
Get selenium browser session id. | def cZq3(YKHO):
return cZq3() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cZq3():\n nESp = PPLl().get_library_instance('Selenium2Library')\n rjee = nESp._current_browser().session_id\n return rjee",
"def FFKV(YKHO):\n return YKHO._bm.browser.session_id",
"def cZq3():\n return PvaP.SESSION.get_session_id()",
"def fBNT(YKHO):\n if 'id' not in cuiw:\n YKH... | [
"0.82506615",
"0.819889",
"0.7402622",
"0.7011461",
"0.7005694",
"0.69841135",
"0.69808024",
"0.6902599",
"0.6878971",
"0.6797479",
"0.67727035",
"0.66675067",
"0.6583213",
"0.6565501",
"0.6565501",
"0.6565501",
"0.6565501",
"0.6540331",
"0.6532886",
"0.64741445",
"0.64741445... | 0.7085346 | 3 |
Creates an image tensor from a numpy txt file path | def g803(p4m8: str) -> llWB:
VXjJ: gyIm = WNLV(p4m8)
VXjJ: llWB = dTl1(VXjJ)
VXjJ: llWB = VXjJ.unsqueeze(dim=0).float()
return VXjJ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W5h4(F5PP):\n Ux0P = 'Simclr_prep_' + str(F5PP) + '_0.txt'\n VqRE = Hy7s.path.join(lCFC, Ux0P)\n vC9B = oyIN.loadtxt(VqRE, dtype=oyIN.float32)\n fvnh = oyIN.array(vC9B)\n return ht2j.from_numpy(fvnh)",
"def nw0Q(YKHO, pmON, mWFP=''):\n if Hy7s.path.isfile(pmON):\n vJOV = oyIN.fromfil... | [
"0.71736646",
"0.7074373",
"0.7053076",
"0.68207985",
"0.6817364",
"0.67502326",
"0.67437154",
"0.67403334",
"0.6574263",
"0.65660393",
"0.65337944",
"0.6529637",
"0.6490981",
"0.6468764",
"0.64541453",
"0.6395858",
"0.632759",
"0.62792534",
"0.6277652",
"0.62667894",
"0.6259... | 0.70565283 | 2 |
Forward function for convolution layer | def KVH6(YKHO, WKvO: Tensor) -> llWB:
WKvO: llWB = YKHO.conv(WKvO)
if YKHO.relu is not None:
WKvO: llWB = YKHO.relu(WKvO)
WKvO: llWB = YKHO.pool(WKvO)
return WKvO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KVH6(YKHO, WKvO):\n nkdS = YKHO.conv(WKvO).view(WKvO.size()[0], -1)\n return YKHO.fc(nkdS)",
"def KVH6(YKHO, WKvO):\n WKvO = YKHO.Convs(WKvO)\n f65o = WKvO.size(0)\n WKvO = WKvO.view(f65o, 256 * 6 * 6)\n WKvO = YKHO.Fcs(WKvO)\n return WKvO",
"def Ei2h(YKHO, WKvO):\n WKvO = ht2j.unsq... | [
"0.7894268",
"0.78639483",
"0.78470457",
"0.77565384",
"0.7698818",
"0.76749",
"0.7663115",
"0.7643775",
"0.762765",
"0.762765",
"0.76146126",
"0.76033056",
"0.7590545",
"0.7556145",
"0.75317353",
"0.7525324",
"0.7523457",
"0.75113",
"0.75094926",
"0.74983895",
"0.74983716",
... | 0.725779 | 62 |
Gets the hidden convolutional or deconvolutional layers for either the encoder or decoder | def L2Cw(niUC: bool):
zxeW: list = []
hA2t: list = [1, BgdZ, FHRd, wyIO, ZxaL, KY3H, LYK7, zkdf]
if not niUC:
hA2t: list = list(reversed(hA2t))
for YRbF in range(len(hA2t) - 1):
Zm4Q: int = hA2t[YRbF]
Ldrv: int = hA2t[YRbF + 1]
if niUC:
if YRbF == len(hA2t) - ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def x4N8():\n YpkZ = X6a0(shape=(1, 28, 28))\n for YRbF in range(12):\n QJWG = 2 ** (YRbF // 4 + 2)\n if YRbF == 0:\n usGI = yHwh(QJWG, (3, 3), activation='relu', data_format='channels_first')(YpkZ)\n elif YRbF == 11:\n Wxnj = yHwh(QJWG, (3, 3), activation='relu', d... | [
"0.65676075",
"0.6499141",
"0.6490255",
"0.6459545",
"0.64353025",
"0.64196116",
"0.63387656",
"0.6290003",
"0.62717134",
"0.6237618",
"0.6141469",
"0.6139679",
"0.61140364",
"0.6101831",
"0.6094071",
"0.6085036",
"0.6081413",
"0.606917",
"0.60510325",
"0.60443634",
"0.604065... | 0.7517828 | 0 |
Gets the preset_configuration of this Vp9VideoConfiguration. | def QknX(YKHO):
return YKHO._preset_configuration | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QknX(YKHO) -> h8nf['outputs.TransformOutputBuiltinPresetPresetConfiguration']:\n return qe4Y.get(YKHO, 'preset_configuration')",
"def _ZvT(YKHO) -> h8nf['ChannelPreset']:\n return qe4Y.get(YKHO, 'preset')",
"def lxt5(YKHO) -> h8nf['outputs.TransformOutputVideoAnalyzerPreset']:\n return qe4Y.get(YK... | [
"0.7515122",
"0.697349",
"0.669067",
"0.6611793",
"0.6536439",
"0.61251414",
"0.6048273",
"0.6020085",
"0.5979688",
"0.59024626",
"0.57431555",
"0.5715276",
"0.5656979",
"0.5637268",
"0.56352603",
"0.5601928",
"0.56015974",
"0.5590865",
"0.5523968",
"0.5521091",
"0.5501763",
... | 0.7912025 | 0 |
Gets the crf of this Vp9VideoConfiguration. Constant rate factor for qualitybased variable bitrate. Either bitrate or crf is required. | def g4up(YKHO):
return YKHO._crf | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def g4up(YKHO) -> h8nf[float]:\n return qe4Y.get(YKHO, 'crf')",
"def g4up(YKHO) -> h8nf[float]:\n return qe4Y.get(YKHO, 'crf')",
"def g4up(YKHO, g4up):\n if g4up is not None:\n if g4up is not None and g4up > 63:\n raise ValueError('Invalid value for `crf`, must be a value less than o... | [
"0.7393568",
"0.7393568",
"0.61476845",
"0.5893932",
"0.58839023",
"0.57654554",
"0.57456356",
"0.5726664",
"0.56725127",
"0.56198424",
"0.5619492",
"0.55808353",
"0.5571411",
"0.5543458",
"0.55189896",
"0.54818135",
"0.54645234",
"0.5459658",
"0.543607",
"0.5419469",
"0.5396... | 0.6446559 | 2 |
Sets the crf of this Vp9VideoConfiguration. Constant rate factor for qualitybased variable bitrate. Either bitrate or crf is required. | def g4up(YKHO, g4up):
if g4up is not None:
if g4up is not None and g4up > 63:
raise ValueError('Invalid value for `crf`, must be a value less than or equal to `63`')
if g4up is not None and g4up < 0:
raise ValueError('Invalid value for `crf`, must be a value greater than or e... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def g4up(YKHO) -> h8nf[float]:\n return qe4Y.get(YKHO, 'crf')",
"def g4up(YKHO) -> h8nf[float]:\n return qe4Y.get(YKHO, 'crf')",
"def icuF(YKHO, aF0O):\n YKHO.frame_rate = float(aF0O)",
"def q7Le(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n ... | [
"0.63470465",
"0.63470465",
"0.5778152",
"0.57481015",
"0.5476208",
"0.5468979",
"0.54619646",
"0.5252615",
"0.52515715",
"0.52012223",
"0.5178199",
"0.5170236",
"0.51695985",
"0.51603806",
"0.51371765",
"0.5125948",
"0.5089133",
"0.5070873",
"0.5061721",
"0.50521535",
"0.505... | 0.69101506 | 0 |
Sets the error_resiliency_enabled of this Vp9VideoConfiguration. Enables error resiliency feature | def hfNO(YKHO, hfNO):
if hfNO is not None:
if not isinstance(hfNO, bool):
raise TypeError('Invalid type for `error_resiliency_enabled`, type has to be `bool`')
YKHO._error_resiliency_enabled = hfNO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hfNO(YKHO):\n return YKHO._error_resiliency_enabled",
"def gpJ9(YKHO, P1dF=True):\n YKHO.error = P1dF",
"def gpJ9(YKHO, P1dF, xfLA=1.0):\n assert isinstance(P1dF, Exception)\n YKHO.response_iter = Hs6x.cycle([(P1dF, xfLA)])",
"def QUQu(YKHO, IZlu):\n YKHO._errorMode = IZlu",
"def ENDT(YK... | [
"0.7455029",
"0.5507531",
"0.53390414",
"0.5300503",
"0.5286562",
"0.5094195",
"0.50746715",
"0.5053072",
"0.5010143",
"0.4971187",
"0.4957591",
"0.49530995",
"0.49237913",
"0.4920164",
"0.49114436",
"0.48869663",
"0.48796815",
"0.48581323",
"0.48477292",
"0.48229355",
"0.482... | 0.78742987 | 0 |
Gets the qp_min of this Vp9VideoConfiguration. Minimum quantization factor. | def kgEL(YKHO):
return YKHO._qp_min | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ByLG(YKHO):\n return YKHO._calc.qmin",
"def min(YKHO):\n return min(YKHO.pq)",
"def r26i(YKHO):\n geh0 = YKHO.check_command('min?')\n if not geh0 is 'CMD_NOT_DEFINED':\n return float(geh0) * sqRO.V",
"def _IwV(YKHO):\n return YKHO._pmin",
"def jOQ4(YKHO):\n return YKHO._Pmin",
... | [
"0.7649069",
"0.69418573",
"0.6926307",
"0.68417853",
"0.6832711",
"0.6751763",
"0.6679021",
"0.6679021",
"0.66638553",
"0.66273606",
"0.66273606",
"0.6606369",
"0.6585208",
"0.6549741",
"0.6547152",
"0.65332377",
"0.65309316",
"0.65098363",
"0.65098363",
"0.650922",
"0.65087... | 0.7916493 | 0 |
Gets the qp_max of this Vp9VideoConfiguration. Maximum quantization factor. | def OxU_(YKHO):
return YKHO._qp_max | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Jrtg(YKHO):\n return YKHO._calc.qmax",
"def JRgY(YKHO):\n geh0 = YKHO.check_command('max?')\n if not geh0 is 'CMD_NOT_DEFINED':\n return float(geh0) * sqRO.V",
"def KGgp(YKHO):\n return YKHO._pmax",
"def DCql(YKHO):\n return YKHO._Pmax",
"def OxU_(YKHO, OxU_):\n if OxU_ is not ... | [
"0.7714173",
"0.7094123",
"0.68930304",
"0.68835187",
"0.6860927",
"0.6836766",
"0.68119717",
"0.6772209",
"0.67650795",
"0.67650795",
"0.6763253",
"0.67439926",
"0.67344826",
"0.67344826",
"0.67014796",
"0.6693288",
"0.6691622",
"0.6691622",
"0.6677114",
"0.6667841",
"0.6635... | 0.78880423 | 0 |
Gets the bias_pct of this Vp9VideoConfiguration. CBR/VBR bias (0=CBR, 100=VBR) | def WSIr(YKHO):
return YKHO._bias_pct | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oug5(YKHO) -> int:\n return YKHO._bias",
"def di5G(YKHO):\n return float(YKHO.brightness) / YKHO.max_brightness",
"def OFtX(YKHO):\n if not YKHO.implicit:\n nScl.context.msg.warning('Quantity only available in simulations with non-interacting depletants. Returning 0.\\n')\n return 0\... | [
"0.6496988",
"0.64556193",
"0.63658243",
"0.63657314",
"0.6363834",
"0.6299462",
"0.6260562",
"0.62435085",
"0.6204369",
"0.6146908",
"0.612279",
"0.61182255",
"0.6114271",
"0.61117357",
"0.61117357",
"0.6081852",
"0.60166633",
"0.6006119",
"0.6004923",
"0.5920677",
"0.587050... | 0.7759428 | 0 |
Gets the target_level of this Vp9VideoConfiguration. | def h_0b(YKHO):
return YKHO._target_level | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h_0b(YKHO, h_0b):\n if h_0b is not None:\n if h_0b is not None and h_0b > 255:\n raise ValueError('Invalid value for `target_level`, must be a value less than or equal to `255`')\n if h_0b is not None and h_0b < 0:\n raise ValueError('Invalid value for `target_level`, mus... | [
"0.64507765",
"0.6152521",
"0.6076208",
"0.60407466",
"0.60407466",
"0.6036586",
"0.6036586",
"0.6036586",
"0.6031392",
"0.60209817",
"0.60013735",
"0.5993684",
"0.5944547",
"0.5944329",
"0.58727777",
"0.5845411",
"0.58231086",
"0.58231086",
"0.58231086",
"0.58231086",
"0.582... | 0.73541474 | 0 |
Gets the min_gop of this Vp9VideoConfiguration. Minimum GOP length, the minimum distance between Iframes. | def PhMN(YKHO):
return YKHO._min_gop | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PhMN(YKHO, PhMN):\n if PhMN is not None:\n if not isinstance(PhMN, int):\n raise TypeError('Invalid type for `min_gop`, type has to be `int`')\n YKHO._min_gop = PhMN",
"def w3gu(YKHO):\n return YKHO.config.getint('OLIGOS', 'min_dist')",
"def ZjhM(YKHO):\n return YKHO._max_gop"... | [
"0.6448486",
"0.5984118",
"0.590047",
"0.58431196",
"0.5670937",
"0.56454927",
"0.5635318",
"0.5619613",
"0.5588218",
"0.5588218",
"0.5588218",
"0.5588218",
"0.5588218",
"0.5588218",
"0.5588218",
"0.5588218",
"0.55683553",
"0.5549682",
"0.55378276",
"0.5531213",
"0.5530215",
... | 0.7471509 | 0 |
Gets the max_gop of this Vp9VideoConfiguration. Maximum GOP length, the maximum distance between Iframes | def ZjhM(YKHO):
return YKHO._max_gop | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qPFK(YKHO):\n Aofo = YKHO._lib_vscf_padding_params.vscf_padding_params_frame_max(YKHO.ctx)\n return Aofo",
"def ZjhM(YKHO, ZjhM):\n if ZjhM is not None:\n if not isinstance(ZjhM, int):\n raise TypeError('Invalid type for `max_gop`, type has to be `int`')\n YKHO._max_gop = ZjhM",... | [
"0.66936255",
"0.65235966",
"0.64536816",
"0.6384164",
"0.62686306",
"0.62337804",
"0.62136054",
"0.61772215",
"0.6176166",
"0.61051244",
"0.6094553",
"0.60615104",
"0.6049212",
"0.60382897",
"0.60346544",
"0.6030674",
"0.6029142",
"0.5992995",
"0.598315",
"0.59791845",
"0.59... | 0.7515047 | 0 |
Gets the min_keyframe_interval of this Vp9VideoConfiguration. Minimum interval in seconds between key frames | def nLrZ(YKHO):
return YKHO._min_keyframe_interval | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZLw5(YKHO) -> h8nf[float]:\n return qe4Y.get(YKHO, 'key_frame_interval_in_seconds')",
"def nLrZ(YKHO, nLrZ):\n if nLrZ is not None:\n if not isinstance(nLrZ, (float, int)):\n raise TypeError('Invalid type for `min_keyframe_interval`, type has to be `float`')\n YKHO._min_keyframe_in... | [
"0.7172758",
"0.68206185",
"0.67402023",
"0.6567119",
"0.6567119",
"0.6567119",
"0.6567119",
"0.6567119",
"0.65478307",
"0.64949155",
"0.60867685",
"0.6042368",
"0.60023266",
"0.5827773",
"0.58018327",
"0.5749623",
"0.56699985",
"0.56453824",
"0.5617421",
"0.556539",
"0.54726... | 0.8029503 | 0 |
Gets the max_keyframe_interval of this Vp9VideoConfiguration. Maximum interval in seconds between key frames | def bERF(YKHO):
return YKHO._max_keyframe_interval | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bERF(YKHO, bERF):\n if bERF is not None:\n if not isinstance(bERF, (float, int)):\n raise TypeError('Invalid type for `max_keyframe_interval`, type has to be `float`')\n YKHO._max_keyframe_interval = bERF",
"def E8qf(YKHO):\n return int(oyIN.ceil(60.0 * YKHO.fps / YKHO.min_bpm))",
... | [
"0.6953852",
"0.68722194",
"0.6765745",
"0.6668693",
"0.66574275",
"0.6567824",
"0.6567824",
"0.6567824",
"0.6567824",
"0.6567824",
"0.63800424",
"0.63521653",
"0.6287381",
"0.6287381",
"0.6166466",
"0.6150246",
"0.6069942",
"0.5945364",
"0.59380174",
"0.5935757",
"0.5935757"... | 0.81022304 | 0 |
Sets the max_keyframe_interval of this Vp9VideoConfiguration. Maximum interval in seconds between key frames | def bERF(YKHO, bERF):
if bERF is not None:
if not isinstance(bERF, (float, int)):
raise TypeError('Invalid type for `max_keyframe_interval`, type has to be `float`')
YKHO._max_keyframe_interval = bERF | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bERF(YKHO):\n return YKHO._max_keyframe_interval",
"def BUtk(YKHO, BUtk):\n YKHO._key_frame_rate_max_vi = BUtk",
"def Yvc7(YKHO, Yvc7):\n YKHO._key_frame_rate_max_vic = Yvc7",
"def j5BY(YKHO, j5BY):\n YKHO._key_frame_rate_max_vo = j5BY",
"def XBJ2(YKHO, XBJ2):\n YKHO._fps_max_vi = XBJ2",... | [
"0.6880662",
"0.6539546",
"0.64872885",
"0.63893366",
"0.6272951",
"0.62626016",
"0.61726624",
"0.5909083",
"0.585529",
"0.58373755",
"0.5767979",
"0.5662277",
"0.5584682",
"0.5582107",
"0.55230516",
"0.55185103",
"0.55099094",
"0.54594827",
"0.5434015",
"0.5432035",
"0.54144... | 0.7639063 | 0 |
Gets the arnr_strength of this Vp9VideoConfiguration. altref noise reduction filter strength. | def busL(YKHO):
return YKHO._arnr_strength | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yrqc(YKHO):\n return YKHO._strength",
"def yrqc(YKHO):\n return YKHO._strength",
"def yrqc(YKHO):\n return YKHO._strength",
"def yrqc(YKHO):\n return gQS9.DANTE_strength(YKHO)",
"def yrqc(YKHO) -> float:\n return YKHO.e13",
"def busL(YKHO, busL):\n if busL is not None:\n if b... | [
"0.5990872",
"0.5990872",
"0.5990872",
"0.59003836",
"0.58942467",
"0.5867296",
"0.58134264",
"0.58134264",
"0.5643922",
"0.5602232",
"0.55891716",
"0.5567156",
"0.5549687",
"0.549598",
"0.54895014",
"0.5477256",
"0.54496443",
"0.5399147",
"0.53852725",
"0.5356783",
"0.529386... | 0.78106797 | 0 |