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
This function finds the dot product of two vectors. It does this by multiplying each element in list 1 by the corresponding element in list 2 and summing each of these together
def BJ1H(d9hQ, Ksnj): Aofo = 0 for epBp in range(len(d9hQ)): Aofo += d9hQ[epBp] * Ksnj[epBp] return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pxL1(lSjb, v8Fa):\n return sum((jzdc * Fg_i for jzdc, Fg_i in zip(lSjb, v8Fa)))", "def X6_J(hQHm, jlSq):\n return sum((jzdc * Fg_i for jzdc, Fg_i in zip(hQHm, jlSq)))", "def pxL1(lSjb, v8Fa):\n import operator\n return sum(map(operator.mul, lSjb, v8Fa))", "def pxL1(hQHm, jlSq):\n return su...
[ "0.89191514", "0.8890897", "0.8804742", "0.8726835", "0.86341274", "0.8459445", "0.8450276", "0.84476626", "0.8446389", "0.8441224", "0.84406364", "0.8412409", "0.83798426", "0.83680874", "0.83556044", "0.8332747", "0.83085656", "0.8282643", "0.8254755", "0.821688", "0.815772...
0.82354426
19
Returns a pseudorandom character derived from an input string.
def Pwhd(c3_1, TPao): rPvW = len(oVb1) nXv3 = 0 for fVVZ in range(0, rPvW): nXv3 += int(c3_1[oVb1[fVVZ] + TPao]) + rPed[fVVZ] nXv3 = str(nXv3 % 10) return nXv3
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wAgY():\n return chr(ajWY(97, 122))", "def VR0L() -> chr:\n return chr(int(tuKI.randrange(32, 126, 1)))", "def R71E():\n return chr(tuKI.randrange(32, 126, 1))", "def R71E(ASFv):\n hcXw = ASFv[icr8.randrange(len(ASFv))]\n return hcXw", "def DAbY(exwG, Sc5p=''):\n if exwG == 0:\n ...
[ "0.76887417", "0.75494397", "0.7421187", "0.72703284", "0.72157395", "0.7002237", "0.69933724", "0.6983126", "0.69035256", "0.6852767", "0.683394", "0.680291", "0.67437786", "0.66570324", "0.66514015", "0.6642173", "0.66275775", "0.66170365", "0.65608686", "0.6560181", "0.655...
0.0
-1
Repeats the nibble() function along a string, to return a pseudorandom string from an input meal string.
def Szi1(GRUQ, FgEW): for TPao in range(FgEW): GRUQ = tJs9(GRUQ) return GRUQ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tJs9(c3_1):\n GRUQ = ''\n for TPao in range(-len(c3_1), 0):\n GRUQ += Pwhd(c3_1, TPao)\n return GRUQ", "def _Nnl(exwG):\n ''.join((Acvy(zwVL) for YRbF in range(exwG)))", "def TCqG(BkWp=5, gLiZ=vIwR.digits + vIwR.uppercase):\n return 'FLIM-' + ''.join([tuKI.choice(gLiZ) for bGrB in Ni9...
[ "0.72395355", "0.6527193", "0.643601", "0.6379915", "0.63499594", "0.6324259", "0.6271023", "0.6176849", "0.6152724", "0.6139098", "0.60701203", "0.6031825", "0.6017706", "0.6002031", "0.59563357", "0.59310585", "0.59051627", "0.5905049", "0.5896663", "0.5893765", "0.58874524...
0.56368285
64
A mathematical sigmoid function, the 'Logistic function'.
def tDhT(WKvO, m5Bd, aPd6, G1Hx): URbk = 2.718281828459045 WTkW = aPd6 / (1 + URbk ** (-G1Hx * (WKvO - m5Bd))) return WTkW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m1Hg(WKvO):\n return 1 / (1 + epAf.exp(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + epAf.exp(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + kLQb(-WKvO))", "def m1Hg(WKvO):\n return 1 / (1 + epAf.exp(-WKvO))", "def m1Hg(WKvO):\n return ...
[ "0.88541406", "0.8829377", "0.8828521", "0.8828521", "0.88273054", "0.881638", "0.881638", "0.88091034", "0.8801677", "0.8712745", "0.86780906", "0.86745834", "0.86717623", "0.86700463", "0.8668718", "0.8668718", "0.8668718", "0.8668718", "0.8668718", "0.8668718", "0.8659444"...
0.0
-1
L2normalize columns of X
def wsvu(EcVT): CkYf = ht2j.pow(EcVT, 2).sum(dim=1, keepdim=True).sqrt() EcVT = ht2j.div(EcVT, CkYf) return EcVT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KRpR(nPrm, SGf8, jDK_=None):\n return KQGe.nn.l2_normalize(nPrm, SGf8, jDK_)", "def jz9k(WKvO):\n return WKvO / TuJO.norm(WKvO)", "def BDj2(CAzz):\n E_k5 = mjlx(CAzz)\n return CAzz / oyIN.sqrt(E_k5[:, oyIN.newaxis])", "def U95B(WKvO):\n WKvO = WKvO / oyIN.sqrt(oyIN.sum(WKvO * WKvO, axis=-1...
[ "0.76127386", "0.74197316", "0.72367084", "0.7202008", "0.7162083", "0.7133827", "0.70338094", "0.69962883", "0.6908121", "0.69054306", "0.6894549", "0.6815722", "0.6789521", "0.6779976", "0.67509", "0.6738499", "0.6678439", "0.66768813", "0.6676479", "0.66763866", "0.665484"...
0.66025686
26
Initialize the ship and set its starting position
def FIMM(YKHO, YqMg, Vjhr): super(riCe, YKHO).__init__() YKHO.screen = Vjhr YKHO.setting = YqMg YKHO.image = g74T.image.load(DYjB()) YKHO.rect = YKHO.image.get_rect() YKHO.screenRect = Vjhr.get_rect() YKHO.mask = g74T.mask.from_surface(YKHO.image) YKHO.rect.centerx = YKHO.screenRect.cent...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, tJm0, Vjhr):\n super(riCe, YKHO).__init__()\n YKHO.screen = Vjhr\n YKHO.ai_settings = tJm0\n YKHO.image = a9eO.image.load('images/spaceship.bmp')\n YKHO.image = a9eO.transform.scale(YKHO.image, (50, 50))\n YKHO.rect = YKHO.image.get_rect()\n YKHO.screen_rect = Vjhr.get_rect()\n ...
[ "0.724054", "0.723063", "0.718953", "0.71750754", "0.71750754", "0.71102977", "0.7028255", "0.7022774", "0.7009138", "0.7005338", "0.69817597", "0.69712067", "0.6951812", "0.6941031", "0.69371396", "0.69253206", "0.69229627", "0.6834589", "0.6765205", "0.6728738", "0.67257273...
0.6996021
10
Returns starting state of the board.
def W9gz(): return [[KAvf, KAvf, KAvf], [KAvf, KAvf, KAvf], [KAvf, KAvf, KAvf]]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rEkR(YKHO):\n return oyIN.zeros(YKHO.board_size, dtype=oyIN.int8)", "def rEkR():\n return H66R.Board()", "def jKlz(YKHO):\n return (YKHO.startingPosition, (False, False, False, False))", "def D3Ar(YKHO):\n gnPz.raiseNotDefined()", "def D3Ar(YKHO):\n gnPz.raiseNotDefined()", "def D3Ar(Y...
[ "0.8081514", "0.7890486", "0.7534929", "0.72789717", "0.72789717", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", "0.72262055", ...
0.0
-1
Returns player who has the next turn on a board.
def oyg0(iBIi): bi9I = 0 wGlg = 0 for rdlD in iBIi: kCyx = {YRbF: rdlD.count(YRbF) for YRbF in rdlD} if not kCyx.get('X'): kCyx['X'] = 0 if not kCyx.get('O'): kCyx['O'] = 0 bi9I = bi9I + int(kCyx['X']) wGlg = wGlg + int(kCyx['O']) if bi9I =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zia_(iBIi, UwI3):\n RUgX = VlLD.opponent(UwI3)\n if VlLD.any_legal_move(RUgX, iBIi):\n return RUgX\n elif VlLD.any_legal_move(UwI3, iBIi):\n return UwI3\n return None", "def Zia_(YKHO, iBIi, UwI3):\n RUgX = YKHO.opponent(UwI3)\n iiQJ = YKHO.any_legal_move(RUgX, iBIi)\n v5zX...
[ "0.7908894", "0.751989", "0.7417374", "0.736781", "0.71948826", "0.6975557", "0.69626296", "0.69238055", "0.6917976", "0.6898035", "0.68501645", "0.6841178", "0.6837476", "0.6824873", "0.67710596", "0.67710596", "0.67668664", "0.67113537", "0.6708399", "0.6656373", "0.6611675...
0.0
-1
Returns the optimal action for the current player on the board.
def SR1K(iBIi): if iBIi == W9gz(): mAYH = ajWY(0, 2) pks6 = ajWY(0, 2) return (mAYH, pks6) M4AO = oyg0(iBIi) r8IL = None if M4AO == 'X': HKli = float('-inf') for XeOP in xASv(iBIi): U6Dy = Zgov(Aofo(iBIi, XeOP)) if U6Dy >= HKli: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ePBn(YKHO):\n if YKHO.bestAction is None:\n YKHO.calculate_best_action()\n return YKHO.bestAction", "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,...
[ "0.7766856", "0.76323676", "0.75855315", "0.75285065", "0.75175256", "0.74667144", "0.7460485", "0.74263537", "0.7416421", "0.73943585", "0.7375846", "0.7333894", "0.73147565", "0.7306611", "0.7284639", "0.72650313", "0.72650313", "0.7250975", "0.72331834", "0.7203267", "0.71...
0.0
-1
This method returns the value for the message property.
def Ol8d(YKHO): return YKHO._message
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Eair(YKHO):\n return YKHO._message", "def Ol8d(YKHO) -> str:\n return laHg.cast(str, YKHO._properties.get('message'))", "def Eair(YKHO):\n return YKHO.message", "def Eair(YKHO):\n return YKHO.message", "def Eair(YKHO):\n return YKHO.msg", "def Ol8d(YKHO):\n return YKHO.__message", ...
[ "0.8432235", "0.8411812", "0.83325964", "0.83325964", "0.831949", "0.8315507", "0.8315507", "0.8315507", "0.8315507", "0.8315507", "0.8315507", "0.8307512", "0.8307512", "0.8307512", "0.8307512", "0.8307512", "0.8242109", "0.82347345", "0.8092407", "0.8087789", "0.8087789", ...
0.81921166
20
Return the full ID for this task.
def u7Jk(YKHO): mWFP = YKHO.strategy.__class__.__name__ return f'{mWFP}/{YKHO.id()}'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _TKD(YKHO) -> str:\n return YKHO.get_from_redis('task_id')", "def jz8h(YKHO):\n if YKHO.task_id:\n return YKHO.task_id\n return f'{YKHO.task_type}_{YKHO.get_source_system().lower()}.{YKHO.get_source_subsystem().lower()}.{YKHO.get_name().upper()}'", "def _TKD(YKHO):\n return YKHO._task_id...
[ "0.86336315", "0.83552516", "0.8275074", "0.8275074", "0.8275074", "0.8275074", "0.7965906", "0.7787067", "0.77601516", "0.77601516", "0.77253646", "0.7626648", "0.7585282", "0.7573033", "0.7573033", "0.7573033", "0.7573033", "0.7573033", "0.7573033", "0.7573033", "0.7573033"...
0.0
-1
Compute the IntersectionOverUnion of two given boxes.
def RjuK(knvf, IkxF): tspZ = min(knvf[0] + 0.5 * knvf[2], IkxF[0] + 0.5 * IkxF[2]) - max(knvf[0] - 0.5 * knvf[2], IkxF[0] - 0.5 * IkxF[2]) if tspZ > 0: V2zj = min(knvf[1] + 0.5 * knvf[3], IkxF[1] + 0.5 * IkxF[3]) - max(knvf[1] - 0.5 * knvf[3], IkxF[1] - 0.5 * IkxF[3]) if V2zj > 0: iQ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oAjl(HtXD, ROGq):\n FJ23 = max(HtXD[0], ROGq[0])\n cpky = max(HtXD[1], ROGq[1])\n lCRk = min(HtXD[2], ROGq[2])\n w871 = min(HtXD[3], ROGq[3])\n c5_M = max(0, lCRk - FJ23 + 0) * max(0, w871 - cpky + 0)\n aipi = (HtXD[2] - HtXD[0] + 1) * (HtXD[3] - HtXD[1] + 1)\n g94v = (ROGq[2] - ROGq[0] + ...
[ "0.79086936", "0.77042747", "0.76564115", "0.7506713", "0.7472324", "0.7414646", "0.740481", "0.7296138", "0.710624", "0.7090592", "0.70833206", "0.7071014", "0.70340574", "0.6979808", "0.69067514", "0.68779904", "0.68497443", "0.6819666", "0.68149066", "0.6769053", "0.676208...
0.7090226
10
Compute the IntersectionOverUnion of a batch of boxes with another box.
def ptGK(oUSw, FlUN): tspZ = oyIN.maximum(oyIN.minimum(oUSw[:, 0] + 0.5 * oUSw[:, 2], FlUN[0] + 0.5 * FlUN[2]) - oyIN.maximum(oUSw[:, 0] - 0.5 * oUSw[:, 2], FlUN[0] - 0.5 * FlUN[2]), 0) V2zj = oyIN.maximum(oyIN.minimum(oUSw[:, 1] + 0.5 * oUSw[:, 3], FlUN[1] + 0.5 * FlUN[3]) - oyIN.maximum(oUSw[:, 1] - 0.5 * oUS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zkRQ(YKHO, oUSw):\n return Zm2m(YKHO.best_box, oUSw)", "def rP5y(p3tS, yYGL):\n TTm1 = ht2j.stack((p3tS, yYGL), dim=1)\n fbzV = ht2j.max(TTm1[:, :, 0].T, dim=0).values\n s8y6 = ht2j.max(TTm1[:, :, 1].T, dim=0).values\n BgsN = ht2j.stack((p3tS[:, 0] + p3tS[:, 2], yYGL[:, 0] + yYGL[:, 2]), dim=0...
[ "0.7785715", "0.7706115", "0.74428046", "0.7328188", "0.7296437", "0.6878068", "0.68028563", "0.67695576", "0.6746712", "0.66722983", "0.66065645", "0.66065645", "0.66014", "0.6589643", "0.64940846", "0.64498955", "0.63736373", "0.63378143", "0.6336969", "0.62945974", "0.6269...
0.61597496
26
Get a Tier Config parameter.
def IJ6U(YKHO, hbFX): try: return list(filter(lambda xqoZ: xqoZ.id == hbFX, YKHO.params))[0] except IndexError: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tgzD(xqoZ):\n viqz = CVPJ()\n try:\n k8wH.echo(f'{xqoZ}={rr5d(viqz, xqoZ)}')\n except AttributeError as err:\n k8wH.echo(XObx)", "def dLCC(xjUu):\n Nu1S = open('./config.txt', 'r')\n Nqlg = Nu1S.readlines()\n for zFiD in Nqlg:\n zFiD = zFiD.rstrip('\\n\\r')\n if ...
[ "0.633574", "0.62678856", "0.6214928", "0.6108484", "0.6034082", "0.6024662", "0.5977047", "0.5837261", "0.5834864", "0.5821047", "0.5804854", "0.5787351", "0.5767046", "0.57103807", "0.5702476", "0.5680964", "0.5671381", "0.5657805", "0.5656453", "0.56446964", "0.56187177", ...
0.0
-1
The name of the bucket it applies to.
def WE7e(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'bucket')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l7rj(YKHO) -> str:\n ...", "def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketName')", "def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketName')", "def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')", "def l7rj(YKHO) -> str:\n return YKHO._values.get('bucket_name')", ...
[ "0.89453804", "0.8882473", "0.8882473", "0.8837587", "0.88227093", "0.84004074", "0.84004074", "0.84004074", "0.84004074", "0.84004074", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.824754...
0.7564817
28
The name of the bucket it applies to.
def WE7e(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'bucket')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l7rj(YKHO) -> str:\n ...", "def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketName')", "def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketName')", "def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')", "def l7rj(YKHO) -> str:\n return YKHO._values.get('bucket_name')", ...
[ "0.89437246", "0.8881766", "0.8881766", "0.8836366", "0.88216186", "0.8399381", "0.8399381", "0.8399381", "0.8399381", "0.8399381", "0.8340556", "0.8340556", "0.8340556", "0.8340556", "0.8340556", "0.8340556", "0.8340556", "0.8340556", "0.8340556", "0.8340556", "0.82463354", ...
0.74220246
34
The name of the bucket it applies to.
def WE7e(YKHO) -> qe4Y.Output[str]: return qe4Y.get(YKHO, 'bucket')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l7rj(YKHO) -> str:\n ...", "def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketName')", "def l7rj(YKHO) -> str:\n return HEOD.get(YKHO, 'bucketName')", "def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')", "def l7rj(YKHO) -> str:\n return YKHO._values.get('bucket_name')", ...
[ "0.89453804", "0.8882473", "0.8882473", "0.8837587", "0.88227093", "0.84004074", "0.84004074", "0.84004074", "0.84004074", "0.84004074", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.8341372", "0.824754...
0.7775541
24
Yield elements from data in chunks of batch_size, where each chunk size is a multiple of batch_size_multiple.
def aNDg(YKHO, nPrm, Ep8u, Ch_W='sents', SbeQ=1): def sdUz(zzk1, KLk8): if Ch_W == 'sents': return zzk1 elif Ch_W == 'tokens': return zzk1 * KLk8 else: raise ValueError(f'Invalid argument batch_type={Ch_W}') A4Kf, KLk8, uXsa, PwWw = ([], 0, 0, []) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rxBt(nPrm, Ep8u):\n nPrm = oyIN.array(nPrm)\n for YRbF in range(0, nPrm.shape[0], Ep8u):\n yield nPrm[YRbF:YRbF + Ep8u]", "def O1rV(YKHO, Ep8u: int) -> bDy6[x1iM]:\n if Ep8u >= len(YKHO):\n yield type(YKHO)(YKHO)\n else:\n for iXC1 in range(0, len(YKHO), Ep8u):\n y...
[ "0.77012587", "0.7587111", "0.75182927", "0.7478986", "0.74782556", "0.736393", "0.73613673", "0.7350502", "0.73261106", "0.7288047", "0.72843724", "0.72683865", "0.7213839", "0.7178771", "0.71777266", "0.71777266", "0.7177649", "0.71665114", "0.71599174", "0.71478873", "0.71...
0.7406315
5
Get a day's boundaries A days_delta of 0 means today. A days_delta of 1 means yesterday. UTC is not okay. we should use the user's timezone.
def l8LA(a_PL=0): osIs = qcWV.utcnow() - fCoM(days=int(a_PL)) HNQD = osIs.replace(hour=0, minute=0, second=0, microsecond=0) fXGn = HNQD + fCoM(days=1) RKD7.debug('Day boundary start {} end {}'.format(HNQD, fXGn)) return (HNQD.timestamp(), fXGn.timestamp())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VHFg(YKHO) -> AzJI[qcWV, qcWV]:\n LIc9 = min(YKHO.dset.time.datetime)\n kwmt = max(YKHO.dset.time.datetime)\n return (LIc9, kwmt)", "def NOIx(YKHO) -> qe4Y.Input[int]:\n return qe4Y.get(YKHO, 'interval_days')", "def LPUI():\n Oxrr = {1: [1, 2], 2: [3, 4], 3: [5, 6], 4: [7, 8], 5: [9, 10], 6:...
[ "0.6196164", "0.61110103", "0.5903451", "0.5675002", "0.5569602", "0.5532423", "0.5498644", "0.5451669", "0.5409555", "0.5407719", "0.54027617", "0.5402526", "0.5379924", "0.53775245", "0.5366239", "0.53645635", "0.5356302", "0.5333312", "0.532359", "0.52390313", "0.52098286"...
0.8457112
0
Get the neighbors of each node from a NetworkX graph in a dictionary
def BTfj(pNZh): RD1Q = dict() for Q6kx in pNZh: RD1Q[Q6kx] = set(pNZh[Q6kx]) return RD1Q
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A_IW(YKHO, exwG):\n try:\n return YKHO.dict[exwG].keys()\n except KeyError:\n raise KeyError('Node not in graph.')", "def BTfj(YKHO):\n return YKHO.adjacent.keys()", "def JMqK(yvY1, exwG, z1Rg):\n P8oC = yvY1[exwG]\n A_IW = {}\n A_IW[exwG] = 0\n wzeP = set(A_IW.keys())\n ...
[ "0.7494643", "0.72141767", "0.69946605", "0.69806373", "0.69595605", "0.694073", "0.69284505", "0.6898482", "0.6887162", "0.67841864", "0.67640376", "0.67278284", "0.66748416", "0.6641142", "0.66320515", "0.6593622", "0.6572399", "0.65383476", "0.65369564", "0.6511455", "0.65...
0.795288
0
Generates an arbitrary invalid JSON payload dict to be used in the update user call from a user object. Current implementation is just to give an invalid first name, containing a numeric digit.
def Rp6Q(gFsc: user_models.User) -> cuzp[str, ImMB]: n9UN = bTD0() NwKn = lambda: n9UN.first_name() + str(ajWY(5, 10)) uJjO = gFsc.get_id() gtl1 = {'identifier': {'user_id': uJjO}, 'first_name': NwKn(), 'email': NwKn(), 'password': NwKn(), 'image_id': n9UN.uuid4(), 'user_links': [NwKn() for bGrB in rang...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def amiU(YKHO):\n nPrm = YKHO.user_data.copy()\n nPrm.pop('first_name')\n geh0 = YKHO.client.post(YKHO.url, nPrm, format='json')\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_400_BAD_REQUEST)\n YKHO.assertEqual(geh0.data.get('message').get('first_name')[0], 'This field is required.')", "def x7Uq(...
[ "0.59625244", "0.58928806", "0.5877669", "0.5870688", "0.58412963", "0.58350444", "0.57733476", "0.5674835", "0.5664454", "0.5642326", "0.5640764", "0.55821985", "0.5562882", "0.5542463", "0.5519318", "0.55079794", "0.550572", "0.5502429", "0.5501983", "0.54404074", "0.543814...
0.70375663
0
Generates an invalid request that contains no information
def dzFO() -> cuzp[str, ImMB]: gtl1 = {} return gtl1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _ef9():\n return c1Bu(400)", "def WEtw():\n return oGir('{\"error\": \"Invalid request\"}', status=400, mimetype='application/json')", "def HRJ7(YKHO):\n YKHO.mgr.sendGoProRequest(141)\n YKHO.assertFalse(YKHO.v.message_factory.gopro_set_request_encode.called)", "def xQJF(P1dF):\n return _e...
[ "0.6811276", "0.6651741", "0.64184004", "0.6370754", "0.6370754", "0.6370754", "0.6338325", "0.6298094", "0.6273988", "0.6232968", "0.61770815", "0.61492616", "0.6142746", "0.6140847", "0.6112187", "0.60930365", "0.60758084", "0.59557325", "0.5955437", "0.5954535", "0.5947723...
0.0
-1
Checks if response code to user update with no data provided is valid
def nrEm(geh0: HTTPResponse) -> bool: return geh0.status_code == 422
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HNBj(geh0: HTTPResponse) -> bool:\n return geh0.status_code == 200", "def Vzhs(geh0: HTTPResponse) -> bool:\n return geh0.status_code == 404", "def _MFN(YKHO, nPrm):\n return", "def E7zM(YKHO, fRMf: Dict[str, Any]):\n MOPg = fRMf\n btDY = dzFO()\n geh0 = gjjO(btDY, MOPg)\n assert nrE...
[ "0.7330141", "0.71534866", "0.69160795", "0.6912243", "0.6599443", "0.6578528", "0.6540092", "0.6391928", "0.6252465", "0.61851406", "0.6180849", "0.6139237", "0.6111052", "0.61080205", "0.60823107", "0.606803", "0.60664207", "0.60403055", "0.60318744", "0.5993435", "0.597691...
0.60912156
14
function that takes an epoch index as input and returns a new learning rate as output
def b6Gq(qtWj): return Cwt5 / (1 + f9Ey * qtWj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b0Ix(qtWj):\n return Cwt5 / (1 + f9Ey * qtWj)", "def b0Ix(qtWj):\n return Cwt5 / (1 + f9Ey * qtWj)", "def b0Ix(qtWj):\n YKHO.lr = YKHO.lr / 1.00000001\n return YKHO.lr", "def nrOS(YKHO, qtWj):\n b0Ix = YKHO.schedule(qtWj)\n ZylS.summary.scalar('learning rate', data=b0Ix, step=qtWj)\n ...
[ "0.7667443", "0.7667443", "0.7477069", "0.73838776", "0.73237056", "0.715291", "0.6897244", "0.6850048", "0.68408144", "0.68408144", "0.6836972", "0.68268704", "0.6818182", "0.68181115", "0.6813987", "0.68105394", "0.67864585", "0.6782846", "0.67577744", "0.67563546", "0.6736...
0.0
-1
Add the value of the kernel (of arbitrary size, on the location 'center'), to an array if the value in the array is not larger than the value in the kernel.
def p3XL(QAIN: np.ndarray, WZcn: np.ndarray, hgjH): BKgc, ZsNq = (hgjH.row, hgjH.column) lc5C, WYFQ = WZcn.shape RmZb = max(0, lc5C / 2 - BKgc) pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hgjH(pwgw: np.ndarray, I1xE: float=None) -> oyIN.ndarray:\n I1xE = I1xE if I1xE else pwgw.mean(axis=1)\n CvbJ = oyIN.copy(pwgw)\n for YRbF in range(pwgw.shape[0]):\n CvbJ[YRbF, :] = pwgw[YRbF, :] - I1xE[YRbF]\n return CvbJ", "def BG0P(YKHO, gwAu):\n KMvS = YKHO.gamma\n YKHO.cluster_c...
[ "0.60985863", "0.5597028", "0.5423487", "0.5346183", "0.5306569", "0.52676445", "0.5180956", "0.51263344", "0.50966823", "0.5067242", "0.5044662", "0.50417227", "0.49624735", "0.49557123", "0.4937947", "0.4922249", "0.492087", "0.49062863", "0.4842545", "0.47923386", "0.47857...
0.68929315
0
Returns the actual learn rate for the epoch. This may return the learn rate in function of training epoch Thiago F Pappacena integer epoch The epoch number float The actual learn rate to be used in network training
def gEhB(YKHO, qtWj): raise NotImplementedError('getActualLearnRate')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b0Ix(qtWj):\n YKHO.lr = YKHO.lr / 1.00000001\n return YKHO.lr", "def b0Ix(qtWj):\n return Cwt5 / (1 + f9Ey * qtWj)", "def b0Ix(qtWj):\n return Cwt5 / (1 + f9Ey * qtWj)", "def cBsx(YKHO, yKTC, qtWj):\n \"\"\"\n Dan's Methos\n \"\"\"\n yj8H = yKTC * 0.001\n Z9rn = oyIN.po...
[ "0.8455695", "0.8295935", "0.8295935", "0.7968047", "0.74135214", "0.73614776", "0.734312", "0.7145516", "0.70869344", "0.70463336", "0.7019492", "0.68898183", "0.6862335", "0.6847842", "0.6847842", "0.6847842", "0.6847842", "0.68446463", "0.6823332", "0.6793878", "0.67753375...
0.83435255
1
Automatically test all templates in the ./templates/ folder
def HTvx(Ux0P, eD8c, Tuqy, c_NS): Ux0P = Hy7s.path.join(Hy7s.path.dirname(xAKo), 'templates', Ux0P) rPXJ = vo3B.decode.cfn_yaml.load(Ux0P) hHld = vo3B.core.run_checks(Ux0P, rPXJ, c_NS, ['eu-west-1']) fbNK = [kUBT.rule.id for kUBT in hHld] assert len([r8hN for r8hN in fbNK if r8hN[1] != 'S']) == 0 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tYbK(YKHO):\n pmON = str(GSRe())\n YKHO.assertTrue(Hy7s.path.exists(pmON))", "def CXp8(YKHO):\n pass", "def DtRL(YKHO):\n YKHO.assertEqual(list(wERY.templates_for_engine({'BACKEND': 'django.templates.backends.django.Djangotemplate.', 'APP_DIRS': False, 'DIRS': ['/tmp/project/templates/', '/tmp/...
[ "0.74902356", "0.73567283", "0.729499", "0.7264715", "0.72558326", "0.71847016", "0.71600336", "0.71333927", "0.70997995", "0.7015221", "0.6989768", "0.6936575", "0.6914578", "0.6913145", "0.6891686", "0.677941", "0.6770664", "0.67564434", "0.6715024", "0.66987747", "0.669171...
0.0
-1
Determines whether or not two pandas DataFrames are equal.
def C8ET(VztK, pZRn): VQvn = len(VztK.index) uBGT = len(pZRn.index) if VQvn != uBGT: return False df3h = list(VztK) YdQ0 = list(pZRn) if set(df3h) != set(YdQ0): return False for YRbF in range(VQvn): for fXN9 in df3h: if fXN9 in GzQI: Juho =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kRZn(LFlW: pd.DataFrame, _tIi: pd.DataFrame, **B2fa) -> bool:\n rLdf.testing.assert_frame_equal(LFlW, _tIi, **B2fa)\n return True", "def bGrB(WKvO: DataFrame, LVAh: DataFrame) -> bool:\n NEUP(WKvO, LVAh)\n WKvO = WKvO.sort_values(by=WKvO.columns.to_list()).reset_index(drop=True)\n LVAh = LVAh....
[ "0.8512546", "0.7838177", "0.75594723", "0.7515018", "0.74688303", "0.73764884", "0.7364411", "0.7252881", "0.7216199", "0.70417887", "0.7036221", "0.69400513", "0.678918", "0.675936", "0.67203045", "0.66625994", "0.6643101", "0.6639713", "0.6595461", "0.6592471", "0.65885496...
0.63583887
34
Transform a sentence into a list of terms and add it to the dictionary if a term is not in the dictionary.
def jdD2(YKHO, yAmx: str) -> x1iM[int]: s2mk = YKHO._tokenize(yAmx) U5bT = YKHO._tokens_to_terms(s2mk) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x59f(yAmx):\n pNZh = {}\n V22M = yAmx.split()\n Ylbp = set()\n for YRbF in range(len(V22M) - 1):\n yzQ0 = V22M[YRbF]\n if not yzQ0 in pNZh:\n pNZh[yzQ0] = set()\n pNZh[yzQ0].add(V22M[YRbF + 1])\n\n def B0gN(pNZh, u54L, jbXL, Ylbp):\n if len(jbXL) == u54L:\n...
[ "0.61014956", "0.56351477", "0.5619743", "0.5585442", "0.558346", "0.558346", "0.5571863", "0.5562592", "0.55529344", "0.55240536", "0.5516825", "0.5511615", "0.55065274", "0.54371226", "0.54280674", "0.5394377", "0.5382651", "0.5381097", "0.5374347", "0.53696436", "0.5368704...
0.54870003
13
Transform a sentence into a list of tokens. Stop words are removed in this phase.
def NInT(YKHO, yAmx: str) -> x1iM[str]: s2mk = dFss(yAmx) s2mk = [a1PO.lower() for a1PO in s2mk if len(a1PO) < 25 and YKHO.pattern.match(a1PO)] if YKHO.include_stopword == True: return s2mk hwHU = set(di0c.words('english')) Ylbp = [] for a1PO in s2mk: if a1PO in hwHU: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wr3U(yAmx):\n b5Tf = yAmx.lower()\n D5BC = b5Tf.translate(EKJ3, vIwR.punctuation)\n vwCE = D5BC.split()\n return vwCE", "def wr3U(YKHO, yAmx, Iw_Z=False):\n _n2T = 'empty_token'\n dC_v = YKHO.parser(yAmx)\n dC_v = [GIN8.lemma_.lower().strip() if GIN8.lemma_ != '-PRON-' else GIN8.lower_ f...
[ "0.7800396", "0.76428616", "0.7402595", "0.740194", "0.73506135", "0.7345999", "0.7301398", "0.72819674", "0.72756857", "0.7252945", "0.7193871", "0.7189867", "0.71663", "0.71228087", "0.71002996", "0.7080296", "0.7056228", "0.70509064", "0.70509064", "0.70087576", "0.7003106...
0.7953735
0
Test authorization API endpoint with invalid inputs
def j6pf(Ovv9, Ggta, haEC): with G4JS.Session() as cuiw: yV7v(cuiw) c8H2(cuiw, HXx1) geh0 = cuiw.post('http://rbac-server:8000/api/authorization/', json=Ovv9) assert geh0.json()['message'] == Ggta assert geh0.json()['code'] == haEC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N4J5(YKHO):\n YKHO._error_test(ODk9.HTTPUnauthorized)", "def jF2z(YKHO):\n geh0 = YKHO.client.post(YKHO.url)\n AZHA = {'detail': 'Authentication credentials were not provided.'}\n YKHO.assertDictEqual(geh0.data, AZHA)\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_401_UNAUTHORIZED)", "def Gg...
[ "0.73336583", "0.72380227", "0.72290325", "0.7183463", "0.71786624", "0.7136279", "0.713596", "0.70732796", "0.7064649", "0.70636886", "0.7045997", "0.69862354", "0.69847786", "0.6981699", "0.69760007", "0.69760007", "0.6970749", "0.6962484", "0.69606966", "0.69135296", "0.68...
0.7289488
1
Search folder for input images with TIF extentions Returns the file names without extention
def Lag3(kB81, SYFN): RRlC = [] Hy7s.chdir(kB81) for YBcr in SYFN: for nUeQ in SC2F.glob('*.' + YBcr): RRlC.append(Hy7s.path.splitext(nUeQ)[0]) return RRlC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DSQj(ESvo, CBZq=('.png', '.jpg', '.tif')):\n dIld = []\n for Ux0P in Hy7s.listdir(ESvo):\n aPr_, Fst3 = Hy7s.path.splitext(Ux0P)\n if Fst3.lower() in CBZq:\n dIld.append(Hy7s.path.join(ESvo, Ux0P))\n return dIld", "def nGJ8(yNMs):\n import os, os.path\n xkjI = []\n ...
[ "0.73927855", "0.73072153", "0.71679777", "0.7119992", "0.7064336", "0.6999358", "0.69195825", "0.6912555", "0.6848152", "0.683941", "0.6830123", "0.6827195", "0.68093395", "0.6715149", "0.66968423", "0.6691766", "0.6681216", "0.6599368", "0.6567266", "0.6546376", "0.65188396...
0.62854373
40
Unload a config entry.
async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool: yT1k = await ajET.config_entries.async_unload_platforms(bTKY, aprE) if yT1k: del ajET.data[Sugg] return yT1k
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def async_unload_entry(ajET, PhL6):\n yT1k = await ajET.config_entries.async_forward_entry_unload(PhL6, 'climate')\n return yT1k", "async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool:\n ajET.data.pop(Sugg)\n return True", "async def async_unload_entry(ajET: HomeAssis...
[ "0.697284", "0.6888074", "0.6779855", "0.6747459", "0.6689002", "0.6657831", "0.66162205", "0.6603433", "0.65925974", "0.65595686", "0.65411645", "0.6507643", "0.6507643", "0.6507643", "0.6507643", "0.64977276", "0.64931643", "0.6486601", "0.6486601", "0.6486601", "0.6486601"...
0.6265014
52
returns Twist object representing the velocity
def aYAA(YKHO): nGNi = buJD() nGNi.linear.x = YKHO.x nGNi.linear.y = YKHO.y nGNi.angular.z = YKHO.theta return nGNi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Uk5V(YKHO):\n return YKHO.v", "def Uk5V(YKHO):\n if len(YKHO.prevPositions) < 2:\n YKHO.velocity = 0\n else:\n ITS7 = YKHO.position[2] - YKHO.prevPositions[len(YKHO.prevPositions) - 1][2]\n SJ7g = YKHO.position[0][0] - YKHO.prevPositions[len(YKHO.prevPositions) - 1][0][0]\n ...
[ "0.7852525", "0.74321026", "0.71543354", "0.71426", "0.71426", "0.7067677", "0.6950427", "0.6859001", "0.67605335", "0.67245156", "0.6690445", "0.6662443", "0.66266704", "0.6617489", "0.66126", "0.6606612", "0.66051906", "0.6592188", "0.6589132", "0.6584992", "0.65152735", ...
0.6441965
27
Computes euclidian distance between two given poses (Pose2D)
def zG70(lBK9, Ci2N): return epAf.sqrt((lBK9.x - Ci2N.x) ** 2 + (lBK9.y - Ci2N.y) ** 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KLpe(lBK9, Ci2N):\n return epAf.sqrt((lBK9.position.x - Ci2N.position.x) ** 2 + (lBK9.position.y - Ci2N.position.y) ** 2 + (lBK9.position.z - Ci2N.position.z) ** 2)", "def pImw(lBK9, Ci2N):\n o5rA = Ci2N - lBK9\n o5rA[2] = min(o5rA[2], 2 * oyIN.pi - o5rA[2])\n return oyIN.sqrt(oyIN.sum(o5rA ** 2)...
[ "0.7993743", "0.7844539", "0.77820235", "0.76284885", "0.76284885", "0.7592175", "0.7592175", "0.74816436", "0.74566495", "0.7352974", "0.72799915", "0.7242284", "0.72394544", "0.72288066", "0.7199856", "0.7185241", "0.7141375", "0.7077013", "0.70491886", "0.7040704", "0.7033...
0.79817235
1
Get next data batch from iterator. Returns DataBatch The data of next batch. Raises f StopIteration If the end of the data is reached.
def next(YKHO): if YKHO.i_sample < YKHO.n_sample: FsRa = YKHO.grouped[YKHO.i_sample:min(YKHO.n_sample, YKHO.i_sample + YKHO.batch_size)] if len(FsRa) < YKHO.batch_size: Vvvf = tuKI.sample(YKHO.grouped, YKHO.batch_size - len(FsRa)) FsRa = FsRa + Vvvf try: a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def next(YKHO):\n if YKHO._curr_batch + 1 > YKHO.num_batches:\n YKHO.new_epoch()\n raise StopIteration()\n iVrH = slice(YKHO._curr_batch * YKHO.batch_size, (YKHO._curr_batch + 1) * YKHO.batch_size)\n InGT = YKHO.inputs[iVrH]\n A9AF = YKHO.targets[iVrH]\n ZhYG = YKHO.target_ids[iVrH]\n ...
[ "0.76034075", "0.7581851", "0.74928665", "0.72848856", "0.71207833", "0.71180683", "0.71025044", "0.708066", "0.7038958", "0.7005388", "0.69707894", "0.6966655", "0.6928722", "0.68764794", "0.6838942", "0.68090606", "0.68073976", "0.67809343", "0.674439", "0.67397827", "0.672...
0.0
-1
Asks user to specify a city, month, and day to analyze.
def RxGd(): print("Hello! Let's explore some US bikeshare data!") while True: j5sA = input('Please input one of the following: Chicago, New York City, or Washington: ').lower() if j5sA not in ('chicago', 'new york city', 'washington'): print('That is not an option, please try again.'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NoUH(j5sA, x0eS, CjKC):\n print('The city you have entered is: ', j5sA)\n print('The month you have entered is: ', x0eS)\n print('The day you have entered is: ', CjKC)", "def RxGd():\n j5sA = None\n x0eS = None\n CjKC = None\n while CjKC == None:\n j5sA = input('Please enter a cit...
[ "0.66709363", "0.6536631", "0.6460791", "0.6373951", "0.6349272", "0.6310802", "0.6287722", "0.62607133", "0.6230896", "0.6212277", "0.62065274", "0.61828023", "0.6171454", "0.61700225", "0.6159926", "0.6158883", "0.6154618", "0.61455905", "0.6130836", "0.61063856", "0.610411...
0.0
-1
Loads data for the specified city and filter by month and day if applicable.
def UlWi(j5sA, x0eS, CjKC): jQ3Z = rLdf.read_csv(OerS[j5sA]) jQ3Z['Start Time'] = rLdf.to_datetime(jQ3Z['Start Time']) jQ3Z['End Time'] = rLdf.to_datetime(jQ3Z['End Time']) jQ3Z['month'] = jQ3Z['Start Time'].dt.month jQ3Z['day_of_week'] = jQ3Z['Start Time'].dt.weekday_name if x0eS != 'all': ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UlWi(j5sA, x0eS, CjKC):\n jQ3Z = rLdf.read_csv(OerS[j5sA])\n jQ3Z['Start Time'] = rLdf.to_datetime(jQ3Z['Start Time'])\n jQ3Z['month'] = jQ3Z['Start Time'].dt.month\n jQ3Z['hour'] = jQ3Z['Start Time'].dt.hour\n jQ3Z['day_of_week'] = jQ3Z['Start Time'].dt.weekday_name\n if x0eS == 0 and CjKC =...
[ "0.81534994", "0.8127076", "0.8067021", "0.805889", "0.805721", "0.8044457", "0.80380434", "0.80358624", "0.80298513", "0.80092216", "0.7992035", "0.79858416", "0.7985646", "0.7985221", "0.7960833", "0.7949547", "0.7949331", "0.79331005", "0.79279405", "0.79240465", "0.792284...
0.7778227
49
Displays statistics on the most frequent times of travel within filtered data. Adds column (int) 'hour' as the hour in military time from 'Start Time'
def dWJR(jQ3Z, j5sA, x0eS, CjKC): print(f'\nCalculating The Most Frequent Times of Travel in {j5sA.title()}...\n') SWox = ITS7.time() e1sQ = jQ3Z['month'].mode()[0] X_bn = rLdf.Series(data=['January', 'February', 'March', 'April', 'May', 'June'], index=[1, 2, 3, 4, 5, 6]) sve5 = X_bn[e1sQ] Mkm7 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dWJR(jQ3Z):\n print('\\nDisplaying the statistics on the most frequent times of travel...\\n')\n SWox = ITS7.time()\n hFPs = jQ3Z['Month'].mode()[0]\n print('For the selected filter, the month with the most travels is: ' + str(X_bn[hFPs - 1]).title() + '.')\n DSEJ = jQ3Z['Weekday'].mode()[0]\n ...
[ "0.79423076", "0.7688128", "0.76873493", "0.76485974", "0.7589674", "0.75090677", "0.74973166", "0.74812126", "0.7479994", "0.7465524", "0.7459906", "0.74576974", "0.74497575", "0.74490446", "0.74476343", "0.744689", "0.74451476", "0.74314845", "0.7428399", "0.74225044", "0.7...
0.6974008
87
Displays statistics on the most popular stations and trip. Adds column (str) 'Trip Stations' from combination of 'Start Station' and 'End Station'
def Huc_(jQ3Z): print('\nCalculating The Most Popular Stations and Trip...\n') SWox = ITS7.time() _8rG = jQ3Z['Start Station'].mode()[0] oFx8 = jQ3Z['End Station'].mode()[0] jQ3Z['Trip Stations'] = jQ3Z['Start Station'] + ' to ' + jQ3Z['End Station'] nHup = jQ3Z['Trip Stations'].mode()[0] pr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Huc_(nPrm):\n print('\\nCalculating The Most Popular Stations and Trip...\\n')\n SWox = ITS7.time()\n OMIk = nPrm['Start Station'].mode()[0]\n print('Most popular Start Station:', OMIk)\n oVHu = nPrm['End Station'].mode()[0]\n print('Most popular End Station:', oVHu)\n nPrm['start_end'] = ...
[ "0.8043603", "0.793561", "0.7929922", "0.79274666", "0.7922206", "0.790558", "0.78968275", "0.78902096", "0.7888626", "0.7886373", "0.78760403", "0.7870014", "0.7861175", "0.78497505", "0.7843425", "0.78344333", "0.7827742", "0.78274524", "0.7826972", "0.7821322", "0.782041",...
0.779558
27
Displays station and user statistics on the total and average trip duration.
def kDMA(jQ3Z): print('\nCalculating Trip Duration...\n') SWox = ITS7.time() lLPx = jQ3Z['End Time'] - jQ3Z['Start Time'] print(f'Total travel time was: {lLPx.sum()}') print(f'Average travel time was: {lLPx.mean()}') print(f'\nThis took {ITS7.time() - SWox}s seconds.') print('-' * 40)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BoK1(YKHO):\n YKHO.trip_frame = Lmli(YKHO.stats_frame, 'Trip Stats', ['The total travel time was:', 'The mean travel time was:'], row=0, column=2)\n YKHO.trip_stats_data = on8l.Label(YKHO.trip_frame, justify='left')\n YKHO.trip_stats_data.grid(row=0, column=1)", "def fLkB(YKHO):\n DSak = 0\n u...
[ "0.7489103", "0.7196101", "0.7064669", "0.70342594", "0.6976839", "0.69672513", "0.6966235", "0.6949563", "0.6948306", "0.69378114", "0.69373065", "0.69272745", "0.6912502", "0.6872051", "0.68642366", "0.6863618", "0.6857532", "0.68457603", "0.68436843", "0.68356985", "0.6835...
0.0
-1
Returns an image with a circle of the specified color centered at r_center, c_center with the specified radius.
def iXpP(YKHO, k9yV, Sxj4, r1VO, qfpW=hJxn, LNo8=oyIN.full((640, 480, 3), XDQs)): FV9o = oyIN.fromfunction(lambda Mkmy, Z9rn, bGrB: (Mkmy - k9yV) ** 2 + (Z9rn - Sxj4) ** 2 <= r1VO ** 2, LNo8.shape) return oyIN.where(FV9o, qfpW, LNo8)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FV9o(YKHO, JPqE, fXzF, r1VO, qfpW):\n WKvO = r1VO - 1\n LVAh = 0\n vgEw = 1\n iKuP = 1\n XObx = vgEw - (r1VO << 1)\n while WKvO >= LVAh:\n YKHO.pixel(JPqE + WKvO, fXzF + LVAh, qfpW)\n YKHO.pixel(JPqE + LVAh, fXzF + WKvO, qfpW)\n YKHO.pixel(JPqE - LVAh, fXzF + WKvO, qfpW)\...
[ "0.8228878", "0.8219178", "0.78154874", "0.77515244", "0.7704967", "0.7702225", "0.7552532", "0.7519485", "0.7491249", "0.73533434", "0.73278445", "0.7312186", "0.72614354", "0.72606254", "0.72138095", "0.71855444", "0.7162798", "0.7146958", "0.71364766", "0.7134207", "0.7110...
0.85644984
0
Convert snake case to camel case.
def hr_R(mWFP): if mWFP == 'role_arn': return 'roleARN' ycBG = mWFP.split('_') return ycBG[0] + ''.join((_pUq.title() for _pUq in ycBG[1:]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kCQi(BQoY: str) -> str:\n V22M = BQoY.strip('_').split('_')\n return V22M[0] + ''.join((GIN8[:1].upper() + GIN8[1:] for GIN8 in V22M[1:]))", "def hr_R(BQoY):\n qWBe = BQoY.split('_')\n return ' '.join(qWBe).title()", "def kCQi(BWXx):\n V22M = BWXx.strip('_').split('_')\n return V22M[0].lo...
[ "0.8299198", "0.81861824", "0.8119605", "0.79942614", "0.79550797", "0.794096", "0.7878372", "0.7871632", "0.77302694", "0.77255666", "0.77255666", "0.77155054", "0.7697384", "0.7677283", "0.7661334", "0.7527692", "0.7514007", "0.75120646", "0.7500888", "0.74584985", "0.74524...
0.7759237
8
Yield successive nsized chunks from l.
def eHxA(vC9B, exwG): for YRbF in Ni9Y(0, len(vC9B), exwG): yield vC9B[YRbF:YRbF + exwG]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xJ0H(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B) + 1, exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def eHxA(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def I7IE(vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield ...
[ "0.80379355", "0.79237956", "0.7922027", "0.78840584", "0.7876208", "0.78144675", "0.77643776", "0.77544284", "0.7743112", "0.7730491", "0.772761", "0.7723601", "0.7701434", "0.768797", "0.768797", "0.7662925", "0.765581", "0.765473", "0.765473", "0.76447", "0.76447", "0.76...
0.0
-1
Build token types and paddings, trim if needed, and pad if needed.
def kuNP(rdlD, b0j5, G8d9): xXq0 = b0j5.tokenize(rdlD['title']) nB03 = b0j5.tokenize(rdlD['text']) sH_v = xXq0 + [b0j5.sep_id] + nB03 nB03, HQBO, ewMd = pQeS(sH_v, G8d9, b0j5.cls, b0j5.sep, b0j5.pad) return (nB03, HQBO, ewMd)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def h4UA(YKHO):\n YKHO.advance()\n while YKHO.__token != '':\n YKHO.__tokens.append(YKHO.token_type())\n YKHO.advance()", "def pQeS(t1ss, G8d9, cch_, TJIf, Rdw3):\n X5gJ = []\n E5Ds = []\n X5gJ.append(cch_)\n E5Ds.append(0)\n ioL7 = len(t1ss)\n X5gJ.extend(t1ss)\n E5Ds.ex...
[ "0.6928678", "0.6210445", "0.609712", "0.6043583", "0.5532718", "0.5516193", "0.5512428", "0.5458469", "0.53578734", "0.5324736", "0.5320236", "0.5258206", "0.5235083", "0.5231013", "0.51703656", "0.51268417", "0.5022243", "0.50036293", "0.4974646", "0.49722788", "0.49659318"...
0.641009
1
Build token types and paddings, trim if needed, and pad if needed.
def pQeS(t1ss, G8d9, cch_, TJIf, Rdw3): X5gJ = [] E5Ds = [] X5gJ.append(cch_) E5Ds.append(0) ioL7 = len(t1ss) X5gJ.extend(t1ss) E5Ds.extend([0] * ioL7) if len(X5gJ) > G8d9 - 1: X5gJ = X5gJ[0:G8d9 - 1] E5Ds = E5Ds[0:G8d9 - 1] X5gJ.append(TJIf) E5Ds.append(0) ro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def h4UA(YKHO):\n YKHO.advance()\n while YKHO.__token != '':\n YKHO.__tokens.append(YKHO.token_type())\n YKHO.advance()", "def kuNP(rdlD, b0j5, G8d9):\n xXq0 = b0j5.tokenize(rdlD['title'])\n nB03 = b0j5.tokenize(rdlD['text'])\n sH_v = xXq0 + [b0j5.sep_id] + nB03\n nB03, HQBO, ewMd...
[ "0.69295996", "0.6409756", "0.6097955", "0.6043428", "0.55332154", "0.55182606", "0.5511946", "0.545854", "0.5358884", "0.53242093", "0.5319525", "0.52575874", "0.52352846", "0.5231233", "0.51707184", "0.5127057", "0.5021915", "0.50034505", "0.4974346", "0.49721065", "0.49664...
0.62099385
2
Utility function to clean tweet text by removing links, special characters using simple regex statements.
def rq7K(YKHO, Mau6): return ' '.join(ZbWC.sub('(@[A-Za-z0-9]+)|([^0-9A-Za-z \t])|(\\w +://\\S +)', ' ', Mau6).split())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rq7K(Mau6):\n mXDZ = 'http\\\\S+|pic.\\\\S+|@[a-zA-Z0-9_]+|#[a-zA-Z0-9_]+|[‘’“”’–—…]|\\\\xa0'\n return ZbWC.sub(mXDZ, '', Mau6)", "def uqGa(l5Ny, XaR8=True, JZhs=True, JxSC=True, Kg9z=True, f9OB=True, e6Zz=True, R2H6=True, JMEZ=True, PscS=True, pBAx=True, dKBi=False, nv2g=True, iKsa=True, cKm3=True):\n...
[ "0.8035162", "0.8011612", "0.7933544", "0.79298425", "0.7880287", "0.7745769", "0.7718409", "0.7683514", "0.7630937", "0.7559695", "0.7559695", "0.7540147", "0.75358033", "0.75032693", "0.7438139", "0.7409144", "0.73817146", "0.73814404", "0.73638856", "0.7320942", "0.731223"...
0.71911854
26
Returns the probability assigned to given topic aggregated over each time step as a pd.Series
def nolr(nPrm, OHsZ, sMbn, eGY6, sOVx='1A', waEm=oyIN.mean): q2lx = {} for XA7I, nPrm in nPrm.resample(sOVx, on='year'): _0VL = nPrm.index.tolist() XLK8 = [JciG(OHsZ[p6S0], sMbn, eGY6) for p6S0 in _0VL] q2lx[XA7I.year] = waEm(XLK8) print(XA7I.year) if XA7I.year % 20 == 0:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QOSv(sma4, eGY6, sMbn):\n print(laXl.current_process().name)\n XLK8 = [JciG(QAdR, sMbn, eGY6) for QAdR in sma4]\n return rLdf.Series(XLK8)", "def qdnc(YKHO, rlUa, Csk6, Cwt5=0.1):\n return (YKHO.document_topic_counts[Csk6][rlUa] + Cwt5) / (YKHO.document_lengths[Csk6] + YKHO.nr_topics * Cwt5)", ...
[ "0.6865681", "0.5982996", "0.57867515", "0.5783651", "0.5699759", "0.568712", "0.56765324", "0.55558556", "0.5544064", "0.5537381", "0.55294305", "0.5484351", "0.54800683", "0.5408434", "0.54004264", "0.5391381", "0.5383783", "0.53732336", "0.5339577", "0.533726", "0.5329032"...
0.6340927
1
Compute the rewardstogo, which are the cumulative rewards from t=t' to T.
def Vl_R(vwlo: list[float], KMvS: float=0.95) -> float: KbRe = 0 for YRbF, Mkmy in enumerate(vwlo): KbRe += KMvS ** YRbF * Mkmy return KbRe
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xab5(eauY):\n exwG = len(eauY)\n aOK6 = oyIN.zeros_like(eauY)\n for YRbF in reversed(range(exwG)):\n aOK6[YRbF] = eauY[YRbF] + (aOK6[YRbF + 1] if YRbF + 1 < exwG else 0)\n return aOK6", "def rA42(vwlo, KMvS=0.99):\n RHnR = []\n THkp = 0\n for Mkmy in reversed(vwlo):\n THkp ...
[ "0.6727074", "0.66969395", "0.6647335", "0.6647335", "0.65731025", "0.6546329", "0.63797504", "0.6278174", "0.6232588", "0.62185216", "0.62085885", "0.61815614", "0.6180657", "0.6175553", "0.61738753", "0.6164617", "0.6163779", "0.6163142", "0.6149542", "0.6147697", "0.610366...
0.0
-1
Exponentially decay `param` by `decay_factor` iff it's above `min_val`.
def sDY6(xqoZ: float, a4i2: float, kpLf: float) -> float: if xqoZ > kpLf: xqoZ *= a4i2 xqoZ = max(xqoZ, kpLf) return xqoZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cSoB(WKvO, LVAh):\n\n def a4HF(epBp, cflT):\n return oyIN.exp(-epBp / cflT)\n ldzC, kvC5 = ysTw(a4HF, WKvO, LVAh)\n return ldzC[0]", "def WMj5(vnE3, gNly, lk9W):\n gwAu = gNly - vnE3\n if gwAu < 0:\n gwAu = 0\n return 1 + gwAu * lk9W / gNly", "def Qes_(YKHO, QjBU):\n Eiig...
[ "0.58101505", "0.5791618", "0.57722825", "0.5735606", "0.56865597", "0.5681912", "0.56657505", "0.55780464", "0.5535104", "0.5507767", "0.5490597", "0.5479432", "0.5427863", "0.537628", "0.5362313", "0.53506184", "0.5341741", "0.53301334", "0.5326169", "0.53009635", "0.529676...
0.8493756
0
Return the name of the sensor.
def mWFP(YKHO) -> str: VXJd = YKHO._get_station_name() return f'{VXJd} {YKHO._fuel_type}'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO._sensor.name", "def _lKy(YKHO):\n return YKHO.data[1]", "def mWFP(YKHO):\n return YKHO.device.device_data[YKHO.device_id]['name'] + f' {YKHO._sensor_type}'", "def mWFP(YKHO):\n return f'{YKHO._name} {lc9R[YKHO.sensor][0]}'", "def mWFP(YKHO):\n return f'{YKHO._na...
[ "0.91896784", "0.9168378", "0.890185", "0.8770976", "0.8511273", "0.8479953", "0.844435", "0.8299758", "0.8186503", "0.8105667", "0.8079737", "0.8066149", "0.8049647", "0.7700968", "0.7612295", "0.7611456", "0.7600605", "0.7600605", "0.7600605", "0.75392073", "0.75166553", ...
0.72562987
25
Return the state attributes of the device.
def TzCU(YKHO) -> dict[str, int | str]: return {oM9g: YKHO._station_id, m87x: YKHO._get_station_name()}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R1i3(YKHO):\n return YKHO.attributes", "def R1i3(YKHO):\n return YKHO._attributes", "def R1i3(YKHO):\n return YKHO._state_attrs", "def R1i3(YKHO):\n return YKHO._state_attrs", "def R1i3(YKHO):\n return YKHO._attributes", "def R1i3(YKHO):\n return YKHO._attributes", "def R1i3(YKHO)...
[ "0.92738223", "0.92053986", "0.91516256", "0.91516256", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148889", "0.9148746", "0.9148746", "0.9137698", "0.9110632",...
0.0
-1
Return the units of measurement.
def qraf(YKHO) -> str: return f'{jNF5}/{ssuk.LITERS}'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b82i(YKHO):\n return YKHO._units", "def FDFK(YKHO):\n return YKHO._unitsofmeasure", "def rYO3(YKHO):\n return YKHO._units", "def rYO3(YKHO):\n return YKHO._units", "def rYO3(YKHO):\n pass", "def b82i(YKHO):\n return YKHO.var_units", "def b82i(YKHO):\n return YKHO.values.primary...
[ "0.87613285", "0.86724734", "0.86452854", "0.86452854", "0.8517657", "0.84588224", "0.84349954", "0.84116936", "0.8312599", "0.82855976", "0.827392", "0.8131923", "0.8131923", "0.8131923", "0.8131923", "0.8131923", "0.8131923", "0.8131923", "0.8076218", "0.8076218", "0.807621...
0.0
-1
r"""Mean of variational posterior distribution of global bias `w0`. If the model is not fit yet, returns `None`.
def UpUV(YKHO) -> h8nf[float]: def SRF1(ej8u: VariationalFM) -> float: return ej8u.w0 return hk4z(YKHO, SRF1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AHwP(YKHO) -> h8nf[oyIN.ndarray]:\n\n def SRF1(ej8u: VariationalFM) -> oyIN.ndarray:\n return ej8u.w\n return hk4z(YKHO, SRF1)", "def MAIz(YKHO) -> h8nf[float]:\n\n def SRF1(ej8u: VariationalFM) -> float:\n return ej8u.w0_var\n return hk4z(YKHO, SRF1)", "def EJaY(YKHO, t9eR, NCCd,...
[ "0.6405869", "0.60896486", "0.58938146", "0.58054554", "0.57351106", "0.5646047", "0.5499095", "0.54164004", "0.5409837", "0.54091793", "0.54061115", "0.5389153", "0.5374715", "0.5363141", "0.5363141", "0.5363141", "0.53618115", "0.53606606", "0.53543854", "0.5332366", "0.531...
0.7282462
0
r"""Variance of variational posterior distribution of global bias `w0`. If the model is not fit yet, returns `None`.
def MAIz(YKHO) -> h8nf[float]: def SRF1(ej8u: VariationalFM) -> float: return ej8u.w0_var return hk4z(YKHO, SRF1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zck6(YKHO) -> h8nf[oyIN.ndarray]:\n\n def SRF1(ej8u: VariationalFM) -> oyIN.ndarray:\n return ej8u.w_var\n return hk4z(YKHO, SRF1)", "def UpUV(YKHO) -> h8nf[float]:\n\n def SRF1(ej8u: VariationalFM) -> float:\n return ej8u.w0\n return hk4z(YKHO, SRF1)", "def I8JS(LVAh, yzQ0):\n ...
[ "0.61224735", "0.6091875", "0.60470706", "0.58818746", "0.5870507", "0.5583165", "0.5478105", "0.54535085", "0.5436964", "0.5436119", "0.5431167", "0.5406301", "0.53993374", "0.5357714", "0.5334147", "0.5312088", "0.5309289", "0.52915287", "0.5289387", "0.5263444", "0.5246979...
0.6527798
0
r"""Compute the probability that the outcome will be 1 based on variational mean.
def KR85(YKHO, EcVT: Optional[ArrayLike], t7N3: List[RelationBlock]=[]) -> oyIN.ndarray: return YKHO._predict_core(EcVT, t7N3)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xrVC(YKHO, WKvO):\n XP5J = YKHO.dist.probability(WKvO)\n return XP5J", "def JxU2(WKvO):\n return 1.0 * c5LJ(WKvO, (0.0, 1.2), (1.0, 1.0), 0.8) + 1.05 * c5LJ(WKvO, (0.6, -1.0), (1.3, 0.7), -0.6)", "def kBcy(WKvO, JBMS, ee6l):\n if WKvO:\n JxU2 = JBMS\n else:\n JxU2 = 1 - JBMS\n ...
[ "0.70533776", "0.6765262", "0.67328596", "0.6716602", "0.6627197", "0.66211385", "0.6537572", "0.64989424", "0.64779174", "0.6475313", "0.635129", "0.635129", "0.63478374", "0.63332623", "0.6319072", "0.63064194", "0.62802136", "0.627847", "0.62705004", "0.6215445", "0.619683...
0.0
-1
Create dictionary mapping characters to indices
def yx5n(DMuF, X2Fn=True, oHMl=True): BmYN = {} Uar8 = {} fThx = 0 if X2Fn: BmYN = {sZqf: int(d6pt) + fThx for d6pt, sZqf in enumerate(JSRc, start=1)} fThx += 26 if oHMl: Uar8 = {sZqf: int(d6pt) + fThx for d6pt, sZqf in enumerate(tcl1, start=1)} fThx += 26 jnGD = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qznv(gLiZ):\n return (dict(((Z9rn, YRbF) for YRbF, Z9rn in enumerate(gLiZ))), dict(((YRbF, Z9rn) for YRbF, Z9rn in enumerate(gLiZ))))", "def OfQh(CtWL):\n aDc2 = {}\n Kk72 = {}\n aDc2['PAD'] = 0\n Kk72[0] = 'PAD'\n aDc2['UNK'] = 1\n Kk72[1] = 'UNK'\n for YRbF, GIN8 in enumerate(CtWL):...
[ "0.7452275", "0.7138624", "0.71238977", "0.7110873", "0.7086889", "0.69592345", "0.6918916", "0.6879721", "0.6819894", "0.6819116", "0.6735591", "0.6735591", "0.67239416", "0.66802406", "0.66747105", "0.6643213", "0.6628779", "0.6548074", "0.6544084", "0.6544078", "0.651436",...
0.6276484
29
Return path of database.
def xC66(VY20=False): pmON = None if HwRy.platform == 'darwin': pmON = '%s/Library/Application Support/Klip/' % Hy7s.getenv('HOME') else: kZiy = Hy7s.getenv('HOME') if kZiy is None: raise Exception('Platform %s not support.' % HwRy.platform) else: pmON...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mh5r():\n return fHZh[Atee]", "def Uri0():\n return SEGf.db_abs_path", "def xC66():\n return Hy7s.path.join(vmiX, oKPF['common']['local_db'])", "def ksBd(YKHO):\n pass", "def tFj2(YKHO, KcEq: str) -> str:\n Hvmc = Hy7s.path.abspath(Hy7s.getcwd())\n xtX7 = 'data'\n pmON = Hy7s.path....
[ "0.8843047", "0.8774856", "0.82937515", "0.82643247", "0.81768405", "0.79795074", "0.77698904", "0.774215", "0.7695976", "0.7632181", "0.7601807", "0.7403583", "0.7344641", "0.72875166", "0.72484785", "0.7208375", "0.7193978", "0.71225107", "0.71060514", "0.7095722", "0.70949...
0.7190147
17
Get absolute path to resource, works for dev and for PyInstaller
def JFat(t_yv): XSj5 = getattr(HwRy, '_MEIPASS', Hy7s.path.dirname(Hy7s.path.abspath(xAKo))) return Hy7s.path.join(XSj5, t_yv)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gZBG():\n return Hy7s.path.join(Hy7s.path.dirname(xAKo), 'resources') + Hy7s.path.sep", "def Q63V(Qth0):\n try:\n XSj5 = HwRy._MEIPASS\n except Exception:\n XSj5 = Hy7s.path.abspath(Hy7s.path.join(Hy7s.path.dirname(HwRy.modules[__name__].__file__), 'assets'))\n return Hy7s.path.join...
[ "0.83695436", "0.8280479", "0.82485795", "0.8139178", "0.8114118", "0.80985415", "0.80940944", "0.80797124", "0.80677074", "0.80673695", "0.8062465", "0.8062465", "0.8062465", "0.8062465", "0.8062465", "0.8062465", "0.8062465", "0.80569947", "0.80545217", "0.80448323", "0.804...
0.78359824
49
Returns a list of all of the tif files (diaries) present in DIARIES_TO_ENCODE_DIR
def czKq(YKHO, qv1X, _hkX): _hkX.set_header('Content-Type', 'text/json') DYF5 = kLcZ.get_files_in_directory(hUdk, '.tif') x3Rt = kLcZ.get_files_in_directory(hUdk, '.zip') JBPT = DYF5 + x3Rt def PJbf(pmON): return Hy7s.path.basename(pmON) _hkX.body = qQXR.dumps({'diaries': list(map(PJbf,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x7Ak(YKHO):\n iXTm, g95b = ([], [])\n for btfg, WGFb, MVVZ in Hy7s.walk(YKHO.root_directory):\n for gIsw in MVVZ:\n if gIsw.endswith(('.jpg',)):\n iXTm.append(Hy7s.path.join(btfg, gIsw))\n g95b.append(ord(btfg[-1]) - 97)\n return (iXTm, g95b)", "def zj...
[ "0.628644", "0.62454176", "0.61320674", "0.6116978", "0.6085372", "0.6031725", "0.60101855", "0.60101503", "0.60044205", "0.6000042", "0.59953046", "0.59837866", "0.5980264", "0.59779716", "0.5973886", "0.5972864", "0.5968313", "0.59581745", "0.5953689", "0.59462696", "0.5938...
0.62769246
1
when the license will be expired? (alias of property 'expireDate') Only available for scenerio 'ValidBetween' and 'ExpireAfter'
def dgoV(YKHO) -> qcWV: if YKHO._scenario == JxQ3.Scenario.ValidSince: raise Wbvg("timeEnd not defined for scenario 'ValidSince'") return YKHO._lic.params['timeEnd'].value
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xHJW(YKHO):\n if YKHO.expire_date < qcWV.now():\n YKHO.state = 'disabled'", "def uwYH():\n return EGAC('expiry', 'Please enter your expiry date, two digits for the month and two digits for the year')", "def q_Mu(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'expires_on')", "def ...
[ "0.71121967", "0.69472307", "0.67599267", "0.6701658", "0.6638357", "0.6626451", "0.6601654", "0.6569475", "0.6546304", "0.6534297", "0.64989316", "0.6485509", "0.6483282", "0.6468527", "0.64628804", "0.64622474", "0.6448846", "0.6445389", "0.64259046", "0.6408555", "0.640854...
0.0
-1
when the license will be expired? (alias of property 'timeEnd')
def b2y6(YKHO) -> qcWV: return YKHO.timeEnd
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OBx7(YKHO) -> str:\n return qe4Y.get(YKHO, 'expiration_time')", "def N850(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'expiration')", "def STRy(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'expired_time')", "def XTIS(YKHO):\n return YKHO.getNotAfter() <= T83R.sundial.now()", "def C7pn...
[ "0.67641264", "0.6696843", "0.66515046", "0.66509277", "0.6610403", "0.656929", "0.65620375", "0.65516114", "0.6507877", "0.64807945", "0.6467765", "0.6453672", "0.6418264", "0.639546", "0.6387627", "0.63807845", "0.63801044", "0.6378822", "0.63490885", "0.63476145", "0.63427...
0.71000206
0
when the license will be expired?
def b2y6(YKHO) -> qcWV: return YKHO.firstAccessDate + fCoM(seconds=YKHO.expirePeriodInSeconds)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yuoM():\n return wzkt() + lWy2", "def yuoM():\n return wzkt() + lWy2", "def uwYH():\n return EGAC('expiry', 'Please enter your expiry date, two digits for the month and two digits for the year')", "def Esv1(YKHO):\n YKHO.assertTrue(YKHO.status.is_ready(), 'The license is active, non active st...
[ "0.6502669", "0.6502669", "0.63825923", "0.6243472", "0.62422293", "0.62250936", "0.621007", "0.6202899", "0.6199005", "0.61650926", "0.6025396", "0.6015212", "0.59892833", "0.5988312", "0.5951967", "0.59401673", "0.5879115", "0.5862722", "0.5857643", "0.58348924", "0.5826558...
0.0
-1
Do not return anything, modify head inplace instead.
def YCEJ(YKHO, sdCG: ListNode) -> None: if sdCG is None: return sdCG HkCf = Msxl(-1) id7O = sdCG DkUh = sdCG while DkUh.next and DkUh.next.next: DkUh = DkUh.next.next id7O = id7O.next yKcO = id7O.next id7O.next = None uv6v = None DpUl = yKcO while DpUl: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sdCG(YKHO, sdCG):\n YKHO._head = sdCG", "def Tmr3(YKHO, Q6kx):\n if Q6kx is YKHO.head:\n return\n BWXx = Q6kx.value\n YKHO.delete(Q6kx)\n YKHO.add_to_head(BWXx)", "def RHuc(YKHO, Q6kx):\n YKHO._remove_node(Q6kx)\n YKHO._add_node(Q6kx)", "def NWbf(YKHO, ac0X: Node):\n lHJN =...
[ "0.7219555", "0.6802151", "0.6732843", "0.6622861", "0.6519117", "0.645578", "0.6356975", "0.6350543", "0.6307778", "0.62905186", "0.62327766", "0.6226802", "0.62017876", "0.62017876", "0.62017876", "0.62017876", "0.6200976", "0.61944014", "0.6174915", "0.6148879", "0.6122101...
0.646506
5
Convert a Django QueryDict to a Python dict. Singlevalue fields are put in directly, and for multivalue fields, a list of all values is stored at the field's key.
def PGpD(lrXk): return {G1Hx: Ty9i[0] if len(Ty9i) == 1 else Ty9i for G1Hx, Ty9i in lrXk.lists()}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xMby(YKHO, umWR):\n vC9B = IyFz.serialize('python', umWR)\n for Csk6 in vC9B:\n V_D6 = Csk6.pop('fields')\n Csk6.update(V_D6)\n Csk6['id'] = Csk6['pk']\n return vC9B", "def Enp2(YKHO, xDcj: MultiDict):\n return {H5ew: hkxX if len((hkxX := xDcj.getall(H5ew))) > 1 or H5ew in YK...
[ "0.7177253", "0.6882432", "0.6703609", "0.6422243", "0.61960906", "0.61915344", "0.6058894", "0.6004556", "0.5996706", "0.5989409", "0.5976986", "0.5966511", "0.58903503", "0.5871451", "0.5837274", "0.57844764", "0.5747051", "0.5720957", "0.5710843", "0.5693143", "0.5680356",...
0.5946993
12
Get a JWT to use for accessing the api. Works outside of a session context by posting the user credentials. This is conceptually equivalent to logging in via the login form.
def iwDu() -> AzJI[str, int]: if c5ow and c5ow.is_authenticated: return (pz3A(jwt=h6cC(c5ow)), 200) Vt89 = QePW.get_json(force=True) if not Vt89 or 'email' not in Vt89 or 'password' not in Vt89: return (pz3A(error='Incomplete credentials.'), 400) CBIr = NVws.find_user(email=Vt89['email']...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iwDu() -> str:\n S0MI.debug('Retrieving JWT...')\n qIxc = {'url': '{0}/auth'.format(X8Rg['dojot']['url']), 'data': qQXR.dumps({'username': X8Rg['dojot']['user'], 'passwd': X8Rg['dojot']['passwd']}), 'headers': {'Content-Type': 'application/json'}}\n Ylbp = Wtun.call_api(G4JS.post, qIxc)\n S0MI.debu...
[ "0.73661584", "0.731229", "0.71811175", "0.7171735", "0.7134992", "0.7123959", "0.7104005", "0.7083192", "0.6940137", "0.69368905", "0.6917943", "0.69004697", "0.69004697", "0.68851215", "0.68225694", "0.67415255", "0.6697167", "0.66344273", "0.65778786", "0.6576136", "0.6542...
0.72073716
2
Calculate the great circle distance between two points on the earth (specified in decimal degrees)
def GeVo(GgQG, igSk, tk0B, TGuP, lj9J=True): GgQG, igSk, tk0B, TGuP = map(Y_1E, [GgQG, igSk, tk0B, TGuP]) H91H = tk0B - GgQG n_9K = TGuP - igSk jzdc = YUNn(n_9K / 2.0) ** 2 + YhSR(igSk) * YhSR(TGuP) * YUNn(H91H / 2.0) ** 2 Z9rn = 2.0 * P099(PZyS(jzdc)) A3Vt = 3956.0 if lj9J else 6371.0 retur...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KzuF(rCSf, hjIX, FNKk, T3JP):\n hjIX = r8hN.radians(hjIX)\n rCSf = r8hN.radians(rCSf)\n T3JP = r8hN.radians(T3JP)\n FNKk = r8hN.radians(FNKk)\n Csk6 = 2 * 6367.45 * r8hN.asin(r8hN.sqrt(GeVo(FNKk - rCSf) + r8hN.cos(rCSf) * r8hN.cos(FNKk) * GeVo(T3JP - hjIX)))\n return Csk6", "def T97B(GgQG, ...
[ "0.81444913", "0.78628397", "0.76311773", "0.7604652", "0.75954515", "0.75949824", "0.7592846", "0.757015", "0.75629693", "0.7554376", "0.752855", "0.7515809", "0.7492531", "0.7465686", "0.7450806", "0.74330103", "0.73909706", "0.73566103", "0.73473287", "0.7329735", "0.73278...
0.0
-1
Sets the affiliate_oid of this Customer. Affiliate oid
def Krn7(YKHO, Krn7): YKHO._affiliate_oid = Krn7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gdFA(YKHO, gdFA):\n YKHO._affiliate_ledger_oid = gdFA", "def WnyX(YKHO, WnyX):\n YKHO._affiliate_link_oid = WnyX", "def s4Ky(YKHO, s4Ky):\n YKHO._affiliate_click_oid = s4Ky", "def Krn7(YKHO):\n return YKHO._affiliate_oid", "def nAhq(YKHO, nAhq):\n YKHO._customer_profile_oid = nAhq", "d...
[ "0.76087534", "0.7270813", "0.7161406", "0.7089725", "0.5732011", "0.5672323", "0.5389598", "0.53142256", "0.5264382", "0.52219224", "0.5128206", "0.5111839", "0.50619966", "0.4943211", "0.4943211", "0.4943211", "0.4943211", "0.49403697", "0.49381366", "0.49210244", "0.491582...
0.86643445
1
Gets the allow_3rd_party_billing of this Customer. Allow 3rd party billing
def Sm30(YKHO): return YKHO._allow_3rd_party_billing
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Sm30(YKHO, Sm30):\n YKHO._allow_3rd_party_billing = Sm30", "def Vfcz(YKHO):\n return YKHO._allow_purchase_order", "def HK3E(YKHO):\n return YKHO._billing", "def DiIj(YKHO):\n return YKHO._is_billing_admin", "def nwzI(YKHO):\n return YKHO._default_billing", "def DIoC(YKHO) -> h8nf[qe4Y....
[ "0.7842041", "0.5967459", "0.5716493", "0.5525604", "0.53802145", "0.5296603", "0.5183098", "0.5169147", "0.5169147", "0.51587415", "0.51280606", "0.51212925", "0.51147604", "0.5111317", "0.51015633", "0.5096496", "0.5028336", "0.49712607", "0.49688616", "0.49688616", "0.4943...
0.8492231
0
Gets the allow_cod of this Customer. Allow COD
def TA4c(YKHO): return YKHO._allow_cod
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L_kE(YKHO):\n return YKHO._auto_approve_cod", "def TA4c(YKHO, TA4c):\n YKHO._allow_cod = TA4c", "def BhVh(YKHO):\n MTKo = 'A'\n dOOm = ''\n YhGw = YKHO.acm_obj.CounterpartyAccountRef()\n if YhGw and YhGw.NetworkAlias():\n dOOm = YhGw.NetworkAlias().Alias()\n if not dOOm and YKHO...
[ "0.7140277", "0.6337631", "0.6162207", "0.58091205", "0.5691653", "0.56432354", "0.56432354", "0.56432354", "0.56432354", "0.5619494", "0.56113744", "0.55407417", "0.55382687", "0.5525852", "0.54850113", "0.54638743", "0.5450603", "0.5444634", "0.54375887", "0.54375887", "0.5...
0.720659
0
Sets the allow_cod of this Customer. Allow COD
def TA4c(YKHO, TA4c): YKHO._allow_cod = TA4c
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TA4c(YKHO):\n return YKHO._allow_cod", "def L_kE(YKHO, L_kE):\n YKHO._auto_approve_cod = L_kE", "def CtR8(YKHO, wEf2):\n YKHO.swift_obj.BeneficiaryCustomer = wEf2\n YKHO.swift_obj.BeneficiaryCustomer.swiftTag = '59'", "def L_kE(YKHO):\n return YKHO._auto_approve_cod", "def EApy(YKHO, EAp...
[ "0.729959", "0.6988769", "0.6086145", "0.5983467", "0.58541125", "0.57755184", "0.5744954", "0.5741068", "0.56729275", "0.55307794", "0.5419211", "0.5359062", "0.53455514", "0.5340476", "0.52812076", "0.5260953", "0.524598", "0.5190892", "0.51724166", "0.5171934", "0.51629126...
0.8570402
0
Gets the allow_purchase_order of this Customer. Allow purchase orders by this customer
def Vfcz(YKHO): return YKHO._allow_purchase_order
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wlh2(YKHO):\n return YKHO._auto_approve_purchase_order", "def Vfcz(YKHO, Vfcz):\n YKHO._allow_purchase_order = Vfcz", "def DiIj(YKHO):\n return YKHO._is_billing_admin", "def Sm30(YKHO):\n return YKHO._allow_3rd_party_billing", "def YzQb(YKHO) -> clvz:\n return YKHO._allow_scope", "def ...
[ "0.67609143", "0.67143464", "0.56554574", "0.5336498", "0.5225903", "0.52243364", "0.51814884", "0.5143573", "0.50079423", "0.49739778", "0.4837262", "0.48365095", "0.48307273", "0.47648245", "0.47585806", "0.47585806", "0.47018978", "0.46895516", "0.46895516", "0.46760073", ...
0.7888027
0
Sets the allow_purchase_order of this Customer. Allow purchase orders by this customer
def Vfcz(YKHO, Vfcz): YKHO._allow_purchase_order = Vfcz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vfcz(YKHO):\n return YKHO._allow_purchase_order", "def Wlh2(YKHO, Wlh2):\n YKHO._auto_approve_purchase_order = Wlh2", "def Wlh2(YKHO):\n return YKHO._auto_approve_purchase_order", "def Sm30(YKHO, Sm30):\n YKHO._allow_3rd_party_billing = Sm30", "def cG3E(YKHO, cG3E):\n YKHO._allow_quote_r...
[ "0.7423001", "0.67228186", "0.6052454", "0.5980167", "0.5460318", "0.5276938", "0.5170954", "0.5079696", "0.50667834", "0.50303876", "0.50279343", "0.5015787", "0.49910057", "0.49890378", "0.49309596", "0.49174166", "0.48882842", "0.48680675", "0.48383403", "0.48383403", "0.4...
0.8618124
0
Gets the allow_quote_request of this Customer. Allow quote request
def cG3E(YKHO): return YKHO._allow_quote_request
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cG3E(YKHO, cG3E):\n YKHO._allow_quote_request = cG3E", "def Vfcz(YKHO):\n return YKHO._allow_purchase_order", "def sZlk(YKHO) -> bool:\n Bwdd = YKHO.get_addon_consts()\n GkAa = Bwdd.get('CONST_CONFCOM_ADDON_NAME')\n NpN_ = Bwdd.get('CONST_ACC_SGX_QUOTE_HELPER_ENABLED')\n NqLq = YKHO.raw_p...
[ "0.72689456", "0.6126457", "0.5860586", "0.5839955", "0.577016", "0.5698457", "0.56263775", "0.5525105", "0.53959376", "0.53721935", "0.53359437", "0.52436936", "0.5215139", "0.51862925", "0.5181369", "0.515366", "0.5148207", "0.5140561", "0.51130056", "0.51130056", "0.505698...
0.7837449
0
Sets the allow_quote_request of this Customer. Allow quote request
def cG3E(YKHO, cG3E): YKHO._allow_quote_request = cG3E
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cG3E(YKHO):\n return YKHO._allow_quote_request", "def Vfcz(YKHO, Vfcz):\n YKHO._allow_purchase_order = Vfcz", "def Sm30(YKHO, Sm30):\n YKHO._allow_3rd_party_billing = Sm30", "def c_tA(YKHO, c_tA):\n YKHO._allow_origins = c_tA", "def g5AE(YKHO, CZPa: TxAllowScope) -> None:\n YKHO._allow_s...
[ "0.7633311", "0.6629769", "0.62486017", "0.6129808", "0.5815442", "0.5715786", "0.5680128", "0.55917376", "0.558616", "0.54518247", "0.5450312", "0.53812516", "0.53521806", "0.52422243", "0.52322334", "0.51129276", "0.5105395", "0.5093881", "0.50309175", "0.49818915", "0.4974...
0.8899058
0
Gets the allow_selection_of_address_type of this Customer. Allow selection of residential or business address type
def jzSU(YKHO): return YKHO._allow_selection_of_address_type
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jzSU(YKHO, jzSU):\n YKHO._allow_selection_of_address_type = jzSU", "def FRul(YKHO):\n SnBA = dict(psfy)\n return SnBA.get(YKHO.address_type, 'N/A')", "def HZj6(YKHO) -> str:\n return qe4Y.get(YKHO, 'address_type')", "def TsQ7(YKHO):\n return YKHO.__address_type", "def HZj6(YKHO):\n re...
[ "0.69965714", "0.6991451", "0.6518308", "0.64159715", "0.5924022", "0.5737748", "0.55365396", "0.49901265", "0.4929045", "0.49041137", "0.48814216", "0.48382127", "0.48241264", "0.4792106", "0.4775736", "0.4775736", "0.47209972", "0.4680714", "0.46388882", "0.4633582", "0.463...
0.75989187
0
Sets the allow_selection_of_address_type of this Customer. Allow selection of residential or business address type
def jzSU(YKHO, jzSU): YKHO._allow_selection_of_address_type = jzSU
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jzSU(YKHO):\n return YKHO._allow_selection_of_address_type", "def HZj6(YKHO, HZj6):\n YKHO._address_type = HZj6", "def Tu3f(YKHO, Ty9i, tyeH=False):\n try:\n a1PO = ltgX(Ty9i, base=QMSQ, is_leaf=True, yang_name='address-type', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._ext...
[ "0.7869283", "0.6493774", "0.5815577", "0.55564404", "0.5498073", "0.5162351", "0.51533425", "0.50732017", "0.5067141", "0.50300115", "0.49828735", "0.49612227", "0.4907661", "0.48751763", "0.4806331", "0.4792663", "0.4764711", "0.47517994", "0.47366992", "0.47317573", "0.471...
0.8617997
0
Gets the auto_approve_cod of this Customer. Auto approve COD
def L_kE(YKHO): return YKHO._auto_approve_cod
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L_kE(YKHO, L_kE):\n YKHO._auto_approve_cod = L_kE", "def Wlh2(YKHO):\n return YKHO._auto_approve_purchase_order", "def b9YA(YKHO):\n return YKHO['cauto']", "def b9YA(YKHO):\n return YKHO['cauto']", "def BhVh(YKHO):\n MTKo = 'A'\n dOOm = ''\n YhGw = YKHO.acm_obj.CounterpartyAccountR...
[ "0.75147635", "0.61069083", "0.602281", "0.59706914", "0.5576524", "0.5553883", "0.5525107", "0.551598", "0.5461789", "0.5355563", "0.5319641", "0.5279175", "0.5263035", "0.5213337", "0.5209038", "0.51998585", "0.51813096", "0.51149994", "0.5029494", "0.5011473", "0.5005755",...
0.8591699
0
Sets the automatic_merchant_notes of this Customer. Automatic merchant notes are added to every order placed
def cmnM(YKHO, cmnM): YKHO._automatic_merchant_notes = cmnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cmnM(YKHO):\n return YKHO._automatic_merchant_notes", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno",...
[ "0.703403", "0.58362395", "0.58362395", "0.58362395", "0.58362395", "0.58362395", "0.5670964", "0.5481556", "0.5418983", "0.5361266", "0.5322753", "0.5322753", "0.52970904", "0.5255368", "0.5028528", "0.50151944", "0.499326", "0.4979043", "0.49085563", "0.49059683", "0.488207...
0.9199884
0
Gets the billing of this Customer. Billing addresses for this customer
def HK3E(YKHO): return YKHO._billing
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qGfT(YKHO):\n return YKHO._billing_contact", "def KAXf(YKHO):\n return YKHO._billing_info", "def q1nE(YKHO):\n if YKHO.billing_address:\n return YKHO.billing_address.address_1\n else:\n nIoN = BcTP.objects.filter(subscription=YKHO)\n KYrJ = [H4yH.address for H4yH in nIoN if...
[ "0.72947", "0.7290175", "0.7204884", "0.7195709", "0.70504606", "0.70504606", "0.70504606", "0.67585707", "0.67585707", "0.67285264", "0.67285264", "0.64269286", "0.63302034", "0.6261419", "0.6181848", "0.61207205", "0.61158204", "0.6039026", "0.5992446", "0.5992446", "0.5955...
0.72648424
2
Sets the billing of this Customer. Billing addresses for this customer
def HK3E(YKHO, HK3E): YKHO._billing = HK3E
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qGfT(YKHO, qGfT):\n YKHO._billing_contact = qGfT", "def laSw(YKHO, laSw):\n YKHO._billing_currency = laSw", "def KAXf(YKHO, KAXf):\n YKHO._billing_info = KAXf", "def nwzI(YKHO, nwzI):\n YKHO._default_billing = nwzI", "def m3Nh(YKHO, m3Nh):\n YKHO._customer = m3Nh", "def m3Nh(YKHO, m3Nh...
[ "0.7252403", "0.69182295", "0.6791327", "0.67907035", "0.5948151", "0.5948151", "0.5920023", "0.58599746", "0.58599746", "0.58096415", "0.5740131", "0.564657", "0.56100035", "0.5595598", "0.55726916", "0.55726916", "0.5554115", "0.5554115", "0.5554115", "0.54979783", "0.54383...
0.7718957
0
Sets the business_notes of this Customer. Business notes (internally visible only)
def yVgI(YKHO, yVgI): if yVgI is not None and len(yVgI) > 2000: raise ValueError('Invalid value for `business_notes`, length must be less than or equal to `2000`') YKHO._business_notes = yVgI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def rpno(YKHO, rpno):\n YKHO._notes = rpno", "def yVgI(YKHO):\n return YKHO._business_notes", "def rp...
[ "0.64642525", "0.64642525", "0.64642525", "0.64642525", "0.64642525", "0.6354019", "0.63490003", "0.61379", "0.60320604", "0.60020274", "0.5867036", "0.58275306", "0.56988704", "0.56658614", "0.5663424", "0.5643399", "0.5632016", "0.56203383", "0.55994624", "0.5532145", "0.53...
0.79783094
0
Sets the cards of this Customer. Credit Cards for this customer
def khoC(YKHO, khoC): YKHO._cards = khoC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def khoC(YKHO, khoC: Union[List[Tuple[int, str, str]], List[Any]]) -> None:\n YKHO._cards: x1iM[x1iM[AzJI[int, str, str]]] = [khoC]", "def dxhl(YKHO, Z9rn=None):\n if Z9rn:\n YKHO._card = Z9rn\n return YKHO._card", "def khoC(YKHO) -> None:\n YKHO._cards = []", "def _ViK(YKHO, khoC):\n Y...
[ "0.6608554", "0.6414294", "0.63057697", "0.6276307", "0.61572474", "0.61043686", "0.6075938", "0.6067061", "0.60300416", "0.6012156", "0.5965581", "0.5942135", "0.5937874", "0.5890377", "0.5870525", "0.5861895", "0.58576655", "0.58041275", "0.5801309", "0.57943904", "0.574153...
0.7751188
1
Gets the customer_profile_oid of this Customer. Customer profile object identifier
def nAhq(YKHO): return YKHO._customer_profile_oid
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RIgS(YKHO, z39Z):\n return z39Z['id']", "def nAhq(YKHO, nAhq):\n YKHO._customer_profile_oid = nAhq", "def RIgS(YKHO):\n dixj = YKHO.service.userProfiles().list().execute()\n assert 'items' in dixj\n assert len(dixj['items'])\n YKHO.profileId = dixj['items'][0]['profileId']\n return YKH...
[ "0.7198418", "0.717386", "0.65548843", "0.6479222", "0.6393283", "0.6392906", "0.6084148", "0.6040575", "0.5961779", "0.58965856", "0.5801002", "0.57967854", "0.57367575", "0.572492", "0.5722918", "0.57189894", "0.5676127", "0.56760955", "0.5643734", "0.5589623", "0.55654556"...
0.91109216
0
Sets the customer_profile_oid of this Customer. Customer profile object identifier
def nAhq(YKHO, nAhq): YKHO._customer_profile_oid = nAhq
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nAhq(YKHO):\n return YKHO._customer_profile_oid", "def KvXk(YKHO, J8Aq: Family) -> None:\n YKHO._set_customer_id(J8Aq.customer.internal_id)", "def DvDo(YKHO):\n YKHO.cim.update_profile(customer_id=u'222', description=u'Foo bar baz quz', email=u'dialtone@gmail.com', customer_profile_id=u'122')", ...
[ "0.7076937", "0.67138827", "0.6116765", "0.6058371", "0.5934972", "0.5934972", "0.5934972", "0.5934972", "0.5908919", "0.5619792", "0.56103975", "0.547714", "0.5429392", "0.5404184", "0.53489465", "0.53489465", "0.5315293", "0.5237773", "0.5218106", "0.5215164", "0.5189874", ...
0.90416175
0
Gets the dhl_account_number of this Customer. DHL account number
def n3lg(YKHO): return YKHO._dhl_account_number
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lb7m(YKHO):\n return YKHO.__account_number", "def ao0w(YKHO):\n return YKHO._fedex_account_number", "def Z31E(YKHO) -> qe4Y.Output[int]:\n return qe4Y.get(YKHO, 'account_id')", "def Z31E(YKHO):\n return YKHO._account_id", "def Z31E(YKHO):\n return YKHO._account_id", "def Z31E(YKHO) -> ...
[ "0.7401053", "0.7113728", "0.6644579", "0.66252136", "0.65284073", "0.64544874", "0.6369937", "0.6369937", "0.6369937", "0.6369937", "0.6369937", "0.6369937", "0.6369937", "0.6369937", "0.6347585", "0.6347585", "0.6347585", "0.6261331", "0.6258378", "0.61720884", "0.614197", ...
0.87155145
0
Sets the dhl_account_number of this Customer. DHL account number
def n3lg(YKHO, n3lg): if n3lg is not None and len(n3lg) > 20: raise ValueError('Invalid value for `dhl_account_number`, length must be less than or equal to `20`') YKHO._dhl_account_number = n3lg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lb7m(YKHO, lb7m):\n YKHO._account_number = lb7m", "def n3lg(YKHO):\n return YKHO._dhl_account_number", "def Z31E(YKHO, Z31E):\n YKHO._account_id = Z31E", "def Z31E(YKHO, Z31E):\n YKHO._account_id = Z31E", "def Z31E(YKHO, Z31E):\n YKHO._account_id = Z31E", "def Z31E(YKHO, Z31E):\n YK...
[ "0.7060354", "0.6705006", "0.6658462", "0.6630897", "0.6630897", "0.6630897", "0.6630897", "0.6630897", "0.6630897", "0.6452872", "0.62505466", "0.6250299", "0.6205293", "0.6181864", "0.6048758", "0.59952277", "0.5972092", "0.5875164", "0.5875164", "0.5654062", "0.56170523", ...
0.79253507
0
Sets the email of this Customer. Email address of this customer profile
def D3lj(YKHO, D3lj): YKHO._email = D3lj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EFZl(YKHO, EFZl):\n YKHO._customer_email = EFZl", "def lEeL(YKHO, D3lj):\n YKHO.email = D3lj\n return YKHO", "def D3lj(YKHO, D3lj):\n if YKHO.local_vars_configuration.client_side_validation and D3lj is None:\n raise ValueError('Invalid value for `email`, must not be `None`')\n YKHO._e...
[ "0.79246676", "0.77046865", "0.75274587", "0.7285081", "0.72485375", "0.7228012", "0.7108281", "0.70115554", "0.70115554", "0.6945767", "0.67852265", "0.67646456", "0.67646456", "0.67646456", "0.6760977", "0.6642972", "0.6578486", "0.65254116", "0.6447955", "0.64334023", "0.6...
0.7325966
12
Gets the exempt_shipping_handling_charge of this Customer. Exempt shipping handling charge
def lMgI(YKHO): return YKHO._exempt_shipping_handling_charge
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lMgI(YKHO, lMgI):\n YKHO._exempt_shipping_handling_charge = lMgI", "def U2FH(YKHO):\n return YKHO._free_shipping", "def WUJJ(YKHO):\n return YKHO._shipping", "def L7Qk(YKHO):\n return YKHO._no_free_shipping", "def sSN_(YKHO):\n assert YKHO._calculated\n gCuF = YTLl('shipping.modules.u...
[ "0.77267236", "0.604075", "0.58197254", "0.57920736", "0.55682796", "0.5441815", "0.5383163", "0.51727533", "0.512057", "0.5114849", "0.50728697", "0.5069911", "0.49859795", "0.49859795", "0.49859795", "0.49800357", "0.49667436", "0.48684055", "0.4787322", "0.46924272", "0.46...
0.8105245
0
Gets the fedex_account_number of this Customer. FedEx account number
def ao0w(YKHO): return YKHO._fedex_account_number
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lb7m(YKHO):\n return YKHO.__account_number", "def n3lg(YKHO):\n return YKHO._dhl_account_number", "def _Skw(YKHO) -> str:\n return YKHO._fax_number", "def ao0w(YKHO, ao0w):\n if ao0w is not None and len(ao0w) > 20:\n raise ValueError('Invalid value for `fedex_account_number`, length mu...
[ "0.74003214", "0.71416545", "0.6356235", "0.63208187", "0.6290778", "0.62107015", "0.6193884", "0.6193884", "0.6128988", "0.6084942", "0.6035027", "0.60067254", "0.5984775", "0.59829587", "0.59829587", "0.59829587", "0.59829587", "0.59829587", "0.59829587", "0.59829587", "0.5...
0.89876455
0
Sets the fedex_account_number of this Customer. FedEx account number
def ao0w(YKHO, ao0w): if ao0w is not None and len(ao0w) > 20: raise ValueError('Invalid value for `fedex_account_number`, length must be less than or equal to `20`') YKHO._fedex_account_number = ao0w
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lb7m(YKHO, lb7m):\n YKHO._account_number = lb7m", "def FTpm(YKHO, FTpm):\n YKHO._funding_account_account_number = FTpm", "def ecyp(YKHO, BWXx):\n super(Sh63, YKHO)._set_input('AccountNumber', BWXx)", "def ao0w(YKHO):\n return YKHO._fedex_account_number", "def _Skw(YKHO, _Skw: str):\n YKH...
[ "0.74573594", "0.7229201", "0.71216977", "0.70944804", "0.6651318", "0.6646043", "0.65071005", "0.6290016", "0.6272736", "0.6272736", "0.6272736", "0.6272736", "0.6272736", "0.6272736", "0.6218557", "0.6111127", "0.6037672", "0.6011316", "0.6011316", "0.6010286", "0.60044", ...
0.813925
0
Gets the free_shipping of this Customer. This customer always receives free shipping
def U2FH(YKHO): return YKHO._free_shipping
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L7Qk(YKHO):\n return YKHO._no_free_shipping", "def WUJJ(YKHO):\n return YKHO._shipping", "def pCd1(YKHO):\n return YKHO._free_shipping_minimum", "def U2FH(YKHO, U2FH):\n YKHO._free_shipping = U2FH", "def gn8d(YKHO):\n return YKHO._default_shipping", "def vllj(YKHO) -> 'outputs.Shipping...
[ "0.7669286", "0.741889", "0.71900266", "0.70521456", "0.67583835", "0.6373855", "0.6373855", "0.6373855", "0.61251867", "0.60634303", "0.60438746", "0.5983843", "0.5968113", "0.5928866", "0.5830658", "0.5830658", "0.5830658", "0.5739227", "0.56944793", "0.5381744", "0.5336955...
0.8760745
0
Sets the free_shipping of this Customer. This customer always receives free shipping
def U2FH(YKHO, U2FH): YKHO._free_shipping = U2FH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L7Qk(YKHO, L7Qk):\n YKHO._no_free_shipping = L7Qk", "def pCd1(YKHO, pCd1):\n YKHO._free_shipping_minimum = pCd1", "def U2FH(YKHO):\n return YKHO._free_shipping", "def WUJJ(YKHO, WUJJ):\n YKHO._shipping = WUJJ", "def L7Qk(YKHO):\n return YKHO._no_free_shipping", "def gn8d(YKHO, gn8d):\n...
[ "0.76049024", "0.74291825", "0.7088798", "0.69693017", "0.6842088", "0.64798516", "0.6400927", "0.6377615", "0.60017496", "0.5938942", "0.58684", "0.57832587", "0.5568632", "0.5559777", "0.551827", "0.5496339", "0.548488", "0.53332", "0.5299109", "0.5283655", "0.5253552", "...
0.8968495
0
Gets the free_shipping_minimum of this Customer. If free_shipping is true, this is the minimum subtotal required for free shipping
def pCd1(YKHO): return YKHO._free_shipping_minimum
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pCd1(YKHO, pCd1):\n YKHO._free_shipping_minimum = pCd1", "def U2FH(YKHO):\n return YKHO._free_shipping", "def az6G(YKHO):\n return YKHO._minimum_subtotal", "def xk6Q(YKHO) -> float:\n return min((sSN_ for dQgj, sSN_ in YKHO.memory))", "def VmUT(YKHO):\n return YKHO._minimum", "def vELP...
[ "0.71919805", "0.65706813", "0.62824637", "0.61553365", "0.6098792", "0.6017739", "0.5893278", "0.5801281", "0.5801281", "0.5801281", "0.5702375", "0.5702375", "0.56869984", "0.56866705", "0.563594", "0.5615321", "0.56026393", "0.5598942", "0.5598942", "0.55741274", "0.557122...
0.859469
0
Sets the free_shipping_minimum of this Customer. If free_shipping is true, this is the minimum subtotal required for free shipping
def pCd1(YKHO, pCd1): YKHO._free_shipping_minimum = pCd1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pCd1(YKHO):\n return YKHO._free_shipping_minimum", "def U2FH(YKHO, U2FH):\n YKHO._free_shipping = U2FH", "def az6G(YKHO, az6G):\n YKHO._minimum_subtotal = az6G", "def Jkdf(YKHO, LWLc: float) -> None:\n YKHO._user_minimum = LWLc\n YKHO.reset_limits()", "def U2FH(YKHO):\n return YKHO._f...
[ "0.77676463", "0.6570098", "0.62843555", "0.57924306", "0.57408816", "0.56441414", "0.55142075", "0.55142075", "0.55142075", "0.5502578", "0.55017036", "0.54843414", "0.5362469", "0.5362469", "0.5357235", "0.532357", "0.53184587", "0.52887356", "0.52453333", "0.5228891", "0.5...
0.87866485
0
Gets the last_modified_by of this Customer. Last modified by
def TM74(YKHO): return YKHO._last_modified_by
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TM74(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_by')", "def TM74(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'last_modified_by')", "def TM74(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'last_modified_by')", "def TM74(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'last_modified_by')", ...
[ "0.8235685", "0.8017792", "0.8017792", "0.8017792", "0.8017792", "0.8017792", "0.8017792", "0.7639493", "0.70534116", "0.6773382", "0.67333853", "0.67116463", "0.67116463", "0.67065734", "0.67065734", "0.67065734", "0.66933197", "0.66126966", "0.66126966", "0.66126966", "0.66...
0.83475846
0
Gets the maximum_item_count of this Customer. Maximum item count
def uyRW(YKHO): return YKHO._maximum_item_count
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Aeea(YKHO) -> qe4Y.Input[int]:\n return qe4Y.get(YKHO, 'maximum_count')", "def n6mp(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'max_count')", "def n6mp(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'max_count')", "def n6mp(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.g...
[ "0.75995594", "0.7265897", "0.7265897", "0.7265897", "0.7265897", "0.7265897", "0.7142318", "0.6973748", "0.6787457", "0.67863685", "0.6613611", "0.65463185", "0.6467402", "0.64218104", "0.63996893", "0.6346469", "0.6316261", "0.6314151", "0.6259814", "0.6258982", "0.6200801"...
0.845394
0
Sets the maximum_item_count of this Customer. Maximum item count
def uyRW(YKHO, uyRW): YKHO._maximum_item_count = uyRW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyRW(YKHO):\n return YKHO._maximum_item_count", "def guSB(YKHO, n6mp, vadG='fail'):\n z5su = lvXV(vadG, n6mp)\n YKHO.register_trading_control(z5su)", "def O7Ac(YKHO):\n wjRY = 4711\n YKHO.es.set_maximum_items(wjRY)\n YKHO.assertEqual(YKHO.es._total, wjRY)", "def qhhT(YKHO, KLcq):\n i...
[ "0.7334156", "0.70443636", "0.6796199", "0.67268306", "0.655104", "0.655104", "0.64147395", "0.6372613", "0.63654196", "0.634501", "0.6318012", "0.6311085", "0.62831736", "0.62468594", "0.62468594", "0.62468594", "0.6206086", "0.61387783", "0.61294806", "0.6127082", "0.610306...
0.872912
0
Gets the minimum_item_count of this Customer. Minimum item count
def juTL(YKHO): return YKHO._minimum_item_count
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iiZ1(YKHO) -> qe4Y.Input[int]:\n return qe4Y.get(YKHO, 'minimum_count')", "def ziIx(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'min_count')", "def ziIx(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'min_count')", "def ziIx(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.g...
[ "0.7816407", "0.7625865", "0.7625865", "0.7625865", "0.7625865", "0.7296524", "0.72911197", "0.72911197", "0.69191253", "0.68725276", "0.67676115", "0.6743445", "0.6742978", "0.6685081", "0.66655296", "0.64354056", "0.64217025", "0.6236613", "0.620296", "0.6189136", "0.611279...
0.85860914
0
Sets the minimum_item_count of this Customer. Minimum item count
def juTL(YKHO, juTL): YKHO._minimum_item_count = juTL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GkMn(YKHO, UHFx):\n return YKHO._set(minCount=UHFx)", "def GkMn(YKHO, RsKr):\n return YKHO._set(minCount=RsKr)", "def GkMn(YKHO, RsKr):\n return YKHO._set(minCount=RsKr)", "def juTL(YKHO):\n return YKHO._minimum_item_count", "def xKXN(YKHO, xKXN):\n YKHO._minimum_number = xKXN", "def S...
[ "0.7642084", "0.74678373", "0.74678373", "0.743934", "0.6563707", "0.64136785", "0.6410881", "0.6410881", "0.63819873", "0.62920946", "0.6269155", "0.6251639", "0.62381595", "0.6220323", "0.6220323", "0.6220323", "0.616319", "0.6150114", "0.61369026", "0.61369026", "0.6056168...
0.88710034
0