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 |
|---|---|---|---|---|---|---|
Length of this array | def szAg(YKHO):
return len(YKHO.data) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def szAg(YKHO):\n return len(YKHO.array)",
"def szAg(YKHO):\n return len(YKHO.array)",
"def zNig(YKHO):\n return len(YKHO.arr)",
"def fI9Y(YKHO):\n return YKHO.arraySize",
"def szAg(YKHO):\n return YKHO._arr.shape[1]",
"def szAg(YKHO):\n return oyIN.size(YKHO.A, 0)",
"def Cn47(YKHO):\... | [
"0.88697076",
"0.88697076",
"0.8568784",
"0.85674953",
"0.85121554",
"0.84302646",
"0.8242494",
"0.82212347",
"0.8191083",
"0.8191083",
"0.8191083",
"0.8160682",
"0.8160682",
"0.8119859",
"0.8119068",
"0.81132764",
"0.81072354",
"0.8098457",
"0.8090626",
"0.8078921",
"0.80748... | 0.7894373 | 62 |
Return the number of elements in the underlying data. | def zNig(YKHO):
return len(YKHO.data) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UHFx(YKHO):\n return YKHO.data_array.size",
"def zNig(YKHO):\n U5bT = 0\n for P2GO in YKHO.__data:\n U5bT += int(P2GO.get_size())\n return U5bT",
"def RTy5(YKHO):\n return len(YKHO.data)",
"def c8dy(YKHO):\n return len(YKHO.data)",
"def yJv_(__n6):\n return __n6.count()",
... | [
"0.85908943",
"0.84240013",
"0.841494",
"0.8210764",
"0.8093028",
"0.8047887",
"0.80380154",
"0.8034744",
"0.8028253",
"0.79156435",
"0.789435",
"0.7874148",
"0.7865271",
"0.78371",
"0.7821569",
"0.7813561",
"0.7796924",
"0.7779704",
"0.77639097",
"0.77570605",
"0.7756761",
... | 0.78437287 | 16 |
Boolean NumPy array indicating if each value is missing. This should return a 1D array the same length as 'self'. | def xMnu(YKHO):
zNig = len(YKHO.data)
czIi = oyIN.zeros(zNig, dtype=bool)
for YRbF in range(zNig):
if YKHO.data[YRbF] is None:
czIi[YRbF] = 1
return czIi | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xMnu(YKHO):\n return ksc2(YKHO.data)",
"def xMnu(YKHO):\n return ksc2(YKHO.data)",
"def rOPW():\n return E4NK([[], [-1, 0, 1]], dtype='int16')",
"def WVVm(YKHO):\n if YKHO.nodata_value is None:\n return oyIN.ones_like(YKHO.array, dtype=oyIN.bool)\n return YKHO.array != YKHO.nodata_v... | [
"0.74016434",
"0.74016434",
"0.6756111",
"0.65700454",
"0.6547105",
"0.6491851",
"0.64488673",
"0.6447906",
"0.6432374",
"0.64213294",
"0.63770986",
"0.636226",
"0.63351846",
"0.63128227",
"0.6284389",
"0.628389",
"0.6247779",
"0.6235008",
"0.6202572",
"0.6197546",
"0.6167118... | 0.6850717 | 2 |
Cast to a NumPy array with 'dtype' | def CVhi(YKHO, yDqo, jth9=True):
if isinstance(yDqo, KrxM.ndt):
raise NotImplementedError('cast propagation in astype not yet implemented')
else:
yDqo = oyIN.dtype(yDqo)
return oyIN.asarray(YKHO).astype(yDqo) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MF4b(wEf2, yDqo=oyIN.float64):\n if not oyIN.isscalar(wEf2) and oyIN.ndim(wEf2) > 0:\n wGur = oyIN.asarray(wEf2, dtype=yDqo)\n else:\n wGur = oyIN.asarray([wEf2], dtype=yDqo)\n return wGur",
"def WTDd(WKvO):\n return WKvO.squeeze().detach().cpu().numpy()",
"def lpbj(Emd4, nPrm):\n... | [
"0.72624075",
"0.72014713",
"0.71995467",
"0.71618325",
"0.710085",
"0.70915705",
"0.70541614",
"0.7033298",
"0.6930374",
"0.68656456",
"0.6856388",
"0.68353546",
"0.6813874",
"0.68079454",
"0.68029666",
"0.6798556",
"0.6761799",
"0.6750903",
"0.6703527",
"0.668972",
"0.66737... | 0.6858235 | 10 |
Construct a new ExtensionArray from a sequence of scalars. | def d0P9(Emd4, hT1Q):
return Emd4(t7DW.xnd(list(hT1Q))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def d0P9(Emd4, hT1Q):\n return Emd4(Xugt.array(hT1Q))",
"def d0P9(Emd4, hT1Q, yDqo=None, jth9=None):\n if isinstance(hT1Q, MLpi):\n return hT1Q\n if yDqo and isinstance(yDqo, Y6N0):\n yDqo = yDqo.arrow_dtype\n return Emd4(Xugt.array(hT1Q, type=yDqo, from_pandas=True))",
"def SoSX(Emd4... | [
"0.7350238",
"0.7182404",
"0.5925194",
"0.578319",
"0.561165",
"0.5573342",
"0.55363554",
"0.549628",
"0.54935765",
"0.54918486",
"0.5459624",
"0.54315454",
"0.5349382",
"0.5279878",
"0.5261748",
"0.5165157",
"0.51567626",
"0.5156627",
"0.5146947",
"0.5140071",
"0.5140071",
... | 0.7438445 | 0 |
Test the successful return of a list of users with their profiles. | def qeQ2(YKHO):
YKHO.client.credentials(HTTP_AUTHORIZATION='Token ' + YKHO.login_response.data['token'])
YKHO.response = YKHO.client.get('/api/users/users_list/')
YKHO.assertEqual(YKHO.response.status_code, jGRS.HTTP_200_OK)
YKHO.assertIn('users', YKHO.response.data) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mXr2(YKHO):\n geh0 = YKHO.client.get(YKHO.url)\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_200_OK)\n YKHO.assertEqual(len(geh0.data['results']), 1)",
"def Ltex(YKHO):\n YKHO.authorize_user(YKHO.user_login_details)\n geh0 = YKHO.client.get(YKHO.profiles_url)\n YKHO.assertEqual(geh0.status... | [
"0.8237166",
"0.7843827",
"0.77611274",
"0.7440431",
"0.7399832",
"0.73843527",
"0.7356723",
"0.7324195",
"0.7283967",
"0.72519284",
"0.7168515",
"0.709724",
"0.691054",
"0.69093055",
"0.68828183",
"0.6875339",
"0.6873077",
"0.6854492",
"0.6848099",
"0.6827129",
"0.6819302",
... | 0.84941363 | 0 |
Test that unauthenticated user can not access the endpoint. | def osKj(YKHO):
YKHO.response = YKHO.client.get('/api/users/users_list/')
YKHO.assertEqual(YKHO.response.status_code, jGRS.HTTP_403_FORBIDDEN)
YKHO.assertEqual('Authentication credentials were not provided.', YKHO.response.data['detail']) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IAi_(YKHO):\n raise NotImplementedError",
"def fYib(YKHO):\n geh0 = YKHO.client.post(YKHO.url)\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_403_FORBIDDEN)",
"def PBD7(YKHO):\n YKHO.assertEqual(YKHO.client.get(YKHO.ENDPOINT).status_code, 403)\n YKHO.assertEqual(YKHO.client.post(YKHO.ENDPOIN... | [
"0.81456953",
"0.80915487",
"0.7994836",
"0.7974266",
"0.7912416",
"0.7895024",
"0.78587884",
"0.7841028",
"0.7831594",
"0.78175676",
"0.78175676",
"0.77514654",
"0.76794064",
"0.7671994",
"0.7667695",
"0.7667695",
"0.7667695",
"0.7667695",
"0.7666188",
"0.7648051",
"0.764713... | 0.81329226 | 1 |
Format a time for display | def ct8j(BWXx):
if BWXx:
ITS7 = d5IO.parser.parse(BWXx)
return ITS7.strftime('%I:%M%p')
else:
return '' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ct8j(YKHO, ITS7):\n Wave = ITS7 // 3600\n ITS7 = ITS7 - Wave * 3600\n O66n = ITS7 // 60\n C6wh = ITS7 - O66n * 60\n return '%d:%d:%d' % (Wave, O66n, C6wh)",
"def ct8j(YKHO, ITS7):\n TKQ0 = ITS7[0:2]\n cpvk = ITS7[2:4]\n KG9w = ITS7[4:]\n return '%s:%s:%s UTC' % (TKQ0, cpvk, KG9w)",... | [
"0.8418031",
"0.84093404",
"0.8248695",
"0.79867977",
"0.7942159",
"0.7818924",
"0.7816692",
"0.76928216",
"0.7608608",
"0.75996464",
"0.75786716",
"0.7567828",
"0.75133425",
"0.74887806",
"0.7429112",
"0.7424193",
"0.74152845",
"0.7395174",
"0.7357358",
"0.73552704",
"0.7343... | 0.78713924 | 5 |
Returns pin name of wire. For unsplit tiles, this is the name of the wire. For split tiles with only 1 site, this is the name of the site pin connected to this wire. For wires that are not a pin, returns None. | def uqln(w2B8, GAWN):
Z9rn = w2B8.cursor()
Z9rn.execute('\nSELECT wire_in_tile_pkey, tile_pkey FROM wire WHERE pkey = ?\n ', (GAWN,))
VZEU, mFo1 = Z9rn.fetchone()
Z9rn.execute('\nSELECT site_as_tile_pkey FROM tile WHERE pkey = ?\n ', (mFo1,))
BwKF = Z9rn.fetchone()[0]
Z9rn.execute(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LX7T(YKHO) -> str:\n return YKHO._pin",
"def bY_L(w2B8, XRh5, WLnP):\n Z9rn = w2B8.cursor()\n Z9rn.execute('\\nSELECT\\n site_pkey\\nFROM\\n site_as_tile\\nWHERE\\n parent_tile_type_pkey = (\\n SELECT\\n pkey\\n FROM\\n tile_type\\n WHERE\\n name = ?\\n );\\n ', (X... | [
"0.6594488",
"0.61665666",
"0.5766498",
"0.5750162",
"0.57163584",
"0.5713178",
"0.5642281",
"0.5625731",
"0.5603803",
"0.5602733",
"0.55686694",
"0.55492705",
"0.553697",
"0.5527082",
"0.5513342",
"0.5509373",
"0.55061746",
"0.54618746",
"0.5448286",
"0.54304475",
"0.5419778... | 0.7388332 | 0 |
Returns the contents of the file. | def BuGO(YKHO):
return YKHO.contents | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kGys(nUeQ):\n with open(nUeQ) as eHNT:\n return eHNT.read()",
"def nSzq(Ux0P):\n with open(Ux0P, 'r') as eHNT:\n hGN5 = eHNT.read()\n return hGN5",
"def Sffg(YKHO):\n return YKHO.file.read()",
"def Nwr9(YKHO, nUeQ):\n Gcbu = open(nUeQ)\n nPrm = Gcbu.read()\n Gcbu.close(... | [
"0.84233165",
"0.8001005",
"0.77832305",
"0.7678333",
"0.76167744",
"0.75897086",
"0.7586111",
"0.75617945",
"0.75590175",
"0.7557482",
"0.7522077",
"0.74923486",
"0.7491131",
"0.7477652",
"0.7451645",
"0.7437356",
"0.74259627",
"0.74253434",
"0.74134374",
"0.7398352",
"0.739... | 0.0 | -1 |
A method to drop rows from a DF given the index to keep and those of all the duplicate rows for a peak. | def G2bw(YKHO, dyhh, b3sz, OYMk):
dyhh.remove(b3sz)
for S9Eg in dyhh:
print('dropping this')
W8mS(OYMk.loc[[S9Eg]])
OYMk = OYMk.drop(S9Eg)
return OYMk | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ussx(jQ3Z: pd.DataFrame) -> None:\n G9jH.info('Discarding duplicate rows')\n mw5t = len(jQ3Z)\n jQ3Z.drop_duplicates(inplace=True)\n L6ll = len(jQ3Z)\n T_s2 = mw5t - L6ll\n if T_s2 > 0:\n G9jH.warning(f'{T_s2} duplicate records discarded.')",
"def ITDZ(jQ3Z):\n Gbzt = PQsW(jQ3Z)\n... | [
"0.65247035",
"0.6363891",
"0.63022333",
"0.6241097",
"0.61256933",
"0.5994911",
"0.5928844",
"0.58999646",
"0.58847857",
"0.58363986",
"0.58298856",
"0.58038944",
"0.577985",
"0.5767388",
"0.57611185",
"0.5709669",
"0.57017154",
"0.56906784",
"0.56683886",
"0.563273",
"0.560... | 0.76865387 | 0 |
Choose a standard compound based on the one which matches the name of the FrAnk annotation most closely. | def hDfj(YKHO, JWUk, sfuf):
print('selecting standard compound')
gAQa = None
W8mS(sfuf)
ZYjS = {}
for YRbF in sfuf['identifier'].unique():
MZHS = sfuf[sfuf.identifier == YRbF]['compound'].iloc[0]
ICn2 = sfuf['frank_annot'].values[0]
if ICn2 is not None:
IU4T = ICn... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nJfD(bTKY: _LexiconEntry) -> str:\n return bTKY['is_compound'].lower()",
"def WT3h(cCrA):\n GGn8 = cCrA['compound']\n if GGn8 > 0.1:\n return 'pos'\n elif GGn8 < -0.1:\n return 'neg'\n else:\n return 'neu'",
"def qXce(Emd4, GPl8):\n if GPl8.strip('\"').lstrip(\"'\").s... | [
"0.5417017",
"0.51523066",
"0.4860653",
"0.4835405",
"0.48096776",
"0.4792644",
"0.47313273",
"0.47253352",
"0.46857738",
"0.467569",
"0.4671355",
"0.46706206",
"0.4664007",
"0.46483254",
"0.45594722",
"0.45584187",
"0.45564082",
"0.454979",
"0.45439628",
"0.4518412",
"0.4509... | 0.4688043 | 8 |
Gets the ID of club entity that we're joining | def OyzV(YKHO):
return YKHO.__clubDbID | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZjQU(YKHO):\n return YKHO.countryClubId",
"def q_dr(YKHO, iEKI):\n MOPg = {'Content-type': 'application/x-www-form-urlencoded', 'Accept': 'text/plain', 'Referer': 'http://' + YKHO.domain + '/', 'User-Agent': Lb1u}\n qv1X = YKHO.session.get('http://' + YKHO.domain, headers=MOPg).content\n Z9JV = r... | [
"0.64245063",
"0.62600726",
"0.6127675",
"0.59417766",
"0.59417766",
"0.59417766",
"0.59417766",
"0.59417766",
"0.5920782",
"0.5836426",
"0.57591325",
"0.5717022",
"0.56990856",
"0.56990856",
"0.56990856",
"0.56990856",
"0.56990856",
"0.56990856",
"0.56990856",
"0.56990856",
... | 0.6805473 | 0 |
Plot trajectory for single animal over period. | def dxAR(ouVi: TrajaDataFrame, Pyrc: Union[int, tuple]=None, **B2fa) -> MlUv:
Pyrc = JhWB.trajectory._bins_to_tuple(ouVi, Pyrc)
EcVT, fuBA, KkY2, cAlv = f0a_(ouVi, Pyrc)
QzFq, bGrB = YL_4(ouVi, Pyrc, hist_only=True)
LZpg = QrM1.figure()
aNZO = LZpg.add_subplot(111, projection='3d')
aNZO.set_aspe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rMfr(YKHO):\n QrM1.plot(YKHO.trip_centroids['lon'], YKHO.trip_centroids['lat'], '-o')",
"def Fs6j(MeGp, leAC='Trajectories'):\n LZpg = QrM1.figure()\n aNZO = LZpg.add_subplot(projection='3d')\n aNZO.set_xlabel('X')\n aNZO.set_ylabel('Y')\n aNZO.set_zlabel('Z')\n aNZO.set_title(leAC)\n ... | [
"0.66793895",
"0.6651571",
"0.64615256",
"0.63502246",
"0.63131243",
"0.6300293",
"0.61842453",
"0.6165123",
"0.6128747",
"0.6106654",
"0.6054732",
"0.6031158",
"0.6026553",
"0.60228103",
"0.60154575",
"0.60098654",
"0.5993065",
"0.5989462",
"0.59496844",
"0.5946391",
"0.5944... | 0.0 | -1 |
Plot trajectory for single animal over period. | def kj9G(ouVi: TrajaDataFrame, Fn5t: Optional[int]=None, pVpt: bool=False, CU1e: Optional[traja.TrajaAccessor]=None, aNZO=None, **B2fa) -> I8kJ.collections.PathCollection:
import matplotlib.patches as ohfT
from matplotlib.path import Path
Z536, B2fa = hqzw(**B2fa)
I18w = '#999999'
jk7u = B2fa.pop('x... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rMfr(YKHO):\n QrM1.plot(YKHO.trip_centroids['lon'], YKHO.trip_centroids['lat'], '-o')",
"def Fs6j(MeGp, leAC='Trajectories'):\n LZpg = QrM1.figure()\n aNZO = LZpg.add_subplot(projection='3d')\n aNZO.set_xlabel('X')\n aNZO.set_ylabel('Y')\n aNZO.set_zlabel('Z')\n aNZO.set_title(leAC)\n ... | [
"0.66777134",
"0.6651562",
"0.64616317",
"0.634923",
"0.63133115",
"0.6298848",
"0.61831796",
"0.61646396",
"0.6127904",
"0.6106606",
"0.60532546",
"0.6031092",
"0.6025849",
"0.6023147",
"0.6014494",
"0.6008613",
"0.5994614",
"0.5987358",
"0.59483",
"0.5946726",
"0.5944228",
... | 0.5578266 | 68 |
Converts a string argument to a byte string. If the argument is already a byte string or None, it is returned unchanged. Otherwise it must be a unicode string and is encoded as utf8. | def jShR(BWXx):
if isinstance(BWXx, (bytes, type(None))):
return BWXx
if not isinstance(BWXx, wCZ0):
raise TypeError('Expected bytes, unicode, or None; got %r' % type(BWXx))
return BWXx.encode('utf-8') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PQSR(vIwR):\n return vIwR.encode('utf8') if isinstance(vIwR, str) else vIwR",
"def rSlX(d7pR):\n try:\n if isinstance(d7pR, QMSQ):\n return d7pR.encode('utf-8')\n except NameError:\n pass\n return d7pR",
"def LAsu(BWXx: Union[str, bytes]) -> bytes:\n return BWXx if i... | [
"0.80326253",
"0.7813401",
"0.76934886",
"0.76233983",
"0.7555012",
"0.7535237",
"0.75086457",
"0.745254",
"0.7449655",
"0.74415",
"0.7406604",
"0.72742164",
"0.72495484",
"0.7248803",
"0.7212638",
"0.7140547",
"0.71323127",
"0.71291935",
"0.7126722",
"0.7095218",
"0.70831263... | 0.7623582 | 3 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, eDai):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.808826",
"0.808826",
"0.8054592",
"0.79827315",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"0.79666996",
"... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.845611",
"0.8391477",
"0.8144138",
"0.81410587",
"0.8132492",
"0.8093973",
"0.80920255",
"0.80920255",
"0.80920255",
"0.8085325",
"0.8085325",
"0.8076365",
"0.8076365",
"0.8065748"
] | 0.0 | -1 |
Get the uri of Artifact from a list of length one. | def eQCx(AoIg: List[Artifact]) -> I2jr:
return ofnv(AoIg).uri | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qItq(AoIg: List[Artifact], lpha: Text) -> I2jr:\n return Icby(AoIg, lpha).uri",
"def ofnv(AoIg: List[Artifact]) -> iWsA:\n if len(AoIg) != 1:\n raise ValueError('expected list length of one but got {}'.format(len(AoIg)))\n return AoIg[0]",
"def EJpS(pDdX):\n return sorted(pDdX, key=xA3p)... | [
"0.6694992",
"0.6678573",
"0.6036447",
"0.57635313",
"0.5733404",
"0.57188797",
"0.57050806",
"0.5506731",
"0.54937464",
"0.5459528",
"0.5424566",
"0.5384717",
"0.5369287",
"0.5325053",
"0.5313212",
"0.52798706",
"0.5239682",
"0.5219548",
"0.50673246",
"0.5066369",
"0.5050734... | 0.8574332 | 0 |
Gets the dbt version. | def jzoE(YKHO):
from dbt.version import get_installed_version
YKHO.dbt_version = get_installed_version().to_version_string()
return YKHO.dbt_version | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DpZH(YKHO):\n geh0 = YKHO._request_call('/version')\n return geh0.version_etcdserver",
"def DpZH():\n return J_NK.exec_command(command='--version')",
"def kaPv():\n return BtDU",
"def kaPv():\n return BtDU",
"def kaPv():\n return BtDU",
"def kaPv(YKHO):\n return DpZH.__version__"... | [
"0.7145694",
"0.7125913",
"0.7120701",
"0.7120701",
"0.7120701",
"0.70801204",
"0.70801204",
"0.70779526",
"0.705302",
"0.7039336",
"0.7022879",
"0.70223117",
"0.70012116",
"0.70012116",
"0.6933615",
"0.69303304",
"0.68409157",
"0.68354994",
"0.67538184",
"0.6747352",
"0.6744... | 0.8455315 | 0 |
Get the dbt project directory from the configuration. Defaults to the working directory. | def GOQM(YKHO):
return Hy7s.path.expanduser(YKHO.sqlfluff_config.get_section((YKHO.templater_selector, YKHO.name, 'project_dir')) or Hy7s.getcwd()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TdjZ():\n pmON = GkAb(xAKo).parent.parent\n I7OS = pmON.parent\n return I7OS",
"def TdjZ():\n return GkAb(gCuF.PROJECT_DIR)",
"def JnbJ():\n sWmO = Hy7s.getcwd()\n vLsy = sWmO[:sWmO.find(GPtr.project) + len(GPtr.project)]\n Hy7s.chdir(vLsy)\n return vLsy",
"def mgKE(YKHO):\n bo... | [
"0.76650935",
"0.75579333",
"0.7509792",
"0.75066334",
"0.74863327",
"0.728954",
"0.7167732",
"0.7150337",
"0.69681174",
"0.6966489",
"0.6945919",
"0.69238085",
"0.6923453",
"0.6867748",
"0.68591374",
"0.681492",
"0.681492",
"0.68107915",
"0.67870337",
"0.67672306",
"0.676606... | 0.77256685 | 0 |
Computes the accuracy over the k top predictions for the specified values of k | def vjyh(hlel, pan_, hz5a=(1,)):
with ht2j.no_grad():
Gq8e = max(hz5a)
Ep8u = pan_.size(0)
bGrB, nvEb = hlel.topk(Gq8e, 1, True, True)
nvEb = nvEb.t()
gXXc = nvEb.eq(pan_.view(1, -1).expand_as(nvEb))
Ylbp = []
for G1Hx in hz5a:
R2Dg = gXXc[:G1Hx].v... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Z7qO(LVAh, aMgO, G1Hx=2):\n nvEb = []\n for YRbF in range(len(LVAh)):\n if LVAh[YRbF] in aMgO[YRbF][:G1Hx]:\n nvEb.append(1)\n else:\n nvEb.append(0)\n return sum(nvEb) / len(nvEb)",
"def vjyh(aMgO, ibJh, hz5a=(1,)):\n Gq8e = max(hz5a)\n Ep8u = ibJh.size(0)\... | [
"0.8331214",
"0.8284662",
"0.82381004",
"0.8229767",
"0.82202226",
"0.81864446",
"0.81847763",
"0.8175173",
"0.8171541",
"0.81699467",
"0.81664646",
"0.81645083",
"0.81637454",
"0.81622064",
"0.81622064",
"0.81622064",
"0.81622064",
"0.81622064",
"0.81622064",
"0.81622064",
"... | 0.7847017 | 92 |
Single number string should be converted to value. | def FLTF(YKHO, xvDN, aEqx, Sa_m):
assert Sa_m.add(xvDN) == aEqx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wKkn(YKHO, KCHu, JbyC):\n try:\n Ty9i = int(KCHu)\n if YKHO.GetValue() != Ty9i:\n return (True, Ty9i)\n except (ValueError, TypeError):\n if JbyC & NDON.PG_REPORT_ERROR:\n lnPd.MessageBox(\"Cannot convert '%s' into a number.\" % KCHu, 'Error')\n return False"... | [
"0.71264195",
"0.70858926",
"0.69701576",
"0.69429284",
"0.69373137",
"0.68939006",
"0.68939006",
"0.685865",
"0.68324894",
"0.67340624",
"0.6712292",
"0.67089546",
"0.65752494",
"0.65564555",
"0.65477663",
"0.6542622",
"0.65319824",
"0.65306616",
"0.652247",
"0.65082407",
"0... | 0.0 | -1 |
Saves parameters to json file | def xkzz(YKHO, RsFk):
with open(RsFk, 'w') as eHNT:
qQXR.dump(YKHO.__dict__, eHNT, indent=4) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U1ai(YKHO, pmON=None):\n if pmON is None:\n pmON = YKHO.parampath\n NArs = {str(H5ew): str(BWXx) for H5ew, BWXx in YKHO.__dict__.items()}\n with open(Hy7s.path.join(pmON, f'params_{YKHO.mode}.json'), 'w') as eHNT:\n qQXR.dump(NArs, eHNT)",
"def TDTa(YKHO):\n try:\n with open(... | [
"0.82312053",
"0.8181947",
"0.8057166",
"0.7808885",
"0.77812463",
"0.775106",
"0.7710382",
"0.7706769",
"0.76148814",
"0.75990826",
"0.7574917",
"0.75643057",
"0.7448175",
"0.7373087",
"0.7341731",
"0.7261098",
"0.719621",
"0.7154501",
"0.714766",
"0.7143015",
"0.71297264",
... | 0.6701761 | 62 |
Construct initial conditions for lfilter for step response steadystate. Compute an initial state `zi` for the `lfilter` function that corresponds to the steady state of the step response. A typical use of this function is to set the initial state so that the output of the filter starts at the same value as the first el... | def hRl4(Fg_i, jzdc):
Fg_i = oyIN.atleast_1d(Fg_i)
if Fg_i.ndim != 1:
raise ValueError('Numerator b must be 1-D.')
jzdc = oyIN.atleast_1d(jzdc)
if jzdc.ndim != 1:
raise ValueError('Denominator a must be 1-D.')
while len(jzdc) > 1 and jzdc[0] == 0.0:
jzdc = jzdc[1:]
if jzd... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DDBU(YKHO, n0b8):\n assert isinstance(n0b8, oyIN.ndarray)\n Et9P = Gaon.lfilter_zi(YKHO.b, YKHO.a)\n YKHO.z = oyIN.outer(Et9P, n0b8)",
"def xksN(YKHO, nPrm):\n Et9P = Zxt2.signal.sosfilt_zi(YKHO._lowpass_sos)\n YKHO._lowpass_state = nPrm[0, :] * oyIN.repeat(Et9P[:, :, oyIN.newaxis], nPrm.shape... | [
"0.7032643",
"0.6021594",
"0.5773026",
"0.5741071",
"0.5474929",
"0.54529476",
"0.52769065",
"0.52764946",
"0.52715707",
"0.5255074",
"0.5245324",
"0.5220993",
"0.5098176",
"0.5048571",
"0.5022408",
"0.50180316",
"0.5001296",
"0.49854076",
"0.49851388",
"0.4942927",
"0.493341... | 0.45731252 | 64 |
Forwardbackward IIR filter that uses Gustafsson's method. Apply the IIR filter defined by `(b,a)` to `x` twice, first forward then backward, using Gustafsson's initial conditions [1]_. Let ``y_fb`` be the result of filtering first forward and then backward, and let ``y_bf`` be the result of filtering first backward the... | def KeYn(Fg_i, jzdc, WKvO, jDK_=-1, vEqO=None):
Fg_i = oyIN.atleast_1d(Fg_i)
jzdc = oyIN.atleast_1d(jzdc)
T4Wy = max(len(Fg_i), len(jzdc)) - 1
if T4Wy == 0:
NXpY = (Fg_i[0] / jzdc[0]) ** 2
LVAh = NXpY * WKvO
return (LVAh, oyIN.array([]), oyIN.array([]))
if jDK_ != -1 or jDK_ ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def y65R(WKvO, yzQ0, Fg_i):\n yvT9 = None\n yvT9 = oyIN.dot(WKvO, yzQ0) + Fg_i\n wyyA = (WKvO, yzQ0, Fg_i)\n return (yvT9, wyyA)",
"def KPMx(YKHO, WKvO):\n M5J9 = YKHO._observation_log_probs(WKvO, mask=None)\n with ZylS.name_scope('forward_belief_propagation'):\n YKHO.forward_log_probs =... | [
"0.63200927",
"0.6171222",
"0.6026708",
"0.60242057",
"0.6008347",
"0.59686536",
"0.5937913",
"0.5900663",
"0.5816148",
"0.5654618",
"0.5623432",
"0.55986273",
"0.5569046",
"0.55684686",
"0.5502139",
"0.5495101",
"0.5487408",
"0.5486265",
"0.54790324",
"0.5476043",
"0.5463220... | 0.65092564 | 0 |
Format a timedelta into a humanfriendly string. | def ZN2E(fCoM):
C6wh = fCoM.total_seconds()
Sm0u, q6OD = divmod(C6wh, 60 * 60 * 24)
Wave, q6OD = divmod(q6OD, 60 * 60)
O66n, q6OD = divmod(q6OD, 60)
C6wh = q6OD
cTyu = ''
if Sm0u > 0:
cTyu += '%dd ' % Sm0u
if Wave > 0:
cTyu += '%dh ' % Wave
if O66n > 0:
cTyu +... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TQS5(fCoM, W8mS='long', VWe_=', '):\n if not isinstance(fCoM, qcWV.timedelta):\n raise TypeError('First argument must be a timedelta.')\n Aofo = []\n DKYA = int(fCoM.days / 7)\n Sm0u = fCoM.days % 7\n Wave = int(fCoM.seconds / 3600)\n O66n = int(fCoM.seconds % 3600 / 60)\n C6wh = fC... | [
"0.77723676",
"0.76607543",
"0.762818",
"0.73419565",
"0.7202255",
"0.7108916",
"0.70849556",
"0.7073843",
"0.7036123",
"0.7018252",
"0.7017238",
"0.6976021",
"0.69339114",
"0.69047356",
"0.6893588",
"0.6883069",
"0.68343514",
"0.67669547",
"0.6760717",
"0.67505556",
"0.66786... | 0.7566095 | 3 |
Format a time span into a humanfriendly string. | def Q_WX(yKcO, Os4s):
ejIZ = yKcO.strftime('%m/%d/%Y %H:%M:%S - ')
ejIZ += Os4s.strftime('%H:%M:%S')
return ejIZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ct8j(a1PO: float):\n if a1PO >= 60:\n return f'{round(a1PO / 60.0, 2)} mins'\n else:\n return f'{round(a1PO, 2)} secs'",
"def ct8j(a1PO):\n r8hN, KCHu = divmod(a1PO, 60)\n MKlR, r8hN = divmod(r8hN, 60)\n if MKlR:\n return f'{MKlR:2.0f}hr {r8hN:2.0f}min {KCHu:4.1f}s'\n e... | [
"0.6638713",
"0.6583312",
"0.65616876",
"0.651444",
"0.64904475",
"0.6479359",
"0.64139974",
"0.6395044",
"0.63763905",
"0.6351688",
"0.63433737",
"0.63231444",
"0.6321622",
"0.6319888",
"0.631667",
"0.62895375",
"0.62303764",
"0.6216116",
"0.6179851",
"0.6170669",
"0.6170237... | 0.75956345 | 0 |
Assert that peptide sequence only contains valid symbols. | def kpFt(l7AA: str) -> bool:
B77i = {'A', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'V', 'W', 'Y', '*'}
MYz3 = {KCHu.upper() for KCHu in l7AA}
return MYz3.issubset(B77i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xzCw(nPrm, r3_g):\n assert all((Fg_i not in nPrm for Fg_i in r3_g))",
"def XI3v(YKHO, aWuw):\n for dQgj, r5V3 in YKHO._rules.iteritems():\n ew1x = aWuw[dQgj - 1].upper()\n if ew1x in r5V3:\n return False\n return True",
"def dCLc(YKHO):\n aBkf = Jlu6()\n njyT = ZbWC.... | [
"0.6565036",
"0.64590997",
"0.6323804",
"0.62964374",
"0.6238537",
"0.6238537",
"0.62147486",
"0.6213494",
"0.6171131",
"0.61430746",
"0.6120542",
"0.60339886",
"0.6021188",
"0.5990329",
"0.5965872",
"0.5927269",
"0.588844",
"0.5873576",
"0.5868379",
"0.58543175",
"0.58492625... | 0.5314951 | 85 |
Assert that DNA sequence only contains valid symbols. | def gggD(l7AA: str) -> bool:
Jo1h = {'A', 'G', 'T', 'C', 'N'}
MYz3 = {KCHu.upper() for KCHu in l7AA}
return MYz3.issubset(Jo1h) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xzCw(nPrm, r3_g):\n assert all((Fg_i not in nPrm for Fg_i in r3_g))",
"def dCLc(YKHO):\n aBkf = Jlu6()\n njyT = ZbWC.compile('[\\\\(\\\\[\\\\{]\\\\)\\\\]\\\\}')\n Pmux = njyT.sub('', pC3l)\n for hcXw in Pmux:\n with YKHO.assertRaises(eS7v):\n aBkf('Fe(O)2%s' % hcXw)",
"def ... | [
"0.69303834",
"0.6763284",
"0.66415906",
"0.66238123",
"0.6582187",
"0.6570025",
"0.6552528",
"0.64736414",
"0.64573836",
"0.6400359",
"0.6362274",
"0.63191116",
"0.63155955",
"0.63146573",
"0.62954974",
"0.628502",
"0.62770355",
"0.62732005",
"0.6248555",
"0.619243",
"0.6192... | 0.0 | -1 |
Performs padding for the list of tensors. | def RnIX(fUYa: torch.Tensor, KHPh: int):
GCiI = len(fUYa)
wzH_ = max((WKvO.size(0) for WKvO in fUYa))
hVLt = fUYa[0].new(GCiI, wzH_, *fUYa[0].size()[1:]).fill_(KHPh)
for YRbF in range(GCiI):
hVLt[YRbF, :fUYa[YRbF].size(0)] = fUYa[YRbF]
return hVLt | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xIS8(cRc2, dvgN):\n gQqX = [len(i8WE) for i8WE in cRc2]\n x_5g = max(gQqX)\n cRc2 = [i8WE + (x_5g - len(i8WE)) * [dvgN] for i8WE in cRc2]\n cRc2 = ht2j.stack([ht2j.stack(a1PO) for a1PO in cRc2], dim=0)\n return (gQqX, cRc2)",
"def Dt8l(UHhk, C7vt, eusk=None, yDqo=ht2j.float, begE=begE):\n i... | [
"0.73704475",
"0.7338566",
"0.73259455",
"0.71354586",
"0.7108747",
"0.6976042",
"0.6847556",
"0.67829055",
"0.66107386",
"0.6595525",
"0.657188",
"0.6563072",
"0.6560154",
"0.65475124",
"0.6534839",
"0.65250087",
"0.6519585",
"0.65166515",
"0.64960134",
"0.64924383",
"0.6488... | 0.7086067 | 5 |
Creates dataset for training | def FIMM(YKHO, WKvO, LVAh, exwG, oB3G=True):
YKHO.shuffleAfterEpoch = oB3G
YKHO.x = WKvO
YKHO.y = LVAh
YKHO.index = 0
YKHO.n = exwG
YKHO.subX = []
YKHO.subY = []
YKHO.sameBatch = True
YKHO.batchStart = 0
YKHO.batchEnd = 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PK3w():\n etJf = yBwE.num_of_samples\n mkBH = int(etJf * 0.8)\n CDYI = int(etJf * 0.2)\n print('==================================================')\n print('1. Generating Train images ......')\n print('\\nTrain image per variation', mkBH)\n gvcj(mkBH, 'train')\n print('================... | [
"0.80415595",
"0.79590386",
"0.756445",
"0.74865973",
"0.74819845",
"0.74757904",
"0.74376166",
"0.74369645",
"0.7394728",
"0.7381261",
"0.7371115",
"0.73706275",
"0.73533183",
"0.7313135",
"0.7310101",
"0.7304001",
"0.72870475",
"0.72832793",
"0.7265336",
"0.7251944",
"0.723... | 0.0 | -1 |
Name of the template. | def qm1k(YKHO):
raise NotImplementedError('template_name must be defined') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l6tp(YKHO) -> str:\n return qe4Y.get(YKHO, 'inspect_template_name')",
"def qm1k(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'template_name')",
"def NICc(YKHO):\n return YKHO.nameTemplate",
"def qm1k(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'template_name')",
"def qm1k(... | [
"0.8503216",
"0.842787",
"0.8359827",
"0.8345027",
"0.81483734",
"0.75944674",
"0.7592048",
"0.7592048",
"0.758043",
"0.73846203",
"0.7362201",
"0.7316545",
"0.7288355",
"0.7237161",
"0.7196626",
"0.7196293",
"0.7154887",
"0.7057262",
"0.6999352",
"0.6959105",
"0.69427884",
... | 0.88806194 | 0 |
Return canonical form of filename. For real filenames, the canonical form is a casenormalized (on case insensitive filesystems) absolute path. 'Filenames' with angle brackets, such as "", generated in interactive mode, are returned unchanged. | def yYzl(YKHO, Ux0P):
if Ux0P == '<' + Ux0P[1:-1] + '>':
return Ux0P
yYzl = YKHO.fncache.get(Ux0P)
if not yYzl:
yYzl = Hy7s.path.abspath(Ux0P)
yYzl = Hy7s.path.normcase(yYzl)
YKHO.fncache[Ux0P] = yYzl
return yYzl | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mBNc(Ux0P):\n import os, os.path\n pmON = WLIt(Ux0P)\n while True:\n pmON = os.path.abspath(pmON)\n try:\n XP5J = os.path.dirname(pmON)\n try:\n MrU6 = os.readlink(pmON)\n except AttributeError:\n return pmON\n pmO... | [
"0.7585273",
"0.70930815",
"0.69635314",
"0.6745768",
"0.67102647",
"0.64551646",
"0.6319798",
"0.6228791",
"0.6202106",
"0.6176385",
"0.61737037",
"0.61678934",
"0.61673635",
"0.6132709",
"0.6073931",
"0.6066517",
"0.60429406",
"0.6013058",
"0.6009444",
"0.60043764",
"0.5982... | 0.6410635 | 6 |
Return all lines with breakpoints for filename. If no breakpoints are set, return an empty list. | def xvMT(YKHO, Ux0P):
Ux0P = YKHO.canonic(Ux0P)
if Ux0P in YKHO.breaks:
return YKHO.breaks[Ux0P]
else:
return [] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vJwB(YKHO, Ux0P=None, QP4x=None):\n if Ux0P is None:\n return YKHO.bpoints.items()\n if QP4x is None:\n return YKHO.bpoints.filter(keys=('filename',), values=(Ux0P,))\n else:\n return YKHO.bpoints.filter(keys=('filename', 'lineno'), values=(Ux0P, QP4x))",
"def c7uE(YKHO):\n r... | [
"0.7383101",
"0.636505",
"0.61353457",
"0.60737354",
"0.59970886",
"0.5882054",
"0.58403075",
"0.5667144",
"0.5625614",
"0.5588128",
"0.55685806",
"0.5556824",
"0.55278546",
"0.5520582",
"0.55112535",
"0.5509692",
"0.5492264",
"0.549223",
"0.5489187",
"0.54844314",
"0.5480767... | 0.6807635 | 1 |
A wrapper on sklearn's evaluator which returns the results into a nice `pandas` Dataframe format | def Xwx9(N6Z1: Dict, Crrw: List[str]):
Y8eF, aMgO = ([], [])
for G1Hx, Ty9i in N6Z1.items():
if Ty9i['True Label'] in Crrw:
Y8eF.extend([Ty9i['True Label']] * len(Ty9i['Predictions']))
aMgO.extend(Ty9i['Predictions'])
XP5J, Mkmy, Dyub, KCHu = YwIb(Y8eF, aMgO, average=None, la... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eL2g(Aofo, X9y0, JHDS, GaEE, N77f, yokr):\n UXqs = '{}, {}, {}'.format(JHDS, GaEE, N77f)\n usx6 = list(zip(Hs6x.repeat(X9y0), Hs6x.repeat(JHDS), Hs6x.repeat(GaEE), Hs6x.repeat(N77f), Hs6x.repeat(yokr), Aofo.iterations, [-N77f for N77f in Aofo.testing_losses], Aofo.classification_accuracies, Hs6x.repeat(U... | [
"0.69360065",
"0.6641997",
"0.620042",
"0.61570156",
"0.613275",
"0.6068549",
"0.6037571",
"0.6021548",
"0.60174704",
"0.5868568",
"0.58401",
"0.5830864",
"0.58220214",
"0.5818702",
"0.5800076",
"0.5788648",
"0.5780096",
"0.5764063",
"0.5761641",
"0.5759701",
"0.57406753",
... | 0.54440075 | 62 |
Return a string representation of the bitmap's pixels. | def wHJl(YKHO):
usx6 = ''
for LVAh in range(YKHO.height):
for WKvO in range(YKHO.width):
usx6 += '*' if YKHO.pixels[LVAh * YKHO.width + WKvO] else ' '
usx6 += '\n'
return usx6 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jXtA(YKHO):\n YKHO._logger.debug('getPixels')",
"def wHJl(YKHO):\n yvT9 = ''\n for WKvO in range(0, YKHO.width):\n for LVAh in range(0, YKHO.height):\n yvT9 += str('{:.1f}'.format(YKHO.tiles[WKvO][LVAh])).rjust(6, ' ')\n yvT9 += '\\n'\n return yvT9",
"def cMYb():\n r... | [
"0.6233989",
"0.61053455",
"0.6088202",
"0.60603136",
"0.6036789",
"0.59823155",
"0.5893808",
"0.5883536",
"0.5866404",
"0.5854719",
"0.5811766",
"0.57992077",
"0.5771727",
"0.5758332",
"0.5757699",
"0.5713861",
"0.57050276",
"0.56222796",
"0.5612865",
"0.5589039",
"0.5580806... | 0.640616 | 0 |
Check if the bitmap is fully black (total height and width) | def ByNG(YKHO, QDYk, a7Da):
if YKHO.width != QDYk or YKHO.height != a7Da:
return False
for HkJz in YKHO.pixels:
if not HkJz:
return False
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def heMt(LNo8):\n ssDt = _0Y7.Stat(LNo8).extrema\n Mkmy = ssDt[0][0]\n Oa1e = ssDt[1][0]\n Fg_i = ssDt[2][0]\n if Mkmy == 0 and Oa1e == 0 and (Fg_i == 0):\n return True\n return False",
"def Xn_P(bD7m):\n VXjJ = MhIC(bD7m)\n MKlR, yzQ0 = VXjJ.shape\n VXjJ = 255 - VXjJ[:, int(yzQ... | [
"0.7774197",
"0.6976498",
"0.6874269",
"0.67914265",
"0.6685844",
"0.6629294",
"0.644429",
"0.6423006",
"0.6375097",
"0.636757",
"0.636757",
"0.6271395",
"0.61988735",
"0.6164749",
"0.613162",
"0.6094138",
"0.6056243",
"0.6048958",
"0.5981879",
"0.59615207",
"0.58979446",
"... | 0.7603252 | 1 |
Construct and return a Glyph object from a FreeType GlyphSlot. | def ocbv(oQ6W):
lEHr = f6BD.unpack_mono_bitmap(oQ6W.bitmap)
TVTK, H2v2 = (oQ6W.bitmap.width, oQ6W.bitmap.rows)
return f6BD(lEHr, TVTK, H2v2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ocbv(hcXw, oQ6W):\n lEHr = BnYr.unpack_mono_bitmap(oQ6W.bitmap)\n TVTK, H2v2 = (oQ6W.bitmap.width, oQ6W.bitmap.rows)\n tlxW = oQ6W.bitmap_top\n NuCY = oQ6W.advance.x / 64\n return BnYr(hcXw, lEHr, TVTK, H2v2, tlxW, NuCY)",
"def o4TR(Vhvp, TVTK, H2v2):\n return BnYr.from_bytes(MRxC.unhexlify... | [
"0.7961057",
"0.57016915",
"0.56690794",
"0.5349367",
"0.53132254",
"0.5270089",
"0.522534",
"0.5216988",
"0.5152464",
"0.51194143",
"0.51083726",
"0.5107212",
"0.51010185",
"0.50698286",
"0.50342345",
"0.50262636",
"0.49323416",
"0.49297082",
"0.49011374",
"0.4865927",
"0.48... | 0.74135077 | 1 |
Apply a transformation to an axis aligned bounding box. The result is a new AABB in the same coordinate system as the original AABB. The new AABB contains all corner points of the original AABB after applying the given transformation. Arguments | def QgQW(SZFh, UuhE):
o4D3, si3g, ajwV, skBL = UuhE
LTIa = SZFh.dot([[o4D3, ajwV, o4D3, ajwV], [si3g, skBL, skBL, si3g], [1, 1, 1, 1]])
K7Jg = LTIa.min(axis=1)
RVpg = LTIa.max(axis=1)
return [K7Jg[0], K7Jg[1], RVpg[0], RVpg[1]] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vD6e(YKHO):\n YKHO.a = YKHO.scale * YKHO.pixel_size * epAf.cos(YKHO.angle)\n YKHO.d = YKHO.scale * YKHO.pixel_size * epAf.sin(YKHO.angle)\n YKHO.b = YKHO.d\n YKHO.e = -YKHO.a\n YKHO.c = YKHO.point.x() - YKHO.a * YKHO.width / 2.0 - YKHO.b * YKHO.height / 2.0\n YKHO.f = YKHO.point.y() - YKHO.d ... | [
"0.5993216",
"0.5780909",
"0.5768768",
"0.5743269",
"0.55341667",
"0.5510269",
"0.5494402",
"0.5352737",
"0.52365863",
"0.51920664",
"0.51549",
"0.509332",
"0.50885874",
"0.5083554",
"0.5083312",
"0.5074581",
"0.50669986",
"0.50400835",
"0.50364906",
"0.5030839",
"0.5024302",... | 0.67207336 | 0 |
Test that we have the correct orientation for 3D mesh. | def RCcJ(HvfY):
wnaF = []
HvfY = Ziit[:, qw7D(HvfY) - 1]
for YRbF, r845, G1Hx, vC9B in zip([2, 3, 1, 4, 6, 7, 5, 8], [4, 1, 3, 2, 8, 5, 7, 6], [5, 6, 8, 7, 1, 2, 4, 3], [1, 2, 4, 3, 5, 6, 8, 7]):
EBgd = HvfY[:, YRbF - 1]
HpuQ = HvfY[:, r845 - 1]
Lq8X = HvfY[:, G1Hx - 1]
y4fz ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CV2R(YKHO):\n jDK_ = SoA4(4, 5, 6)\n vb7U = PVS4.from_axis_angle_deg(jDK_, 45.0)\n _Jov = iCFA.from_matrix44(vb7U)\n WH0X = iCFA.from_axis_angle_deg(jDK_, 45.0)\n YKHO.assertAlmostEqual(_Jov.x, WH0X.x)\n YKHO.assertAlmostEqual(_Jov.y, WH0X.y)\n YKHO.assertAlmostEqual(_Jov.z, WH0X.z)\n Y... | [
"0.66907644",
"0.65344775",
"0.64866644",
"0.64775765",
"0.635225",
"0.6186914",
"0.61645645",
"0.6123289",
"0.6066205",
"0.6064173",
"0.6039344",
"0.6009261",
"0.59722024",
"0.59441614",
"0.58758104",
"0.5860983",
"0.58420926",
"0.584001",
"0.57968104",
"0.5790933",
"0.57800... | 0.0 | -1 |
Tri un queryset par rapport au def __unicode__ de chaque objets. Retourne une liste python, pas un queryset. | def J7Xk(SR0I):
ei4T = list(SR0I)
kSUR = lambda WKvO, LVAh: eHkp(str(WKvO), str(LVAh))
ei4T.sort(kSUR)
return ei4T | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m8UH(SR0I):\n Ylbp = []\n for TpU3 in SR0I:\n Ylbp.append((TpU3.pk, QMSQ(TpU3)))\n return Ylbp",
"def Ku9n(YKHO):\n return str(YKHO.queryset)",
"def gZ_v(umWR):\n return [dict(vexM) for vexM in umWR]",
"def u7No(YKHO, YEnM):\n SR0I = Y4Gy.objects.filter(sheet=YEnM)\n WlEx = []... | [
"0.70968956",
"0.6741115",
"0.6254498",
"0.5864133",
"0.5862209",
"0.58416355",
"0.5731505",
"0.5717065",
"0.57003266",
"0.565199",
"0.5644098",
"0.5628487",
"0.56271607",
"0.56271607",
"0.55429447",
"0.5528571",
"0.5502742",
"0.5465159",
"0.54650456",
"0.54631305",
"0.545972... | 0.0 | -1 |
Retrun age of employee | def N_N1(YKHO, mWFP=None):
wzkt = qcWV.now()
RA_F = enlf(wzkt, YKHO.date_of_birth)
Sxid = str(RA_F.years) + 'y ' + str(RA_F.months) + 'm ' + str(RA_F.days) + 'd'
return Sxid | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N_N1(YKHO):\n return YKHO.age",
"def kMPY(YKHO):\n for YvUd in YKHO:\n if YvUd.sudo().birthday:\n YvUd.age = enlf(V_D6.Date.from_string(V_D6.Date.today()), V_D6.Date.from_string(YvUd.sudo().birthday)).years\n else:\n YvUd.age = 0",
"def N_N1(YKHO):\n return YKHO... | [
"0.78343093",
"0.7780342",
"0.7756065",
"0.77246886",
"0.76102054",
"0.75961936",
"0.74387103",
"0.7418841",
"0.7412204",
"0.7412204",
"0.7412204",
"0.73868626",
"0.7370561",
"0.73587114",
"0.73402995",
"0.73250574",
"0.73189145",
"0.72657144",
"0.7245541",
"0.72433716",
"0.7... | 0.7532154 | 6 |
Get the due date in datetime format | def c5UK(YKHO) -> qcWV.datetime:
if YKHO.borrow_date:
return YKHO.borrow_date + qcWV.timedelta(days=4 * 7)
else:
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YzvF(YKHO) -> _c1T:\n return YKHO._due_date",
"def c5UK(YKHO):\n return YKHO.created_at + YKHO.urgency_level.duration",
"def sySi(YKHO):\n return YKHO.get_text_from_element(YKHO.inbound_statements_details_payment_terms_due_date_locator, False)",
"def c5UK(YKHO, iIep):\n if iIep.due:\n ... | [
"0.78906375",
"0.78834194",
"0.7153348",
"0.7092116",
"0.7023346",
"0.66670465",
"0.6626673",
"0.6591438",
"0.65586597",
"0.6511818",
"0.64915997",
"0.6456736",
"0.6456193",
"0.64521253",
"0.6422806",
"0.6335825",
"0.63243085",
"0.6323519",
"0.6301096",
"0.6301096",
"0.630109... | 0.7597051 | 2 |
get all calculated_calculated concentrations by analysis_id and calculated_concentration_units from analysis ID | def caHT(YKHO, JVhn, MUyV):
try:
nPrm = YKHO.session.query(jy3H.calculated_concentration).filter(jy3H.analysis_id.like(JVhn), jy3H.calculated_concentration_units.like(MUyV), iLXt.analysis_id.like(JVhn), jy3H.experiment_id.like(iLXt.experiment_id), jy3H.sample_name_short.like(iLXt.sample_name_short), jy3H.ti... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Hvcw(YKHO, JVhn, MUyV):\n try:\n nPrm = YKHO.session.query(j3Wu.calculated_concentration).filter(j3Wu.analysis_id.like(JVhn), j3Wu.calculated_concentration_units.like(MUyV), j3Wu.used_.is_(True), j3Wu.calculated_concentration.isnot(None)).order_by(j3Wu.calculated_concentration.asc()).all()\n F... | [
"0.7162613",
"0.68476903",
"0.6752006",
"0.6683399",
"0.66714275",
"0.6462583",
"0.5874923",
"0.5613554",
"0.5523357",
"0.5503766",
"0.5471785",
"0.54066485",
"0.5320807",
"0.5307685",
"0.52459073",
"0.5201571",
"0.51649505",
"0.5096715",
"0.50874203",
"0.50873196",
"0.505260... | 0.70165676 | 1 |
Returns a timestamp (str) with the current time. | def ItX3(format=GPtr.time['format_sec'], lhKE=GPtr.time['zone']):
lhKE = FXGE.timezone(lhKE)
i8WE = lhKE.localize(qcWV.datetime.now())
return i8WE.strftime(format) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jHdZ(YKHO):\n return str(ITS7.mktime(qcWV.datetime.now().timetuple()))",
"def E3oo():\n return qcWV.now().strftime('%Y%m%dT%H%M%S')",
"def f8pJ():\n return qcWV.now().strftime('%A, %B %d, %Y, %I:%M %p')",
"def sOgR(YKHO):\n G91o = qcWV.datetime.now()\n return str(G91o)",
"def otuc():\n ... | [
"0.906371",
"0.85514706",
"0.8534162",
"0.8467712",
"0.8440766",
"0.84330547",
"0.8397142",
"0.8386568",
"0.8360851",
"0.8360851",
"0.82711256",
"0.82680434",
"0.82563066",
"0.82427406",
"0.82190543",
"0.8216528",
"0.82146263",
"0.82130355",
"0.81927985",
"0.8135484",
"0.8132... | 0.0 | -1 |
Calculates the layerwise penalty encouraging orthogonality. | def xsEQ(upAO):
with ZylS.name_scope(None, 'orthogonality', [upAO]) as mWFP:
xMw6 = ZylS.matmul(upAO, upAO, transpose_b=True)
X1AK = ZylS.norm(upAO, ord=2, axis=1, keepdims=True) + 1e-32
KVc0 = xMw6 / ZylS.matmul(X1AK, X1AK, transpose_b=True)
kyfT = KVc0.get_shape().as_list()[0]
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jPI1(Er99):\n\n def xsEQ(upAO):\n \"\"\"Calculates the layer-wise penalty encouraging orthogonality.\"\"\"\n with ZylS.name_scope(None, 'orthogonality', [upAO]) as mWFP:\n xMw6 = ZylS.matmul(upAO, upAO, transpose_b=True)\n X1AK = ZylS.norm(upAO, ord=2, axis=1, keepdims=Tr... | [
"0.69200915",
"0.6353696",
"0.6278551",
"0.6172562",
"0.59301263",
"0.59207624",
"0.58558095",
"0.58037406",
"0.57302594",
"0.5674434",
"0.56275505",
"0.56165236",
"0.55922383",
"0.5579428",
"0.5538275",
"0.55350715",
"0.55337864",
"0.54824656",
"0.5415079",
"0.540698",
"0.53... | 0.61121196 | 4 |
A bit of hackery to get the first name and last name at the top of the form instead at the end. | def FIMM(YKHO, *qIxc, **YSA3):
super(_Cox, YKHO).__init__(*qIxc, **YSA3) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LuXX(YKHO):\n YKHO.user.first_name = 'Full'\n YKHO.user.last_name = 'Name'\n YKHO.assertEqual(YKHO.user.get_form_label(email=True), 'Full Name (testuser) <testuser@example.com>')",
"def xpqj(YKHO):\n eHMM = '%s %s' % (YKHO.first_name, YKHO.last_name)\n return eHMM.strip()",
"def kaIN(c9ua, z... | [
"0.6801476",
"0.6762489",
"0.6628234",
"0.6617115",
"0.6600809",
"0.65938073",
"0.6571226",
"0.6537582",
"0.6530346",
"0.6527405",
"0.6511258",
"0.65101653",
"0.65016127",
"0.6481687",
"0.64700675",
"0.64504963",
"0.644965",
"0.64333814",
"0.64296985",
"0.64296985",
"0.640742... | 0.0 | -1 |
Check if DaemonSet is running. | def ykuA(PsTl):
Fd4y = False
try:
geh0 = nNXP.read_namespaced_daemon_set(PsTl, _63S)
jGRS = geh0.status
if jGRS.desired_number_scheduled == jGRS.number_ready:
RKD7.info('DaemonSet: %s/%s nodes ready --> %s is ready', jGRS.number_ready, jGRS.desired_number_scheduled, PsTl)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WTIh(YKHO):\n TF1W = YKHO._grep_qstat('running')\n if TF1W:\n return True\n return False",
"def WTIh(YKHO):\n return YKHO in d8qC",
"def H3O1(YKHO) -> bool:\n return any((MgeT.daemon for MgeT in YKHO.threads))",
"def bHy5(YKHO):\n try:\n YKHO.instance.wait(timeout=1)\n ... | [
"0.70547146",
"0.7020915",
"0.7012597",
"0.69985205",
"0.6957461",
"0.68912524",
"0.6876981",
"0.68632114",
"0.68553746",
"0.6831734",
"0.6814105",
"0.6805375",
"0.67099726",
"0.6706933",
"0.6689171",
"0.6684411",
"0.66475326",
"0.66450506",
"0.66450506",
"0.66450506",
"0.663... | 0.0 | -1 |
Return the name of the owner's item. | def lbQU(ZfUD):
return ZfUD.metadata.owner_references[0].name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dvRm(YKHO):\n return YKHO.__item_name",
"def Q0HP(YKHO, ZfUD):\n return ZfUD.s",
"def wsnk(YKHO):\n return gTEQ('PrlAcl_GetOwnerName', YKHO.handle)",
"def qsJ6(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner')",
"def qsJ6(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owne... | [
"0.77469575",
"0.7475767",
"0.71366477",
"0.71188045",
"0.71188045",
"0.71057993",
"0.7092732",
"0.70605654",
"0.6931098",
"0.68843687",
"0.67656195",
"0.676506",
"0.66826564",
"0.66612375",
"0.66588694",
"0.6646543",
"0.6621471",
"0.6581284",
"0.65615845",
"0.65601873",
"0.6... | 0.8084857 | 0 |
Redirects to default front page if name equals None or return render template from templates directory. | def Ev1b(mWFP=None):
if not mWFP:
return vKnz(nKyW('mainpage', name='presence_weekday.html'))
try:
return TvZl(mWFP)
except oOf0:
return Yxsy('Not Found', 404) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WmM4():\n return TvZl('login.html')",
"def kZiy():\n bpFo = ''\n Wkxa = cuiw.get('UserType', None)\n if Wkxa == None:\n bpFo = 'anonHome.jade'\n elif Wkxa == 'Seeker':\n bpFo = 'indexJob.jade'\n elif Wkxa == 'Manager':\n bpFo = 'indexManager.jade'\n VQPB = nKyW('stat... | [
"0.6120167",
"0.5955169",
"0.595008",
"0.5949647",
"0.5908594",
"0.589172",
"0.587618",
"0.5864448",
"0.5857943",
"0.58538955",
"0.5847052",
"0.58400846",
"0.58287644",
"0.58267605",
"0.581946",
"0.581946",
"0.58135086",
"0.57992566",
"0.5783744",
"0.57754236",
"0.57754236",
... | 0.66500276 | 0 |
Pytorch Dataset class to load samples from the PASTIS dataset, for semantic and panoptic segmentation. | def FIMM(YKHO, xtX7, CkYf=True, pan_='semantic', wyyA=False, FAYT=False, cvpa=None, urdX='2018-09-01', Mz1F=None, rgKk=None, CCE4=['S2']):
super(xfip, YKHO).__init__()
YKHO.folder = xtX7
YKHO.norm = CkYf
YKHO.reference_date = qcWV(*map(int, urdX.split('-')))
YKHO.cache = wyyA
YKHO.mem16 = FAYT
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ar53(YKHO):\n Ep8u = 256\n BsfS = True\n tk5Y = YKHO.root + YKHO.dataset\n if YKHO.dataset == 'MNIST':\n SZFh = Ymkf.Compose([Ymkf.ToTensor(), Ymkf.Normalize((0.1307,), (0.3081,))])\n nIKz = TTda.datasets.MNIST(tk5Y, train=True, download=BsfS, transform=SZFh)\n qhJ1 = TTda.data... | [
"0.6727793",
"0.64861995",
"0.6135096",
"0.61262006",
"0.60691357",
"0.6002083",
"0.5928011",
"0.5922055",
"0.5903629",
"0.5898939",
"0.58785695",
"0.58609563",
"0.58533734",
"0.58301216",
"0.5822101",
"0.5815738",
"0.5810329",
"0.57941467",
"0.57546306",
"0.5729781",
"0.5727... | 0.5419369 | 67 |
Fill in entire replay buffer with state action pairs using current policy. | def fRUt(YKHO, f8HR):
while len(YKHO.replay_buffer) < YKHO.buffer_sample_size:
YKHO.play(f8HR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, klGB, IFSb, Y5Rl, igb0=123):\n print('Creating Replay Buffer object')\n YKHO.buffer_size = klGB\n YKHO.state_dim = IFSb\n YKHO.action_dim = Y5Rl\n YKHO.pointer = 0\n YKHO.states = oyIN.zeros(shape=[klGB, IFSb])\n YKHO.actions = oyIN.zeros(shape=[klGB, Y5Rl])\n YKHO.rewards = ... | [
"0.6267561",
"0.6070136",
"0.602667",
"0.5983036",
"0.5977448",
"0.59287256",
"0.58492136",
"0.5834873",
"0.58293843",
"0.5768325",
"0.5757128",
"0.57521325",
"0.574201",
"0.5735531",
"0.5720933",
"0.5711951",
"0.56975585",
"0.5696251",
"0.5672254",
"0.5606715",
"0.55388564",... | 0.59846336 | 3 |
Resets the optimizers used in the training | def TR7g(YKHO):
YKHO.policy_optim = qhl4(YKHO.policy.parameters(), lr=YKHO.lr)
YKHO.q_optim = qhl4(YKHO.q_net.parameters(), lr=YKHO.lr)
YKHO.alpha_optim = qhl4([YKHO.log_alpha], lr=0.01) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SiRx():\n global optimizer_data\n global optimizer_len\n DgBG = []\n eSgx = 0\n return",
"def ka5c(YKHO):\n YKHO.loss_history = []\n YKHO.optim_configs = {}\n for XP5J in YKHO.model.params:\n Csk6 = {G1Hx: Ty9i for G1Hx, Ty9i in YKHO.optim_config.items()}\n YKHO.optim_co... | [
"0.7334564",
"0.7212947",
"0.69250166",
"0.6861769",
"0.6775574",
"0.6772441",
"0.672611",
"0.66176474",
"0.6553896",
"0.64799196",
"0.6395125",
"0.63662076",
"0.6365094",
"0.63484704",
"0.63399565",
"0.6327522",
"0.6312298",
"0.631006",
"0.6309615",
"0.6298623",
"0.6281012",... | 0.74592006 | 0 |
Kinetic Energy Spectrum. Gives the portion of kinetic energy associated with each frequency. | def Eyqe(P6bq, Ty9i, E2_z=None):
CaLm = oyIN.fft.fftn(Ty9i.reshape((-1, Ty9i.shape[-1])))
xmeU = oyIN.fft.fftn(P6bq.reshape((-1, P6bq.shape[-1])))
jUDy = oyIN.abs(CaLm) ** 2 + oyIN.abs(xmeU) ** 2
jUDy = oyIN.mean(jUDy, axis=0)
if E2_z is None:
eHNT = oyIN.arange(len(jUDy))
else:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def M16D(YKHO, VYvU):\n return YKHO.pref * VYvU ** 2 * YKHO.occupation_number(VYvU / YKHO.kT)",
"def bztM(YKHO):\n return YKHO.params['kinetic']",
"def JXBD(f4IJ):\n return oyIN.sum(f4IJ ** 2) / oyIN.float64(len(f4IJ))",
"def JXBD(f4IJ):\n return XTiz.sum(f4IJ ** 2) / XTiz.float64(len(f4IJ))",
... | [
"0.6861842",
"0.6445651",
"0.6287193",
"0.6266233",
"0.6244497",
"0.62123275",
"0.6204889",
"0.61811525",
"0.61730987",
"0.61602485",
"0.614568",
"0.61367446",
"0.6133212",
"0.6100294",
"0.60933536",
"0.6072925",
"0.6069817",
"0.60697424",
"0.606528",
"0.6057135",
"0.60438627... | 0.0 | -1 |
Returns the direct distribution for the given variable. | def l_zT(SRYB, Pyrc=40, range=None, pGrz=None, NXpY=1, yArv=99.9, _anc=False, pQ4c=None):
if pQ4c is not None:
ezF6 = (SRYB + pQ4c) % pQ4c
ezF6 /= NXpY
else:
ezF6 = SRYB / NXpY
pGrz = pGrz or oyIN.percentile(oyIN.abs(ezF6), yArv)
ezF6 = ezF6[oyIN.abs(ezF6) < pGrz]
CkYf = oyIN... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f52L(YKHO, Es0b, **B2fa):\n return YKHO.visualizer.plot_distribution(Es0b, **B2fa)",
"def gdV8(YKHO, WKvO, Es0b):\n return YKHO._distribution.marginal(WKvO, Es0b)",
"def InLe(YKHO, d7pR):\n JBMS = -YKHO.sigma ** 2 * YKHO.data['maturity']\n M1Jx = YKHO.sigma * YKHO.data['maturity'] ** 0.5\n r... | [
"0.6467348",
"0.63833463",
"0.6300723",
"0.6067981",
"0.5978737",
"0.5963487",
"0.595797",
"0.595797",
"0.5913198",
"0.5906003",
"0.59034425",
"0.5875564",
"0.58719707",
"0.576542",
"0.5726047",
"0.5690711",
"0.5650356",
"0.56478614",
"0.56463945",
"0.56415516",
"0.5624215",
... | 0.59783715 | 5 |
Returns the time derivative distribution for the given variable. | def sU0z(SRYB, Pyrc=40, range=None, pGrz=None, WS1H=1, NXpY=1, yArv=99.9, _anc=False, pQ4c=None):
tO9_ = f'Received t_steps={WS1H} for time derivative calculation but data only has {{var.shape[-1]}} time steps'
assert WS1H < SRYB.shape[-1], tO9_
ezF6 = (SRYB[..., WS1H:] - SRYB[..., :-WS1H]).flatten()
if... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VVyp(YKHO, Es0b):\n k8DP = YKHO._first_derivatives.get(Es0b, None)\n if k8DP:\n return k8DP\n else:\n return YKHO._first_derivatives.setdefault(Es0b, r50I.diff_expr(YKHO.math, Es0b))",
"def PkAj(YKHO, SRYB, Oa1e=None):\n if Oa1e == None:\n Oa1e = YKHO.g\n k0lF = oyIN.zeros... | [
"0.6622309",
"0.58894396",
"0.5864268",
"0.58023024",
"0.58023024",
"0.58000356",
"0.5728521",
"0.57245445",
"0.5626638",
"0.56089735",
"0.56089735",
"0.5599535",
"0.5599535",
"0.5583621",
"0.55788773",
"0.5570113",
"0.5501774",
"0.54770494",
"0.54531556",
"0.5452138",
"0.544... | 0.5955312 | 1 |
Initialises the main window of the application. | def FIMM(YKHO):
Af_G.__init__(YKHO)
YKHO.setWindowTitle('Owl')
YKHO.setGeometry(10, 10, 1100, 800)
YKHO.status = YKHO.statusBar()
YKHO.status.showMessage('Ready')
YKHO.setupMenus()
Irev = hb07('Contacts')
bLSL = hb07('Messages')
YKHO.userList = HaX5(YKHO, [])
YKHO.messageList = m... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b8V_(YKHO):\n YKHO.window.show_all()\n MZYv.main()",
"def DbxN(YKHO):\n _sef.theme(eFlV.app_theme)\n YKHO.window = _sef.Window(eFlV.app_title, eFlV.create_layout(), **eFlV.window_config)\n eFlV.after_window_init(YKHO.window)",
"def GmIz(YKHO):\n YKHO.setAttribute(uFai.QtCore.Qt.WA_DeleteO... | [
"0.75760764",
"0.75612587",
"0.73898476",
"0.73387116",
"0.7228604",
"0.7200158",
"0.71207225",
"0.7109992",
"0.70946085",
"0.7089324",
"0.70546174",
"0.70515865",
"0.697219",
"0.6970044",
"0.69645756",
"0.69482714",
"0.6923739",
"0.6916414",
"0.68812364",
"0.6830505",
"0.681... | 0.0 | -1 |
Override the default Equals behavior | def xa14(YKHO, Elif):
return YKHO.vertices == Elif.vertices and YKHO.weight == Elif.weight | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n pass",
"def xa14(YKHO, Elif):\n pass",
"def xa14(YKHO, Elif):\n raise NotImplementedError('must be implemented by subclass')",
"def xa14(YKHO, Elif):\n raise NotImplementedError('must be implemented by subclass')",
"def xa14(YKHO, Elif):\n raise NotImplementedError('m... | [
"0.8262612",
"0.8262612",
"0.81877613",
"0.81877613",
"0.81877613",
"0.81877613",
"0.8174912",
"0.81672645",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.80995893",
"0.8097035",
... | 0.0 | -1 |
Constructs an fully connected layer. | def FIMM(YKHO, rYO3, YDYE=ZylS.nn.softmax):
super(bj1h, YKHO).__init__()
YKHO.units = rYO3
YKHO.activation = YDYE | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tuA3(vHnr, gqIb, YDYE=ZylS.nn.relu, lzjZ='', nfqd=False):\n if not lzjZ:\n lzjZ = ''.join((str(WKvO) for WKvO in oyIN.random.randint(9, size=10)))\n yzQ0 = ZylS.Variable(ZylS.truncated_normal([int(vHnr.shape[1]), gqIb]), name='w_' + lzjZ)\n if nfqd:\n ZylS.summary.histogram('weights', yz... | [
"0.7020512",
"0.688982",
"0.68701226",
"0.63937783",
"0.63932055",
"0.62187624",
"0.6207529",
"0.619554",
"0.6186766",
"0.6175642",
"0.6166383",
"0.61588913",
"0.6119729",
"0.6114282",
"0.6049771",
"0.6003767",
"0.60019237",
"0.6000434",
"0.59905297",
"0.59616965",
"0.5961360... | 0.0 | -1 |
Creates random weights and bias from a normal distribution for our layer. | def Cc7Y(YKHO, GhuM):
YKHO.w = YKHO.add_weight(shape=(GhuM[-1], YKHO.units), initializer='random_normal', trainable=True)
YKHO.b = YKHO.add_weight(shape=(YKHO.units,), initializer='random_normal', trainable=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vfX0(YKHO, JBMS=0, z2bo=1):\n YKHO.slp_weights = oyIN.random.normal(JBMS, z2bo, size=(YKHO.n_rbfs, YKHO.n_targets))",
"def pffD(qmhL):\n return oyIN.random.normal(size=qmhL)",
"def Ixt2():\n return oyIN.random.uniform(-1, 1)",
"def h6h3(YKHO, ROpF):\n return oyIN.random.normal(size=(ROpF[0], ... | [
"0.76400465",
"0.746221",
"0.7263178",
"0.7149812",
"0.7103362",
"0.7101213",
"0.70200807",
"0.7013912",
"0.7002722",
"0.69757056",
"0.6883427",
"0.68715763",
"0.6870996",
"0.68662703",
"0.68238586",
"0.68208855",
"0.6756688",
"0.66976434",
"0.667375",
"0.66245705",
"0.661857... | 0.0 | -1 |
Asks user to specify a city, month, and day to analyze. | def RxGd():
print('Welcome to bikeshare data! \n')
lc_l = list(OerS)
for YRbF in range(len(lc_l)):
Ol8d = 'For the city of {} ,The code is {}\n'.format(lc_l[YRbF], YRbF + 1)
print(Ol8d)
print('***choose a city to start\n***')
DKd5 = input()
while int(DKd5) > len(lc_l):
pr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NoUH(j5sA, x0eS, CjKC):\n print('The city you have entered is: ', j5sA)\n print('The month you have entered is: ', x0eS)\n print('The day you have entered is: ', CjKC)",
"def RxGd():\n j5sA = None\n x0eS = None\n CjKC = None\n while CjKC == None:\n j5sA = input('Please enter a cit... | [
"0.6670663",
"0.65355295",
"0.6460245",
"0.6373799",
"0.6348607",
"0.6310135",
"0.62867314",
"0.625986",
"0.6231188",
"0.62122154",
"0.62052953",
"0.6181617",
"0.61711454",
"0.6169287",
"0.6158972",
"0.6158044",
"0.6153508",
"0.614449",
"0.61302817",
"0.610529",
"0.6102876",
... | 0.0 | -1 |
Loads data for the specified city and filters by month and day if applicable. | def UlWi(j5sA, x0eS, CjKC):
jQ3Z = rLdf.read_csv(OerS[j5sA])
jQ3Z['Start Time'] = rLdf.to_datetime(jQ3Z['Start Time'])
jQ3Z['month'] = jQ3Z['Start Time'].dt.month
jQ3Z['day_of_week'] = jQ3Z['Start Time'].dt.day_name()
jQ3Z['hour'] = jQ3Z['Start Time'].dt.hour
if x0eS != 'all':
jQ3Z = jQ3... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UlWi(j5sA, x0eS, CjKC):\n jQ3Z = rLdf.read_csv(OerS[j5sA])\n jQ3Z['Start Time'] = rLdf.to_datetime(jQ3Z['Start Time'])\n jQ3Z['month'] = jQ3Z['Start Time'].dt.month\n jQ3Z['hour'] = jQ3Z['Start Time'].dt.hour\n jQ3Z['day_of_week'] = jQ3Z['Start Time'].dt.weekday_name\n if x0eS == 0 and CjKC =... | [
"0.81320685",
"0.8108889",
"0.8045821",
"0.8042514",
"0.80090284",
"0.80071104",
"0.79991937",
"0.7998333",
"0.7988789",
"0.797905",
"0.79737365",
"0.79610896",
"0.7956163",
"0.7947432",
"0.79463065",
"0.7908287",
"0.7908229",
"0.7904569",
"0.7900715",
"0.78930074",
"0.788921... | 0.0 | -1 |
Displays statistics on the most frequent times of travel. | def dWJR(jQ3Z):
print('\nCalculating The Most Frequent Times of Travel...\n')
print('if you selcted a specific month, it will be the most frequent')
print('Choose all month for most frequent month data')
SWox = ITS7.time()
XYie = jQ3Z['month'].mode()[0]
yTw4 = jQ3Z['month'].value_counts(normaliz... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dWJR(jQ3Z):\n print('\\nDisplaying the statistics on the most frequent times of travel...\\n')\n SWox = ITS7.time()\n hFPs = jQ3Z['Month'].mode()[0]\n print('For the selected filter, the month with the most travels is: ' + str(X_bn[hFPs - 1]).title() + '.')\n DSEJ = jQ3Z['Weekday'].mode()[0]\n ... | [
"0.80247396",
"0.80233026",
"0.7915788",
"0.78266186",
"0.7822246",
"0.78143597",
"0.77659196",
"0.7740343",
"0.773628",
"0.77344066",
"0.76867086",
"0.7668633",
"0.7651731",
"0.7644636",
"0.76399267",
"0.76367253",
"0.7625196",
"0.7623158",
"0.7612803",
"0.76002145",
"0.7583... | 0.0 | -1 |
Displays statistics on the most popular stations and trip. | def Huc_(jQ3Z):
print('\nCalculating The Most Popular Stations and Trip...\n')
SWox = ITS7.time()
_8rG = jQ3Z['Start Station'].mode()[0]
b9PY = jQ3Z['Start Station'].value_counts(normalize=True) * 100
PzFL = jQ3Z['Start Station'].value_counts()
hcXX = rLdf.concat([PzFL, b9PY], axis=1, join='inne... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations and Trip...\\n')\n SWox = ITS7.time()\n print(_8rG(jQ3Z))\n print(oFx8(jQ3Z))\n print(_Ek3(jQ3Z))\n print('\\nThis took %s seconds.' % (ITS7.time() - SWox))\n print('-' * 40)",
"def Huc_(nPrm):\n print('\\nCalculating The M... | [
"0.7815675",
"0.7662213",
"0.7553417",
"0.74914914",
"0.74748665",
"0.7446617",
"0.7428588",
"0.74237514",
"0.74177027",
"0.7400495",
"0.7387161",
"0.7385634",
"0.73647535",
"0.735934",
"0.73566747",
"0.73548365",
"0.7351854",
"0.7351274",
"0.735057",
"0.73421645",
"0.7340198... | 0.0 | -1 |
Displays statistics on the total and average trip duration. | def kDMA(jQ3Z):
bJiw = jQ3Z['Trip Duration'].sum()
hJH9 = jQ3Z['Trip Duration'].mean()
lLPx = {'total': rLdf.Series([bJiw, bJiw / 60, bJiw / 3600], index=['Seconds', 'Minutes', 'Hours']), 'Average': rLdf.Series([hJH9, hJH9 / 60, hJH9 / 3600], index=['Seconds', 'Minutes', 'Hours'])}
mj5f = rLdf.DataFrame... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kDMA(nPrm):\n print('\\nCalculating Trip Duration...\\n')\n SWox = ITS7.time()\n DbBi = nPrm['Trip Duration'].sum()\n print('The Total Travel Time is {} Hours'.format(DbBi / 3600))\n IEfE = nPrm['Trip Duration'].mean()\n print('The Average Travel Time is {} Minutes'.format(IEfE / 60))\n pr... | [
"0.8145283",
"0.80273277",
"0.800625",
"0.79516613",
"0.79394716",
"0.7933188",
"0.79289365",
"0.7917429",
"0.79167455",
"0.79100615",
"0.79077137",
"0.7902854",
"0.7893696",
"0.7891645",
"0.7888904",
"0.7887135",
"0.78862405",
"0.7884963",
"0.78764445",
"0.7870734",
"0.78687... | 0.0 | -1 |
Creates a new rule. | def FIMM(YKHO, Pxqm: List[Tuple['Predicate', Tuple[str, ...]]], gujn: List[Tuple['Predicate', Tuple[str, ...]]]) -> None:
YKHO.atoms = [k3IH(*_QSz) for _QSz in Pxqm + gujn]
YKHO.negated = [False] * len(Pxqm) + [True] * len(gujn)
YKHO.weight = 0.0
YKHO.grounded = {} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G_BQ(YKHO, **o8Kj):\n return YKHO._create(hfbG.Rule, **o8Kj)",
"def CTbz(YKHO):\n pass",
"def t4PY(YKHO: object, TBsA: dict, nPu_: str=None) -> dict:\n return gTY6(calling_object=YKHO, endpoints=ck73, operation_id='create_rule', body=TBsA)",
"def FIMM(YKHO, eD8c):\n c4EF.__init__(YKHO)\n Y... | [
"0.77661496",
"0.7165851",
"0.71593416",
"0.6962275",
"0.6962275",
"0.6962275",
"0.6962275",
"0.6962275",
"0.69479007",
"0.6912512",
"0.6896337",
"0.6890248",
"0.68671674",
"0.6777787",
"0.67252964",
"0.67167526",
"0.67128694",
"0.6699123",
"0.6659627",
"0.66477424",
"0.66436... | 0.0 | -1 |
Create a sparse representention of x. | def OUIX(jWe2, yDqo=oyIN.int32):
_0VL = []
hkxX = []
for exwG, Q6uT in enumerate(jWe2):
_0VL.extend(zip([exwG] * len(Q6uT), range(len(Q6uT))))
hkxX.extend(Q6uT)
_0VL = oyIN.asarray(_0VL, dtype=oyIN.int64)
hkxX = oyIN.asarray(hkxX, dtype=yDqo)
ROpF = oyIN.asarray([len(jWe2), oyIN.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zXM_(WKvO):\n zHeZ = ht2j.typename(WKvO).split('.')[-1]\n UX5J = getattr(ht2j.sparse, zHeZ)\n _0VL = ht2j.nonzero(WKvO)\n if len(_0VL.shape) == 0:\n return UX5J(*WKvO.shape)\n _0VL = _0VL.t()\n hkxX = WKvO[tuple((_0VL[YRbF] for YRbF in range(_0VL.shape[0])))]\n return UX5J(_0VL, hkx... | [
"0.75686485",
"0.7074417",
"0.7010392",
"0.7005248",
"0.6776821",
"0.6769516",
"0.6685081",
"0.6682845",
"0.6600969",
"0.6585346",
"0.658275",
"0.6573287",
"0.6444108",
"0.6443818",
"0.64427996",
"0.6438962",
"0.6436992",
"0.6384505",
"0.63345295",
"0.6333298",
"0.6276179",
... | 0.0 | -1 |
Select random inputs. Return an array of batch_size columns, each of which is an input represented as a (column) vector. | def S84C(YKHO, Ep8u=None):
Ep8u = Ep8u or YKHO.batch_size
nSzK = oyIN.prod(YKHO.datasize)
EcVT = oyIN.zeros((nSzK, Ep8u))
for YRbF in range(Ep8u):
Nygx = oyIN.random.randint(YKHO.nstims)
he6J = YKHO.data[Nygx, ...]
if len(he6J.shape) > 1:
he6J = he6J.reshape(YKHO.stim... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fkuc(YKHO):\n return [oyIN.random.choice([-1, 1]) * oyIN.random.random() for YRbF in range(YKHO.N)]",
"def zNup(YKHO, zNig):\n d6pt = oyIN.random.randint(0, YKHO.dataset_size, size=int(zNig))\n return [WKvO[d6pt, :] for WKvO in YKHO.data]",
"def yvUy(Ep8u, q4aw, Sqw_):\n q7uy = []\n gI2r = [... | [
"0.64807093",
"0.6289564",
"0.6093539",
"0.5945525",
"0.5935339",
"0.5926138",
"0.5920289",
"0.59120786",
"0.5849037",
"0.5830708",
"0.57624984",
"0.57112575",
"0.57057184",
"0.56899136",
"0.56694734",
"0.566208",
"0.56372875",
"0.5617041",
"0.557958",
"0.55650944",
"0.555099... | 0.6261103 | 2 |
Injects DynamoDB serialization into parameter input | def w6N4(YKHO, NArs, C3ST, **B2fa):
YKHO._transformer.transform(NArs, C3ST.input_shape, YKHO._serializer.serialize, 'AttributeValue') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YN6G(YKHO, BWXx, *, QpfX, **B2fa):\n raise NotImplementedError",
"def vwc_(YKHO, ht7m: str, ZfUD: Pipeline) -> dict:\n return ZfUD.to_json()",
"def d7rc(YKHO, BWXx: typing.Any, hkS8: str | None, YEnM: typing.Any, **B2fa):\n return BWXx",
"def qQXR(YKHO, BWXx):\n YKHO.operation = BWXx['operati... | [
"0.55243766",
"0.5366625",
"0.53529614",
"0.52168065",
"0.51654994",
"0.5139176",
"0.51223093",
"0.5121041",
"0.51064765",
"0.50441146",
"0.5018304",
"0.50087184",
"0.49939594",
"0.4987816",
"0.49662238",
"0.4937576",
"0.4937576",
"0.4914141",
"0.48839846",
"0.48533607",
"0.4... | 0.5200302 | 4 |
Return a 'fixed' version of filename. | def iMEm(Ux0P):
gyoy = Ux0P.replace(' ', '_').replace('.TXT', '.txt')
ARS9 = ''
Dokz = ''
for YRbF, bseI in enumerate(gyoy):
Ci02 = bseI
if ARS9 == '_' and Ci02.islower():
Dokz += Ci02.upper()
elif ARS9 == '(' and Ci02.islower():
Dokz += Ci02.upper()
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def icYR(Ux0P):\n _c1T = qcWV.datetime.utcnow().strftime('%Y-%m-%d-%H%M%S')\n aPr_, Fst3 = Ux0P.rsplit('.', 1)\n return '{0}-{1}.{2}'.format(aPr_, _c1T, Fst3)",
"def icYR(Ux0P):\n Ux0P = YX8g(Ux0P)\n _c1T = qcWV.datetime.utcnow().strftime('%Y-%m-%d-%H%M%S')\n aPr_, Fst3 = Ux0P.rsplit('.', 1)\n ... | [
"0.7250059",
"0.71424264",
"0.7099398",
"0.7067578",
"0.70534736",
"0.6940534",
"0.68074816",
"0.67568046",
"0.673747",
"0.6724021",
"0.67217356",
"0.6685823",
"0.6665831",
"0.6630088",
"0.661831",
"0.6595872",
"0.658626",
"0.65764874",
"0.6531638",
"0.6502819",
"0.64971834",... | 0.6781198 | 7 |
Yield successive nsized chunks from l. | def dlVb(YKHO, vC9B, exwG):
for YRbF in range(0, len(vC9B), exwG):
yield vC9B[YRbF:YRbF + exwG] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xJ0H(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B) + 1, exwG):\n yield vC9B[YRbF:YRbF + exwG]",
"def eHxA(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield vC9B[YRbF:YRbF + exwG]",
"def I7IE(vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield ... | [
"0.8038813",
"0.79248375",
"0.7923423",
"0.78773195",
"0.7815877",
"0.77655786",
"0.77556044",
"0.77441615",
"0.7731815",
"0.77288336",
"0.772473",
"0.77028215",
"0.76889825",
"0.76889825",
"0.7664208",
"0.76570904",
"0.7655856",
"0.7655856",
"0.76458347",
"0.76458347",
"0.76... | 0.7885103 | 3 |
strip enclosing double quotes, parse coordinates | def qp6G(YKHO, XLMv, MTKo):
BWXx = kwpV.SafeConfigParser.get(YKHO, XLMv, MTKo)
BWXx = BWXx.strip('"')
BHsk = BWXx.split(',', 2)
CLNC = {}
CLNC['long'] = BHsk.pop()
CLNC['lat'] = BHsk.pop()
return CLNC | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nQ_h(jNOo):\n hYRG = ZbWC.compile('\\\\s+')\n KCHu = hYRG.split(jNOo[0])\n jcPU = []\n for YRbF in KCHu:\n jcPU.append(YRbF.split(','))\n jNWO = []\n for ZfUD in jcPU:\n IS_q = []\n for exwG in ZfUD:\n KCHu = exwG.strip()\n try:\n IS_q... | [
"0.695526",
"0.6227543",
"0.62095004",
"0.6090966",
"0.6055424",
"0.6024204",
"0.60163367",
"0.60098034",
"0.59717023",
"0.59682554",
"0.5957412",
"0.59151083",
"0.59012395",
"0.5887412",
"0.58620256",
"0.5854239",
"0.5816421",
"0.57776093",
"0.57767564",
"0.5760621",
"0.5756... | 0.0 | -1 |
Computes the mass of the fuel system (e.g., tanks, pumps, but not the fuel itself) for a cargo/transport | def ZlCO(NUa5: float, bfIk: int, lqIk: float=0.5) -> float:
DJ9w = 1 - lqIk
return 2.405 * (NUa5 / P6bq.gallon) ** 0.606 * (1 + lqIk) ** (-1) * (1 + DJ9w) * bfIk ** 0.5 * P6bq.lbm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qZto(pDQF):\n bMbF = 0.0\n for G1Hx, Ty9i in pDQF.items():\n if G1Hx == 0:\n bMbF -= Ty9i * 0.0005489\n else:\n bMbF += Ty9i * ldnT[G1Hx - 1]\n return bMbF",
"def yb20(bMbF):\n return max(bMbF / 3 - 2, 0)",
"def bPN_(bMbF):\n return int(bMbF / 3) - 2",
"... | [
"0.6908069",
"0.6871332",
"0.68011856",
"0.67922527",
"0.6770156",
"0.6728891",
"0.67110443",
"0.66887164",
"0.66869414",
"0.6595515",
"0.659239",
"0.6591645",
"0.6586524",
"0.6565294",
"0.6550709",
"0.6544877",
"0.6527932",
"0.64481664",
"0.63721675",
"0.63560534",
"0.635293... | 0.64137846 | 18 |
Computes the mass of the auxiliary power unit (APU) for a cargo/transport aircraft, according to Raymer's Aircraft | def O1UE(eHG9: float):
return 2.2 * eHG9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sFZn(t08A: int, Z4lR: int, H0TW: float, Z0GJ: float):\n return 62.36 * (t08A + Z4lR) ** 0.25 * (H0TW / P6bq.foot ** 3 / 1000.0) ** 0.604 * (Z0GJ / P6bq.lbm) ** 0.1 * P6bq.lbm",
"def HNsY(AFjE):\n Qdeb = 1.0 / oyIN.cos(oyIN.deg2rad(AFjE))\n return Qdeb",
"def yhKV(YKHO):\n sJsJ = 0\n NCBZ = X... | [
"0.64762974",
"0.62614197",
"0.62603736",
"0.62260145",
"0.62219983",
"0.6205465",
"0.5964669",
"0.59323215",
"0.5930326",
"0.5611548",
"0.5528604",
"0.5490929",
"0.54532516",
"0.541888",
"0.5407808",
"0.5377963",
"0.53560084",
"0.5346819",
"0.53421617",
"0.5334387",
"0.53013... | 0.69907904 | 0 |
Return the HTML with the main HTML page | def blzU(YKHO):
if ZHBu:
with open('openfda_basic.html') as FqQF:
_R2e = FqQF.read()
else:
with open('openfda.html') as FqQF:
_R2e = FqQF.read()
return _R2e | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ozko():\n return TvZl('main_page.html')",
"def Ozko():\n return TvZl('index.html')",
"def d6pt(YKHO):\n return YKHO.html",
"def b8V_():\n return TvZl('main.html')",
"def b8V_():\n return TvZl('main.html')",
"def zrgm():\n return TvZl('moby.html')",
"def b8V_():\n B2Dn = xhTS()\... | [
"0.78748435",
"0.77521324",
"0.76116705",
"0.75585",
"0.75585",
"0.73639154",
"0.7333431",
"0.7279256",
"0.7279256",
"0.7254037",
"0.71512",
"0.7110393",
"0.7098005",
"0.7090026",
"0.70862687",
"0.7077242",
"0.7077242",
"0.7058926",
"0.7040499",
"0.7040274",
"0.70097804",
"... | 0.78949946 | 0 |
Decorator which defines a functions as concurrent, eg. it should be executed on the worker. If you wish to call the function directly you can access the original function at ``.direct``. | def zKwq(JfyU=None, gGq6=None, kcwm=False, UT6c=0, ISbl=0):
if isinstance(JfyU, str):
return lambda eHNT: aEoi(func=eHNT, dft_queue=JfyU, unique=kcwm, timeout_seconds=UT6c, expire_seconds=ISbl)
if JfyU is None:
return lambda eHNT: aEoi(func=eHNT, dft_queue=gGq6, unique=kcwm, timeout_seconds=UT6c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EHQC(*qIxc, **B2fa):\n return YLnM.current().run_sync(xBlr.partial(JfyU, *qIxc, **B2fa))",
"def oeWR(m2Zb):\n\n def h3Xc(*qIxc, **YSA3):\n with ahCL.lock:\n return m2Zb(*qIxc, **YSA3)\n return h3Xc",
"def mrMx(JfyU):\n pass",
"def IF2O(MCGS: tp.Callable) -> HRJ_.Callable:\n\... | [
"0.6510552",
"0.63173974",
"0.6249528",
"0.62272984",
"0.6185312",
"0.6140188",
"0.612324",
"0.6075599",
"0.60568535",
"0.60537964",
"0.60237414",
"0.5989997",
"0.5975493",
"0.5974378",
"0.59714663",
"0.5958049",
"0.5949265",
"0.59252757",
"0.58865726",
"0.5875453",
"0.585736... | 0.6644512 | 0 |
Decorator which defines a functions as a cron job, eg. it should be executed at specific times. Workers will enqueue this job at or just after the set times. If ``unique`` is true (the default) the job will only be enqueued once even if multiple workers are running. If you wish to call the function directly you can acc... | def GPA2(*, x0eS: Union[None, set, int]=None, CjKC: Union[None, set, int]=None, XKrP: Union[None, set, int, str]=None, ROt1: Union[None, set, int]=None, yVtz: Union[None, set, int]=None, CsFy: Union[None, set, int]=0, g9FU: int=123456, AN5q=None, gYIq=False, kcwm=True, UT6c=60):
return lambda eHNT: exNs(func=eHNT, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wPFE(oCfW, *qIxc, **B2fa):\n\n def hW2q(SzLu):\n oCfW.do(SzLu, *qIxc, **B2fa)\n return SzLu\n return hW2q",
"def GPA2(YKHO, _AZx, _iyT):\n oCfW = W7aK(_AZx, _iyT, YKHO)\n YKHO.jobs.append(oCfW)\n return oCfW",
"def H2v5(NRlS, **B2fa) -> None:\n IesV = mmZU()\n IesV.add_jo... | [
"0.6076152",
"0.58702916",
"0.5756076",
"0.57473314",
"0.57189727",
"0.5709732",
"0.5664868",
"0.565292",
"0.5606182",
"0.5501176",
"0.5487995",
"0.54742056",
"0.54571533",
"0.5441805",
"0.5439397",
"0.54101604",
"0.5384286",
"0.5375054",
"0.53689355",
"0.53640383",
"0.533690... | 0.6734553 | 0 |
returns max lines allowed | def iQiC(YKHO):
return YKHO._maxLines | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BcCR(Nqlg):\n return max([len(KCHu.split()) for KCHu in Nqlg])",
"def wwr2(YKHO):\n return YKHO.spinMaxLogLines.get_value_as_int()",
"def ppxA(YKHO):\n return YKHO._kml['maxlines']",
"def PZx2(YKHO):\n return YKHO.screen.getmaxyx()[0] - 2",
"def SvF_(YKHO, exwG):\n YKHO._maxLines = exwG\... | [
"0.76349723",
"0.7272547",
"0.7165713",
"0.713636",
"0.6942895",
"0.6775653",
"0.6698256",
"0.6691362",
"0.65517646",
"0.6521363",
"0.64554095",
"0.64491695",
"0.6431088",
"0.63999057",
"0.6381548",
"0.6380912",
"0.6375888",
"0.63401747",
"0.63022345",
"0.6243584",
"0.6243525... | 0.87286377 | 0 |
sets maximum number of lines allowed | def SvF_(YKHO, exwG):
YKHO._maxLines = exwG
YKHO._trunc_lines() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iQiC(YKHO):\n return YKHO._maxLines",
"def qDIl(YKHO, ANdr):\n YKHO.maxsize = ANdr",
"def _Rey(YKHO, BWXx):\n YKHO.spinMaxLogLines.set_value(BWXx)",
"def kRG9(YKHO, qoqK):\n YKHO.max_record_limit = qoqK",
"def UryJ(YKHO):\n l2lq = int(YKHO.set_max_sentence.get())\n RcmB = YKHO.min_sen... | [
"0.72174835",
"0.69830364",
"0.6847755",
"0.64669925",
"0.64234453",
"0.6422268",
"0.6249642",
"0.62354034",
"0.62354034",
"0.62354034",
"0.6177047",
"0.6175626",
"0.6175626",
"0.6175626",
"0.6175626",
"0.6175626",
"0.6175626",
"0.6175626",
"0.6175626",
"0.6175626",
"0.617562... | 0.8597132 | 0 |
returns index af a column given its column name | def bAvW(YKHO, tcLV):
return YKHO._columns[tcLV] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f1pu(YKHO, z0q4: str) -> int:\n return YKHO._column_indices[z0q4]",
"def Vn7Z(YKHO, iVRZ):\n return YKHO.columns.index(iVRZ)",
"def f1pu(YKHO, vt_q):\n return YKHO.column_labels.index(vt_q)",
"def iYZ_(Ux0P, z0q4):\n with open(Ux0P) as eHNT:\n for WBPg in eHNT:\n ZLJ_ = WBPg... | [
"0.82776165",
"0.8147774",
"0.7764068",
"0.76117903",
"0.76086396",
"0.7571018",
"0.754229",
"0.7536253",
"0.74898005",
"0.7489108",
"0.7346924",
"0.7274244",
"0.7170877",
"0.7091701",
"0.705067",
"0.69433796",
"0.6920825",
"0.67590076",
"0.6746004",
"0.6701321",
"0.6662654",... | 0.82448417 | 1 |
returns number of rows in the list | def RJbo(YKHO):
return YKHO.iter_n_children(None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SWGE(YKHO) -> int:\n ...",
"def Tyhs(YKHO):\n UHFx = 0\n Wswm = YKHO.client.scannerOpen(YKHO.table, '', ['f:s'])\n while 1:\n Mkmy = YKHO.client.scannerGetList(Wswm, 1000)\n if not Mkmy:\n break\n UHFx += len(Mkmy)\n G9jH.debug('%d %s', UHFx, Mkmy[-1].row)\n... | [
"0.7781061",
"0.75541437",
"0.74858695",
"0.74643165",
"0.7447117",
"0.739282",
"0.73849195",
"0.73849195",
"0.73794454",
"0.7354553",
"0.73329073",
"0.7278076",
"0.72680926",
"0.7204585",
"0.7120261",
"0.709179",
"0.7075071",
"0.7041571",
"0.70252377",
"0.6982923",
"0.696881... | 0.70733774 | 17 |
returns value of the 'max log lines' setting | def wwr2(YKHO):
return YKHO.spinMaxLogLines.get_value_as_int() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iQiC(YKHO):\n return YKHO._maxLines",
"def _Rey(YKHO, BWXx):\n YKHO.spinMaxLogLines.set_value(BWXx)",
"def ppxA(YKHO):\n return YKHO._kml['maxlines']",
"def lyM4(YKHO, sx3Z):\n YKHO.logView.set_max_lines(sx3Z.get_value_as_int())\n YKHO.emit('max-log-lines-changed')",
"def TO88(YKHO) -> f... | [
"0.78338355",
"0.7617107",
"0.6942586",
"0.6877112",
"0.6832664",
"0.6807198",
"0.6686845",
"0.665079",
"0.65768594",
"0.64467424",
"0.6433672",
"0.6432308",
"0.63611275",
"0.63475496",
"0.63421357",
"0.6280894",
"0.6252704",
"0.62475055",
"0.6235007",
"0.6223025",
"0.6201123... | 0.8683542 | 0 |
A view to render information on the Checkout Page | def s7ch(QePW):
jcBk = gCuF.STRIPE_PUBLIC_KEY
cb5z = gCuF.STRIPE_SECRET_KEY
if QePW.method == 'POST':
D79s = QePW.session.get('bag', {})
BGqR = {'full_name': QePW.POST['full_name'], 'email': QePW.POST['email'], 'phone_number': QePW.POST['phone_number'], 'street_address1': QePW.POST['street_a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XfwO(QePW):\n return _1tc(QePW, 'shoppingbag/shoppingbag.html')",
"def MGNG(QePW):\n return _1tc(QePW, 'cart/cart.html')",
"def MGNG(QePW):\n return _1tc(QePW, 'cart/cart.html')",
"def MGNG(QePW):\n return _1tc(QePW, 'cart.html')",
"def Qpy0(QePW):\n QpfX = {'discount_percentage': gCuF.D... | [
"0.6685182",
"0.6613053",
"0.6613053",
"0.66004103",
"0.6580404",
"0.6571783",
"0.6529572",
"0.6529572",
"0.6529572",
"0.6443502",
"0.6412792",
"0.6289644",
"0.61918694",
"0.61916804",
"0.61078906",
"0.599275",
"0.59790355",
"0.59725815",
"0.5967623",
"0.5963918",
"0.59468776... | 0.55554163 | 66 |
the the repr string representation | def H4zp():
Z9rn = Lr0q(4)
assert Z9rn.__repr__() == 'Circle(4)' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wHJl(YKHO):\n golO = ''\n for YRbF in YKHO.structref:\n golO = golO + '%-15s = ' % YRbF[YKHO.NAME]\n BWXx = YKHO.value[YRbF[YKHO.NAME]]\n if roeU(BWXx):\n golO = golO + '%d, 0x%X' % (BWXx, BWXx)\n if BWXx >= 32 and BWXx <= 255:\n golO = golO + \" ... | [
"0.7628614",
"0.7607337",
"0.7500048",
"0.74883145",
"0.74816614",
"0.74650484",
"0.74650484",
"0.7421648",
"0.7382179",
"0.73706067",
"0.7362777",
"0.7356752",
"0.73461705",
"0.73355764",
"0.731826",
"0.72497004",
"0.72497004",
"0.72497004",
"0.72444856",
"0.7230697",
"0.723... | 0.0 | -1 |
Creates a LaTeX table with different batch sizes, drum instruments and input metrics. | def pC20(nPrm, id):
cuUy = nPrm['bd']
ifkm = nPrm['sd']
Ux0P = 'LatestResults.tex'
nUeQ = '..\\latex\\tables\\\\' + Ux0P
if Hy7s.path.exists(nUeQ):
zeL0 = Hy7s.path.splitext(nUeQ)[0]
Hy7s.rename(nUeQ, zeL0 + '_' + id + '.tex')
eHNT = T_Uj.open(nUeQ, 'w', 'utf-8')
eHNT.write('... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fn50(WXkz, n4ZO, oAzn):\n A31j = list(WXkz[0].values())\n WwSv = list(WXkz[1].values())\n h8_U = list(WXkz[2].values())\n mP2y = list(WXkz[3].values())\n iYUF = [jzdc - Fg_i for jzdc, Fg_i in zip(A31j, WwSv)]\n gOvJ = [jzdc - Fg_i for jzdc, Fg_i in zip(h8_U, mP2y)]\n ody0 = [jzdc - Fg_i fo... | [
"0.6562396",
"0.6529816",
"0.6491857",
"0.64495707",
"0.64167845",
"0.63943183",
"0.63101923",
"0.62994653",
"0.62431747",
"0.62373394",
"0.62016743",
"0.6185538",
"0.61628616",
"0.6155211",
"0.6155211",
"0.61309963",
"0.6130336",
"0.6113951",
"0.60355633",
"0.6020376",
"0.60... | 0.7563468 | 0 |
Decorator that produces a callable that executes a TensorFlow graph. When applied on a function that constructs a TensorFlow graph, this decorator | def eFk3(pvem):
assert QpfX.in_eager_mode(), 'graph_callable can only be used when Eager execution is enabled.'
def mrMx(JfyU):
return ORC0.make_decorator(JfyU, FTfP(JfyU, pvem))
return mrMx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FTfP(JfyU, pvem):\n with QpfX.graph_mode():\n Ff0B = Gi3N.Graph()\n with Ff0B.as_default():\n rvU0 = UkTO(pvem)\n gfKK = len(Tf9G.getargspec(JfyU).args)\n if len(rvU0) != gfKK:\n raise TypeError('The number of arguments accepted by the decorated ... | [
"0.7012606",
"0.65417904",
"0.6532894",
"0.6417617",
"0.63722134",
"0.6340726",
"0.6339656",
"0.62744623",
"0.6274035",
"0.6260365",
"0.61824006",
"0.60748726",
"0.60312593",
"0.60261095",
"0.6015492",
"0.5931827",
"0.59099317",
"0.58882207",
"0.588018",
"0.58785814",
"0.5820... | 0.7653254 | 0 |
Computes the precision for the specified values of k | def vjyh(hlel, pan_, hz5a=(1,)):
Gq8e = max(hz5a)
Ep8u = pan_.size(0)
bGrB, nvEb = hlel.topk(Gq8e, 1, True, True)
nvEb = nvEb.t()
gXXc = nvEb.eq(pan_.view(1, -1).expand_as(nvEb))
Ylbp = []
for G1Hx in hz5a:
R2Dg = gXXc[:G1Hx].reshape(-1).float().sum(0)
Ylbp.append(R2Dg.mul_(1... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rhd_(_ger, nvEb, G1Hx):\n G1Hx = min(len(nvEb), G1Hx)\n OCOs = min(len(_ger), G1Hx)\n return sum([int(nvEb[YRbF] in _ger) for YRbF in range(G1Hx)]) / OCOs",
"def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx] != 0\n if Mkmy.size != G1Hx:\n raise ValueError('R... | [
"0.76427615",
"0.74189496",
"0.7418079",
"0.72710466",
"0.72456723",
"0.72446615",
"0.7237539",
"0.72213703",
"0.7210107",
"0.7058935",
"0.6852219",
"0.6786084",
"0.67836976",
"0.6768417",
"0.67273885",
"0.67181736",
"0.67181736",
"0.67181736",
"0.67181736",
"0.67181736",
"0.... | 0.0 | -1 |
Remove redundent spaces in the result. | def EC_r(Aofo):
return vIwR.join(Aofo.split(), ' ') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EQOQ():\n pass",
"def uH_F(YKHO) -> None:\n YKHO.text = ZbWC.sub('\\\\s+', ' ', YKHO.text)",
"def BwdK(YKHO, V22M):\n return ZbWC.sub('\\\\s+', ' ', V22M.strip()).strip()",
"def mQFJ(YKHO) -> None:\n YKHO.text = ZbWC.sub('\\\\s[^\\n\\\\s]\\\\s', ' ', YKHO.text)",
"def Wdyj(deaU, l5Ny):\n ... | [
"0.7912003",
"0.7556939",
"0.7490573",
"0.74472016",
"0.74088115",
"0.74071205",
"0.7287244",
"0.71814144",
"0.7178578",
"0.71600956",
"0.7155232",
"0.7106763",
"0.70857656",
"0.7040228",
"0.70316476",
"0.7024055",
"0.7019722",
"0.69865537",
"0.6975499",
"0.6957336",
"0.69362... | 0.0 | -1 |
Do sentence tokenization by using regular expression | def N3rN(zFiD):
Rhv4 = []
KAof = 0
if not ZbWC.search('\\.', zFiD):
return [zFiD]
for kUBT in ZbWC.finditer('\\.', zFiD):
yM0l = kUBT.start()
mB6j = kUBT.end()
if raof(yM0l, zFiD):
Atd3 = zFiD[KAof:mB6j]
Atd3 = Atd3.strip()
if wKYV(Atd3... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wr3U(l5Ny):\n yAmx = W66f(l5Ny)\n return yAmx.tokens()",
"def wr3U(yAmx):\n U5bT = []\n for eOtH in yAmx.split(' '):\n eOtH = eOtH.strip()\n if not len(eOtH):\n continue\n if eOtH[-1] == '.' or eOtH[-1] == '?':\n eOtH = eOtH[:-1]\n if len(eOtH):\n... | [
"0.74220836",
"0.74122137",
"0.7266134",
"0.7251823",
"0.7218098",
"0.71925735",
"0.7083671",
"0.7070938",
"0.70606124",
"0.7046501",
"0.70435935",
"0.7018513",
"0.6983145",
"0.69479495",
"0.69418025",
"0.69155204",
"0.6903725",
"0.6878934",
"0.68594134",
"0.6830891",
"0.6830... | 0.0 | -1 |
Sets the additional_description of this ScheduleH4. | def hWv6(YKHO, hWv6):
YKHO._additional_description = hWv6 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BjPw(YKHO, QoB4):\n YKHO.description = QoB4",
"def JBZA(YKHO, JBZA):\n YKHO._description = JBZA",
"def JBZA(YKHO, JBZA):\n YKHO._description = JBZA",
"def JBZA(YKHO, JBZA):\n YKHO._description = JBZA",
"def JBZA(YKHO, JBZA):\n YKHO._description = JBZA",
"def JBZA(YKHO, JBZA):\n YKHO... | [
"0.72619593",
"0.7170543",
"0.7170543",
"0.7170543",
"0.7170543",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
"0.70948803",
... | 0.8298258 | 0 |
Sets the amendment_indicator of this ScheduleH4. | def zJBG(YKHO, zJBG):
YKHO._amendment_indicator = zJBG | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tp8e(YKHO, tp8e):\n YKHO._amendment_indicator_desc = tp8e",
"def _ahp(YKHO, _ahp):\n YKHO._amendment = _ahp",
"def ebMy(YKHO, cqoG):\n YKHO._immune = cqoG",
"def tsWJ(YKHO, Ul0g):\n YKHO.av = Ul0g",
"def pqFD(YKHO, pqFD):\n YKHO._amendment_chain = pqFD",
"def sDBM(YKHO, X1sS):\n X1s... | [
"0.6742256",
"0.6677889",
"0.5813163",
"0.5147014",
"0.5105721",
"0.50622237",
"0.4842453",
"0.48225528",
"0.48016068",
"0.47667405",
"0.47481444",
"0.47450197",
"0.47441792",
"0.46944198",
"0.4628116",
"0.4602124",
"0.4571568",
"0.457075",
"0.45612878",
"0.45555827",
"0.4546... | 0.84887534 | 0 |
Sets the back_reference_transaction_id of this ScheduleH4. | def kSFm(YKHO, kSFm):
YKHO._back_reference_transaction_id = kSFm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XIp1(YKHO, XIp1):\n YKHO._back_reference_schedule_id = XIp1",
"def jS4s(YKHO, OSJW):\n YKHO.reference_id = OSJW",
"def HXyA(YKHO, HXyA):\n YKHO._remittance_reference = HXyA",
"def OSJW(YKHO, OSJW):\n YKHO._reference_id = OSJW",
"def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH",
"de... | [
"0.74941343",
"0.60008985",
"0.5925845",
"0.5806116",
"0.5742958",
"0.5742958",
"0.5622873",
"0.5403959",
"0.5377329",
"0.5298495",
"0.5256606",
"0.5217262",
"0.5216628",
"0.5138288",
"0.5138288",
"0.5129164",
"0.5113195",
"0.51116526",
"0.50931233",
"0.5026752",
"0.50219774"... | 0.8494196 | 0 |
Sets the candidate_first_name of this ScheduleH4. | def vHVQ(YKHO, vHVQ):
YKHO._candidate_first_name = vHVQ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Lnj8(YKHO, c9ua):\n YKHO.first_name = c9ua",
"def c9ua(YKHO, mWFP):\n YKHO._first_name = mWFP",
"def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua",
"def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua",
"def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua",
"def c9ua(YKHO, c9ua):\n YKHO._fir... | [
"0.75824547",
"0.7547167",
"0.7452706",
"0.7452706",
"0.7452706",
"0.7452706",
"0.7452706",
"0.7452706",
"0.7452706",
"0.7452706",
"0.7452706",
"0.71671736",
"0.71671736",
"0.7015078",
"0.6868375",
"0.6791379",
"0.6791379",
"0.67802525",
"0.66729325",
"0.6627801",
"0.66264015... | 0.86969966 | 1 |
Sets the candidate_last_name of this ScheduleH4. | def CGkF(YKHO, CGkF):
YKHO._candidate_last_name = CGkF | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zsQz(YKHO, zp3f):\n YKHO.last_name = zp3f",
"def zp3f(YKHO, zp3f):\n YKHO._last_name = zp3f",
"def zp3f(YKHO, zp3f):\n YKHO._last_name = zp3f",
"def zp3f(YKHO, zp3f):\n YKHO._last_name = zp3f",
"def zp3f(YKHO, zp3f):\n YKHO._last_name = zp3f",
"def zp3f(YKHO, zp3f):\n YKHO._last_nam... | [
"0.74708027",
"0.73828924",
"0.73828924",
"0.73828924",
"0.73828924",
"0.73828924",
"0.73828924",
"0.73828924",
"0.73828924",
"0.73828924",
"0.73828924",
"0.72051",
"0.71920407",
"0.70317674",
"0.69352674",
"0.69352674",
"0.6726542",
"0.6726542",
"0.67165387",
"0.6689159",
"0... | 0.8767063 | 1 |
Sets the candidate_name of this ScheduleH4. | def TN3s(YKHO, TN3s):
YKHO._candidate_name = TN3s | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vHVQ(YKHO, vHVQ):\n YKHO._candidate_first_name = vHVQ",
"def vHVQ(YKHO, vHVQ):\n YKHO._candidate_first_name = vHVQ",
"def CGkF(YKHO, CGkF):\n YKHO._candidate_last_name = CGkF",
"def CGkF(YKHO, CGkF):\n YKHO._candidate_last_name = CGkF",
"def dTTM(YKHO, dTTM):\n YKHO._candidate_id = dTTM"... | [
"0.7092625",
"0.7092625",
"0.6677585",
"0.6677585",
"0.65063214",
"0.65063214",
"0.64476204",
"0.6195637",
"0.58725446",
"0.57911706",
"0.57601213",
"0.57601213",
"0.57540077",
"0.57015824",
"0.5669734",
"0.5663513",
"0.5651387",
"0.5640458",
"0.5639279",
"0.55983293",
"0.559... | 0.8184515 | 1 |
Sets the category_code of this ScheduleH4. | def CoCS(YKHO, CoCS):
YKHO._category_code = CoCS | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ials(YKHO, Ghho):\n if Ghho is not None and (not isinstance(Ghho, str)):\n raise pDrJ(Byma.DATA_TYPE_ERROR, 'KEY: category EXPECTED TYPE: str', None, None)\n YKHO.__category = Ghho\n YKHO.__key_modified['category'] = 1",
"def gzrV(YKHO, gzrV):\n YKHO._merchant_category_code = gzrV",
"def... | [
"0.70052147",
"0.6873093",
"0.6493307",
"0.6475282",
"0.64124507",
"0.6383197",
"0.6313648",
"0.6313648",
"0.6313648",
"0.6313648",
"0.6313648",
"0.63000166",
"0.619993",
"0.6078352",
"0.60332304",
"0.60040987",
"0.5946537",
"0.55942386",
"0.55619985",
"0.55609185",
"0.550935... | 0.8171355 | 0 |
Sets the committee_id of this ScheduleH4. | def uAuH(YKHO, uAuH):
YKHO._committee_id = uAuH | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JLsd(YKHO, JLsd):\n YKHO._conduit_committee_id = JLsd",
"def uA1x(YKHO, uA1x):\n YKHO._committee = uA1x",
"def FH16(YKHO, FH16):\n YKHO._committee_name = FH16",
"def LihE(YKHO, LihE):\n YKHO._committee_type = LihE",
"def EfzR(YKHO, EfzR):\n YKHO._conduit_committee_name = EfzR",
"def ns... | [
"0.749569",
"0.69791913",
"0.66032636",
"0.5948443",
"0.5899994",
"0.55302703",
"0.5518239",
"0.5518239",
"0.5495657",
"0.5495657",
"0.5495657",
"0.5495657",
"0.54889387",
"0.54333365",
"0.54333365",
"0.54275227",
"0.5408964",
"0.53359383",
"0.52936035",
"0.5244547",
"0.52329... | 0.83848655 | 2 |
Sets the conduit_committee_id of this ScheduleH4. | def JLsd(YKHO, JLsd):
YKHO._conduit_committee_id = JLsd | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uAuH(YKHO, uAuH):\n YKHO._committee_id = uAuH",
"def uAuH(YKHO, uAuH):\n YKHO._committee_id = uAuH",
"def uAuH(YKHO, uAuH):\n YKHO._committee_id = uAuH",
"def EfzR(YKHO, EfzR):\n YKHO._conduit_committee_name = EfzR",
"def _MKO(YKHO, _MKO):\n YKHO._conduit_committee_city = _MKO",
"def E... | [
"0.74760234",
"0.74760234",
"0.74760234",
"0.6913661",
"0.6707337",
"0.63203984",
"0.61773175",
"0.58653337",
"0.57406956",
"0.57005507",
"0.5467312",
"0.5467312",
"0.5446104",
"0.54000014",
"0.53744346",
"0.5324333",
"0.51176476",
"0.509109",
"0.5082635",
"0.50509894",
"0.49... | 0.8622019 | 0 |
Sets the conduit_committee_name of this ScheduleH4. | def EfzR(YKHO, EfzR):
YKHO._conduit_committee_name = EfzR | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FH16(YKHO, FH16):\n YKHO._committee_name = FH16",
"def JLsd(YKHO, JLsd):\n YKHO._conduit_committee_id = JLsd",
"def pX2G(YKHO, pX2G):\n YKHO._filer_committee_name = pX2G",
"def _MKO(YKHO, _MKO):\n YKHO._conduit_committee_city = _MKO",
"def uAuH(YKHO, uAuH):\n YKHO._committee_id = uAuH",
... | [
"0.77482176",
"0.7141524",
"0.7136189",
"0.63460493",
"0.61785597",
"0.61785597",
"0.61785597",
"0.6031465",
"0.59681857",
"0.5967726",
"0.5699891",
"0.56887984",
"0.5580852",
"0.54702",
"0.5454579",
"0.52425987",
"0.51757437",
"0.5139292",
"0.51063955",
"0.50215757",
"0.4993... | 0.86799264 | 0 |