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
Creates and saves a User with the given email, date of birth and password.
def lYUQ(YKHO, D3lj, mWFP, jTXt=None): if not D3lj: raise ValueError('Users must have an email address') CBIr = YKHO.model(email=YKHO.normalize_email(D3lj), name=mWFP) CBIr.set_password(jTXt) CBIr.save(using=YKHO._db) return CBIr
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xWi2(YKHO, D3lj, jTXt, **wdCM):\n if not D3lj:\n raise ValueError('The email must be set')\n D3lj = YKHO.normalize_email(D3lj)\n CBIr = YKHO.model(email=D3lj, **wdCM)\n CBIr.set_password(jTXt)\n CBIr.save()", "def xWi2(YKHO, D3lj, c9ua, zp3f, jTXt, **wdCM):\n D3lj = YKHO.normalize_em...
[ "0.83980966", "0.82422036", "0.8221215", "0.8133431", "0.81114644", "0.81068236", "0.80886376", "0.8084394", "0.8077171", "0.8075778", "0.8071576", "0.80651426", "0.80617356", "0.8059648", "0.8059451", "0.80589384", "0.8057674", "0.80551237", "0.8048792", "0.80485", "0.804571...
0.0
-1
Creates and saves a superuser with the given email, date of birth and password.
def Zp54(YKHO, D3lj, mWFP, jTXt): CBIr = YKHO.create_user(D3lj, password=jTXt, name=mWFP) CBIr.is_admin = True CBIr.save(using=YKHO._db) return CBIr
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zp54(YKHO, NtEF, D3lj, jTXt, **wdCM):\n print('vao')\n if jTXt is None:\n raise TypeError('Superusers must have a password.')\n CBIr = YKHO.create_user(NtEF, D3lj, jTXt)\n CBIr.is_superuser = True\n CBIr.is_staff = True\n CBIr.save()\n return CBIr", "def Zp54(YKHO, D3lj, jTXt, **w...
[ "0.81671333", "0.8164093", "0.81593335", "0.8156993", "0.81498826", "0.8132065", "0.8128264", "0.8117085", "0.80782586", "0.80778635", "0.80744994", "0.80744994", "0.8074489", "0.8040652", "0.8031792", "0.8018299", "0.80025905", "0.79983455", "0.7989842", "0.7988782", "0.7986...
0.0
-1
Gets the number of arguments that must be on stack before the opcode is called.
def s4KR(YKHO) -> int: return YKHO.number_of_operands
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GIZQ(YKHO) -> int:\n return YKHO.num_args", "def sRbY(YKHO) -> int:\n return len(YKHO.__peak_func_container.GetArgs())", "def lm4z(m2Zb):\n fctm = Zu_i(m2Zb)\n return len(fctm.args)", "def o1JQ(kuMQ: str) -> int:\n assert kuMQ in udu8.INSTRUCTION_ARGS\n return len(udu8.INSTRUCTION_ARGS[...
[ "0.77825266", "0.76041675", "0.74380684", "0.7390616", "0.7384565", "0.7362747", "0.72868013", "0.7275139", "0.7244738", "0.7203616", "0.720101", "0.7156325", "0.7141397", "0.7016198", "0.70058656", "0.69892037", "0.697178", "0.68906426", "0.6846479", "0.6807243", "0.6802465"...
0.70704526
13
Transforms the given world coordinates (xy) to image coordinates (uv)
def DPUI(WKvO, LVAh): lZ9I = oyIN.squeeze(nM4v) Zbvg = z424.dot(oyIN.array([WKvO, LVAh, 0]).T) + lZ9I Xf84 = U1HM.dot(Zbvg) return [Xf84[0] / Xf84[2], Xf84[1] / Xf84[2]]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qe6U(YKHO, jNOo, TVTK, H2v2):\n gYER = TVTK / 2 + 0.5\n i6hk = H2v2 / 2 + 0.5\n NFIp = oyIN.hstack([(jNOo[:, [0]] - gYER) / TVTK * 2 * oyIN.pi, -(jNOo[:, [1]] - i6hk) / H2v2 * oyIN.pi])\n return NFIp", "def hdpW(YKHO, WKvO, LVAh=None, epBp=None):\n if LVAh is None:\n assert epBp is None...
[ "0.7389616", "0.70677394", "0.70186406", "0.7015586", "0.6969784", "0.6765425", "0.67076087", "0.6580947", "0.6568536", "0.6546299", "0.6535193", "0.651406", "0.6506997", "0.6487692", "0.6460353", "0.6457023", "0.6428678", "0.63978153", "0.6256252", "0.6245378", "0.62155616",...
0.63996387
17
Method to retrieve an user using the id
def cnwm(uJjO): H5ew = 'User.' + uJjO if H5ew in S8SU.all('User').keys(): return pz3A(S8SU.all('User').get(H5ew).to_dict()) else: eTsH(404)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TKWP(YKHO, id):\n return YKHO._fetch_json('users/' + id)", "def g971(id):\n return mv1M.query.get(int(id))", "def bt8D(id):\n return mv1M.query.get(id)", "def NMoC(YKHO, id):\n CBIr = mv1M.query.filter_by(id=id).first_or_404()\n return CBIr", "def bt8D(id):\n Mkmy = G4JS.get(NKRf + '/...
[ "0.8705605", "0.864789", "0.8621959", "0.85609883", "0.85462207", "0.8523912", "0.8523912", "0.8495807", "0.8488581", "0.84772474", "0.847713", "0.8408812", "0.83815086", "0.83678883", "0.83605456", "0.83550864", "0.83233654", "0.8321", "0.83115655", "0.8311212", "0.82840574"...
0.0
-1
s_matrix of shape (n_series, n_s) ts_tensor of shape (n_series, n_channels, max_len) n_channels = y + X_cols + masks
def lWUb(YKHO, dGJu, ik35): QyKw = oyIN.zeros((YKHO.n_series, YKHO.n_s)) dCe5 = oyIN.zeros((YKHO.n_series, YKHO.n_channels, YKHO.max_len)) l2c_ = [] for or8S in range(YKHO.n_series): j6xh = oyIN.array(list(dGJu[or8S].values())) dCe5[or8S, :YKHO.t_cols.index('insample_mask'), -j6xh.shape[...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kPIi(vb7U, tkax, l4g4):\n _yMn = vb7U.shape[0] - l4g4\n lBJM = vb7U.shape[1]\n WKvO = oyIN.zeros((_yMn, l4g4, lBJM))\n LVAh = oyIN.zeros((_yMn,))\n MKlR = oyIN.zeros((_yMn,))\n print('dim_0', _yMn)\n for YRbF in range(_yMn):\n H2v2 = vb7U[l4g4 + YRbF - 1, tkax]\n WKvO[YRbF] =...
[ "0.5961866", "0.5961824", "0.59323746", "0.57436687", "0.5696844", "0.5643861", "0.5633108", "0.55709666", "0.55142874", "0.55125934", "0.5510509", "0.5429751", "0.54063845", "0.5378984", "0.535835", "0.53515613", "0.5337755", "0.5334459", "0.5334459", "0.5334459", "0.529761"...
0.78846294
0
Return the Body Mass Index (BIM) for the given weight, height, and measurement system.
def j1Ci(upAO, H2v2, Oz1B='metric'): if Oz1B == 'metric': fEcd = upAO / H2v2 ** 2 else: fEcd = 703 * (upAO / H2v2 ** 2) return fEcd
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j1Ci(upAO, H2v2, Oz1B='metric'):\n if Oz1B == 'metric':\n fEcd = upAO / H2v2 ** 2\n else:\n fEcd = 703 * (upAO / H2v2 ** 2)\n return fEcd", "def rMOv():\n upAO = float(input('Please input your weight in kilos\\n'))\n H2v2 = float(input('Please input your height in cms\\n'))\n ...
[ "0.6685203", "0.6656469", "0.6402601", "0.63889694", "0.62373203", "0.6166264", "0.6146158", "0.61377156", "0.6133007", "0.60576105", "0.6031792", "0.5961719", "0.5914265", "0.59057987", "0.5883775", "0.5767383", "0.57372415", "0.5730442", "0.5676302", "0.5630419", "0.5622644...
0.68978095
0
Gets the matching subnet if it has been allocated
def vgaU(YKHO, pyfM): rrlr = invV.SpecificSubnetRequest(YKHO.subnet_json['tenant_id'], pyfM, YKHO.subnet_json['cidr'], None, []) exAR = YKHO._subnetpool['name'] if YKHO._subnetpool else YKHO.pool_json['name'] imso, bGrB, IaaG = str(YKHO.subnet_json['cidr']).partition('/') if YKHO.subnet_json['ip_version...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vgaU(YKHO):\n DDNh = _T1W.nodeType('Object/subnet')\n Npkd = DDNh.instances()\n if not Npkd:\n return\n for VWZy in Npkd:\n if VWZy.userData('pxrlightarrays') == YKHO.node_name:\n return VWZy", "def VWZy(YKHO) -> h8nf['outputs.SubnetReferenceResponse']:\n return qe4Y.g...
[ "0.78796166", "0.7539971", "0.7539971", "0.7466406", "0.7466406", "0.74485", "0.74434566", "0.74434566", "0.74434566", "0.74434566", "0.74434566", "0.743603", "0.7427115", "0.7426569", "0.7364145", "0.7352588", "0.7352588", "0.7336484", "0.7331542", "0.72717917", "0.72679365"...
0.6810485
34
Return the index in the sensor vector of the named sensor.
def Vw98(Emd4, mWFP): return Emd4.sensor_names.index(mWFP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DePk(YKHO, mWFP):\n oB5g = YKHO.get_sensor()\n for qi1f in oB5g:\n if mWFP == oB5g[qi1f]['name']:\n return qi1f\n return False", "def nfdH(YKHO, mWFP):\n for YRbF in range(len(YKHO.names)):\n if YKHO.names[YRbF] == mWFP:\n return YRbF\n raise KeyError(\"No i...
[ "0.6728307", "0.67188", "0.6664483", "0.65778655", "0.65616095", "0.64630353", "0.64345556", "0.62909573", "0.6282241", "0.6275241", "0.62453073", "0.6223081", "0.62216115", "0.6218096", "0.6200898", "0.6184274", "0.61740166", "0.6148015", "0.61477715", "0.6129994", "0.611278...
0.8260238
0
Function filters given image. Only pixels with values in ranges of either mask remain. There are two masks with values ranges that are in red healts bars of champions. Using basic morphological operations, black spaces in health bars are filled and noise is cleared. After preprocesing image is given to function thats f...
def yFNW(VXjJ): IDsK = oyIN.array([95, 100, 180]) A2Fp = oyIN.array([115, 120, 200]) jZl0 = XC5k.inRange(VXjJ, IDsK, A2Fp) IDsK = oyIN.array([38, 49, 149]) A2Fp = oyIN.array([60, 67, 167]) ORtl = XC5k.inRange(VXjJ, IDsK, A2Fp) LNo8 = XC5k.bitwise_and(VXjJ, VXjJ, mask=jZl0) + XC5k.bitwise_and...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mZug(VXjJ):\n IDsK = oyIN.array([216, 154, 40])\n A2Fp = oyIN.array([230, 162, 80])\n jZl0 = XC5k.inRange(VXjJ, IDsK, A2Fp)\n IDsK = oyIN.array([216, 182, 85])\n A2Fp = oyIN.array([230, 200, 100])\n ORtl = XC5k.inRange(VXjJ, IDsK, A2Fp)\n IDsK = oyIN.array([183, 132, 42])\n A2Fp = oyIN....
[ "0.7525489", "0.7180706", "0.6864371", "0.67765516", "0.6747219", "0.6730485", "0.6555675", "0.6552235", "0.6428627", "0.6408294", "0.63492596", "0.63492596", "0.6281183", "0.62508184", "0.62488925", "0.6227586", "0.6221076", "0.61567247", "0.61518204", "0.6137102", "0.612787...
0.7951358
0
Applies Gaussian kernel elementwise. Computes exp(d / (2 (sigma ^ 2))) for each element d in D.
def VU7a(lWPh, WTkW): return (-lWPh / (2 * WTkW ** 2)).exp()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VU7a(EcVT, WTkW):\n return oyIN.exp(-EcVT ** 2 / (2 * WTkW ** 2))", "def VU7a(EcVT, WTkW):\n return oyIN.power(oyIN.e, -EcVT ** 2 / (2 * WTkW ** 2))", "def VU7a(Emd4, WKvO, epBp, WTkW):\n return oyIN.exp(-oyIN.dot(WKvO - epBp, WKvO - epBp) / (2 * WTkW ** 2))", "def h3z1(Csk6, D7fJ):\n return ...
[ "0.7649484", "0.7559632", "0.71393144", "0.7044473", "0.6934757", "0.6907177", "0.6906232", "0.6883683", "0.6871974", "0.6866258", "0.68645465", "0.68623066", "0.67838174", "0.6770177", "0.67453444", "0.67439926", "0.67125684", "0.6657846", "0.6656961", "0.6654742", "0.661456...
0.8254639
0
List all order, or create a server assets order.
def ga5z(QePW, format=None): print('diayong group list') if not QePW.user.has_perm('ConfManage.read_group'): return oGir(status=jGRS.HTTP_403_FORBIDDEN) if QePW.method == 'GET': AzR4 = cQ68.objects.all() ZMzz = IyFz.GroupSerializer(AzR4, many=True) return oGir(ZMzz.data) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QNpq(YKHO, **NArs):\n pmON = '/account/order/list'\n return YKHO.get(pmON, params=NArs)", "def NRPm(YKHO, **NArs):\n pmON = '/trade/order/list'\n return YKHO.get(pmON, params=NArs)", "def QNpq():\n return (qQXR.dumps(awPf()), 200)", "def L_Ne(QePW, format=None):\n if QePW.method == 'GET...
[ "0.6421015", "0.6186508", "0.6175404", "0.6083659", "0.59892404", "0.5970462", "0.5895221", "0.5863807", "0.58412975", "0.58175546", "0.5790414", "0.57425416", "0.57335454", "0.57239085", "0.57183915", "0.5710194", "0.5697715", "0.5669524", "0.56672144", "0.563909", "0.561771...
0.0
-1
This query returns the current channel plan as a semicolon delimited list. DCC?\r{\n}
async def query_custom_channels(YKHO): await QOe9._wss.write('DCC?\r\n'.encode())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def McW7(YKHO):\n xMux = YKHO.get_channels()\n if xMux:\n print('KTEQ-MGMT Channel List:')\n for YwkQ in xMux:\n print(' #' + YwkQ['name'] + ' (' + YwkQ['id'] + ')')", "def RoUE(YKHO):\n Jv5w = YKHO.sc.api_call('conversations.list', types='public_channel,private_channel')\n ...
[ "0.5705006", "0.56399703", "0.55655026", "0.5499659", "0.54962015", "0.5329175", "0.531927", "0.5300767", "0.5271228", "0.5264213", "0.5261976", "0.5252278", "0.5245382", "0.5244773", "0.52230054", "0.5220677", "0.52078027", "0.52010447", "0.5195276", "0.5127701", "0.5127701"...
0.581621
0
Get some information about the bot.
async def about(YKHO, OaeV: commands.Context): Q1PJ = ZOrr.Embed(title='About', description=aRUD, colour=4568032) Q1PJ.set_thumbnail(url=str(OaeV.bot.user.avatar)) await OaeV.send(embed=Q1PJ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def U34r(YKHO, JyK9=None):\n return YKHO.get('bots.info', params={'bot': JyK9})", "async def get(YKHO, OaeV: commands.Context, A3l8: int=None):\n if A3l8 is None:\n A3l8 = YKHO.bot.user.id\n try:\n Aofo = (await YKHO.api.get_bot_info(A3l8))[1]\n except Exception as e:\n await Oae...
[ "0.8507739", "0.80110955", "0.7988538", "0.7785286", "0.76185757", "0.7380215", "0.7298568", "0.72508675", "0.71678585", "0.7099494", "0.70523816", "0.6972212", "0.6888475", "0.6885965", "0.6879675", "0.6848045", "0.6790916", "0.6788483", "0.67597353", "0.67469996", "0.673720...
0.0
-1
r"""Call the list operations method over HTTP.
def nrOS(YKHO, QePW: operations_pb2.ListOperationsRequest, *, ZFzw: OptionalRetry=uMLX.method.DEFAULT, vYBr: Optional[float]=None, yIVm: Sequence[Tuple[str, str]]=()) -> s1LG.ListOperationsResponse: Zgvv: x1iM[cuzp[str, str]] = [{'method': 'get', 'uri': '/v1/{name=projects/*/locations/*/operations}'}, {'method': 'g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Nyyo(YKHO):\n geh0 = YKHO.authed_get('{}-list'.format(XBe4))\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_200_OK)", "def P74o(YKHO, QePW, **B2fa):\n return YKHO.dispatch('list', QePW, **B2fa)", "def UMnH(YKHO, QePW, *qIxc, **B2fa):\n pass", "def list(YKHO, QePW):\n NuCn = ['Uses actions ...
[ "0.75470227", "0.74488366", "0.7349677", "0.7147909", "0.7084063", "0.7057927", "0.6968618", "0.69083637", "0.6900108", "0.6900108", "0.6900108", "0.6852344", "0.6852344", "0.6852344", "0.6852344", "0.6852344", "0.68451667", "0.68308634", "0.68308634", "0.6829857", "0.6822634...
0.0
-1
Ensure that a deployed model is loaded and mounted. Helper method that can accept either a raw model or packaged deployed model is loaded and mounted on a specific XPU. This provides a one line solution for applications that may want to ensure that a model is mounted and ready for predict. When the model is already mou...
def yJhA(Emd4, HDW7, _sql=None, RKD7=print): import torch from torch_liberator import xpu_device _sql = xpu_device.XPU.coerce(_sql) if isinstance(HDW7, str): HDW7 = LP2h(HDW7) if isinstance(HDW7, torch.nn.Module): C3ST = HDW7 try: m7A1 = xpu_device.XPU.coerce(C3ST...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RChb(LP2h, d7pR):\n from os.path import dirname\n import torch\n if isinstance(d7pR, LP2h):\n HDW7 = d7pR\n elif isinstance(d7pR, torch.nn.Module):\n HDW7 = LP2h(None)\n HDW7._model = d7pR\n elif isinstance(d7pR, str):\n if d7pR.endswith('.pt'):\n L4cE = d7...
[ "0.6211127", "0.60040295", "0.60021573", "0.58566856", "0.58441216", "0.57924277", "0.57404894", "0.5738391", "0.5667665", "0.5654154", "0.5645432", "0.5644123", "0.56392926", "0.5583788", "0.55721205", "0.55452263", "0.5538523", "0.55336314", "0.5527974", "0.5506323", "0.550...
0.7705075
0
Init a sieve of primes up to `n`
def FIMM(YKHO, exwG): rPed = [True for YRbF in range(0, exwG)] for YRbF in range(2, int(epAf.ceil(epAf.sqrt(exwG)))): if rPed[YRbF] is True: jzdc = 0 while YRbF ** 2 + jzdc * YRbF < exwG: rPed[YRbF ** 2 + jzdc * YRbF] = False jzdc += 1 YKHO.pri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rPed(exwG):\n KwQv = [True] * exwG\n for YRbF in Ni9Y(3, int(exwG ** 0.5) + 1, 2):\n if KwQv[YRbF]:\n KwQv[YRbF * YRbF::2 * YRbF] = [False] * ((exwG - YRbF * YRbF - 1) / (2 * YRbF) + 1)\n return [2] + [YRbF for YRbF in Ni9Y(3, exwG, 2) if KwQv[YRbF]]", "def rPed(exwG):\n KwQv = ...
[ "0.798988", "0.798988", "0.798988", "0.79858214", "0.79702246", "0.79702246", "0.79702246", "0.79702246", "0.7964749", "0.7960701", "0.7955256", "0.7932538", "0.79286826", "0.78881615", "0.7887273", "0.7843201", "0.7831626", "0.7830098", "0.782895", "0.7817258", "0.78098017",...
0.80253357
0
Returns a random string of [char_pool] of size `n`. If max_size is True, then returns a random string of up to size `n`, minimum 1.
def BWvy(exwG, E0wO=False, s09S=vIwR.ascii_lowercase + vIwR.digits): if E0wO: exwG = tuKI.randint(1, exwG) ZuhN = '' for YRbF in range(exwG): j6an = tuKI.choice(s09S) ZuhN += j6an return ZuhN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Njgc(qonS, E0wO, jkLJ):\n \"\"\" https://www.journaldev.com/23782/python-generate-random-string -- \"\"\"\n return ''.join((tuKI.choice(jkLJ) for WKvO in range(ajWY(qonS, E0wO))))", "def yMb3():\n return BWvy(tuKI.randint(1, P6m3))", "def DsQ5(exwG=20):\n mrPm = list(vIwR.ascii_letters + vIwR.d...
[ "0.7589821", "0.7425112", "0.73997754", "0.7370022", "0.73533773", "0.72858536", "0.7268024", "0.7224821", "0.72180134", "0.71695167", "0.716493", "0.71640396", "0.7163901", "0.71378475", "0.7129094", "0.71096265", "0.71073884", "0.71010226", "0.70969075", "0.70480704", "0.69...
0.9086573
0
Constructor of the SMOTE object
def FIMM(YKHO, e2AD=1.0, hKUR=5, *, rUGz=None, OY8q=None, bmJ5=1, t3eI=None, **jwjR): jaHo = {'n_dim': 2, 'simplex_sampling': 'random', 'within_simplex_sampling': 'random', 'gaussian_component': None} super().__init__(random_state=t3eI) YKHO.check_greater_or_equal(e2AD, 'proportion', 0) YKHO.check_great...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, e2AD=1.0, xpvJ=5, *, rUGz=None, OY8q=None, Fg_i=5, Cwt5=0.1, MKlR=20, bmJ5=1, t3eI=None, **jwjR):\n jaHo = {'n_dim': 2, 'simplex_sampling': 'random', 'within_simplex_sampling': 'random', 'gaussian_component': None}\n OY8q = ufEO(OY8q, jaHo)\n super().__init__(random_state=t3eI)\n YKHO.ch...
[ "0.68402094", "0.6666263", "0.6652427", "0.6558294", "0.6518407", "0.65135634", "0.649036", "0.6449192", "0.64311796", "0.640945", "0.6408271", "0.63819504", "0.6366154", "0.6338103", "0.63142604", "0.62953514", "0.62719244", "0.62692225", "0.6252931", "0.62464654", "0.623304...
0.60927856
57
This private method verifies if the instance attribute host_config contains minimal default config for a container.
def gy8v(YKHO): GPtr = YKHO.host_config if GPtr is None or not GPtr: GPtr['cpu_shares'] = int(round(YKHO.cpus * 1024)) GPtr['binds'] = [] else: if 'cpu_shares' not in GPtr: GPtr['cpu_shares'] = int(round(YKHO.cpus * 1024)) if 'binds' not in GPtr: GPtr[...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w_Mo(YKHO):\n return True", "def YPxu():\n GPtr = CeZZ.validate_env_configs('default_config')\n assert isinstance(GPtr, dict)", "def FWfk(YKHO):\n return True", "def YoOy(YKHO):\n raise NotImplementedError", "def Sfv2(YKHO) -> bool:\n return isinstance(YKHO.node, dict) and 'default' i...
[ "0.63730586", "0.6273522", "0.622133", "0.61072844", "0.60232675", "0.60077995", "0.59909517", "0.5978141", "0.59634244", "0.59237707", "0.58940274", "0.5879572", "0.5865325", "0.5854539", "0.5849101", "0.5833248", "0.5827108", "0.582245", "0.5803554", "0.5749299", "0.5738109...
0.5637324
32
Utility Method to represent the Content as a String.
def zAg0(YKHO): return f'\nContent:\n--identifier: {YKHO.identifier}\n--data: {YKHO.data}\n********'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ddrW(YKHO):\n return YKHO.content.stringify()", "def zAg0(YKHO):\n return str(YKHO.contents)", "def hGN5(YKHO) -> str:\n return YKHO.__content", "def zAg0(YKHO):\n return str(list(YKHO.contents))", "def gTzM(Emd4, hGN5: ValueType) -> str:\n raise NotImplementedError()", "def hGN5(YKHO)...
[ "0.8296167", "0.81632566", "0.78856206", "0.7834575", "0.781844", "0.77911645", "0.7775059", "0.7775059", "0.77602977", "0.77430433", "0.7688305", "0.76309365", "0.76309365", "0.76309365", "0.76309365", "0.7512904", "0.7448669", "0.7448669", "0.7448669", "0.7448669", "0.74486...
0.7434106
23
Assuming readwrite API endpoints have previously been defined (self.api_endpoints set) extract commands and their endpoint definitions only when method is GET. That is, for any given API definition honoring REST principle for HTTP verbs, generate endpoints only for which actions are readonly actions.
def Y8UT(YKHO): assert YKHO.api_endpoints, "Can't derive a read-only API is no read-write endpoints are defined" YKHO.readonly_api_endpoints = {} for HCmI, wwZC in YKHO.api_endpoints.items(): if not isinstance(wwZC, list): wwZC = [wwZC] for w2IS in wwZC: if w2IS['meth...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wwZC(YKHO):\n if 'curl' in VrxA.get_user_agent(QePW):\n return YKHO.get_endpoints(wk5E)\n else:\n return oL39.generate_swagger_docs()", "def izro(nNXP):\n\n class SwaggerEndpoint(ISu2):\n\n def NMoC(YKHO):\n a4Zr = {}\n for G1Hx, Ty9i in nNXP._swagger_objec...
[ "0.65131193", "0.6157233", "0.5961193", "0.5925478", "0.5915502", "0.5864906", "0.58526224", "0.5820459", "0.58058167", "0.5793625", "0.5753577", "0.57260156", "0.5708837", "0.56714326", "0.5660056", "0.56508833", "0.56443703", "0.5635776", "0.56191504", "0.5601639", "0.55950...
0.76638085
0
Generate Alphabet to use for ceaser cipher
def nVdp(): gZgb = [chr(WKvO) for WKvO in range(97, 123)] + [chr(WKvO) for WKvO in range(65, 91)] + [chr(WKvO) for WKvO in range(48, 58)] + [chr(WKvO) for WKvO in range(20, 48)] + [chr(WKvO) for WKvO in range(58, 65)] + [chr(WKvO) for WKvO in range(91, 97)] + [chr(WKvO) for WKvO in range(123, 127)] return gZgb
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KCQ5():\n return ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'ñ', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']", "def Cwt5(YKHO):\n H5ew = 'ZYXWVUTSRQPONMLKJIHGFEDCBA abcdefghijklmnopqrstuvwxyz'\n P_q6 = 26\n _u80 = ''\n for sZqf in YKHO.letters:\n ...
[ "0.7665977", "0.7460026", "0.7385747", "0.7373194", "0.72875965", "0.7282854", "0.7186028", "0.7186028", "0.71730715", "0.7159406", "0.7114938", "0.7095094", "0.7069468", "0.7060053", "0.7035112", "0.69909465", "0.69821286", "0.6980943", "0.6951112", "0.6941752", "0.69161296"...
0.7683593
0
sklearn CountVectorizer object to use in TextNgramFeatureGenerator. Only used if `enable_text_ngram_features=True`.
def KxLt(YKHO, BWXx: BaseEstimator) -> zehI: YKHO.config['vectorizer'] = BWXx return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cq4m(YKHO):\n YKHO.vectorizer = LM0n(max_df=0.8, min_df=10, analyzer=YKHO._tokenize_text)", "def FIMM(YKHO, fPyG=(2, 4), haNY=20, eEnH=3):\n YKHO.count_model = LM0n(stop_words=[''], lowercase=False, tokenizer=lambda l5Ny: l5Ny.split(' '), ngram_range=fPyG)\n YKHO.limit = haNY\n YKHO.id_limit = eE...
[ "0.71342564", "0.7030774", "0.69176275", "0.6855238", "0.6786493", "0.67328763", "0.66547894", "0.65566736", "0.6478985", "0.64534825", "0.64140224", "0.6413319", "0.6359491", "0.6318866", "0.62777877", "0.62299335", "0.6203786", "0.6176918", "0.61717904", "0.61430097", "0.60...
0.0
-1
List of preset configurations for various arguments in `fit()`. Can significantly impact predictive accuracy, memoryfootprint, and inference latency of trained models, and various other properties of the returned `predictor`. It is recommended to specify presets and avoid specifying most other `fit()` arguments or mode...
def KPqu(YKHO, KPqu: Union[str, list, dict]) -> tGTr: gcep = list(lIc9.keys()) if isinstance(KPqu, str): KPqu = [KPqu] if isinstance(KPqu, list): Fqj3 = [G1Hx for G1Hx in KPqu if G1Hx not in gcep] assert len(Fqj3) == 0, f'The following presets are not recognized: {Fqj3} - use one of ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MK0Q(Emd4):\n return {'model_iou': 0.1, 'model_nms_fn': qRpH, 'model_score_thresh': 0.0, 'model_topk': 1000, 'model_detections_per_image': 100, 'ensemble_iou': 0.5, 'ensemble_nms_fn': E1qq, 'ensemble_topk': 1000, 'remove_small_boxes': 0.01, 'ensemble_score_thresh': 0.0}", "def MK0Q(Emd4):\n return {'mo...
[ "0.61041427", "0.60859853", "0.6072739", "0.6052951", "0.6050584", "0.58963203", "0.57897806", "0.57886845", "0.5764892", "0.57642263", "0.57391787", "0.573127", "0.5723284", "0.57217133", "0.57217133", "0.57217133", "0.57133013", "0.5664278", "0.5613458", "0.555612", "0.5552...
0.56513953
18
If True, a `holdout_frac` portion of the data is heldout from model bagging. This heldout data is only used to score models and determine weighted ensemble weights. Enable this if there is a large gap between score_val and score_test in stack models.
def CpqM(YKHO, CpqM: bool=True) -> tGTr: YKHO.config['use_bag_holdout'] = CpqM return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y8cY(YKHO):\n if YKHO._hparams.boost_factor > 0.0:\n return True\n return False", "def qEov(YKHO, qEov: float) -> tGTr:\n assert (qEov >= 0) & (qEov <= 1), 'holdout_frac must be between 0 and 1'\n YKHO.config['holdout_frac'] = qEov\n return YKHO", "def XF6W(eKAs, XL5c=False):\n if ...
[ "0.5789383", "0.56970376", "0.52348197", "0.5233673", "0.5212621", "0.52048266", "0.5176263", "0.5160474", "0.5126777", "0.5110822", "0.5037857", "0.5021571", "0.50125945", "0.4994603", "0.49905112", "0.496758", "0.4953811", "0.49346426", "0.4922104", "0.4911551", "0.49027494...
0.6042968
0
Banned subset of model types to avoid training during `fit()`, even if present in `hyperparameters`. Reference `hyperparameters` documentation for what models correspond to each value. Useful when a particular model type such as 'KNN' or 'custom' is not desired but altering the `hyperparameters` dictionary is difficult...
def BO9c(YKHO, FYrf: Union[str, list]) -> tGTr: gcep = [r8hN for r8hN in Jsob.keys() if r8hN not in ['ENS_WEIGHTED', 'SIMPLE_ENS_WEIGHTED']] if not isinstance(FYrf, list): FYrf = [FYrf] for C3ST in FYrf: assert C3ST in gcep, f'{C3ST} is not one of the valid models {gcep}' YKHO.config['ex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vKfT(C3ST, **B2fa):\n bGrB, fhcK, bGrB, bGrB = H1eo(B2fa)\n for gEmA in C3ST.layers:\n if not isinstance(gEmA, fhcK.BatchNormalization):\n gEmA.trainable = False\n return", "def bV8z(Zxma):\n for xqoZ in Zxma.parameters():\n xqoZ.requires_grad = False", "def vKfT(C3ST, ...
[ "0.6420389", "0.6255245", "0.6201323", "0.6187227", "0.60978174", "0.59430677", "0.5779628", "0.57187897", "0.56880254", "0.55915457", "0.5586005", "0.556225", "0.55379826", "0.55033743", "0.5475637", "0.5463949", "0.54563886", "0.5448385", "0.5430667", "0.5430625", "0.540703...
0.59782165
5
If True, reduces the memory and disk size of predictor by deleting auxiliary model files that aren't needed for prediction on new data. This is equivalent to calling `predictor.save_space()` directly after `fit()`. This has NO impact on inference accuracy. It is recommended if the only goal is to use the trained model ...
def Ap1X(YKHO, Ap1X=True) -> tGTr: YKHO.config['save_space'] = Ap1X return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cogK(YKHO, FYKK, P7A5: bool=False, N0AJ: bool=True, HK98: bool=False):\n YKHO.save_model(fn=FYKK)\n YKHO.save_estimator_args(fn=FYKK)\n YKHO.save_data(fn=FYKK, train=HK98, test=True, reduce_size=P7A5)\n if N0AJ:\n YKHO.save_predictions(fn=FYKK, train=HK98, test=True)", "def zsFJ():\n eH...
[ "0.6373395", "0.5723625", "0.54835856", "0.53982973", "0.5316701", "0.5309136", "0.5302406", "0.5295425", "0.526879", "0.52355397", "0.5233602", "0.5188765", "0.51887214", "0.51800436", "0.5149744", "0.514761", "0.5147024", "0.51464474", "0.5142624", "0.51386267", "0.5133643"...
0.51677114
14
Instantiate the DataAccess class.
def FIMM(YKHO, GPtr: dict=dgZv.config.config_object, WBPg=dgZv.config.header, **B2fa): YKHO.connector = SQvy.AdobeRequest(config_object=GPtr, header=WBPg) YKHO.header = YKHO.connector.header YKHO.header.update(**B2fa) YKHO.sandbox = YKHO.connector.config['sandbox'] YKHO.endpoint = dgZv.config.endpoi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fwuD(Emd4):\n if tIUK.__instance is None:\n tIUK.__instance = object.__new__(Emd4)\n VQla = HVSW.config.config['postgresql']\n tIUK.__connection = XP5J.connect(host=VQla['host'], database=VQla['database'], user=VQla['user'], password=VQla['password'])\n return tIUK.__instance", "de...
[ "0.7743546", "0.73335207", "0.6994272", "0.68547314", "0.68547314", "0.68547314", "0.67266023", "0.6609269", "0.65892875", "0.65883577", "0.6570393", "0.65677845", "0.6567122", "0.6563926", "0.6545158", "0.6521228", "0.6508499", "0.65052575", "0.6499678", "0.64761484", "0.644...
0.0
-1
Places a market buy order for a security.
def EEaR(YKHO, T4Wy: RegularOrder) -> pAA5: if T4Wy.islimit: raise Coop(expected_type='market', unexpected_type=T4Wy.type) elif not T4Wy.ref_price: raise CE7i(price_type='ref_price') else: return YKHO._write_submitted_order(T4Wy)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PytO(gQVK, SYlA):\n if gQVK[SYlA]['Stock Owned'] == 0 and gQVK[SYlA]['Previous Sell'] > 0:\n J2Xb = gQVK[SYlA]['Previous Sell'] * (1 - gQVK[SYlA]['New Buy Proportion'])\n elif gQVK[SYlA]['Stock Owned'] > 0:\n J2Xb = gQVK[SYlA]['Previous Buy'] * (1 - gQVK[SYlA]['Buy Proportion'])\n else:\...
[ "0.7510416", "0.74425024", "0.74162865", "0.7336053", "0.7176453", "0.70975155", "0.70640385", "0.70493966", "0.699196", "0.69507456", "0.68772656", "0.6827322", "0.68214583", "0.6779389", "0.67476237", "0.671277", "0.6704636", "0.66940546", "0.66304517", "0.6615755", "0.6606...
0.70278645
8
Calculate the inverse FastFourier transform (FFT) of a signal.
def n6pP(_owh): dVX8 = Zxt2.fft.irfft(_owh) return dVX8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WqGg(YKHO):\n a1PO = YKHO.axis\n LVAh = YKHO.data\n if isinstance(a1PO, qupb):\n yzQ0 = a1PO.get_FrequencyAxis()\n if a1PO.atype == 'complete':\n fuBA = XTiz.fft.fftshift(XTiz.fft.fft(XTiz.fft.fftshift(LVAh))) * a1PO.step\n elif a1PO.atype == 'upper-half':\n ...
[ "0.74427855", "0.739085", "0.7329475", "0.724531", "0.7153912", "0.70149577", "0.69859475", "0.6964808", "0.69118935", "0.6892559", "0.68474054", "0.68056977", "0.66708946", "0.6648609", "0.66422284", "0.6615779", "0.6600411", "0.658193", "0.65710527", "0.65521884", "0.654646...
0.78068244
0
Returns lowercase unicode NFKD form with accents stripped.
def F5be(BWXx, _R2e=False): l5Ny = cCmq(BWXx).lower() if _R2e: l5Ny = ZbWC.sub('<[^>]*>', '', l5Ny) return ''.join([Z9rn for Z9rn in zVCt.normalize('NFKD', l5Ny) if not zVCt.combining(Z9rn)])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xUXw(wEf2: str) -> str:\n mezp = NkkI('NFKD', wEf2)\n return ''.join([Z9rn for Z9rn in mezp if not iwVN(Z9rn)])", "def IV3C(FUjE):\n FUjE = zVCt.normalize('NFKD', FUjE).encode('ASCII', 'ignore').lower()\n return FUjE", "def Gcqg(n_L_):\n if not isinstance(n_L_, str):\n n_L_ = n_L_.dec...
[ "0.75602955", "0.73748666", "0.72086537", "0.71444654", "0.7141231", "0.70670575", "0.70487916", "0.7024157", "0.7015109", "0.7012327", "0.6954144", "0.6921462", "0.69092184", "0.6902987", "0.68868864", "0.68480045", "0.6836931", "0.67209834", "0.66828763", "0.665106", "0.663...
0.59447974
97
Checks the first nonempty resource value to see if it can be normalized. This method is called at most once on the first nonempty resource value. After that a new normalization method is set for the remainder of the resource values. Resource values are most likely well defined protobuf string encodings. The RE patterns...
def CSCq(YKHO, BWXx): YKHO._normalize = lambda WKvO: WKvO if ZbWC.match('\\d\\d\\d\\d-\\d\\d-\\d\\d[ T]\\d\\d:\\d\\d:\\d\\d', BWXx): try: BWXx = WXkz.ParseDateTime(BWXx) TYhG = WXkz.LOCAL if BWXx.tzinfo else None YKHO._operand.Initialize(YKHO._operand.list_value or YK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nL4o(YKHO, e5kH, wEf2):\n wEf2 = super(wEas, YKHO).normalise_filled(e5kH, wEf2)\n return kXDm(e5kH, wEf2, YKHO.validators)", "def nL4o(YKHO, e5kH, wEf2):\n UAju = []\n BmLB = [wEf2]\n for Cqok in YKHO.specs:\n try:\n wEf2 = Cqok.normalise(e5kH, wEf2)\n BmLB.append(...
[ "0.6302477", "0.5873509", "0.5676053", "0.5660929", "0.56242913", "0.5585623", "0.5565382", "0.5539084", "0.5525025", "0.5507438", "0.53989923", "0.52738523", "0.5208926", "0.5157617", "0.51439613", "0.51341796", "0.5133832", "0.5127693", "0.5122097", "0.51209676", "0.5098659...
0.47651994
49
This function checks that all elements in list are equal.
def KDH6(*geyT) -> bool: return len(set(geyT)) == 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NOdi(list):\n return not list or list == [list[0]] * len(list)", "def ac8g(yv6U):\n return len(set(yv6U)) == 1", "def ac8g(yv6U):\n return len(set(yv6U)) == 1", "def zjfU(ybN4):\n try:\n wEf2 = ybN4[1]\n except IndexError:\n return True\n return all((jzdc == wEf2 for jzdc ...
[ "0.8434978", "0.81405956", "0.8020015", "0.78907937", "0.78216124", "0.7755165", "0.77386755", "0.77273506", "0.77180964", "0.7680512", "0.7548341", "0.7539372", "0.75373036", "0.7303576", "0.7233897", "0.72217685", "0.72147024", "0.72096145", "0.7199999", "0.7160672", "0.711...
0.0
-1
Initiate the Apache Atlas client with the provided credentials
def FIMM(YKHO, *, KcEq: str, bIwZ: int, CBIr: str='admin', jTXt: str='', jPPD: bool=False, yoCL: bool=False, lCvM: dict=dict(), **B2fa: dict) -> None: iquo = 'https' if jPPD else 'http' YKHO.client = lxlt(f'{iquo}://{KcEq}:{bIwZ}', (CBIr, jTXt)) YKHO.client.session.verify = yoCL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GlTM():\n MHxz = wylh.load_dotenv('.env')\n H5ew = Hy7s.environ.get('AS_ID')\n DXni = Hy7s.environ.get('AS_SECRET')\n return i9zE(H5ew, DXni)", "async def connect(NKRf, NtEF, jTXt):\n lpha = uRlK.parse.urlsplit(NKRf)\n pu1N = DQ7C.http_client.AsyncHttpClient()\n pu1N.set_basic_auth(lpha....
[ "0.6748325", "0.65238225", "0.62742084", "0.6207098", "0.61697745", "0.6169455", "0.61637336", "0.6147634", "0.6126026", "0.61239886", "0.60575163", "0.60487515", "0.6009709", "0.6004204", "0.5967102", "0.596527", "0.5961748", "0.59335214", "0.590216", "0.5900292", "0.5891782...
0.71285534
0
Filter out active entities based on entity end relationship status.
def I8lO(Emd4, MMe4: List[dict]) -> x1iM[dict]: Aofo = [tTpl for tTpl in MMe4 if tTpl.get('relationshipStatus') == xaYn.ACTIVE and tTpl.get('entityStatus') == xaYn.ACTIVE] return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ul1a(YKHO):\n return super(Uy0r, YKHO).get_queryset().filter(status=False)", "def filter(YKHO, yKcO=None, Os4s=None):\n yKcO, Os4s = YKHO.__filter_validator.validate(YKHO, yKcO, Os4s)\n nLRb = jth9.deepcopy(YKHO.__entities)\n YKHO.__history.append(nLRb)\n hkmk = slice(yKcO, Os4s)\n YKHO.__e...
[ "0.6058609", "0.59929717", "0.5903677", "0.56675303", "0.5634793", "0.5634395", "0.56333095", "0.5605472", "0.55929685", "0.5582007", "0.5560174", "0.5388912", "0.53749585", "0.5360916", "0.5328252", "0.5316047", "0.5313724", "0.53117526", "0.5299505", "0.52972126", "0.527148...
0.733537
0
Fetches an user entity from an id
def LRDe(YKHO, uJjO: str) -> RG_o: try: return YKHO.client.entity.get_entity_by_attribute(type_name=ThUG.user, uniq_attributes=[(VvBW.qualified_name, uJjO)]) except Exception: raise BZVJ(f'(User {uJjO}) does not exist')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lyxB(id):\n return mv1M.query.get(id)", "def lyxB(id):\n return mv1M.query.get(id)", "def lyxB(id):\n return mv1M.query.get(int(id))", "def lyxB(id):\n return mv1M.query.get(int(id))", "def lyxB(id):\n return mv1M.query.get(int(id))", "def lyxB(id):\n return mv1M.query.get(int(id))"...
[ "0.78685725", "0.78685725", "0.7866253", "0.7866253", "0.7829017", "0.7829017", "0.7829017", "0.7829017", "0.7829017", "0.7829017", "0.7829017", "0.78019434", "0.78019434", "0.7702094", "0.76751816", "0.7603281", "0.7548121", "0.754047", "0.75121945", "0.7505341", "0.7503477"...
0.0
-1
Return list of Badges for entity. Badges in Amundsen Atlas integration are based on Atlas Classification.
def WKvz(YKHO, LEXu: AtlasEntityWithExtInfo) -> x1iM[fFFX]: Aofo = [] jIcB = LEXu.get('classifications') for EYDd in jIcB or list(): Aofo.append(fFFX(badge_name=EYDd.get('typeName'), category='default')) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O_Lh(YKHO, NArs={}):\n return YKHO.get_resource('/api/v1/badges', params=NArs)", "def O_Lh(YKHO):\n return YKHO.tags['badges'] or ''", "def HIK9(YKHO, TuWQ: list):\n etVo = {'PRIVACY_UNLISTED': FCDu.AVAILABILITY_UNLISTED, 'PRIVACY_PRIVATE': FCDu.AVAILABILITY_PRIVATE, 'PRIVACY_PUBLIC': FCDu.AVAILAB...
[ "0.7230251", "0.6664087", "0.63397115", "0.6233939", "0.60011816", "0.5938304", "0.58229464", "0.58056945", "0.580277", "0.5768626", "0.5656006", "0.5440369", "0.54015994", "0.5380609", "0.5370502", "0.52906495", "0.52683383", "0.51764864", "0.5133907", "0.5121723", "0.509786...
0.78767765
0
Assign the Glossary Term to the give table. If the term is not there, it will create a new term under the Glossary self.ATLAS_USER_DEFINED_TERMS
def McTr(YKHO, *, id: str, TZ9E: str, PNan: str='default', Qjbs: ResourceType=CXl2.Table) -> None: LEXu = YKHO._get_table_entity(table_uri=id) OXAZ = YKHO._get_create_glossary_term(TZ9E) bl2g = Ttsn({VvBW.guid: LEXu.entity[VvBW.guid], 'typeName': Qjbs.name}) YKHO.client.glossary.assign_term_to_entities(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SpZW(YKHO, lPJV: str) -> uLKX[S912, k1lt]:\n NArs = {'typeName': 'AtlasGlossaryTerm', 'excludeDeletedEntities': True, 'includeSubTypes': True, VvBW.attributes: ['assignedEntities'], 'entityFilters': {'condition': 'AND', 'criterion': [{'attributeName': 'name', 'operator': '=', 'attributeValue': lPJV}]}}\n ...
[ "0.6053706", "0.60407525", "0.59726375", "0.59516686", "0.58874595", "0.58874595", "0.5768855", "0.5761993", "0.5678379", "0.56047416", "0.5527111", "0.5522851", "0.5506186", "0.53742", "0.53527", "0.531224", "0.5276617", "0.5270563", "0.52699035", "0.5251293", "0.52211165", ...
0.0
-1
Centroid for an array of XYZ coordinates
def IBzD(W0Eb): return oyIN.mean(W0Eb, axis=0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G0Yq(jNOo):\n J9lb = []\n for YRbF in range(len(jNOo[0])):\n UqpO = oyIN.zeros(3)\n for r845 in range(3):\n UqpO[r845] = jNOo[0][YRbF][r845] + (jNOo[1][YRbF][r845] - jNOo[0][YRbF][r845]) / 2\n J9lb.append(UqpO)\n return J9lb", "def e6ux(WKvO, LVAh, ezWE):\n WKvO = ...
[ "0.78442585", "0.7801971", "0.77056193", "0.76627827", "0.75987935", "0.7567266", "0.75589085", "0.75478226", "0.75394547", "0.75160646", "0.7510332", "0.75014544", "0.75008446", "0.749915", "0.74786186", "0.74707854", "0.7439888", "0.7439845", "0.7416696", "0.741169", "0.740...
0.7548343
7
Returns a vector that is normal to the ring plane
def t4Ox(e6ux, W0Eb): jzdc = M1rV(*W0Eb[0]) Fg_i = M1rV(*W0Eb[1]) ZLSD = e6ux.DirectionVector(jzdc) BBLH = e6ux.DirectionVector(Fg_i) mhAC = ZLSD.CrossProduct(BBLH) return mhAC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qOTC(N9D1, ml2X):\n cJc6 = N9D1.GetConformer()\n LTIa = oyIN.zeros((3, 3))\n for YRbF, f94Y in enumerate(ml2X[:3]):\n kH7Q = cJc6.GetAtomPosition(f94Y)\n LTIa[YRbF] = oyIN.array(kH7Q)\n hQHm = LTIa[1] - LTIa[0]\n jlSq = LTIa[2] - LTIa[0]\n mhAC = oyIN.cross(hQHm, jlSq)\n retu...
[ "0.76071024", "0.7550698", "0.7525598", "0.7390202", "0.73799264", "0.7372858", "0.73048764", "0.73016465", "0.727586", "0.72525394", "0.72387516", "0.7235703", "0.716433", "0.7162144", "0.71554947", "0.7130099", "0.712104", "0.70951265", "0.7021542", "0.6990827", "0.6975118"...
0.7611475
0
Checks if an angle value is between min and max angles in radian. If the angle to check involves a ring, include the angle that would be obtained if we had used the other normal vector (same axis but opposite direction)
def hM54(YylR, A2MC, J3wX, wDuC=False): if wDuC and YylR > W3XF: ZHcE = W3XF - YylR % W3XF return A2MC <= YylR <= J3wX or A2MC <= ZHcE <= J3wX return A2MC <= YylR <= J3wX
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZV0e(YylR):\n if not epAf.isfinite(YylR):\n return 0.0\n if YylR >= 0.0 and YylR <= 360.0:\n return YylR\n OXAZ = YylR / 360.0\n vgXP = epAf.floor(OXAZ)\n b7Ri = YylR - vgXP * 360.0\n return b7Ri", "def XdJO(UTgS: Any, kpLf: float=-oyIN.pi, JCoA: float=oyIN.pi) -> ImMB:\n e...
[ "0.6764765", "0.6722974", "0.6515044", "0.6336185", "0.63127214", "0.63014215", "0.6296333", "0.60912037", "0.6062844", "0.60552764", "0.6035392", "0.6029213", "0.6008175", "0.5995259", "0.5875586", "0.5870188", "0.5841288", "0.58409077", "0.5818051", "0.57837665", "0.5758478...
0.81780034
0
Checks if a bond is a peptide bond based on the ResidueId of the atoms on each part of the bond. Also works for disulfide bridges or any bond that links two residues in biopolymers.
def ojnw(W0I0, qxvA): if qxvA[W0I0.GetBeginAtomIdx()] == qxvA[W0I0.GetEndAtomIdx()]: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ONNy(YKHO, W0I0):\n if W0I0 not in YKHO.bonds and tuple(reversed(W0I0)) not in YKHO.bonds:\n raise ValueError('Bond {} does not exist!'.format(W0I0))", "def P58h(YKHO, U6D_, DNHh=[]):\n for W0I0 in YKHO.bonds:\n if W0I0.get_other(YKHO).name == U6D_ and W0I0.get_other(YKHO) not in DNHh:\n ...
[ "0.61156166", "0.60390294", "0.6032955", "0.6004468", "0.5974847", "0.5974847", "0.5886445", "0.5637279", "0.5623776", "0.558249", "0.548974", "0.54665416", "0.5370359", "0.53231996", "0.5297846", "0.5256245", "0.52551913", "0.5211253", "0.5186721", "0.51749706", "0.5168087",...
0.79733753
0
Return the timestamp of this storage system snapshot.
def E3oo(YKHO): return YKHO._timestamp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ItX3(YKHO):\n return YKHO.timestamp", "def aqVz(YKHO):\n return YKHO.__timestamp", "def E3oo(YKHO) -> str:\n return qe4Y.get(YKHO, 'timestamp')", "def E3oo(YKHO) -> str:\n return qe4Y.get(YKHO, 'timestamp')", "def E3oo(YKHO) -> str:\n return qe4Y.get(YKHO, 'timestamp')", "def E3oo(YKHO...
[ "0.76060456", "0.75807047", "0.7564178", "0.7564178", "0.7564178", "0.7564178", "0.7564178", "0.7564178", "0.7564178", "0.7558854", "0.7548205", "0.75197023", "0.75197023", "0.7506005", "0.75038224", "0.74772257", "0.7445731", "0.74453014", "0.74395937", "0.7435503", "0.74203...
0.7585778
1
Get a global raveled index corresponding to nD indices into an array of the given shape.
def Vvk6(_0VL, ROpF): return hPll.ravel_multi_index(_0VL, ROpF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HV33(d6pt, ROpF):\n return hPll.unravel_index(d6pt, ROpF)", "def VISS(YKHO, or8S):\n from utils import ravel_index\n return ravel_index(or8S, YKHO.shape)", "def vApZ(or8S, hFCj, AvIa, NA0A):\n return (oyIN.floor(or8S / (AvIa * NA0A)), oyIN.floor(or8S % (AvIa * NA0A) / NA0A), oyIN.floor(or8S % N...
[ "0.69371575", "0.66294616", "0.6489852", "0.6391503", "0.63776934", "0.63697875", "0.62308", "0.6193758", "0.61720395", "0.6160328", "0.6090749", "0.6083065", "0.6077728", "0.6069166", "0.6054847", "0.6042657", "0.60149646", "0.6003482", "0.5992835", "0.59893304", "0.5972554"...
0.7565755
0
Get nD indices into an array of the given shape corresponding to a global raveled index.
def HV33(d6pt, ROpF): return hPll.unravel_index(d6pt, ROpF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vvk6(_0VL, ROpF):\n return hPll.ravel_multi_index(_0VL, ROpF)", "def FSWN(ROpF, yDqo=int):\n YRbF = oyIN.arange(oyIN.prod(ROpF), dtype=yDqo)\n YRbF.shape = ROpF\n YEnM = []\n for Csk6 in ROpF:\n YEnM.append(slice(0, Csk6 - 1))\n return YRbF[tuple(YEnM)].flatten()", "def PLeQ(d6pt, ...
[ "0.74652046", "0.71478516", "0.66522837", "0.6649802", "0.65875363", "0.65875363", "0.65747833", "0.6517731", "0.6513097", "0.6479731", "0.64556235", "0.643102", "0.64146227", "0.63843775", "0.63521075", "0.6301681", "0.6294314", "0.6291856", "0.62558585", "0.6218237", "0.617...
0.73393446
1
Get degrees of the NURBS patch surfaces.
def pofy(_IXK): if isinstance(_IXK, int): _IXK = [_IXK] _IXK = hPll.asarray(_IXK) tpio = len(_IXK) if tpio == 3: mygT = [(_IXK[0], _IXK[1]), (_IXK[1], _IXK[2]), (_IXK[0], _IXK[2]), (_IXK[0], _IXK[1]), (_IXK[1], _IXK[2]), (_IXK[0], _IXK[2])] mygT = hPll.array(mygT, dtype=hPll.uint...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tjON(YKHO):\n assert YKHO.is_hypersurface\n return YKHO.__d[0]", "def J_LO(YKHO) -> AzJI[int, int]:\n return (MnDN.get_degrees() for MnDN in [YKHO.encoder_top, YKHO.encoder_btm])", "def J_LO(YKHO):\n return VEDo.arange(YKHO.lwin + 1)", "def J_LO(YKHO) -> float:\n YKHO._warn_if_uncalibrated...
[ "0.68019927", "0.67251796", "0.6633225", "0.6533912", "0.6337242", "0.625985", "0.6224519", "0.6220021", "0.6182902", "0.617927", "0.616068", "0.6149416", "0.6130942", "0.6130942", "0.6089459", "0.606728", "0.606241", "0.60403234", "0.6039826", "0.60175323", "0.6015749", "0...
0.56380665
62
Evaluate the tensorproduct NURBS shape functions in a quadrature point for a given Bezier element.
def C_az(TuAq, k7Nc, S9Fp, _mSQ, _IXK, gtI8, w2B8): if isinstance(_IXK, int): _IXK = [_IXK] _IXK = hPll.asarray(_IXK) tpio = len(_IXK) QBs8(tpio == len(TuAq) == len(gtI8)) T8a7 = _IXK + 1 P0V5 = hPll.prod(T8a7) nzne = T8a7.max() QBs8(P0V5 == w2B8.shape[1]) V3xq = w2B8[k7Nc] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cbpk(YKHO):\n\n def Nq1b():\n XP5J = ysxq(YKHO.n - 1, YKHO.alpha, YKHO.beta)\n TK2h = XTiz.power(2, YKHO.alpha + YKHO.beta + 1)\n TK2h /= YKHO.n - 1\n TK2h *= hYpq(YKHO.n - 1, YKHO.n + YKHO.alpha - 1)\n TK2h /= hYpq(YKHO.n + YKHO.beta - 1, YKHO.n + YKHO.alpha + YKHO.beta)\...
[ "0.62807953", "0.62467664", "0.622629", "0.6140592", "0.6079729", "0.5831626", "0.57694334", "0.566065", "0.5521064", "0.54767954", "0.5462361", "0.544438", "0.5374379", "0.53429943", "0.53353643", "0.5309953", "0.52649254", "0.5261467", "0.5235261", "0.5230217", "0.52237684"...
0.60332024
5
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
def e_63(K0do, qtWj, sOEb): WMj5 = 0.1 ** sum(qtWj >= oyIN.array(sOEb)) tspZ = qIxc.lr * WMj5 WMj5 = qIxc.weight_decay for Lwm5 in K0do.param_groups: Lwm5['lr'] = tspZ * Lwm5['lr_mult'] Lwm5['weight_decay'] = WMj5 * Lwm5['decay_mult']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e_63(K0do, qtWj):\n nIX4 = nIX4 * 0.1 ** ((qtWj - 117) // 30)", "def e_63(K0do, qtWj, qIxc):\n tspZ = qIxc.lr * 0.1 ** (qtWj // 30)\n K0do.state_dict()['param_groups'][-1]['lr'] = tspZ", "def e_63(ma4o, K0do, qtWj, ctbl):\n tspZ = ma4o * 0.1 ** (qtWj // int(epAf.ceil(30.0 / ctbl)))\n for Lwm...
[ "0.7991837", "0.7940576", "0.78895533", "0.78278863", "0.7822731", "0.78170556", "0.7810941", "0.78027624", "0.77914375", "0.7788607", "0.7782131", "0.7765793", "0.77645", "0.77609223", "0.7749379", "0.7739108", "0.7731853", "0.77242327", "0.77121335", "0.7708826", "0.7704794...
0.0
-1
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].view(-1).float().sum(0) Ylbp.append(R2Dg.mul_(100....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rhd_(u5Ef, G1Hx):\n return len(u5Ef) / G1Hx", "def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx]\n return oyIN.mean(Mkmy)", "def sEak(YKHO, G1Hx):\n fdMZ = YKHO.pred_rankings.rdd.map(lambda SjLr: (SjLr[2], SjLr[1]))\n Wbxz = rRQi(fdMZ)\n return Wbxz.precisionA...
[ "0.8003303", "0.7974974", "0.7973838", "0.7941408", "0.78644186", "0.7804143", "0.7707982", "0.76218164", "0.75933", "0.75614214", "0.75204575", "0.74303335", "0.7412347", "0.7376026", "0.7374732", "0.7321644", "0.72547084", "0.72369593", "0.72281915", "0.7204618", "0.7137449...
0.0
-1
Returns a Django user for the given LDAP user data. If the user does not exist, then it will be created.
def Lb9E(YKHO, azoT): if azoT is None: bo34.warning('LDAP user attributes empty') return None mv1M = egNl() JXFW = {vXX7: azoT[_j8X][0] if isinstance(azoT[_j8X], (list, tuple)) else azoT[_j8X] for vXX7, _j8X in gCuF.LDAP_AUTH_USER_FIELDS.items() if _j8X in azoT} JXFW = o2gL(gCuF.LDAP_AUT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C1yR(YKHO, NtEF, PWuZ):\n B2fa = {'username': NtEF, 'defaults': {'from_ldap': True}}\n vCWU = egNl()\n return vCWU.objects.get_or_create(**B2fa)", "def C1yR(YKHO, NtEF, PWuZ):\n try:\n CBIr = mv1M.objects.get(username__iexact=NtEF)\n except rIt9:\n CBIr = mv1M(NtEF)\n return (...
[ "0.82145226", "0.7935029", "0.7919662", "0.77069914", "0.75302035", "0.7521704", "0.74423724", "0.7325481", "0.72849625", "0.7200263", "0.71130884", "0.70407075", "0.703438", "0.7009689", "0.6938056", "0.6824398", "0.6806207", "0.6799585", "0.67197853", "0.666359", "0.6656419...
0.7304043
8
Converts pages string to list of ints.
def LR6w(YKHO, Gqqd): gcLf = [] if Gqqd == '1': gcLf.append({'start': 1, 'end': 1}) else: with open(YKHO.filepath, 'rb') as eHNT: apum = bD5j(eHNT, strict=False) if apum.is_encrypted: apum.decrypt(YKHO.password) if Gqqd == 'all': ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pkTI(P9NH):\n assert P9NH[0] == 'p'\n P9NH = P9NH[1:]\n mAB6 = P9NH.split(',')\n Gqqd = []\n for YRbF in mAB6:\n if '-' in YRbF:\n Gqqd.extend(yE3z(YRbF))\n else:\n Gqqd.append(int(YRbF))\n return Gqqd", "def aI4m(HPrT):\n Gqqd = []\n Z9JV = rKuS(HP...
[ "0.736028", "0.71048594", "0.6913067", "0.6792967", "0.6655074", "0.6587328", "0.6571768", "0.6483635", "0.6417604", "0.64157635", "0.6388448", "0.63666695", "0.6320273", "0.63153005", "0.6302171", "0.6262718", "0.62320393", "0.61870474", "0.61855006", "0.6183815", "0.6086201...
0.6541555
7
Tests that the hermitian operator raises an error when instantiated with wires=[].
def HBMR(YKHO): m8Ro = oyIN.array([]).reshape((0, 0)) with trZe.raises(ValueError, match='wrong number of wires'): B2Ja.Hermitian(m8Ro, wires=[])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vsZG(YKHO):\n M4N3 = B2Ja.device('default.qubit', wires=['a', -1, 'q2'])\n\n @B2Ja.qnode(M4N3)\n def DPNn():\n B2Ja.Hadamard(wires=-1)\n B2Ja.CNOT(wires=['a', 'q2'])\n B2Ja.RX(0.2, wires='a')\n return B2Ja.expval(B2Ja.PauliX(wires='q2'))\n DPNn()\n with trZe.raises(Va...
[ "0.7026867", "0.69799453", "0.69505304", "0.68272185", "0.6822462", "0.68049324", "0.67616594", "0.6637922", "0.6625189", "0.66167027", "0.6582238", "0.6573198", "0.64952826", "0.64952147", "0.64521325", "0.642573", "0.64077204", "0.640225", "0.6392203", "0.6390408", "0.63844...
0.69252133
3
Get the humanfriendly label for the column.
def UXqs(YKHO) -> str: return YKHO._label
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zy1L(YKHO) -> str:\n return YKHO._call_java('labelCol')", "def mWFP(YKHO) -> av29:\n mWFP = YKHO._column_label\n if mWFP is not None and len(mWFP) == 1:\n return mWFP[0]\n else:\n return mWFP", "def cPka(YKHO):\n return YKHO.getOrDefault(YKHO.labelColumn)", "def z0q4(YKHO, mW...
[ "0.7969528", "0.7788652", "0.7705511", "0.7615561", "0.7515915", "0.7078525", "0.70463324", "0.69108725", "0.69042957", "0.68636644", "0.6862886", "0.685208", "0.684632", "0.6838401", "0.6819646", "0.6814071", "0.67289144", "0.67217064", "0.67139184", "0.6703894", "0.6690753"...
0.67932725
16
Get the humanfriendly label for the column.
def UXqs(YKHO) -> str: return YKHO._label
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zy1L(YKHO) -> str:\n return YKHO._call_java('labelCol')", "def mWFP(YKHO) -> av29:\n mWFP = YKHO._column_label\n if mWFP is not None and len(mWFP) == 1:\n return mWFP[0]\n else:\n return mWFP", "def cPka(YKHO):\n return YKHO.getOrDefault(YKHO.labelColumn)", "def z0q4(YKHO, mW...
[ "0.7968362", "0.7788801", "0.7705457", "0.76158714", "0.751428", "0.7080096", "0.70447457", "0.6908858", "0.6903733", "0.6865596", "0.6861975", "0.6850286", "0.6846094", "0.68381536", "0.68219995", "0.68118924", "0.6730619", "0.672089", "0.67118156", "0.67024606", "0.6688442"...
0.67912257
17
Initialize game board with default value
def yqe1(YKHO): YKHO.board = [[None] * YKHO.board_size for bGrB in range(YKHO.board_size)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YQgq(YKHO):\n BrEt = int(input('What size board would you like to play on today? '))\n YKHO.board = yELo(BrEt)", "def A6EF(YKHO):\n YKHO.board = oyIN.full(pow(YKHO.size + 2, 2), pqZk, dtype='U')\n for rdlD in range(1, YKHO.size + 1):\n yKcO = YKHO.row_start(rdlD)\n YKHO.board[yKcO:y...
[ "0.75673854", "0.7542106", "0.75305074", "0.75085735", "0.7467115", "0.732878", "0.73242015", "0.73036927", "0.72748744", "0.7274652", "0.7239474", "0.7239474", "0.7228586", "0.71741146", "0.71564895", "0.7152581", "0.7146702", "0.7119896", "0.7074743", "0.706465", "0.7061286...
0.76388365
0
Check if seat is occupied
def CzyL(YKHO, TMtB): return YKHO.board[TMtB[0]][TMtB[1]] is not None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MBM0(YKHO, WKvO, LVAh):\n if (WKvO, LVAh) in YKHO.emptyseatcoords:\n return True\n else:\n return False", "def hRuO(q36t, rdlD, fvDH):\n ihVD = False\n YRbF = 0\n while True:\n YRbF += 1\n if rdlD - YRbF < 0:\n break\n if q36t[rdlD - YRbF, fvDH] !=...
[ "0.7265541", "0.7145748", "0.71230304", "0.70808727", "0.7012661", "0.6910539", "0.69038445", "0.6841429", "0.68220013", "0.68092453", "0.6748646", "0.6660745", "0.6619516", "0.6529904", "0.6524021", "0.6479093", "0.6444731", "0.6405864", "0.63845676", "0.6382073", "0.6380715...
0.8183664
0
Check if all seats in array are occupied by the same player
def GH6R(YKHO, zFiD): Aofo = False if zFiD[0] and all((WKvO == zFiD[0] for WKvO in zFiD)): Aofo = True return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GVA4(LhTP, UMJ5, X0zK):\n en4D = True\n if LhTP[UMJ5][X0zK] == AtY1:\n return True\n pmrF = 0\n rEBw = []\n ewCu = 0\n for E7CR in (-1, 0, 1):\n for SrzL in (-1, 0, 1):\n rEBw.append(ez7i(LhTP, UMJ5, X0zK, E7CR, SrzL))\n ewCu += 1\n pmrF = rEBw.count(lhp...
[ "0.6958468", "0.6856383", "0.657207", "0.6513318", "0.6323278", "0.63122284", "0.6281345", "0.6271564", "0.6223214", "0.6194506", "0.60517186", "0.6050053", "0.60272354", "0.6011957", "0.598709", "0.59842044", "0.5975119", "0.59519285", "0.5951425", "0.5933381", "0.59097", ...
0.0
-1
Dump the workspace spec into a file in yaml format.
def ChRH(YKHO, e1vZ: Union[str, PathLike, IO[AnyStr]], **B2fa) -> None: pmON = B2fa.pop('path', None) gpAy = YKHO._to_dict() LGJY(e1vZ, gpAy, default_flow_style=False, path=pmON, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ChRH():\n global _config\n global _modified\n if VDLm:\n cLAE = vmCi()\n tzAq, IaaG = Hy7s.path.split(cLAE)\n Hy7s.makedirs(tzAq, exist_ok=True)\n with open(cLAE, 'w') as eHNT:\n eJb6.dump(viqz, eHNT)\n VDLm = False", "def ChRH(YKHO):\n with open(YKHO...
[ "0.679631", "0.66131973", "0.6586312", "0.6586312", "0.65063584", "0.6384569", "0.6375534", "0.63493264", "0.6333198", "0.6326599", "0.6313312", "0.62774956", "0.6253876", "0.6238795", "0.6195898", "0.61389095", "0.61339104", "0.6107032", "0.60868114", "0.60576504", "0.605497...
0.0
-1
This function converts boolean values to strings 'Yes' or 'No'.
def YF7L(_J6_): return 'Yes' if _J6_ >= 1 else 'No'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NSqi(bool):\n return 'Yes' if bool else 'No'", "def gstE(Fg_i):\n if Fg_i:\n return 'Yes'\n return 'No'", "def Ux8e(Fg_i):\n if Fg_i:\n return 'yes'\n else:\n return 'no'", "def YF7L(_J6_):\n return 'Yes' if _J6_ else 'No'", "def ZGfH(Fg_i):\n if Fg_i:\n ...
[ "0.88402003", "0.855124", "0.8372787", "0.836128", "0.83341223", "0.8287917", "0.80669343", "0.7864297", "0.7723636", "0.76688486", "0.76576906", "0.76201427", "0.75994736", "0.7490929", "0.74876136", "0.7484684", "0.7456784", "0.7414902", "0.7393355", "0.7343459", "0.7317381...
0.8055581
7
Converts a number to a string of bytes >>> bytes2int(int2bytes(123456789)) 123456789
def jykZ(YKHO, FGW3): if not (type(FGW3) is SnBA.LongType or type(FGW3) is SnBA.IntType): raise TypeError('You must pass a long or an int') vIwR = '' while FGW3 > 0: vIwR = '%s%s' % (chr(FGW3 & 255), vIwR) FGW3 /= 256 return vIwR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jykZ(FGW3):\n return int.to_bytes(FGW3, cpgS, 'big')", "def KA36(BWXx: int) -> bytes:\n return bytes(str(BWXx), 'utf-8')", "def jykZ(exwG):\n vIwR = ''\n while exwG > 0:\n vIwR = '%s%s' % (chr(exwG & 255), vIwR)\n exwG /= 256\n return vIwR", "def KA36(EfNi, abwh='big'):\n ...
[ "0.87054044", "0.79426765", "0.7873016", "0.7873009", "0.7868848", "0.78462225", "0.7835419", "0.7835419", "0.76821035", "0.7671491", "0.7665279", "0.75691926", "0.7471139", "0.7449675", "0.7427494", "0.73988295", "0.73422545", "0.72567433", "0.72501385", "0.72311974", "0.720...
0.84540015
1
r"""Get the dtype of the data.
def yDqo(YKHO): return YKHO._dtype
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDqo(YKHO):\n return YKHO._data.dtype", "def yDqo(YKHO):\n return YKHO.data.dtype", "def yDqo(YKHO):\n return YKHO.data.dtype", "def yDqo(YKHO):\n return YKHO.data.dtype", "def yDqo(YKHO):\n return YKHO.data.dtype", "def qxps(YKHO):\n pass", "def yDqo(YKHO):\n return YKHO._data...
[ "0.86864346", "0.86726725", "0.86726725", "0.86726725", "0.86726725", "0.8626588", "0.8613741", "0.8566961", "0.8367733", "0.8360014", "0.8358441", "0.8358441", "0.8358441", "0.8358441", "0.8358441", "0.8358441", "0.8358441", "0.8358441", "0.8348685", "0.8342762", "0.8334206"...
0.8405092
8
Get the pixel coordinates of the pixels in an array of shape ``shape_out`` in the input WCS.
def EMIY(lesf, OHJ3, lSCz): bQ9i, EINl = oyIN.indices(lSCz, dtype=float)[::-1] LUKZ, OYb8 = OHJ3.wcs_pix2world(bQ9i, EINl, 0) G4Wg, aRLb = Gpy3(LUKZ, OYb8, OHJ3, lesf) hsEu, ELMR = lesf.wcs_world2pix(G4Wg, aRLb, 0) LUKZ, OYb8 = Gpy3(G4Wg, aRLb, lesf, OHJ3) zS27, jKyK = OHJ3.wcs_world2pix(LUKZ, O...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def priE(YKHO, GhuM):\n return (GhuM[0], GhuM[2])", "def dOsr(YKHO, GhuM):\n Fg_i, yzQ0, MKlR, Z9rn = GhuM\n return (Fg_i, YKHO.size[0], YKHO.size[1], Z9rn)", "def dOsr(YKHO, GhuM):\n return (GhuM[0][0], GhuM[0][1], GhuM[1][-1])", "def HCTo(YKHO, ETfU):\n XP5J = YKHO.params\n return BobH(ET...
[ "0.6473742", "0.6423043", "0.64011806", "0.63373667", "0.631213", "0.6310092", "0.63024676", "0.6192942", "0.6192942", "0.6187003", "0.6186066", "0.6166184", "0.6166184", "0.6166184", "0.6130687", "0.6114804", "0.6100286", "0.6095116", "0.60794866", "0.6074774", "0.60745335",...
0.7395515
0
This method is constructor for class ESPSCN.
def FIMM(YKHO, cb_Q, N0ky, qqqI, dt0H, NXpY, Ep8u, Aqje, Dquz, GPtr): YKHO.layerOutputs = dict() YKHO.load_existing_data = Dquz YKHO.sess = cb_Q YKHO.image_size = N0ky YKHO.is_train = qqqI YKHO.c_dim = Aqje YKHO.scale = NXpY YKHO.train_mode = dt0H YKHO.batch_size = Ep8u YKHO.conf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, **B2fa):\n na1r.info('%s: initing...' % str(YKHO))\n super(xdgB, YKHO).__init__(**B2fa)\n YKHO.projection_matrix = None\n na1r.debug('%s: inited.' % repr(YKHO))", "def FIMM(YKHO):\n YKHO.d_nodes = {}\n YKHO.l_s_nodes = []\n YKHO.l_l_matrix = []\n YKHO.i_node_index = 0\n ...
[ "0.6405919", "0.6293591", "0.6244889", "0.6226196", "0.62199956", "0.6217129", "0.62132597", "0.6203785", "0.61845744", "0.6138006", "0.6109933", "0.6102825", "0.6095469", "0.60948914", "0.6091015", "0.60902673", "0.6082514", "0.6074908", "0.60734195", "0.6066352", "0.6061207...
0.0
-1
Checks that the table doesn't contain other values than 1.
def buaC(YKHO, aPD1, egj1, ewCu, mKSm): ZkBI = X_cL.create_client_for_nth_impalad(egj1) try: while ewCu.value != mKSm: Aofo = ZkBI.execute('select * from %s where i != 1' % aPD1) assert len(Aofo.data) == 0 ITS7.sleep(0.5) finally: ZkBI.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xJKV(tyNF):\n if not isinstance(tyNF, (rLdf.Series, rLdf.DataFrame)):\n raise TypeError('Unsupported type: {}'.format(type(tyNF)))\n if not oyIN.all(oyIN.isfinite(tyNF.values)):\n raise ValueError('There is an invalid entry')", "def gDZG(YKHO, rdlD):\n if set(rdlD) & set(('?', '*', 'NU...
[ "0.6615877", "0.65607613", "0.64082664", "0.6407705", "0.63978946", "0.6233173", "0.6214365", "0.6188013", "0.61742437", "0.61742437", "0.6162703", "0.61484945", "0.6141757", "0.6133666", "0.6095673", "0.60745543", "0.60510725", "0.6002238", "0.5984544", "0.59814316", "0.5975...
0.0
-1
Clear the Task cache. This forces tasks to be reinitialized. Normally, attempting to reinitialize a task with the same parameters as previously simply returns the previously created instance. Even with the option `recompute=True`, changes to the task's code are still ignored.This is undesirable during an interactive de...
def AsHT(*IrMJ: Union[Type[Task], Task, str]): if len(IrMJ) == 0: bo34.debug('Clearing all tasks.') yots.clear() else: DCxh = {rxEN.taskname() if isinstance(rxEN, o2Vr) else rxEN.taskname() if yPu3(rxEN, o2Vr) else rxEN for rxEN in IrMJ} if not all((isinstance(pWm4, str) for pWm4...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ORNU(YKHO):\n if YKHO.tasks:\n del YKHO.__dict__['tasks']", "def n8AZ(YKHO, QePW, QpfX):\n vzsM._log_request(QePW, QpfX)\n YKHO.memory.clear_tasks()\n return bPPJ()", "def ORNU() -> None:\n GYa2.clear()", "def Jhyu(YKHO, D5gV=None):\n pass", "def BopN(YKHO):\n if YKHO.__runn...
[ "0.71049625", "0.6440965", "0.6401901", "0.63860226", "0.6360001", "0.63064945", "0.61475104", "0.61239475", "0.60962796", "0.6067915", "0.6061099", "0.60565054", "0.5994512", "0.59733576", "0.59733576", "0.5971447", "0.5961287", "0.59331894", "0.59291196", "0.59060895", "0.5...
0.7298886
0
Get One user based on public_id
def nsDf(c5ow, La6v): if not c5ow.admin: return oGir(mimetype='application/json', response=qQXR.dumps({'error': 'cannot perform this action!'}), status=400) return mv1M.get_one_user(La6v)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sg2I(La6v: str) -> mv1M:\n return mv1M.query.filter_by(public_id=La6v).first()", "def NMoC(YKHO, La6v):\n CBIr = TKWP(La6v)\n if not CBIr:\n nNXP.abort(404)\n else:\n return CBIr", "def NMoC(YKHO, La6v):\n CBIr = OSYx.get_a_user(La6v)\n if not CBIr:\n nNXP.abort(404)\...
[ "0.8501671", "0.8204447", "0.8160913", "0.7738309", "0.726149", "0.7121705", "0.69852185", "0.69560516", "0.6907938", "0.6892572", "0.68894464", "0.6812004", "0.678018", "0.67367953", "0.6735709", "0.668308", "0.668173", "0.6676719", "0.6669411", "0.6650219", "0.6650045", "...
0.8018228
3
Promote User to Admin Status
def J129(c5ow, La6v): if not c5ow.admin: return oGir(mimetype='application/json', response=qQXR.dumps({'error': 'cannot perform this action!'}), status=400) return mv1M.promote_user(La6v)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ifum(qIxc):\n Ylbp = NCls.update_dj_status(qIxc['USER'], 'admin', True)\n if Ylbp is not None:\n print('User \"{}\" is now an admin.'.format(qIxc['USER']))", "async def bestowadmin(YKHO, OaeV):\n for mS46 in OaeV.message.mentions:\n _8qE = await OaeV.bot.icethinkdb.get_member(mS46.id)\...
[ "0.7297404", "0.7294082", "0.7224041", "0.7046278", "0.69619715", "0.68917334", "0.6888343", "0.6831538", "0.6724666", "0.66925", "0.6683176", "0.6677195", "0.665602", "0.66140467", "0.6607249", "0.65521556", "0.65267426", "0.6518146", "0.65133893", "0.6488221", "0.64795804",...
0.6118758
44
Sets the disposition_date of this PayRoll.
def NYh3(YKHO, NYh3): YKHO._disposition_date = NYh3
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cJSP(YKHO, hMDX):\n assert hMDX and hMDX.strip()\n YKHO._disposition = HZtw(code=hMDX)", "def dVx5(YKHO, dVx5):\n YKHO._enrollment_date = dVx5", "def IsVG(YKHO, IsVG):\n YKHO._encounter_date = IsVG", "def gq4h(YKHO, _c1T):\n YKHO.__date = _c1T", "def wjGx(YKHO, _c1T):\n YKHO.date = _c...
[ "0.6772659", "0.6427688", "0.61275434", "0.6011973", "0.59304965", "0.5920766", "0.59003234", "0.5872505", "0.58684725", "0.5856784", "0.5823582", "0.5823582", "0.5823582", "0.5823582", "0.5823582", "0.5770237", "0.5737426", "0.57327527", "0.57327527", "0.57327527", "0.573275...
0.87963617
0
Sets the is_approved of this PayRoll.
def BS0X(YKHO, BS0X): YKHO._is_approved = BS0X
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ape5(YKHO, Ape5):\n YKHO._approved = Ape5", "def A8hZ(YKHO, A8hZ):\n YKHO._can_approve = A8hZ", "def ymbW(YKHO, ymbW: bool) -> None:\n SlLe(not YKHO._is_oracle_transaction_approved and ymbW, 'Only allowed to switch to true.')\n YKHO._is_oracle_transaction_approved = ymbW", "def Ape5(YKHO, BWX...
[ "0.74297965", "0.67633516", "0.6730359", "0.65139824", "0.62038374", "0.6130161", "0.5988552", "0.5926635", "0.58425695", "0.5801789", "0.5707735", "0.56737417", "0.5630557", "0.55563706", "0.55234194", "0.5462478", "0.5427873", "0.5356314", "0.52829766", "0.5281355", "0.5281...
0.8236808
0
Sets the is_rejected of this PayRoll.
def EuYT(YKHO, EuYT): YKHO._is_rejected = EuYT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WHh4(YKHO, QTBn):\n YKHO.reject_state = QTBn", "def EuYT(YKHO) -> bool:\n return YKHO.status == horj.REJECTED", "def ufMq(YKHO, **B2fa):\n geh0 = YKHO._requester.request('POST', 'courses/{}/enrollments/{}/reject'.format(YKHO.course_id, YKHO.id), _kwargs=zaL9(**B2fa))\n return geh0.json().get('s...
[ "0.64930725", "0.6477164", "0.5884804", "0.58632004", "0.5844435", "0.5647288", "0.56144357", "0.5398665", "0.5378981", "0.5333557", "0.5333557", "0.5296077", "0.5204837", "0.51399624", "0.51394236", "0.51212144", "0.5110607", "0.5105724", "0.5100415", "0.5078909", "0.5078177...
0.8518932
0
Sets the payment_method of this PayRoll.
def iO9T(YKHO, iO9T): BbPm = [None, 'Manual', 'NETS'] if YKHO.local_vars_configuration.client_side_validation and iO9T not in BbPm: raise ValueError('Invalid value for `payment_method` ({0}), must be one of {1}'.format(iO9T, BbPm)) YKHO._payment_method = iO9T
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iO9T(YKHO, iO9T):\n YKHO._payment_method = iO9T", "def iO9T(YKHO, iO9T):\n YKHO._payment_method = iO9T", "def iO9T(YKHO, iO9T):\n BbPm = ['COD', 'CVS', 'Other']\n if iO9T not in BbPm:\n raise ValueError('Invalid value for `payment_method` ({0}), must be one of {1}'.format(iO9T, BbPm))\n ...
[ "0.8201398", "0.8201398", "0.7491483", "0.729488", "0.6891804", "0.6680485", "0.64852196", "0.64507794", "0.6359443", "0.6302606", "0.61461145", "0.61167705", "0.6014762", "0.59699583", "0.5958739", "0.5958739", "0.595478", "0.5935941", "0.5913031", "0.5764156", "0.5749594", ...
0.76842827
2
Sets the salary_period of this PayRoll.
def wMKI(YKHO, wMKI): YKHO._salary_period = wMKI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jm01(YKHO, Jm01):\n YKHO._salary = Jm01", "def sTuO(YKHO, sTuO):\n YKHO._salary_cycle = sTuO", "def cXRs(YKHO, cXRs):\n YKHO._yahoo_salary = cXRs", "def gxtt(YKHO, BWXx):\n YKHO.salary = BWXx\n G9jH.debug(\"User's salary received\")", "def pQ4c(YKHO, pQ4c):\n YKHO._period = pQ4c", "...
[ "0.7419054", "0.7018996", "0.68204474", "0.6775499", "0.6202327", "0.6202327", "0.6202327", "0.6202327", "0.6202327", "0.6202327", "0.6146024", "0.6133582", "0.61295885", "0.61251515", "0.6105158", "0.60399103", "0.6028894", "0.59973925", "0.58443946", "0.5832708", "0.5802147...
0.9051323
0
Sets the total_invoice of this PayRoll.
def kS2C(YKHO, kS2C): YKHO._total_invoice = kS2C
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rzoi(YKHO, wjRY):\n YKHO.__total = wjRY", "def L8n4(YKHO, L8n4):\n YKHO._total_invoiced = L8n4", "def XL9P(YKHO, XL9P):\n YKHO._total_invoiced_salary = XL9P", "def KpBD(YKHO, KpBD):\n YKHO._total_amount = KpBD", "def KpBD(YKHO, KpBD):\n YKHO._total_amount = KpBD", "def KpBD(YKHO, KpBD)...
[ "0.71279675", "0.6948018", "0.6815184", "0.6807885", "0.6807885", "0.6807885", "0.6807885", "0.66592705", "0.66592705", "0.66592705", "0.66592705", "0.66592705", "0.66592705", "0.66592705", "0.6571056", "0.65453905", "0.6443246", "0.6402642", "0.6321937", "0.6321937", "0.6301...
0.8805608
0
Sets the total_invoiced_salary of this PayRoll.
def XL9P(YKHO, XL9P): YKHO._total_invoiced_salary = XL9P
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L8n4(YKHO, L8n4):\n YKHO._total_invoiced = L8n4", "def kS2C(YKHO, kS2C):\n YKHO._total_invoice = kS2C", "def NyMx(YKHO, NyMx):\n YKHO._base_total_invoiced = NyMx", "def Jm01(YKHO, Jm01):\n YKHO._salary = Jm01", "def gxtt(YKHO, BWXx):\n YKHO.salary = BWXx\n G9jH.debug(\"User's salary r...
[ "0.71032715", "0.64754564", "0.6429016", "0.61891663", "0.6043603", "0.59541905", "0.5929566", "0.58711666", "0.57664603", "0.5705287", "0.56850773", "0.5655019", "0.5643092", "0.5611243", "0.5611243", "0.5611243", "0.5611243", "0.5593269", "0.5585029", "0.55842733", "0.55842...
0.8841678
0
Sets the total_paycheck of this PayRoll.
def A5yG(YKHO, A5yG): YKHO._total_paycheck = A5yG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rzoi(YKHO, wjRY):\n YKHO.__total = wjRY", "def zSxe(YKHO, zSxe):\n YKHO._total_paid = zSxe", "def gz8u(YKHO, gz8u):\n YKHO._total_ppa = gz8u", "def gz8u(YKHO, gz8u):\n YKHO._total_ppa = gz8u", "def l43e(YKHO, l43e):\n YKHO._total_due = l43e", "def l43e(YKHO, l43e):\n YKHO._total_due...
[ "0.6455311", "0.6126523", "0.6107793", "0.6107793", "0.6073053", "0.6073053", "0.6073053", "0.6066923", "0.6066923", "0.6066923", "0.6066923", "0.6066923", "0.6066923", "0.6066923", "0.60088724", "0.60088724", "0.60088724", "0.60088724", "0.59271336", "0.59271336", "0.5852902...
0.8786783
0
Sets the version of this PayRoll.
def DpZH(YKHO, DpZH): YKHO._version = DpZH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R2V2(YKHO, DpZH):\n YKHO.version = DpZH", "def dPFR(YKHO, DpZH):\n YKHO.version = DpZH", "def R2V2(YKHO, DpZH):\n YKHO._version = DpZH", "def dPFR(YKHO, DpZH):\n YKHO._version = DpZH", "def DpZH(YKHO, DpZH):\n YKHO._version.value = DpZH", "def R2V2(YKHO, DpZH):\n YKHO.set_byte(0, Dp...
[ "0.7624106", "0.7603059", "0.76018614", "0.7596551", "0.7323572", "0.7245967", "0.7245967", "0.7245967", "0.7160194", "0.71415114", "0.71415114", "0.7104342", "0.7079945", "0.70270926", "0.69863343", "0.69863343", "0.69634247", "0.6933676", "0.69309944", "0.686883", "0.684292...
0.7144816
9
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, UnyT): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Creates a tf.Example message ready to be written to a file.
def Ix8_(vOvM, N3C1, L0Nd, TP22): RDhP = {'feature0': Oety(vOvM), 'feature1': Oety(N3C1), 'feature2': NhGy(L0Nd), 'feature3': bPiq(TP22)} xKOQ = ZylS.train.Example(features=ZylS.train.Features(feature=RDhP)) return xKOQ.SerializeToString()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GSe7(cRRG, _73Q):\n WJI9 = ZylS.python_io.TFRecordWriter(cRRG)\n UHFx = 0\n for YRbF, r845 in enumerate(_73Q):\n ZylS.logging.log_every_n(ZylS.logging.INFO, 'On image %d of %d', 100, YRbF, len(_73Q))\n Rf_J = r845.split('gtFine')[1].split('/')\n nPrm = {'json_path': r845, 'relpath...
[ "0.6617714", "0.6526403", "0.65012056", "0.63339794", "0.6265291", "0.62592787", "0.62509567", "0.62447363", "0.6159188", "0.6147971", "0.6127949", "0.6108871", "0.60608304", "0.60423887", "0.6030907", "0.6028737", "0.6023702", "0.60096776", "0.59656715", "0.5930373", "0.5925...
0.6265142
5
Ensures the given topic is valid for Cloud Pub/Sub.
def OYkL(rlUa): return '/' not in rlUa
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M1cW(rlUa, bNKA):\n try:\n Zxma.json_request('%s/%s/topics/%s' % (TsKP, bNKA, rlUa), method='PUT', scopes=c2VS)\n except Zxma.Error as e:\n if tTpl.status_code != 409:\n raise", "def EPxk(rlUa):\n rlUa = FFRE(rlUa, Rl66, Jtu_)\n return rlUa", "def Xlnh(rlUa: Any) -> str...
[ "0.6844605", "0.67378503", "0.6715967", "0.6626145", "0.6406439", "0.6267653", "0.6266139", "0.6174699", "0.6113166", "0.60807776", "0.602005", "0.59794533", "0.597677", "0.5970738", "0.5962196", "0.5948796", "0.59395057", "0.5900652", "0.5867649", "0.584695", "0.5820387", ...
0.6718937
2
Take divervenge of pencil code vector array f in various coordinate systems.
def hFiK(eHNT, Jw7X, eUWA, aUJK, WKvO=None, LVAh=None, gfry='cartesian'): import numpy as oyIN from .der import xder, yder, zder if eHNT.ndim != 4: print('div: must have vector 4-D array f[mvar, mz, my, mx] for divergence.') raise ValueError if gfry == 'cartesian': return xder(eH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eHNT(WKvO, LVAh, vuvg, ut5U):\n vuvg[0] = LVAh[1]\n vuvg[1] = -0.4829 * (ut5U - cAlv(WKvO)) * LVAh[0]", "def WZTC(vuvg):\n KkY2, o4sw, cAlv = oyIN.linalg.svd(vuvg)\n tTpl = cAlv[-1]\n return tTpl / tTpl[2]", "def WZTC(vuvg):\n KkY2, o4sw, cAlv = oyIN.linalg.svd(vuvg)\n tTpl = cAlv[-1]\...
[ "0.6463368", "0.64311236", "0.63805324", "0.6364385", "0.6184154", "0.6177743", "0.5986458", "0.5943149", "0.59022295", "0.58633125", "0.5818669", "0.58017844", "0.579867", "0.57571256", "0.5735794", "0.5728324", "0.57240933", "0.5709012", "0.5683244", "0.56752187", "0.567521...
0.0
-1
Is this layer completely empty so it can't be drawn. As with self.loaded, we are never really empty. Our VispyTiledImageLayer can always be drawn. Even if there is nothing to draw.
def zb2l(YKHO) -> bool: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBfn(YKHO):\n return not (YKHO.has_mask or YKHO.has_attributes or YKHO.has_objects or YKHO.has_keypoints or YKHO.has_polylines or YKHO.has_events)", "def FBfn(YKHO):\n return YKHO.w > 0 and YKHO.h > 0", "def FBfn(YKHO):\n return YKHO.obstacles == [] or YKHO.obstacles == None", "def lsmZ(YKHO):\n...
[ "0.70447296", "0.70406955", "0.6981074", "0.6896796", "0.6875651", "0.6771901", "0.67524326", "0.6698458", "0.66931015", "0.66903013", "0.66672355", "0.6644738", "0.6634974", "0.66193753", "0.6616703", "0.6613525", "0.66040844", "0.660161", "0.6593673", "0.65808445", "0.64844...
0.0
-1
Return the total number of octree levels. Returns int The number of octree levels.
def xqoo(YKHO) -> int: return len(YKHO.data)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XtuV(YKHO) -> int:\n ...", "def vZKM(YKHO):\n return len(YKHO.levels)", "def sswc(YKHO):\n return 10", "def Cb9n(YKHO):\n return YKHO.primary_header['Number of levels']", "def zNig(YKHO):\n if YKHO.level == 0:\n return YKHO.count\n else:\n lY0q = 0\n for or8S in r...
[ "0.8230006", "0.8077566", "0.7912067", "0.77336615", "0.76785284", "0.75920534", "0.75790066", "0.7564864", "0.75444937", "0.74243444", "0.7220924", "0.7214503", "0.71864665", "0.71716064", "0.7152069", "0.71089256", "0.70850146", "0.7054978", "0.7040347", "0.7016206", "0.698...
0.85855794
0
Remove indentation from a multiline string.
def _03m(KCHu): return TI0e.dedent(KCHu).lstrip()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _TXd(zZcM: str):\n Nqlg = zZcM.split('\\n')\n c31X = len(Nqlg[0]) - len(Nqlg[0].lstrip())\n return '\\n'.join([zFiD[c31X:] for zFiD in Nqlg])", "def WWme(KCHu):\n KCHu = KCHu.strip('\\n')\n if KCHu == '':\n return ''\n Nqlg = KCHu.splitlines()\n cnXz = Nqlg[0]\n if cnXz == '':\...
[ "0.7447424", "0.73819363", "0.7256527", "0.7032951", "0.68745685", "0.6765148", "0.6742279", "0.674081", "0.6722412", "0.67186534", "0.6631329", "0.65514046", "0.65247476", "0.6519329", "0.65148014", "0.64754856", "0.6402247", "0.62654203", "0.62564206", "0.62048894", "0.6199...
0.7044415
3
Find the Cargo.toml file in the given path, or any of its parents.
def jAqW(pmON): pmON = Hy7s.path.normpath(pmON) if Hy7s.path.isfile(pmON): pmON = Hy7s.path.dirname(pmON) while True: Kz8N = Hy7s.path.join(pmON, 'Cargo.toml') if Hy7s.path.exists(Kz8N): return pmON _AKB = Hy7s.path.dirname(pmON) if _AKB == pmON: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KAl6(qi10=3):\n YRbF = 0\n for Z9rn, bGrB, bGrB in vpVd(Hy7s.getcwd()):\n YRbF += 1\n if YRbF < qi10:\n Mkmy = Hy7s.path.join(Z9rn, 'requirements.txt')\n if Hy7s.path.isfile(Mkmy):\n return Mkmy\n raise RuntimeError('No requirements.txt found!')", "...
[ "0.66999984", "0.65924925", "0.6281072", "0.62636113", "0.62545264", "0.60244536", "0.59884346", "0.5986801", "0.5983939", "0.598141", "0.5964208", "0.5940865", "0.59167075", "0.5898956", "0.58865535", "0.58708227", "0.583629", "0.5807963", "0.5797487", "0.5785537", "0.575383...
0.7231698
0
The control area specification that is used for the load forecast.
def U0p9(YKHO): return YKHO._ControlArea
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f0tD(YKHO):\n return YKHO._get('area')", "def f0tD():\n wEf2 = EVWZ._app.Request('get.selection.area')\n return EVWZ._base._util._convert_str_to_type(wEf2, float)", "def tFJN(YKHO) -> str:\n return YKHO.clinical_area", "def f0tD(YKHO):\n return YKHO._area", "def f0tD(YKHO):\n return Y...
[ "0.69271857", "0.68674994", "0.6720981", "0.66845596", "0.66845596", "0.66648555", "0.66053855", "0.66053855", "0.66053855", "0.6541926", "0.6535397", "0.65219307", "0.6520591", "0.6515386", "0.64840895", "0.6442174", "0.6429496", "0.64130086", "0.6401903", "0.6389669", "0.63...
0.63590336
34
Return the length of the Configuration dictionary. Returns
def szAg(YKHO): return len(YKHO._config)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def szAg(YKHO) -> int:\n return len(YKHO.cfg)", "def szAg(YKHO):\n return len(YKHO.config_data)", "def u54L(YKHO) -> gYcJ:\n return YKHO._length", "def szAg(YKHO) -> int:\n return YKHO._dict.__len__()", "def y1y4(YKHO):\n return len(YKHO._dict.values())", "def szAg(YKHO) -> int:\n retur...
[ "0.8464601", "0.8340542", "0.8006966", "0.7746624", "0.7744963", "0.7737328", "0.75457823", "0.75223094", "0.7510044", "0.74407035", "0.7436345", "0.74265987", "0.7385322", "0.73831594", "0.73630637", "0.73630637", "0.7330894", "0.73127764", "0.73127764", "0.7290057", "0.7282...
0.83197767
2
Return a copy of the object.
def jth9(YKHO, y4ha=True): if y4ha: return _qLf(YKHO) return jth9(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jth9(YKHO):\n return jth9.deepcopy(YKHO)", "def jth9(YKHO):\n return jth9.deepcopy(YKHO)", "def QyFW(YKHO):\n return jth9.deepcopy(YKHO)", "def jth9(YKHO):\n return jth9.deepcopy(YKHO)", "def jth9(YKHO):\n return jth9.deepcopy(YKHO)", "def jth9(YKHO):\n return AkZY.deepcopy(YKHO)", ...
[ "0.86672205", "0.86672205", "0.8650011", "0.86081576", "0.86081576", "0.86041045", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033", "0.8581033"...
0.0
-1
Get a a list of values, given keys. Remove any values that are None.
def XT9L(YKHO, sjXb, ZWCE): assert len(sjXb) == len(ZWCE) if not len(set(sjXb)) == len(sjXb): raise ValueError('The ``keys`` must be unique. However, the following duplicate keys were found: {}.'.format(', '.join([H5ew for H5ew, wEf2 in mBkc(sjXb).items() if wEf2 > 1]))) if not len(set(ZWCE)) == len...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mrc5(sjXb, T6S7):\n return {G1Hx: Ty9i for G1Hx, Ty9i in Hs6x.izip(sjXb, T6S7) if Ty9i}", "def TSF4(YKHO, hkxX):\n v9CE = []\n for tTpl in hkxX:\n bjsK = len(v9CE)\n for YRbF in range(bjsK, tTpl[1] + 1):\n v9CE.append(None)\n v9CE[tTpl[1]] = tTpl[2]\n return v9CE",...
[ "0.67427814", "0.6685613", "0.64740765", "0.6439675", "0.63817203", "0.6351975", "0.6319185", "0.6289143", "0.6287115", "0.62802136", "0.6260149", "0.62464684", "0.6175614", "0.6175528", "0.61645454", "0.6125209", "0.6113407", "0.60928816", "0.60529923", "0.6043178", "0.60404...
0.0
-1
Get the correct `ConfigurationParser` object, based on the file extension.
def Vh7Z(Emd4, VqRE, *qIxc, **B2fa): bGrB, Fst3 = gLx5(VqRE) if Fst3.lower() not in HzOL: raise ValueError('Configuration file must be in either `.json` or `.cfg`format. You specified: {}.'.format(Fst3)) return HzOL[Fst3.lower()](*qIxc, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EpPs(YKHO):\n return YKHO.config_parser", "def i41G(Ux0P):\n bGrB, YBcr = Hy7s.path.splitext(Ux0P)\n if YBcr == '.cfg':\n YBcr = '.ini'\n try:\n with open(Ux0P) as eHNT:\n if 'bumpversion' in eHNT.read():\n YBcr = '.bumpversion'\n except IOError:\n ...
[ "0.69264376", "0.687667", "0.6801853", "0.6661137", "0.6606919", "0.65532714", "0.64766765", "0.64763725", "0.6468904", "0.64636385", "0.644512", "0.63611376", "0.6310917", "0.6240463", "0.62063277", "0.6182795", "0.6169964", "0.61602587", "0.6159081", "0.6144147", "0.6131084...
0.78246415
0
Normalize the field names in `self._config` or `config` in order to maintain backwards compatibility with old configuration files.
def moe9(YKHO, LpaZ=True): YKHO._check_config_is_loaded() GPtr = YKHO._config AJ7R = {} for vXX7 in GPtr: if vXX7 in SWEB: p1QF = SWEB[vXX7] qmLP.warn('The field name "{}" is deprecated and will be removed in a future release, please use the new field name "{}" instead.'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def moe9(YKHO, GPtr):\n pass", "def RcNu(vXX7):\n return vXX7.replace('_', '-')", "def f4Ne(GPtr):\n return dict([(H5ew.lower(), wEf2) for H5ew, wEf2 in GPtr.iteritems()])", "def jnV4(YKHO):\n for Jyyj in YKHO.__class__.__fields__.values():\n with Wiqu(Jyyj):\n Jyyj._normalize_w...
[ "0.7191306", "0.6109214", "0.6026125", "0.5960528", "0.58110666", "0.57501656", "0.5704602", "0.56866854", "0.56752974", "0.56641144", "0.5659603", "0.56589", "0.56158197", "0.55768615", "0.55210567", "0.5494381", "0.5438077", "0.54304135", "0.5405", "0.5318293", "0.53134835"...
0.6520208
1
Test whether the correct page is rendered if the user is not authenticated
def fOPP(YKHO): geh0 = YKHO.client.get(YKHO.home_url) YKHO.assertEquals(geh0.status_code, 200) YKHO.assertTemplateUsed(geh0, 'homepage.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bpac(YKHO):\n x0hE = i9zE()\n geh0 = x0hE.get(gxEw('home'))\n YKHO.assertRedirects(geh0, '%s?next=%s' % (gxEw('accounts:login'), gxEw('home')), status_code=302, target_status_code=200)", "def DBqY(YKHO):\n geh0 = YKHO.client.get(YKHO.home_url)\n YKHO.assertEquals(geh0.status_code, 200)\n YK...
[ "0.74942005", "0.7298985", "0.7209269", "0.71362585", "0.7129698", "0.7128156", "0.7099884", "0.7091718", "0.70789075", "0.7054451", "0.7043577", "0.7041369", "0.70356244", "0.7004601", "0.7004601", "0.6989229", "0.6960768", "0.69586205", "0.6928029", "0.69134504", "0.6912979...
0.7287714
2
Test that an unauthenticated patient is directed to the homepage
def DBqY(YKHO): geh0 = YKHO.client.get(YKHO.home_url) YKHO.assertEquals(geh0.status_code, 200) YKHO.assertTemplateUsed(geh0, 'homepage.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aEm3(YKHO):\n YKHO.client.login(username='test1', password='a')\n geh0 = YKHO.client.get(YKHO.home_url)\n YKHO.assertTemplateUsed(geh0, 'patient_home.html')", "def Bpac(YKHO):\n x0hE = i9zE()\n geh0 = x0hE.get(gxEw('home'))\n YKHO.assertRedirects(geh0, '%s?next=%s' % (gxEw('accounts:login')...
[ "0.7822652", "0.7741568", "0.7737565", "0.7608395", "0.7591529", "0.7560355", "0.7512051", "0.74411607", "0.7292586", "0.72754526", "0.7233687", "0.7219869", "0.7194736", "0.71636146", "0.71603644", "0.7149074", "0.71440005", "0.7114588", "0.71103275", "0.7104538", "0.7083827...
0.8472929
0
Verify CreatedBy property values.
def ZnoD(YKHO): Zwka = {'id': '@yUe', 'type': 'created_by', 'created_by': {'object': 'user', 'id': '65970102-79f4-48ed-8065-0ff257e46558', 'name': 'Bob the Person', 'avatar_url': 'https://upload.wikimedia.org/wikipedia/en/d/d0/Dogecoin_Logo.png', 'type': 'person', 'person': {'email': 'bob@example.com'}}} _EYN =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tC0c(YKHO, tC0c):\n if YKHO.local_vars_configuration.client_side_validation and tC0c is None:\n raise ValueError('Invalid value for `created_by`, must not be `None`')\n YKHO._created_by = tC0c", "def CW30(YKHO):\n RlYH = YKHO._create_user()\n V_D6 = ['id', 'created', 'modified', 'first_nam...
[ "0.6441439", "0.64124835", "0.63559467", "0.63286567", "0.62852025", "0.625786", "0.6196744", "0.6149842", "0.6120371", "0.6109503", "0.6109013", "0.6078894", "0.60752183", "0.60752183", "0.6036979", "0.6036979", "0.6025406", "0.6025406", "0.6025406", "0.6025406", "0.6025406"...
0.73077357
0
Verify LastEditedBy property values.
def yz2N(YKHO): Zwka = {'id': 'dxcT', 'type': 'last_edited_by', 'last_edited_by': {'object': 'user', 'id': '62e40b6e-3f05-494f-9220-d68a1995b54f', 'name': 'Alice the Person', 'avatar_url': None, 'type': 'person', 'person': {'email': 'alice@example.com'}}} sPBL = SnBA.LastEditedBy.parse_obj(Zwka) YKHO.assert...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LM1f(YKHO):\n return YKHO._last_edited_by", "def dE9S(YKHO):\n assert YKHO.actual_time_hours\n return YKHO.isYourThread() or YKHO.hasManagerRole()", "def fSNu(YKHO):\n WcMk = nNXP.add_identity(YKHO.ctx, 'scm', email='jsmith@example')\n nNXP.add_organization(YKHO.ctx, 'Example')\n ZiuS = E...
[ "0.6648012", "0.63813174", "0.62311125", "0.62270933", "0.6209705", "0.61210775", "0.6110817", "0.61061203", "0.61061203", "0.61061203", "0.61061203", "0.60801923", "0.600701", "0.5997383", "0.5924209", "0.5911227", "0.59007406", "0.58970207", "0.5793528", "0.57805485", "0.57...
0.71292573
0
Emits all messages in the database to the clients in the chat room
def TI68(YwkQ, abiq): x81_ = [{'user': dLS1.user, 'message': dLS1.message, 'timestamp': str(dLS1.timestamp), 'user_id': dLS1.user_id, 'user_pic': dLS1.user_pic} for dLS1 in NCls.session.query(FYrf.Message).all()] yfb1.emit(YwkQ, {'allMessages': x81_}, room=abiq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TI68():\n x81_ = [dLS1.message for dLS1 in NCls.session.query(FYrf.Messages).all()]\n ESns = [dUOw.username for dUOw in NCls.session.query(FYrf.Messages).all()]\n dLo6 = [Y4A6.isBot for Y4A6 in NCls.session.query(FYrf.Messages).all()]\n n1Ni = [lS5c.profilePicture for lS5c in NCls.session.query(FYr...
[ "0.7694639", "0.7235769", "0.7111966", "0.6778484", "0.67457455", "0.6689475", "0.6669086", "0.66494566", "0.6645469", "0.66423845", "0.66268384", "0.660816", "0.66076416", "0.65573657", "0.6540663", "0.6503388", "0.64841634", "0.64786065", "0.6420276", "0.64142156", "0.64034...
0.7829436
0
Gets the User instance for current_user variable.
def TKWP(NtEF) -> mv1M: try: CBIr = mv1M.get(mv1M.username == NtEF) return CBIr except: raise ValueError('User does not exist. Unauthenticated.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W84Y(YKHO):\n return YKHO.get_user(YKHO._auth.current_user_name)", "def TKWP(YKHO):\n return DW23.get_current_user()", "def W84Y(YKHO):\n if 'email' in cuiw:\n CBIr = FYrf.User.query.filter_by(email=cuiw['email']).first()\n return CBIr", "def W84Y(Emd4):\n return Emd4(c5ow._get_...
[ "0.8265741", "0.81772697", "0.81743914", "0.8166943", "0.81449735", "0.80140346", "0.79910123", "0.79881614", "0.7954287", "0.7954287", "0.7954287", "0.78914315", "0.7888797", "0.7888797", "0.78428364", "0.78356236", "0.7832819", "0.7829949", "0.77933437", "0.779192", "0.7773...
0.0
-1
Convert time period to a number of seconds. Raise ValueError for invalid time, otherwise return a number of seconds.
def nQWt(KCHu): KCHu = KCHu.lower() r8hN = HMbv.match(KCHu) if r8hN is None: raise ValueError('invalid time') Oa1e = r8hN.groups() mLGw = int(Oa1e[0]) aM8h = lXE8[Oa1e[1]] return mLGw * aM8h
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ypK2(pQ4c):\n rYO3 = pQ4c[-1]\n if rYO3 not in ['s', 'm', 'h']:\n raise 'Invalid timeout units (should be one of s, m, or h): ' + pQ4c\n WbTE = None\n try:\n WbTE = int(pQ4c[:-1])\n assert WbTE > 0, 'Invalid timeout value (should be a positive integer): ' + pQ4c\n except Val...
[ "0.7766577", "0.7377129", "0.727796", "0.7116827", "0.7068829", "0.69303864", "0.69064367", "0.6903875", "0.68725437", "0.68396676", "0.68203074", "0.6818373", "0.6774515", "0.67687917", "0.6765116", "0.6746192", "0.67318535", "0.67099166", "0.67099166", "0.6704879", "0.66698...
0.67352355
16
Test case for virtualization_virtual_machines_partial_update
def LGyW(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KdbO(YKHO):\n pass", "def TcYb(YKHO):\n pass", "def yYxy(YKHO):\n pass", "def kLlc(YKHO):\n pass", "def u45N(i4Id):\n N3gs = i4Id()\n U5bT = cH1V.update('my_vm')\n assert not U5bT['definition']\n assert not U5bT.get('mem')\n assert not U5bT.get('cpu')", "def UlrG(YKHO):\n ...
[ "0.8418714", "0.80736893", "0.7930494", "0.7207946", "0.68583006", "0.68186927", "0.66841406", "0.6676615", "0.66577744", "0.6596011", "0.6594392", "0.6542963", "0.6528696", "0.6517565", "0.65113825", "0.65037924", "0.64774305", "0.6443774", "0.6443394", "0.6393269", "0.63817...
0.9441847
0