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
Wraps hidden states in new Tensors, to detach them from their history.
def IOWm(MKlR): if isinstance(MKlR, ht2j.Tensor): return MKlR.detach() else: return [IOWm(Ty9i) for Ty9i in MKlR]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YmeV(YKHO):\n YKHO.hidden = (ht2j.zeros(1, YKHO.batch_size, YKHO.hidden_size), ht2j.zeros(1, YKHO.batch_size, YKHO.hidden_size))", "def eIRW(Zode):\n if isinstance(Zode, ht2j.Tensor):\n return Zode.detach()\n else:\n return tuple((eIRW(Ty9i) for Ty9i in Zode))", "def MAw8(YKHO):\n ...
[ "0.68820417", "0.64508796", "0.63795817", "0.63099515", "0.6253756", "0.6235426", "0.6205446", "0.6199055", "0.6189236", "0.6189236", "0.61268264", "0.6119672", "0.60707057", "0.60020787", "0.5996177", "0.5995423", "0.59705275", "0.5964861", "0.5948701", "0.59365875", "0.5935...
0.584725
26
Score is the number of wrongtranslation codons.
def b7La(YKHO, X3eO): Rci7 = YKHO.location if YKHO.location is not None else _JMH(0, len(X3eO.sequence), 1) nyal = Rci7.extract_sequence(X3eO.sequence) y_o0 = hBUG(nyal, table=YKHO.genetic_table, assume_start_codon=YKHO.start_codon is not None) ABnS = [YKHO.codon_index_to_location(d6pt) for d6pt, tK2D i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1kx(YKHO) -> int:\n return 0", "def p1kx(y_o0):\n cCrA = [kMJ5[chr(YRbF).lower()] if chr(YRbF).lower() in kMJ5.keys() else 50 for YRbF in y_o0]\n grhM = Pusg(int.__add__, cCrA)\n return grhM", "def hckV(YKHO):\n return 0", "def p1kx(YKHO):\n pass", "def p1kx(YKHO) -> float:\n pass...
[ "0.71983665", "0.7101776", "0.7009212", "0.6927626", "0.6903857", "0.6789488", "0.677692", "0.6685877", "0.6655664", "0.6653266", "0.66356117", "0.66119796", "0.65303713", "0.6515452", "0.6490675", "0.64744776", "0.64744776", "0.64555997", "0.6374199", "0.6367472", "0.6367472...
0.0
-1
Adds a new leaf to the tree by creating a new child node for the given node.
def sm61(Q6kx, iBIi, QTBn): XeOP = Q6kx.untried_actions.pop() QTBn = iBIi.next_state(QTBn, XeOP) XJxn = cA3q(Q6kx, XeOP, iBIi.legal_actions(QTBn)) Q6kx.child_nodes[XeOP] = XJxn return (QTBn, XJxn)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pWT3(YKHO, id, eOtH, Q6kx):\n nLg3 = E1bu(id, eOtH, Q6kx)\n Q6kx.addChild(nLg3)\n return None", "def WMc8(YKHO, Q6kx):\n YKHO.leaves.append(Q6kx)", "def CJQ4(YKHO, Esd_):\n if isinstance(Esd_, i8DB):\n if Esd_.is_root() == False:\n raise ValueError('Node already child of an...
[ "0.74553967", "0.7362672", "0.7342033", "0.7254003", "0.72296643", "0.7032608", "0.69607455", "0.69607455", "0.69150776", "0.6832639", "0.68224394", "0.67792916", "0.6765896", "0.6762212", "0.6758768", "0.6756113", "0.67322326", "0.67142636", "0.6693996", "0.66829354", "0.668...
0.0
-1
Convert the given string to boolean value.
def JiQe(BWXx): deVW = {'true': True, 't': True, '1': True, 'false': False, 'f': False, '0': False} if isinstance(BWXx, bool): return BWXx cdEq = BWXx.lower() if cdEq in deVW: return deVW[cdEq] else: raise ValueError('invalid literal for boolean : "{}"'.format(BWXx))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M0mR(YKHO, str):\n if str.lower() == 'true':\n return True\n elif str.lower() == 'false':\n return False\n else:\n raise ValueError", "def M0mR(YKHO, str):\n try:\n if str.lower() == 'true':\n return True\n elif str.lower() == 'false':\n re...
[ "0.8992574", "0.8872158", "0.8838773", "0.877805", "0.8730256", "0.8693603", "0.8692156", "0.86871684", "0.8644183", "0.86176", "0.86151886", "0.8588084", "0.8544088", "0.8544088", "0.8544088", "0.8544088", "0.8536461", "0.85210073", "0.849975", "0.84954107", "0.847746", "0...
0.0
-1
Setup a logger named transferpy. The logger level is set based on the verbose value. If verbose is true, set the logger to DEBUG level, else INFO level. This logger is globally available in the package and can be accessed using logging.getLogger('transferpy').
def WWrj(PJWX): bo34 = G9jH.getLogger('transferpy') DCgT = G9jH.StreamHandler(stream=HwRy.stdout) if PJWX: DCgT.setLevel(G9jH.DEBUG) else: DCgT.setLevel(G9jH.INFO) uaPq = G9jH.Formatter('%(asctime)s %(levelname)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') DCgT.setFormatter(uaPq...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WWrj(PJWX):\n global logger\n bo34 = G9jH.getLogger()\n if PJWX >= 3:\n bo34.setLevel(G9jH.DEBUG)\n else:\n bo34.setLevel(G9jH.WARNING)\n bo34.addHandler(G9jH.StreamHandler())", "def WWrj(PJWX):\n bo34 = G9jH.getLogger()\n if PJWX >= 3:\n bo34.setLevel(G9jH.DEBUG)\n ...
[ "0.763881", "0.7385038", "0.7385038", "0.7147476", "0.698939", "0.6927962", "0.6914755", "0.69061345", "0.68720376", "0.6844791", "0.679711", "0.67652065", "0.67405444", "0.67188746", "0.6714485", "0.6695016", "0.6667686", "0.6664482", "0.6646897", "0.6646752", "0.6636597", ...
0.853096
0
Helper to identify if `LinearOperator` has only a diagonal component.
def KAm0(WKvO): return isinstance(WKvO, bJ9h) or isinstance(WKvO, ZylS.linalg.LinearOperatorIdentity) or isinstance(WKvO, ZylS.linalg.LinearOperatorScaledIdentity) or isinstance(WKvO, ZylS.linalg.LinearOperatorDiag)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CwsA(YKHO):\n return YKHO._get(0, 1) == 0 and YKHO._get(0, 2) == 0 and (YKHO._get(1, 2) == 0)", "def CwsA(YKHO):\n return YKHO.value[1, 2] == 0", "def CwsA(YKHO):\n return 1", "def KAm0(YKHO):\n if YKHO.horizontal == 0 or YKHO.vertical == 0:\n return False\n if not abs(YKHO.horizont...
[ "0.7758257", "0.76846975", "0.7653188", "0.7511026", "0.7396097", "0.7330736", "0.72390527", "0.70941913", "0.70686704", "0.70261824", "0.70257044", "0.70257044", "0.70257044", "0.69991153", "0.697545", "0.69576997", "0.6895609", "0.68850046", "0.66914576", "0.66882324", "0.6...
0.80311227
0
Returns True if the obj is an instance of a_class
def Bk6c(YEnM, J9Xy): return isinstance(YEnM, J9Xy)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bk6c(YEnM, J9Xy):\n return True if isinstance(YEnM, J9Xy) else False", "def Bk6c(YEnM, J9Xy):\n if isinstance(YEnM, J9Xy):\n return True\n return False", "def Bk6c(YEnM, J9Xy):\n if isinstance(YEnM, J9Xy):\n return True\n else:\n return False", "def Bk6c(YEnM, J9Xy):\n...
[ "0.8602678", "0.85585517", "0.85509354", "0.85509354", "0.85509354", "0.85509354", "0.8530162", "0.8514327", "0.8514327", "0.8504278", "0.8504278", "0.8476787", "0.8476787", "0.8471935", "0.8466083", "0.84618956", "0.84618956", "0.8217775", "0.8187496", "0.8156824", "0.813693...
0.85039276
14
Performs database connection using database settings from settings.py. Returns sqlalchemy engine instance
def WyYT(): return y2U9(KIPK().get('CONNECTION_STRING'), echo=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WyYT():\n return y2U9(rOmR(**GPtr.DATABASE))", "def WyYT():\n return y2U9(moDH)", "def WyYT():\n return y2U9(KIPK().get('CONNECTION_STRING'))", "def WyYT():\n return y2U9(KIPK().get('CONNECTION_STRING'))", "def WyYT():\n return y2U9(KIPK().get('CONNECTION_STRING'))", "def WyYT():\n ...
[ "0.82956547", "0.8233084", "0.8231434", "0.8231434", "0.8231434", "0.82268506", "0.8215186", "0.8215186", "0.8215186", "0.81917554", "0.8176266", "0.80810624", "0.80810624", "0.80810624", "0.80810624", "0.80810624", "0.80810624", "0.80810624", "0.80810624", "0.80810624", "0.8...
0.79582584
26
r"""Transform label [0, 2 bits 1] to waveform [1, 1]
def NwpN(UXqs: torch.Tensor, UOVU: int) -> ht2j.Tensor: return 2 * UXqs / (2 ** UOVU - 1.0) - 1.0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lfRF(UXqs):\n Crrw = set([UXqs[YRbF][0] for YRbF in range(len(UXqs))])\n xfhm = oyIN.zeros([len(UXqs), len(Crrw)])\n for YRbF in range(len(UXqs)):\n d6pt = list(Crrw).index(UXqs[YRbF][0])\n xfhm[YRbF][d6pt] = 1\n return xfhm", "def nrOS(YKHO, mvm2: np.ndarray, UXqs: np.ndarray):\n ...
[ "0.7085774", "0.650724", "0.634505", "0.634505", "0.6282426", "0.6257308", "0.6127913", "0.6093157", "0.60784453", "0.6053707", "0.60404015", "0.5968773", "0.5964758", "0.59609145", "0.59416944", "0.5938301", "0.585815", "0.584914", "0.5845404", "0.5820964", "0.57804245", "...
0.70851916
1
Normalises to the absolute area under the curve. I.e. makes all values postive and divides by their total sum.
def rubS(CjQX, f0tD=1): _owh = oyIN.array(CjQX, dtype=float) if _owh.ndim > 1: raise ValueError('Recieved multidimensional spectrum, normaliseArea does not support this') zBIP = oyIN.sum(oyIN.abs(_owh)) return _owh / zBIP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(YKHO):\n YKHO.scale(1 / YKHO.sum())", "def NkkI(WKvO):\n uw5A = oyIN.exp(WKvO - oyIN.max(WKvO))\n return uw5A / uw5A.sum()", "def NkkI(YKHO):\n z_1F.point_relative_normalization()", "def NkkI(WKvO):\n WKvO = (WKvO - WKvO.mean()) / (WKvO.std() + SGf8)\n return WKvO", "def NkkI(WKv...
[ "0.6668719", "0.6503027", "0.6496196", "0.6419637", "0.6419637", "0.64127755", "0.63996357", "0.6384411", "0.6333473", "0.6319048", "0.62432194", "0.62297887", "0.6191969", "0.6174752", "0.617244", "0.61604834", "0.6156405", "0.61459", "0.61435586", "0.6131155", "0.61297864",...
0.6055349
31
Returns starting state of the board.
def W9gz(): return [[KAvf, KAvf, KAvf], [KAvf, KAvf, KAvf], [KAvf, KAvf, KAvf]]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tQN_(YKHO):\n return YKHO.board", "def tQN_(YKHO):\n return YKHO.board", "def tQN_(YKHO):\n return YKHO.board", "def tQN_(YKHO):\n return YKHO.board", "def tQN_(YKHO):\n return YKHO.board", "def tQN_(YKHO):\n return YKHO._start_state", "def Ee93():\n exwG = ahzX(mF_7, 5)\n r...
[ "0.8809215", "0.8809215", "0.8809215", "0.8809215", "0.8809215", "0.74344724", "0.742334", "0.7328245", "0.72898334", "0.72821885", "0.72821885", "0.7278382", "0.7248571", "0.7225358", "0.7225358", "0.7225358", "0.7225358", "0.7225358", "0.7225358", "0.7225358", "0.7225358", ...
0.0
-1
Returns set of all possible actions (i, j) available on the board.
def xASv(iBIi): xASv = [] for LVAh in range(len(iBIi)): for WKvO in range(len(iBIi[0])): if not iBIi[LVAh][WKvO]: xASv.append((LVAh, WKvO)) return xASv
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xASv(iBIi):\n Ylbp = set()\n for YRbF in range(len(iBIi)):\n for r845 in range(len(iBIi[0])):\n if iBIi[YRbF][r845] == KAvf:\n Ylbp.add((YRbF, r845))\n return Ylbp", "def xASv(YKHO):\n hksT = YKHO.locs[YKHO.player()]\n if hksT is None:\n return YKHO.libe...
[ "0.8076445", "0.793541", "0.79161143", "0.791108", "0.78720105", "0.7767106", "0.7750775", "0.7746268", "0.77375764", "0.77297986", "0.77287656", "0.7708069", "0.7699358", "0.7684907", "0.7675882", "0.76701045", "0.766444", "0.7652087", "0.76410425", "0.7633598", "0.76307464"...
0.730786
50
Returns the winner of the game, if there is one.
def bHVe(iBIi): for YRbF in range(len(iBIi)): if iBIi[YRbF][0] == EcVT and iBIi[YRbF][1] == EcVT and (iBIi[YRbF][2] == EcVT): return EcVT elif iBIi[YRbF][0] == LTX_ and iBIi[YRbF][1] == LTX_ and (iBIi[YRbF][2] == LTX_): return LTX_ for YRbF in range(len(iBIi)): if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bHVe(YKHO):\n if YKHO.done():\n return YKHO._winner\n else:\n return None", "def ND5o(YKHO):\n return YKHO.win_conditions()[0]", "def bHVe(YKHO):\n return YKHO.board.winner()", "def bHVe(YKHO):\n J2w6 = Bu_I.compute_winner_index(YKHO.result, YKHO.game)\n if J2w6 is False:\...
[ "0.84205395", "0.83575505", "0.82868236", "0.81987756", "0.81987756", "0.8168628", "0.81224376", "0.805871", "0.7971006", "0.79522294", "0.7909224", "0.789483", "0.78946227", "0.78887254", "0.78633344", "0.7850654", "0.7850211", "0.78320843", "0.7811322", "0.7769718", "0.7765...
0.0
-1
Returns 1 if X has won the game, 1 if O has won, 0 otherwise.
def f7Dd(iBIi): OLVK = bHVe(iBIi) if OLVK == EcVT: return 1 elif OLVK == LTX_: return -1 else: return 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hHs1(YKHO):\n return YKHO.winner() == YKHO.X_VAL", "def oyg0(iBIi):\n bHVe(iBIi)\n c8fa = 0\n Jszs = 0\n for YRbF in range(3):\n for r845 in range(3):\n if iBIi[YRbF][r845] == LTX_:\n Jszs += 1\n elif iBIi[YRbF][r845] == EcVT:\n c8fa +...
[ "0.7744805", "0.7666492", "0.76287305", "0.7624308", "0.74550337", "0.7443362", "0.73437905", "0.73391145", "0.73098177", "0.73062015", "0.7282491", "0.72771895", "0.7244623", "0.7234964", "0.72071505", "0.7182583", "0.71803224", "0.71759504", "0.7175685", "0.71677846", "0.71...
0.6824385
84
Check if the named owner has access or not.
def _aAm(YKHO, zfnZ, C3VF, YGBC, dWLP): if zfnZ == 'BlockedUntil' or zfnZ == 'UnblockedUntil': jG2o = False if YGBC < C3VF: return (False, YKHO.BLOCKING_PRIORITY_OWNER_EXPLICIT) if zfnZ == 'BlockedUntil' else (True, YKHO.BLOCKING_PRIORITY_OWNER_EXPLICIT) QtMO = 'Default' if dWLP ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XFLq(QePW, qsJ6):\n return qsJ6 in E6ft(QePW) or not CyBR(QePW)", "def H3rX(YKHO, TvXf, hE03, gPmJ):\n try:\n return YKHO.sharing_registry_client_pool.hasOwnerAccess(TvXf, hE03, gPmJ)\n except hOFh:\n bo34.exception('Error occurred in has_owner_access, ')\n raise", "def o27r(Y...
[ "0.7670346", "0.7623136", "0.75996065", "0.7419309", "0.7367191", "0.73503375", "0.73418283", "0.7307801", "0.7292602", "0.72539085", "0.7231395", "0.7192897", "0.71913517", "0.71833575", "0.7161489", "0.7147664", "0.71011025", "0.70871425", "0.70831025", "0.70662177", "0.706...
0.0
-1
Converts filename (.xml) into a Pandas DataFrame.
def nqKV(Ux0P): with open(Ux0P, 'rb') as eHNT: Csk6 = zFDm.parse(eHNT) Csk6 = Csk6['dolfin']['table']['row'] dh64 = {} for rdlD in Csk6: oPhP = rdlD['@key'] dh64[oPhP] = {} for fvDH in rdlD['col']: H5ew = fvDH['@key'] BWXx = fvDH['@value'] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jv21(MADV):\n J_Es = cGyw.parse(MADV)\n tk5Y = J_Es.getroot()\n vC9B = []\n for gnAD in tk5Y:\n Csk6 = {}\n for tqKV in gnAD:\n Csk6[str(tqKV.tag)] = str(tqKV.text)\n vC9B.append(Csk6)\n jQ3Z = rLdf.DataFrame.from_dict(vC9B)\n return jQ3Z", "def hQXy(Ux0P):\n...
[ "0.76585805", "0.76305366", "0.72791904", "0.7047587", "0.6984004", "0.68939185", "0.6856312", "0.68078756", "0.67555207", "0.6731465", "0.67137194", "0.6683598", "0.66499954", "0.6633715", "0.6556075", "0.6510605", "0.6496935", "0.64795566", "0.64683276", "0.63994503", "0.63...
0.67946345
8
Concatenates a list of numbers into a string with ',' as separator.
def Zsji(Q9B2): vIwR = '' for YRbF, aM69 in enumerate(Q9B2): vIwR += str(aM69) if not YRbF == len(Q9B2) - 1: vIwR += ',' return vIwR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tf3F(vGaq):\n vIwR = ''\n for ZfUD in vGaq:\n vIwR += str(ZfUD) + ','\n return vIwR[:-1]", "def kRAs(ybN4):\n return ','.join(ybN4)", "def SQmU(PVOR):\n return ','.join((str(WKvO) for WKvO in PVOR))", "def p5lw(gXtX):\n return ','.join(map(str, sorted(gXtX)))", "def gzes(list):...
[ "0.7480425", "0.74375856", "0.74112135", "0.7366747", "0.72768855", "0.7202392", "0.7202392", "0.7097299", "0.7049692", "0.70108384", "0.7009771", "0.70014167", "0.6900424", "0.6894553", "0.6865552", "0.68608505", "0.6850499", "0.681885", "0.68018746", "0.67431974", "0.673911...
0.62385637
73
Returns a list of ancestors (previous versions) of the given datasetId.
def JZlq(YKHO, X46q): _AKB = YKHO.supersedes(X46q) if _AKB is not None: return YKHO.ancestors(_AKB) + [_AKB] else: return []
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B5QF(YKHO, X46q):\n if YKHO.branching:\n raise WFcL(WFcL.BRANCHING_PERMITTED, 'Attempt to obtain descendants from dataset ' + str(X46q) + ' when branching is permitted')\n aUGN = YKHO.superseded(X46q)\n if aUGN is not None:\n return [aUGN] + YKHO.descendants(aUGN)\n else:\n ret...
[ "0.672848", "0.66450816", "0.6499858", "0.64842176", "0.6463097", "0.6323775", "0.627225", "0.62195295", "0.62183124", "0.6204055", "0.6176559", "0.6148016", "0.61352694", "0.61242", "0.6109274", "0.6050884", "0.6050884", "0.6050884", "0.6050884", "0.6050884", "0.605056", "...
0.88091797
0
Returns a list of descendants (newer versions) of the given datasetId. This operation is not permitted when branching is in effect.
def B5QF(YKHO, X46q): if YKHO.branching: raise WFcL(WFcL.BRANCHING_PERMITTED, 'Attempt to obtain descendants from dataset ' + str(X46q) + ' when branching is permitted') aUGN = YKHO.superseded(X46q) if aUGN is not None: return [aUGN] + YKHO.descendants(aUGN) else: return []
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JZlq(YKHO, X46q):\n _AKB = YKHO.supersedes(X46q)\n if _AKB is not None:\n return YKHO.ancestors(_AKB) + [_AKB]\n else:\n return []", "def B5QF(YKHO, qcmx: int) -> x1iM[int]:\n return jHsn.algorithms.dag.descendants(G=YKHO.dag, source=qcmx)", "def B5QF(oYQe):\n print(eQeD().ls_d...
[ "0.71754605", "0.6018714", "0.59662205", "0.57909703", "0.56929564", "0.56610566", "0.5540575", "0.5538799", "0.5508234", "0.5490311", "0.5473695", "0.536954", "0.53596705", "0.53529", "0.5339912", "0.53068423", "0.529896", "0.52790344", "0.52775675", "0.5258865", "0.52585083...
0.88056314
0
Returns the current memory value
def BWXx(YKHO) -> float: return YKHO.__value
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BWXx(YKHO):\n return YKHO.memory[YKHO.index]", "def poLx(YKHO):\n return YKHO.data.memory", "def TDYl(YKHO):\n return 1 if YKHO._tape.bit_test(YKHO._pos) else 0", "def m0oN(YKHO):\n return YKHO.memory", "def poLx(YKHO):\n return YKHO._mem", "def _p7a(YKHO):\n YKHO.memory_data = XP5J...
[ "0.8314163", "0.7988786", "0.78416365", "0.77234584", "0.76490194", "0.7546536", "0.75175655", "0.74671936", "0.7332995", "0.7272832", "0.7198856", "0.71849173", "0.71849173", "0.71849173", "0.71849173", "0.71849173", "0.71849173", "0.71849173", "0.71849173", "0.71780586", "0...
0.0
-1
Stop all scripts in pool. This is done at server reload since restoring the pool will automatically repopulate the pool.
def JCyR(YKHO, VOlW=None): if VOlW and VOlW in YKHO.tickers: YKHO.tickers[VOlW].stop() else: for SYlA in YKHO.tickers.values(): SYlA.stop()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hXVv(xCjU):\n bo34 = siXk.get_logger()\n bo34.info('Cancelling scripts')\n for D5gV in xCjU:\n D5gV.cancel()\n bo34.info('Scripts cancelled')", "def jMSC():\n pass", "def JCyR(YKHO):\n for N5z6 in YKHO.servers:\n N5z6.close()", "def JCyR():\n pDQs.script.Script.get_curr...
[ "0.6780043", "0.6569461", "0.6563194", "0.6546851", "0.64680636", "0.6456924", "0.64492804", "0.6432177", "0.6416025", "0.6410998", "0.63960904", "0.6389395", "0.63519543", "0.63390046", "0.6332076", "0.632132", "0.63028723", "0.6301316", "0.6299916", "0.62969977", "0.6261303...
0.0
-1
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.8043786
96
Get all parsed arguments.
def rwTO(): wvEv = j1Jz.ArgumentParser(description='CLASP training loop') wvEv.add_argument('--id', type=str, help='run id') wvEv.add_argument('--path-data', type=str, help='path preprocessed csv file for training') wvEv.add_argument('--path-offsd', type=str, help='path preprocessed offset dictionary js...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DxeB(YKHO):\n YKHO._add_arguments()\n qIxc = vars(YKHO.parser.parse_args())\n return qIxc", "def DxeB(YKHO):\n YKHO._add_arguments()\n qIxc = vars(YKHO.parser.parse_args())\n return qIxc", "def gGZX(YKHO):\n return YKHO._parser.parse_args()", "def Ltpw(YKHO):\n YKHO._arguments = Y...
[ "0.7931291", "0.7931291", "0.77645266", "0.77593756", "0.770951", "0.77065855", "0.7537303", "0.7490889", "0.74746454", "0.74704593", "0.7389999", "0.7370834", "0.7362307", "0.734583", "0.733462", "0.733462", "0.73269075", "0.7277576", "0.727353", "0.72302765", "0.72019464", ...
0.0
-1
normalise vector between 1 and 1 inclusive.
def NkkI(YKHO, iArr): i1gc = oyIN.sqrt(oyIN.dot(iArr, iArr)) yVsS = iArr / i1gc return yVsS
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kwsU(iArr):\n return MF4b(iArr) / CkYf(iArr)", "def jnV4(YKHO, he6J):\n Aofo = CkYf(he6J, 1)\n if Aofo == 0.0:\n return he6J\n return he6J / Aofo", "def XGpy(WKvO):\n WKvO = Qm8c(WKvO)\n return WKvO / oyIN.linalg.norm(WKvO)", "def AKms(iArr):\n min = oyIN.min(iArr)\n max = ...
[ "0.7871643", "0.784641", "0.7749325", "0.77330697", "0.76629704", "0.76593465", "0.7657367", "0.7576681", "0.7556271", "0.7555324", "0.75421095", "0.7538342", "0.7516172", "0.74863166", "0.74743396", "0.74704784", "0.74466294", "0.74390453", "0.7413658", "0.74126714", "0.7411...
0.7515646
13
Merges the existing query params with any new ones passed as kwargs. Note that we cannot simply use request.GET.update() as that merges lists rather than replacing the value entirely.
def ERBX(QePW, **B2fa): dGVW = QePW.GET.copy() for H5ew, BWXx in B2fa.items(): dGVW[H5ew] = BWXx return dGVW.urlencode()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AcHs(QpfX, **B2fa):\n QePW = QpfX['request']\n NArs = QePW.GET.copy()\n for H5ew, BWXx in B2fa.items():\n if BWXx == '':\n if H5ew in NArs:\n del NArs[H5ew]\n else:\n NArs[H5ew] = BWXx\n return '?' + NArs.urlencode() if NArs else ''", "def rldq(Q...
[ "0.7673938", "0.7337589", "0.7061224", "0.67432135", "0.6740684", "0.6740684", "0.6740684", "0.6740684", "0.66942525", "0.66669613", "0.6633925", "0.66233504", "0.6577535", "0.6568746", "0.65473944", "0.6491008", "0.647771", "0.64171034", "0.64106745", "0.64083254", "0.636085...
0.7053313
3
Test conversion of sentences to ids and back.
def itWj(__n6): cDK5 = None AONa, ND4z, xXFf = __n6.load(max_samples=cDK5, min_len=None, max_len=None) oeNL = 1 - 1 byv_ = 'printing in the only sense with which we are at present concerned differs from most if not from all the arts and crafts represented in the exhibition' yAmx = oyIN.fromstring(AO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TW0I(YKHO, CtWL):\n for wDWA in [YKHO.train_set, YKHO.dev_set, YKHO.test_set]:\n if wDWA is None:\n continue\n for mvm2 in wDWA:\n mvm2['passage_token_ids'] = CtWL.convert_word_to_ids(mvm2['context_text_tokens'])\n mvm2['question_token_ids'] = CtWL.convert_word...
[ "0.6585298", "0.6547266", "0.64273363", "0.6370825", "0.6367958", "0.63602537", "0.62968475", "0.6244574", "0.6209353", "0.6138481", "0.6048431", "0.6048431", "0.6042956", "0.60406685", "0.60311604", "0.60188216", "0.601195", "0.59295607", "0.5890285", "0.58251464", "0.580452...
0.7070593
0
Determines moment coefficient from the leading edge.
def v0ch(cSjm, ZEoj, kTot, UMgR, *, Z9rn=1): LFlW = oyIN.trapz(UMgR * kTot, kTot) _tIi = oyIN.trapz(ZEoj * cSjm, cSjm) nPw5 = LFlW - _tIi nPw5 /= Z9rn ** 2 return nPw5
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HVay(YKHO):\n E3D9 = YKHO.as_matrix()\n return (oyIN.tensordot(E3D9, E3D9) / 2.0) ** 0.5", "def HVay(YKHO):\n E3D9 = YKHO.as_matrix()\n return (oyIN.tensordot(E3D9, E3D9) / 2.0) ** 0.5", "def aBDM(YKHO, T4Wy):\n RA_F = oyIN.zeros(3)\n for YRbF in range(len(T4Wy) - 1):\n RA_F += YKH...
[ "0.63521975", "0.63521975", "0.6253956", "0.58167416", "0.58047116", "0.56275505", "0.5611452", "0.5581952", "0.552973", "0.55069566", "0.5478551", "0.545907", "0.5391256", "0.53811246", "0.5341541", "0.52997845", "0.5299355", "0.5299355", "0.5298695", "0.52918005", "0.528337...
0.0
-1
Computes the beta t for UCB based methods.
def df4B(tpio, XA7I): return oyIN.sqrt(0.2 * tpio * oyIN.log(2 * tpio * XA7I + 1))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UqYS(YKHO):\n return 1.0 / YKHO.kT", "def yD0E(YKHO, Oa1e):\n if Oa1e.dim == YKHO._Nd:\n return YKHO.rock.BULK_MODULUS * 3 * YKHO.rock.THERMAL_EXPANSION\n else:\n X73w = YKHO.gb.node_props(Oa1e)[_oWe.STATE][_oWe.ITERATE]\n RTOE = X73w[YKHO.temperature_variable] * YKHO.temperatur...
[ "0.79638827", "0.77779907", "0.7600028", "0.7582204", "0.7544852", "0.73468655", "0.73281044", "0.72599775", "0.72478634", "0.72010916", "0.71971273", "0.71751875", "0.7160843", "0.7104457", "0.7056038", "0.70424646", "0.70202386", "0.7006077", "0.7001018", "0.6959392", "0.69...
0.69401217
21
Apply f(x) = acos(x) to the input tensor elementwise.
def nG_t(vWye, XZO5): return SMR4.acos(XZO5[0])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fH9s(YKHO: Any, jzdc: Tensor) -> llWB:\n raise NotImplementedError(\"Backend '{}' has not implemented `acos`.\".format(YKHO.name))", "def fH9s(YKHO, WKvO):\n raise NotImplementedError", "def YhSR(YKHO: Any, jzdc: Tensor) -> llWB:\n raise NotImplementedError(\"Backend '{}' has not implemented `cos`...
[ "0.7051361", "0.7004126", "0.69634736", "0.6957986", "0.677806", "0.6748383", "0.67099804", "0.6599174", "0.65583503", "0.65537024", "0.65101135", "0.6486758", "0.64513373", "0.64497286", "0.6432037", "0.6426955", "0.6362153", "0.63483185", "0.63259274", "0.62533146", "0.6224...
0.64405656
14
Perform elementwise binary addition with numpystyle broadcasting.
def XVRe(vWye, XZO5): LFlW, _tIi = SRfP(vWye, XZO5) return SMR4.add(LFlW, _tIi)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A6C4(*qIxc, **B2fa) -> ht2j.Tensor:\n return C9ch(*qIxc, op=lambda jzdc, Fg_i: jzdc + Fg_i, **B2fa)", "def mb7_(YKHO):\n\n def ZwIL(jzdc, Fg_i, Z9rn):\n return (jzdc + jzdc).addmm(Fg_i, Z9rn)\n WKvO = ht2j.randn(4)\n LVAh = ht2j.randn(6, 10)\n epBp = ht2j.randn(10, 4)\n hxwN(ZwIL, WK...
[ "0.6568601", "0.64511734", "0.6298632", "0.62919885", "0.6263028", "0.61705637", "0.6154199", "0.60374534", "0.60232073", "0.59659046", "0.5917975", "0.59114397", "0.5900108", "0.58922094", "0.58762187", "0.5869573", "0.5840698", "0.5839305", "0.5832763", "0.5812798", "0.5804...
0.5463525
91
Apply f(x) = asin(x) to the input tensor elementwise.
def X5tb(vWye, XZO5): return SMR4.asin(XZO5[0])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P099(YKHO, WKvO):\n return WKvO", "def P099(YKHO, WKvO):\n raise NotImplementedError", "def NszK(U6D_, auzG, QGZu=False, CX33=False, *, eJTR=None):\n U6D_ = oyIN.asarray(U6D_)\n return O4kZ(U6D_, auzG, assume_unique=QGZu, invert=CX33, kind=eJTR).reshape(U6D_.shape)", "def heGV(*, FRUf) -> ImM...
[ "0.6452204", "0.6413131", "0.6103176", "0.605109", "0.59931904", "0.5864241", "0.58442634", "0.5818533", "0.5751327", "0.56476414", "0.56384975", "0.56220824", "0.55821675", "0.5556663", "0.55494726", "0.55277985", "0.55095375", "0.54754364", "0.54305845", "0.5334608", "0.533...
0.58407676
7
Apply f(x) = cos(x) to the input tensor elementwise.
def nfhs(vWye, XZO5): return SMR4.cos(XZO5[0])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YhSR(WKvO):\n return uEWC(WKvO.dtype, 'cos', WKvO)", "def no4o(WKvO):\n Phjr = oyIN.cos(WKvO)\n return Phjr", "def YhSR(YKHO: Any, jzdc: Tensor) -> llWB:\n raise NotImplementedError(\"Backend '{}' has not implemented `cos`.\".format(YKHO.name))", "def w_V3(WKvO):\n return YhSR(WKvO)", "d...
[ "0.6984512", "0.6979109", "0.6972411", "0.69628185", "0.6934517", "0.68711674", "0.68401986", "0.6823634", "0.673056", "0.66377664", "0.6571967", "0.6499591", "0.6477178", "0.6451398", "0.6428661", "0.6417387", "0.63875103", "0.6375826", "0.6353499", "0.634608", "0.63416946",...
0.6627402
10
Find all available apps to install in this env.
def DZer(YKHO): return YKHO.carol.call_api('v1/tenantApps/subscribableCarolApps', method='GET')['hits']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rYyC(YKHO, TZ9E='release'):\n return YKHO.spec_manager.available_apps(TZ9E)", "def XLL2():\n return ['build', 'common', 'company', 'label', 'order', 'part', 'report', 'stock', 'users', 'plugin', 'InvenTree']", "def lh2V():\n yvT9 = set()\n for P4t4 in POek.INSTALLED_APPS:\n yvT9.add(P4t4...
[ "0.74354506", "0.7338272", "0.73350835", "0.7292692", "0.71459883", "0.71205807", "0.71101975", "0.709053", "0.7065784", "0.7059748", "0.70382917", "0.7016621", "0.7015358", "0.6998867", "0.6995549", "0.6985103", "0.69684565", "0.696798", "0.6955971", "0.69492847", "0.6934182...
0.0
-1
Init method for Sale with a default state and actual date generated
def FIMM(YKHO): YKHO.date = YKHO.generate_date() YKHO.state = 'pending' YKHO.lines = []
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, _c1T, VIXL, Z5kt):\n YKHO.set_date(_c1T)\n YKHO.set_currency(VIXL)\n YKHO.set_amount(Z5kt)", "def FIMM(YKHO, aJ2e=qcWV.now(), zB0d=qcWV.now(), **B2fa):\n super(ES2O, YKHO).__init__(**B2fa)\n YKHO.created_at = aJ2e\n YKHO.updated_at = zB0d", "def FIMM(YKHO, cTRz, hI0L, _c1T=qcWV...
[ "0.6519827", "0.62507933", "0.62031645", "0.61411875", "0.60903686", "0.6081706", "0.60750264", "0.6061998", "0.6050008", "0.6031734", "0.6003291", "0.6003291", "0.5997153", "0.59773153", "0.59328574", "0.58878183", "0.58850247", "0.5871006", "0.58601785", "0.5843597", "0.583...
0.5715458
32
This runs the browser and load the index route
def tENI(): fLV6 = TvZl('index.html') return fLV6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iXC1():\n return TvZl('index.html')", "def d6pt():\n P4t4.logger.info('Request for home page')\n return P4t4.send_static_file('index.html')", "def b8V_():\n return TvZl('index.html')", "def b8V_():\n return TvZl('index.html')", "def d6pt():\n return P4t4.send_static_file('index.html')...
[ "0.7789115", "0.7677859", "0.7583011", "0.7481709", "0.74462223", "0.74406445", "0.7438739", "0.74198806", "0.73884195", "0.73367095", "0.73333347", "0.73297125", "0.72822225", "0.7250693", "0.7241513", "0.7236711", "0.7215107", "0.7196323", "0.718589", "0.71739274", "0.71722...
0.0
-1
This runs the browser and load the index route
def abEe(): fLV6 = TvZl('index.html') return fLV6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iXC1():\n return TvZl('index.html')", "def d6pt():\n P4t4.logger.info('Request for home page')\n return P4t4.send_static_file('index.html')", "def b8V_():\n return TvZl('index.html')", "def b8V_():\n return TvZl('index.html')", "def d6pt():\n return P4t4.send_static_file('index.html')...
[ "0.77891", "0.76781434", "0.75832945", "0.748196", "0.7446206", "0.7440926", "0.74200994", "0.7388682", "0.73366636", "0.7333613", "0.73303854", "0.72827345", "0.7251454", "0.72412694", "0.7236665", "0.7215098", "0.7196194", "0.71859884", "0.7174188", "0.7172449", "0.7172449"...
0.74401313
6
The total number of samples transferred since the scan started.
def jYMD(YKHO): return YKHO._current_total_count
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uUVJ(YKHO) -> int:\n return YKHO.__total_bytes_read", "def UHFx(YKHO):\n return len(YKHO.samples)", "def weUt(YKHO):\n return len(YKHO.samples) / YKHO.sample_rate", "def kSUK(YKHO):\n return len(YKHO.data[0].outputs.flatten())", "def h38U(YKHO):\n return YKHO.total_frames", "def MCkZ(Y...
[ "0.7648882", "0.7320405", "0.72222567", "0.71955097", "0.7146093", "0.7084305", "0.7066798", "0.70395774", "0.70193386", "0.70193386", "0.6978377", "0.6977719", "0.6968246", "0.6930207", "0.69188076", "0.68985283", "0.68985283", "0.68621355", "0.68526113", "0.6828551", "0.682...
0.0
-1
Converts the given integer to a byte array and returns the result
def fQmE(wEf2): return int.to_bytes(wEf2, length=wEf2.bit_length() // 8 + 1, byteorder='little', signed=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R5yy(YRbF):\n return qw7D.array('B', BlNT.pack('<i', YRbF))", "def AUwM(YRbF):\n return bytes((YRbF,))", "def c8hc(exwG):\n Fg_i = bytearray([0, 0, 0, 0])\n Fg_i[0] = exwG & 255\n exwG >>= 8\n Fg_i[1] = exwG & 255\n exwG >>= 8\n Fg_i[2] = exwG & 255\n exwG >>= 8\n Fg_i[3] = ex...
[ "0.82754934", "0.7897242", "0.7889618", "0.78836215", "0.7861119", "0.78078634", "0.7767183", "0.7758656", "0.7717397", "0.7640439", "0.7580407", "0.7495714", "0.74854434", "0.7479463", "0.7466655", "0.74592686", "0.7441032", "0.7421349", "0.74039024", "0.734607", "0.734607",...
0.76500523
9
Converts the given byte array into its string representation and returns the result
def XGer(wEf2): return wEf2.decode('ascii')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D6ho(J83E: bytes):\n return J83E.decode()", "def H9e7(J83E):\n if isinstance(J83E, str):\n return str(J83E)\n k7XL = T_Uj.lookup('ascii')\n return k7XL.decode(J83E)[0]", "def yLCI(J83E: bytes) -> str:\n return J83E.hex()", "def xrD7(jIPi):\n return jIPi.split(b'\\x00')[0].decode(...
[ "0.86617494", "0.8362936", "0.82577676", "0.80166775", "0.7832074", "0.78302115", "0.7729137", "0.76964545", "0.7569656", "0.754102", "0.7523779", "0.74630815", "0.7364767", "0.735385", "0.7350856", "0.73411953", "0.7314463", "0.7172388", "0.71208066", "0.70722306", "0.705057...
0.0
-1
Converts the given string to a byte array and returns the result
def Dpn1(wEf2): return wEf2.encode('ascii')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P2hG(vIwR):\n return vIwR.encode('utf-8')", "def i_l1(KCHu):\n return KCHu", "def ZqkC(vIwR: str):\n return vIwR.encode()", "def ZqkC(vIwR: str) -> bytes:\n return bytes(vIwR, encoding='utf-8')", "def i_l1(KCHu):\n return KCHu.encode('utf8')", "def i_l1(KCHu):\n return AcPw(Jq2a(KCH...
[ "0.79578763", "0.7916266", "0.7913071", "0.77186626", "0.7712263", "0.7664418", "0.75725716", "0.7517861", "0.7481226", "0.7480134", "0.7480134", "0.7480134", "0.7480134", "0.7480134", "0.7480134", "0.7480134", "0.73801553", "0.7353078", "0.7350161", "0.7314472", "0.7294522",...
0.62900776
89
r"""Resets the scalar stats accumulator with the serialized state.
def p9h1(ydWV, NEFR, YWFm, S_Bj, Ig6Y, NfqM, iJIo, mWFP=None): Aofo = ISpM.apply_op('StatsAccumulatorScalarDeserialize', stats_accumulator_handle=ydWV, stamp_token=NEFR, num_updates=YWFm, partition_ids=S_Bj, feature_ids=Ig6Y, gradients=NfqM, hessians=iJIo, name=mWFP) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ka5c(YKHO):\n YKHO.val = 0\n YKHO.avg = 0\n YKHO.sum = 0\n YKHO.count = 0", "def SiRx(YKHO):\n YKHO._data = None\n YKHO._collector = None\n YKHO._meta = {}\n YKHO._alignedIndexes = {}\n YKHO._scaleFactors = {}", "def SiRx(YKHO):\n YKHO.accumulation = None", "def SiRx(YKHO):\...
[ "0.69089144", "0.6794075", "0.67537373", "0.6727085", "0.6724839", "0.6685047", "0.6679562", "0.66293293", "0.6613049", "0.6598226", "0.65751594", "0.6519427", "0.6495459", "0.6493057", "0.6490731", "0.64819694", "0.64582455", "0.64430714", "0.6439549", "0.64379644", "0.64351...
0.0
-1
r"""Resets the tensor stats accumulator with the serialized state.
def VkFc(ydWV, NEFR, YWFm, S_Bj, Ig6Y, NfqM, iJIo, mWFP=None): Aofo = ISpM.apply_op('StatsAccumulatorTensorDeserialize', stats_accumulator_handle=ydWV, stamp_token=NEFR, num_updates=YWFm, partition_ids=S_Bj, feature_ids=Ig6Y, gradients=NfqM, hessians=iJIo, name=mWFP) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ka5c(YKHO):\n YKHO.val = 0\n YKHO.avg = 0\n YKHO.sum = 0\n YKHO.count = 0", "def BJld(YKHO):\n YKHO.__stats = {}", "def SiRx(YKHO):\n YKHO._data = None\n YKHO._collector = None\n YKHO._meta = {}\n YKHO._alignedIndexes = {}\n YKHO._scaleFactors = {}", "def SiRx(YKHO):\n YK...
[ "0.7180331", "0.7035055", "0.6977183", "0.69568074", "0.6950901", "0.69212633", "0.68655616", "0.6833723", "0.6831612", "0.6831341", "0.6828197", "0.68276465", "0.68074566", "0.67954695", "0.6793829", "0.67845136", "0.6784101", "0.6780905", "0.677174", "0.6738422", "0.6727334...
0.0
-1
r"""Checks whether a tensor stats accumulator has been initialized.
def PULg(ydWV, mWFP=None): Aofo = ISpM.apply_op('StatsAccumulatorTensorIsInitialized', stats_accumulator_handle=ydWV, name=mWFP) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YjE_(YKHO):\n return YKHO._stats is not None", "def yFq4(ydWV, mWFP=None):\n Aofo = ISpM.apply_op('StatsAccumulatorScalarIsInitialized', stats_accumulator_handle=ydWV, name=mWFP)\n return Aofo", "def ZKAN(YKHO):\n vqyR._check_initialize(YKHO)", "def LU_Q():\n if SppC is None:\n rais...
[ "0.6406806", "0.6274861", "0.6248853", "0.6245903", "0.6162392", "0.607226", "0.6043232", "0.60292596", "0.5997304", "0.5991987", "0.5966832", "0.59667665", "0.59539425", "0.59336877", "0.5932994", "0.5929111", "0.5928245", "0.59064925", "0.58844715", "0.588196", "0.5877518",...
0.7299419
0
Test singularity checker (throw an ExecutableNotInPath exception).
def F_ut(cx0T=RNxy): NArs = Th85(cx0T) with trZe.raises(NszA.ExecutableNotInPath): L310.check_executable_and_env_variables(NArs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UKyN(joeO):\n eDCx = GkAb('/non/existent/nucmer')\n assert fHjr.get_version(eDCx) == f'No nucmer at {eDCx}'", "def viid(TBXe):\n HwRy.argv = ['geoclaw-landspill', 'run', str(TBXe)]\n with trZe.raises(FileNotFoundError) as XObx:\n KyN5.__main__.main()\n assert XObx.type == FileNotFoundEr...
[ "0.65513754", "0.65475285", "0.6482998", "0.6410732", "0.63071203", "0.62725604", "0.626022", "0.62498975", "0.62383527", "0.62072456", "0.620377", "0.6173448", "0.61306816", "0.6085905", "0.6062634", "0.6059262", "0.6052284", "0.6008459", "0.5997395", "0.59799933", "0.596095...
0.7391784
0
Decodes the head tags given the head and child tag representations and a tensor of head indices to compute tags for. Note that these are either gold or predicted heads, depending on whether this function is being called to compute the loss, or if it's being called during inference.
def MUIF(YKHO, vIYh: torch.Tensor, acao: torch.Tensor, M6_w: torch.Tensor) -> ht2j.Tensor: Ep8u = vIYh.size(0) iGCt = qriv(Ep8u, UUd9(vIYh)).unsqueeze(1) nLaa = vIYh[iGCt, M6_w] nLaa = nLaa.contiguous() oeoZ = YKHO.tag_bilinear(nLaa, acao) return oeoZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a0wR(YKHO, vIYh: torch.Tensor, acao: torch.Tensor, AEhu: torch.Tensor, ZHfW: torch.Tensor) -> AzJI[ht2j.Tensor, ht2j.Tensor]:\n AEhu = AEhu + ht2j.diag(AEhu.new(ZHfW.size(1)).fill_(-XTiz.inf))\n bGrB, kJiB = AEhu.max(dim=2)\n oeoZ = YKHO.get_head_tags(vIYh, acao, kJiB)\n bGrB, ZhJm = oeoZ.max(dim=2...
[ "0.63650286", "0.63346857", "0.5842281", "0.55665886", "0.5473203", "0.539263", "0.5132441", "0.50158346", "0.49013895", "0.4860464", "0.4848344", "0.4839807", "0.48333088", "0.4827756", "0.48163787", "0.48109022", "0.47815707", "0.47406414", "0.47143447", "0.47133914", "0.46...
0.72729796
0
Add a simple edge to the edge list.
def F1KG(YKHO, D70y: Tuple[str, str]): if not isinstance(D70y, tuple) or not len(D70y) == 2 or (not isinstance(D70y[0], str)) or (not isinstance(D70y[1], str)): raise TypeError('Invalid Input Edge Format.') YKHO.edges.add(D70y)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rz7z(YKHO, tTpl):\n pass", "def rz7z(YKHO, D70y):\n YKHO.edges.append(D70y)", "def rz7z(YKHO, D70y):\n YKHO.edges.append(D70y)", "def rz7z(YKHO, tTpl):\n Ty9i, yzQ0 = (tTpl[0], tTpl[1])\n YKHO.data[Ty9i][yzQ0] = tTpl\n YKHO.data[yzQ0][Ty9i] = tTpl", "def rz7z(YKHO, D70y, jRxN=False):\...
[ "0.7807641", "0.7368997", "0.7368997", "0.73572546", "0.72693473", "0.7260858", "0.72011614", "0.7041254", "0.7025645", "0.69852996", "0.6981278", "0.6964505", "0.6961579", "0.69608885", "0.694908", "0.69309205", "0.69227207", "0.6919854", "0.6845889", "0.68337286", "0.683208...
0.6937884
15
Resolve action definition accounting for adhoc action namespacing.
def G6fu(NLbo, qcCq=None, KuIQ=None): OozH = None if qcCq and qcCq != KuIQ: oxEA = qcCq.rstrip(KuIQ)[:-1] XOSH = '%s.%s' % (oxEA, NLbo) OozH = pFBh.find_action_definition_by_name(XOSH) if not OozH: OozH = pFBh.find_action_definition_by_name(NLbo) if not OozH: rais...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YiW0(XOSH):\n ezWE = XOSH.split('.')\n if len(ezWE) != 2:\n raise BQDi.ActionException('Invalid action name: %s' % XOSH)\n PCpl = A8ds.get(ezWE[0])\n if not PCpl:\n return None\n return PCpl.get_action_class(ezWE[1])", "def E8LD(IznC, XeOP, FDh1):\n return XeOP", "def fIDD(Y...
[ "0.646051", "0.60935324", "0.6079005", "0.60310894", "0.60019046", "0.59790945", "0.5974899", "0.5974899", "0.59741986", "0.5920804", "0.57794994", "0.5757726", "0.5732227", "0.57153225", "0.57136273", "0.5710867", "0.5662901", "0.5605373", "0.5594145", "0.55677605", "0.55400...
0.690505
0
Format a datetime object into a string
def pbww(Csk6): return qcWV.strftime(Csk6, '%Y-%m-%d')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pTGH(qSq0):\n return qSq0.strftime('%Y/%m/%d %H:%M')", "def pbww(eGVy):\n return eGVy.strftime('%Y-%m-%d %H:%M:%S')", "def BjmT(eGVy, format='%Y-%m-%dT%H:%M:%S'):\n if eGVy is not None:\n return qcWV.date.strftime(eGVy, format)", "def hLAQ(Emd4, pdbK, yAKl=rbmW.ISO):\n return pdbK.strf...
[ "0.82939184", "0.81680727", "0.80439854", "0.79536444", "0.7923808", "0.79195654", "0.77888554", "0.76862454", "0.7643049", "0.76305014", "0.75631976", "0.75626594", "0.756152", "0.75466007", "0.75292045", "0.7511194", "0.7503755", "0.75035053", "0.7431801", "0.7423614", "0.7...
0.0
-1
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Returns the value of a Gauss distribution with mean mu and std sig at point x.
def H9Vb(yGTL, wEsz, WKvO): return oyIN.exp(-(WKvO - yGTL) ** 2 / (2 * wEsz ** 2)) / (2 * oyIN.pi * wEsz ** 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def liMP(WKvO, yGTL, WTkW):\n LVAh = 1 / (WTkW * oyIN.sqrt(2 * oyIN.pi)) * oyIN.exp(-0.5 * (WKvO - yGTL) ** 2 / WTkW ** 2)\n return LVAh", "def liMP(WKvO, jzdc, yGTL, KCHu):\n Oa1e = jzdc * oyIN.exp(-0.5 * (WKvO - yGTL) ** 2 / KCHu ** 2)\n return Oa1e", "def BVBh(WKvO, yGTL=0, WTkW=1):\n import ...
[ "0.8433899", "0.819392", "0.8177727", "0.81070405", "0.7982511", "0.79746217", "0.7906738", "0.7892049", "0.78913736", "0.7810662", "0.77792615", "0.77683514", "0.7739711", "0.7719124", "0.7710823", "0.77059716", "0.769128", "0.7663239", "0.7662911", "0.76450187", "0.76035166...
0.80245405
4
This function is used to calculate the age of the whale
def zAg0(YKHO): Y9hO = qcWV.now() - YKHO.bornAt return 'A whale named {} (age {})'.format(YKHO.name, str(Y9hO))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P3fz(YKHO):\n lrNJ = YKHO.age * 7\n print(YKHO.name + ' is ' + str(lrNJ) + ' years old in dog years.')", "def ZJe_(YKHO):\n wzkt = qcWV.today()\n Kb0M = qcWV.strptime(YKHO.birth_date.strftime('%Y-%m-%d'), '%Y-%m-%d')\n WH_7 = (wzkt - Kb0M).days\n return int(WH_7 / 365.2425)", "def ZJe_(YK...
[ "0.8083657", "0.8009805", "0.7984142", "0.79780495", "0.7864523", "0.78513545", "0.7798689", "0.77917016", "0.7780517", "0.7742586", "0.7738346", "0.77143323", "0.77091163", "0.7704099", "0.768787", "0.76534724", "0.7649995", "0.76449656", "0.7640122", "0.76328194", "0.761187...
0.0
-1
Returns a pandas dataframe which contains the covariance after the data is normalized.
def pzn7(YKHO): from tigerml.core.utils import compute_if_dask PFC2 = rLdf.DataFrame(YKHO.df).cov() return HBfW(compute_if_dask(PFC2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PFC2(YKHO):\n return hxoQ(YKHO._cov, index=YKHO._param_names, columns=YKHO._param_names)", "def xP6B(YKHO) -> oyIN.ndarray:\n WzIU = YKHO.price_vector.shape[0]\n gGnb = oyIN.random.uniform(low=0, high=_fuv['Exchange']['max_variance_factor'], size=(WzIU, 10))\n return oyIN.cov(gGnb, bias=True)", ...
[ "0.7241087", "0.6820229", "0.67695695", "0.67374295", "0.66510534", "0.6548745", "0.6518659", "0.6502005", "0.6501209", "0.6500185", "0.64924586", "0.64264476", "0.6422125", "0.6368631", "0.6356336", "0.6351874", "0.63477606", "0.6313716", "0.63056815", "0.62763613", "0.62747...
0.66928136
4
Alpha strategy score function evaluation
def b7La(YKHO, DM04): AtLt = YKHO.strategy.calculate(*DM04) p1kx = YKHO.strategy.score(AtLt) if epAf.isfinite(p1kx): return (p1kx,) else: return (0,)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN):\n return rfNN.getScore()", "def p1kx(nvEb):\n return 1", "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN):\n return rfNN.getScore()", "def fHT3(rfNN):\n return rfNN.ge...
[ "0.7232434", "0.7169684", "0.71356076", "0.7132308", "0.7122217", "0.7122217", "0.7122217", "0.7122217", "0.7122217", "0.7122217", "0.7122217", "0.7122217", "0.7122217", "0.7122217", "0.71210235", "0.708612", "0.708612", "0.70727825", "0.70674837", "0.70674837", "0.70674837",...
0.0
-1
Tests that a new donation is added to an existing donor
def Mc7h(): Csk6.new_donation(4) assert Csk6.donation == [1, 2, 3, 4] with trZe.raises(TypeError): Csk6.new_donation([2, '1', 'd']) with trZe.raises(TypeError): Csk6.new_donation('3')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JOex():\n Z5kt = 745.0\n aEqx = {'name': 'Calvin Fannin', 'amount': [645.0, 745.0]}\n hs7Z = 6\n lgWp.add_donation(hs7Z, Z5kt)\n assert lgWp.donations[hs7Z] == aEqx", "def qphr():\n WSKm = 'Vera Fannin'\n Z5kt = 745.0\n aEqx = {'name': 'Vera Fannin', 'amount': [745.0]}\n Wg1_ = 7\n...
[ "0.8030432", "0.77347374", "0.76925975", "0.76925975", "0.76818", "0.76818", "0.7617178", "0.75891227", "0.75566214", "0.75476074", "0.7300968", "0.7300644", "0.7258135", "0.7253957", "0.71653575", "0.71308964", "0.70709854", "0.70456076", "0.7030864", "0.70042837", "0.698368...
0.6129449
70
Tests that a new donor name is added to the list correctly
def NkoF(): assert Bc4p.donor_list[0].name == 'Fred' assert Bc4p.donor_list[0].donation == [1, 2, 3, 4]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xHhn(mWFP):\n p4_k.record.donor_list.append(mWFP)", "def al9J(mWFP):\n geg6[mWFP.title()] = []", "def Y2Yv():\n CBIr = 'Dave Barris'\n l0hJ = iG_M.select_donor(CBIr)\n assert l0hJ[0] == CBIr\n assert l0hJ[1] == []", "def qphr():\n WSKm = 'Vera Fannin'\n Z5kt = 745.0\n aEqx = {'...
[ "0.78312266", "0.7700258", "0.7306252", "0.72681713", "0.72194594", "0.70489997", "0.70258224", "0.6877277", "0.6861154", "0.68246335", "0.68041074", "0.67707574", "0.67646074", "0.67488945", "0.66959924", "0.66959924", "0.66952", "0.66947854", "0.6692831", "0.6675583", "0.66...
0.76495683
2
Tests that a new donor is added correctly or that a donation is appended to an existing donor
def uswP(): Bc4p.sort_donation('Andrew', 1000) assert Bc4p.donor_list[1].name == 'Andrew' assert Bc4p.donor_list[1].donation == [1000] Bc4p.sort_donation('Fred', 5) assert Bc4p.donor_list[0].donation == [1, 2, 3, 4, 5]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JOex():\n Z5kt = 745.0\n aEqx = {'name': 'Calvin Fannin', 'amount': [645.0, 745.0]}\n hs7Z = 6\n lgWp.add_donation(hs7Z, Z5kt)\n assert lgWp.donations[hs7Z] == aEqx", "def LyEe(prhC, Md20):\n assert prhC.get_total_donations() == 0\n prhC.create_donor(Md20)\n prhC.create_donation(donor...
[ "0.78593934", "0.78081", "0.78081", "0.7779363", "0.7779363", "0.7749061", "0.7678935", "0.75521535", "0.7331454", "0.7245101", "0.72420526", "0.7228848", "0.72249705", "0.7205375", "0.7104674", "0.71042883", "0.70160264", "0.69960064", "0.6971622", "0.68816376", "0.68502355"...
0.0
-1
Returns the lines of a given table as (key, value) pairs.
def pS5k(YKHO, nPrm, iK1K, xH_k): C13M = YKHO._getOOGranulator(nPrm, xH_k) return C13M.getLineItemList(iK1K)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lPbD(tyNF: str) -> x1iM[GySg[str, str]]:\n Nqlg = tyNF.split('\\n')\n ZLJ_ = GCMp(Nqlg[0])\n usx6 = []\n for zFiD in Nqlg[1:]:\n zFiD = zFiD.strip()\n if zht7(zFiD):\n continue\n rdlD = dict()\n for YRbF, fvDH in enumerate(zFiD.split('|')[1:-1]):\n ...
[ "0.6859556", "0.6567685", "0.6319287", "0.6182599", "0.6019966", "0.5905548", "0.5817523", "0.5814243", "0.5794456", "0.578489", "0.5784084", "0.5771421", "0.57639664", "0.5741011", "0.5736511", "0.5693666", "0.5676894", "0.5639069", "0.5635698", "0.56251484", "0.5597577", ...
0.50917345
93
Return True if the queen at column c clashes with any queen to its left.
def nERh(lHmx, Z9rn): for YRbF in range(Z9rn): if C7r_(YRbF, lHmx[YRbF], Z9rn, lHmx[Z9rn]): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A75P(fvDH, td65):\n Mkmy = len(td65)\n for YRbF in range(Mkmy):\n Z9rn = td65[YRbF]\n r845 = Mkmy - YRbF\n if Z9rn == fvDH or fvDH + r845 == Z9rn or fvDH - r845 == Z9rn:\n return False\n return True", "def Xlnd(YKHO):\n for rdlD in YKHO.board:\n if TvaD not ...
[ "0.7869796", "0.7741231", "0.76501995", "0.7451044", "0.7218691", "0.71408147", "0.7139437", "0.710477", "0.69972056", "0.68655634", "0.6833621", "0.6795797", "0.67534965", "0.67451715", "0.6732548", "0.6687392", "0.6648571", "0.6577869", "0.65390253", "0.65390253", "0.653421...
0.64657885
29
Determine whether we have any queens clashing on the diagonals. We're assuming here that the_board is a permutation of column numbers, so we're not explicitly checking row or column clashes.
def rEod(IxwO): for fvDH in range(1, len(IxwO)): if nERh(IxwO, fvDH): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SGVO(iBIi: List[int]) -> bool:\n m3DY, EAAj = (len(iBIi) - 1, iBIi[-1])\n for rdlD, fvDH in enumerate(iBIi[:-1]):\n yk4i = abs(EAAj - fvDH)\n if yk4i == 0 or yk4i == m3DY - rdlD:\n return False\n return True", "def rEod(IxwO):\n for fvDH in range(1, len(IxwO)):\n i...
[ "0.78512555", "0.75823146", "0.7528002", "0.7466123", "0.7398203", "0.7360117", "0.73522776", "0.7317152", "0.7278526", "0.7263872", "0.7263872", "0.71916705", "0.7163295", "0.71454847", "0.7133927", "0.71334565", "0.7101418", "0.70627564", "0.70511776", "0.702137", "0.699699...
0.7592212
1
Validate requested scopes against prior authorizations. Since the jwt flow permits access to user resources without user being present, newly requested scope should be within any previously authorized scopes, or limited to the list of scopes that are available to the client.
def fCFV(YKHO, QePW, KiNh, _GTF, *qIxc, **B2fa): raise NotImplementedError('Subclasses must implement this method.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aT5x(YKHO, zb3C, uC2a, x0hE, QePW, *qIxc, **B2fa):\n if hasattr(x0hE, 'validate_scopes'):\n return x0hE.validate_scopes(uC2a)\n return set(x0hE.default_scopes).issuperset(set(uC2a))", "def nXlt(YKHO, uC2a: List[str], QTDL: Optional[TokenData]=None) -> None:\n if not uC2a:\n return\n ...
[ "0.74487525", "0.74042624", "0.74019027", "0.73057055", "0.6901412", "0.6881205", "0.68741924", "0.6729174", "0.66504383", "0.6642635", "0.6642635", "0.6635932", "0.66277164", "0.6602508", "0.65985304", "0.65687466", "0.6554369", "0.6550366", "0.65014833", "0.6467863", "0.645...
0.72036314
4
Return the union of the two regions minus any areas contained in the intersection of the two regions.
def _1fz(YKHO, Elif): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SwWG(OiNL, M8do, iQin):\n Lb9F = (OiNL[2] - OiNL[0]) * (OiNL[3] - OiNL[1])\n w4IT = (M8do[2] - M8do[0]) * (M8do[3] - M8do[1])\n VXSp = Lb9F + w4IT - iQin\n return VXSp", "def b65I(g_iH, eopR):\n return kUKa(g_iH, eopR, False)", "def nCKD(zn0c, Elif):\n yzQ0 = max(zn0c.x_max, Elif.x_max) -...
[ "0.72512215", "0.7025734", "0.686118", "0.6856728", "0.6802228", "0.6787524", "0.67514056", "0.6663464", "0.6645431", "0.66303927", "0.6612364", "0.658508", "0.65280235", "0.6487055", "0.6467289", "0.6446358", "0.64377624", "0.6422871", "0.63519675", "0.628983", "0.628299", ...
0.0
-1
Return the union of the two regions minus any areas contained in the intersection of the two regions.
def _1fz(YKHO, Elif): from .compound import CompoundPixelRegion return CompoundPixelRegion(region1=YKHO, region2=Elif, operator=seET.xor)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SwWG(OiNL, M8do, iQin):\n Lb9F = (OiNL[2] - OiNL[0]) * (OiNL[3] - OiNL[1])\n w4IT = (M8do[2] - M8do[0]) * (M8do[3] - M8do[1])\n VXSp = Lb9F + w4IT - iQin\n return VXSp", "def b65I(g_iH, eopR):\n return kUKa(g_iH, eopR, False)", "def nCKD(zn0c, Elif):\n yzQ0 = max(zn0c.x_max, Elif.x_max) -...
[ "0.7254574", "0.7028638", "0.6862892", "0.6858152", "0.6806021", "0.67901224", "0.6752749", "0.6666597", "0.66490096", "0.66344494", "0.66142154", "0.6581966", "0.65299505", "0.6487421", "0.6468597", "0.6443284", "0.6437786", "0.64254814", "0.63478863", "0.6291068", "0.628453...
0.0
-1
The area of the region.
def f0tD(YKHO): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f0tD(YKHO):\n f0tD = YKHO.__width * YKHO.__height\n return f0tD", "def f0tD(YKHO):\n return YKHO._area", "def f0tD(YKHO):\n return YKHO._area", "def f0tD(YKHO):\n return YKHO.__height * YKHO.__width", "def f0tD(YKHO):\n return YKHO.__height * YKHO.__width", "def f0tD(YKHO):\n ret...
[ "0.8546048", "0.8505384", "0.8505384", "0.8460293", "0.8460293", "0.8441883", "0.8417896", "0.8417896", "0.8417896", "0.8417896", "0.84150034", "0.84150034", "0.84126157", "0.84017", "0.83823454", "0.8381665", "0.8380184", "0.8380184", "0.8380184", "0.83618283", "0.8361292", ...
0.84703726
3
Return the union of the two regions minus any areas contained in the intersection of the two regions.
def _1fz(YKHO, Elif): from .compound import CompoundSkyRegion return CompoundSkyRegion(region1=YKHO, region2=Elif, operator=seET.xor)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SwWG(OiNL, M8do, iQin):\n Lb9F = (OiNL[2] - OiNL[0]) * (OiNL[3] - OiNL[1])\n w4IT = (M8do[2] - M8do[0]) * (M8do[3] - M8do[1])\n VXSp = Lb9F + w4IT - iQin\n return VXSp", "def b65I(g_iH, eopR):\n return kUKa(g_iH, eopR, False)", "def nCKD(zn0c, Elif):\n yzQ0 = max(zn0c.x_max, Elif.x_max) -...
[ "0.72512215", "0.7025734", "0.686118", "0.6856728", "0.6802228", "0.6787524", "0.67514056", "0.6663464", "0.6645431", "0.66303927", "0.6612364", "0.658508", "0.65280235", "0.6487055", "0.6467289", "0.6446358", "0.64377624", "0.6422871", "0.63519675", "0.628983", "0.628299", ...
0.5669195
87
Get replica regions specified in a file. The location of the file is pointed by `CN_AWS_SECRETS_REPLICA_FILE` environment variable.
def lihH(YKHO) -> list[dict[str, zKuU.Any]]: zQZR = [] with htTT(FileNotFoundError, TypeError, IsADirectoryError): jQJk = Hy7s.environ.get('CN_AWS_SECRETS_REPLICA_FILE', '') try: FUjE = GkAb(jQJk).read_text().strip() zQZR = qQXR.loads(FUjE) except qQXR.decoder.JSO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lIkx(eHNT):\n with open(eHNT, 'r') as eHNT:\n eHNT.readline()\n zn0c = eHNT.read().split('\\n')\n return oyIN.array([YRbF.split(',') for YRbF in zn0c])[:, 0]", "def rRFL(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'replica_zones')", "def ZSXA(EaXR):\n try:\n return vdVF...
[ "0.59065646", "0.58023673", "0.5753868", "0.56714195", "0.5592697", "0.5559941", "0.5548642", "0.55154943", "0.54875416", "0.5467529", "0.54661226", "0.54539657", "0.54349315", "0.54323757", "0.54323757", "0.54255843", "0.54255843", "0.5413766", "0.5379145", "0.53172576", "0....
0.7982526
0
Returns a numpy array If the input img is channels first, transposes it to channels last. Reshapes the image chip to the expected size of the input tensor.
def YG3Y(Uw2I, Ylkb=80): if Uw2I.shape[0] < Uw2I.shape[-1]: Uw2I = Uw2I.transpose((1, 2, 0)) Uw2I = XC5k.resize(Uw2I, (Ylkb, Ylkb), interpolation=XC5k.INTER_CUBIC) return Uw2I
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gEht(Uw2I, l5J1='NCHW'):\n if l5J1 == 'NCHW':\n Uw2I = RsfQ.nd.transpose(Uw2I, (2, 0, 1))\n hlel = RsfQ.nd.expand_dims(Uw2I, axis=0)\n return hlel", "def gEht(Uw2I, l5J1='NHWC'):\n assert l5J1 in 'NCHW' or l5J1 in 'NHWC', \"dim_order must be 'NCHW' or 'NHWC'.\"\n if l5J1 == 'NCHW':\n ...
[ "0.71831214", "0.713735", "0.70103097", "0.6891183", "0.6874442", "0.68675095", "0.6832931", "0.6797979", "0.6754301", "0.66827625", "0.6622845", "0.6579026", "0.65682054", "0.65547585", "0.6498969", "0.64944744", "0.6464292", "0.64140093", "0.6396922", "0.63800585", "0.63783...
0.5862602
79
Returns a numpy array Depending on the method of normalization, returns an image array normalized. Changing this method allows you to not have to change the other scripts.
def NkkI(ezWE): AxD2 = ezWE / 255.0 return AxD2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kwsU(YKHO, wk7l=None):\n if wk7l is None:\n YKHO.image_array /= oyIN.linalg.norm(YKHO.image_array)\n else:\n YKHO.image_array /= wk7l\n return YKHO.image_array", "def NkkI(YKHO, LNo8):\n if YKHO.ui.normOffRadio.isChecked():\n return LNo8\n hFiK = YKHO.ui.normDivideRadio.is...
[ "0.77157664", "0.734352", "0.72354597", "0.7183783", "0.7112586", "0.6974006", "0.69724447", "0.69485605", "0.6945873", "0.6932862", "0.6930399", "0.6921348", "0.6893691", "0.6891265", "0.6878486", "0.6865539", "0.68596506", "0.68467486", "0.6842268", "0.68314433", "0.6819983...
0.6538597
46
Making sure that the customer enters a valid truck name.
def e7Id(YKHO, qoGC): okLC = W8e4.read_text_file(ZCLH + 'trucks_brand_name_europe.txt') if qoGC in okLC: return 'Same' else: fg0F = [luid(None, qoGC, VyPo).ratio() for VyPo in okLC] vpUz = fg0F.index(max(fg0F)) print('\nDo you mean {}?'.format(okLC[vpUz])) buEq = Fals...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fUbN(mWFP):\n if mWFP:\n return True\n SzJ1().general_print_fun('Please provide Customer name')\n return False", "def Tpoc(YKHO):\n IVmX.check_field_name(xRHf)", "def WIED(UZsd):\n if UZsd.strip().lower() != 'quit':\n if UZsd.strip().lower() == 'list':\n eCw_()\n ...
[ "0.7409157", "0.70349395", "0.68535006", "0.668813", "0.66413206", "0.6592916", "0.65763265", "0.65599966", "0.65579826", "0.6535713", "0.6474434", "0.6441188", "0.6439615", "0.64236534", "0.6411144", "0.64053524", "0.63937765", "0.63745254", "0.6365128", "0.63504714", "0.634...
0.0
-1
Collects the specifications of the trucks.
def eUDY(YKHO, WlEx, DkIV, C3ST): print('\nPlease state the specifications of {} truck ({} model): '.format(DkIV, C3ST)) ZYxa = W8e4.read_text_file(ZCLH + 'trucks_specification_questions_validation.txt') dTa4 = 0 for bAls in WlEx: print('\n') print(bAls) if dTa4 in (0, 3, 5, 14):...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def llmk(YKHO):\n raise NotImplementedError", "def eUDY(YKHO):\n return YKHO.__specifications", "def oOY2(sR5i, D3vS):\n dixj = []\n for qv1X in rKQR:\n dixj.append(qv1X.testRequirement(sR5i, D3vS))\n return dixj", "def sxUC(Emd4, Cqok):\n Cqok.addSub(rpd1.get_input_specs())\n ret...
[ "0.65551645", "0.641098", "0.62726223", "0.60044235", "0.5833638", "0.5737932", "0.5576784", "0.5535161", "0.55054003", "0.5476638", "0.5475076", "0.54690576", "0.5449655", "0.5426793", "0.5423938", "0.5417138", "0.5353083", "0.53453094", "0.53351206", "0.5308598", "0.5301590...
0.6114437
3
Find which values are present in a list and where they are located
def rcW7(deVW, kbGe): hksT = oyIN.searchsorted(deVW, kbGe) hksT = oyIN.clip(hksT, 0, len(deVW) - 1) Icox = oyIN.flatnonzero(deVW[hksT] == kbGe) hksT = hksT[Icox] return (Icox, hksT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TBFZ(xpKR: list, oMB_: List[int], Ty9i: object) -> x1iM[int]:\n _0VL = []\n for YRbF in range(len(xpKR)):\n if xpKR[YRbF] == Ty9i and YRbF in oMB_:\n _0VL.append(YRbF)\n return _0VL", "def xhJt(aPd6, wEf2):\n return [YRbF for YRbF in range(len(aPd6)) if aPd6[YRbF] == wEf2]", "...
[ "0.6417812", "0.632945", "0.63113225", "0.6303358", "0.62112296", "0.61829066", "0.60768366", "0.6047491", "0.604041", "0.60302377", "0.602504", "0.597769", "0.5973792", "0.59731776", "0.597222", "0.5970879", "0.59230494", "0.59139687", "0.5911618", "0.5889524", "0.5864717", ...
0.0
-1
Normalizes this PMF so the sum of all probs is 1.
def NBqJ(YKHO, ciZM=None): ciZM = ciZM or YKHO.Total() ciZM = float(ciZM) for WKvO, XP5J in YKHO.d.iteritems(): YKHO.d[WKvO] = XP5J / ciZM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BAZW(yOP5):\n if (PmPi := yOP5.sum()) != 0:\n yOP5 /= PmPi\n else:\n yOP5 = oyIN.ones(len(yOP5)) / len(yOP5)\n return yOP5", "def NkkI(YKHO):\n YKHO.scale(1 / YKHO.sum())", "def CqNu(YKHO):\n CXQm = sum((S9Xt.probability for S9Xt in YKHO.scenarios))\n for S9Xt in YKHO.scenar...
[ "0.7051715", "0.7006869", "0.69521224", "0.6870367", "0.68248063", "0.67774415", "0.67722344", "0.67722344", "0.673905", "0.6734031", "0.67159295", "0.653351", "0.6532059", "0.6531118", "0.65050495", "0.6417773", "0.63954663", "0.63691914", "0.635364", "0.6348869", "0.6309898...
0.0
-1
Test a track update where a file's Year gets updated, but also the file has been renamed. The album year should still get updated.
def akFn(YKHO): YKHO.add_mp3(filename='song.mp3', artist='Artist', title='Title', album='Album', year=2006) YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 1) i34x = jwfB.objects.get() LQ3f = i34x.pk YKHO.assertEqual(i34x.year, 2006) YKHO.assertEqual(ZGCE.objects.count(), 1) wphz =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y5N_(YKHO):\n YKHO.add_mp3(filename='song.mp3', artist='Artist', title='Title', album='Album', year=2006)\n YKHO.add_mp3(filename='song2.mp3', artist='Artist', title='Title', album='Album', year=2006)\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n i34x = jwfB.objects.get(filename...
[ "0.7432564", "0.7421448", "0.71376216", "0.6898202", "0.6870691", "0.6830211", "0.6754218", "0.6744522", "0.6741272", "0.6734945", "0.67195314", "0.6705812", "0.6674028", "0.66428477", "0.6621925", "0.6616637", "0.6602582", "0.6599631", "0.65818334", "0.6578695", "0.6572819",...
0.76987654
0
Test a track update where a file's Year gets updated, but also one file has been renamed. The album year should still get updated.
def y5N_(YKHO): YKHO.add_mp3(filename='song.mp3', artist='Artist', title='Title', album='Album', year=2006) YKHO.add_mp3(filename='song2.mp3', artist='Artist', title='Title', album='Album', year=2006) YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) i34x = jwfB.objects.get(filename='song.mp3...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def akFn(YKHO):\n YKHO.add_mp3(filename='song.mp3', artist='Artist', title='Title', album='Album', year=2006)\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n i34x = jwfB.objects.get()\n LQ3f = i34x.pk\n YKHO.assertEqual(i34x.year, 2006)\n YKHO.assertEqual(ZGCE.objects.count(), 1...
[ "0.7688587", "0.7426367", "0.71246684", "0.694628", "0.69221896", "0.69112986", "0.68012553", "0.67912155", "0.677572", "0.6775471", "0.67664605", "0.67039895", "0.6700241", "0.6679872", "0.66673136", "0.66640764", "0.6646941", "0.6645966", "0.6641499", "0.6631158", "0.662716...
0.7467368
1
Test a track update where a file's album name gets updated, but also the file has been renamed. The album name should still get updated.
def DaCi(YKHO): YKHO.add_mp3(filename='song.mp3', artist='Artist', title='Title', album='Album', year=2006) YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 1) i34x = jwfB.objects.get() LQ3f = i34x.pk YKHO.assertEqual(i34x.album.name, 'Album') YKHO.assertEqual(ZGCE.objects.count(), 1) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K7D3(YKHO):\n YKHO.add_mp3(artist='Artist', album='Album', title='Title 1', filename='song1.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YKHO.assertEqual(yp6H.objects.count(), 2)\n wphz = ZGCE.objects.get()\n YKHO.assertEq...
[ "0.77984136", "0.7733417", "0.7496967", "0.7474672", "0.7471087", "0.744649", "0.74107856", "0.73399544", "0.7324228", "0.7298849", "0.71741205", "0.71659625", "0.7155175", "0.71527976", "0.7151018", "0.71390337", "0.7138068", "0.7137539", "0.7108045", "0.70918685", "0.708668...
0.79337144
0
Testing update when two songs change from CBR to VBR in an album.
def gVeW(YKHO): DbAj = YKHO.add_mp3(filename='song1.mp3', artist='Artist', title='Title', album='Album', year=2006, tracknum=1, basefile='silence-cbr.mp3') aEj4 = YKHO.add_mp3(filename='song2.mp3', artist='Artist', title='Title', album='Album', year=2006, tracknum=2, basefile='silence-cbr.mp3') YKHO.run_add...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KbYl(YKHO):\n DbAj = YKHO.add_mp3(filename='song1.mp3', artist='Artist', title='Title', album='Album', year=2006, tracknum=1, basefile='silence-cbr.mp3')\n aEj4 = YKHO.add_mp3(filename='song2a.mp3', artist='Artist', title='Title', album='Album', year=2006, tracknum=2, basefile='silence-cbr.mp3')\n YKH...
[ "0.788258", "0.7818604", "0.7728454", "0.7712614", "0.77030295", "0.765928", "0.76320946", "0.7629007", "0.7603265", "0.7526952", "0.7507485", "0.75029844", "0.75020516", "0.74707615", "0.7459955", "0.7438464", "0.74219203", "0.7407167", "0.73660505", "0.73306364", "0.7330112...
0.7889037
0
Testing update when two songs change from CBR to VBR in an album, and also one gets renamed.
def KbYl(YKHO): DbAj = YKHO.add_mp3(filename='song1.mp3', artist='Artist', title='Title', album='Album', year=2006, tracknum=1, basefile='silence-cbr.mp3') aEj4 = YKHO.add_mp3(filename='song2a.mp3', artist='Artist', title='Title', album='Album', year=2006, tracknum=2, basefile='silence-cbr.mp3') YKHO.run_ad...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DaCi(YKHO):\n YKHO.add_mp3(filename='song.mp3', artist='Artist', title='Title', album='Album', year=2006)\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n i34x = jwfB.objects.get()\n LQ3f = i34x.pk\n YKHO.assertEqual(i34x.album.name, 'Album')\n YKHO.assertEqual(ZGCE.objects.c...
[ "0.78773886", "0.78682286", "0.7824401", "0.7821115", "0.7820756", "0.77954775", "0.77793884", "0.77732164", "0.7745292", "0.77296185", "0.7719889", "0.76906174", "0.7685437", "0.7674833", "0.7646453", "0.76444864", "0.7641304", "0.763542", "0.75924575", "0.7543765", "0.75277...
0.8341772
0
Test what happens when a track gets updated with the same artist name but with a different case. Since it's the only track with that artist name, we want the case of the artist to get updated.
def v3D3(YKHO): YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 1', filename='song1.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 1) YKHO.assertEqual(ZGCE.objects.count(), 1) YKHO.assertEqual(yp6H.objects.count(), 2) h5p_ = yp6H.objects.get(name='Artist Name') Wu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z_yp(YKHO):\n YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 1', filename='song1.mp3')\n YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 2', filename='song2.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n YKHO.assertEqual(ZGCE.objects.count(), ...
[ "0.77664924", "0.7761468", "0.76790786", "0.76540893", "0.7457107", "0.7445558", "0.74406105", "0.74380445", "0.7426605", "0.74055177", "0.7393049", "0.73919684", "0.7292827", "0.72891086", "0.7254169", "0.7229449", "0.7170254", "0.7163712", "0.7087934", "0.7086586", "0.70679...
0.80307204
0
Test what happens when a track gets updated with the same artist name but with a different case. Since it's only one out of the two tracks track with that artist name, we want the case of the artist to remain unchanged
def d7Np(YKHO): YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 1', filename='song1.mp3') YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 2', filename='song2.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(ZGCE.objects.count(), 1) YKH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v3D3(YKHO):\n YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 1', filename='song1.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YKHO.assertEqual(yp6H.objects.count(), 2)\n h5p_ = yp6H.objects.get(name='Artist Na...
[ "0.78386813", "0.76630807", "0.76023275", "0.75514925", "0.7477867", "0.7388233", "0.73374456", "0.7329173", "0.73112833", "0.72939634", "0.726396", "0.7205873", "0.7186302", "0.71673113", "0.7114085", "0.7111405", "0.70744085", "0.70700526", "0.70435554", "0.70279235", "0.69...
0.7745871
1
Test what happens when a singletrack album gets updated with the same album name but with a different case. The album name should be updated, since all tracks in the album have been updated.
def SUNR(YKHO): YKHO.add_mp3(artist='Artist Name', album='Album Name', title='Title 1', filename='song1.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 1) YKHO.assertEqual(ZGCE.objects.count(), 1) YKHO.assertEqual(yp6H.objects.count(), 2) h5p_ = yp6H.objects.get(name='Artist Name') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nBLk(YKHO):\n YKHO.add_mp3(artist='Artist', album='Album', title='Title 1', filename='song1.mp3')\n YKHO.add_mp3(artist='Artist', album='Album', title='Title 2', filename='song2.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YK...
[ "0.8023472", "0.8011228", "0.7971993", "0.79452497", "0.78161955", "0.77608305", "0.7754192", "0.7721315", "0.76718044", "0.76374155", "0.76289886", "0.76002336", "0.7587886", "0.7531848", "0.7513875", "0.7498189", "0.74744624", "0.7473882", "0.74179536", "0.74021214", "0.739...
0.8066626
0
Test what happens when one track in a multitrack album gets updated with the same album name but with a different case. The album name should remain the same, since not all tracks in the album have been updated.
def NF8L(YKHO): YKHO.add_mp3(artist='Artist Name', album='Album Name', title='Title 1', filename='song1.mp3') YKHO.add_mp3(artist='Artist Name', album='Album Name', title='Title 2', filename='song2.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(ZGCE.objects.count(), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nBLk(YKHO):\n YKHO.add_mp3(artist='Artist', album='Album', title='Title 1', filename='song1.mp3')\n YKHO.add_mp3(artist='Artist', album='Album', title='Title 2', filename='song2.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YK...
[ "0.81101865", "0.8012447", "0.7879906", "0.7762494", "0.7714604", "0.7543439", "0.7535584", "0.7533845", "0.7502227", "0.7463574", "0.7435244", "0.74210083", "0.74208057", "0.73498195", "0.7336307", "0.7286796", "0.72625977", "0.72416025", "0.71773005", "0.717648", "0.7102187...
0.7394164
13
Test what happens when a single track from an album gets updated with the same artist name but with a different case.
def z_yp(YKHO): YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 1', filename='song1.mp3') YKHO.add_mp3(artist='Artist Name', album='Album', title='Title 2', filename='song2.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(ZGCE.objects.count(), 1) YKH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ai5f(YKHO):\n YKHO.add_mp3(artist='Artist', title='Title 1', filename='song1.mp3')\n YKHO.add_mp3(artist='Artist', title='Title 2', filename='song2.mp3')\n YKHO.run_add()\n Fk6h = ZGCE.miscellaneous_format_str % 'Artist'\n YKHO.assertEqual(jwfB.objects.count(), 2)\n YKHO.assertEqual(ZGCE.obje...
[ "0.8218595", "0.81138897", "0.8051377", "0.80434686", "0.80329525", "0.801505", "0.8011001", "0.7984105", "0.7973114", "0.79187304", "0.78969127", "0.7881673", "0.78209573", "0.7777965", "0.7726269", "0.7693692", "0.7680177", "0.76363283", "0.7604518", "0.7598591", "0.7555983...
0.83227456
0
Test what happens when a V/A album becomes a singleartist album by updating a single track, but when the single track uses a different case than the rest.
def xXvp(YKHO): YKHO.add_mp3(artist='Artist 1', album='Album', title='Title 1', filename='song1.mp3') YKHO.add_mp3(artist='Artist 1', album='Album', title='Title 2', filename='song2.mp3') YKHO.add_mp3(artist='Artist 2', album='Album', title='Title 3', filename='song3.mp3') YKHO.run_add() YKHO.assert...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K7D3(YKHO):\n YKHO.add_mp3(artist='Artist', album='Album', title='Title 1', filename='song1.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YKHO.assertEqual(yp6H.objects.count(), 2)\n wphz = ZGCE.objects.get()\n YKHO.assertEq...
[ "0.80540687", "0.7983934", "0.798314", "0.7973975", "0.7944929", "0.7806041", "0.7719232", "0.77053267", "0.7680824", "0.7668057", "0.76641715", "0.7569578", "0.7463799", "0.7368367", "0.73496026", "0.7271981", "0.72533864", "0.720362", "0.72021854", "0.71897197", "0.7128888"...
0.7750764
6
Tests an update where two previously joined Japanesenamed group tracks should update to become two artists. Keyed off of group.
def qRk4(YKHO): YKHO.add_mp3(artist='Artist', group='自動調', album='Album', title='Title 1', filename='song1.mp3') YKHO.add_mp3(artist='Artist', group='自動調', album='Album', title='Title 2', filename='song2.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(yp6H.objects.cou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s3DH(YKHO):\n YKHO.add_mp3(artist='Artist Name', album='Album', group='Group Name', title='Title 1', filename='song1.mp3')\n YKHO.add_mp3(artist='Artist Name', album='Album', group='Group Name', title='Title 2', filename='song2.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n ...
[ "0.78881496", "0.7730035", "0.7597908", "0.7580496", "0.7100326", "0.70755076", "0.7048907", "0.700999", "0.69871354", "0.69714665", "0.6948488", "0.69150054", "0.6862185", "0.67969996", "0.67813635", "0.677942", "0.67615926", "0.675155", "0.6736506", "0.6716535", "0.6714035"...
0.7670226
2
Tests an update where two previously joined Japanesenamed conductor tracks should update to become two artists. Keyed off of conductor.
def hYTI(YKHO): YKHO.add_mp3(artist='Artist', conductor='自動調', album='Album', title='Title 1', filename='song1.mp3') YKHO.add_mp3(artist='Artist', conductor='自動調', album='Album', title='Title 2', filename='song2.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(yp6H.obj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CXN6(YKHO):\n YKHO.add_mp3(artist='Artist Name', album='Album', conductor='Conductor Name', title='Title 1', filename='song1.mp3')\n YKHO.add_mp3(artist='Artist Name', album='Album', conductor='Conductor Name', title='Title 2', filename='song2.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects....
[ "0.76223737", "0.7244654", "0.71840376", "0.7128718", "0.7079993", "0.70798516", "0.70383894", "0.70236963", "0.69424325", "0.6857144", "0.6797647", "0.6797317", "0.6785451", "0.676304", "0.67374235", "0.6728645", "0.6727074", "0.6722065", "0.6700459", "0.6684796", "0.6683454...
0.7056336
6
A nonalbum track is updated to become an album track by adding an Album tag. The original album should be used.
def UbhD(YKHO): YKHO.add_mp3(artist='Artist', album='Album', title='Title 1', filename='song1.mp3') YKHO.add_mp3(artist='Artist', album='', title='Title 2', filename='song2.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(ZGCE.objects.count(), 2) YKHO.assertEqual(y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K7D3(YKHO):\n YKHO.add_mp3(artist='Artist', album='Album', title='Title 1', filename='song1.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YKHO.assertEqual(yp6H.objects.count(), 2)\n wphz = ZGCE.objects.get()\n YKHO.assertEq...
[ "0.6932991", "0.67697996", "0.67600495", "0.6581372", "0.65378106", "0.6532095", "0.65130466", "0.65130466", "0.64918095", "0.6479517", "0.6336017", "0.6323735", "0.63189375", "0.63087684", "0.62825376", "0.62357783", "0.6183633", "0.6180423", "0.61325413", "0.6114669", "0.60...
0.6431013
10
Test an update of a file which adds a previouslyunknown prefix to an artist.
def H6LX(YKHO): YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album') YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 1', album='Album') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(ZGCE.objects.count(), 1) YKHO.ass...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y4dD(YKHO):\n YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album')\n YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 2', album='Album')\n YKHO.add_mp3(filename='3-third.mp3', artist='Other', title='Title 3', album='Other')\n YKHO.run_add()\n Y...
[ "0.7720487", "0.71305627", "0.71259236", "0.7092878", "0.6898991", "0.68867135", "0.683152", "0.6818254", "0.680899", "0.6754738", "0.6738464", "0.6736133", "0.6668044", "0.6650742", "0.6650619", "0.66143894", "0.6600217", "0.65645844", "0.6477456", "0.64486784", "0.64417845"...
0.73854715
1
Test an update to a file which changes to a different artist and also adds a prefix to that second artist.
def y4dD(YKHO): YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album') YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 2', album='Album') YKHO.add_mp3(filename='3-third.mp3', artist='Other', title='Title 3', album='Other') YKHO.run_add() YKHO.assert...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H6LX(YKHO):\n YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album')\n YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 1', album='Album')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n ...
[ "0.76698995", "0.7486833", "0.7437406", "0.7320452", "0.7255233", "0.71993405", "0.7187949", "0.71681315", "0.71663034", "0.7123822", "0.71099335", "0.706979", "0.70593584", "0.7037098", "0.69924515", "0.6982461", "0.6981576", "0.695022", "0.67650783", "0.67461735", "0.669284...
0.8135136
0
Test an update of a file which adds a previouslyunknown prefix to an artist, on the conductor record
def NIW2(YKHO): YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album', conductor='Artist') YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 1', album='Album', conductor='Artist') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y4dD(YKHO):\n YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album')\n YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 2', album='Album')\n YKHO.add_mp3(filename='3-third.mp3', artist='Other', title='Title 3', album='Other')\n YKHO.run_add()\n Y...
[ "0.74111366", "0.7026254", "0.68968785", "0.6853814", "0.6696848", "0.66920197", "0.6651357", "0.6644859", "0.649083", "0.647858", "0.64753675", "0.64709747", "0.6470334", "0.6463104", "0.64299375", "0.6413341", "0.63985395", "0.6389042", "0.6364036", "0.63551456", "0.6349353...
0.7256202
1
Test an update of a file which adds a previouslyunknown prefix to an artist, on the composer record
def stCV(YKHO): YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album', composer='Artist') YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 1', album='Album', composer='Artist') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y4dD(YKHO):\n YKHO.add_mp3(filename='1-first.mp3', artist='Artist', title='Title 1', album='Album')\n YKHO.add_mp3(filename='2-second.mp3', artist='Artist', title='Title 2', album='Album')\n YKHO.add_mp3(filename='3-third.mp3', artist='Other', title='Title 3', album='Other')\n YKHO.run_add()\n Y...
[ "0.7362323", "0.71444917", "0.7128896", "0.7085803", "0.68199617", "0.6746774", "0.6744819", "0.6663693", "0.66570276", "0.6632985", "0.65710056", "0.655775", "0.65137374", "0.649069", "0.64843476", "0.6439029", "0.64185685", "0.6409164", "0.6381008", "0.6373812", "0.63690615...
0.7498865
0
Tests an update which should transform a singleartist album to a Various album.
def aj1d(YKHO): HqKa = [('Album', '1-first.mp3', 'Artist 1', 'First', 1), ('Album', '2-second.mp3', 'Artist 1', 'Second', 2)] for pmON, Ux0P, h5p_, leAC, vLZ5 in HqKa: YKHO.add_mp3(path=pmON, filename=Ux0P, artist=h5p_, title=leAC, tracknum=vLZ5, album=pmON) YKHO.run_add() YKHO.assertEqual(jwfB....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KzIz(YKHO):\n HqKa = [('Album 1', '1-first.mp3', 'Artist 1', 'First', 1), ('Album 1', '2-second.mp3', 'Artist 1', 'Second', 2), ('Album 2', '1-first.mp3', 'Artist 2', 'First', 1), ('Album 2', '2-second.mp3', 'Artist 2', 'Second', 2)]\n for pmON, Ux0P, h5p_, leAC, vLZ5 in HqKa:\n YKHO.add_mp3(path=...
[ "0.78815204", "0.77759653", "0.7729527", "0.76571363", "0.7642662", "0.7608716", "0.7598185", "0.7594447", "0.7587634", "0.75723124", "0.75196505", "0.75145245", "0.75117916", "0.750031", "0.74582654", "0.7452616", "0.7438889", "0.74244153", "0.7401474", "0.7285184", "0.72804...
0.7609897
5
Tests an update which should transform a variousartist album to a singleartist album.
def KYNQ(YKHO): HqKa = [('Album', '1-first.mp3', 'Artist 1', 'First', 1), ('Album', '2-second.mp3', 'Artist 2', 'Second', 2)] for pmON, Ux0P, h5p_, leAC, vLZ5 in HqKa: YKHO.add_mp3(path=pmON, filename=Ux0P, artist=h5p_, title=leAC, tracknum=vLZ5, album=pmON) YKHO.run_add() YKHO.assertEqual(jwfB....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KzIz(YKHO):\n HqKa = [('Album 1', '1-first.mp3', 'Artist 1', 'First', 1), ('Album 1', '2-second.mp3', 'Artist 1', 'Second', 2), ('Album 2', '1-first.mp3', 'Artist 2', 'First', 1), ('Album 2', '2-second.mp3', 'Artist 2', 'Second', 2)]\n for pmON, Ux0P, h5p_, leAC, vLZ5 in HqKa:\n YKHO.add_mp3(path=...
[ "0.81006145", "0.80123043", "0.796327", "0.7789403", "0.7724967", "0.7709217", "0.7707486", "0.76752305", "0.7651926", "0.7632372", "0.76159513", "0.75975996", "0.7565408", "0.7562895", "0.75620747", "0.7556847", "0.75463116", "0.7538537", "0.75308394", "0.7505526", "0.750511...
0.78051835
3
Test an update where a previouslysingle album is now split into two separate albums.
def t0Af(YKHO): YKHO.add_mp3(filename='song1.mp3', artist='Artist 1', title='Title 1', album='Album 1') YKHO.add_mp3(filename='song2.mp3', artist='Artist 1', title='Title 2', album='Album 1') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(ZGCE.objects.count(), 1) YKHO....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dnlP(YKHO):\n YKHO.add_mp3(filename='song1.mp3', artist='Artist 1', title='Title 1', album='Album 1')\n YKHO.add_mp3(filename='song2.mp3', artist='Artist 1', title='Title 2', album='Album 1')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n YKHO.assertEqual(ZGCE.objects.count(), 1)...
[ "0.79966295", "0.7984284", "0.7588044", "0.756118", "0.7222028", "0.72175246", "0.7204102", "0.71860975", "0.7155355", "0.70138544", "0.70098877", "0.70090914", "0.6982162", "0.6935531", "0.6922565", "0.6847311", "0.6818757", "0.6810793", "0.67932856", "0.6750129", "0.6684105...
0.8122962
0
Test a situation where we have a directory with two songs (each in their own album), one gets updated to be an album with the first, and also a new file is added which is a third track on the album.
def kSsF(YKHO): YKHO.add_mp3(filename='song1.mp3', artist='Artist 1', title='Title 1', album='Album 1') YKHO.add_mp3(filename='song2.mp3', artist='Artist 1', title='Title 2', album='Album 2') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 2) YKHO.assertEqual(ZGCE.objects.count(), 2) YKHO....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dnlP(YKHO):\n YKHO.add_mp3(filename='song1.mp3', artist='Artist 1', title='Title 1', album='Album 1')\n YKHO.add_mp3(filename='song2.mp3', artist='Artist 1', title='Title 2', album='Album 1')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 2)\n YKHO.assertEqual(ZGCE.objects.count(), 1)...
[ "0.810992", "0.80819863", "0.80152035", "0.79305047", "0.7897951", "0.78880763", "0.78654486", "0.7853554", "0.7783847", "0.7694929", "0.76910335", "0.768496", "0.7680699", "0.7669555", "0.7664728", "0.764358", "0.76410425", "0.7633939", "0.76183015", "0.759157", "0.7573712",...
0.8305177
0
Test updating an album from one which should be live to one that's not
def PtTR(YKHO): YKHO.add_mp3(artist='Artist', title='Title 1', album='2016-09-20 - Live at Somewhere', filename='song1.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 1) YKHO.assertEqual(ZGCE.objects.count(), 1) YKHO.assertEqual(yp6H.objects.count(), 2) wphz = ZGCE.objects.get() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qjLL(YKHO):\n YKHO.add_mp3(artist='Artist', title='Title 1', album='Album', filename='song1.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YKHO.assertEqual(yp6H.objects.count(), 2)\n wphz = ZGCE.objects.get()\n sTNj = wphz.p...
[ "0.8308082", "0.7746971", "0.77095145", "0.76505107", "0.7625799", "0.7537026", "0.7534667", "0.75190544", "0.7516337", "0.7458376", "0.74499625", "0.7447585", "0.7336089", "0.7296354", "0.7286027", "0.7272594", "0.7252025", "0.7205001", "0.71907794", "0.71645814", "0.7161513...
0.83136827
0
Test updating an album from one which isn't live to one that's is
def qjLL(YKHO): YKHO.add_mp3(artist='Artist', title='Title 1', album='Album', filename='song1.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 1) YKHO.assertEqual(ZGCE.objects.count(), 1) YKHO.assertEqual(yp6H.objects.count(), 2) wphz = ZGCE.objects.get() sTNj = wphz.pk YKHO.a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PtTR(YKHO):\n YKHO.add_mp3(artist='Artist', title='Title 1', album='2016-09-20 - Live at Somewhere', filename='song1.mp3')\n YKHO.run_add()\n YKHO.assertEqual(jwfB.objects.count(), 1)\n YKHO.assertEqual(ZGCE.objects.count(), 1)\n YKHO.assertEqual(yp6H.objects.count(), 2)\n wphz = ZGCE.objects...
[ "0.82061017", "0.76935387", "0.7598867", "0.75770134", "0.7563207", "0.7478947", "0.7427949", "0.7412562", "0.7377103", "0.73708624", "0.73672223", "0.72989047", "0.7273616", "0.72140193", "0.7154578", "0.7148567", "0.713223", "0.7105234", "0.70872337", "0.7041887", "0.700412...
0.817494
1
This is actually something which would only happen through the admin interface, but I don't feel like figuring out how to test admin submissions, so we'll just fudge it. Basically, if empty strings get put in for an album's album art fields, we'd like to be sure to save them as NULL for consistency's sake.
def oTBZ(YKHO): YKHO.add_mp3(artist='Artist', title='Title 1', album='Album', filename='song1.mp3') YKHO.run_add() YKHO.assertEqual(jwfB.objects.count(), 1) YKHO.assertEqual(ZGCE.objects.count(), 1) YKHO.assertEqual(yp6H.objects.count(), 2) wphz = ZGCE.objects.get() YKHO.assertEqual(wphz.art...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _WJu(YKHO):\n V_D6 = ['episode_id', 'opening_crawl', 'director', 'producer', 'release_date']\n for Jyyj in V_D6:\n with YKHO.subTest():\n Jyyj = mAsn._meta.get_field(Jyyj)\n YKHO.assertTrue(Jyyj.blank)\n YKHO.assertTrue(Jyyj.null)", "def ZeSA(YKHO):\n if YKHO....
[ "0.6646862", "0.6476323", "0.6181207", "0.6178012", "0.6077555", "0.60558033", "0.60558033", "0.5988929", "0.5975192", "0.5949763", "0.5881711", "0.5862099", "0.5855918", "0.58496344", "0.581726", "0.5796097", "0.57936835", "0.5778679", "0.5759285", "0.57159305", "0.57159305"...
0.7298678
0
Gets the enumeration type of a key.
def OgyO(YKHO, d6pt: int) -> int: return YKHO.app.getEnumerationType(d6pt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FRul(YKHO):\n for jNNP, QNO6 in YKHO.KEY_TYPE_CHOICES:\n if jNNP == YKHO.key_type:\n return QNO6", "def fk0b(Emd4, H5ew):\n return H5ew.name()", "def IydZ(YKHO, H5ew: Key) -> pe5E:\n if isinstance(H5ew, (FgBH, Ibqj, KUXB)):\n return H5ew._value\n return H5ew", "def gj...
[ "0.70660317", "0.6945993", "0.6758129", "0.6743219", "0.6743219", "0.6743219", "0.6743219", "0.66442007", "0.65937984", "0.6543142", "0.65015364", "0.6489446", "0.63880527", "0.6342424", "0.6342169", "0.63228756", "0.6273294", "0.622874", "0.6171654", "0.6123735", "0.6120938"...
0.6695456
7
Gets the enumeration value of a key.
def cP6K(YKHO, d6pt: int) -> int: return YKHO.app.getEnumerationValue(d6pt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ACnW(H5ew, d6pt):\n pass", "def H5ew(YKHO, BWXx):\n for H5ew, wEf2 in YKHO._values.items():\n if wEf2 == BWXx:\n return H5ew\n raise KeyError('Cannot find associated key in enumeration')", "def Zmkp(YKHO, H5ew):\n return YKHO[H5ew]", "def Zmkp(YKHO, H5ew):\n return YKHO[H...
[ "0.7132749", "0.71158636", "0.6812243", "0.6812243", "0.6612849", "0.6502779", "0.64986295", "0.64814436", "0.6471643", "0.6460544", "0.6348109", "0.63132524", "0.6270299", "0.6211675", "0.619966", "0.6175945", "0.6165907", "0.6151603", "0.6149226", "0.6145234", "0.614522", ...
0.6530283
5