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
Compute softmax values for each sets of scores in x.
def N93T(WKvO): uw5A = oyIN.exp(WKvO - oyIN.max(WKvO)) return uw5A / uw5A.sum()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye", "def N93T(WKvO):\n j1LR = oyIN.exp(o...
[ "0.80113125", "0.77607703", "0.77607703", "0.7687368", "0.76707524", "0.76605", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76397043", "0.762786", "0.7551623", "0.7532752", "0.74565", "0.73242354", "0.73171765", "0.7298...
0.7092462
59
String representation of Page object.
def wHJl(YKHO) -> str: return f"<class {YKHO.__class__.__name__} base_url='{YKHO.base_url}'>"
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n return '<Page id={id} title={title}>'.format(id=YKHO.id, title=YKHO.title)", "def zAg0(YKHO):\n return '{}:{}'.format(Ky4Y.__str__(YKHO), YKHO.__pages).replace(\"'\", '')", "def zAg0(YKHO):\n return \"<%s %s: '%s'>\" % (YKHO.__class__.__name__, YKHO.page_id, YKHO.message)", "def wH...
[ "0.7866623", "0.7242525", "0.7242027", "0.6997453", "0.6818432", "0.6811802", "0.6795475", "0.6631043", "0.65903986", "0.6576861", "0.6528545", "0.65172035", "0.6487063", "0.64293367", "0.64293367", "0.64101803", "0.63877964", "0.63829815", "0.6371343", "0.63430834", "0.63430...
0.0
-1
Function to recursively update sample covariance matrix.
def QqTN(YKHO, iter, poLx): WhY1 = iter - poLx if WhY1 == 0: YKHO.M2 = oyIN.zeros((YKHO.ndim, YKHO.ndim)) YKHO.mu = oyIN.zeros(YKHO.ndim) for P2GO in range(poLx): yk4i = oyIN.zeros(YKHO.ndim) WhY1 += 1 for gDyN in range(YKHO.ndim): yk4i[gDyN] = YKHO._AMbuf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _IBo(YKHO):\n Z9rn, Mkmy = YKHO.size()\n float(Z9rn)\n float(Mkmy)\n Sfqw = YKHO.mean()\n rS_H = rw78((Z9rn, Mkmy))\n for VheP in range(Z9rn):\n A6dL = float(0)\n for B2tN in range(Z9rn):\n for YRbF in range(Mkmy):\n A6dL += (YKHO[VheP, YRbF] - Sfqw[Vhe...
[ "0.6593434", "0.64377624", "0.6368761", "0.6251227", "0.61852276", "0.6139064", "0.60593456", "0.6052738", "0.60516655", "0.60274476", "0.59734684", "0.59246486", "0.5914773", "0.5900123", "0.5871096", "0.5840373", "0.5839266", "0.58165884", "0.5803451", "0.57688016", "0.5752...
0.5436151
45
Returns registred configurations. If ``name`` argument is not given, default behavior is to return every config from all registred config; If ``name`` argument is given, just return its config and nothing else;
def oOia(YKHO, mWFP=None): if mWFP: if mWFP not in YKHO.registry: tO9_ = "Given config name '{}' is not registered." raise oEXS(tO9_.format(mWFP)) return {mWFP: YKHO.registry[mWFP]} return YKHO.registry
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tgzD(YKHO, mWFP):\n if mWFP not in YKHO.registry:\n tO9_ = \"Given config name '{}' is not registered.\"\n raise oEXS(tO9_.format(mWFP))\n return jth9.deepcopy(YKHO.registry[mWFP])", "def D8hE(YKHO, mWFP=None, kN9s=None):\n Aofo = []\n for Fv2L in YKHO._configs:\n if (mWFP !=...
[ "0.71736556", "0.70165527", "0.69119287", "0.6654021", "0.6606154", "0.6505886", "0.6487641", "0.6478511", "0.62859094", "0.62859094", "0.62383723", "0.61936945", "0.6131803", "0.6129728", "0.6103308", "0.6080349", "0.6064252", "0.60328794", "0.59992105", "0.59927106", "0.598...
0.8139817
0
Takes a list of parameters associated to a tiff file. From this it extract patches and puts them into a list
def ZtIp(hlel, THEQ, vM_f, C3ST): try: Hy7s.mkdir(hlel) except: pass mWFP = Hy7s.path.join(hlel, 'probability_{}_{}_{}_{}.h5') with open(vM_f) as eHNT: Nqlg = eHNT.readlines() for zFiD in PRqg(Nqlg): g4y1 = QRiV(zFiD) VXjJ = sqSA(THEQ, g4y1) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GK1q(YKHO, LNo8: np.ndarray, ZHfW: np.ndarray) -> x1iM[oyIN.ndarray]:\n try:\n eV7d = wd5T.image.extract_patches_2d(LNo8, (YKHO.patch_size, YKHO.patch_size), max_patches=YKHO.max_patches_per_image, random_state=23)\n gxUV = wd5T.image.extract_patches_2d(ZHfW, (YKHO.patch_size, YKHO.patch_size)...
[ "0.6508889", "0.6435429", "0.638181", "0.6209729", "0.6165602", "0.6005225", "0.5940398", "0.59383416", "0.58767647", "0.58721554", "0.584728", "0.58112085", "0.5782666", "0.5764663", "0.5751347", "0.5747837", "0.5743665", "0.57328564", "0.5721842", "0.56853557", "0.5676404",...
0.0
-1
Convert a mapping from (x, y) to v into a [[..., v, ...]] grid.
def kx3b(YKHO, J8oL): return list(reversed([[J8oL.get((WKvO, LVAh), None) for WKvO in range(YKHO.cols)] for LVAh in range(YKHO.rows)]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kx3b(YKHO, J8oL):\n return list(reversed([[J8oL.get((WKvO, LVAh), None) for WKvO in range(YKHO.cols)] for LVAh in range(YKHO.rows)]))", "def NF7T(fjcD, Z0EI, C7Ls):\n BvjQ, gDGy = oyIN.meshgrid(fjcD, Z0EI)\n YtGC = oyIN.expand_dims(oyIN.ndarray.flatten(BvjQ), 1)\n LVgQ = oyIN.expand_dims(oyIN.nda...
[ "0.7236109", "0.6531846", "0.650249", "0.6356514", "0.62468493", "0.6244365", "0.6208875", "0.6132284", "0.61203617", "0.61203617", "0.60917705", "0.6065922", "0.59918314", "0.59780246", "0.5927092", "0.5926688", "0.59261155", "0.58909976", "0.58752453", "0.5873946", "0.58463...
0.7320014
0
Given two dicts, merge them into a new dict as a shallow copy.
def yQxF(YKHO, WKvO, LVAh): epBp = WKvO.copy() epBp.update(LVAh) return epBp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IYhE(jzdc, Fg_i):\n Aofo = jzdc.copy()\n Aofo.update(Fg_i)\n return Aofo", "def ywpZ(WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp", "def yQxF(WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp", "def yQxF(WbPA, S69B):\n lXgg = WbPA.cop...
[ "0.8638012", "0.85229874", "0.8481129", "0.84620667", "0.8460354", "0.8440302", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", "0.83838695", ...
0.8259794
25
compute area of feature
def yd8O(RDhP): RDhP = RDhP.set('area', RDhP.geometry().area()) return RDhP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f0tD(YKHO):\n return oyIN.sum(YKHO.areas)", "def te0X(VnzS):\n pass", "def GagE(JcaA, RDSL):\n cEGy = K40W.Open(JcaA)\n gEmA = cEGy.GetLayer()\n FnSF = VNqG(RDSL)\n YRbF = 0\n for RDhP in gEmA:\n NgpY = RDhP.GetGeometryRef()\n FnSF[YRbF] = NgpY.GetArea()\n YRbF = Y...
[ "0.775432", "0.76366794", "0.755562", "0.74874556", "0.74119693", "0.73595697", "0.73327434", "0.7270794", "0.726104", "0.7241157", "0.7217883", "0.72090614", "0.71613425", "0.71262044", "0.7090748", "0.70627856", "0.7043895", "0.70238066", "0.6994704", "0.69811046", "0.69636...
0.7947902
0
create an equidistant spaced grid (unrotated)
def KotY(RDhP): RDhP = KGJO.Feature(RDhP) wAEf = KGJO.Algorithms.If(RDhP.getNumber('turbine_spacing'), RDhP.getNumber('turbine_spacing'), 1000) X7zS = RDhP.geometry().bounds().transform('EPSG:3857', 1) ox2z = ygTG(X7zS) vU9r = X7zS.coordinates().get(0) CLNC = KGJO.List(vU9r).get(0) r902 = KG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Lm0U(Cs6h):\n for YRbF in range(4):\n Cs6h.append([0] * 4)", "def Lm0U(Cs6h):\n for YRbF in range(4):\n Cs6h.append([0] * 4)", "def WMxl(jHsn=36, pvd3=64, WyJz=32, VKoo=1.0, qq3N=1.0, R6tQ=1, mWFP='fieldaligned'):\n h7bH = jHsn - 2 * R6tQ\n m8iV = pvd3\n aML5 = h7bH - 1\n fl...
[ "0.719782", "0.719782", "0.71934754", "0.71373785", "0.70981", "0.7091236", "0.7091236", "0.7091236", "0.7056561", "0.70451796", "0.70126945", "0.6967039", "0.69643074", "0.69590193", "0.69572926", "0.69067514", "0.68494743", "0.6826404", "0.682238", "0.679438", "0.6779049", ...
0.0
-1
Return the default value if the requested data doesn't exist. If `type` is provided and is a callable it should convert the value,
def NMoC(YKHO, H5ew, WmM4=None, type=None, D92J=False): try: im04 = YKHO.__getitem__(H5ew, _get_mode=True) except KeyError: return WmM4 if D92J: im04 = im04.encode('latin1') if type is None: return im04 try: return type(im04) except ValueError: ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(YKHO, H5ew, WmM4=None, kN9s=None):\n try:\n im04 = YKHO[H5ew]\n except KeyError:\n return WmM4\n if kN9s is not None:\n try:\n im04 = kN9s(im04)\n except ValueError:\n im04 = WmM4\n return im04", "def NMoC(YKHO, H5ew, WmM4=None, type=None):\n...
[ "0.67943317", "0.6752048", "0.66968507", "0.64960355", "0.64899075", "0.64697075", "0.63574606", "0.634177", "0.63134396", "0.6261484", "0.6230744", "0.61593664", "0.6152857", "0.60188115", "0.60097736", "0.6002742", "0.5958161", "0.5932327", "0.5896904", "0.5875815", "0.5850...
0.55445504
50
Parse lists of key, value pairs as described by RFC 2068 Section 2 and convert them into a python dict (or any other mapping object created from
def miU_(BWXx, Emd4=dict): Aofo = Emd4() if not isinstance(BWXx, str): BWXx = D51D(BWXx) for ZfUD in iQgJ(BWXx): if '=' not in ZfUD: Aofo[ZfUD] = None continue mWFP, BWXx = ZfUD.split('=', 1) if BWXx[:1] == BWXx[-1:] == '"': BWXx = IXBd(BWX...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e4Wd(mZmz):\n cK_b = {}\n for ZfUD in mZmz:\n H4yH = ZfUD.split(':')\n cK_b[H4yH[0].strip()] = H4yH[1].strip()\n return cK_b", "def b53S(sv7p):\n AvyM = {}\n for J8oL in sv7p:\n J8oL = J8oL.strip()\n if not J8oL:\n continue\n MnEa = J8oL.split(':')...
[ "0.6859588", "0.65815526", "0.65320647", "0.650533", "0.6466387", "0.6462775", "0.6369401", "0.63570243", "0.63338834", "0.63138634", "0.6306639", "0.62681746", "0.62189054", "0.6173512", "0.6167854", "0.61646444", "0.6141651", "0.6133268", "0.61156166", "0.6106657", "0.60970...
0.0
-1
Close the underlying file if possible.
def DDI8(YKHO): try: YKHO.stream.close() except Exception: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VETT(Emd4):\n if not Emd4._isopen():\n Emd4._fd = None\n return\n Emd4._fd.close()\n Emd4._fd = None", "def lynq(YKHO):\n YKHO._handle.close()", "def qsZa(YKHO):\n YKHO.f.close()", "def qsZa(YKHO):\n if YKHO._file is not None and (not YKHO._file.closed):\n YKHO._fil...
[ "0.83520174", "0.8319731", "0.824428", "0.82314116", "0.8208818", "0.81788886", "0.8069828", "0.79764515", "0.793969", "0.7936047", "0.7936047", "0.7936047", "0.79272217", "0.792453", "0.7891308", "0.7882347", "0.78667486", "0.78560334", "0.78560334", "0.78560334", "0.782165"...
0.0
-1
Return the index of the header in the set or return 1 if not found.
def neBz(YKHO, WBPg): WBPg = WBPg.lower() for or8S, ZfUD in enumerate(YKHO._headers): if ZfUD.lower() == WBPg: return or8S return -1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cNHQ(VxuA, WBPg):\n for U6D_ in VxuA:\n if ZbWC.search(Pj49.format(WBPg), U6D_):\n return VxuA.index(U6D_)", "def d6pt(YKHO, WBPg):\n im04 = YKHO.find(WBPg)\n if im04 < 0:\n raise IndexError(WBPg)\n return im04", "def uGTi(YKHO, WBPg):\n for pAN_ in YKHO.include_list...
[ "0.7543025", "0.73978055", "0.7385258", "0.7093939", "0.7071401", "0.67874646", "0.6550363", "0.65086275", "0.65064555", "0.6463777", "0.6399828", "0.6391922", "0.63584036", "0.6356294", "0.6345442", "0.6341958", "0.62678885", "0.6254926", "0.62507045", "0.62412125", "0.62215...
0.8070588
0
Renders the home page.
def kZiy(): return TvZl('chat_main.html', title='Welcome to PEACH Chatbot', year=qcWV.now().year)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n return TvZl('home.html')", "def C_QL():\n return TvZl('home.html')", "def kZiy():\n return TvZl('homepage.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('pages/home.html')", "def kZiy():\n leAC =...
[ "0.86085397", "0.85661966", "0.8562984", "0.84564984", "0.8353822", "0.8353445", "0.832796", "0.83265287", "0.83265287", "0.8311966", "0.83088946", "0.83046836", "0.8296962", "0.82942903", "0.82942903", "0.82872546", "0.8279762", "0.8279762", "0.8279762", "0.8279762", "0.8279...
0.0
-1
The output that this Task produces. The output of the Task determines if the Task needs to be runthe task is considered finished iff the outputs all exist.
def qq2Y(YKHO): return YKHO.ctrl.relations.task_outputs_user
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JN3g(YKHO):\n return YKHO.output is not None", "def KnuQ(YKHO):\n return True", "def KnuQ(YKHO):\n return True", "def KnuQ(YKHO):\n return True", "def adjt(YKHO):\n o4Jx = [z1Rg for z1Rg in PWgb(YKHO.task_outputs) if not z1Rg.config.overwrite_target]\n if len(o4Jx) == 0:\n if n...
[ "0.6989262", "0.6986934", "0.6986934", "0.6986934", "0.6951989", "0.6920447", "0.6889064", "0.6889064", "0.6889064", "0.6889064", "0.6889064", "0.6889064", "0.68824375", "0.6866206", "0.6853462", "0.68422365", "0.68422365", "0.68084234", "0.68084234", "0.6795774", "0.6795774"...
0.0
-1
If the task has any outputs, return ``True`` if all outputs exist. Otherwise, return ``False``. However, you may freely override this method with custom logic.
def adjt(YKHO): o4Jx = [z1Rg for z1Rg in PWgb(YKHO.task_outputs) if not z1Rg.config.overwrite_target] if len(o4Jx) == 0: if not YKHO.task_band: qmLP.warn('Task %r without outputs has no custom complete() and no task band!' % YKHO, stacklevel=2) return False else: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KHoL(YKHO):\n return YKHO.output_count > 0", "def KnuQ(YKHO, mWFP):\n return mWFP in YKHO.outputs", "def jAey(oOzb: Process) -> bool:\n DuYa = bTyA(oOzb)\n if DuYa:\n JPAZ = [a1PO[1] == None for a1PO in DuYa]\n if all(JPAZ):\n return True\n else:\n ret...
[ "0.7333319", "0.7296214", "0.71044207", "0.7056906", "0.7056906", "0.7056906", "0.689112", "0.68485266", "0.67942184", "0.6627812", "0.6627159", "0.66217583", "0.6555158", "0.6510082", "0.64359516", "0.6384719", "0.6366433", "0.6360595", "0.63571775", "0.6332788", "0.6327131"...
0.76225716
0
gets the total area of the object, by adding up the area of all of its indiviudal shapes. called as a property
def f0tD(YKHO): tjC2 = 0.0 for ROpF in YKHO.body.shapes: tjC2 += ROpF.area return tjC2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Aw0V(YKHO):\n pass", "def f0tD(YKHO):\n return oyIN.sum(YKHO.areas)", "def f0tD(YKHO):\n f0tD = abs(YKHO.primitive.height * YKHO.primitive.polygon.length)\n f0tD += YKHO.primitive.polygon.area * 2\n return f0tD", "def f0tD(YKHO):\n f0tD = YKHO.length * YKHO.width\n return f0tD", "d...
[ "0.80694354", "0.80285555", "0.79081", "0.7818961", "0.78033686", "0.7663592", "0.7615765", "0.7601669", "0.7576604", "0.7576604", "0.7576604", "0.75643116", "0.7529379", "0.75160724", "0.75139374", "0.75138754", "0.75127476", "0.75025207", "0.74976516", "0.74882203", "0.7486...
0.8342371
0
Creates an instance of SuccessResponse
def FIMM(YKHO): super().__init__() YKHO.__status = None YKHO.__code = None YKHO.__message = None YKHO.__details = None YKHO.__key_modified = dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KV5F(YKHO, nyyK):\n Bv0m = {'success': nyyK}\n return oGir(Bv0m)", "def KV5F(Emd4, KAOR):\n return Emd4(**{'item': KAOR, 'errors': []})", "def KV5F(PCY3, E4zG=qed_.CREATED):\n return OeRI(PCY3, E4zG)", "def nyyK(YKHO, nPrm, jGRS=None, MOPg=None):\n if MOPg is None:\n MOPg = YKHO.kwa...
[ "0.81898564", "0.75277036", "0.7525778", "0.73109293", "0.7128758", "0.69946396", "0.69613284", "0.6947153", "0.69363743", "0.68249446", "0.6776398", "0.6747652", "0.6747652", "0.6747652", "0.6747652", "0.6747652", "0.6747652", "0.6747652", "0.6747652", "0.6732829", "0.671673...
0.0
-1
Determine if this transition is defined for a set of symbols
def c9Ga(YKHO, rmc3): any = False for KCHu in rmc3: any = KCHu in YKHO.domain if any: break return any
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T_r4(YKHO, QTBn, o61b=None, pan_=None):\n if QTBn not in YKHO.delta:\n return False\n if o61b is None:\n return True\n if o61b not in YKHO.delta[QTBn]:\n return False\n if pan_ is None:\n return YKHO.delta[QTBn][o61b] != set()\n else:\n return pan_ in YKHO.delt...
[ "0.69771546", "0.6408023", "0.6359985", "0.63162446", "0.62477326", "0.62399566", "0.62281674", "0.6124676", "0.6112476", "0.61083466", "0.6107493", "0.6087632", "0.605562", "0.6046813", "0.6025131", "0.6004773", "0.59609306", "0.59473455", "0.59381664", "0.5869071", "0.58455...
0.6513488
1
Associate this transition layer with symbols. This computes the definedfor and leadsto sets for each transition.
def wgaI(YKHO, rmc3, NXpY=0): YKHO._compute_domain(rmc3, NXpY) YKHO._compute_image()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iHMa(YKHO, Q5f5, aDi_, MC3C):\n if aDi_ != qGyE:\n YKHO.Sigma.add(aDi_)\n if Q5f5 not in YKHO.delta:\n YKHO.delta[Q5f5] = {aDi_: {MC3C}}\n elif aDi_ not in YKHO.delta[Q5f5]:\n YKHO.delta[Q5f5][aDi_] = {MC3C}\n else:\n YKHO.delta[Q5f5][aDi_].add(MC3C)", "def hMB7(YKHO, ...
[ "0.60332525", "0.6014508", "0.57099503", "0.5666363", "0.55786806", "0.551712", "0.5443878", "0.5371437", "0.5363299", "0.5347946", "0.52810997", "0.5262422", "0.52494097", "0.5231615", "0.52257675", "0.5218634", "0.51766", "0.5151971", "0.5132122", "0.50447774", "0.5034716",...
0.5357252
9
head The linked list's head. Note that the head is guaranteed to be not null, so it contains at least one node.
def FIMM(YKHO, sdCG): YKHO.dummy, YKHO.dummy.next = (Msxl(0), sdCG)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sdCG(YKHO, Q6kx=None):\n if Q6kx:\n assert type(Q6kx) == o7DN\n YKHO._head = Q6kx", "def sdCG(YKHO) -> Msxl:\n raise NotImplementedError", "def qHHo(YKHO):\n return YKHO.head", "def _IVA(YKHO):\n if YKHO.head is None:\n return None\n if YKHO.head.nextNode is None:\n ...
[ "0.7640368", "0.7546786", "0.7468101", "0.7408755", "0.73935443", "0.73715854", "0.7362577", "0.7160245", "0.7138459", "0.69541645", "0.69541645", "0.69541645", "0.69541645", "0.69300544", "0.69199747", "0.68996394", "0.6867682", "0.6851142", "0.6780925", "0.6759063", "0.6749...
0.0
-1
Returns a random node's value.
def UIrZ(YKHO): ewCu = 0 if not YKHO.dummy.next: return None DpUl = YKHO.dummy.next while DpUl: DpUl = DpUl.next ewCu += 1 iEJi, DpUl = (tuKI.randint(1, ewCu), YKHO.dummy) while iEJi: DpUl, iEJi = (DpUl.next, iEJi - 1) return DpUl.val
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RjKZ(YKHO):\n return YKHO[YKHO.random_key()]", "def UIrZ(YKHO):\n Q6kx = YKHO.head\n from random import randint\n for YRbF in Ni9Y(randint(0, YKHO.len - 1)):\n Q6kx = Q6kx.next\n return Q6kx.val", "def ALfI(YKHO):\n return tuKI.randint(1, 10)", "def RHmZ(YKHO):\n return YKHO.V...
[ "0.7684312", "0.765921", "0.7404013", "0.73885834", "0.7354416", "0.71838546", "0.7077591", "0.70775014", "0.70236295", "0.6992807", "0.6939465", "0.68898356", "0.68462926", "0.683593", "0.6816798", "0.67839676", "0.6709022", "0.6703437", "0.66892767", "0.6648161", "0.6615572...
0.642516
41
Test that raises CommandError for incorrect arguments.
def ZgZi(YKHO): with YKHO.assertRaisesRegex(i15K, '.*At least one course_team_id or --all needs to be specified.*'): rOAL('reindex_course_team')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qMtX(YKHO):\n with YKHO.assertRaises(i15K):\n rOAL(YKHO.COMMAND_NAME)", "def i4ak(YKHO, *bGrB):\n with YKHO.assertRaises(Yn3K.CalledProcessError):\n J7hE(['bad', 'command'], 'fake contents')", "def Jhma(YKHO):\n muOw, hlel = i1H4(b8V_, 'a', 'b', 'c', merged=True)\n assert muOw != ...
[ "0.8248669", "0.81633043", "0.80156004", "0.79952085", "0.7993568", "0.798505", "0.79603946", "0.788117", "0.7849308", "0.7823351", "0.7819554", "0.7817446", "0.7778112", "0.77569526", "0.7739005", "0.7703943", "0.7664826", "0.7663847", "0.7652987", "0.7634408", "0.76341045",...
0.8011946
3
Test that raises CommandError for incorrect arguments.
def F0im(YKHO): with YKHO.assertRaisesRegex(i15K, '.*Course teams cannot be specified when --all is also specified.*'): rOAL('reindex_course_team', YKHO.team1.team_id, all=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qMtX(YKHO):\n with YKHO.assertRaises(i15K):\n rOAL(YKHO.COMMAND_NAME)", "def i4ak(YKHO, *bGrB):\n with YKHO.assertRaises(Yn3K.CalledProcessError):\n J7hE(['bad', 'command'], 'fake contents')", "def Jhma(YKHO):\n muOw, hlel = i1H4(b8V_, 'a', 'b', 'c', merged=True)\n assert muOw != ...
[ "0.82487935", "0.816354", "0.8015684", "0.80118644", "0.7996258", "0.7993004", "0.7985993", "0.796071", "0.7881178", "0.7848857", "0.78235286", "0.7819348", "0.78182596", "0.77784157", "0.7756963", "0.77390975", "0.77035564", "0.7665781", "0.76637834", "0.76542455", "0.763401...
0.7593046
22
Test that command indexes a single passed team.
def stiI(YKHO, C6Ky): rOAL('reindex_course_team', YKHO.team1.team_id) C6Ky.assert_called_once_with(YKHO.team1) C6Ky.reset_mock()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def X9CF(YKHO, C6Ky):\n rOAL('reindex_course_team', all=True)\n C6Ky.assert_any_call(YKHO.team1)\n C6Ky.assert_any_call(YKHO.team2)\n C6Ky.assert_any_call(YKHO.team3)\n C6Ky.reset_mock()", "def kAK1(YKHO):\n pass", "def hJ61(YKHO):\n pass", "def qg1O(YKHO, C6Ky):\n rOAL('reindex_cours...
[ "0.699174", "0.68753946", "0.6765125", "0.66996354", "0.6477945", "0.639149", "0.6352937", "0.6323457", "0.62347096", "0.6232944", "0.6225328", "0.62165064", "0.6183962", "0.6178186", "0.61387604", "0.61306053", "0.61233383", "0.60818845", "0.6042555", "0.60424715", "0.602599...
0.73050904
0
Test that command indexes all teams.
def X9CF(YKHO, C6Ky): rOAL('reindex_course_team', all=True) C6Ky.assert_any_call(YKHO.team1) C6Ky.assert_any_call(YKHO.team2) C6Ky.assert_any_call(YKHO.team3) C6Ky.reset_mock()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hJ61(YKHO):\n pass", "def kAK1(YKHO):\n pass", "def qg1O(YKHO, C6Ky):\n rOAL('reindex_course_team', YKHO.team1.team_id, YKHO.team2.team_id)\n C6Ky.assert_any_call(YKHO.team1)\n C6Ky.assert_any_call(YKHO.team2)\n C6Ky.reset_mock()", "def cToD(YKHO):\n pass", "def MoGu(YKHO):\n Ao...
[ "0.7219429", "0.7065195", "0.7053364", "0.6580786", "0.65752995", "0.6559625", "0.64480245", "0.64363843", "0.64196706", "0.6415204", "0.64146036", "0.63852423", "0.63814485", "0.6378332", "0.63724756", "0.6308037", "0.62914634", "0.6265372", "0.62597924", "0.620614", "0.6203...
0.78984237
0
Create a Text Reader.
def FIMM(YKHO, Ux0P, Wc9F=None): Wc9F = 0 if Wc9F is None else Wc9F m1c7 = [ZylS.string] N8OZ = [ZylS.TensorShape([])] if Wc9F == 0 else [ZylS.TensorShape([None])] FYKK = hwDr.text_stream_dataset if Ux0P == 'file://-' else hwDr.text_dataset kakl = hwDr.text_stream_input(Ux0P) if Ux0P == 'file://-' e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Em03(Ux0P):\n return HUvH(Ux0P)", "def EDeX(l5Ny):\n if jKi7.PY3:\n l5Ny = l5Ny.encode('utf-8')\n return sCRt(aKaX(l5Ny))", "def N5Pj(YKHO, _o7K):\n return YKHO._reader(_o7K, YKHO.delimread)", "def Ueki(YKHO, l5Ny, format):\n qUQs = FJLr.udpipe.InputFormat.newInputFormat(format)\n ...
[ "0.7443448", "0.6818825", "0.66893524", "0.61551505", "0.5905653", "0.5905653", "0.58978087", "0.58931416", "0.5890855", "0.58702385", "0.58242965", "0.58191127", "0.5794964", "0.5782507", "0.5758523", "0.5714823", "0.5709955", "0.5709955", "0.5707776", "0.57051736", "0.57037...
0.0
-1
Initializes and creates the UI components for file comparison window
def FIMM(YKHO, h4b3, KiJ2): super(Gjm8, YKHO).__init__() YKHO.init_ui() YKHO.get_items(h4b3, KiJ2) YKHO.create_panels() YKHO.create_buttons_bar() YKHO.setCentralWidget(YKHO.compare_panels) YKHO.addDockWidget(wDYU.Qt.DockWidgetArea(8), YKHO.buttons_container) YKHO.show() YKHO.connect(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rS9m(YKHO):\n if ccKF.window('OnxWin', exists=True):\n ccKF.deleteUI('OnxWin')\n if YKHO.development:\n if ccKF.windowPref('OnxWin', exists=True):\n ccKF.windowPref('OnxWin', remove=True)\n MVRY = True\n GaJo = 75\n VUa7 = 155\n unuq = 95\n JRat = ''\n if YKHO.d...
[ "0.7211285", "0.7206649", "0.72000766", "0.71791494", "0.6978795", "0.6955203", "0.6941183", "0.68272257", "0.68087953", "0.67934334", "0.6780729", "0.6743529", "0.672162", "0.6705161", "0.6702633", "0.66921777", "0.66814905", "0.667155", "0.6669987", "0.66388613", "0.6625934...
0.82279813
0
Convert any infix expression to a postfix expression. For example, A + B C > A B C +. The operands stay in their relative positions. It is only the operators that change position. The order of the operators in the original expression may be reversed in the resulting postfix expression due to their precedence. Another e...
def ZGns(YKHO, EP60): E5BI = S9Ut() XLK4 = [] for Npgh in EP60.split(): if Npgh.isupper() or Npgh.isdigit(): XLK4.append(Npgh) elif Npgh == '(': E5BI.push(Npgh) elif Npgh == ')': tlxW = E5BI.pop() while tlxW != '(': XLK4...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XtMr(EP60):\n Maem = {'*': 3, '/': 3, '+': 2, '-': 2, '^': 4, '~': 4, '(': 1}\n L17J = P_Jc()\n P2xj = []\n Jwtf = EP60.split()\n for YRbF in Jwtf:\n if ye72(YRbF):\n P2xj.append(YRbF)\n elif YRbF == '(':\n L17J.push(YRbF)\n elif YRbF == ')':\n ...
[ "0.8665638", "0.8565119", "0.84958404", "0.8411345", "0.8310226", "0.82841825", "0.82054526", "0.814324", "0.8139278", "0.80070746", "0.79704416", "0.7916331", "0.7861494", "0.7849123", "0.77863014", "0.7679508", "0.765992", "0.764901", "0.7647729", "0.7588721", "0.75456107",...
0.88711995
0
Reads a file from directory and returns the full text as a string >>> readFile("../sample_tests/smalltest") 'Hi mom . Hi dad .'
def lXJo(Ux0P): """ YOUR CODE HERE """ pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Nwr9(nUeQ) -> str:\n with open(nUeQ) as nUeQ:\n exyf = nUeQ.read()\n print(exyf)\n pass", "def Nwr9(VqRE, tk5Y=lkbE):\n with open(Hy7s.path.join(tk5Y, VqRE)) as Gcbu:\n l5Ny = Gcbu.read()\n return l5Ny", "def LkPQ(pmON):\n with pmON.open() as eHNT:\n return eHNT.read(...
[ "0.7001736", "0.6944397", "0.68591994", "0.6833631", "0.67931634", "0.6789136", "0.67585236", "0.67585236", "0.6754618", "0.6749434", "0.67461085", "0.6715703", "0.66963845", "0.66916716", "0.6682948", "0.66683006", "0.6661558", "0.66558504", "0.6648242", "0.6635582", "0.6633...
0.0
-1
Set the Weverse API token.
async def settoken(YKHO, OaeV, eOtH): await YKHO.config.token.set(eOtH) try: await YKHO.init() except Exception: bo34.exception('Weverse connection failed.') await OaeV.send('The connection failed. Check your logs for more info.') await YKHO.config.token.set(None) re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ywlj(YKHO, eOtH):\n YKHO.client.token = eOtH", "def mDCx(YKHO, eOtH):\n YKHO.cfg_cls.set_key('access_token', eOtH)\n YKHO.headers = YKHO.cfg_cls.get_headers(eOtH)", "def SQxU(YKHO, eOtH):\n YKHO.__token = eOtH", "def SQxU(YKHO, eOtH):\n YKHO.__token = eOtH", "def SQxU(YKHO, qv4m):\n Y...
[ "0.7283803", "0.7116737", "0.6979638", "0.6979638", "0.6949811", "0.6947346", "0.678822", "0.6719684", "0.66833586", "0.66833586", "0.6644042", "0.6642757", "0.6636608", "0.6578627", "0.6527388", "0.6520042", "0.647702", "0.6458721", "0.64295185", "0.64229816", "0.6421032", ...
0.71947396
1
Receive Weverse updates from a specific Weverse community. If the community is multiple words, surround the entire thing in quotes.
async def weverse_add(YKHO, OaeV, YwkQ: Optional[discord.TextChannel], XEcM, LmAn: discord.Role=None): if not await YKHO.wait_until_ready(OaeV): return if YwkQ is None: YwkQ = OaeV.channel if LmAn is None: d9OY = 0 else: d9OY = LmAn.id XEcM = XEcM.lower() async wi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def bot_community(v7nJ):\n if not v7nJ.text[0].isalpha() and v7nJ.text[0] not in ('/', '#', '@', '!'):\n await v7nJ.edit('Join the awesome Paperplane userbot community: @userbot_support\\nBe warned that this is a fork of their project and you may get limited support for bugs.')", "def ryq6(QdZT, ...
[ "0.6381288", "0.6095099", "0.6080214", "0.5856025", "0.58474576", "0.58267736", "0.57537246", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.57072", "0.56824523", "0.56562746", "0.5650704", "0.5637334", ...
0.5362234
47
Receive Weverse updates from a specific Weverse community. If the community is multiple words, surround the entire thing in quotes.
async def weverse_list(YKHO, OaeV, YwkQ: discord.TextChannel=None): if YwkQ is None: YwkQ = OaeV.channel gAQ6 = [ztt8(FyXI) for FyXI in await YKHO.config.channel(YwkQ).channels()] if not gAQ6: await OaeV.send('There are no communities set up to notify in this channel.') return aw...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def bot_community(v7nJ):\n if not v7nJ.text[0].isalpha() and v7nJ.text[0] not in ('/', '#', '@', '!'):\n await v7nJ.edit('Join the awesome Paperplane userbot community: @userbot_support\\nBe warned that this is a fork of their project and you may get limited support for bugs.')", "def ryq6(QdZT, ...
[ "0.6381288", "0.6095099", "0.6080214", "0.5856025", "0.58474576", "0.58267736", "0.57537246", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.5731789", "0.57072", "0.56824523", "0.56562746", "0.5650704", "0.5637334", ...
0.0
-1
Process game state events. Add and pop directions from the player's direction stack as necessary.
def acg8(YKHO, tvqc): if YKHO.player.action_state != 'dead': if tvqc.type == g74T.KEYDOWN: YKHO.player.add_direction(tvqc.key) if not YKHO.world.scrolling: if tvqc.key == g74T.K_SPACE: YKHO.player.attack() elif tvqc.key == g74T.K_s:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rkk1(YKHO):\n a9eO.event.pump()\n if YKHO.turnOff:\n print(YKHO.player.movePoints)\n N5MO(1)\n exit(0)\n YKHO.game.screen.ui.updateTime()\n sjXb = a9eO.key.get_pressed()\n for tvqc in a9eO.event.get():\n if tvqc.type == a9eO.QUIT:\n YKHO.game.running = Fals...
[ "0.63560236", "0.6311441", "0.6241442", "0.6174784", "0.6100225", "0.6075482", "0.6010052", "0.59479165", "0.58983296", "0.5858336", "0.58417493", "0.58334756", "0.5832775", "0.5817827", "0.5795308", "0.57851", "0.5774089", "0.57530147", "0.5741296", "0.57176477", "0.5710125"...
0.5721123
19
Update the animated skeletons.
def QdZT(YKHO, sjXb, wzkt): YKHO.skeletons.update(wzkt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QdZT(YKHO, bGrB):\n G9jH.info('Updating animated game objects...')\n if YKHO.subFrameCounter == mLf3 - 1:\n eXTv = YKHO.imageCounter + 1\n if eXTv >= len(YKHO.anim):\n eXTv = 0\n YKHO.imageCounter = eXTv\n YKHO.image = YKHO.anim[YKHO.imageCounter]\n YKHO.subF...
[ "0.7288176", "0.7197234", "0.6933564", "0.67928827", "0.6670597", "0.66414475", "0.6610545", "0.66070205", "0.65853673", "0.6535042", "0.65003055", "0.6487082", "0.64478487", "0.6444021", "0.6414833", "0.6382682", "0.63288075", "0.62332606", "0.62157166", "0.62127906", "0.620...
0.6029874
32
Returns the model instance from its name.
def YrZb(mWFP: str): vauY = mWFP + '.tar' sBnQ('music_vae', vauY, 'checkpoints') return XLZd(b32v.CONFIG_MAP[mWFP.split('.')[0] if '.' in mWFP else mWFP], batch_size=8, checkpoint_dir_or_path=Hy7s.path.join('checkpoints', vauY))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YrZb(mWFP):\n return vJaZ(mWFP)[0]", "def YrZb(YKHO, mWFP):\n return YKHO._models.get(mWFP, None)", "def YrZb(YKHO, ZGE9):\n pass", "def DILm(YKHO, mWFP):\n for C3ST in YKHO.models:\n if mWFP == C3ST.name:\n return C3ST\n raise n6lj(\"Manifest does not contain model '%s'\...
[ "0.8327622", "0.8191982", "0.7757513", "0.7751655", "0.7653915", "0.75381994", "0.7525738", "0.74996054", "0.74527997", "0.74393004", "0.7407609", "0.74032426", "0.7373271", "0.73654616", "0.72390103", "0.7219806", "0.714655", "0.70812726", "0.7040577", "0.7040577", "0.702625...
0.0
-1
X coordinate in the space.
def EcVT(YKHO): return YKHO._x
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nIKw(YKHO):\n return YKHO.x_coord", "def nIKw(YKHO):\n return YKHO._coordinate.get_x()", "def mRpp(YKHO):\n return YKHO._x_coord", "def WKvO(YKHO):\n return YKHO.__position.x", "def WKvO(YKHO):\n return YKHO.position.x", "def WKvO(YKHO):\n return YKHO.position.x", "def a2wL(YKHO):...
[ "0.86357886", "0.861644", "0.8450943", "0.8417655", "0.8397154", "0.83345664", "0.8261311", "0.8233719", "0.82242125", "0.82242125", "0.82067275", "0.8161844", "0.8137995", "0.809112", "0.79136276", "0.7822183", "0.7775621", "0.7763741", "0.77507144", "0.7742732", "0.77363926...
0.0
-1
Return a list of all the fleets owned by the current player.
def _i9v(YKHO): Mkmy = [] for eHNT in YKHO._fleets: if eHNT.Owner() != 1: continue Mkmy.append(eHNT) return Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BfX3(YKHO):\n Mkmy = []\n for eHNT in YKHO._fleets:\n if eHNT.Owner() <= 1:\n continue\n Mkmy.append(eHNT)\n return Mkmy", "def xkfn(YKHO):\n return YKHO.creatures(mVZ4, all=True)", "def dPXt():\n return Bwa6", "def pl19(YKHO):\n return YKHO.__all_players[:]", ...
[ "0.6722052", "0.6711359", "0.66945434", "0.650029", "0.6400397", "0.63937944", "0.6368958", "0.63240325", "0.62839425", "0.62238103", "0.62238103", "0.62238103", "0.62134796", "0.62021494", "0.61670816", "0.61464685", "0.61401653", "0.61323047", "0.61190283", "0.6117322", "0....
0.62414414
9
Return a list of all the fleets owned by enemy players.
def BfX3(YKHO): Mkmy = [] for eHNT in YKHO._fleets: if eHNT.Owner() <= 1: continue Mkmy.append(eHNT) return Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vc39(YKHO):\n Mkmy = []\n for XP5J in YKHO._planets:\n if XP5J.Owner() <= 1:\n continue\n Mkmy.append(XP5J)\n return Mkmy", "def hDp8(YKHO):\n return [j5sA for j5sA in YKHO.__all_cities if j5sA.owner == YKHO.__enemy]", "def fHKv(YKHO):\n Ylbp = []\n for P6bq in YK...
[ "0.679654", "0.66371447", "0.64139867", "0.63924336", "0.62846917", "0.628176", "0.6270105", "0.6266167", "0.62126803", "0.611358", "0.609651", "0.5992354", "0.5975821", "0.5968506", "0.5947734", "0.59319675", "0.5931265", "0.59263515", "0.59258056", "0.59240353", "0.5902099"...
0.74278337
0
Seed random, numpy and torch with same seed
def qVnc(yokr=42): tuKI.seed(yokr) oyIN.random.seed(yokr) ht2j.manual_seed(yokr) if ht2j.cuda.is_available(): ht2j.cuda.manual_seed(yokr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def igb0():\n oyIN.random.seed(8)\n ht2j.manual_seed(8)\n tuKI.seed(8)", "def t2vv(QTBn):\n tuKI.seed(QTBn)\n oyIN.random.seed(QTBn)\n ht2j.manual_seed(QTBn)", "def e3of(yokr):\n ht2j.manual_seed(yokr)\n tuKI.seed(yokr)\n oyIN.random.seed(yokr)", "def yokr(yokr=1):\n oyIN.random...
[ "0.8594887", "0.84049207", "0.8173824", "0.8142049", "0.80929035", "0.8083153", "0.8063947", "0.8047922", "0.8044224", "0.8030915", "0.8024584", "0.8006743", "0.7986133", "0.79660994", "0.7962914", "0.7954078", "0.7951967", "0.794039", "0.7937732", "0.7931426", "0.7921627", ...
0.8202022
2
Respond to a link crafted by this registrar for this registrar.
def mNx1(YKHO, **B2fa): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ld6r(YKHO):\n return \"<u> <a href='\" + YKHO.string + \"'>\" + YKHO.string + '</a></u>'", "def RO0o(YKHO):\n pass", "def aWJO(YKHO):\n pass", "async def registry(YKHO, OaeV):\n QZnA = eOtH.REGISTRY or 'https://hastebin.com/afijavahox.coffeescript'\n Q1PJ = YKHO.bot.embeds.embed_builder(ti...
[ "0.6287385", "0.62383384", "0.61978", "0.6072866", "0.6052694", "0.5999439", "0.59471846", "0.593159", "0.59249216", "0.59238786", "0.59234035", "0.5873486", "0.5838121", "0.5832254", "0.58280134", "0.58016753", "0.58016753", "0.58016753", "0.58016753", "0.5778058", "0.575867...
0.681928
0
count intersection area of two boxes
def ZPOA(YKHO, k0lF, tjUW): ShLW = oyIN.array([max(k0lF[0], tjUW[0]), max(k0lF[1], tjUW[1])]) XOP0 = oyIN.array([min(k0lF[2], tjUW[2]), min(k0lF[3], tjUW[3])]) if oyIN.all(ShLW < XOP0): return [*ShLW, *XOP0] else: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iQin(knvf, IkxF):\n a4TF, muDC, tBwn, _AAi = knvf\n Xn4L, QTZF, mZ91, b8lW = IkxF\n LFlW = max(a4TF, Xn4L)\n _tIi = min(tBwn, mZ91)\n es2x = min(_AAi, b8lW)\n tlxW = max(muDC, QTZF)\n if LFlW < _tIi and tlxW < es2x:\n return f0tD((LFlW, tlxW, _tIi - LFlW, es2x - tlxW))\n else:\n ...
[ "0.7927827", "0.7784002", "0.77484524", "0.76259726", "0.74921274", "0.74372137", "0.7390844", "0.73437315", "0.7234893", "0.7228971", "0.7130161", "0.71161854", "0.70929736", "0.70929736", "0.70922965", "0.7085507", "0.7085507", "0.7080932", "0.7073507", "0.7070494", "0.7031...
0.0
-1
Helper function that formats the path to cache and creates it, if necessary.
def Hz4f(sLEl=GPtr['path_to_resources']): if not sLEl.endswith('/cache'): sLEl = Hy7s.path.join(sLEl, 'cache') if not Hy7s.path.exists(sLEl): Hy7s.mkdir(sLEl) return sLEl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uALZ(YKHO) -> None:\n YKHO.cache_dir.mkdir(exist_ok=True, parents=True)", "def uSiU(YKHO, pmON):\n GSwS = Hy7s.path.join(YKHO.root, pmON)\n dir = Hy7s.path.dirname(GSwS)\n if Hy7s.path.isdir(dir):\n return GSwS\n try:\n Hy7s.makedirs(dir, exist_ok=True)\n return GSwS\n ...
[ "0.7103129", "0.7049227", "0.69541454", "0.69202864", "0.68796116", "0.6834255", "0.68083143", "0.67998624", "0.6628647", "0.6627312", "0.65904003", "0.6589496", "0.6542758", "0.6521221", "0.6521221", "0.6514594", "0.65143514", "0.65051275", "0.65046674", "0.6504282", "0.6489...
0.66657215
8
Generate a random password of 10 characters consisting of lower case letters, with a single digit and symbol inserted at random locations. Returns None.
def b8V_(): jTXt = oomz(10) print('Random password: {}'.format(jTXt))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NlX3():\n rmc3 = ['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', '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', '0', '1', '2', '3', '4', '5', ...
[ "0.81305456", "0.8082124", "0.80685145", "0.80540264", "0.80033314", "0.80028313", "0.7950986", "0.79291034", "0.78776306", "0.78718114", "0.7827866", "0.78179055", "0.7802793", "0.77751946", "0.77169085", "0.7693541", "0.7688622", "0.76800007", "0.7666546", "0.7664546", "0.7...
0.6888593
94
Generates a random password consisting of lowercase letters and with a digit and symbol at the end of the password.
def oomz(u54L): jTXt = '' for YRbF in range(u54L - 2): jTXt = jTXt + zKcl('abcdefghijklmnopqrstuvwxyz') Ko6S = zKcl('0123456789') jTXt = n74p(jTXt, Ko6S) o61b = zKcl('+-*/?!@#$%&') jTXt = n74p(jTXt, o61b) return jTXt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ikbr():\n return ''.join((jxbx().choice(tcl1 + BHGE) for bGrB in range(8)))", "def NlX3():\n from random import sample\n o61b = vIwR.punctuation\n LSh8 = vIwR.ascii_lowercase\n CN9P = vIwR.ascii_uppercase\n XCb3 = vIwR.digits\n yokr = sample(LSh8, 1) + sample(CN9P, 1) + sample(XCb3, 1) +...
[ "0.8585729", "0.8583109", "0.8538666", "0.85048413", "0.84984076", "0.8390376", "0.8272788", "0.82607067", "0.8246608", "0.8240052", "0.8230009", "0.8216178", "0.8203806", "0.8200877", "0.81665987", "0.8147305", "0.8126377", "0.81158906", "0.81134635", "0.810153", "0.80494386...
0.78191024
44
Returns a string containing one character randomly chosen from a given string.
def zKcl(SIyd): exwG = len(SIyd) Mkmy = ajWY(0, exwG - 1) aJ80 = SIyd[Mkmy] return aJ80
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BWvy():\n gLiZ = vIwR.ascii_lowercase\n return ''.join([tuKI.choice(gLiZ) for WKvO in range(8)])", "def fuJz():\n return Acvy('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')", "def wc7e():\n return tuKI.choice('abcdef0123456789')", "def fuJz():\n return tuKI.choice(list(u'ABCDEFGHI...
[ "0.8153903", "0.80755645", "0.8032183", "0.80247515", "0.79552853", "0.7927408", "0.7850341", "0.78068167", "0.7780191", "0.7770528", "0.77704555", "0.7769655", "0.7769655", "0.7769655", "0.77675", "0.77675", "0.7743549", "0.7701067", "0.76829934", "0.7620516", "0.76140714", ...
0.7462913
31
Returns details about the token specified by 'tokenId'.
def _iIp(YKHO, flEJ): NArs = {} NArs['TokenId'] = flEJ geh0 = YKHO.make_request('GetTokenByCaller', NArs) TBsA = geh0.read() if geh0.status == 200: a1PO = _J2v() MKlR = DCgT.XmlHandler(a1PO, YKHO) QToG.sax.parseString(TBsA, MKlR) return a1PO else: raise oK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eOtH(YKHO, oFhs):\n return YKHO.analytics.get('%s/%s' % (GkAb.Analytics.Tokens, oFhs))", "def jRq6(YKHO, oFhs: str) -> str:\n eOtH = owkb.password_lookup_sync(YKHO.schema, {'id': str(oFhs)}, None)\n return eOtH", "def gNTt(oFhs):\n NCls = GGod()\n DpUl = NCls.execute('select token, status fr...
[ "0.7466139", "0.6698406", "0.6659202", "0.6528737", "0.63559026", "0.62388474", "0.6233033", "0.6214786", "0.6195762", "0.6170119", "0.615116", "0.6130192", "0.61286306", "0.61216426", "0.61177397", "0.6109285", "0.6099553", "0.60895276", "0.60385853", "0.60385853", "0.602113...
0.656633
3
Get the size of the array
def R8e4(YKHO): usi7 = gk2W.c_size_t() ZSvt = YKHO.mAPIContext.SDValueArray_getSize(YKHO.mHandle, gk2W.byref(usi7)) if ZSvt != ll8f.NoError.value: if ZSvt == ll8f.NoErrorOutputParamNotSet.value: return None raise UvM_(ll8f(ZSvt)) return usi7.value
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def t892(YKHO):\n return YKHO.__arraysize", "def t892(YKHO) -> int:\n ...", "def t892(YKHO):\n return YKHO._arraysize", "def zNig(YKHO):\n return len(YKHO.arr)", "def t892(YKHO):\n raise NotImplementedError", "def Cn47(YKHO):\n if not YKHO.array:\n return 0\n try:\n exw...
[ "0.87538725", "0.87393326", "0.8715802", "0.8652291", "0.85794616", "0.8514375", "0.8442761", "0.8383583", "0.83544457", "0.8289724", "0.824843", "0.8231949", "0.8223934", "0.8215163", "0.8196033", "0.81850064", "0.81284684", "0.8103405", "0.80754274", "0.80203736", "0.794905...
0.0
-1
Get the whole array as a SDArray
def NMoC(YKHO): lE_8 = gk2W.c_void_p() ZSvt = YKHO.mAPIContext.SDValueArray_get(YKHO.mHandle, gk2W.byref(lE_8)) if ZSvt != ll8f.NoError.value: if ZSvt == ll8f.NoErrorOutputParamNotSet.value: return None raise UvM_(ll8f(ZSvt)) lJwm = YKHO.mAPIContext.mTypeMap[uh7Q(YKHO.mAPICon...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IPB2(mWFP):\n pass", "def E3QG():\n return None", "def qw7D(YKHO):\n return XTiz.array([YKHO[Wswm].array for Wswm in sorted(YKHO)])", "def GvlY(YKHO):\n qw7D = HWEd.factory(YKHO.dataType, YKHO.shape, YKHO.buffer_.duplicate())\n return qw7D", "def BGc_(RyuO):\n with x5_g:\n retu...
[ "0.7024722", "0.68111306", "0.6768567", "0.67628586", "0.6716211", "0.6603438", "0.6592941", "0.65882003", "0.6574026", "0.65066004", "0.6505982", "0.6457691", "0.6411248", "0.63957196", "0.6391787", "0.63553387", "0.63485694", "0.63420576", "0.6336624", "0.6300673", "0.62742...
0.6010811
51
Symmetrically normalize adjacency matrix.
def ujN0(eQUr): mvKG = ZylS.divide(1, eQUr) mvKG = ZylS.where(ZylS.equal(mvKG, ZylS.multiply(ZylS.ones_like(mvKG), oyIN.inf)), ZylS.zeros_like(mvKG), mvKG) JEs7 = ZylS.reduce_sum(mvKG, axis=2) KIjJ = mvKG / ZylS.expand_dims(JEs7, axis=2) return KIjJ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ujN0(eQUr):\n mJjf = oyIN.array(eQUr.sum(1))\n tvzN = oyIN.power(mJjf, -0.5).flatten()\n tvzN[oyIN.isinf(tvzN)] = 0.0\n hEeC = H4yH.diags(tvzN)\n return eQUr.dot(hEeC).transpose().dot(hEeC).tocoo()", "def ujN0(eQUr):\n mJjf = oyIN.array(eQUr.sum(1))\n tvzN = oyIN.power(mJjf, -0.5).flatte...
[ "0.79748905", "0.78841347", "0.78669816", "0.78669816", "0.78590506", "0.7824809", "0.7818386", "0.7787256", "0.77343863", "0.77217567", "0.77149534", "0.77057743", "0.7697704", "0.7697704", "0.7697704", "0.7697704", "0.7697704", "0.7697704", "0.7697704", "0.7697704", "0.7697...
0.6593485
57
Decrement pool's size by count. If pool becomes empty, remove pool from pool_list.
def yfYp(GMHh, dBuj, UHFx=1): if dBuj['count'] > UHFx: dBuj['count'] -= UHFx UHFx = 0 else: UHFx -= dBuj['count'] GMHh.remove(dBuj) return UHFx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k2Cg(YKHO):\n while True:\n eSnm = YKHO.redis.zremrangebyrank(YKHO.name, 0, YKHO.options['chunk_size'])\n if not eSnm:\n break", "def Qsjz(YKHO, dBuj):\n pass", "def bxvS(YKHO):\n dBuj = YKHO.ceph_manager.get_pool()\n bGrB = YKHO.ceph_manager.get_pool_pg_num(dBuj)\n ...
[ "0.6856633", "0.6802066", "0.6650915", "0.65562314", "0.6428548", "0.6365777", "0.6236279", "0.61912763", "0.600475", "0.5935124", "0.58717054", "0.5861183", "0.5834066", "0.5834066", "0.5832167", "0.5821015", "0.5821015", "0.5821015", "0.57981986", "0.5774553", "0.5733409", ...
0.83167905
0
Remove device dependents or a parent from pools. In case the device is a PF, all of it's dependent VFs should be removed from pools count, if these are present. When the device is a VF, it's parent PF pool count should be decreased, unless it is no longer in a pool.
def pHab(YKHO, Uywm): if Uywm.dev_type == V_D6.PciDeviceType.SRIOV_PF: srxi = Uywm.child_devices if srxi: for oTv4 in srxi: YKHO.remove_device(oTv4) elif Uywm.dev_type == V_D6.PciDeviceType.SRIOV_VF: try: _AKB = Uywm.parent_device if _A...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Dq80(YKHO, M4N3):\n q8GH = YKHO._create_pool_keys_from_dev(M4N3)\n if q8GH:\n dBuj = YKHO._find_pool(q8GH)\n if not dBuj:\n raise AJ5d.PciDevicePoolEmpty(compute_node_uuid=M4N3.compute_node_uuid, address=M4N3.address)\n dBuj['devices'].remove(M4N3)\n YKHO._decrease_...
[ "0.5851813", "0.57148474", "0.55749935", "0.5483485", "0.54627776", "0.54427636", "0.54421175", "0.5401621", "0.54002684", "0.5394478", "0.53616405", "0.5343719", "0.5342156", "0.5334152", "0.5301416", "0.5292455", "0.5286214", "0.52834404", "0.5274823", "0.52582365", "0.5258...
0.71426904
0
Returns a list of flights and maintenances (same format than the list returned by read_leg). Their number is defined in parameters_generation.py Each flight/maintenance has an id, an aircraft, an origin, a destination, a departure/beginning time and an arrival/ending time. To construct the list, we loop over a list of ...
def Ew3l(): ybBz = ['LEG' for YRbF in range(vcS6)] for YRbF in range(vU3Z): xvWq = tuKI.randint(0, len(ybBz) - 1) while ybBz[xvWq] == 'MAINT' or (xvWq >= 1 and ybBz[xvWq - 1] == 'MAINT'): xvWq = tuKI.randint(0, len(ybBz) - 1) ybBz.insert(xvWq, 'MAINT') etUc = [] or8S ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K1MG(YKHO):\n AAVa = []\n h7D2 = 15\n try:\n R3wq(YKHO.driver_data, h7D2).until(i1TH.presence_of_element_located((Q71O.CLASS_NAME, 'day-list-item')))\n QrJO = YKHO.driver_data.find_elements_by_class_name('day-list-item')\n except Oe3Q:\n raise ValueError('TimeoutException')\n ...
[ "0.64789337", "0.6369778", "0.6101599", "0.59109735", "0.5891543", "0.58075213", "0.5766845", "0.5735398", "0.56911427", "0.55314475", "0.5494728", "0.5473332", "0.5449312", "0.5397374", "0.53843373", "0.5318985", "0.5302223", "0.529922", "0.5292331", "0.52888435", "0.5219392...
0.67203504
0
Normalize to +4 sigma on the range 0 to 1
def ryqw(jzdc): JBMS = jzdc.mean() M1Jx = jzdc.std() z1Rg = ((jzdc - JBMS) / M1Jx).clip(-4, 4) z1Rg += 4 z1Rg /= 8 try: z1Rg.set_fill_value(0) except AttributeError: pass return z1Rg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D7zl(YKHO):\n return (tVah((YKHO.maximum - YKHO.mu) / 2 ** 0.5 / YKHO.sigma) - tVah((YKHO.minimum - YKHO.mu) / 2 ** 0.5 / YKHO.sigma)) / 2", "def Ek_i(EcVT, yGTL, WTkW):\n return (EcVT - yGTL) / (WTkW + CzNp)", "def cN0R(Csk6, kTwQ):\n return -MpoN(Csk6, kTwQ, 1)", "def kwsU(WKvO):\n if WKvO....
[ "0.7416203", "0.7267805", "0.7233712", "0.7079335", "0.6970061", "0.68961567", "0.68961567", "0.6845512", "0.6803798", "0.67517686", "0.66969573", "0.66940165", "0.6676859", "0.6669587", "0.665757", "0.66499877", "0.6645774", "0.66400737", "0.6614464", "0.6611383", "0.6597918...
0.0
-1
Given a dictionary, ensure that the values in the 'pixels' list are all integers in the range [0, 255]. All values should be converted to integers using Python's `round` function. Any locations with values higher than 255 in the input should have value 255 in the output; and any locations with values lower than 0 in th...
def zTlO(LNo8): Aofo = jth9(LNo8) for BWXx in LNo8['pixels']: LDQR = round(BWXx) if LDQR < 0: LDQR = 0 if LDQR > 255: LDQR = 255 yDSl(Aofo, LDQR) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zgbY():\n assert qIcq({'back-of-desk': [[0, 47]], 'monitor': [[108, 76], [75, 44]]}) == 109", "def NkkI(lEHr: np.array):\n return lEHr.astype('float32') / 255.0", "def zTlO(LNo8):\n xMhO = LNo8['pixels']\n LG0u = []\n for vEPh in xMhO:\n if vEPh < 0:\n LG0u.append(0)\n ...
[ "0.5854302", "0.5821947", "0.57869816", "0.57680476", "0.57084715", "0.5679264", "0.56245685", "0.5622831", "0.5621348", "0.5573896", "0.5538855", "0.550646", "0.5504588", "0.5439403", "0.5434194", "0.54038745", "0.5376186", "0.5371392", "0.537126", "0.5359947", "0.5322724", ...
0.5159138
35
Test writing the alignments in psl_34_001.sam.
def NrIB(YKHO): pmON = 'Blat/psl_34_001.sam' l1DD = UK86.parse(pmON, 'sam') wOb_ = kJm3() exwG = UK86.write(l1DD, wOb_, 'sam') YKHO.assertEqual(exwG, 22) wOb_.seek(0) l1DD = UK86.parse(wOb_, 'sam') YKHO.check_alignments_psl_34_001(l1DD) wOb_.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jIPL(YKHO):\n pmON = 'Blat/psl_34_004.sam'\n l1DD = UK86.parse(pmON, 'sam')\n wOb_ = kJm3()\n exwG = UK86.write(l1DD, wOb_, 'sam')\n YKHO.assertEqual(exwG, 19)\n wOb_.seek(0)\n l1DD = UK86.parse(wOb_, 'sam')\n YKHO.check_alignments_psl_34_004(l1DD)\n wOb_.close()", "def Yu8P(YKHO):...
[ "0.8626041", "0.86078185", "0.85942066", "0.82177514", "0.68675625", "0.6788829", "0.67261213", "0.6710991", "0.663241", "0.65894866", "0.6532351", "0.6526458", "0.65154177", "0.6481626", "0.6451583", "0.64453083", "0.6433835", "0.6412171", "0.6396806", "0.6367121", "0.635958...
0.8711641
0
Test writing the alignments in psl_34_003.sam.
def Yu8P(YKHO): pmON = 'Blat/psl_34_003.sam' l1DD = UK86.parse(pmON, 'sam') wOb_ = kJm3() exwG = UK86.write(l1DD, wOb_, 'sam') YKHO.assertEqual(exwG, 3) wOb_.seek(0) l1DD = UK86.parse(wOb_, 'sam') YKHO.check_alignments_psl_34_003(l1DD) wOb_.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NrIB(YKHO):\n pmON = 'Blat/psl_34_001.sam'\n l1DD = UK86.parse(pmON, 'sam')\n wOb_ = kJm3()\n exwG = UK86.write(l1DD, wOb_, 'sam')\n YKHO.assertEqual(exwG, 22)\n wOb_.seek(0)\n l1DD = UK86.parse(wOb_, 'sam')\n YKHO.check_alignments_psl_34_001(l1DD)\n wOb_.close()", "def jIPL(YKHO):...
[ "0.8656965", "0.85959566", "0.858091", "0.8236896", "0.6878033", "0.68233263", "0.6815977", "0.67807037", "0.6724205", "0.6640569", "0.65436494", "0.65406233", "0.65209514", "0.65164816", "0.6501407", "0.64697516", "0.64694136", "0.6456459", "0.6441765", "0.64355034", "0.6428...
0.8619254
1
Test writing the alignments in psl_34_004.sam.
def jIPL(YKHO): pmON = 'Blat/psl_34_004.sam' l1DD = UK86.parse(pmON, 'sam') wOb_ = kJm3() exwG = UK86.write(l1DD, wOb_, 'sam') YKHO.assertEqual(exwG, 19) wOb_.seek(0) l1DD = UK86.parse(wOb_, 'sam') YKHO.check_alignments_psl_34_004(l1DD) wOb_.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NrIB(YKHO):\n pmON = 'Blat/psl_34_001.sam'\n l1DD = UK86.parse(pmON, 'sam')\n wOb_ = kJm3()\n exwG = UK86.write(l1DD, wOb_, 'sam')\n YKHO.assertEqual(exwG, 22)\n wOb_.seek(0)\n l1DD = UK86.parse(wOb_, 'sam')\n YKHO.check_alignments_psl_34_001(l1DD)\n wOb_.close()", "def Yu8P(YKHO):...
[ "0.8666254", "0.8608048", "0.8590765", "0.8222906", "0.6853814", "0.68346435", "0.67751724", "0.6710212", "0.66680115", "0.6590397", "0.65762824", "0.65753025", "0.65390587", "0.65302616", "0.6510066", "0.6503772", "0.6502581", "0.6451376", "0.6449883", "0.6441712", "0.643548...
0.8705564
0
Test writing the alignments in psl_34_005.sam.
def jMW8(YKHO): pmON = 'Blat/psl_34_005.sam' l1DD = UK86.parse(pmON, 'sam') wOb_ = kJm3() exwG = UK86.write(l1DD, wOb_, 'sam') YKHO.assertEqual(exwG, 22) wOb_.seek(0) l1DD = UK86.parse(wOb_, 'sam') YKHO.check_alignments_psl_34_005(l1DD) wOb_.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NrIB(YKHO):\n pmON = 'Blat/psl_34_001.sam'\n l1DD = UK86.parse(pmON, 'sam')\n wOb_ = kJm3()\n exwG = UK86.write(l1DD, wOb_, 'sam')\n YKHO.assertEqual(exwG, 22)\n wOb_.seek(0)\n l1DD = UK86.parse(wOb_, 'sam')\n YKHO.check_alignments_psl_34_001(l1DD)\n wOb_.close()", "def jIPL(YKHO):...
[ "0.8705829", "0.8664275", "0.8615646", "0.82936543", "0.6873383", "0.6872576", "0.6808453", "0.67549115", "0.66857684", "0.65898174", "0.657105", "0.65639406", "0.65418607", "0.6501496", "0.649378", "0.6488954", "0.6470125", "0.64700437", "0.64418733", "0.64345837", "0.642843...
0.86726594
1
Constructor que inicializa la conexion del usuario, el nombre de usuario y el numero de ID
def FIMM(YKHO, w2B8, TvsE, EwR1): YKHO.conn = w2B8 YKHO.nomUser = TvsE YKHO.numId = EwR1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, XlfE, jTXt, cuiw):\n YKHO.id_usuario = XlfE\n YKHO.password = jTXt\n YKHO.session = cuiw", "def FIMM(YKHO, H1In, CVgL, jTXt, HRhl=[]):\n YKHO.id = H1In\n YKHO.nick = CVgL\n YKHO.password = jTXt\n YKHO.contrasenas = HRhl", "def FIMM(YKHO, NtEF, X5CZ, D3lj, jTXt):\n YKHO.id...
[ "0.75281256", "0.7492457", "0.73175305", "0.7276631", "0.72329086", "0.7018286", "0.7013481", "0.7004265", "0.6899543", "0.6842985", "0.67251986", "0.6706966", "0.66043574", "0.6576591", "0.6537113", "0.64448094", "0.6437073", "0.63716954", "0.63426036", "0.6306658", "0.62864...
0.72930264
3
Randomly Shuffled Dataset Creator. This method creates a randomly shuffled train, test and dev dataset.
def tuKI(YKHO, COc9, oMbe, dMYj): RRlC = Hy7s.listdir(COc9) hGN5 = [] for KnEh in RRlC: if KnEh[-4:] == '.csv': hGN5.extend(rLdf.read_csv(Hy7s.path.join(COc9, KnEh))['image'].to_list()) tuKI.shuffle(hGN5) EvQg = hGN5[0:int(dMYj[0] * len(hGN5))] QOe9 = hGN5[int(dMYj[0] * len(h...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cHmT(hXNa=True):\n print('make Training data and Test data Start....')\n if PSrQ.data.get('max_seq_length', None) is None:\n aiY8(['train_X_ids', 'test_X_ids'])\n CZRf, OJCd = UlWi('train_X_ids', 'train_y')\n pZ_I, PdIf = UlWi('test_X_ids', 'test_y')\n assert len(CZRf) == len(OJCd)\n a...
[ "0.7275641", "0.72269094", "0.7196564", "0.7158938", "0.7047916", "0.6988113", "0.69418997", "0.69025725", "0.6900671", "0.6846699", "0.68230337", "0.67369187", "0.67098516", "0.67079794", "0.6659434", "0.6623023", "0.66152483", "0.6599725", "0.6597605", "0.6589694", "0.65819...
0.0
-1
Return the name of the command.
def oPpw(YKHO): return YKHO._cmd_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Asoz(YKHO):\n return YKHO._command_name", "def Asoz(YKHO):\n return YKHO.__class__.__name__.replace('Command', '').upper()", "def mWFP(YKHO):\n return YKHO.__class__.__name__.replace('Command', '').lower()", "def Asoz():\n return Hy7s.path.basename(Hy7s.path.dirname(xAKo)).replace('_', '-')",...
[ "0.901826", "0.88901514", "0.87709504", "0.831782", "0.8129823", "0.8122722", "0.8032807", "0.7969731", "0.77467436", "0.7712597", "0.7676402", "0.75531566", "0.74021035", "0.73657835", "0.7362288", "0.7345779", "0.7321411", "0.7305499", "0.73040843", "0.72106093", "0.7210609...
0.87080944
3
Creates an instance of this model from a dictionary
def rQfz(Emd4, cmPJ): if cmPJ is None: return None xRVt = cmPJ.get('defaultMtuSize') If3P = None if cmPJ.get('overrides') != None: If3P = list() for g8x2 in cmPJ.get('overrides'): If3P.append(PBvq.models.override_model.OverrideModel.from_dictionary(g8x2)) return E...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rQfz(Emd4, cmPJ):\n if cmPJ == None:\n return None\n else:\n mWFP = cmPJ.get('name')\n l8cJ = cmPJ.get('generic_id')\n Gsi3 = cmPJ.get('therauptic_uses')\n PALZ = cmPJ.get('search_score')\n return Emd4(mWFP, l8cJ, Gsi3, PALZ)", "def rQfz(Emd4, cmPJ):\n if cm...
[ "0.83717704", "0.8335454", "0.8215639", "0.8169286", "0.8169286", "0.8147288", "0.8051544", "0.802922", "0.80130595", "0.79790455", "0.79222333", "0.79195154", "0.7917697", "0.79124105", "0.7905466", "0.7900461", "0.78967464", "0.7885628", "0.78752494", "0.78539485", "0.78539...
0.0
-1
get_position() Get position asynchronously with respect to axis direction.
def Iuzb(YKHO): return YKHO.motor.position * YKHO.direction
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def np9b(YKHO):\n return YKHO._position", "def Iuzb(YKHO):\n try:\n Aofo = YKHO.dev._get_position()\n except:\n YKHO.error = 'failed to get position'\n Aofo = JNix\n return Aofo", "def xbmY(YKHO):\n n8hW = {'command': 'get_position_sensor'}\n Ljsp = YKHO.send_cmd(n8hW)\n ...
[ "0.6684172", "0.6620815", "0.6571241", "0.65451705", "0.6497934", "0.6497923", "0.63187325", "0.62463087", "0.6245875", "0.6242045", "0.6239507", "0.6218866", "0.62121797", "0.6210921", "0.6159052", "0.6157298", "0.6157298", "0.6157298", "0.6157298", "0.61279494", "0.6119695"...
0.60264546
29
Get the position of the positioner.
def np9b(YKHO): return YKHO._get_vector(YKHO.translators)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def np9b(YKHO):\n return YKHO._position", "def Iuzb(YKHO):\n return YKHO.position", "def Iuzb(YKHO):\n return YKHO.s.get_position()", "def Iuzb(YKHO):\n return YKHO.position", "def Iuzb(YKHO):\n return YKHO.position", "def Iuzb(YKHO):\n return YKHO.position", "def Iuzb(YKHO):\n ret...
[ "0.8740564", "0.87037045", "0.868991", "0.8683754", "0.8683754", "0.8683754", "0.8683754", "0.8621423", "0.8621423", "0.85840565", "0.85840565", "0.85840565", "0.85840565", "0.85840565", "0.85345864", "0.8521962", "0.8521962", "0.8468616", "0.84615135", "0.8389082", "0.837052...
0.0
-1
Get the current translation or orientation vector.
def i771(YKHO, MPlV): iArr = [] PXGI = vexM.m if MPlV == YKHO.translators else vexM.rad for ZMlM in ['x', 'y', 'z']: if ZMlM in MPlV: iArr.append(MPlV[ZMlM].get_position().result().to(PXGI).magnitude) else: iArr.append(oyIN.nan) return iArr * PXGI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xu2h(YKHO):\n return SoA4([YKHO.__data[3], YKHO.__data[7], YKHO.__data[11]])", "def y_o0(YKHO):\n return YKHO.tvec", "def OEJS(YKHO):\n return YKHO.versor.rotation_vector", "def np9b(YKHO):\n return YKHO._get_vector(YKHO.translators)", "def iArr(YKHO):\n return YKHO.get_vector()", "def...
[ "0.75346285", "0.7389435", "0.7179412", "0.7168026", "0.71196574", "0.69959116", "0.69400734", "0.6922008", "0.6897549", "0.6850423", "0.6850423", "0.67821985", "0.6760685", "0.6641144", "0.66111386", "0.6543815", "0.6532381", "0.65242064", "0.6516218", "0.6455186", "0.643893...
0.58938056
100
Load stan model from disk, if not exist, compile the model from source code
def Oy0F(ZGE9): try: DnaN = t2lc.load(open(ZGE9 + '.model', 'rb')) except IOError: DnaN = Hhoe.StanModel(file=ZGE9 + '.stan') with open(ZGE9 + '.model', 'wb') as J7Cn: t2lc.dump(DnaN, J7Cn) pass return DnaN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m5Rz(Ux0P, ZGE9=None, **B2fa):\n from hashlib import md5\n with open(Ux0P) as eHNT:\n lWBK = eHNT.read()\n NKrn = md5(lWBK.encode('ascii')).hexdigest()\n if ZGE9 is None:\n OG7T = 'cached-model-{}.pkl'.format(NKrn)\n else:\n OG7T = 'cached-{}-{}.pkl'.form...
[ "0.76603264", "0.76603264", "0.74139", "0.7320897", "0.67263305", "0.6714327", "0.6709276", "0.6686695", "0.6647501", "0.6647501", "0.65313286", "0.6494244", "0.64652973", "0.645463", "0.64192986", "0.6377703", "0.6377507", "0.63573873", "0.6343535", "0.63009673", "0.63009673...
0.71748555
4
Calculate the hessian matrix with finite differences
def e_VS(WKvO): PeJD = oyIN.gradient(WKvO) e_VS = oyIN.empty((WKvO.ndim, WKvO.ndim) + WKvO.shape, dtype=WKvO.dtype) for G1Hx, Pk4A in enumerate(PeJD): DRh8 = oyIN.gradient(Pk4A) for vC9B, UNuD in enumerate(DRh8): e_VS[G1Hx, vC9B, :, :] = UNuD return e_VS
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PUxS(EcVT=None, XcU5=None):\n return -oyIN.dot(EcVT.T, oyIN.dot(XcU5, EcVT))", "def WsEF(YKHO):\n with ht2j.no_grad():\n q2K7 = 1 + YKHO._params_rho.exp()\n NXCR = q2K7.log()\n mDdM = NXCR.pow(-2)\n tvqV = 2 * ht2j.exp(2 * YKHO._params_rho) / (q2K7 * NXCR).pow(2)\n C7...
[ "0.7841182", "0.7808035", "0.7616296", "0.75127333", "0.7493206", "0.744959", "0.7446735", "0.73794854", "0.73766273", "0.736215", "0.7361424", "0.73613816", "0.73330593", "0.7328801", "0.7318146", "0.7308022", "0.730675", "0.7298027", "0.725792", "0.72514945", "0.7241432", ...
0.71353847
25
Removes the node at the current location, returning the node that would have proceeded it in a depthfirst walk.
def kSdD(YKHO): pmON = YKHO.path if not pmON: raise IndexError('Remove at top') vC9B, Mkmy, LrBU, cyvo, llHi = pmON if vC9B: Uqbu, jvSB = (vC9B[:-1], vC9B[-1]) return YKHO._replace(current=jvSB, path=pmON._replace(l=Uqbu, changed=True)).rightmost_descendant() else: re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kSdD(YKHO):\n pmON = YKHO.path\n if not pmON:\n raise IndexError('Remove at top')\n vC9B, Mkmy, LrBU, cyvo, llHi = pmON\n if vC9B:\n Uqbu, jvSB = (vC9B[:-1], vC9B[-1])\n return YKHO._replace(current=jvSB, path=pmON._replace(l=Uqbu, changed=True)).rightmost_descendant()\n els...
[ "0.7284755", "0.70789737", "0.7068785", "0.6971624", "0.6908887", "0.68969154", "0.6813823", "0.67989165", "0.67494094", "0.6730385", "0.67248714", "0.67200255", "0.66976535", "0.6672671", "0.6651571", "0.66439134", "0.66201746", "0.6600029", "0.6558887", "0.65586144", "0.654...
0.74149776
0
Convert a number from base 10 to another base
def _j1y(mLGw, P8oC): jzdc = mLGw KCHu = '' while jzdc > 0: Fg_i = jzdc % P8oC jzdc = jzdc / P8oC KCHu = str(Fg_i) + KCHu return KCHu
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VZC1(mLGw, P8oC):\n U5bT = 0\n for Ko6S in mLGw:\n U5bT *= P8oC\n U5bT += int(Ko6S)\n return U5bT", "def _gLu(mLGw, P8oC):\n BHGE = '0123456789ABCDEF'\n if mLGw < P8oC:\n return BHGE[mLGw]\n else:\n return _gLu(mLGw // 2, P8oC) + BHGE[mLGw % P8oC]", "def lzma(m...
[ "0.83494973", "0.8314318", "0.82941616", "0.827283", "0.8245006", "0.8200327", "0.81944245", "0.8157813", "0.812812", "0.812812", "0.812812", "0.8088966", "0.80127525", "0.8001873", "0.8000552", "0.7979823", "0.7979115", "0.7974933", "0.7930895", "0.791223", "0.7858632", "0...
0.78202635
23
Returns a random string whith 'length' chars long whith chars specified
def XALU(u54L, gLiZ=oEOR): Z9rn = '' for YRbF in Ni9Y(0, u54L): Z9rn += tuKI.choice(gLiZ) return Z9rn
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MiNk(u54L):\n gLiZ = vIwR.ascii_lowercase + vIwR.ascii_uppercase + vIwR.digits\n return ''.join((tuKI.choice(gLiZ) for WKvO in range(u54L)))", "def BWvy(u54L):\n return ''.join(tuKI.choices(vIwR.ascii_uppercase + vIwR.digits + vIwR.ascii_lowercase, k=u54L))", "def gDz0(u54L):\n return ''.join(t...
[ "0.84918845", "0.84072995", "0.83853924", "0.8355843", "0.83340466", "0.83265656", "0.83265656", "0.831062", "0.8310009", "0.83021265", "0.8264016", "0.82593364", "0.8258466", "0.82451725", "0.82374096", "0.8233457", "0.82312167", "0.8223005", "0.8220032", "0.8219347", "0.821...
0.7866021
76
Generates a random password with specified chars. Password can be processed to obtain a hash digest.
def Olmr(u54L, dKPB=oHLu, gLiZ=oEOR): KaGP = XALU(u54L, gLiZ) U5bT = Hkbt(dKPB, KaGP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NlX3():\n rmc3 = ['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', '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', '0', '1', '2', '3', '4', '5', ...
[ "0.82127464", "0.81951165", "0.8160263", "0.8135911", "0.8114287", "0.808737", "0.8033504", "0.8023242", "0.8016556", "0.8007726", "0.8003467", "0.79428655", "0.79415715", "0.79132056", "0.7879969", "0.7863639", "0.7850911", "0.7836873", "0.78256613", "0.7800541", "0.77808267...
0.0
-1
Get a random integer between min and max, both included
def cRGv(min, max): mLGw = tuKI.randint(min, max) return mLGw
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RjKZ(min, max):\n return ajWY(min, max)", "def LAYn(min, max):\n return tuKI.randint(min, max)", "def LAYn(YKHO, min, max):\n return YKHO.randint(min, max)", "def etv3(min, max):\n return tuKI.randint(min, max)", "def Gzv6(T8H5: int, Np5D: int):\n return int(tuKI.choice(range(T8H5, Np5D ...
[ "0.8725827", "0.87104666", "0.8594927", "0.85929364", "0.8577715", "0.8554569", "0.84561557", "0.83554727", "0.83009785", "0.8185858", "0.8170761", "0.81495476", "0.80831873", "0.80576634", "0.8039795", "0.7988003", "0.79571956", "0.7899621", "0.78720486", "0.78542805", "0.78...
0.8496034
6
Get a random integer between zero and max, both included
def iu0T(max): return cRGv(0, max)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mkJm(wCw7):\n return tuKI.randint(1, wCw7)", "def RjKZ(min, max):\n return ajWY(min, max)", "def KILz(xCrM):\n hdnI = tuKI.randint(1, xCrM)\n return hdnI", "def etv3(min, max):\n return tuKI.randint(min, max)", "def Gzv6(YKHO, min=0, max=9999):\n return YKHO.generator.random.randint(m...
[ "0.8550083", "0.8238721", "0.82192284", "0.8122169", "0.8093729", "0.8067643", "0.8017391", "0.79773825", "0.7967566", "0.7948487", "0.79310465", "0.78912777", "0.7883075", "0.7872675", "0.78487", "0.78302747", "0.77200866", "0.77097684", "0.76549375", "0.76547104", "0.765290...
0.7212402
39
Pick a random element from a commaseparated list
def liD5(KCHu): vC9B = KCHu.split(',') return tuKI.choice(vC9B)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NYnK(IqQl):\n hlel = tuKI.choice(IqQl)\n return hlel", "def Ddot(vC9B):\n if not vC9B:\n return None\n return vC9B[tuKI.randrange(len(vC9B))]", "def xWIa(lOlQ):\n return lOlQ[LAYn(0, len(lOlQ) - 1)]", "def eybn(DumB: List[Any]) -> ImMB:\n return DumB[ajWY(0, len(DumB) - 1)]", "...
[ "0.77096707", "0.7667192", "0.76322454", "0.7553201", "0.7495516", "0.74759746", "0.74392307", "0.73833424", "0.73585093", "0.7327418", "0.7138464", "0.7083106", "0.70749193", "0.7067307", "0.7064313", "0.7058405", "0.69835913", "0.6960681", "0.6948469", "0.6911743", "0.69004...
0.65780395
45
Randomice a commaseparated list
def UPtd(KCHu): vC9B = KCHu.split(',') tuKI.shuffle(vC9B) return ','.join(vC9B)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rJrZ(list):\n tuKI.shuffle(list)\n return list", "def dA1x(eKbg):\n tuKI.shuffle(eKbg)\n return eKbg", "def X4O_(mBYt, JxU2):\n mLGw = int(JxU2 * len(mBYt))\n tuKI.shuffle(mBYt)\n return mBYt[:mLGw]", "def Nobg(bCES):\n tuKI.seed()\n tuKI.shuffle(bCES)\n return bCES", "def...
[ "0.7453971", "0.70783556", "0.7007297", "0.69827396", "0.691888", "0.6832229", "0.68097734", "0.6805561", "0.68000585", "0.6789886", "0.6721409", "0.67016655", "0.6669666", "0.666053", "0.6628215", "0.660343", "0.658322", "0.65614957", "0.65494585", "0.65408117", "0.6524365",...
0.6078131
89
This method creates an ActuatorSensorProp object. Notes
def ve7J(YKHO, mWFP: str, ANsm: tuple=(), Ex86: tuple=()) -> ve7J: YKHO.interactionProperties[mWFP] = zBHo = ve7J(mWFP, ANsm, Ex86) return zBHo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Werr(YKHO, QWcs):\n YKHO.devprop[QWcs] = pBrc(**YKHO.config.content['device'][QWcs])\n YKHO.proplist.append(QWcs)", "def WqT5(scah):\n pass", "def VcI2(pB3N):\n voXA = j6zP + 'ObservedProperties'\n Mkmy = h6LG(voXA, pB3N)\n if Mkmy.status_code == 201:\n hfHa = Mkmy.json()['@iot.id'...
[ "0.5779289", "0.57437533", "0.5619635", "0.556756", "0.55590624", "0.55223", "0.5452312", "0.5425532", "0.5407028", "0.53991634", "0.5396893", "0.5384748", "0.53620595", "0.5359149", "0.5336192", "0.5276158", "0.5268986", "0.5266511", "0.5259754", "0.5243285", "0.52416646", ...
0.7479136
0
Get the view that start the authentication on GitHub.
def LIMG(QePW: pyramid.request.Request) -> dict[str, ImMB]: gCuF = QePW.registry.settings NArs = dict(QePW.params) RJDY = Qi1G(QePW, 'c2c_github_callback', {'came_from': NArs['came_from']} if 'came_from' in NArs else None) bqJ5 = o9X4(gCuF, TZhx, con3, '') if bqJ5: bD7m = bqJ5 + ('&' if '?' ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MC83():\n return KeZC.authorize(callback=nKyW('github_authorized', next=QePW.args.get('next') or QePW.referrer or None, _external=True))", "def zAha(QePW):\n bD7m = 'https://github.com/login/oauth/authorize'\n zb3C = gCuF.JSON_DATA['client_id']\n vSyi = gCuF.JSON_DATA['redirect_uri']\n rrBf = ...
[ "0.7157778", "0.68340766", "0.6817595", "0.67554575", "0.63393116", "0.63137144", "0.6235942", "0.61897", "0.61817896", "0.6167476", "0.6167476", "0.61520314", "0.6136681", "0.612837", "0.60836315", "0.60808647", "0.6058159", "0.60563993", "0.6056058", "0.6046952", "0.6045631...
0.6007223
25
Prepare diapasons for table processing. Transform a diapason string "XY" into a list [X, X+1, X+2, ..., Y1, Y], or empty list if X > Y.
def MgF5(Csk6): hkxX = [] KCHu, tTpl = Csk6.split('-') if len(tTpl) <= len(KCHu): tTpl = KCHu[:-len(tTpl)] + tTpl if KCHu <= tTpl: hkxX = [str(YRbF) for YRbF in range(int(KCHu), int(tTpl) + 1)] return hkxX
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def caFS(wDWA: dict):\n EcVT = list()\n LVAh = list()\n for YRbF, Oa1e in enumerate(wDWA.keys()):\n UrXw = wDWA[Oa1e]\n Z5kt = len(UrXw)\n EcVT += UrXw\n LVAh += [YRbF for bGrB in range(Z5kt)]\n return (EcVT, LVAh)", "def n0SL(Emd4, oaXr):\n Fzlg = []\n l2Ha = []\n ...
[ "0.5633204", "0.51861393", "0.49665922", "0.49549234", "0.49238968", "0.49054113", "0.48932105", "0.48883983", "0.48872977", "0.48716897", "0.48539218", "0.484626", "0.48208165", "0.48191082", "0.478121", "0.47766805", "0.47671467", "0.47546443", "0.47467315", "0.47435176", "...
0.5850842
0
Returns True if current user priority higher than other user
async def check_role_priority(EdLS: int) -> bool: if EdLS < 0: return True CBIr = Wuj4.get() UX5x: int = 0 async for LmAn in CBIr.get_roles(): UX5x += LmAn['priority'] CFou: int = 0 yDb9 = await mv1M.get_user(EdLS) g_7i: ojoB if not yDb9: return False g_7i = a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jmxi(YKHO, Elif):\n if type(YKHO) is not type(Elif):\n return NotImplemented\n return YKHO.user > Elif.user", "def jmxi(YKHO, Elif):\n if hasattr(Elif, 'priority'):\n return YKHO.priority > Elif.priority\n return NotImplemented", "def B0QV(YKHO, uJjO):\n DpUl = YKHO.conn.cursor...
[ "0.65352076", "0.64170265", "0.6337501", "0.6262374", "0.62279284", "0.60917294", "0.6080762", "0.604047", "0.5922299", "0.5885726", "0.5853749", "0.5784064", "0.57663083", "0.57519746", "0.5735013", "0.5714134", "0.5666008", "0.565906", "0.5632736", "0.5630363", "0.5620049",...
0.73558855
0
Sets the block_domain of this BlockedItems.
def PTSL(YKHO, PTSL): YKHO._block_domain = PTSL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nhcb(YKHO, nhcb):\n YKHO._bag_domain = nhcb", "def zrIJ(YKHO, zrIJ):\n YKHO._domain = zrIJ", "def zrIJ(YKHO, zrIJ):\n YKHO._domain = zrIJ", "def zrIJ(YKHO, zrIJ):\n YKHO._domain = zrIJ", "def zrIJ(YKHO, zrIJ):\n YKHO._domain = zrIJ", "def zrIJ(YKHO, zrIJ):\n YKHO._domain = zrIJ", ...
[ "0.63586444", "0.6219158", "0.6219158", "0.6219158", "0.6219158", "0.6219158", "0.6219158", "0.6219158", "0.6219158", "0.61512417", "0.61161625", "0.5941729", "0.5895874", "0.5844755", "0.57477427", "0.57477427", "0.5562593", "0.5553", "0.54894334", "0.5460421", "0.5460421", ...
0.8238796
0
Sets the block_ip_address of this BlockedItems.
def V5zh(YKHO, V5zh): YKHO._block_ip_address = V5zh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def I33c(YKHO, I33c):\n YKHO._ip_address = I33c", "def I33c(YKHO, I33c):\n YKHO._ip_address = I33c", "def I33c(YKHO, I33c):\n YKHO._ip_address = I33c", "def I33c(YKHO, I33c):\n YKHO._ip_address = I33c", "def I33c(YKHO, I33c):\n YKHO._ip_address = I33c", "def I33c(YKHO, I33c):\n YKHO._ip...
[ "0.7093583", "0.70598596", "0.70598596", "0.70598596", "0.7052351", "0.7052351", "0.7052351", "0.7052351", "0.7052351", "0.7052351", "0.7052351", "0.7052351", "0.68949133", "0.66984487", "0.6642102", "0.6371507", "0.6371507", "0.6313545", "0.62007993", "0.61641365", "0.614946...
0.8329742
0
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86416155", "0.8510352", "0.78545547", "0.77443707", "0.77117187", "0.7697595", "0.76603293", "0.7638324", "0.76217484", "0.7607743", "0.7607743", "0.7607743", "0.76074046", "0.75997984", "0.7585864", "0.7583017", "0.75715595", "0.75687325", "0.7539626", "0.7539626", "0.752...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
A scatterplot with a regression line
def odrq(qaEx, nPrm, CIn9, AhCl): QrM1.style.use('seaborn-whitegrid') LZpg, aNZO = QrM1.subplots(1, 1, figsize=(12, 8)) uuEx.regplot(x=CIn9, y=AhCl, data=nPrm, fit_reg=True, scatter_kws={'marker': 'D', 'color': 'blue', 'alpha': 0.6}, line_kws={'color': 'orange', 'alpha': 0.7}) QrM1.title('The relationsh...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _zTs(EcVT, fuBA, VMex, MNlN):\n WKvO = []\n LVAh = []\n for YRbF in range(0, len(EcVT), 10):\n WKvO.append(EcVT[YRbF])\n LVAh.append(VMex * EcVT[YRbF] + MNlN)\n qjJM.plot(WKvO, LVAh, label='Regression Line')", "def pQky(sfaX, JGCO, aNZO=None, **B2fa):\n if aNZO == None:\n ...
[ "0.7584788", "0.7524795", "0.74457484", "0.74344033", "0.7393514", "0.7393514", "0.7377092", "0.7164774", "0.7135471", "0.7116156", "0.71016383", "0.7021931", "0.6965959", "0.6869167", "0.68668646", "0.6833604", "0.67815405", "0.6781086", "0.6737073", "0.665123", "0.663946", ...
0.7282691
7
Compute intersection score of a single bounding box to other boxes.
def GLaG(FlUN, oUSw): oUSw = ZylS.transpose(oUSw) FlUN = ZylS.transpose(FlUN) KDmU = ZylS.maximum(oUSw[0], FlUN[0]) wBZN = ZylS.maximum(oUSw[1], FlUN[1]) rwK9 = ZylS.minimum(oUSw[2], FlUN[2]) re6M = ZylS.minimum(oUSw[3], FlUN[3]) RvQ7 = ZylS.maximum(rwK9 - KDmU, 0.0) * ZylS.maximum(re6M - wB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iQin(oUSw, NJao):\n oUSw = ACWl(oUSw)\n vcBN = XTiz.maximum(0, XTiz.minimum(oUSw[:, v5LI.X2], NJao[v5LI.X2]) - XTiz.maximum(oUSw[:, v5LI.X1], NJao[v5LI.X1])) * XTiz.maximum(0, XTiz.minimum(oUSw[:, v5LI.Y2], NJao[v5LI.Y2]) - XTiz.maximum(oUSw[:, v5LI.Y1], NJao[v5LI.Y1]))\n return vcBN", "def _yYa(MEr...
[ "0.7543829", "0.74102426", "0.7367419", "0.7356089", "0.7354909", "0.7349616", "0.7172968", "0.7164029", "0.7087066", "0.6915463", "0.690698", "0.6897799", "0.6874607", "0.6790399", "0.67849046", "0.67560387", "0.67250824", "0.6675282", "0.66463125", "0.6629675", "0.6616192",...
0.62808526
60
Randomly flip an image horizontally.
def ePid(LNo8, oUSw, yokr=None): def gTQK(oUSw): """Flip bounding boxes horizontally. Arguments: boxes: Bounding boxes to flip. Returns: Flipped bounding boxes. """ return ZylS.stack([oUSw[:, 0], 1.0 - oUSw[:, 3], oUSw[:, 2], 1.0 - oUSw[:, 1]], axis=-1) ZNVI = ZylS.random_uniform(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IM5U(YKHO):\n YKHO._image, YKHO._boxes = qR6U.random_horizontal_flip(YKHO._image, boxes=YKHO._boxes)", "def IM5U(*qIxc):\n zgii = tuKI.randint(0, 1)\n Aofo = []\n for VXjJ in qIxc:\n if zgii == 0:\n Aofo.append(oyIN.flip(VXjJ, 1))\n else:\n Aofo.append(VXjJ)\n ...
[ "0.8593098", "0.77944046", "0.77764004", "0.7686316", "0.7660243", "0.73343766", "0.7279321", "0.7267333", "0.7252045", "0.7251632", "0.72249335", "0.71951026", "0.7119907", "0.7095562", "0.706645", "0.703896", "0.70382", "0.6905675", "0.68576956", "0.68112296", "0.6805794", ...
0.0
-1
The last race to begin (sent a RaceEvent.RACE_BEGIN to this room). Useful for allowing commands to apply to a finished race during the readyup phase of the subsequent race.
def leze(YKHO) -> h8nf[lFOU]: return YKHO._last_begun_race
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gG_V(YKHO) -> h8nf[lFOU]:\n return YKHO._current_race", "async def _begin_new_race(YKHO):\n YKHO.channel_commands = YKHO._during_match_channel_commands\n VcQK = await id6y.get_match_race_data(YKHO.match.match_id)\n YKHO._current_race = lFOU(YKHO, YKHO.match.race_info, race_config=Hbh_(finalize_ti...
[ "0.68118083", "0.6308917", "0.61926216", "0.60155964", "0.5980858", "0.58521086", "0.5757191", "0.5631504", "0.5624887", "0.5389477", "0.5374276", "0.52350974", "0.52350974", "0.5159811", "0.5154216", "0.5148665", "0.51450163", "0.5143586", "0.5143575", "0.5117148", "0.511312...
0.738337
0
True if the match is over.
def GZ26(YKHO) -> bool: if YKHO._match_race_data is None: return False if YKHO.match.is_best_of: return YKHO._match_race_data.leader_wins > YKHO.match.number_of_races // 2 else: return YKHO._match_race_data.num_finished >= YKHO.match.number_of_races
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KCzT(YKHO) -> bool:\n return YKHO._duration <= 0", "def KCzT(YKHO):\n if YKHO.not_raise_num >= YKHO.num_players:\n return True\n return False", "def Frb8(YKHO):\n if CCZs('X') or CCZs('O') or YKHO.count >= 8:\n return True\n else:\n return False", "def KCzT(YKHO):\n ...
[ "0.73505497", "0.7328882", "0.7207113", "0.7043164", "0.7000691", "0.69862896", "0.69862896", "0.6929711", "0.69245946", "0.68695027", "0.6828796", "0.68281895", "0.68236685", "0.6818153", "0.6814703", "0.6754025", "0.6701081", "0.6695408", "0.6691335", "0.6681227", "0.662213...
0.0
-1
Function for getting the startdate and data start location
def B23B(JZXy): hksT = 0 with open(JZXy, encoding='ISO-8859-1') as eHNT: for zFiD in eHNT: if zFiD.startswith('Start at:'): KCHu = zFiD if zFiD.startswith('Operator:'): w8MO = zFiD if zFiD.startswith('timestamp'): break ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XJUz(YKHO):\n return YKHO.start_datetime.get_data_file_time_value()", "def IA34(YKHO):\n return YKHO.start", "def nUNa(YKHO):\n A97Q = YKHO._request('event.getInfo', True)\n return aP4s(A97Q, 'startDate')", "def Wd1O(YKHO, C5WR, aElB=..., aElB=..., aElB=...):\n ...", "def y1cc(YKHO) -> S...
[ "0.65059876", "0.64621156", "0.6423966", "0.6343764", "0.63304543", "0.6301094", "0.62721777", "0.62667984", "0.61598706", "0.60864365", "0.60751855", "0.6055705", "0.60325295", "0.60284096", "0.6025281", "0.6025281", "0.6025281", "0.6025281", "0.6004838", "0.5990445", "0.596...
0.65388286
0
Return username of current player.
def xKkD(YKHO): return YKHO.move_order[YKHO.current_move]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xr8t(YKHO):\n return YKHO.player.getName()", "def Xr8t(YKHO):\n return 'myPlayer'", "def wGWt(YKHO):\n return YKHO.player_name", "def tRnr(YKHO) -> str:\n return YKHO._game_state.current_player", "def fiXC(YKHO):\n if YKHO.obj.username_shared:\n return YKHO.obj.member.user.usernam...
[ "0.8277094", "0.79355067", "0.7933194", "0.7869573", "0.77872777", "0.7766821", "0.7766821", "0.7766821", "0.7766821", "0.7766821", "0.7766821", "0.7766821", "0.7766821", "0.77378625", "0.76599884", "0.76599884", "0.76599884", "0.7646392", "0.7623355", "0.7580252", "0.7540735...
0.0
-1
Add commas to a string of digits and return.
def ntxK(YKHO, QpfX, exwG): return ZbWC.sub('(\\d)(?=(\\d\\d\\d)+(?!\\d))', '\\1,', str(exwG))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Slee(BWXx):\n zXzD = str(BWXx)\n BdN0 = ZbWC.sub('^(-?\\\\d+)(\\\\d{3})', '\\\\g<1>,\\\\g<2>', zXzD)\n if zXzD == BdN0:\n return BdN0\n else:\n return Slee(BdN0)", "def Slee(BWXx):\n zXzD = str(BWXx)\n BdN0 = ZbWC.sub('^(-?\\\\d+)(\\\\d{3})', '\\\\g<1>,\\\\g<2>', zXzD)\n if...
[ "0.7801404", "0.7787953", "0.77305543", "0.7579344", "0.7579344", "0.74547094", "0.72229654", "0.7170245", "0.70549953", "0.70390457", "0.6941146", "0.67816615", "0.6754061", "0.67263746", "0.6710086", "0.66802716", "0.6597448", "0.6592284", "0.6540178", "0.6490452", "0.64637...
0.6566203
18
Steps 1. Open auth page 2. Auth with valid data 3. Check auth result 4. Go to page with editing personal data 5. Edit basic personal data with incorrect email 6. Check editing is not successfully
def yMgQ(YKHO, P4t4, Jpbe, D3lj): P4t4.login.go_to_editing_personal_data() nPrm = o_Kk.random() setattr(nPrm, 'email', D3lj) P4t4.personal_data.edit_personal_data(nPrm) TV8m.screenshot(P4t4) assert not P4t4.personal_data.is_changed(), 'Personal data should not be changed!'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E7el(YKHO, P4t4, Jpbe):\n P4t4.login.go_to_editing_personal_data()\n mMiU = o_Kk.random()\n P4t4.personal_data.edit_personal_data(mMiU)\n TV8m.screenshot(P4t4)\n assert P4t4.personal_data.is_changed(), 'Personal data not changed!'", "def BXSE(YKHO, P4t4, Jpbe):\n P4t4.open_main_page()\n ...
[ "0.73611695", "0.71042955", "0.68942267", "0.68490654", "0.66861564", "0.64602214", "0.63910246", "0.6329142", "0.6273574", "0.6271972", "0.6253022", "0.62505525", "0.62375754", "0.6232643", "0.6227662", "0.6203621", "0.61981153", "0.61900103", "0.618635", "0.6169051", "0.616...
0.69667315
2
Steps 1. Open auth page 2. Auth with valid data 3. Check auth result 4. Go to page with editing personal data 5. Edit name or(and) lastname as digits 6. Check editing is not successfully
def QLWS(YKHO, P4t4, Jpbe, mWFP, zp3f): P4t4.login.go_to_editing_personal_data() mMiU = o_Kk.random() setattr(mMiU, 'name', mWFP) setattr(mMiU, 'last_name', zp3f) P4t4.personal_data.edit_personal_data(mMiU) TV8m.screenshot(P4t4) assert not P4t4.personal_data.is_changed(), 'Personal data shou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E7el(YKHO, P4t4, Jpbe):\n P4t4.login.go_to_editing_personal_data()\n mMiU = o_Kk.random()\n P4t4.personal_data.edit_personal_data(mMiU)\n TV8m.screenshot(P4t4)\n assert P4t4.personal_data.is_changed(), 'Personal data not changed!'", "def BXSE(YKHO, P4t4, Jpbe):\n P4t4.open_main_page()\n ...
[ "0.740899", "0.7085731", "0.7075252", "0.6691653", "0.6679603", "0.66452175", "0.658403", "0.6561452", "0.6514888", "0.6492361", "0.64902526", "0.64573854", "0.6419023", "0.6379408", "0.6362553", "0.6323432", "0.63178736", "0.6309392", "0.6297785", "0.6272809", "0.62233377", ...
0.6810572
3
Steps 1. Open auth page 2. Auth with valid data 3. Check auth result 4. Go to page with editing personal data 5. Edit optional personal data with valid data 6. Check successfully editing
def BXSE(YKHO, P4t4, Jpbe): P4t4.open_main_page() P4t4.login.go_to_editing_personal_data() mMiU = o_Kk.random() P4t4.personal_data_optional.edit_personal_data_optional(mMiU) TV8m.screenshot(P4t4) assert P4t4.personal_data_optional.is_changed(), 'Personal data not changed!'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E7el(YKHO, P4t4, Jpbe):\n P4t4.login.go_to_editing_personal_data()\n mMiU = o_Kk.random()\n P4t4.personal_data.edit_personal_data(mMiU)\n TV8m.screenshot(P4t4)\n assert P4t4.personal_data.is_changed(), 'Personal data not changed!'", "def EeOo(YKHO, P4t4, Jpbe):\n P4t4.open_main_page()\n ...
[ "0.75548977", "0.6918258", "0.68545675", "0.6830199", "0.64926225", "0.64157295", "0.6390854", "0.6388985", "0.6384173", "0.6308601", "0.6298912", "0.62526345", "0.6244294", "0.62400377", "0.62285775", "0.61493754", "0.6148987", "0.6146591", "0.6123402", "0.6121749", "0.60990...
0.74510515
1
get the least significant bits from image
def AVE6(LNo8): paXb = LNo8.getdata() return (EqBn & 1 for ps3U in paXb for EqBn in ps3U)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QrdS(YKHO) -> int:\n ...", "def AOaB(LNo8):\n LNo8.convert('1')\n oMjP = LNo8.size[0]\n H2v2 = LNo8.size[1]\n TtPo = H2v2 * oMjP\n lEHr = LNo8.load()\n UOVU = []\n for LVAh in range(H2v2):\n for WKvO in range(oMjP):\n UOVU.append('1' if lEHr[WKvO, LVAh] == ymgi else ...
[ "0.71704155", "0.66061336", "0.64253575", "0.6330393", "0.6306066", "0.6234656", "0.61887217", "0.6184081", "0.6169267", "0.60745037", "0.6071343", "0.60450065", "0.5992549", "0.598725", "0.5978796", "0.59727865", "0.5960863", "0.5948594", "0.59354174", "0.5898071", "0.587121...
0.79937017
0
Reads dataset from file line by line, tokenizes each line with tokenizer, and returns list of lists which corresponds to ids of tokenized strings.
def oKiM(__n6, b0j5, vico=False, J6ly=True, up0c=True): bM8n = __n6 + str('.pkl') if Hy7s.path.isfile(bM8n): bo34.info('Loading cached tokenized dataset ...') A07C = t2lc.load(open(bM8n, 'rb')) else: bo34.info('Tokenizing dataset ...') nPrm = open(__n6, 'rb').readlines() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wr3U(YKHO, pmON, b0j5):\n assert Hy7s.path.exists(pmON)\n print(pmON)\n with open(pmON, 'r', encoding='utf8') as nUeQ:\n AX_W = []\n for zFiD in PRqg(nUeQ):\n A07C = b0j5.encode(zFiD.strip()).ids\n A07C = ht2j.tensor(A07C).type(ht2j.int64)\n AX_W.append(A...
[ "0.7485528", "0.74697065", "0.71974695", "0.6924795", "0.6922392", "0.69212675", "0.69212675", "0.691452", "0.6912074", "0.6912074", "0.6912074", "0.6912074", "0.6899227", "0.68812346", "0.68812346", "0.68812346", "0.6881023", "0.6875153", "0.6788355", "0.67716926", "0.677162...
0.65840113
27
Cleans source and target sentences to get rid of noisy data. Specifically, a pair of sentences is removed if either source or target is longer than max_tokens either source or target is shorter than min_tokens absolute difference between source and target is larger than max_tokens_diff one sentence is max_tokens_ratio ...
def ipwW(aSKv, AedB, Xfsf=128, Tfq4=3, qrKe=25, Fp2n=2.5): if len(aSKv) != len(AedB): raise ValueError('Source and target corpora have different lengths!') yuO4, OEIc = ([], []) for YRbF in range(len(aSKv)): oe5C, _SUv = (len(aSKv[YRbF]), len(AedB[YRbF])) if oe5C > Xfsf or _SUv > Xfs...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qk7K(yFcs, Iea8, s2mk):\n SVFM = []\n FzNv = []\n godE = -1\n eOtH = []\n for YRbF in range(0, len(yFcs)):\n if YRbF > godE:\n if yFcs[YRbF] not in MV7o:\n eOtH.append((YRbF, yFcs[YRbF]))\n if len(eOtH) == tuwW:\n u8Mh = ''.join([WKvO[1]...
[ "0.6306798", "0.60680926", "0.595026", "0.580039", "0.5791199", "0.5788748", "0.57697326", "0.57663447", "0.57144666", "0.5685873", "0.5684511", "0.5625264", "0.5611089", "0.56101626", "0.5602558", "0.5598917", "0.5585824", "0.5575207", "0.5575207", "0.5569757", "0.556828", ...
0.71364546
0
Shifts the camera to the left on a button press, happy balance of movement seems to be 6.5% of the current X axis range. Also will dynamically zoom to the tallest peak if the Auto Zoom checkbox is ticked
def arjG(YKHO): Aofo = APXK.move_camera_calc(YKHO.graph_widget) if Aofo: CzZN, waVg = Aofo YKHO.graph_widget.setXRange(CzZN, waVg) if YKHO.auto_size.isChecked(): YKHO.zoom_fit()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GZbZ(YKHO):\n Ehma = len(YKHO.view_chd_data.ad_data[YKHO.current_nutrient])\n Aofo = APXK.move_camera_calc(YKHO.graph_widget, right=True, ad_max=Ehma)\n if Aofo:\n CzZN, waVg = Aofo\n print(CzZN)\n print(waVg)\n YKHO.graph_widget.setXRange(CzZN, waVg)\n if YKHO.auto_...
[ "0.7197238", "0.694691", "0.685855", "0.6714445", "0.66570634", "0.6641875", "0.66188467", "0.6603829", "0.66037035", "0.65999943", "0.6585004", "0.65570223", "0.6539881", "0.65286016", "0.65219957", "0.65219957", "0.65008247", "0.6498419", "0.6485357", "0.64720297", "0.64558...
0.82015043
0
Returns a readonly dictionary copy of the metadata associated with a profile
def yIVm(YKHO): y0cW = '_md_' Aofo = {} for YRbF in dir(YKHO): if YRbF.startswith(y0cW): Aofo[YRbF[len(y0cW):]] = getattr(YKHO, YRbF) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eKM1(lZwM: str) -> cuzp[str, ImMB]:\n return dmXV('{}/'.format(lZwM), 'ProfilePage')['graphql']['user']", "def z39Z(YKHO) -> cuzp:\n return Bgf_(auth_token=YKHO.token, user_email=YKHO.email)", "def ccW1(w2B8: dict) -> dict:\n return NMoC(w2B8, pB1J + 'metadata')", "def e5kH(YKHO):\n try:\n ...
[ "0.7531238", "0.70820796", "0.7006046", "0.6953616", "0.67603093", "0.66624707", "0.6642005", "0.6580273", "0.6519104", "0.64950943", "0.6481147", "0.6461144", "0.64293003", "0.6418527", "0.6418527", "0.64009625", "0.63946915", "0.63772905", "0.6372859", "0.63248086", "0.6312...
0.0
-1