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
The id of the sensor.
def ShR8(YKHO): return f'octopus_energy_gas_{YKHO._serial_number}_{YKHO._mprn}_previous_accumulative_cost_override_tariff'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ShR8(YKHO):\n return YKHO.device_id + '_' + YKHO._sensor_type", "def ShR8(YKHO):\n id = '{}{}{}'.format(Sugg, YKHO._account, YKHO.sensorName.lower().replace(' ', ''))\n return id", "def g2g3(YKHO):\n return 'sensor.{}_{}'.format(YKHO._name, YKHO.var_id)", "def jf3N(YKHO) -> str:\n return Y...
[ "0.81542426", "0.7885806", "0.7845372", "0.7695466", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", "0.7657747", ...
0.0
-1
Name of the sensor.
def mWFP(YKHO): return f'Gas {YKHO._serial_number} {YKHO._mprn} Previous Cost Override Tariff'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO._sensor.name", "def mWFP(YKHO):\n return f'{YKHO._name} {lc9R[YKHO.sensor][0]}'", "def _lKy(YKHO):\n return YKHO.data[1]", "def mWFP(YKHO):\n return YKHO.device.device_data[YKHO.device_id]['name'] + f' {YKHO._sensor_type}'", "def mWFP(YKHO):\n return f'{YKHO._na...
[ "0.9250166", "0.90057385", "0.89274466", "0.8871892", "0.8865032", "0.8857324", "0.85477203", "0.85042745", "0.8349108", "0.8343337", "0.82704717", "0.8116982", "0.7734933", "0.7707925", "0.76887643", "0.7471656", "0.7456977", "0.7451284", "0.7451284", "0.7451284", "0.7438701...
0.0
-1
Returns the name of the base image given a path to a docker file.
def KpSq(Fp47): with open(Fp47) as eHNT: Ya26 = next((zFiD for zFiD in eHNT.read().split('\n') if zFiD.startswith('FROM'))) haVx, XfWN = Ya26.split() return XfWN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aQP5(YKHO):\n raise NotImplementedError", "def a2jN(pmON):\n return Hy7s.path.basename(pmON)", "def bWPB(pmON):\n return Hy7s.path.basename(pmON).split('.')[0]", "def UeOe(pmON):\n if Hy7s.path.isfile(pmON):\n return pmON\n for _bmq in mtMZ:\n qaEx = Hy7s.path.join(pmON, _bmq...
[ "0.67118734", "0.6431263", "0.64250034", "0.63595366", "0.62548035", "0.62206465", "0.61929166", "0.61649895", "0.6095284", "0.6067912", "0.60411924", "0.60336626", "0.6005952", "0.59286785", "0.59183544", "0.589465", "0.5819696", "0.57935494", "0.57801765", "0.5728594", "0.5...
0.7747933
0
Recall metric. Only computes a batchwise average of recall. Computes the recall, a metric for multilabel classification of how many relevant items are selected.
def AOzf(Y8eF, aMgO): COti = nMvt.sum(nMvt.round(nMvt.clip(Y8eF * aMgO, 0, 1))) z5jX = nMvt.sum(nMvt.round(nMvt.clip(Y8eF, 0, 1))) AOzf = COti / (z5jX + nMvt.epsilon()) return AOzf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AOzf(Y8eF, aMgO, S8vG, Crrw):\n Y8eF, aMgO = eN6f(Y8eF, aMgO, S8vG, Crrw)\n Aofo = None\n r8hN = len(Y8eF)\n exwG = len(Crrw)\n YsYU = A3YK(Y8eF, aMgO, Crrw).T\n if S8vG == 'micro':\n M6pt = oyIN.trace(YsYU)\n UUZ1 = oyIN.sum(YsYU)\n Aofo = M6pt / UUZ1\n elif S8vG == '...
[ "0.76051724", "0.74478096", "0.7403709", "0.7280632", "0.72094977", "0.71655965", "0.71574295", "0.7144915", "0.7144915", "0.7144915", "0.7144915", "0.7144915", "0.7144915", "0.7131453", "0.71006256", "0.70658225", "0.7064264", "0.70625037", "0.70625037", "0.70625037", "0.706...
0.70967335
30
Precision metric. Only computes a batchwise average of precision. Computes the precision, a metric for multilabel classification of how many selected items are relevant.
def rhd_(Y8eF, aMgO): COti = nMvt.sum(nMvt.round(nMvt.clip(Y8eF * aMgO, 0, 1))) ftZB = nMvt.sum(nMvt.round(nMvt.clip(aMgO, 0, 1))) rhd_ = COti / (ftZB + nMvt.epsilon()) return rhd_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rhd_(YKHO):\n YKHO.overall_precision = Rrc1(YKHO.y_true, YKHO.y_pred, average=YKHO.average_type).round(YKHO.digits_count_fp)\n YKHO.classes_precision = Rrc1(YKHO.y_true, YKHO.y_pred, average=None).round(YKHO.digits_count_fp)", "def lGpo(nPrm, svPB=4):\n gCUM = []\n for KAOR in nPrm:\n RDeU...
[ "0.74902284", "0.7288312", "0.71594113", "0.7153371", "0.7066212", "0.698771", "0.69665945", "0.6955136", "0.69132286", "0.6835471", "0.68181765", "0.6809777", "0.6805386", "0.6805386", "0.6805386", "0.6805386", "0.6805386", "0.6805386", "0.67860866", "0.6758023", "0.6758023"...
0.6755406
46
Sets the value of merchant transaction id
def kPlE(YKHO, vkFH): YKHO.merchant_transaction_id = vkFH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aCFu(YKHO, aCFu):\n YKHO._merchant_id = aCFu", "def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH", "def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH", "def MEbH(YKHO, BWXx):\n super(pPpf, YKHO)._set_input('AWSMerchantId', BWXx)", "def vkFH(YKHO, vkFH):\n if vkFH is None:\n r...
[ "0.7554464", "0.73930633", "0.73930633", "0.67346406", "0.65843433", "0.64936", "0.62641764", "0.62107474", "0.6053218", "0.60430235", "0.58392227", "0.57985413", "0.57985413", "0.5754542", "0.573174", "0.57255185", "0.5675832", "0.56598693", "0.56463534", "0.5619233", "0.561...
0.838844
0
Sets the value of reference id
def jS4s(YKHO, OSJW): YKHO.reference_id = OSJW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OSJW(YKHO, OSJW):\n YKHO._reference_id = OSJW", "def f6Qh(YKHO, BWXx):\n pass", "def ggGq(YKHO, *qIxc):\n return _VfD.ReferenceGlyph_setReferenceId(YKHO, *qIxc)", "def V_9M(YKHO, qdJE, Ilxn):\n ccKF.setAttr('%s.identifier' % qdJE, Ilxn)", "def ueRI(YKHO, *qIxc):\n return _VfD.SBaseRef_se...
[ "0.8207478", "0.7747637", "0.77244306", "0.7660497", "0.7592674", "0.7508247", "0.7439932", "0.7418604", "0.7323189", "0.7252635", "0.7055553", "0.70419794", "0.70278186", "0.7004229", "0.6998189", "0.69893235", "0.69533867", "0.6925184", "0.690119", "0.690119", "0.690119", ...
0.83304
0
Return a copy of the dictionary's list of (key, value) pairs.
def _Ntb(YKHO): Mkmy = [] with YKHO.lock: for H5ew in YKHO.keys(): if YKHO.get(H5ew): Mkmy.append(H5ew) return Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def huxi(YKHO, Op6c):\n return [(WKvO, Op6c[WKvO]) for WKvO in Op6c]", "def huxi(YKHO, Op6c):\n return map(lambda WKvO: [WKvO, Op6c[WKvO]], Op6c)", "def KZkN(cmPJ):\n sjXb = []\n hkxX = []\n for H5ew, BWXx in cmPJ.iteritems():\n sjXb.append(H5ew)\n hkxX.append(BWXx)\n return [sj...
[ "0.7185825", "0.70879525", "0.70782435", "0.7045188", "0.6948525", "0.6946181", "0.69349754", "0.69193006", "0.6917234", "0.6885191", "0.6838708", "0.67713344", "0.67195135", "0.67195135", "0.67195135", "0.66976666", "0.66877514", "0.66877514", "0.66820794", "0.6669205", "0.6...
0.0
-1
Verify that protocol and domain get removed for https.
def u_di(YKHO): Mkmy = YKHO.r.post('/users/login', {'next': 'https://su.mo.com/kb/new?f=b'}) NaW5('/kb/new?f=b', xOkg(Mkmy))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nlwR(QePW):\n if QePW.scheme == 'http':\n return True\n else:\n return False", "def TzmZ(bD7m):\n if bD7m[:8] == 'https://':\n return bD7m\n if bD7m[:7] != 'http://':\n return False\n return 'https://' + bD7m[7:]", "def UNeT(BWXx):\n bD7m = KVWQ(BWXx)\n if b...
[ "0.7038004", "0.7010072", "0.69712543", "0.69538397", "0.66122985", "0.6592762", "0.6550432", "0.6424503", "0.63799495", "0.63720006", "0.6259424", "0.6252115", "0.62439805", "0.61718243", "0.61521494", "0.6138009", "0.6026733", "0.6026651", "0.6010846", "0.59526217", "0.5947...
0.5288132
92
Verify that protocol and domain get removed for http.
def WTeR(YKHO): Mkmy = YKHO.r.post('/users/login', {'next': 'http://su.mo.com/kb/new'}) NaW5('/kb/new', xOkg(Mkmy))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qHIZ(L03z, BWXx):\n ht58, RYr6 = KVWQ.urlparse(BWXx)[:2]\n if ht58 not in ('http', 'https') or not RYr6:\n raise H6V6.ValidationError(bGrB(u'A valid HTTP URL is required.'))", "def nlwR(QePW):\n if QePW.scheme == 'http':\n return True\n else:\n return False", "def tCJx(YKHO...
[ "0.6658824", "0.6591031", "0.65440965", "0.6543921", "0.6436345", "0.6296734", "0.62924564", "0.6281631", "0.6264946", "0.62169707", "0.62075204", "0.619762", "0.61972237", "0.6185842", "0.61785316", "0.6158402", "0.61504245", "0.6134108", "0.6097925", "0.6090806", "0.6080563...
0.0
-1
Constructs a version of 'fn' that applies to smaller batches.
def HrHh(FYKK, yOAJ): if yOAJ is None: return FYKK def U5bT(g4y1, Y9ns=False): lGpU = [FYKK(g4y1[YRbF:YRbF + yOAJ], training=Y9ns) for YRbF in range(0, int(g4y1.shape[0]), yOAJ)] return ZylS.concat([U5bT for U5bT in lGpU], 0) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def inEx(FYKK, yOAJ):\n if yOAJ is None:\n return FYKK\n\n def U5bT(g4y1, M24H, Cwt5, RDhP):\n dixj = []\n for YRbF in range(0, g4y1.shape[0], yOAJ):\n cnGv = g4y1[YRbF:YRbF + yOAJ]\n aWyj = M24H[YRbF:YRbF + yOAJ]\n wehP = Cwt5[YRbF:YRbF + yOAJ] if Cwt5 i...
[ "0.6842734", "0.68105495", "0.6198147", "0.6074036", "0.5801554", "0.5749767", "0.5732074", "0.5710369", "0.5580144", "0.5578785", "0.55560505", "0.5555935", "0.55520225", "0.54689574", "0.5458952", "0.5453996", "0.5444037", "0.5423487", "0.5418939", "0.54081756", "0.5398068"...
0.64979213
2
Constructs a version of 'fn' that applies to smaller batches.
def inEx(FYKK, yOAJ, B8Qq=lambda WKvO: WKvO, D0w7=None): if yOAJ is None: return FYKK def U5bT(g4y1, Y9ns=False, B8Qq=B8Qq): rWrZ = g4y1[0] Shd4 = g4y1[1] twOO = g4y1[2] g8YI = g4y1[3] y5bX = g4y1[4] lGpU = [FYKK([rWrZ[YRbF:YRbF + yOAJ], D0w7(B8Qq(y5bX[YR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def inEx(FYKK, yOAJ):\n if yOAJ is None:\n return FYKK\n\n def U5bT(g4y1, M24H, Cwt5, RDhP):\n dixj = []\n for YRbF in range(0, g4y1.shape[0], yOAJ):\n cnGv = g4y1[YRbF:YRbF + yOAJ]\n aWyj = M24H[YRbF:YRbF + yOAJ]\n wehP = Cwt5[YRbF:YRbF + yOAJ] if Cwt5 i...
[ "0.68411267", "0.68100464", "0.64958173", "0.607114", "0.5799871", "0.5749444", "0.57317525", "0.57095826", "0.5580774", "0.557718", "0.55540234", "0.5553517", "0.55492264", "0.5467045", "0.5456915", "0.5452786", "0.54423714", "0.5421315", "0.5418292", "0.5408055", "0.5398568...
0.61957973
3
Return True if a folder starts with any character in exclusion_folder_start
def DLnu(YMBJ, wp5n): OlA2 = ['.', '_'] if any([str(PKXz(YMBJ)).startswith(mAB6) for mAB6 in OlA2]): if wp5n: AmJz(wp5n, YMBJ, ' starts with one of ', OlA2, ' skipping\n') return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tLMx(YMBJ):\n Ef1c = o59G('excluded_folders', [])\n YMBJ = YMBJ.rstrip(Hy7s.sep) + Hy7s.sep\n return True not in [BQDi in YMBJ for BQDi in Ef1c]", "def SRJJ(ZfUD):\n return not ZfUD.startswith('_')", "def kFiU(XSj5, AGPF):\n return khtY.normpath(AGPF).startswith(XSj5)", "def IxQp(YKHO):\n ...
[ "0.6929057", "0.682931", "0.6739146", "0.66221505", "0.6272218", "0.6267551", "0.6108738", "0.5978019", "0.59336466", "0.59188104", "0.5893266", "0.5833374", "0.57968", "0.5792592", "0.5789207", "0.57792753", "0.57718164", "0.5693271", "0.56708837", "0.56519204", "0.5628853",...
0.7578445
0
Remove punctuation and split according to words
def wr3U(yAmx): b5Tf = yAmx.lower() D5BC = b5Tf.translate(EKJ3, vIwR.punctuation) vwCE = D5BC.split() return vwCE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TsAJ(YKHO, l5Ny):\n gLiZ = list(l5Ny)\n YRbF = 0\n TsLy = True\n hlel = []\n while YRbF < len(gLiZ):\n hcXw = gLiZ[YRbF]\n if oqvA(hcXw):\n hlel.append([hcXw])\n TsLy = True\n else:\n if TsLy:\n hlel.append([])\n TsL...
[ "0.7465218", "0.7465218", "0.7397956", "0.73744273", "0.7369583", "0.7336633", "0.7323795", "0.72154754", "0.71889126", "0.71081096", "0.71021324", "0.70737475", "0.70666057", "0.7061866", "0.704859", "0.7047527", "0.70413125", "0.70413125", "0.70413125", "0.70413125", "0.704...
0.6841861
35
Generate a random string of fixed length
def BWvy(u54L=10): KoG3 = vIwR.ascii_lowercase return ''.join((tuKI.choice(KoG3) for YRbF in Ni9Y(u54L)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YzjY(u54L: int):\n FLLz = vIwR.ascii_letters + vIwR.digits\n return ''.join(tuKI.choices(FLLz, k=u54L))", "def e7Tf(u54L=6):\n exwG = int(u54L / 2 + 1)\n WKvO = MRxC.hexlify(Hy7s.urandom(exwG))\n KCHu = WKvO[:u54L]\n return KCHu.decode('utf-8')", "def e7Tf(u54L):\n return ''.join((tuKI...
[ "0.8680464", "0.8573714", "0.85486245", "0.85297275", "0.85209286", "0.84331024", "0.8432044", "0.84157014", "0.84120053", "0.8345882", "0.8343962", "0.83406156", "0.83348686", "0.83240855", "0.82986933", "0.82911193", "0.8281826", "0.82818025", "0.82811046", "0.82640225", "0...
0.8389201
9
Builds an ActivityPub article object. The timestamp must be in json format, not protobuf.
def s5az(YKHO, cmT6, leAC, E3oo, taDc, hGN5, QxIo, h0TT=None): if h0TT is None: h0TT = cmT6 return {'@context': YKHO.rabble_context(), 'type': 'Article', 'id': cmT6, 'name': leAC, 'published': E3oo, 'attributedTo': taDc, 'content': hGN5, 'preview': {'type': 'Note', 'name': 'Summary', 'content': QxIo}, '...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OG6V(YKHO, l3QS):\n if '_embedded' in l3QS:\n l3QS['image'] = l3QS['_embedded'].get('wp:featuredmedia', [None])[0]\n l3QS['author'] = l3QS['_embedded'].get('author', [None])[0]\n if 'display_category' not in l3QS:\n LeZt = l3QS['_embedded'].get('wp:term', [[]])[0]\n ...
[ "0.5883132", "0.5761445", "0.54526764", "0.5435352", "0.5409629", "0.5279417", "0.52663416", "0.52286", "0.5209933", "0.5208987", "0.5154881", "0.5142191", "0.5140672", "0.51322126", "0.5124345", "0.51080066", "0.50956625", "0.5087001", "0.5060904", "0.5028653", "0.50142175",...
0.7347353
0
Sets the currency_code of this BusinessInvoiceAnalysisRequest.
def uvmn(YKHO, uvmn): YKHO._currency_code = uvmn
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y9p9(YKHO, Y9p9):\n YKHO._transaction_currency_code = Y9p9", "def VIXL(YKHO, VIXL):\n if YKHO.local_vars_configuration.client_side_validation and VIXL is None:\n raise ValueError('Invalid value for `currency`, must not be `None`')\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n if VIX...
[ "0.697567", "0.6185", "0.6065736", "0.6064262", "0.6043505", "0.6043505", "0.6043505", "0.6043505", "0.599469", "0.59784746", "0.5870651", "0.5870651", "0.5870651", "0.57856524", "0.57294303", "0.56779045", "0.56379014", "0.56012744", "0.5568183", "0.5568183", "0.5536259", ...
0.76323247
2
Sets the response_limit of this BusinessInvoiceAnalysisRequest.
def Ez7r(YKHO, Ez7r): if YKHO._configuration.client_side_validation and Ez7r is not None and (Ez7r < 1): raise ValueError('Invalid value for `response_limit`, must be a value greater than or equal to `1`') YKHO._response_limit = Ez7r
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK", "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK", "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK", "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK", "def qoqK(YKHO, qoqK):\n YKHO._limit = qoqK\n return YKHO", "def qoqK(YKHO, qoqK):\n YKHO._limit = qo...
[ "0.6034049", "0.6034049", "0.6034049", "0.59437406", "0.5835259", "0.5826074", "0.5805424", "0.5695868", "0.5533527", "0.5478626", "0.54722434", "0.5461262", "0.5449552", "0.5419226", "0.5419209", "0.53811395", "0.5342677", "0.5311301", "0.528057", "0.52745265", "0.526809", ...
0.7952719
0
Sets the end_date of this BusinessInvoiceAnalysisRequest.
def KhBf(YKHO, KhBf): YKHO._end_date = KhBf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KhBf(YKHO, KhBf):\n YKHO._end_date = KhBf", "def KhBf(YKHO, KhBf):\n if KhBf is None:\n raise ValueError('Invalid value for `end_date`, must not be `None`')\n YKHO._end_date = KhBf", "def KhBf(YKHO, KhBf: str):\n if KhBf is None:\n raise ValueError('Invalid value for `end_date`, m...
[ "0.7756798", "0.76595", "0.74524593", "0.73128676", "0.7265493", "0.7251396", "0.7054168", "0.6997346", "0.69679695", "0.69679695", "0.6886524", "0.6741623", "0.67079425", "0.66745627", "0.63654876", "0.6322931", "0.6166118", "0.6117789", "0.6115287", "0.6101264", "0.6101264"...
0.78489524
5
Sets the currency_conversion of this BusinessInvoiceAnalysisRequest.
def anTd(YKHO, anTd): YKHO._currency_conversion = anTd
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VIXL(YKHO, VIXL):\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n if YKHO.local_vars_configuration.client_side_validation and VIXL is None...
[ "0.6268588", "0.6268588", "0.6268588", "0.6268588", "0.6215708", "0.6159894", "0.6138264", "0.6115726", "0.598387", "0.58805525", "0.57628304", "0.5611137", "0.55443144", "0.54161334", "0.54161334", "0.54161334", "0.54161334", "0.54161334", "0.5395169", "0.5394204", "0.538848...
0.78471076
0
Sets the start_date of this BusinessInvoiceAnalysisRequest.
def kepv(YKHO, kepv): YKHO._start_date = kepv
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kepv(YKHO, kepv):\n YKHO._start_date = kepv", "def kepv(YKHO, kepv):\n if kepv is None:\n raise ValueError('Invalid value for `start_date`, must not be `None`')\n YKHO._start_date = kepv", "def kepv(YKHO, kepv):\n YKHO._start_date = kepv", "def kepv(YKHO, kepv: str):\n if kepv is No...
[ "0.78174496", "0.77041495", "0.76133084", "0.75271297", "0.73746943", "0.7350132", "0.7226218", "0.7076159", "0.6980753", "0.6605808", "0.65800387", "0.65800387", "0.6449838", "0.63616306", "0.6310154", "0.6225277", "0.6225277", "0.6222034", "0.6160333", "0.6155331", "0.61092...
0.77015746
9
Sets the overdue_periods of this BusinessInvoiceAnalysisRequest.
def I69e(YKHO, I69e): YKHO._overdue_periods = I69e
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HYT2(YKHO, HYT2):\n YKHO._payee_grace_period_days = HYT2", "def hHPZ(YKHO, hHPZ):\n YKHO._future_due_periods = hHPZ", "def P0y0(YKHO, P0y0):\n YKHO._due_days = P0y0", "def qKMI(YKHO, w4Sv: int=100):\n MKlR, vC9B, HKhg = (YKHO.data.High, YKHO.data.Low, rLdf.Series(YKHO.data.Close).shift(1))\n ...
[ "0.50690204", "0.5050242", "0.49629074", "0.48179442", "0.47714677", "0.46271735", "0.46271735", "0.4610164", "0.45746517", "0.45540738", "0.4548321", "0.45075378", "0.446112", "0.4401106", "0.43438086", "0.4276293", "0.42307466", "0.4138613", "0.41277072", "0.4123086", "0.40...
0.8449379
0
Sets the business_id of this BusinessInvoiceAnalysisRequest.
def RFDe(YKHO, RFDe): YKHO._business_id = RFDe
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HmwW(YKHO, HmwW):\n YKHO._business_account = HmwW", "def OY_H(YKHO, OY_H):\n YKHO._business_phone = OY_H", "def obYY(YKHO, obYY):\n YKHO._bus_ob_id = obYY", "def obYY(YKHO, obYY):\n YKHO._bus_ob_id = obYY", "def Yjwf(YKHO, Yjwf):\n YKHO._business_phone_number = Yjwf", "def _U6u(YKHO, _...
[ "0.6297323", "0.61722696", "0.60058355", "0.60058355", "0.6001613", "0.5929678", "0.58466035", "0.5810847", "0.58064693", "0.5582011", "0.5535934", "0.5401595", "0.52096385", "0.51457965", "0.50784725", "0.50685155", "0.49421903", "0.49258333", "0.48271197", "0.48203462", "0....
0.8110931
0
Sets the customer_id of this BusinessInvoiceAnalysisRequest.
def di0Y(YKHO, di0Y): YKHO._customer_id = di0Y
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def di0Y(YKHO, di0Y: str):\n YKHO._customer_id = di0Y", "def di0Y(YKHO, di0Y):\n if di0Y is None:\n raise ValueError('Invalid value for `customer_id`, must not be `None`')\n YKHO._customer_id = di0Y", "def di0Y(YKHO, di0Y):\n if di0Y is None:\n raise ValueError('Invalid value for `cus...
[ "0.79679954", "0.7631803", "0.7631803", "0.695172", "0.6813422", "0.6747435", "0.66831005", "0.66831005", "0.656075", "0.62582725", "0.6095496", "0.60175836", "0.60140336", "0.5907835", "0.5888745", "0.58771956", "0.56933546", "0.56887835", "0.5680594", "0.5589217", "0.558201...
0.8002443
3
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, d2zR): 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, d2zR): 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.8455985", "0.83913255", "0.81440157", "0.8140831", "0.8132328", "0.80937284", "0.809181", "0.809181", "0.809181", "0.808509", "0.808509", "0.8076134", "0.8076134", "0.8065528", "0.80422795", "0.80422795", "0.80422795", "0.80422795", "0.80422795", "0.80422795", "0.80422795"...
0.0
-1
Only staff and creator can review
def k66M(YKHO): if YKHO.request.user.is_staff: return W7aK.objects.select_related() else: raise uhgT()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bRaD(YKHO):\n YKHO.client.post('/api/stories', headers={'token': gtbI}, data=qQXR.dumps(yzEO))\n Ylbp = YKHO.client.put('/api/stories/1/review', headers={'token': gtbI}, data=qQXR.dumps({'status': 'Approved'}))\n Aofo = qQXR.loads(Ylbp.data.decode())\n YKHO.assertEqual(Aofo['message'], 'Permission ...
[ "0.67614764", "0.6754483", "0.65233713", "0.6506883", "0.64558226", "0.64312387", "0.6372799", "0.63151383", "0.6255467", "0.62517416", "0.6197781", "0.61933273", "0.61921334", "0.61676115", "0.61468977", "0.61307395", "0.6104877", "0.60937226", "0.60933554", "0.6092204", "0....
0.0
-1
set the creator to the current user
def lwXz(YKHO, L03z): if YKHO.request.user.is_authenticated(): L03z.instance.creator = YKHO.request.user return super().form_valid(L03z)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wyuj(YKHO, Wyuj):\n YKHO._creator = Wyuj", "def Wyuj(YKHO, Wyuj):\n YKHO._creator = Wyuj", "def Wyuj(YKHO, Wyuj):\n YKHO._creator = Wyuj", "def Wyuj(YKHO, Wyuj):\n YKHO._creator = Wyuj", "def lac1(YKHO, QePW, YEnM, L03z, nZuS):\n if not nZuS:\n YEnM.creator = QePW.user\n YEnM.s...
[ "0.7734716", "0.76061606", "0.76061606", "0.76061606", "0.71235436", "0.69892895", "0.69527483", "0.6872877", "0.6872877", "0.6862932", "0.6816366", "0.6794977", "0.6794977", "0.67005956", "0.67005956", "0.67005956", "0.67005956", "0.67005956", "0.67005956", "0.6681744", "0.6...
0.6663708
23
Make numpy array rows the same length by shortening long ones.
def piIz(qw7D): Fbjb = [len(WKvO) for WKvO in qw7D] gJUm = min(Fbjb) for exwG in range(len(qw7D)): zFiD = qw7D[exwG] if len(qw7D[exwG]) != gJUm: VQ6Z = len(zFiD) o7uO = oyIN.ceil(1 / (VQ6Z / gJUm - 1)) for r8hN in range(len(qw7D[exwG])): if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VacU(nPrm):\n ffhm = 0\n for zFiD in nPrm:\n if len(zFiD) > ffhm:\n ffhm = len(zFiD)\n for zFiD in nPrm:\n if len(zFiD) < ffhm:\n by6d = ffhm - len(zFiD)\n zFiD.extend(['' for YRbF in range(by6d)])\n return nPrm", "def wmvz(qw7D):\n return qw7D[oy...
[ "0.60701644", "0.5785023", "0.5635883", "0.5600343", "0.5541946", "0.5525345", "0.5448698", "0.5405504", "0.5405504", "0.53699225", "0.53234947", "0.52803123", "0.5254797", "0.5251641", "0.52381927", "0.5234166", "0.5229408", "0.5209653", "0.5208833", "0.5207058", "0.5166235"...
0.52826136
11
Computes the forward pass for an affine (fullyconnected) layer. The input x has shape (N, d_1, ..., d_k) and contains a minibatch of N examples, where each example x[i] has shape (d_1, ..., d_k). We will reshape each input into a vector of dimension D = d_1 ... d_k, and then transform it to an output vector of dimensio...
def Fav1(WKvO, yzQ0, Fg_i): yvT9 = None a1PO = oyIN.reshape(WKvO, (WKvO.shape[0], oyIN.prod(oyIN.shape(WKvO)[1:]))) yvT9 = oyIN.dot(a1PO, yzQ0) + Fg_i pass wyyA = (WKvO, yzQ0, Fg_i) return (yvT9, wyyA)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Fav1(WKvO, yzQ0, Fg_i):\n yvT9 = None\n GhuM = WKvO.shape\n QRFO = 1\n for YRbF in range(1, len(GhuM)):\n QRFO *= GhuM[YRbF]\n jzdc = WKvO.reshape(WKvO.shape[0], QRFO)\n yvT9 = oyIN.dot(jzdc, yzQ0) + Fg_i\n wyyA = (WKvO, yzQ0, Fg_i)\n return (yvT9, wyyA)", "def KVH6(YKHO, WKvO)...
[ "0.69979554", "0.688257", "0.6688148", "0.651063", "0.64576596", "0.6447634", "0.6414778", "0.64066976", "0.63563716", "0.6355806", "0.63486165", "0.6345911", "0.6335344", "0.63225836", "0.6308018", "0.63038045", "0.62985945", "0.6297732", "0.6296885", "0.62916577", "0.628804...
0.6505953
4
Computes the backward pass for an affine layer.
def Kt1o(zYcP, wyyA): WKvO, yzQ0, Fg_i = wyyA Jw7X, ncXl, NCls = (None, None, None) a1PO = oyIN.reshape(WKvO, (WKvO.shape[0], oyIN.prod(oyIN.shape(WKvO)[1:]))) Jw7X = oyIN.dot(zYcP, yzQ0.T) Jw7X = oyIN.reshape(Jw7X, oyIN.shape(WKvO)) NCls = oyIN.sum(zYcP, axis=0) ncXl = oyIN.dot(a1PO.T, zYcP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wxmU(zYcP, wyyA):\n A45l, GhMp = wyyA\n SG6Y = fhcK.relu_backward(zYcP, GhMp)\n Jw7X, ncXl, NCls = fhcK.affine_backward(SG6Y, A45l)\n return (Jw7X, ncXl, NCls)", "def Kt1o(zYcP, wyyA):\n WKvO, yzQ0, Fg_i = wyyA\n Jw7X, ncXl, NCls = (None, None, None)\n aWf9 = oyIN.prod(WKvO[0].shape)\n ...
[ "0.7518848", "0.7515068", "0.7301493", "0.7301493", "0.7301493", "0.7301493", "0.7243357", "0.71775466", "0.71740377", "0.7173464", "0.71660924", "0.71318585", "0.71068776", "0.70977736", "0.7084256", "0.70685065", "0.70448864", "0.7040929", "0.6993688", "0.6986346", "0.69835...
0.7310804
2
Computes the forward pass for a layer of rectified linear units (ReLUs).
def wN5Y(WKvO): yvT9 = None yvT9 = oyIN.where(WKvO <= 0, 0, WKvO) pass wyyA = WKvO return (yvT9, wyyA)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def drfk(YKHO):\n\n def XVC9(yR_P, g6LF, EYyA):\n \"\"\"\n If there is a negative gradient, change it to zero\n \"\"\"\n nWP1 = YKHO.forward_relu_outputs[-1]\n nWP1[nWP1 > 0] = 1\n e1d4 = nWP1 * ht2j.clamp(g6LF[0], min=0.0)\n del YKHO.forward_relu_outputs...
[ "0.67765754", "0.6630487", "0.6603554", "0.6524658", "0.65097666", "0.64478433", "0.6385381", "0.62672025", "0.62047166", "0.6179713", "0.61535424", "0.61385596", "0.6061572", "0.6055216", "0.6048094", "0.6047937", "0.6018342", "0.59974337", "0.59908754", "0.59634507", "0.594...
0.59696555
19
Computes the backward pass for a layer of rectified linear units (ReLUs).
def PPFh(zYcP, wyyA): Jw7X, WKvO = (None, wyyA) Jw7X = oyIN.where(WKvO <= 0, 0, 1) * zYcP pass return Jw7X
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PPFh(YKHO, gEpz, wyyA):\n WKvO = wyyA\n WKvO = oyIN.array(WKvO, copy=True)\n WKvO[WKvO <= 0] = 0\n WKvO[WKvO > 0] = 1\n cf5c = gEpz * WKvO\n return cf5c", "def ZD5u(OaeV, pwN3):\n N77f, lQ3t, P6bq, OCi3 = OaeV.saved_tensors\n begE = P6bq.device\n SGf8 = 1e-10\n Ro40, = ht2j.auto...
[ "0.7040494", "0.69480807", "0.6898032", "0.6847973", "0.6847973", "0.68467885", "0.68186617", "0.676775", "0.67575246", "0.67554206", "0.6754426", "0.6742765", "0.67396927", "0.6714778", "0.670874", "0.66994834", "0.6696945", "0.6696945", "0.6686564", "0.6665754", "0.6665754"...
0.68413866
6
Returns orgnaizations and their station groups. Get all organization and station group identifiers.
def JnSl(YKHO, **B2fa): XYrK = YKHO._client.factory.create('getOrgsAndStationGroupsSearchQuery') for G1Hx, Ty9i in B2fa.items(): setattr(XYrK, G1Hx, Ty9i) geh0 = YKHO._soap_service.getOrgsAndStationGroups(XYrK) return TFMB(geh0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jqB6(YKHO, _XN0):\n geh0 = YKHO._soap_service.getStationGroups(_XN0)\n return TFMB(geh0)", "def lN3O():\n _hkX = G4JS.get(''.join([w5zs.BASE_URL, 'list/organism']))\n return _hkX.text", "def mUrV(YKHO):\n return YKHO.get('{}/orgs'.format(gsRm.A1.value))", "def vhyn(OaeV):\n CgYo(OaeV.ob...
[ "0.6765716", "0.65290684", "0.62308997", "0.6198153", "0.61975", "0.61779463", "0.61180806", "0.6108401", "0.6018462", "0.6004692", "0.5984768", "0.59534097", "0.5945978", "0.5921139", "0.59210247", "0.58934385", "0.5866213", "0.5837205", "0.5836365", "0.5809406", "0.57943285...
0.64683723
2
Returns station rights profiles as defined by the given query parameters. It is worth noting that there ay be more than one rights profile for a given station. A profile defined the relationship between a charge station and a group and a charge station may belong to multiple groups.
def Gefx(YKHO, **B2fa): XYrK = YKHO._client.factory.create('stationRightsSearchRequest') for G1Hx, Ty9i in B2fa.items(): setattr(XYrK, G1Hx, Ty9i) geh0 = YKHO._soap_service.getStationRights(XYrK) return KUjq(geh0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z39Z():\n if not cuiw.get('oauth_token'):\n return vKnz(nKyW('login'))\n mk2G = 'bearer {0}'.format(cuiw['oauth_token']['access_token'])\n MOPg = {'Authorization': mk2G}\n h1H3 = {'access_token': cuiw['oauth_token']['access_token']}\n apzp = '{}/userinfo'.format(rdHQ)\n FpOe = qQXR.loa...
[ "0.53217614", "0.52930653", "0.51522696", "0.51350725", "0.5086901", "0.5070345", "0.5043122", "0.50005895", "0.4978911", "0.4917278", "0.48973823", "0.48927572", "0.48927358", "0.48502535", "0.48378962", "0.48293635", "0.48282176", "0.47943762", "0.47767562", "0.47638845", "...
0.535175
0
Back propagate the gradient from output to input
def JLgO(YKHO, zYcP): XcU5, Fg_i, EcVT, Nk6w = (YKHO.W, YKHO.b, YKHO.X, YKHO.Z) LLJL, PDlg = (YKHO.num_input, YKHO.num_output) xlwM = EcVT.T kmzT = XcU5.T zYcP = zYcP * (Nk6w != 0.0) TZXe = zYcP @ xlwM SLZ1 = zYcP.sum(axis=1) txjx = kmzT @ zYcP return (txjx, TZXe, SLZ1.reshape(PDlg, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZD5u(YKHO, ZC2S, input):\n raise NotImplementedError", "def ZD5u(YKHO):\n ICX2 = MrDr\n return ICX2", "def ZD5u(YKHO):\n ICX2 = MrDr\n return ICX2", "def ZD5u(YKHO, F1RG):\n HFON = oyIN.dot(YKHO.X.T, F1RG)\n CMy4 = oyIN.dot(oyIN.ones((1, F1RG.shape[0])), F1RG)\n XvHt = oyIN.dot(F1...
[ "0.78424543", "0.76750726", "0.76750726", "0.76672614", "0.75890756", "0.75851744", "0.75851744", "0.7548351", "0.7539645", "0.75374997", "0.75297564", "0.7340075", "0.7311611", "0.7311611", "0.7307857", "0.73035705", "0.73035705", "0.72805494", "0.7271427", "0.7251024", "0.7...
0.0
-1
This function gets the duration of the ECG strip.
def EdTY(nPrm): try: SWox = nPrm.Time.min() C7pn = nPrm.Time.max() WbTE = C7pn - SWox print(WbTE) return WbTE except AttributeError: G9jH.error('The dataframe needs to have a Time header') return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EdTY(YKHO):\n try:\n if YKHO.is_skipped:\n return '00:00'\n assert YKHO.start_time\n assert YKHO.stop_time\n if YKHO.stop_time < YKHO.start_time:\n return 'XX:XX'\n return f'{str(int(YKHO.stop_time - YKHO.start_time) // 60).zfill(2)}:{str(int(YKHO.sto...
[ "0.7091488", "0.7055618", "0.6849837", "0.68465245", "0.6673342", "0.6670944", "0.665337", "0.66172236", "0.6603401", "0.6603401", "0.6600614", "0.65750927", "0.65644634", "0.6562238", "0.65572214", "0.6550449", "0.6537836", "0.65308046", "0.6527161", "0.6521941", "0.6504998"...
0.0
-1
Calculates the hypothesis for the given examples using the current self.theta values.
def QCCU(YKHO, EcVT): Aofo = oyIN.transpose(YKHO.theta) @ EcVT return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RqW8(YKHO):\n return oyIN.matmul(YKHO.X, YKHO.theta_vector)", "def ltRZ(YKHO, EcVT, LVAh, OvAi, oug5, b0Ix):\n FdP5 = len(EcVT)\n AyQ3 = [0] * len(OvAi)\n ljIH = 0\n for YRbF in range(FdP5):\n W3ev = 0\n W3ev = W3ev + oug5\n W3ev += oyIN.matmul(EcVT[YRbF], oyIN.array(OvAi)...
[ "0.67727107", "0.5832738", "0.57661307", "0.5758714", "0.5563677", "0.5532701", "0.54715043", "0.54587907", "0.54464555", "0.53734076", "0.5371957", "0.536912", "0.5325271", "0.53055286", "0.5296538", "0.52918905", "0.5272687", "0.52632505", "0.52036357", "0.5198426", "0.5186...
0.6435389
1
Make reveal.js HTML5 slides from the doconce file `name`.
def yRVl(mWFP, xAU6='', hEAh='reveal', w7QH='darkgray'): if mWFP.endswith('.do.txt'): mWFP = mWFP.replace('.do.txt', '') if '--pygments_html_style=' not in xAU6: from doconce.misc import recommended_html_styles_and_pygment_styles E6VQ = recommended_html_styles_and_pygment_styles() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L3bR(mWFP, xAU6='', hEAh='deck', w7QH='sandstone.default'):\n if mWFP.endswith('.do.txt'):\n mWFP = mWFP.replace('.do.txt', '')\n if '--pygments_html_style=' not in xAU6:\n from doconce.misc import recommended_html_styles_and_pygment_styles\n E6VQ = recommended_html_styles_and_pygmen...
[ "0.6870641", "0.65977275", "0.6071153", "0.5848276", "0.5813762", "0.57927704", "0.57043546", "0.56190366", "0.55146956", "0.5433361", "0.5285804", "0.52656996", "0.5252888", "0.5119041", "0.5035769", "0.50229895", "0.4996925", "0.4994819", "0.49853408", "0.49613583", "0.4954...
0.7441397
0
Gets database file. attached_db if True, add the list of attached databases the database file
def SJOK(YKHO, zXYO=False): if zXYO: RRlC = [YKHO._sql_file] AniK = YKHO.get_attached_database_list(True) for vbQv, nUeQ in AniK: RRlC.append('%s,%s' % (vbQv, nUeQ)) ycBG = ';'.join(RRlC) if YKHO._engine != 'SQLite': if YKHO._host is None: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZdzJ(YKHO, nUeQ=False):\n if YKHO.isMSSQL():\n return []\n else:\n DpUl = YKHO._connection.cursor()\n DpUl.execute('PRAGMA database_list;')\n Ylbp = DpUl.fetchall()\n DpUl.close()\n Ylbp = [Mkmy for Mkmy in Ylbp if Mkmy[1] != 'temp' and Mkmy[1] != 'main']\n ...
[ "0.6916049", "0.6578247", "0.6176285", "0.6100035", "0.6063422", "0.6043342", "0.59784216", "0.5932231", "0.59221953", "0.59080017", "0.59080017", "0.5858477", "0.5848627", "0.5839604", "0.57970726", "0.5792348", "0.57861024", "0.57812977", "0.57812977", "0.57812977", "0.5781...
0.78399277
0
Closes the database connection
def DDI8(YKHO): YKHO.db.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yZlT(Emd4):\n NCls.close()", "def YzkT(YKHO):\n if YKHO._conn is not None:\n YKHO._conn.close()\n YKHO._conn = None", "def DDI8(YKHO):\n RdPg.debug('DB -> close')\n YKHO.conn.close()", "def DDI8(YKHO):\n if YKHO._dbopen:\n YKHO._dbcon.close()", "def ngVb(AJ5d):\n ...
[ "0.85662735", "0.8412375", "0.8293456", "0.8184272", "0.81580645", "0.80922866", "0.8057031", "0.80505526", "0.80190814", "0.79888546", "0.7972568", "0.79142356", "0.7873472", "0.7871479", "0.7852316", "0.782567", "0.78119534", "0.77649176", "0.77649176", "0.77649176", "0.775...
0.79306155
11
Takes Nd array (probably has to be 2d?) and returns an array containing the indices of the last nonzero element of each slice along axis.
def GFjb(ezWE, *, jDK_): def wwuY(ezWE): try: return oyIN.nonzero(ezWE)[0][-1] except IndexError: return -1 return oyIN.apply_along_axis(wwuY, jDK_, ezWE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JViT(qw7D):\n CXf4 = []\n for YRbF in range(qw7D.ndim):\n X8ZB = tuple((r845 for r845 in range(qw7D.ndim) if r845 is not YRbF))\n mC4V = oyIN.where(oyIN.sum(qw7D, axis=X8ZB) > 0)\n if mC4V[0].size == 0:\n return oyIN.array([], dtype=qw7D.dtype)\n gqRb = mC4V[0][0]\n...
[ "0.6477225", "0.61762404", "0.6112838", "0.59012234", "0.58375174", "0.58153963", "0.58129466", "0.58112746", "0.5807287", "0.576203", "0.5731323", "0.5727065", "0.5697212", "0.56608844", "0.5625623", "0.5533452", "0.5529357", "0.5520514", "0.5507549", "0.5502993", "0.5460928...
0.71133775
0
Takes Nd array (probably has to be 2d?) and returns an array containing the indices of the first nonzero element of each slice along axis.
def s7FY(ezWE, *, jDK_): def BBoA(ezWE): try: return oyIN.nonzero(ezWE)[0][0] except IndexError: return -1 return oyIN.apply_along_axis(BBoA, jDK_, ezWE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jYhb(jzdc):\n return oyIN.nonzero(jzdc)[0]", "def tQKz(qw7D):\n if all((gzVs == 0 for gzVs in qw7D.datashape.dim_low)):\n return qw7D\n if any((gzVs < 0 for gzVs in qw7D.datashape.dim_low)):\n raise ValueError('Cannot zero_index array: one or more dimensions start < 0')\n oxOY = qw7...
[ "0.7046656", "0.6831373", "0.6539587", "0.62987006", "0.62457144", "0.61971784", "0.61363906", "0.6088739", "0.6076612", "0.60524017", "0.5979014", "0.5956975", "0.5942205", "0.5927515", "0.5920843", "0.5846095", "0.584005", "0.5835365", "0.5828217", "0.5823978", "0.5822171",...
0.666242
2
Gets the quantize representation of a float . The resulting tensor will contain the quantized values and the quantization parameters will be tagged with the tensor as a special tensor. A ValueError will be raised if the given tensor contains NaN or divergent values.
def rIqB(vhpA: torch.Tensor, JEhd: QuantizeAffineParams2) -> ht2j.Tensor: MbM5(vhpA) NXpY = JEhd.scale yN8h = JEhd.zero_point uSbu = JEhd.num_bits if NXpY == 0: if yN8h != 0: raise ValueError('The given QuantizeAffineParams (={}) has a non-zero zero point with a scale of 0.'.form...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VJeO(eHNT, vexM):\n return int(round(eHNT / vexM) * vexM)", "def SZJh(YKHO):\n if YKHO.nvar == 0:\n return YKHO.t[0]\n else:\n raise ValueError('Factor is not a scalar; scope {}'.format(YKHO.v))", "def KWAc(vexM):\n try:\n vDvV = eval(vexM)\n except:\n return None...
[ "0.6258426", "0.5960607", "0.5929767", "0.5888707", "0.58241445", "0.58061695", "0.566255", "0.5661319", "0.56245506", "0.5591386", "0.55134827", "0.55102366", "0.548706", "0.54651064", "0.54651064", "0.5449523", "0.5448558", "0.5438672", "0.5436855", "0.5434669", "0.5434669"...
0.66287214
0
Get a quantizable approximation of a float tensor given quantize param. This function does not quantize the float tensor , but only adjusts it such that the returned float tensor has an exact quantized representation. This is a function that we want to use at training time to quantize biases and other parameters whose ...
def NLJj(input: torch.Tensor, JEhd: QuantizeAffineParams2) -> ht2j.Tensor: return dp8M.apply(input, JEhd)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rIqB(vhpA: torch.Tensor, JEhd: QuantizeAffineParams2) -> ht2j.Tensor:\n MbM5(vhpA)\n NXpY = JEhd.scale\n yN8h = JEhd.zero_point\n uSbu = JEhd.num_bits\n if NXpY == 0:\n if yN8h != 0:\n raise ValueError('The given QuantizeAffineParams (={}) has a non-zero zero point with a scale...
[ "0.65489894", "0.6516112", "0.6375786", "0.60761523", "0.5911478", "0.56965756", "0.5668826", "0.55257815", "0.5515781", "0.54438496", "0.5428319", "0.53939265", "0.53800285", "0.5355219", "0.52439564", "0.5187641", "0.51826656", "0.5180605", "0.51496965", "0.5134092", "0.511...
0.5843646
5
Quantize a floating point array with respect to the quantization params.
def AaEW(ezWE: np.ndarray, JEhd: QuantizeAffineParams2) -> oyIN.ndarray: NXpY = JEhd.scale yN8h = JEhd.zero_point uSbu = JEhd.num_bits if NXpY == 0: if yN8h != 0: raise ValueError('The given QuantizeAffineParams (={}) has a non-zero zero point with a scale of 0.'.format(JEhd)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JBGM(hkxX, NXpY):\n for Ty9i in range(len(hkxX)):\n hkxX[Ty9i] = aevO.quantify(hkxX[Ty9i], NXpY)\n return hkxX", "def aM62(YKHO, vexM: float) -> oyIN.array:\n assert 0 <= vexM <= 1\n return oyIN.array(list(eNCK.from_iterable((C3ST.predict(YKHO.featurized_data, vexM) for C3ST in YKHO.models...
[ "0.6101966", "0.57611966", "0.574104", "0.57313967", "0.5639589", "0.5639589", "0.5639589", "0.5592016", "0.5435763", "0.5388507", "0.5334182", "0.5311806", "0.52352774", "0.5212122", "0.51914227", "0.5178122", "0.5149757", "0.5144619", "0.513484", "0.5121159", "0.510513", ...
0.684107
0
Return a quantizable approximation of a float tensor . This function does not quantize the float tensor , but only adjusts it such that the returned float tensor has an exact quantized representation. This is a function that we want to use at training time to quantize weights and activations.
def uorY(input: torch.Tensor, dgIT: Optional[numbers.Real]=None, bQ6z: Optional[numbers.Real]=None, uSbu: int=None) -> ht2j.Tensor: if uSbu is None: raise ValueError('num_bits must be supplied') if dgIT is None: dgIT = min(input.min().item(), 0.0) if bQ6z is None: bQ6z = max(input.ma...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VJeO(eHNT, vexM):\n return int(round(eHNT / vexM) * vexM)", "def rIqB(vhpA: torch.Tensor, JEhd: QuantizeAffineParams2) -> ht2j.Tensor:\n MbM5(vhpA)\n NXpY = JEhd.scale\n yN8h = JEhd.zero_point\n uSbu = JEhd.num_bits\n if NXpY == 0:\n if yN8h != 0:\n raise ValueError('The g...
[ "0.64855516", "0.63071", "0.60449255", "0.58433664", "0.578491", "0.57847744", "0.5718715", "0.56967795", "0.56645346", "0.5644118", "0.564346", "0.5634277", "0.5629931", "0.5629931", "0.56082", "0.56082", "0.56082", "0.5605481", "0.56026214", "0.55979854", "0.55944324", "0...
0.5344516
49
Initialises a new 'PowerTransformerInfo' instance.
def FIMM(YKHO, MU5d=None, *qIxc, **lcZy): YKHO._TransformerTankInfo = [] YKHO.TransformerTankInfo = [] if MU5d is None else MU5d super(JGcx, YKHO).__init__(*qIxc, **lcZy)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, d1bu):\n YKHO.transformer = d1bu", "def FIMM(YKHO, hgLN=0.0, zfCc=0, BsK_=0, SCxk=0.0, xseE=0.0, eW37=0.0, Mkmy=0.0, eG8m=0.0, aKdl='Z', MU5d=None, GavP=None, *qIxc, **lcZy):\n YKHO.ratedU = hgLN\n YKHO.endNumber = zfCc\n YKHO.phaseAngleClock = BsK_\n YKHO.emergencyS = SCxk\n YKH...
[ "0.61152256", "0.5753487", "0.5752063", "0.5743845", "0.5649393", "0.5563833", "0.55415523", "0.54955196", "0.5468761", "0.5453124", "0.5449158", "0.5448353", "0.5414072", "0.53945684", "0.53827214", "0.5373926", "0.5355162", "0.5336674", "0.531888", "0.52983326", "0.52956676...
0.7152029
0
Gets the id of this Historico.
def id(YKHO) -> int: return YKHO._id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def id(YKHO) -> int:\n return qe4Y.get(YKHO, 'id')", "def id(YKHO):\n return YKHO.get_data('id')", "def unpH(YKHO) -> int:\n return YKHO.id", "def unpH(YKHO) -> int:\n return YKHO.id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n retu...
[ "0.7482253", "0.74528015", "0.74229527", "0.74229527", "0.74042994", "0.74042994", "0.74042994", "0.74042994", "0.74042994", "0.74042994", "0.74002326", "0.74002326", "0.7397954", "0.7366292", "0.7366292", "0.7366292", "0.7366292", "0.7366292", "0.7366292", "0.7366292", "0.73...
0.7383284
26
Sets the id of this Historico.
def id(YKHO, id: int): YKHO._id = id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V_9M(YKHO, id):\n YKHO.data['id'] = id", "def V_9M(YKHO, id):\n YKHO.__id = id", "def psjw(YKHO, id):\n YKHO.id = int(id)", "def V_9M(YKHO, hbFX):\n YKHO.id_ = hbFX", "def ekm0(YKHO, id):\n YKHO._id = id\n return YKHO.callRemote('setID', id)", "def id(YKHO, id):\n YKHO._id = id",...
[ "0.797054", "0.7935904", "0.78132385", "0.7734397", "0.7502023", "0.7399515", "0.7399515", "0.7399515", "0.7399515", "0.7399515", "0.737194", "0.73489964", "0.7340685", "0.7339455", "0.73324174", "0.73324174", "0.73324174", "0.73324174", "0.73324174", "0.73324174", "0.7332417...
0.74798155
14
Gets the tipo of this Historico.
def Mu7y(YKHO) -> VA9k: return YKHO._tipo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mu7y(YKHO) -> str:\n return YKHO._tipo", "def YwLH(YKHO):\n return YKHO.tipo", "def YwLH(YKHO):\n return YKHO.type", "def YwLH(YKHO):\n return YKHO.type_", "def FRul(YKHO):\n return YKHO.type", "def FRul(YKHO):\n return YKHO.type", "def C5SU(YKHO):\n return YKHO._type", "def ...
[ "0.7791878", "0.77823025", "0.67099935", "0.6708554", "0.66869074", "0.66869074", "0.6678684", "0.66733795", "0.6640555", "0.6597742", "0.6591268", "0.6566212", "0.6566212", "0.6556727", "0.65443474", "0.6544321", "0.65400547", "0.65296185", "0.652133", "0.652133", "0.652133"...
0.89895624
0
Sets the tipo of this Historico.
def Mu7y(YKHO, Mu7y: TipoHistorico): YKHO._tipo = Mu7y
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mu7y(YKHO, Mu7y: str):\n YKHO._tipo = Mu7y", "def Mu7y(YKHO) -> VA9k:\n return YKHO._tipo", "def MlKM(YKHO, MlKM):\n YKHO._tipo_fondo = MlKM", "def TG_K(YKHO, type):\n YKHO.type = type", "def TG_K(YKHO, type):\n YKHO.type = type", "def oq00(YKHO, type):\n YKHO.__data_set_type__ = ty...
[ "0.7844718", "0.68275464", "0.68232894", "0.675328", "0.675328", "0.65762246", "0.6568494", "0.65554976", "0.65554976", "0.6548873", "0.6368371", "0.63416195", "0.6261391", "0.61846095", "0.6021663", "0.6012074", "0.59684074", "0.59649616", "0.59506476", "0.59098434", "0.5869...
0.86336696
0
Gets the sistema of this Historico.
def pMeY(YKHO) -> HVpr: return YKHO._sistema
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Oz1B(YKHO):\n return YKHO['system']", "def Oz1B(YKHO):\n try:\n return YKHO._system\n except AttributeError:\n raise AttributeError('You must initialize the system with createSystem before accessing the cached object.')", "def AoGC(YKHO):\n return Oz1B.SystemManagement(YKHO.client...
[ "0.68398154", "0.6334563", "0.5904373", "0.5898471", "0.5888476", "0.58501226", "0.5827773", "0.5827773", "0.5805058", "0.5789183", "0.57769316", "0.5770022", "0.5768491", "0.57371324", "0.5721187", "0.5702871", "0.5697606", "0.5600086", "0.55993193", "0.55470234", "0.5526437...
0.8499895
0
Sets the descricao of this Historico.
def ZkYm(YKHO, ZkYm: str): YKHO._descricao = ZkYm
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lWGp(YKHO, lWGp):\n YKHO._descricao_estagio = lWGp", "def z5sN(YKHO, z5sN):\n YKHO._descricao_produto = z5sN", "def Gp4B(YKHO, QoB4: str):\n YKHO._desc = QoB4", "def AqxA(YKHO, QoB4: str) -> None:\n YKHO.metadata.data['description'] = QoB4", "def ZkYm(YKHO) -> str:\n return YKHO._descric...
[ "0.77797574", "0.7497721", "0.7149152", "0.71451193", "0.6882043", "0.6770163", "0.66562873", "0.6570389", "0.65478194", "0.654751", "0.65474546", "0.6543521", "0.65362424", "0.6515183", "0.6512677", "0.6491567", "0.6452012", "0.6451664", "0.64491385", "0.6374093", "0.6303296...
0.83928335
0
This function updates an existing environment in the environment list
def QdZT(H5ew, oRGs): P4t4.logger.debug(EyO9(oRGs)) if oRGs['key'] != H5ew: eTsH(400, f'Key mismatch in path and body') xecA = zAej.query.filter(zAej.key == H5ew).one_or_none() if xecA is not None: uPxI = U3qM() X4oR = uPxI.load(oRGs, session=NCls.session) X4oR.key = oRGs...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QdZT(YKHO, Oz1B, choM):\n pass", "def QdZT(YKHO, sEAN):\n del sEAN\n return", "def QdZT(YKHO, SYlu):\n if SYlu:\n if isinstance(SYlu, DRg2):\n for hxGQ, zKTY in SYlu.data.items():\n for mWFP, BWXx in zKTY.items():\n if isinstance(BWXx, list):\...
[ "0.7238445", "0.72148824", "0.7120257", "0.649844", "0.6268269", "0.6244135", "0.6230973", "0.62302595", "0.6128082", "0.61241865", "0.6074088", "0.60685635", "0.60434705", "0.60298103", "0.59531087", "0.58574635", "0.5804927", "0.5800053", "0.57754487", "0.5769917", "0.57566...
0.68545854
3
Attempts to identify if an organization that matches an abbreviation for an OrgConcept is a subchapter of the OrgConcept
def Qhhl(GCH1, QAIN): kUXi = djUe.filterdata(QAIN['name']) KCHu = luid(a=GCH1, b=kUXi) hHld = KCHu.get_matching_blocks() Iy_l = list() for kUBT in hHld[:-1]: yKcO = kUBT[0] Os4s = kUBT[0] + kUBT[2] Iy_l.append(GCH1[yKcO:Os4s]) CxJw = max(Iy_l, key=len).lower() GuRx = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHKq(H6CY, QAIN):\n UuZL = djUe.filterdata(H6CY)\n kUXi = djUe.filterdata(QAIN['name'])\n KCHu = luid(a=UuZL, b=kUXi)\n hHld = KCHu.get_matching_blocks()\n Iy_l = list()\n for kUBT in hHld[:-1]:\n yKcO = kUBT[0]\n Os4s = kUBT[0] + kUBT[2]\n Iy_l.append(UuZL[yKcO:Os4s])\n ...
[ "0.78031397", "0.61174715", "0.573218", "0.55013144", "0.5267409", "0.5248337", "0.5197138", "0.5186743", "0.5176284", "0.5175892", "0.5138939", "0.51381475", "0.5099703", "0.5072286", "0.50572854", "0.5043551", "0.50432336", "0.5040826", "0.5026686", "0.5008674", "0.49935865...
0.8353047
0
The QID of this entity, of the form Q
def Jajo(YKHO) -> str: return YKHO._itempage.title()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ySsg(YKHO, Jajo):\n return YKHO._entity_symbols.get_eid(Jajo)", "def ZPOP(YKHO):\n return int(YKHO.q[0])", "def xuM4(YKHO):\n return YKHO._qd", "def daJ_(YKHO, TFOv):\n return YKHO._record_idx_to_record[TFOv]['q_id']", "def id(YKHO):\n return YKHO.query.query_id", "def fSKP(YKHO):\n ...
[ "0.7043349", "0.68651956", "0.67976", "0.6783425", "0.65099895", "0.6497932", "0.6489984", "0.6479542", "0.6476392", "0.6448884", "0.62321675", "0.6205935", "0.6173615", "0.61558586", "0.6049857", "0.6045591", "0.600434", "0.59431225", "0.59063363", "0.5869523", "0.58692676",...
0.77057534
0
The underlying repo from where data for this item is fetched
def boHx(YKHO): return YKHO._repo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def boHx(YKHO):\n if not hasattr(YKHO, '_repo'):\n YKHO._repo = Iz_c(YKHO.path)\n return YKHO._repo", "def kGys(YKHO):\n return yOKc.RepoContents(YKHO)", "async def fetch_data(YKHO) -> xmOq:\n Aofo = await YKHO._client.repos.get(YKHO.repository)\n return Aofo.data", "def boHx(YKHO, CBIr...
[ "0.6901222", "0.67771506", "0.6730266", "0.65392953", "0.65344816", "0.64445806", "0.63316774", "0.61661494", "0.6090669", "0.6055677", "0.5918449", "0.5909221", "0.58707887", "0.58424115", "0.5842285", "0.58357245", "0.5828835", "0.58244187", "0.58021814", "0.5799606", "0.57...
0.7643145
0
Add headers to both force latest IE rendering engine or Chrome Frame, and also to cache the rendered page for 10 minutes.
def PYz4(Mkmy): Mkmy.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate' Mkmy.headers['Pragma'] = 'no-cache' Mkmy.headers['Expires'] = '0' Mkmy.headers['Cache-Control'] = 'public, max-age=0' return Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PYz4(geh0):\n geh0.headers['X-UA-Compatible'] = 'IE=Edge,chrome=1'\n geh0.headers['Cache-Control'] = 'public, max-age=60'\n return geh0", "def PYz4(geh0):\n geh0.headers['X-UA-Compatible'] = 'IE=Edge,chrome=1'\n geh0.headers['Cache-Control'] = 'public, max-age=600'\n return geh0", "def PY...
[ "0.82231", "0.8222272", "0.8222272", "0.8222272", "0.8222272", "0.8195367", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.81630635", "0.8...
0.7127428
61
Returns a randomly selected quote from a character based on user input.
def IVJW(geh0): Pqfp = ['"Harsh words won\'t solve problems, action will!"', '"The past can be a great teacher."', '"It\'s easy to do nothing, but it\'s hard to forgive."'] CXsO = ['"It is the strength of your hearts that make you who you are."', '"Everybody, hold hands. We can do this. We have to."', '"I will ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gTcu():\n PenU = ['Growth is never by mere chance; it is the result of forces working together.\\n-James Cash Penney', 'We cannot accomplish all that we need to do without working together\\n-Bill Richardson', 'The power of one, if fearless and focused, is formidable, but the power of many working together ...
[ "0.70577174", "0.70087826", "0.66427964", "0.65939885", "0.64858484", "0.64615804", "0.6230817", "0.6159821", "0.6150661", "0.6049354", "0.6014567", "0.6004322", "0.5996546", "0.5978011", "0.59584266", "0.59291565", "0.5924497", "0.5920027", "0.5880703", "0.58800995", "0.5878...
0.0
-1
Return recorded data as a dictionary containing one numpy array for each neuron, ids as keys.
def IGX5(YKHO, dGC4, vnBN=None): if YKHO.is_dead(): Sum1 = YKHO._t_stop else: Sum1 = YKHO.Simulation.active().t if vnBN is None: vnBN = DSOl.to_pq_quantity(YKHO._t_start) vnBN = sqRO.Quantity(vnBN, 'ms') Sum1 = YKHO.unit_handler.to_pq_quantity(Sum1) try: bIwZ = YK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qit2(YKHO):\n XGvb = {}\n for H5ew in YKHO._data:\n wEf2 = YKHO._data[H5ew]\n if uJpi._is_supported_matrix(wEf2):\n DUex = uJpi._serialize_matrix(wEf2)\n XGvb['%s%s' % (H5ew, uJpi.IDENTIFIER)] = DUex\n else:\n XGvb[H5ew] = wEf2\n return XGvb", "d...
[ "0.60289586", "0.60114783", "0.5860054", "0.5755884", "0.5716057", "0.56748897", "0.5661681", "0.5652467", "0.56406534", "0.56327915", "0.56219864", "0.5618285", "0.5605621", "0.5595653", "0.55680156", "0.5530636", "0.5522193", "0.54922014", "0.54868627", "0.5484283", "0.5480...
0.0
-1
Return the LaTeX formula for the given quantity code
def kXOu(PS7v): if PS7v in g9q6.keys(): return g9q6[PS7v] return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iy0Z(YKHO, T8ck, zNig=None, weqM=50):\n Wxnj = T8ck.code\n mWFP = T8ck.name\n z8T_ = T8ck.tex\n if muwo.use_tex:\n if 1:\n if zNig is None:\n yzQ0 = muwo.tex_width\n MKlR = muwo.tex_height\n else:\n yzQ0, MKlR = zNig\n ...
[ "0.68796283", "0.6666894", "0.6622539", "0.65689933", "0.6524665", "0.6505683", "0.65052825", "0.6416758", "0.6358784", "0.6243348", "0.6215221", "0.6199913", "0.61996377", "0.6135273", "0.6126471", "0.6079391", "0.60782313", "0.60715973", "0.60030365", "0.59566927", "0.58848...
0.71861565
0
Given a list of quantities, return the indices and the names
def lMZg(FKVq): cwhV = [] ZWCE = [] for vexM in FKVq: Z9rn, exwG = OTOO(vexM) cwhV.append(Z9rn) ZWCE.append(exwG) return (cwhV, ZWCE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LcWf(YKHO, WwDp):\n JeXU = []\n for g5PM in WwDp:\n yBIQ = [vexM for vexM in YKHO.quantityList if vexM.name == g5PM]\n if len(yBIQ) > 0:\n JeXU.append(yBIQ[0])\n return JeXU", "def _pge(_0VL: List[int]) -> x1iM[str]:\n return [JgRG['name'][YRbF] for YRbF in _0VL]", "def...
[ "0.62808657", "0.6182884", "0.57407695", "0.57221067", "0.56093055", "0.5584418", "0.5544604", "0.5519576", "0.5483992", "0.5475174", "0.5444968", "0.54252946", "0.5388171", "0.5367279", "0.53451806", "0.52989185", "0.5289751", "0.5284161", "0.52632076", "0.52623105", "0.5250...
0.6531379
0
calculates scaled dot product attention
def DM8l(T8ck, nMvt, cAlv, ZHfW=None): LwVP = ZylS.matmul(T8ck, nMvt, transpose_b=True) tZHw = ZylS.cast(ZylS.shape(nMvt)[-1], ZylS.float32) YqO1 = LwVP / ZylS.math.sqrt(tZHw) if ZHfW is not None: dFGy += ZHfW * -1000000000.0 _mSQ = ZylS.nn.softmax(YqO1, axis=-1) hlel = ZylS.matmul(_mSQ,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fUzg(vexM, G1Hx, Ty9i, ZHfW):\n LwVP = ZylS.matmul(vexM, G1Hx, transpose_b=True)\n WiZd = ZylS.cast(ZylS.shape(G1Hx)[-1], ZylS.float32)\n _q8E = LwVP / ZylS.sqrt(WiZd)\n if ZHfW is not None:\n _q8E += ZHfW * 1e-09\n HfyR = ZylS.nn.softmax(_q8E, axis=-1)\n hlel = ZylS.matmul(HfyR, Ty9i)...
[ "0.6945354", "0.69214934", "0.6865867", "0.67973715", "0.67973715", "0.679469", "0.67915493", "0.6790422", "0.6776388", "0.66549087", "0.6501813", "0.6471937", "0.63436484", "0.6301064", "0.6251952", "0.6214482", "0.6200138", "0.6161925", "0.6084597", "0.60089314", "0.5978381...
0.0
-1
get an attribute from the classad, returning default if not found. if the attribute is an expression, eval() it.
def SxGU(YKHO, H5ew, WmM4=None): Mkmy = YKHO.get(H5ew, WmM4) if isinstance(Mkmy, Ncxt.ExprTree): return Mkmy.eval() return Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zmkp(YKHO, _j8X, WmM4=None):\n return getattr(YKHO, '%s__' % _j8X, WmM4)", "def Zmkp(YKHO, _j8X, WmM4=None):\n return getattr(YKHO, '%s__' % _j8X, WmM4)", "def Zmkp(YKHO, _j8X, WmM4=None):\n return getattr(YKHO, '%s__' % _j8X, WmM4)", "def G7Ug(YKHO, Rci7, hkS8, WmM4=None):\n return YKHO.get_...
[ "0.71773195", "0.71773195", "0.71773195", "0.7080743", "0.70802265", "0.68044543", "0.66852283", "0.6642145", "0.6631746", "0.6616394", "0.66116357", "0.6603584", "0.6583975", "0.6549568", "0.65346", "0.65248406", "0.64783686", "0.64783686", "0.64703363", "0.6440669", "0.6433...
0.63743913
25
Randomly sample an element of this space. Can be uniform or nonuniform sampling based on boundedness of space.
def mvm2(YKHO): mvm2 = oyIN.zeros(YKHO.n, dtype=YKHO.dtype) mvm2[YKHO.np_random.choice(YKHO.n, YKHO.np_random.random_integers(low=YKHO.low_limit, high=YKHO.high_limit), replace=False)] = 1 return mvm2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvm2(YKHO):\n return gigf.rand_state.uniform(low=YKHO.bounds[0], high=YKHO.bounds[1])", "def mvm2(YKHO):\n C6jE = YKHO.random_state.choice(len(YKHO.X), int(len(YKHO.X) * YKHO.sample_ratio), replace=False)\n return YKHO.X[C6jE]\n pass", "def mvm2(YKHO):\n return gigf.rand_state.choice(YKHO.do...
[ "0.7659973", "0.70673394", "0.7062092", "0.70263", "0.70029527", "0.6995633", "0.6967637", "0.69616705", "0.6946771", "0.68925464", "0.67660946", "0.676219", "0.66827625", "0.66009057", "0.65529644", "0.64779615", "0.64280087", "0.6408345", "0.64030814", "0.63998497", "0.6392...
0.68871117
10
finds extremes of voltage
def Ggh6(nPrm): Ty9i = [YRbF[1] for YRbF in nPrm] lmk2 = [min(Ty9i), max(Ty9i)] G9jH.info('Calculated extremes: %s', lmk2) return lmk2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def weJV(YKHO, hkS8='values'):\n sN3Z = [0]\n Rq6T = [0]\n for KCHu in YKHO:\n if KCHu is not None:\n sN3Z.append(KCHu.max(hkS8))\n Rq6T.append(KCHu.min(hkS8))\n return (min(Rq6T), max(sN3Z))", "def HmvA(YKHO):\n QxIo = ' '.join(YKHO.get_summary().split())\n mXDZ = ...
[ "0.6563574", "0.6332295", "0.62120295", "0.6158018", "0.6149009", "0.6124345", "0.60902345", "0.60367835", "0.59389496", "0.5917776", "0.5907427", "0.58263284", "0.58249635", "0.58215797", "0.5821129", "0.5806169", "0.58006585", "0.57998943", "0.57896847", "0.57839006", "0.57...
0.67037874
0
calculate duration of data in seconds
def mm1U(nPrm): a1PO = [YRbF[0] for YRbF in nPrm] WbTE = a1PO[len(a1PO) - 1] - a1PO[0] G9jH.info('Calculated duration: %s', WbTE) return WbTE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EdTY(nPrm):\n try:\n SWox = nPrm.Time.min()\n C7pn = nPrm.Time.max()\n WbTE = C7pn - SWox\n print(WbTE)\n return WbTE\n except AttributeError:\n G9jH.error('The dataframe needs to have a Time header')\n return", "def m3XP(YKHO):\n return YKHO.get_data...
[ "0.75729847", "0.7434915", "0.7398723", "0.7352046", "0.73077095", "0.72734934", "0.7242477", "0.72206455", "0.7208781", "0.7178817", "0.7178817", "0.71487856", "0.7125967", "0.7125967", "0.7092624", "0.7074142", "0.7065374", "0.70556056", "0.70512605", "0.7041593", "0.701815...
0.78165597
0
Yield successive nsized chunks from list lst
def SdMe(yv6U, exwG=5): for YRbF in range(0, len(yv6U), exwG): yield yv6U[YRbF:YRbF + exwG]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eHxA(YKHO, yv6U, exwG):\n for YRbF in range(0, len(yv6U), exwG):\n yield yv6U[YRbF:YRbF + exwG]", "def eHxA(yv6U: list, exwG: int):\n for YRbF in range(0, len(yv6U), exwG):\n yield yv6U[YRbF:YRbF + exwG]", "def eHxA(yv6U, exwG):\n for YRbF in range(0, len(yv6U), exwG):\n yield...
[ "0.84788555", "0.8475035", "0.84373796", "0.84367806", "0.84367806", "0.83867484", "0.8364551", "0.8356401", "0.8356401", "0.83249915", "0.83249915", "0.83249915", "0.83249915", "0.83249915", "0.83238053", "0.83238053", "0.83238053", "0.83238053", "0.83238053", "0.83238053", ...
0.0
-1
Constructor that will appropriately initialize a supervised learning object @ In, None @ Out, None
def FIMM(YKHO): super().__init__() import sklearn import sklearn.svm YKHO.model = sklearn.svm.NuSVR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, b0Ix=0.1):\n YKHO.learning_rate = b0Ix\n YKHO._b = 0.0\n YKHO._w = None\n YKHO.misclassified_samples = []", "def FIMM(YKHO, OHMw):\n YKHO.initialLearnRate = OHMw", "def FIMM(YKHO):\n super().__init__()\n YKHO.learning = True", "def FIMM(YKHO, aIVN, MKoA, OnWS):\n G9jH.d...
[ "0.7502165", "0.7372804", "0.7321381", "0.72918063", "0.72507447", "0.7185129", "0.71837455", "0.7158798", "0.71277905", "0.71103", "0.71056765", "0.7085013", "0.70614153", "0.7045403", "0.7045152", "0.7023761", "0.702244", "0.70184857", "0.7005048", "0.6981176", "0.6962386",...
0.0
-1
Test sanitized input for filename
def BVwy(YKHO): BWXx = '/absolute/path/to/the/file.txt' geh0 = x0SS.filename(BWXx) assert geh0 == 'file.txt' BWXx = '../relative/path/to/the/file.txt' geh0 = x0SS.filename(BWXx) assert geh0 == 'file.txt'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ET8B(BWXx):\n return BWXx == GARf(BWXx)", "def Q663(Ux0P, aEqx):\n assert HNRZ(Ux0P) == aEqx", "def ET8B(Ux0P: str) -> bool:\n wgT_ = '|'.join(eVms.ALL_FORMAT)\n njyT = f'[a-zA-Z0-9][a-zA-Z0-9_()-\\\\.]*\\\\.({wgT_})$'\n return ZbWC.match(njyT, Ux0P) is not None", "def ezqk(EkNg):\n imp...
[ "0.7740316", "0.7491698", "0.7317127", "0.7304518", "0.719281", "0.7183117", "0.71796376", "0.71707016", "0.7127195", "0.7066707", "0.7056003", "0.7027526", "0.70222557", "0.7010979", "0.70102715", "0.70009184", "0.6993445", "0.6924603", "0.6922179", "0.69212633", "0.69008577...
0.7524211
1
Assert response resource not the same as video_id
def pPsw(YKHO, geh0): YKHO.assertEqual(geh0.status_code, 403) YKHO.assertEqual(geh0.json(), {'detail': 'You do not have permission to perform this action.'})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LhLm(x0hE):\n _hkX = x0hE.get(f'/api/movies/{30}/')\n assert _hkX.status_code == 404", "def Sn9j(YKHO, bD7m, J49Q, W6Pm):\n geh0 = YKHO.client.get_json(bD7m)\n YKHO.assertEqual(geh0.status_code, 200)\n n6Al = qQXR.loads(geh0.content.decode('utf-8'))['videos']\n YKHO.assertEqual(len(n6Al), l...
[ "0.6865544", "0.66094905", "0.6582229", "0.6546155", "0.65414405", "0.65024304", "0.6414523", "0.6356673", "0.633165", "0.62834114", "0.6281705", "0.62774", "0.6177243", "0.6176217", "0.615378", "0.6153552", "0.6139468", "0.6086457", "0.60766995", "0.6057668", "0.6054404", ...
0.0
-1
Assert a user cannot retrieve with a GET request.
def VpGl(YKHO, CBIr, f6W2): r9m2 = Qi6a(email=CBIr.email, is_registered=True, user=CBIr, video=f6W2) pdWF = hHdm(user=CBIr) geh0 = YKHO.client.get(YKHO._get_url(f6W2, r9m2), content_type='application/json', HTTP_AUTHORIZATION=f'Bearer {pdWF}') YKHO.assertEqual(geh0.status_code, 403)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yd1a(YKHO):\n bD7m = gxEw('edit-list')\n geh0 = YKHO.client.get(bD7m)\n YKHO.assertEqual(403, geh0.status_code)\n YKHO.assertEqual('Forbidden', geh0.status_text)\n YKHO.assertTrue('credentials were not provided.' in geh0.data.get('detail'))", "def kdte(YKHO):\n geh0 = G4JS.get(YKHO.url + '/...
[ "0.7621194", "0.75339085", "0.75293666", "0.74902266", "0.74777055", "0.7363981", "0.7324574", "0.7312986", "0.7293313", "0.72749007", "0.7248937", "0.7242906", "0.7242906", "0.7236196", "0.72310865", "0.7211645", "0.7200218", "0.71942496", "0.71869856", "0.71842724", "0.7176...
0.6622758
81
Assert a user can retrieve with a GET request.
def VNcW(YKHO, CBIr, f6W2): r9m2 = Qi6a(email=CBIr.email, is_registered=True, user=CBIr, video=f6W2) pdWF = hHdm(user=CBIr) geh0 = YKHO.client.get(YKHO._get_url(f6W2, r9m2), content_type='application/json', HTTP_AUTHORIZATION=f'Bearer {pdWF}') YKHO.assertEqual(geh0.status_code, 200) YKHO.assertEqual...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D8R5(YKHO):\n pass", "def onNG(YKHO):\n bD7m = gxEw('edit-list')\n YKHO.login_user()\n geh0 = YKHO.client.get(bD7m)\n YKHO.assertEqual(200, geh0.status_code)\n YKHO.assertEqual('OK', geh0.status_text)", "def Yd1a(YKHO):\n bD7m = gxEw('edit-list')\n geh0 = YKHO.client.get(bD7m)\n ...
[ "0.7166883", "0.7138416", "0.70784193", "0.70585805", "0.6992651", "0.6986855", "0.6977386", "0.6973829", "0.69427407", "0.68977714", "0.6843212", "0.6823857", "0.68225884", "0.68099844", "0.6809175", "0.6809175", "0.6802624", "0.67927337", "0.67833954", "0.6781077", "0.67585...
0.0
-1
Organization students cannot fetch a livesession.
def AFxr(YKHO): a0LQ = SNDS(role=ZCV6, organization=YKHO.organization) YKHO.assert_user_cannot_read(a0LQ.user, YKHO.live)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _ntQ(YKHO):\n f6W2 = RAVR(live_state=pO9U, live_info={'started_at': '1533686400'}, live_type=Bd_j)\n FXSj = Qi6a(consumer_site=f6W2.playlist.consumer_site, email='samia@test-fun-mooc.fr', is_registered=True, lti_id=str(f6W2.playlist.lti_id), lti_user_id='56255f3807599c377bf0e5bf072359fd', video=f6W2)\n ...
[ "0.69396657", "0.60998213", "0.5820081", "0.580893", "0.5780033", "0.5774209", "0.57409483", "0.57314104", "0.5679426", "0.56671363", "0.5634951", "0.5633022", "0.5632234", "0.5592719", "0.5561808", "0.5554536", "0.5554224", "0.5553618", "0.5545273", "0.55272835", "0.5523342"...
0.54202193
39
Control we can only read livesession from the same consumer site. The video is portable in another playlist portable from another consumer site, the livesession should not be return, if this one has been added with a token with no consumer_site.
def I_ck(YKHO): r9m2 = geb4() pdWF = tq_t(playlist=r9m2.video.playlist, roles=[tuKI.choice([ZCV6, pire])], user__email=r9m2.email, context_id=str(r9m2.video.playlist.lti_id), consumer_site=str(r9m2.video.playlist.consumer_site.id)) geh0 = YKHO.client.get(YKHO._get_url(r9m2.video, r9m2), HTTP_AUTHORIZATION=f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cRCv(YKHO):\n r9m2 = geb4()\n pdWF = mflE(playlist=RAVR().playlist)\n geh0 = YKHO.client.get(YKHO._get_url(r9m2.video, r9m2), HTTP_AUTHORIZATION=f'Bearer {pdWF}')\n YKHO.assert_response_resource_not_accessible(geh0)", "def ZlDa(YKHO):\n FV8V = Zpxr()\n r9m2 = Qi6a(is_from_lti_connection=Tru...
[ "0.74330837", "0.72926605", "0.7244288", "0.72079664", "0.71049285", "0.67819166", "0.66117543", "0.6597018", "0.6585724", "0.6561933", "0.6497419", "0.6222364", "0.62131536", "0.61634046", "0.6113718", "0.6005495", "0.59983224", "0.59963846", "0.5977246", "0.5946793", "0.580...
0.7051434
5
Control we can only read livesession from the same consumer site. The video is portable in another playlist portable from another consumer site, the livesession should not be return, if this one has been added with a token with a different consumer_site.
def ZlDa(YKHO): FV8V = Zpxr() r9m2 = Qi6a(is_from_lti_connection=True, consumer_site=FV8V) pdWF = Bs7f(live_session=r9m2, consumer_site=str(r9m2.video.playlist.consumer_site.id)) geh0 = YKHO.client.get(YKHO._get_url(r9m2.video, r9m2), HTTP_AUTHORIZATION=f'Bearer {pdWF}') YKHO.assertEqual(geh0.status...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cRCv(YKHO):\n r9m2 = geb4()\n pdWF = mflE(playlist=RAVR().playlist)\n geh0 = YKHO.client.get(YKHO._get_url(r9m2.video, r9m2), HTTP_AUTHORIZATION=f'Bearer {pdWF}')\n YKHO.assert_response_resource_not_accessible(geh0)", "def EDeh(YKHO):\n r9m2 = geb4()\n pdWF = mflE()\n geh0 = YKHO.client....
[ "0.7290013", "0.7129776", "0.7070606", "0.6980318", "0.6874617", "0.66768795", "0.6556682", "0.6531182", "0.65159345", "0.64711285", "0.64142853", "0.6243148", "0.6192172", "0.60892063", "0.6077968", "0.60695493", "0.60295534", "0.6023179", "0.6019862", "0.5817822", "0.580035...
0.716866
1
Control we can only read livesession from the same course. The video is portable in another playlist portable from another course, the livesession should not be return, if this one has been added with a token from a different course.
def g152(YKHO): FV8V = Zpxr() r9m2 = Qi6a(is_from_lti_connection=True, consumer_site=FV8V) pdWF = Bs7f(live_session=r9m2, context_id=f'{r9m2.video.playlist.lti_id}_diff', consumer_site=str(r9m2.video.playlist.consumer_site.id)) geh0 = YKHO.client.get(YKHO._get_url(r9m2.video, r9m2), HTTP_AUTHORIZATION=f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CAOm(YKHO):\n r9m2 = Qi6a(is_from_lti_connection=True)\n pdWF = tq_t(playlist=RAVR().playlist, context_id=str(r9m2.video.playlist.lti_id), consumer_site=str(r9m2.video.playlist.consumer_site.id), user__email=None, user__id=str(r9m2.lti_user_id))\n geh0 = YKHO.client.get(YKHO._get_url(r9m2.video, r9m2)...
[ "0.7078306", "0.7044489", "0.6915882", "0.6829117", "0.6641847", "0.66337645", "0.6599042", "0.65749264", "0.65549153", "0.65521795", "0.65022475", "0.6365631", "0.6344898", "0.628964", "0.62735015", "0.6253598", "0.6229169", "0.6117276", "0.61119545", "0.61066234", "0.610093...
0.67971104
4
Admin/instructor can read all livesession belonging to a video.
def g_oC(YKHO): r9m2 = geb4(email='different@aol.com') pdWF = vu4X(playlist=r9m2.video.playlist) geh0 = YKHO.client.get(YKHO._get_url(r9m2.video, r9m2), HTTP_AUTHORIZATION=f'Bearer {pdWF}') YKHO.assertEqual(geh0.status_code, 200) YKHO.assertEqual(geh0.json(), {'anonymous_id': str(r9m2.anonymous_id),...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f16f(YKHO):\n f6W2 = Rqdq.VideoFactory(upload_state='ready')\n pdWF = IHrB()\n pdWF.payload['resource_id'] = str(f6W2.id)\n pdWF.payload['roles'] = [tuKI.choice(['instructor', 'administrator'])]\n pdWF.payload['permissions'] = {'can_update': False}\n geh0 = YKHO.client.get(f'/api/videos/{f6W2...
[ "0.70488054", "0.70428854", "0.69658476", "0.6871483", "0.68701327", "0.6803738", "0.66802174", "0.6667102", "0.6626952", "0.657966", "0.6537486", "0.6516718", "0.6514493", "0.64654905", "0.64510477", "0.6438336", "0.6355492", "0.6323079", "0.6300556", "0.6295852", "0.6285333...
0.5587022
86
Admin/instructor can read all livesession belonging to a video.
def PEGl(YKHO): bSw8 = Zpxr() r9m2 = Qi6a(consumer_site=bSw8, is_from_lti_connection=True, email='admin@openfun.fr', lti_user_id='56255f3807599c377bf0e5bf072359fd') pdWF = vu4X(playlist=r9m2.video.playlist, context_id=str(r9m2.video.playlist.lti_id), consumer_site=str(r9m2.video.playlist.consumer_site.id)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f16f(YKHO):\n f6W2 = Rqdq.VideoFactory(upload_state='ready')\n pdWF = IHrB()\n pdWF.payload['resource_id'] = str(f6W2.id)\n pdWF.payload['roles'] = [tuKI.choice(['instructor', 'administrator'])]\n pdWF.payload['permissions'] = {'can_update': False}\n geh0 = YKHO.client.get(f'/api/videos/{f6W2...
[ "0.7049502", "0.7044813", "0.696745", "0.68729174", "0.6871903", "0.68047124", "0.66808295", "0.66678184", "0.6626249", "0.65800154", "0.6539541", "0.6518039", "0.65153825", "0.64673316", "0.64514565", "0.64385307", "0.63546854", "0.63250285", "0.63016814", "0.6295473", "0.62...
0.5908801
48
Admin/instructor can read all livesession belonging to a video.
def SYjL(YKHO): bSw8 = Zpxr() r9m2 = Qi6a(consumer_site=bSw8, email='admin@openfun.fr', lti_user_id='56255f3807599c377bf0e5bf072359fd', lti_id='Maths') pdWF = vu4X(playlist=r9m2.video.playlist, context_id=f'{r9m2.video.playlist.lti_id}_diff', consumer_site=str(r9m2.video.playlist.consumer_site.id), user__em...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f16f(YKHO):\n f6W2 = Rqdq.VideoFactory(upload_state='ready')\n pdWF = IHrB()\n pdWF.payload['resource_id'] = str(f6W2.id)\n pdWF.payload['roles'] = [tuKI.choice(['instructor', 'administrator'])]\n pdWF.payload['permissions'] = {'can_update': False}\n geh0 = YKHO.client.get(f'/api/videos/{f6W2...
[ "0.7049502", "0.7044813", "0.696745", "0.68729174", "0.6871903", "0.68047124", "0.66808295", "0.66678184", "0.6626249", "0.65800154", "0.6539541", "0.6518039", "0.65153825", "0.64673316", "0.64514565", "0.64385307", "0.63546854", "0.63250285", "0.63016814", "0.6295473", "0.62...
0.6128341
28
Test that the sync_all_models task starts subtasks to sync all models.
def yVBh(Ehsq): uKrT = FM6F() Ehsq.setattr('datahub.search.tasks.sync_model', uKrT) ZTkd.apply() chIF = {pOv4[1]['args'][0] for pOv4 in uKrT.apply_async.call_args_list} assert chIF == {P4t4.name for P4t4 in u7Ro()}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def THg9(YKHO):\n YKHO.assertEqual(RSOi(sugar=njro()), None)", "def NbiB(xCjU):\n C3ST = Iqhj.DummyModel()\n rn7x(C3ST, _tzZ(xCjU))", "def OvNh(YKHO):\n ONj2 = 'tenant-1'\n _WOG = 'ten-1-net-1'\n MkId = 11\n awX5.remember_tenant(YKHO.admin_ctx, ONj2)\n awX5.remember_network_segment(YKHO...
[ "0.67150646", "0.6645489", "0.6408561", "0.6393947", "0.63218826", "0.62428296", "0.6058084", "0.5738316", "0.5727992", "0.5719004", "0.5666309", "0.56628525", "0.56306374", "0.56288415", "0.5621453", "0.5602244", "0.55847615", "0.5561826", "0.55304426", "0.55164915", "0.5514...
0.7754521
0
Do not return anything, modify head inplace instead.
def YCEJ(YKHO, sdCG: Optional[ListNode]) -> None: id7O, DkUh = (sdCG, sdCG) while DkUh and DkUh.next: id7O = id7O.next DkUh = DkUh.next.next THkp, ZbOB = (None, id7O) while ZbOB: THkp, ZbOB.next, ZbOB = (ZbOB, THkp, ZbOB.next) Kt9y, I_KI = (sdCG, THkp) Vo9x = Msxl() Z...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sdCG(YKHO, sdCG):\n YKHO._head = sdCG", "def Tmr3(YKHO, Q6kx):\n if Q6kx is YKHO.head:\n return\n BWXx = Q6kx.value\n YKHO.delete(Q6kx)\n YKHO.add_to_head(BWXx)", "def RHuc(YKHO, Q6kx):\n YKHO._remove_node(Q6kx)\n YKHO._add_node(Q6kx)", "def NWbf(YKHO, ac0X: Node):\n lHJN =...
[ "0.7218526", "0.6802109", "0.6732775", "0.6622557", "0.65217346", "0.6466963", "0.64551795", "0.63585746", "0.63093", "0.62923217", "0.6231313", "0.622523", "0.62005043", "0.62005043", "0.62005043", "0.62005043", "0.6198878", "0.6193791", "0.61740905", "0.6149187", "0.6120934...
0.63523316
8
Renders the index page.
def d6pt(QePW, YXxD=None): rPXJ = DWkG.get_template('aimodel/index.html') QpfX = {} QpfX['err_msg'] = YXxD return igJ6(rPXJ.render(QpfX, QePW))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d6pt(YKHO):\n return TvZl('index.html')", "def d6pt():\n return TvZl('index.html')", "def d6pt():\n return TvZl('index.html')", "def d6pt():\n return TvZl('index.html')", "def d6pt():\n return TvZl('index.html')", "def d6pt():\n return TvZl('index.html')", "def d6pt(YKHO):\n re...
[ "0.8516521", "0.84311795", "0.84310013", "0.84145755", "0.84145755", "0.83851033", "0.8294009", "0.8237511", "0.8237511", "0.8237109", "0.81209147", "0.81209147", "0.81209147", "0.8120692", "0.8102571", "0.80926615", "0.8088879", "0.80883557", "0.8076846", "0.80755824", "0.80...
0.0
-1
Loads the VoxCeleb Audio data paths into a DataFrame.
def FOuY(AGPF: pathlib.Path): if type(AGPF) is not oAb3.Path: AGPF = oAb3.Path(AGPF) assert AGPF.exists(), f'Directory {AGPF} does not exist.' tlxW = AGPF / 'aac' try: import psutil import os JAMD = os.path.getsize(tlxW.resolve()) TPQr = psutil.virtual_memory() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TLik(nPrm: pd.DataFrame, r0DR: bool=False):\n if not r0DR:\n VlDb = nPrm.copy()\n else:\n VlDb = nPrm\n n33a = []\n xMux = []\n ziel = []\n RcXH = []\n for YRbF, rdlD in VlDb.iterrows():\n HwRy.stdout.write(f'\\r[-] Reading: {YRbF} of {len(VlDb)} ({YRbF / len(VlDb) * 1...
[ "0.7015144", "0.67165434", "0.620072", "0.6104628", "0.6067592", "0.60180914", "0.59482944", "0.59316623", "0.591221", "0.5895084", "0.58752614", "0.587172", "0.5849425", "0.58391815", "0.5833638", "0.58336264", "0.58178675", "0.5806555", "0.5796249", "0.5785747", "0.5785747"...
0.5886255
10
Test negative value to KNX.
def ZRRg(YKHO): YKHO.assertEqual(FNCh.to_knx(-128), (128,)) YKHO.assertEqual(FNCh.to_knx(-100), (156,)) YKHO.assertEqual(FNCh.to_knx(-2), (254,)) YKHO.assertEqual(FNCh.to_knx(-1), (255,))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NWRD(YKHO):\n YKHO.assertEqual(FNCh.to_knx(0), (0,))\n YKHO.assertEqual(FNCh.to_knx(1), (1,))\n YKHO.assertEqual(FNCh.to_knx(2), (2,))\n YKHO.assertEqual(FNCh.to_knx(100), (100,))\n YKHO.assertEqual(FNCh.to_knx(127), (127,))", "def fiY1(YKHO):\n with trZe.raises(JWtU):\n _SK8.to_knx(...
[ "0.68053955", "0.6726487", "0.6411598", "0.6345561", "0.63211316", "0.62936616", "0.62058496", "0.61806506", "0.61336356", "0.61026883", "0.6065826", "0.605254", "0.60103256", "0.59738845", "0.5934937", "0.59000635", "0.58856183", "0.5862906", "0.58206373", "0.58085597", "0.5...
0.71781117
0
If you give an existing Rectangle to init, the current rectangle will be identical to that one. This is useful for subclasses.
def Np6z(Emd4, *qIxc, lued=None, **B2fa): PLc2 = {} if lued is not None: PLc2 = {**{Jyyj: getattr(lued, Jyyj) for Jyyj in D2GY.fields(type(lued))}} return super().transforminitargs(*qIxc, **PLc2, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, H2v2, TVTK):\n YKHO._width = None\n YKHO._height = None\n YKHO.width = TVTK\n YKHO.height = H2v2", "def BL3B(YKHO):\n CYjz = x7Ls(10, 2, 1, 3, 12)\n YKHO.assertEqual(CYjz.width, 10)\n YKHO.assertEqual(CYjz.height, 2)\n YKHO.assertEqual(CYjz.x, 1)\n YKHO.assertEqual(CYjz....
[ "0.75346255", "0.7432669", "0.73152894", "0.6910756", "0.6867908", "0.6767048", "0.67061615", "0.67058426", "0.6570992", "0.6478708", "0.6457321", "0.6289654", "0.62825155", "0.61844367", "0.6169897", "0.61645275", "0.6157988", "0.6149874", "0.6127559", "0.6094426", "0.608606...
0.0
-1
The broadband filter id for this layer
def XwPx(YKHO): bGrB, = YKHO.broadbandfilters return bGrB
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WnWh(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'traffic_mirror_filter_id')", "def WnWh(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'traffic_mirror_filter_id')", "def WnWh(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'traffic_mirror_filter_id')", "def Khck(YKHO):\n al...
[ "0.6700582", "0.65268505", "0.6473297", "0.63865507", "0.61556107", "0.59912837", "0.5887714", "0.567973", "0.5642893", "0.55304307", "0.55137503", "0.54667735", "0.53500754", "0.53469115", "0.53317666", "0.52922195", "0.52897483", "0.5288971", "0.5288971", "0.5286894", "0.52...
0.67852503
0
Parses an object out of JSON tokens
def PVzb(s2mk: Deque[Token]) -> xzoI: YEnM: xzoI = {} if s2mk[0].type == 'right_brace': s2mk.popleft() return YEnM while s2mk: eOtH = s2mk.popleft() if not eOtH.type == 'string': raise _OuM(f'Expected string key for object, found {eOtH.value} (line {eOtH.line} col...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hfK9(zEKB: str) -> object:\n s2mk = wr3U(zEKB)\n BWXx = Gs92(s2mk)\n if len(s2mk) != 0:\n raise _OuM(f'Invalid JSON at {s2mk[0].value} (line {s2mk[0].line} column {s2mk[0].column})')\n return BWXx", "def tL1h(s2mk: deque) -> nC76:\n on8l = s2mk[0]\n if on8l == '[':\n return oO...
[ "0.6929329", "0.67512417", "0.67396253", "0.66605514", "0.6528865", "0.64857805", "0.6480562", "0.6454458", "0.6298291", "0.6291987", "0.6240389", "0.61767405", "0.6158705", "0.6146784", "0.612444", "0.6120313", "0.6110793", "0.6110244", "0.60553813", "0.6031592", "0.60299087...
0.6889534
1
Parses an array out of JSON tokens
def F3lw(s2mk: Deque[Token]) -> Nh9G: qw7D: Nh9G = [] if s2mk[0].type == 'right_bracket': s2mk.popleft() return qw7D while s2mk: BWXx = Gs92(s2mk) qw7D.append(BWXx) eOtH = s2mk.popleft() if eOtH.type not in ('comma', 'right_bracket'): raise _OuM(f"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tL1h(s2mk: deque) -> nC76:\n on8l = s2mk[0]\n if on8l == '[':\n return oOnU(s2mk)\n elif on8l.type == 'NUMBER':\n s2mk.popleft()\n return float(on8l)\n else:\n raise SyntaxError('token inesperada em lista: %r' % on8l)", "def Ofpl(YKHO, s2mk: List[str]) -> x1iM:\n p9...
[ "0.66905135", "0.6423509", "0.6405529", "0.62673825", "0.611627", "0.6105751", "0.6104584", "0.60786897", "0.6055252", "0.6027563", "0.5986071", "0.5892645", "0.5833111", "0.5827836", "0.58231074", "0.5797738", "0.5783564", "0.57752514", "0.5770648", "0.57157", "0.56917876", ...
0.66233844
1
Create a txobject from a JSON string.
def pktP(Emd4, qQXR): tLY8 = [] for EpEn in qQXR['tx_inputs']: tLY8.append(xehJ.from_json(EpEn)) UShr = HYhE(qQXR['sender'], qQXR['receiver'], float(qQXR['amount']), tLY8) UShr.time_stamp = qQXR['time_stamp'] UShr.signature = bytes.fromhex(qQXR['signature']) return UShr
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pktP(Emd4, vIwR):\n fK8P = qQXR.loads(vIwR)\n return Emd4.from_dict(fK8P)", "def rmNw(Emd4, nMY2):\n return Emd4.from_json(HjBM.loads(nMY2))", "def K3BH(Emd4, zEKB: Text, iGZr=False):\n zw0y = qQXR.loads(zEKB)\n if iGZr:\n return Emd4(**zw0y)\n else:\n return Emd4.from_dict(...
[ "0.7425078", "0.72952354", "0.6922215", "0.6905086", "0.69039243", "0.68402296", "0.67729115", "0.6762669", "0.6762669", "0.67548835", "0.67314345", "0.66914314", "0.66605496", "0.66605496", "0.66605496", "0.65641135", "0.6557495", "0.6557495", "0.655633", "0.6540334", "0.653...
0.6356844
33
Make sure that a repository exists and is empty. Return the name of that repository.
def RDp6(w2B8): mWFP = w2B8.repository.database_name w2B8.close() return mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XuO9(YKHO):\n Hy7s.environ['REPOSITORY'] = ''\n YKHO.assertEqual(YKHO.env.project_repo_name, '')", "def bFeS(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'repository_name')", "def bFeS(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'repository_name')", "def bFeS(YKHO) -> h8nf[str]:\n return qe...
[ "0.70834315", "0.70650095", "0.70650095", "0.70650095", "0.63821137", "0.6319591", "0.6287283", "0.62246084", "0.61868614", "0.61172897", "0.6075467", "0.607445", "0.60668606", "0.60452205", "0.60342276", "0.5994722", "0.598412", "0.5972325", "0.5972306", "0.59658056", "0.595...
0.53389955
72
A fixture that makes sure a repository does not exist before the test and also deletes it after the test. The value returned by this fixture is the name of the store.
def Y5KW(N5z6): Piln = N5z6.openCatalog(Jmnv) VUF1 = 'temp-store' while VUF1 in Piln.listRepositories(): VUF1 = 'temp-store-' + ''.join((tuKI.choice('0123456789') for bGrB in range(16))) yield VUF1 if VUF1 in Piln.listRepositories(): Piln.deleteRepository(VUF1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _fpK(D4p1, OXsV):\n Ehky = OXsV.word()\n D4p1.delete(Ehky)\n D4p1.client.scripts.create_if_missing.assert_called_once()\n D4p1.client.scripts.run.assert_called_with('nexus3-cli-repository-delete', data=Ehky)", "def mS0H(YKHO):\n boHx = mY2R('https://repo.com/fake.git')\n YKHO.assertFalse(bo...
[ "0.59115535", "0.5897969", "0.5728862", "0.5676878", "0.559541", "0.5566109", "0.5513843", "0.54906553", "0.5484805", "0.54383415", "0.5427661", "0.5386395", "0.53539497", "0.53537637", "0.532889", "0.5322896", "0.53167385", "0.53014714", "0.5296024", "0.5270413", "0.52568316...
0.6255285
0
A test fixture providing access to an instance of the UserData class. All user data changes are undone during cleanup.
def gFsc(N5z6): with QZXY.closing(owDy(N5z6)) as MAvh: yield MAvh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def izSt(Emd4):\n BJsk.initialize_empty_volunteer()", "def izSt(Emd4) -> None:\n CBIr = mv1M.objects.create(username='test', email='test@example.com', password=mv1M.objects.make_random_password(), is_staff=True)\n CBIr.user_permissions.add(*list(CXiN.objects.all()))\n CBIr.save()", "def izSt(Emd4):...
[ "0.72083414", "0.709093", "0.6878094", "0.68459624", "0.68448097", "0.6776075", "0.6728844", "0.6702885", "0.6675313", "0.6667297", "0.6647461", "0.6620915", "0.6574533", "0.6574533", "0.6574533", "0.6574533", "0.65356106", "0.6517822", "0.65158415", "0.65067697", "0.6504434"...
0.0
-1
Prepend a slash to a string, unless it starts with one already.
def efpr(l5Ny): if l5Ny.startswith('/'): return l5Ny return '/' + l5Ny
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gf7A(bD7m):\n return bD7m if bD7m.startswith('/') else '/' + bD7m", "def FsCh(KCHu):\n return KCHu.rstrip('/') + '/'", "def Wf3W(pmON):\n if pmON == None or len(pmON) == 0 or pmON == '/':\n return '/'\n if pmON[0] == '/':\n return pmON\n else:\n return '/' + pmON", "de...
[ "0.757769", "0.74330693", "0.73252136", "0.7203637", "0.67708737", "0.67386395", "0.67247385", "0.6695317", "0.66316605", "0.6623768", "0.65975904", "0.6513887", "0.64765024", "0.64454806", "0.6437237", "0.63237524", "0.629294", "0.61850864", "0.61308795", "0.61248326", "0.61...
0.78097475
0
Divide a vector into pieces and return the average for each.
def AFbL(he6J, VJ23): zNig = len(he6J) / VJ23 JmmR = [] for YRbF in range(1, VJ23 + 1): JmmR.append(int(zNig * YRbF)) JmmR[-1] = len(he6J) RfIB = [] yKcO = 0 for Os4s in JmmR: RfIB.append(he6J[yKcO:Os4s].sum() / (Os4s - yKcO)) yKcO = Os4s return XTiz.array(RfIB)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qqgr(iArr):\n if len(iArr) == 0:\n return 0\n return sum(iArr) / len(iArr)", "def V_SC(vHnn):\n return oyIN.sum(vHnn, axis=0) / len(vHnn)", "def JBMS(Ty9i):\n return sum(Ty9i) / len(Ty9i)", "def S8vG(Emd4, F_On):\n return Emd4.sum(F_On) / len(F_On)", "def m2nH(oYv1, u54L, BWXx):\n...
[ "0.72715694", "0.7017395", "0.7010137", "0.69049054", "0.6544908", "0.65180355", "0.6517214", "0.6480198", "0.6467507", "0.6467156", "0.6467156", "0.6444702", "0.63790125", "0.63537896", "0.6336954", "0.6332998", "0.6311281", "0.6305369", "0.6275173", "0.62744904", "0.6274490...
0.73543924
0
Quickly load embedding fft data, using a cache if nothing about the input arguments has changed.
def b9BB(pmON, yKcO=0, Os4s=None, U3hF=False, Ln1s=False, Yz1N=None, Iy_7={}): U3hF = U3hF or not Iy_7 or Iy_7['start'] != yKcO or (Iy_7['end'] != Os4s) or Ln1s or (Iy_7['n_docs'] != Yz1N) if U3hF: print('Reloading FFT data. This could take a while.') if Ln1s: assert [rErw(XP5J) for ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wyyA(YKHO):\n nPrm = YKHO.input.data\n eHNT, wyyA = cr9B.cache_fft(nPrm, YKHO.ij, lb=YKHO.lb, ub=YKHO.ub, method=YKHO.method, prefer_speed_over_memory=YKHO.prefer_speed_over_memory, scale_by_freq=YKHO.scale_by_freq)\n return wyyA", "def UlWi(qIxc):\n if qIxc.use_mnist:\n SZFh = Ymkf.Compos...
[ "0.6133116", "0.6092971", "0.58747214", "0.5550252", "0.55302346", "0.5504378", "0.54992276", "0.54626495", "0.5451506", "0.54478824", "0.53455627", "0.5305693", "0.5297875", "0.52947557", "0.5284468", "0.52843183", "0.52705926", "0.52619064", "0.5244584", "0.5239117", "0.520...
0.713355
0
Sample `n` values from a 2d normal distribution and represent the result as a vector of complex numbers. When plotted on the imaginary plane, this looks like a blob; hence the name.
def XOUQ(exwG, NXpY=1.0, yokr=0): xlLU = XTiz.random.default_rng(yokr) vxw0 = xlLU.multivariate_normal([0, 0], [[NXpY ** 2, 0], [0, NXpY ** 2]], exwG) WKvO, LVAh = vxw0.T return WKvO + LVAh * 1j
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvm2(YKHO, exwG):\n U5bT = []\n for YRbF in range(exwG):\n for r845 in range(exwG):\n U5bT.append(YKHO.a + (0.5 + YRbF) / exwG * YKHO.l1 + (0.5 + r845) / exwG * YKHO.l2)\n return U5bT", "def f_SZ(exwG, tpio):\n vRTu = [oyIN.random.randn(tpio) for YRbF in range(exwG)]\n return...
[ "0.65590626", "0.65129775", "0.64647657", "0.6296552", "0.6186569", "0.6164371", "0.6144881", "0.61101717", "0.6097649", "0.60337555", "0.5984409", "0.5982221", "0.5968421", "0.59483546", "0.5944581", "0.5941932", "0.5922946", "0.5862705", "0.58589125", "0.58427274", "0.58387...
0.73738074
0
Calculate the mangitude of a real vector. If axis is provided, vec is treated as an array of vectors and reduced along the given axis. This will work on arrays of any dimension.
def WTaY(he6J, jDK_=None): return (he6J * he6J).sum(axis=jDK_) ** 0.5
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VDTB(he6J, jDK_=None):\n FOSW = WTaY(he6J, axis=jDK_)\n FOSW = FOSW if FOSW > 0 else 1\n if jDK_ is None:\n return he6J / FOSW\n else:\n RsCS = [None] * len(he6J.shape)\n RsCS[jDK_] = slice(None, None, None)\n return he6J / XTiz.array([FOSW])[RsCS]", "def NkkI(Kl_b, jD...
[ "0.6525801", "0.60582083", "0.59095025", "0.5875381", "0.582459", "0.5820062", "0.58052224", "0.57996756", "0.5795107", "0.57933223", "0.5649669", "0.56187755", "0.5613727", "0.55542815", "0.5525401", "0.55145586", "0.5503436", "0.54624665", "0.54379", "0.5425283", "0.5395266...
0.70687664
0
Normalize a real vector. If axis is provided, vec is treated as an array of vectors, and normalized along the given axis. This should work for arrays of any dimension. (Test this!)
def VDTB(he6J, jDK_=None): FOSW = WTaY(he6J, axis=jDK_) FOSW = FOSW if FOSW > 0 else 1 if jDK_ is None: return he6J / FOSW else: RsCS = [None] * len(he6J.shape) RsCS[jDK_] = slice(None, None, None) return he6J / XTiz.array([FOSW])[RsCS]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(Kl_b, jDK_=None):\n pk0L = nk9F(Kl_b)\n return VDTB(pk0L, axis=jDK_)", "def NkkI(jzdc, jDK_=None):\n oN4y = jzdc.sum(jDK_)\n if jDK_ and jzdc.ndim > 1:\n oN4y[oN4y == 0] = 1\n ROpF = list(jzdc.shape)\n ROpF[jDK_] = 1\n oN4y.shape = ROpF\n return jzdc / oN4y", ...
[ "0.7519781", "0.728784", "0.7094881", "0.70240945", "0.70092386", "0.6912532", "0.68835497", "0.68467253", "0.68467253", "0.68467253", "0.6808038", "0.67459893", "0.67228395", "0.67105323", "0.6704893", "0.669974", "0.6697565", "0.66756153", "0.6632518", "0.66218597", "0.6610...
0.8560221
0