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
Get a list of existing Expenses, excluding the file attachments, that match the parameters.
def NMoC(YKHO, zB0d=None, t2k1=None, zTGX=None, h4ZF=None, QTBn=None, vgXP=None, HFS3=None, qoqK=None, yOFM=None, _L1B=None): return YKHO._get_request({'updated_at': zB0d, 'offset': vgXP, 'limit': qoqK, 'settled_at': t2k1, 'reimbursed_at': zTGX, 'approved_at': h4ZF, 'state': QTBn, 'verified': HFS3, 'fund_source': y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R7s5(YKHO, k78t=None):\n _hkX = VJUt.get(NKRf, YKHO.details, YKHO.headers, k78t)\n return wvEv.get_list(_hkX)", "def k66M(YKHO):\n CBIr = YKHO.request.user\n wgfO = ES2O.objects.filter(T8ck(userexpense__in=CBIr.userexpense_set.all()) | T8ck(group__in=CBIr.group_set.all()))\n if YKHO.request.qu...
[ "0.68700606", "0.5883191", "0.58421665", "0.56430805", "0.5616613", "0.54840475", "0.54749477", "0.54318", "0.54196596", "0.5229155", "0.51613057", "0.51613057", "0.51501995", "0.51189023", "0.5077726", "0.5045827", "0.50404114", "0.5034724", "0.4977987", "0.49505383", "0.492...
0.47741264
32
Get an Expense by Id including the file attachments.
def jRq6(YKHO, GBG3): return YKHO._get_request({}, eYA3.GET_EXPENSE_BY_ID.format(GBG3))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OGLp(YKHO, GBG3):\n return YKHO._get_request({}, eYA3.GET_EXPENSE_ATTACHMENTS.format(GBG3))", "def NMoC(YKHO, GBG3):\n bD7m = NKRf + GBG3\n _hkX = VJUt.get(bD7m, YKHO.details, YKHO.headers)\n return wvEv.get_expense(_hkX)", "def ccBJ(Emd4, id: int):\n AIu6 = FgzD('select id, amount, descript...
[ "0.7257534", "0.69819826", "0.6602596", "0.6230637", "0.6055695", "0.56958026", "0.5655677", "0.56548846", "0.55900764", "0.5537572", "0.55257964", "0.5494994", "0.5471183", "0.54495466", "0.5415153", "0.53838104", "0.5374669", "0.5351743", "0.5349956", "0.53443354", "0.53412...
0.739249
0
Creates a sizex by sizey matrix filled with zeros.
def OqWE(qXGJ, DJmC): return [[0] * DJmC for YRbF in range(qXGJ)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FMTg(qXGJ, DJmC):\n return [[0] * DJmC for YRbF in range(qXGJ)]", "def OqWE(qXGJ, DJmC):\n return [[0] * DJmC for YRbF in Ni9Y(qXGJ)]", "def ZnYu(H2v2, TVTK):\n Oa1e = [[0.0 for bGrB in range(TVTK)] for IaaG in range(H2v2)]\n return aLMY(Oa1e)", "def GEcs(TVTK, H2v2):\n GyLV = aLMY()\n ...
[ "0.8044378", "0.7826062", "0.7141801", "0.71086985", "0.70619905", "0.7058825", "0.63757265", "0.6285351", "0.6129874", "0.6119288", "0.6119288", "0.6112796", "0.6047175", "0.59919316", "0.5989762", "0.5955519", "0.5932239", "0.5928885", "0.58918095", "0.5875584", "0.5867596"...
0.79192764
1
Stores a keyvalue dict into /settingsname.json file.
def n_Cg(YKHO, mWFP, gCuF): assert isinstance(gCuF, dict) qaEx = Hy7s.path.join(YKHO._root, kF3y._SETTINGS_FILE % mWFP) if not gCuF: if Hy7s.path.exists(qaEx): Hy7s.unlink(qaEx) return with open(qaEx, 'w') as eHNT: return qQXR.dump(gCuF, eHNT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TVMf(Op6c):\n qQXR.dump(Op6c, open('resources/files/settings.txt', 'w'))", "def xkzz(YKHO):\n with open(YKHO.SETTINGS_FILE, 'w') as nVrR:\n nPrm = dict()\n for H5ew, BWXx in YKHO.__dict__.items():\n if not H5ew.startswith('__'):\n nPrm[H5ew] = BWXx\n qQXR....
[ "0.7391012", "0.7266963", "0.71199477", "0.70493007", "0.70454943", "0.69322", "0.68625546", "0.6817008", "0.6800389", "0.6796468", "0.67484325", "0.6702263", "0.6700651", "0.6657715", "0.6652475", "0.6641371", "0.6504202", "0.64827096", "0.64824116", "0.6387421", "0.63624173...
0.77765596
0
Returns unicode string containing value of environment variable 'name'.
def AxXv(mWFP, WmM4=None): return Hy7s.environ.get(mWFP, WmM4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kRLt(YKHO, mWFP):\n return '$(' + mWFP + ')'", "def IjQk(YKHO, mWFP: str) -> h8nf[str]:\n M56f = [kDLT('name', mWFP)]\n GSuR = YKHO._select('envVariable', M56f)\n return GSuR.execute_sync(h8nf[str])", "def ODQh(mWFP: str, WmM4: str) -> str:\n BWXx = ddrW(sEAN.get(mWFP))\n return WmM4 if B...
[ "0.71761024", "0.71666235", "0.6773447", "0.67152184", "0.65080357", "0.6498964", "0.6367053", "0.61921793", "0.6187177", "0.615336", "0.61046773", "0.6100471", "0.60977054", "0.60636157", "0.59212136", "0.59068537", "0.5893045", "0.5887073", "0.5873262", "0.58180267", "0.576...
0.55107737
40
Logically right shifts value by n places.
def gzEI(wEf2, exwG) -> oyIN.int64: return wEf2 % (1 << 64) >> exwG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y32f(wEf2, exwG):\n return wEf2 % 4294967296 >> exwG", "def Y32f(wEf2, exwG):\n return wEf2 % 4294967296 >> exwG", "def Y32f(wEf2: int, exwG: int) -> int:\n return wEf2 % 4294967296 >> exwG", "def DkWr(jzdc, exwG=1):\n return jzdc[exwG:] + jzdc[:exwG]", "def JkW4(WKvO, exwG):\n return oL...
[ "0.80633104", "0.80633104", "0.79947037", "0.7463259", "0.7394932", "0.6925711", "0.68830913", "0.67560947", "0.6657734", "0.6643168", "0.6629813", "0.6608858", "0.65974516", "0.6545955", "0.6536871", "0.6466921", "0.64534676", "0.6407731", "0.6394487", "0.6388541", "0.635112...
0.7938684
3
Set the Weapons totalAmmo state
def LKy8(YKHO): for bthS in YKHO.activeWeapons: bthS.setTotalAmmo() for bthS in YKHO.amsWeapons: bthS.setTotalAmmo()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWC7(YKHO):\n for T7W3, Gd8r in YKHO.components.iteritems():\n if Gd8r.myComponentData.maxAmmo > 0:\n Gd8r.currentAmount = Gd8r.myComponentData.maxAmmo", "def BAht(YKHO):\n YKHO.clearMyStatus()\n for id, Gd8r in YKHO.components.iteritems():\n YKHO.currentComps += 1\n ...
[ "0.70450485", "0.6242401", "0.6228078", "0.6047097", "0.58896303", "0.5876648", "0.5814055", "0.579145", "0.56938505", "0.56286377", "0.5623901", "0.56091434", "0.55547535", "0.5504194", "0.5488021", "0.54642916", "0.5455545", "0.54522663", "0.5409598", "0.53584224", "0.52797...
0.851958
0
Set the Galaxy Object Owner of this Ship
def vSck(YKHO, NmF3): YKHO.myGalaxy = NmF3 NmF3.ships[YKHO.id] = YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVVd(YKHO, qsJ6):\n YKHO.__owner = qsJ6", "def qsJ6(YKHO, qsJ6):\n YKHO._owner = qsJ6", "def qsJ6(YKHO, qsJ6):\n YKHO._owner = qsJ6", "def qsJ6(YKHO, qsJ6):\n YKHO._owner = qsJ6", "def qsJ6(YKHO, qsJ6):\n YKHO._owner = qsJ6", "def qsJ6(YKHO, qsJ6):\n YKHO._owner = qsJ6", "def qsJ6...
[ "0.71902525", "0.69705766", "0.69705766", "0.69705766", "0.69705766", "0.69080186", "0.69080186", "0.69080186", "0.69080186", "0.6906991", "0.68075526", "0.6619635", "0.6297075", "0.6271582", "0.61416644", "0.60078526", "0.5973551", "0.5957543", "0.5897426", "0.5821753", "0.5...
0.67367876
11
Predict action probabilities given states.
def KR85(wspz): PjQx = YWSi(ht2j.Tensor(wspz)) BFeB = vuvg.softmax(PjQx).data.numpy() return BFeB
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YEmv(YKHO, wspz, xASv):\n W061 = NkkI(wspz, YKHO.normalization['observations'][0], YKHO.normalization['observations'][1])\n VWLj = NkkI(xASv, YKHO.normalization['actions'][0], YKHO.normalization['actions'][1])\n _ins = False\n yKcO = 0\n Os4s = 0\n PCcS = len(wspz)\n o3Uj = YKHO.sess.run(Y...
[ "0.7889162", "0.7832179", "0.7518147", "0.73917705", "0.738475", "0.73525226", "0.7326451", "0.7172609", "0.6978528", "0.6968039", "0.6906683", "0.6872568", "0.6853886", "0.67995584", "0.6768523", "0.67283815", "0.6702249", "0.6667121", "0.66327345", "0.6601041", "0.65962446"...
0.73138726
7
take a list of immediate rewards r(s,a) for the whole session compute cumulative returns (a.k.a. G(s,a) in Sutton '16) G_t = r_t + gammar_{t+1} + gamma^2r_{t+2} + ... The simple way to compute cumulative rewards is to iterate from last to first time tick and compute G_t = r_t + gammaG_{t+1} recurrently You must return ...
def rA42(vwlo, KMvS=0.99): RHnR = [] THkp = 0 for Mkmy in reversed(vwlo): THkp = Mkmy + KMvS * THkp RHnR.append(THkp) RHnR.reverse() return RHnR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rA42(vwlo, KMvS=0.99):\n RHnR = oyIN.empty_like(vwlo)\n RHnR = RHnR.astype(float)\n RHnR[-1] = vwlo[-1]\n for d6pt in range(len(vwlo) - 2, -1, -1):\n FMQW = RHnR[d6pt + 1] * KMvS\n vOGg = vwlo[d6pt]\n RHnR[d6pt] = FMQW + vOGg\n return RHnR", "def CsN1(vwlo, KMvS=1.0):\n ...
[ "0.8086463", "0.75221175", "0.74989986", "0.7120142", "0.7040207", "0.6970117", "0.69169426", "0.68208987", "0.6805671", "0.6779615", "0.6777824", "0.6775084", "0.6762717", "0.6722188", "0.6722188", "0.67143553", "0.6705431", "0.6679104", "0.6675288", "0.66531205", "0.6645495...
0.7958346
1
Take an integer vector (tensor of variable) and convert it to 1hot matrix.
def kj8B(LVAh, Lm6x=None): o6rq = LVAh.data if isinstance(LVAh, iQnE) else LVAh o6rq = o6rq.type(ht2j.LongTensor).view(-1, 1) Lm6x = Lm6x if Lm6x is not None else int(ht2j.max(o6rq)) + 1 cHjf = ht2j.zeros(o6rq.size()[0], Lm6x).scatter_(1, o6rq, 1) return iQnE(cHjf) if isinstance(LVAh, iQnE) else cHj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kj8B(Ty9i):\n exwG = len(Ty9i)\n r8hN = max(Ty9i) + 1\n yvT9 = oyIN.zeros((exwG, r8hN))\n yvT9[oyIN.arange(exwG), Ty9i] = 1\n return yvT9", "def zGX0(iArr, hkxX=10):\n exwG = len(iArr)\n yvT9 = XTiz.zeros((exwG, hkxX))\n yvT9[range(exwG), iArr] = 1\n return yvT9", "def YQH4(iArr,...
[ "0.8391626", "0.7929691", "0.7789748", "0.77540445", "0.76539844", "0.7617844", "0.7534543", "0.7510506", "0.74716616", "0.74194384", "0.72777975", "0.7276192", "0.7221585", "0.72042435", "0.71805406", "0.7138245", "0.71158314", "0.7106408", "0.71049434", "0.70753795", "0.707...
0.0
-1
return true if given entry is equal to the default one
def eoCS(YKHO, bTKY: str): if bTKY == YKHO.default_entry: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Sfv2(YKHO):\n return YKHO.default is not None", "def kCXs(YKHO):\n wEf2 = YKHO.__getattribute__('StoredValue')\n GN36 = YKHO.__class__.StoredValue\n return wEf2 == GN36", "def se2i(YKHO, H5ew):\n WmM4 = YKHO.default\n if not WmM4:\n return False\n for ZfUD in WmM4:\n if q...
[ "0.6521376", "0.6338704", "0.63305163", "0.63305163", "0.6317462", "0.6317462", "0.6317462", "0.6310651", "0.6307207", "0.61208886", "0.60462457", "0.5967732", "0.5884814", "0.5872585", "0.585515", "0.585515", "0.5801563", "0.5794065", "0.5731509", "0.5726565", "0.57056355", ...
0.85995895
0
Do not return anything, modify rooms inplace instead.
def awDp(YKHO, DFSo: List[List[int]]) -> None: def aK3A(DFSo): Ylbp = [] E3D9, ywwl = (len(DFSo), len(DFSo[0])) for YRbF in range(E3D9): for r845 in range(ywwl): if DFSo[YRbF][r845] == 0: Ylbp.append((YRbF, r845)) return Ylbp o1fb ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DFSo(YKHO, DFSo):\n YKHO._rooms = DFSo", "def eEEi(YKHO):\n DFSo = YKHO.model.get_all_rooms()\n for abiq in DFSo:\n YKHO._add_room(abiq)", "def DFSo(*qIxc):\n s_GD.system_message('\\n'.join(DFSo()))", "def pUc1(YKHO):\n pass", "def a12t(YKHO, gv2B: str, BdN0: str):\n for abiq i...
[ "0.67922723", "0.6150443", "0.5985418", "0.59520423", "0.5938853", "0.5910455", "0.5802791", "0.5788961", "0.57677865", "0.56960684", "0.56584203", "0.56518275", "0.5649922", "0.56375164", "0.5580176", "0.5570199", "0.5540112", "0.5534412", "0.5534412", "0.5529608", "0.549605...
0.0
-1
Change the amount of reactions required to starboard a message.
async def starboard_amount(YKHO, OaeV, Z5kt: int): await l633.update_setting(OaeV, 'starboard_settings', 'reaction_count', Z5kt) kIqR, IgNB, zmdj = await YKHO.bot.db.execute('\n SELECT emoji_name, emoji_id, emoji_type\n FROM starboard_settings WHERE guild_id = %s\n ', OaeV.guild...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def reactions(YKHO, OaeV):\n await YKHO.message_leaderboard(OaeV, 'reactions')", "def Di_o(bGrB) -> int:\n return 1 << 6", "def Di_o(bGrB) -> int:\n return 1 << 6", "def Doj3(YKHO, Z5kt: int):\n YKHO._inventory += Z5kt", "def HuEn(YKHO, mVUw):\n YKHO.recruit = int(oyIN.ceil(YKHO.INITIA...
[ "0.63772947", "0.6179722", "0.6179722", "0.5825801", "0.58167845", "0.560417", "0.5564357", "0.5545454", "0.55370396", "0.5528173", "0.5518888", "0.55142504", "0.55124456", "0.5497931", "0.54795575", "0.54564846", "0.54389095", "0.54326606", "0.5426115", "0.54188395", "0.5386...
0.75119036
0
Show everything that's currently blacklisted.
async def blacklist_show(YKHO, OaeV): hGN5 = ZOrr.Embed(title=f':scroll: {OaeV.guild.name} Blacklist', color=int('ffd983', 16)) tAbP = await YKHO.bot.db.execute('\n SELECT channel_id FROM blacklisted_channel WHERE guild_id = %s\n ', OaeV.guild.id, as_list=True) ETGY = await YKHO.bot.db...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def blacklist_show(YKHO, OaeV: commands.Context, pan_):\n tyNF = 'user_blacklist' if isinstance(pan_, ZOrr.User) else 'guild_blacklist'\n GfdN = await YKHO.check_user(pan_.id, tyNF)\n if GfdN[0]:\n Q1PJ = ZOrr.Embed(color=YKHO.bot.colors.neutral)\n if isinstance(pan_, ZOrr.User):\n ...
[ "0.65985954", "0.65490836", "0.62632304", "0.61212635", "0.6108291", "0.6012549", "0.60075045", "0.59662694", "0.59497046", "0.58699954", "0.58676314", "0.5832256", "0.5816947", "0.576713", "0.5729382", "0.57143086", "0.57090116", "0.57025844", "0.56993335", "0.56980777", "0....
0.712458
0
Blacklist a guild from adding or using Miso Bot.
async def blacklist_guild(YKHO, OaeV, LRlk: int, *, lo9Y): lSCo = YKHO.bot.get_guild(LRlk) if lSCo is None: raise Bx6I.Warning(f'Cannot find guild with id `{LRlk}`') await YKHO.bot.db.execute('INSERT IGNORE blacklisted_guild VALUES (%s, %s)', lSCo.id, lo9Y) YKHO.bot.cache.blacklist['global']['gu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def blacklist_add(YKHO, OaeV: commands.Context, pan_, *, lo9Y: str='No reason given.'):\n tyNF = 'user_blacklist' if isinstance(pan_, ZOrr.User) else 'guild_blacklist'\n lSCo = None\n try:\n GfdN = await YKHO.check_user(pan_.id, tyNF)\n except Exception:\n lSCo = ZOrr.utils.get(YKHO...
[ "0.7025446", "0.6901747", "0.67592144", "0.6756971", "0.67436916", "0.6689396", "0.6515071", "0.64903665", "0.64557445", "0.6422643", "0.63652575", "0.6328226", "0.62941444", "0.62683487", "0.6249026", "0.6137371", "0.6133096", "0.6083395", "0.6079908", "0.60692376", "0.60347...
0.8500234
0
Whitelist a member of this server.
async def whitelist_member(YKHO, OaeV, *DgAC): NXAT = [] TYie = [] for t3UO in DgAC: try: mS46 = await wQcs.MemberConverter().convert(OaeV, t3UO) except wQcs.errors.BadArgument: TYie.append(f'Cannot find member {t3UO}') else: await YKHO.bot.db.exec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W01V(YKHO, yzQ0):\n return YKHO._set(whitelist=yzQ0)", "def qyC1(YKHO):\n DgAC = YKHO.con.getWhiteList()\n zBH8 = YKHO.con.getGuildsInfo()\n for ZfUD in zBH8:\n YKHO.whitelist[ZfUD.split(',')[0]] = []\n for mS46 in DgAC:\n nPrm = mS46.split(',')\n YKHO.whitelist[nPrm[0]].a...
[ "0.63895625", "0.63019365", "0.6277634", "0.61892426", "0.595784", "0.58550394", "0.5836929", "0.5835141", "0.57601684", "0.5742741", "0.5722418", "0.56911397", "0.5679584", "0.5674961", "0.56423336", "0.5610417", "0.55831367", "0.5577368", "0.55765194", "0.55751", "0.5507816...
0.7015941
0
Mock UDP's appendToQueue and check for requesting update
def JB0g(YKHO, tO9_, UXqs, DCgT=None): oUZx = MZ6z('>i', tO9_[0:4])[0] kxX5(zZcM.drivers.hyundai_robot.Commands, oUZx) assert UXqs == 'send_update' assert oUZx == zZcM.drivers.hyundai_robot.Commands.update
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QJ3e(YKHO):\n with Po4F.object(GGmw.socket, 'connect', return_value=True) as ROT1, Po4F.object(GGmw.socket, 'bind', return_value=True) as eYVm:\n zZcM.drivers.hyundai_robot.udp = lEFx('localhost', 8000)\n with Po4F.object(lEFx, 'appendToQueue') as y0YC:\n zZcM.drivers.hyundai_robot.allPosit...
[ "0.66058403", "0.6385516", "0.62901187", "0.622264", "0.6194493", "0.6157991", "0.60360336", "0.60092777", "0.5989119", "0.5978262", "0.59041816", "0.57624495", "0.57538354", "0.57331836", "0.57075644", "0.5676246", "0.5675813", "0.5675242", "0.56727403", "0.5664446", "0.5622...
0.6392975
1
Return repr for the module. The method is deprecated. The import machinery does the job itself.
def NlD_(*qIxc, **YSA3): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NlD_(yR_P):\n pass", "def NlD_(yR_P):\n pass", "def NlD_(yR_P):\n pass", "def wHJl(YKHO) -> str:\n return f'<Module[{YKHO.path}]>'", "def wHJl(YKHO):\n Rci7 = hkS8(YKHO, '__spec__.origin', '__file__', '__package__')\n mWFP = hkS8(YKHO, '__name__', 'name')\n QNO6 = oeVg(YKHO, PkNZ) ...
[ "0.81104344", "0.81104344", "0.81104344", "0.7502372", "0.73999244", "0.68969315", "0.67722857", "0.65842247", "0.6581517", "0.6531543", "0.652574", "0.6469559", "0.63845503", "0.634502", "0.63084537", "0.6306228", "0.62950504", "0.62477756", "0.6235535", "0.61757797", "0.614...
0.7779252
3
Make robot turn left with specified speed
def LFlW(YKHO, iBLD): G643.simxSetJointTargetVelocity(YKHO.client_id, YKHO.handles['rollingJoint_rr' + YKHO.postfix], -iBLD, Zi1d) G643.simxSetJointTargetVelocity(YKHO.client_id, YKHO.handles['rollingJoint_rl' + YKHO.postfix], iBLD, Zi1d) G643.simxSetJointTargetVelocity(YKHO.client_id, YKHO.handles['rolling...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TGtB(YKHO, iBLD, _IXK):\n print('turn left')\n YKHO.robot.drive_system.right_motor.turn_on(-iBLD)\n YKHO.robot.drive_system.left_motor.turn_on(iBLD)\n while True:\n if YKHO.robot.drive_system.right_motor.get_position() / 5.5 >= _IXK:\n YKHO.robot.drive_system.right_motor.turn_off(...
[ "0.78519845", "0.7689447", "0.76865536", "0.76785344", "0.7640258", "0.76204324", "0.7557581", "0.7552755", "0.747823", "0.747823", "0.73890245", "0.7382144", "0.7374836", "0.7309489", "0.7309489", "0.72742915", "0.7262627", "0.7217074", "0.7181926", "0.7148702", "0.71332186"...
0.75868
6
Predicts magnitudes using MLE solution. M = number of new times to predict at.
def AFrq(YKHO, Llh0: ndarray) -> gyIm: return YKHO._pred_mag(YKHO.mle_params, Llh0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pBmU(d6pt, E3D9):\n if E3D9 <= dg7v:\n return pHXX * (E3D9 - dg7v)\n else:\n return pyd7 * (E3D9 - dg7v)", "def pBmU(d6pt, E3D9):\n if E3D9 <= dg7v:\n return pHXX * (E3D9 - dg7v)\n else:\n return pyd7 * (E3D9 - dg7v)", "def RCba(YKHO, NArs: ndarray, WXkz: ndarray) ->...
[ "0.60314214", "0.60314214", "0.5845118", "0.5772501", "0.5654936", "0.5633334", "0.5606032", "0.5600543", "0.55962795", "0.5563785", "0.5506784", "0.5504023", "0.5456974", "0.5453483", "0.54316205", "0.5401311", "0.537555", "0.53697044", "0.53692", "0.5354078", "0.53449476", ...
0.700783
0
Create the soft and initial target updates. The initial model parameters are assumed to be stored under the scope name "model", while the target policy parameters are assumed to be under the scope name "target". If an additional outer scope was provided when creating the policies, they can be passed under the `scope` p...
def Nc6C(Ix3O, oSTn, rrBf, jmzt, PJWX): if rrBf is not None: Ix3O = rrBf + '/' + Ix3O oSTn = rrBf + '/' + oSTn return f67V(r51G(Ix3O), r51G(oSTn), jmzt, PJWX)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Li32(pan_, JZXy, jmzt):\n IxwW = pan_.get_weights()\n ILnd = oyIN.ones(oyIN.shape(IxwW)) * jmzt\n GamQ = (1 - ILnd) * pan_.get_weights() + ILnd * JZXy.get_weights()\n pan_.set_weights(GamQ)\n return pan_", "def HwXW(YKHO, G2lv, JL7p, jmzt):\n hsW5 = oyIN.array(G2lv.get_weights())\n IxwW ...
[ "0.645382", "0.61740875", "0.6157597", "0.59934604", "0.59701246", "0.5942507", "0.5878838", "0.5859867", "0.5840106", "0.58148605", "0.5741857", "0.57210577", "0.57175577", "0.57059765", "0.5701641", "0.56678057", "0.56235176", "0.56175566", "0.5609587", "0.5581089", "0.5522...
0.7070774
0
This function prints and plots the confusion matrix. Normalization can be applied by setting `normalize=True`.
def LwSz(Bcwd, KndY, NkkI=False, leAC='Confusion matrix', iMGt=QrM1.cm.Blues): QrM1.imshow(Bcwd, interpolation='nearest', cmap=iMGt) QrM1.title(leAC) QrM1.colorbar() wIWT = oyIN.arange(len(KndY)) QrM1.xticks(wIWT, KndY, rotation=45) QrM1.yticks(wIWT, KndY) if NkkI: Bcwd = Bcwd.astype...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LwSz(Bcwd, KndY=[0, 1], NkkI=False, leAC='Confusion matrix', RMso=False):\n if NkkI:\n Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]\n print('Normalized confusion matrix')\n else:\n print('Confusion matrix, without normalization')\n if RMso:\n print(Bcwd)"...
[ "0.819363", "0.8094859", "0.8028102", "0.8018164", "0.799278", "0.79902315", "0.7979656", "0.7974647", "0.79595697", "0.7956129", "0.7936602", "0.79336774", "0.7933392", "0.79303294", "0.79252326", "0.7923459", "0.79230803", "0.79221183", "0.79218185", "0.7921176", "0.7916744...
0.78425056
56
Return list of dates where pitcher was active
def XqkN(YKHO, mWFP, dZPi=None, lO87=None): if not dZPi: dZPi = YKHO.get_player_team(mWFP, lO87) _kTi = z4am(dZPi, how='abbr') YdD0 = YKHO.get_past_game_dates_by_team(_kTi, lO87) eZ8l = [] for _c1T in YdD0: if _c1T == YKHO._day: continue BH3N = list(YKHO._db.Games...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YdD0(YKHO):\n YdD0 = []\n Csk6 = YKHO.date_a\n while Csk6 < YKHO.date_b:\n YdD0.append(Csk6)\n Csk6 += qcWV.timedelta(1)\n return YdD0", "def OgKK(tTee):\n QpfX = lgcA(tTee.context)\n QePW = tTee.request\n pBbM = QePW.SESSION.get('rendezvous', {})\n PObu = QpfX.UID()\n ...
[ "0.5938734", "0.5932109", "0.59259075", "0.58879143", "0.58033705", "0.5781242", "0.5707196", "0.56895435", "0.56295574", "0.56178856", "0.55789536", "0.5545584", "0.5545584", "0.552718", "0.5431489", "0.5424563", "0.54220444", "0.54182255", "0.5396042", "0.5300514", "0.52981...
0.7033805
0
Find the last day where a pitcher was active
def VEZ3(YKHO, mWFP, dZPi=None, lO87=None): _kTi = z4am(dZPi, how='abbr') YdD0 = YKHO.get_past_game_dates_by_team(_kTi, lO87) for _c1T in YdD0: if _c1T == YKHO._day: continue BH3N = list(YKHO._db.Games.find({'$and': [{'date': _c1T}, {'$or': [{'home': _kTi}, {'away': _kTi}]}]})) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tN7K(YKHO):\n return YKHO.ticker.all().order_by('-created').first()", "def IRwD():\n ysyZ = EO_n.last_day(tgLA())\n Y9ZR = EO_n.last_day(Q0cQ())\n SWmm = EO_n.last_day(BpCO())\n kT3M = EO_n.last_day(oXdR())\n c1vB = EO_n.last_day(lM9n(), 5)\n assert ysyZ == _c1T(2021, 7, 23)\n assert ...
[ "0.5711776", "0.5698133", "0.56919146", "0.5663159", "0.5658922", "0.56453675", "0.5644211", "0.5573224", "0.5535718", "0.5504673", "0.54723215", "0.5463215", "0.54433113", "0.54253143", "0.5425239", "0.54232335", "0.5416583", "0.5416504", "0.54094905", "0.53894705", "0.53715...
0.67224115
0
self.name = name self.tuition = tuition self.school_nid = school_nid self.course_to_teacher_list = course_to_teacher_list
def DfUM(): try: print('创建班级'.center(60, '=')) oGnr = ZXja.get_all_obj_list() for G1Hx, YEnM in enumerate(oGnr): print(G1Hx, YEnM, YEnM.addr) Wswm = int(input('请输入学校:')) xB9y = oGnr[Wswm] print('课程,老师列表'.center(60, '-')) fKTy = G8ju.get_all_obj_lis...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.title = ''\n YKHO.desc = ''\n YKHO.course_number = ''\n YKHO.duration = ''\n YKHO.difficulty = ''\n YKHO.instructors = ''\n YKHO.url = ''", "def FIMM(YKHO, DCKO, dW_5, IznC, IJ4N='Computer Science', Imgf='0.0'):\n super().__init__(dW_5, IznC)\n YKHO._student_id =...
[ "0.67881155", "0.6524761", "0.63890845", "0.6303851", "0.6259323", "0.62468433", "0.6225434", "0.6207888", "0.62008864", "0.61922985", "0.6184403", "0.61766523", "0.61605144", "0.6149303", "0.6149108", "0.6109819", "0.6108552", "0.6073387", "0.60622895", "0.60600847", "0.6058...
0.57642525
78
self.name = name self.tuition = tuition self.school_nid = school_nid self.course_to_teacher_list = course_to_teacher_list
def nlcp(): for YEnM in cx0L.get_all_obj_list(): print('\x1b[33;1m[%s] [%s]校区 [%s]班级 学费[%s]\x1b[0m'.center(60, '-') % (YEnM.school_nid.get_obj_by_uuid().name, YEnM.school_nid.get_obj_by_uuid().addr, YEnM.name, YEnM.tuition))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.title = ''\n YKHO.desc = ''\n YKHO.course_number = ''\n YKHO.duration = ''\n YKHO.difficulty = ''\n YKHO.instructors = ''\n YKHO.url = ''", "def FIMM(YKHO, DCKO, dW_5, IznC, IJ4N='Computer Science', Imgf='0.0'):\n super().__init__(dW_5, IznC)\n YKHO._student_id =...
[ "0.6790343", "0.652603", "0.63902026", "0.6305184", "0.62612915", "0.6248922", "0.6226531", "0.6210152", "0.62022144", "0.6194834", "0.61859584", "0.6177822", "0.61626047", "0.6150958", "0.6150443", "0.6111754", "0.61105824", "0.6074458", "0.6063772", "0.6061513", "0.605565",...
0.0
-1
Sends a 401 response that enables basic auth
def NLCy(): return fTX8(401, 'Must be connected', headers={'WWW-Authenticate': 'Basic realm="Login Required"'})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NLCy():\n return oGir('Not Authorized', 401, {'WWW-Authenticate': 'Basic realm=\"api\"'})", "def NLCy():\n return oGir('', 401, {'WWW-Authenticate': 'Basic realm=\"Login Required\"'})", "def NLCy():\n return oGir('You have to login with proper credentials', 401, {'WWW-Authenticate': 'Basic realm=\...
[ "0.8093693", "0.8092711", "0.79585856", "0.7851594", "0.7842797", "0.78244835", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", "0.78108114", ...
0.76496667
40
Returns one user with matching id.
def u754(id): CBIr = YJv1.query.filter_by(id=id).first() CBIr.delete() if not CBIr: return fTX8(404, 'Not Found') return fTX8(204, 'No data')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JuUv(YKHO, id):\n for CBIr in YKHO.users:\n if CBIr['id'] == id:\n return CBIr", "def bt8D(YKHO, id):\n return YKHO.users.get(id)", "def UH_v(id: str) -> mv1M:\n return mv1M.query.get(int(id))", "def ggdo(Emd4, _eu6):\n CBIr = Emd4.query.filter_by(id=_eu6).first()\n retur...
[ "0.8888429", "0.88077277", "0.8797549", "0.86952883", "0.8579153", "0.8569088", "0.85048705", "0.84092164", "0.8404867", "0.8320808", "0.83021873", "0.82902527", "0.82658464", "0.8229495", "0.8221075", "0.81859285", "0.81743693", "0.81743693", "0.81743693", "0.81743693", "0.8...
0.0
-1
Returns one user with matching id.
def uC3Z(id): CBIr = YJv1.query.filter_by(id=id).first() if not CBIr: return fTX8(404, 'Not Found') CBIr = CBIr.as_dict() CBIr.pop('password') return qQXR.dumps(CBIr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JuUv(YKHO, id):\n for CBIr in YKHO.users:\n if CBIr['id'] == id:\n return CBIr", "def bt8D(YKHO, id):\n return YKHO.users.get(id)", "def UH_v(id: str) -> mv1M:\n return mv1M.query.get(int(id))", "def ggdo(Emd4, _eu6):\n CBIr = Emd4.query.filter_by(id=_eu6).first()\n retur...
[ "0.8889121", "0.8807574", "0.8797205", "0.8696181", "0.8580564", "0.85707647", "0.85052776", "0.8409932", "0.84043556", "0.83213866", "0.83031476", "0.8290722", "0.82670933", "0.82302195", "0.82213426", "0.8188063", "0.81753683", "0.81753683", "0.81753683", "0.81753683", "0.8...
0.0
-1
data filter the stopWords and tokenizer
def UlWi(gIsw=None): KQWw = t2lc.load(open(gIsw + 'pos_review.pkl', 'r')) fQnE = t2lc.load(open(gIsw + 'neg_review.pkl', 'r')) return (KQWw, fQnE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZvG6(nPrm):\n V22M = dFss(nPrm)\n g68O = []\n for GIN8 in V22M:\n if GIN8 not in hwHU:\n g68O.append(mkhU.stem(GIN8))\n if '' in g68O:\n g68O.remove('')\n return g68O", "def aUcs(nPrm):\n hwHU = di0c.words('english')\n V22M = dFss(str(nPrm))\n BdN0 = ''\n f...
[ "0.7715461", "0.7242338", "0.7221695", "0.71253127", "0.7072814", "0.7045501", "0.69890803", "0.6890586", "0.6843587", "0.6807405", "0.68034154", "0.67726564", "0.6750019", "0.6739282", "0.66622984", "0.6654611", "0.6629153", "0.66100484", "0.65764934", "0.6556999", "0.654207...
0.0
-1
Converts a binary OPF file (.dat or .opf) to a .json file.
def GVBy(YTpY: str, UXEK: Optional[str]=None) -> None: bo34.info('Converting file: %s ...', YTpY) _a9u = '<iii' JPvN = BlNT.calcsize(_a9u) with open(YTpY, 'rb') as eHNT: jaGH = BlNT.unpack(_a9u, eHNT.read(JPvN)) cDK5 = jaGH[0] ROaS = jaGH[2] unm1 = '<ii' for bGrB ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M_qF(glVv, ei1D):\n Oz1B(f'yosys -p \"read_verilog {glVv}\" -p \"write_json {{json_filename}}\"')", "def ZpTT(YEnM, Ux0P):\n with open('data/output/' + Ux0P, 'w') as ytgA:\n qQXR.dump(YEnM, ytgA, indent=4)", "def NW3L(YKHO, ei1D):\n\n def TfL_(Mkmy):\n \"\"\"@param ProductType.Relati...
[ "0.6118258", "0.6042721", "0.59791267", "0.5867365", "0.5807094", "0.57787466", "0.5758677", "0.5737004", "0.57077307", "0.5640802", "0.55905616", "0.55708736", "0.5537253", "0.5508185", "0.54944956", "0.5476644", "0.5473966", "0.5452779", "0.5449527", "0.54450536", "0.543474...
0.7183994
0
Calculate the simple moving average for values of given dataframe.
def WDuA(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.SMA(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AScy(YKHO, jQ3Z):\n for r8hN in PSrQ.moving_average_conf:\n if r8hN['type'] == 'simple':\n jQ3Z[r8hN['label']] = round(jQ3Z[PSrQ.PRICE_COL].rolling(window=r8hN['days']).mean(), 2)\n else:\n jQ3Z[r8hN['label']] = round(jQ3Z[PSrQ.PRICE_COL].ewm(span=r8hN['days'], adjust=Fal...
[ "0.78171605", "0.7427968", "0.7339694", "0.7278831", "0.7091837", "0.66424924", "0.6546067", "0.6536235", "0.6509854", "0.64921653", "0.64227074", "0.64181644", "0.6384694", "0.637253", "0.63664335", "0.63083446", "0.63012254", "0.62818974", "0.623537", "0.61807245", "0.61791...
0.0
-1
Calculate the double exponential moving average for values of given dataframe.
def sM96(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.DEMA(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WbMh(YKHO, pQ4c=50, iVRZ='adj_close'):\n return rLdf.Series(YKHO.ohlcv[iVRZ].ewm(ignore_na=False, min_periods=pQ4c - 1, span=pQ4c).mean(), name='{} day EWMA Ticker: {}'.format(pQ4c, YKHO.ticker))", "def AScy(YKHO, jQ3Z):\n for r8hN in PSrQ.moving_average_conf:\n if r8hN['type'] == 'simple':\n ...
[ "0.7214486", "0.70401895", "0.6972088", "0.69681615", "0.69144535", "0.68758345", "0.66631603", "0.6593697", "0.6416302", "0.6377895", "0.6363453", "0.6363453", "0.63626075", "0.6335882", "0.6321025", "0.63168174", "0.62198085", "0.61779726", "0.6168376", "0.615137", "0.60397...
0.0
-1
Calculate the triple exponential moving average for values of given dataframe.
def _0zk(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.TEMA(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MrUa(jQ3Z):\n return 1.0 / 3.0 * (jQ3Z + jQ3Z.shift(4) + jQ3Z.shift(8))", "def WbMh(YKHO, pQ4c=50, iVRZ='adj_close'):\n return rLdf.Series(YKHO.ohlcv[iVRZ].ewm(ignore_na=False, min_periods=pQ4c - 1, span=pQ4c).mean(), name='{} day EWMA Ticker: {}'.format(pQ4c, YKHO.ticker))", "def FwwX(jQ3Z, H5ew, nn...
[ "0.69679004", "0.6884426", "0.6781143", "0.671638", "0.65178716", "0.6500385", "0.646257", "0.63620704", "0.6352927", "0.63019323", "0.6279157", "0.6174749", "0.6084078", "0.60838306", "0.6078315", "0.6042854", "0.6042854", "0.6037551", "0.6031537", "0.600193", "0.5999108", ...
0.0
-1
Calculate the triangular moving average for values of given dataframe.
def KxRl(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.TRIMA(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a9Cy(jQ3Z, H5ew, nnVk):\n\n def rM7q(H5ew, KnxT):\n hkxX = list(map(lambda yzQ0: yzQ0[H5ew], KnxT))\n qqgr = round(Pusg(lambda jzdc, Fg_i: jzdc + Fg_i, hkxX) / len(hkxX), 2)\n return qqgr\n return [rM7q(H5ew, jQ3Z[YRbF:YRbF + nnVk + 1]) for YRbF in range(len(jQ3Z) - nnVk)]", "def A...
[ "0.63981533", "0.63918966", "0.6347904", "0.6225892", "0.615141", "0.6104265", "0.6066322", "0.59777844", "0.5968551", "0.59342325", "0.59208655", "0.58901983", "0.58534235", "0.5827511", "0.5820779", "0.5819875", "0.5764454", "0.5730367", "0.5686892", "0.5686736", "0.5685169...
0.0
-1
Calculate the triple exponential moving average oscillator for values of given dataframe.
def fmPn(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.TRIX(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fWJs(YKHO, dy_H, qE0M=50):\n ycBG = dy_H.copy().reset_index(drop=True)\n NS7b = 2 / (qE0M + 1)\n geXp = 0.0\n for or8S in range(len(ycBG)):\n RSxc = ycBG[or8S] * NS7b + geXp * (1 - NS7b)\n ycBG[or8S] = RSxc\n geXp = RSxc\n return ycBG", "def WbMh(YKHO, pQ4c=50, iVRZ='adj_c...
[ "0.67951554", "0.6733202", "0.6696699", "0.6556462", "0.65431786", "0.6446688", "0.6374795", "0.6332725", "0.6332725", "0.6276228", "0.6233195", "0.62331116", "0.6190734", "0.610091", "0.6047623", "0.6030936", "0.5994476", "0.5986854", "0.59840614", "0.59714335", "0.58979726"...
0.0
-1
Calculate the Kaufman efficiency ratio for values of given dataframe. Example
def R84n(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.ER(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WmzH(jQ3Z, aTLP):\n LVAh = oyIN.array(jQ3Z['pressure'].values.tolist())\n ZHfW = 1 - oyIN.array(jQ3Z['u_out'].values.tolist())\n Emt7 = ZHfW * oyIN.abs(LVAh - aTLP)\n Emt7 = Emt7.sum() / ZHfW.sum()\n return Emt7", "def HR5A(ITe9):\n gpRq = ITe9.loc[:, ['HNAME', 'PP_EMP_AVG_PLA']]\n gpRq....
[ "0.6357518", "0.61950564", "0.5994571", "0.596013", "0.59397066", "0.5910252", "0.5906029", "0.57146853", "0.57088876", "0.56952226", "0.5693367", "0.5664849", "0.5653881", "0.5643955", "0.5643782", "0.5606317", "0.5584927", "0.5572554", "0.5572151", "0.55683696", "0.55636245...
0.0
-1
Calculate the weighted moving avarage for values of given dataframe.
def dh84(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.WMA(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yxxa(bOBl: pd.DataFrame, zB5I: float=1.0, Yqhg: float=1.0, lOVR: int=2, pipB: int=2) -> rLdf.DataFrame:\n hI0L = bOBl[C_Fn.MID.value]\n zieq = bOBl['research']\n qkN6 = hI0L.rolling(window=lOVR).mean()\n Ehb_ = zieq.rolling(window=pipB).mean()\n RjeL = zB5I * qkN6\n cOPA = Yqhg * Ehb_\n dQ...
[ "0.66600055", "0.65094674", "0.65041304", "0.63039964", "0.6297979", "0.6201731", "0.6122396", "0.59201014", "0.59089345", "0.5898357", "0.5816904", "0.58141315", "0.5786238", "0.57729906", "0.5717491", "0.5717491", "0.57139176", "0.5699369", "0.56462276", "0.56354654", "0.56...
0.0
-1
Calculate the elastic volumeweighted MACD for values of given dataframe.
def nvgC(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.EV_MACD(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qexO(IO8_, jzdc=12, Fg_i=26, Z9rn=9):\n for jQ3Z in IO8_:\n IO8_[jQ3Z]['ma_fast'] = IO8_[jQ3Z]['close'].ewm(span=jzdc, min_periods=jzdc).mean()\n IO8_[jQ3Z]['ma_slow'] = IO8_[jQ3Z]['close'].ewm(span=Fg_i, min_periods=Fg_i).mean()\n IO8_[jQ3Z]['macd'] = IO8_[jQ3Z]['ma_fast'] - IO8_[jQ3Z]...
[ "0.6930218", "0.6742166", "0.64537865", "0.5947984", "0.59340715", "0.5879595", "0.58621454", "0.58562076", "0.56027025", "0.5593423", "0.54846644", "0.5451885", "0.54450834", "0.5433", "0.53905845", "0.53355753", "0.52912873", "0.5242914", "0.5189817", "0.5176947", "0.516915...
0.0
-1
Calculate the momentum for values of given dataframe.
def LLg2(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.MOM(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H0zq(YKHO):\n for KLRE in YKHO.planets:\n KLRE.momentum = KLRE.mass * KLRE.velocity", "def HBEL(YKHO):\n if not YKHO.quiet:\n Vb5F = u'Calculating momentum gain.\\n Peak field: {self.rf_peak_field:.3f} MV/m\\n Phase: {self.phase:.1f}°'\n print(Vb5F...
[ "0.62278134", "0.59690964", "0.59096456", "0.5851271", "0.58479995", "0.57952505", "0.57575095", "0.5708101", "0.5610404", "0.5552901", "0.54771", "0.5456846", "0.54262125", "0.54087526", "0.5393181", "0.53850347", "0.5380527", "0.5361942", "0.5351693", "0.5345581", "0.534548...
0.0
-1
Calculate the relative strength index for values of given dataframe.
def IwnO(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.RSI(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a3l8(jQ3Z: pd.DataFrame):\n LXTO = 0\n jQ3Z['Int_index'] = None\n jQ3Z['Int_index'].iloc[0] = LXTO\n for YRbF in range(len(jQ3Z)):\n if jQ3Z['Int_event'][YRbF] in [-1, 1, -2, 2]:\n LXTO = LXTO + 1\n jQ3Z['Int_index'].iloc[YRbF] = LXTO\n return jQ3Z", "def odyM(YKHO...
[ "0.6248406", "0.6153391", "0.59131473", "0.582472", "0.5815871", "0.5641625", "0.563922", "0.55453086", "0.5521628", "0.5510295", "0.5473429", "0.54383945", "0.539101", "0.5385819", "0.5380693", "0.5373121", "0.53584087", "0.5354186", "0.5300111", "0.529265", "0.5279914", "...
0.0
-1
Calculate the true range for values of given dataframe.
def _X5y(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.TR(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def range(jQ3Z):\n nDIH = dict()\n for YRbF, fvDH in enumerate(jQ3Z.columns):\n nDIH[fvDH] = [jQ3Z[fvDH].max(), jQ3Z[fvDH].min(), jQ3Z[fvDH].max() - jQ3Z[fvDH].min()]\n YAAU = rLdf.DataFrame(nDIH, index=['Max Value', 'Min Value', 'Range (Max - Min)'])\n rLdf.set_option('precision', 2)\n retur...
[ "0.7306046", "0.6784566", "0.65655226", "0.6247994", "0.59724736", "0.596365", "0.5946457", "0.5946457", "0.5944079", "0.58845925", "0.585791", "0.582621", "0.5789445", "0.57841367", "0.57841367", "0.57718104", "0.57510865", "0.57302797", "0.57285947", "0.57258147", "0.571912...
0.0
-1
Calculate the stochastic relative strength index for given dataframe.
def c3Xr(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.STOCHRSI(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def odyM(YKHO, dy_H, VOlW=14):\n if not isinstance(dy_H, rLdf.Series):\n raise TypeError('Pandas Series required.')\n if not isinstance(VOlW, int):\n raise TypeError('Interval integer required.')\n if len(dy_H) < VOlW:\n raise IndexError('Pandas Series smaller than interval.')\n yk...
[ "0.61114347", "0.59617704", "0.5858609", "0.58239985", "0.56474984", "0.5615828", "0.5582248", "0.55722487", "0.5569849", "0.5569431", "0.55608475", "0.55582726", "0.54839706", "0.5438064", "0.543277", "0.5416254", "0.5408922", "0.5408903", "0.539879", "0.5397164", "0.538913"...
0.0
-1
Calculate the Williams oscillator for given dataframe.
def RDf2(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.WILLIAMS(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VTcd(YKHO, ZVh5):\n epBp = ZVh5.zeta\n t0l4 = 0.0 + 0 * epBp\n lwoF = epBp + YKHO.wa_central\n YPa5 = epBp + YKHO.wb_central\n N_Lg = 2 * lwoF - YKHO.a_coupling\n smLk = 2 * YPa5 - YKHO.b_coupling\n Uf4h = lwoF + YPa5 - YKHO.ab_coupling\n FZJj = t0l4 - t0l4\n nuOH = lwoF - t0l4\n ...
[ "0.5819916", "0.56620467", "0.5630506", "0.56271327", "0.5624416", "0.5617259", "0.5590814", "0.55715317", "0.55592436", "0.55413467", "0.5531299", "0.5516368", "0.5509211", "0.54991144", "0.54916435", "0.54808533", "0.54791176", "0.5465744", "0.5457707", "0.5424969", "0.5420...
0.0
-1
Calculate the cumulative force index of given dataframe.
def ViNZ(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.CFI(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a3l8(jQ3Z: pd.DataFrame):\n LXTO = 0\n jQ3Z['Int_index'] = None\n jQ3Z['Int_index'].iloc[0] = LXTO\n for YRbF in range(len(jQ3Z)):\n if jQ3Z['Int_event'][YRbF] in [-1, 1, -2, 2]:\n LXTO = LXTO + 1\n jQ3Z['Int_index'].iloc[YRbF] = LXTO\n return jQ3Z", "def SDE1(jQ3Z...
[ "0.67540276", "0.5830148", "0.571194", "0.566068", "0.55359113", "0.55087405", "0.5458011", "0.54549384", "0.5444036", "0.54381555", "0.54280114", "0.54198885", "0.5345912", "0.5340662", "0.5315211", "0.5315124", "0.53128576", "0.52902746", "0.52798945", "0.5248952", "0.52430...
0.0
-1
Calculate the chandelier exit indicator of given dataframe.
def XhhH(nPrm): if nPrm is None: raise HfEf('[!] Invalid data value') Aofo = AsBL.CHANDELIER(nPrm) if Aofo is None: raise AG_L return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qs6f(jQ3Z, YRbF: int):\n if not jQ3Z.__contains__('tenkansen') or not jQ3Z.__contains__('kijunsen') or (not jQ3Z.__contains__('senkou_a')) or (not jQ3Z.__contains__('senkou_b')):\n a9ow.AddIndicator(jQ3Z, indicator_name='ichimoku', col_name=None, args=None)\n if YRbF - 1 > 0 and YRbF < len(jQ3Z):\...
[ "0.56444764", "0.5501895", "0.54319197", "0.53372866", "0.5269651", "0.52079755", "0.5191637", "0.5155445", "0.5134298", "0.5125442", "0.5114152", "0.51105803", "0.5080461", "0.49948108", "0.49596074", "0.49574924", "0.49353924", "0.48768884", "0.4856374", "0.48539525", "0.48...
0.5045823
13
Tokenizes common abbreviations and punctuation, removes unwanted characters. Returns the clean string.
def LNLQ(i69J): vIwR = ZbWC.sub('(.)\\1+', '\\1\\1', i69J) vIwR = ZbWC.sub("\\'s", " 's", vIwR) vIwR = ZbWC.sub("\\'ve", " 've", vIwR) vIwR = ZbWC.sub("n\\'t", " n't", vIwR) vIwR = ZbWC.sub("\\'re", " 're", vIwR) vIwR = ZbWC.sub("\\'d", " 'd", vIwR) vIwR = ZbWC.sub("\\'ll", " 'll", vIwR) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AhC7(YKHO, l5Ny):\n l5Ny = ' ' + l5Ny + ' '\n l5Ny = YKHO._dash_fixes.sub(' \\\\1-\\\\2 ', l5Ny)\n l5Ny = YKHO._dash_fixes2.sub(' \\\\1-\\\\2 ', l5Ny)\n l5Ny = YKHO._currency_or_init_punct.sub(' \\\\1', l5Ny)\n l5Ny = YKHO._noprespace_punct.sub('\\\\1 ', l5Ny)\n l5Ny = YKHO._contract.sub(\" \...
[ "0.695034", "0.6765862", "0.66595465", "0.66142213", "0.65782815", "0.6533982", "0.6529178", "0.65289575", "0.65241706", "0.64820623", "0.6479524", "0.6428553", "0.6423277", "0.6398576", "0.6371445", "0.6368147", "0.6368147", "0.6363951", "0.6355825", "0.6340239", "0.6324771"...
0.60770917
43
True if the amount was parsed succesfully.
def WFhG(Emd4, zFiD): try: mjHr = Emd4.get_field(zFiD, Emd4._AMOUNT_COL_NAME) except (ValueError, IndexError, KeyError): return False return mjHr is not None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zw_x(YKHO) -> bool:\n return YKHO._unparsed_response is not None", "def xzCw(YKHO):\n if YKHO.amount > 0:\n return True\n return False", "def nuGk(YKHO):\n return YKHO.transaction_result == PqMn", "def ANRE(YKHO):\n Z5kt = YKHO.entry_amount.get()\n try:\n float(Z5kt)\n ...
[ "0.6963786", "0.6948994", "0.6597817", "0.64457357", "0.6438867", "0.6409226", "0.63324547", "0.62709165", "0.62273234", "0.6201623", "0.61532146", "0.61354053", "0.61354053", "0.6127371", "0.6097561", "0.6096635", "0.6053123", "0.60404307", "0.60080713", "0.5962883", "0.5960...
0.5798072
28
Get a random element from the set.
def UIrZ(YKHO) -> int: import random return random.choice(YKHO._array)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UIrZ(YKHO):\n return YKHO.nums[tuKI.randint(0, len(YKHO.nums) - 1)]", "def UIrZ(YKHO):\n exwG = len(YKHO.keys)\n while exwG > 0:\n d6pt = tuKI.randint(0, exwG - 1)\n Ufrw = YKHO.keys[d6pt]\n if Ufrw in YKHO.ds:\n return Ufrw\n else:\n YKHO.keys[d6pt]...
[ "0.77060276", "0.738916", "0.7296881", "0.72187954", "0.6871744", "0.68453854", "0.68330806", "0.67740154", "0.67226046", "0.6703282", "0.6665089", "0.66356236", "0.66217655", "0.6612035", "0.66000897", "0.6567767", "0.6477719", "0.6462421", "0.64428514", "0.64162946", "0.640...
0.59890753
66
Autocheck to see if ESN matrices have correct dimensions.
def foGx(YKHO): assert len(YKHO.W.shape) == 2, f'W shape should be (N, N) but is {YKHO.W.shape}.' assert YKHO.W.shape[0] == YKHO.W.shape[1], f'W shape should be (N, N) but is {YKHO.W.shape}.' assert len(YKHO.Win.shape) == 2, f'Win shape should be (N, input) but is {YKHO.Win.shape}.' XObx = f'Win shape s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FLS5(YKHO):\n if YKHO._has('P') and YKHO._has('Q') and (uu36(_vxO(YKHO._.P * YKHO._.Q)) != YKHO.order(expand=True, simplify=True) * UOV2(RlRK, YKHO._.d + 1)):\n E4N8(Warning('the eigenmatrices do not multiply into a multiple of the identity matrix'))", "def zVMK():\n print('### DIMENSION CHECK #...
[ "0.66708297", "0.66519594", "0.645523", "0.6309418", "0.62828445", "0.6261575", "0.6242177", "0.615197", "0.61310714", "0.605591", "0.60321075", "0.5971746", "0.5964203", "0.5962521", "0.5951845", "0.5940196", "0.5938569", "0.5931965", "0.59206873", "0.5916518", "0.5884517", ...
0.6232846
7
Invalidate existing tokens issued for this user.
def EWeL(YKHO, zb3C, CBIr): P4t4 = m36K.objects.get(client_id=zb3C) s2mk = IHrB.objects.filter(user=CBIr, application=P4t4) s2mk.delete()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tlml(YKHO):\n YKHO.user_in_db = mv1M.users_db.get(YKHO.email)\n YKHO.user_in_db.update({'token': ''})\n mv1M.users_db.put(YKHO.user_in_db)\n return {'success': True}", "def _9GG():\n XTIS = FYrf.Token.query.filter_by(_user_fk=c5ow.id).filter(FYrf.Token.expiration_date <= qcWV.utcnow()).all()\n...
[ "0.6913114", "0.67849505", "0.6450037", "0.6365823", "0.62868136", "0.62628525", "0.62393385", "0.61448014", "0.6139599", "0.61256796", "0.61163163", "0.6116211", "0.6102149", "0.6093293", "0.60893947", "0.6069814", "0.5999578", "0.5996173", "0.5985803", "0.5959749", "0.59451...
0.7791725
0
This function creates a DataFrame of the electricity balance of all regions.
def UQ4K(GzWn: DataHandler): jPZs = GzWn.get('o_supply').groupby(['tec_supply', 'r']).sum() jPZs.index.names = ['alltec', 'r'] jPZs = rLdf.concat([jPZs], keys=['supply'], names=['type']) vcmB = GzWn.get('o_demand').groupby(['tec_demand', 'r']).sum() * -1 vcmB.index.names = ['alltec', 'r'] vcmB =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y8jl(YKHO):\n XdMZ = DYkc.objects.all().dates('origin', 'year')\n for ulWt in XdMZ:\n DYkc.objects.filter(origin__year=ulWt.year)\n wgfO = 0\n Q_9v = 0\n Ts_j = 0\n Z56C = 0\n H3hj = 0\n dUkE = DYkc.objects.all()\n UHFx = len(dUkE)\n for IgS6 in dUkE:\n wgfO += IgS6....
[ "0.58328724", "0.57492054", "0.57220864", "0.56592655", "0.56283814", "0.55676305", "0.55500203", "0.5539761", "0.5522383", "0.5430314", "0.53675157", "0.5343915", "0.53427184", "0.53288674", "0.53116316", "0.528094", "0.5273634", "0.5263308", "0.5242708", "0.5237714", "0.522...
0.68846506
0
Gets the edge_attribute of this OperationFilterKgraphTopNParameters.
def X1mq(YKHO): return YKHO._edge_attribute
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D70y(YKHO) -> x1RE:\n return YKHO._edge", "def lOl4(pNZh: BaseGraph, eC0u: str) -> cuzp:\n return lOl4(pNZh.graph, eC0u)", "def rDAf(YKHO):\n return YKHO._edge_array", "def nPA9(YKHO):\n return YKHO._edge_size", "def z8vL(YKHO):\n return YKHO._aligner_edge", "def X1mq(YKHO, X1mq):\n ...
[ "0.6981031", "0.6132798", "0.5874107", "0.5870594", "0.5823603", "0.574355", "0.56904745", "0.56496364", "0.56381154", "0.5628658", "0.5599069", "0.54278994", "0.5393487", "0.5335291", "0.5283611", "0.5282198", "0.52543914", "0.52404195", "0.52097356", "0.5201904", "0.5186886...
0.79824936
0
Gets the max_edges of this OperationFilterKgraphTopNParameters.
def LXZG(YKHO): return YKHO._max_edges
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mrtj(YKHO) -> qe4Y.Input[int]:\n return qe4Y.get(YKHO, 'max_nodes')", "def n8F9(YKHO):\n return YKHO._top_exp.number_of_edges()", "def bGSu(YKHO):\n iR_I = XTiz.zeros(YKHO.get_num_parameters())\n YRbF = 0\n for XP5J in YKHO.parameters:\n iR_I[YRbF] = XP5J.get_max_value()\n YRbF...
[ "0.6117776", "0.61134166", "0.607696", "0.6068996", "0.60188544", "0.5996239", "0.5915247", "0.59126115", "0.5887926", "0.5842894", "0.58412194", "0.5758923", "0.5754709", "0.57310635", "0.5722847", "0.57169735", "0.56968087", "0.56936395", "0.56856334", "0.5683312", "0.56739...
0.76864016
0
Gets the qedge_keys of this OperationFilterKgraphTopNParameters.
def p0cf(YKHO): return YKHO._qedge_keys
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CjvJ(YKHO):\n return YKHO._qnode_keys", "def p0cf(YKHO, p0cf):\n YKHO._qedge_keys = p0cf", "def sjXb(YKHO):\n return YKHO.params.keys()", "def rNyF(YKHO):\n return YKHO.vertList.keys()", "def sjXb(YKHO):\n return YKHO._key_to_node_index.keys()", "def LCS7(YKHO):\n return YKHO._qpara...
[ "0.7288101", "0.60991013", "0.6067911", "0.60389143", "0.6025332", "0.5948107", "0.58627486", "0.58592695", "0.58093464", "0.57137764", "0.5697618", "0.56480795", "0.5603909", "0.55899596", "0.5586424", "0.5583137", "0.5570243", "0.55641234", "0.55617553", "0.55617553", "0.55...
0.83435977
0
Gets the qnode_keys of this OperationFilterKgraphTopNParameters.
def CjvJ(YKHO): return YKHO._qnode_keys
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p0cf(YKHO):\n return YKHO._qedge_keys", "def sjXb(YKHO):\n return YKHO._key_to_node_index.keys()", "def sjXb(YKHO):\n GGIM = YKHO.list_all()\n return GGIM['nodes'] + GGIM['groups']", "def sjXb(YKHO):\n return YKHO.params.keys()", "def CjvJ(YKHO, CjvJ):\n YKHO._qnode_keys = CjvJ", "d...
[ "0.7329391", "0.6825162", "0.6334459", "0.6125614", "0.61179733", "0.60077274", "0.5966896", "0.5966896", "0.59188855", "0.59103674", "0.58554554", "0.5844913", "0.58417857", "0.5838304", "0.5831533", "0.5819362", "0.5817501", "0.5809469", "0.5809469", "0.58055615", "0.580543...
0.8228556
0
Asserts the map identified boards matches the predefined connected boards.
def eUeu(YKHO, Zu8l, NLOv): ui_L = [] for vo3D, U0TP in NLOv: ui_L.append(vo3D) DkXM = [] for w2B8 in YKHO.map.configs[Zu8l]['SIS 3301']: DkXM.append(w2B8[0]) YKHO.assertEqual(ui_L, DkXM)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FhdK(YKHO):\n YKHO.assertEqual(YKHO.boards.SelectBoards([]), {'all': 5})", "def tTD4(YKHO):\n YKHO.assertEqual(YKHO.boards.SelectBoards(['arm']), {'all': 2, 'arm': 2})", "def mPxn(YKHO):\n YKHO.assertEqual(YKHO.boards.SelectBoards(['sandbox sandbox', 'sandbox']), {'all': 1, 'sandbox': 1})", "def...
[ "0.68080086", "0.6801656", "0.6711426", "0.66321903", "0.6530586", "0.6523621", "0.6449439", "0.6430011", "0.63632405", "0.6233215", "0.6198039", "0.61945087", "0.6117289", "0.6117289", "0.6117289", "0.60558516", "0.6055197", "0.6010283", "0.5999192", "0.59447634", "0.5912163...
0.77703667
0
Asserts the map identified channels for each board matches the predefined connected channels for each board.
def GQE7(YKHO, Zu8l, NLOv): ui_L = [] for vo3D, U0TP in NLOv: ui_L.append(vo3D) for w2B8 in YKHO.map.configs[Zu8l]['SIS 3301']: vo3D = w2B8[0] yleU = ui_L.index(vo3D) YKHO.assertEqual(w2B8[1], NLOv[yleU][1])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eUeu(YKHO, Zu8l, NLOv):\n ui_L = []\n for vo3D, U0TP in NLOv:\n ui_L.append(vo3D)\n DkXM = []\n for w2B8 in YKHO.map.configs[Zu8l]['SIS 3301']:\n DkXM.append(w2B8[0])\n YKHO.assertEqual(ui_L, DkXM)", "def EPsq(YKHO):\n nPrm = [[0, 1, 0], [1, 0, 0], [0, 0, 1]]\n iBIi = yELo(...
[ "0.6782004", "0.6423596", "0.63748574", "0.61178344", "0.58554864", "0.58554864", "0.58554864", "0.5841851", "0.5801546", "0.58009654", "0.57957405", "0.5762526", "0.57379985", "0.5707146", "0.5659369", "0.5634266", "0.56340164", "0.563076", "0.56032413", "0.55973357", "0.555...
0.71924806
0
Plot a single image
def DM2M(LNo8: np.ndarray, leAC: Optional[str]=None, **B2fa) -> None: ROpF = LNo8.shape if len(ROpF) == 3: QrM1.imshow(LNo8, **B2fa) elif len(ROpF) == 2: QrM1.imshow(LNo8, **B2fa) else: raise TypeError('2-D array or 3-D array should be given but {} was given'.format(ROpF)) if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EYAw(LNo8):\n LNo8 = LNo8.cpu()\n assert type(LNo8) is ht2j.Tensor, 'Image to plot is not torch.Tensor'\n N0ky = int(oyIN.sqrt(LNo8.shape[0]))\n LNo8 = LNo8.view(N0ky, N0ky)\n LZpg = QrM1.imshow(LNo8, cmap='gray')\n LZpg.axes.get_xaxis().set_visible(False)\n LZpg.axes.get_yaxis().set_visib...
[ "0.81281024", "0.7408361", "0.7405754", "0.7388386", "0.73490447", "0.73303634", "0.72542965", "0.72492766", "0.72213274", "0.72113335", "0.72113335", "0.72113335", "0.7156847", "0.713085", "0.703215", "0.7019729", "0.70053864", "0.6976004", "0.6972658", "0.69419533", "0.6820...
0.65770906
32
Sets the name of this XapiActivityDefinition.
def mWFP(YKHO, mWFP): YKHO._name = mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WZrJ(YKHO, mWFP: str):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.__name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.__name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(Y...
[ "0.68545634", "0.6835925", "0.6810064", "0.6810064", "0.6772631", "0.6772631", "0.6772631", "0.6772631", "0.6772631", "0.6751053", "0.6734458", "0.6728493", "0.67076063", "0.67076063", "0.67076063", "0.67076063", "0.66910774", "0.6688871", "0.6688127", "0.66731036", "0.664234...
0.0
-1
Sets the description of this XapiActivityDefinition.
def JBZA(YKHO, JBZA): YKHO._description = JBZA
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JBZA(YKHO, BWXx):\n YKHO.definition.description = BWXx", "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def AqxA(YKHO, QoB4: str) -> None:\n YKHO.metadata.data['description'] = QoB4", "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO.description = ...
[ "0.6504493", "0.6461133", "0.6436999", "0.64335847", "0.6423845", "0.63952726", "0.6389435", "0.6389435", "0.6389435", "0.6389435", "0.6328096", "0.6325781", "0.6325781", "0.6325781", "0.6325781", "0.6214217", "0.6097988", "0.6085367", "0.60729986", "0.60193044", "0.6014856",...
0.63695294
49
Sets the type of this XapiActivityDefinition.
def type(YKHO, type): YKHO._type = type
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TG_K(YKHO, type):\n YKHO.type = type", "def TG_K(YKHO, type):\n YKHO.type = type", "def eT6f(YKHO, EhYO):\n return dCYV.ActivityType(YKHO, EhYO)", "def TG_K(YKHO, type):\n YKHO._type = type", "def type(YKHO, type):\n if type is None:\n raise ValueError('Invalid value for `type`, m...
[ "0.6759379", "0.6759379", "0.67230564", "0.66976887", "0.6511598", "0.6511598", "0.6511598", "0.64901173", "0.64503807", "0.6449069", "0.6431961", "0.6431961", "0.6392932", "0.6391411", "0.6391411", "0.6295457", "0.6295457", "0.62109745", "0.6149191", "0.6088811", "0.6054531"...
0.6396301
34
Sets the interaction_type of this XapiActivityDefinition.
def QIAT(YKHO, QIAT): YKHO._interaction_type = QIAT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dgx0(YKHO, hJrH: dict):\n YKHO._interactions = hJrH", "def TG_K(YKHO, type):\n YKHO._type = type", "def PHUN(YKHO, type):\n YKHO.execution_type = type", "def TG_K(YKHO, type):\n YKHO.type = type", "def TG_K(YKHO, type):\n YKHO.type = type", "def eT6f(YKHO, EhYO):\n return dCYV.Activ...
[ "0.5839863", "0.5609744", "0.5606239", "0.5593561", "0.5593561", "0.5423773", "0.542183", "0.542183", "0.542183", "0.54202527", "0.53968126", "0.5381194", "0.53191566", "0.53191566", "0.5311249", "0.5304102", "0.5289866", "0.5289866", "0.5289866", "0.5289866", "0.5289866", ...
0.8043776
0
Sets the choices of this XapiActivityDefinition.
def mrPm(YKHO, mrPm): YKHO._choices = mrPm
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mrPm(YKHO, mrPm: Iterable[Tuple[str, str]]):\n try:\n iter(mrPm)\n except TypeError:\n raise TypeError(\"'choices' isn't a valid iterable\")\n NUB2 = []\n for YRbF, (gyjO, xmyx) in enumerate(mrPm):\n NUB2.append((str(gyjO), str(xmyx)))\n if len(NUB2) < 2:\n raise Valu...
[ "0.63967466", "0.5922315", "0.555645", "0.55435973", "0.5459039", "0.53439164", "0.5308223", "0.52620864", "0.5150234", "0.50988597", "0.5052014", "0.5052004", "0.5031704", "0.4979425", "0.49375927", "0.48581317", "0.4835073", "0.4835073", "0.47601628", "0.4755359", "0.475511...
0.71045566
0
Sets the source of this XapiActivityDefinition.
def JZXy(YKHO, JZXy): YKHO._source = JZXy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xUuB(YKHO, JZXy):\n YKHO.data['source'] = JZXy", "def RDpV(YKHO, *qIxc):\n return _VfD.ExternalModelDefinition_setSource(YKHO, *qIxc)", "def YcVY(YKHO, JZXy):\n YKHO._source = JZXy", "def JZXy(YKHO, JZXy: Source):\n YKHO._source = JZXy", "def xUuB(YKHO, KoHv):\n YKHO.source = KoHv", "d...
[ "0.73185915", "0.72253627", "0.70042753", "0.6929919", "0.69140166", "0.67720854", "0.65249795", "0.6447547", "0.6362885", "0.62801546", "0.6198844", "0.6198844", "0.6152265", "0.6133488", "0.6129547", "0.6081656", "0.60280246", "0.60010403", "0.59713244", "0.5919026", "0.587...
0.71193945
8
Sets the extensions of this XapiActivityDefinition.
def CBZq(YKHO, CBZq): YKHO._extensions = CBZq
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BQNP(YKHO, CBZq: Dict[str, str]) -> None:\n YKHO.extensions = CBZq", "def aPej(YKHO, YBcr):\n if YBcr:\n YKHO.extension = YBcr\n else:\n YKHO.extension = None", "def CBZq(Emd4):\n raise NotImplementedError", "def LMgP(YKHO, LMgP):\n YKHO._extension_attributes = LMgP", "def ...
[ "0.6449373", "0.6285618", "0.5845395", "0.5802265", "0.5802265", "0.5787033", "0.56601024", "0.5616033", "0.56079364", "0.5589066", "0.5587543", "0.54442525", "0.5423955", "0.5389426", "0.53421164", "0.53269005", "0.53126067", "0.527798", "0.5252857", "0.52410066", "0.519096"...
0.7274568
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, bUWX): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.80886984", "0.80886984", "0.8055307", "0.7983415", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", "0.79673034", ...
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 if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748" ]
0.0
-1
Init the sparse layer
def FIMM(YKHO, AGPF, d6pt, WKvO, yzQ0, aqpm, gwAu, MEOC): YKHO.directory = AGPF YKHO.w_filename = Hy7s.path.join(AGPF, 'sp.%d.w.npy' % d6pt) YKHO.leak_filename = Hy7s.path.join(AGPF, 'sp.%d.leak.npy' % d6pt) YKHO.threshold_filename = Hy7s.path.join(AGPF, 'sp.%d.threshold.npy' % d6pt) if not Hy7s.pat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rFSS(YKHO, gEmA):\n pass", "def FIMM(YKHO, ItyN=0):\n if ItyN not in (0, 1):\n raise ValueError('Invalid index base')\n YKHO.api = bkwd()\n YKHO.idxbase = (KpXe, vNe9)[ItyN]", "def GhBO(vhpA, o_OR, M1Jx=0.01, t3eI=None):\n if vhpA.ndimension() != 2:\n raise ValueError('Only ten...
[ "0.7932703", "0.65742", "0.6531526", "0.6451142", "0.6419857", "0.63293505", "0.62560326", "0.62102973", "0.6203085", "0.61957467", "0.6160203", "0.6158572", "0.61111516", "0.6109669", "0.6089287", "0.60848147", "0.6062623", "0.602183", "0.60130715", "0.5988288", "0.59418225"...
0.0
-1
Mock out _branch, this is tested by TestBranch.
def dKOh(): with TMAJ.patch.object(jehQ, '_branch') as dKOh: yield dKOh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V3ra(YKHO):\n ejh1 = YKHO.GIT_REPO_DIR\n if not Hy7s.path.isdir(ejh1):\n Hy7s.mkdir(ejh1)\n YKHO.addCleanup(RDuA.rmtree, ejh1)\n with YKHO.assertRaisesRegexp(nNj3, nNj3.REMOTE_BRANCH_MISSING):\n _t2w.add_repo(YKHO.TEST_REPO, ejh1 / 'edx4edx_lite', 'asdfasdfasdf')\n _t2w.add_repo(YK...
[ "0.65736276", "0.63967484", "0.63671947", "0.63618445", "0.63068736", "0.6106301", "0.61058015", "0.6075282", "0.6075282", "0.6057084", "0.6010536", "0.597324", "0.58579177", "0.5852116", "0.5834708", "0.57880634", "0.5748627", "0.574554", "0.57327986", "0.5725962", "0.572367...
0.8044098
0
Branch if zero flag is set.
def AEAY(YKHO, kQRZ, dKOh, v0S1): kQRZ.status.zero = v0S1 jehQ.branch_if_equal(kQRZ, 10) dKOh.assert_called_with(kQRZ, v0S1, 10)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Witr(YKHO) -> bool:\n return YKHO.field.zero == YKHO", "def Witr(YKHO):\n return YKHO._num == 0", "def Witr(YKHO, jzdc):\n return not jzdc", "def PNxx(YKHO):\n return YKHO.count == 0", "def PNxx(YKHO):\n return YKHO.p.isZero() & (YKHO.q.isZero() == False)", "def CgEI(YKHO):\n return...
[ "0.73442435", "0.7181189", "0.7122789", "0.7102199", "0.7065632", "0.69411767", "0.6940129", "0.69140744", "0.6856125", "0.68253845", "0.67980355", "0.67463285", "0.6736373", "0.6630716", "0.6627824", "0.66026205", "0.6597612", "0.6459335", "0.6395207", "0.6393147", "0.639208...
0.5739825
68
Calculate the objective based on the objective and the splitted kl divergence constraints.
def YEnM(YKHO, Wc9F): N4x4 = YKHO.shuffle_up_stats(Wc9F) YEnM = YKHO.main_obj(Wc9F, N4x4) gkIT = YKHO.main_constraints(Wc9F, N4x4) for CWnC, Z9rn in zip(YKHO.lagrange_mults, gkIT): YEnM = YEnM + ht2j.exp(CWnC) * Z9rn return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o7wU(YKHO, B90W):\n YKHO._dL_dl = (B90W * YKHO.variance * YKHO._K_dvar * (YKHO.input_dim / 2.0 * (YKHO._lengthscales_two.T ** 4 - YKHO._lengthscales ** 4) + 2 * YKHO._lengthscales2 * YKHO._K_dist2) / (YKHO._w2 * YKHO._w2 * YKHO._lengthscales)).sum(1)\n if YKHO._lengthscales_two is YKHO._lengthscales:\n ...
[ "0.6217784", "0.6212105", "0.6027963", "0.5963192", "0.5909733", "0.58576703", "0.5830954", "0.5765679", "0.5753141", "0.57248574", "0.57196516", "0.57000875", "0.56685066", "0.56663084", "0.5661085", "0.5649493", "0.5645775", "0.56212664", "0.5609901", "0.55843425", "0.55436...
0.0
-1
The list of recognized values for this property.
def t_fo(YKHO): return list(sorted(YKHO._usr_to_hw.keys()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hkxX(YKHO) -> list:\n return YKHO.__values", "def oKbK(YKHO):\n return YKHO._get_attribute('values')", "def hkxX(YKHO):\n return [YRbF.value for YRbF in YKHO.value]", "def hkxX(YKHO):\n return list((ZfUD.value for ZfUD in YKHO.mechanisms))", "def hkxX(YKHO) -> x1iM[S8rZ]:\n raise NotImpl...
[ "0.7776817", "0.7579224", "0.75233203", "0.7514931", "0.7509868", "0.74423045", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", "0.7410171", ...
0.6881653
65
Test load and unload of a ConfigEntry.
async def test_unload_entry(ajET: HomeAssistant, Vkil: ComponentSetup) -> None: await Vkil() VECZ = ajET.config_entries.async_entries(Sugg) assert len(VECZ) == 1 bTKY = VECZ[0] assert bTKY.state is gpxd.LOADED assert await ajET.config_entries.async_unload(bTKY.entry_id) assert bTKY.state == ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_load_unload_config_entry(ajET: HomeAssistant, XRWJ: MockConfigEntry, TBXe: str) -> None:\n foZf = f'{TBXe}/file.txt'\n o6vr(foZf)\n ajET.config.allowlist_external_dirs = {TBXe}\n XRWJ.add_to_hass(ajET)\n ajET.config_entries.async_update_entry(XRWJ, unique_id=foZf, data={rv5R: foZf})\n...
[ "0.8022712", "0.80203575", "0.79891366", "0.7923256", "0.7873219", "0.7767407", "0.7665732", "0.7546089", "0.7456372", "0.7408131", "0.739424", "0.73715615", "0.7255246", "0.7148939", "0.6830259", "0.6702352", "0.6620025", "0.6504506", "0.6490757", "0.64709985", "0.64536756",...
0.7563836
7
Test setup where existing token does not have sufficient scopes.
async def test_existing_token_missing_scope(ajET: HomeAssistant, bE3z: list[str], Vkil: ComponentSetup, PhL6: MockConfigEntry) -> None: await Vkil() VECZ = ajET.config_entries.async_entries(Sugg) assert len(VECZ) == 1 assert VECZ[0].state is gpxd.SETUP_ERROR SKxV = ajET.config_entries.flow.async_pro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jTcC(YKHO):\n GPtr.set(xsrf_token_key=None)\n Wt9E = BfDw.XsrfTool()\n eOtH = Wt9E.generate_token(12345, 'test_action')\n YKHO.assertTrue(Wt9E.verify_token(eOtH, 12345, 'test_action'))", "def BaGC(NCls, AZgw):\n gCuF.AUTH0_CLIENT = None\n TMAJ = AZgw.patch('creator.authentication.requests.p...
[ "0.66060394", "0.6446283", "0.6427734", "0.6411109", "0.6395821", "0.6386319", "0.6365879", "0.6337021", "0.6335847", "0.63339245", "0.6327335", "0.62977475", "0.6295482", "0.62670904", "0.62594974", "0.6250421", "0.6250282", "0.6245764", "0.62408274", "0.62391514", "0.622701...
0.7784333
0
Test setup with yaml file not found.
async def test_calendar_yaml_error(ajET: HomeAssistant, Vkil: ComponentSetup, dAxl: ApiResult, A3f9: dict[str, Any], Ijyp: ApiResult) -> None: dAxl({'items': [A3f9]}) Ijyp({}) with Po4F('homeassistant.components.google.open', side_effect=FileNotFoundError()): assert await Vkil() assert not ajET....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VkCO(YKHO) -> None:\n with trZe.raises(FileNotFoundError):\n yfd6().parse('test/missing_file.yaml')", "def XlSi(YKHO):\n YKHO.assertTrue(Hy7s.path.exists('{}/app_spec.yml'.format(YKHO.APP_PATH)), msg='[app_spec.yml] file does not exist')", "def tqMA(YKHO):\n with open('.scuba.yml', 'w') as ...
[ "0.74152607", "0.7413427", "0.6991487", "0.6955671", "0.691142", "0.69004154", "0.6897618", "0.6892862", "0.6860334", "0.68401754", "0.6835258", "0.68158424", "0.6802351", "0.6773036", "0.67707884", "0.6753141", "0.67109007", "0.66665125", "0.66293705", "0.66253906", "0.66045...
0.0
-1
Test case where reauth is required for token that cannot be refreshed.
async def test_expired_token_requires_reauth(ajET: HomeAssistant, Vkil: ComponentSetup, bFCs: AiohttpClientMocker) -> None: bFCs.post('https://oauth2.googleapis.com/token', status=Xqgu.HTTPStatus.BAD_REQUEST) await Vkil() VECZ = ajET.config_entries.async_entries(Sugg) assert len(VECZ) == 1 assert VE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eIrQ(YKHO):\n m5r4 = 'application/x-www-form-urlencoded'\n F1zQ = YKHO.app.post('/v1/openid/token', params={'refresh_token': 'invalid_refresh_token', 'grant_type': 'refresh_token'}, content_type=m5r4, expect_errors=True)\n YKHO.assertEqual(401, F1zQ.status_code)\n YKHO.assertIsNotNone(F1zQ.json)\n ...
[ "0.6976277", "0.6827745", "0.6798438", "0.669153", "0.6671915", "0.66000515", "0.65949583", "0.6585366", "0.6570169", "0.6564486", "0.65555704", "0.6543437", "0.6532987", "0.64937395", "0.64608955", "0.64507073", "0.6448669", "0.6445473", "0.64415866", "0.6359006", "0.6355563...
0.7794217
0
Test load and remove of a ConfigEntry.
async def test_remove_entry(ajET: HomeAssistant, dAxl: ApiResult, Vkil: ComponentSetup, A3f9: dict[str, Any], Ijyp: ApiResult) -> None: dAxl({'items': [A3f9]}) Ijyp({}) assert await Vkil() VECZ = ajET.config_entries.async_entries(Sugg) assert len(VECZ) == 1 bTKY = VECZ[0] assert bTKY.state i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_unload_entry(ajET: HomeAssistant) -> None:\n bTKY = Jaru(domain=Sugg, unique_id='0123456789', data=IYZS, options=UlR_)\n bTKY.add_to_hass(ajET)\n await ajET.config_entries.async_setup(bTKY.entry_id)\n await ajET.async_block_till_done()\n assert await ajET.config_entries.async_unload(b...
[ "0.759869", "0.75549847", "0.7544417", "0.73696977", "0.7236668", "0.719791", "0.7075915", "0.70416075", "0.7039041", "0.70076984", "0.6918488", "0.68095267", "0.6795073", "0.679088", "0.6783482", "0.664579", "0.64243895", "0.63123125", "0.629524", "0.62842274", "0.6278386", ...
0.66271853
16
Convert to json string representation.
def oD7C(YKHO) -> str: YEnM = {'name': YKHO.name, 'project_id': YKHO.project_id} if YKHO.due_date is not None: YEnM['due_date'] = YM4S.str_from_date(YKHO.due_date) if YKHO.open_method is not None: YEnM['open_method'] = YKHO.open_method return qQXR.dumps(YEnM)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oD7C(YKHO) -> str:\n return qQXR.dumps(lKKu(YKHO))", "def Bpko(YKHO):\n return qQXR.dumps(YKHO.toDict(), default=str)", "def oD7C(YKHO) -> str:\n return qQXR.dumps(YKHO.to_dict())", "def oD7C(YKHO) -> str:\n return qQXR.dumps(YKHO.to_dict())", "def oD7C(YKHO) -> str:\n return qQXR.dumps(...
[ "0.8400197", "0.8384769", "0.8369793", "0.8369793", "0.8369793", "0.8369793", "0.8369793", "0.8369793", "0.8369793", "0.8369793", "0.8369793", "0.8300007", "0.8238099", "0.8200652", "0.8197334", "0.81889313", "0.8167703", "0.81671494", "0.81524897", "0.81325126", "0.8110952",...
0.0
-1
Returns the minimax action using self.depth and self.evaluationFunction
def bk5W(YKHO, Ov5A): """*** YOUR CODE HERE ***""" G9jH.info('-' * 80) G9jH.info(f'{YKHO.agentLogPrefix[1]} NEW GAME STATE') G9jH.info('-' * 80) G9jH.info(f'{YKHO.agentLogPrefix[1]} Number of agents in game state: {Ov5A.getNumAgents()}') Xz9E = Ov5A.getLegalActions(0) if 'Stop' in Xz9E: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bk5W(YKHO, Ov5A: GameState):\n SkJr = float('-inf')\n XeOP = None\n for BZN_ in Ov5A.getLegalActions(0):\n gnPz = SR1K(YKHO.evaluationFunction, 1, 0, Ov5A.generateSuccessor(0, BZN_), YKHO.depth)\n if gnPz > SkJr or SkJr == float('-inf'):\n SkJr = gnPz\n XeOP = BZN_\...
[ "0.7482665", "0.7383559", "0.71806973", "0.7110041", "0.70884514", "0.70694935", "0.70683014", "0.7048308", "0.70055133", "0.69651455", "0.69642085", "0.69604385", "0.6945924", "0.68998593", "0.6895832", "0.688605", "0.6826282", "0.6767276", "0.6758028", "0.6751636", "0.67054...
0.0
-1
Convert given arithmetic expression from infix to postfix notation. All values are still strings!
def XtMr(RC9w): eCKq = [] hlel = [] BWXx = '' for ZfUD in RC9w: if ZfUD in YDwd.keys(): BWXx = luCk(BWXx, hlel) while eCKq and eCKq[-1] in YDwd.keys() and (YDwd[ZfUD] <= YDwd[eCKq[-1]]): hlel.append(eCKq.pop()) eCKq.append(ZfUD) elif Zf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XtMr(VN2L):\n eRdl = {'*': 2, '/': 2, '+': 1, '-': 1}\n IPme = S9Ut()\n hEAh = []\n Q4kH = VN2L.split()\n RUgX = {'*', '/', '+', '-'}\n for WKvO in Q4kH:\n if str.isdigit(WKvO):\n hEAh.append(WKvO)\n elif IPme.empty() or IPme.peek() == '(':\n IPme.push(WKvO...
[ "0.834373", "0.8128928", "0.8122822", "0.81204855", "0.8106586", "0.7954634", "0.79336905", "0.79245865", "0.7897057", "0.78880167", "0.7883429", "0.7792683", "0.7710143", "0.76627606", "0.76539844", "0.7609844", "0.7577497", "0.75693846", "0.7565942", "0.75258374", "0.745146...
0.79408216
6
Get the squared length of the vector. It is more efficent to use this method instead of first call get_length() or access .length and then do a sqrt().
def mVxY(YKHO): return YKHO.x ** 2 + YKHO.y ** 2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u54L(Ty9i: Vec2) -> float:\n return PZyS(Ty9i.x ** 2 + Ty9i.y ** 2)", "def L3jt(Ty9i):\n return PZyS(s2vS(Ty9i, Ty9i))", "def u54L(YKHO):\n return epAf.sqrt(YKHO * YKHO)", "def u54L(YKHO):\n return oyIN.sqrt(oyIN.sum(YKHO ** 2, axis=1)).view(oyIN.ndarray)", "def pCBL(YKHO):\n return YKHO...
[ "0.7831202", "0.759173", "0.74314445", "0.7365504", "0.73259526", "0.72921103", "0.7283824", "0.7281241", "0.7228554", "0.7208371", "0.7189134", "0.7187073", "0.7173903", "0.7167899", "0.7068089", "0.7037926", "0.7018666", "0.6989105", "0.69523925", "0.69243467", "0.69145507"...
0.7167348
14
Rotate the vector by angle_radians radians.
def N0Pp(YKHO, EZmw): YhSR = epAf.cos(EZmw) YUNn = epAf.sin(EZmw) WKvO = YKHO.x * YhSR - YKHO.y * YUNn LVAh = YKHO.x * YUNn + YKHO.y * YhSR YKHO.x = WKvO YKHO.y = LVAh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N0Pp(iArr, YylR):\n return (oyIN.cos(YylR) * iArr[0] + oyIN.sin(YylR) * iArr[1], -oyIN.sin(YylR) * iArr[0] + oyIN.cos(YylR) * iArr[1])", "def N0Pp(YKHO, Y_1E):\n YKHO._impl.rotate(Y_1E)", "def z2tq(YKHO, EZmw):\n YhSR = epAf.cos(EZmw)\n YUNn = epAf.sin(EZmw)\n WKvO = YKHO.x * YhSR - YKHO.y *...
[ "0.74542713", "0.7453651", "0.7389695", "0.7318212", "0.73095465", "0.7300693", "0.7126374", "0.70702684", "0.6974702", "0.6883641", "0.68153864", "0.67945826", "0.6788158", "0.67712146", "0.67669564", "0.6765863", "0.67575383", "0.67490095", "0.6743272", "0.6676891", "0.6656...
0.7360493
3
Rotate the vector by angle_degrees degrees.
def KCit(YKHO, Lil2): YKHO.rotate(epAf.radians(Lil2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N0Pp(iArr, YylR):\n return (oyIN.cos(YylR) * iArr[0] + oyIN.sin(YylR) * iArr[1], -oyIN.sin(YylR) * iArr[0] + oyIN.cos(YylR) * iArr[1])", "def XyWv(he6J, YylR, _IXK=True):\n if _IXK:\n YylR = oyIN.radians(YylR)\n Mkmy = oyIN.array([[oyIN.cos(-YylR), -oyIN.sin(-YylR)], [oyIN.sin(-YylR), oyIN.co...
[ "0.7969212", "0.78765684", "0.7647407", "0.7609061", "0.76077545", "0.743453", "0.741273", "0.73943216", "0.7259116", "0.7219938", "0.71916103", "0.71554196", "0.7150546", "0.715036", "0.7139389", "0.7086456", "0.7057819", "0.6987557", "0.6970409", "0.69501626", "0.6892157", ...
0.7844516
2
Get a normalized copy of the vector
def HBfW(YKHO): u54L = YKHO.length if u54L != 0: return YKHO / u54L return DKJk(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HBfW(YKHO):\n len = YKHO.length\n return lNLu(YKHO.x / len, YKHO.y / len)", "def NkkI(YKHO):\n YKHO.vector /= oyIN.linalg.norm(YKHO.vector)", "def NkkI(YKHO):\n return lNLu(YKHO.args + []) / YKHO.magnitude()", "def NkkI(YKHO):\n CkYf = YKHO.norm()\n if CkYf == 0:\n raise ValueErr...
[ "0.81880546", "0.81318676", "0.81098855", "0.8078848", "0.7996261", "0.7970171", "0.79353726", "0.7922742", "0.79148006", "0.7909998", "0.7863563", "0.7835526", "0.7814056", "0.77766263", "0.77655596", "0.7762696", "0.77525884", "0.77299833", "0.772563", "0.7662124", "0.76149...
0.80740744
4
Normalize the vector and return its length before the normalization
def b8ZX(YKHO): u54L = YKHO.length if u54L != 0: YKHO.x /= u54L YKHO.y /= u54L return u54L
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AArG(iArr):\n return oyIN.linalg.norm(iArr)", "def NkkI(he6J):\n T8H5 = oyIN.min(he6J)\n Np5D = oyIN.max(he6J)\n if T8H5 != Np5D:\n jRKZ = (he6J - T8H5) / (Np5D - T8H5)\n return jRKZ\n return he6J", "def NkkI(he6J):\n return he6J / u54L(he6J)", "def u54L(he6J):\n return...
[ "0.7846285", "0.78378594", "0.780802", "0.77802336", "0.766075", "0.7448021", "0.7428014", "0.7389455", "0.73492056", "0.7339038", "0.731229", "0.72943395", "0.72908527", "0.7218219", "0.7215954", "0.72006273", "0.7187827", "0.71774834", "0.71501124", "0.7108761", "0.7092399"...
0.69877356
26
A unit vector pointing up
def PXGI(): return DKJk(0, 1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PXGI(YKHO):\n return lNLu(YKHO.x / YKHO.length(), YKHO.y / YKHO.length())", "def siQz(YKHO):\n return lNLu.createFromPolar(1, YKHO.angle)", "def PXGI(XSoh):\n return lNLu(0, -1).rotate(XSoh)", "def j8U8(YKHO, iArr):\n return iArr / oyIN.linalg.norm(iArr)", "def ECss(YKHO, Ty9i):\n return...
[ "0.7451307", "0.7118181", "0.70831156", "0.6992387", "0.6897176", "0.6890229", "0.6890229", "0.6890229", "0.6878542", "0.68711114", "0.6854694", "0.68440104", "0.68313295", "0.6804538", "0.6782493", "0.6782493", "0.6782493", "0.6782493", "0.6782493", "0.6782493", "0.6782493",...
0.7370234
1
Get the domain name from an email address. 'a.person.com' becomes 'email'.
def TUwv(YKHO, Yt5Y: pd.Series): return Yt5Y.str.extract(YKHO.email_extract_re, expand=False).map(lambda zrIJ: '' if zrIJ in YKHO.blacklist_domains else zrIJ).pipe(YKHO._clean_domain_punctuation)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vK05(Hxmi: str) -> str:\n return Hxmi.lower().split('@')[-1]", "def wZFi(D3lj):\n return D3lj.split('@')[1]", "def Hhdg(D3lj):\n SQ3m = D3lj.split('@')\n if len(SQ3m) == 2:\n return SQ3m[1]\n else:\n return None", "def vK05(fyuc):\n if '@' in fyuc:\n mWFP, rRzo = Ps...
[ "0.89154553", "0.8833268", "0.8532866", "0.8390516", "0.83427054", "0.7603493", "0.734903", "0.72232664", "0.7025018", "0.6775749", "0.67693955", "0.6768244", "0.67385703", "0.65958977", "0.6515175", "0.64847654", "0.6467745", "0.6425446", "0.6401561", "0.6387994", "0.6378444...
0.0
-1
Extract the company uids matching `self.extract_uid_pat` into their own column.
def KNIE(YKHO, H3y3: pd.Series) -> rLdf.Series: F4Ko = (b6H_ for eJTR, b6H_ in YKHO.abolish_patterns.items() if eJTR != 'uid') m4mk = YKHO._clean_name(H3y3, eNCK(*F4Ko)) return m4mk.str.extract(YKHO.extract_uid_pat, expand=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jfso(rdlD):\n global unknown_company_count_global\n Sq7O = []\n Mau6 = rdlD['text_derived'].lower()\n taDc = rdlD['user_screen_name'].lower()\n for WkUN in bNC7:\n if ZbWC.compile(taDc).fullmatch(WkUN[2]):\n Sq7O.append(WkUN[0])\n break\n if WkUN[1].search(Mau...
[ "0.54834795", "0.5477508", "0.5406373", "0.50166327", "0.4832243", "0.47998986", "0.47831786", "0.4651213", "0.46463442", "0.46406296", "0.4630403", "0.46233618", "0.46153215", "0.45944312", "0.45875332", "0.45853752", "0.45391092", "0.45289016", "0.4524619", "0.45049787", "0...
0.58374155
0
Preprend implicit leading singleton dimensions. This is necessary for proper numpy broadcasting. Consider the following
def BrGw(*qIxc): if len(qIxc) < 2: return qIxc else: N8OZ = [oLG2.shape(d7pR) for d7pR in qIxc] ooTa = FePL.broadcast_shapes(*N8OZ) P9o9 = len(ooTa) return [oLG2.reshape(d7pR, (1,) * (P9o9 - len(KCHu)) + KCHu) if len(KCHu) < P9o9 else d7pR for d7pR, KCHu in zip(qIxc, N8OZ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H9jG(a1PO, fZxG=1):\n zKuU = uM5J(a1PO)\n mXDZ = ['x'] * fZxG + [YRbF for YRbF in Ni9Y(zKuU.type.ndim)]\n return kxlR(zKuU.broadcastable, mXDZ)(zKuU)", "def L96_(jzdc):\n if jzdc.ndim == 0:\n jzdc.shape = (1,)\n return jzdc", "def GbUX(vhpA, tpio):\n Wo6j = vhpA.dim() - tpio\n a...
[ "0.59460205", "0.5675864", "0.5613765", "0.560267", "0.55998707", "0.5570987", "0.5558652", "0.55425847", "0.5521986", "0.55159825", "0.54067093", "0.53944457", "0.5344898", "0.53409255", "0.53316176", "0.5324975", "0.5322167", "0.5291655", "0.52658117", "0.5253124", "0.52280...
0.0
-1
Test the tag string representation
def Yhvr(YKHO): TZ9E = FYrf.Tag.objects.create(user=nIoS(), name='Docker') YKHO.assertEqual(str(TZ9E), TZ9E.name)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yhvr(YKHO):\n TZ9E = FYrf.Tag.objects.create(user=nIoS(), name='Internal')\n YKHO.assertEqual(str(TZ9E), TZ9E.name)", "def Yhvr(YKHO):\n TZ9E = FYrf.Tag.objects.create(user=nIoS(), name='Vegan')\n YKHO.assertEqual(str(TZ9E), TZ9E.name)", "def Yhvr(YKHO):\n TZ9E = FYrf.Tag.objects.create(user...
[ "0.7169322", "0.6938016", "0.6938016", "0.69214636", "0.692024", "0.68987286", "0.68849856", "0.68607813", "0.66859275", "0.6493124", "0.6378444", "0.6312169", "0.63072884", "0.6214954", "0.61638004", "0.6154574", "0.6083939", "0.6064174", "0.6059077", "0.59844977", "0.594746...
0.70695263
1
Create a new user through a superuser. \f
async def create_user(X2Ps: AuthUserPublic=JHvC(RHOq), BGqR: AuthUserCreationForm=JHvC()) -> So03: if not X2Ps.is_superuser: raise pgG1(status_code=jGRS.HTTP_403_FORBIDDEN, detail='Permission denied.') try: CBIr = hqmd(**BGqR.dict()) except Exception: raise pgG1(status_code=jGRS.HTTP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HvMu():\n D3lj = idDS('User E-Mail')\n JAPf = idDS('Confirm E-Mail')\n if not D3lj == JAPf:\n HwRy.exit('\\nCould not create user: E-Mail did not match')\n if not abGk.match(D3lj):\n HwRy.exit('\\nCould not create user: Invalid E-Mail addresss')\n jTXt = GgOB('User password')\n ...
[ "0.8093182", "0.8034714", "0.8005862", "0.7892218", "0.7883257", "0.78692764", "0.78453225", "0.78451777", "0.78413445", "0.77908325", "0.77676547", "0.7754382", "0.77442443", "0.77363753", "0.7733197", "0.77246505", "0.77220684", "0.7712074", "0.7711902", "0.7705642", "0.770...
0.0
-1
Setup the Weather Underground API wrapper.
def FIMM(YKHO, H5ew): try: if not isinstance(H5ew, (QMSQ, str)): raise TypeError('key is not of type unicode or str.') except NameError: if not isinstance(H5ew, str): raise TypeError('key is not of type str.') YKHO.key = H5ew bo34.debug('WU(key: %s)', YKHO.key)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, rJDA='3d34a9a9b0e544269a3ddbb97ec89ba7', mXWk='https://api.weatherbit.io/v2.0/current', zLbM='https://api.weatherbit.io/v2.0/forecast/hourly?'):\n YKHO.API_KEY = rJDA\n YKHO.API_CURRENT = mXWk\n YKHO.API_FORECAST = zLbM", "def cM5c(Emd4):\n uIcm(api_key=WXSU, app_key=RXHg, api_host=tKU...
[ "0.6558916", "0.6364426", "0.6305757", "0.60877883", "0.5884078", "0.5875779", "0.5787939", "0.576882", "0.5765331", "0.5765331", "0.5744964", "0.5735187", "0.57289064", "0.5687842", "0.56821775", "0.5669815", "0.56687194", "0.5664689", "0.56641424", "0.56061417", "0.559538",...
0.0
-1
Returns the GPS coordinates of a node in the form of a (lat, lon) tuple given its id number
def Mcvp(nPrm, id): return (nPrm[id]['lat'], nPrm[id]['lon'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pM9A(TTbv, TJ0Q):\n RwuH = TJ0Q[TTbv]\n if RwuH == None:\n return None\n ZRBI = int(TTbv[0])\n zP7G = int(TTbv[1])\n dZ98 = int(TTbv[2])\n vCeL = int(TTbv[3])\n WKvO = ZRBI * 10 + zP7G\n LVAh = dZ98 * 10 + vCeL\n WKvO = float(WKvO) + RwuH[0]\n LVAh = float(LVAh) + RwuH[1]\n...
[ "0.71329355", "0.69038033", "0.68649656", "0.6678277", "0.64483297", "0.6437842", "0.6384114", "0.63782245", "0.6376769", "0.63460857", "0.62688994", "0.6231134", "0.620093", "0.61817425", "0.6147002", "0.6127867", "0.6123884", "0.61216366", "0.6117178", "0.61138505", "0.6066...
0.7358231
0
Calculates the closest node in the given dataset to a specified query location
def QNg3(nPrm, hksT): uYq_ = None mp07 = None for YRbF in nPrm: pImw = T97B(Mcvp(nPrm, YRbF), hksT) if mp07 is None or pImw < uYq_: mp07 = YRbF uYq_ = pImw return mp07
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UYdI(YKHO, xDcj):\n EzQP = list(map(lambda a1PO: a1PO.get_nearest_neighbor(xDcj), YKHO.trees))\n Jbf8 = list(zip(map(lambda WKvO: YKHO.dist_fn(WKvO, xDcj), YKHO.pool), YKHO.pool))\n P6Dd = None\n BFD8 = oyIN.inf\n for sSN_, Qh4y in EzQP + Jbf8:\n if sSN_ <= BFD8:\n P6Dd = Qh4y\...
[ "0.6762309", "0.64828414", "0.6479973", "0.63704467", "0.6340299", "0.6289788", "0.6275571", "0.6218076", "0.6161571", "0.61138684", "0.6088722", "0.6031872", "0.60286736", "0.59927785", "0.59881276", "0.59858656", "0.59744406", "0.58517927", "0.5811977", "0.58055955", "0.576...
0.7300712
0
Returns all (context, reward) where the action was played.
def yLtf(YKHO, XeOP): exwG, bGrB = YKHO.contexts.shape QyVM = oyIN.array([YRbF for YRbF in range(exwG) if YKHO.actions[YRbF] == XeOP]) return (YKHO.contexts[QyVM, :], YKHO.rewards[QyVM, XeOP])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nFcm(YKHO):\n return YKHO._mdp.R[YKHO._prev_state, YKHO._cur_state]", "def RN0m(YKHO):\n return YKHO._action_history", "def k6pM(YKHO, xzj7: Player) -> cuzp[eax5, cuzp[eax5, Ca9i]]:\n if len(xzj7.history) == 0:\n zVUj = YKHO._random.random_choice()\n else:\n zVUj = xzj7.history[-1...
[ "0.6147814", "0.6022552", "0.59876364", "0.5973903", "0.5973903", "0.5939489", "0.5894192", "0.5869531", "0.58425534", "0.5841221", "0.5807607", "0.5780774", "0.5763582", "0.57488453", "0.573541", "0.5716168", "0.5705829", "0.570321", "0.57015854", "0.56991476", "0.56766206",...
0.70654607
0
Returns all observations with onehot weights for actions.
def JwqH(YKHO): _mSQ = oyIN.zeros((YKHO.contexts.shape[0], YKHO.num_actions)) qHsM = oyIN.array([(YRbF, wEf2) for YRbF, wEf2 in enumerate(YKHO.actions)]) _mSQ[qHsM[:, 0], qHsM[:, 1]] = 1.0 return (YKHO.contexts, YKHO.rewards, _mSQ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KLLm(Crrw):\n GQ7f = oyIN.zeros(Crrw.shape + (phY3,))\n for Z9rn in range(phY3):\n GQ7f[Crrw == Z9rn, Z9rn] = 1.0\n return GQ7f", "def ZOyz(YKHO, XeOP):\n VNqG = ht2j.zeros(XeOP.size()[0], YKHO.action_dim, dtype=ht2j.float32, device=XeOP.device)\n return VNqG.scatter_(1, XeOP.unsqueeze(...
[ "0.69358236", "0.6899132", "0.6899132", "0.6894169", "0.66251886", "0.63907874", "0.639023", "0.6163317", "0.6143546", "0.60526687", "0.605132", "0.6032157", "0.59430504", "0.5936057", "0.59028864", "0.58790654", "0.5878528", "0.586545", "0.58595264", "0.5852528", "0.58412504...
0.6504188
5
Get the best matched entity for a given query. If the entity is an alias of another entity, the aliased entity is returned.
def m8z6(YKHO, QePW, zrIJ): nPrm = QePW.data.copy() xoTz = nPrm.get('query_field') _s6a = nPrm.get('query_value') gzOJ = nPrm.get('return_canonical', True) vu28 = nPrm.get('block_attrs', {}) EjJJ = nPrm.get('scorer', 'fuzzywuzzy.default_process') try: HjDq = Optw('crosswalk.scorers.{...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def J0U3(DoML):\n try:\n Cjlf = nNXP.search(DoML, limit=1, outfields=['id', 'title', 'host.title', 'host.volume', 'host.pages.first', 'host.pages.last', 'publicationDate', 'author.name', 'corpusName', 'doi'])\n except VrQA:\n raise\n if len(Cjlf):\n return Cjlf[0]\n else:\n ...
[ "0.56701356", "0.5669867", "0.5421008", "0.54176867", "0.53503567", "0.52362114", "0.52350783", "0.519154", "0.518304", "0.5154471", "0.5130786", "0.5120862", "0.5043723", "0.5017131", "0.49763173", "0.4973963", "0.49389124", "0.49064702", "0.48633072", "0.4856549", "0.484834...
0.0
-1
Returns the snake's curvature energy. The straighter the snake the less the curvature energy. This energy's values are within 0 and 2(n2), where n is the number of control points. The curvature is measured by measuring the angles between all threepairs of control points.
def QtHY(YKHO, D8fe): DMVt = oyIN.equal(D8fe, YKHO.controlpoints).all() if DMVt: YKHO.crv_energies = [] X74i = 0.0 for YRbF in range(len(D8fe)): if YRbF < len(D8fe) - 2: yuVB = D8fe[YRbF] hG4W = D8fe[YRbF + 1] L310 = D8fe[YRbF + 2] gGfO = (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def X74i(YKHO):\n return YKHO.circle().curvature(YKHO.o, YKHO.r, p=YKHO.a)", "def _v41(YKHO):\n B9Au = YKHO.left_fitx.shape[0] - 10\n HOfF = (1 + (2 * YKHO.left_fit[0] * B9Au + YKHO.left_fit[1]) ** 2) ** 1.5 / oyIN.absolute(2 * YKHO.left_fit[0])\n WGLy = (1 + (2 * YKHO.right_fit[0] * B9Au + YKHO.righ...
[ "0.70094925", "0.6831601", "0.6831484", "0.68248147", "0.6619458", "0.6403633", "0.63608927", "0.6249435", "0.6113684", "0.6083346", "0.6066849", "0.5933526", "0.5919591", "0.591756", "0.5869741", "0.5812689", "0.5791419", "0.5716179", "0.5649723", "0.56450933", "0.5627129", ...
0.7586239
0