query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Return the number of subject members for this subject
def aSHr(QpfX, HjSO): cuiw = KfiN() if not HjSO: tO9_ = bGrB('Subject id is required.') raise AJ5d.Invalid(tO9_) xDcj = cuiw.query(FYrf.SubjectMember) xDcj = xDcj.filter_by(deleted=False) xDcj = xDcj.filter(FYrf.SubjectMember.subject_id == str(HjSO)) return xDcj.count()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IVby(YKHO):\n return len(YKHO.members)", "def kcAR(YKHO) -> int:\n return 0", "def Vx_6(YKHO):\n return _VfD.Group_getNumMembers(YKHO)", "def Vx_6(YKHO):\n return _VfD.ListOfMembers_getNumMembers(YKHO)", "def koYM(YKHO, *qIxc, **B2fa):\n return YKHO.bot.get_chat_members_count(YKHO.id, *q...
[ "0.772104", "0.74138516", "0.736991", "0.72562224", "0.68163705", "0.67959434", "0.6596146", "0.65303284", "0.6507669", "0.6457859", "0.6423427", "0.64205056", "0.640804", "0.6380624", "0.6347884", "0.63121754", "0.62402576", "0.6160997", "0.61510974", "0.61480117", "0.614164...
0.7710199
1
Decides which direction the numbers should move and which function to use. Takes a field (list) and a direction (string) as arguments
def YyWH(Jyyj, dir): if dir == 'w': Jyyj = gOxX(Jyyj) elif dir == 's': Jyyj = JO1X(Jyyj) elif dir == 'a': Jyyj = mWjv(Jyyj) elif dir == 'd': Jyyj = ZpBx(Jyyj) return Jyyj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RqGt(YKHO, XSoh):\n print(XSoh)\n if XSoh == 'r' or XSoh == 'R':\n YKHO.motorDirection(YKHO.motor1DirectionPin, YKHO.motorReverse)\n YKHO.motorDirection(YKHO.motor2DirectionPin, YKHO.motorReverse)\n print('Direction reverse')\n else:\n YKHO.motorDirection(YKHO.motor1Directi...
[ "0.6022935", "0.5904038", "0.58467376", "0.5798845", "0.5735596", "0.5735596", "0.5720787", "0.5689735", "0.5684878", "0.5579244", "0.5538586", "0.5538111", "0.54772305", "0.5432082", "0.5423685", "0.53911453", "0.53749377", "0.53623766", "0.5355661", "0.5354094", "0.5321425"...
0.65193075
0
Checks the given direction. Takes a field (list) and a direction (string) as arguments
def hd5x(Jyyj, dir): global sym aDi_ = 1 Y8Kb = Jyyj[:] ZfP6 = Jyyj[:] if Y8Kb == YyWH(ZfP6, dir): aDi_ = 0 return False else: aDi_ = 0 return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zr_E(XSoh):\n taR9 = ['forwards', 'backwards']\n if XSoh not in taR9:\n return f'`direction` must be one of [{', '.join(taR9)}]'\n return False", "def Xnh2(YKHO, GIN8):\n YKHO.directions = ('north', 'south', 'east', 'west', 'down', 'up', 'left', 'right', 'back')\n for XSoh in YKHO.direc...
[ "0.6416556", "0.60414803", "0.58753735", "0.58546865", "0.58014697", "0.5784472", "0.56669724", "0.5533791", "0.5529238", "0.54971635", "0.5430529", "0.5380655", "0.5322589", "0.53053087", "0.5268107", "0.526434", "0.52259505", "0.52011395", "0.5165153", "0.51473004", "0.5103...
0.5623845
7
Check if a list of matrices forms an orthonormal basis.
def gC1G(PziD): PziD = oyIN.stack((vb7U for vb7U in PziD)) FUEq = len(PziD) BJ1H = oyIN.eye(FUEq, dtype=oyIN.float64) for YRbF in range(FUEq): for r845 in range(YRbF, FUEq): BJ1H[YRbF, r845] = oyIN.trace(PziD[YRbF, ...] @ PziD[r845, ...].transpose()) BJ1H[r845, YRbF] = BJ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def feR4(ryqy):\n I1mm = True\n if isinstance(ryqy, list):\n for SppC in ryqy:\n if not isinstance(SppC, oyIN.matrix):\n I1mm = False\n else:\n I1mm = False\n return I1mm", "def xs_m(PziD):\n PziD = oyIN.stack((vb7U for vb7U in PziD))\n FUEq = len(PziD)\n...
[ "0.68600386", "0.64700145", "0.63169473", "0.5977321", "0.5859525", "0.5731614", "0.5651928", "0.5617208", "0.557992", "0.553658", "0.55348724", "0.55106556", "0.54960275", "0.5460473", "0.5455496", "0.5454142", "0.54330325", "0.54206663", "0.5403764", "0.54003906", "0.540005...
0.72912705
0
Tests whether ``.ChannelMetadataGuildMainBase.__eq__`` works as intended.
def ADHB(): H7rZ = 202209170024 mWFP = 'Armelyrics' kCPm = [NrSw(202209170026, target_type=OjMX.user)] dQgj = 7 nURT = {'parent_id': H7rZ, 'name': mWFP, 'permission_overwrites': kCPm, 'position': dQgj} IJxQ = Wa6P(**nURT) Qg87.assert_eq(IJxQ, IJxQ) Qg87.assert_ne(IJxQ, object()) for ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if not isinstance(Elif, DzNb):\n return False\n return YKHO.__dict__ == Elif.__dict__", "def xa14(YKHO, Elif):\n return isinstance(Elif, type(YKHO)) and set(YKHO.channels) == set(Elif.channels)", "def xa14(YKHO, Elif: object) -> bool:\n if not isinstance(Elif, YKHO.__...
[ "0.67958033", "0.65078115", "0.6484208", "0.64335704", "0.6409005", "0.6355463", "0.63350314", "0.6317273", "0.63166475", "0.6309817", "0.6308102", "0.6306244", "0.6306244", "0.6259636", "0.62531966", "0.62531966", "0.62531966", "0.62531966", "0.62531966", "0.62531966", "0.62...
0.7348498
0
Posts message to Webex Teams Space via Teams API.
def XISX(cNcC, Ol8d): bD7m = 'https://api.ciscospark.com/v1/messages' Ah6z = {'roomId': cNcC, 'text': Ol8d} nPrm = qQXR.dumps(Ah6z).encode('utf8') MOPg = {'Content-Type': 'application/json', 'Authorization': 'Bearer %s' % bUs_} QePW = uRlK.request.Request(bD7m, nPrm, MOPg) uRlK.request.urlopen(Q...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MKW7(YKHO):\n zgjV = jA2G.data()\n p0BE = zX2l(zgjV)\n abiq = nNXP.rooms.get(p0BE.data.roomId)\n Ol8d = nNXP.messages.get(p0BE.data.id)\n if Ol8d.personId == RuJL.id:\n return 'OK'\n else:\n a70H = nNXP.people.get(Ol8d.personId)\n print(\"NEW MESSAGE IN ROOM '{}'\".format...
[ "0.7260894", "0.6730366", "0.6399684", "0.6363027", "0.6303861", "0.63001585", "0.62660867", "0.6256721", "0.6224647", "0.62149286", "0.61287177", "0.6087486", "0.6047124", "0.604167", "0.602124", "0.60182124", "0.59959775", "0.59786326", "0.59661853", "0.5948993", "0.5899369...
0.568731
32
Instantiate an ASVspoof dataset.
def FIMM(YKHO, tk5Y, EvQg=True, ulrI=None, SZFh=None): YKHO.train = EvQg YKHO._spkr_table = gEDo(Hy7s.path.join(tk5Y, 'TIMIT/DOC/SPKRINFO.TXT'), EvQg) if EvQg: tk5Y = Hy7s.path.join(tk5Y, 'TIMIT/TRAIN') else: tk5Y = Hy7s.path.join(tk5Y, 'TIMIT/TEST') if ulrI is None: pGSI = Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, __n6):\n YKHO._dataset = __n6", "def FIMM(YKHO, __n6: Dataset):\n YKHO.dataset = __n6", "def FIMM(YKHO, nPrm, hQHm, jlSq):\n YKHO.data = nPrm\n YKHO.v1 = hQHm\n YKHO.v2 = jlSq", "def ZRjb(JZXy=''):\n return azbc()", "def FIMM(YKHO):\n YKHO.svclassifier = _VRL(kernel='lin...
[ "0.56679356", "0.55737174", "0.5539805", "0.55116534", "0.5410488", "0.5373269", "0.53664124", "0.5346616", "0.5346616", "0.5338754", "0.5332249", "0.5323143", "0.53092664", "0.5307395", "0.52873755", "0.52870107", "0.5281569", "0.5251314", "0.5217191", "0.52141094", "0.51925...
0.0
-1
Formats a datetime, date or string as an ISO8601 string
def pbww(BWXx): if isinstance(BWXx, qcWV): return BWXx.strftime(eSXd) elif isinstance(BWXx, _c1T): return BWXx.strftime(eSXd) elif isinstance(BWXx, int) or isinstance(BWXx, float): return qcWV.fromtimestamp(BWXx).strftime(eSXd) elif isinstance(BWXx, str): for FMLJ in ['%Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NN8z(YEnM):\n return YEnM.strftime('%Y-%m-%dT%H:%M:%SZ')", "def Zb98(YKHO, qcWV):\n return qcWV.isoformat()", "def Zb98(YKHO, nPrm):\n nPrm = Gfg6(nPrm)\n if YKHO.datetime_formatting == 'rfc-2822':\n return Zb98(nPrm)\n return nPrm.isoformat()", "def AJqZ(YKHO):\n if YKHO.timezon...
[ "0.812086", "0.75518924", "0.7392109", "0.73067963", "0.729053", "0.72904897", "0.7132998", "0.7093537", "0.7091279", "0.7050992", "0.70505095", "0.7045866", "0.6931054", "0.6894664", "0.6890694", "0.6887499", "0.6828062", "0.6783544", "0.6760374", "0.67411095", "0.667677", ...
0.0
-1
Gets the updated learning rate, where both the size and direction of change depends on where the current iterations falls in the LR cycle
def gWpO(YKHO, dfHy: int) -> float: wSvb = dfHy / YKHO.full_cycle if wSvb <= 0.5: tspZ = YKHO.init_lr + dfHy * YKHO.increment elif 0.5 < wSvb <= 1: tspZ = YKHO.init_lr + (YKHO.full_cycle - dfHy) * YKHO.increment else: tspZ = YKHO.init_lr + (dfHy - YKHO.full_cycle) * YKHO.tail_dec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b0Ix(qtWj):\n YKHO.lr = YKHO.lr / 1.00000001\n return YKHO.lr", "def NkTt(YKHO):\n GPtr = YKHO.config\n JQpF = LXsA.adjust_learning_rate(YKHO.optimizer, YKHO.epoch, GPtr['training']['learning_rate'], decay=GPtr['training']['lr_decay_rate'], step=GPtr['training']['lr_decay_step'])\n YKHO.cur_lr...
[ "0.78187853", "0.7785106", "0.77401835", "0.7728709", "0.7622573", "0.75150746", "0.74915457", "0.74766344", "0.7467334", "0.7460882", "0.7456292", "0.74437195", "0.7294708", "0.7278568", "0.7201488", "0.7201488", "0.7200297", "0.7200297", "0.7171246", "0.7152182", "0.7145887...
0.68816733
30
Overwrite the optimiser LR and momentum (if applicable) to what's specified in this callback
def RwXz(YKHO, Wc9F: int, nfqd={}) -> None: print(f'Updating LR to callback init LR: {YKHO.init_lr}') YKHO.model.optimizer.lr.assign(YKHO.init_lr) if YKHO.cyclic_momentum: print(f'Updating momentum to callback init momentum: {YKHO.init_momentum}') YKHO.model.optimizer.momentum.assign(YKHO.in...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YPaw(YKHO):\n YKHO.compute_lr()\n YKHO.optimizer.param_groups[YKHO.param_group]['lr'] = YKHO.lr\n YKHO.optimizer.param_groups[YKHO.param_group]['momentum'] = YKHO.momentum", "def c6l7(YKHO, *qIxc, **B2fa):\n raise NotImplementedError", "def c6l7(YKHO, *qIxc, **B2fa):\n raise NotImplementedEr...
[ "0.7096096", "0.7083641", "0.7083641", "0.67919034", "0.6785857", "0.67111427", "0.6663379", "0.6653025", "0.6633548", "0.6593658", "0.6560677", "0.655529", "0.6553427", "0.6552752", "0.6537889", "0.6486289", "0.6475922", "0.646475", "0.64041394", "0.63940114", "0.6365639", ...
0.63653934
21
Gets the number of iterations required to achieve the maximum learning rate, provided both the initial learning rate and the increment size (which is on a log base 10 scale)
def lc4b(YA22: int, Ep8u: int, HasU: int) -> int: return YA22 // Ep8u * HasU
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O3Fz():\n return 2000", "def NkTt():\n return 1e-05", "def h5Ps(JyoU: Iterable, FtS5: int) -> int:\n return len(JyoU) // FtS5", "def Qvn0(YKHO):\n return YKHO.tmax_epochs - YKHO.tmin_epochs", "def uH9w(YKHO) -> int:\n if YKHO.hparams.max_steps:\n return YKHO.hparams.max_steps\n ...
[ "0.7032233", "0.66875947", "0.667666", "0.6495764", "0.6415308", "0.6415308", "0.6376867", "0.6318192", "0.63148457", "0.62815166", "0.62557095", "0.62294275", "0.61517715", "0.61355764", "0.6118113", "0.6112622", "0.6108275", "0.60991913", "0.60991913", "0.6084063", "0.60781...
0.64215267
4
Performs operations on the eye frame to isolate the iris
def daQb(JBpd, gwAu): WZcn = oyIN.ones((3, 3), oyIN.uint8) pNlb = XC5k.bilateralFilter(JBpd, 10, 15, 15) pNlb = XC5k.erode(pNlb, WZcn, iterations=3) pNlb = XC5k.threshold(pNlb, gwAu, 255, XC5k.THRESH_BINARY)[1] return pNlb
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MKcv(YKHO, JBpd):\n YKHO.iris_frame = YKHO.image_processing(JBpd, YKHO.threshold)\n Iowl, bGrB = XC5k.findContours(YKHO.iris_frame, XC5k.RETR_TREE, XC5k.CHAIN_APPROX_NONE)[-2:]\n Iowl = sorted(Iowl, key=XC5k.contourArea)\n try:\n khQ6 = XC5k.moments(Iowl[-2])\n YKHO.x = int(khQ6['m10'...
[ "0.7296892", "0.647295", "0.63905966", "0.619666", "0.60340935", "0.588351", "0.5873989", "0.57799286", "0.57169574", "0.56637853", "0.56582534", "0.55783826", "0.5560803", "0.55563104", "0.53972054", "0.5389131", "0.53548276", "0.5308359", "0.52839845", "0.52753854", "0.5274...
0.60038483
5
Returns the percentage of space that the iris takes up on the surface of the eye.
def XQbx(f4IJ): f4IJ = f4IJ[5:-5, 5:-5] H2v2, TVTK = f4IJ.shape[:2] W8Oh = H2v2 * TVTK I61C = W8Oh - XC5k.countNonZero(f4IJ) return I61C / W8Oh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DXbX(YKHO):\n if YKHO.pupils_located:\n BEeu = YKHO.eye_left.pupil.x / (YKHO.eye_left.center[0] * 2 - 10)\n Goxk = YKHO.eye_right.pupil.x / (YKHO.eye_right.center[0] * 2 - 10)\n return (BEeu + Goxk) / 2", "def InLe(YKHO):\n return YKHO.count_ones() / float(YKHO.xspan * YKHO.yspan)"...
[ "0.64891875", "0.6354588", "0.63132066", "0.61837536", "0.6149222", "0.60943633", "0.6046352", "0.6026906", "0.6017602", "0.5980879", "0.5956626", "0.59555954", "0.5933781", "0.5933781", "0.5933781", "0.5931633", "0.58839655", "0.5840578", "0.58396274", "0.58396274", "0.58396...
0.5966948
10
Returns the middle point (x,y) between two points
def bUz9(EBgd, HpuQ): WKvO = int((EBgd.x + HpuQ.x) / 2) LVAh = int((EBgd.y + HpuQ.y) / 2) return (WKvO, LVAh)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lKXT(lCHq, ANJu):\n WKvO, LVAh = (int((lCHq[0] + ANJu[0]) / 2), int((lCHq[1] + ANJu[1]) / 2))\n return (WKvO, LVAh)", "def HmiB(jzdc: Point, Fg_i: Point) -> PvyL:\n return PvyL((jzdc.x + Fg_i.x) / 2, (jzdc.y + Fg_i.y) / 2)", "def UK8I(X3qZ, ZYCo):\n (nJ9F, nxyw), (o4D3, si3g) = (X3qZ, ZYCo)\n ...
[ "0.8332387", "0.832619", "0.80376065", "0.7855965", "0.77383506", "0.7694335", "0.761417", "0.7549157", "0.73095095", "0.7287564", "0.7153021", "0.71367353", "0.7130825", "0.71296805", "0.70716804", "0.6961621", "0.68734384", "0.67816556", "0.67264247", "0.6706939", "0.670399...
0.88593143
0
Get value from package/project configuration settings.
def Zmkp(H5ew, HyJ9=None): BWXx = E0_f(H5ew) if BWXx is None: BWXx = IAIy(H5ew) if BWXx is not None: return BWXx return HyJ9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IAIy(H5ew, HyJ9=None):\n try:\n GPtr = CREs.load_settings(o4sw.FILE_PACKAGE_SETTINGS)\n if GPtr and GPtr.has(H5ew):\n return GPtr.get(H5ew)\n except RuntimeError:\n CREs.set_timeout(lambda: mKFS(), 0)\n if o4sw.CONFIG_PACKAGE:\n if H5ew in o4sw.CONFIG_PAC...
[ "0.7372877", "0.73065704", "0.71638405", "0.7117794", "0.70552105", "0.69296044", "0.6906995", "0.6880387", "0.686294", "0.6832302", "0.6735246", "0.6722489", "0.6700523", "0.66744435", "0.666836", "0.66381544", "0.6605854", "0.65933394", "0.6579853", "0.6573926", "0.65435594...
0.6702843
12
Get value from default/user package configuration settings.
def IAIy(H5ew, HyJ9=None): try: GPtr = CREs.load_settings(o4sw.FILE_PACKAGE_SETTINGS) if GPtr and GPtr.has(H5ew): return GPtr.get(H5ew) except RuntimeError: CREs.set_timeout(lambda: mKFS(), 0) if o4sw.CONFIG_PACKAGE: if H5ew in o4sw.CONFIG_PACKAGE: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zmkp(H5ew, HyJ9=None):\n BWXx = E0_f(H5ew)\n if BWXx is None:\n BWXx = IAIy(H5ew)\n if BWXx is not None:\n return BWXx\n return HyJ9", "def jW6S(mWFP: str):\n return PSrQ.objects.first().__dict__[mWFP]", "def U5a0(YKHO, H5ew, WmM4=None):\n if not 'settings' in YKHO.configura...
[ "0.71989745", "0.7113931", "0.7026636", "0.6831768", "0.68213725", "0.6797336", "0.67946523", "0.6753318", "0.6746971", "0.6725576", "0.6695343", "0.6694983", "0.66856986", "0.6609533", "0.65969265", "0.65899867", "0.65829045", "0.65431464", "0.65360355", "0.6515875", "0.6461...
0.80719346
0
Get value from project configuration settings.
def E0_f(H5ew, HyJ9=None): try: xRYx() except RuntimeError: CREs.set_timeout(lambda: xRYx(), 0) if o4sw.CONFIG_PROJECT: if H5ew in o4sw.CONFIG_PROJECT: return o4sw.CONFIG_PROJECT[H5ew] return HyJ9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def U5a0(YKHO, leAC, YqMg):\n return YKHO.parser.get(leAC, YqMg)", "def gCuF():\n return v083()[1]", "def Zmkp(YKHO, KAOR):\n try:\n return pJO5.objects.get(base_parameter=KAOR, project=YKHO.context.get('view').kwargs.get('project')).raw_value\n except pJO5.DoesNotExist:\n return None...
[ "0.7294889", "0.7209854", "0.71413344", "0.7135972", "0.70718896", "0.70299363", "0.68946207", "0.68454206", "0.68304175", "0.6797999", "0.6759331", "0.6723995", "0.66781276", "0.6677022", "0.6604862", "0.6552394", "0.6526165", "0.65131354", "0.65056795", "0.65033174", "0.646...
0.7473363
0
Open or focus file in window, which is currently being debugged.
def zeCX(Ux0P, rdlD=None): if Hy7s.path.exists(Ux0P): KnxT = CREs.active_window() KnxT.focus_group(0) EmMj = False tTee = KnxT.find_open_file(Ux0P) if not tTee is None: EmMj = True KnxT.focus_view(tTee) wWUN(tTee, rdlD) if not EmMj:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cHUw(YKHO):\n qaEx = YKHO.openFileExplorer()\n if qaEx is not None:\n gIsw = YKHO.getFileNameFromPath(qaEx)\n print('open file')\n YKHO.add_new_tab(file_path=qaEx, file_name=gIsw)", "def jmYA(Ux0P, zFiD, fvDH):\n NRcB = HYaX.EditorBuffer.get(HYaX.File(Ux0P))\n HYaX.MDI.get_by...
[ "0.70374054", "0.7001625", "0.6728387", "0.67087793", "0.6633132", "0.6571457", "0.6564465", "0.655614", "0.6480915", "0.6480411", "0.6476841", "0.64765257", "0.6471493", "0.6360822", "0.6340648", "0.6301309", "0.62916464", "0.6210858", "0.6183451", "0.6158362", "0.6098057", ...
0.58484375
35
Scroll the view to center on the given row (line number).
def wWUN(tTee, rdlD=None): if rdlD is not None: try: AlIk = HRN_(rdlD)[0].a tTee.show_at_center(AlIk) except: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HSiK(bx_5, QP4x, uHtW=False):\n UHFx = bx_5.blockCount()\n if QP4x > UHFx:\n QP4x = UHFx\n QP4x = QP4x - 1\n oeNL = bx_5.document().findBlockByNumber(QP4x).position()\n FGnj(bx_5, oeNL)\n if uHtW:\n S6Fl = bx_5.verticalScrollBar()\n S6Fl.setValue(max(0, S6Fl.value() - 2))...
[ "0.61264294", "0.60592645", "0.5895141", "0.5608004", "0.5565074", "0.5558783", "0.54682994", "0.5464183", "0.54525656", "0.53794324", "0.5370704", "0.5338742", "0.53369683", "0.5336963", "0.5314059", "0.5277507", "0.5255978", "0.52061677", "0.51960325", "0.518687", "0.518395...
0.6779723
0
Gets the transport_call_sequence_number of this TransportCall.
def Ljn1(YKHO) -> Ug4N: return YKHO._transport_call_sequence_number
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jTbc(YKHO):\n return YKHO._sequence_number", "def Ljn1(YKHO, Ljn1: TransportCallSequenceNumber):\n YKHO._transport_call_sequence_number = Ljn1", "def jTbc(YKHO):\n return YKHO._sequence_number", "def jTbc(YKHO):\n return YKHO._annotations.get(zcMy.PROP_SEQ_NUMBER, None)", "def z6GL(YKHO):\n...
[ "0.6963038", "0.67741954", "0.6749771", "0.6677467", "0.6429742", "0.5921302", "0.59178203", "0.5893854", "0.58414215", "0.58299685", "0.5824347", "0.5793729", "0.5741379", "0.5716518", "0.57060516", "0.56729215", "0.56632364", "0.5628967", "0.55962527", "0.5595896", "0.55705...
0.9205537
0
Sets the transport_call_sequence_number of this TransportCall.
def Ljn1(YKHO, Ljn1: TransportCallSequenceNumber): YKHO._transport_call_sequence_number = Ljn1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ljn1(YKHO) -> Ug4N:\n return YKHO._transport_call_sequence_number", "def jTbc(YKHO, jTbc):\n if jTbc is not None:\n if not isinstance(jTbc, int):\n raise TypeError('Invalid type for `sequence_number`, type has to be `int`')\n YKHO._sequence_number = jTbc", "def bG_M(YKHO, bG_M):\...
[ "0.71706456", "0.62719053", "0.612321", "0.600532", "0.600532", "0.600532", "0.600532", "0.5963724", "0.59230554", "0.57909703", "0.57386893", "0.55959123", "0.55951446", "0.55877894", "0.55337256", "0.54906124", "0.54462594", "0.5418023", "0.5405004", "0.53730154", "0.536835...
0.8826703
0
Gets the un_location_code of this TransportCall.
def iyyR(YKHO) -> _30y: return YKHO._un_location_code
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iyyR(YKHO, iyyR: UNLocationCode1):\n YKHO._un_location_code = iyyR", "def jLqg(YKHO):\n return YKHO._zip_code", "def zM6d(YKHO):\n return YKHO.code", "def zM6d(YKHO):\n return YKHO.code", "def zM6d(YKHO):\n return YKHO.code", "def zM6d(YKHO):\n return YKHO.code", "def R7Wb(YKHO):\...
[ "0.6622405", "0.5913561", "0.5826909", "0.5826909", "0.5826909", "0.5826909", "0.56042856", "0.5551572", "0.554241", "0.5427338", "0.53895587", "0.53895587", "0.53895587", "0.53895587", "0.53355235", "0.5309055", "0.5294797", "0.5292849", "0.528643", "0.5209685", "0.5198675",...
0.77014303
0
Gets the facility_code of this TransportCall.
def ILWB(YKHO) -> mQUq: return YKHO._facility_code
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GxHa(YKHO) -> mtE6:\n return YKHO._facility_type_code", "def q9t3(YKHO):\n return YKHO.facility_names.get(YKHO.facility, YKHO.facility_names['user'])", "def GxHa(YKHO, GxHa: FacilityTypeCodeTRN):\n YKHO._facility_type_code = GxHa", "def bIpB(YKHO) -> BJj2:\n return YKHO._facility_code_list_pr...
[ "0.76306325", "0.63968474", "0.6062447", "0.59766823", "0.5936451", "0.58175796", "0.56413954", "0.5449211", "0.5346333", "0.52893835", "0.52063215", "0.52063215", "0.52063215", "0.52063215", "0.52063215", "0.52063215", "0.52063215", "0.52063215", "0.5197882", "0.5197882", "0...
0.8236776
0
Gets the facility_code_list_provider of this TransportCall.
def bIpB(YKHO) -> BJj2: return YKHO._facility_code_list_provider
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bIpB(YKHO, bIpB: FacilityCodeListProvider):\n YKHO._facility_code_list_provider = bIpB", "def ILWB(YKHO) -> mQUq:\n return YKHO._facility_code", "def GxHa(YKHO) -> mtE6:\n return YKHO._facility_type_code", "def GxHa(YKHO, GxHa: FacilityTypeCodeTRN):\n YKHO._facility_type_code = GxHa", "def ...
[ "0.6927874", "0.6314324", "0.5720347", "0.5131594", "0.51165104", "0.5051455", "0.49435464", "0.49236757", "0.48180133", "0.4743", "0.47290778", "0.47071797", "0.46978357", "0.46914044", "0.46867642", "0.46514556", "0.4645628", "0.45946458", "0.4540872", "0.45404473", "0.4532...
0.86604375
0
Gets the facility_type_code of this TransportCall.
def GxHa(YKHO) -> mtE6: return YKHO._facility_type_code
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ILWB(YKHO) -> mQUq:\n return YKHO._facility_code", "def GxHa(YKHO, GxHa: FacilityTypeCodeTRN):\n YKHO._facility_type_code = GxHa", "def KNft(YKHO):\n return YKHO._TYPE_CODE", "def G1Gj(YKHO):\n return _VfD.FbcOr_getTypeCode(YKHO)", "def G1Gj(YKHO):\n return _VfD.Group_getTypeCode(YKHO)",...
[ "0.7469634", "0.70491064", "0.6334726", "0.6140814", "0.60163283", "0.5955726", "0.59346575", "0.5934325", "0.5921057", "0.5814628", "0.5803388", "0.5802081", "0.57825863", "0.57601184", "0.57542807", "0.5747234", "0.5746684", "0.5710185", "0.56925726", "0.5640349", "0.563424...
0.84395015
0
Sets the facility_type_code of this TransportCall.
def GxHa(YKHO, GxHa: FacilityTypeCodeTRN): YKHO._facility_type_code = GxHa
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ILWB(YKHO, ILWB: FacilityCode):\n YKHO._facility_code = ILWB", "def GxHa(YKHO) -> mtE6:\n return YKHO._facility_type_code", "def bIpB(YKHO, bIpB: FacilityCodeListProvider):\n YKHO._facility_code_list_provider = bIpB", "def ILWB(YKHO) -> mQUq:\n return YKHO._facility_code", "def uCW2(YKHO, u...
[ "0.7423072", "0.68273073", "0.5729778", "0.5681416", "0.5639891", "0.54400724", "0.5416981", "0.5416981", "0.54142743", "0.54113394", "0.538243", "0.53485966", "0.5314421", "0.52826625", "0.52826625", "0.5275592", "0.52329594", "0.52232313", "0.51419693", "0.5137019", "0.5119...
0.8590951
0
Gets the other_facility of this TransportCall.
def eB42(YKHO) -> ONaO: return YKHO._other_facility
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kejD(YKHO):\n return getattr(YKHO, '_facility', 'user')", "def eB42(YKHO, eB42: OtherFacility):\n YKHO._other_facility = eB42", "def r306(YKHO, Cxcb):\n mxj8 = YKHO.Call.findTrunkPartyToOtherSite(Cxcb)\n return mxj8.DN.otherEndParty() if mxj8 and mxj8.DN else None", "def Ccas(YKHO):\n retu...
[ "0.62173206", "0.6215546", "0.60112906", "0.5618352", "0.55308914", "0.55186707", "0.5360198", "0.5327582", "0.520508", "0.5185801", "0.5175611", "0.50265193", "0.502354", "0.4877988", "0.4853956", "0.4838288", "0.47945", "0.47939295", "0.47162384", "0.47103912", "0.4699951",...
0.8507804
0
Sets the other_facility of this TransportCall.
def eB42(YKHO, eB42: OtherFacility): YKHO._other_facility = eB42
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eB42(YKHO) -> ONaO:\n return YKHO._other_facility", "def yrxi(YKHO, yrxi):\n YKHO._facility_name = yrxi", "def ILWB(YKHO, ILWB: FacilityCode):\n YKHO._facility_code = ILWB", "def PEkc(YKHO, rT0I):\n YKHO._connectPortal = rT0I", "def HGqR(YKHO, HGqR):\n YKHO.logger.debug(\"In 'mother' set...
[ "0.6466638", "0.5448923", "0.54050916", "0.51941055", "0.50108624", "0.49428844", "0.48733217", "0.47866112", "0.47462025", "0.47439834", "0.4608091", "0.45922807", "0.45272255", "0.45255762", "0.4491326", "0.44810724", "0.44152954", "0.44091251", "0.4404139", "0.44013253", "...
0.8593055
0
Gets the mode_of_transport of this TransportCall.
def xKuS(YKHO) -> c3UW: return YKHO._mode_of_transport
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xKuS(YKHO, xKuS: ModeOfTransport):\n if xKuS is None:\n raise ValueError('Invalid value for `mode_of_transport`, must not be `None`')\n YKHO._mode_of_transport = xKuS", "def jEwG(YKHO):\n return YKHO._operation_mode", "def hRLm(YKHO):\n with YKHO.lock:\n Tuqy = YKHO.mode\n retu...
[ "0.6922612", "0.6919277", "0.6914625", "0.68750006", "0.6809099", "0.68015593", "0.67928", "0.6741832", "0.67172074", "0.67172074", "0.67172074", "0.67147106", "0.6696603", "0.66642433", "0.6643494", "0.6643494", "0.6643494", "0.66030246", "0.6578615", "0.6506838", "0.6487486...
0.89913356
0
Gets the location of this TransportCall.
def Rci7(YKHO) -> xBeT: return YKHO._location
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QXqx(YKHO):\n return YKHO._Location", "def hbd3(YKHO):\n return YKHO.location", "def hbd3(YKHO):\n return YKHO.__location", "def hbd3(YKHO) -> tuple:\n return YKHO.__location", "def hbd3(YKHO):\n return YKHO.location", "def Rci7(YKHO):\n return YKHO._location", "def Rci7(YKHO):\n ...
[ "0.7750524", "0.76978517", "0.76392424", "0.7535657", "0.7446825", "0.7426462", "0.7426462", "0.7389858", "0.7348277", "0.7268434", "0.7104591", "0.7087535", "0.7081364", "0.7081364", "0.7081364", "0.7080595", "0.7072766", "0.70353323", "0.697734", "0.69753605", "0.69753605",...
0.7245504
10
Gets the vessel of this TransportCall.
def hLob(YKHO) -> aEqv: return YKHO._vessel
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Fefd(YKHO):\n return YKHO.read_register(4098, 1, 3)", "def s_y2(YKHO):\n if YKHO._swarm_series is None:\n raise ValueError('Run pick() method before access this property')\n return YKHO._swarm_series['equity']", "def hLob(YKHO, hLob: Vessel):\n YKHO._vessel = hLob", "def AcZN(YKHO, s5r...
[ "0.560301", "0.5569039", "0.55634546", "0.52054715", "0.49749368", "0.49590352", "0.49332634", "0.48401356", "0.48102656", "0.48093945", "0.47924298", "0.47185913", "0.47121373", "0.46898058", "0.46894285", "0.46704713", "0.46704713", "0.46704713", "0.46312952", "0.46303323", ...
0.7892122
0
Function to split data into train and val sets
def Qb89(nPrm, Crrw, HI29): d6pt = oyIN.random.permutation(len(nPrm)) ytjR = nPrm[d6pt][-HI29:] Lcqa = nPrm[d6pt][:-HI29] A3RF = Crrw[d6pt][-HI29:].ravel() VJv0 = Crrw[d6pt][:-HI29].ravel() return (Lcqa, ytjR, VJv0, A3RF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWSc(nPrm):\n raise NotImplementedError", "def F_Ph(YKHO):\n YKHO.train, YKHO.valid, bGrB, bGrB = bHtP(YKHO.data, YKHO.data, test_size=0.2)\n YKHO.valid, YKHO.test, bGrB, bGrB = bHtP(YKHO.valid, YKHO.valid, test_size=0.5)", "def cTf9(onqj):\n XxFT, t4zr = bHtP(onqj, test_size=0.2, random_state=...
[ "0.8379278", "0.7890254", "0.7878437", "0.77447265", "0.77147746", "0.77090174", "0.7700599", "0.7699981", "0.7680631", "0.7614884", "0.75980246", "0.7575293", "0.74876386", "0.748571", "0.748436", "0.74659514", "0.74533266", "0.74352497", "0.7428148", "0.7426668", "0.7425453...
0.787688
3
Helper Function to Partition Training and Val Data
def hyUj(nPrm, cvpa, _ebQ, JwQp): Mm5P = nPrm[:(cvpa - _ebQ) * JwQp] j1OB = nPrm[(cvpa - _ebQ + 1) * JwQp:] EvQg = oyIN.concatenate((Mm5P, j1OB), axis=0) wEf2 = nPrm[(cvpa - _ebQ) * JwQp:(cvpa - _ebQ + 1) * JwQp] return (EvQg, wEf2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qrt_(YKHO, nPrm, Crrw):\n raise Exception('Not implmented')", "def JWSc(nPrm):\n raise NotImplementedError", "def Qrt_(YKHO, nPrm, Crrw):\n return YKHO.kfold.split(Crrw)", "def DT90():\n __n6 = gMbG.MNIST('./data', train=False, download=True, transform=Ymkf.Compose([Ymkf.ToTensor(), Ymkf.Norm...
[ "0.69507563", "0.69246083", "0.6822113", "0.6767803", "0.6760928", "0.6736863", "0.6716522", "0.6709685", "0.66771686", "0.6621921", "0.6614691", "0.6572576", "0.65240484", "0.64933664", "0.6479558", "0.64308786", "0.63831043", "0.636406", "0.63617957", "0.63549644", "0.63293...
0.682899
2
For normal servers, return our project landing page. For maint servers, show our maintenance page. Hiring shows a little banner stripe.
def F_xU(QePW): t43k = True QpfX = K1Ja(QePW) ' if logged in show institution courses if appropriate \n other rules: superuser - sees all\n staff - sees all from institution?\n ' if not QePW.user.is_authenticated(): GF_L = CQpO.objects.filter(mode='ready', instituti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IC8O():\n return TvZl('blank-slate.html')", "def hXw_():\n return TvZl('index.html')", "def XkU1():\n return TvZl('index.html')", "def F_xU():\n return TvZl('landing.html')", "def W8mS():\n return TvZl('index.html')", "def kZiy():\n gCuF = xzow.find_settings()\n if not gCuF.enabl...
[ "0.69910353", "0.69026303", "0.68853486", "0.6730065", "0.6710997", "0.65941024", "0.65666854", "0.6537216", "0.6475628", "0.6431378", "0.6420248", "0.64127135", "0.6380948", "0.6380948", "0.6366023", "0.6355956", "0.6345088", "0.633177", "0.6325091", "0.6307524", "0.62918663...
0.0
-1
Applies binary thresholding to the picture + gaussian blurring for smoothing.
def hGLC(VXjJ, gwAu): bGrB, xiPz = XC5k.threshold(VXjJ, gwAu, 255, XC5k.THRESH_BINARY) xiPz = XC5k.GaussianBlur(xiPz, (9, 9), 0) return xiPz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ffz0(VXjJ):\n LNo8 = jbYn.cvtColor(VXjJ, jbYn.COLOR_BGR2GRAY)\n LNo8 = jbYn.GaussianBlur(LNo8, (3, 3), 0)\n U5bT, LNo8 = jbYn.threshold(LNo8, 0, 255, jbYn.THRESH_BINARY_INV | jbYn.THRESH_OTSU)\n return LNo8", "def UgEq(VXjJ, M6vu=3):\n N4uf = Sk6z(VXjJ, orient='x', sobel_kernel=M6vu, thresh=(2...
[ "0.7324092", "0.71054596", "0.7091587", "0.70801264", "0.69444305", "0.6869273", "0.68644875", "0.6819687", "0.67708397", "0.6760809", "0.6723325", "0.6708034", "0.6666469", "0.6664369", "0.6654734", "0.66252667", "0.6604466", "0.6575203", "0.6574955", "0.65726924", "0.657177...
0.77002597
0
Inverted binary thresholding + gaussian blurring.
def tVcc(VXjJ, gwAu): bGrB, xiPz = XC5k.threshold(VXjJ, gwAu, 255, XC5k.THRESH_BINARY_INV) xiPz = XC5k.GaussianBlur(xiPz, (5, 5), 0) return xiPz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hGLC(VXjJ, gwAu):\n bGrB, xiPz = XC5k.threshold(VXjJ, gwAu, 255, XC5k.THRESH_BINARY)\n xiPz = XC5k.GaussianBlur(xiPz, (9, 9), 0)\n return xiPz", "def Ffz0(VXjJ):\n LNo8 = jbYn.cvtColor(VXjJ, jbYn.COLOR_BGR2GRAY)\n LNo8 = jbYn.GaussianBlur(LNo8, (3, 3), 0)\n U5bT, LNo8 = jbYn.threshold(LNo8,...
[ "0.7171413", "0.6945607", "0.6749838", "0.6737633", "0.66952235", "0.66482", "0.66207457", "0.6548103", "0.65038043", "0.63922507", "0.63674086", "0.63362736", "0.63297504", "0.63142514", "0.62994534", "0.627683", "0.62472445", "0.6229089", "0.620847", "0.6207186", "0.62064",...
0.73282987
0
Ensure that the languages listed in nlpaug indeed work.
def p00f(ZqHk, DuqQ): HCmI = ['keyboard', 'augment', 'tests/data/nlu/nlu.yml', f'{ZqHk}/nlu.yml', '--lang', DuqQ] WL52.invoke(P4t4, HCmI) aEqx = QorD('tests/data/nlu/nlu.yml').shape assert QorD(f'{ZqHk}/nlu.yml').shape == aEqx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e0S9(YKHO):\n for DuqQ in YKHO.LANGUAGES:\n b27A(DuqQ)\n YKHO.assertEqual(DuqQ, Bmkt())", "def r1cp(YKHO):\n for YRbF, ZfUD in enumerate(YKHO._letters_proto.item):\n for Wxnj in ZfUD.language:\n YKHO.assertLess(1, len(Wxnj))\n YKHO.assertGreater(4, len(Wxnj))\...
[ "0.6886704", "0.6731473", "0.66793776", "0.66151744", "0.6364525", "0.63556397", "0.6352976", "0.6299135", "0.62039703", "0.62039703", "0.61872655", "0.60416514", "0.5985111", "0.5968464", "0.59533936", "0.5934374", "0.59145063", "0.5877543", "0.5865784", "0.585461", "0.58064...
0.5651712
22
Set the value of the element.
def U3M_(YKHO, vjyh): YKHO._set_sub_text('accuracy', text=str(vjyh)) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Set the value of the element.
def ERBD(YKHO, Zc6P): YKHO._set_sub_text('alt', text=str(Zc6P)) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Set the value of the element.
def CS1r(YKHO, Je4s): YKHO._set_sub_text('bearing', text=str(Je4s)) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Set the value of the element.
def gpJ9(YKHO, P1dF): YKHO._set_sub_text('error', text=str(P1dF)) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Set the value of the element.
def satG(YKHO, QnmL): YKHO._set_sub_text('lat', text=str(QnmL)) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Set the value of the element.
def MZ80(YKHO, FDPT): YKHO._set_sub_text('lon', text=str(FDPT)) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Set the value of the element.
def rboB(YKHO, iBLD): YKHO._set_sub_text('speed', text=str(iBLD)) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Set the value of the element.
def wGQ3(YKHO, E3oo): YKHO._set_sub_text('timestamp', text=str(TOuC.datetime(E3oo))) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, wEf2):\n YKHO.value = wEf2", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO):\n raise NotImplementedError", "def mokr(YKHO, BWXx):\n YKHO._value = BWXx", "def j6Nn(YKH...
[ "0.7725017", "0.7628555", "0.7628555", "0.7628555", "0.76222175", "0.76029366", "0.76018035", "0.76018035", "0.75786823", "0.7552966", "0.74916303", "0.74770766", "0.74770766", "0.7456504", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0.74443126", "0...
0.0
-1
Return the value of the element as a DateTime.
def ItX3(YKHO): XP5J = YKHO._get_sub_text('timestamp') if not XP5J: return None else: return TOuC.datetime(XP5J)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UnfG(YKHO):\n return aGMJ(YKHO.field.dateTime())", "def spkl(U6D_):\n try:\n Aofo = U6D_.date()\n except AttributeError:\n Aofo = U6D_\n return Aofo", "def cJ1g(YKHO):\n if YKHO.force_auto_sync:\n YKHO.get('DateTime')\n return YKHO._DateTime", "def o5Ya(YKHO, AIu6):...
[ "0.74458444", "0.71636486", "0.69656014", "0.6959164", "0.6937993", "0.6704545", "0.6685312", "0.66019374", "0.6577931", "0.65257037", "0.626202", "0.6234023", "0.6202789", "0.59984785", "0.59536016", "0.594662", "0.59457314", "0.59334636", "0.592878", "0.59268194", "0.592119...
0.5287838
81
Parses the value. Raises ValueError if parsing fails.
def hfK9(BWXx): return int(BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hfK9(YKHO, BWXx):\n raise NotImplementedError('Please implement the Class')", "def tL1h(Emd4, BWXx):\n return BWXx", "def tL1h(Emd4, BWXx):\n return BWXx", "def tL1h(Emd4, BWXx):\n raise NotImplementedError('subclass must implement parse_value()')", "def lzxY(YKHO, BWXx):\n if YKHO.isNum...
[ "0.7712643", "0.76329917", "0.76329917", "0.75979906", "0.67994577", "0.6639061", "0.6451681", "0.6408441", "0.63805354", "0.636819", "0.6299918", "0.62814987", "0.6275649", "0.6200453", "0.61872405", "0.6145554", "0.6105957", "0.6089924", "0.6009777", "0.6002752", "0.5993424...
0.67508763
5
Returns the value of the SettingValue.
def BWXx(YKHO): return YKHO._value
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xdKy(YKHO):\n return YKHO.value", "def Zmkp(YKHO):\n return YKHO.value", "def Zmkp(YKHO):\n return YKHO.value", "def Zmkp(YKHO):\n return YKHO.value", "def BWXx(YKHO, P5wt):\n if P5wt not in YKHO.values:\n return False\n return YKHO.values[P5wt]", "def Zmkp(YKHO):\n return...
[ "0.76539737", "0.76385814", "0.76385814", "0.76385814", "0.7610085", "0.76061416", "0.76061416", "0.76061416", "0.7596555", "0.7596555", "0.75596535", "0.75438493", "0.7467237", "0.7450214", "0.73725134", "0.7366295", "0.7365986", "0.73579204", "0.73533213", "0.7301487", "0.7...
0.71748954
51
Dictionary representation of this project.
def MNRr(YKHO): return {H5ew: getattr(YKHO, H5ew) for H5ew in YKHO.keys}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MNRr(YKHO):\n return {'name': YKHO.get_name(), 'description': YKHO.get_description()}", "def MNRr(YKHO):\n hlel = {}\n hlel['project_id'] = YKHO.project_id\n hlel['bootstrap'] = YKHO.bootstrap\n hlel['platform'] = {'machine': a9EH.machine(), 'node': a9EH.node(), 'platform': a9EH.platform(), 'p...
[ "0.7331125", "0.7319767", "0.7072824", "0.70597804", "0.70558727", "0.7050699", "0.7045143", "0.7041281", "0.7041281", "0.7041281", "0.7041281", "0.7041281", "0.7041281", "0.7041281", "0.7019967", "0.7003105", "0.69807714", "0.69570297", "0.6953881", "0.69253945", "0.69217277...
0.0
-1
Build a stopwords list
def w7G7(): if len(WsL5.request.args) == 0: return WsL5.jsonify({'stopwords': []}) RDhP = WsL5.request.args.get('feature', 'lemmata') sL7f = WsL5.request.args.get('list_size', 10) try: sL7f = int(sL7f) except ValueError: return qsbV.errors.error(400, data={G1Hx: Ty9i for G1Hx...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lLdH():\n zzmi = ['uk', 'ceo', 'apple', 'wal', 'st', 'q1', 'q2', 'q3', 'q4', 'bp', 'wednesday', 'tuesday', 'monday', 'thursday', 'friday', 'sept', 'johnson', 'inc', 'david', 'amazon.com']\n for V22M in zzmi:\n jMRN.add(V22M)\n return jMRN", "def CUJJ():\n print('\\nbuilding stopwords')\n ...
[ "0.84718066", "0.81502926", "0.7368397", "0.734562", "0.7298387", "0.72909045", "0.7273551", "0.7248969", "0.721835", "0.7206313", "0.7153189", "0.70930934", "0.7086754", "0.7086754", "0.7086754", "0.7086754", "0.7068293", "0.70550996", "0.70040023", "0.6939101", "0.69388634"...
0.6498178
70
Report curated stopwords lists in database
def wWnH(): EmMj = WsL5.g.db.find(M1gN.db.entities.StopwordsList.collection) return WsL5.jsonify({'list_names': [jzdc.name for jzdc in EmMj]})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lx6Y(YKHO):\n return YKHO.stop_words", "def CUJJ():\n print('\\nbuilding stopwords')\n if enx3():\n return\n global stopwords\n di0c = Dhdw.corpus.stopwords.words('english')\n for eHNT in Hy7s.listdir(ckRy.path_data_stopwords):\n PVPO = ckRy.path_data_stopwords + '/' + eHNT\n ...
[ "0.678712", "0.6768676", "0.6751135", "0.67284197", "0.6684778", "0.6610801", "0.6582758", "0.6491409", "0.6442", "0.6439823", "0.643774", "0.638284", "0.63779664", "0.6335158", "0.6313454", "0.63112855", "0.6294782", "0.62929267", "0.6278759", "0.62734073", "0.6237022", "0...
0.7189156
0
Retrieve specified stopwords list
def HZk4(mWFP): EmMj = WsL5.g.db.find(M1gN.db.entities.StopwordsList.collection, name=mWFP) if not EmMj: return qsbV.errors.error(404, name=mWFP, message=f'No list with the provided name ({mWFP}) was found in the database.') return WsL5.jsonify({'name': mWFP, 'stopwords': EmMj[0].stopwords})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def di0c(YKHO):\n with open(y4mr, 'r') as hGN5:\n return hGN5.read().splitlines()", "def wWnH():\n EmMj = WsL5.g.db.find(M1gN.db.entities.StopwordsList.collection)\n return WsL5.jsonify({'list_names': [jzdc.name for jzdc in EmMj]})", "def lx6Y(YKHO):\n return YKHO.stop_words", "def lx6Y():...
[ "0.7733438", "0.76901925", "0.7557667", "0.75352925", "0.74828464", "0.74636143", "0.7456854", "0.733596", "0.73337615", "0.73041207", "0.72865635", "0.7219653", "0.7185563", "0.71824616", "0.7173927", "0.7085109", "0.70840603", "0.7034223", "0.699293", "0.69697964", "0.69683...
0.73716027
7
Validates the given password in a request data. First, checks if it exists, then check if the password has the necessary length
def tg18(nPrm): if 'password' not in nPrm: return False jTXt = nPrm['password'] if len(jTXt) < 4 or len(jTXt) > 16: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xzCw(YKHO, nPrm):\n jTXt = nPrm['password']\n if nPrm['password'] == nPrm['password2'] and ZbWC.fullmatch('[A-Za-z0-9@#$%^&+=]{8,}', jTXt):\n return nPrm\n raise IyFz.ValidationError('Password should be match and password must have number,special char,1-capital,1-small and min 8 char')", "def...
[ "0.75851166", "0.74440527", "0.7292162", "0.72649544", "0.7264225", "0.72577757", "0.7219791", "0.7198216", "0.71466994", "0.7124518", "0.711993", "0.7094221", "0.70784444", "0.70513403", "0.70257604", "0.702355", "0.70204043", "0.70114267", "0.70080715", "0.7007405", "0.7006...
0.8300383
0
Sets the description of this Project.
def JBZA(YKHO, JBZA): YKHO._description = JBZA
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AqxA(YKHO, JBZA):\n YKHO.description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO._description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def AqxA(YKHO, QoB4: str) -> None:\n YKHO.metadata.data['description'] = QoB4", "...
[ "0.8326279", "0.8233822", "0.820304", "0.81822044", "0.8106443", "0.7996521", "0.7969712", "0.7969712", "0.7969712", "0.7969712", "0.7922449", "0.7922449", "0.7922449", "0.7922449", "0.77929175", "0.7745738", "0.77238005", "0.7722391", "0.7705753", "0.7447976", "0.7434066", ...
0.790941
50
Sets the id of this Project.
def id(YKHO, id): if YKHO.local_vars_configuration.client_side_validation and id is None: raise ValueError('Invalid value for `id`, must not be `None`') YKHO._id = id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V_9M(YKHO, hbFX):\n YKHO.id_ = hbFX", "def psjw(YKHO, id):\n YKHO.id = int(id)", "def V_9M(YKHO, id):\n YKHO.__id = id", "def KAKp(YKHO, ekCf):\n YKHO._project_id = ekCf", "def V_9M(YKHO, id):\n YKHO.data['id'] = id", "def ekCf(YKHO, ekCf):\n YKHO._project_id = ekCf", "def ekCf(YK...
[ "0.7772495", "0.7674228", "0.76577675", "0.7616995", "0.7566155", "0.7248082", "0.7248082", "0.7230967", "0.72056055", "0.72056055", "0.72056055", "0.72056055", "0.72056055", "0.72056055", "0.72056055", "0.72056055", "0.72056055", "0.72056055", "0.7199541", "0.71982116", "0.7...
0.0
-1
Sets the name of this Project.
def mWFP(YKHO, mWFP): if YKHO.local_vars_configuration.client_side_validation and mWFP is None: raise ValueError('Invalid value for `name`, must not be `None`') YKHO._name = mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WZrJ(YKHO, mWFP: str):\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,...
[ "0.80039996", "0.7973277", "0.79648304", "0.79648304", "0.79648304", "0.79648304", "0.79648304", "0.7946682", "0.79346", "0.78753656", "0.7843701", "0.7843701", "0.7790657", "0.7738944", "0.769561", "0.7684395", "0.7683468", "0.76475775", "0.7641765", "0.7641765", "0.7625993"...
0.0
-1
Sets the slug of this Project.
def s5ru(YKHO, s5ru): if YKHO.local_vars_configuration.client_side_validation and s5ru is None: raise ValueError('Invalid value for `slug`, must not be `None`') YKHO._slug = s5ru
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rcMo(YKHO, s5ru):\n if YKHO.slug is None:\n YKHO.slug = s5ru", "def rcMo(YKHO):\n if not YKHO.slug:\n YKHO.slug = eIIt(YKHO.name)[:50]", "def s5ru(YKHO, s5ru):\n if s5ru is None:\n raise ValueError('Invalid value for `slug`, must not be `None`')\n if s5ru is not None and le...
[ "0.796629", "0.7526107", "0.6902236", "0.681357", "0.6725959", "0.65915906", "0.6463094", "0.64255965", "0.63822144", "0.62079984", "0.61545795", "0.615259", "0.6099709", "0.6099709", "0.59585214", "0.582201", "0.5819328", "0.5795239", "0.5752186", "0.56858486", "0.5665566", ...
0.7589352
1
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, oPx1): return False return YKHO.to_dict() == Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, oPx1): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.8456082", "0.83912885", "0.81436425", "0.81406975", "0.8131807", "0.8093013", "0.80912536", "0.80912536", "0.80912536", "0.8084505", "0.8084505", "0.8075543", "0.8075543", "0.8065009", "0.80417395", "0.80417395", "0.80417395", "0.80417395", "0.80417395", "0.80417395", "0.8...
0.0
-1
Return GUIDs for TreeNode representing specified types of colors
def FYLY(*qIxc): return EdJ_.xcafdoc_ColorRefGUID(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MvIi(Ziit):\n return list(set([Q6kx.color for Q6kx in Ziit]))", "def PICn(YKHO, Q6kx: Node) -> str:\n or8S = hash(Q6kx.get_kind_name()) % len(YKHO.colors_)\n return YKHO.colors_[or8S]", "def gcgo(Ziit, iBAa, mSTS, _ZvT, jrpI):\n dA86 = []\n for exwG in Ziit:\n if exwG in _ZvT:\n ...
[ "0.6007038", "0.58863235", "0.56884056", "0.5642995", "0.5642661", "0.56409585", "0.5529217", "0.5507591", "0.54908097", "0.5480614", "0.54575694", "0.54047924", "0.53328854", "0.5276417", "0.523753", "0.52040595", "0.5201383", "0.51968473", "0.518619", "0.51773876", "0.51555...
0.48994026
57
Return GUIDs for TreeNode representing specified types of colors
def hIng(*qIxc): return EdJ_.xcafdoc_ColorRefGUID(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MvIi(Ziit):\n return list(set([Q6kx.color for Q6kx in Ziit]))", "def PICn(YKHO, Q6kx: Node) -> str:\n or8S = hash(Q6kx.get_kind_name()) % len(YKHO.colors_)\n return YKHO.colors_[or8S]", "def gcgo(Ziit, iBAa, mSTS, _ZvT, jrpI):\n dA86 = []\n for exwG in Ziit:\n if exwG in _ZvT:\n ...
[ "0.6007038", "0.58863235", "0.56884056", "0.5642995", "0.5642661", "0.56409585", "0.5529217", "0.5507591", "0.54908097", "0.5480614", "0.54575694", "0.54047924", "0.53328854", "0.5276417", "0.523753", "0.52040595", "0.5201383", "0.51968473", "0.518619", "0.51773876", "0.51555...
0.0
-1
Finds a color definition in a colortable and returns its label if found Returns False if color is not found in colortable
def pRcj(YKHO, *qIxc): return EdJ_.XCAFDoc_ColorTool_FindColor(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JrLI(qfpW):\n k2LI = {**sZuX, **jHZe, **knev}\n nW1_ = lambda k2LI: MY7C(qfpW, k2LI[1])\n UXqs, ZUkg = min(k2LI.items(), key=nW1_)\n n1kV = UXqs in jHZe or UXqs in sZuX\n return (UXqs, not n1kV)", "def YgBL(_Cnz):\n for YSA3 in list(EqBn.keys()):\n r8hN = ZbWC.search(YSA3, _Cnz)\n ...
[ "0.6638148", "0.62774116", "0.60693693", "0.59829086", "0.58847404", "0.5855688", "0.58091444", "0.58039564", "0.5776507", "0.57630765", "0.5752084", "0.5740827", "0.57349503", "0.5718995", "0.55776227", "0.5574417", "0.5569173", "0.5510618", "0.5508209", "0.54885733", "0.548...
0.6224437
2
Returns color defined by label lab Returns False if the label is not in colortable or does not define a color
def ucuE(YKHO, *qIxc): return EdJ_.XCAFDoc_ColorTool_GetColor(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lgjc(UXqs):\n if UXqs < len(Jw9H):\n return Jw9H[UXqs]\n else:\n qmLP.warn('Label {} has no color, returning default.'.format(UXqs))\n return (0, 255, 0)", "def vj0n(ogYM, Jw9H):\n fvDH = oyIN.zeros(ogYM.shape + (3,)).astype(oyIN.uint8)\n Crrw = oyIN.unique(ogYM)\n if oyIN...
[ "0.715765", "0.67294234", "0.6618089", "0.64845157", "0.6280782", "0.62696034", "0.62650335", "0.62279165", "0.62279165", "0.62279165", "0.62279165", "0.61729056", "0.61168206", "0.6038487", "0.6015551", "0.6015551", "0.5998318", "0.5973941", "0.5961747", "0.5951904", "0.5915...
0.0
-1
Gets the color of component that styled with SHUO structure Returns False if no sush component or color type
def NjXi(YKHO, *qIxc): return EdJ_.XCAFDoc_ColorTool_GetInstanceColor(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JDSQ(Emd4, YEnM: Any) -> bool:\n return isinstance(YEnM, HRmL)", "def PICn(YKHO) -> h8nf[str]:\n return YKHO.color", "def qfpW(YKHO):\n if 'color' in YKHO._prop_dict:\n return YKHO._prop_dict['color']\n else:\n return None", "def PICn(Emd4, qIce: str) -> uLKX['Color', bool]:\n ...
[ "0.59983885", "0.59932554", "0.59599376", "0.5956125", "0.5920354", "0.58937716", "0.5891139", "0.58761173", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105", "0.5865105"...
0.0
-1
Returns True if label belongs to a dimtoltable and is a DimTol definition
def u1c2(YKHO, *qIxc): return EdJ_.XCAFDoc_DimTolTool_IsDimTol(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _Ssm(YKHO, tpio):\n return YKHO.units.dimensions == tpio", "def A_Qk(UXqs, jQ3Z):\n mO2X = set(UXqs) - set(jQ3Z.columns.tolist())\n if len(mO2X) == 0:\n return True\n else:\n return False", "def R60A(YKHO, *qIxc):\n return EdJ_.XCAFDoc_DimTolTool_IsDatum(YKHO, *qIxc)", "def J...
[ "0.58551264", "0.5809031", "0.5772506", "0.5668312", "0.55064434", "0.54686344", "0.5461858", "0.5439535", "0.5414709", "0.54123586", "0.5410039", "0.54077226", "0.5405389", "0.5403629", "0.5369551", "0.5365091", "0.536253", "0.5361802", "0.53552604", "0.5322496", "0.5321924"...
0.7310294
0
Returns True if label belongs to a dimtoltable and is a Datum definition
def R60A(YKHO, *qIxc): return EdJ_.XCAFDoc_DimTolTool_IsDatum(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UMHh(YKHO, UXqs):\n if UXqs in YKHO._data:\n return True\n else:\n try:\n return YKHO._getData(UXqs) is not None\n except:\n return False", "def A_Qk(UXqs, jQ3Z):\n mO2X = set(UXqs) - set(jQ3Z.columns.tolist())\n if len(mO2X) == 0:\n return True\n...
[ "0.6272274", "0.617111", "0.60161626", "0.5917395", "0.58208036", "0.5818427", "0.56999505", "0.56813335", "0.5640628", "0.56257695", "0.5604382", "0.5597692", "0.55590403", "0.55531365", "0.5552956", "0.55464333", "0.55000174", "0.5476007", "0.54670805", "0.54667634", "0.543...
0.67929995
0
Returns label where the DocumentTool attribute is or 0.1 if DocumentTool is not yet set.
def QPkz(*qIxc): return EdJ_.XCAFDoc_DocumentTool_DocLabel(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nqfU(YKHO, LpYX):\n Wt9E = YKHO.FindTool(LpYX)\n if not Wt9E:\n return ''\n return Wt9E.label", "def Wt9E(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'tool')", "def wHj4(*qIxc):\n return EdJ_.XCAFDoc_DocumentTool_DocLabel(*qIxc)", "def YHmV(YKHO):\n if YKHO.gt_helper_...
[ "0.6451488", "0.61219174", "0.5963713", "0.5887194", "0.57602453", "0.57087994", "0.5693222", "0.5667882", "0.56523716", "0.56515676", "0.56515676", "0.56515676", "0.56515676", "0.56515676", "0.56515676", "0.56515676", "0.56515676", "0.56515676", "0.56515676", "0.5651109", "0...
0.57830614
4
Returns label where the DocumentTool attribute is or 0.1 if DocumentTool is not yet set.
def wHj4(*qIxc): return EdJ_.XCAFDoc_DocumentTool_DocLabel(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nqfU(YKHO, LpYX):\n Wt9E = YKHO.FindTool(LpYX)\n if not Wt9E:\n return ''\n return Wt9E.label", "def Wt9E(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'tool')", "def YHmV(YKHO):\n if YKHO.gt_helper_open:\n return YKHO.gt_helper.get_current_label()\n else:\n ...
[ "0.64526844", "0.6121123", "0.5887257", "0.5783792", "0.57611674", "0.570822", "0.569347", "0.566903", "0.5653072", "0.56517494", "0.56517494", "0.56517494", "0.56517494", "0.56517494", "0.56517494", "0.56517494", "0.56517494", "0.56517494", "0.56517494", "0.5651355", "0.5651...
0.59644496
2
Return GraphNode by index from GraphNodeSequence.
def q9v8(YKHO, *qIxc): return EdJ_.XCAFDoc_GraphNode_GetFather(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a_J5(YKHO, d6pt):\n YKHO._validate_index(d6pt)\n return YKHO._traverse(lambda YRbF, list: YRbF < d6pt)['node']", "def ZIjP(YKHO, d6pt: int) -> o7DN[Kt_s]:\n if 0 <= d6pt and d6pt < len(YKHO):\n jvSB = YKHO.head\n for YRbF in range(d6pt):\n jvSB = jvSB.link\n return jv...
[ "0.71678686", "0.70901066", "0.700305", "0.6776235", "0.67746633", "0.6752227", "0.66951156", "0.66657037", "0.6592431", "0.6564482", "0.65563196", "0.65389574", "0.6504534", "0.6367809", "0.63006437", "0.6276945", "0.6276945", "0.6139375", "0.60848457", "0.60806125", "0.6078...
0.0
-1
Return GraphNode by index from GraphNodeSequence.
def fbha(YKHO, *qIxc): return EdJ_.XCAFDoc_GraphNode_GetChild(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a_J5(YKHO, d6pt):\n YKHO._validate_index(d6pt)\n return YKHO._traverse(lambda YRbF, list: YRbF < d6pt)['node']", "def ZIjP(YKHO, d6pt: int) -> o7DN[Kt_s]:\n if 0 <= d6pt and d6pt < len(YKHO):\n jvSB = YKHO.head\n for YRbF in range(d6pt):\n jvSB = jvSB.link\n return jv...
[ "0.7167873", "0.7089386", "0.7003276", "0.6776899", "0.677368", "0.67516685", "0.6694344", "0.6664556", "0.65925425", "0.65643096", "0.6557", "0.65396553", "0.6504139", "0.636647", "0.62991685", "0.6278262", "0.6278262", "0.61394364", "0.60841256", "0.6080557", "0.60794115", ...
0.0
-1
return Number of Fathers GraphNodes.
def XzoW(YKHO, *qIxc): return EdJ_.XCAFDoc_GraphNode_NbFathers(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OtzW(YKHO) -> int:\n return YKHO.graph.number_of_nodes()", "def OtzW(YKHO):\n return int(YKHO._data['number_of_nodes'])", "def Kytq(YKHO):\n return YKHO.__count_nodes(YKHO)", "def UHFx(YKHO):\n return len(list(YKHO.nodes))", "def tIln(YKHO):\n Ylbp = 0\n for exwG in YKHO.iternodes():\...
[ "0.7840989", "0.77312326", "0.7700809", "0.7646173", "0.758326", "0.75163996", "0.7467742", "0.74669427", "0.7417904", "0.7416373", "0.73986816", "0.7394252", "0.7382747", "0.7382747", "0.73818046", "0.73510295", "0.73471075", "0.7332647", "0.7332647", "0.7312237", "0.726276"...
0.75431675
5
returns the label under which Layers are stored
def _C8q(YKHO, *qIxc): return EdJ_.XCAFDoc_LayerTool_BaseLabel(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K1xV(*qIxc):\n return EdJ_.XCAFDoc_DocumentTool_LayersLabel(*qIxc)", "def UXqs(YKHO):\n return YKHO._label_shape", "def nscJ(YKHO):\n return YKHO.label", "def DeTJ(YKHO, mWFP):\n EKkb = YKHO.wls_board.get_labels()\n for UXqs in EKkb:\n if mWFP in UXqs.name:\n return UXqs"...
[ "0.7305261", "0.7174403", "0.69660157", "0.68727964", "0.68723834", "0.68504304", "0.68498194", "0.68498194", "0.68498194", "0.68498194", "0.68348396", "0.68211335", "0.6799484", "0.6780205", "0.67765886", "0.67686343", "0.6761628", "0.6761628", "0.6754593", "0.6738645", "0.6...
0.0
-1
Returns True if label belongs to a Layertable and is a Layer definition
def fzyl(YKHO, *qIxc): return EdJ_.XCAFDoc_LayerTool_IsLayer(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZlG8(YEnM):\n return hasattr(YEnM, '_is_layer') and (not isinstance(YEnM, type))", "def oz1x(gEmA):\n return getattr(gEmA, '_is_feature_layer', False)", "def diyS(YKHO):\n if YKHO.layer == None:\n return True\n return YKHO.layer.allowAnyInternalLabel()", "def OJMj(YKHO, UXqs):\n ret...
[ "0.72597086", "0.717514", "0.64073163", "0.6315872", "0.6269294", "0.62413585", "0.6177271", "0.6167678", "0.6147258", "0.6131498", "0.6058632", "0.5984433", "0.5939117", "0.58794117", "0.58748317", "0.5871396", "0.5864355", "0.58469296", "0.5841688", "0.58057815", "0.5801177...
0.7117209
2
Returns Layer defined by label lab Returns False if the label is not in Layertable or does not define a Layer
def J1Nq(YKHO, *qIxc): return EdJ_.XCAFDoc_LayerTool_GetLayer(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fzyl(YKHO, *qIxc):\n return EdJ_.XCAFDoc_LayerTool_IsLayer(YKHO, *qIxc)", "def oz1x(gEmA):\n return getattr(gEmA, '_is_feature_layer', False)", "def uqkh(YKHO, *qIxc):\n return EdJ_.XCAFDoc_LayerTool_FindLayer(YKHO, *qIxc)", "def ZlG8(YEnM):\n return hasattr(YEnM, '_is_layer') and (not isinst...
[ "0.6794115", "0.64904666", "0.63007873", "0.62994665", "0.62331444", "0.61474574", "0.6022754", "0.6010588", "0.5978684", "0.5977223", "0.5965809", "0.5948878", "0.59138876", "0.58788997", "0.58695006", "0.5842679", "0.5832513", "0.5789507", "0.5782567", "0.5769022", "0.57591...
0.5958513
11
Returns a sequence of Layers currently stored in the Layertable
def OxqS(YKHO, *qIxc): return EdJ_.XCAFDoc_LayerTool_GetLayerLabels(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sxE_(YKHO):\n return YKHO.__layers", "def fhcK(YKHO):\n return YKHO['layers']", "def jn2h(YKHO):\n fhcK = set()\n for U6D_ in Hs6x.chain(YKHO.polygons, YKHO.paths):\n fhcK.update(U6D_.layers)\n for aC0l in YKHO.references:\n fhcK.update(aC0l.ref_cell.get_layers())\n for UXqs...
[ "0.7574833", "0.75626385", "0.74707234", "0.7460342", "0.73940665", "0.7386443", "0.73820937", "0.73162496", "0.729484", "0.7184732", "0.69885683", "0.69847053", "0.68539304", "0.6788586", "0.6750125", "0.6684561", "0.6633579", "0.66200095", "0.66026944", "0.65794235", "0.656...
0.55681163
72
Returns True if label has a Layer assosiated with the .
def xQpu(YKHO, *qIxc): return EdJ_.XCAFDoc_LayerTool_IsSet(YKHO, *qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oz1x(gEmA):\n return getattr(gEmA, '_is_feature_layer', False)", "def fzyl(YKHO, *qIxc):\n return EdJ_.XCAFDoc_LayerTool_IsLayer(YKHO, *qIxc)", "def kvP3(YKHO, UXqs):\n return UXqs in YKHO.get_labels()", "def ZlG8(YEnM):\n return hasattr(YEnM, '_is_layer') and (not isinstance(YEnM, type))", ...
[ "0.72547203", "0.71938986", "0.70850843", "0.7005739", "0.68992484", "0.68377554", "0.6722553", "0.6676552", "0.66693735", "0.66662335", "0.6610267", "0.6609136", "0.6595597", "0.6577025", "0.6574007", "0.654396", "0.65159285", "0.6505082", "0.6475423", "0.6465186", "0.646257...
0.0
-1
Find referred material and return density from it if no material > return 0
def KhUB(*qIxc): return EdJ_.XCAFDoc_MaterialTool_GetDensityForShape(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MPRT(Mx95):\n if Mx95 == 'mild':\n return 7850.0\n elif Mx95 == 'al':\n return 2700.0\n else:\n raise ValueError('Invalid material `' + Mx95 + \"'\")", "def kQud(*qIxc):\n return EdJ_.XCAFDoc_MaterialTool_GetDensityForShape(*qIxc)", "def MSMZ(YKHO, IbHI=None):\n if IbHI ...
[ "0.7589303", "0.6404603", "0.6287548", "0.6157043", "0.600737", "0.59554124", "0.59223014", "0.5875551", "0.5841476", "0.5841476", "0.5841476", "0.57612145", "0.57465774", "0.57465774", "0.5664744", "0.5647462", "0.5645596", "0.56376344", "0.5614028", "0.5613048", "0.55980957...
0.63411677
2
Find referred material and return density from it if no material > return 0
def kQud(*qIxc): return EdJ_.XCAFDoc_MaterialTool_GetDensityForShape(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MPRT(Mx95):\n if Mx95 == 'mild':\n return 7850.0\n elif Mx95 == 'al':\n return 2700.0\n else:\n raise ValueError('Invalid material `' + Mx95 + \"'\")", "def KhUB(*qIxc):\n return EdJ_.XCAFDoc_MaterialTool_GetDensityForShape(*qIxc)", "def MSMZ(YKHO, IbHI=None):\n if IbHI ...
[ "0.7589287", "0.63408643", "0.62882704", "0.6159724", "0.6006733", "0.5957398", "0.5923891", "0.58745974", "0.58428085", "0.58428085", "0.58428085", "0.57628113", "0.57490605", "0.57490605", "0.5667478", "0.5646339", "0.5644401", "0.5639201", "0.56154007", "0.561445", "0.5597...
0.64043057
1
Returns current autonaming mode. See SetAutoNaming() for description.
def VBp0(*qIxc): return EdJ_.XCAFDoc_ShapeTool_AutoNaming(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CacS(YKHO):\n return YKHO._auto_mode", "def Tuqy(YKHO) -> str:\n return YKHO._mode", "def mYpS(YKHO):\n return YKHO.config.get('sequential_naming', False)", "def Q28X(YKHO):\n raise NotImplementedError()", "def Tuqy(YKHO) -> str:\n return qe4Y.get(YKHO, 'mode')", "def Tuqy(YKHO) -> str...
[ "0.743814", "0.61352056", "0.6123015", "0.60728717", "0.60191494", "0.60191494", "0.5999241", "0.59228325", "0.59228325", "0.5888671", "0.5853696", "0.58071184", "0.57757866", "0.5775104", "0.5774754", "0.5774754", "0.5774754", "0.5721926", "0.5716574", "0.5716574", "0.571657...
0.56756026
22
Returns current autonaming mode. See SetAutoNaming() for description.
def n6jJ(*qIxc): return EdJ_.XCAFDoc_ShapeTool_AutoNaming(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CacS(YKHO):\n return YKHO._auto_mode", "def Tuqy(YKHO) -> str:\n return YKHO._mode", "def mYpS(YKHO):\n return YKHO.config.get('sequential_naming', False)", "def Q28X(YKHO):\n raise NotImplementedError()", "def Tuqy(YKHO) -> str:\n return qe4Y.get(YKHO, 'mode')", "def Tuqy(YKHO) -> str...
[ "0.7438423", "0.61344475", "0.61221355", "0.6071697", "0.6017755", "0.6017755", "0.59987944", "0.59215635", "0.59215635", "0.5887868", "0.585269", "0.5806449", "0.57760835", "0.57745266", "0.5774099", "0.5774099", "0.5774099", "0.5719754", "0.5715905", "0.5715905", "0.5715905...
0.517801
87
Return cumulative minimum over a DataFrame or Series axis. Returns a DataFrame or Series of the same size containing the cumulative minimum.
def L7gf(YKHO: FrameLike, nLK1: bool=True) -> jHAz: return YKHO._apply_series_op(lambda QuHQ: QuHQ._cum(vuvg.min, nLK1), should_resolve=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L7gf(YKHO):\n return YKHO._lift(lambda Z9rn: Z9rn.cummin)", "def fsrv(YKHO, **B2fa):\n return ul7n.register(CwDs.DataFrame.idxmin)(YKHO, **B2fa)", "def WHwV(YKHO, jDK_: str='rows') -> 'DataFrame':\n return YKHO._stat_funcs('argmin', jDK_)", "def min(YKHO, jDK_=0, **B2fa) -> 'Dataset':\n retur...
[ "0.739754", "0.70453143", "0.7016353", "0.70126134", "0.6791421", "0.66697174", "0.6666445", "0.6643355", "0.64552176", "0.6437716", "0.6398935", "0.63874406", "0.62631714", "0.6200742", "0.6159252", "0.6154657", "0.61493796", "0.6117522", "0.61076707", "0.61076707", "0.60595...
0.7585967
0
Return cumulative sum over a DataFrame or Series axis. Returns a DataFrame or Series of the same size containing the cumulative sum.
def _3JK(YKHO: FrameLike, nLK1: bool=True) -> jHAz: return YKHO._apply_series_op(lambda QuHQ: QuHQ._cumsum(nLK1), should_resolve=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _3JK(WKvO, jDK_=None):\n return u5_9(axis=jDK_)(WKvO)", "def _3JK(YKHO):\n return YKHO._lift(lambda Z9rn: Z9rn.cumsum)", "def _3JK(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.cumsum, dim=tpio, skipna=nLK1, numeric_only=T...
[ "0.7741634", "0.7147195", "0.71459645", "0.71459645", "0.71459645", "0.7029837", "0.7029837", "0.7029837", "0.66848856", "0.6604129", "0.6560074", "0.64467186", "0.6279074", "0.61817634", "0.6137653", "0.6074509", "0.6010351", "0.5992311", "0.5956006", "0.5950399", "0.5888530...
0.6905384
8
Return cumulative product over a DataFrame or Series axis. Returns a DataFrame or Series of the same size containing the cumulative product.
def wAQq(YKHO: FrameLike, nLK1: bool=True) -> jHAz: return YKHO._apply_series_op(lambda QuHQ: QuHQ._cumprod(nLK1), should_resolve=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wAQq(WKvO, jDK_=None):\n return tW96(axis=jDK_)(WKvO)", "def wAQq(YKHO, tpio: Dims=None, *, nLK1: bool | None=None, L3SL: bool | None=None, **B2fa: Any) -> x3i3:\n return YKHO.reduce(XIkr.cumprod, dim=tpio, skipna=nLK1, numeric_only=True, keep_attrs=L3SL, **B2fa)", "def wAQq(YKHO, tpio: Dims=None, *,...
[ "0.699747", "0.666648", "0.666648", "0.666648", "0.66341347", "0.66341347", "0.66341347", "0.6607763", "0.6401141", "0.6277303", "0.6239852", "0.61488396", "0.59956336", "0.57941806", "0.5720094", "0.570178", "0.56991553", "0.5688277", "0.55851746", "0.55851746", "0.55851746"...
0.62393934
11
A NumPy ndarray representing the values in this DataFrame or Series.
def WTDd(YKHO) -> oyIN.ndarray: Q28e("`to_numpy` loads all data into the driver's memory. It should only be used if the resulting NumPy ndarray is expected to be small.") return YWvJ(oyIN.ndarray, YKHO._to_pandas().values)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hkxX(YKHO):\n ezWE = YKHO.view(oyIN.ndarray).copy()\n return ezWE", "def hkxX(YKHO) -> oyIN.ndarray:\n qmLP.warn('We recommend using `{}.to_numpy()` instead.'.format(type(YKHO).__name__))\n return YKHO.to_numpy()", "def uzII(YKHO, yDqo=None) -> oyIN.ndarray:\n return YKHO.values", "def hkx...
[ "0.84322095", "0.819512", "0.8101782", "0.80988616", "0.79888934", "0.79709244", "0.7884687", "0.78689176", "0.7677712", "0.76741", "0.75888973", "0.751859", "0.74769187", "0.7370216", "0.73377085", "0.7325179", "0.72890234", "0.7271158", "0.72505873", "0.7196986", "0.7141554...
0.73286706
15
Return a Numpy representation of the DataFrame or the Series.
def hkxX(YKHO) -> oyIN.ndarray: qmLP.warn('We recommend using `{}.to_numpy()` instead.'.format(type(YKHO).__name__)) return YKHO.to_numpy()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qPdb(ZTe5):\n if isinstance(ZTe5, rLdf.DataFrame) or isinstance(ZTe5, rLdf.Series):\n BkYD = oyIN.array(ZTe5)\n if len(BkYD.shape) == 1:\n return BkYD[:, oyIN.newaxis]\n else:\n return BkYD\n if isinstance(ZTe5, oyIN.ndarray):\n return ZTe5\n else:\n ...
[ "0.72666794", "0.70938534", "0.67864925", "0.6688264", "0.6658773", "0.6651338", "0.6628807", "0.6592032", "0.6438475", "0.6432916", "0.6421437", "0.6386224", "0.63618976", "0.62746245", "0.6247806", "0.62388873", "0.6233178", "0.621456", "0.61810726", "0.6167275", "0.6162103...
0.62275046
17
Return the minimum of the values.
def min(YKHO, jDK_: Optional[Axis]=None, nLK1: bool=True, HpTo: bool=None) -> uLKX[sjOu, 'Series']: jDK_ = eMMM(jDK_) if HpTo is None and jDK_ == 0: HpTo = True elif HpTo is True and jDK_ == 1: HpTo = None return YKHO._reduce_for_stat_function(lambda QuHQ: vuvg.min(QuHQ.spark.column), na...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def min(YKHO, hkxX):\n return YKHO.aggregate(hkxX, 'min')", "def min(YKHO):\n return YKHO._reduce_for_stat_function(vuvg.min, only_numeric=False)", "def vELP(YKHO):\n return min(YKHO.numbers)", "def WHwV(YKHO, hkxX):\n return YKHO.aggregate(hkxX, 'argmin')", "def min(YKHO):\n return min(YKHO...
[ "0.83978", "0.8332655", "0.8230079", "0.8043136", "0.7969123", "0.7936901", "0.7839196", "0.78359723", "0.7834269", "0.77928054", "0.77928054", "0.77876437", "0.7752022", "0.7715334", "0.76965827", "0.76965827", "0.7693423", "0.7648815", "0.7647906", "0.76460445", "0.7645249"...
0.0
-1
Return the maximum of the values.
def max(YKHO, jDK_: Optional[Axis]=None, nLK1: bool=True, HpTo: bool=None) -> uLKX[sjOu, 'Series']: jDK_ = eMMM(jDK_) if HpTo is None and jDK_ == 0: HpTo = True elif HpTo is True and jDK_ == 1: HpTo = None return YKHO._reduce_for_stat_function(lambda QuHQ: vuvg.max(QuHQ.spark.column), na...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BfFQ(YKHO):\n bQ6z = max(YKHO.values)\n return bQ6z", "def max(YKHO):\n return YKHO._reduce_for_stat_function(vuvg.max, only_numeric=False)", "def max(YKHO, hkxX):\n return YKHO.aggregate(hkxX, 'max')", "def VYxc(nPrm):\n return nPrm.max()", "def max(YKHO):\n return XTiz.ma.max(YKHO.d...
[ "0.861361", "0.8368582", "0.82056725", "0.8195368", "0.8030303", "0.8026219", "0.80253047", "0.8000192", "0.79589725", "0.7929461", "0.7918513", "0.7885027", "0.78828853", "0.78446436", "0.783085", "0.78232515", "0.78148794", "0.7809508", "0.7768719", "0.7766544", "0.7760731"...
0.0
-1
Retrieves the index of the first valid value. Returns scalar, tuple, or None Examples Support for DataFrame
def GbX6(YKHO) -> h8nf[uLKX[sjOu, AzJI[sjOu, ...]]]: XBPE = YKHO._internal.data_spark_columns if len(XBPE) == 0: return None Q3Ge = Pusg(lambda WKvO, LVAh: WKvO & LVAh, map(lambda WKvO: WKvO.isNotNull(), XBPE)) with Yry5({tJxW: False}): r4MM = YKHO._internal.spark_frame.filter(Q3Ge).sele...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GbX6(YKHO):\n return ul7n.register(CwDs.DataFrame.first_valid_index)(YKHO).to_pandas().squeeze()", "def GUPV(YKHO) -> h8nf[uLKX[sjOu, AzJI[sjOu, ...]]]:\n XBPE = YKHO._internal.data_spark_columns\n if len(XBPE) == 0:\n return None\n Q3Ge = Pusg(lambda WKvO, LVAh: WKvO & LVAh, map(lambda WK...
[ "0.6924053", "0.66161823", "0.65560144", "0.64668363", "0.64263797", "0.6421347", "0.63923746", "0.62542737", "0.6219861", "0.62142843", "0.61727315", "0.6169093", "0.6134989", "0.61293644", "0.61064273", "0.6058676", "0.6031218", "0.60283", "0.60248256", "0.6012006", "0.5999...
0.76989704
0
Return index for last nonNA/null value. Returns scalar, tuple, or None Notes This API only works with PySpark >= 3.0. Examples Support for DataFrame
def GUPV(YKHO) -> h8nf[uLKX[sjOu, AzJI[sjOu, ...]]]: XBPE = YKHO._internal.data_spark_columns if len(XBPE) == 0: return None Q3Ge = Pusg(lambda WKvO, LVAh: WKvO & LVAh, map(lambda WKvO: WKvO.isNotNull(), XBPE)) eWOQ = YKHO._internal.spark_frame.filter(Q3Ge).select(YKHO._internal.index_spark_colu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GbX6(YKHO) -> h8nf[uLKX[sjOu, AzJI[sjOu, ...]]]:\n XBPE = YKHO._internal.data_spark_columns\n if len(XBPE) == 0:\n return None\n Q3Ge = Pusg(lambda WKvO, LVAh: WKvO & LVAh, map(lambda WKvO: WKvO.isNotNull(), XBPE))\n with Yry5({tJxW: False}):\n r4MM = YKHO._internal.spark_frame.filter...
[ "0.6803496", "0.6440539", "0.6205881", "0.59493214", "0.56690997", "0.55862904", "0.5338115", "0.5327893", "0.53059", "0.5290752", "0.52524054", "0.5245491", "0.52171314", "0.52170146", "0.52158266", "0.5210693", "0.5109578", "0.5073314", "0.5067518", "0.5067154", "0.5056564"...
0.77271783
0
Provide exponentially weighted window transformations.
def fdNI(YKHO: FrameLike, zJeG: Optional[float]=None, uvMl: Optional[float]=None, jp_z: Optional[float]=None, Cwt5: Optional[float]=None, Encw: Optional[int]=None, pe6S: bool_type=False) -> 'ExponentialMoving[FrameLike]': from pyspark.pandas.window import ExponentialMoving return ExponentialMoving(YKHO, com=zJe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W_rf(YKHO):\n YKHO.A = oyIN.array([YKHO.decay])\n YKHO.s = oyIN.ones(1)\n YKHO.C = oyIN.ones(1)", "def MFNw(YKHO, yzQ0):\n if YKHO.scale_weights:\n YKHO._scale_weights_to_degree(yzQ0)\n YKHO._generate_weighted_adj_matrices()\n super().update_w(yzQ0)\n YKHO._degree_weight_weigh...
[ "0.62235516", "0.5960921", "0.5806746", "0.57232994", "0.56933546", "0.5693142", "0.5657988", "0.56482065", "0.56337553", "0.5596308", "0.5506115", "0.5502661", "0.54754305", "0.54708815", "0.54591584", "0.54547393", "0.5440947", "0.5439174", "0.542947", "0.5420827", "0.54077...
0.5280309
35
Synonym for `DataFrame.fillna()` or `Series.fillna()` with ``method=`ffill```.
def MXGx(YKHO: FrameLike, jDK_: Optional[Axis]=None, LpaZ: bool_type=False, qoqK: Optional[int]=None) -> jHAz: return YKHO.fillna(method='ffill', axis=jDK_, inplace=LpaZ, limit=qoqK)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hr9Z(jQ3Z):\n return jQ3Z.fillna(method='ffill', axis=0)", "def Rep7(jQ3Z):\n jQ3Z = jQ3Z.fillna(method='ffill')\n jQ3Z = jQ3Z.fillna(method='bfill').fillna(0)\n return jQ3Z", "def Gdo6(jQ3Z, fvDH: str, KVH6: bool):\n Jtlz = len(jQ3Z)\n u3tA = f'fillna(\"{fvDH}\") ' + ('forward' if KVH6 e...
[ "0.80995023", "0.7896216", "0.67279595", "0.6621111", "0.65681976", "0.6553907", "0.62127376", "0.61201257", "0.60313535", "0.6025343", "0.6022036", "0.59736234", "0.5959759", "0.5889158", "0.58389384", "0.58251727", "0.58100146", "0.57938766", "0.5755879", "0.575473", "0.574...
0.7037063
2
Test that Azure manifest is created.
def rmrQ(YKHO): PCLH, qrtL = YKHO.mock_data.month_range.split('-') Kz8N, bGrB = YKHO.downloader._get_manifest(YKHO.mock_data.test_date) YKHO.assertEqual(Kz8N.get('assemblyId'), YKHO.mock_data.export_uuid) YKHO.assertEqual(Kz8N.get('reportKeys'), [YKHO.mock_data.export_file]) YKHO.assertEqual(Kz8N.ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def urdX(YKHO):\n pass", "def JUXF(YKHO):\n Kz8N = YKHO.dl_object._GetManifest()\n YKHO.assertEqual(Kz8N.get('mediaType'), 'application/vnd.docker.distribution.manifest.v2+json')\n YKHO.assertIn('layers', Kz8N)", "def KbGa(YKHO):\n pass", "def pOCq():\n QePW, geh0 = P4t4.test_client.get('/i...
[ "0.68584496", "0.6731882", "0.6569586", "0.6486185", "0.63024664", "0.6290466", "0.62501264", "0.61309797", "0.6130966", "0.6032041", "0.60068464", "0.5949564", "0.58919036", "0.5891625", "0.58551913", "0.58317274", "0.5762419", "0.5752456", "0.57469535", "0.5746054", "0.5717...
0.5851719
15
Test that error is thrown when getting manifest with an unexpected report name.
def kRbm(YKHO): with YKHO.assertRaises(c5l5): YKHO.downloader._get_manifest(YKHO.mock_data.bad_test_date)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u3vX(YKHO):\n CtsT('./ehiiehaiehnatheita')", "def Ig4L(YKHO, D2Nw):\n with open(str(GkAb(xAKo).parent.parent.parent) + '/data/manifests/400/npmlist.json', 'rb') as ytgA:\n Vb5F = BS3y(stream=ytgA, filename='npmlist.json')\n m_UX = QNAm(manifest=Vb5F, file_path='/tmp/bin', ecosystem='npm',...
[ "0.6667474", "0.6577864", "0.6442794", "0.6417424", "0.64108133", "0.6280289", "0.6221659", "0.6167222", "0.6077581", "0.6064105", "0.60215175", "0.6004537", "0.5949171", "0.5923836", "0.5915513", "0.5878765", "0.5867618", "0.58581245", "0.5856836", "0.58340645", "0.58209306"...
0.83767325
0
Test that Azure report is not downloaded for incorrect key.
def vsM3(YKHO): H5ew = 'badkey' with YKHO.assertRaises(c5l5): YKHO.downloader.download_file(H5ew)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZzSW(YKHO):\n lFTn = oK56('test_api_key')\n lFTn.get_report('test_object_id')\n VLI_ = lFTn.get_last_http_error()\n YKHO.assertEqual(VLI_, lFTn.HTTP_AUTHENTICATION_REQUIRED_ERROR)", "def kRbm(YKHO):\n with YKHO.assertRaises(c5l5):\n YKHO.downloader._get_manifest(YKHO.mock_data.bad_test_...
[ "0.72874945", "0.65340036", "0.6392282", "0.6335407", "0.6285832", "0.62685525", "0.6220093", "0.6134964", "0.6126072", "0.61171114", "0.6113606", "0.6110157", "0.59444654", "0.5941738", "0.59193254", "0.5917145", "0.58990806", "0.58965915", "0.58551496", "0.5852845", "0.5847...
0.7490197
0
Test that Azure report report is not downloaded with matching etag.
def CbHq(YKHO, Qtoa): SIie = '{}/{}/azure/{}/{}'.format(PSrQ.TMP_DIR, YKHO.customer_name.replace(' ', '_'), YKHO.mock_data.container, YKHO.mock_data.export_file) qG2i, ajCK, bGrB, IaaG = YKHO.downloader.download_file(YKHO.mock_data.export_key, YKHO.mock_data.export_etag) YKHO.assertEqual(qG2i, SIie) YKH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OzDI(YKHO):\n YKHO.channel.lineReceived('If-None-Match: unmatchedTag')\n YKHO.channel.lineReceived('')\n Aofo = YKHO.transport.getvalue()\n YKHO.failUnlessEqual(Q9vu(Aofo), Xqgu.OK)\n YKHO.failUnlessEqual(z1tI(Aofo), 'correct')", "def NZsr(YKHO, cb_Q):\n Mkmy = cb_Q.get(YKHO.etag_url)\n ...
[ "0.6585256", "0.6370321", "0.6356344", "0.6338208", "0.6333184", "0.61438024", "0.5987135", "0.5928787", "0.5841444", "0.5769215", "0.5736188", "0.57337487", "0.57212156", "0.571304", "0.57106864", "0.5700322", "0.56946594", "0.5693875", "0.5677892", "0.565196", "0.5644763", ...
0.62326217
5
Tokenize sentences into tokens (words)
def c1w6(Rhv4): YkkV = [] for yAmx in Rhv4: yAmx = yAmx.lower() jWWN = Dhdw.word_tokenize(yAmx) YkkV.append(jWWN) return YkkV
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wr3U(yAmx):\n s2mk = Dhdw.word_tokenize(yAmx)\n return s2mk", "def thS1(_dZy):\n return dFss(_dZy)", "def wr3U(yAmx):\n return Dhdw.word_tokenize(yAmx)", "def wr3U(l5Ny):\n yAmx = W66f(l5Ny)\n return yAmx.tokens()", "def wr3U(YKHO, Rhv4):\n jWWN = []\n _e0y = []\n N3HV = ZbWC...
[ "0.81810564", "0.81695443", "0.8125897", "0.80647105", "0.8031472", "0.79473704", "0.7822261", "0.7811255", "0.7758345", "0.77136296", "0.7704841", "0.7659628", "0.7634914", "0.76327354", "0.7578256", "0.7510274", "0.75056523", "0.7470089", "0.74608606", "0.7456935", "0.74569...
0.75266856
15
Make a list of tokenized sentences
def _OCm(nPrm): Rhv4 = Jx3P(nPrm) YkkV = c1w6(Rhv4) return YkkV
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rhv4(YKHO) -> x1iM[str]:\n return [YKHO.text[yKcO:Os4s] for yKcO, Os4s in YKHO.tokenizations]", "def Rhv4(YKHO) -> x1iM[str]:\n return [YKHO.text[yKcO:Os4s] for yKcO, Os4s in YKHO.tokenizations]", "def wr3U(YKHO, Rhv4):\n jWWN = []\n _e0y = []\n N3HV = ZbWC.compile('\\\\s+')\n for yAmx in...
[ "0.8154739", "0.8154739", "0.7901521", "0.774528", "0.764139", "0.75744385", "0.7562174", "0.75384367", "0.7431874", "0.74140984", "0.73599356", "0.7348926", "0.7331786", "0.731823", "0.73125464", "0.73125464", "0.7311208", "0.7268759", "0.7246582", "0.72322893", "0.72180104"...
0.69454634
49
Replace words not in the given vocabulary with '' token.
def lfwS(YkkV, ED_H, wKu3='<unk>'): ED_H = set(ED_H) fS5i = [] for yAmx in YkkV: x5cY = [] for eOtH in yAmx: if eOtH in ED_H: x5cY.append(eOtH) else: x5cY.append(wKu3) fS5i.append(x5cY) return fS5i
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wPli(Ousv, zFiD):\n return u' '.join([GIN8 if GIN8 in Ousv else u'<UNK>' for GIN8 in zFiD.split()])", "def LM7x(wuNX, CtWL):\n FeaI = set(CtWL)\n for YRbF in range(0, len(wuNX)):\n s2mk = dFss(wuNX[YRbF])\n s2mk = [GIN8 for GIN8 in s2mk if GIN8 in FeaI]\n wuNX[YRbF] = u' '.join(...
[ "0.6602431", "0.6342179", "0.6128151", "0.611547", "0.60829765", "0.5990552", "0.59486204", "0.59422237", "0.59266746", "0.59201443", "0.59078217", "0.5900242", "0.5871093", "0.5836927", "0.5815773", "0.5811374", "0.5806493", "0.57967186", "0.578845", "0.5749576", "0.5745214"...
0.7081734
0
Check if value is a block hash.
def kHL2(Ty9i) -> bool: try: sBY3(Ty9i, prefixes=[b'B']) except (ValueError, TypeError): return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aQPP(aKNt, c8ok, Csbv):\n VAyq = aKNt + str(Csbv)\n T9m5 = HBct.sha256(VAyq.encode()).hexdigest()\n if T9m5 == c8ok:\n return True\n else:\n return False", "def Oz4J(YKHO, nPrm):\n IUxj = nPrm['blockHash']\n return IUxj", "def FYXB(YKHO, c8ok: Sha256Hash):\n return c8ok i...
[ "0.6825397", "0.6368288", "0.6066931", "0.60269296", "0.60067713", "0.5980416", "0.5902937", "0.5870085", "0.58273214", "0.58210754", "0.5807664", "0.57752234", "0.57642764", "0.5752886", "0.57332146", "0.57311237", "0.5706678", "0.57054305", "0.5704643", "0.5683187", "0.5673...
0.5374995
56
Check if value is an operation group hash.
def T5KP(Ty9i) -> bool: try: sBY3(Ty9i, prefixes=[b'o']) except (ValueError, TypeError): return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DSe8(nPrm, kWxk):\n from hashlib import sha1\n dKPB = sha1(nPrm).hexdigest()\n if dKPB == kWxk:\n return True\n else:\n print('Invalid shasum, got: {} , expected: {}'.format(dKPB, kWxk))\n return False", "def Kagf(YEnM) -> bool:\n return hasattr(YEnM, V8hM.GROUP_ATTR_NAME...
[ "0.5815826", "0.5812406", "0.57094544", "0.5656622", "0.56334144", "0.54147464", "0.53879386", "0.5371221", "0.5277382", "0.5243935", "0.5240626", "0.5219513", "0.52157193", "0.51772887", "0.51384795", "0.5111211", "0.51097107", "0.50856537", "0.50782484", "0.50520694", "0.50...
0.50124204
24