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
What is the maximum value of 1D state space
def uaDj(YKHO) -> float: raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BWXx(YKHO, QTBn):\n return oyIN.amax(YKHO.q_values(QTBn))", "def lAe8(YKHO):\n iR_I = XTiz.zeros(YKHO.get_num_variables())\n YRbF = 0\n for Ty9i in YKHO.variables:\n iR_I[YRbF] = Ty9i.get_max_value()\n YRbF += 1\n return iR_I", "def fo30(YKHO, QTBn):\n jzdc = YKHO.sess.run(Y...
[ "0.7324334", "0.7092528", "0.669573", "0.65897846", "0.65406847", "0.64511967", "0.6447762", "0.6444075", "0.640259", "0.6390478", "0.6386007", "0.63753605", "0.6373763", "0.6328871", "0.63153136", "0.63127965", "0.6306555", "0.63013524", "0.62864304", "0.6277458", "0.626008"...
0.80544597
0
Returns the target output for this task.
def hlel(YKHO): if not Hy7s.path.isdir(woUU): Hy7s.mkdir(woUU) return ql6C.LocalTarget(YKHO.process_id.strftime(woUU + '/reddit_data%Y_%m_%d_%H.xlsx'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LI2u(YKHO):\n return YKHO.output", "def LI2u(YKHO):\n return YKHO.output", "def LI2u(YKHO):\n return YKHO._output", "def LI2u(YKHO, **B2fa):\n return YKHO.out", "def BK83(YKHO):\n D5gV = YKHO.task.get_task(YKHO.task_id)\n if 'name' in D5gV:\n return str(D5gV['name'])\n retur...
[ "0.76913494", "0.76913494", "0.7591348", "0.74682355", "0.7363378", "0.73447067", "0.73104286", "0.7308671", "0.7308671", "0.7308671", "0.7282424", "0.7280702", "0.7234891", "0.7165149", "0.7151598", "0.71489656", "0.71489656", "0.71489656", "0.71489656", "0.71489656", "0.714...
0.69123024
27
Convert from Service JSON response to `ServiceJob` instance
def xrFa(Csk6): def o0ZM(WKvO): return Csk6[WKvO] def iVcn(WKvO, WmM4=None): return Csk6.get(WKvO, WmM4) def nESp(WKvO): return pTAa(o0ZM(WKvO)) def DY_c(WKvO, WmM4=None): Ty9i = iVcn(WKvO, default=WmM4) return Ty9i if Ty9i is None else pTAa(Ty9i) def vx9...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, qHj0) -> 'JobOutputRequest':\n return gnPz.deserialize_model(qHj0, Emd4)", "def dvwp(YKHO, geh0, mstC):\n return W7aK(mstC)", "def pktP(Emd4, Fg_i):\n return Emd4.from_dict(qQXR.loads(Fg_i))", "def pktP(Emd4, zgjV: Mapping[str, Any]) -> 'UploadTask':\n V_8U: int = zgjV.get('start_i...
[ "0.6028941", "0.60121024", "0.58771497", "0.58296984", "0.58176845", "0.56953996", "0.5689922", "0.567049", "0.56486726", "0.56459635", "0.5562394", "0.54920506", "0.5486145", "0.54842603", "0.54456896", "0.5443924", "0.541138", "0.53794813", "0.53781325", "0.53768134", "0.53...
0.5200758
46
Checks if the shape resulting from removing the given solid is valid. If it is, returns True and removes the solid from its internal representation. Otherwise returns false and the internal representation is unchanged
def lMQb(YKHO, ybTX): assert isinstance(ybTX, kZFL) B3zO = xZFs(ybTX) hgpr = [vC9B for vC9B in YKHO._xz_intersections + YKHO._yz_intersections if B3zO in vC9B] _h38 = [vC9B for vC9B in hgpr if len(vC9B) == 1] if _h38: return False for vC9B in hgpr: vC9B.remove(xZFs(ybTX)) ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ybTX(YKHO):\n return not not YKHO.prototype.solid", "def ybTX(YKHO):\n return not not YKHO.model.prototype.solid", "def SGVO(YKHO):\n if len(YKHO.exterior) < 3:\n return False\n return YKHO.to_shapely_polygon().is_valid", "def AvU0(YKHO, EmUK=None):\n return YKHO.solid", "def x_bX...
[ "0.6648199", "0.6635969", "0.5991318", "0.59347063", "0.57435995", "0.5663807", "0.5602503", "0.5588618", "0.5521896", "0.54105324", "0.53777754", "0.53765774", "0.5331534", "0.53008854", "0.5280453", "0.52592486", "0.517499", "0.51429147", "0.5101849", "0.5045268", "0.503154...
0.8079224
0
Return True if queue is empty
def FBfn(YKHO): return YKHO._size == 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBfn(YKHO):\n return YKHO.queue == []", "def FBfn(YKHO):\n return len(YKHO.queue) == 0", "def FBfn(YKHO):\n return len(YKHO.queue) == 0", "def FBfn(YKHO):\n return len(YKHO.__queue) > 0", "def lsmZ(YKHO) -> bool:\n if YKHO.queue.empty():\n return True\n else:\n return Fa...
[ "0.9174872", "0.9084071", "0.9084071", "0.90831834", "0.9062936", "0.906216", "0.90212774", "0.89920825", "0.89908427", "0.89881116", "0.8932364", "0.8827321", "0.8827321", "0.8823471", "0.8815711", "0.88156897", "0.8778546", "0.8734904", "0.87312645", "0.8644368", "0.8628145...
0.75962514
62
Return(but do not remove) the element at the front of the queue
def cntZ(YKHO): if YKHO.is_empty(): raise rWmY('Queue is empty') return YKHO._head._element
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass", "def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None", "def VnzS(gGq6):\n if _OiT(gGq6):\n raise IndexError('Queue is empty!')\n else:\n return gGq6.front.value", "def T7C_(YKHO):\n if Y...
[ "0.8525873", "0.8378964", "0.8140181", "0.8075494", "0.80271876", "0.8025105", "0.7909408", "0.7909408", "0.78732806", "0.7860935", "0.7851642", "0.7829966", "0.7810734", "0.77832055", "0.77629155", "0.7760046", "0.7755535", "0.7755535", "0.7747377", "0.7744308", "0.7709152",...
0.7756731
16
Check if a number is almost prime
def xaxV(mLGw, ehqz): mexr = 0 qdn1 = mLGw - 1 for ffYW in ehqz: if ffYW > qdn1: break while mLGw % ffYW == 0: mexr += 1 mLGw /= ffYW if mexr > 2: return 0 if mexr == 2: return 1 return 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBNJ(FGW3: int) -> bool:\n for YRbF in range(2, int(FGW3 ** 0.5) + 1):\n if FGW3 % YRbF == 0:\n return False\n return True", "def T1qg(exwG):\n return kU5Q(exwG)", "def FBNJ(FGW3):\n if FGW3 == 1:\n return False\n for YRbF in range(2, int(FGW3 ** 0.5) + 1):\n ...
[ "0.7976847", "0.7958806", "0.7948939", "0.79029673", "0.78816575", "0.78534603", "0.78509724", "0.7849492", "0.78481025", "0.7844813", "0.78150946", "0.78066635", "0.77851737", "0.777676", "0.77735746", "0.7764226", "0.775335", "0.77413446", "0.7738808", "0.7721783", "0.77142...
0.75870794
37
String for representing the Model object.
def zAg0(YKHO): return '%s' % YKHO.name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return super().__str__() + YKHO.model.__str__()", "def zAg0(YKHO):\n return 'DataModel(name={},attributes={},description={})'.format(YKHO.name, {jzdc.name: str(jzdc) for jzdc in YKHO.attributes}, YKHO.description)", "def zAg0(YKHO):\n Ylbp = ['>>> Model %(model_name)s <<<']\n Ylbp...
[ "0.82368803", "0.79901737", "0.7849152", "0.78468513", "0.77520275", "0.7625378", "0.7625378", "0.76225406", "0.76225406", "0.75483394", "0.7522958", "0.7470355", "0.7469358", "0.7447144", "0.7447144", "0.74314755", "0.7427648", "0.7389925", "0.7351721", "0.73424315", "0.7322...
0.0
-1
String for representing the Model object.
def zAg0(YKHO): return '%s' % YKHO.vendor
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return super().__str__() + YKHO.model.__str__()", "def zAg0(YKHO):\n return 'DataModel(name={},attributes={},description={})'.format(YKHO.name, {jzdc.name: str(jzdc) for jzdc in YKHO.attributes}, YKHO.description)", "def zAg0(YKHO):\n Ylbp = ['>>> Model %(model_name)s <<<']\n Ylbp...
[ "0.82363755", "0.7990512", "0.78485423", "0.784718", "0.7751073", "0.76245975", "0.76245975", "0.7623291", "0.7623291", "0.7548185", "0.75231767", "0.74707526", "0.74700165", "0.74471915", "0.74471915", "0.7430331", "0.7426486", "0.739002", "0.73506206", "0.7341893", "0.73223...
0.0
-1
Creating a randomized name.
def Y14y(u54L): mWFP = ''.join(tuKI.choices(vIwR.ascii_lowercase, k=u54L)) EAFi = mWFP.capitalize() return EAFi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HvHm(YKHO):\n KoG3 = vIwR.ascii_letters\n TweX = ''.join((tuKI.choice(KoG3) for bGrB in range(10)))\n assert isinstance(TweX, str)\n return TweX", "def rYl4(mWFP):\n return 'test-%s-%s-%s' % (ITS7.strftime('%Y%m%d%H%M%S'), tuKI.randint(0, 999), mWFP)", "def _PbD(exwG=10):\n return ''.join...
[ "0.8473132", "0.8269473", "0.82017463", "0.8193355", "0.81230366", "0.80950993", "0.79900515", "0.7978913", "0.7970938", "0.7815667", "0.77738726", "0.77472824", "0.77339816", "0.77067584", "0.7668902", "0.766001", "0.75457335", "0.7510217", "0.74780184", "0.7446293", "0.7417...
0.7807909
10
Returns the hypo from the fiducial/fithypothesis key
def V4qq(YKHO, wCnU): return wCnU.split('_')[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def quFW(YKHO, wCnU):\n return wCnU.split('_')[-2]", "def EZj8(YKHO):\n H5ew = YKHO.bot_data_file['apiKeys']['hypixel']\n if YKHO.check_empty_key(H5ew):\n return H5ew\n else:\n print('ERROR GETTING THE HYPIXEL KEY (get yours from https://api.hypixel.net/) - ABORTING')\n quit(1)",...
[ "0.7042078", "0.6051914", "0.5687437", "0.5564087", "0.5549174", "0.5363302", "0.5317577", "0.5279895", "0.5266221", "0.5224591", "0.52060044", "0.5150866", "0.5101742", "0.50710994", "0.5069106", "0.50170875", "0.5003114", "0.5000154", "0.49796987", "0.49648806", "0.49646154...
0.8455484
0
Make file name for tex output files
def LxHP(YKHO, Os4s): kIFd = '' if hasattr(YKHO, 'labels'): if YKHO.labels.dict['data_name'] == '': kIFd += 'data_' else: kIFd += 'true_%s_' % YKHO.labels.dict['data_name'] if YKHO.detector is not None: kIFd += '%s_' % YKHO.detector if YKHO.selection is no...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NqYl(YKHO, wyO9):\n return '%s_%s.html' % (YKHO.basename, wyO9)", "def Snra(YKHO, Ux0P):\n return Ux0P[:-4] + '.txt'", "def QlYm(YKHO):\n if YKHO._latex_str == '':\n YKHO._latex_str += E7fx.format(YKHO._filename.replace('.tex', ''))\n else:\n YKHO._latex_str = YKHO._latex_str.spli...
[ "0.69431376", "0.69284415", "0.6692531", "0.6520139", "0.6499096", "0.6484681", "0.64658284", "0.643551", "0.6427567", "0.64271116", "0.6346323", "0.6344557", "0.63130623", "0.62780654", "0.6237424", "0.62370497", "0.62023324", "0.6198988", "0.6190018", "0.61797404", "0.61651...
0.7358767
0
Checks that there are no duplicated positions.
def w6ca(): FBNX = set([Jyyj['position'] for Jyyj in V_D6]) if len(FBNX) != len(V_D6): raise K4mL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lPwh(YKHO, FBNX):\n return YKHO.size == len(set((FBNX[YRbF] + YRbF for YRbF in range(YKHO.size)))) == len(set((FBNX[YRbF] - YRbF for YRbF in range(YKHO.size))))", "def RwcF(FBNX, A3Vt):\n for oeNL in FBNX:\n if not N0HQ(oeNL, A3Vt):\n return False\n return True", "def QlGU(YKHO, ...
[ "0.7397151", "0.67634374", "0.6761341", "0.67321855", "0.6688995", "0.6655897", "0.6644622", "0.65514535", "0.65010196", "0.6467287", "0.6409616", "0.6408384", "0.63845885", "0.6348332", "0.63446015", "0.63416195", "0.6330323", "0.63249207", "0.6319347", "0.628848", "0.625819...
0.5973032
47
Returns the result of NoneToEmptyQuerySet instead of a regular QuerySet.
def k66M(YKHO): return kMmW(YKHO.model, using=YKHO._db)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ywqg(YKHO):\n i3ak = YKHO._chain()\n i3ak.query.set_empty()\n return i3ak", "def tIoM(YKHO):\n return QiXV.queries.QueryNone().connect(YKHO)", "def v87I(YKHO):\n return YKHO.model.objects.none()", "def SR0I(Emd4):\n return Emd4.model._default_manager.all()", "def SR0I(YKHO, QePW, SR0I...
[ "0.7153786", "0.6839473", "0.67798024", "0.65623015", "0.6502179", "0.64747626", "0.639812", "0.62542117", "0.62088317", "0.6175962", "0.612903", "0.61209935", "0.6069687", "0.6062007", "0.603136", "0.603136", "0.6014894", "0.6001097", "0.5988454", "0.59800255", "0.5971937", ...
0.81059086
0
Modified repr for object representation.
def wHJl(YKHO): if YKHO.rest: SVM5 = ', ' + repr(YKHO.rest) else: SVM5 = '' return 'Link({0}{1})'.format(YKHO.first, SVM5)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n return repr(YKHO.__dict__['_obj'])", "def IAm3(Iup5):\n return repr(Iup5)", "def wHJl(YKHO):\n return YKHO.pretty_print(YKHO.__dict__)", "def wHJl(YKHO):\n return repr(YKHO.__dict__)", "def zAg0(YKHO):\n return repr(YKHO)", "def zAg0(YKHO):\n return repr(YKHO)", "def...
[ "0.8308683", "0.81057674", "0.7917441", "0.7864875", "0.7824185", "0.7772134", "0.77516913", "0.77437913", "0.7728905", "0.77246493", "0.76801586", "0.76801586", "0.76801586", "0.76801586", "0.76801586", "0.7677524", "0.7670947", "0.76642936", "0.76635194", "0.7658909", "0.76...
0.0
-1
Return names of dark and light themes for application.
def ZWCE(YKHO): return (YKHO.dark_name, YKHO.light_name)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UFMI():\n GmB3 = [*Hy7s.scandir(Hy7s.path.join(dYoM, 'colorschemes')), *Hy7s.scandir(Hy7s.path.join(qpBa, 'colorschemes'))]\n return [a1PO for a1PO in GmB3 if Hy7s.path.isfile(a1PO.path)]", "def GmB3(YKHO):\n if YKHO._themes is None:\n YKHO.refresh()\n return YKHO._themes", "def WPCB(P4t...
[ "0.7098856", "0.6941113", "0.6886924", "0.6794994", "0.67164475", "0.66907245", "0.65747935", "0.65700656", "0.6363531", "0.63316655", "0.6171683", "0.606351", "0.6055646", "0.60471904", "0.6041927", "0.6004565", "0.59851515", "0.59330195", "0.588121", "0.58508795", "0.584592...
0.62402207
10
Return current app mode. Return light theme by default to toggle to dark theme.
def ZZbe() -> klwn: w7QH: AZHj = GmB3[0] pmON = w7QH.path try: with open(pmON, 'r', encoding='utf-8') as eHNT: pass except FileNotFoundError: pmON = w7QH.windows_path try: with open(pmON, 'r', encoding='utf-8') as eHNT: gCuF = qQXR.load(eHNT) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dAFp() -> klwn:\n try:\n assert False\n with ZsEo.OpenKey(ZsEo.HKEY_CURRENT_USER, 'SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Themes\\\\Personalize', access=ZsEo.KEY_READ) as Nv8g:\n return klwn.light if ZsEo.QueryValueEx(Nv8g, 'AppsUseLightTheme')[0] else klwn.dark\n ...
[ "0.8376423", "0.78625804", "0.72527236", "0.693797", "0.6717479", "0.66852087", "0.6549633", "0.6545833", "0.648958", "0.6443121", "0.64392096", "0.6436298", "0.64200485", "0.64200485", "0.63986427", "0.6395614", "0.63905364", "0.63757384", "0.63618475", "0.635668", "0.632926...
0.86299425
0
Get toggled mode based on current mode.
def _LEn(RsZ7: ThemeMode) -> klwn: return klwn.light if RsZ7 == klwn.dark else klwn.dark
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GK0q(YKHO):\n bo34.debug('Func: currentMode/getter')\n return YKHO._currentsDict['currentMode']", "def hRLm(YKHO):\n return YKHO._mode", "def yQBk(YKHO):\n return YKHO._api.get_mode()", "def yQBk(YKHO):\n return YKHO.mode", "def hRLm(YKHO):\n with YKHO.lock:\n Tuqy = YKHO.mode\...
[ "0.7412477", "0.73822623", "0.7310764", "0.72858244", "0.7279957", "0.7266004", "0.7142095", "0.7127457", "0.71190304", "0.7054686", "0.70420915", "0.70306844", "0.7006925", "0.70064867", "0.7002522", "0.7002522", "0.69996244", "0.69996244", "0.69996244", "0.6995646", "0.6995...
0.78654677
0
Trim all samples in a batch to MAXLENGTH and pad them to identical lengths.
def q1MU(YKHO, Wc9F): Fn22 = min(YKHO.MAXLENGTH, max([len(WKvO) for WKvO in Wc9F])) Wc9F = [WKvO[:Fn22] for WKvO in Wc9F] Wc9F = [oyIN.concatenate([WKvO, oyIN.zeros(Fn22 - WKvO.shape[0])]) for WKvO in Wc9F] return Wc9F
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VIAZ(Wc9F, J2wu, YUWI, Ep8u):\n BcCR = max(J2wu)\n rOH1 = len(Wc9F)\n zpgf = Ep8u - rOH1\n if zpgf == 0:\n return Wc9F\n tYAF = oyIN.ones(BcCR) * YUWI\n for YRbF in range(zpgf):\n Wc9F.append(tYAF)\n return Wc9F", "def gc7n(Wc9F, fRI8=0.0):\n E0wO = Wc9F[0].size()\n K...
[ "0.73393714", "0.6794169", "0.66928875", "0.66109043", "0.66104877", "0.6500822", "0.648561", "0.6474067", "0.64650595", "0.6460871", "0.64459044", "0.6353153", "0.6303142", "0.6301248", "0.6236003", "0.6220014", "0.6217669", "0.61584425", "0.6154803", "0.6134153", "0.6132086...
0.84682834
0
Delete any documents that do not contain any words (i.e., that were blankonly).
def RhHD(YKHO, __n6): print('Deleting empty documents in', __n6) RotH = len(YKHO.raw_documents[__n6]) _0VL = list(filter(lambda WKvO: len(YKHO.raw_documents[__n6][WKvO].strip()), range(RotH))) YKHO.raw_documents[__n6] = [YKHO.raw_documents[__n6][or8S] for or8S in _0VL] YKHO.Y[__n6] = [YKHO.Y[__n6][o...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w8GG(YKHO, d6pt, WJoa):\n for rQ_S in MFGB:\n WJoa = WJoa.replace(rQ_S, llWo)\n for yzQ0 in set(WJoa.split()):\n yzQ0 = yzQ0.strip()\n if YKHO.word_dict_contains(yzQ0) and yzQ0 not in j5tu + [llWo, buv7]:\n if str(d6pt) in YKHO.get_indexes_for_word(yzQ0):\n ...
[ "0.6694606", "0.6575149", "0.6434805", "0.642709", "0.6385204", "0.63672984", "0.634992", "0.6281326", "0.6239466", "0.6194086", "0.6189664", "0.61618084", "0.60838485", "0.6070476", "0.60552865", "0.60512906", "0.6034264", "0.6008207", "0.60043776", "0.59701675", "0.5938523"...
0.6804529
0
Create word index arrays from the tokenized documents. The word index arrays serve as input to training/evaluation/relevance scoring.
def mJ6s(YKHO, __n6): print('Making X', __n6) YKHO.X[__n6] = [] for C13M in YKHO.tokenized_documents[__n6]: qw7D = oyIN.array([YKHO.worddict.get(GIN8, YKHO.worddict['__oov__']) for GIN8 in C13M]) YKHO.X[__n6].append(qw7D)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YsLo(YKHO, FvIk):\n SNvM = dict()\n LVMY = list()\n for JZXy in FvIk:\n b1nX = list()\n oM5K = FvIk[JZXy]\n for Dhsu in oM5K:\n if Dhsu not in LVMY:\n LVMY.append(Dhsu)\n for WaeF in oM5K[Dhsu]:\n GIN8 = WaeF[0]\n ...
[ "0.69399405", "0.6922191", "0.6701223", "0.6372283", "0.63683516", "0.6280279", "0.62795895", "0.6273169", "0.62596124", "0.62404424", "0.62050205", "0.6180359", "0.61626536", "0.614405", "0.61372715", "0.6134434", "0.613296", "0.61042005", "0.61020863", "0.6090465", "0.60903...
0.593627
31
Read raw data from the json file associated with (path to be set in config.py)
def SwtT(YKHO, __n6): print('Getting raw data for', __n6) YKHO.raw_documents[__n6] = [] YKHO.Y[__n6] = [] with open(YKHO.jsons[__n6]) as nVrR: for zFiD in nVrR: TLbt = qQXR.loads(zFiD) miOn = TLbt['stars'] if miOn != 3: YKHO.raw_documents[__n6]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PXzM(YKHO):\n with open(YKHO.subcfgfilename) as wM3v:\n zEKB = wM3v.read()\n zgjV = qQXR.loads(zEKB)\n return zgjV", "def odm5(YKHO, VqRE, pGQh=None):\n YKHO.json_dict = super().read(VqRE)\n return YKHO.json_dict", "def yLtf(pmON=None):\n if not pmON:\n pmON = Hy7s.p...
[ "0.7715707", "0.76542825", "0.74878913", "0.7483342", "0.72949696", "0.725952", "0.72501856", "0.7230151", "0.71848714", "0.7145747", "0.71443963", "0.70847565", "0.7071592", "0.7070315", "0.705912", "0.7053868", "0.7034751", "0.702222", "0.7021464", "0.70120883", "0.6999527"...
0.0
-1
Return requirements from a requirements file. This expects a requirements file with no ``findlinks`` lines.
def Nt4a(ndwV: Path) -> x1iM[str]: Nqlg = ndwV.read_text().strip().split('\n') return [zFiD for zFiD in Nqlg if not zFiD.startswith('#')]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KAl6():\n with open('requirements.txt', 'r') as eHNT:\n return eHNT.read().splitlines()", "def O1OY():\n with open('requirements.txt') as Gcbu:\n Nqlg = Gcbu.read().splitlines()\n emMa, wPdp = ([], [])\n for zFiD in Nqlg:\n if zFiD.startswith('git+'):\n ...
[ "0.8078903", "0.7968852", "0.7956327", "0.7874231", "0.78719735", "0.78349525", "0.77560455", "0.7626917", "0.7610132", "0.7551161", "0.75266165", "0.7492829", "0.747868", "0.74538183", "0.74454075", "0.7432905", "0.7378615", "0.73785156", "0.736273", "0.731193", "0.7301394",...
0.7805918
6
Returns a list of atoms representing atoms on the contour/edge of the graphenic layer and of the existing holes. Used to prevent new holes touching existing ones.
def sYia(vMNo): RqgG = [WhQ6 for WhQ6 in vMNo if 0 < len(jo48(WhQ6, vMNo)) < 3 and S69I(WhQ6, jo48(WhQ6, vMNo)) == False] HnN3 = [] for WhQ6 in vMNo: bdGm = [W0I0[0] for W0I0 in jo48(WhQ6, vMNo)] for YRbF in bdGm: EXZO = [W0I0[0] for W0I0 in jo48(YRbF, vMNo)] for r845...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aVLV(iUFC, vMNo):\n Qs86 = []\n n6nE = []\n global bond_list\n u28e = fcL0\n for WhQ6 in iUFC:\n Z9rn = [W0I0[0] for W0I0 in jo48(WhQ6, vMNo) if W0I0[0] not in iUFC and W0I0[0] not in Qs86]\n for U6D_ in Z9rn:\n Qs86.append(U6D_)\n for WhQ6 in vMNo:\n Z9rn = [W...
[ "0.72873443", "0.6582357", "0.6486398", "0.608028", "0.59882003", "0.5970188", "0.59671474", "0.58909136", "0.588228", "0.58613706", "0.58591586", "0.58287656", "0.58275", "0.582627", "0.57437956", "0.5704725", "0.56897026", "0.5658169", "0.5642107", "0.5628244", "0.5623437",...
0.67225623
1
Returns a list of atoms representing atoms on the contour/edge of the graphenic layer and of the existing holes. Used to prevent new holes touching existing ones.
def aVLV(iUFC, vMNo): Qs86 = [] n6nE = [] global bond_list u28e = fcL0 for WhQ6 in iUFC: Z9rn = [W0I0[0] for W0I0 in jo48(WhQ6, vMNo) if W0I0[0] not in iUFC and W0I0[0] not in Qs86] for U6D_ in Z9rn: Qs86.append(U6D_) for WhQ6 in vMNo: Z9rn = [W0I0[0] for W0I0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sYia(vMNo):\n RqgG = [WhQ6 for WhQ6 in vMNo if 0 < len(jo48(WhQ6, vMNo)) < 3 and S69I(WhQ6, jo48(WhQ6, vMNo)) == False]\n HnN3 = []\n for WhQ6 in vMNo:\n bdGm = [W0I0[0] for W0I0 in jo48(WhQ6, vMNo)]\n for YRbF in bdGm:\n EXZO = [W0I0[0] for W0I0 in jo48(YRbF, vMNo)]\n ...
[ "0.67212147", "0.6583964", "0.6485464", "0.60798305", "0.5989183", "0.5969657", "0.59682745", "0.5890468", "0.5881151", "0.5862929", "0.5857462", "0.58304733", "0.5828795", "0.58252805", "0.5745302", "0.570288", "0.5691466", "0.5657655", "0.56418115", "0.56291354", "0.5623697...
0.72864246
0
r""" einsum(subscripts, operands) Evaluates the Einstein summation convention on the operands. This implementation exactly mirrors that of ``numpy.einsum`` and supports backpropagation through all variety of tensorproducts, sums, traces, and views that it can perform. The following docstring was adapted from the docume...
def jIRx(*Lw3l, WIl5=False, si3H=False): Lw3l = list(Lw3l) if isinstance(Lw3l[0], str): kc1W = Lw3l[1:] if any((isinstance(YRbF, llWB) for YRbF in Lw3l)): Lw3l[1:] = (SRYB.data if isinstance(SRYB, llWB) else SRYB for SRYB in Lw3l[1:]) else: Os4s = -1 if len(Lw3l) % 2 else...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jIRx(NL3_, *Lw3l):\n raise NotImplementedError", "def jIRx(IPme, *qIxc):\n if len(qIxc) != 2:\n raise ValueError('Currently only two operands are supported')\n tWVA, B5kq = IPme.split('->')\n tWVA = tWVA.split(',')\n PFzj = sorted(list(set(tWVA[0]) & set(tWVA[1]) & set(B5kq)))\n RfIB...
[ "0.8047489", "0.7242151", "0.7152754", "0.63151926", "0.61698246", "0.6114144", "0.6113121", "0.6074974", "0.6068289", "0.59489155", "0.5899865", "0.5805374", "0.5726775", "0.5560793", "0.5545564", "0.5527907", "0.5518557", "0.54571724", "0.5398596", "0.537284", "0.5371635", ...
0.7332211
1
Dataloader of the `JHUCROWD++`_ dataset.
def enaN(pmON: str) -> x3i3: __n6 = x3i3(Lrzk) __n6.load_catalog(Hy7s.path.join(Hy7s.path.dirname(xAKo), 'catalog.json')) for WK4F in AGIk: hTWD = __n6.create_segment(WK4F) i9AS = Hy7s.path.join(pmON, WK4F) TTQS = Hy7s.path.join(i9AS, 'images') iXTm = SC2F(Hy7s.path.join(TTQS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JyoU(YKHO):\n ppBc = YKHO.data.get_train_data()\n if YKHO.args.use_dev:\n ppBc, sujI = YKHO.data.split_data(ppBc)\n Zwka = YKHO.data.get_test_data()\n EPL3 = YKHO.loader.build_dataset(ppBc, YKHO.args.train_max_seq_len)\n Pa1c = YKHO.loader.build_dataloader(EPL3, 'train')\n qby3 = YKHO....
[ "0.6336475", "0.61304355", "0.5971722", "0.5847539", "0.5825926", "0.5750217", "0.57182723", "0.5670559", "0.5627674", "0.56244856", "0.56018347", "0.55862707", "0.55199605", "0.5519217", "0.55126995", "0.5499972", "0.54712534", "0.5456989", "0.5443736", "0.5408074", "0.54079...
0.57597077
5
Accepts only tickets with remaining_time field
def xzCw(YKHO, YXSb): dsE5(YKHO, 'Called validate(%s)...' % YXSb) if YXSb is not None and isinstance(YXSb, G_GY) and YXSb.is_writeable_field(pe5E.REMAINING_TIME): lfun = YKHO.parse_remaining_time(YXSb) if not YKHO.status_did_change(YXSb) and (not YKHO.remaining_time_did_change(YXSb)): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xzCw(YKHO, YXSb):\n dsE5(YKHO, 'Called validate(%s)...' % YXSb)\n if YXSb is not None and isinstance(YXSb, G_GY) and YXSb.is_writeable_field(pe5E.REMAINING_TIME):\n lfun = YXSb[pe5E.REMAINING_TIME] or ''\n kUBT = YKHO.extract_numbers_regex.match(lfun)\n if kUBT != None:\n ...
[ "0.62892735", "0.59172094", "0.5889611", "0.5771665", "0.5746504", "0.57293135", "0.57168686", "0.5565989", "0.5542619", "0.54507524", "0.5418683", "0.5412213", "0.5389857", "0.5378949", "0.53786576", "0.53773236", "0.53708684", "0.5360094", "0.5325163", "0.53125954", "0.5304...
0.6272372
1
Add columns from a source. SOURCE is any object supporting the DataTableBase interface. The values from the source are inserted into the current datatable.
def W8Dm(YKHO, JZXy): WfCS = JZXy.get_cols() SnBA = JZXy.get_types() GA74 = [] Jdaw = [] for YRbF in range(len(WfCS)): if WfCS[YRbF] not in YKHO.cols: GA74.append(WfCS[YRbF]) Jdaw.append(SnBA[YRbF]) YKHO.cols.extend(GA74) YKHO.types.extend(Jdaw) YKHO._alte...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KORE(JZXy):\n return i4hn(JZXy)", "def TI8p(YKHO):\n ZLJ_ = ['some', 'column', 'headers']\n YKHO.columns = ZLJ_\n YKHO.data_source = CJD_(data=dict(zip(ZLJ_, [] * len(ZLJ_))))", "def _YdA(YKHO, LHdn, tyNF, cPoC):\n hWmX = getattr(YKHO, f'run_query_tap_{LHdn}')\n hWmX(f'ALTER TABLE {tyNF} ...
[ "0.5886388", "0.5737543", "0.56411767", "0.56024194", "0.5431844", "0.5185482", "0.5174467", "0.51542056", "0.5090378", "0.50158465", "0.4980832", "0.4965107", "0.49250972", "0.4916635", "0.49140692", "0.4913746", "0.4887684", "0.4868349", "0.48492506", "0.47867334", "0.47823...
0.75367403
0
Return the current row count for the table.
def RJbo(YKHO): uaN3 = 'SELECT count(*) FROM "%s"' % (YKHO.name,) DpUl = YKHO.con.cursor() DpUl.execute(uaN3) return DpUl.fetchone()[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DR2N(YKHO):\n return YKHO.__row_count", "def DR2N(YKHO):\n return YKHO._row_count", "def AbqG(YKHO):\n return YKHO._count", "def AbqG(YKHO):\n return YKHO._count", "def DR2N(YKHO) -> int:\n return len(YKHO.rows)", "def DR2N(YKHO) -> int:\n return len(YKHO.rows)", "def DR2N(YKHO) -...
[ "0.8466452", "0.84421664", "0.840626", "0.8364453", "0.8267521", "0.8267521", "0.81178814", "0.79461575", "0.7845531", "0.7705845", "0.7675725", "0.765543", "0.7638328", "0.7609061", "0.7596597", "0.75680137", "0.75359184", "0.75137126", "0.7510956", "0.749579", "0.7480422", ...
0.7983576
7
Jump if the greater or equal flags are set.
def ZVYY(YKHO, uSMn): BWXx = bytearray() BWXx.extend([15, 141]) V9mt = BlNT.pack('i', uSMn) BWXx += V9mt return BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wSWf(YKHO):\n ZHfW = 1\n jzdc = YKHO.fl & ZHfW\n if jzdc:\n YKHO.pc = YKHO.reg[YKHO.ram[YKHO.pc + 1]]\n else:\n YKHO.pc += 2", "def jmxi(YKHO, *qIxc):\n return gEqO.cgoto_t___gt__(YKHO, *qIxc)", "def IeXu(YKHO, lgNN: int, wyja: int) -> None:\n if lgNN:\n YKHO.move_ip(...
[ "0.6317473", "0.6190845", "0.61488163", "0.58050174", "0.58018535", "0.56774896", "0.5638106", "0.5557847", "0.5513077", "0.54760575", "0.54760075", "0.5435341", "0.53950655", "0.5320811", "0.5287941", "0.5255394", "0.52510834", "0.5241849", "0.5223898", "0.51887274", "0.5184...
0.0
-1
Sets the status of this EnabledInfo.
def jGRS(YKHO, jGRS): YKHO._status = jGRS
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RMjT(YKHO, jGRS):\n YKHO._status = jGRS\n if jGRS:\n YKHO._start()\n else:\n YKHO._stop()\n for BBLH in YKHO._statusListener:\n BBLH(YKHO, jGRS)", "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def w8Lw(YKHO, jGRS):\n ...
[ "0.7800555", "0.7306623", "0.7306623", "0.7306623", "0.72554773", "0.71749586", "0.70013165", "0.69903636", "0.69903636", "0.69903636", "0.69903636", "0.69903636", "0.69903636", "0.69903636", "0.69849616", "0.6965701", "0.6950901", "0.6950901", "0.68774253", "0.6873566", "0.6...
0.6981872
35
Sets the status_switch_time of this EnabledInfo.
def tuoM(YKHO, tuoM): YKHO._status_switch_time = tuoM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ta52(YKHO, ta52):\n YKHO._state_sys_time = ta52", "def FIMM(YKHO, jGRS=False, aM_I=None, tuoM=None, UHvp=None):\n YKHO._status = None\n YKHO._comment = None\n YKHO._status_switch_time = None\n YKHO.discriminator = None\n if jGRS is not None:\n YKHO.status = jGRS\n if aM_I is not N...
[ "0.56983596", "0.56610054", "0.54731107", "0.54664826", "0.5443645", "0.5386132", "0.53337675", "0.5331197", "0.5310322", "0.5297834", "0.5279101", "0.5279101", "0.5279101", "0.5268614", "0.5240808", "0.52355987", "0.5214942", "0.52022564", "0.5184441", "0.51803786", "0.51623...
0.86382955
0
Name of the device.
def mWFP(YKHO): vzeF.debug(YKHO._shelly_cloud_device_name + ' >>> ' + YKHO._shelly_cloud_entity_name + ' >>> name() >>> ' + YKHO._shelly_cloud_device_name) return YKHO._shelly_cloud_device_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO._device.name", "def mWFP(YKHO):\n return YKHO._device.name", "def mWFP(YKHO):\n return YKHO._device.name", "def mWFP(YKHO):\n return f'{ueYb(YKHO._data, 0, YKHO._name)}'", "def mWFP(YKHO):\n return YKHO.device.name()", "def mWFP(YKHO):\n return YKHO.device....
[ "0.9097775", "0.9097775", "0.9097775", "0.9061745", "0.9025759", "0.881624", "0.86864114", "0.8568692", "0.8558048", "0.8555749", "0.8555749", "0.8532012", "0.8532012", "0.8469097", "0.84059423", "0.8375903", "0.8366243", "0.83477855", "0.8282749", "0.81535566", "0.79456824",...
0.80647564
20
Set up data for testing.
def FCbF(YKHO): YKHO.probabilities_for_cdf = j9iS.reshape(3, 9) YKHO.threshold_points = PWzf YKHO.bounds_pairing = (-40, 50)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def izSt(Emd4):\n BJsk.initialize_empty_volunteer()", "def FCbF(YKHO):\n YKHO.dataset = eis1()", "def FCbF(YKHO):\n YKHO.test_data_path = 'testing/test_data/'", "def FCbF(YKHO):\n YKHO.data = GfzA()", "def FCbF(YKHO):\n YKHO.dataset = YKHO.dataset_cls()", "def FCbF(YKHO):\n YKHO.data = ...
[ "0.80007607", "0.79576796", "0.7928157", "0.785984", "0.77252805", "0.77136564", "0.77055836", "0.77055836", "0.77055836", "0.77055836", "0.7700484", "0.76099646", "0.7474632", "0.74122864", "0.73990965", "0.73868054", "0.7359824", "0.7335635", "0.7325923", "0.7324017", "0.73...
0.0
-1
Bound a number between two constants
def DZbg(exwG, UdxA, O9Ia): return max(min(O9Ia, exwG), UdxA)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hz7y(Emd4, wEf2, LSh8, CN9P):\n if wEf2 < LSh8:\n wEf2 = LSh8\n if wEf2 > CN9P:\n wEf2 = CN9P\n return wEf2", "def rLcX(iqdh, ppsq, AbYn):\n if iqdh < ppsq:\n return ppsq\n elif iqdh > AbYn:\n return AbYn\n else:\n return iqdh", "def DZbg(mLGw, yKcO, Os4...
[ "0.70112604", "0.68316644", "0.681633", "0.6764539", "0.67307013", "0.66286147", "0.65718555", "0.65455836", "0.6540684", "0.6525857", "0.6517224", "0.64938766", "0.6473324", "0.6461692", "0.64428455", "0.6434471", "0.640262", "0.6362559", "0.634921", "0.6348296", "0.6323164"...
0.59258366
55
Find local maxima pixels in an image stack within a given window. Defines local maxima as pixels whose value is equal to the maximum value within a defined window centered on that point. Implementation is to first run a maximum filter, then define pixels in the original image whose value is equal to the maxfilter resul...
def jWz0(VXjJ, zNig=(70, 100, 100)): q9nq = prAE.maximum_filter(VXjJ, size=zNig) jWz0 = oyIN.where(q9nq == VXjJ, 1, 0) return jWz0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rMTJ(VXjJ, zNig=(70, 100, 100), uYq_=0):\n\n def LLPS(hfRT, jD1l, uYq_):\n \"\"\"Find whether a peak already exists within minimum distance of this peak\"\"\"\n for mHKi in jD1l:\n if Ayfi.euclidean(hfRT, mHKi) < uYq_:\n return True\n return False\n JvQp = j...
[ "0.6773827", "0.6690919", "0.6458444", "0.6428409", "0.63588756", "0.63492244", "0.60867316", "0.5958801", "0.5957955", "0.5957955", "0.5942641", "0.5919028", "0.59147114", "0.59119725", "0.5896226", "0.5873993", "0.5859534", "0.585771", "0.58529603", "0.5834837", "0.5811325"...
0.7622608
0
Find local maxima in an Ndimensional image. Generalizes scikit's peak_local_max function to three (or more) dimensions. Finds local maxima pixels within supplied window, determines centroids for connected pixels, and returns a mask of these centroid positions and a list of them.
def rMTJ(VXjJ, zNig=(70, 100, 100), uYq_=0): def LLPS(hfRT, jD1l, uYq_): """Find whether a peak already exists within minimum distance of this peak""" for mHKi in jD1l: if Ayfi.euclidean(hfRT, mHKi) < uYq_: return True return False JvQp = jWz0(VXjJ, zNig) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jWz0(VXjJ, zNig=(70, 100, 100)):\n q9nq = prAE.maximum_filter(VXjJ, size=zNig)\n jWz0 = oyIN.where(q9nq == VXjJ, 1, 0)\n return jWz0", "def mKNd(ezWE, ZHfW=None):\n JMqK = ZCMp.generate_binary_structure(len(ezWE.shape), 2)\n jWz0 = KUnM.maximum_filter(ezWE, footprint=JMqK) == ezWE\n TRR6 = ...
[ "0.66987324", "0.6557603", "0.6429785", "0.6264377", "0.6144342", "0.6073965", "0.60014975", "0.5999285", "0.5990882", "0.5922203", "0.58585465", "0.5762706", "0.57241493", "0.5674644", "0.5631021", "0.56297046", "0.5585459", "0.5563584", "0.5530211", "0.5523302", "0.54643947...
0.7620194
0
Find a background (value=0) pixel in a mask. Searches for a background pixel in a mask, defined as a pixel with value 0. Background pixel is chosen at random from among all 0 pixels.
def LqEw(ZHfW): O5Hx = oyIN.where(ZHfW == 0) YRbF = oyIN.random.randint(0, len(O5Hx[0])) BHsk = O5Hx[0][YRbF] for exwG in range(1, len(O5Hx)): BHsk = oyIN.append(BHsk, O5Hx[exwG][YRbF]) return tuple(BHsk)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gJx1(ZHfW):\n qw7D = oyIN.transpose(oyIN.nonzero(ZHfW))\n d6pt = tuKI.randint(0, len(qw7D) - 1)\n return qw7D[d6pt]", "def hkVi(ZHfW, pmez=0):\n NJRn = [oyIN.array([[1, -1, -1], [-1, 1, -1], [-1, -1, -1]]), oyIN.array([[-1, -1, 1], [-1, 1, -1], [-1, -1, -1]]), oyIN.array([[-1, -1, -1], [-1, 1, -1...
[ "0.7012101", "0.63900024", "0.6272139", "0.61467755", "0.5984164", "0.5957396", "0.5819784", "0.58184606", "0.5760389", "0.5739316", "0.5737187", "0.56919", "0.56675345", "0.56653273", "0.56641465", "0.5645335", "0.5630077", "0.5629339", "0.5599537", "0.5579547", "0.5567698",...
0.738801
0
View image stack with boxes drawn around detected spots
def J7YR(E5BI, LqXd, YwkQ=0, _cLR='all', wytA=12, GLcw=True, fzPO=8, pjZu=False): if _cLR == 'all': nPrm = LqXd.copy() else: nPrm = {_cLR: LqXd[_cLR]} if pjZu: fzPO = 3 Z9B8 = E5BI[YwkQ] oUSw = OcpC(Z9B8, nPrm, halfwidth_xy=fzPO, linewidth=2) if GLcw: Fo4j(oUSw.ma...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tTee(YKHO):\n P0ud = YKHO.figure.copy()\n CI3j = oyIN.unique(YKHO.local_matches['image_pairs'][0])\n for YRbF in CI3j:\n T96j = YKHO.local_database['image_locs'][oyIN.where(YKHO.local_database['image_idx'] == YRbF)[0][0]]\n XC5k.rectangle(P0ud, (int(T96j[0]), int(T96j[1])), (int(T96j[0] ...
[ "0.72297984", "0.7019689", "0.6855829", "0.66976476", "0.66716367", "0.66629636", "0.66629636", "0.653807", "0.6515927", "0.6514664", "0.6506795", "0.6442844", "0.6437424", "0.64049655", "0.6384307", "0.6382383", "0.634831", "0.63409656", "0.6336691", "0.63149285", "0.6300306...
0.0
-1
Perform segmentation on a timeseries of 3D stacks Accepts a function that performs nuclear segmentation on a 3D image stack, calls this function on each frame of a 4D image stack, and returns a 4D nuclear mask. Individual time frames are independently segmented and labels are not connected between them.
def _UDa(E5BI, O046, **B2fa): O7W2 = O046(E5BI[0], **B2fa) XLio = oyIN.array([O7W2]) for exwG in range(1, E5BI.shape[0]): print(exwG, end=' ') f4IJ = O046(E5BI[exwG], **B2fa) XLio = oyIN.vstack((XLio, [f4IJ])) print('') return XLio
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FqLS(YRIF, _RNt=3, diyP=5, baSA=40, yZWl=(70, 100, 100), o1de=5, kXdi=10, BYBV=0.5, yojE=10000.0, Cxrm=500000.0, lRQd=0.5, W8mS=False):\n\n def Iduv(E5BI, XLio, BYBV, kXdi):\n \"\"\"\n Dilate nuclei, then apply a threshold to the newly-added pixels and\n only retains pixels that cross i...
[ "0.63560593", "0.6342845", "0.59947366", "0.5937562", "0.58145386", "0.57874197", "0.5714978", "0.5559475", "0.55079997", "0.54416966", "0.54246885", "0.5397451", "0.53814244", "0.531016", "0.52537036", "0.52524835", "0.52115023", "0.5184818", "0.5181062", "0.51775354", "0.51...
0.693505
0
Match labels of segmented structures between two labelmasks.
def CSKK(jZl0, ORtl): def eBLn(jZl0, ORtl, Mty0): Crrw, BWz1 = oyIN.unique(ORtl[jZl0 == Mty0], return_counts=True) QV41 = Crrw[oyIN.argsort(BWz1)] vjRV = BWz1[oyIN.argsort(BWz1)] xdWo = QV41[-1] return xdWo def b8V_(jZl0, ORtl): if not jZl0.shape == ORtl.shape: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l1WD(VytY, ush8, eYNN):\n for pG0V in VytY:\n for w75t in ush8:\n if S7RL(pG0V, w75t):\n pG0V['label'] = w75t['label']\n for nUPH in eYNN:\n if S7RL(pG0V, nUPH):\n if nUPH['label'] == w75t['label']:\n ...
[ "0.6957109", "0.62531114", "0.60568833", "0.5868811", "0.5844121", "0.583243", "0.58223724", "0.58218205", "0.58092034", "0.5799262", "0.5702313", "0.56317323", "0.5619657", "0.5604046", "0.55833405", "0.5563465", "0.55599004", "0.5557725", "0.5530411", "0.5528488", "0.549651...
0.68187106
1
Bound a number between two constants
def DZbg(exwG, UdxA, O9Ia): return max(min(O9Ia, exwG), UdxA)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hz7y(Emd4, wEf2, LSh8, CN9P):\n if wEf2 < LSh8:\n wEf2 = LSh8\n if wEf2 > CN9P:\n wEf2 = CN9P\n return wEf2", "def rLcX(iqdh, ppsq, AbYn):\n if iqdh < ppsq:\n return ppsq\n elif iqdh > AbYn:\n return AbYn\n else:\n return iqdh", "def DZbg(mLGw, yKcO, Os4...
[ "0.70112604", "0.68316644", "0.681633", "0.6764539", "0.67307013", "0.66286147", "0.65718555", "0.65455836", "0.6540684", "0.6525857", "0.6517224", "0.64938766", "0.6473324", "0.6461692", "0.64428455", "0.6434471", "0.640262", "0.6362559", "0.634921", "0.6348296", "0.6323164"...
0.57944274
76
Initialize new spot with next numeric ID and entry in connected_data.
def OI8m(IYE9, wuX8): if wuX8.keys(): BZDx = max(wuX8.keys()) + 1 else: BZDx = 1 wuX8[BZDx] = oyIN.expand_dims(IYE9, 0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO._idx = o7DN.index\n o7DN.index += 1", "def DbxN(YKHO):\n YKHO.padre = YKHO.id\n YKHO.sinVisitar = []\n YKHO.visited = False\n print('inicializo algoritmo')\n for YRbF in range(len(YKHO.neighbors)):\n YKHO.sinVisitar.append(YKHO.neighbors[YRbF])", "def FIMM(YKH...
[ "0.5418677", "0.5404944", "0.5365731", "0.5343149", "0.5334733", "0.53292894", "0.53161687", "0.53161687", "0.5288859", "0.5250205", "0.52446026", "0.5231255", "0.52251077", "0.52228373", "0.52228373", "0.5191674", "0.51554686", "0.51548076", "0.5136638", "0.51238644", "0.511...
0.7496566
0
Opens a new database connection if there is none yet for the current application context.
def GGod(): if not hasattr(Oa1e, 'sqlite_db'): Oa1e.sqlite_db = _uJw() return Oa1e.sqlite_db
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FuuS():\n if not hasattr(Oa1e, 'sqlite_db'):\n Oa1e.sqlite_db = WyYT()\n return Oa1e.sqlite_db", "def BF3r(YKHO):\n if YKHO._conn is None:\n YKHO._conn = iHv3.connect(YKHO._db_path)", "def YJJL(wnys: str=mDZH) -> JdIE:\n return iHv3.connect(wnys, cached_statements=PwCU)", "def W...
[ "0.773782", "0.75820196", "0.7316448", "0.7168609", "0.7023129", "0.6966087", "0.69546735", "0.69495314", "0.6897569", "0.6842675", "0.68285626", "0.681815", "0.68044835", "0.6794984", "0.67679894", "0.6760836", "0.67511946", "0.67471915", "0.67323065", "0.66991436", "0.66874...
0.64032626
83
Concatenate endpoint and final URL.
def _WN8(w2IS, bD7m): P6bq = '%s/%s' % (w2IS.rstrip('/'), bD7m.strip('/')) return P6bq.rstrip('/')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IzyR(YKHO, w2IS):\n return YKHO.base_url + YKHO.api_path + w2IS.strip('/')", "def jNi7(YKHO, Wsxr: str) -> str:\n return YKHO.base_url + Wsxr % YKHO.instance_id", "def jbbJ(X_Os, w2IS):\n X_Os = f'{X_Os}/'\n w2IS = w2IS.lstrip('/')\n return TDhU(X_Os, w2IS)", "def LDjU(YKHO, w2IS):\n nN...
[ "0.74742275", "0.7269796", "0.7175692", "0.71596", "0.70213", "0.69491", "0.6947381", "0.6928694", "0.68832123", "0.68601626", "0.6854039", "0.68420404", "0.68103427", "0.67940575", "0.67940575", "0.6767998", "0.6761178", "0.6674753", "0.664846", "0.6641822", "0.6630077", "...
0.81906676
0
Adds padding text at the start of a sentence.
def SZFh(YKHO, Rhv4: List[List[str]], ilYk: List[int]) -> AzJI[x1iM[x1iM[str]], x1iM[int]]: eipP = [] KWGg = [] for yAmx, MCsb in zip(Rhv4, ilYk): eipP.append(YKHO.text_tokens + yAmx) KWGg.append(MCsb + YKHO.text_len) return (eipP, KWGg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CDVN(yAmx, NXmX, zxGv='<PAD/>'):\n NXmX = 20\n mTBh = yAmx.strip().split(' ')\n if 200 > len(mTBh):\n CD_k = NXmX - len(mTBh)\n zxGv = '<PAD/>'\n qTh2 = mTBh + [zxGv] * CD_k\n else:\n qTh2 = mTBh[0:NXmX]\n return qTh2", "def dlqc(YKHO, yAmx):\n if len(yAmx) > YKH...
[ "0.6965356", "0.6933696", "0.69216293", "0.6869734", "0.68351597", "0.67512625", "0.66050684", "0.65845966", "0.6547793", "0.65382135", "0.6465414", "0.63721937", "0.627264", "0.62622", "0.6246692", "0.6197636", "0.61268294", "0.6109954", "0.60445744", "0.6007599", "0.6002122...
0.0
-1
Yield successive nsized chunks from l.
def eHxA(vC9B, exwG): for YRbF in range(0, len(vC9B), exwG): yield vC9B[YRbF:YRbF + exwG]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xJ0H(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B) + 1, exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def eHxA(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def I7IE(vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield ...
[ "0.8038813", "0.79248375", "0.7923423", "0.7885103", "0.78773195", "0.7815877", "0.77655786", "0.77556044", "0.77441615", "0.7731815", "0.77288336", "0.772473", "0.77028215", "0.76889825", "0.76889825", "0.7664208", "0.76570904", "0.7655856", "0.7655856", "0.76458347", "0.764...
0.7448925
75
Build a palette definition from either a simple string or a dictionary, filling in defaults for items not specified.
def MSOc(Emd4, _Fei, Q28t=ek5m, h5h3=opMX, MqSW=Pimg, o6vq=DkOt, ipoB=2 ** 24): tTpl = IHdN(mono=Q28t, foreground=Q28t, background=h5h3, foreground_high=MqSW, background_high=o6vq) if isinstance(_Fei, str): tTpl.foreground_high = _Fei if tTpl.allowed(_Fei, 16): tTpl.foreground = _Fei...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, Qgtb):\n YKHO._lengthOfPattern = 0\n YKHO._palette = ''\n for qfpW in Qgtb:\n YKHO._palette += qfpW[0].upper()", "def tWjj():\n qfpW = oRi_(lambda: '#000000')\n qfpW['White'] = '#FFFFFF'\n _oWe.pprint(qfpW['White'])\n _oWe.pprint(qfpW['Red'])", "def VDVO(YKHO):\n R...
[ "0.58850473", "0.58386135", "0.58280224", "0.56451863", "0.5625769", "0.55202246", "0.5502358", "0.5496009", "0.5495031", "0.5393192", "0.53180754", "0.531082", "0.5267755", "0.520979", "0.51729643", "0.51683825", "0.5159678", "0.5137804", "0.512281", "0.5122527", "0.5098934"...
0.57047886
3
Returns string of extra info for __repr__().
def zAeI(YKHO): return ''
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n qVE2 = YKHO._extra_repr()\n if isinstance(qVE2, list):\n qVE2 = ' '.join([str(tTpl) for tTpl in qVE2])\n try:\n if YKHO.id:\n return '<%s %s 0x%x>' % (type(YKHO).__name__, ('%s %s' % (YKHO.id, qVE2)).strip(), hash(YKHO))\n return '<%s %s 0x%x>' % (type(YKH...
[ "0.78283966", "0.77375877", "0.7687218", "0.76055586", "0.7555131", "0.75000334", "0.74571764", "0.744892", "0.74434084", "0.7438104", "0.74377024", "0.74233174", "0.74117184", "0.7360773", "0.7345917", "0.73441535", "0.72871655", "0.72871655", "0.72871655", "0.72583014", "0....
0.8242073
0
Override default equals operation. IDLNodes are equal if all their properties are equal.
def xa14(YKHO, Elif): if Elif is None or not isinstance(Elif, G4px): return 1 return YKHO.__dict__.__eq__(Elif.__dict__)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if not isinstance(Elif, vnAH):\n return False\n return YKHO.as_dict() == Elif.as_dict() and YKHO.eid == Elif.eid", "def xa14(YKHO, Elif):\n if not isinstance(Elif, cFiu):\n return False\n return YKHO.__dict__ == Elif.__dict__", "def xa14(YKHO, Elif):\n retur...
[ "0.7477901", "0.74357456", "0.72444695", "0.7200534", "0.7193656", "0.71801114", "0.71704066", "0.71704066", "0.71704066", "0.71704066", "0.71704066", "0.71675265", "0.71675265", "0.71675265", "0.71511906", "0.7145813", "0.7121271", "0.7114071", "0.7114071", "0.7113948", "0.7...
0.7792428
0
Reset the id of the Node. This is typically done during a normalization phase (e.g., "DOMWindow" > "Window").
def zqvB(YKHO, Vop0): YKHO.id = Vop0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rxPy():\n JwJG._UID_BASE = -1", "def zqvB(YKHO, BZDx):\n if YKHO.id != BZDx:\n YKHO.id = BZDx\n YKHO.doc_js_name = BZDx\n YKHO.javascript_binding_name = BZDx\n for mS46 in YKHO.operations:\n mS46.doc_js_interface_name = BZDx\n for mS46 in YKHO.attributes:\n...
[ "0.70308524", "0.6869483", "0.6775127", "0.67088693", "0.6664753", "0.6553676", "0.65210867", "0.6483599", "0.6422293", "0.6365199", "0.63385797", "0.62504816", "0.6188777", "0.6186573", "0.61661303", "0.6149513", "0.6133739", "0.6111859", "0.6092984", "0.6090128", "0.6084401...
0.73122156
0
Returns a list containing this node and all it child nodes (recursive).
def all(YKHO, rmPw=None): Ylbp = [] if rmPw is None or isinstance(YKHO, rmPw): Ylbp.append(YKHO) for Ty9i in YKHO._all_subnodes(): if isinstance(Ty9i, G4px): Ylbp.extend(Ty9i.all(rmPw)) elif isinstance(Ty9i, list): for ZfUD in Ty9i: if isinstan...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pJVY(YKHO):\n return list(iter(YKHO))", "def RbaF(YKHO):\n return []", "def RbaF(YKHO):\n return [Q6kx for Q6kx in YKHO._children.values()]", "def RbaF(YKHO):\n M1Jx = YKHO._std\n y0Da = YKHO._bld\n Emd4 = YKHO.__class__\n tk5Y = YKHO.get_sobj()\n Vdqf = M1Jx.NewChildIterator(tk5Y...
[ "0.79112154", "0.790918", "0.7901621", "0.78076804", "0.777471", "0.7695004", "0.7685995", "0.76457787", "0.76147527", "0.76147527", "0.76147527", "0.76145494", "0.7598386", "0.7568883", "0.7553284", "0.7525412", "0.7502718", "0.7502027", "0.74894196", "0.74824876", "0.747616...
0.0
-1
Check a sparkdataframe to find existence of duplicate values for a set of given columns
def GLXA(HJgX, ZLJ_): return HJgX.groupBy(ZLJ_).count().where('count>1').sort('count', ascending=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QVWu(jQ3Z: pd.DataFrame, ZLJ_: List[str]) -> nQ3j:\n Aofo = nQ3j(f'Duplicates')\n Aofo.items_count = len(jQ3Z)\n jQ3Z = jQ3Z.dropna(subset=ZLJ_, how='all')\n xFUr = jQ3Z[jQ3Z.duplicated(ZLJ_, keep=False)][ZLJ_]\n if xFUr.empty:\n return Aofo\n UAju = {}\n for bGrB, Csk6 in xFUr.grou...
[ "0.70761764", "0.67027205", "0.6699218", "0.660388", "0.65129834", "0.6485821", "0.64064527", "0.64027154", "0.63034064", "0.6282684", "0.61856705", "0.61500347", "0.6127648", "0.6047853", "0.5986667", "0.5979793", "0.59759897", "0.59615165", "0.5949579", "0.59030557", "0.590...
0.8052438
0
Get a nice string representation of the cubic polynomial `p`.
def Qx4a(XP5J): jbXL = '' if XP5J['a'] == 1: jbXL += ' x^3' elif XP5J['a'] != 0: jbXL += '%.2fx^3' % XP5J['a'] if XP5J['b'] == 1: jbXL += '\t+ x^2' elif XP5J['b'] != 0: jbXL += '\t+ %.2fx^2' % XP5J['b'] else: jbXL += '\t\t' if XP5J['c'] == 1: j...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO) -> str:\n Wbaq = ''\n for YRbF in range(YKHO.degree, -1, -1):\n if YKHO.coefficients[YRbF] == 0:\n continue\n elif YKHO.coefficients[YRbF] > 0:\n if Wbaq:\n Wbaq += ' + '\n else:\n Wbaq += ' - '\n if YRbF == 0:\n ...
[ "0.6800418", "0.6732153", "0.67045623", "0.6659032", "0.66174585", "0.6423057", "0.6212907", "0.620363", "0.6016788", "0.58934104", "0.5886453", "0.5838241", "0.57581615", "0.573579", "0.57154334", "0.55892724", "0.5529264", "0.5507327", "0.55057025", "0.55036235", "0.5495405...
0.8349409
0
Unload a config entry.
async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool: yT1k = await ajET.config_entries.async_unload_platforms(bTKY, aprE) if yT1k: ajET.data[Sugg].pop(bTKY.entry_id) return yT1k
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def async_unload_entry(ajET, PhL6):\n yT1k = await ajET.config_entries.async_forward_entry_unload(PhL6, 'climate')\n return yT1k", "async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool:\n ajET.data.pop(Sugg)\n return True", "async def async_unload_entry(ajET: HomeAssis...
[ "0.697284", "0.6888074", "0.6779855", "0.6747459", "0.6689002", "0.6657831", "0.66162205", "0.6603433", "0.65925974", "0.65595686", "0.65411645", "0.64977276", "0.64931643", "0.6486601", "0.6486601", "0.6486601", "0.6486601", "0.6469397", "0.6469397", "0.6462678", "0.6459733"...
0.6507643
14
Return a zerovalued matrix of the same shape as `matrix` and with equivalent integer or floating point type Note this differs from `numpy.zero_like` in that it always uses the largest integer type (int_) even if the source matrix uses a smaller type (e.g. uint8). This is so that we have sufficient headroom to sum many ...
def As6h(SppC): yDqo = XTiz.int_ if iUPF(SppC) else XTiz.float_ return XTiz.zeros(SppC.shape, dtype=yDqo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jFMI(SppC):\n if not SppC:\n return\n Gmep = len(SppC)\n OfOG = len(SppC[0])\n v2XK = False\n RUjK = False\n for fvDH in range(OfOG):\n if not SppC[0][fvDH]:\n v2XK = True\n break\n for rdlD in range(Gmep):\n if not SppC[rdlD][0]:\n RUj...
[ "0.73966384", "0.71608627", "0.7073641", "0.68901014", "0.68604356", "0.68059593", "0.6800942", "0.67580235", "0.66957706", "0.66957706", "0.6672541", "0.6668487", "0.6637845", "0.66139966", "0.65811944", "0.65452635", "0.6541478", "0.6527024", "0.6525011", "0.65146905", "0.6...
0.8943931
0
Return smallest numpy integer type capable of representing all values in the supplied range
def uDsv(vELP, PtQX): i1fZ = vELP < 0 hPij = max(PtQX, abs(vELP)) if i1fZ: if hPij < 1 << 7: return XTiz.int8 elif hPij < 1 << 15: return XTiz.int16 elif hPij < 1 << 31: return XTiz.int32 elif hPij < 1 << 8: return XTiz.uint8 elif h...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WlVt(WKvO, qonS=8):\n for DMoJ in oyIN.sctypes['int']:\n if Y3tb.dtype(DMoJ).itemsize * 8 >= qonS:\n if oyIN.iinfo(DMoJ).min <= WKvO <= oyIN.iinfo(DMoJ).max:\n return DMoJ\n return oyIN.int64(WKvO).dtype", "def z24_(hkxX):\n if any([Ty9i % 1 for Ty9i in hkxX]):\n ...
[ "0.71769917", "0.6977312", "0.67614967", "0.634183", "0.6268485", "0.62563896", "0.62008595", "0.61327434", "0.61305994", "0.61170274", "0.6067906", "0.6042717", "0.5960769", "0.59440744", "0.5943825", "0.5917356", "0.5911487", "0.58114755", "0.58102846", "0.5800823", "0.5799...
0.7716588
0
Returns the UTC date and time as a `datetime` object.
def UFzW(YKHO): return DfBS + qcWV.timedelta(days=YKHO.ut)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XFBR(YKHO):\n h5YN = YKHO.toZone('UTC')\n CsFy = int(h5YN._second)\n foC1 = h5YN.micros() % 1000000\n JRYC = qcWV(h5YN._year, h5YN._month, h5YN._day, h5YN._hour, h5YN._minute, CsFy, foC1)\n return JRYC", "def h5YN():\n return UMRH(JRYC.utcnow())", "def wj6w() -> qcWV.datetime:\n return...
[ "0.79494536", "0.7185768", "0.71735877", "0.7083116", "0.70780075", "0.70140195", "0.7010726", "0.69308555", "0.6928681", "0.6893604", "0.68374366", "0.6809676", "0.67880887", "0.67762154", "0.6714111", "0.66243637", "0.6605262", "0.65900433", "0.655665", "0.6450974", "0.6422...
0.0
-1
Calculates equatorial coordinates of a celestial body as seen by an observer on the Earth's surface.
def fM3J(TBsA, ITS7, LiTy, Fopo, _m13): IdAI = tUKM(ITS7, LiTy) gigf = Kdz2(TBsA, ITS7, _m13) GtyT = [gigf.x - IdAI[0], gigf.y - IdAI[1], gigf.z - IdAI[2]] if not Fopo: return _pd4(GtyT, ITS7) ycBG = icZ9(GtyT, ITS7, NrwO.From2000) eauP = husP(ycBG, ITS7, NrwO.From2000) return _pd4(e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z3Y7(YKHO, _UuI, fopC, n_Ej):\n ePCm = Y_1E(_UuI)\n bEEE = Y_1E(fopC)\n jzdc = 6378137.0\n eHNT = 1 / 298.257223563\n fHZS = 2 * eHNT - eHNT ** 2\n Ei2p = PZyS(1 - fHZS * YUNn(ePCm) ** 2)\n sF7J = (jzdc / Ei2p + n_Ej) * YhSR(ePCm) * YhSR(bEEE)\n lcVn = (jzdc / Ei2p + n_Ej) * YhSR(ePCm) ...
[ "0.6263922", "0.61497617", "0.6112122", "0.60302675", "0.59933054", "0.5974637", "0.59005386", "0.58623946", "0.5847565", "0.58004224", "0.5771312", "0.57018155", "0.56987035", "0.56945324", "0.56408775", "0.5631874", "0.5605876", "0.55781645", "0.5563956", "0.5541898", "0.55...
0.6405329
0
Calculates heliocentric ecliptic longitude of a body based on the J2000 equinox. This function calculates the angle around the plane of the Earth's orbit of a celestial body, as seen from the center of the Sun. The angle is measured prograde (in the direction of the Earth's orbit around the Sun) in degrees from the J20...
def RnS3(TBsA, ITS7): if TBsA == OsWG.Sun: raise thWJ() zu_r = gbqu(TBsA, ITS7) ysHr = uqD6(zu_r) return ysHr.elon
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K4yp(igSk, GgQG, TGuP, tk0B):\n snrU = igSk * m1Mf\n upem = GgQG * m1Mf\n M5jx = TGuP * m1Mf\n WMf6 = tk0B * m1Mf\n EBgd = XTiz.vstack((YhSR(snrU) * YhSR(upem), YhSR(snrU) * YUNn(upem), YUNn(snrU))).T\n HpuQ = XTiz.vstack((YhSR(M5jx) * YhSR(WMf6), YhSR(M5jx) * YUNn(WMf6), YUNn(M5jx))).T\n ...
[ "0.62861323", "0.62691706", "0.62367535", "0.62124497", "0.6090344", "0.60588187", "0.599333", "0.59682375", "0.5910116", "0.5870196", "0.58282614", "0.57290375", "0.571611", "0.56917226", "0.565665", "0.5608026", "0.5599055", "0.5589569", "0.5571707", "0.5535048", "0.5532213...
0.61430514
4
Returns one body's ecliptic longitude with respect to another, as seen from the Earth. This function determines where one body appears around the ecliptic plane (the plane of the Earth's orbit around the Sun) as seen from the Earth, relative to the another body's apparent position. The function returns an angle in the ...
def qpJI(bG44, h5BT, ITS7): if bG44 == OsWG.Earth or h5BT == OsWG.Earth: raise vr3I() ENWa = Kdz2(bG44, ITS7, False) io3G = uqD6(ENWa) ZoT5 = Kdz2(h5BT, ITS7, False) CdA6 = uqD6(ZoT5) return MGfY(io3G.elon - CdA6.elon)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K4yp(igSk, GgQG, TGuP, tk0B):\n snrU = igSk * m1Mf\n upem = GgQG * m1Mf\n M5jx = TGuP * m1Mf\n WMf6 = tk0B * m1Mf\n EBgd = XTiz.vstack((YhSR(snrU) * YhSR(upem), YhSR(snrU) * YUNn(upem), YUNn(snrU))).T\n HpuQ = XTiz.vstack((YhSR(M5jx) * YhSR(WMf6), YhSR(M5jx) * YUNn(WMf6), YUNn(M5jx))).T\n ...
[ "0.59436023", "0.5801272", "0.5670904", "0.5567944", "0.556547", "0.55235994", "0.55052245", "0.5504363", "0.54402506", "0.5427005", "0.5386866", "0.5347162", "0.5257846", "0.5243895", "0.5236571", "0.52174634", "0.519021", "0.518347", "0.5172707", "0.5159714", "0.5132748", ...
0.67752004
0
Finds visual magnitude, phase angle, and other illumination information about a celestial body. This function calculates information about how bright a celestial body appears from the Earth, reported as visual magnitude, which is a smaller (or even negative) number for brighter objects, and a larger number for dimmer o...
def DTfv(TBsA, ITS7): if TBsA == OsWG.Earth: raise vr3I() P2sP = csFz(ITS7) if TBsA == OsWG.Sun: gigf = lNLu(-P2sP.x, -P2sP.y, -P2sP.z, ITS7) u84f = lNLu(0.0, 0.0, 0.0, ITS7) JT9N = 0.0 else: if TBsA == OsWG.Moon: gigf = udjl(ITS7) u84f = l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XDC2(UksD, ITS7):\n E3D9 = Y_1E(eval(UksD.orbit['M'])(ITS7))\n yzQ0 = Y_1E(eval(UksD.orbit['w'])(ITS7))\n YRbF = Y_1E(eval(UksD.orbit['i'])(ITS7))\n ywwl = Y_1E(eval(UksD.orbit['N'])(ITS7))\n jzdc = UksD.orbit['a']\n tTpl = eval(UksD.orbit['e'])(ITS7)\n ut5U = E3D9 + tTpl * YUNn(E3D9) * (1...
[ "0.5986034", "0.575325", "0.568569", "0.55688435", "0.5526129", "0.5413503", "0.52904296", "0.5165623", "0.5120634", "0.5120634", "0.5028022", "0.502111", "0.4984233", "0.49829665", "0.4959016", "0.49546692", "0.49440768", "0.49328852", "0.48865834", "0.48638484", "0.4859351"...
0.6490706
0
Applies a rotation to a state vector, yielding a rotated state vector. This function transforms a state vector in one orientation to a state vector in another orientation. Both the position and velocity vectors are rotated the same way.
def DK67(DWJ0, QTBn): return AQQ3(DWJ0.rot[0][0] * QTBn.x + DWJ0.rot[1][0] * QTBn.y + DWJ0.rot[2][0] * QTBn.z, DWJ0.rot[0][1] * QTBn.x + DWJ0.rot[1][1] * QTBn.y + DWJ0.rot[2][1] * QTBn.z, DWJ0.rot[0][2] * QTBn.x + DWJ0.rot[1][2] * QTBn.y + DWJ0.rot[2][2] * QTBn.z, DWJ0.rot[0][0] * QTBn.vx + DWJ0.rot[1][0] * QTBn.vy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ccsV(DWJ0, iArr):\n return lNLu(DWJ0.rot[0][0] * iArr.x + DWJ0.rot[1][0] * iArr.y + DWJ0.rot[2][0] * iArr.z, DWJ0.rot[0][1] * iArr.x + DWJ0.rot[1][1] * iArr.y + DWJ0.rot[2][1] * iArr.z, DWJ0.rot[0][2] * iArr.x + DWJ0.rot[1][2] * iArr.y + DWJ0.rot[2][2] * iArr.z, iArr.t)", "def nv1p(Ty9i, Kt_s):\n retur...
[ "0.660283", "0.6499375", "0.63328576", "0.6332595", "0.631458", "0.63041615", "0.61546046", "0.61114883", "0.5915919", "0.5903883", "0.586938", "0.5852559", "0.58192164", "0.5802146", "0.5791364", "0.57722956", "0.5769193", "0.5767105", "0.57183295", "0.5715796", "0.5715114",...
0.71861947
0
Returns a list of filenames for all jpg images in a directory.
def z9xr(pmON: str) -> list: return list((Hy7s.path.join(pmON, eHNT) for eHNT in Hy7s.listdir(pmON) if eHNT.endswith('.jpg')))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jr2k(AGPF):\n sBbB = Hy7s.listdir(AGPF)\n CL5K = [Xn71 for Xn71 in sBbB if '.jpg' in str(Xn71)]\n CL5K = [AGPF + Xn71 for Xn71 in CL5K]\n return CL5K", "def z8Af(mlch) -> iu5r[str]:\n CBZq = ('.png', '.jpg', '.jpeg', '.tif', '.tiff')\n ckRy = GkAb(mlch).glob('**/*')\n ckRy = filter(lambd...
[ "0.826809", "0.820497", "0.78100127", "0.76965976", "0.76412135", "0.7619803", "0.75671864", "0.7563033", "0.7471995", "0.7467322", "0.7416391", "0.7407385", "0.73941857", "0.7390004", "0.73765004", "0.73607075", "0.73303187", "0.73159367", "0.7313564", "0.72920936", "0.72678...
0.7599427
6
Histogram equalisation of a grayscale image.
def Og48(LNo8: Image, KQ7o: int=256) -> (hnIv, qw7D): U3eL, Pyrc = thJw(LNo8.flatten(), KQ7o, density=True) YzER = U3eL.cumsum() YzER = 255 * YzER / YzER[-1] FHlE = pTn1(LNo8.flatten(), Pyrc[:-1], YzER) return (FHlE.reshape(LNo8.shape), YzER)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NcFt(WkuO):\n if WkuO.ndim == 3:\n return Eqmh(WkuO)\n return FfOF(WkuO)", "def FfOF(WkuO):\n LNo8 = WkuO.copy()\n tlTX = BfDw.get_histogram(LNo8)\n R3BZ = W8CO(LNo8, tlTX)\n SnO7 = BfDw.get_histogram(R3BZ)\n return [R3BZ, tlTX, SnO7]", "def XBnJ(VXjJ):\n ITiw = XC5k.cvtColor...
[ "0.8089166", "0.79507494", "0.7846936", "0.7705845", "0.76918745", "0.7631691", "0.7610614", "0.75724125", "0.74689364", "0.74419224", "0.7429299", "0.7402295", "0.73815554", "0.7358336", "0.7335168", "0.73210144", "0.73127174", "0.7252659", "0.72166526", "0.72011", "0.714280...
0.65979433
37
Get configs using the WGL_ARB_pixel_format extension. This method assumes a (dummy) GL context is already created.
def TrM9(YKHO, g_NO): if YKHO.sample_buffers or YKHO.samples: if not cRRP.have_extension('GL_ARB_multisample'): return [] o8Kj = [] for mWFP, BWXx in YKHO.get_gl_attributes(): hkS8 = EPG7.attribute_ids.get(mWFP, None) if hkS8 and BWXx is not None: o8Kj.extend(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aaEc(YKHO, g_NO):\n PToO = eXFa()\n PToO.nSize = GbdH(eXFa)\n PToO.nVersion = 1\n PToO.dwFlags = zyQw | hcf0\n if YKHO.double_buffer:\n PToO.dwFlags |= OaYc\n else:\n PToO.dwFlags |= IDf5\n if YKHO.stereo:\n PToO.dwFlags |= aYRA\n else:\n PToO.dwFlags |= jGPe...
[ "0.6772448", "0.57424074", "0.5567094", "0.52413565", "0.5173083", "0.50337434", "0.50237656", "0.49902695", "0.49771088", "0.49641028", "0.47908753", "0.47457704", "0.47089696", "0.46747124", "0.4663806", "0.46361196", "0.46246383", "0.4608715", "0.45941466", "0.4585389", "0...
0.69498193
0
Renders the home page, which varies depending on the type of user.
def kZiy(): bpFo = '' Wkxa = cuiw.get('UserType', None) if Wkxa == None: bpFo = 'anonHome.jade' elif Wkxa == 'Seeker': bpFo = 'indexJob.jade' elif Wkxa == 'Manager': bpFo = 'indexManager.jade' VQPB = nKyW('static', filename='loop frog.gif') kKyQ = cuiw.get('UserName',...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n return TvZl('home_page.html')", "def NMoC(YKHO):\n if YKHO.logged_in:\n YKHO.render('home.html', {'name': YKHO.current_user.name, 'server': YKHO.current_user.server, 'faction': mAA4.get(YKHO.current_user.faction), 'home': True, 'page_id': 'home'})\n else:\n YKHO.render('home....
[ "0.7827229", "0.7778227", "0.7643133", "0.7636759", "0.75849384", "0.75635684", "0.7546959", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "0.75277245", "...
0.8399138
0
Renders the about page.
def vsuQ(): return TvZl('about.jade', title='About', year=qcWV.now().year, repository_name=F3jJ.name)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vsuQ():\n return TvZl('about.html', title='About')", "def vsuQ():\n return TvZl('about_page.html', title='About')", "def vsuQ():\n return TvZl('about.html')", "def wZMb(YKHO):\n LgJI()", "def vsuQ():\n return TvZl('about.html', title='About', year=qcWV.now().year, message='about page.')"...
[ "0.85650355", "0.85034525", "0.84489655", "0.84044397", "0.8394454", "0.82935613", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82680845",...
0.7702098
61
Validates if the mobile number is present in our DB
def xzCw(YKHO, o8Kj): ObpS = o8Kj.get('mobile_number') try: CBIr = egNl().objects.get(mobile_number=ObpS) except rIt9: tO9_ = bGrB('Mobile number does not exist in our system') raise oEgM(detail=tO9_) return o8Kj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ya4O(HL10):\n if HL10[0:4] != '+989':\n raise sUXu('Invalid mobile')", "def y9EV(YKHO, HL10):\n YKHO.mobile = HL10.strip()\n PU1l = 'mobile number (ex. +2346787646)'\n if ZbWC.match('(^[+0-9]{1,3})*([0-9]{10,11}$)', YKHO.mobile) is None:\n raise HMo9(kMCN['invalid_field_error'].form...
[ "0.7908758", "0.78153634", "0.76618016", "0.7538794", "0.6858684", "0.68258494", "0.67313343", "0.66750556", "0.6673322", "0.6667678", "0.6658811", "0.66492355", "0.661446", "0.6564815", "0.6530095", "0.65300375", "0.64817286", "0.64553416", "0.64364177", "0.6432711", "0.6426...
0.6767172
6
Check if user instance passes this policy
def Ahuk(YKHO, QePW: PolicyRequest) -> RKPt: raise S4js()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k_LM(YKHO, YEnM):\n CBIr = YKHO.context['request'].user\n if not CBIr.is_authenticated:\n return False\n z39Z = BFpK.objects.get(user=CBIr)\n if YEnM in z39Z.get_council_privileges():\n return True\n return False", "def k_LM(YKHO, YEnM):\n CBIr = YKHO.context['request'].user\n...
[ "0.66734934", "0.6639481", "0.6574904", "0.6545851", "0.650872", "0.64759743", "0.64663786", "0.6465928", "0.64608777", "0.638229", "0.6344151", "0.63245195", "0.63087034", "0.6306086", "0.6306086", "0.6306086", "0.63042015", "0.6287854", "0.6275693", "0.626434", "0.6246596",...
0.6083794
52
Validate user exists and then validate being admin
def x0SS(YKHO, *qIxc, **B2fa): super(afAS, YKHO).clean(*qIxc, **B2fa) if YKHO.user_cache is not None and (not YKHO.user_cache.is_staff): raise H6V6.ValidationError(bGrB('User is not admin')) return YKHO.cleaned_data
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KszH(YKHO, dp9S):\n Ylbp = dp9S.helper.getOneUser(YKHO.name)\n if Ylbp == False:\n return True\n else:\n return False", "def basf(YKHO):\n try:\n mv1M.objects.get(username='admin')\n except mv1M.DoesNotExist:\n return False\n return True", "def ynRO(NtEF):\n ...
[ "0.81679124", "0.8088987", "0.7232899", "0.7190351", "0.7126982", "0.7093386", "0.7093386", "0.7078438", "0.70723057", "0.7006676", "0.70019114", "0.69578856", "0.69193476", "0.6915106", "0.6891122", "0.6860301", "0.68589574", "0.68557143", "0.68480873", "0.6845856", "0.68119...
0.65191656
52
Gets a collection of `InputExample`s for the train set.
def CxJK(YKHO, KAfx): return YKHO.read_data(KAfx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vGUt(YKHO, PU1l):\n return PU1l", "def rNg5(YKHO):\n raise NotImplementedError()", "def rNg5(YKHO, eZ_W):\n raise NotImplementedError()", "def G_y_(YKHO, nPrm, TG_K):\n _73Q = []\n for YRbF, LihS in enumerate(nPrm):\n Artt = '%s-%s' % (TG_K, YRbF)\n l5Ny = LihS[0]\n UX...
[ "0.73499966", "0.7173421", "0.7126833", "0.65602446", "0.64204013", "0.64052176", "0.63422555", "0.6290186", "0.6282746", "0.625262", "0.62499267", "0.62466323", "0.62466323", "0.62466323", "0.62466323", "0.62466323", "0.62466323", "0.62466323", "0.62466323", "0.62466323", "0...
0.0
-1
Gets a collection of `InputExample`s for the dev set.
def ObKV(YKHO, KAfx): return YKHO.read_data(KAfx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JdXm(YKHO, eZ_W):\n raise NotImplementedError()", "def vGUt(YKHO, PU1l):\n return PU1l", "def X2wT(YKHO, sEAN):\n return YKHO.fam.c_get_examples(YKHO, sEAN)", "def JdXm(YKHO):\n raise NotImplementedError()", "def G_y_(YKHO, nPrm, TG_K):\n _73Q = []\n for YRbF, LihS in enumerate(nPrm):...
[ "0.68112403", "0.6588688", "0.655683", "0.6552607", "0.64272827", "0.63816285", "0.6255956", "0.61930686", "0.61160946", "0.6094262", "0.6054992", "0.6051947", "0.5994604", "0.5994604", "0.5994604", "0.5994604", "0.5994604", "0.5994604", "0.5994604", "0.5994604", "0.5994604",...
0.0
-1
Encode the input vector and return the hidden layer.
def kLcZ(YKHO, input): MKlR = oyIN.zeros(YKHO.hidden_size) F9EQ = oyIN.dot(YKHO.W.T, input) + YKHO.b m1Hg(F9EQ, MKlR) return MKlR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kLcZ(YKHO):\n with ZylS.name_scope('encode'):\n YKHO.encoder_inputs = ZylS.layers.dense(inputs=YKHO.encoder_inputs, units=YKHO.options['hidden_size'], activation=None, use_bias=True, kernel_initializer=ZylS.keras.initializers.he_normal(seed=None), bias_initializer=ZylS.zeros_initializer(), kernel_reg...
[ "0.6366711", "0.62644607", "0.61589944", "0.6070543", "0.60465646", "0.60465646", "0.5984367", "0.5948031", "0.59459335", "0.5918803", "0.5918803", "0.58657014", "0.5859008", "0.58447266", "0.5814172", "0.58039576", "0.578531", "0.5781655", "0.57758033", "0.5770331", "0.57398...
0.6897835
0
Decode the hidden layer and return the output.
def x8I_(YKHO, zi3C): hlel = oyIN.zeros(zi3C) F9EQ = oyIN.dot(YKHO.W, YKHO.h) + YKHO.c m1Hg(F9EQ, hlel) return hlel
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x8I_(YKHO, epBp):\n Aofo = YKHO.decoder_input(epBp)\n Aofo = Aofo.view(-1, 512, 2, 2)\n Aofo = YKHO.decoder(Aofo)\n Aofo = YKHO.final_layer(Aofo)\n return Aofo", "def mAgz():\n bGrB, D15X = YKHO._model.ConstructDecodeGraph(input_batch=gNaB.TpuDequeueBatch())\n YKHO.decode_nm = ZWbl.Neste...
[ "0.6665868", "0.6654033", "0.65953827", "0.6576793", "0.6576793", "0.64054537", "0.6363088", "0.6333844", "0.6333844", "0.63186383", "0.6273008", "0.62217635", "0.619764", "0.619708", "0.6185212", "0.61830896", "0.61572087", "0.6149021", "0.61181104", "0.6088497", "0.60606277...
0.59683794
25
load an image from the specified path then resize and centrally crop it so it is `max_dim` x `max_dim` then add the batch dimension then do the VGG preprocessing steps.
def hM8o(pmON, kvoN=512): eHNT = ZylS.io.read_file(pmON) VXjJ = ZylS.io.decode_image(eHNT) VXjJ = jbie(VXjJ, kvoN) VXjJ = ZylS.expand_dims(VXjJ, axis=0) VXjJ = tW2m(VXjJ) return VXjJ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DZ0a(pmON):\n VXjJ = frG3.io.imread(pmON)\n VXjJ = VXjJ / 255.0\n assert (0 <= VXjJ).all() and (VXjJ <= 1.0).all()\n SRN6 = min(VXjJ.shape[:2])\n Jd40 = int((VXjJ.shape[0] - SRN6) / 2)\n CAzz = int((VXjJ.shape[1] - SRN6) / 2)\n tdFs = VXjJ[Jd40:Jd40 + SRN6, CAzz:CAzz + SRN6]\n NnY2 = fr...
[ "0.6574183", "0.6447274", "0.63645583", "0.6272842", "0.6116848", "0.6110461", "0.6093452", "0.6065792", "0.60598665", "0.604062", "0.6029678", "0.60124916", "0.60006446", "0.59922904", "0.596092", "0.59437567", "0.58958584", "0.58794254", "0.58730483", "0.5871344", "0.582857...
0.7724589
0
Return true if num is a power of 2.
def Dmvc(mLGw: int) -> bool: return mLGw & mLGw - 1 == 0 and mLGw > 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KMom(mLGw):\n return mLGw & mLGw - 1 == 0 and mLGw > 0", "def KMom(mLGw):\n return mLGw & mLGw - 1 == 0 and mLGw > 0", "def pW_H(mLGw):\n mLGw = int(mLGw)\n return mLGw != 0 and mLGw & mLGw - 1 == 0", "def z0fB(exwG):\n if exwG < 0:\n return False\n else:\n return exwG & e...
[ "0.884419", "0.884419", "0.88261586", "0.8139863", "0.8122464", "0.8112884", "0.7948784", "0.7947629", "0.7744439", "0.7555327", "0.7025078", "0.6979623", "0.6923772", "0.66791964", "0.66763175", "0.66548973", "0.661825", "0.65802264", "0.64112157", "0.6408351", "0.6348953", ...
0.8865914
0
Make initial condition. Currently, this is a hexagonal lattice + noise Makes reference to the self.hexagonal_lattice function, then crops down to the reference frame
def OBKl(YKHO, aPd6, ARTs=0.005): YKHO.L = aPd6 YKHO.x0 = YKHO.hexagonal_lattice(int(oyIN.ceil(YKHO.L / 0.5)), int(oyIN.ceil(YKHO.L / oyIN.sqrt(3))), noise=ARTs) YKHO.x0 += 0.001 YKHO.x0 = YKHO.x0[YKHO.x0.max(axis=1) < aPd6 * 0.97] YKHO.x = YKHO.x0 YKHO.n_c = YKHO.x0.shape[0] YKHO.n_C = YKHO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vPiw(bo34, Ux0P, okNM):\n xWGQ = KwPt(Ux0P, 'r+')\n vn0P = len(xWGQ.dimensions['nVertLevels'])\n c5lE = xWGQ.variables['xCell']\n FWrh = xWGQ.variables['yCell']\n rjPG = xWGQ.variables['xEdge']\n qQ3e = xWGQ.variables['yEdge']\n GXHd = xWGQ.variables['xVertex']\n TYy5 = xWGQ.variables['...
[ "0.59392774", "0.5737588", "0.55976343", "0.5594137", "0.55106485", "0.5469256", "0.54639053", "0.54175353", "0.5391243", "0.53064334", "0.52854824", "0.52771896", "0.5276438", "0.52277684", "0.5179265", "0.5150432", "0.5144536", "0.5126347", "0.5122714", "0.5107915", "0.5080...
0.6917108
0
Make initial condition. Currently, this is a hexagonal lattice + noise Makes reference to the self.hexagonal_lattice function, then crops down to the reference frame
def EPMO(YKHO, aPd6, ARTs=0.005): YKHO.L = aPd6 YKHO.x0 = YKHO.hexagonal_lattice(int(YKHO.L), int(oyIN.ceil(YKHO.L)), noise=ARTs, A=YKHO.A0) YKHO.x0 += 0.001 oyIN.argsort(YKHO.x0.max(axis=1)) YKHO.x0 = YKHO.x0[oyIN.argsort(YKHO.x0.max(axis=1))[:int(YKHO.L ** 2 / YKHO.A0)]] YKHO.x = YKHO.x0 Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OBKl(YKHO, aPd6, ARTs=0.005):\n YKHO.L = aPd6\n YKHO.x0 = YKHO.hexagonal_lattice(int(oyIN.ceil(YKHO.L / 0.5)), int(oyIN.ceil(YKHO.L / oyIN.sqrt(3))), noise=ARTs)\n YKHO.x0 += 0.001\n YKHO.x0 = YKHO.x0[YKHO.x0.max(axis=1) < aPd6 * 0.97]\n YKHO.x = YKHO.x0\n YKHO.n_c = YKHO.x0.shape[0]\n YKH...
[ "0.69170046", "0.5940885", "0.57401407", "0.55956054", "0.55111027", "0.5468451", "0.54636616", "0.54187566", "0.5392479", "0.53079605", "0.52859926", "0.52788", "0.5277814", "0.5228037", "0.51774377", "0.5151226", "0.51468456", "0.5125766", "0.51237863", "0.5108989", "0.5079...
0.5599232
3
Get the number of islands, defined as contiguous regions of a given cell type. Considers only cases where there are two cell types. A_islands is the number of islands of cell_type == 0, and B_islands for cell_type == 1
def XH5L(YKHO, UwS6=100): qyon = oyIN.linspace(0, YKHO.n_t - 1, UwS6).astype(int) fi4z, kSHX = (oyIN.zeros(UwS6, dtype=oyIN.int32), oyIN.zeros(UwS6, dtype=oyIN.int32)) for YRbF, a1PO in enumerate(qyon): nXnc = YKHO.tri_save[a1PO] EOO4 = oyIN.zeros((YKHO.n_c, YKHO.n_c), dtype=oyIN.float32) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZmzD(YKHO):\n Cs6h = [['1', '1', '1', '0', '0'], ['1', '1', '0', '0', '1'], ['1', '0', '1', '0', '1'], ['0', '1', '1', '1', '1'], ['1', '0', '1', '1', '1']]\n Aofo = _Bq6(Cs6h)\n YKHO.assertEqual(Aofo, 3)", "def vze_(Cs6h):\n YHY8 = list(Cs6h)\n UHFx = 0\n for YRbF in range(0, len(YHY8)):\n...
[ "0.6784147", "0.67033917", "0.65098816", "0.6254648", "0.60965127", "0.60157305", "0.5926094", "0.5919941", "0.581518", "0.57760024", "0.57539946", "0.5724426", "0.57113403", "0.5588966", "0.5543214", "0.5469735", "0.5407624", "0.539489", "0.5381206", "0.53773445", "0.5289445...
0.6586224
2
Get the number of islands, defined as contiguous regions of a given cell type. Considers only cases where there are two cell types. A_islands is the number of islands of cell_type == 0, and B_islands for cell_type == 1
def Vy7u(YKHO, UwS6=100): qyon = oyIN.linspace(0, YKHO.n_t - 1, UwS6).astype(int) uSCk = oyIN.zeros(UwS6, dtype=oyIN.int32) for YRbF, a1PO in enumerate(qyon): nXnc = YKHO.tri_save[a1PO] ojZQ = YKHO.c_types[nXnc] X3Yc = ojZQ != oyIN.roll(ojZQ, 1, axis=1) hk3T = qIRx(nXnc) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZmzD(YKHO):\n Cs6h = [['1', '1', '1', '0', '0'], ['1', '1', '0', '0', '1'], ['1', '0', '1', '0', '1'], ['0', '1', '1', '1', '1'], ['1', '0', '1', '1', '1']]\n Aofo = _Bq6(Cs6h)\n YKHO.assertEqual(Aofo, 3)", "def vze_(Cs6h):\n YHY8 = list(Cs6h)\n UHFx = 0\n for YRbF in range(0, len(YHY8)):\n...
[ "0.67853683", "0.6704313", "0.6586618", "0.6510527", "0.6255565", "0.6097517", "0.6016832", "0.5927237", "0.5921041", "0.58156675", "0.5776975", "0.5754796", "0.5725204", "0.57118547", "0.5589854", "0.5544013", "0.54708153", "0.5407814", "0.53959453", "0.53816605", "0.5378049...
0.45917535
95
Perform a normalization between [0,1]. x_norm = (xxmin)/(xmax xmin)
def NkkI(YKHO, WKvO, BQGg, bYzl): return (WKvO - BQGg) / (bYzl - BQGg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(WKvO):\n return WKvO / CkYf(WKvO)", "def NkkI(WKvO, LSh8=-1, CN9P=1):\n WzsH = (CN9P - LSh8) * ((WKvO - oyIN.min(WKvO)) / (oyIN.max(WKvO) - oyIN.min(WKvO))) + LSh8\n return WzsH", "def NkkI(WKvO):\n Nc3t = oyIN.max(WKvO)\n WJZ9 = oyIN.min(WKvO)\n WKvO = (WKvO - WJZ9) / (Nc3t - WJZ9)\...
[ "0.80984056", "0.7955471", "0.7869283", "0.78684324", "0.7778468", "0.775667", "0.7737361", "0.76808083", "0.7642053", "0.7642053", "0.7632772", "0.74893105", "0.74049294", "0.7340071", "0.72964716", "0.7260495", "0.7206723", "0.71853065", "0.71826017", "0.71630496", "0.71421...
0.7973795
1
Get the length of the interface between each pair of cells. LI[i,j] = length of interface between cell i and j = L[j,i] (if using periodic triangulation)
def pLEJ(GGUN, dtin, bdGm, cmJd, ZiFR, aPd6): O84B = oyIN.empty((GGUN, 3, 2)) for YRbF in range(3): O84B[:, YRbF] = cmJd uZ5z = oyIN.dstack((oEP2(bdGm[:, :, 0]), oEP2(bdGm[:, :, 1]))) vC9B = oyIN.mod(O84B - uZ5z + aPd6 / 2, aPd6) - aPd6 / 2 vC9B = oyIN.sqrt(vC9B[:, :, 0] ** 2 + vC9B[:, :, 1]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xBY4(YKHO, *qIxc):\n YRbF, r845 = qIxc\n return gftJ(list(YKHO)).leg_length(YRbF - 1, r845 - 1)", "def v8zV(vC9B):\n return pImw(vC9B[0], vC9B[1])", "def Pp6B(pdhd):\n jtcR = frG3.measure.perimeter(pdhd.astype(int), 8)\n XVcZ = jtcR / oyIN.sum(pdhd)\n print('LA (true count): {:.2%}'.forma...
[ "0.59834963", "0.59422874", "0.5882861", "0.5844716", "0.5699111", "0.56649065", "0.562797", "0.5627206", "0.56237376", "0.5618193", "0.5616862", "0.5605292", "0.55870914", "0.5562787", "0.5554988", "0.5550756", "0.55480146", "0.5545356", "0.5511143", "0.5471276", "0.5458074"...
0.5498029
19
Read requirements file as a list.
def Ks_v(gIsw): f9mM = Nwr9(gIsw).splitlines() if not f9mM: raise RuntimeError('Unable to read requirements from the %s fileThat indicates this copy of the source code is incomplete.' % gIsw) return f9mM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ks_v():\n with open('requirements.txt') as eHNT:\n fA3L = eHNT.readlines()\n return [U6D_.strip() for U6D_ in fA3L]", "def Ks_v():\n VGiD = Hy7s.path.join('.', 'requirements.txt')\n with open(VGiD, 'r') as eHNT:\n fA3L = [zFiD.rstrip() for zFiD in eHNT]\n return fA3L", "def Ks_...
[ "0.8748586", "0.8681122", "0.8619218", "0.8141392", "0.810621", "0.789851", "0.7836826", "0.7806789", "0.7762501", "0.7741214", "0.77101004", "0.76970416", "0.76383096", "0.7627496", "0.7618595", "0.7578627", "0.75467014", "0.7544747", "0.7517437", "0.74422437", "0.74133974",...
0.79659677
5
Get current running config on device.
def B4Uw(YKHO): return YKHO.show('show running-config')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GPtr(YKHO) -> 'outputs.DeviceConfigResponse':\n return qe4Y.get(YKHO, 'config')", "def _RdZ(YKHO, w2B8):\n GPtr = w2B8.get_config(source='running')\n if GPtr:\n tk5Y = GXnK.fromstring(GPtr._raw)\n B4Uw = tk5Y[0][0]\n xO4d = ZbWC.compile('\\r*\\n+')\n Ecjo = xO4d.split(B4U...
[ "0.7413874", "0.7359133", "0.7343755", "0.7283954", "0.70826036", "0.70769906", "0.70321804", "0.70184255", "0.695905", "0.6955101", "0.6938347", "0.6938347", "0.6938347", "0.6938347", "0.6938347", "0.6938347", "0.6938347", "0.6938347", "0.6938347", "0.6938347", "0.6938347", ...
0.77269113
0
Get the device model.
def C3ST(YKHO): vL7S = YKHO._raw_version_data() if YKHO._model is None: YKHO._model = vL7S['hardware'] return YKHO._model
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C3ST(YKHO):\n return YKHO._device.device_data[YKHO._uuid]['model']", "def C3ST(YKHO):\n return YKHO._bulb_device.model or YKHO.capabilities.get('model')", "async def get_model(YKHO):\n RKD7.info('get_model')\n hlel = await YKHO.send_command(YKHO.cmd_get_model)\n RKD7.info(f\"get_model: outpu...
[ "0.86849976", "0.82617897", "0.81384325", "0.7994881", "0.7916028", "0.7731288", "0.7724705", "0.7662568", "0.7662568", "0.76050144", "0.75849694", "0.75370795", "0.746513", "0.7363361", "0.7238591", "0.72034365", "0.7199427", "0.7087431", "0.7079612", "0.7069121", "0.7061479...
0.8051527
3
Get os version on device.
def LioG(YKHO): vL7S = YKHO._raw_version_data() if YKHO._os_version is None: YKHO._os_version = vL7S['version'] return YKHO._os_version
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cu3Z(YKHO):\n return gTEQ('PrlSrvInfo_GetOsVersion', YKHO.handle)", "def Cu3Z(YKHO):\n return gTEQ('PrlVmCfg_GetOsVersion', YKHO.handle)", "def LioG(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'os_version')", "def LioG(YKHO):\n return YKHO._os_version", "def vr5H(YKHO):\n return g...
[ "0.8357424", "0.8296784", "0.81600046", "0.80157346", "0.7974654", "0.79689115", "0.78939945", "0.7889954", "0.7727489", "0.75515336", "0.7465989", "0.73980474", "0.73010355", "0.72789496", "0.72318625", "0.7206821", "0.72060955", "0.7144352", "0.71371037", "0.71362656", "0.7...
0.78450805
8
Get serial number of device.
def OIdI(YKHO): vL7S = YKHO._raw_version_data() if YKHO._serial_number is None: YKHO._serial_number = vL7S['serial'] return YKHO._serial_number
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BxVF(YKHO) -> str:\n return qe4Y.get(YKHO, 'device_serial_number')", "def BxVF(YKHO) -> str:\n return qe4Y.get(YKHO, 'device_serial_number')", "def _RhT(YKHO):\n Pt6R = nPgD(64)\n YKHO._dll.ShamrockGetSerialNumber(YKHO._device, Pt6R)\n return Pt6R.value", "def _RhT(YKHO):\n return BlNT....
[ "0.85125524", "0.85125524", "0.8111351", "0.8094309", "0.8078873", "0.78911734", "0.7887509", "0.78827775", "0.7830774", "0.7773291", "0.7737921", "0.7638606", "0.763237", "0.7598803", "0.75985247", "0.7572365", "0.7568262", "0.7548178", "0.7542104", "0.75192124", "0.7504787"...
0.75096977
20
Total amount this user has contributed to other peoples' orders, minus total amount others have contributed to this user's orders.
def TaU_(YKHO): wjRY = sum((jjYN.amount for jjYN in YKHO.order_contributions if jjYN.is_external)) - sum((z1Rg.external_contribution for z1Rg in YKHO.own_orders)) return wjRY or ZjSO('0.00')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hG1L(YKHO):\n return YKHO.total_donated() + (YKHO.community_contribution or 0)", "def ncql(YKHO):\n CBIr = YKHO.completed_by\n Narx = CBIr.get()\n for H5ew, BWXx in YKHO.v_reward:\n Narx[H5ew] += BWXx\n pNZh.push(Narx)", "def zSxe(YKHO) -> ZjSO:\n return YKHO.total_principal + YKHO...
[ "0.6011712", "0.59071547", "0.58578575", "0.5741217", "0.5712757", "0.56965977", "0.5675433", "0.56498843", "0.5608585", "0.5605787", "0.5584599", "0.55698866", "0.5546173", "0.5531884", "0.54835373", "0.54538035", "0.5443094", "0.54304713", "0.54099894", "0.540866", "0.54072...
0.5759845
3
Method to create app and set up test client
def FCbF(YKHO): YKHO.app = LUif('testing') YKHO.app = YKHO.app.test_client() YKHO.question_details = {'title': 'How to exit Vim on Ubuntu 16.04', 'description': 'How does one get the exit Vim from terminal?'}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FCbF(YKHO):\n YKHO.app = LUif()\n YKHO.client = YKHO.app.test_client", "def fkN9():\n P4t4 = b8V_.create_application()\n P4t4.dependency_overrides[asJJ] = lj9F\n with NxUR(P4t4) as udfG:\n yield udfG", "def FCbF(YKHO):\n YKHO.app = LUif('testing')\n YKHO.client = YKHO.app.test_c...
[ "0.79120404", "0.78470296", "0.78286195", "0.77330875", "0.769381", "0.7615462", "0.7611224", "0.7611224", "0.7611224", "0.7611224", "0.7611224", "0.7611224", "0.7611224", "0.7611224", "0.7611224", "0.75286645", "0.75286645", "0.75258005", "0.7520442", "0.7509644", "0.7508783...
0.0
-1
Get list of spectra for given parameter list and base name.
def fpHX(EQeF, jr7m): mWFP = EQeF[3] Ux0P = mWFP.split('[')[0] iVRZ = mWFP.split('[')[1][:-1] Ux0P = Hy7s.path.join(jr7m, Ux0P) H4yH = qEyc.from_file(Ux0P, flux_col=iVRZ) H41B = H4yH.integrate() try: byRE(H41B) except VDOf.SynphotError: raise Bx6I.ParameterOutOfBounds("Pa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TpZY(YKHO):\n pass", "def zucJ(YKHO, P8oC, EsHy='SPECTRA_'):\n LX2r = jFWr(maxk=YKHO.max_k)\n for vZa6 in range(30):\n vFSU = Hy7s.path.join(P8oC, EsHy + str(vZa6).rjust(3, '0'))\n if not Hy7s.path.exists(vFSU):\n vFSU = Hy7s.path.join(P8oC, 'PART_' + str(vZa6).rjust(3, '0')...
[ "0.70337903", "0.6748008", "0.6547452", "0.6412692", "0.62961274", "0.61495095", "0.5945992", "0.5933074", "0.5743851", "0.5738307", "0.5712551", "0.5701117", "0.56282717", "0.56207204", "0.5576099", "0.5532797", "0.55142087", "0.5511111", "0.55032444", "0.549668", "0.54515",...
0.6810884
1
Efficient and convenient way of displaying images in interactive tabs grouped by labels/clusters. It's using IPython.display function and HTML under the hood
def tM4S(Yw_3, Crrw, kE_T=10, PLSm=220, gspd=False): assert len(Yw_3) == len(Crrw) assert type(Yw_3) is oyIN.ndarray assert type(Crrw) is oyIN.ndarray assert type(kE_T) is int assert type(PLSm) is int _R2e = FnFH(Yw_3, Crrw, kE_T, PLSm, force_b64=gspd) vM3S(_R2e)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rzaM(**Yw_3):\n exwG = len(Yw_3)\n QrM1.figure(figsize=(16, 5))\n for YRbF, (mWFP, LNo8) in enumerate(Yw_3.items()):\n QrM1.subplot(1, exwG, YRbF + 1)\n QrM1.xticks([])\n QrM1.yticks([])\n QrM1.title(' '.join(mWFP.split('_')).title())\n QrM1.imshow(LNo8)\n QrM1.sh...
[ "0.6748637", "0.65655255", "0.6563977", "0.6501886", "0.6479263", "0.6456324", "0.6456324", "0.6456324", "0.645349", "0.6315476", "0.63038445", "0.6289486", "0.6232979", "0.62301207", "0.622404", "0.6200554", "0.6190136", "0.6176619", "0.61536527", "0.6129579", "0.61195445", ...
0.63179487
9
Sets the action of this WorkflowWorkflowInfoAllOf.
def XeOP(YKHO, XeOP): BbPm = ['Start', 'Pause', 'Resume', 'Retry', 'Cancel'] if YKHO.local_vars_configuration.client_side_validation and XeOP not in BbPm: raise ValueError('Invalid value for `action` ({0}), must be one of {1}'.format(XeOP, BbPm)) YKHO._action = XeOP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FGnS(YKHO, XeOP):\n YKHO.action = XeOP\n return YKHO", "def Ddsp(YKHO, XeOP):\n YKHO._action = XeOP\n return YKHO", "def Ddsp(YKHO, XeOP):\n YKHO.action = XeOP", "def Ddsp(YKHO, XeOP):\n YKHO.action = XeOP", "def Ddsp(YKHO, XeOP):\n YKHO.__action = XeOP", "def XeOP(YKHO, XeOP):\n...
[ "0.67782867", "0.66763484", "0.6644579", "0.6644579", "0.6624107", "0.63052374", "0.6289504", "0.62523377", "0.6239488", "0.6229905", "0.6229905", "0.6229905", "0.6229905", "0.6229905", "0.6229905", "0.62084633", "0.60454094", "0.5966737", "0.58288383", "0.5599939", "0.559902...
0.549344
26
Sets the end_time of this WorkflowWorkflowInfoAllOf.
def C7pn(YKHO, C7pn): YKHO._end_time = C7pn
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C7pn(YKHO, C7pn):\n YKHO._end_time = C7pn", "def C7pn(YKHO, C7pn):\n YKHO._end_time = C7pn", "def M4HV(YKHO, M4HV):\n YKHO._end_date_time = M4HV", "def C7pn(YKHO, C7pn):\n if C7pn is None:\n raise ValueError('Invalid value for `end_time`, must not be `None`')\n YKHO._end_time = C7pn...
[ "0.7656553", "0.7656553", "0.75073254", "0.72321594", "0.71457255", "0.7067891", "0.69822735", "0.6753781", "0.64392823", "0.64392823", "0.64392823", "0.64392823", "0.64392823", "0.64392823", "0.64392823", "0.64392823", "0.6435791", "0.6409524", "0.624342", "0.6118381", "0.60...
0.77241963
2
Sets the name of this WorkflowWorkflowInfoAllOf.
def mWFP(YKHO, mWFP): YKHO._name = mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name_ = mWFP", "def WZrJ(YKHO, mWFP)...
[ "0.62764657", "0.62764657", "0.62764657", "0.62764657", "0.62764657", "0.62536746", "0.6230616", "0.6227525", "0.6227525", "0.6222099", "0.6218799", "0.6218799", "0.6205494", "0.6205494", "0.62021226", "0.6189971", "0.6181939", "0.6181939", "0.6181939", "0.6181939", "0.616011...
0.0
-1
Sets the start_time of this WorkflowWorkflowInfoAllOf.
def SWox(YKHO, SWox): YKHO._start_time = SWox
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SWox(YKHO, SWox):\n YKHO._start_time = SWox", "def SWox(YKHO, SWox):\n YKHO._start_time = SWox", "def SWox(YKHO, SWox: str):\n if SWox is None:\n raise ValueError('Invalid value for `start_time`, must not be `None`')\n YKHO._start_time = SWox", "def SWox(YKHO, BWXx):\n YKHO._start_t...
[ "0.7259494", "0.7259494", "0.69659585", "0.69177955", "0.6755454", "0.6697145", "0.6528818", "0.6504401", "0.6454112", "0.6428467", "0.6376379", "0.63364375", "0.62980837", "0.6253419", "0.62471837", "0.61212367", "0.61151904", "0.60787255", "0.6065423", "0.6058514", "0.60366...
0.73148024
3
Sets the success_workflow_cleanup_duration of this WorkflowWorkflowInfoAllOf.
def JYMn(YKHO, JYMn): YKHO._success_workflow_cleanup_duration = JYMn
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tfQd(YKHO, tfQd):\n YKHO._failed_workflow_cleanup_duration = tfQd", "def eWWZ(YKHO) -> qe4Y.Output[h8nf[int]]:\n return qe4Y.get(YKHO, 'success_retention_period')", "def eWWZ(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'success_retention_period')", "def BvBD(YKHO) -> qe4Y.Input[bool]...
[ "0.6195331", "0.5141385", "0.5139909", "0.46657354", "0.46411705", "0.46411705", "0.46364954", "0.4449436", "0.43824297", "0.43647543", "0.43647543", "0.43206546", "0.4311806", "0.42858744", "0.427781", "0.42298764", "0.41808632", "0.41712856", "0.41086656", "0.41024885", "0....
0.8581278
0
Sets the type of this WorkflowWorkflowInfoAllOf.
def type(YKHO, type): YKHO._type = type
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TG_K(YKHO, Qy0e):\n YKHO.type_balle = Qy0e", "def TG_K(YKHO, type):\n YKHO.type = type", "def TG_K(YKHO, type):\n YKHO.type = type", "def TG_K(YKHO, type):\n YKHO._type = type", "def type(YKHO, type):\n YKHO._type = type", "def type(YKHO, type):\n YKHO._type = type", "def PHUN(YKH...
[ "0.6196338", "0.59517366", "0.59517366", "0.57625175", "0.5707861", "0.5707861", "0.56250185", "0.5578843", "0.5550348", "0.5549706", "0.5549706", "0.55156875", "0.54781955", "0.5425611", "0.5425611", "0.54060525", "0.53827435", "0.5378038", "0.5378038", "0.5378038", "0.53767...
0.5659843
27
Sets the workflow_meta_type of this WorkflowWorkflowInfoAllOf.
def uSAY(YKHO, uSAY): BbPm = ['SystemDefined', 'UserDefined', 'Dynamic'] if YKHO.local_vars_configuration.client_side_validation and uSAY not in BbPm: raise ValueError('Invalid value for `workflow_meta_type` ({0}), must be one of {1}'.format(uSAY, BbPm)) YKHO._workflow_meta_type = uSAY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TG_K(YKHO, Qy0e):\n YKHO.type_balle = Qy0e", "def e5kH(YKHO, e5kH):\n if not isinstance(e5kH, IfET):\n raise TypeError('Not a valid GiftiMetaData instance')\n YKHO._meta = e5kH", "def vJBJ(YKHO, iVRZ, MMAw):\n YKHO[iVRZ][axT2] = MMAw", "def vcaS(YKHO, vcaS):\n YKHO._object_type = vc...
[ "0.49841064", "0.4907281", "0.4824843", "0.48142347", "0.48142347", "0.48142347", "0.48142347", "0.48142347", "0.47350627", "0.4677754", "0.4677754", "0.46724626", "0.46508554", "0.46230292", "0.46005636", "0.45840526", "0.45711994", "0.45569384", "0.45551628", "0.45551628", ...
0.7319362
0