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
Return the name of the scene.
def mWFP(YKHO): return YKHO._scene_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hSt3(YKHO):\n return YKHO._document.GetDocumentName()", "def iFGc():\n pass", "def XJhI():\n iFGc = ccKF.file(query=True, sceneName=True, shortName=True)\n iFGc = BKva.splitext(iFGc)[0]\n return iFGc", "def uWZQ():\n j9fW = bU35.bs_getEnvDetails()['projectName'].lower()\n VG3a, Q6uT,...
[ "0.88859296", "0.8629169", "0.8004623", "0.7645613", "0.7175747", "0.7175747", "0.7131868", "0.69200826", "0.6756709", "0.67234814", "0.66674066", "0.66612965", "0.6615379", "0.6598769", "0.6598569", "0.6596836", "0.6596836", "0.6596836", "0.6596836", "0.6596836", "0.6596836"...
0.9163909
0
Shifts a periodically separated clump by the domain width. Looks for gaps in the positions larger than max('dx'), shifts one group to the right (left if shiftRight=Flase) to be spatially contiguous.
def DkWr(FTYW, KzHE=True): try: JjmR = FTYW.ds['DomainRightEdge'] zdW3 = FTYW.ds['DomainLeftEdge'] kV0q = JjmR - zdW3 except: JjmR = FTYW.data.ds['DomainRightEdge'] zdW3 = FTYW.data.ds['DomainLeftEdge'] kV0q = JjmR - zdW3 DkWr = oyIN.zeros(3) for YRbF, jDK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IINl(YKHO, fUYa):\n lHmx, t2JV, F1vV, Plq0 = fUYa.size()\n fUYa = fUYa.permute(0, 3, 2, 1)\n or8S = ht2j.arange(F1vV, device=fUYa.device)\n mmqj, nMkn = (or8S.unsqueeze(0), or8S.unsqueeze(1))\n gfMq = ht2j.abs(mmqj - nMkn)\n if F1vV != t2JV:\n gfMq = gfMq[:, :t2JV]\n ZHfW = fUYa...
[ "0.56847703", "0.55326337", "0.5481701", "0.54664737", "0.538059", "0.5325605", "0.52111894", "0.5205152", "0.519846", "0.51961416", "0.5108735", "0.51027304", "0.50812495", "0.50812495", "0.50812495", "0.50812495", "0.5061491", "0.50597787", "0.50593007", "0.5058505", "0.503...
0.7429752
0
Set the group's definition.
def VYRv(YKHO, q_DO): return YKHO.client._perform_json('PUT', '/admin/groups/%s' % YKHO.name, body=q_DO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def q_DO(YKHO, q_DO):\n YKHO._definition = q_DO", "def VYRv(YKHO, q_DO):\n return YKHO.client._perform_json('PUT', '/projects/%s/managedfolders/%s' % (YKHO.project_key, YKHO.odb_id), body=q_DO)", "def QYWb(YKHO, uOe2):\n YKHO.config.GROUP = uOe2", "def q_DO(YKHO, q_DO: List[PipelineDefinition]):\n ...
[ "0.700113", "0.68629426", "0.6688239", "0.66694266", "0.65902597", "0.65711033", "0.6542075", "0.64840984", "0.64840984", "0.64840984", "0.6321388", "0.6256382", "0.62282515", "0.62070966", "0.6112045", "0.608821", "0.5954409", "0.58832735", "0.58815926", "0.58678097", "0.573...
0.83831835
0
Encode float x between 1 and 1 as two bytes.
def kLcZ(WKvO): YRbF = int(16384 * WKvO) return lndC('h').pack(YRbF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VmgT(WKvO):\n assert type(WKvO) is float\n dVuD = float.hex(WKvO)\n RaZj = tnwh.match(dVuD)\n assert RaZj\n KCHu = RaZj.group('sign')\n r8hN = RaZj.group('mantissa')\n nESp = RaZj.group('signexp')\n tTpl = RaZj.group('exp')\n iEeM = '['\n if KCHu:\n iEeM += KCHu\n if int...
[ "0.6785549", "0.6759016", "0.6680987", "0.66505665", "0.662883", "0.64889437", "0.63726604", "0.630351", "0.6209765", "0.62045646", "0.60710794", "0.6047133", "0.6036422", "0.5979504", "0.5974094", "0.59223753", "0.59071773", "0.5883423", "0.5873075", "0.5860104", "0.58443576...
0.6081865
10
returns well formated time string.
def EgnU(): return ITS7.strftime('%A, %H:%M')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Px7F(YKHO):\n try:\n if not YKHO._time:\n raise ValueError\n GUy1 = '%a, %d %b %Y %H:%M:%S'\n return qcWV.fromtimestamp(float(YKHO._time)).strftime(GUy1)\n except ValueError:\n return K3Yb()", "def Bc_l():\n return ITS7.strftime(ix3z)", "def scnb(YKHO):\n ...
[ "0.815023", "0.80154544", "0.7944513", "0.78629076", "0.78456205", "0.780953", "0.7661317", "0.7514476", "0.75072527", "0.7481121", "0.7479614", "0.74715257", "0.7369408", "0.730658", "0.72583234", "0.7253269", "0.7239677", "0.7239282", "0.72138816", "0.7201866", "0.7179637",...
0.7368552
13
Get haversine distance between two points. Expects points as (latitude, longitude) tuples.
def hbI6(YKHO, KwKv, YBrO): if KwKv and YBrO: return GeVo(tuple(KwKv), tuple(YBrO))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GeVo(fJfP, hWOy):\n m6kB = 6372.8\n YRrr = fJfP[0]\n HTmV = hWOy[0]\n CcJL = fJfP[1]\n vnyE = hWOy[1]\n YRrr, CcJL = oyIN.radians((YRrr, CcJL))\n HTmV, vnyE = oyIN.radians((HTmV, vnyE))\n qGcS = HTmV - YRrr\n WmXC = vnyE - CcJL\n _gok = oyIN.square(oyIN.sin(oyIN.multiply(qGcS, 0.5...
[ "0.83035445", "0.7816804", "0.77963793", "0.7723899", "0.7710364", "0.77098763", "0.76932836", "0.7692517", "0.76734084", "0.7669112", "0.76634717", "0.76595026", "0.76426387", "0.76405525", "0.76393706", "0.7636176", "0.7633867", "0.76333475", "0.7632323", "0.7632117", "0.76...
0.7399359
63
Testing response from utility.slug_exists
def LuNm(wOJN: str, j9QY: mysql.connector.connect, zdQx: bool=False): geh0 = f7Dd.slug_exists(wOJN, j9QY) assert geh0 if zdQx: print(qQXR.dumps(geh0, indent=2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WCCo(wOJN: str, j9QY: mysql.connector.connect, zdQx: bool=False):\n geh0 = f7Dd.slug_exists(wOJN, j9QY)\n assert not geh0\n if zdQx:\n print(qQXR.dumps(geh0, indent=2))", "def Dp35(YKHO):\n x0hE = i9zE()\n s5ru = ['bryan-fox-snowboard-2017', 'some_slug']\n geh0 = x0hE.get('/products/...
[ "0.7455614", "0.696593", "0.6729905", "0.6658974", "0.6644025", "0.651248", "0.64338064", "0.6289599", "0.62832946", "0.6256759", "0.6191592", "0.6190503", "0.6176051", "0.6156027", "0.6128501", "0.6127749", "0.6121748", "0.6099984", "0.6061959", "0.6038353", "0.60328275", ...
0.78204477
0
Testing response from utility.slug_exists
def WCCo(wOJN: str, j9QY: mysql.connector.connect, zdQx: bool=False): geh0 = f7Dd.slug_exists(wOJN, j9QY) assert not geh0 if zdQx: print(qQXR.dumps(geh0, indent=2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LuNm(wOJN: str, j9QY: mysql.connector.connect, zdQx: bool=False):\n geh0 = f7Dd.slug_exists(wOJN, j9QY)\n assert geh0\n if zdQx:\n print(qQXR.dumps(geh0, indent=2))", "def Dp35(YKHO):\n x0hE = i9zE()\n s5ru = ['bryan-fox-snowboard-2017', 'some_slug']\n geh0 = x0hE.get('/products/{0}/...
[ "0.78219306", "0.69698805", "0.6733279", "0.6659201", "0.6638983", "0.6518815", "0.6433914", "0.62932885", "0.62897146", "0.6262688", "0.6193431", "0.6191733", "0.6183213", "0.6163275", "0.6135989", "0.6127789", "0.61203545", "0.60967493", "0.6067284", "0.60357344", "0.603227...
0.7455917
1
Given a byte string, return a RNG seed value
def X2_A(KCHu): return Z0GS('l', xORj(KCHu).digest())[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qcO_(input):\n return HBct.md5(input.encode('utf8')).hexdigest()", "def igb0(gLiZ, YXPB):\n KCHu = ''\n for YRbF in range(YXPB):\n KCHu += gLiZ[tuKI.randint(0, len(gLiZ) - 1)]\n return KCHu", "def Xb0j(vIwR: str, yokr: int) -> bytes:\n assert isinstance(yokr, int)\n oY58 = aYCJ(yok...
[ "0.73840284", "0.6614374", "0.6609516", "0.6471527", "0.6441519", "0.6411584", "0.6379423", "0.63573474", "0.6315166", "0.63030607", "0.62426937", "0.621534", "0.6212165", "0.61402225", "0.61214125", "0.60838044", "0.6072454", "0.6050465", "0.6027221", "0.5991569", "0.5981195...
0.79750985
0
Return the variant name that ``environ`` is assigned to within ``experiment`` If ``record`` is true, write a line to the log file indicating that the variant was shown. (No deduping is done the log line is always written. A page with ``show_variant`` might record multiple hits on reloads etc)
def wYHs(PNq_, ftWC, AIu6=False, pPTc=None): qf54 = PNq_['swab.swab'] kLQb = qf54.experiments[ftWC] LHRG = kLQb.weighted_variants Km8D = N4Se(PNq_) if not qf54.include(PNq_, ftWC): pPTc = pPTc if pPTc is not None else kLQb.control if W8x2(PNq_): pPTc = pPTc if pPTc is not None el...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wc4K(PNq_, xi3E, ftWC=None):\n if W8x2(PNq_):\n return\n qf54 = PNq_['swab.swab']\n if ftWC is None:\n try:\n evlW = qf54.experiments_by_goal[xi3E]\n except KeyError:\n raise ValueError('Invalid goal: {!r}'.format(xi3E))\n else:\n evlW = [qf54.exper...
[ "0.57108766", "0.53370416", "0.5209742", "0.47805443", "0.47755566", "0.47740227", "0.47651005", "0.4763143", "0.47235376", "0.46972078", "0.4593119", "0.45164788", "0.4513941", "0.45026544", "0.45011175", "0.44935486", "0.44927618", "0.44902852", "0.4485001", "0.44665545", "...
0.6956545
0
convert to unix timestamp
def UnHN(IZrA): aevO = ITS7.strptime(IZrA, '%Y-%m-%d %H:%M') return ITS7.mktime(aevO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u7it(Ei1M):\n return int(round(Ei1M * 1000000.0))", "def QGdl(E3oo):\n return E3oo / 1000000.0", "def _v3t(E3oo):\n _c1T = qcWV.strptime(E3oo, '%Y-%m-%d %H:%M:%S')\n return int(ITS7.mktime(_c1T.timetuple())) * 1000", "def tAwz(Emd4, E3oo):\n if not isinstance(E3oo, qcWV.datetime):\n ...
[ "0.81328446", "0.81225735", "0.806153", "0.79576576", "0.78275156", "0.76299036", "0.7617567", "0.73813546", "0.7369568", "0.7350043", "0.72691005", "0.725604", "0.7213637", "0.7193658", "0.7176386", "0.7169469", "0.70531976", "0.7052877", "0.70428014", "0.70408314", "0.70312...
0.78108984
5
Dismisses a request. Returns the updated ApprovalRequest.
def O3Jc(YKHO, QePW, QpfX): QpfX.set_code(IYqO.StatusCode.UNIMPLEMENTED) QpfX.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qHB8(YKHO, QePW, jMd6=None):\n GPtr = YKHO.GetMethodConfig('Reject')\n return YKHO._RunMethod(GPtr, QePW, global_params=jMd6)", "def Dz2K(YKHO, eOtH, **B2fa):\n KBgZ, PObu, QpfX = YKHO._get_cr_uid_context()\n Ylbp = YKHO._check_leave_request(KBgZ, PObu, QePW, eOtH, context=QpfX)\n if isinstanc...
[ "0.637088", "0.6211055", "0.594087", "0.594087", "0.5614389", "0.5610705", "0.5576027", "0.55367386", "0.5525588", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.54731977", "0.5473...
0.72069657
0
Gets the address of the 'sender'. This is determined by looking at the ``Sender`` header and then the ``From`` header. Alternatively if a ``ResentDate`` header is present, look at ``ResentSender`` and ``ResentFrom``, in that order.
def vC92(YKHO): H5ew, Zc6P = ('Sender', 'From') if not YKHO.resent else ('Resent-Sender', 'Resent-From') BWXx = YKHO.get(H5ew) or YKHO.get(Zc6P) bGrB, rRzo = gfUS([BWXx])[0] return rRzo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BTdo(YKHO):\n BTdo = None\n if YKHO.smtp_from != None and len(YKHO.smtp_from) > 0:\n BTdo = YKHO.smtp_from\n elif YKHO.sender != None and len(YKHO.sender) > 0:\n BTdo = YKHO.sender\n else:\n BTdo = YKHO.author\n return EDCT(BTdo)", "def NgsT(Ol8d):\n B9Lv = Ol8d['payloa...
[ "0.7063626", "0.6986507", "0.65325415", "0.62701935", "0.62288105", "0.61276823", "0.61128455", "0.59757423", "0.59212536", "0.59179157", "0.5907463", "0.5851787", "0.5830255", "0.5721543", "0.5663292", "0.56535846", "0.5631547", "0.55883694", "0.5586396", "0.55701566", "0.55...
0.86421484
0
Block until `num_windows` are present and are ready (usually 2, but can be overridden in the case of popups opening other popups). Switch the current window to the new popup.
def iEVD(YKHO, yikj=2, vYBr=10): YKHO.wait_until(lambda Csk6: len(Csk6.window_handles) == yikj, vYBr) YKHO.selenium.switch_to.window(YKHO.selenium.window_handles[-1]) YKHO.wait_page_ready()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uMEX(YKHO):\n n2Q1 = ITS7.time()\n try:\n HKxV = YKHO.driver.window_handles\n I1mm = 0\n while len(HKxV) < 2:\n ITS7.sleep(1)\n HKxV = YKHO.driver.window_handles\n I1mm += 1\n if I1mm == 5:\n break\n YKHO.driver.switch...
[ "0.721894", "0.6129312", "0.6125073", "0.6033363", "0.58155733", "0.57954174", "0.5764158", "0.56394064", "0.552571", "0.55177635", "0.55119395", "0.55041003", "0.54933107", "0.54900235", "0.5489751", "0.5424759", "0.5410189", "0.5352759", "0.534321", "0.5331983", "0.5310833"...
0.81485814
0
Loads the training data for a dataset.
def yMDc(H5ew: str, lTma: str=IS8x, mR58: bool=False) -> rLdf.DataFrame: EvQg = Py5e(H5ew, lTma, 'train') if mR58: ClYY = Py5e(H5ew, lTma, 'validation') return rLdf.concat([EvQg, ClYY]) else: return EvQg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UlWi(YKHO):\n YKHO._load_train_data()\n YKHO._load_test_data()", "def AyYN(YKHO):\n MVVZ = YKHO.get_file_list()\n nPrm = YKHO.concatenate_file_data(MVVZ)\n nPrm = YKHO.shuffle_data_dictionary(nPrm)\n YKHO.training_dataset, YKHO.validation_dataset = YKHO.split_data_into_training_and_validati...
[ "0.7938365", "0.79241556", "0.7774563", "0.75485736", "0.739858", "0.73710525", "0.7321907", "0.7295291", "0.72888845", "0.720759", "0.71871364", "0.71665263", "0.7162327", "0.7147582", "0.7132345", "0.71184653", "0.71032596", "0.7087726", "0.7026929", "0.702674", "0.70197713...
0.0
-1
Computes the sum of piped elements.
def MCOv(): @O9mc def rpeX(pan_): try: KCHu = (yield) while True: KCHu += (yield) except GeneratorExit: pan_.send(KCHu) pan_.close() return rpeX
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GEXK(Q6uT):\n\n def Qw6N(WKvO, LVAh):\n return WKvO + LVAh\n return Pusg(Qw6N, Q6uT, 0)", "def ls4S(ezWE):\n return sum(ezWE)", "def zBIP(aPd6):\n Aofo = 0\n for tTpl in aPd6:\n Aofo = Aofo + tTpl\n return Aofo", "def NZYc(YKHO):\n return YKHO.with_reduction(lambda WKvO...
[ "0.6616403", "0.65874755", "0.6501158", "0.649301", "0.6461831", "0.645371", "0.64041674", "0.63927406", "0.6296797", "0.6282094", "0.6263707", "0.6238551", "0.6228723", "0.6215732", "0.6215732", "0.61986583", "0.61852807", "0.61668545", "0.6148457", "0.6136826", "0.6115042",...
0.6042551
25
Returns the nth piped element.
def _J4B(exwG): if exwG >= 0: @O9mc def rj1M(pan_): YRbF = 0 try: while True: tTpl = (yield) if YRbF == exwG: pan_.send(tTpl) pan_.close() return ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _J4B(OxJJ, d6pt):\n return next(Hs6x.islice(OxJJ, d6pt, None))", "def _J4B(OxJJ, exwG, WmM4=None):\n return next(uOgj(OxJJ, exwG, None), WmM4)", "def _J4B(OxJJ, exwG, WmM4=None):\n return next(uOgj(OxJJ, exwG, None), WmM4)", "def _J4B(OxJJ, exwG, WmM4=None):\n return next(uOgj(OxJJ, exwG, Non...
[ "0.7004952", "0.67978615", "0.67978615", "0.67978615", "0.67094094", "0.6700167", "0.6694007", "0.64411706", "0.6437495", "0.6082297", "0.5898216", "0.5897228", "0.5822544", "0.581808", "0.57932955", "0.57579285", "0.57565194", "0.5737585", "0.5726128", "0.57235223", "0.56921...
0.5993725
10
Converts all elements to a list.
def mFWN(): @O9mc def rpeX(pan_): vC9B = [] try: while True: vC9B.append((yield)) except GeneratorExit: pan_.send(vC9B) pan_.close() return rpeX
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mFWN(YKHO):\n return YKHO._elements", "def nN0S(U6D_):\n return list(U6D_)", "def mFWN(YKHO):\n return YKHO.main_list[:YKHO.num_elements]", "def lovD(YKHO):\n U5bT = []\n for tTpl in YKHO:\n U5bT.append(tTpl)\n return U5bT", "def TYb8(YKHO):\n try:\n return [WKvO.asli...
[ "0.8275669", "0.81462365", "0.79078794", "0.7889437", "0.77627856", "0.7532826", "0.74830043", "0.74379027", "0.7401745", "0.73202884", "0.72912097", "0.72816545", "0.72770405", "0.7252381", "0.7232675", "0.7164391", "0.71600354", "0.7124933", "0.7115259", "0.7034816", "0.700...
0.0
-1
Computes the smallest element.
def T8H5(): @O9mc def rpeX(pan_): xc3U = False try: r8hN = (yield) xc3U = True while True: r8hN = min((yield), r8hN) except GeneratorExit: if xc3U: pan_.send(r8hN) pan_.close() return rpeX
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CL9V(YKHO):\n return YKHO.pointers[0].smallest()", "def k9Va(YKHO):\n return YKHO._find_smallest(YKHO.root)", "def CTDF(YKHO):\n if YKHO.is_empty():\n raise rWmY('Priority queue is empty')\n wuLw = YKHO._data.first()\n ZAda = YKHO._data.after(wuLw)\n while ZAda is not None:\n ...
[ "0.7876701", "0.772716", "0.76537013", "0.75176656", "0.74732924", "0.739643", "0.72460824", "0.7240524", "0.7236728", "0.7220079", "0.7197006", "0.7191742", "0.7152507", "0.71227264", "0.71118397", "0.7097382", "0.7097382", "0.7088581", "0.70704484", "0.7034412", "0.7017098"...
0.0
-1
Calculates the percentage of identity of the total positives of the sequence.
def iW6b(qI_P, mVR9, mxpF, Abbp, hDlK='mean'): if hDlK == 'mean': Ii1o = qI_P / ((mVR9 + mxpF) / 2.0) elif hDlK == 'subject': Ii1o = qI_P / mxpF elif hDlK == 'query': Ii1o = qI_P / mVR9 elif hDlK == 'shortest': Ii1o = qI_P / min(mVR9, mxpF) elif hDlK == 'longest': ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OwdS(pNkO, JHIL):\n hHld = 0\n for YRbF in range(len(pNkO)):\n if pNkO[YRbF] == JHIL[YRbF]:\n hHld += 1\n OwdS = hHld / len(pNkO)\n return OwdS", "def GBIp(wxdF, O48g, eaNo=False):\n wxdF = str(wxdF)\n O48g = str(O48g)\n hHld = sum((eHRp == N0Z2 for eHRp, N0Z2 in zip(wx...
[ "0.65390223", "0.6515089", "0.63775533", "0.6201187", "0.615566", "0.6150113", "0.61199296", "0.6119925", "0.60783774", "0.6054726", "0.60261333", "0.6025453", "0.59780717", "0.5976818", "0.59649134", "0.5948958", "0.5903477", "0.5860782", "0.58463955", "0.5841654", "0.582455...
0.0
-1
Returns the set of `.Character`\s that have `value` for this feature.
def QHbV(YKHO, BWXx): return YKHO.binary_features_model.get_feature_value_characters(YKHO, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TSF4(YKHO, BWXx):\n return [YEnM for YEnM in YKHO if YEnM == BWXx]", "def VpZS(YKHO, BWXx: str) -> P18b:\n return {G1Hx: Ty9i for G1Hx, Ty9i in YKHO.items() if BWXx in G1Hx}", "def ncX1(YKHO, BWXx):\n MKlR = YKHO.hash_value(BWXx)\n return YKHO.values[MKlR]", "def VpZS(YKHO, BWXx):\n return...
[ "0.5890968", "0.5688868", "0.5527459", "0.5504594", "0.54946214", "0.5487836", "0.5477165", "0.5427281", "0.5349244", "0.5341464", "0.53099036", "0.5278726", "0.5217075", "0.516564", "0.5146724", "0.51349", "0.51041853", "0.50752044", "0.50656664", "0.5048949", "0.5046607", ...
0.6952912
0
Returns the name of this feature.
def mWFP(YKHO): return YKHO._name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n mWFP = YKHO.function_name\n if YKHO.feature_type:\n mWFP = '%s for %s' % (mWFP, YKHO.feature_type)\n return mWFP", "def Q0HP(YKHO):\n return _VfD.SpeciesFeature_getName(YKHO)", "def Q0HP(YKHO):\n return YKHO._get_name()", "def W0tD(YKHO) -> str:\n return YKHO._name"...
[ "0.8163839", "0.8099396", "0.8087407", "0.80335754", "0.80335754", "0.8014481", "0.8000538", "0.7997496", "0.7997496", "0.7997496", "0.7986719", "0.7942612", "0.7941901", "0.7937916", "0.7937916", "0.7937916", "0.7930768", "0.7928762", "0.7927503", "0.7927503", "0.7927503", ...
0.0
-1
Sets the name of this feature. Raises `.InvalidFeatureError` if a `.Feature` with `name` already exists.
def mWFP(YKHO, mWFP): if mWFP == YKHO.name: return if (YKHO.binary_features_model, mWFP) in V_n5._cache: raise dIe8('A feature with that name already exists') V_n5._cache[YKHO.binary_features_model, mWFP] = YKHO del V_n5._cache[YKHO.binary_features_model, YKHO.name] YKHO._name = mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WZrJ(YKHO, mWFP: str):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP):\n assert isinstance(mWFP, str), 'Name must be string'\n YKHO._name = mWFP", "def zPdd(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def W...
[ "0.71547073", "0.7124311", "0.71228874", "0.7100316", "0.7080733", "0.7080733", "0.69512314", "0.69512314", "0.69512314", "0.69512314", "0.69512314", "0.6949462", "0.6898298", "0.6898298", "0.6895141", "0.6895141", "0.6895141", "0.6895141", "0.68934083", "0.68934083", "0.6859...
0.73817676
0
Mean squared error loss between tensors.
def OAQZ(aC0l: tf.Tensor, bbTD: tf.Tensor) -> ZylS.Tensor: return ZylS.reduce_mean(ZylS.square(aC0l - bbTD), axis=-1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qET2(YKHO, WKvO, LVAh):\n N77f = ZylS.reduce_mean(ZylS.square(WKvO - LVAh))\n return N77f", "def SDab(YKHO):\n print('Mean squared error regression loss: ' + str(SDab(YKHO.model.dataset.get_y_test(), YKHO.model.get_predicted())))", "def C8aB(aTLP: Tensor, pan_: Tensor) -> AzJI[llWB, int]:\n PPM...
[ "0.7225804", "0.7004067", "0.69485277", "0.6944287", "0.6882972", "0.6753286", "0.6753286", "0.6722914", "0.67028606", "0.6654901", "0.66345024", "0.66239566", "0.6554793", "0.6505661", "0.64975107", "0.646438", "0.6446355", "0.64342386", "0.64339024", "0.6426225", "0.6424997...
0.6628873
11
Returns a window tensor of length block_samples.
def uNas(aqv8: str, oZjE: int) -> ZylS.Tensor: if aqv8 == 'vorbis': KnxT = ZylS.signal.vorbis_window(oZjE, dtype=ZylS.float32) elif aqv8 == 'kaiser-bessel-derived': KnxT = ZylS.signal.kaiser_bessel_derived_window(oZjE, dtype=ZylS.float32) elif aqv8 == 'rectangular': KnxT = 1.0 / ZylS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iV2P(dg6W, yMhW):\n nnyg = dg6W.shape[0] / yMhW\n l3Db = dg6W.reshape(nnyg, yMhW)\n return l3Db", "def fLaV(exwG, U_5e, VCOg, KnxT='hann'):\n dO8u = oyIN.ones(exwG)\n if U_5e is not None:\n u54L = U_5e[1] - U_5e[0]\n yzQ0 = uNas(KnxT, 2 * u54L, fftbins=False)[:u54L]\n dO8u...
[ "0.59750587", "0.57199824", "0.5640767", "0.5506828", "0.5499058", "0.5434761", "0.54266846", "0.5417098", "0.54167485", "0.5407174", "0.5351567", "0.5336577", "0.5298298", "0.52684", "0.52637005", "0.5256342", "0.52424526", "0.52358645", "0.52228546", "0.521575", "0.5212628"...
0.6902383
0
Returns a list of all configurations.
def FBLE(xTyj=None, aSFH=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBLE(OaeV):\n kY6D = _kjN(OaeV)\n uaPq = uljH.build(kY6D, format='plain')\n yvT9 = uaPq.format()\n k8wH.echo(yvT9)", "def LHSi(YKHO):\n return YKHO.antenny_config.list_configs()", "def b32v(YKHO) -> list[PSrQ]:\n return YKHO._configs", "def b32v(YKHO):\n return YKHO._configs", "def...
[ "0.81496894", "0.76175296", "0.7560762", "0.7486581", "0.7457627", "0.7395934", "0.7383896", "0.73618954", "0.72756207", "0.7179393", "0.71595", "0.71187985", "0.7080655", "0.707782", "0.701058", "0.6980264", "0.6970693", "0.6902579", "0.6885412", "0.6857631", "0.6851067", ...
0.7460839
4
Updates the specified configuration.
def NkS1(R3QS=None, QyXt=None, AHoS=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YYiC(YKHO, GPtr):\n return YKHO._update_config('config', GPtr)", "def QdZT(YKHO, _fuv):\n YKHO._update(_fuv, allow_new_keys=True)", "def QdZT(YKHO, _fuv):\n YKHO._update(_fuv, allow_new_keys=True)", "def QdZT(YKHO, GPtr):\n if not isinstance(GPtr, dict):\n raise ValueError('Argument `c...
[ "0.8141559", "0.7549448", "0.7420452", "0.73441833", "0.7247309", "0.7192998", "0.7133488", "0.71058196", "0.71058196", "0.7082361", "0.701444", "0.69779575", "0.6977395", "0.69764256", "0.696486", "0.69444394", "0.6938764", "0.69255507", "0.6875318", "0.68520725", "0.6830598...
0.73293966
4
Gets a list of all possible configuration variables.
def mrPm() -> x1iM[str]: return [a1PO.name.upper() for a1PO in Wuvz]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lSnF(YKHO):\n return []", "def EXYZ(YKHO):\n return list(YKHO._properties.keys())", "def lSnF(YKHO):\n return YKHO.item.get_all_variables()", "def s_OU(YKHO):\n if YKHO.resolved_vars:\n return YKHO.resolved_vars\n return YKHO.config_vars", "def zOMZ(YKHO) -> bdIy['outputs.ConfigVa...
[ "0.740127", "0.7112045", "0.70103055", "0.69724935", "0.68641305", "0.68588084", "0.67774206", "0.67564994", "0.67217577", "0.6690859", "0.6690859", "0.6690859", "0.6593279", "0.65261173", "0.6487689", "0.6443123", "0.6429913", "0.6395116", "0.63869435", "0.6374178", "0.63390...
0.6276216
24
Gets a configuration value. If the variable was not defined, an exception is raised.
def Zmkp(YKHO, H5ew: Union[str, ConfigurationVariable]) -> ImMB: if not H5ew: raise KeyError(H5ew) jgBG = H5ew.name if isinstance(H5ew, Wuvz) else H5ew return YKHO._fetch_value(jgBG)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BzgC(YKHO, BWXx):\n try:\n wEf2 = getattr(YKHO.configuration, BWXx)\n except AttributeError:\n wEf2 = None\n return wEf2", "def X3mR(mWFP):\n return ogJ0().get(mWFP)", "def x0PB(mWFP):\n\n def NMoC():\n try:\n return GPtr.get('yourls', mWFP)\n except (q...
[ "0.7283182", "0.7142011", "0.70885974", "0.705593", "0.70391566", "0.70325804", "0.7007848", "0.69628954", "0.6950451", "0.694499", "0.6901913", "0.6897057", "0.68651205", "0.6820106", "0.67958146", "0.6787257", "0.67792886", "0.6766844", "0.67599636", "0.6758628", "0.6747717...
0.62023264
59
Returns a list of categories that do not contain any recipes
def FbPP(cuiw: Session=JHvC(PaT4)): return NCls.categories.get_empty(cuiw)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bNkC(YKHO, Ghho='framework'):\n Csk6 = Ulvh.select().where(Ulvh.category.is_null(True) | (Ulvh.category != Ghho))\n aPd6.debug('There a re %s modules not in category %s', Csk6.count(), Ghho)\n return [xZ4x(WKvO.id, WKvO) for WKvO in Csk6]", "def LeZt(YKHO) -> x1iM[qZuN]:\n return list(set(YKHO.ma...
[ "0.6808517", "0.6448826", "0.6354266", "0.63300705", "0.62893087", "0.62727416", "0.62042975", "0.6190728", "0.6075756", "0.6016972", "0.5989042", "0.5975313", "0.59666854", "0.59597105", "0.59583783", "0.5939417", "0.59355664", "0.59276164", "0.5898155", "0.5896381", "0.5884...
0.6654499
1
Returns a list of recipes associated with the provided category.
def tHdI(Ghho: str, cuiw: Session=JHvC(PaT4), eTTr: bool=JHvC(T_ME)): RKWv = NCls.categories.get(cuiw, Ghho) RKWv = lwM0.from_orm(RKWv) if not eTTr: RKWv.recipes = [WKvO for WKvO in RKWv.recipes if WKvO.settings.public] return RKWv
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AHLC(Ghho):\n if Ghho == 'Pre Workout Meal':\n YSCM = qm8v.db.recipes.find({'category_name': 'Pre Workout Meal'})\n elif Ghho == 'Post Workout Meal':\n YSCM = qm8v.db.recipes.find({'category_name': 'Post Workout Meal'})\n else:\n YSCM = qm8v.db.recipes.find()\n return TvZl('pag...
[ "0.76018226", "0.69922644", "0.67220163", "0.65922475", "0.6558985", "0.6557389", "0.65376204", "0.653463", "0.65069", "0.639185", "0.6188669", "0.6144611", "0.61445194", "0.61394197", "0.6134375", "0.6122007", "0.6094847", "0.60712487", "0.59640574", "0.59531623", "0.5946525...
0.7455978
1
Uses the PATCH to update a resource for the given scope. Only one operation can be performed in each PATCH call.
def Po4F(YKHO, FSDk, oPhP, pmON, BWXx, vYBr=-1): MOPg = {'Content-Type': 'application/json-patch+json'} return YKHO._client.patch(FSDk, oPhP, pmON, BWXx, timeout=vYBr, custom_headers=MOPg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sjLq(YKHO, j8eK, TBsA=None, nNXP=None, MOPg=None, ajCK=None):\n return YKHO.scope.patch(uri=j8eK, body=TBsA, api=nNXP, headers=MOPg, etag=ajCK)", "def l_lP(YKHO, QePW, _sei=None):\n return oGir({'http_method': 'PATCH'})", "def QdZT(qsJ6, Eorv):\n nPrm = mbBz(QePW)\n Eorv = ROek.resource.update(...
[ "0.70250696", "0.63248914", "0.63185644", "0.6283441", "0.62729067", "0.62419254", "0.6233083", "0.61171335", "0.60754937", "0.6051159", "0.60433984", "0.6014973", "0.59888595", "0.5987367", "0.59501636", "0.5913019", "0.5878041", "0.5796376", "0.5739735", "0.5718846", "0.571...
0.0
-1
Given an input array consisting on only 0, 1, and 2, sort the array in a single traversal.
def P20W(IqQl): if len(IqQl) == 0: return None Hnqc = 0 X1A1 = 0 kfxm = 0 for mLGw in IqQl: if mLGw == 0: Hnqc += 1 elif mLGw == 1: X1A1 += 1 else: kfxm += 1 hlel = [] for YRbF in range(0, Hnqc): hlel.append(0) f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BA9O(qw7D):\n for YRbF in range(0, len(qw7D)):\n for r845 in range(len(qw7D) - 1, YRbF, -1):\n if qw7D[r845] < qw7D[r845 - 1]:\n p1y5 = qw7D[r845]\n qw7D[r845] = qw7D[r845 - 1]\n qw7D[r845 - 1] = p1y5\n return qw7D", "def BA9O(YKHO, xYvp: L...
[ "0.6790825", "0.6756854", "0.6684242", "0.6669369", "0.6659245", "0.66420394", "0.6598284", "0.6588693", "0.65535897", "0.6550824", "0.6500933", "0.6485513", "0.64646965", "0.64432114", "0.6430052", "0.6428736", "0.64218473", "0.6420982", "0.64177406", "0.6404819", "0.6386866...
0.0
-1
Standardize input data to have zero mean and unit variance along feature dimensions. Similar to scikitlearn.processing.scale(), but returns means and variances in addition to standarized input, and has ddof parameter which affects computation of variances.
def hWT_(EcVT, jDK_=0, P_MT=0): EcVT = oyIN.asarray(EcVT, dtype=oyIN.float) adSQ = oyIN.rollaxis(EcVT, jDK_) wlkA = adSQ.mean(axis=0) nSFz = adSQ.std(axis=0, ddof=P_MT) nSFz[nSFz == 0.0] = 1.0 adSQ -= wlkA NDdZ = adSQ.mean(axis=0) if not oyIN.allclose(NDdZ, 0.0): qmLP.warn('Numer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hWT_(nPrm):\n z2bo = nPrm.std()\n if z2bo != 0.0:\n nPrm = (nPrm - nPrm.mean()) / nPrm.std()\n return nPrm", "def hWT_(nPrm):\n JBMS = nPrm.mean(axis=0)\n M1Jx = nPrm.std(axis=0)\n return (nPrm - JBMS) / M1Jx", "def hWT_(EcVT):\n yGTL = EcVT.mean(axis=0, keepdims=True)\n KCHu...
[ "0.7115907", "0.70862305", "0.70727885", "0.70645875", "0.70583", "0.70100576", "0.69769627", "0.69720316", "0.69720316", "0.6946827", "0.682666", "0.6804854", "0.6770882", "0.67705953", "0.67619914", "0.6750939", "0.67126554", "0.6708978", "0.66790986", "0.6639417", "0.66385...
0.76980513
0
Formats the time value in a format suitable for LUUP comms.
def hlel(YKHO): if YKHO.after_sunrise: return '%02d:%02d:%02dR' % YKHO.time if YKHO.after_sunset: return '%02d:%02d:%02dT' % YKHO.time return '%02d:%02d:%02d' % YKHO.time
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ct8j(YKHO, ITS7):\n TKQ0 = ITS7[0:2]\n cpvk = ITS7[2:4]\n KG9w = ITS7[4:]\n return '%s:%s:%s UTC' % (TKQ0, cpvk, KG9w)", "def ct8j(YKHO, ITS7):\n Wave = ITS7 // 3600\n ITS7 = ITS7 - Wave * 3600\n O66n = ITS7 // 60\n C6wh = ITS7 - O66n * 60\n return '%d:%d:%d' % (Wave, O66n, C6wh)",...
[ "0.830306", "0.8286327", "0.8100969", "0.7786937", "0.7718911", "0.76446545", "0.7608089", "0.7536039", "0.7455622", "0.7420675", "0.7377161", "0.73537415", "0.73470724", "0.7339059", "0.7318305", "0.730552", "0.73000723", "0.7267157", "0.72397643", "0.72223276", "0.7189066",...
0.0
-1
Formats the time value in a format suitable for LUUP comms.
def hlel(YKHO): return {'id': YKHO.id, 'name': YKHO.name, 'type': 2, 'enabled': 1, 'days_of_week': YKHO.days, 'time': YKHO.time.output()}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ct8j(YKHO, ITS7):\n TKQ0 = ITS7[0:2]\n cpvk = ITS7[2:4]\n KG9w = ITS7[4:]\n return '%s:%s:%s UTC' % (TKQ0, cpvk, KG9w)", "def ct8j(YKHO, ITS7):\n Wave = ITS7 // 3600\n ITS7 = ITS7 - Wave * 3600\n O66n = ITS7 // 60\n C6wh = ITS7 - O66n * 60\n return '%d:%d:%d' % (Wave, O66n, C6wh)",...
[ "0.830306", "0.8286327", "0.8100969", "0.7786937", "0.7718911", "0.76446545", "0.7608089", "0.7536039", "0.7455622", "0.7420675", "0.7377161", "0.73537415", "0.73470724", "0.7339059", "0.7318305", "0.730552", "0.73000723", "0.7267157", "0.72397643", "0.72223276", "0.7189066",...
0.0
-1
Formats the time value in a format suitable for LUUP comms.
def hlel(YKHO): return {'id': YKHO.id, 'name': YKHO.name, 'type': 3, 'enabled': 1, 'days_of_month': YKHO.days, 'time': YKHO.time.output()}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ct8j(YKHO, ITS7):\n TKQ0 = ITS7[0:2]\n cpvk = ITS7[2:4]\n KG9w = ITS7[4:]\n return '%s:%s:%s UTC' % (TKQ0, cpvk, KG9w)", "def ct8j(YKHO, ITS7):\n Wave = ITS7 // 3600\n ITS7 = ITS7 - Wave * 3600\n O66n = ITS7 // 60\n C6wh = ITS7 - O66n * 60\n return '%d:%d:%d' % (Wave, O66n, C6wh)",...
[ "0.830306", "0.8286327", "0.8100969", "0.7786937", "0.7718911", "0.76446545", "0.7608089", "0.7536039", "0.7455622", "0.7420675", "0.7377161", "0.73537415", "0.73470724", "0.7339059", "0.7318305", "0.730552", "0.73000723", "0.7267157", "0.72397643", "0.72223276", "0.7189066",...
0.0
-1
Formats the timer value in a format suitable for LUUP comms.
def hlel(YKHO): ITS7 = '%04d-%02d-%02d %02d:%02d:%02d' % (YKHO.year, YKHO.month, YKHO.date, YKHO.hours, YKHO.minutes, YKHO.seconds) return {'id': YKHO.id, 'name': YKHO.name, 'type': 4, 'enabled': 1, 'abstime': ITS7}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qO0_(BWXx):\n if BWXx == jQ4c.CLOCK_TIME_NONE:\n return '--:--:--.---'\n NmYP = BWXx / jQ4c.MSECOND\n kRsb = NmYP / 1000\n NmYP = NmYP % 1000\n eRPr = kRsb / 60\n kRsb = kRsb % 60\n Wave = eRPr / 60\n eRPr = eRPr % 60\n return '%02d:%02d:%02d.%03d' % (Wave, eRPr, kRsb, NmYP)",...
[ "0.7057297", "0.70508975", "0.6897918", "0.6799885", "0.66760427", "0.66338396", "0.6560244", "0.65564954", "0.6544702", "0.6493388", "0.6485683", "0.6468109", "0.6445397", "0.6445397", "0.64337915", "0.64230114", "0.641604", "0.64019185", "0.63848585", "0.63845503", "0.63766...
0.0
-1
Formats the time value in a format suitable for LUUP comms.
def hlel(YKHO): return {'device': YKHO.device.id, 'action': 'SetModeTarget', 'arguments': [{'name': 'NewModeTarget', 'value': YKHO.value}], 'service': 'urn:upnp-org:serviceId:HVAC_UserOperatingMode1'}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ct8j(YKHO, ITS7):\n TKQ0 = ITS7[0:2]\n cpvk = ITS7[2:4]\n KG9w = ITS7[4:]\n return '%s:%s:%s UTC' % (TKQ0, cpvk, KG9w)", "def ct8j(YKHO, ITS7):\n Wave = ITS7 // 3600\n ITS7 = ITS7 - Wave * 3600\n O66n = ITS7 // 60\n C6wh = ITS7 - O66n * 60\n return '%d:%d:%d' % (Wave, O66n, C6wh)",...
[ "0.830306", "0.8286327", "0.8100969", "0.7786937", "0.7718911", "0.76446545", "0.7608089", "0.7536039", "0.7455622", "0.7420675", "0.7377161", "0.73537415", "0.73470724", "0.7339059", "0.7318305", "0.730552", "0.73000723", "0.7267157", "0.72397643", "0.72223276", "0.7189066",...
0.0
-1
Formats the time value in a format suitable for LUUP comms.
def hlel(YKHO): DBcx = [] for YRbF in YKHO.actions: DBcx.append(YRbF.output()) return {'delay': YKHO.delay, 'actions': DBcx}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ct8j(YKHO, ITS7):\n TKQ0 = ITS7[0:2]\n cpvk = ITS7[2:4]\n KG9w = ITS7[4:]\n return '%s:%s:%s UTC' % (TKQ0, cpvk, KG9w)", "def ct8j(YKHO, ITS7):\n Wave = ITS7 // 3600\n ITS7 = ITS7 - Wave * 3600\n O66n = ITS7 // 60\n C6wh = ITS7 - O66n * 60\n return '%d:%d:%d' % (Wave, O66n, C6wh)",...
[ "0.830306", "0.8286327", "0.8100969", "0.7786937", "0.7718911", "0.76446545", "0.7608089", "0.7536039", "0.7455622", "0.7420675", "0.7377161", "0.73537415", "0.73470724", "0.7339059", "0.7318305", "0.730552", "0.73000723", "0.7267157", "0.72397643", "0.72223276", "0.7189066",...
0.0
-1
Converts LUUP group value to an Group object.
def hfK9(R7cT, KCHu): CBbI = cQ68() CBbI.delay = KCHu.get('delay', 0) if KCHu.has_key('actions'): for YRbF in KCHu['actions']: CBbI.actions.append(eax5.parse(R7cT, YRbF)) return CBbI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CfWd(YKHO, UXqs: str, LaVg, V724=None, oeNL=0, Os4s=None):\n return YKHO._decode_message(UXqs + '.group', LaVg, V724, oeNL, Os4s, group=True)", "def Pnm4(YKHO, uOe2):\n return uOe2", "def Sv2y(YKHO):\n return _VfD.GroupsModelPlugin_createGroup(YKHO)", "def uK52(C4gk: Group) -> 'GetGroupOut':\n ...
[ "0.64105105", "0.62783045", "0.61443603", "0.5964704", "0.5950644", "0.58804524", "0.58676463", "0.57369196", "0.5734876", "0.57157207", "0.56987154", "0.5675089", "0.56251466", "0.5616373", "0.5611009", "0.56036973", "0.5572259", "0.55713665", "0.5571279", "0.5571249", "0.55...
0.0
-1
Formats the time value in a format suitable for LUUP comms.
def hlel(YKHO): jsay = [] for YRbF in YKHO.triggers: jsay.append(YRbF.output()) eFqJ = [] for YRbF in YKHO.timers: eFqJ.append(YRbF.output()) xASv = [] for YRbF in YKHO.actions: xASv.append(YRbF.output()) wEf2 = {'name': YKHO.name, 'triggers': jsay, 'triggers_operator...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ct8j(YKHO, ITS7):\n TKQ0 = ITS7[0:2]\n cpvk = ITS7[2:4]\n KG9w = ITS7[4:]\n return '%s:%s:%s UTC' % (TKQ0, cpvk, KG9w)", "def ct8j(YKHO, ITS7):\n Wave = ITS7 // 3600\n ITS7 = ITS7 - Wave * 3600\n O66n = ITS7 // 60\n C6wh = ITS7 - O66n * 60\n return '%d:%d:%d' % (Wave, O66n, C6wh)",...
[ "0.8302747", "0.8286827", "0.8102087", "0.7787403", "0.77195966", "0.76435107", "0.7608041", "0.7536261", "0.74554026", "0.742164", "0.7377048", "0.735342", "0.7346546", "0.7339629", "0.7318111", "0.73050725", "0.7300715", "0.7268844", "0.7240075", "0.7223254", "0.71890646", ...
0.0
-1
Returns the user_data. Doesn't fetch, this is a local copy.
def h4Rr(YKHO): return YKHO.user_data
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XA88(YKHO):\n return YKHO.user_data", "def gFsc(YKHO):\n return YKHO._user_data", "def K62i(YKHO):\n return {'key': YKHO._key}", "def gFsc(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'user_data')", "def h4Rr(YKHO, NArs):\n return YKHO.netflix_session.user_data", "def gFsc(...
[ "0.8169714", "0.8095618", "0.7632922", "0.71973425", "0.7140925", "0.7117155", "0.7097041", "0.6993281", "0.69420636", "0.68616825", "0.6822268", "0.67933583", "0.6765997", "0.6761875", "0.67468804", "0.67468804", "0.67435133", "0.67283404", "0.6670426", "0.6670426", "0.66704...
0.8329072
1
Initialize the battery's attributes.
def FIMM(YKHO, n8ok=70): YKHO.battery_size = n8ok YKHO._range = 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, n8ok=40):\n YKHO.battery_size = n8ok", "def FIMM(YKHO, n8ok=70):\n YKHO.battery_size = n8ok", "def FIMM(YKHO, n8ok=70):\n YKHO.battery_size = n8ok", "def FIMM(YKHO, n8ok=70):\n YKHO.battery_size = n8ok", "def FIMM(YKHO, n8ok=70):\n YKHO.battery_size = n8ok", "def FIMM(YKHO, ...
[ "0.7382613", "0.7372676", "0.73595077", "0.73595077", "0.73595077", "0.7341583", "0.7341583", "0.7318316", "0.7314949", "0.72837543", "0.720656", "0.7195093", "0.6997041", "0.6961723", "0.69487923", "0.69059587", "0.69059587", "0.69059587", "0.69059587", "0.69059587", "0.6905...
0.72273797
10
This function generates a dataset for testing.
def _knY(r8hN, exwG): aPd6 = oyIN.random.rand(r8hN) aPd6 /= oyIN.sum(aPd6) o4sw = oyIN.random.rand(r8hN) o4sw /= oyIN.sum(o4sw) uD85 = oyIN.random.randint(2, size=exwG) if oyIN.sum(uD85) == 0: uD85[0] = 1 ATH5 = oyIN.sum(uD85) i8nr = oyIN.random.randint(2, size=exwG) if oyIN....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vp8A(YKHO):\n lNWu = {'train': 10, 'test': 5}\n V_D6 = {'strings_list': lambda WKvO: FjoW(YKHO.generate_string_list(WKvO)), 'data': lambda WKvO: oyIN.random.randint(0, 10, (WKvO, 10)), 'number': lambda WKvO: oyIN.array(range(WKvO)), 'field_with_a_long_name_for_printing': lambda WKvO: oyIN.array(range(WKv...
[ "0.79837745", "0.7818398", "0.7485943", "0.7339358", "0.72963846", "0.7289017", "0.7251184", "0.71550786", "0.7155024", "0.71485484", "0.713878", "0.70842254", "0.70625556", "0.7059079", "0.7013427", "0.7010403", "0.700694", "0.70036906", "0.69783914", "0.69538766", "0.693573...
0.0
-1
This function prints and plots the confusion matrix. Normalization can be applied by setting `normalize=True`.
def LwSz(Bcwd, KndY, NkkI=False, leAC='Confusion matrix', iMGt=QrM1.cm.Blues): if NkkI: Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis] print('Normalized confusion matrix') else: print('Confusion matrix, without normalization') print(Bcwd) QrM1.imshow(Bcwd, interp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LwSz(Bcwd, KndY=[0, 1], NkkI=False, leAC='Confusion matrix', RMso=False):\n if NkkI:\n Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]\n print('Normalized confusion matrix')\n else:\n print('Confusion matrix, without normalization')\n if RMso:\n print(Bcwd)"...
[ "0.8194862", "0.80949175", "0.8029915", "0.8019153", "0.79941195", "0.7991258", "0.7980955", "0.7976606", "0.79610753", "0.79590565", "0.79378676", "0.7934962", "0.7934504", "0.79313844", "0.7926313", "0.7924577", "0.79241234", "0.7923211", "0.7923023", "0.7921931", "0.791787...
0.78289187
77
Stacks all tiles to the left (removes 0 tiles in between
def E5BI(YKHO): xRNz = [[0] * YKHO.TILES_PER_ROW for bGrB in range(YKHO.TILES_PER_ROW)] for YRbF in range(len(YKHO.main_grid_values)): z_L2 = 0 for r845 in range(len(YKHO.main_grid_values)): if YKHO.main_grid_values[YRbF][r845] != 0: xRNz[YRbF][z_L2] = YKHO.main_grid_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def asS5(Cs6h):\n for rdlD in range(4):\n XLMv = []\n for fvDH in range(4):\n XLMv.append(Cs6h[rdlD][fvDH])\n H2v5(XLMv)\n for YRbF in range(4):\n Cs6h[rdlD][YRbF] = XLMv[YRbF]", "def asS5(Cs6h):\n for YRbF in range(4):\n rdlD = Cs6h[YRbF]\n i...
[ "0.658915", "0.6504933", "0.65013134", "0.6491859", "0.64734244", "0.64495087", "0.62187284", "0.61069673", "0.60476315", "0.60431457", "0.6032471", "0.59942514", "0.5932268", "0.5927403", "0.58883834", "0.58675236", "0.5861471", "0.5860595", "0.5842543", "0.58294946", "0.578...
0.5866541
16
Estimate the traffic_density_value based on the event_level.
def sFwT(YRVS): if YRVS == 1: rgHH = 0.2 elif YRVS == 2: rgHH = 0.4 elif YRVS == 3: rgHH = 0.6 elif YRVS == 4: rgHH = 0.8 else: rgHH = 0.0 return rgHH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GORJ(YKHO):\n return YKHO.density", "def y8Wl(YKHO) -> float:\n return YKHO.number_of_edges() / (YKHO.number_of_nodes() * YKHO.number_of_nodes())", "def InLe(YKHO):\n return YKHO.__density", "def InLe(YKHO):\n return YKHO.__density", "def InLe(YKHO):\n return YKHO.__density", "def InLe...
[ "0.57345724", "0.56086147", "0.5601732", "0.5601732", "0.5601732", "0.5592952", "0.5555226", "0.55484194", "0.54998827", "0.54952395", "0.5457937", "0.54040146", "0.5395886", "0.5351017", "0.53383577", "0.53267956", "0.52948207", "0.5237844", "0.5216934", "0.5212698", "0.5209...
0.9137478
0
Builds string representation of this Filter according to given status props
def Pst5(YKHO, sqhJ, egYw, AOVZ, lyA0): if sqhJ: tO9_ = [DgsR.header(egYw)] else: tO9_ = [YKHO._tab + egYw] if YKHO.position is None: dQgj = None nNnO = None elif YKHO.is_lean: dQgj = qF2n.lean_tostring(YKHO.position) nNnO = True else: dQgj = Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return YKHO._status(True, 'Filter Settings', True, True)", "def zAg0(YKHO):\n jGRS = 'height = {}\\n'.format(YKHO.height)\n jGRS += 'width = {}\\n'.format(YKHO.width)\n jGRS += 'channels = {}\\n'.format(YKHO.channels)\n jGRS += 'architecture = {}\\n'.format(YKHO.architecture)\n ...
[ "0.64111984", "0.6269969", "0.61518097", "0.6081638", "0.6052652", "0.59558564", "0.59185785", "0.5865406", "0.58609235", "0.5812674", "0.575836", "0.57502013", "0.5701664", "0.56334794", "0.561896", "0.5615521", "0.5615521", "0.5615521", "0.5611125", "0.56078815", "0.5597464...
0.0
-1
Checks if this position is same as other
def A4Oi(YKHO, Elif): if YKHO.position is None: return True return YKHO.position == Elif.position and YKHO.is_lean == Elif.is_lean
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rEwH(YKHO, Elif) -> bool:\n return YKHO.x == Elif.x and YKHO.y == Elif.y", "def xa14(YKHO, Elif):\n return oyIN.all(YKHO.grid == Elif.grid) and oyIN.all(YKHO.pos == Elif.pos)", "def kJTp(YKHO, Elif):\n if not isinstance(Elif, PvyL):\n return False\n return YKHO.longitude == Elif.getLongi...
[ "0.8272488", "0.77663636", "0.76447225", "0.7614881", "0.75296444", "0.75296444", "0.7499151", "0.7494381", "0.74886096", "0.74875194", "0.7385204", "0.73789984", "0.73221517", "0.7297861", "0.7261573", "0.72557604", "0.7214861", "0.7179091", "0.7162696", "0.71524656", "0.714...
0.741624
10
Checks if this eqyes is same as other
def DCEk(YKHO, Elif): if YKHO.eyes is None: return True return YKHO.eyes == Elif.eyes
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return YKHO.label == Elif.label and YKHO.positive_state == Elif.positive_state", "def kJ0s(YKHO, Elif):\n return super().__eq__(Elif)", "def aPi6(YKHO, Elif):\n ...", "def xa14(YKHO, Elif):\n return YKHO - Elif == 0.0", "def xa14(YKHO, Elif):\n return YKHO is Elif", ...
[ "0.72695816", "0.7240952", "0.71349186", "0.712271", "0.70886564", "0.70744175", "0.7070279", "0.7070279", "0.7063236", "0.7007927", "0.6974256", "0.69569004", "0.69407207", "0.6939727", "0.69346464", "0.692419", "0.69163775", "0.69163775", "0.6910529", "0.6908768", "0.689498...
0.7057644
9
Checks if this eyebrows is same as other
def aH1i(YKHO, Elif): if YKHO.eyebrows is None: return True return YKHO.eyebrows == Elif.eyebrows
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rEwH(YKHO, Elif) -> bool:\n return YKHO.x == Elif.x and YKHO.y == Elif.y", "def T0rY(YKHO, Elif):\n return id(YKHO) == id(Elif)", "def kJ0s(YKHO, Elif):\n return super().__eq__(Elif)", "def IzcV(YKHO, jzdc, Fg_i):\n return jzdc.X[0] == Fg_i.X[0]", "def hHbZ(YKHO, Elif):\n return YKHO.com...
[ "0.7462955", "0.7440001", "0.74314004", "0.7364724", "0.7345994", "0.7310879", "0.729638", "0.7276006", "0.7238774", "0.7218947", "0.7211706", "0.7200641", "0.71863335", "0.71863335", "0.71863335", "0.7175648", "0.7164705", "0.71396947", "0.7128936", "0.7128527", "0.7128527",...
0.0
-1
Checks if this mouth is same as other
def K2vM(YKHO, Elif): if YKHO.mouth is None: return True return YKHO.mouth == Elif.mouth
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rx_7(YKHO, Elif):\n return YKHO.name == Elif.name and YKHO.color == Elif.color", "def xa14(YKHO, Elif):\n for Uqbu, nEeK in zip(YKHO.leaderboard_names, Elif.leaderboard_names):\n if Uqbu != nEeK:\n return False\n for Uqbu, nEeK in zip(YKHO.leaderboard_groups, Elif.leaderboard_group...
[ "0.7532379", "0.7131618", "0.71137446", "0.706669", "0.69201463", "0.6890522", "0.68844396", "0.6851405", "0.6715963", "0.67021585", "0.6684793", "0.6682464", "0.6668589", "0.66326725", "0.66319984", "0.66313493", "0.6631014", "0.6618932", "0.66138184", "0.66033596", "0.66016...
0.76118165
0
DO NOT MODIFY THIS FUNCTION. Turns a concatenated string of integers separated by commas into an array of integers. (Inverse of array_to_concatenated_string).
def MVos(vIwR): return oyIN.array([int(WKvO) for WKvO in vIwR.split(',')])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tDrF(n_L_):\n return [int(Q7me) for Q7me in n_L_.split(',')]", "def MVos(vIwR):\n return oyIN.array([int(WKvO) for WKvO in vIwR.split(',')])", "def qSIP(zFiD, SAEY=','):\n ezWE = zFiD.split(SAEY)\n return [int(jzdc) for jzdc in ezWE]", "def eO8q(WKvO):\n if type(WKvO) == str:\n retu...
[ "0.7098479", "0.7086754", "0.70612913", "0.7033959", "0.6964396", "0.6868449", "0.681138", "0.6683693", "0.6658759", "0.66382974", "0.65829784", "0.65423083", "0.64676654", "0.646104", "0.640258", "0.63879126", "0.6272543", "0.62636197", "0.6262445", "0.6212794", "0.61693317"...
0.7137505
0
Gets Lake resource spec.
def hr2j(): return RvYX.ResourceSpec('dataplex.projects.locations.lakes', resource_name='lakes', projectsId=RvYX.DEFAULT_PROJECT_ATTRIBUTE_CONFIG, locationsId=haZm(), lakesId=YM4s())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uIg3(YKHO) -> h8nf[qe4Y.Input['ZoneResourceSpecArgs']]:\n return qe4Y.get(YKHO, 'resource_spec')", "def uIg3(YKHO) -> qe4Y.Input['ZoneResourceSpecArgs']:\n return qe4Y.get(YKHO, 'resource_spec')", "def uIg3(YKHO) -> qe4Y.Output['outputs.ZoneResourceSpec']:\n return qe4Y.get(YKHO, 'resource_spec')"...
[ "0.6344094", "0.63038486", "0.6272768", "0.6107871", "0.61015373", "0.61015373", "0.58368295", "0.5692467", "0.56837964", "0.5666892", "0.5640301", "0.56166697", "0.5608287", "0.55980504", "0.5566798", "0.5566798", "0.5566798", "0.55617744", "0.55613405", "0.55532306", "0.553...
0.7039225
0
Gets Asset resource spec.
def My8H(): return RvYX.ResourceSpec('dataplex.projects.locations.lakes.zones.assets', resource_name='assets', projectsId=RvYX.DEFAULT_PROJECT_ATTRIBUTE_CONFIG, locationsId=haZm(), lakesId=YM4s(), zonesId=ihTl(), assetsId=Nj0T())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IbHI(YKHO):\n return YKHO._asset", "def jxrn(YKHO) -> VRsD.generic.Metadata:\n I6gc = eNOG.assets.fields\n return I6gc.perform_request(http=YKHO.auth.http, asset_type=YKHO.parent.ASSET_TYPE)", "def uIg3(YKHO) -> qe4Y.Output['outputs.ZoneResourceSpec']:\n return qe4Y.get(YKHO, 'resource_spec')",...
[ "0.6476778", "0.64248", "0.6403296", "0.63654333", "0.63585794", "0.62365174", "0.61875117", "0.60630274", "0.60630274", "0.60616636", "0.60417134", "0.6038786", "0.6005142", "0.5932051", "0.59171665", "0.5909279", "0.5895812", "0.58878636", "0.5885875", "0.5878514", "0.58126...
0.7784672
0
Adds a resource argument for a Dataplex Lake.
def t7AJ(wvEv, b7IC, _4TM=True): mWFP = 'lake' if _4TM else '--lake' return Bx3Z.ConceptParser.ForResource(mWFP, hr2j(), 'The Lake {}'.format(b7IC), required=True).AddToParser(wvEv)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(Ro_8, kFeU: str, qIxc: StudioArgs, VKhi: Optional[pulumi.ResourceOptions]=None):\n ...", "def FIMM(Ro_8, kFeU: str, qIxc: AppArgs, VKhi: Optional[pulumi.ResourceOptions]=None):\n ...", "def GkJ4(wvEv, b7IC):\n Bx3Z.ConceptParser.ForResource('operation_id', Q7s3(), 'operation {}.'.format(b7IC)...
[ "0.6283504", "0.6018771", "0.60154927", "0.6006599", "0.59795964", "0.59432536", "0.5939319", "0.591699", "0.59037113", "0.59015626", "0.59015626", "0.59015626", "0.58287686", "0.58016133", "0.5783999", "0.57805574", "0.57735217", "0.57735217", "0.57631904", "0.5750424", "0.5...
0.69543314
0
Adds a resource argument for a Dataplex Zone.
def _l_F(wvEv, b7IC, _4TM=True): mWFP = 'zone' if _4TM else '--zone' return Bx3Z.ConceptParser.ForResource(mWFP, bTlJ(), 'The Zone {}'.format(b7IC), required=True).AddToParser(wvEv)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(Ro_8, kFeU: str, qIxc: ZoneArgs, VKhi: Optional[pulumi.ResourceOptions]=None):\n ...", "def FIMM(Ro_8, kFeU: str, qIxc: Optional[ZoneArgs]=None, VKhi: Optional[pulumi.ResourceOptions]=None):\n ...", "def FIMM(Ro_8, kFeU: str, qIxc: ZoneRecordArgs, VKhi: Optional[pulumi.ResourceOptions]=None):\n ...
[ "0.69324344", "0.6784813", "0.67455554", "0.62313795", "0.6043233", "0.59471524", "0.58801323", "0.58437955", "0.5808192", "0.5782746", "0.57183087", "0.5672343", "0.5633759", "0.5629229", "0.55915713", "0.55720156", "0.5571359", "0.5566925", "0.55518407", "0.5539854", "0.553...
0.8057603
0
FNV hash a filename to be used to find it's ID in the manifest
def QQJF(Ux0P): a1IC = 2166136261 oArZ = 16777619 Zuiu = Ux0P.lower() Eh5f = a1IC r5rN = 2 ** 32 for Z9rn in Zuiu: Eh5f = Eh5f * oArZ % r5rN Eh5f = Eh5f ^ ord(Z9rn) return format(Eh5f, 'x')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bCr8(NtEF, Ux0P) -> str:\n W2a_ = NtEF + '/#/' + Ux0P\n return HBct.sha224(W2a_.encode('utf-8')).hexdigest()", "def Iw1_(Ux0P):\n if isinstance(Ux0P, QMSQ):\n Ux0P = Ux0P.encode(kvN6)\n else:\n Ux0P = QMSQ(Ux0P, kvN6).encode(kvN6)\n r8hN = HBct.sha1(Ux0P)\n return 'TRACKER_' +...
[ "0.7470258", "0.72008824", "0.71966946", "0.6936476", "0.6872454", "0.686601", "0.6861185", "0.6861185", "0.6846643", "0.6797219", "0.6794213", "0.67499024", "0.67079115", "0.6703175", "0.66876423", "0.66661847", "0.6645909", "0.6633942", "0.66307604", "0.66263074", "0.660669...
0.75056905
0
Raise `click.ClickException` for settings file not found.
def CNvE(): Aofo = k8wH.ClickException('there is no settings file. Use `pulp-smash settings create` to create one.') Aofo.exit_code = -1 raise Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GSyo(OaeV, tk5Y):\n try:\n OaeV.obj = Z4C7(tk5Y)\n except emxN as e:\n k8wH.echo('Failed to read the settings file: %s' % str(tTpl), err=True)\n exit(1)", "def wfOa(YKHO):\n with YKHO.assertRaises(rqaQ):\n iK5T('DOES_NOT_EXIST')", "def C7Ke(YKHO):\n with YKHO.assertR...
[ "0.6399793", "0.63502395", "0.61822855", "0.6178516", "0.6165805", "0.60659224", "0.60520494", "0.6001203", "0.5979787", "0.58991784", "0.5860672", "0.58510244", "0.5824477", "0.5776361", "0.5770407", "0.5736104", "0.56836015", "0.56050754", "0.5603973", "0.5594075", "0.55636...
0.8626588
0
Given a set of BoxList containing the `labels` field, return a set of BoxList for which `labels > 0`.
def RyDd(oUSw): assert isinstance(oUSw, (list, tuple)) assert isinstance(oUSw[0], kuY_) assert oUSw[0].has_field('labels') d3qD = [] kmle = [] for Ud6m in oUSw: Crrw = Ud6m.get_field('labels') lgdc = Crrw > 0 noZV = lgdc.nonzero().squeeze(1) d3qD.append(Ud6m[noZV]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AzCm(Crrw):\n\n def t67G(rdlD):\n PSle = False\n for YRbF, bGrB in enumerate(rdlD):\n if PSle:\n rdlD[YRbF] = 0\n else:\n if rdlD[YRbF] == 10:\n PSle = True\n rdlD[YRbF] = 1\n return rdlD\n U5bT = o...
[ "0.60932386", "0.58965284", "0.58630615", "0.5844093", "0.58265597", "0.56753725", "0.5661014", "0.5642238", "0.56337553", "0.55428267", "0.55085385", "0.5502294", "0.5468191", "0.54316103", "0.5421658", "0.53988284", "0.5359744", "0.5350843", "0.53286016", "0.53136826", "0.5...
0.6557715
0
This function responds to a request for POST /api/categories/{id} and updates an existing category
def p20f(id, TBsA): faWL = qZuN.query.filter(qZuN.id == id).one_or_none() if faWL is not None: CniQ = wvnR() QdZT = CniQ.load(TBsA, session=Airw.session) QdZT.id = faWL.id Airw.session.merge(QdZT) Airw.session.commit() nPrm = CniQ.dump(faWL) return (nPrm, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NpNj(YKHO, id):\n wvEv = s9u5.RequestParser()\n wvEv.add_argument('name', location='json', required=False)\n wvEv.add_argument('details', location='json', required=False)\n qIxc = wvEv.parse_args()\n Ghho = eorc.query.get(id)\n dp9S = _Zgp()\n if Ghho is None:\n return ({'status': '...
[ "0.7960862", "0.76526177", "0.7405785", "0.7334255", "0.73098946", "0.7018985", "0.70019513", "0.69915915", "0.69138974", "0.6888584", "0.6883344", "0.6834275", "0.67945135", "0.6789431", "0.67796975", "0.676376", "0.66204786", "0.6562276", "0.65492725", "0.6525093", "0.64894...
0.7004808
6
Returns HLS channel thresholded binary image
def L0nn(VXjJ, knl1=(0, 1), YwkQ=2): VXjJ = XC5k.cvtColor(VXjJ, XC5k.COLOR_RGB2HLS) VXjJ = VXjJ[:, :, YwkQ] dbuB = oyIN.zeros_like(VXjJ, dtype='uint8') dbuB[(VXjJ > knl1[0]) & (VXjJ <= knl1[1])] = 1 return dbuB
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fQWS(VXjJ, knl1=(100, 255)):\n qJtC = XC5k.cvtColor(VXjJ, XC5k.COLOR_RGB2HLS)\n ZZTP = qJtC[:, :, 2]\n dbuB = oyIN.zeros_like(ZZTP)\n dbuB[(ZZTP > knl1[0]) & (ZZTP <= knl1[1])] = 1\n return dbuB", "def L0nn(VXjJ, knl1=(0, 255)):\n qJtC = XC5k.cvtColor(VXjJ, XC5k.COLOR_BGR2HSV)\n KCHu = q...
[ "0.8120919", "0.73225015", "0.7048407", "0.6875629", "0.68713135", "0.68606114", "0.67371464", "0.66210836", "0.6606525", "0.66001385", "0.65635836", "0.65600836", "0.64880157", "0.6451675", "0.6443836", "0.6390359", "0.63841474", "0.63765574", "0.63520026", "0.634955", "0.63...
0.71154135
2
Sobel directional gradient thresholded binary image
def Sk6z(VXjJ, ENzu='x', pg7l=3, knl1=(0, 255)): ITiw = XC5k.cvtColor(VXjJ, XC5k.COLOR_RGB2GRAY) ITiw = XC5k.GaussianBlur(ITiw, (7, 7), 0) if ENzu == 'x': H9dw = XC5k.Sobel(ITiw, XC5k.CV_64F, 1, 0, ksize=pg7l) elif ENzu == 'y': H9dw = XC5k.Sobel(ITiw, XC5k.CV_64F, 0, 1, ksize=pg7l) S...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xhof(YKHO, pg7l=3, knl1=(0, oyIN.pi / 2)):\n ITiw = XC5k.cvtColor(YKHO.img, XC5k.COLOR_RGB2GRAY)\n mS2J = XC5k.Sobel(ITiw, XC5k.CV_64F, 1, 0, ksize=pg7l)\n YdmJ = XC5k.Sobel(ITiw, XC5k.CV_64F, 0, 1, ksize=pg7l)\n O6OF = oyIN.absolute(mS2J)\n U2Ze = oyIN.absolute(YdmJ)\n XSoh = oyIN.arctan2(U2...
[ "0.7433044", "0.74020636", "0.7391537", "0.7139834", "0.7122859", "0.71148056", "0.70989805", "0.70909303", "0.69601524", "0.6872311", "0.68430775", "0.67360157", "0.6610729", "0.6584235", "0.6545409", "0.6540358", "0.6511584", "0.6435265", "0.6325449", "0.62410545", "0.62364...
0.66049045
13
Sobel direction thresholded binary image Define a function that applies Sobel x and y, then computes the direction of the gradient and applies a threshold.
def Xhof(VXjJ, pg7l=3, knl1=(0, oyIN.pi / 2)): ITiw = XC5k.cvtColor(VXjJ, XC5k.COLOR_RGB2GRAY) mS2J = XC5k.Sobel(ITiw, XC5k.CV_64F, 1, 0, ksize=pg7l) YdmJ = XC5k.Sobel(ITiw, XC5k.CV_64F, 0, 1, ksize=pg7l) O6OF = oyIN.absolute(mS2J) U2Ze = oyIN.absolute(YdmJ) czDj = oyIN.arctan2(U2Ze, O6OF) d...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xhof(YKHO, pg7l=3, knl1=(0, oyIN.pi / 2)):\n ITiw = XC5k.cvtColor(YKHO.img, XC5k.COLOR_RGB2GRAY)\n mS2J = XC5k.Sobel(ITiw, XC5k.CV_64F, 1, 0, ksize=pg7l)\n YdmJ = XC5k.Sobel(ITiw, XC5k.CV_64F, 0, 1, ksize=pg7l)\n O6OF = oyIN.absolute(mS2J)\n U2Ze = oyIN.absolute(YdmJ)\n XSoh = oyIN.arctan2(U2...
[ "0.7754886", "0.7750277", "0.7674439", "0.75668216", "0.7248371", "0.70974934", "0.6836462", "0.6737414", "0.6712526", "0.66784084", "0.65687925", "0.6506963", "0.6378256", "0.62585795", "0.6250263", "0.61934227", "0.60181105", "0.60126114", "0.5994576", "0.5981358", "0.59706...
0.7503214
4
Set SEM to frame size specified by frame_size_selector.
def HjBV(YKHO, BInF): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PTn_(YKHO, brh6):\n YKHO.frame_size = brh6", "def HjBV(*qIxc):\n return Hv0M.set_frame_size(*qIxc)", "def PcPv(YKHO, BInF, Y7KK, ajZS):\n raise NotImplementedError", "def n9U1(YKHO, Y7KK):\n raise NotImplementedError", "def NVrm(YKHO, zNig):\n YKHO.width = zNig[0]\n YKHO.height = zNig...
[ "0.644009", "0.63082814", "0.5972231", "0.5803603", "0.56265026", "0.5586474", "0.5455755", "0.54258424", "0.5414509", "0.5359248", "0.5288303", "0.52389497", "0.5198493", "0.51921535", "0.5184719", "0.51140684", "0.5082957", "0.5035657", "0.50345194", "0.50292933", "0.502907...
0.7696333
0
Set Y stigmation parameter (in %).
def S5DD(YKHO, FGrI): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z9NM(YKHO, LVAh):\n YKHO.y = LVAh\n pass", "def lcEV(YKHO, LVAh: float):\n YKHO.y = LVAh", "def z9NM(YKHO, LVAh):\n YKHO._y = LVAh", "def QEd2(YKHO, LVAh):\n YKHO._y = LVAh", "def lcEV(YKHO, LVAh):\n YKHO._y = LVAh", "def lcEV(YKHO, eLqP):\n YKHO.y = eLqP", "def fuBA(YKHO, BWXx...
[ "0.77033234", "0.7687281", "0.76164025", "0.75109446", "0.73778045", "0.73550785", "0.7325942", "0.7274487", "0.72567415", "0.72567415", "0.7248914", "0.7227555", "0.7178724", "0.71495086", "0.69311374", "0.69233173", "0.692218", "0.692218", "0.6917661", "0.6884505", "0.68823...
0.66743505
28
Read Y stage position (in micrometres) from SEM.
def LP1f(YKHO): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LVAh(YKHO):\n return YKHO._reg2val(Vfxy)", "def Rsnr(YKHO) -> float:\n return float(YKHO.dss_obj.XYCurvesF(gk2W.c_int32(2), gk2W.c_double(0)))", "def LVAh(YKHO, KCHu):\n return YKHO._y_rasters[KCHu]", "def YBz0(YKHO):\n return YKHO.y", "def LVAh(YKHO):\n return YKHO.yvar", "def xdjK(YK...
[ "0.62444323", "0.59207594", "0.58742946", "0.5865831", "0.58595407", "0.5778589", "0.57625204", "0.57396144", "0.57395995", "0.571952", "0.57005346", "0.5683039", "0.56525946", "0.56453514", "0.56392694", "0.5624726", "0.5623031", "0.56142044", "0.5597574", "0.55852264", "0.5...
0.6468053
0
r"""The equivalent von Mises stress of the stress tensor.
def YfJJ(YKHO): KCHu = YKHO.voigt return (1 / 2 * ((KCHu[0] - KCHu[1]) ** 2 + (KCHu[1] - KCHu[2]) ** 2 + (KCHu[2] - KCHu[0]) ** 2 + 6 * (KCHu[3] ** 2 + KCHu[4] ** 2 + KCHu[5] ** 2))) ** (1 / 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j7do(YKHO):\n KCHu = '::: forming the Cauchy stress tensor :::'\n whWJ(KCHu, YKHO.color)\n VG3a = YKHO.strain_rate_tensor(YKHO.U3)\n pdhd = VoC8(3)\n WTkW = 2 * YKHO.eta * VG3a - YKHO.p * pdhd\n return WTkW", "def EHkB(Kt_s):\n k0lF = tVah(Kt_s ** 0.5) / 2 ** 0.5\n return k0lF", "de...
[ "0.63026965", "0.621516", "0.59602857", "0.58621234", "0.5846458", "0.58017313", "0.57350266", "0.5717649", "0.5678394", "0.5677587", "0.56758827", "0.567131", "0.5667499", "0.56650406", "0.56198925", "0.56179166", "0.5612985", "0.5609266", "0.5601824", "0.55683726", "0.55656...
0.6874339
0
Create `StrainTensor` instance object.
def fwuD(Emd4, DDeg, rYO3='inch/inch', cCim='engineering'): BdN0 = super().__new__(Emd4, DDeg, rYO3) BdN0.__stype = cCim if BdN0.has_dimension(u54L / u54L): return BdN0 else: raise TypeError('`units` must be in strain (length/length or dimensionsless)')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BdN0(*qIxc, **B2fa):\n return xDcu(*qIxc, **B2fa)", "def EByH(YKHO):\n KkY2 = YKHO.U3\n return 0.5 * (Ro40(KkY2) + Ro40(KkY2).T)", "def vhpA(*qIxc, **B2fa):\n return llWB(*qIxc, **B2fa)", "def U490(Emd4, khtY, dbXf):\n Q6kx = Emd4._common_singa_tensor_to_onnx_node(khtY, dbXf)\n Q6kx.att...
[ "0.5762378", "0.5685676", "0.5597922", "0.55938536", "0.55464846", "0.5477593", "0.5474433", "0.5372612", "0.53288615", "0.52480525", "0.5143131", "0.5105402", "0.5087074", "0.5053489", "0.503757", "0.5035616", "0.5013724", "0.49595508", "0.49333724", "0.49260095", "0.4909906...
0.45179656
75
Returns the default collector settings
def yDgW(YKHO): GPtr = super(mn2k, YKHO).get_default_config() GPtr.update({'path': 'vms'}) return GPtr
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDgW(YKHO):\n GPtr = super(leyK, YKHO).get_default_config()\n GPtr.update({'enabled': 'True', 'fs': ',', 'timeout': 300})\n return GPtr", "def qimH():\n return {}", "def yDgW(YKHO):\n GPtr = super(iwOa, YKHO).get_default_config()\n GPtr.update({'url': lMln, 'path': 'dropwizard'})\n ret...
[ "0.7050511", "0.7008343", "0.69491726", "0.6575027", "0.6531221", "0.65213996", "0.6514668", "0.64666957", "0.6446549", "0.6413717", "0.63976383", "0.638016", "0.6367657", "0.63565797", "0.6351409", "0.6331504", "0.6311715", "0.6235863", "0.623104", "0.62065274", "0.6201228",...
0.67132765
3
Return a random twoqubit ladder circuit in the form of two MPOs.
def pxMn(AiNY): if AiNY <= 2: raise ValueError('Must have more than 2 qubits to form a ladder circuit (n_sites={}).'.format(AiNY)) RRgV = XVhu(AiNY, left=0) bo8Q = XVhu(AiNY, left=1) return (RRgV, bo8Q)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PtS7():\n exwG = 3\n jzdc = rAig(oyIN.ones(exwG))\n idx7 = rAig(oyIN.zeros(exwG))\n oD8f = rAig(4 * oyIN.pi / 6 * oyIN.ones(exwG))\n iIb4 = rAig(-4 * oyIN.pi / 6 * oyIN.ones(exwG))\n NArs = {'a': jzdc, 'theta': idx7, 'joint_limits_upper': oD8f, 'joint_limits_lower': iIb4}\n fQxG = ZnJ2(NAr...
[ "0.65684927", "0.617027", "0.5893483", "0.58299404", "0.5754283", "0.56673276", "0.5612049", "0.5587564", "0.5536792", "0.5526099", "0.5504806", "0.5503199", "0.5471561", "0.5454141", "0.54378676", "0.5433846", "0.5360063", "0.5334182", "0.533043", "0.52917546", "0.52819854",...
0.6002943
2
Return a random twoqubit ladder circuit in the form of two MPOs.
def Qz6Y(AiNY): if AiNY <= 2: raise ValueError('Must have more than 2 qubits to form a ladder circuit (n_sites={}).'.format(AiNY)) RRgV = Q2wK(AiNY, left=0) bo8Q = Q2wK(AiNY, left=1) return (RRgV, bo8Q)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PtS7():\n exwG = 3\n jzdc = rAig(oyIN.ones(exwG))\n idx7 = rAig(oyIN.zeros(exwG))\n oD8f = rAig(4 * oyIN.pi / 6 * oyIN.ones(exwG))\n iIb4 = rAig(-4 * oyIN.pi / 6 * oyIN.ones(exwG))\n NArs = {'a': jzdc, 'theta': idx7, 'joint_limits_upper': oD8f, 'joint_limits_lower': iIb4}\n fQxG = ZnJ2(NAr...
[ "0.65689045", "0.60028154", "0.58913124", "0.58287895", "0.57535493", "0.56672996", "0.56114334", "0.55856556", "0.55353236", "0.5525551", "0.55039227", "0.55038536", "0.54712576", "0.5451976", "0.5435777", "0.54336375", "0.5358143", "0.53325707", "0.53301644", "0.52907723", ...
0.6170097
1
Return the superoperator for a depolarising channel.
def cMfR(XP5J): return eA0O.kraus_to_super([oyIN.sqrt(1 - 3.0 * XP5J / 4.0) * eA0O.qeye(2), oyIN.sqrt(XP5J / 4.0) * eA0O.sigmax(), oyIN.sqrt(XP5J / 4.0) * eA0O.sigmay(), oyIN.sqrt(XP5J / 4.0) * eA0O.sigmaz()])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HR4F(YKHO):\n return YKHO.instrument.get_detector_integration_operator()", "def SDhz(YKHO):\n return h4iP([YKHO.instrument.get_detector_response_operator(YKHO.sampling[Fg_i]) for Fg_i in YKHO.block], axisin=1)", "def rWkg(Emd4, YEnM):\n if not isinstance(YEnM, udu8):\n raise eP6a('Input is ...
[ "0.5802397", "0.54883647", "0.54648656", "0.54432774", "0.54142916", "0.5380579", "0.5352711", "0.5334963", "0.5281863", "0.5213507", "0.5166896", "0.51423717", "0.5140613", "0.50614816", "0.50526285", "0.50503814", "0.5048025", "0.5045142", "0.5030909", "0.5008779", "0.49789...
0.55187756
1
Check if value exists in sdb. If it does, return, otherwise generate a random string and store it. This can be used for storing secrets in a centralized place.
def HdvO(j8eK, VKhi, u54L=8, gLiZ='abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)', BfDw=None): if not isinstance(j8eK, str) or not j8eK.startswith('sdb://'): return False if BfDw is None: BfDw = NTfD.loader.utils(VKhi) U5bT = AUt3(j8eK, VKhi, utils=BfDw) if U5bT is None: wEf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iTlz(mWFP):\n BWXx = ''.join(('%02x' % tuKI.randrange(256) for YRbF in range(32)))\n return PSrQ.get_or_insert(key_name=mWFP, value=BWXx).value", "def LJcR(Emd4):\n bo34.info('attempting to check the secret key...')\n try:\n KCHu = Emd4.objects.filter(is_active=True).first()\n if KC...
[ "0.62834156", "0.5699868", "0.56982523", "0.5695171", "0.56184644", "0.54917884", "0.5477109", "0.54618174", "0.54544103", "0.53758", "0.5367238", "0.53363734", "0.5330585", "0.5321428", "0.53098136", "0.5305735", "0.528827", "0.5264259", "0.5242812", "0.5232729", "0.5188904"...
0.55998874
5
When select file button is pressed a dialog of filenames is presented to the user. The selected files are then used when searching for codings If files are selected, then selected cases are cleared. The default is all file IDs. To revert to default after files are selected, the user must press select files button then ...
def qvKU(YKHO): iumf = [] YKHO.fileIDs = '' YKHO.caseIDs = '' DpUl = YKHO.settings['conn'].cursor() DpUl.execute('select id, name, status from source') Aofo = DpUl.fetchall() for rdlD in Aofo: iumf.append({'id': rdlD[0], 'name': rdlD[1], 'status': rdlD[2]}) YKHO.fileIDs += ',...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vDRj(YKHO):\n xAU6 = lZdW.Options()\n xAU6 |= lZdW.DontUseNativeDialog\n RRlC, bGrB = lZdW.getOpenFileNames(YKHO.parent, 'File Export', Hy7s.path.expanduser('~/'), 'Ensemble Files (*.ens, *.bin);;Binary Files (*.bin);;All Files (*)', options=xAU6)\n if RRlC:\n YKHO.selected_files = RRlC\n ...
[ "0.7522203", "0.7286166", "0.7180548", "0.7145201", "0.7129874", "0.7106964", "0.70322937", "0.6931579", "0.6924414", "0.69111323", "0.69007957", "0.68112266", "0.6739185", "0.6712555", "0.6684609", "0.6662698", "0.6649995", "0.6628709", "0.662563", "0.66180706", "0.6616277",...
0.80876476
0
Takes road shape mesh object. returns list of verts in global space
def uyaE(eRwz): GOzt = [] for YRbF in [0, 2, 4, 6]: GOzt.append(eRwz.matrix_world @ eRwz.data.vertices[YRbF].co) return GOzt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ohWu(YKHO, O6Qk='WORLD') -> oyIN.ndarray:\n J5zM = kZw_.context.evaluated_depsgraph_get()\n if O6Qk not in {'LOCAL', 'WORLD'}:\n raise ValueError(f\"Invalid ref_frame: {O6Qk}. Must be one of ['LOCAL', 'WORLD']\")\n _19w = []\n for rR8k in YKHO._meshes:\n ut3e = Hyz4.new()\n ut3...
[ "0.65510815", "0.6334725", "0.6297034", "0.6210977", "0.6131488", "0.61265653", "0.60700357", "0.6055088", "0.6006846", "0.6006846", "0.6006224", "0.59914243", "0.5983983", "0.5967597", "0.5950081", "0.5895438", "0.5894565", "0.58800244", "0.58592534", "0.5840108", "0.5816266...
0.702167
0
Returns all visitors that have been registered but not seen
def kRia(): return qO4N.objects.filter(acknowledged=False).order_by('arrival_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XIgt(YKHO):\n return filter(lambda exwG: not YKHO.visited(exwG), YKHO.table.keys())", "def GtEu(YKHO) -> x1iM[o7DN]:\n NCls = KUr9.connector.connect(host=YKHO.db_uri, database=YKHO.db_name, user=YKHO.db_user, password=YKHO.db_pass)\n N1p7 = NCls.cursor()\n xDcj = 'select * from node where date_vi...
[ "0.6442964", "0.6386559", "0.621115", "0.6067615", "0.5901003", "0.58763206", "0.58632696", "0.58006614", "0.5747568", "0.56837654", "0.567758", "0.5675179", "0.56230587", "0.55976754", "0.5594614", "0.5592165", "0.5592165", "0.5592165", "0.5592165", "0.5592165", "0.5592165",...
0.57727563
8
A QuerySet (list on frontend) of the Course objects which are crosslisted with this course (not including this course).
def CEBQ(YKHO): return YKHO.primary_listing.listing_set.exclude(id=YKHO.id)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z4w2(YKHO):\n return AJII.objects.filter(role=YKHO.role, user=YKHO.user)", "def rOGy(YKHO):\n return CQpO.objects.all().exclude(id__in=YKHO.overrides.all()).filter(T8ck(department__in=YKHO.departments.all(), semester=YKHO.semester) | T8ck(id__in=YKHO.courses.all()))", "def k8nB(YKHO):\n return YKH...
[ "0.6728154", "0.6714028", "0.6621667", "0.65071315", "0.6421437", "0.63046616", "0.6286539", "0.6191101", "0.6110874", "0.6095246", "0.6094224", "0.6093279", "0.60353184", "0.6015792", "0.60097045", "0.59841174", "0.59410495", "0.5847002", "0.58329654", "0.5830098", "0.581904...
0.6968052
0
A QuerySet (list on frontend) of all the PreNGSSRequirement objects this course fulfills. Note that a course fulfills a requirement if and only if it is not in the requirement's overrides set (related name nonrequirements_set), and is in the requirement's courses set (related name requirement_set) or its department is ...
def GmsC(YKHO): return KXfq.objects.exclude(id__in=YKHO.pre_ngss_nonrequirement_set.all()).filter(semester=YKHO.semester).filter(T8ck(id__in=YKHO.pre_ngss_requirement_set.all()) | T8ck(id__in=YKHO.department.pre_ngss_requirements.all()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ujio(fA3L: List[Req]) -> Tl2m:\n M6QM = {YPaw for qv1X in fA3L for YPaw in qv1X}\n TaFu = {YPaw: set() for YPaw in M6QM}\n for uv6v, m8z6 in fA3L:\n TaFu[m8z6].add(uv6v)\n return TaFu", "def fA3L(YKHO):\n fA3L = []\n return fA3L", "def rOGy(YKHO):\n return CQpO.objects.all().exc...
[ "0.65657735", "0.65197456", "0.6250825", "0.6239728", "0.61949897", "0.6155034", "0.61228627", "0.6076228", "0.60494286", "0.5859076", "0.5847443", "0.57035714", "0.56132984", "0.558871", "0.55577815", "0.5555229", "0.55495256", "0.54970825", "0.5487136", "0.5446815", "0.5441...
0.78029996
0
True if permission is required from the department for registration, false otherwise.
def Za88(YKHO): return 'permission' in YKHO.description.lower()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qHTF(YKHO, QePW, tTee):\n return QePW.user.group != 'patient'", "def qHTF(YKHO):\n g9KT = YKHO.kwargs.get('pk1', False)\n if g9KT and (not YKHO.request.user.organisations.filter(id=g9KT).exists()):\n return False\n return super().has_permission() and YKHO.request.user.is_org_user", "def ...
[ "0.67300475", "0.6655574", "0.65506923", "0.6515449", "0.6492487", "0.64640814", "0.6453731", "0.64535713", "0.6445859", "0.6445859", "0.6445859", "0.6371776", "0.6353381", "0.63396174", "0.6338675", "0.6324837", "0.62998104", "0.6281281", "0.6281281", "0.6276974", "0.6248508...
0.6805399
0
Returns the last StatusUpdate object for this section, or None if no status updates have occured for this section yet.
def NwBR(YKHO): try: return yufb.objects.filter(section=YKHO).latest('created_at') except yufb.DoesNotExist: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cV9T(YKHO) -> h8nf['outputs.CSIVXFlexOSStatusLastUpdate']:\n return qe4Y.get(YKHO, 'last_update')", "def cV9T(Emd4):\n p1kx = Ca9i.query.with_entities(Ca9i.updated_on).order_by(QoB4(Ca9i.updated_on)).first()\n if p1kx:\n return p1kx[0]\n else:\n return None", "def cV9T(YKHO) -> h8...
[ "0.68608874", "0.67597", "0.6646863", "0.66452193", "0.6610159", "0.6586678", "0.64550143", "0.64273673", "0.6382295", "0.6257615", "0.6067049", "0.5996363", "0.5996363", "0.5985811", "0.59653395", "0.59528345", "0.58898485", "0.58679897", "0.58635503", "0.58495295", "0.58457...
0.8278528
0
A QuerySet (list on frontend) of all Course objects which satisfy this requirement; in other words, a course satisfies this requirement if and only if it is in this set. A course is in this set if and only if it is not in the overrides set, and it is either in the courses set or its department is in the departments set...
def rOGy(YKHO): return CQpO.objects.all().exclude(id__in=YKHO.overrides.all()).filter(T8ck(department__in=YKHO.departments.all(), semester=YKHO.semester) | T8ck(id__in=YKHO.courses.all()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k8nB(YKHO):\n return YKHO.def_ms.get_courses()", "def BQSp(YKHO):\n if YKHO.is_superuser:\n return NIc0.objects.all()\n ptbr = T8ck(student__case_manager=YKHO)\n sblt = T8ck(section__teacher=YKHO)\n xQ7w = aw0m.objects.filter(section__teacher=YKHO)\n ER98 = T8ck(pk__in=[])\n for O...
[ "0.54506207", "0.54416525", "0.54084677", "0.5347712", "0.5326133", "0.529219", "0.5261276", "0.52394545", "0.5212234", "0.5200809", "0.5189396", "0.51864004", "0.51634246", "0.5120046", "0.50903416", "0.5048085", "0.50080127", "0.5007544", "0.500172", "0.49911886", "0.499118...
0.801339
0
Validator to check that a phone number is in the proper form. The number must be in a form which is parseable by the
def rqRT(BWXx): if BWXx.strip() == '': return try: MBR5.parse(BWXx, 'US') except MBR5.phonenumberutil.NumberParseException: raise sUXu('Enter a valid phone number.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SR9Q(BWXx):\n try:\n epBp = MBR5.parse(BWXx, None)\n except MBR5.NumberParseException:\n raise H6V6.ValidationError('Enter a valid phone number.')\n if not MBR5.is_valid_number(epBp):\n raise H6V6.ValidationError('Enter a valid phone number.')", "def rqRT(L03z, Jyyj):\n if le...
[ "0.8465023", "0.82467127", "0.80120647", "0.79973745", "0.78578955", "0.77385324", "0.77174115", "0.76849085", "0.75791246", "0.75637096", "0.75398934", "0.75086373", "0.75041157", "0.74982065", "0.73511785", "0.7346509", "0.72754884", "0.72742647", "0.7273203", "0.72612786", ...
0.82337385
2
Enable team management in this server.
async def admin_enable(YKHO, OaeV: commands.Context): if OaeV.guild.id in YKHO.guilds: await OaeV.send('Team management is already enabled in this guild.') return await YKHO._enable_guild(guild=OaeV.guild) await OaeV.send('Team management enabled.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def admin_disable(YKHO, OaeV: commands.Context):\n if OaeV.guild.id not in YKHO.guilds:\n await OaeV.send('Team management is already disabled in this guild.')\n return\n await YKHO._disable_guild(guild=OaeV.guild)\n await OaeV.send('Team management disabled.')", "def _HpP(YKHO):\n ...
[ "0.6525538", "0.6448005", "0.6207515", "0.6038968", "0.60138315", "0.59763694", "0.5774415", "0.56903124", "0.56903124", "0.56903124", "0.56903124", "0.55746585", "0.55334055", "0.55019486", "0.5432621", "0.5403025", "0.54026604", "0.5400243", "0.53799796", "0.53538686", "0.5...
0.7834238
0
Load a yaml file located at 'path' and return the content as a dictionary. If the yaml file does not exist an empty dictionary will be returned.
def f9B0(pmON): if Hy7s.path.exists(pmON): eHNT = open(pmON) nPrm = eJb6.load(eHNT) eHNT.close() return nPrm else: return {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f9B0(pmON):\n if Hy7s.path.exists(pmON):\n eHNT = open(pmON)\n nPrm = eJb6.load(eHNT)\n eHNT.close()\n return nPrm\n else:\n return {}", "def f9B0(pmON: str) -> dict:\n with open(pmON, 'r') as eHNT:\n SGPW = eJb6.load(eHNT, Loader=eJb6.FullLoader)\n retur...
[ "0.8915657", "0.882651", "0.8767586", "0.86684346", "0.85486746", "0.8146139", "0.8006426", "0.7931592", "0.7920281", "0.78656274", "0.78147167", "0.7727598", "0.772376", "0.7703141", "0.7632216", "0.76269853", "0.7573534", "0.75541437", "0.75241333", "0.75060207", "0.7403873...
0.86826485
3
Load an environment aware yaml configuration file into a dictionary. If a configuration depends on the target of the deployment it is possible to pass the name of the environment to this function (env). In such a case
def Dodi(pmON, sEAN=''): GPtr = f9B0(pmON) if GPtr: if 'all' in GPtr: all = GPtr['all'] else: return {} if sEAN != '': if sEAN in GPtr: all.update(GPtr[sEAN]) return all else: return {} re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NzmD():\n global api_key\n oagM = pmON.join(pmON.dirname(pmON.abspath(xAKo)), 'env.yml')\n try:\n wOb_ = open(oagM, 'r')\n LVAh = eJb6.safe_load(wOb_)\n except IOError:\n print('ERROR: Environment file {} not found'.format(oagM))\n HwRy.exit(3)\n except eJb6.parser.Pa...
[ "0.73397475", "0.724708", "0.7114326", "0.6869409", "0.6824845", "0.6765012", "0.66690683", "0.6633101", "0.66101325", "0.6602983", "0.66008955", "0.65983796", "0.6538155", "0.6531328", "0.6526037", "0.64967567", "0.6493746", "0.6463301", "0.6429241", "0.642644", "0.64079624"...
0.72177577
2
Convenience function to apply parametric rectify to a given layer's output. Will set the layer's nonlinearity to identity if there is one and will apply the parametric rectifier instead.
def d8Xq(gEmA, **B2fa): Kz5H = getattr(gEmA, 'nonlinearity', None) if Kz5H is not None: gEmA.nonlinearity = ibId.identity return kQe4(gEmA, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def etOA(gEmA, **B2fa):\n Kz5H = getattr(gEmA, 'nonlinearity', None)\n if Kz5H is not None:\n gEmA.nonlinearity = ibId.identity\n return fvv1(gEmA, **B2fa)", "def JmFt(YKHO, gEmA: Layer) -> None:\n if gEmA and gEmA.layer_index >= YKHO.num_layers:\n return\n fs6s.bltm(gEmA.offset.x, g...
[ "0.52134", "0.49756256", "0.48148406", "0.48042098", "0.4692173", "0.4687671", "0.4650861", "0.45507547", "0.454745", "0.45252416", "0.44434115", "0.4381154", "0.43678042", "0.43678042", "0.43648186", "0.43609592", "0.43596599", "0.434965", "0.43344998", "0.43342414", "0.4328...
0.6670499
0
Get MAC of STA iface
def QfE5(YKHO) -> str: YKHO.sendline('iw {} info'.format(YKHO.iface_dut)) YKHO.expect('addr (?P<mac>..:..:..:..:..:..)\r\n\t(type|ssid)') return YKHO.match.group('mac')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Oi9q(YKHO):\n import netifaces\n U4Kw = ['eth0', 'wlan0']\n try:\n U4Kw.append(netifaces.gateways()['default'][netifaces.AF_INET][1])\n except:\n pass\n for wohN in U4Kw:\n try:\n return netifaces.ifaddresses(wohN)[netifaces.AF_LINK][0]['addr']\n except Val...
[ "0.80129766", "0.79265904", "0.74136776", "0.73187107", "0.7257851", "0.7190333", "0.71811783", "0.71526283", "0.71414393", "0.71414393", "0.70488745", "0.7038794", "0.70227486", "0.70227486", "0.6977995", "0.69032127", "0.6897833", "0.68003696", "0.6776057", "0.67335254", "0...
0.8607074
0
Return location estimate as Pandas DataFrame.
def C6YU(YKHO): Y7gM = rLdf.DataFrame(YKHO.s, index=YKHO.s_names) Y7gM.columns.name = 'type' Y7gM.index.name = 's' return Y7gM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o4pG(YKHO):\n return rLdf.DataFrame(YKHO.points)", "def NWpW() -> SsVK.GeoDataFrame:\n oyIN.random.seed(123)\n ITS7 = rLdf.date_range(start=qcWV.fromtimestamp(1624241116), end=qcWV.now(), freq='1min').values\n MppY = (-36.875990410695394, 174.76398830024274)\n QnmL = oyIN.random.normal(loc=Mpp...
[ "0.6573011", "0.65202236", "0.6124628", "0.6085926", "0.60649395", "0.6012716", "0.5984655", "0.596708", "0.5949491", "0.5924197", "0.5868256", "0.585691", "0.5854988", "0.58433855", "0.58325243", "0.57697463", "0.57554924", "0.57476753", "0.573561", "0.5725807", "0.571275", ...
0.0
-1
Return position estimate as Pandas DataFrame.
def C6YU(YKHO): FVm4 = rLdf.DataFrame(YKHO.P, columns=YKHO.xvec, index=YKHO.yvec) FVm4.columns.name = 'x' FVm4.index.name = 'y' return FVm4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o4pG(YKHO):\n return rLdf.DataFrame(YKHO.points)", "def EQUc():\n CwDs.DataFrame(LXo7.pmt_positions(False))", "def arZN():\n CwDs.DataFrame(LXo7.pmt_positions(True))", "def hnXw(YKHO) -> rLdf.DataFrame:\n u0PL = rLdf.DataFrame([Xf84.as_dictionary for Xf84 in YKHO._reach_points])\n u0PL.spa...
[ "0.6984047", "0.6672237", "0.65964663", "0.6274763", "0.6267464", "0.6238453", "0.6057081", "0.60310453", "0.5990171", "0.5941943", "0.59085494", "0.5869681", "0.5850982", "0.58254164", "0.58222926", "0.5817974", "0.58097893", "0.5791353", "0.5778901", "0.57716084", "0.573542...
0.6172669
6
Return discounted value of r from i steps away.
def FDaZ(YKHO, Mkmy, YRbF): return YKHO.gamma ** YRbF * Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FMQW(YKHO, Mkmy, _ins, KCHu):\n g2lU, ZysX = (oyIN.zeros_like(Mkmy), 0)\n for a1PO in reversed(range(0, len(Mkmy))):\n ZysX = Mkmy[a1PO] + ZysX * YKHO.gamma\n g2lU[a1PO] = ZysX\n return g2lU", "def AC1_(Mkmy):\n g2lU = oyIN.zeros_like(Mkmy)\n S8qo = 0\n for a1PO in reversed(Ni...
[ "0.7262249", "0.7245121", "0.71241426", "0.7104458", "0.7074022", "0.7056644", "0.7050547", "0.7033863", "0.69333416", "0.69234216", "0.67071486", "0.66693866", "0.66520005", "0.6651897", "0.66337484", "0.6615558", "0.6549958", "0.65360075", "0.65175", "0.65175", "0.6503656",...
0.7935221
0
Sample an action from actionvalue PD at given state estimate s.
def sQw7(YKHO, KCHu, KkY2): ar6N = YKHO.action_values(KCHu) qW7R = BfDw.softmax(ar6N, YKHO.tau) P6bq = oyIN.random.choice(KkY2, p=qW7R) return P6bq
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvm2(YKHO, QTBn):\n pImw = YKHO.action_distribution(QTBn)\n rI4x = pImw.rsample()\n qN67 = ht2j.tanh(rI4x)\n XeOP = qN67 * YKHO.action_scale + YKHO.action_bias\n bWEj = pImw.log_prob(rI4x)\n Vjik = bWEj - ht2j.log(YKHO.action_scale * (1 - qN67.pow(2)) + Wx8m)\n Vjik = Vjik.sum(1, keepdim=T...
[ "0.74562204", "0.7402805", "0.731101", "0.7184198", "0.71417177", "0.71379983", "0.71202266", "0.7069236", "0.7061565", "0.70416117", "0.69302785", "0.68354154", "0.6808989", "0.67309713", "0.67212164", "0.67040527", "0.66987514", "0.66881603", "0.6673124", "0.66585416", "0.6...
0.5966925
100
Return reward expectations as Pandas DataFrame.
def C6YU(YKHO, dXfu, yP45): return rLdf.DataFrame(YKHO.Q, index=yP45, columns=dXfu)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R8y5():\n return rLdf.DataFrame({'growth': [0.873922, 0.814298, 0.0], 'gene': ['b2935', 'b0723', 'b0451'], 'status': ['optimal', 'optimal', 'optimal']})", "def xpSY(YKHO) -> rLdf.DataFrame:\n nPrm = []\n for XeOP in YKHO.actions:\n nPrm.append(XeOP.to_df())\n jQ3Z = rLdf.read_json(qQXR.dum...
[ "0.69180316", "0.62610114", "0.6097818", "0.6051681", "0.5990983", "0.5990983", "0.5990983", "0.5990983", "0.5990983", "0.59867096", "0.5964313", "0.59531885", "0.5869568", "0.5862875", "0.58611727", "0.5839496", "0.5834608", "0.5831896", "0.58125675", "0.5805539", "0.5796367...
0.0
-1
Creates a onerow matrix from a 1dimensional vector.
def lmnE(he6J): return V0nP([he6J])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k6aL(SppC, iArr):\n dzpA, KR2F = SppC.shape\n a1PO = oyIN.zeros((dzpA + 1, KR2F + 1), SppC.dtype)\n a1PO[0:dzpA, 0:KR2F] = SppC\n a1PO[dzpA, KR2F] = 1.0\n a1PO[0:dzpA, KR2F] = iArr\n return a1PO", "def kSxy(iArr):\n return oyIN.diag(iArr)", "def g26e(iArr):\n TXzq = i912.shape(iArr)...
[ "0.7024122", "0.69289327", "0.682338", "0.6816746", "0.66888577", "0.6635227", "0.65571386", "0.6460049", "0.63051444", "0.6217509", "0.61792284", "0.6169112", "0.61245954", "0.60745007", "0.6073748", "0.6070568", "0.60367274", "0.60358083", "0.6014249", "0.6012171", "0.59711...
0.6146151
12
Creates a diagonal matrix from a 1dimensional vector.
def TaGW(he6J): U5bT = II46((len(he6J), len(he6J))) for YRbF in range(len(he6J)): grAN(U5bT, YRbF, YRbF, he6J[YRbF]) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def g26e(iArr):\n TXzq = i912.shape(iArr)[-1]\n _E99 = i912.eye(TXzq)\n _E99 = i912.cast(_E99, iArr.dtype)\n ivq9 = i912.einsum('...i,ij->...ij', iArr, _E99)\n return ivq9", "def cfLG(YKHO, iArr):\n if type(iArr) in [type(1), type(1.0)]:\n A07C = fXG2.arange(YKHO._shape[0])\n jbXL...
[ "0.87564635", "0.80113494", "0.7831122", "0.6801142", "0.676436", "0.6751105", "0.6699491", "0.66378134", "0.6580752", "0.6462667", "0.64605", "0.6394687", "0.6380027", "0.6331664", "0.6331436", "0.6303248", "0.6250806", "0.62469774", "0.62246674", "0.62108475", "0.61493284",...
0.77196306
3
Creates a 0filled matrix of the given height and width, in that order.
def II46(ROpF): return [[0 for LVAh in range(ROpF[1])] for WKvO in range(ROpF[0])]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZnYu(H2v2, TVTK):\n Oa1e = [[0.0 for bGrB in range(TVTK)] for IaaG in range(H2v2)]\n return aLMY(Oa1e)", "def ZnYu(H2v2, TVTK):\n Oa1e = [[0.0 for bGrB in range(TVTK)] for IaaG in range(H2v2)]\n return aLMY(Oa1e)", "def GEcs(TVTK, H2v2):\n GyLV = aLMY()\n for YRbF in range(TVTK):\n ...
[ "0.867037", "0.86283284", "0.8307162", "0.6982549", "0.69613975", "0.69407684", "0.6922779", "0.6922779", "0.68814385", "0.6792176", "0.67342633", "0.65986866", "0.65751123", "0.65580314", "0.6508141", "0.64947295", "0.648471", "0.6480173", "0.64299357", "0.64299357", "0.6404...
0.6677387
11
Finds the dot product of two number lists of equal size.
def zdHr(jzdc, Fg_i): U5bT = 0.0 for YRbF in range(len(jzdc)): U5bT += jzdc[YRbF] * Fg_i[YRbF] return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uYbU(jzdc, Fg_i):\n TifC = 0.0\n for YRbF, r845 in zip(jzdc, Fg_i):\n TifC += YRbF * r845\n return TifC", "def pxL1(WKvO, LVAh):\n return sum(JaxB(seET.mul, WKvO, LVAh))", "def pxL1(hQHm, jlSq):\n return sum(JaxB(seET.mul, hQHm, jlSq))", "def uYbU(jzdc, Fg_i):\n if len(jzdc) != l...
[ "0.813033", "0.8037089", "0.8029752", "0.8021911", "0.793196", "0.79242224", "0.78488046", "0.782734", "0.78164923", "0.7624061", "0.76132137", "0.7601698", "0.75902164", "0.75278425", "0.7526788", "0.75223345", "0.7516658", "0.7412646", "0.7396712", "0.7360405", "0.7359722",...
0.7476762
17
CIEDE2000 color difference formula.
def hclB(llMu, Gywa): gzVs = Gywa[0] - llMu[0] XSBh = llMu[0] + gzVs * 0.5 hFnN = llMu[2] * llMu[2] UnOa = Gywa[2] * Gywa[2] dg7v = epAf.sqrt(llMu[1] * llMu[1] + hFnN) iYf1 = epAf.sqrt(Gywa[1] * Gywa[1] + UnOa) awND = epAf.pow((dg7v + iYf1) * 0.5, 7) U9_k = epAf.sqrt(awND / (awND + 61035...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rTGM(input: Tensor, pan_: Tensor, **B2fa) -> llWB:\n return kDmL(*map(CXoR, (input, pan_)), **B2fa)", "def VhHX(jCRz, ZfdO, zUPb=1, S8sU=1, VA0I=1):\n Dh42 = EwwK(jCRz)\n gdn_ = U5li(ZfdO)\n ppNV = hgJj.delta_e_cie2000(Dh42, gdn_, Kl=zUPb, Kc=S8sU, Kh=VA0I)[0]\n return XTiz.asscalar(ppNV)", ...
[ "0.7731565", "0.7134013", "0.71129715", "0.7099679", "0.7037567", "0.697382", "0.68623465", "0.6710321", "0.6661201", "0.6566841", "0.6383605", "0.6309896", "0.62807333", "0.6124545", "0.61032057", "0.6060593", "0.60499483", "0.5960436", "0.5951952", "0.5935354", "0.5933458",...
0.581778
25
Finds the relative color of a companded sRGB color, where white is the D65 white point. `x` > 3item list or tuple of a companded sRGB color.
def Mji5(WKvO): xEai = KYv8(WKvO) return xEai[0] * 0.2126 + xEai[1] * 0.7152 + xEai[2] * 0.0722
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvpM(YKHO, Z9rn, WKvO, QI1n):\n dMYj = 5 * (float(WKvO) / QI1n)\n YRbF = int(epAf.floor(dMYj))\n r845 = int(epAf.ceil(dMYj))\n dMYj -= YRbF\n Mkmy = (1 - dMYj) * YKHO._colors[YRbF][Z9rn] + dMYj * YKHO._colors[r845][Z9rn]\n return int(255 * Mkmy)", "def vhda(YKHO, WKvO, LVAh, USdm=1):\n v...
[ "0.6774189", "0.63662654", "0.6165092", "0.6053773", "0.6039496", "0.60279906", "0.6007814", "0.59776926", "0.59316194", "0.590671", "0.5894798", "0.58678293", "0.5860342", "0.58495414", "0.584435", "0.5810694", "0.5795488", "0.5790412", "0.5787023", "0.5780985", "0.5724453",...
0.6293169
2