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
Add Node to scene/group Controller
def t91k(YKHO, Q6kx, I1mm=32): return YKHO.member_add(Q6kx, I1mm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def g5gD(YKHO):\n _AKB = YKHO.nodes[-1]\n UvTl = _AKB.parent\n Jw7X = _AKB.pos[0] - UvTl.pos[0]\n eUWA = _AKB.pos[1] - UvTl.pos[1]\n oeNL = (_AKB.pos[0] + Jw7X, _AKB.pos[1] + eUWA)\n Q6kx = o7DN(oeNL, _AKB)\n YKHO.nodes.append(Q6kx)", "def AKRy(YKHO, Q6kx):\n if not Q6kx._parentRef:\n ...
[ "0.7040466", "0.6982104", "0.6885347", "0.6766951", "0.67241836", "0.6681696", "0.6681696", "0.6670711", "0.66340804", "0.6588626", "0.6579109", "0.6520602", "0.6503196", "0.6496817", "0.64859194", "0.64702404", "0.6468597", "0.64594567", "0.64569277", "0.64441204", "0.643543...
0.0
-1
Add Node to scene/group
def DT9h(YKHO, Q6kx, I1mm=16): Mkmy = YKHO.isy.scene_add_node(YKHO._mydict['address'], Q6kx, flag=16) return Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AKRy(YKHO, Q6kx):\n if not Q6kx._parentRef:\n YKHO._orphanceSceneNodeList.append(Q6kx)\n else:\n _AKB = Q6kx._parentRef()\n if _AKB:\n _AKB._children.append(Q6kx)\n mBge.AddChild(_AKB.GetCoreHandle(), Q6kx.GetCoreHandle())\n evL7.Release(mBge._CRefCou...
[ "0.7563427", "0.7553428", "0.753279", "0.74683285", "0.73610634", "0.73610634", "0.7323551", "0.72601676", "0.725238", "0.72495955", "0.71870774", "0.71650314", "0.71505433", "0.7105079", "0.70988613", "0.70781803", "0.7071663", "0.70450515", "0.6993757", "0.69917697", "0.695...
0.71721673
11
Estimates empirical cumulative distribution function of `data` Taken directly from StackOverflow. See original answer at
def TH2x(nPrm): mvm2 = oyIN.atleast_1d(nPrm) o7bE, BWz1 = oyIN.unique(mvm2, return_counts=True) JxU2 = oyIN.cumsum(BWz1).astype(float) / mvm2.size JxU2, o7bE = (oyIN.append([0], JxU2), oyIN.append(o7bE[0], o7bE)) return (JxU2, o7bE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zt0j(nPrm):\n nPrm.sort()\n InLe = [1.0 / len(nPrm)] * len(nPrm)\n NhCF = oyIN.cumsum(InLe)\n hlel = oyIN.array([nPrm, NhCF])\n return hlel.T", "def Zt0j(nPrm):\n return (oyIN.sort(nPrm), oyIN.arange(1, len(nPrm) + 1) / len(nPrm))", "def Zt0j(nPrm):\n return (oyIN.sort(nPrm), oyIN.aran...
[ "0.792856", "0.77324444", "0.7609412", "0.7603844", "0.7516722", "0.7516722", "0.74994993", "0.7376757", "0.7376757", "0.73511916", "0.73406005", "0.7295068", "0.7280548", "0.7049293", "0.68257827", "0.6807085", "0.6583671", "0.6573844", "0.65738297", "0.65735465", "0.6569910...
0.6541324
23
Converts the matplotlib plot specified by 'figure' to a PNG image and returns it. The supplied figure is closed and inaccessible after this call.
def lsxx(JI1i): LaVg = xDSY.BytesIO() QrM1.savefig(LaVg, format='png') QrM1.close(JI1i) LaVg.seek(0) LNo8 = ZylS.image.decode_png(LaVg.getvalue(), channels=4) LNo8 = ZylS.expand_dims(LNo8, 0) return LNo8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lsxx(JI1i):\n LaVg = xDSY.BytesIO()\n QrM1.savefig(LaVg, format='png', dpi=200)\n QrM1.close(JI1i)\n LaVg.seek(0)\n LNo8 = ZylS.image.decode_png(LaVg.getvalue(), channels=4)\n LNo8 = ZylS.expand_dims(LNo8, 0)\n return LNo8", "def lsxx(JI1i):\n LaVg = xDSY.BytesIO()\n QrM1.savefig(L...
[ "0.78158814", "0.78141147", "0.77945286", "0.7748896", "0.77022153", "0.76719356", "0.7654942", "0.76482636", "0.76393044", "0.76127404", "0.7585735", "0.7585735", "0.7585735", "0.75682515", "0.75675833", "0.7550672", "0.75407237", "0.7473146", "0.7454416", "0.7420445", "0.74...
0.7613991
10
Initialize an empty linked list.
def FIMM(YKHO): YKHO.behind = tbjF(None) YKHO.front = tbjF(None, YKHO.behind) YKHO.final = YKHO.front YKHO.length = 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.dummy_head = NSB4(None, None)\n YKHO.dummy_head.next = YKHO.dummy_head\n YKHO.head = YKHO.dummy_head", "def FIMM(YKHO):\n YKHO._linkedlist = _sfu()\n YKHO.head = YKHO._linkedlist.head\n YKHO._length = YKHO._linkedlist._length\n YKHO.tail = None", "def FIMM(YKHO, W8qs...
[ "0.7830604", "0.7715868", "0.7685926", "0.76446134", "0.7563895", "0.7536394", "0.75271535", "0.75127155", "0.7458071", "0.74529797", "0.7450196", "0.74501693", "0.7411379", "0.7403442", "0.7398948", "0.7392405", "0.7388302", "0.73862517", "0.7371341", "0.734687", "0.73261833...
0.0
-1
Returns the number of items in the LinkedList.
def szAg(YKHO): return YKHO.length
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AQWC(YKHO):\n Q6kx = YKHO.head\n UHFx = 0\n while Q6kx:\n UHFx += 1\n Q6kx = Q6kx.next\n return UHFx", "def u54L(YKHO):\n exwG = 0\n AsCw = YKHO.head\n while AsCw != None:\n exwG += 1\n AsCw = AsCw.next\n return exwG", "def len(YKHO):\n jbXL = YKHO.hea...
[ "0.8476174", "0.8362465", "0.8311194", "0.8269098", "0.8269098", "0.82512987", "0.8232357", "0.8230213", "0.8208205", "0.82072127", "0.8201502", "0.82010895", "0.81997204", "0.8163868", "0.81611603", "0.8143386", "0.81433827", "0.8140678", "0.8138703", "0.81354785", "0.812252...
0.0
-1
Add the floating point number item to the end of the list. The capacity is doubled if there is not otherwise room to add item.
def SStx(YKHO, ZfUD): Q6kx = tbjF(ZfUD, YKHO.behind) YKHO.final.link = Q6kx YKHO.final = Q6kx YKHO.length += 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SStx(YKHO, wEf2):\n if not isinstance(wEf2, int) and (not isinstance(wEf2, float)):\n raise ValueError('Input data must be an int or float.')\n YKHO._data[YKHO._next] = wEf2\n YKHO._next += 1", "def H2v5(YKHO, ZfUD):\n YKHO.items.add(ZfUD)\n YKHO.value += ZfUD.value\n YKHO.weight += ...
[ "0.6777177", "0.6449603", "0.642372", "0.637101", "0.6364304", "0.6336521", "0.62855005", "0.6275431", "0.62634254", "0.6251198", "0.6241727", "0.62128496", "0.6178532", "0.6172537", "0.6166221", "0.61624503", "0.61557615", "0.615488", "0.6143271", "0.61404836", "0.61393595",...
0.0
-1
Return the number of items in the linked list.
def zAg0(YKHO): yvT9 = '' VWe_ = '' Q6kx = YKHO.front.link while Q6kx != YKHO.behind: yvT9 = yvT9 + VWe_ + str(Q6kx.data) VWe_ = ', ' Q6kx = Q6kx.link return yvT9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AQWC(YKHO):\n Q6kx = YKHO.head\n UHFx = 0\n while Q6kx:\n UHFx += 1\n Q6kx = Q6kx.next\n return UHFx", "def len(YKHO):\n jbXL = YKHO.head\n UHFx = 0\n while jbXL.next:\n UHFx += 1\n jbXL = jbXL.next\n return UHFx", "def zNig(YKHO):\n jvSB = YKHO.head\n...
[ "0.87267196", "0.8619815", "0.85484797", "0.85484797", "0.8526638", "0.85157394", "0.85092443", "0.85054135", "0.8499405", "0.84969956", "0.8485949", "0.8464737", "0.84596777", "0.8442281", "0.84291965", "0.8421122", "0.84140325", "0.8410827", "0.8410175", "0.8403726", "0.838...
0.0
-1
Get the weights matrix for this layer
def yzQ0(YKHO): return YKHO._layer.w
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZwQ7(YKHO):\n if hasattr(YKHO, 'weights_') and YKHO.weights_ is not None:\n return YKHO.weights_.reshape(*YKHO.n_view_components)", "def wT46(YKHO):\n return YKHO.w", "def wT46(YKHO):\n return YKHO.w", "def _mSQ(YKHO):\n return oyIN.array([gEmA.weights for gEmA in YKHO.layers])", "de...
[ "0.8219327", "0.80951965", "0.80951965", "0.8084662", "0.8023687", "0.8023687", "0.79322755", "0.78804374", "0.78804374", "0.7875508", "0.78718233", "0.78718233", "0.7860678", "0.78414595", "0.78414595", "0.78414595", "0.78029454", "0.7776543", "0.7751159", "0.773609", "0.772...
0.0
-1
Biases for this layer or raises an error if add_bias = False
def Fg_i(YKHO): return YKHO._layer.b
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HabP(YKHO):\n YKHO._ensure_is_connected()\n if not YKHO._use_bias:\n raise AttributeError('No bias Variable in Linear Module when `use_bias=False`.')\n return YKHO._bias", "def Z1v2(YKHO):\n return YKHO._use_bias", "def rC2j(YKHO):\n return YKHO.get_tensor_value('linear_regression/bia...
[ "0.717514", "0.6818922", "0.66517675", "0.66279644", "0.66212326", "0.6615853", "0.65872407", "0.6555042", "0.65500444", "0.65485626", "0.65369487", "0.65369487", "0.6508205", "0.65052366", "0.64537776", "0.64419186", "0.64114547", "0.6407311", "0.64036655", "0.63861835", "0....
0.0
-1
Decay the current learning rate by decay amount New Learning Rate = Current Learning Rate Rate Decay
def PjIb(YKHO, cuiw, TfYV): cuiw.run(YKHO._learning_rate_decay_op, {YKHO._learning_rate_decay_factor: TfYV})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PjIb(YKHO):\n if YKHO.decay:\n YKHO.lr = YKHO.decay * YKHO.lr", "def pwoX(qtWj, b0Ix):\n return b0Ix / 1.1", "def TfYV(Cwt5, f9Ey, Aak1, BkRq):\n return Cwt5 / (1 + f9Ey * (Aak1 // BkRq))", "def cGIC(YKHO):\n YKHO.exp_rate -= YKHO.decay_delta", "def SZH6(YKHO, qtWj, b0Ix, f9Ey):\n ...
[ "0.8641432", "0.79164904", "0.7835383", "0.77632517", "0.77220887", "0.7708325", "0.77022815", "0.763673", "0.75776494", "0.7549897", "0.7410296", "0.73549795", "0.7339124", "0.7306966", "0.73005915", "0.7299419", "0.72904325", "0.7287453", "0.7286598", "0.72730774", "0.72518...
0.77494574
4
Wrapper for cv2.imread to correct channel order.
def DdoE(VqRE): def zLrJ(LNo8): Fg_i, Oa1e, Mkmy = oyIN.split(LNo8, 3, axis=2) return oyIN.concatenate((Mkmy, Oa1e, Fg_i), axis=2) try: VqRE = GkAb(VqRE) if not VqRE.is_file(): raise IOError("That file doesn't exist!") return zLrJ(XC5k.imread(str(VqRE), 1)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KjgY(*qIxc, qkPu='RGB'):\n qkPu = qkPu.lower()\n assert qkPu == 'rgb' or qkPu == 'bgr', \"'output_channel_order' has to be either 'RGB' or 'BGR' (case-insensitive)\"\n Xn71 = XC5k.imread(*qIxc)\n assert Xn71 is not None, '%s not existent' % qIxc[0]\n if Xn71.ndim == 3 and qkPu == 'rgb':\n ...
[ "0.74873954", "0.7384149", "0.7337758", "0.7283643", "0.7283564", "0.72535175", "0.72368693", "0.7232314", "0.71922225", "0.71058434", "0.7091486", "0.70638937", "0.7059645", "0.7035204", "0.7019193", "0.7015677", "0.7015677", "0.69941837", "0.6989962", "0.69801956", "0.69801...
0.6563498
68
Receives an array of at least 2D and iteratable of boxes (x0,y0,w,h), returns list of subimages
def xVCj(LNo8, oUSw): jAp7 = [] for FlUN in oUSw: jAp7.append(LNo8[FlUN[1]:FlUN[1] + FlUN[3], FlUN[0]:FlUN[0] + FlUN[2]]) return jAp7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qrcp(VOC_, KAtR=16):\n Gmep = oyIN.int(VOC_.shape[0] / KAtR)\n OfOG = oyIN.int(VOC_.shape[1] / KAtR)\n zpJ8 = oyIN.asarray([oyIN.zeros((KAtR, KAtR), dtype='uint8') for YRbF in range(Gmep * OfOG)], dtype='uint8')\n Z9rn = 0\n for YRbF in range(Gmep):\n for r845 in range(OfOG):\n ...
[ "0.78019977", "0.697703", "0.6743193", "0.6691672", "0.6678406", "0.66665447", "0.6603402", "0.6599717", "0.6594013", "0.65668726", "0.65568596", "0.65500134", "0.65398794", "0.64862186", "0.6474067", "0.6474067", "0.6444352", "0.6382275", "0.63815475", "0.637876", "0.6343272...
0.778556
1
Receives shapes and dims in array notation (H,W), center in pixel notation, returns centers in pixel notation (W,H), (X,Y)
def Ek6v(ROpF, Htse, hgjH=(400, 300), aC0l='center'): if aC0l == 'center': hMN3 = oyIN.array((ROpF[1] * Htse[1], ROpF[0] * Htse[0])) eKGI = oyIN.array([(WKvO * ROpF[1], LVAh * ROpF[0]) for LVAh in range(Htse[0]) for WKvO in range(Htse[1])]) eKGI += oyIN.array(hgjH) - hMN3 // 2 + (ROpF[1] // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nR03(YKHO):\n WKvO, LVAh = oyIN.meshgrid(oyIN.arange(YKHO.array.shape[1], dtype=float), oyIN.arange(YKHO.array.shape[0], dtype=float))\n WKvO += YKHO.bounds.xmin\n LVAh += YKHO.bounds.ymin\n return (WKvO, LVAh)", "def zOtD(YKHO):\n exwG, MKlR, yzQ0 = YKHO.locations.shape\n hQL_ = oyIN.zeros...
[ "0.71488345", "0.71144813", "0.7052714", "0.7043743", "0.7040439", "0.6819187", "0.6790772", "0.67878234", "0.67467546", "0.6743331", "0.6719956", "0.6694335", "0.6663157", "0.6656698", "0.66523606", "0.6633178", "0.6633178", "0.66272914", "0.66145355", "0.66104084", "0.65936...
0.6334572
50
Receives shapes and dims in array notation (H,W), center in pixel notation, returns centers in pixel notation (W,H), (X,Y). Return format is a (dim[0],dims[1])shaped array
def eOoE(ROpF, Htse, hgjH=(400, 300), aC0l='center'): JbSN = Ek6v(ROpF, Htse, center=hgjH, reference=aC0l) JbSN = oyIN.array(JbSN) return oyIN.reshape(JbSN, (Htse[0], Htse[1], 2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nBco(M_DK):\n Fg_i, MKlR, yzQ0, exwG, KCHu = M_DK.shape\n EBA4 = fHgE.tile(fHgE.arange(0, MKlR, repeat=yzQ0 * exwG * 1, ctx=M_DK.context).reshape((1, MKlR, yzQ0, exwG, 1)), (Fg_i, 1, 1, 1, 1))\n NZ85 = fHgE.tile(fHgE.arange(0, yzQ0, repeat=exwG * 1, ctx=M_DK.context).reshape((1, 1, yzQ0, exwG, 1)), (F...
[ "0.6795359", "0.67027533", "0.66833776", "0.66704553", "0.66149735", "0.6569204", "0.65679693", "0.6480205", "0.64372146", "0.64228606", "0.6386231", "0.6348025", "0.63466805", "0.63450724", "0.63366824", "0.6332634", "0.6326718", "0.6307225", "0.6281807", "0.62586117", "0.62...
0.0
-1
Initializes instance of the Resource class.
def FIMM(YKHO, ayrW=None, NtEF=None, jTXt=None): super().__init__(ayrW, NtEF, jTXt) if YKHO.is_local_machine: NBjn = Yn3K.run('powershell.exe Get-ExecutionPolicy', stdin=Yn3K.PIPE, stdout=Yn3K.PIPE) YKHO._execution_policy = NBjn.stdout.decode().strip() IaaG = Yn3K.run('powershell.exe Set...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, Eorv):\n YKHO.resource = Eorv", "def FIMM(YKHO, *qIxc, **B2fa):\n super(TjzF, YKHO).__init__(*qIxc, **B2fa)", "def RCl8(YKHO):\n pass", "def uIcm(YKHO, Eorv: Resources, b32v: Optional[HParams]):\n pass", "def FIMM(YKHO, UzPC, OuUh):\n YKHO._resource_obj = OuUh\n YKHO._conne...
[ "0.79584587", "0.7624453", "0.75609136", "0.7497874", "0.74741745", "0.7417916", "0.7395799", "0.73798645", "0.73658776", "0.7357729", "0.72903967", "0.7289067", "0.72796047", "0.7262817", "0.7262817", "0.7253406", "0.7251744", "0.7231976", "0.71881765", "0.71881765", "0.7168...
0.0
-1
An implementation of int.from_bytes for python 2.x.
def Twn6(BWXx, Vo9x, tXcD=..., e7G5=...): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bQ4v(Fg_i):\n return int.from_bytes(Fg_i, byteorder='big')", "def h5qf(lHmx):\n return int.from_bytes(lHmx, 'big')", "def PCNz(bytes):\n return gb1n(bytes, zphf)", "def PCNz(LaVg: bytes) -> int:\n return int.from_bytes(LaVg, 'little')", "def PCNz(EKhh, abwh='big'):\n return int.from_byte...
[ "0.86497337", "0.81942445", "0.8082298", "0.80662197", "0.8050014", "0.8040645", "0.78897935", "0.7849475", "0.78377956", "0.77784264", "0.7773531", "0.7756825", "0.7738728", "0.76184493", "0.7561294", "0.75352025", "0.75107485", "0.7505084", "0.7477812", "0.74666536", "0.745...
0.71824193
31
Get a password digest to use for authentication.
def meG8(NtEF, jTXt): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hkbt(jTXt):\n return CwzH.generate_password_hash(jTXt)", "def dKPB(jTXt):\n F9oN = jTXt.upper()\n UCaE = map(hex, map(ord, F9oN))\n UCaE.extend(['0x00'] * (14 - len(UCaE)))\n B2hD = Cp11(['0x00'] + UCaE[:7])\n gfpw = Cp11(['0x00'] + UCaE[7:14])\n qv_L = 'KGS!@#$%'\n Bxhj = uFu0.des(B2...
[ "0.8115491", "0.7647105", "0.72152835", "0.7208829", "0.7151449", "0.7072516", "0.70218", "0.6924848", "0.6914623", "0.68927974", "0.6867652", "0.68440956", "0.6835481", "0.6810288", "0.6719164", "0.6679327", "0.66463774", "0.65608853", "0.655202", "0.6524617", "0.6500342", ...
0.7784576
1
Get an auth key to use for authentication.
def FtgS(bEAa, NtEF, jTXt): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mexE(Emd4):\n if Emd4._auth_key is not None:\n return Emd4._auth_key\n if not XDm0(Hy7s.path.dirname(Emd4.KEY_PATH)):\n k8wH.echo('warning: key folder {} may be accessible for others!'.format(Hy7s.path.abspath(Emd4.KEY_PATH)), err=True)\n try:\n Totl = f6GW(Emd4.KEY_PATH, 'r')\n ...
[ "0.73192656", "0.73088837", "0.7160998", "0.69974065", "0.680802", "0.67922926", "0.6791881", "0.67888325", "0.67888325", "0.67888325", "0.67888325", "0.66676927", "0.6664357", "0.6622815", "0.6612979", "0.6598647", "0.65930945", "0.6586151", "0.6579396", "0.6579396", "0.6544...
0.6642407
13
Returns a (1 alpha) lower confidence bound on a bernoulli proportion. This function uses the ClopperPearson method.
def fvww(YKHO, wCft: int, exwG: int, Cwt5: float) -> float: return h0cX(wCft, exwG, alpha=2 * Cwt5, method='beta')[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fvww(YKHO, wB6q: int, ywwl: int, Cwt5: float) -> float:\n return h0cX(wB6q, ywwl, alpha=2 * Cwt5, method='beta')[0]", "def opbx(XP5J, nESp, AZQs, la9G=0.95):\n aM62 = (1 - la9G) / 2\n LSh8 = XP5J + eQSh.norm.ppf(aM62) * nESp\n if AZQs == 'proportion':\n LSh8 = oyIN.max([0, LSh8])\n retu...
[ "0.65632206", "0.64207196", "0.6371224", "0.6334756", "0.6328474", "0.6268357", "0.6098107", "0.60803384", "0.59804285", "0.58149165", "0.5812864", "0.5812837", "0.58036166", "0.5733499", "0.571618", "0.5694977", "0.5690959", "0.5687459", "0.5680811", "0.5638946", "0.5629472"...
0.6803598
0
Return the OCP on Cloud processor if one is defined.
def q9gl(YKHO): if YKHO.provider_type in uBwj.OPENSHIFT_ON_CLOUD_PROVIDER_LIST: return jyyZ(schema_name=YKHO.schema_name, report_path=YKHO.report_path, provider_uuid=YKHO.provider_uuid, provider_type=YKHO.provider_type, manifest_id=YKHO.manifest_id, context=YKHO.context) return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UfAX(eLW3):\n global u_n\n if eLW3 == 'graphite':\n e9zh = bn2I\n elif eLW3 == 'silicon':\n e9zh = cbKX\n else:\n NameError('Negative electrode chemistry not available')\n return e9zh", "def PD5Z(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'flex_ocpus')", ...
[ "0.63213223", "0.61674464", "0.6087367", "0.59180546", "0.5878483", "0.5794397", "0.5678731", "0.5606243", "0.5594557", "0.5572356", "0.55127126", "0.54922116", "0.54922116", "0.54922116", "0.5488646", "0.5488646", "0.5488646", "0.5487847", "0.5484457", "0.5473526", "0.547179...
0.70959973
0
Tests that the bond types are really singletons
def tJrx(YKHO): YKHO.assertIs(bIS6, t2lc.loads(t2lc.dumps(bIS6))) YKHO.assertIs(ykgq, t2lc.loads(t2lc.dumps(ykgq))) YKHO.assertIs(SBi7, t2lc.loads(t2lc.dumps(SBi7))) YKHO.assertIs(USfX, t2lc.loads(t2lc.dumps(USfX))) YKHO.assertIs(pSHE, t2lc.loads(t2lc.dumps(pSHE)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uNrX(YKHO):\n for T4Wy in YKHO.orderList:\n W0I0 = KvzY(order=T4Wy)\n if T4Wy == 'S':\n YKHO.assertTrue(W0I0.isSingle())\n else:\n YKHO.assertFalse(W0I0.isSingle())", "def VudP():\n assert F2OE('aa') is F2OE('aa')\n assert F2OE('aa') is not F2OE('bb')", "...
[ "0.63342094", "0.63321316", "0.61473656", "0.6146728", "0.6068806", "0.58842033", "0.58711416", "0.58661455", "0.58041537", "0.5757198", "0.5745108", "0.57018685", "0.5600559", "0.55211085", "0.5518998", "0.5514073", "0.54641485", "0.5424691", "0.54208267", "0.5401833", "0.53...
0.6787525
0
Test retrieving bonds for a residue produces expected results.
def BS0i(YKHO): zLC2 = aFk5() eNCK = zLC2.addChain(id='A') b6d6 = zLC2.addResidue('AAA', eNCK) TnlW = zLC2.addResidue('BBB', eNCK) koXD = zLC2.addResidue('CCC', eNCK) _Zpq = zLC2.addAtom('A1', U6D_.carbon, b6d6) eWE2 = zLC2.addAtom('B1', U6D_.carbon, TnlW) ugO1 = zLC2.addAtom('B2', U6D_....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OJpl():\n FhLf = Hy7s.path.join(l_jd, '4e6d_residues.pdb')\n N9D1 = OJ0g.MolFromPDBFile(FhLf, sanitize=False, removeHs=False)\n N9D1 = ELGc(N9D1)\n hQUT = N9D1.GetAtomWithIdx(11)\n assert hQUT.GetAtomicNum() == 8\n assert hQUT.GetPDBResidueInfo().GetResidueName() == 'PRO'\n aixJ = N9D1.Get...
[ "0.671162", "0.64723754", "0.6317498", "0.6266584", "0.6249955", "0.62425274", "0.6224323", "0.6150121", "0.59175456", "0.5876415", "0.58370423", "0.5836288", "0.58326113", "0.5828984", "0.5820563", "0.5810529", "0.58078414", "0.57609403", "0.57153994", "0.5707212", "0.570327...
0.77316576
0
Parse the given XML and use the document element to create a Python instance. xml_text An XML document. This should be data (Python 2 str or Python 3 bytes), or a text (Python 2 unicode or Python 3 str) in the L{pyxb._InputEncoding} encoding. default_namespace The L{pyxb.Namespace} instance to use as the default namesp...
def KA8b(k1P2, UyKZ=None, ePoz=None): if Aw3s.XMLStyle_saxer != Aw3s._XMLStyle: Mf7r = Aw3s.utils.domutils.StringToDOM(k1P2) return E91p(Mf7r.documentElement) if UyKZ is None: UyKZ = jFQi.fallbackNamespace() IjKD = Aw3s.binding.saxer.make_parser(fallback_namespace=UyKZ, location_base...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KA8b(k1P2, UyKZ=None, ePoz=None):\n if Aw3s.XMLStyle_saxer != Aw3s._XMLStyle:\n Mf7r = Aw3s.utils.domutils.StringToDOM(k1P2)\n return E91p(Mf7r.documentElement, default_namespace=UyKZ)\n if UyKZ is None:\n UyKZ = jFQi.fallbackNamespace()\n IjKD = Aw3s.binding.saxer.make_parser(fal...
[ "0.740507", "0.737087", "0.737087", "0.737087", "0.737087", "0.737087", "0.737087", "0.737087", "0.737087", "0.737087", "0.737087", "0.737087", "0.7331396", "0.7318192", "0.7318192", "0.7318192", "0.7318192", "0.7318192", "0.7318192", "0.7318192", "0.7318192", "0.7318192", ...
0.7378945
2
Compute an mro using the 'encapsulated base' scheme
def RGkE(YKHO): RGkE = [YKHO] for P8oC in YKHO.__bases__: if hasattr(P8oC, '__mro__'): for Z9rn in P8oC.__mro__: if Z9rn in (XGhl, pxk9, object): continue if Z9rn in RGkE: continue RGkE.append(Z9rn) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HMVl(exwG=dtin, yGTL=ak6d):\n return yGTL * exwG * leB8", "def _FXO(Emd4, gitN):\n Aofo = DoN4((Emd4,))\n GBx4 = DoN4(())\n u54L = NXmX(gitN)\n d6pt = DoN4(0)\n while d6pt < u54L:\n P8oC = Y5hm(gitN, d6pt)\n MMzB = f0zW(d6pt, DoN4(1))\n while MMzB < u54L:\n i...
[ "0.6229812", "0.600198", "0.574642", "0.5602392", "0.55301714", "0.54704344", "0.5413872", "0.5401499", "0.53843075", "0.5373167", "0.53323793", "0.5322838", "0.53155327", "0.5304849", "0.5300736", "0.5298706", "0.52706194", "0.52614075", "0.5253969", "0.52477735", "0.5243982...
0.0
-1
Gets all entities from the datastore.
def X3LD(vexM, GYCR): dixj = [] a6Wm = vexM.fetch(9999) N1p7 = vexM.cursor() while a6Wm: dixj.extend(a6Wm) vexM = vexM.with_cursor(N1p7) a6Wm = vexM.fetch(9999) N1p7 = vexM.cursor() if GYCR: return ttj8(dixj) else: return dixj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ymqH(Emd4):\n dixj = []\n for g2g3 in Emd4.list():\n dixj.append(Emd4.read(g2g3))\n return dixj", "def MMe4(YKHO) -> x1iM[dict]:\n return YKHO.client._get_entities(YKHO.name)", "async def get_entities(YKHO, nPrm):\n dixj = list()\n async for Aofo in YKHO.run_query(nPrm):\n d...
[ "0.72683173", "0.7211996", "0.71970046", "0.71756864", "0.71196824", "0.7104311", "0.7016552", "0.697565", "0.692738", "0.69143254", "0.68839926", "0.6855045", "0.6851887", "0.68094397", "0.67623055", "0.67623055", "0.67571187", "0.6748418", "0.6737878", "0.671575", "0.671256...
0.0
-1
`alert` goes through the past 120 seconds of traffic, determines the average of events that occured, and compares that to the `alert_number`. Returns the average traffic.
def N2WC(YKHO, nFj_): wzkt = Aues() ndOS = YKHO.average_traffic(wzkt, 120) if ndOS > nFj_: YKHO.is_alert = True YKHO.alert_logs.append((wzkt, True, ndOS)) elif YKHO.is_alert: YKHO.is_alert = False YKHO.alert_logs.append((wzkt, False, ndOS)) return ndOS
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N2WC():\n S0MI.info('[ALERT] Incoming attack message...')\n AgdR = gDhF(QePW)\n if not AgdR:\n S0MI.error('[ALERT] Token expired!')\n return Dj64({'code': 'token_expired', 'description': 'Token expired!'}, 401)\n nPrm = QePW.json\n lEZM[nPrm['group']] += int(nPrm['rate'])\n _hkX...
[ "0.5789273", "0.5588046", "0.5555414", "0.54265726", "0.54072905", "0.540676", "0.5364287", "0.5323785", "0.53182334", "0.5301044", "0.5271444", "0.5249149", "0.520641", "0.5196878", "0.51856613", "0.5179748", "0.5177293", "0.51584095", "0.5142944", "0.5127171", "0.5123448", ...
0.8422961
0
True, as all users are active.
def ksfB(YKHO): return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ksfB(YKHO):\n return True", "def ksfB(YKHO):\n return YKHO.user.is_active", "def ksfB(YKHO):\n return YKHO.user.is_active", "def ksfB(YKHO):\n return YKHO.user.is_active", "def ksfB(YKHO):\n return YKHO.user.is_active", "def ksfB(YKHO, NCls: Session, *, CBIr: User) -> bool:\n if CBI...
[ "0.7529653", "0.73910725", "0.73910725", "0.73910725", "0.73910725", "0.73828375", "0.7305763", "0.72918564", "0.7228573", "0.7210373", "0.7180289", "0.7147264", "0.7147264", "0.711753", "0.7106372", "0.7064414", "0.7052998", "0.7049714", "0.7036196", "0.7029305", "0.7009617"...
0.7101395
22
Given user_id, return the associated User object.
def GYAu(uJjO): return mv1M.query.get(uJjO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVwN(uJjO):\n return mv1M.query.filter_by(id=uJjO).first()", "def bt8D(Emd4, uJjO):\n CBIr = mv1M.query.get(uJjO)\n return CBIr", "def bt8D(YKHO, uJjO):\n return YKHO.db.find_first_object_by(mv1M, id=uJjO)", "def bt8D(uJjO):\n return mv1M.query.get(uJjO)", "def TKWP(YKHO, uJjO):\n try...
[ "0.8585699", "0.85069925", "0.8452774", "0.8357681", "0.8315596", "0.831367", "0.8308909", "0.8284561", "0.8284561", "0.8284561", "0.8258631", "0.8258631", "0.8258631", "0.82567245", "0.8246523", "0.8243659", "0.8230082", "0.822893", "0.82055056", "0.8202689", "0.81950456", ...
0.0
-1
Logout the current user.
def erK4(): CBIr = c5ow CBIr.authenticated = False NCls.session.add(CBIr) NCls.session.commit() oLi7() return vKnz(nKyW('index'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def erK4():\n oLi7()", "def erK4():\n c5ow = W84Y()\n a8p0.logout(auth_header=c5ow.profile.get_auth_header(), token=c5ow.profile.token)", "def erK4(YKHO):\n if YKHO.is_loggedin():\n YKHO._send_logout_request()\n dqqV.logout()\n else:\n wk5E.logger.info('Unable to log out the...
[ "0.8576705", "0.857439", "0.8523198", "0.84808266", "0.83096904", "0.8308252", "0.8307438", "0.8292026", "0.82815576", "0.82419485", "0.8198397", "0.81672126", "0.8132113", "0.8117398", "0.81071514", "0.8075677", "0.80746055", "0.80746055", "0.8067864", "0.80599177", "0.80510...
0.7744453
57
Testing the presence of the /create_post hyperlink. Will only be displayed in the navbar to logged in users.
def Af66(YKHO): geh0 = YKHO.tester.get('/') YKHO.assertNotIn(b'<a class="nav-link" href="/create_post">Create Post</a>', geh0.data, 'Hyperlink to the /create_post page can still be found in the menu') MC83(YKHO.tester) geh0 = YKHO.tester.get('/') YKHO.assertIn(b'<a class="nav-link" href="/create_pos...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mXWC(YKHO):\n hmDa(YKHO, 'New Title test', 'New body test')\n assert nKyW('blog.index') in YKHO.driver.current_url", "def XaPG(YKHO):\n hmDa(YKHO, '', 'New test body')\n assert nKyW('blog.create') in YKHO.driver.current_url", "def Pghi(YKHO):\n hmDa(YKHO, '', '')\n assert nKyW('blog.creat...
[ "0.76767915", "0.7664634", "0.76293784", "0.74974936", "0.6850163", "0.6777302", "0.6767443", "0.67640316", "0.6727201", "0.66605633", "0.6645133", "0.66198736", "0.6583997", "0.65812534", "0.6550622", "0.65045244", "0.650069", "0.647889", "0.64649385", "0.64524597", "0.64501...
0.82743526
0
Testing that no hyperlink to the /drafts page appear when no drafts exists. We will do the test for logged in users, because nonlogged in users are not supposed to see that hyperlink anyway. This hyperlink is supposed to be displayed in the navbar.
def hhyj(YKHO): MC83(YKHO.tester) geh0 = YKHO.tester.get('/') YKHO.assertNotIn(b'<a class="nav-link" href="/drafts">Drafts</a>', geh0.data, 'Hyperlink to the /drafts page can not be found in the navbar')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A_u7(YKHO):\n Xlvd(is_published=False)\n geh0 = YKHO.tester.get('/')\n YKHO.assertNotIn(b'<a class=\"nav-link\" href=\"/drafts\">Drafts</a>', geh0.data, 'Hyperlink to the /drafts page can still be found in the menu for non-logged in users.')\n MC83(YKHO.tester)\n geh0 = YKHO.tester.get('/')\n ...
[ "0.83561856", "0.674182", "0.6712538", "0.64932203", "0.6485899", "0.6447015", "0.635217", "0.63497436", "0.6307391", "0.62805575", "0.6270701", "0.6268461", "0.6266375", "0.62242234", "0.6213615", "0.6211128", "0.6172531", "0.6166836", "0.6165595", "0.61482316", "0.6143802",...
0.8527544
0
Returns the list [1,n,n^2,n^3,...,n^k] where k is an integer. Note that there should be k+1 elements in the list
def OtqY(exwG, G1Hx): vC9B = [] if G1Hx >= 0: for YRbF in range(G1Hx + 1): vC9B.append(exwG ** YRbF) else: for YRbF in range(abs(G1Hx) + 1): vC9B.append(exwG ** (-YRbF)) return vC9B
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OtqY(exwG, G1Hx):\n PO3k = []\n for YRbF in range(G1Hx + 1):\n PO3k.append(exwG ** YRbF)\n return PO3k", "def OtqY(exwG, G1Hx):\n jzdc = []\n r845 = 0\n for YRbF in range(1, G1Hx + 2):\n jzdc.append(exwG ** r845)\n r845 += 1\n if r845 == G1Hx + 1:\n br...
[ "0.8171824", "0.7998056", "0.7745393", "0.74841195", "0.7464198", "0.7373638", "0.72076815", "0.72050035", "0.70358485", "0.7035377", "0.69944644", "0.69551724", "0.6863281", "0.68043566", "0.67808414", "0.67683846", "0.67225516", "0.66850543", "0.6678832", "0.6668775", "0.66...
0.80527735
1
Displays statistics on the most frequent times of travel.
def dWJR(jQ3Z): print('\nCalculating The Most Frequent Times of Travel...\n') SWox = ITS7.time() hFPs = jQ3Z['month'].mode()[0] print('most common month is', hFPs) fI26 = jQ3Z['day_of_week'].mode()[0] print('Most Commom Month is', fI26) jQ3Z['hour'] = jQ3Z['Start Time'].dt.hour cYAf = jQ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dWJR(jQ3Z):\n print('\\nCalculating The Most Frequent Times of Travel...\\n')\n SWox = ITS7.time()\n print('The most common month of travel is: {} '.format(jQ3Z.Month.mode()[0]))\n print('The most common day of travel is: {} '.format(jQ3Z.Day.mode()[0]))\n print('The most common hour of travel i...
[ "0.8001135", "0.7922667", "0.7892501", "0.786295", "0.7860047", "0.7840831", "0.7801381", "0.7785867", "0.7736821", "0.77246106", "0.77151954", "0.7710127", "0.7705659", "0.77033156", "0.7691183", "0.7687095", "0.7681752", "0.7680381", "0.76739514", "0.7663132", "0.76616323",...
0.0
-1
Displays statistics on the most popular stations and trip.
def Huc_(jQ3Z): print('\nCalculating The Most Popular Stations and Trip...\n') SWox = ITS7.time() MkrH = jQ3Z['Start Station'].mode()[0] print('Most Commonlu Used Start Station is', MkrH) opun = jQ3Z['End Station'].mode()[0] print('Most Commomly Used End Statio is', opun) OtCG = jQ3Z.groupby...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations and Trip...\\n')\n SWox = ITS7.time()\n v6Be(jQ3Z)\n BeYU(jQ3Z)\n O6Ct(jQ3Z)\n print('\\nThis took %s seconds.' % (ITS7.time() - SWox))\n print('-' * 40)", "def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations ...
[ "0.7665365", "0.76264536", "0.7610902", "0.75852126", "0.7576492", "0.7567089", "0.75577486", "0.7538181", "0.75294757", "0.7502035", "0.74997437", "0.7496321", "0.74872565", "0.74840283", "0.7475714", "0.7472988", "0.7437631", "0.74366206", "0.7433223", "0.7428372", "0.74269...
0.0
-1
Displays statistics on the total and average trip duration.
def kDMA(jQ3Z): print('\nCalculating Trip Duration...\n') SWox = ITS7.time() print('Total Travel Time is ', jQ3Z['Trip Duration'].sum() / 3600 / 24, 'days.') print('Mean Travel Time is ', jQ3Z['Trip Duration'].mean() / 60, 'minutes.') print('\nThis took %s seconds.' % (ITS7.time() - SWox)) print...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kDMA(dMlt):\n print('\\nCalculating Trip Duration...\\n')\n SWox = ITS7.time()\n qZ1g = dMlt['Trip Duration'].sum()\n print('The total travel time is ', qZ1g, ' seconds.')\n NPSF = dMlt['Trip Duration'].mean()\n print('The average travel time is ', NPSF, ' seconds.')\n print('\\nThis took ...
[ "0.82523155", "0.81467134", "0.80971843", "0.801319", "0.7987811", "0.79839957", "0.7978554", "0.79702306", "0.796612", "0.796377", "0.7962206", "0.7962002", "0.7952612", "0.79493576", "0.7944679", "0.79379576", "0.7923885", "0.7920719", "0.7920234", "0.7919051", "0.79179525"...
0.78646576
51
Show a list of donors and add a new donor based on user response.
def WuqN(): mWFP = str(input("Type in the full donor name (or 'list' to view a list of donor names): ")) if mWFP == 'list': s7Rl() WuqN() else: VtQ7(mWFP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vd5D(YKHO):\n UZsd = input('Please enter a name for the new donor: ')\n BzS8 = input('Please enter a locations for your donor: ')\n YKHO.add_donor(UZsd, BzS8)", "def al9J(mWFP):\n geg6[mWFP.title()] = []", "def VtQ7():\n UZsd = input(\"\\nPlease enter the donor's name: \")\n Z5kt = VBkw(U...
[ "0.7059115", "0.6947664", "0.68581325", "0.68477476", "0.6843003", "0.6744906", "0.669895", "0.6677348", "0.66605467", "0.6645783", "0.66423905", "0.6628629", "0.65658605", "0.65631586", "0.6544621", "0.65436214", "0.65152824", "0.65131897", "0.65077865", "0.6455319", "0.6427...
0.57780427
88
Add new donation amount to donor list based on user response.
def VtQ7(mWFP): if mWFP not in hfhX: hfhX[mWFP] = [] try: yJpz = float(input('Type in the donation amount: $')) except ValueError: print('Please enter an integer.') else: hfhX[mWFP].append(yJpz) print(U4hS(mWFP, yJpz))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VtQ7(YKHO, Z5kt):\n YKHO.donations += [Z5kt]", "def PvnO(YKHO, yJpz):\n YKHO.donation_list.append(yJpz)", "def levh(Z5kt):\n Oyxb.donations.append(Z5kt)", "def H3pE(dgtG):\n geh0 = float(input('Input amount to donate or \"0\" to exit: '))\n if geh0 != 0:\n if dgtG in Xg7Z:\n ...
[ "0.758188", "0.752039", "0.7274229", "0.7238231", "0.7232573", "0.72208285", "0.71820664", "0.7157355", "0.7084038", "0.7075249", "0.70317715", "0.702099", "0.7012161", "0.7011898", "0.69845945", "0.69524086", "0.6945828", "0.67962414", "0.6778242", "0.674669", "0.6738206", ...
0.61533153
62
Computes the root mean squared error.
def ce0C(LVAh, UShr, yzQ0): return oyIN.sqrt(2 * IxVv(LVAh, UShr, yzQ0))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DF3U(YKHO):\n return oyIN.sqrt(YKHO.mean_squared_error())", "def _td_(YKHO) -> float:\n return YKHO._call_java('rootMeanSquaredError')", "def DF3U(Y8eF, aMgO):\n return oyIN.sqrt(SDab(Y8eF, aMgO))", "def ewIN(WKvO, LVAh):\n return oyIN.sqrt(((WKvO - LVAh) ** 2).mean())", "def DF3U(Y8eF, aMg...
[ "0.8736967", "0.80997974", "0.77293277", "0.77234256", "0.76983756", "0.7640038", "0.76104474", "0.75975496", "0.75236124", "0.75219434", "0.74983037", "0.746785", "0.746785", "0.7432023", "0.7423102", "0.73776686", "0.736432", "0.7329794", "0.72819495", "0.72442764", "0.7203...
0.0
-1
Computes the loss by negative log likelihood.
def j0HU(LVAh, UShr, yzQ0): o3Uj = m1Hg(UShr.dot(yzQ0)) N77f = LVAh.T.dot(oyIN.log(o3Uj)) + (1 - LVAh).T.dot(oyIN.log(1 - o3Uj)) return oyIN.squeeze(-N77f)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jS9s(LVAh, UShr, yzQ0):\n KCHu = UShr.dot(yzQ0)\n vC9B = oyIN.log(1 + UShr.dot(yzQ0))\n for YRbF in range(len(LVAh)):\n if oyIN.isinf(vC9B[YRbF]):\n vC9B[YRbF] = KCHu[YRbF]\n for YRbF in range(len(LVAh)):\n if vC9B[YRbF] == 0:\n vC9B[YRbF] = oyIN.log(2) + KCHu[YR...
[ "0.78277034", "0.76627636", "0.747212", "0.74374616", "0.7413751", "0.740395", "0.7390066", "0.7389466", "0.7371392", "0.7366856", "0.72744215", "0.7215306", "0.72089815", "0.71979517", "0.7187937", "0.71814257", "0.71753496", "0.7137355", "0.71354884", "0.7129454", "0.712081...
0.0
-1
Computes the gradient of the weight vector for linear regression.
def H3EA(LVAh, UShr, yzQ0): ywwl = len(LVAh) tTpl = LVAh - UShr @ yzQ0 return -1 / ywwl * UShr.T @ tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def faKA(YKHO, _mSQ, P1dF):\n return XTiz.dot(P1dF, _mSQ)", "def u5el(XcU5, EcVT, LVAh):\n ucF2 = EcVT.shape[0]\n fNb0 = EcVT.dot(XcU5)\n yk4i = fNb0 - LVAh\n N77f = 1.0 / 2 * oyIN.sum(yk4i * yk4i)\n ICX2 = yk4i.T.dot(EcVT).T\n return (N77f, ICX2)", "def ztik(LVAh, UShr, yzQ0):\n tTpl =...
[ "0.80394727", "0.7652875", "0.76331836", "0.7557036", "0.75525117", "0.7504388", "0.7454513", "0.74480224", "0.74110126", "0.73747337", "0.7368048", "0.73500943", "0.7342688", "0.7332045", "0.73309875", "0.73280823", "0.73089343", "0.7303008", "0.7281605", "0.72709036", "0.72...
0.7370574
10
Generate a minibatch iterator for a dataset. Takes as input two iterables (here the output desired values 'y' and the input data 'tx'). Outputs an iterator which gives minibatches of `batch_size` matching elements from `y` and `tx`. Data can be randomly shuffled to avoid ordering in the original data messing with the r...
def aNDg(LVAh, UShr, Ep8u, PmAP=1, hXNa=True): Zgof = len(LVAh) if hXNa: jp5x = oyIN.random.permutation(oyIN.arange(Zgof)) Z3m2 = LVAh[jp5x] N_ZB = UShr[jp5x] else: Z3m2 = LVAh N_ZB = UShr for Bugx in range(PmAP): V_8U = Bugx * Ep8u ixQc = min((Bug...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aNDg(LVAh, UShr, Ep8u=1, PmAP=1, hXNa=True, yokr=hqJl):\n oyIN.random.seed(yokr)\n eAYh = len(LVAh)\n if hXNa:\n jp5x = oyIN.random.permutation(oyIN.arange(eAYh))\n Z3m2 = LVAh[jp5x]\n N_ZB = UShr[jp5x]\n else:\n Z3m2 = LVAh\n N_ZB = UShr\n for Bugx in range(Pm...
[ "0.7713339", "0.7709129", "0.77022666", "0.7635798", "0.7635798", "0.7635798", "0.7635798", "0.7635798", "0.7635798", "0.7635798", "0.7635798", "0.7635798", "0.7635798", "0.75869954", "0.7533426", "0.7522815", "0.7454618", "0.7453182", "0.7427059", "0.72454184", "0.71139884",...
0.7644
3
Computes logistic regression using gradient descent.
def UKod(LVAh, UShr, Iuqe, ABAq, KMvS, G9jH=False): if len(LVAh.shape) == 1: LVAh = oyIN.expand_dims(LVAh, axis=1) if len(Iuqe.shape) == 1: Iuqe = oyIN.expand_dims(Iuqe, axis=1) VTcd = [Iuqe] N8L0 = [] yzQ0 = Iuqe for YRbF in range(ABAq): N77f = j0HU(LVAh, UShr, yzQ0) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UKod(EcVT, fuBA):\n q7In = oyIN.zeros(EcVT.shape[1])\n b0Ix = 0.1\n wSAP = []\n YRbF = 0\n while True:\n YRbF += 1\n xIk7 = q7In\n Ro40 = X4tK(EcVT, fuBA, q7In)\n q7In = q7In + b0Ix * Ro40\n if YRbF % 10000 == 0:\n print('Finished %d iterations' % YR...
[ "0.7730648", "0.75665486", "0.7559231", "0.75024194", "0.7477791", "0.7473147", "0.7436203", "0.74059576", "0.7384864", "0.73787224", "0.736708", "0.73666054", "0.7355546", "0.73189443", "0.730554", "0.7297357", "0.7292627", "0.7277052", "0.7262657", "0.7257019", "0.7214124",...
0.6906512
90
Computes L2norm regularized logistic regression using gradient descent.
def wnl5(LVAh, UShr, w4rS, Iuqe, ABAq, KMvS, G9jH=False): if len(LVAh.shape) == 1: LVAh = oyIN.expand_dims(LVAh, axis=1) if len(Iuqe.shape) == 1: Iuqe = oyIN.expand_dims(Iuqe, axis=1) VTcd = [Iuqe] N8L0 = [] yzQ0 = Iuqe for YRbF in range(ABAq): N77f, yzQ0 = akaG(LVAh, USh...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UDst(LVAh, UShr, yzQ0, yGTL):\n return oyIN.matmul(oyIN.transpose(UShr), oyIN.multiply(-LVAh, m1Hg(oyIN.multiply(-LVAh, oyIN.matmul(UShr, yzQ0))))) + yGTL * yzQ0", "def dSyy(fuBA, _mSQ, wyyA, Cwt5, AXU1, aPd6):\n kovw = len(fuBA[0])\n R5Nm = wyyA['A' + str(aPd6)] - fuBA\n for YRbF in range(aPd6, ...
[ "0.71616614", "0.69310224", "0.6875225", "0.6852157", "0.6836127", "0.6729804", "0.67231965", "0.6677022", "0.6638073", "0.66371775", "0.6625756", "0.66174954", "0.6565325", "0.6555903", "0.6496282", "0.6432557", "0.6431968", "0.6427197", "0.6427197", "0.6418009", "0.64062023...
0.0
-1
Builds k indices for kfold.
def a4rF(LVAh, sSDk, yokr): gqUV = LVAh.shape[0] VOlW = int(gqUV / sSDk) oyIN.random.seed(yokr) _0VL = oyIN.random.permutation(gqUV) a_4G = [_0VL[G1Hx * VOlW:(G1Hx + 1) * VOlW] for G1Hx in range(sSDk)] return oyIN.array(a_4G)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a4rF(LVAh, sSDk, yokr):\n \"\"\"build k indices for k-fold.\"\"\"\n gqUV = LVAh.shape[0]\n VOlW = int(gqUV / sSDk)\n oyIN.random.seed(yokr)\n _0VL = oyIN.random.permutation(gqUV)\n a_4G = [_0VL[G1Hx * VOlW:(G1Hx + 1) * VOlW] for G1Hx in range(sSDk)]\n return oyIN.array(a_4G)", "def a4rF(...
[ "0.81748337", "0.79524094", "0.79041934", "0.7895536", "0.7891908", "0.7890181", "0.7890181", "0.7873666", "0.78448355", "0.73595667", "0.7253479", "0.70919585", "0.69610155", "0.6929383", "0.6855624", "0.68490076", "0.6818348", "0.67756873", "0.67329735", "0.6676695", "0.650...
0.791017
4
For things like b.le, IDA will give us the `ARM_b` opcode, and we need to figure out if it's actually conditional. This is stored in the `segpref` field, and `0xe` is the unconditional version.
def olrA(p4_k, XP5J): if p4_k.itype == GTZY.ARM_b: if 0 <= p4_k.segpref <= 15 and p4_k.segpref != 14: return khXK return XP5J
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q3Ge(U7YL, Wxnj, hBsG):\n khtY = Wxnj[IhAk(hBsG)]\n YPaw(hBsG)\n P89j = Wxnj[IhAk(hBsG)]\n YPaw(hBsG)\n QgQU = Wxnj[IhAk(hBsG)]\n return kuMQ(khtY, {'branchbyte1': P89j, 'branchbyte2': QgQU})", "def JFiN(YKHO, kuMQ, tZ2K):\n lhy8 = {}\n zbZI = b_av.b\n XEri = YKHO.decode_condition_...
[ "0.5737802", "0.54873675", "0.5395136", "0.5260625", "0.52095217", "0.5195985", "0.5146701", "0.5131497", "0.5127982", "0.5120516", "0.5080302", "0.5016213", "0.49845594", "0.49828416", "0.49699974", "0.4927836", "0.49070916", "0.490533", "0.4892239", "0.48572254", "0.4830875...
0.60788405
0
Implementation of the UNet model, using Concatenation instead of crop and place for the semantic gap.
def NeV6(zi3C, yIp6): g4y1 = nMvt.layers.Input(zi3C) dFGd = nMvt.layers.Conv2D(64, 3, **yIp6)(g4y1) dFGd = nMvt.layers.Conv2D(64, 3, **yIp6)(dFGd) maLU = nMvt.layers.MaxPooling2D(pool_size=(2, 2))(dFGd) sUaA = nMvt.layers.Conv2D(128, 3, **yIp6)(maLU) sUaA = nMvt.layers.Conv2D(128, 3, **yIp6)(sUa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _mQy(grEy=None, zi3C=(192, 192, 1)):\n KbTU = X6a0(zi3C)\n fMgK = yHwh(32, 3, activation='relu', padding='same', kernel_initializer='he_normal')(KbTU)\n fMgK = GVKG()(fMgK)\n fMgK = yHwh(32, 3, activation='relu', padding='same', kernel_initializer='he_normal')(fMgK)\n fMgK = GVKG(name='conv_spec...
[ "0.660893", "0.6561727", "0.65441906", "0.6295189", "0.62593395", "0.6257801", "0.6254274", "0.62021595", "0.61335623", "0.6110996", "0.60764873", "0.6019583", "0.5980645", "0.596919", "0.5879404", "0.58650637", "0.5850206", "0.5848693", "0.5833902", "0.58199126", "0.5814833"...
0.0
-1
This populates the playerTwoPieces (white) empty set with the player two's pieces. It also adds those pieces to the board
def r_tf(vGJX, iBIi): qfpW = 'WHITE' uOe2 = vGJX vGJX.update({nRId(iBIi, qfpW, uOe2, 7, 'A'), nRId(iBIi, qfpW, uOe2, 7, 'B'), nRId(iBIi, qfpW, uOe2, 7, 'C'), nRId(iBIi, qfpW, uOe2, 7, 'D'), nRId(iBIi, qfpW, uOe2, 7, 'E'), nRId(iBIi, qfpW, uOe2, 7, 'F'), nRId(iBIi, qfpW, uOe2, 7, 'G'), nRId(iBIi, qfpW, uOe2,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y4Cv(YKHO):\n YKHO.player_pieces = {1: Pusg(lambda Zoh6, mrj1: Zoh6 + ([mrj1] if mrj1.player == 1 else []), YKHO.uncaptured_pieces, []), 2: Pusg(lambda Zoh6, mrj1: Zoh6 + ([mrj1] if mrj1.player == 2 else []), YKHO.uncaptured_pieces, [])}", "def jmSs(QmsP, iBIi):\n qfpW = 'BLACK'\n uOe2 = QmsP\n Q...
[ "0.6907245", "0.6619485", "0.635975", "0.6312793", "0.6304994", "0.62794596", "0.6242862", "0.62186676", "0.6187481", "0.6161586", "0.6128111", "0.6126364", "0.60697794", "0.6062902", "0.5985702", "0.598332", "0.5982919", "0.59827065", "0.5981415", "0.5980562", "0.5968834", ...
0.7957897
0
Renders the home page.
def kZiy(): PgcV = Zeyy() I1iR = dict(title='Home', info=PgcV) return I1iR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n return TvZl('home.html')", "def C_QL():\n return TvZl('home.html')", "def kZiy():\n return TvZl('homepage.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('home.html')", "def kZiy():\n return TvZl('pages/home.html')", "def kZiy():\n leAC =...
[ "0.86085397", "0.85661966", "0.8562984", "0.84564984", "0.8353822", "0.8353445", "0.832796", "0.83265287", "0.83265287", "0.8311966", "0.83088946", "0.83046836", "0.8296962", "0.82942903", "0.82942903", "0.82872546", "0.8279762", "0.8279762", "0.8279762", "0.8279762", "0.8279...
0.0
-1
Renders the contact page.
def Mxk0(): ZWCE = EfUA((P6bq.name for P6bq in mv1M)) PgcV = Zeyy() I1iR = dict(title='member', info=PgcV, names=ZWCE) return rPXJ('member', I1iR)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mxk0():\n bo34.info('User visited the contact page.')\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n ...
[ "0.85960764", "0.85656375", "0.85656375", "0.855447", "0.84786224", "0.8420173", "0.8410878", "0.83499986", "0.8343786", "0.83297306", "0.8248282", "0.8231488", "0.81855345", "0.81855345", "0.81855345", "0.81855345", "0.81855345", "0.81855345", "0.81855345", "0.81855345", "0....
0.0
-1
Initializes an instance of the `Corpus` class.
def FIMM(YKHO, Nko1, yE2C, dTTE): YKHO.train_file_path = Nko1 YKHO.train = None YKHO.validation_file_path = yE2C YKHO.validation = None YKHO.test_file_path = dTTE YKHO.test = None YKHO.vocabulary = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, rrSk):\n YKHO.corpus = rrSk", "def FIMM(YKHO, rrSk):\n YKHO.corpus = rrSk\n YKHO.tfidf = rrSk.tfidf\n YKHO.dict = rrSk.dict\n YKHO.articles = rrSk.articles\n YKHO.bows = rrSk.get_bows()", "def FIMM(YKHO, rrSk=None, GPtr=None):\n YKHO._corpus = rrSk\n YKHO._config = GPtr\n...
[ "0.79756194", "0.75796807", "0.74360555", "0.73629683", "0.7285971", "0.7201235", "0.7138245", "0.7113136", "0.71050805", "0.7079067", "0.70483774", "0.70203686", "0.7011575", "0.6987095", "0.69642484", "0.6937906", "0.6933939", "0.6910688", "0.69043326", "0.6888056", "0.6887...
0.0
-1
Whether or not users are verified.
def uowC(YKHO) -> bool: return YKHO.data['isPasswordAuthenticationVerifiable']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CYZx(YKHO) -> bool:\n return qe4Y.get(YKHO, 'is_verified')", "def CYZx(YKHO):\n return YKHO.user is not None", "def CYZx(YKHO):\n return YKHO.verified", "def CYZx(YKHO) -> bool:\n return YKHO.data['isVerified']", "def CYZx(YKHO):\n return bool(YKHO.verified_ts)", "def nxXn(YKHO) -> boo...
[ "0.82317436", "0.8231716", "0.803043", "0.7874375", "0.78526527", "0.7543509", "0.74866635", "0.7476382", "0.7476382", "0.72887284", "0.7148882", "0.70182043", "0.69712245", "0.69549274", "0.6887447", "0.6874741", "0.68624914", "0.680511", "0.6767484", "0.66376424", "0.663764...
0.0
-1
Computes the Euclidean norm of the error
def Yiqv(WKvO, LVAh, q7In): ycBG = oyIN.dot(WKvO, q7In) - LVAh return oyIN.sum(oyIN.power(ycBG, 2)) / (2 * r8hN)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CNdO(EcVT):\n lBjq = oyIN.square(EcVT)\n RBuv = oyIN.sum(lBjq)\n rxGT = oyIN.sqrt(RBuv)\n return rxGT", "def ijuA(WKvO):\n return oyIN.sqrt(oyIN.sum(oyIN.square(WKvO)))", "def CkYf(WKvO):\n return oyIN.sqrt(oyIN.sum(WKvO ** 2))", "def pQET(jzdc):\n if 1 == len(jzdc.shape):\n r...
[ "0.7717129", "0.7451041", "0.7192181", "0.71898776", "0.71776706", "0.71650267", "0.71505386", "0.7142974", "0.71163577", "0.70834595", "0.7064888", "0.70041054", "0.700219", "0.6997501", "0.6967875", "0.69519705", "0.6940668", "0.69316036", "0.6915856", "0.68910736", "0.6887...
0.0
-1
Performs gradient descent on Euclidean cost
def eFKG(WKvO, LVAh, q7In, Cwt5, Uraj): for bGrB in range(Uraj): ycBG = oyIN.dot(WKvO, q7In) - LVAh ycBG = oyIN.dot(WKvO.T, ycBG) q7In = q7In - Cwt5 / r8hN * ycBG return q7In
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EWqU(YKHO):\n paog = []\n for YRbF in range(YKHO.num_iters):\n L3MS = YKHO.theta\n L3MS[0][0] = YKHO.theta[0][0] - YKHO.alpha * (1.0 / r8hN) * sum((YKHO.X.dot(YKHO.theta).flatten() - YKHO.y) * YKHO.X[:, 0])\n L3MS[1][0] = YKHO.theta[1][0] - YKHO.alpha * (1.0 / r8hN) * sum((YKHO.X.dot...
[ "0.7557579", "0.735279", "0.7307018", "0.72721493", "0.7226071", "0.72116864", "0.720065", "0.7157912", "0.715008", "0.7149186", "0.71399885", "0.71343845", "0.70951754", "0.7094249", "0.7091563", "0.70908034", "0.7071382", "0.7061965", "0.70091987", "0.69832516", "0.6965479"...
0.6970188
20
Return wheter self.T_p[dim][index] is empty or not
def mP3s(YKHO, tpio, d6pt): return YKHO.T_p[tpio][d6pt][YKHO.EMPTY_INDEX]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lsmZ(YKHO):\n return YKHO._dimsize == 0", "def lsmZ(YKHO):\n return YKHO.N == 0", "def FBfn(YKHO):\n return oyIN.count_nonzero(YKHO) == 0", "def FBfn(YKHO):\n return YKHO._n == 0", "def FBfn(YKHO):\n return len(YKHO.bad_indexes) == 0 and len(YKHO.good_indexes) == 0", "def FBfn(l40E):\n...
[ "0.7163727", "0.71412325", "0.7092512", "0.701862", "0.70002985", "0.6934931", "0.69210523", "0.6894137", "0.6853663", "0.6816418", "0.6796657", "0.6780493", "0.6767149", "0.6757031", "0.6755931", "0.6743386", "0.67289793", "0.6726933", "0.67255914", "0.67255914", "0.67255914...
0.82430136
0
Parse image name from a URL.
def mvbN(bD7m): return Hy7s.path.split(bD7m)[-1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C7_O(bD7m: str) -> fVui:\n return fVui.parse(bD7m)", "def sKOH(bD7m):\n VyJ2 = KVWQ(bD7m)\n TLhg = str.split(VyJ2.path, sep='/')\n gIsw = TLhg[-1].strip(' \\t\\n\\r')\n if gIsw[-4:] == '.jpg' or gIsw[-4:] == '.jpeg' or gIsw[-4:] == '.png':\n return gIsw\n return ''", "def J0XK(bD7m...
[ "0.8407554", "0.7908244", "0.7363364", "0.7325419", "0.7047834", "0.702627", "0.70176744", "0.67989886", "0.6781892", "0.67712253", "0.67678183", "0.66968215", "0.66666234", "0.66506606", "0.66180253", "0.6609966", "0.6605206", "0.65791726", "0.6565329", "0.65371984", "0.6527...
0.8766808
0
Create a dataset of consecutive numbers for testing batching. Create a two column matrix for x, a one column matrix for x2, and a one column matrix for y. The columns start with [0, 1000], [2000], and [3000] (assuming offset is 1000).
def C50O(YKHO, __n6: BrainData, Tuqy: str='program_test', eAYh: int=1000, vgXP: int=1000, StRh: bool=False): YKHO.assertIsInstance(__n6, Gz6D) print('Creating a linear dataset with %d and %d.' % (eAYh, vgXP)) iuZZ = oyIN.arange(eAYh).reshape((eAYh, 1)) WbAn = oyIN.concatenate((iuZZ, iuZZ + vgXP), axis=1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GeJs(EcVT, LVAh, NlP_):\n MxXY, gpRq = oyIN.shape(EcVT)\n cWFu, E43s = oyIN.shape(LVAh)\n if MxXY <= NlP_:\n xvAN = 1\n TKmK = EcVT.reshape((xvAN, MxXY, gpRq))\n suHb = LVAh.reshape((xvAN, cWFu, E43s))\n TKmK = list(TKmK)\n suHb = list(suHb)\n else:\n xvAN ...
[ "0.650617", "0.6483629", "0.6456782", "0.645413", "0.63795686", "0.636704", "0.63278264", "0.626749", "0.6267455", "0.6258911", "0.62335306", "0.6207921", "0.6175975", "0.61676806", "0.6150142", "0.61498564", "0.6135844", "0.61272424", "0.61110675", "0.61110675", "0.61016", ...
0.0
-1
Return normalized cumulative distribution from discrete distribution.
def _yhy(Sglc): j9HO = [] j9HO.append(0.0) for YRbF in range(0, len(Sglc)): j9HO.append(j9HO[YRbF] + Sglc[YRbF]) return j9HO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cW_V(VE0R):\n VE0R = gDU6(VE0R)\n SCAk = U8Lr()\n sum = 0\n for H5ew in VE0R:\n sum += VE0R[H5ew]\n SCAk[H5ew] = sum\n VE0R[H5ew] = 1\n return SCAk", "def SG5M(LVAh, WTkW=1e-10):\n YzER = oyIN.zeros((LVAh.shape[0], 600))\n for YRbF in range(LVAh.shape[0]):\n YzER[...
[ "0.68086016", "0.6806139", "0.6731852", "0.6700628", "0.6694781", "0.6481266", "0.64717144", "0.6467335", "0.6461788", "0.64538956", "0.6405166", "0.6395549", "0.63918483", "0.6373887", "0.63685274", "0.63409", "0.6333385", "0.6324491", "0.6257163", "0.6252632", "0.62514424",...
0.0
-1
Returns the position in degrees of the Northsouth direction
def JvJN(YKHO): tO9_ = YKHO._request_status_() return tO9_.tracker.angle.ns
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DJ9P(YKHO):\n LTIa = ['north', 'north-northeast', 'northeast', 'east-northeast', 'east', 'east-southeast', 'southeast', 'south-southeast', 'south', 'south-southwest', 'southwest', 'west-southwest', 'west', 'west-northwest', 'northwest', 'north-northwest', 'north']\n mghH = int(YKHO.wind['deg'])\n cIIR...
[ "0.7159438", "0.70468247", "0.7043832", "0.7043298", "0.67591107", "0.67396295", "0.67072135", "0.67070144", "0.66108656", "0.6593954", "0.65022844", "0.64673054", "0.64673054", "0.64673054", "0.64673054", "0.6463591", "0.64618486", "0.645091", "0.644329", "0.6434434", "0.640...
0.0
-1
Add the given entity into the world, if the entity's center is outside of the world's boundaries then an OutOfBoundsError is thrown. If the entity is added successfully, the world is then added as one of the subscribers of the entity.
def n3Kb(YKHO, LEXu): if YKHO.is_entity_in_bounds(LEXu): YKHO.entities.add(LEXu) LEXu.subscribe_to_source(tvqc.PropertyChangeEvent, YKHO.update) YKHO.notify_subscribers(tvqc.ItemAddedEvent(LEXu, YKHO)) YKHO.notify_subscribers(tvqc.PropertyChangeEvent(YKHO)) else: raise Bf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JyL8(YKHO, EmUK):\n YKHO.processEvent((YTVa.E_ADDED_TO_WORLD, YKHO))", "def AQR6(YKHO):\n YKHO.parent_world.add(YKHO.world)", "def H2v5(YKHO, LEXu):\n raise NotImplementedError('add')", "def VJ1R(YKHO, LEXu):\n if LEXu in YKHO:\n raise RuntimeError('Entity exists')\n YKHO.add(LEXu)\...
[ "0.6300213", "0.6202296", "0.60612625", "0.59400433", "0.5860976", "0.5840194", "0.58203065", "0.5808549", "0.58028513", "0.5620628", "0.5608589", "0.56041247", "0.55885404", "0.55574626", "0.5541668", "0.5530889", "0.5526154", "0.5516419", "0.542736", "0.54055595", "0.535614...
0.7698516
0
Gets the edge neighbours of an edge.
def _yFr(D70y): assert pzVe(*D70y), f'{D70y} is not an edge. Both cube coords in the edge need to be neighbours.' jzdc, Fg_i = D70y n2Q1, SpII = bNVE(jzdc, Fg_i) return (frozenset({jzdc, n2Q1}), frozenset({jzdc, SpII}), frozenset({Fg_i, n2Q1}), frozenset({Fg_i, SpII}))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xC8f(YKHO):\n return YKHO.graph[YKHO.EDGES_KEY]", "def A_IW(YKHO):\n mC4V = YKHO.edges()\n return [tTpl.dst_int for tTpl in mC4V]", "def impB(YKHO, Ty9i):\n if not isinstance(Ty9i, Yegm):\n assert isinstance(Ty9i, int)\n Ty9i = Yegm(Ty9i)\n if YKHO._edges is None:\n retu...
[ "0.73476934", "0.729565", "0.7286735", "0.72544235", "0.72191596", "0.71972173", "0.7158042", "0.7150929", "0.7109264", "0.70949477", "0.7049644", "0.69475937", "0.69475937", "0.6946615", "0.6935923", "0.6923787", "0.691921", "0.691921", "0.691198", "0.6905973", "0.68918437",...
0.7488878
0
Gets all the neighbouring triples.
def rQgE(a1PO): assert jUt2(*a1PO), f'{a1PO} is not a triple.' return {frozenset({*exwG, Z9rn}) for exwG in E6VQ(a1PO, r=2) for Z9rn in bNVE(*exwG)} - {a1PO}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eiD_(YKHO):\n bdGm = set()\n for D70y in YKHO.getAllEdges():\n JmmR = D70y.getEnds()\n bdGm.add(JmmR[0])\n bdGm.add(JmmR[1])\n try:\n bdGm.remove(YKHO)\n except KeyError:\n pass\n return bdGm", "def qIRx(YKHO):\n pass", "def qIRx(YKHO):\n return YKHO....
[ "0.76447403", "0.7566883", "0.73718673", "0.73645115", "0.73320204", "0.7306509", "0.7257211", "0.7210708", "0.71964556", "0.7111433", "0.7085031", "0.7062204", "0.6965895", "0.6918469", "0.6897608", "0.68397737", "0.6833445", "0.67852485", "0.6772406", "0.6757784", "0.675098...
0.71505374
9
Does intersection of the two given list. Returns List of no repeated elements from the two list
def GdIx(LIAQ, CcXF): if CcXF: CcXF = set(CcXF) CcXF = [vbQv for vbQv in CcXF if vbQv and vbQv not in LIAQ] LIAQ.extend(CcXF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XMlP(syir: List[int], GI5U: List[int]) -> x1iM[int]:\n BWz1 = g760.Counter(syir)\n Ylbp = []\n for mLGw in GI5U:\n if BWz1[mLGw] > 0:\n Ylbp += (mLGw,)\n BWz1[mLGw] -= 1\n return Ylbp", "def W9Po(jzdc, Fg_i):\n return list(set(jzdc) & set(Fg_i))", "def nZsg(Kt9y,...
[ "0.78969073", "0.7819793", "0.78076303", "0.7775303", "0.776362", "0.76912093", "0.76123726", "0.7586845", "0.75519913", "0.7515916", "0.7506204", "0.7488624", "0.74688673", "0.74688673", "0.74688673", "0.74688673", "0.74688673", "0.74150014", "0.74150014", "0.74079394", "0.7...
0.0
-1
Return version number of the server. Returns string version string or None if error
def kaPv(YKHO): VsNR = None try: Ylbp = YKHO.show_server_variable('VERSION') if Ylbp: VsNR = Ylbp[0][1] except: pass return VsNR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IexU(YKHO):\n return YKHO.server_version", "def IexU(YKHO):\n return YKHO.server_version", "def cDTj(YKHO):\n IteK = (0, 0, 0)\n yFz3 = YKHO._ctrl('VERSION')\n if yFz3:\n IteK = vh6r.version_tuple(yFz3)\n return IteK", "def KZVb(YKHO):\n _hkX = G4JS.get(TDhU(YKHO.baseurl, '/')...
[ "0.82059634", "0.81447846", "0.8126981", "0.80872166", "0.7992517", "0.79555523", "0.79555523", "0.7923458", "0.78920805", "0.7770398", "0.7755886", "0.7755886", "0.7733907", "0.7733062", "0.7713119", "0.76598465", "0.76580584", "0.7648408", "0.76211894", "0.7574624", "0.7553...
0.85128754
0
Retrieve the server id. Returns int server id.
def wrJZ(YKHO): try: Ylbp = YKHO.show_server_variable('server_id') except: raise vxPK('Cannot retrieve server id from %s.' % YKHO.role) return int(Ylbp[0][1])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QOGf(YKHO) -> str:\n return qe4Y.get(YKHO, 'server_id')", "def wrJZ(YKHO):\n lCFC = YKHO.starter.all_instances[0].basedir / 'data'\n AnZc = qQXR.load(open(lCFC / 'SERVER', encoding='utf-8'))\n QOGf = AnZc['serverId']\n return QOGf", "def unpH(YKHO):\n return YKHO.server.get_id()", "def ...
[ "0.8404538", "0.83105665", "0.827442", "0.8021989", "0.8012829", "0.7892243", "0.75046134", "0.7296798", "0.72227746", "0.69065243", "0.69065243", "0.69057053", "0.6870958", "0.68523103", "0.6807192", "0.6806014", "0.6750197", "0.6738053", "0.67014366", "0.6673874", "0.666428...
0.8521808
0
This function swaps two houses from two seperate batteries.
def Qnxl(zhMh, WL4f, vRYv=False): if zhMh == WL4f: return False kYGz = zhMh.bat ftz7 = WL4f.bat if vRYv or kYGz.max_load >= kYGz.load - zhMh.output + WL4f.output: if vRYv or ftz7.max_load >= ftz7.load - WL4f.output + zhMh.output: Jrr0(zhMh) Jrr0(WL4f) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b3SJ(E9Rn, JY2t):\n SAh4 = JY2t.x1\n q5vM = JY2t.y1\n JY2t.coordinates(E9Rn.x1, E9Rn.y1)\n E9Rn.coordinates(SAh4, q5vM)", "def b3SJ(bzUU, WKvO, LVAh):\n bzUU[WKvO], bzUU[LVAh] = (bzUU[LVAh], bzUU[WKvO])", "def zh_p(YKHO, WKvO, LVAh):\n YKHO.elements[WKvO], YKHO.elements[LVAh] = (YKHO.elem...
[ "0.76072806", "0.6498264", "0.63685274", "0.63419497", "0.63042253", "0.62741727", "0.6241891", "0.6233407", "0.62278223", "0.62208945", "0.6204831", "0.61990833", "0.61987877", "0.6188581", "0.61705416", "0.6168965", "0.6161864", "0.6151781", "0.6137363", "0.6136489", "0.610...
0.57396644
56
find out the sum and average of all values of list
def RHr8(yv6U): sum = 0 exwG = len(yv6U) for YRbF in yv6U: sum += YRbF qqgr = sum / exwG return (sum, qqgr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JBMS(yv6U):\n return float(sum(yv6U) / len(yv6U))", "def JBMS(vC9B):\n return float(sum(vC9B)) / float(len(vC9B))", "def S8vG(vC9B):\n MCOv = sum(vC9B, 0.0)\n return MCOv / len(vC9B)", "def JBMS(yv6U):\n return", "def JBMS(yv6U):\n return", "def JBMS(list):\n return float(sum(lis...
[ "0.8095628", "0.78809315", "0.78399515", "0.78383917", "0.78383917", "0.778364", "0.77834857", "0.77655464", "0.7743783", "0.773919", "0.77362907", "0.7732025", "0.77306676", "0.7724876", "0.7718949", "0.77123785", "0.7712293", "0.7708931", "0.7642599", "0.7632274", "0.76154"...
0.8109469
0
Set requires grad for all model's parameters
def NRhq(YKHO, Wxli): if Wxli: for xqoZ in YKHO.model.parameters(): xqoZ.requires_grad = False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F41H(YKHO, _6Ge):\n for XP5J in YKHO.model.parameters():\n XP5J.requires_grad = _6Ge", "def Wdm2(C3ST, Xbds=True):\n for NArs in C3ST.parameters():\n NArs.required_grad = Xbds", "def F41H(YKHO, bo34, Zxma, _6Ge=False):\n for k78t in Zxma.parameters():\n k78t.requires_grad = _6...
[ "0.8166442", "0.803205", "0.791995", "0.79057443", "0.76641464", "0.75277346", "0.733776", "0.733776", "0.733776", "0.733776", "0.733776", "0.733776", "0.733776", "0.733776", "0.733776", "0.733776", "0.7325726", "0.7289572", "0.7289572", "0.7245421", "0.7236552", "0.7231071...
0.70525074
31
Returns an iterator that reads the dataset in chunks no bigger than batch_size.
def pWar(YKHO, Ep8u): Ueki = 0 YKHO.current_index = 0 while Ueki < YKHO.shape[0]: Ylbp = YKHO.read(Ep8u) Ueki += Ylbp[0].shape[0] yield Ylbp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vs4Q(YKHO):\n for YRbF, nPrm in enumerate(YKHO.dataloader):\n if YRbF * y7GR['batch_size'] >= YKHO.max_dataset_size:\n break\n yield nPrm", "def aNDg(WhY1, Ep8u=64):\n while True:\n Wc9F = list(Hs6x.islice(WhY1, Ep8u))\n if not Wc9F:\n break\n yi...
[ "0.72289336", "0.7198651", "0.7192158", "0.71824044", "0.7178969", "0.71683574", "0.7164385", "0.7134698", "0.71093494", "0.70255697", "0.6993153", "0.6992499", "0.6990774", "0.6972721", "0.695928", "0.6930651", "0.69141746", "0.6901093", "0.6861084", "0.68564546", "0.6838699...
0.73275
0
Helper function to deep copy a dict, and pop elements off.
def vr4p(YEnM, ynSc): U5bT = jth9.deepcopy(YEnM) for geyT in ynSc: U5bT.pop(geyT) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ECBq(Csk6):\n if isinstance(Csk6, dict):\n return {G1Hx: ECBq(Ty9i) for G1Hx, Ty9i in Csk6.items()}\n elif isinstance(Csk6, (list, tuple)):\n return [ECBq(Ty9i) for Ty9i in Csk6]\n else:\n return nOOm(Csk6)", "def Di7o(cmPJ):\n return jth9.deepcopy(cmPJ)", "def _9K6(ytA_):\...
[ "0.70765114", "0.69193435", "0.67284685", "0.6702469", "0.65855575", "0.6562778", "0.6562778", "0.6530583", "0.646946", "0.63928825", "0.6333594", "0.6333001", "0.6246793", "0.62375563", "0.62151814", "0.6211405", "0.6208182", "0.62038636", "0.61604637", "0.6115141", "0.60941...
0.0
-1
Compute the logdet of the cholesky decomposition of matrices.
def cjTj(DGCm, olp8, ROaS): if olp8 == 'full': YKua, bGrB, bGrB = DGCm.shape D9CC = oyIN.sum(oyIN.log(DGCm.reshape(YKua, -1)[:, ::ROaS + 1]), 1) elif olp8 == 'tied': D9CC = oyIN.sum(oyIN.log(oyIN.diag(DGCm))) elif olp8 == 'diag': D9CC = oyIN.sum(oyIN.log(DGCm), axis=1) el...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cjTj(DGCm, c2zJ, ROaS):\n if c2zJ == 'full':\n YKua, bGrB, bGrB = DGCm.shape\n D9CC = oyIN.sum(oyIN.log(DGCm.reshape(YKua, -1)[:, ::ROaS + 1]), 1)\n elif c2zJ == 'tied':\n D9CC = oyIN.sum(oyIN.log(oyIN.diag(DGCm)))\n elif c2zJ == 'diag':\n D9CC = oyIN.sum(oyIN.log(DGCm), ax...
[ "0.7725289", "0.76501924", "0.76135623", "0.7575033", "0.74537504", "0.7368207", "0.72911936", "0.7193643", "0.7153604", "0.71318483", "0.71171665", "0.6911008", "0.6794029", "0.6634809", "0.6621499", "0.65799683", "0.65275645", "0.64699477", "0.6403546", "0.6373978", "0.6361...
0.78365517
0
Return the number of free parameters in the model.
def GO9t(YKHO): ROaS = YKHO.means_.shape[1] oT8f = ROaS * YKHO.n_components if YKHO.covariance_type == 'full': XHWy = YKHO.n_components * ROaS * (ROaS + 1) / 2.0 elif YKHO.covariance_type == 'diag': XHWy = YKHO.n_components * ROaS elif YKHO.covariance_type == 'tied': XHWy = R...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ca6I(YKHO):\n return eQ5t(YKHO.model)", "def v6DW(YKHO):\n return YKHO.get_model_descriptor()['num_parms']", "def gi2P(YKHO):\n return 0", "def VgCS(C3ST):\n return sum((XP5J.numel() for XP5J in C3ST.parameters()))", "def lc72(YKHO):\n return 1", "def UqPz(C3ST):\n return oyIN.sum([...
[ "0.79135776", "0.76242644", "0.762217", "0.7611314", "0.7484734", "0.74603367", "0.7400303", "0.7386064", "0.73520875", "0.73440665", "0.7331699", "0.7331699", "0.7326816", "0.7326816", "0.7322237", "0.7322237", "0.727034", "0.7256459", "0.7244759", "0.7218041", "0.7213857", ...
0.0
-1
Compute each parameter's gradient's norm and their overall norm. The overall norm is computed over all gradients together, as if they were concatenated into a single vector.
def oWRZ(YKHO, J1Nm: Union[float, int, str]) -> cuzp[str, float]: vXfG, kcIN = ({}, []) for mWFP, XP5J in YKHO.named_parameters(): if mWFP.split('.')[0] == 'model': mWFP = mWFP[6:] if XP5J.grad is None: continue yQLB = float(XP5J.data.norm(J1Nm)) oWRZ = fl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e2RM(NArs):\n kykb = 0\n for XP5J in NArs:\n kykb += XP5J.grad.data.norm(2) ** 2\n return kykb", "def Vart(YKHO, NArs, NXpY=1) -> ht2j.tensor:\n GRKF = 0.0\n for XP5J in NArs:\n if XP5J.grad is not None:\n yQLB = (XP5J.grad.detach().data / NXpY).norm(2)\n GR...
[ "0.7813584", "0.72363997", "0.7099612", "0.6857114", "0.6833231", "0.6800192", "0.67637193", "0.67586684", "0.6675858", "0.6675858", "0.6675858", "0.66685164", "0.66393185", "0.6562988", "0.6558867", "0.6545848", "0.64630556", "0.6438741", "0.64281803", "0.64172125", "0.64122...
0.5835482
75
Creates Factor predicate predicate that allows to find factors in the factor graph
def O7Fa(aM8h): return gzLI(OUgp(), aM8h)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Llmz(AJeW):\n Llmz = []\n di96 = 1\n while di96 <= int(PZyS(AJeW)):\n if not AJeW % di96:\n VLzE = AJeW / di96\n Llmz.append(di96)\n Llmz.append(VLzE)\n di96 += 1\n return Llmz", "def RGjk(ypOY):\n for YRbF in range(2, int(ypOY ** 0.5)):\n ...
[ "0.64579576", "0.645103", "0.6396144", "0.6389706", "0.63885176", "0.6364358", "0.6339632", "0.6247404", "0.6201002", "0.6192972", "0.6133808", "0.61313564", "0.6125382", "0.60980934", "0.6080109", "0.6047136", "0.6041176", "0.6034102", "0.60219944", "0.600496", "0.5992164", ...
0.6645027
0
Create an edge for the given factor and variable in the factor graph. Note, that the factor must always be the first argument and the variable the second. There are no edges from variables to factors.
def tGgu(aM8h, Es0b): return gzLI(DwkF(), qaWz(aM8h, Es0b))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SoNc(kc1W):\n ZWCE = [Ty9i.name for Ty9i in kc1W]\n mWFP = 'Factor-' + '-'.join(ZWCE)\n return bxeB(mWFP)", "def rz7z(YKHO, pF3L, szaN):\n if pF3L not in YKHO.variables.values():\n raise ValueError('Parent variable is not added to list of variables.')\n if szaN not in YKHO.variables.val...
[ "0.5925768", "0.57810557", "0.57810557", "0.5617374", "0.56120664", "0.55741274", "0.5521373", "0.551046", "0.54509324", "0.54509324", "0.54460144", "0.5407606", "0.53603745", "0.5320574", "0.5271472", "0.52055717", "0.51929784", "0.5190749", "0.51825523", "0.51627296", "0.51...
0.66778034
0
Add a CPM to self.
def pmEQ(YKHO, r9bb=None): id = K8i4.id tFH4 = K8i4() YKHO._setObject(id, tFH4) if r9bb is not None: SXRB = '/manage_main?manage_tabs_message=Caching+Policy+Manager+added.' r9bb['RESPONSE'].redirect(f'{YKHO.absolute_url()}{SXRB}')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pF0b(YKHO, *qIxc):\n return PZpo.TCnComV_AddMP(YKHO, *qIxc)", "def nt8f(YKHO, nt8f):\n YKHO._cpm = nt8f", "def H2v5(YKHO, nPrm):\n set.add(YKHO, g9oi(nPrm))", "def pF0b(YKHO, *qIxc):\n return PZpo.Schema_AddMP(YKHO, *qIxc)", "def H2v5(YKHO, Z9rn):\n YKHO.cards.append(Z9rn)", "def pF0b(...
[ "0.65627855", "0.65362054", "0.6068925", "0.6035455", "0.6034727", "0.597477", "0.5891421", "0.5779816", "0.572203", "0.57207674", "0.5707444", "0.5701382", "0.5695635", "0.56801975", "0.56689334", "0.5656939", "0.56494397", "0.563455", "0.5628867", "0.56077427", "0.556476", ...
0.0
-1
Read an image in BGR format. Args
def hJfp(YKHO, pmON): LNo8 = oyIN.asarray(hnIv.open(pmON).convert('RGB')) return LNo8[:, :, ::-1].copy()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hJfp(pmON):\n LNo8 = XTiz.asarray(uGYG.Image.open(pmON).convert('RGB'))\n return LNo8[:, :, ::-1].copy()", "def tsdv(Ux0P):\n j3Lh = XC5k.imread(Ux0P)\n d7Eb = j3Lh[:, :, ::-1]\n return d7Eb", "def cE34(QMAG):\n VMuU = XC5k.imread(QMAG)\n u_65 = XC5k.cvtColor(VMuU, XC5k.COLOR_BGR2RGB)\...
[ "0.74923515", "0.7038085", "0.6957588", "0.69210696", "0.6886602", "0.68029815", "0.6758854", "0.6712576", "0.6701504", "0.66930383", "0.66909623", "0.66909623", "0.66723406", "0.6596725", "0.6590072", "0.65679365", "0.6557994", "0.6557994", "0.65421283", "0.6534228", "0.6502...
0.7295668
1
takes a h5File and returns a list of all keys that cant be read as a simple array these need to be excluded as a first step for further data cleaning
def BOFk(nPrm): THMt = [H5ew for H5ew in nPrm.keys()] deY2 = [] for H5ew in THMt: try: nPrm[H5ew].size nPrm[H5ew]['Run'].size except: deY2.append(H5ew) return deY2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qalL(gIsw):\n Vdz0 = g5R2.File(gIsw, 'r')\n U5bT = [Vdz0[imdf][:] for imdf in list(Vdz0.keys())]\n Vdz0.close()\n return U5bT", "def NI9H(tapr):\n sjXb = []\n\n def jbn3(mWFP, ZfUD):\n if isinstance(ZfUD, g5R2.Dataset):\n sjXb.append(mWFP)\n tapr.visititems(jbn3)\n r...
[ "0.7028254", "0.6243609", "0.6056843", "0.58928597", "0.58798134", "0.5806159", "0.5803775", "0.5795942", "0.5758121", "0.5747337", "0.57324463", "0.5722828", "0.5722828", "0.56261027", "0.5582275", "0.5582275", "0.5565173", "0.55631673", "0.5561089", "0.5559959", "0.55466497...
0.5417907
35
Test case for get_booking
def DZ7k(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZdI6(YKHO, x0hE):\n hU0J = x0hE.post('/bookings', json=dict(resource_id=2, user_id=1, booked_from='2019-04-18 13:00:00', booked_to='2019-04-18 14:00:00', notes='test note'))\n assert hU0J.status_code == 200\n assert hU0J.json['success'] is True\n T_2m = x0hE.get('/bookings?id=4')\n assert T_2m.j...
[ "0.75365037", "0.75214887", "0.7487175", "0.7379697", "0.7296631", "0.7211541", "0.71533513", "0.71375746", "0.69555604", "0.69074476", "0.6820985", "0.67885154", "0.67500585", "0.672256", "0.67119277", "0.6689856", "0.6687252", "0.6631745", "0.65876555", "0.6586083", "0.6584...
0.894485
0
Get the password posted by the instance.
def kXu7(YKHO): bGrB, SJ5r = YKHO._servers_client.get_password(YKHO._server['id']) return gnPz.decrypt_password(private_key=SAs9.argus.path_to_private_key, password=SJ5r['password'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AFDB(YKHO):\n return YKHO.get('password')", "def QVq7(YKHO):\n return YKHO._password", "def QVq7(YKHO):\n return YKHO._password", "def QVq7(YKHO):\n return YKHO._password", "def QVq7(YKHO):\n return YKHO.password", "def AFDB(YKHO):\n return YKHO.password", "def QVq7(YKHO) -> str:\...
[ "0.8562827", "0.8401072", "0.8401072", "0.8401072", "0.8325446", "0.8277462", "0.8277397", "0.82639945", "0.82502604", "0.8246346", "0.82225466", "0.8208079", "0.8208079", "0.82030725", "0.8200891", "0.8147053", "0.81226146", "0.81096137", "0.80978453", "0.7927229", "0.791851...
0.79289806
19
Tests that load_dbc raises an Exception if no file is found
def otlM(YKHO, dBUC): dBUC.side_effect = ldgd.CanError YKHO.assertRaises(Exception, bmen, './some-file-path')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NVvW(YKHO):\n YKHO.whois_db.load()\n aEqx = {}\n YKHO.assertEqual(aEqx, YKHO.whois_db.database)", "def l2_b(YKHO):\n wnys = 'test.db'\n YKHO.assertFalse(Hy7s.path.isfile(wnys))\n YKHO.assertEqual(YKHO.amity.load_state('test.db'), 'Database with name {} does not exist'.format(wnys))", "def...
[ "0.7181911", "0.6882607", "0.68731356", "0.6828788", "0.6813157", "0.6773153", "0.67254984", "0.66822624", "0.66814184", "0.66490924", "0.66421056", "0.6620872", "0.65817785", "0.6560316", "0.6547023", "0.652394", "0.64950514", "0.64787406", "0.6474797", "0.6461077", "0.64439...
0.79948455
0
Returns true if the borehole is inclined. Returns bool True if borehole is inclined.
def npJv(YKHO): return YKHO._is_tilted
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hk6m(YKHO):\n rdlD, fvDH = YKHO.current_state\n return YKHO.GRID_MAP[rdlD][fvDH] == 'H'", "def Kgv8(YKHO) -> bool:\n return oyIN.amax(oyIN.abs(YKHO.gripper_joint_pos - oyIN.array(YKHO.params.gripper_open_state))) < YKHO.params.gripper_state_eps", "def f5Oc(YKHO):\n GHfF = YKHO._agent_position[0...
[ "0.63146216", "0.6282066", "0.6252046", "0.6174913", "0.61470854", "0.6111297", "0.61104953", "0.60375285", "0.59997284", "0.5953088", "0.5951407", "0.5894158", "0.5885775", "0.5872461", "0.58722234", "0.58722234", "0.58722234", "0.58647054", "0.58612376", "0.5842145", "0.583...
0.0
-1
Linear coordinates of the segment edges.
def D0jL(YKHO, OxmU, gpMT=None): if gpMT is None: gpMT = oyIN.full(OxmU, 1.0 / OxmU) epBp = oyIN.concatenate(([0.0], oyIN.cumsum(gpMT))) * YKHO.H return epBp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x6JZ(YKHO):\n return (0, 0)", "def x6JZ(YKHO):\n hksT = YKHO.loc\n mawX = hksT.coord\n EBgd = mawX[0]\n HpuQ = mawX[1]\n t957 = HpuQ[0] - EBgd[0]\n YHtK = HpuQ[1] - EBgd[1]\n return (t957, YHtK)", "def zXh1(YKHO):\n return (YKHO.p - YKHO.n * YKHO.w / 2, YKHO.p + YKHO.n * YKHO.w /...
[ "0.6856884", "0.6791764", "0.6710559", "0.6635933", "0.63648456", "0.6327482", "0.6303295", "0.6269559", "0.6249252", "0.62067276", "0.619509", "0.617607", "0.6174118", "0.61099106", "0.61039495", "0.60671484", "0.6039559", "0.60364324", "0.60232544", "0.60143113", "0.6004832...
0.0
-1
Returns true if the borehole is inclined. Returns bool True if borehole is inclined.
def npJv(YKHO): return YKHO._is_tilted
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hk6m(YKHO):\n rdlD, fvDH = YKHO.current_state\n return YKHO.GRID_MAP[rdlD][fvDH] == 'H'", "def Kgv8(YKHO) -> bool:\n return oyIN.amax(oyIN.abs(YKHO.gripper_joint_pos - oyIN.array(YKHO.params.gripper_open_state))) < YKHO.params.gripper_state_eps", "def f5Oc(YKHO):\n GHfF = YKHO._agent_position[0...
[ "0.6315396", "0.6281267", "0.6252333", "0.61723197", "0.614463", "0.61099255", "0.6109858", "0.6036598", "0.599813", "0.5951692", "0.59506273", "0.5892044", "0.5885033", "0.58709645", "0.5870566", "0.5870566", "0.5870566", "0.58632636", "0.58579886", "0.5841292", "0.58362085"...
0.0
-1
Linear coordinates of the segment edges.
def D0jL(YKHO, OxmU, gpMT=None): if gpMT is None: gpMT = oyIN.full(OxmU, 1.0 / OxmU) epBp = oyIN.concatenate(([0.0], oyIN.cumsum(gpMT))) * YKHO.H return epBp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x6JZ(YKHO):\n return (0, 0)", "def x6JZ(YKHO):\n hksT = YKHO.loc\n mawX = hksT.coord\n EBgd = mawX[0]\n HpuQ = mawX[1]\n t957 = HpuQ[0] - EBgd[0]\n YHtK = HpuQ[1] - EBgd[1]\n return (t957, YHtK)", "def zXh1(YKHO):\n return (YKHO.p - YKHO.n * YKHO.w / 2, YKHO.p + YKHO.n * YKHO.w /...
[ "0.6856884", "0.6791764", "0.6710559", "0.6635933", "0.63648456", "0.6327482", "0.6303295", "0.6269559", "0.6249252", "0.62067276", "0.619509", "0.617607", "0.6174118", "0.61099106", "0.61039495", "0.60671484", "0.6039559", "0.60364324", "0.60232544", "0.60143113", "0.6004832...
0.0
-1
Build a list of boreholes given coordinates and dimensions provided in a text file.
def _lEy(Ux0P): nPrm = oyIN.loadtxt(Ux0P, ndmin=2) nUkF = [] for zFiD in nPrm: WKvO = zFiD[0] LVAh = zFiD[1] C7Ls = zFiD[2] lWPh = zFiD[3] IBd2 = zFiD[4] if len(zFiD) == 7: paov = zFiD[5] C3ap = zFiD[6] else: paov = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VSTP(_VqQ):\n with open('lines/' + _VqQ + '.lines', 'rb') as nUeQ:\n N5Pj = m6_J.reader(nUeQ, delimiter=',')\n NlgJ = []\n _g9D = []\n YAq3 = 0\n for rdlD in N5Pj:\n YAq3 = YAq3 + 1\n _g9D.append([float(rdlD[0]), float(rdlD[1])])\n if YAq3 ...
[ "0.6355758", "0.6152523", "0.5885978", "0.5854726", "0.58253974", "0.5804837", "0.57480854", "0.5693918", "0.5693385", "0.5693048", "0.5685243", "0.56571275", "0.5642535", "0.56425", "0.557498", "0.5569331", "0.55541915", "0.55464906", "0.55219835", "0.550936", "0.54932886", ...
0.6156159
1
Sets the payment_currency of this BankingCreditCardAccount.
def gV8V(YKHO, gV8V): YKHO._payment_currency = gV8V
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q8TV(YKHO, VIXL: str):\n YKHO.__currency = VIXL\n return YKHO", "def VIXL(YKHO, VIXL):\n if VIXL is None:\n raise ValueError('Invalid value for `currency`, must not be `None`')\n BbPm = ['USD', 'GBP', 'EUR']\n if VIXL not in BbPm:\n raise ValueError('Invalid value for `currency` ...
[ "0.70192647", "0.69047886", "0.6879457", "0.67909783", "0.6757854", "0.6726523", "0.6720467", "0.65871716", "0.65863764", "0.6530433", "0.6530433", "0.6530433", "0.6530433", "0.6530433", "0.6530433", "0.6530433", "0.6530433", "0.6481224", "0.6414941", "0.6414941", "0.6218601"...
0.79955477
0
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
76
return the union of two lists
def b65I(jzdc, Fg_i): return list(set(jzdc) | set(Fg_i))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zk73(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(w_3R, XxT4):\n return dDv2(w_3R + XxT4)", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg...
[ "0.87579453", "0.86029536", "0.859923", "0.8588517", "0.85150754", "0.8497468", "0.8485949", "0.8464023", "0.84628814", "0.8451098", "0.8246892", "0.8200105", "0.8185488", "0.81647533", "0.81404", "0.8090162", "0.80833423", "0.8051473", "0.7934182", "0.77234006", "0.7698081",...
0.8507195
7
Return new CoordSys rotated with respect to global axes.
def TlqW(YKHO, XyWv, mEmv=(0, 0, 0), ucp3=None): if ucp3 is None: ucp3 = Rd7Z() HFSw = ucp3.toGlobal(mEmv) return Rd7Z(XyWv @ (YKHO.origin - HFSw) + HFSw, XyWv @ YKHO.rot)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zKww(YKHO) -> 'CoordinateSystem':\n return YKHO._transform_coord_sys", "def RZRI(YKHO, qVE2=()):\n return exD7(YKHO.as_tuple() + tuple(qVE2), name=YKHO.name)", "def hjc3(YKHO, HGCR):\n return Rd7Z(YKHO.origin + HGCR, YKHO.rot)", "def n_1D(YKHO, XyWv, mEmv=(0, 0, 0), ucp3=None):\n if ucp3 is N...
[ "0.657756", "0.5951471", "0.59479463", "0.5935365", "0.59151036", "0.5912575", "0.56724143", "0.55758524", "0.55635333", "0.5518084", "0.5478331", "0.5425247", "0.54032236", "0.53965414", "0.5368978", "0.5335439", "0.52855027", "0.52709764", "0.52614135", "0.52599424", "0.525...
0.6423648
1
Return new CoordSys rotated with respect to local axes.
def n_1D(YKHO, XyWv, mEmv=(0, 0, 0), ucp3=None): if ucp3 is None: ucp3 = YKHO HFSw = ucp3.toGlobal(mEmv) q2il = YKHO.rot @ XyWv return Rd7Z(q2il @ YKHO.rot.T @ (YKHO.origin - HFSw) + HFSw, q2il)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zKww(YKHO) -> 'CoordinateSystem':\n return YKHO._transform_coord_sys", "def Ya5y(YKHO, XyWv, EoYK=None, ucp3=None):\n if EoYK is None and ucp3 is None:\n ucp3 = YKHO.coordSys\n EoYK = [0, 0, 0]\n GGBO = [ZfUD.withLocalRotation(XyWv, EoYK, ucp3) for ZfUD in YKHO.items]\n U5bT = YKHO....
[ "0.67565423", "0.62656516", "0.61642385", "0.60897326", "0.6029916", "0.5752146", "0.5746041", "0.5737553", "0.571281", "0.57089806", "0.56911254", "0.56794935", "0.5600754", "0.5525125", "0.55242926", "0.5522635", "0.54967016", "0.54895765", "0.5342236", "0.53222334", "0.527...
0.6491764
1
Gets the id of this DashboardClient. The id of the Oauth client that the dashboard will use. If present, MUST be a nonempty string.
def id(YKHO) -> str: return YKHO._id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_id')", "def zb3C(YKHO) -> str:\n return qe4Y.get...
[ "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.78173417", "0.7786755", "0.7786755", "0.7786755", ...
0.0
-1
Sets the id of this DashboardClient. The id of the Oauth client that the dashboard will use. If present, MUST be a nonempty string.
def id(YKHO, id: str): YKHO._id = id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def id(YKHO, id):\n if YKHO._configuration.client_side_validation and id is None:\n raise ValueError('Invalid value for `id`, must not be `None`')\n YKHO._id = id", "def id(YKHO, id):\n if YKHO._configuration.client_side_validation and id is None:\n raise ValueError('Invalid value for `id`...
[ "0.7305143", "0.7305143", "0.70296025", "0.70270354", "0.70270354", "0.70207864", "0.6993434", "0.69830126", "0.69669515", "0.69291157", "0.6913837", "0.68915397", "0.68915397", "0.68509537", "0.6846664", "0.6837101", "0.68271446", "0.68271446", "0.68271446", "0.68271446", "0...
0.68446505
15
Gets the secret of this DashboardClient. A secret for the dashboard client. If present, MUST be a nonempty string.
def DXni(YKHO) -> str: return YKHO._secret
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cxz5(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'client_secret')", "def Cxz5(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'client_secret')", "def Cxz5(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'client_secret')", "def Cxz5(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe...
[ "0.7949092", "0.7949092", "0.78546757", "0.7832875", "0.7832875", "0.7832875", "0.7832875", "0.7832875", "0.7832875", "0.77481323", "0.77143735", "0.77038836", "0.7665981", "0.7665981", "0.7665981", "0.7665981", "0.7665981", "0.7665981", "0.75308", "0.75308", "0.75308", "0....
0.73940146
33
Gets the redirect_uri of this DashboardClient. A URI for the service dashboard. Validated by the OAuth token server when the dashboard requests a token.
def vSyi(YKHO) -> str: return YKHO._redirect_uri
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f15s(YKHO, vSyi=None):\n return YKHO._client.get_auth_token_url(vSyi)", "def f15s(YKHO, vSyi=None):\n return YKHO._client.get_auth_token_url(vSyi)", "def vSyi(YKHO):\n return YKHO._redirect_uri", "def vSyi(YKHO):\n return YKHO._redirect_uri", "def rbaP(YKHO):\n j8eK = '%s?client_id=%s&re...
[ "0.7591884", "0.7591884", "0.7215739", "0.7215739", "0.7107674", "0.6997865", "0.6844787", "0.6802918", "0.6787973", "0.6787973", "0.6725894", "0.6718927", "0.6703248", "0.6618629", "0.6552396", "0.65308654", "0.64764845", "0.64701664", "0.64681685", "0.64514434", "0.64402235...
0.71815956
4
Wrapper for inserting int64 features into Example proto.
def Oety(YKHO, BWXx): if not isinstance(BWXx, list): BWXx = [BWXx] return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=BWXx))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wgnv(PU1l, BZ2A, kAne):\n PU1l.features.feature[BZ2A].int64_list.value.append(kAne)", "def Oety(BWXx):\n return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=[BWXx]))", "def Oety(BWXx):\n BWXx = int(BWXx)\n return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=[BWXx]))", ...
[ "0.7374892", "0.73494405", "0.73194486", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301892", "0.7301704", "0.7300591", "0.72966045", "0.72966045", "0.72966045"...
0.71375513
78
Wrapper for inserting bytes features into Example proto.
def NhGy(YKHO, BWXx): return ZylS.train.Feature(bytes_list=ZylS.train.BytesList(value=[BWXx]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mJtR(PU1l, BZ2A, I3mI):\n PU1l.features.feature[BZ2A].bytes_list.value.append(I3mI)", "def NhGy(BWXx):\n BWXx = BWXx.encode('utf8')\n return ZylS.train.Feature(bytes_list=ZylS.train.BytesList(value=[BWXx]))", "def r2_2(BWXx):\n if isinstance(BWXx, jKi7.string_types):\n BWXx = jKi7.binary...
[ "0.7096743", "0.6880364", "0.6871038", "0.68567646", "0.68537796", "0.6847104", "0.6847104", "0.6845744", "0.6845183", "0.6843754", "0.6830059", "0.6830059", "0.6830059", "0.6821449", "0.6818357", "0.68145937", "0.6813293", "0.68131137", "0.6810319", "0.68033844", "0.6803375"...
0.6620035
68
Return a random line from the file (or default).
def tlzG(L49q, WmM4=None): zFiD = WmM4 for YRbF, dhJN in enumerate(L49q, start=1): if qukk(YRbF) == 0: zFiD = dhJN return zFiD
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tlzG(nUeQ: str) -> str:\n pmON = GkAb(nUeQ)\n with pmON.open('r') as nUeQ:\n DumB = [jzdc for jzdc in nUeQ if jzdc != '']\n return tuKI.choice(DumB)", "def tiVD():\n gIsw = open(bI2E, 'r')\n MVVZ = gIsw.readlines()\n gIsw.close()\n susU = 0\n for zFiD in MVVZ:\n susU += ...
[ "0.8209952", "0.7501623", "0.7054685", "0.6615626", "0.65027016", "0.64343274", "0.6410825", "0.6403663", "0.638243", "0.6363952", "0.6318492", "0.627253", "0.6228219", "0.61006343", "0.60847074", "0.6077756", "0.60709393", "0.60553825", "0.6045769", "0.60447836", "0.60149825...
0.8669554
0
Select only predictions which have a `score` > self.confidence_threshold, and returns the predictions in descending order of score
def KzMi(N6Z1): DM1L = 0.7 cCrA = N6Z1.get_field('scores') uZq5 = ht2j.nonzero(cCrA > DM1L).squeeze(1) N6Z1 = N6Z1[uZq5] cCrA = N6Z1.get_field('scores') bGrB, or8S = cCrA.sort(0, descending=True) return N6Z1[or8S]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KzMi(YKHO, N6Z1):\n cCrA = N6Z1.get_field('scores')\n uZq5 = ht2j.nonzero(cCrA > YKHO.confidence_threshold).squeeze(1)\n N6Z1 = N6Z1[uZq5]\n cCrA = N6Z1.get_field('scores')\n bGrB, or8S = cCrA.sort(0, descending=True)\n return N6Z1[or8S]", "def KzMi(YKHO, N6Z1):\n cCrA = N6Z1.get_field('...
[ "0.8273425", "0.8273425", "0.8067088", "0.8059338", "0.6635144", "0.642069", "0.6230301", "0.6185202", "0.6165722", "0.6122738", "0.60521513", "0.6031801", "0.60196346", "0.6015363", "0.6011653", "0.5979556", "0.59645957", "0.59543955", "0.5948152", "0.594146", "0.5918585", ...
0.7926259
4