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 |
|---|---|---|---|---|---|---|
Convert list of dict to dict of list, and vice versa. | def LoE3(YEnM):
if len(YEnM) == 0:
return YEnM
if type(YEnM) == list:
TK2h = {}
if type(YEnM[0]) == dict:
vC9B = len(YEnM)
sjXb = YEnM[0].keys()
return {G1Hx: [YEnM[YRbF][G1Hx] for YRbF in range(vC9B)] for G1Hx in sjXb}
else:
for YR... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SzcT(aPd6):\n if len(aPd6) == 1:\n return aPd6[0]\n LTX_ = {}\n for H5ew in aPd6[0].keys():\n hkxX = [aPd6[YRbF][H5ew] for YRbF in range(len(aPd6))]\n LTX_[H5ew] = hkxX\n return LTX_",
"def onWE(nPrm: any) -> dict:\n if isinstance(nPrm, list):\n return dict([(str(YR... | [
"0.74381816",
"0.7395677",
"0.72691727",
"0.7256208",
"0.70994174",
"0.6994096",
"0.69627714",
"0.69614613",
"0.6950271",
"0.69387525",
"0.6923306",
"0.6916584",
"0.69065976",
"0.68879455",
"0.6837157",
"0.68180734",
"0.67932385",
"0.6773694",
"0.6755554",
"0.67547923",
"0.67... | 0.68331563 | 15 |
Generate EC2 style tokens or return existing EC2 tokens | def cOGq(YKHO):
IPQH = {}
if YKHO.api_version == '2':
shZi = YKHO.ks_client.ec2.list(YKHO.ks_client.user_id)
if shZi:
IPQH = shZi[0]
else:
GoZD = YKHO.ks_client.ec2.create(YKHO.ks_client.user_id, YKHO.ks_client.tenant_id)
IPQH = {'access_token': GoZD.a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIEz():\n o73r = jbpC.generate_key().decode('utf-8')\n WBtS = jbpC.generate_key().decode('utf-8')\n print(q1HU(f'\\n EMAIL_KEY={o73r}\\n TOKEN_SECRET={WBtS}\\n '))",
"def LQUb():\n return FXSn.token_hex(8)",
"def iXC1(YKHO):\n YKHO.keystone.create_ec2credentials(YKHO.context['user']... | [
"0.6102175",
"0.6018698",
"0.59493333",
"0.5848669",
"0.57111734",
"0.5683143",
"0.56789106",
"0.5668503",
"0.56423753",
"0.5639329",
"0.5624467",
"0.560702",
"0.560034",
"0.5593379",
"0.55823404",
"0.55751485",
"0.5573349",
"0.5559109",
"0.55577534",
"0.55519783",
"0.5546725... | 0.6341391 | 0 |
Check if a given service type is registered in the catalogue | def M1we(YKHO, zVa7):
return zVa7 in YKHO.get_present_services() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pZu3(YKHO, NvwP: str) -> bool:\n return NvwP in YKHO.services",
"def pZu3(YKHO, NvwP):\n RKD7.info('Checking if provider supports %s', NvwP)\n try:\n if YKHO._deepgetattr(YKHO, NvwP):\n RKD7.info('This provider supports %s', NvwP)\n return True\n except AttributeError... | [
"0.7746453",
"0.7152921",
"0.7081739",
"0.70376134",
"0.691791",
"0.6852545",
"0.66347754",
"0.6615068",
"0.65598595",
"0.65222394",
"0.64417577",
"0.64417577",
"0.64355564",
"0.63110715",
"0.62317383",
"0.62244016",
"0.61723065",
"0.61712164",
"0.6167055",
"0.6103944",
"0.60... | 0.6313939 | 13 |
Load a model to XPRESS' data structure | def tyeH(YKHO, TVbO):
n6bD = k9aZ.problem(name=TVbO.name)
for Es0b in TVbO.variables:
if Es0b.type == O3Vx.binary:
hfFz = k9aZ.binary
elif Es0b.type == O3Vx.integer:
hfFz = k9aZ.integer
elif Es0b.type == O3Vx.continuous:
hfFz = k9aZ.continuous
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uyMl():\n pass",
"def uyMl():\n pass",
"def uyMl(YKHO):\n pass",
"def uyMl(YKHO):\n pass",
"def uyMl(YKHO):\n pass",
"def uyMl(YKHO):\n pass",
"def uyMl(Ux0P):\n pass",
"def uyMl(YKHO, C3ST):\n raise NotImplementedError()",
"def uyMl():\n return",
"def uyMl(YKHO):\n... | [
"0.7959358",
"0.7959358",
"0.7903066",
"0.7903066",
"0.7903066",
"0.7903066",
"0.752503",
"0.7426173",
"0.73838323",
"0.73676115",
"0.7337845",
"0.72120845",
"0.71939045",
"0.71858287",
"0.71585786",
"0.71090055",
"0.70985776",
"0.70826834",
"0.7072856",
"0.70498466",
"0.7041... | 0.0 | -1 |
Gets effective video dumpers on the flow. | def aQ5t(YKHO):
if YKHO.IsDualPixelMode():
if P4dy.VideoDumper.EVEN_PIXELS_FLOW_INDEXES[YKHO._input_id] == 0:
return [YKHO._fpga.vdump0, YKHO._fpga.vdump1]
else:
return [YKHO._fpga.vdump1, YKHO._fpga.vdump0]
elif P4dy.VideoDumper.PRIMARY_FLOW_INDEXES[YKHO._input_id] == 0:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Jctn(YKHO):\n return [HDFI.load_video() for HDFI in YKHO.utterances]",
"def _tM4(YKHO):\n Yw_3 = []\n for pmON in sorted(YKHO._captures):\n Yw_3.append(YKHO._post_process_capture(pmON))\n YKHO.drop_captures()\n return Yw_3",
"def OQGH(YKHO):\n return YKHO._playable_pipes",
"def M... | [
"0.5823673",
"0.56947017",
"0.5612305",
"0.55652034",
"0.55076146",
"0.54847294",
"0.5447315",
"0.54370147",
"0.5398828",
"0.5370822",
"0.53625846",
"0.5347984",
"0.52165663",
"0.51979005",
"0.51884234",
"0.5150557",
"0.51492655",
"0.5140302",
"0.5087254",
"0.5068016",
"0.505... | 0.82101786 | 0 |
Gets the resolution of the captured frame. | def WdFR(YKHO):
return YKHO._frame_manager.GetDumpedDimension() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def creR(YKHO):\n YKHO.WaitVideoOutputStable()\n return YKHO._rx.GetFrameResolution()",
"def B1Wx(YKHO):\n if YKHO.cam_open:\n return (int(YKHO.cam.get(XC5k.CAP_PROP_FRAME_WIDTH)), int(YKHO.cam.get(XC5k.CAP_PROP_FRAME_HEIGHT)))\n else:\n return (-1, -1)",
"def creR(YKHO):\n if YKHO... | [
"0.82287353",
"0.7909427",
"0.7904646",
"0.7633482",
"0.7622994",
"0.7534481",
"0.73270166",
"0.73195255",
"0.7206349",
"0.71743435",
"0.71370363",
"0.7129278",
"0.7118559",
"0.7117157",
"0.7117157",
"0.7117157",
"0.7028584",
"0.6980374",
"0.6939913",
"0.6824212",
"0.67607486... | 0.8535126 | 0 |
Returns the number of received audio channels. | def dLD0(YKHO):
raise NotImplementedError('GetAudioChannels') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qi3c(YKHO):\n with skD0.audio_open(YKHO.path) as eHNT:\n return eHNT.channels",
"def xMux(YKHO) -> int:\n return YKHO.__channels(YKHO._audio_properties)",
"def MXQy(YKHO):\n xMux = YKHO._mixer._channels\n YwkQ = 0\n for id in YKHO._mixer._channel_active:\n if id > -1:\n ... | [
"0.82224274",
"0.78989077",
"0.7833574",
"0.7648085",
"0.75927883",
"0.7574879",
"0.7574879",
"0.75306606",
"0.7522525",
"0.75034523",
"0.7419175",
"0.73959714",
"0.7394255",
"0.73615175",
"0.7317853",
"0.7291367",
"0.7283597",
"0.72314566",
"0.72144806",
"0.71785945",
"0.714... | 0.68969446 | 32 |
Returns the number of received audio channels. | def dLD0(YKHO):
return YKHO._rx.GetAudioChannels() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qi3c(YKHO):\n with skD0.audio_open(YKHO.path) as eHNT:\n return eHNT.channels",
"def xMux(YKHO) -> int:\n return YKHO.__channels(YKHO._audio_properties)",
"def MXQy(YKHO):\n xMux = YKHO._mixer._channels\n YwkQ = 0\n for id in YKHO._mixer._channel_active:\n if id > -1:\n ... | [
"0.82224274",
"0.78989077",
"0.7833574",
"0.7648085",
"0.75927883",
"0.75306606",
"0.7522525",
"0.75034523",
"0.7419175",
"0.73959714",
"0.7394255",
"0.73615175",
"0.7317853",
"0.7291367",
"0.7283597",
"0.72314566",
"0.72144806",
"0.71785945",
"0.7141328",
"0.7141328",
"0.711... | 0.7574879 | 5 |
Returns the number of received audio channels. | def dLD0(YKHO):
return YKHO._rx.GetAudioChannels() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qi3c(YKHO):\n with skD0.audio_open(YKHO.path) as eHNT:\n return eHNT.channels",
"def xMux(YKHO) -> int:\n return YKHO.__channels(YKHO._audio_properties)",
"def MXQy(YKHO):\n xMux = YKHO._mixer._channels\n YwkQ = 0\n for id in YKHO._mixer._channel_active:\n if id > -1:\n ... | [
"0.82224274",
"0.78989077",
"0.7833574",
"0.7648085",
"0.75927883",
"0.75306606",
"0.7522525",
"0.75034523",
"0.7419175",
"0.73959714",
"0.7394255",
"0.73615175",
"0.7317853",
"0.7291367",
"0.7283597",
"0.72314566",
"0.72144806",
"0.71785945",
"0.7141328",
"0.7141328",
"0.711... | 0.7574879 | 6 |
Returns True if the resolution from FPGA is valid and not floating. | def wayL(YKHO):
WJuo = YKHO._frame_manager.ComputeResolution()
ITS7.sleep(YKHO._DELAY_RESOLUTION_PROBE)
r7Cm = YKHO._frame_manager.ComputeResolution()
return WJuo == r7Cm and 0 not in WJuo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OK0g(YKHO) -> bool:\n return YKHO._floating",
"def OK0g(YKHO) -> bool:\n return _TCE(YKHO.dtype)",
"def n3kW(YKHO):\n return False",
"def RTAK(YKHO) -> bool:\n return YKHO._is_floating_point",
"def w7Xd(*qIxc):\n return IOEi.is_type_floating(*qIxc)",
"def QpCZ(NO5o):\n if NO5o >= 0 ... | [
"0.72168887",
"0.72109765",
"0.71654356",
"0.7064432",
"0.6866095",
"0.6839424",
"0.68057144",
"0.678943",
"0.67477137",
"0.67455065",
"0.6682326",
"0.6655416",
"0.6642335",
"0.6642335",
"0.6640125",
"0.6600306",
"0.65906405",
"0.65772766",
"0.65493673",
"0.65261674",
"0.6518... | 0.65996456 | 16 |
Returns True if the ``required`` number of reservations have been fulfilled. | def _ins(YKHO):
with YKHO.lock:
return YKHO.check_done | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pYzC(YKHO) -> bool:\n return qe4Y.get(YKHO, 'specific_reservation_required')",
"def cuJm(YKHO) -> bool:\n return YKHO._success_count >= YKHO._requested_count",
"def OAwr(YKHO):\n with YKHO.lock:\n mQcE = len(YKHO.reservations)\n return YKHO.required - mQcE",
"def HRZe(PKfm):\n f... | [
"0.7051202",
"0.68506145",
"0.64976096",
"0.6408734",
"0.6355726",
"0.62701106",
"0.62640524",
"0.6246442",
"0.6222481",
"0.6183291",
"0.6172978",
"0.6164054",
"0.61070013",
"0.6102902",
"0.6083244",
"0.6063585",
"0.6058304",
"0.60478586",
"0.60402995",
"0.60334605",
"0.60072... | 0.0 | -1 |
Get the ``trial_id`` of the trial assigned to ``partition_id``. Returns None if executor with ``partition_id`` is not registered or if ``partition_id`` is not assigned a trial yet. | def l6pk(YKHO, DkZ8):
with YKHO.lock:
StGp = YKHO.reservations.get(DkZ8, None)
if StGp is not None:
return StGp.get('trial_id', None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jhBz(YKHO, DkZ8):\n return YKHO.reservations.get_assigned_trial(DkZ8)",
"def hPyB(YKHO) -> int:\n return YWvJ(int, YKHO._partitionId)",
"def ShwH(YKHO):\n return YKHO._P.PartitionUuid",
"def Kh7c(hbFX):\n if bPvL[hbFX] in ('optuna_tpe', 'optuna_tpe_multivariate', 'optuna_skopt'):\n nPM... | [
"0.77874315",
"0.5980143",
"0.5900445",
"0.5831699",
"0.5757326",
"0.5703238",
"0.5683133",
"0.5683133",
"0.5658203",
"0.56456184",
"0.5623742",
"0.5589971",
"0.5533234",
"0.54995",
"0.5475308",
"0.5475308",
"0.54184884",
"0.53921825",
"0.5369435",
"0.5305284",
"0.5305284",
... | 0.80265844 | 0 |
Create CLI parser and return parsed arguments | def P3j4():
wvEv = j1Jz.ArgumentParser()
wvEv.add_argument('--run', default='PPO', help='The RLlib-registered algorithm to use.')
wvEv.add_argument('--num-cpus', type=int, default=3)
wvEv.add_argument('--framework', choices=['tf', 'tf2', 'torch'], default='torch', help='The DL framework specifier.')
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yl6v():\n wvEv = WDqQ(prog=Hy7s.path.basename(HwRy.argv[0]), description='CLI for Amiga C Engine')\n wvEv.add_argument('-v', '--version', action='version', version=wx3I)\n wvEv.set_defaults()\n return wvEv",
"def SQzL():\n wvEv = j1Jz.ArgumentParser(description='Solve word paths problem')\n ... | [
"0.80493486",
"0.7974867",
"0.7971823",
"0.7951539",
"0.7940315",
"0.79081595",
"0.7884219",
"0.78222597",
"0.7736219",
"0.77280056",
"0.7723499",
"0.7705164",
"0.7695794",
"0.76913476",
"0.76887083",
"0.7684606",
"0.7646231",
"0.76389813",
"0.76341593",
"0.7613018",
"0.75951... | 0.0 | -1 |
initializes the UI and connects to the Model | def FIMM(YKHO):
Af_G.__init__(YKHO)
YKHO.view = alYQ()
YKHO.model = jmy6()
YKHO.view.setupUi(YKHO)
YKHO.view.label_Status.setText('OK')
YKHO.view.button_submit.clicked.connect(YKHO.submit)
YKHO.view.button_submit.pressed.connect(YKHO.calc)
YKHO.view.button_reset.pressed.connect(YKHO.rese... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n YKHO.view = ZrQz.MVC.View.ClientView(YKHO)\n YKHO.model = ZrQz.MVC.Model.Client(YKHO)\n YKHO.view.top.mainloop()",
"def FIMM(YKHO):\n super(rirZ, YKHO).__init__()\n YKHO.initConfiguration()\n YKHO.initUI()",
"def FIMM(YKHO, _AKB):\n super().__init__(parent=_AKB)\n YKHO... | [
"0.76963365",
"0.7250977",
"0.71804476",
"0.71112925",
"0.70162624",
"0.69658256",
"0.6919991",
"0.6857225",
"0.6845349",
"0.683378",
"0.683232",
"0.68125236",
"0.6802152",
"0.6801764",
"0.67615163",
"0.67595917",
"0.6733414",
"0.67312163",
"0.6728033",
"0.6726522",
"0.671842... | 0.6974731 | 5 |
Get last exception occurred if any | def AJ5d(YKHO):
return YKHO._exception | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AJ5d(YKHO):\n return YKHO.exceptions[-1]",
"def boKr():\n import traceback\n V2zj = kJm3.StringIO()\n traceback.print_exc(file=V2zj)\n return V2zj.getvalue()",
"def wiYR(YKHO):\n U34r = HwRy.exc_info()\n BQDi = YKHO.terminal.red(''.join(wVCK.format_exception_only(*U34r[0:2])))\n V2z... | [
"0.83259535",
"0.7544028",
"0.749417",
"0.74627066",
"0.74627066",
"0.7377375",
"0.7359984",
"0.6953697",
"0.68796647",
"0.68702245",
"0.684361",
"0.684361",
"0.6808208",
"0.6795273",
"0.67771465",
"0.6744286",
"0.67269766",
"0.6677346",
"0.6590338",
"0.65557104",
"0.6419783"... | 0.65601724 | 20 |
Split randomly the dataframe in which images and masks paths are keeped into train,validation and test | def gru_(bOBl, nrsA, Q4xi):
EvQg, xzCw, QOe9 = oyIN.split(bOBl.sample(frac=1, random_state=2), [int(nrsA * len(bOBl)), int(Q4xi * len(bOBl))])
assert len(bOBl) == len(EvQg) + len(xzCw) + len(QOe9)
return (EvQg, xzCw, QOe9) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aA9c(YKHO):\n YKHO.images_train, YKHO.images_test, YKHO.masks_train, YKHO.masks_test = bHtP(YKHO.images, YKHO.masks, test_size=YKHO.val_ratio, random_state=YKHO.seed, stratify=YKHO.stratify)",
"def fq8I():\n jQ3Z = rLdf.read_excel(GPtr['label_excel_path'], 'Sheet1')\n Tn29 = jQ3Z['Image']\n aSIZ ... | [
"0.7719928",
"0.7468128",
"0.73143506",
"0.71617055",
"0.7075105",
"0.6940228",
"0.6844431",
"0.68405217",
"0.680125",
"0.67876595",
"0.6764232",
"0.67541665",
"0.6749952",
"0.67219025",
"0.6720009",
"0.6697023",
"0.667438",
"0.665263",
"0.6641289",
"0.6640719",
"0.663604",
... | 0.6364181 | 65 |
This function processes a raw email string, divides it in single words. It also converts redundant features typical of spam email into words for cleaner ML data. | def hubg(hYJA):
wvEv = i9Wa()
l5Ny = wvEv.parsestr(hYJA)
"\n IMPLEMENT MULTIPART (MIME) MESSAGES AT A LATER TIME\n \n #Get body of the email\n if email.is_multipart():\n print 'Email is Multipart, var email will be a concatenated list of word lists'\n is_multipart = True\n #... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t4RZ(D3lj, JxSC=True, Kg9z=True, vY1N=True, uPUq=True, iKsa=True, cKm3=True, IuUc=True, nv2g=True, f9OB=True, hwHU=True, RMQS=True):\n if uPUq == True:\n D3lj = V5lt(D3lj)\n if JxSC == True:\n D3lj = QDJq(D3lj)\n if Kg9z == True:\n D3lj = hZgk(D3lj)\n if cKm3 == True:\n ... | [
"0.7095275",
"0.6934053",
"0.6800926",
"0.6716534",
"0.6403242",
"0.6369365",
"0.6353638",
"0.6345666",
"0.6345666",
"0.62472755",
"0.61746174",
"0.6118503",
"0.60691977",
"0.60614157",
"0.604433",
"0.6040014",
"0.60086197",
"0.5995093",
"0.598205",
"0.59754336",
"0.5973236",... | 0.71419 | 0 |
Normalizes this PMF so the sum of all probs is 1. | def NBqJ(YKHO, ciZM=None):
ciZM = ciZM or YKHO.Total()
for WKvO, XP5J in YKHO.d.iteritems():
YKHO.d[WKvO] = XP5J / ciZM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BAZW(yOP5):\n if (PmPi := yOP5.sum()) != 0:\n yOP5 /= PmPi\n else:\n yOP5 = oyIN.ones(len(yOP5)) / len(yOP5)\n return yOP5",
"def NkkI(YKHO):\n YKHO.scale(1 / YKHO.sum())",
"def CqNu(YKHO):\n CXQm = sum((S9Xt.probability for S9Xt in YKHO.scenarios))\n for S9Xt in YKHO.scenar... | [
"0.7051715",
"0.7006869",
"0.69521224",
"0.6870367",
"0.68248063",
"0.67774415",
"0.67722344",
"0.67722344",
"0.673905",
"0.6734031",
"0.67159295",
"0.653351",
"0.6532059",
"0.6531118",
"0.65050495",
"0.6417773",
"0.63954663",
"0.63691914",
"0.635364",
"0.6348869",
"0.6309898... | 0.0 | -1 |
Create list of stop words used in create_word_bag function. Stop words created here are defaults the user may add new stop words later with the add_stop_words function. This default list combines English stopwords from nltk corpus (stopwords), punctuation marks from python standard string library, and a customlist the ... | def lZ8B(YKHO):
pC3l = [ZfUD.decode('utf-8') for ZfUD in list(vIwR.punctuation)]
JCyR = di0c.words('english') + pC3l + [u'rt', u'RT', u'via', u'http', u"n't", u"'s", u'...', u"''", u"'m", u'--', u"'ll", u"'ve", u"'re", u'//www']
YKHO.stop_words = JCyR | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BGFs():\n hwHU = di0c.words('english')\n dDGN = ['.', ',', '<', '>', '@', '+', '=', 'subscribe', 'unsubscribe', '']\n hwHU = hwHU + dDGN\n return hwHU",
"def zzmi():\n hwHU = ['bc', 'http', 'https', 'co', 'com', 'rt', 'one', 'us', 'new', 'lol', 'may', 'get', 'want', 'like', 'love', 'no', 'than... | [
"0.8110765",
"0.7648483",
"0.7497978",
"0.74685097",
"0.7431974",
"0.7377065",
"0.73052347",
"0.71699864",
"0.71382487",
"0.7117784",
"0.70472014",
"0.7034964",
"0.696463",
"0.69245446",
"0.68993175",
"0.6864759",
"0.66905326",
"0.66895765",
"0.6671561",
"0.6661932",
"0.66619... | 0.7570616 | 2 |
Lowers case of text in all the tweets, usernames, mentions and hashtags in the tweets_df dataframe, if the dataframe has those columns. | def lDrh(YKHO):
Txl5 = list(YKHO.tweets_df.columns.values)
if 'username' in Txl5:
YKHO.tweets_df['username'] = YKHO.tweets_df.username.str.lower()
if 'text' in Txl5:
YKHO.tweets_df['text'] = YKHO.tweets_df.text.str.lower()
if 'mentions' in Txl5:
YKHO.tweets_df['mentions'] = YKHO.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vjiu(YKHO):\n YKHO.tweets_df['text_type'] = YKHO.tweets_df['text'].map(lambda l5Ny: type(l5Ny))\n YKHO.tweets_df = YKHO.tweets_df[YKHO.tweets_df.text_type == QMSQ]\n del YKHO.tweets_df['text_type']\n YKHO.tweets_df.index = range(len(YKHO.tweets_df))",
"def KQ4x(jQ3Z):\n jQ3Z['full_text_process... | [
"0.65902305",
"0.64996994",
"0.6305733",
"0.63047034",
"0.6201414",
"0.61201006",
"0.6104329",
"0.60814303",
"0.6071016",
"0.606187",
"0.60518813",
"0.60229176",
"0.60105324",
"0.5966863",
"0.5943563",
"0.59104407",
"0.5890188",
"0.58899766",
"0.58859956",
"0.58848625",
"0.58... | 0.8516768 | 0 |
Keeps only tweets where tweet text is unicode. This drops the occasional tweet that has a NaN value in dataset, which becomes a float when read into tweets_df. | def vjiu(YKHO):
YKHO.tweets_df['text_type'] = YKHO.tweets_df['text'].map(lambda l5Ny: type(l5Ny))
YKHO.tweets_df = YKHO.tweets_df[YKHO.tweets_df.text_type == QMSQ]
del YKHO.tweets_df['text_type']
YKHO.tweets_df.index = range(len(YKHO.tweets_df)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h9J1(YKHO, nPrm):\n mHfq = rLdf.DataFrame(nPrm, columns=['tweet'])\n mHfq['Real_tweet'] = mHfq['tweet']\n print('convert to lowercase')\n mHfq['tweet'] = mHfq['tweet'].str.lower()\n print('removing the tweets username.')\n mHfq['tweet'] = oyIN.vectorize(YKHO.remove_pattern)(mHfq['tweet'], '@[... | [
"0.7209954",
"0.72091764",
"0.6559305",
"0.6512223",
"0.64437705",
"0.643309",
"0.6431134",
"0.6426041",
"0.6401006",
"0.64007413",
"0.63944507",
"0.63827294",
"0.6304058",
"0.62874687",
"0.6271886",
"0.62691617",
"0.6261419",
"0.6248162",
"0.62271863",
"0.6167857",
"0.615054... | 0.82166517 | 0 |
Check if the data is a enum option (or potentially nested list of enum option) and convert it to its value. This method is used to preprocess the data for the filters as they can take an graphene.Enum as argument, but filters (from django_filters) expect a simple value. | def n2lq(nPrm):
if isinstance(nPrm, list):
return [n2lq(ZfUD) for ZfUD in nPrm]
if isinstance(type(nPrm), vY6J):
return nPrm.value
else:
return nPrm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MLnW(YKHO, BWXx):\n if isinstance(BWXx, qQ1Y.Enum):\n BWXx = BWXx.value\n elif isinstance(BWXx, str):\n BWXx = YKHO.field_type[BWXx].value\n return BWXx",
"def zg9l(nPrm, Y8RE):\n if isinstance(nPrm, Y8RE) or nPrm is None:\n return nPrm\n if isinstance(nPrm, bHD7):\n ... | [
"0.6316124",
"0.59568864",
"0.58791447",
"0.5839434",
"0.57842016",
"0.57601655",
"0.5729882",
"0.56703776",
"0.5636066",
"0.5611544",
"0.5600333",
"0.5557539",
"0.5545602",
"0.5544846",
"0.5486898",
"0.5481804",
"0.5481448",
"0.5426292",
"0.5420104",
"0.54140365",
"0.5407069... | 0.686306 | 0 |
Return unique elements from list while preserving order. | def dDv2(Q6uT):
PwWw = set()
aygV = PwWw.add
return [WKvO for WKvO in Q6uT if not (WKvO in PwWw or aygV(WKvO))] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kcwm(qnba: List) -> x1iM:\n U5bT = []\n for ZfUD in qnba:\n if ZfUD not in U5bT:\n U5bT.append(ZfUD)\n return U5bT",
"def kcwm(list):\n PwWw = set()\n return [WKvO for WKvO in list if not (WKvO in PwWw or PwWw.add(WKvO))]",
"def vaOw(qnba: list) -> list:\n S06t = list()\... | [
"0.8425912",
"0.82349086",
"0.8227674",
"0.81885594",
"0.80963457",
"0.8085511",
"0.80449265",
"0.8042017",
"0.8042017",
"0.8032669",
"0.79943657",
"0.79419476",
"0.7912798",
"0.78403527",
"0.77868956",
"0.7700114",
"0.76954985",
"0.76848364",
"0.7652059",
"0.7644802",
"0.757... | 0.0 | -1 |
Convert an int or float to a nice string. E.g., 21 > '21' 2.500 > '2.5' 3. > '3' | def Et_c(mLGw):
return '{0:0.02f}'.format(mLGw).rstrip('0').rstrip('.') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gTzM(exwG: float) -> str:\n return str(exwG)",
"def gTzM(exwG: float) -> str:\n return str(exwG)",
"def gTzM(exwG: float) -> str:\n return str(exwG)",
"def gTzM(exwG: float) -> str:\n return str(exwG)",
"def gTzM(exwG: float) -> str:\n return str(exwG)",
"def gTzM(exwG: float) -> str:\... | [
"0.78874093",
"0.78874093",
"0.78874093",
"0.78874093",
"0.78874093",
"0.78874093",
"0.77213",
"0.74513686",
"0.7418689",
"0.7313978",
"0.7213598",
"0.7208636",
"0.71967715",
"0.7131913",
"0.7029021",
"0.7007734",
"0.6973258",
"0.69406873",
"0.692404",
"0.69182664",
"0.690490... | 0.6890926 | 23 |
Turn a list into a comma and/or andseparated string. | def hrsK(yv6U):
if len(yv6U) == 1:
Jkv0 = yv6U[0]
elif len(yv6U) == 2:
Jkv0 = ' and '.join(yv6U)
elif len(yv6U) > 2:
Jkv0 = ', '.join(yv6U[:-1])
Jkv0 += ', and {0}'.format(yv6U[-1])
else:
raise ValueError('List of length 0 provided.')
return Jkv0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hrsK(yv6U):\n if len(yv6U) == 1:\n Jkv0 = yv6U[0]\n elif len(yv6U) == 2:\n Jkv0 = ' and '.join(yv6U)\n elif len(yv6U) > 2:\n Jkv0 = ', '.join(yv6U[:-1])\n Jkv0 += ', and {0}'.format(yv6U[-1])\n else:\n raise ValueError('List of length 0 provided.')\n return Jkv... | [
"0.8160219",
"0.8120923",
"0.79128903",
"0.78583634",
"0.78453076",
"0.78056127",
"0.77790177",
"0.7760521",
"0.769653",
"0.7688152",
"0.7688152",
"0.7670805",
"0.76396847",
"0.76253587",
"0.7556383",
"0.7517326",
"0.7487087",
"0.74781543",
"0.74633527",
"0.74633235",
"0.7399... | 0.80950576 | 2 |
Calculates the mean and standard deviation of the given dataset. | def T_r4(__n6, ApQ8: int=3) -> tuple:
JyoU = ht2j.utils.data.DataLoader(__n6, batch_size=1, num_workers=2)
JBMS = ht2j.zeros(ApQ8)
u2KW = ht2j.zeros(ApQ8)
for nPrm, pan_ in JyoU:
for YRbF in range(ApQ8):
JBMS += nPrm[:, YRbF, :, :].mean()
u2KW += nPrm[:, YRbF, :, :].std()... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sdUi(__n6):\n Z9NT = XTiz.dstack([__n6[YRbF][1][:, :, 0] for YRbF in range(len(__n6))])\n v6gz = XTiz.dstack([__n6[YRbF][1][:, :, 1] for YRbF in range(len(__n6))])\n Xo2I = XTiz.dstack([__n6[YRbF][1][:, :, 2] for YRbF in range(len(__n6))])\n JBMS = (XTiz.mean(Z9NT), XTiz.mean(v6gz), XTiz.mean(Xo2I)... | [
"0.8422704",
"0.8415702",
"0.8080916",
"0.798373",
"0.79286623",
"0.78296804",
"0.76692903",
"0.76692903",
"0.7647954",
"0.7627091",
"0.75888383",
"0.74865294",
"0.7412646",
"0.73873055",
"0.73034656",
"0.72324973",
"0.7226652",
"0.7207924",
"0.71723247",
"0.70996505",
"0.704... | 0.6931976 | 27 |
Dense version of GAT. | def FIMM(YKHO, mQkE, l_wy, q1vv, hr1G, Cwt5, prkQ):
super(sjZv, YKHO).__init__()
YKHO.dropout = hr1G
YKHO.attentions = [qz4s(mQkE, l_wy, dropout=hr1G, alpha=Cwt5, concat=True) for bGrB in range(prkQ)]
for YRbF, v2uf in enumerate(YKHO.attentions):
YKHO.add_module('attention_{}'.format(YRbF), v2uf... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def y4I9(YKHO):\n YKHO.g = YKHO.tensor.calcBhattacharyya(YKHO.l)",
"def ZVsL(YKHO):\n qi6C = [[ZylS.identity(Vlb9) for Vlb9 in YKHO.params] for aTqo in range(YKHO.batch_size_G)]\n KgqM = ZylS.split(YKHO.X, YKHO.batch_size_G)\n WVfN = ZylS.split(YKHO.y, YKHO.batch_size_G)\n EinP = [YKHO.model_fun(Z... | [
"0.64760274",
"0.61745125",
"0.6032927",
"0.6025716",
"0.5986026",
"0.5918554",
"0.5891656",
"0.58866566",
"0.58427864",
"0.58353937",
"0.5828208",
"0.5822424",
"0.58105785",
"0.5805133",
"0.5799729",
"0.57900155",
"0.5789868",
"0.57867205",
"0.57813394",
"0.57669044",
"0.576... | 0.0 | -1 |
Finds the artifact 'name' among the 'artifacts' | def OOJF(G_if, mWFP):
for dIeA in G_if:
if dIeA['name'] == mWFP:
return dIeA
raise Exception('Input artifact named "{0}" not found in event'.format(mWFP)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OOJF(G_if, mWFP):\n for dIeA in G_if:\n if dIeA['name'] == mWFP:\n return dIeA\n raise Exception('Input artifact named \"{0}\" not found in event'.format(mWFP))",
"def sPXf(YKHO, mWFP):\n LZHM = [dIeA for dIeA in YKHO.artifacts if dIeA.title == mWFP]\n if len(LZHM) != 1:\n ... | [
"0.81814593",
"0.7815122",
"0.69185185",
"0.6902806",
"0.67642236",
"0.66044664",
"0.6459969",
"0.63526565",
"0.6300736",
"0.6295869",
"0.6265565",
"0.6238947",
"0.6225977",
"0.62080383",
"0.61882484",
"0.612886",
"0.60775083",
"0.6028585",
"0.6018293",
"0.5963156",
"0.595139... | 0.8181538 | 0 |
The Lambda function handler If a continuing job then checks the CloudFormation stack status and updates the job accordingly. If a new job then kick of an update or creation of the target CloudFormation stack. | def cfQO(tvqc, QpfX):
try:
print(tvqc)
rjee = tvqc['CodePipeline.job']['id']
nPOI = tvqc['CodePipeline.job']['data']
NArs = W375(nPOI)
print(type(NArs))
print(NArs)
G_if = nPOI['inputArtifacts']
l7uq = NArs['StackOutput']
mWFP = NArs['Name']
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cfQO(tvqc, QpfX):\n SOd5 = Hy7s.environ['InitFWStateMachine']\n V9d7 = Hy7s.environ['fw_mgt_ip']\n rJDA = Hy7s.environ['api_key']\n bo34.info('Got event {}'.format(tvqc))\n x4wP = {}\n x4wP['data'] = 'Success'\n if tvqc['RequestType'] == 'Create':\n Cx6Q = UvWL(SOd5, V9d7, rJDA)\n ... | [
"0.6305083",
"0.628025",
"0.6150624",
"0.61406565",
"0.6036427",
"0.60305977",
"0.60245925",
"0.599496",
"0.5946872",
"0.5919063",
"0.5913085",
"0.5863999",
"0.5770435",
"0.57377446",
"0.56716543",
"0.5640033",
"0.5637403",
"0.56024563",
"0.5584248",
"0.5570428",
"0.557023",
... | 0.67369425 | 0 |
Returns a random png image. | def fHTR():
LNo8 = IsCN.get_random_picture(dVi8, Wl2e)
ichU = ZylS.image.encode_png(LNo8)
with BfDw.nogpu_session() as cb_Q:
Ylbp = cb_Q.run(ichU)
return Ylbp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nNyV():\n return Nhuv.get_random_example(tgY5.ALEX_NET)",
"def W5_v():\n WFRJ = SC2F.glob(X8Rg.model.paths.images + '/*.jpg')\n tuKI.shuffle(WFRJ)\n LNo8 = hnIv.open(WFRJ[0])\n return LNo8",
"def QeqI():\n return hnIv.open(R5in + '/image-butler.png')",
"def W5_v(YKHO):\n qmWM = YKHO.... | [
"0.78112936",
"0.77491623",
"0.74993205",
"0.692338",
"0.6882695",
"0.68312365",
"0.67519724",
"0.6682955",
"0.662481",
"0.65952384",
"0.6563646",
"0.6550231",
"0.6548343",
"0.65415555",
"0.6533834",
"0.6510763",
"0.6448716",
"0.64127755",
"0.6394419",
"0.6371917",
"0.6371752... | 0.72887653 | 3 |
Converts a list of floats to strings. | def s18d(ZSoC):
return ['{:0.2f}'.format(WKvO) for WKvO in ZSoC] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LxnF(DumB):\n A0ru = ', '.join(('%1.5f' % (YRbF,) for YRbF in DumB))\n return '[%s]' % A0ru",
"def Bkmf(ZSoC, FlCO=3):\n ZSoC = Pltf(ZSoC, FlCO)\n return Iimo(ZSoC)",
"def Yck6(vymM):\n H39H = '[' + ' '.join(['%.3f' % wEf2 for wEf2 in vymM]) + ']'\n return H39H",
"def GvQr(YKHO, uBiB, F... | [
"0.8358899",
"0.8145249",
"0.80084777",
"0.7328862",
"0.72900224",
"0.72899693",
"0.7165147",
"0.6853769",
"0.68095076",
"0.6797346",
"0.6754178",
"0.6676975",
"0.6619448",
"0.65499467",
"0.6518769",
"0.6494122",
"0.6492211",
"0.6455859",
"0.6448207",
"0.6432756",
"0.6364804"... | 0.7086432 | 7 |
Converts a list of ints to strings. | def tzcw(PVOR):
return ['{:d}'.format(WKvO) for WKvO in PVOR] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def O3te(aqea):\n pass",
"def u5dL(IqQl):\n pwKa = ' '.join((str(YRbF) for YRbF in IqQl))\n return pwKa",
"def u5dL(PVOR):\n hnjo = [bytes([Z9rn]) for Z9rn in PVOR]\n return ''.join([Z9rn.decode() for Z9rn in hnjo])",
"def XQ0m(list: List[int], g8rx: str) -> int:\n return g8rx.join(map(str,... | [
"0.8752113",
"0.84684366",
"0.804434",
"0.80248344",
"0.7965274",
"0.7906376",
"0.75057477",
"0.7420784",
"0.7314903",
"0.7260085",
"0.7228696",
"0.7191212",
"0.7139242",
"0.7106125",
"0.7015795",
"0.69733506",
"0.6946587",
"0.6929183",
"0.6894617",
"0.68556005",
"0.6831532",... | 0.59311056 | 90 |
Generates annotations for a random number of objects in the image. | def U3cS():
ICn2 = []
for bGrB in range(oyIN.random.choice(range(1, 10))):
ICn2.append(Mh3d())
for bGrB in range(oyIN.random.choice(range(1, 3))):
ICn2.append(CRdj())
return ICn2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def J1Mc(YKHO, J8nv):\n J8nv = J8nv[0] if type(J8nv) == list else J8nv\n u54L = len(YKHO.mylist[J8nv]['image/object/class/label'].values.numpy())\n XgyP = {'labels': oyIN.empty((u54L,), dtype=oyIN.int32), 'bboxes': oyIN.empty((u54L, 4), dtype=oyIN.float32), 'quadrangles': oyIN.empty((u54L, 4, 2), dtype=oy... | [
"0.64440054",
"0.64306825",
"0.637719",
"0.6347515",
"0.6322787",
"0.63057125",
"0.6264606",
"0.62341774",
"0.62135",
"0.6200585",
"0.6183977",
"0.6136765",
"0.60911137",
"0.60545033",
"0.604789",
"0.6005125",
"0.5999132",
"0.5959277",
"0.5930079",
"0.5906562",
"0.5905679",
... | 0.6833736 | 0 |
Return list of prime factors of n. Factors appear repeated if appropriate. | def WEYW(exwG):
Llmz = []
while not exwG % 2:
Llmz.append(2)
exwG /= 2
aM8h = 3
while exwG > 1:
if not exwG % aM8h:
Llmz.append(aM8h)
exwG /= aM8h
else:
aM8h += 2
if aM8h * aM8h > exwG:
Llmz.append(int(exwG))... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uBVK(exwG):\n YRbF = 2\n Llmz = []\n while YRbF * YRbF <= exwG:\n if exwG % YRbF:\n YRbF += 1\n else:\n exwG //= YRbF\n Llmz.append(YRbF)\n if exwG > 1:\n Llmz.append(exwG)\n return Llmz",
"def uBVK(exwG):\n Fv5F = []\n qoqK = int(PZy... | [
"0.912149",
"0.8995332",
"0.8994126",
"0.89779645",
"0.8956602",
"0.89528495",
"0.8926672",
"0.88960916",
"0.8893384",
"0.88850975",
"0.8883343",
"0.8883343",
"0.88534546",
"0.88469964",
"0.8825454",
"0.8825454",
"0.8819578",
"0.87963206",
"0.87947077",
"0.8770565",
"0.876841... | 0.87897295 | 19 |
Return list of prime factors of n. Factors appear repeated if appropriate, and are taken from given list of primes. | def gZgN(exwG, rPed):
Llmz = []
while not exwG % 2:
Llmz.append(2)
exwG /= 2
m9cy = 1
while exwG > 1:
ffYW = rPed[m9cy]
if not exwG % ffYW:
Llmz.append(ffYW)
exwG /= ffYW
else:
m9cy += 1
ffYW = rPed[m9cy]
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uBVK(exwG):\n Fv5F = []\n qoqK = int(PZyS(exwG))\n for YRbF in range(3, qoqK, 2):\n if exwG % YRbF == 0 and T1qg(YRbF):\n Fv5F.append(YRbF)\n return Fv5F",
"def aWCg(exwG: int):\n Ylbp = []\n WdZV(exwG, Ylbp)\n return Ylbp",
"def uBVK(exwG):\n Tzwn = []\n for Fu... | [
"0.87474585",
"0.87344146",
"0.8727089",
"0.87268245",
"0.8718063",
"0.87168044",
"0.8677064",
"0.8641776",
"0.8637899",
"0.8597685",
"0.8555014",
"0.85508054",
"0.8541558",
"0.85236055",
"0.85117865",
"0.85117865",
"0.8481293",
"0.84682333",
"0.8462376",
"0.8454586",
"0.8454... | 0.8503147 | 16 |
Use 'create' to create a Request object. The payload is already sent. | async def create(GGmw, oUZx, nPrm):
QePW = VNUm(oUZx)
await QePW.send(GGmw, nPrm)
return QePW | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eLpg(YKHO):\n YKHO.state.request_create(YKHO)",
"def eLpg(YKHO):\n YKHO.state.request_create(YKHO)",
"def d9vn(YKHO, MgI3, *qIxc, **B2fa):\n return wcXs(MgI3, *qIxc, **B2fa)",
"def eLpg(YKHO, QePW, *qIxc, **B2fa):\n pass",
"def pXPL(YKHO, NKcE, *NArs):\n return YKHO._send('createRequest'... | [
"0.77112216",
"0.77112216",
"0.75699675",
"0.75340044",
"0.7369236",
"0.7351418",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",
"0.7273006",... | 0.0 | -1 |
Make a ``number`` of test model instances and return a queryset. | def xN_c(FGW3):
for bGrB in range(FGW3):
mDi0.objects.create()
return mDi0.objects.all().order_by('pk') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k66M(YKHO):\n return mmzx.objects.filter(run_num__exact=int(YKHO.kwargs['run_num'])).values()",
"def FCbF(YKHO):\n for YRbF in range(13):\n l9vt(text=YRbF).save()\n YKHO.objects = l9vt.objects\n YKHO.data = [{'id': YEnM.id, 'text': YEnM.text} for YEnM in YKHO.objects.all()]\n YKHO.view ... | [
"0.6399605",
"0.6296477",
"0.62566173",
"0.62566173",
"0.6201192",
"0.6189475",
"0.61426675",
"0.6096117",
"0.604296",
"0.60178035",
"0.59199095",
"0.59097606",
"0.58012307",
"0.5769004",
"0.57474464",
"0.57336646",
"0.55725235",
"0.55606043",
"0.5551635",
"0.5507725",
"0.550... | 0.76446104 | 0 |
Gets the id of this EntriesCartDetailResponse. | def id(YKHO):
return YKHO._id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVCJ(YKHO):\n return YKHO._cart_id",
"def v8bJ(YKHO) -> int:\n return YKHO._shopping_cart_id",
"def v8bJ(YKHO) -> int:\n return YKHO._shopping_cart_id",
"def h3zs(YKHO):\n return YKHO._id_cartao",
"def h3zs(YKHO):\n return YKHO._id_cartao",
"def IfZy(YKHO, hkxX):\n mApZ, Ko6S = hkxX... | [
"0.75461644",
"0.65595156",
"0.65595156",
"0.6508915",
"0.6508915",
"0.6291465",
"0.6097545",
"0.59697866",
"0.5861102",
"0.58319783",
"0.580964",
"0.5779948",
"0.57692456",
"0.57692456",
"0.57609683",
"0.5757807",
"0.57323533",
"0.57146907",
"0.56832194",
"0.5668833",
"0.566... | 0.0 | -1 |
Sets the id of this EntriesCartDetailResponse. | def id(YKHO, id):
YKHO._id = id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVCJ(YKHO, sVCJ):\n YKHO._cart_id = sVCJ",
"def sVCJ(YKHO, sVCJ):\n YKHO._cart_id = sVCJ",
"def sVCJ(YKHO, sVCJ):\n YKHO._cart_id = sVCJ",
"def h3zs(YKHO, h3zs):\n YKHO._id_cartao = h3zs",
"def h3zs(YKHO, h3zs):\n YKHO._id_cartao = h3zs",
"def V_9M(YKHO, id):\n YKHO.id = id",
"def... | [
"0.7036516",
"0.7036516",
"0.7036516",
"0.6359639",
"0.6359639",
"0.62976235",
"0.62976235",
"0.62783444",
"0.6259872",
"0.6258255",
"0.6249843",
"0.61955464",
"0.61955464",
"0.61662877",
"0.61662877",
"0.61662877",
"0.61662877",
"0.6156531",
"0.6139808",
"0.6076023",
"0.6058... | 0.0 | -1 |
Gets the event_name of this EntriesCartDetailResponse. | def jkf2(YKHO):
return YKHO._event_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return YKHO.eventname",
"def iQG7(YKHO) -> str:\n return 'Market event [date: %s]' % YKHO.date",
"def Q0HP(YKHO, H5ew):\n try:\n return YKHO._eventNames[YKHO.getId(H5ew)]\n except KeyError:\n return 'Unknown (%s)' % H5ew",
"def mWFP(YKHO):\n return YKHO.get(jpDq... | [
"0.652594",
"0.63664955",
"0.62345666",
"0.61482465",
"0.6052457",
"0.6038674",
"0.5858218",
"0.57311064",
"0.57202506",
"0.5662386",
"0.5645739",
"0.5578257",
"0.5578257",
"0.5568131",
"0.5544212",
"0.5532964",
"0.55295813",
"0.55295813",
"0.55278724",
"0.55230105",
"0.55223... | 0.69764966 | 0 |
Sets the event_name of this EntriesCartDetailResponse. | def jkf2(YKHO, jkf2):
YKHO._event_name = jkf2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HxBj(YKHO, HxBj):\n YKHO._cart_name = HxBj",
"def omp9(YKHO, tvqc: Event) -> None:\n if tvqc.group == BNgb.INPUT and tvqc.id in YKHO.device.api.vapix.ports and YKHO.device.api.vapix.ports[tvqc.id].name:\n YKHO._attr_name = YKHO.device.api.vapix.ports[tvqc.id].name\n elif tvqc.group == BNgb.MO... | [
"0.6523877",
"0.600138",
"0.5613725",
"0.56114733",
"0.5540619",
"0.5529026",
"0.54431677",
"0.54431677",
"0.54431677",
"0.5312964",
"0.5223409",
"0.5186522",
"0.5087275",
"0.5087275",
"0.5085118",
"0.5085118",
"0.5085118",
"0.5081636",
"0.5081118",
"0.5056693",
"0.5046888",
... | 0.7084679 | 0 |
Sets the start_date of this EntriesCartDetailResponse. | def kepv(YKHO, kepv):
YKHO._start_date = kepv | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YFxH(YKHO, kepv):\n YKHO._start_date = kepv",
"def YFxH(YKHO, kepv):\n YKHO.__start_date = kepv",
"def kepv(YKHO, kepv):\n YKHO._start_date = kepv",
"def wEtp(YKHO, wEtp):\n YKHO._date_start = wEtp",
"def wEtp(YKHO, wEtp):\n YKHO._date_start = wEtp",
"def wEtp(YKHO, wEtp):\n YKHO._d... | [
"0.7586656",
"0.75390923",
"0.7336239",
"0.7192294",
"0.7192294",
"0.7192294",
"0.7192294",
"0.7192294",
"0.71774423",
"0.70820373",
"0.6850944",
"0.6803357",
"0.6630973",
"0.6552113",
"0.6238324",
"0.62358844",
"0.6099032",
"0.60852134",
"0.6051396",
"0.6031575",
"0.60059536... | 0.74954015 | 11 |
Sets the city of this EntriesCartDetailResponse. | def j5sA(YKHO, j5sA):
YKHO._city = j5sA | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MFwm(YKHO, j5sA: str):\n YKHO.__city = j5sA\n return YKHO",
"def Eg4e(YKHO, nPrm):\n YKHO.city = nPrm",
"def j5sA(YKHO, j5sA: str):\n YKHO._city = j5sA",
"def j5sA(YKHO, j5sA: str):\n YKHO._city = j5sA",
"def j5sA(YKHO, j5sA):\n if j5sA is None:\n raise ValueError('Invalid valu... | [
"0.75086325",
"0.73701626",
"0.7280503",
"0.7280503",
"0.7156902",
"0.7147726",
"0.6815254",
"0.6800643",
"0.6656291",
"0.64553756",
"0.6301896",
"0.6265379",
"0.62412715",
"0.6210104",
"0.6208246",
"0.6205975",
"0.6146083",
"0.6146083",
"0.6127594",
"0.6127594",
"0.6127594",... | 0.72190523 | 14 |
Gets the end_user_first_name of this EntriesCartDetailResponse. | def Es7D(YKHO):
return YKHO._end_user_first_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def c9ua(YKHO) -> str:\n return qe4Y.get(YKHO, 'first_name')",
"def c9ua(YKHO):\n return YKHO.user.first_name",
"def c9ua(YKHO):\n return YKHO.user.first_name",
"def c9ua(YKHO):\n return YKHO._dict.get('first_name')",
"def fz1W(YKHO):\n return YKHO._first_name",
"def fz1W(YKHO) -> str:\n ... | [
"0.7677345",
"0.7646478",
"0.7646478",
"0.76341176",
"0.7580822",
"0.7577918",
"0.7518097",
"0.750418",
"0.750418",
"0.750418",
"0.750418",
"0.750418",
"0.750418",
"0.750418",
"0.74898696",
"0.7478619",
"0.7478619",
"0.7478619",
"0.7478619",
"0.7478619",
"0.7478619",
"0.747... | 0.7651583 | 1 |
Gets the end_user_last_name of this EntriesCartDetailResponse. | def XT3O(YKHO):
return YKHO._end_user_last_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zp3f(YKHO):\n return YKHO.user.last_name",
"def zp3f(YKHO):\n return YKHO.user.last_name",
"def zp3f(YKHO):\n return YKHO._dict.get('last_name')",
"def zp3f(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_name')",
"def CCKR(YKHO) -> str:\n return YKHO.last_name",
"def CCKR(YKHO):\n retu... | [
"0.7549495",
"0.7549495",
"0.75177157",
"0.7491329",
"0.74594146",
"0.7426868",
"0.7409893",
"0.7370561",
"0.7307406",
"0.7305557",
"0.7305557",
"0.7305557",
"0.7305557",
"0.7305557",
"0.7305557",
"0.7305557",
"0.73047775",
"0.73047775",
"0.73047775",
"0.73047775",
"0.7304777... | 0.77202445 | 0 |
Gets the price_name of this EntriesCartDetailResponse. | def rywp(YKHO):
return YKHO._price_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NXNA(YKHO):\n return YKHO.getData()['price']",
"def N_Zi(YKHO):\n return YKHO.price",
"def N_Zi(YKHO):\n return YKHO.price",
"def N_Zi(YKHO):\n return YKHO.price",
"def N_Zi(YKHO):\n return YKHO._price",
"def N_Zi(YKHO):\n return YKHO._price",
"def NXNA(YKHO):\n return YKHO.pri... | [
"0.6332053",
"0.61074764",
"0.60989636",
"0.6083926",
"0.60453886",
"0.6040045",
"0.6028773",
"0.60114634",
"0.5985243",
"0.5985243",
"0.59337735",
"0.5848824",
"0.5848824",
"0.5848824",
"0.5847292",
"0.5847292",
"0.58328134",
"0.5823159",
"0.5822306",
"0.5822306",
"0.5822306... | 0.7488861 | 0 |
Sets the price_name of this EntriesCartDetailResponse. | def rywp(YKHO, rywp):
YKHO._price_name = rywp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HxBj(YKHO, HxBj):\n YKHO._cart_name = HxBj",
"def Wb4o(YKHO, hI0L: float) -> None:\n YKHO.price = hI0L",
"def rywp(YKHO):\n return YKHO._price_name",
"def sVlw(YKHO, sVlw):\n YKHO._price_id = sVlw",
"def sVlw(YKHO, sVlw):\n YKHO._price_id = sVlw",
"def sVlw(YKHO, sVlw):\n YKHO._pric... | [
"0.6068081",
"0.5960874",
"0.5923098",
"0.59004617",
"0.59004617",
"0.59004617",
"0.5887077",
"0.5834984",
"0.5810771",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0.57989186",
"0... | 0.7794082 | 0 |
Gets the price_value_cents of this EntriesCartDetailResponse. | def a7HW(YKHO):
return YKHO._price_value_cents | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a7HW(YKHO, a7HW):\n YKHO._price_value_cents = a7HW",
"def z7Kw(YKHO):\n return sum((ZjSO(ZfUD['price']) * ZfUD['quantity'] for ZfUD in YKHO.cart.values()))",
"def woGg(YKHO):\n return sum([ZfUD.total_price for ZfUD in YKHO])",
"def Foen(YKHO) -> uLKX[int, float, ZjSO]:\n return sum([getattr(Z... | [
"0.6363703",
"0.6201937",
"0.5861111",
"0.5681794",
"0.567356",
"0.5583887",
"0.55748683",
"0.5566814",
"0.5526633",
"0.55196834",
"0.55148387",
"0.5511699",
"0.5511699",
"0.55057764",
"0.5461926",
"0.5457879",
"0.5446863",
"0.544668",
"0.5441258",
"0.5441258",
"0.54235333",
... | 0.79898065 | 0 |
Gets the position of this EntriesCartDetailResponse. | def dQgj(YKHO):
return YKHO._position | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def utVw(YKHO):\n return YKHO.sensors[1]",
"def dQgj(YKHO):\n return YKHO['position']",
"def MZFS(YKHO):\n return YKHO.position",
"def MZFS(YKHO):\n return YKHO.position",
"def MZFS(YKHO):\n return YKHO.position",
"def dQgj(YKHO) -> cuzp[str, ImMB]:\n return YKHO.raw_data['position']",
... | [
"0.6785464",
"0.64062786",
"0.6231517",
"0.61989594",
"0.61989594",
"0.61909026",
"0.6135154",
"0.6120619",
"0.6120619",
"0.61181265",
"0.61181265",
"0.610972",
"0.6100356",
"0.6073784",
"0.6067232",
"0.60611266",
"0.60547465",
"0.60537934",
"0.6051015",
"0.6050659",
"0.60436... | 0.6077974 | 14 |
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 |
Get current event bus. | def jvSB():
import rave.game, rave.engine
BH3N = ct57.game.current()
if not BH3N:
return ct57.engine.engine.events
return BH3N.events | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JR6M(YKHO):\n return YKHO.__msgBus",
"def Suqd():\n return YKHO.messagebus",
"def Pjr8():\n global _bus\n if CmsP is None:\n yO50 = JLXL('http').bus.redis_queue\n CmsP = l7Vs(**R0jI(), redis_queue=yO50)\n return CmsP",
"def OFDX(YKHO):\n if YKHO._event_bus is None:\n ... | [
"0.7113299",
"0.7085469",
"0.69505876",
"0.66438097",
"0.6605777",
"0.6398052",
"0.61639553",
"0.60517615",
"0.59783673",
"0.59670585",
"0.58902943",
"0.58717686",
"0.5854164",
"0.57898384",
"0.57898384",
"0.5786888",
"0.57812786",
"0.5772094",
"0.5748201",
"0.5741137",
"0.57... | 0.59182566 | 10 |
Generate a random id string which has a timestamp prefix. | def P2ei(yokr: Any=None):
if yokr:
tuKI.seed(yokr)
return qcWV.datetime.now().strftime('%s') + ''.join([tuKI.choice(vIwR.ascii_lowercase + vIwR.digits) for bGrB in range(10)]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _Nnl():\n mrPm = vIwR.ascii_lowercase + vIwR.digits\n Aofo = ''.join([tuKI.choice(mrPm) for bGrB in range(10)])\n Aofo = Aofo + '-{}'.format(qcWV.datetime.now().strftime('%Y%m%d%H%M%S'))\n return Aofo",
"def hqie():\n return str(int(ITS7.time()))",
"def M4Pm():\n Jv62 = f'{tuKI.randrange(... | [
"0.8416976",
"0.82592356",
"0.81979704",
"0.81923515",
"0.80819887",
"0.80500776",
"0.79605585",
"0.79239917",
"0.79239917",
"0.7872672",
"0.7872672",
"0.7859794",
"0.77987045",
"0.7758505",
"0.7755905",
"0.77308017",
"0.7716444",
"0.76694065",
"0.7662907",
"0.76449513",
"0.7... | 0.7586875 | 24 |
If your ORM implements the data mapper pattern instead of active record, then you can implement this method to commit the session after all the models have been added to it. | def jSYO(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jSYO(YKHO):\n if YKHO.__session:\n YKHO.__session.commit()",
"def xkzz(YKHO):\n YKHO._session.add(YKHO)\n return YKHO.safe_commit()",
"def xkzz(YKHO):\n YKHO.__session.commit()",
"def _GyT(YKHO):\n cuiw.add(YKHO)\n cuiw.flush()\n cuiw.commit()\n cuiw.refresh(YKHO)",
"def ... | [
"0.7007212",
"0.68544024",
"0.68524164",
"0.6828873",
"0.6810317",
"0.6788215",
"0.6788215",
"0.670773",
"0.6662516",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.66561145",
"0.6... | 0.0 | -1 |
One image / label pair for the given index is picked up and preprocessed. | def OP2O(YKHO, d6pt):
VXjJ, pan_ = YKHO.dtlpy_loader[d6pt]
CWDC = d6pt
jNMD = (VXjJ.shape[0], VXjJ.shape[1])
if YKHO.preproc is not None:
VXjJ, pan_ = YKHO.preproc(VXjJ, pan_, YKHO.input_dim)
return (VXjJ, pan_, jNMD, CWDC) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OP2O(YKHO, d6pt):\n U34r = YKHO.files[d6pt].split(' ')\n VqRE = 'data/test/' + U34r[1]\n VXjJ = G5il(VqRE)\n UXqs = YKHO.mapping[U34r[2].rstrip('\\n')]\n VXjJ = hnIv.fromarray(VXjJ)\n VXjJ = YKHO.transform(VXjJ)\n return (VXjJ, UXqs)",
"def OP2O(YKHO, d6pt):\n UXqs = Acvy(YKHO.labels)... | [
"0.7408095",
"0.7335555",
"0.7227989",
"0.70921797",
"0.70105714",
"0.69863284",
"0.6946802",
"0.6918298",
"0.6906017",
"0.6870462",
"0.68425685",
"0.6764393",
"0.67554647",
"0.67543566",
"0.6740912",
"0.67090076",
"0.67016476",
"0.6695568",
"0.6691735",
"0.66711164",
"0.6668... | 0.6484566 | 37 |
Calculate the score from the evaluated_variable. | def hckV(MK1g, GEwF, cCrA):
if MK1g > GEwF:
return cCrA[0]
elif MK1g > 0.5 * GEwF:
return cCrA[1]
elif MK1g > 0.1 * GEwF:
return cCrA[2]
else:
return cCrA[3] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b7La(YKHO):\n return YKHO.score",
"def yFnZ(YKHO) -> float:\n raise NotImplementedError",
"def fHT3(rfNN):\n return rfNN.getScore()",
"def fHT3(Ov5A):\n return Ov5A.getScore()",
"def fHT3(Ov5A):\n return Ov5A.getScore()",
"def fHT3(Ov5A):\n return Ov5A.getScore()",
"def b7La(YKHO)... | [
"0.77627283",
"0.7195375",
"0.71581936",
"0.7142291",
"0.7142291",
"0.71405196",
"0.71069044",
"0.7097089",
"0.7095203",
"0.7094778",
"0.7094346",
"0.7055953",
"0.7054954",
"0.70261943",
"0.70261943",
"0.70261943",
"0.70261943",
"0.70261943",
"0.70261943",
"0.70261943",
"0.70... | 0.6754151 | 92 |
Function creates configured Spark session for Yarn | def F8fu(mWFP: str, Js3H: dict, KBUS=False) -> lBG2:
PNq_ = Js3H.pop('environ')
Hy7s.environ['SPARK_HOME'] = PNq_['spark_home']
Hy7s.environ['PYSPARK_PYTHON'] = PNq_['pyspark_python']
Hy7s.environ['PATH'] = f'/bin:{Hy7s.environ['PATH']}'
if KBUS:
EKkU = CD35("yarn node -list | grep 'Total No... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yu9h():\n ujem = lBG2.builder.config('spark.jars.packages', 'org.apache.hadoop:hadoop-aws:2.7.0').getOrCreate()\n print('Spark session created.')\n return ujem",
"def F8fu(eAID=True, PJWX=False):\n Sa_m = XYQe(appName='cms-cpu-efficiency')\n return lBG2.builder.config(conf=Sa_m._conf).getOrCre... | [
"0.7945914",
"0.79359984",
"0.7916467",
"0.7916467",
"0.78994477",
"0.78482854",
"0.7846223",
"0.7841419",
"0.78205085",
"0.7817748",
"0.7806058",
"0.77858305",
"0.77821577",
"0.77818143",
"0.77695227",
"0.7767606",
"0.776165",
"0.776165",
"0.776165",
"0.776165",
"0.776165",
... | 0.73048043 | 48 |
Provide the count of unread messages for an authenticated user. | def ssvq(QePW):
if QePW.user.is_authenticated():
geh0 = {'postman_unread_count': LuKW.objects.inbox_unread_count(QePW.user)}
if QePW.user.tier == 1 or QePW.user.tier == 0:
try:
geh0['homeTag'] = QePW.user.tag.all()[0].tagName
except:
pass
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NAAL(CBIr):\n return Esm4.unread(CBIr).count()",
"def Jtig(YKHO, YEnM):\n QePW = YKHO.context.get('request', None)\n if QePW:\n return QePW.user.messages_received.filter(is_seen=False).count()",
"def g_rW(uJjO: int):\n return LuKW.query.filter(LuKW.to_user_id == uJjO, LuKW.read == Uiw6()... | [
"0.84373987",
"0.81714296",
"0.7961682",
"0.7888968",
"0.7792022",
"0.7703771",
"0.7635128",
"0.75349206",
"0.7534075",
"0.7213029",
"0.7200857",
"0.7106089",
"0.70915794",
"0.70460445",
"0.6981907",
"0.69674665",
"0.6899406",
"0.6869623",
"0.68683136",
"0.6849931",
"0.678363... | 0.6405875 | 41 |
Builds an error node of a JSONAPI response | def FIMM(YKHO, aeup, **B2fa):
YKHO.detail = aeup
YKHO.id = B2fa.get('id', {})
YKHO.links = B2fa.get('links', {})
YKHO.status_code = B2fa.get('status_code', 400)
YKHO.code = B2fa.get('code', {})
YKHO.title = B2fa.get('title', {})
YKHO.source = B2fa.get('source', {})
YKHO.meta = B2fa.get('... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Y__t(YKHO):\n return jnRN({'error': YKHO.message, 'status': 'error'}, status=YKHO.status)",
"def Xvu9(JBZA):\n return {'status': 'error', 'error': JBZA}",
"def s1zX(geh0):\n V2h5 = {}\n V2h5['code'] = geh0.status_code\n V2h5['status'] = VLTN(geh0.status_code)\n V2h5['errors'] = WJIV(geh0.... | [
"0.6927574",
"0.6892056",
"0.68821186",
"0.68756473",
"0.6839101",
"0.6839101",
"0.68071115",
"0.68012077",
"0.6796882",
"0.676466",
"0.66791993",
"0.6629296",
"0.6621405",
"0.6619735",
"0.65951574",
"0.65951574",
"0.6523334",
"0.651392",
"0.65108234",
"0.6501459",
"0.6498937... | 0.0 | -1 |
Function that returns True if the object is an instance of a class that inherited (directly or indirectly) from the specified class; otherwise False. | def b_gB(YEnM, J9Xy):
if type(YEnM) is J9Xy or not isinstance(YEnM, J9Xy):
return False
else:
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b_gB(YEnM, J9Xy):\n if isinstance(YEnM, J9Xy) and type(YEnM) is J9Xy:\n return False\n else:\n return True",
"def b_gB(YEnM, J9Xy):\n if isinstance(YEnM, J9Xy) and issubclass(J9Xy, YEnM.__class__) is False:\n return True\n else:\n return False",
"def b_gB(YEnM, J9Xy)... | [
"0.8404314",
"0.83596987",
"0.8344911",
"0.82464945",
"0.8234978",
"0.8232459",
"0.8208655",
"0.82036024",
"0.81789774",
"0.81789774",
"0.81248146",
"0.8116069",
"0.81050897",
"0.8090766",
"0.80732584",
"0.80723363",
"0.8060062",
"0.80222976",
"0.8011983",
"0.7902993",
"0.787... | 0.82994 | 3 |
Gets the object_type of this HyperflexHxResiliencyInfoDt. The concrete type of this complex type. The ObjectType property must be set explicitly by API clients when the type is ambiguous. In all other cases, the ObjectType is optional. The type is ambiguous when a managed object contains an array of nested documents, a... | def vcaS(YKHO):
return YKHO._object_type | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vcaS(YKHO) -> str:\n return qe4Y.get(YKHO, 'object_type')",
"def JZ2F(YKHO, YEnM):\n mkit = YKHO.model_service.resource_manager\n return mkit.get_type_of(YEnM)",
"def vcaS(YKHO):\n return YKHO.__object_type",
"def vcaS(YKHO) -> qe4Y.Input[uLKX[str, 'ObjectType']]:\n return qe4Y.get(YKHO, '... | [
"0.69005406",
"0.68944097",
"0.6838607",
"0.661525",
"0.61970687",
"0.6083918",
"0.6072899",
"0.6039243",
"0.5997879",
"0.59892434",
"0.5968582",
"0.5862799",
"0.57881725",
"0.5771113",
"0.5739441",
"0.57254004",
"0.5712027",
"0.57038563",
"0.57006973",
"0.57006973",
"0.56822... | 0.6921082 | 3 |
Sets the object_type of this HyperflexHxResiliencyInfoDt. The concrete type of this complex type. The ObjectType property must be set explicitly by API clients when the type is ambiguous. In all other cases, the ObjectType is optional. The type is ambiguous when a managed object contains an array of nested documents, a... | def vcaS(YKHO, vcaS):
YKHO._object_type = vcaS | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vcaS(YKHO, vcaS):\n if vcaS is None:\n raise ValueError('Invalid value for `object_type`, must not be `None`')\n YKHO._object_type = vcaS",
"def vcaS(YKHO, vcaS):\n if vcaS is None:\n raise ValueError('Invalid value for `object_type`, must not be `None`')\n YKHO._object_type = vcaS"... | [
"0.73962957",
"0.71980125",
"0.5944527",
"0.5944527",
"0.5924796",
"0.5888829",
"0.5748714",
"0.56952196",
"0.5668003",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
"0.5665827",
... | 0.7230135 | 4 |
Gets the data_replication_factor of this HyperflexHxResiliencyInfoDt. | def N4Qm(YKHO):
return YKHO._data_replication_factor | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N4Qm(YKHO, N4Qm):\n BbPm = ['ONE_COPY', 'TWO_COPIES', 'THREE_COPIES', 'FOUR_COPIES', 'SIX_COPIES']\n if N4Qm not in BbPm:\n raise ValueError('Invalid value for `data_replication_factor` ({0}), must be one of {1}'.format(N4Qm, BbPm))\n YKHO._data_replication_factor = N4Qm",
"def iBJ3(C13M):\n ... | [
"0.59035265",
"0.5624775",
"0.55803263",
"0.54547065",
"0.537017",
"0.537017",
"0.537017",
"0.537017",
"0.537017",
"0.537017",
"0.53238726",
"0.5304131",
"0.5257863",
"0.5198986",
"0.5194536",
"0.5168399",
"0.51591927",
"0.5139888",
"0.51299614",
"0.5097584",
"0.50935656",
... | 0.80054003 | 0 |
Sets the messages of this HyperflexHxResiliencyInfoDt. | def yEHD(YKHO, yEHD):
YKHO._messages = yEHD | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Cjrh(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='delay-res-msg-received', rest_name='delay-res-msg-received', pare... | [
"0.5810188",
"0.5711876",
"0.5691378",
"0.56097883",
"0.5519171",
"0.54254425",
"0.54166126",
"0.53730065",
"0.53446704",
"0.52564967",
"0.5234932",
"0.5234932",
"0.5213714",
"0.5206381",
"0.5172925",
"0.5170124",
"0.51649153",
"0.51649153",
"0.51649153",
"0.51649153",
"0.516... | 0.60326034 | 1 |
Gets the node_failures_tolerable of this HyperflexHxResiliencyInfoDt. | def dJwe(YKHO):
return YKHO._node_failures_tolerable | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dJwe(YKHO, dJwe):\n YKHO._node_failures_tolerable = dJwe",
"def LccS(YKHO):\n return YKHO._hdd_failures_tolerable",
"def ouw9(YKHO):\n return YKHO._ssd_failures_tolerable",
"def _KOW(YKHO) -> int:\n return qe4Y.get(YKHO, 'failure_threshold')",
"def _KOW(YKHO) -> int:\n return qe4Y.get(YK... | [
"0.7100734",
"0.6543782",
"0.63767797",
"0.5728011",
"0.5728011",
"0.5728011",
"0.57248926",
"0.5714451",
"0.5676119",
"0.55377036",
"0.55377036",
"0.5451579",
"0.5451579",
"0.5428231",
"0.5428231",
"0.536278",
"0.5338106",
"0.5283194",
"0.51996934",
"0.5132994",
"0.5084921",... | 0.7890584 | 0 |
Gets the policy_compliance of this HyperflexHxResiliencyInfoDt. | def hCuw(YKHO):
return YKHO._policy_compliance | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qabx(YKHO):\n return YKHO._policy",
"def Qabx(YKHO):\n return YKHO._policy",
"def Qabx(YKHO):\n return YKHO._policy",
"def Qabx(YKHO):\n return YKHO._policy",
"def Qabx(YKHO):\n return YKHO._policy",
"def Qabx(YKHO):\n return YKHO._policy",
"def Qabx(YKHO):\n return YKHO._polic... | [
"0.6255974",
"0.6255974",
"0.6255974",
"0.6255974",
"0.6255974",
"0.6255974",
"0.6255974",
"0.6255974",
"0.6155533",
"0.6012129",
"0.5980895",
"0.5959423",
"0.59524393",
"0.59226733",
"0.59226733",
"0.5857591",
"0.58310866",
"0.57778263",
"0.5774872",
"0.57722783",
"0.5729949... | 0.7616309 | 0 |
Gets the resiliency_state of this HyperflexHxResiliencyInfoDt. | def J4Bq(YKHO):
return YKHO._resiliency_state | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PKJf(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_state')",
"def IBiY(YKHO, PcW4=''):\n Co34 = YKHO._get_resource_type(PcW4)\n if YKHO._has_agent(Co34):\n yLse = MuHN(resource_id=PcW4)\n return yLse.get_resource_state(resource_id=PcW4)\n raise rDSL('Not implemented for resource t... | [
"0.63493556",
"0.6098003",
"0.60587436",
"0.5980449",
"0.58800197",
"0.5663649",
"0.5614229",
"0.560048",
"0.55444866",
"0.55076855",
"0.5502262",
"0.5465434",
"0.5441823",
"0.5426692",
"0.54007673",
"0.5392243",
"0.53866154",
"0.5367945",
"0.536603",
"0.53586894",
"0.5355128... | 0.8076462 | 0 |
Gets the ssd_failures_tolerable of this HyperflexHxResiliencyInfoDt. | def ouw9(YKHO):
return YKHO._ssd_failures_tolerable | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ouw9(YKHO, ouw9):\n YKHO._ssd_failures_tolerable = ouw9",
"def LccS(YKHO):\n return YKHO._hdd_failures_tolerable",
"def dJwe(YKHO):\n return YKHO._node_failures_tolerable",
"def LccS(YKHO, LccS):\n YKHO._hdd_failures_tolerable = LccS",
"def JQsP(YKHO):\n return YKHO._tolerant_errors",
... | [
"0.7171814",
"0.7039761",
"0.6370411",
"0.6285246",
"0.6054086",
"0.56337273",
"0.56337273",
"0.56337273",
"0.5557439",
"0.5557439",
"0.5517554",
"0.5474195",
"0.5474195",
"0.5467481",
"0.54632056",
"0.5407008",
"0.5400027",
"0.5349936",
"0.5349936",
"0.5276902",
"0.52651966"... | 0.7874018 | 0 |
Sets the ssd_failures_tolerable of this HyperflexHxResiliencyInfoDt. | def ouw9(YKHO, ouw9):
YKHO._ssd_failures_tolerable = ouw9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LccS(YKHO, LccS):\n YKHO._hdd_failures_tolerable = LccS",
"def dJwe(YKHO, dJwe):\n YKHO._node_failures_tolerable = dJwe",
"def ouw9(YKHO):\n return YKHO._ssd_failures_tolerable",
"def LccS(YKHO):\n return YKHO._hdd_failures_tolerable",
"def dJwe(YKHO):\n return YKHO._node_failures_tolera... | [
"0.7465075",
"0.6755724",
"0.6722509",
"0.5789325",
"0.52650905",
"0.52182424",
"0.4983669",
"0.4832939",
"0.48229018",
"0.4745755",
"0.4745755",
"0.47046492",
"0.47046492",
"0.4694104",
"0.4694104",
"0.4694104",
"0.4658976",
"0.46459123",
"0.46459123",
"0.4589006",
"0.454284... | 0.8337509 | 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 |
Returns dictionary of capabilities for specific Browserstack browser/os combination | def pbFQ(YKHO, GhIg):
rYVC = YKHO.shishito_support.get_opt
return {'acceptSslCerts': rYVC('accept_ssl_cert').lower() == 'false', 'browser': rYVC(GhIg, 'browser'), 'browser_version': rYVC(GhIg, 'browser_version'), 'resolution': rYVC(GhIg, 'resolution')} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FzIq():\n return Mz7D()._current_browser().capabilities",
"def AViC():\n return _yx6()",
"def MtaK(QUTX, dJ1p):\n AViC = {'browserName': QUTX['SELENIUM_BROWSER'], 'acceptInsecureCerts': bool(QUTX.get('SELENIUM_INSECURE_CERTS', False)), 'video-upload-on-pass': False, 'sauce-advisor': False, 'captur... | [
"0.74618506",
"0.7214462",
"0.6941242",
"0.68785536",
"0.6742648",
"0.67277503",
"0.6654621",
"0.657578",
"0.657578",
"0.6567081",
"0.65454686",
"0.6485945",
"0.6477582",
"0.6466851",
"0.6460747",
"0.64528555",
"0.6421463",
"0.64125985",
"0.6337235",
"0.62856394",
"0.6278971"... | 0.68963575 | 3 |
POST method for creating categories. | def m8z6(YKHO):
xGqu = QePW.get_json()
CniQ = wvnR()
VKpQ = CniQ.load_object_into_schema(xGqu)
Ghho = qZuN(**VKpQ)
Ghho = Ghho.save()
return ({'status': 'success', 'message': Sim_['CREATED'].format('Category'), 'data': CniQ.dump(Ghho).data}, 201) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m8z6(YKHO):\n nPrm = QePW.json\n vIHM(nPrm)\n return (None, 201)",
"def m8z6(YKHO):\n gf_J = QePW.json\n return Z9rn.create_new_category(gf_J)",
"def i3CN():\n if not QePW.get_json():\n return Yxsy(pz3A({'error': 'Not a JSON'}), 400)\n if 'label' not in QePW.get_json():\n ... | [
"0.85875225",
"0.8550878",
"0.7935042",
"0.7653293",
"0.7586296",
"0.74191695",
"0.73796964",
"0.7339674",
"0.73359185",
"0.72714466",
"0.7263783",
"0.72533214",
"0.72507185",
"0.7186427",
"0.71680707",
"0.7080666",
"0.7074488",
"0.7067036",
"0.7063741",
"0.7062692",
"0.70568... | 0.7825735 | 3 |
Get a team by its name. | def SFxi(cuiw, mWFP):
return JuIK(cuiw, mWFP) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PS48(mWFP):\n return r2Kd.query.filter_by(team_name=mWFP).first()",
"async def get_team(vlUL, xKro):\n return await vlUL.getitem(f'/orgs/python/teams/{xKro}')",
"def SFxi(xKro: str):\n return r2Kd.query.filter_by(name=xKro).one_or_none()",
"def zjbk(rJco, xKro):\n for dZPi in rJco:\n i... | [
"0.86837345",
"0.8372334",
"0.8315303",
"0.8034274",
"0.7656474",
"0.7644471",
"0.75703704",
"0.7368504",
"0.7272214",
"0.7163302",
"0.7120878",
"0.70000803",
"0.69182295",
"0.6912674",
"0.6878974",
"0.67754745",
"0.6728022",
"0.67221045",
"0.6719881",
"0.6711867",
"0.6702281... | 0.87875825 | 0 |
Breaks a list into list of sublists, each of length no more than n. | def CJwC(rl9D, exwG):
Aofo = []
for o7uO in range(0, len(rl9D), exwG):
Aofo.append(rl9D[o7uO:o7uO + exwG])
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E0cw(mZmz, exwG):\n zIio = len(mZmz)\n mZmz = iter(mZmz)\n Nk3Y = int(oyIN.ceil(1.0 * zIio / exwG))\n if Nk3Y * (exwG - 1) == zIio:\n BbOj = exwG - 1\n else:\n BbOj = exwG\n CJwC = iter(lambda: list(Hs6x.islice(mZmz, Nk3Y)), [])\n return (CJwC, BbOj)",
"def sehz(vC9B, exwG)... | [
"0.8066326",
"0.7953191",
"0.7914258",
"0.79131794",
"0.7902949",
"0.78898335",
"0.78836644",
"0.7882889",
"0.78634274",
"0.7852943",
"0.7791582",
"0.7790096",
"0.7786939",
"0.77784425",
"0.77587605",
"0.77304995",
"0.7723337",
"0.76950336",
"0.76950336",
"0.7694196",
"0.7693... | 0.78192437 | 10 |
Sets the seed for this env's random number generator(s). Returns Returns the list of seeds used in this env's random number generators | def yokr(YKHO, yokr=None):
oyIN.random.seed(yokr) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yokr(YKHO, yokr=None):\n if yokr is None:\n return []\n YKHO.np_random.seed(yokr)\n return [yokr]",
"def yokr(YKHO, yokr=None):\n YKHO.np_random, yokr = ch3p.utils.seeding.np_random(yokr)\n return [yokr]",
"def yokr(YKHO, yokr=None):\n YKHO.np_random, yokr = ch3p.utils.seeding.np_r... | [
"0.85478115",
"0.85139674",
"0.85139674",
"0.8493276",
"0.8493276",
"0.8481556",
"0.84643584",
"0.84643584",
"0.833765",
"0.8326445",
"0.8312906",
"0.8239152",
"0.82098633",
"0.82087404",
"0.8184539",
"0.81677973",
"0.80840766",
"0.80699843",
"0.8010481",
"0.78281265",
"0.774... | 0.7211503 | 34 |
Load an image from file into a numpy array. Puts image into numpy array to feed into tensorflow graph. Note that by convention we put it into a numpy array with shape (height, width, channels), where channels=3 for RGB. | def IrN9(pmON):
ThLH = ZylS.io.gfile.GFile(pmON, 'rb').read()
LNo8 = hnIv.open(aKaX(ThLH))
nbX2, t4ML = LNo8.size
return oyIN.array(LNo8.getdata()).reshape((t4ML, nbX2, 3)).astype(oyIN.uint8) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IrN9(pmON):\n LNo8 = None\n if pmON.startswith('http'):\n geh0 = Kf9k(pmON)\n UiEM = geh0.read()\n UiEM = aKaX(UiEM)\n LNo8 = hnIv.open(UiEM)\n else:\n UiEM = ZylS.io.gfile.GFile(pmON, 'rb').read()\n LNo8 = hnIv.open(aKaX(UiEM))\n nbX2, t4ML = LNo8.size\n ... | [
"0.7937703",
"0.79122984",
"0.79122984",
"0.7867506",
"0.7867506",
"0.7863189",
"0.7823624",
"0.77983797",
"0.77720624",
"0.77720624",
"0.77720624",
"0.77720624",
"0.7758636",
"0.7748399",
"0.7638673",
"0.7632324",
"0.7610274",
"0.7585558",
"0.7572414",
"0.75381553",
"0.74787... | 0.79167986 | 1 |
Get the name of the state | def Q0HP(YKHO):
return YKHO.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rlcK():\n return QTBn()[1]",
"def mWFP(YKHO):\n return YKHO.current_state.name",
"def cOz4(YKHO):\n return getattr(YKHO.state, 'name', YKHO.state)",
"def bAAu(YKHO):\n return str(YKHO.current_state or BfDw.get_state(YKHO))",
"def mWFP(YKHO):\n return YKHO._state_variable_info['name']",
... | [
"0.92051953",
"0.88724434",
"0.88699013",
"0.8770076",
"0.8617995",
"0.85896844",
"0.8570312",
"0.83984226",
"0.8276428",
"0.82528305",
"0.80291253",
"0.795467",
"0.79151535",
"0.78519964",
"0.7810492",
"0.7658978",
"0.7653538",
"0.7653538",
"0.7653538",
"0.7653538",
"0.76535... | 0.0 | -1 |
calculate average mean of passed data | def qqgr(nPrm):
try:
wjRY = 0
for YRbF in range(len(nPrm)):
wjRY = wjRY + nPrm[YRbF]
return wjRY / len(nPrm)
except TypeError as e:
print(f'{tTpl}')
print('please pass list of numbers') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nC2r(nPrm):\n raise NotImplementedError",
"def nC2r(YKHO):\n return oyIN.mean(YKHO.data)",
"def S8vG(BkYD):\n return qw7D.mean(BkYD)",
"def qqgr(YKHO, nPrm):\n return sum(nPrm) / float(len(nPrm))",
"def qqgr(nPrm):\n qw7D = oyIN.asarray(nPrm[1])\n return (nPrm[0], oyIN.mean(qw7D[oyIN.... | [
"0.83942616",
"0.82495",
"0.8204965",
"0.82003206",
"0.81869656",
"0.81555855",
"0.8134236",
"0.8088564",
"0.7921883",
"0.7909894",
"0.78836876",
"0.7749514",
"0.7732614",
"0.76939386",
"0.76634824",
"0.7646013",
"0.76277655",
"0.76221126",
"0.76133996",
"0.7608589",
"0.76068... | 0.0 | -1 |
Sets the merchant_product_no of this ChannelOrderLineRequest. | def Ss1G(YKHO, Ss1G):
if YKHO.local_vars_configuration.client_side_validation and Ss1G is not None and (len(Ss1G) > 50):
raise ValueError('Invalid value for `merchant_product_no`, length must be less than or equal to `50`')
if YKHO.local_vars_configuration.client_side_validation and Ss1G is not None and... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kmsK(YKHO, kmsK):\n YKHO._product_field_no = kmsK",
"def l1CP(YKHO, l1CP):\n if YKHO.local_vars_configuration.client_side_validation and l1CP is None:\n raise ValueError('Invalid value for `channel_product_no`, must not be `None`')\n if YKHO.local_vars_configuration.client_side_validation and... | [
"0.610007",
"0.5886036",
"0.56958187",
"0.56946343",
"0.56946343",
"0.56388843",
"0.55705446",
"0.55111426",
"0.54562736",
"0.54509264",
"0.52727157",
"0.5261959",
"0.5228686",
"0.52215034",
"0.52069926",
"0.5150807",
"0.5137084",
"0.5136582",
"0.5136582",
"0.5136582",
"0.513... | 0.7548351 | 0 |
Sets the quantity of this ChannelOrderLineRequest. | def cTRz(YKHO, cTRz):
if YKHO.local_vars_configuration.client_side_validation and cTRz is None:
raise ValueError('Invalid value for `quantity`, must not be `None`')
if YKHO.local_vars_configuration.client_side_validation and cTRz is not None and (cTRz < 0):
raise ValueError('Invalid value for `q... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cTRz(YKHO, cTRz):\n YKHO._quantity = cTRz\n return YKHO",
"def oZPx(YKHO, BWXx):\n YKHO.__quantity = BWXx",
"def zLxv(YKHO, zFiD):\n vexM = YKHO._get_quantity()\n zFiD.quantity = vexM\n zFiD.save()\n tO9_ = \"The quantity of '%s' has been set to %d\" % (zFiD.product, vexM)\n yEHD.in... | [
"0.75800705",
"0.75632805",
"0.75449634",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.75192845",
"0.7434354",
"0.74333256",
"0.7164039",
"0.7164039",
"0.71309584",
... | 0.6837503 | 25 |
Sets the cancellation_requested_quantity of this ChannelOrderLineRequest. | def U2s4(YKHO, U2s4):
if YKHO.local_vars_configuration.client_side_validation and U2s4 is not None and (U2s4 < 0):
raise ValueError('Invalid value for `cancellation_requested_quantity`, must be a value greater than or equal to `0`')
YKHO._cancellation_requested_quantity = U2s4 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vzbc(YKHO, Vzbc):\n if YKHO.local_vars_configuration.client_side_validation and Vzbc is None:\n raise ValueError('Invalid value for `cancel_requested`, must not be `None`')\n YKHO._cancel_requested = Vzbc",
"def K4zJ(YKHO, K4zJ):\n YKHO._total_canceled = K4zJ",
"def AD2E(YKHO, AD2E):\n Y... | [
"0.57574075",
"0.54801524",
"0.53627807",
"0.5332795",
"0.53055274",
"0.5260077",
"0.5254887",
"0.5217167",
"0.5178017",
"0.51749825",
"0.51543957",
"0.5146077",
"0.51435167",
"0.51367307",
"0.5124301",
"0.51150954",
"0.51121414",
"0.51112956",
"0.5108291",
"0.5065284",
"0.50... | 0.8422288 | 0 |
Sets the fee_rate of this ChannelOrderLineRequest. | def euPN(YKHO, euPN):
if YKHO.local_vars_configuration.client_side_validation and euPN is not None and (euPN < 0):
raise ValueError('Invalid value for `fee_rate`, must be a value greater than or equal to `0`')
YKHO._fee_rate = euPN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yJok(YKHO, yJok):\n YKHO._fee_currency = yJok",
"def woha(YKHO, woha):\n YKHO._fee = woha",
"def woha(YKHO, woha):\n YKHO._fee = woha",
"def woha(YKHO, woha):\n YKHO._fee = woha",
"def woha(YKHO, woha):\n YKHO._fee = woha",
"def woha(YKHO, woha):\n YKHO._fee = woha",
"def Q7p0(YKH... | [
"0.6654263",
"0.6513275",
"0.6513275",
"0.6513275",
"0.6513275",
"0.64784914",
"0.61032426",
"0.5767344",
"0.5701588",
"0.56396693",
"0.56137633",
"0.56005025",
"0.5595709",
"0.5573377",
"0.551788",
"0.55007243",
"0.55002683",
"0.5458475",
"0.54324716",
"0.53702754",
"0.53677... | 0.77025294 | 0 |
Sets the condition of this ChannelOrderLineRequest. | def XEri(YKHO, XEri):
YKHO._condition = XEri | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XEri(YKHO, XEri):\n YKHO._condition = XEri",
"def DpR3(YKHO, seET, XEri):\n YKHO.condition = {seET: XEri}\n return YKHO",
"def sOCW(YKHO, XEri):\n return J8uC.SBBreakpoint_SetCondition(YKHO, XEri)",
"def sOCW(YKHO, XEri):\n return J8uC.SBWatchpoint_SetCondition(YKHO, XEri)",
"def sOCW(YK... | [
"0.7013265",
"0.661018",
"0.6534432",
"0.65336233",
"0.64857405",
"0.6468926",
"0.642206",
"0.6143888",
"0.6111686",
"0.60908633",
"0.6017359",
"0.59650016",
"0.5926714",
"0.5926714",
"0.58174133",
"0.5802958",
"0.5741637",
"0.56829464",
"0.5641095",
"0.55833936",
"0.55354136... | 0.7027266 | 1 |
Sets the expected_delivery_date of this ChannelOrderLineRequest. | def s41Q(YKHO, s41Q):
YKHO._expected_delivery_date = s41Q | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GO4G(YKHO, GO4G):\n YKHO._proposal_delivery_date = GO4G",
"def is_z(YKHO, is_z):\n YKHO._min_estimated_delivery_date = is_z",
"def goqH(YKHO):\n YKHO.env.company.security_lead = 2.0\n YKHO.company_data['default_warehouse'].write({'delivery_steps': 'pick_pack_ship'})\n YKHO.company_data['defa... | [
"0.6852561",
"0.6308884",
"0.5995843",
"0.58445793",
"0.5837438",
"0.57973623",
"0.57379",
"0.572356",
"0.56169957",
"0.5505867",
"0.54133964",
"0.5324573",
"0.52836967",
"0.52281594",
"0.52038884",
"0.5187611",
"0.5186481",
"0.51834536",
"0.5150662",
"0.51441973",
"0.5142904... | 0.8744036 | 0 |
Returns the string representation of the model | def gTzM(YKHO):
return CgYo.pformat(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
if not isinstance(Elif, xYqn):
return True
return YKHO.to_dict() != Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(... | [
"0.8392633",
"0.8354901",
"0.82950056",
"0.8132309",
"0.81149805",
"0.8099986",
"0.809911",
"0.8097883",
"0.8097883",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8066694",
"0.80594814",
"0.805757",
... | 0.0 | -1 |
Get the name to use for the page object. | def s5Q9(YKHO, YEnM):
if YKHO.context_page_name:
return YKHO.context_page_name
elif isinstance(YEnM, FYrf.Model):
return YEnM._meta.object_name.lower()
else:
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZMJR(YKHO) -> str:\n mWFP = YKHO.file_name\n if YKHO.file_name.startswith(YKHO._prefix):\n mWFP = mWFP[len(YKHO._prefix):]\n if YKHO.file_name.endswith('.py'):\n mWFP = mWFP[:-len('.py')]\n return mWFP",
"def wGWt(YKHO):\n return YKHO.__name",
"def wGWt(YKHO):\n return YKHO.... | [
"0.7902937",
"0.77586395",
"0.77586395",
"0.7747184",
"0.77394557",
"0.77394557",
"0.77394557",
"0.77394557",
"0.77394557",
"0.77394557",
"0.7735562",
"0.7727945",
"0.7720699",
"0.7720699",
"0.7720699",
"0.7714904",
"0.7714904",
"0.7714904",
"0.7714904",
"0.7714904",
"0.76960... | 0.0 | -1 |
Insert the single object into the context dict. | def tCbc(YKHO, **B2fa):
QpfX = {}
JVHI = YKHO.get_context_page_name(YKHO.page)
if JVHI:
QpfX[JVHI] = YKHO.page
QpfX.update(B2fa)
return super().get_context_data(**QpfX) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kWYI(YKHO, eHpk, YEnM):\n YKHO._assert_active()\n ei4T, bGrB = YKHO._stack[-1]\n ei4T.add((eHpk, YEnM))",
"def MJDX(YKHO):\n super(inFo, YKHO).set_context()\n YKHO.add_context(YKHO.get_object_context_name(), YKHO.get_object())",
"def JPHp(YKHO, object):\n if not YKHO.dirty:\n dict.... | [
"0.68686134",
"0.6528084",
"0.65019584",
"0.6362745",
"0.61572444",
"0.6091406",
"0.60718",
"0.60718",
"0.60718",
"0.60718",
"0.60718",
"0.60586613",
"0.60485613",
"0.60485613",
"0.6022682",
"0.5986518",
"0.59599143",
"0.59523016",
"0.5943284",
"0.5943284",
"0.5918167",
"0.... | 0.0 | -1 |
Get the content object from kwargs. Defaults to querying by slug. | def EPt3(YKHO):
hGN5 = None
if YKHO.model and YKHO.slug_url_kwarg:
s5ru = YKHO.kwargs.get(YKHO.slug_url_kwarg, None)
try:
hGN5 = VnK7.get_content_by_slug(s5ru)
except YKHO.model.DoesNotExist:
raise uhgT(bGrB('No %(name)s found matching the slug') % {'name': YKHO.m... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AMX5(YKHO, SR0I=None):\n bD7m = YKHO.kwargs.get('url')\n return wHLq.objects.get_by_url(bD7m)",
"def AMX5(YKHO):\n SR0I = YKHO.get_queryset()\n LCet = SR0I.model._meta.module_name\n mLfR = '%s_id' % LCet\n WBAH = YKHO.kwargs.get(mLfR, None)\n s5ru = YKHO.kwargs.get('slug', None)\n if ... | [
"0.70897675",
"0.7045965",
"0.69289696",
"0.687901",
"0.68768626",
"0.67507684",
"0.6679209",
"0.66601574",
"0.66450655",
"0.6628051",
"0.65705353",
"0.6531",
"0.64889354",
"0.64862955",
"0.64862955",
"0.6463546",
"0.6445418",
"0.6433507",
"0.64140016",
"0.6412458",
"0.640391... | 0.72182256 | 0 |
Get the name to use for the content object. | def G6q7(YKHO, YEnM):
if YKHO.context_content_name:
return YKHO.context_content_name
elif isinstance(YEnM, FYrf.Model):
return YEnM._meta.object_name.lower()
else:
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO):\n return str(YKHO.content)",
"def mWFP(YKHO) -> str:\n return YKHO.content['name']",
"def eW6D(YKHO):\n return None",
"def Q0HP(YKHO):\n return YKHO.get('object.name')",
"def wGWt(YKHO):\n return YKHO._name",
"def XWXe(YKHO):\n return YKHO.name",
"def XWXe(YKHO):\n ... | [
"0.83589894",
"0.8329222",
"0.8128158",
"0.78452533",
"0.7738636",
"0.7737063",
"0.7737063",
"0.7737063",
"0.773524",
"0.773524",
"0.7732374",
"0.7726815",
"0.7697091",
"0.7695622",
"0.7683846",
"0.76814336",
"0.7671542",
"0.7671542",
"0.7671542",
"0.7668319",
"0.7668319",
... | 0.0 | -1 |
Insert the single object into the context dict. | def tCbc(YKHO, **B2fa):
QpfX = {}
lA0w = YKHO.get_context_content_name(YKHO.content)
if lA0w:
QpfX[lA0w] = YKHO.content
QpfX.update(B2fa)
return super().get_context_data(**QpfX) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kWYI(YKHO, eHpk, YEnM):\n YKHO._assert_active()\n ei4T, bGrB = YKHO._stack[-1]\n ei4T.add((eHpk, YEnM))",
"def MJDX(YKHO):\n super(inFo, YKHO).set_context()\n YKHO.add_context(YKHO.get_object_context_name(), YKHO.get_object())",
"def JPHp(YKHO, object):\n if not YKHO.dirty:\n dict.... | [
"0.68686134",
"0.6528084",
"0.65019584",
"0.6362745",
"0.61572444",
"0.6091406",
"0.60718",
"0.60718",
"0.60718",
"0.60718",
"0.60718",
"0.60586613",
"0.60485613",
"0.60485613",
"0.6022682",
"0.5986518",
"0.59599143",
"0.59523016",
"0.5943284",
"0.5943284",
"0.5918167",
"0.... | 0.0 | -1 |
Returns whether the maximum limit of names has been added to the list of known peers. Always returns True if maxPeers is set to 0. | def dHDd(YKHO):
assert YKHO.getMaxPeers() == 0 or len(YKHO.getPeerNeighbors()) <= YKHO.getMaxPeers()
return YKHO.getMaxPeers() > 0 and len(YKHO.getPeerNeighbors()) == YKHO.getMaxPeers() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mbki(YKHO):\n VF_W = YKHO.server.download_list('incomplete')\n if len(VF_W) > YKHO.max_downloads:\n return True\n return False",
"def qTj1(YKHO):\n return len(YKHO.dicActiveProcesses) >= YKHO.intLimit",
"def Yykn(YKHO):\n if YKHO.getPassengerCount() >= YKHO.maxPersons:\n return... | [
"0.63060176",
"0.61575735",
"0.6151037",
"0.61050075",
"0.60774535",
"0.6071081",
"0.60519564",
"0.59764546",
"0.5908392",
"0.58161426",
"0.57833654",
"0.57741654",
"0.5766111",
"0.575938",
"0.5670566",
"0.5665724",
"0.56563896",
"0.56311643",
"0.56292963",
"0.55677414",
"0.5... | 0.7290766 | 0 |
Returns the string representation of the model | def gTzM(YKHO):
return CgYo.pformat(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.8640854",
"0.85093737",
"0.785447",
"0.7744496",
"0.77114135",
"0.7696879",
"0.76601094",
"0.7639409",
"0.7623007",
"0.7608497",
"0.7608497",
"0.7608497",
"0.76073915",
"0.7600974",
"0.75863326",
"0.75839657",
"0.7572215",
"0.7569474",
"0.75403374",
"0.75403374",
"0.752854... | 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 |
Returns the index of an element in a condensed vector, given its (x,y) coordinates in a square matrix | def KXLN(WKvO: int, LVAh: int, exwG: int) -> tuple:
assert WKvO != LVAh, 'no diagonal elements in condensed matrix'
if WKvO < LVAh:
WKvO, LVAh = (LVAh, WKvO)
return int(exwG * LVAh - LVAh * (LVAh + 1) / 2 + WKvO - 1 - LVAh) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vn7Z(iArr):\n nWnW = oyIN.argwhere(iArr > 0)\n return oyIN.squeeze(nWnW[0])",
"def VxqZ(ywwl, YRbF, r845):\n return YRbF + ywwl * r845",
"def VxqZ(ywwl, YRbF, r845):\n return YRbF + ywwl * r845",
"def yzi0(Fyji):\n return oyIN.unravel_index(Fyji, GPtr.input_shape[0:2])",
"def Ov5j(YKHO, ... | [
"0.69685835",
"0.66908437",
"0.6687769",
"0.66671616",
"0.6509464",
"0.64972717",
"0.6465955",
"0.6357076",
"0.63553905",
"0.6351735",
"0.6331751",
"0.628273",
"0.62693566",
"0.6233291",
"0.6233291",
"0.6192959",
"0.6192129",
"0.6189288",
"0.6187986",
"0.61824256",
"0.6179342... | 0.0 | -1 |
Estimate the unigram score for the given word. | def bbTD(YKHO, GIN8, WmM4=0.0):
return YKHO.heuristic_scores.get(GIN8, WmM4) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _eQd(YKHO, GIN8):\n return YKHO.language_model.unigram_prob(GIN8)",
"def Iij1(YKHO, GIN8):\n pCSA = YKHO.find_ngrams(GIN8.lower(), YKHO.ngram_length)\n if len(pCSA) < 1:\n return 0.0\n return sum(map(lambda WKvO: YKHO.norm_transitions.get(WKvO, 0), pCSA)) / len(pCSA)",
"def p1kx(YKHO, yA... | [
"0.9028776",
"0.77295166",
"0.7272167",
"0.7150171",
"0.705727",
"0.70303154",
"0.6961955",
"0.6934745",
"0.68804425",
"0.6843175",
"0.6826817",
"0.6821168",
"0.6812447",
"0.6806963",
"0.6789284",
"0.678272",
"0.67366356",
"0.6713734",
"0.6707879",
"0.66586804",
"0.66526634",... | 0.586549 | 74 |
Pass through to super class constructor. | def FIMM(YKHO):
super(XQs_, YKHO).__init__() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l_xx(YKHO):\n pass",
"def FIMM(YKHO, *qIxc, **B2fa):\n pass",
"def FIMM(YKHO, *qIxc, **B2fa):\n super().__init__(YKHO, *qIxc, **B2fa)",
"def FIMM(YKHO, *qIxc, **B2fa):\n raise NotImplementedError",
"def FIMM(YKHO, *qIxc, **B2fa):\n raise NotImplementedError",
"def l_xx(YKHO):\n rais... | [
"0.8075133",
"0.7926095",
"0.78922576",
"0.7857797",
"0.7857797",
"0.7828691",
"0.7801032",
"0.77804923",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0... | 0.0 | -1 |
Pass through to super class constructor. | def FIMM(YKHO):
super(THwP, YKHO).__init__() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l_xx(YKHO):\n pass",
"def FIMM(YKHO, *qIxc, **B2fa):\n pass",
"def FIMM(YKHO, *qIxc, **B2fa):\n super().__init__(YKHO, *qIxc, **B2fa)",
"def FIMM(YKHO, *qIxc, **B2fa):\n raise NotImplementedError",
"def FIMM(YKHO, *qIxc, **B2fa):\n raise NotImplementedError",
"def l_xx(YKHO):\n rais... | [
"0.8073214",
"0.7925227",
"0.78912157",
"0.7856527",
"0.7856527",
"0.78273827",
"0.78004193",
"0.777872",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0.77630264",
"0... | 0.0 | -1 |
Pass through to super class constructor. | def FIMM(YKHO):
super(slx7, YKHO).__init__()
YKHO.best_hypo_score = ecCD | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l_xx(YKHO):\n pass",
"def FIMM(YKHO, *qIxc, **B2fa):\n pass",
"def FIMM(YKHO, *qIxc, **B2fa):\n super().__init__(YKHO, *qIxc, **B2fa)",
"def FIMM(YKHO, *qIxc, **B2fa):\n raise NotImplementedError",
"def FIMM(YKHO, *qIxc, **B2fa):\n raise NotImplementedError",
"def l_xx(YKHO):\n rais... | [
"0.8075133",
"0.7926095",
"0.78922576",
"0.7857797",
"0.7857797",
"0.7828691",
"0.7801032",
"0.77804923",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0.77646565",
"0... | 0.0 | -1 |