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
Returns a tf.Distribution for given states.
def ri_S(YKHO, wspz): yvT9 = YKHO.trunk(wspz) yGTL, ZOOq = ZylS.split(yvT9, num_or_size_splits=2, axis=1) Tuqy = ZylS.nn.tanh(yGTL) ZOOq = ZylS.nn.tanh(ZOOq) assert vpgG > h0pJ ZOOq = h0pJ + 0.5 * (vpgG - h0pJ) * (ZOOq + 1) M1Jx = ZylS.exp(ZOOq) pImw = oxOY.TransformedDistribution(distri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pOv4(YKHO, wspz):\n pImw, Tuqy = YKHO.get_dist_and_mode(wspz)\n gGnb = pImw.sample()\n zoT6 = pImw.log_prob(gGnb)\n zoT6 = ZylS.expand_dims(zoT6, -1)\n return (Tuqy, gGnb, zoT6)", "def H54O(YKHO, QTBn):\n B9EC, NdnM = YKHO.__call__(QTBn)\n pImw = WGTe(B9EC, ht2j.exp(NdnM))\n return pI...
[ "0.67799294", "0.6370355", "0.62246716", "0.62237406", "0.62024516", "0.61189896", "0.5854602", "0.58404344", "0.57567334", "0.56690085", "0.5594553", "0.55793387", "0.5574866", "0.55643517", "0.55559874", "0.5539959", "0.5532283", "0.55226153", "0.5520528", "0.5513174", "0.5...
0.6830452
0
To reach one stair, we need to consider what the previous stair is. Since the child can hop either 1 step, 2 steps, or 3 steps. The previous stair could be either n1, n2, or n3. Since they are exclusive, the number of ways to reach stair n is decided by the sum of the number of ways to reach n1, n2 and n3. However, to ...
def Eh3U(exwG, i_PE=None): if i_PE is None: return Eh3U(exwG, {}) if exwG < 0: return 0 elif exwG == 0: return 1 elif exwG in i_PE: return i_PE[exwG] else: i_PE[exwG] = Eh3U(exwG - 1, i_PE) + Eh3U(exwG - 2, i_PE) + Eh3U(exwG - 3, i_PE) return i_PE[exwG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _ZZ5(exwG):\n if exwG == 1:\n return 1\n if exwG == 2:\n return 2\n return _ZZ5(exwG - 1) + _ZZ5(exwG - 2)", "def yKtU(exwG):\n if exwG == 0 or exwG == 1:\n return 1\n Y3Dn = 1\n PhcO = 1\n CjZL = None\n for YRbF in range(exwG - 1):\n CjZL = PhcO + Y3Dn\n ...
[ "0.60690415", "0.58901775", "0.5774715", "0.57442623", "0.5654154", "0.5492384", "0.54590374", "0.54282993", "0.54113114", "0.5352732", "0.5318543", "0.53013307", "0.52892417", "0.5288588", "0.52664965", "0.5253388", "0.5221138", "0.5196329", "0.5170921", "0.5167605", "0.5148...
0.75071913
0
virtual method to get global config.
def f7cW(YKHO, **B2fa): return {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tgzD(Emd4) -> tFs8:\n if Emd4.config is None:\n raise ValueError('Config is not loaded')\n return Emd4.config", "def wLv7(YKHO):\n return YKHO.__config", "def wLv7(YKHO):\n return YKHO.__config", "def wLv7(YKHO):\n return YKHO.__config", "def wLv7(YKHO):\n return YKHO.__config"...
[ "0.8245742", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957", "0.81814957",...
0.8182843
1
Create a mapping in Tamr between input attributes and unified attributes of the given project.
def eLpg(cuiw: Session, bNKA: Project, CzAz: Attribute, OYk8: Attribute) -> gxOC: nPrm = {'relativeInputAttributeId': CzAz.url.path, 'relativeUnifiedAttributeId': OYk8.url.path} Mkmy = cuiw.post(url=str(bNKA.url) + '/attributeMappings', json=nPrm) if Mkmy.status_code == 204: raise Trjq('An attribute...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IAr1(YKHO, nPrm, Inlj):\n Q_gf = {}\n for G1Hx, Ty9i in Inlj.iteritems():\n hkS8 = (Ty9i, nPrm.get(G1Hx)) if isinstance(Ty9i, str) else Ty9i(nPrm.get(G1Hx))\n Q_gf.setdefault(*hkS8)\n Q_gf.setdefault('server', 'All')\n Q_gf.setdefault('faction', 0)\n Q_gf.setdefault('admin', True)\...
[ "0.5955697", "0.5691835", "0.5608729", "0.5524597", "0.54921615", "0.5466037", "0.5413145", "0.532112", "0.5305886", "0.5305886", "0.52250093", "0.52186805", "0.5218585", "0.5213027", "0.5161755", "0.510363", "0.50631344", "0.5057089", "0.502919", "0.50256276", "0.50218606", ...
0.656195
0
Generate an UPPERCASEDIGIT random string
def wPWn(zNig=6, gLiZ=vIwR.ascii_uppercase + vIwR.digits): return ''.join((tuKI.choice(gLiZ) for bGrB in range(zNig)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tEgU():\n return kxTZ().hex[:6].upper()", "def Q_QB():\n yvT9 = ''\n for bGrB in range(24):\n yvT9 += Acvy(C1SZ)\n return yvT9", "def e7Tf():\n return ''.join((tuKI.choice(vIwR.ascii_lowercase + vIwR.digits) for bGrB in range(16)))", "def HLwP():\n return ''.join([tuKI.choice(vIw...
[ "0.81131804", "0.77075326", "0.76152474", "0.7565456", "0.75302476", "0.7456737", "0.7427139", "0.74263746", "0.73823714", "0.73403955", "0.7337667", "0.7320186", "0.7306573", "0.7301715", "0.729549", "0.7216208", "0.72156084", "0.72054493", "0.7198095", "0.7196962", "0.71720...
0.0
-1
Remove items from dict that are in ignore_list
def jYVE(guY0, SKLc): for YRbF in SKLc: guY0.pop(YRbF, None) return guY0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wAPB(mraa):\n eD_G = ['a', 'able', 'about', 'across', 'after', 'all', 'almost', 'also', 'am', 'an', 'and', 'any', 'are', 'as', 'at', 'be', 'because', 'been', 'but', 'by', 'can', 'cannot', 'could', 'did', 'do', 'does', 'for', 'from', 'get', 'got', 'had', 'has', 'have', 'he', 'her', 'hers', 'him', 'his', 'how...
[ "0.6528271", "0.63885605", "0.6334374", "0.6289866", "0.6288064", "0.62670565", "0.6228266", "0.6206135", "0.61762244", "0.61592996", "0.6145173", "0.61322767", "0.60949206", "0.6039302", "0.60224736", "0.59767854", "0.59724987", "0.5937053", "0.5921911", "0.59167516", "0.587...
0.8259495
0
Returns all ship entries in the matrix.
def pi1E(YKHO): return YKHO.__fetcher.get_fetched()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nad2(YKHO):\n return YKHO.ships", "def VECZ(YKHO):\n yvT9 = []\n for LVAh, WKvO in YKHO.coords(False):\n yvT9.append((LVAh, WKvO, YKHO.retrieve(LVAh, WKvO)))\n return yvT9", "def HZ2_(YKHO, KLRE=None):\n return YKHO.fetch_levels('shipyard', KLRE, cwhV.ships)", "def nkNO(YKHO):\n ...
[ "0.6271892", "0.61255616", "0.6031456", "0.5949597", "0.5863225", "0.5790161", "0.5757522", "0.56775945", "0.56765836", "0.5676237", "0.56377244", "0.56341594", "0.55904835", "0.5576646", "0.55512756", "0.55228555", "0.54944456", "0.5492098", "0.5490848", "0.5471194", "0.5466...
0.0
-1
Returns an instance of a chrome webdriver in headless mode. If the driver it's not installed it takes care of it.
def G9pP(YKHO): print('Setting WebDriver Chrome as headless mode') xAU6 = uO69() xAU6.set_headless(headless=True) w1oU = cSpz.Chrome(JQMo().install(), chrome_options=xAU6) return w1oU
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ypqP():\n xAU6 = lE6K()\n xAU6.add_argument('--headless')\n xAU6.add_argument('--incognito')\n return cSpz.Chrome(options=xAU6)", "def C0FU(zlwC):\n xAU6 = nXHX()\n xAU6.headless = zlwC\n E_qD = cSpz.Chrome(JQMo().install(), options=xAU6)\n return E_qD", "def lF46():\n VBaM = GkA...
[ "0.8538151", "0.8353205", "0.79812765", "0.7970249", "0.7681029", "0.767566", "0.7647282", "0.7625157", "0.7469295", "0.72292787", "0.7222201", "0.72053164", "0.71966046", "0.7131194", "0.7124592", "0.7069998", "0.70694405", "0.7030812", "0.70088404", "0.69481516", "0.6933692...
0.8593319
0
A dense block for functional models. It applies the following layers. Dense, (optional) GaussianDropout(0.005), LayerNormalization, hidden_activation, concat(input, result of block)
def ggRs(EcVT, YbkM, r5hI, OR7m): fuBA = l6ZH(YbkM)(EcVT) if r5hI: fuBA = ugJ_(0.005)(fuBA) fuBA = T0Ce()(fuBA) fuBA = OR7m(fuBA) return xlGu()([EcVT, fuBA])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ggRs(WKvO):\n zhMh = cxer(WKvO, 32)\n zhMh = ZylS.keras.layers.Concatenate()([WKvO, zhMh])\n WL4f = cxer(zhMh, 32)\n WL4f = ZylS.keras.layers.Concatenate()([WKvO, zhMh, WL4f])\n digQ = cxer(WL4f, 32)\n digQ = ZylS.keras.layers.Concatenate()([WKvO, zhMh, WL4f, digQ])\n NhE7 = cxer(digQ, 32)...
[ "0.7486714", "0.69358814", "0.6901176", "0.67306393", "0.6716861", "0.66776246", "0.66286284", "0.6613473", "0.6593067", "0.6584164", "0.65632755", "0.65427786", "0.65149313", "0.6503657", "0.6483596", "0.64675564", "0.645557", "0.64497614", "0.64488506", "0.64478105", "0.644...
0.8049289
0
calc_all_coord_atom_angles Get all of the LML angles for a core geometry.
def h8f1(GFvv): hLRM = oyIN.array((0, 0, 0)) bLm4 = [] for jzdc, Fg_i in Hs6x.combinations(GFvv, 2): bLm4.append(Tbd6(jzdc, hLRM, Fg_i)) return oyIN.array(sorted(bLm4))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UyWc(YKHO):\n grfj = YKHO.contents['ID']\n vTwf = []\n for H5ew, BWXx in YKHO.angles.items():\n jzdc = BWXx[0]\n Fg_i = BWXx[1]\n Z9rn = BWXx[2]\n yv6U = [jzdc, Fg_i, Z9rn]\n om7H = oyIN.asarray(grfj).reshape(-1, 3)\n sorted = oyIN.argsort(yv6U)\n Rcqj ...
[ "0.65392137", "0.6302292", "0.62368506", "0.61322176", "0.58323574", "0.5788421", "0.5611396", "0.5610753", "0.5571035", "0.55631083", "0.55622685", "0.5509473", "0.54306", "0.5407556", "0.5406055", "0.539513", "0.5364315", "0.5348166", "0.5346797", "0.534259", "0.5311121", ...
0.8522789
0
Initializes an instance of SwitchPowerUsbWithCharge capability.
def FIMM(YKHO, hSA2: Callable[..., Any], gCKe: Callable[..., Any], Unmg: Dict[str, str], ydO_: Dict[str, str], yxaP: str, OIdI: str, EyHJ: int): super().__init__(shell_fn=hSA2, regex_shell_fn=gCKe, command_dict=Unmg, regex_dict=ydO_, device_name=yxaP, serial_number=OIdI, total_ports=EyHJ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JUsL(YKHO):\n return YKHO.lazy_init(m0We.SwitchPowerUsbWithCharge, shell_fn=YKHO.shell, regex_shell_fn=YKHO.shell_with_regex, command_dict=YKHO.commands, regex_dict=YKHO.regexes, device_name=YKHO.name, serial_number=YKHO.serial_number, total_ports=YKHO.total_ports)", "def FIMM(YKHO, YwkQ, X1nB, WU9J=None,...
[ "0.752715", "0.6055861", "0.59407836", "0.5831177", "0.5831177", "0.5742639", "0.5618685", "0.5579447", "0.55440784", "0.5507029", "0.5491407", "0.5437649", "0.54339284", "0.5401888", "0.5385723", "0.53453046", "0.53194886", "0.5317971", "0.52737224", "0.5254537", "0.52387756...
0.0
-1
cast(itkLightObject obj) > itkCosImageFilterID2ID2_Superclass
def YWvJ(*qIxc): return FHef.itkCosImageFilterID2ID2_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2_Superclass *':\n return RC9M.itkNotImageFilterIF2IF2_Superclass_cast(YEnM)", "def WpUp(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2_Superclass *':\n return RC9M.itkNotImageFilterIF2IF2_Superclass_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObj...
[ "0.86071545", "0.8592034", "0.8501731", "0.84885526", "0.84127486", "0.84080666", "0.84070694", "0.83171976", "0.8206105", "0.815629", "0.81321585", "0.810096", "0.7951454", "0.7948604", "0.79338855", "0.7872551", "0.7857506", "0.7849343", "0.78296536", "0.78086007", "0.77868...
0.7404678
51
New() > itkCosImageFilterID2ID2_Superclass Create a new object of the class itkCosImageFilterID2ID2_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parame...
def oW_4(*qIxc, **PECO): YEnM = mADN.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = TyVQ.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = LZhG.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.75935036", "0.72907996", "0.72730875", "0.7267071", "0.72560984", "0.72085", "0.71096456", "0.70967555", "0.6984955", "0.6928041", "0.691787", "0.6905347", "0.68779635", "0.68319803", "0.6753575", "0.6749978", "0.67250055", "0.6720533", "0.6719612", "0.6716728", "0.6684836...
0.7954083
0
itkCosImageFilterID2ID2_Superclass_cast(itkLightObject obj) > itkCosImageFilterID2ID2_Superclass
def k9eu(*qIxc): return FHef.itkCosImageFilterID2ID2_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WpUp(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2_Superclass *':\n return RC9M.itkNotImageFilterIF2IF2_Superclass_cast(YEnM)", "def PkLw(YEnM: 'itkLightObject') -> 'itkNotImageFilterISS2ISS2_Superclass *':\n return RC9M.itkNotImageFilterISS2ISS2_Superclass_cast(YEnM)", "def pWD7(YEnM: 'itkLigh...
[ "0.8862843", "0.8780776", "0.87688273", "0.8704371", "0.8690875", "0.8674073", "0.8627801", "0.85745597", "0.8373846", "0.83243", "0.83239865", "0.83011955", "0.8299772", "0.8204743", "0.82044613", "0.81466603", "0.8118168", "0.8117434", "0.8105822", "0.80800813", "0.8070348"...
0.85882765
7
cast(itkLightObject obj) > itkCosImageFilterID3ID3_Superclass
def YWvJ(*qIxc): return FHef.itkCosImageFilterID3ID3_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF3IF3_Superclass *':\n return RC9M.itkNotImageFilterIF3IF3_Superclass_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterISS3ISS3_Superclass *':\n return RC9M.itkNotImageFilterISS3ISS3_Superclass_cast(YEnM)", "def D9RE(YEnM: 'itkLigh...
[ "0.86683923", "0.862723", "0.85871387", "0.85624206", "0.8513555", "0.8497864", "0.84229565", "0.83370554", "0.83119947", "0.8305348", "0.82925725", "0.82540387", "0.8107487", "0.80937564", "0.80567527", "0.8013949", "0.8010336", "0.79589516", "0.789349", "0.78914523", "0.785...
0.7362233
62
New() > itkCosImageFilterID3ID3_Superclass Create a new object of the class itkCosImageFilterID3ID3_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parame...
def oW_4(*qIxc, **PECO): YEnM = tiqA.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = Jryl.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = tCMJ.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.77141714", "0.7319198", "0.7316127", "0.7249109", "0.7231958", "0.7184253", "0.7155918", "0.70616406", "0.7056862", "0.7024334", "0.70080906", "0.7006804", "0.6993189", "0.68446493", "0.68294114", "0.6796026", "0.67948693", "0.6783106", "0.67579937", "0.67564404", "0.67458...
0.794355
0
itkCosImageFilterID3ID3_Superclass_cast(itkLightObject obj) > itkCosImageFilterID3ID3_Superclass
def muIb(*qIxc): return FHef.itkCosImageFilterID3ID3_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D9RE(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF3IF3_Superclass *':\n return RC9M.itkNotImageFilterIF3IF3_Superclass_cast(YEnM)", "def b8q3(YEnM: 'itkLightObject') -> 'itkNotImageFilterISS3ISS3_Superclass *':\n return RC9M.itkNotImageFilterISS3ISS3_Superclass_cast(YEnM)", "def jtmK(YEnM: 'itkLigh...
[ "0.8910451", "0.88948935", "0.8798548", "0.87567765", "0.87483764", "0.87183654", "0.86551684", "0.8621241", "0.84162587", "0.8356719", "0.83541745", "0.8353013", "0.83053374", "0.82730705", "0.8268659", "0.82569253", "0.8256206", "0.824875", "0.82469475", "0.8223389", "0.822...
0.8615558
8
cast(itkLightObject obj) > itkCosImageFilterIF2IF2_Superclass
def YWvJ(*qIxc): return FHef.itkCosImageFilterIF2IF2_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WpUp(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2_Superclass *':\n return RC9M.itkNotImageFilterIF2IF2_Superclass_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2_Superclass *':\n return RC9M.itkNotImageFilterIF2IF2_Superclass_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObj...
[ "0.88424003", "0.88202626", "0.86047465", "0.8564495", "0.8520451", "0.8502382", "0.84428334", "0.83847976", "0.8366901", "0.8346575", "0.834041", "0.82767797", "0.81551874", "0.80778867", "0.80013514", "0.7986159", "0.7963581", "0.7963303", "0.79207957", "0.79207695", "0.791...
0.7415676
52
New() > itkCosImageFilterIF2IF2_Superclass Create a new object of the class itkCosImageFilterIF2IF2_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parame...
def oW_4(*qIxc, **PECO): YEnM = TyVQ.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = mADN.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = ozqG.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.76779586", "0.7445717", "0.73286176", "0.7327192", "0.72321427", "0.72252136", "0.7177418", "0.7131903", "0.71000457", "0.7089659", "0.69965583", "0.6923089", "0.69229", "0.6893996", "0.6892577", "0.68918", "0.6863588", "0.6839431", "0.6838872", "0.6836973", "0.6830362", ...
0.79127604
0
itkCosImageFilterIF2IF2_Superclass_cast(itkLightObject obj) > itkCosImageFilterIF2IF2_Superclass
def Jk1g(*qIxc): return FHef.itkCosImageFilterIF2IF2_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WpUp(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2_Superclass *':\n return RC9M.itkNotImageFilterIF2IF2_Superclass_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2_Superclass *':\n return RC9M.itkNotImageFilterIF2IF2_Superclass_cast(YEnM)", "def pWD7(YEnM: 'itkLightObj...
[ "0.90976673", "0.88867223", "0.8852662", "0.87791884", "0.8725247", "0.87106836", "0.8706143", "0.86283565", "0.8479521", "0.84427524", "0.8440181", "0.84103096", "0.83975786", "0.83288395", "0.82368404", "0.82346433", "0.82295835", "0.8202833", "0.81921935", "0.8162419", "0....
0.8606678
8
cast(itkLightObject obj) > itkCosImageFilterIF3IF3_Superclass
def YWvJ(*qIxc): return FHef.itkCosImageFilterIF3IF3_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF3IF3_Superclass *':\n return RC9M.itkNotImageFilterIF3IF3_Superclass_cast(YEnM)", "def D9RE(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF3IF3_Superclass *':\n return RC9M.itkNotImageFilterIF3IF3_Superclass_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObj...
[ "0.87793714", "0.87467635", "0.86473876", "0.86293596", "0.8545217", "0.85411304", "0.85197467", "0.84955597", "0.8391409", "0.8382299", "0.8375191", "0.8348412", "0.8340069", "0.81814164", "0.8108702", "0.8084266", "0.80465716", "0.8043597", "0.8011094", "0.79677314", "0.796...
0.73313683
72
New() > itkCosImageFilterIF3IF3_Superclass Create a new object of the class itkCosImageFilterIF3IF3_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parame...
def oW_4(*qIxc, **PECO): YEnM = Jryl.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = tiqA.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = sUI2.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.76920885", "0.7429909", "0.73614943", "0.7273933", "0.72659546", "0.7250906", "0.7198968", "0.71609765", "0.7144643", "0.71385515", "0.70806587", "0.69542575", "0.69164085", "0.6906592", "0.68563056", "0.6849681", "0.68313617", "0.68094784", "0.68039674", "0.68005866", "0....
0.7906033
0
itkCosImageFilterIF3IF3_Superclass_cast(itkLightObject obj) > itkCosImageFilterIF3IF3_Superclass
def rU0H(*qIxc): return FHef.itkCosImageFilterIF3IF3_Superclass_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D9RE(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF3IF3_Superclass *':\n return RC9M.itkNotImageFilterIF3IF3_Superclass_cast(YEnM)", "def b8q3(YEnM: 'itkLightObject') -> 'itkNotImageFilterISS3ISS3_Superclass *':\n return RC9M.itkNotImageFilterISS3ISS3_Superclass_cast(YEnM)", "def jtmK(YEnM: 'itkLigh...
[ "0.9063235", "0.8897348", "0.88608825", "0.8829326", "0.87348765", "0.8729776", "0.86788815", "0.86103934", "0.8465078", "0.84501004", "0.8430744", "0.83540887", "0.83440745", "0.8329623", "0.83173525", "0.8304971", "0.8302481", "0.8291938", "0.822121", "0.8214621", "0.819932...
0.8646056
7
cast(itkLightObject obj) > itkCosImageFilterID2ID2
def YWvJ(*qIxc): return FHef.itkCosImageFilterID2ID2_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIF2ISS2 *':\n return twC5.itkHuangThresholdImageFilterIF2ISS2_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2 *':\n return RC9M.itkNotImageFilterIF2IF2_cast(YEnM)", "def Pit5(YEnM: 'itkLightObject') -> 'itkNotImag...
[ "0.8049103", "0.8042356", "0.7995952", "0.79182184", "0.79108095", "0.7895762", "0.788617", "0.7883473", "0.7873461", "0.78732026", "0.7851832", "0.78154504", "0.7809218", "0.77913105", "0.7789331", "0.77822155", "0.7779062", "0.77589697", "0.77527326", "0.77487075", "0.77374...
0.0
-1
New() > itkCosImageFilterID2ID2 Create a new object of the class itkCosImageFilterID2ID2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parameter in the first input...
def oW_4(*qIxc, **PECO): YEnM = R0ei.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = mADN.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = ZMNe.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.7750207", "0.76177865", "0.7379745", "0.73473966", "0.73118484", "0.73117906", "0.7276629", "0.7219164", "0.7200379", "0.7169808", "0.7154578", "0.71521854", "0.7147615", "0.71060306", "0.7059725", "0.7018333", "0.6970653", "0.69704574", "0.6966879", "0.69489646", "0.69449...
0.8047623
0
itkCosImageFilterID2ID2_cast(itkLightObject obj) > itkCosImageFilterID2ID2
def YrOZ(*qIxc): return FHef.itkCosImageFilterID2ID2_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIF2ISS2 *':\n return VZ_G.itkScalarImageKmeansImageFilterIF2ISS2_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkSquaredDifferenceImageFilterIF2IF2IF2 *':\n return p38V.itkSquaredDifferenceImageFilterIF2IF2IF2_cast(YEnM)", "def YWv...
[ "0.8207999", "0.81942785", "0.8170716", "0.8142356", "0.8131818", "0.8062837", "0.8059987", "0.80579644", "0.80546725", "0.80522823", "0.8040865", "0.8038703", "0.80274063", "0.80220157", "0.8008262", "0.8005035", "0.80033684", "0.79935193", "0.799307", "0.7982839", "0.796441...
0.8119412
5
cast(itkLightObject obj) > itkCosImageFilterID3ID3
def YWvJ(*qIxc): return FHef.itkCosImageFilterID3ID3_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIF3ISS3 *':\n return twC5.itkHuangThresholdImageFilterIF3ISS3_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIF3IUS3 *':\n return twC5.itkHuangThresholdImageFilterIF3IUS3_cast(YEnM)", "def YWvJ(YEnM: 'itkLigh...
[ "0.80720794", "0.8027706", "0.8024218", "0.80207175", "0.801341", "0.7991757", "0.7991364", "0.79911995", "0.7967328", "0.7952361", "0.79307956", "0.79225814", "0.79155236", "0.79153305", "0.7902338", "0.78925174", "0.7891577", "0.789042", "0.78630966", "0.7862304", "0.785674...
0.0
-1
New() > itkCosImageFilterID3ID3 Create a new object of the class itkCosImageFilterID3ID3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parameter in the first input...
def oW_4(*qIxc, **PECO): YEnM = I_O8.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = Eicg.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = tiqA.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.782842", "0.77592134", "0.75477874", "0.7375264", "0.73590976", "0.7349582", "0.73476624", "0.7342269", "0.7240958", "0.72307867", "0.7216902", "0.71938753", "0.7187123", "0.71735513", "0.71492153", "0.713743", "0.71203697", "0.7106789", "0.7089128", "0.70698464", "0.70586...
0.8106408
0
itkCosImageFilterID3ID3_cast(itkLightObject obj) > itkCosImageFilterID3ID3
def t6pr(*qIxc): return FHef.itkCosImageFilterID3ID3_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIF3ISS3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIF3ISS3_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIF3IUS3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIF3IUS3_cast(YEnM)", "def lZ9s(YE...
[ "0.83388513", "0.82554215", "0.8232427", "0.82247144", "0.81992793", "0.8191354", "0.8172995", "0.81658417", "0.81422055", "0.81363183", "0.81340337", "0.81317544", "0.8105376", "0.8102495", "0.80917156", "0.80901814", "0.8088206", "0.80874085", "0.80802035", "0.80801713", "0...
0.8156475
8
cast(itkLightObject obj) > itkCosImageFilterIF2IF2
def YWvJ(*qIxc): return FHef.itkCosImageFilterIF2IF2_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Pit5(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2 *':\n return RC9M.itkNotImageFilterIF2IF2_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkNotImageFilterIF2IF2 *':\n return RC9M.itkNotImageFilterIF2IF2_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIF2ISS...
[ "0.82713336", "0.82455754", "0.8170484", "0.81050014", "0.8061573", "0.7998373", "0.7987641", "0.79583055", "0.7901362", "0.78924215", "0.788156", "0.7876705", "0.7870345", "0.78703195", "0.78631145", "0.78609395", "0.7828205", "0.78073233", "0.7801901", "0.77982247", "0.7782...
0.0
-1
New() > itkCosImageFilterIF2IF2 Create a new object of the class itkCosImageFilterIF2IF2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parameter in the first input...
def oW_4(*qIxc, **PECO): YEnM = ZMNe.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = R0ei.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = TyVQ.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.7735841", "0.7731298", "0.7500468", "0.7462953", "0.7397587", "0.7371998", "0.7313287", "0.72614413", "0.72313875", "0.72276866", "0.7182058", "0.7160356", "0.7155663", "0.7142183", "0.71229553", "0.7116697", "0.7103676", "0.70629007", "0.7057744", "0.7043274", "0.7029638"...
0.8036792
0
itkCosImageFilterIF2IF2_cast(itkLightObject obj) > itkCosImageFilterIF2IF2
def n2B2(*qIxc): return FHef.itkCosImageFilterIF2IF2_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIF2IF2 *':\n return xm6Z.itkBinaryContourImageFilterIF2IF2_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkSquaredDifferenceImageFilterIF2IF2IF2 *':\n return p38V.itkSquaredDifferenceImageFilterIF2IF2IF2_cast(YEnM)", "def YWvJ(YEnM: 'i...
[ "0.83449745", "0.8332226", "0.8308706", "0.82954156", "0.82942474", "0.82866645", "0.826143", "0.82612705", "0.8251573", "0.82267773", "0.8190453", "0.8153499", "0.8124564", "0.81161153", "0.8101967", "0.8086738", "0.8078108", "0.8067691", "0.80504113", "0.80426794", "0.80209...
0.82803416
6
cast(itkLightObject obj) > itkCosImageFilterIF3IF3
def YWvJ(*qIxc): return FHef.itkCosImageFilterIF3IF3_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIF3ISS3 *':\n return twC5.itkHuangThresholdImageFilterIF3ISS3_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkHuangThresholdImageFilterIF3IUS3 *':\n return twC5.itkHuangThresholdImageFilterIF3IUS3_cast(YEnM)", "def YWvJ(YEnM: 'itkLigh...
[ "0.81318736", "0.8104459", "0.80851805", "0.8080048", "0.80619746", "0.8000979", "0.79761136", "0.79736143", "0.79716617", "0.796715", "0.79615295", "0.79486346", "0.79089546", "0.7908397", "0.7899607", "0.78955615", "0.78845763", "0.78564525", "0.7835742", "0.78300464", "0.7...
0.0
-1
New() > itkCosImageFilterIF3IF3 Create a new object of the class itkCosImageFilterIF3IF3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named parameter in the first input...
def oW_4(*qIxc, **PECO): YEnM = Eicg.__New_orig__() import itkTemplate itkTemplate.New(YEnM, *qIxc, **PECO) return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oW_4(*qIxc, **PECO):\n YEnM = I_O8.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\n YEnM = Jryl.__New_orig__()\n import itkTemplate\n itkTemplate.New(YEnM, *qIxc, **PECO)\n return YEnM", "def oW_4(*qIxc, **PECO):\...
[ "0.77990925", "0.7772224", "0.7472595", "0.74669296", "0.7442337", "0.74420905", "0.74217135", "0.7361661", "0.73055714", "0.7288295", "0.72598577", "0.7242296", "0.72183293", "0.72182155", "0.72176534", "0.7207231", "0.71909094", "0.7190173", "0.71870035", "0.7180038", "0.71...
0.8125627
0
itkCosImageFilterIF3IF3_cast(itkLightObject obj) > itkCosImageFilterIF3IF3
def t8WS(*qIxc): return FHef.itkCosImageFilterIF3IF3_cast(*qIxc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YWvJ(YEnM: 'itkLightObject') -> 'itkScalarImageKmeansImageFilterIF3ISS3 *':\n return VZ_G.itkScalarImageKmeansImageFilterIF3ISS3_cast(YEnM)", "def YWvJ(YEnM: 'itkLightObject') -> 'itkBinaryContourImageFilterIF3IF3 *':\n return xm6Z.itkBinaryContourImageFilterIF3IF3_cast(YEnM)", "def YWvJ(YEnM: 'itkLi...
[ "0.83219475", "0.82975626", "0.82611847", "0.8251227", "0.8243064", "0.8242012", "0.8218637", "0.8215971", "0.8207221", "0.82034683", "0.81770164", "0.81310654", "0.8127668", "0.81218696", "0.81203556", "0.8102578", "0.80988747", "0.8095543", "0.8091649", "0.805958", "0.80577...
0.8202368
10
Returns domain_states grown by depth along transitions. Resulting states are filtered by the validity_test. By default, only states without a negative coordinate are valid.
def ClA1(o6Nw, UlCL, rb7a, tOrn=None): if XTiz.size(o6Nw) == 0: raise ValueError('there must be at least one state to expand') if tOrn is None: tOrn = o7PF lKYg = o6Nw for bGrB in Ni9Y(rb7a): for OZkM in UlCL: dlo_ = o6Nw for bGrB in Ni9Y(3): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gz8g(YKHO, UlCL):\n UlCL = UlCL.reset_index()\n UlCL = UlCL.loc[UlCL['upper_level_index'] <= YKHO.last_bound_level]\n UlCL = UlCL.set_index(['lower_level_index', 'upper_level_index'])\n UlCL = UlCL.sort_index()\n return UlCL", "def M6_7():\n Tfyd = ZylS.scan(zSjz, GhNk, initializer=D5BU, na...
[ "0.57105845", "0.5199087", "0.5093414", "0.5083831", "0.5079438", "0.504274", "0.5033404", "0.5003836", "0.49751276", "0.49420226", "0.48918647", "0.48856464", "0.4874076", "0.48652098", "0.48447296", "0.48319766", "0.48190337", "0.47919258", "0.47874916", "0.47771767", "0.47...
0.67941123
0
r""" encode the data using struct.pack >>> encode_data('HHB', (27, 1, 0)) b'\x00\x05\x00\x1b\x00\x01\x00' = ================== > big endian H unsigned integer B unsigned char = ==================
def yhRz(FMLJ: str, nPrm: Iterable) -> bytes: U5bT = BlNT.pack('>' + FMLJ, *nPrm) if len(U5bT) < 2 or len(U5bT) > 65535: raise ValueError('Encoded data length needs to be between 2 and 65536') return BlNT.pack('>H', len(U5bT)) + U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kLcZ(YKHO):\n CLqw = 0 | YKHO.datarate << 4 | YKHO.txpower\n y4n2 = 0 | YKHO.chmaskcntl << 4 | YKHO.nbrep\n nPrm = BlNT.pack('<BBHB', YKHO.cid, CLqw, YKHO.chmask, y4n2)\n return nPrm", "def kLcZ(YKHO):\n Fg_i = 0 | YKHO.mtype << 5 | YKHO.major\n nPrm = BlNT.pack('B', Fg_i)\n return nPrm"...
[ "0.77296096", "0.73010516", "0.7000237", "0.69679916", "0.6757876", "0.6724614", "0.6658339", "0.6582501", "0.6488325", "0.6487439", "0.64820886", "0.6426871", "0.6388616", "0.6371058", "0.62913173", "0.62831986", "0.6257105", "0.62480927", "0.6217435", "0.61823195", "0.61788...
0.6671313
6
The maximum grade possible for the problem.
def U1mj(YKHO) -> float: return sum(YKHO.test_weights.values())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jB5X(YKHO):\n return YKHO.raw_possible", "def FjAN(YKHO):\n if round(YKHO.numAvg, 0) >= 70:\n return round(YKHO.numAvg, 0)\n elif YKHO.PassSummer:\n return 70\n elif round(YKHO.numAvg, 0) >= 55 and (not YKHO.PassSummer):\n return round(YKHO.numAvg, 0)\n else:\n retu...
[ "0.7506938", "0.725243", "0.7108183", "0.7025382", "0.6890848", "0.6819577", "0.67641056", "0.67433095", "0.669709", "0.6663538", "0.66567457", "0.6652442", "0.66458493", "0.6636141", "0.66278195", "0.66266954", "0.66254145", "0.66254145", "0.6622135", "0.66023034", "0.659305...
0.79307663
0
Verifies the expected output entries are emitted by the console task under test.
def YB88(YKHO, *hlel, **B2fa): YKHO.assertEqual(sorted(hlel), sorted(YKHO.execute_console_task(**B2fa)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YB88(YKHO, *hlel, **B2fa):\n YKHO.assertEqual(sorted(hlel), sorted(YKHO.execute_console_task(**B2fa)))", "def PWzQ(YKHO):\n assert hlel(YKHO.msg) is not None", "def pCl9(YKHO, *hlel, **B2fa):\n YKHO.assertEqual(list(hlel), YKHO.execute_console_task(**B2fa))", "def THqI(YKHO, aEqx):\n HwRy.std...
[ "0.77022696", "0.7244481", "0.71960497", "0.7169571", "0.70544595", "0.6928858", "0.6707271", "0.66554683", "0.6597618", "0.6567383", "0.654989", "0.6500504", "0.6470142", "0.6470045", "0.6437217", "0.6420013", "0.6402865", "0.6385644", "0.63641894", "0.6348764", "0.633137", ...
0.7668784
1
Verifies the expected output entries are emitted by the console task under test.
def pCl9(YKHO, *hlel, **B2fa): YKHO.assertEqual(list(hlel), YKHO.execute_console_task(**B2fa))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YB88(YKHO, *hlel, **B2fa):\n YKHO.assertEqual(sorted(hlel), sorted(YKHO.execute_console_task(**B2fa)))", "def YB88(YKHO, *hlel, **B2fa):\n YKHO.assertEqual(sorted(hlel), sorted(YKHO.execute_console_task(**B2fa)))", "def PWzQ(YKHO):\n assert hlel(YKHO.msg) is not None", "def THqI(YKHO, aEqx):\n ...
[ "0.7701624", "0.7668178", "0.72435975", "0.71700186", "0.7053819", "0.69301796", "0.6707033", "0.6655254", "0.6597397", "0.6567671", "0.65496725", "0.6499929", "0.6470104", "0.6469056", "0.6438308", "0.6419728", "0.64025164", "0.63858426", "0.6364249", "0.6347973", "0.6331704...
0.7195702
3
Returns the first_name plus the last_name, with a space in between. The user is identified by their first_name plus last_name
def xpqj(YKHO): eHMM = '%s %s' % (YKHO.first_name, YKHO.last_name) return eHMM.strip()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xpqj(YKHO):\n return YKHO.first_name + ' ' + YKHO.last_name", "def eHMM(c9ua, zp3f):\n return c9ua + ' ' + zp3f", "def eHMM(c9ua, zp3f):\n return c9ua + ' ' + zp3f", "def xpqj(YKHO):\n eHMM = f'{YKHO.first_name} {YKHO.last_name}' if YKHO.first_name and YKHO.last_name else YKHO.username\n r...
[ "0.7946729", "0.77733004", "0.7769883", "0.77620447", "0.7742543", "0.7702737", "0.76157534", "0.7611005", "0.76030314", "0.7601849", "0.75643396", "0.7552074", "0.7540965", "0.75186944", "0.7472367", "0.74687785", "0.74581945", "0.74581945", "0.7438394", "0.7434189", "0.7427...
0.76856387
6
Indicates if the finite field is a prime field, having prime order.
def PqW_(Emd4) -> bool: return Emd4._degree == 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T1qg(YKHO):\n pass", "def ZiEz(exwG, Fg_i):\n return pow(Fg_i, exwG - 1, exwG) == 1", "def ZiEz(exwG, Fg_i):\n return pow(Fg_i, exwG - 1, exwG) == 1", "def T1qg(YKHO, WhY1):\n return WhY1 > 0 and (WhY1 == 2 or WhY1 % 2 != 0) and (WhY1 == 1 or not any((WhY1 % FGW3 == 0 for FGW3 in range(3, WhY...
[ "0.72880095", "0.6664437", "0.665253", "0.64691514", "0.6449833", "0.63539046", "0.6345016", "0.6336075", "0.63180494", "0.62863123", "0.62733823", "0.6267938", "0.6232005", "0.6186778", "0.61769104", "0.6165506", "0.6153848", "0.6104596", "0.6081204", "0.6081204", "0.6071728...
0.8289135
0
Checks if user is the commenter.
def h_Dm(YKHO, YEnM): CBIr = None QePW = YKHO.context.get('request') if QePW and hasattr(QePW, 'user'): CBIr = QePW.user if CBIr == YEnM.commenter: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VtnB(YKHO, CBIr):\n return CBIr.is_staff or CBIr.is_superuser or CBIr.id == YKHO.creator_id", "def aei7(YKHO, CBIr):\n return TYFT.objects.filter(recipe=YKHO, chef=CBIr).exists()", "def pMf_(e5KI, NtEF):\n return e5KI.author and e5KI.author.name.lower() == NtEF.lower()", "def Exol(YKHO, CBIr):\n...
[ "0.752661", "0.7405133", "0.7353144", "0.72349393", "0.7023573", "0.68942636", "0.67756337", "0.67564404", "0.6722907", "0.6518927", "0.63547254", "0.6284016", "0.6283225", "0.6234268", "0.6230834", "0.6175208", "0.61635125", "0.6149782", "0.6053558", "0.60356534", "0.6019889...
0.86046135
0
Returns human readable time.
def MbL6(YKHO, YEnM): return I0Z9(YEnM.created)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EgnU():\n return ITS7.strftime('%A, %H:%M')", "def m7L9() -> str:\n return F803('%H:%M:%S')", "def m7L9(YKHO):\n WKvO = ITS7.localtime()\n return ''.join([str(WKvO[0]).rjust(4, '0'), '/', str(WKvO[1]).rjust(2, '0'), '/', str(WKvO[2]).rjust(2, '0'), ' ', str(WKvO[3]).rjust(2, '0'), ':', str(WKvO...
[ "0.846048", "0.80515003", "0.79151344", "0.77329826", "0.77089983", "0.76621354", "0.76217175", "0.7581784", "0.7549736", "0.7520039", "0.751363", "0.7500368", "0.7492993", "0.7488472", "0.74801904", "0.7460909", "0.74443126", "0.7433596", "0.74139553", "0.73886305", "0.73735...
0.0
-1
Close out the file connection.
def DDI8(YKHO): YKHO.filep.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qsZa(YKHO):\n YKHO.file.close()", "def qsZa(YKHO):\n YKHO.file.close()", "def qsZa(YKHO):\n YKHO.file.close()", "def DDI8(YKHO):\n YKHO.file_out.close()", "def HuIG(YKHO):\n YKHO.fh.close()", "def DDI8(YKHO):\n YKHO.out_file.close()", "def DDI8(YKHO):\n YKHO._fp.close()", "de...
[ "0.8061058", "0.8018861", "0.8018861", "0.7986604", "0.79225266", "0.7871552", "0.7866032", "0.78181046", "0.78181046", "0.7809975", "0.7770069", "0.7770069", "0.7730833", "0.77198523", "0.77110773", "0.7706973", "0.7644901", "0.7637969", "0.7609332", "0.76081556", "0.7598803...
0.7543592
24
Python <= 3 demand that kwargs keys be bytes instead of unicode/string.
def smGb(YKHO): def eHNT(**B2fa): YKHO.assertEqual(B2fa, {'spam': 'eggs'}) B2fa = YKHO.decode('\n\x0b\x01\tspam\x06\teggs\x01') eHNT(**B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def smGb(YKHO):\n B2fa = Radr.kwargs\n assert isinstance(B2fa, Radr._signature.VarKeyword)\n assert B2fa.name == 'kwargs'\n assert B2fa.converter is None\n assert B2fa.validator is None", "def bytes(*qIxc, **B2fa):\n pass", "def dLyc(Fi_Q: t.Dict[str, t.Any], sPBL: t.Dict[str, t.Any]) -> None...
[ "0.6542057", "0.64504665", "0.640747", "0.6147738", "0.5971218", "0.5936928", "0.5910666", "0.57681924", "0.57137144", "0.56899613", "0.56320244", "0.5605776", "0.55874944", "0.5580652", "0.55779433", "0.5562142", "0.55469763", "0.55368596", "0.5514528", "0.5480519", "0.54805...
0.7238601
0
|coro| Returns the user's playlists.
async def get_user_playlists(YKHO, CBIr: discord.User, YLnl: bool=False) -> x1iM[lXGl]: uJUA = await YKHO.database.select(YKHO.tables['playlists'], ['id'], {'user': CBIr.id}, True) return list(await V7ok.gather(*[YKHO.get_playlist(CBIr, Hwl4['id'], YLnl) for Hwl4 in uJUA]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u6Nl(YKHO):\n if YKHO.youtube is None:\n YKHO.youtube = k4Zd()\n return YKHO.youtube.playlists().list(part='snippet', mine=True).execute()", "def _k1A(YKHO, qoqK: int=20, vgXP: int=0):\n return YKHO._get('me/playlists', limit=qoqK, offset=vgXP)", "def tfH8(YKHO):\n return YKHO._playlists...
[ "0.799533", "0.79427636", "0.79104716", "0.7890582", "0.78184146", "0.7740326", "0.76802987", "0.74232125", "0.7404158", "0.7337528", "0.73239934", "0.7278643", "0.72557425", "0.720226", "0.70500785", "0.69288164", "0.68446565", "0.68256134", "0.6722397", "0.6677872", "0.6606...
0.6750874
18
|coro| Waits the inactivity timeout and ensures the voice client in ctx is playing a song. If no song is playing, it disconnects and calls the on_inactivity_timeout event.
async def ensure_activity(YKHO, OaeV: commands.Context) -> None: if YKHO.inactivity_timeout is None: return await V7ok.sleep(YKHO.inactivity_timeout) if OaeV.voice_client and OaeV.voice_client.is_connected() and (not OaeV.voice_client.is_playing()): await YKHO.cleanup(OaeV.voice_client, OaeV...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def voice_check(YKHO, tO9_):\n if tO9_.voice_client is not None:\n await V7ok.sleep(120)\n if tO9_.voice_client is not None and tO9_.voice_client.is_playing() is False and (tO9_.voice_client.is_paused() is False):\n await tO9_.voice_client.disconnect()", "async def playnow(YKHO,...
[ "0.67768085", "0.62030226", "0.6134315", "0.61318606", "0.61134523", "0.60705984", "0.6032164", "0.58575594", "0.57710123", "0.57150525", "0.5701865", "0.56967247", "0.56604326", "0.5659886", "0.5658274", "0.565326", "0.5599243", "0.5589014", "0.55763376", "0.5547784", "0.553...
0.7265072
0
|coro| Plays the next song in the queue, handles looping, queue looping, autoplay, etc.
async def _check_queue(YKHO, OaeV: commands.Context) -> None: try: if not OaeV.voice_client or not OaeV.voice_client.is_connected(): return gGq6 = YKHO.queue[OaeV.guild.id] oyg0 = await gGq6.get_next_player(YKHO.youtube) if oyg0 is None: await YKHO.cleanup(Non...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def play(YKHO):\n if YKHO.repeat and YKHO.current is not None:\n YKHO.queue.append(YKHO.current)\n YKHO.current = None\n YKHO.position = 0\n YKHO.paused = False\n if not YKHO.queue:\n await YKHO.stop()\n await YKHO._bot.lavalink.client._trigger_event('QueueEndEvent', YKHO....
[ "0.7607362", "0.7413545", "0.72747624", "0.7234257", "0.7065234", "0.70392334", "0.7010689", "0.6961038", "0.6949446", "0.6896756", "0.68965113", "0.68822825", "0.6867415", "0.683365", "0.6637377", "0.6635679", "0.66269606", "0.66197157", "0.66149426", "0.6607695", "0.6605745...
0.64140975
41
|coro| Adds a list of players to the ctx queue. If a queue does not exist in ctx, it creates one.
async def queue_add(YKHO, OaeV: commands.Context, Bwa6: List[Player]) -> h8nf[bool]: if OaeV.guild.id in YKHO.queue: YKHO.queue[OaeV.guild.id].queue += Bwa6 else: YKHO.queue[OaeV.guild.id] = WMRd(YKHO.default_volume, Bwa6) return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kdId(YKHO, qIxc=None):\n YKHO.player.append(next(YKHO.cur_pl))", "async def playlist(YKHO, nPrm, tO9_):\n for YRbF in nPrm['queue']:\n print(YRbF)\n YKHO.player[tO9_.guild.id]['queue'].append({'title': YRbF, 'author': tO9_})", "async def queue(YKHO, OaeV: commands.Context) -> None:\n ...
[ "0.6649097", "0.61467946", "0.60230863", "0.5959363", "0.5947061", "0.58933604", "0.5884806", "0.58194065", "0.57636076", "0.57555825", "0.5747997", "0.57158893", "0.56636035", "0.5651666", "0.5596279", "0.5567043", "0.55403996", "0.5527119", "0.5520095", "0.5482724", "0.5482...
0.74539477
0
|coro| Plays the player or the next song in the queue.
async def play(YKHO, OaeV: commands.Context) -> h8nf[bool]: if not OaeV.voice_client.is_playing(): await YKHO._check_queue(OaeV) return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def play(YKHO):\n if YKHO.repeat and YKHO.current is not None:\n YKHO.queue.append(YKHO.current)\n YKHO.current = None\n YKHO.position = 0\n YKHO.paused = False\n if not YKHO.queue:\n await YKHO.stop()\n await YKHO._bot.lavalink.client._trigger_event('QueueEndEvent', YKHO....
[ "0.7754902", "0.7663747", "0.7567789", "0.7528323", "0.7374529", "0.73590726", "0.725104", "0.71742755", "0.7021318", "0.70206803", "0.70044196", "0.69880825", "0.6956192", "0.6950428", "0.69385517", "0.69347847", "0.6865466", "0.68316597", "0.6789953", "0.67856115", "0.67800...
0.649578
34
|coro| Skips to the index in ctx. Calls on_music_error with InvalidSkipIndex or SkipError.
async def skip(YKHO, OaeV: commands.Context, d6pt: int=None) -> h8nf[mVZ4]: gGq6 = YKHO.queue[OaeV.guild.id] sZgP = 0 if d6pt is None else d6pt - 1 if not sZgP < len(gGq6.queue) and (not gGq6.pos < sZgP): if d6pt: await YKHO.call_event('on_music_error', OaeV, vm2z('Skip index invalid.'))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def skip(YKHO, OaeV):\n if OaeV.message.channel.id != 701868237771505695:\n return await OaeV.send('**Error:** Music Bot commands are only available in <#701868237771505695>')\n if YKHO.music_off:\n return await OaeV.send('**Error:** Music Bot features are currently off')\n if OaeV.voi...
[ "0.65922076", "0.63522", "0.61802304", "0.61173105", "0.6102237", "0.60958916", "0.6074054", "0.60157377", "0.5965597", "0.58740216", "0.58564997", "0.57778865", "0.5768989", "0.56513226", "0.56513226", "0.564023", "0.56162554", "0.5608903", "0.5556879", "0.544198", "0.534235...
0.6455025
1
|coro| Joins the ctx voice channel. Calls on_music_error with AlreadyConnected or UserNotConnected.
async def join(YKHO, OaeV: commands.Context) -> h8nf[ZOrr.VoiceChannel]: if OaeV.voice_client and OaeV.voice_client.is_connected(): await YKHO.call_event('on_music_error', OaeV, TEdx('Client is already connected to a voice channel')) return if not OaeV.author.voice: await YKHO.call_event...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def join(YKHO, OaeV):\n l1d8 = OaeV.author.voice\n if l1d8 and l1d8.channel:\n YwkQ = l1d8.channel\n try:\n await YwkQ.connect()\n except ZOrr.errors.ClientException:\n await OaeV.guild.get_member(YKHO.bot.user.id).move_to(YwkQ)\n await OaeV.send(f'Join...
[ "0.7335438", "0.73056656", "0.72704077", "0.7116836", "0.7083306", "0.7064541", "0.70203084", "0.68096536", "0.6794914", "0.6720208", "0.6705966", "0.6673719", "0.6630125", "0.6621831", "0.6576283", "0.65449136", "0.6535891", "0.6470006", "0.6363149", "0.63062465", "0.6301805...
0.73671913
0
|coro| Returns the currently playing player.
async def now_playing(YKHO, OaeV: commands.Context) -> h8nf[mVZ4]: YCsN = YKHO.queue[OaeV.guild.id].now_playing if not OaeV.voice_client.is_playing() and (not OaeV.voice_client.is_paused()): await YKHO.call_event('on_music_error', OaeV, naWV('Client is not playing anything currently')) return YCsN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nAM4(YKHO):\n return YKHO._player", "def nAM4(YKHO):\n return YKHO.player_control.get_player()", "def mCd_(YKHO):\n return YKHO._current_player", "def vevC(YKHO):\n return YKHO.currentPlayer", "async def playing(YKHO, OaeV):\n oyg0 = YKHO.player\n if oyg0.current is None:\n awa...
[ "0.77996653", "0.77758723", "0.77518016", "0.7727183", "0.7676152", "0.76502293", "0.7648308", "0.75869185", "0.75709295", "0.75709295", "0.75676566", "0.7557421", "0.75524944", "0.75246096", "0.75162125", "0.74907434", "0.743253", "0.7414162", "0.73967606", "0.7334954", "0.7...
0.7216058
22
|coro| Returns parsed duration.
def ivAF(WbTE: Union[str, float], bsDl: bool=True) -> str: if WbTE == 'LIVE': return WbTE mZOz = '%H:%M:%S' if bsDl else '%M:%S' return ITS7.strftime(mZOz, ITS7.gmtime(round(WbTE)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WbTE(YKHO):\n return YKHO._get('duration')", "def WbTE(YKHO):\n return YKHO._get('duration')", "def O74l(YKHO):\n if getattr(YKHO, '_duration_cache', None):\n return YKHO._duration_cache\n WbTE = Drlr(L6EP(M9e8(YKHO))).get('duration')\n if not WbTE:\n raise Exception(u'Not an a...
[ "0.7275495", "0.7252117", "0.7243393", "0.72383153", "0.7203399", "0.7156711", "0.7100431", "0.70897835", "0.70765555", "0.70765555", "0.70765555", "0.7005356", "0.7005356", "0.69921684", "0.69905543", "0.696688", "0.6965177", "0.6955039", "0.6955039", "0.69539356", "0.692468...
0.6420195
84
Decorate an init to create new instances of mutable defaults. This should only be used in combination with `default` and will be applied as part of `__init_subclass`. Direct usage of this decorator should not be required.
def _bdE(Emd4: Type[_BaseTpcpObject], U30C: Callable) -> YrBT: NArs = ECIY(Emd4) @zaGL(U30C) def bagf(YKHO: BaseTpcpObject, *qIxc: Any, **B2fa: Any) -> None: U30C(YKHO, *qIxc, **B2fa) for XP5J in NArs: if isinstance((wEf2 := getattr(YKHO, XP5J)), FjZO): setattr(Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ddv4(o8Kj, muwo=None):\n if muwo is None:\n muwo = {}\n\n def DbxN(YKHO, *qIxc, **YSA3):\n for jzdc in o8Kj:\n try:\n Ty9i = YSA3.pop(jzdc)\n except KeyError:\n try:\n Ty9i = muwo[jzdc]\n except KeyError:\...
[ "0.6899492", "0.63387537", "0.6274772", "0.60143405", "0.5986952", "0.5986882", "0.597908", "0.5974641", "0.5867499", "0.58120024", "0.57996875", "0.57015926", "0.5697875", "0.5669695", "0.5663108", "0.5656362", "0.5617214", "0.5595076", "0.54991686", "0.54677224", "0.5437217...
0.645165
1
Compute the sigmoid function. We don't bother with clipping the input value because IEEE floating point behaves reasonably with this function even for infinities.
def m1Hg(WKvO): return 1.0 / (1.0 + kLQb(-WKvO))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m1Hg(WKvO):\n return wM_j.exp(wM_j.minimum(0, WKvO)) / (1 + wM_j.exp(-abs(WKvO)))", "def rjwA(WKvO):\n WKvO = 0.2 * WKvO + 0.5\n WKvO = vuvg.threshold(-WKvO, -1, -1)\n WKvO = vuvg.threshold(-WKvO, 0, 0)\n return WKvO", "def m1Hg(WKvO):\n return 1 / (1 + epAf.exp(-WKvO))", "def m1Hg(WKvO...
[ "0.8370069", "0.8355075", "0.829688", "0.8282958", "0.82597953", "0.82597953", "0.82561266", "0.82561266", "0.8239978", "0.82292914", "0.82246786", "0.82193404", "0.8207283", "0.8198303", "0.8198303", "0.8198303", "0.8198303", "0.8198303", "0.8198303", "0.81929946", "0.818654...
0.8143195
27
Normalize a 2D matrix on an axis.
def gofi(r8hN, jDK_=0): if r8hN.ndim != 2: raise ValueError('This function only accepts 2D arrays. An array of shape %r was passed.' % (r8hN.shape,)) if jDK_ == 0: vIZr = oyIN.sum(r8hN ** 2, axis=0) OdqO = oyIN.sum(vIZr == 0) if OdqO > 0: raise ValueError('The matrix ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gofi(r8hN, jDK_=0, jth9=True):\n if jDK_ == 0:\n U5bT = r8hN / oyIN.sqrt(oyIN.sum(r8hN ** 2, axis=jDK_))\n elif jDK_ == 1:\n U5bT = gofi(r8hN.T).T\n else:\n raise Exception('Only for 2D array.')\n if jth9:\n U5bT = U5bT.copy()\n return U5bT", "def NkkI(EcVT, jDK_=-1...
[ "0.76275796", "0.7502926", "0.7461525", "0.7425477", "0.73569936", "0.7334126", "0.7313735", "0.7280307", "0.72589785", "0.7193776", "0.7133624", "0.7021105", "0.6998982", "0.6986054", "0.6973652", "0.6973652", "0.6973652", "0.69469905", "0.6935014", "0.6906828", "0.68913996"...
0.69304264
19
Map a stride scalar to the stride array for tf.nn.conv2d.
def f0xt(YKHO, _0fC): return [1, _0fC, _0fC, 1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yIp6(Cptt, tYiq, _0fC):\n with ZylS.variable_scope('conv'):\n DYuh = Cptt.get_shape()[3]\n filter = ZylS.get_variable('filter', [4, 4, DYuh, tYiq], dtype=ZylS.float32, initializer=ZylS.random_normal_initializer(0, 0.02))\n _n8z = ZylS.pad(Cptt, [[0, 0], [1, 1], [1, 1], [0, 0]], mode='CO...
[ "0.6669932", "0.66349345", "0.6607411", "0.6571154", "0.6553278", "0.654467", "0.6510186", "0.64881164", "0.6472755", "0.6472755", "0.64726895", "0.64297444", "0.64297444", "0.64297444", "0.64297444", "0.6417996", "0.64001656", "0.63844544", "0.6372369", "0.63409317", "0.6329...
0.6225642
28
removing stopwords, filter partofspeech tokenization ...
def biH0(nPrm, INAj=None): nPrm = [BfDw.remove_non_word(A97Q) for A97Q in nPrm] bo34.info(f'number of doc: {len(nPrm)}') INAj, hD4P = BfDw.extract_bigrams(nPrm) nPrm = [BfDw.extract_pos(A97Q) for A97Q in nPrm] nPrm = [A97Q for A97Q in nPrm if 40 < len(A97Q) < 60000] nPrm = [BfDw.remove_stopw(A97...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OTws(przZ):\n b0j5 = M9Fq('\\\\w+')\n s2mk = b0j5.tokenize(przZ.lower())\n hwHU = set(Dhdw.corpus.stopwords.words('english'))\n i6lF = [yzQ0 for yzQ0 in s2mk if not yzQ0 in hwHU]\n return i6lF", "def biH0(l5Ny, di0c):\n Aofo = []\n for eOtH in eGBw.utils.simple_preprocess(l5Ny):\n ...
[ "0.785345", "0.7656602", "0.74820346", "0.73533416", "0.73523617", "0.7281334", "0.7241045", "0.72319806", "0.71927816", "0.7153666", "0.71455336", "0.71394646", "0.71357536", "0.7107299", "0.7102582", "0.7075237", "0.7063181", "0.7056864", "0.70515096", "0.70271724", "0.6992...
0.0
-1
Custom softmax activation function for a 4D input tensor softmax along axis = 1
def JtYu(WKvO): qC1Y = nMvt.ndim(WKvO) if qC1Y == 2: return nMvt.softmax(WKvO) elif qC1Y == 3: tTpl = nMvt.exp(WKvO - nMvt.max(WKvO, axis=-1, keepdims=True)) KCHu = nMvt.sum(tTpl, axis=-1, keepdims=True) return tTpl / KCHu elif qC1Y == 4: tTpl = nMvt.exp(WKvO - nM...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=1, keepdims=True)", "def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=1, keepdims=True)", "def N93T(WKvO):\n N61t = oyIN.sum(oyIN.exp(WKvO), axis=1)\n N61t = oyIN.expand_dims(N61t, axis=1)\n hcL3 = oyI...
[ "0.76402146", "0.76000196", "0.7510035", "0.7496785", "0.74426943", "0.7440827", "0.743802", "0.7426251", "0.7417935", "0.73776555", "0.73776555", "0.73776555", "0.73776555", "0.73776555", "0.73776555", "0.73776555", "0.73776555", "0.73602927", "0.7345461", "0.7345461", "0.73...
0.8013518
0
get patch bboxes from a given image array
def RujX(KDwe, wYpV, U1hP=32): assert len(KDwe) == 4, 'ERROR: expect data_tensor of shape ( n_samples, n_chs, height, width )' cDK5, aI3m, H2v2, TVTK = KDwe CYLT, qZBF = wYpV assert CYLT <= H2v2 and qZBF <= TVTK, 'ERROR: patch_shape %dx%d cannot be smaller than data_tensor %dx%d' % (CYLT, qZBF, H2v2, TV...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oNcH(YKHO, QMAG: str, G49N=None):\n pass", "def p5Lc(ZHfW):\n oUSw = oyIN.zeros([ZHfW.shape[-1], 4], dtype=oyIN.int32)\n for YRbF in range(ZHfW.shape[-1]):\n r8hN = ZHfW[:, :, YRbF]\n GO_b = oyIN.where(oyIN.any(r8hN, axis=0))[0]\n mFka = oyIN.where(oyIN.any(r8hN, axis=1))[0]\n ...
[ "0.7204959", "0.69834524", "0.69745976", "0.69524914", "0.69439936", "0.69140863", "0.689814", "0.6834131", "0.6736121", "0.6664592", "0.66399735", "0.6636704", "0.6624367", "0.6614081", "0.66058177", "0.65899616", "0.65716994", "0.65647924", "0.6523324", "0.65062416", "0.648...
0.7017752
1
Searches for the specified value. If found, splays the tree around it; removes it from the tree; finds its immediate predecessor; splays the left subtree around that node; and attaches it to the right subtree. If not found, splays the tree around its nearest parent. Returns the new root. O(n), amortized O(log n).
def PTpj(YKHO, BWXx): exwG = YKHO._find(BWXx) exwG._splay() if exwG.value == BWXx: LFlW, _tIi = exwG._uproot() if LFlW is not None: while LFlW.right is not None: LFlW = LFlW.right LFlW._splay() LFlW.right = _tIi if _tIi is not N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JPHp(YKHO, BWXx):\n GcwV = YKHO._find(BWXx)\n exwG = G7Og(BWXx)\n if BWXx == GcwV.value:\n if GcwV.right is None:\n GcwV.right = exwG\n exwG.parent = GcwV\n else:\n GcwV = GcwV.right\n while GcwV.left is not None:\n GcwV = GcwV.l...
[ "0.6817659", "0.6769545", "0.66346824", "0.6361414", "0.628917", "0.62290007", "0.6198229", "0.6198173", "0.6175362", "0.6160517", "0.61358464", "0.61346346", "0.612251", "0.611574", "0.61141276", "0.61083907", "0.61044216", "0.61000216", "0.60911447", "0.60911447", "0.608670...
0.723982
0
Finds the given value in the tree rooted at this tree, or its wouldbe parent if not found. Runs in time linear in the height of the tree. Does not splay the tree. Will raise an error if value is not comparable with the values already in the tree. O(n), amortized O(log n)
def Go4X(YKHO, BWXx): if YKHO.value > BWXx and YKHO.left is not None: return YKHO.left._find(BWXx) if YKHO.value < BWXx and YKHO.right is not None: return YKHO.right._find(BWXx) else: return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def neBz(YKHO, BWXx):\n Q6kx = YKHO.root\n while Q6kx != None:\n if Q6kx.value == BWXx:\n return Q6kx\n elif Q6kx.value > BWXx:\n Q6kx = Q6kx.left\n else:\n Q6kx = Q6kx.right\n return None", "def kq8F(J_Es: NodeTree, BWXx: int) -> h8nf[lzIp]:\n Q6...
[ "0.82243544", "0.7652269", "0.7579753", "0.74488044", "0.7448785", "0.73705924", "0.73668927", "0.72841203", "0.726053", "0.7164976", "0.6989404", "0.6967735", "0.6964326", "0.68822426", "0.68568945", "0.68404543", "0.682421", "0.68180585", "0.67871547", "0.6757572", "0.67536...
0.80027765
1
Get current distribution type Returns distribution_type String representing the distribution type
def jwY8(YKHO): return 'IMMEDIATE'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mC6c(YKHO):\n return YKHO._distribution_type", "def zAg0(YKHO):\n return YKHO.get_distribution_type()", "def wHJl(YKHO):\n return YKHO.get_distribution_type()", "def type(YKHO) -> str:\n return qe4Y.get(YKHO, 'type')", "def type(YKHO) -> str:\n return qe4Y.get(YKHO, 'type')", "def type...
[ "0.84874785", "0.80631673", "0.7444268", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", "0.7297925", ...
0.0
-1
Get a string representing distribution parameters Returns distribution_parameters String representing distribution parameters
def eVXf(YKHO): return 'UNDEFINED'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b0hb(YKHO):\n if YKHO._parameters == list():\n return ''\n HeCJ = '\\n\\nParameters:\\n'\n KLk8 = 0\n for xqoZ in YKHO._parameters:\n KLk8 = max(KLk8, len(xqoZ[0]))\n for FpFC, xqoZ in enumerate(YKHO._parameters):\n if FpFC > 0:\n HeCJ += '\\n'\n HeCJ += ' ...
[ "0.67125064", "0.66456765", "0.6424675", "0.62587875", "0.6246702", "0.62417793", "0.62359667", "0.611773", "0.6092618", "0.6056895", "0.5976674", "0.59536266", "0.5914604", "0.5889528", "0.58837306", "0.5868926", "0.5853692", "0.58063745", "0.57805395", "0.5779473", "0.57502...
0.70338506
0
Returns a representation of the current object Returns repr Representation of the current object
def zAg0(YKHO): return YKHO.get_distribution_type()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO) -> str:\n return YKHO.current_obj.__repr__()", "def wHJl(YKHO):\n return repr(YKHO.__dict__['_obj'])", "def wHJl(YKHO):\n return YKHO.pretty_print(YKHO.__dict__)", "def wHJl(YKHO):\n return str(YKHO.__dict__)", "def wHJl(YKHO):\n return str(YKHO.__dict__)", "def wHJl(YKHO):\...
[ "0.89315206", "0.8539687", "0.82368946", "0.81998396", "0.81998396", "0.81998396", "0.81998396", "0.81998396", "0.8184986", "0.8122341", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", ...
0.0
-1
Returns a representation of the current object Returns repr Representation of the current object
def wHJl(YKHO): return YKHO.get_distribution_type()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO) -> str:\n return YKHO.current_obj.__repr__()", "def wHJl(YKHO):\n return repr(YKHO.__dict__['_obj'])", "def wHJl(YKHO):\n return YKHO.pretty_print(YKHO.__dict__)", "def wHJl(YKHO):\n return str(YKHO.__dict__)", "def wHJl(YKHO):\n return str(YKHO.__dict__)", "def wHJl(YKHO):\...
[ "0.89315206", "0.8539687", "0.82368946", "0.81998396", "0.81998396", "0.81998396", "0.81998396", "0.81998396", "0.8184986", "0.8122341", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", "0.81160915", ...
0.0
-1
Calculate icy air disequilibrium at WEP. Calculate both sides of the equations given pressure = pressure of humid air chemical potential of ice = potential of water vapour given entropy = entropy of icy air and their Jacobians with respect to humid air dry fraction, temperature, and humid air density. Solving these equ...
def hR53(jzdc, a1PO, GzWn, UFXr, rE3e, By5j): KZ_l = L5NJ(0, 0, 0, jzdc, a1PO, GzWn) jr6f = Bb5Z(0, 0, a1PO, By5j) GfDA = OwH1(0, 0, 0, jzdc, a1PO, GzWn) lWrn = -W_Nt(0, 1, 0, jzdc, a1PO, GzWn) QJlQ = -Bb5Z(1, 0, a1PO, By5j) oAsy = UFXr / jzdc * lWrn + (1 - UFXr / jzdc) * QJlQ yLHq = XTiz.ar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v0Ek(g2lj):\n Kb07 = 6.112 * XTiz.exp(17.62 * g2lj.TD / (243.12 + g2lj.TD))\n _sH3 = Kb07 / (0.01 * g2lj.PN)\n Mkmy = 0.62198 * _sH3 / (1 - _sH3)\n QDm0 = ooSo.DataArray(Mkmy / (1 + Mkmy))\n ogdh = g2lj.TT - 273.15\n xKIX = 6.112 * XTiz.exp(17.62 * ogdh / (243.12 + ogdh))\n uL0C = 100 * (K...
[ "0.6756445", "0.6382236", "0.61960775", "0.6015578", "0.60144866", "0.58799005", "0.57266587", "0.5725647", "0.5714066", "0.5695833", "0.5682356", "0.5672836", "0.5660929", "0.5655873", "0.562139", "0.553381", "0.5517505", "0.5509389", "0.5490151", "0.54787296", "0.54762435",...
0.55504197
15
Calculate icy air isobaric heat capacity. Calculate the isobaric (constant pressure) heat capacity of icy air.
def U7YL(UFXr, By5j, rE3e=None, ycBG=None, oA2g=None, boYs=None, eg4f=False, fxN5=N780, X6Yw=None, PIZw=None, ogJl=None, oOVv=False, zSsp=None): oA2g, ycBG, boYs = wppa(UFXr, By5j, entr=rE3e, temp=ycBG, airf=oA2g, dhum=boYs, chkvals=eg4f, chktol=fxN5, airf0=X6Yw, temp0=PIZw, dhum0=ogJl, chkbnd=oOVv, mathargs=zSsp) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sOWe(YKHO) -> float:\n return 1002.5 + 275 * 10 ** (-6) * (YKHO.ambient_temperature - 200) ** 2", "def Zvqb(CmRr: float) -> float:\n return 0.1 * CmRr", "def zj0g(YKHO, zHLX, YRbF):\n YKHO.capacity[YRbF] = YKHO.phi * YKHO.flow[YRbF] / (YKHO.b[YRbF] - YKHO.beta * YKHO.flow[YRbF] ** YKHO.theta + oyI...
[ "0.74354917", "0.6093917", "0.60163254", "0.5968011", "0.5858678", "0.5805248", "0.57257545", "0.57138664", "0.5652657", "0.561162", "0.560186", "0.5582618", "0.5573704", "0.5565911", "0.55537146", "0.5543075", "0.54535306", "0.5443404", "0.5435353", "0.54346067", "0.5370866"...
0.0
-1
Calculate icy air adiabatic lapse rate. Calculate the adiabatic lapse rate of icy air. This is the proper 'moist' lapse rate when the air is icesaturated.
def fxiy(UFXr, By5j, rE3e=None, ycBG=None, oA2g=None, boYs=None, eg4f=False, fxN5=N780, X6Yw=None, PIZw=None, ogJl=None, oOVv=False, zSsp=None): Yc8a = _MMS(0, 1, 1, UFXr, By5j, entr=rE3e, airf=oA2g, temp=ycBG, dhum=boYs, chkvals=eg4f, chktol=fxN5, airf0=X6Yw, temp0=PIZw, dhum0=ogJl, chkbnd=oOVv, mathargs=zSsp) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vcXm(YKHO):\n WKvO = YKHO.mitochondria.get_atp()\n LVAh = YKHO.mitochondria.get_adp()\n jzdc = YKHO.atp\n Fg_i = YKHO.adp\n YKHO.adp_to_atp(YKHO.mitochondria.atp_translocase(epAf.ceil((WKvO * Fg_i - jzdc * LVAh) / (jzdc + Fg_i + WKvO + LVAh))))\n if jzdc < 1:\n return\n else:\n ...
[ "0.6763252", "0.62059927", "0.599079", "0.59579235", "0.58234966", "0.5819531", "0.5758348", "0.5744183", "0.57330054", "0.5633001", "0.5581914", "0.5580046", "0.5565659", "0.5541309", "0.55374515", "0.5518707", "0.5518669", "0.5511755", "0.54996", "0.5481445", "0.5481055", ...
0.5213209
43
Calculate icy air potential density. Calculate the potential density of icy air.
def gDF1(UFXr, ycBG, By5j, MnFC, oA2g=None, boYs=None, ylTQ=None, OKjJ=None, PmsO=None, eg4f=False, fxN5=N780, X6Yw=None, ogJl=None, WzCv=None, UBTL=None, bC1c=None, oOVv=False, zSsp=None): oA2g, boYs, ylTQ, OKjJ, PmsO = NLDQ(UFXr, ycBG, By5j, MnFC, airf=oA2g, dhum=boYs, apot=ylTQ, tpot=OKjJ, dhpot=PmsO, chkvals=eg...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FmIP(YKHO):\n return YKHO.flow_field.air_density", "def CZ_D(YKHO) -> float:\n return YKHO.pressure / (odTN * YKHO.ambient_temperature)", "def FmIP(n_Ej):\n XP5J = CJ2p(n_Ej)\n a1PO = ovGo(n_Ej)\n oZuG = XP5J / (K6Rf * a1PO)\n return oZuG", "def FOyS(YKHO, n_Ej):\n n_Ej /= 1000\n ...
[ "0.7267969", "0.70504266", "0.6820884", "0.6551421", "0.6116385", "0.6099453", "0.5934575", "0.56780654", "0.56720906", "0.56647027", "0.5627741", "0.55535847", "0.5552964", "0.5546231", "0.55280733", "0.54853123", "0.54844415", "0.5462842", "0.54517245", "0.54357964", "0.543...
0.5719371
7
Takes in a single NMAP XML host as a string. Outputs a string containing the node's mac address.
def DA9o(KcEq): for MKlR in KcEq: HXjy = MKlR.find('address').nextSibling UTX6 = repr(HXjy) if 'addrtype="mac"' in UTX6: XldB = UTX6.split('\n')[0].split('"')[1] return XldB
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QfE5(YKHO, Lnes):\n fHmP = '%02x' % YKHO.node_class\n dsoW = '%02x' % YKHO.nr_host_interface\n Lnes = '%08x' % Lnes\n return '%s:%s:%s:%s:%s:%s' % (fHmP, dsoW, Lnes[0:2], Lnes[2:4], Lnes[4:6], Lnes[6:8])", "def KBOU(YKHO, Aofo, KcEq):\n if 'mac' in Aofo['scan'][KcEq]['addresses']:\n ret...
[ "0.719298", "0.692805", "0.6891194", "0.6869869", "0.6679848", "0.66184926", "0.65393233", "0.64772004", "0.64573574", "0.6422913", "0.6405595", "0.64011943", "0.63762456", "0.63762456", "0.6303248", "0.62090266", "0.62090266", "0.62090266", "0.62090266", "0.6183343", "0.6182...
0.67476445
4
Takes in one Beautiful Soup object. Returns a string for an OSMatch value.
def R5QM(KcEq): for MKlR in KcEq: fKJe = MKlR.osclass if fKJe is not None: fKJe = str(fKJe) SfZe = fKJe.split('"')[1].split('"')[0] return SfZe else: return 'No OS class available.'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LJbo(KcEq):\n for MKlR in KcEq:\n UAj2 = MKlR.osmatch\n if UAj2 is not None:\n UAj2 = str(UAj2)\n return UAj2.split('\"')[1].split('\"')[0]\n else:\n return 'No OS version available.'", "def IPaH(kUBT, Dl0U):\n yvT9 = '?'\n if isinstance(kUBT, QG...
[ "0.665678", "0.5779828", "0.54926515", "0.53518134", "0.51314497", "0.51309866", "0.512766", "0.51216316", "0.5099324", "0.5061958", "0.5041121", "0.49278864", "0.4874123", "0.4835154", "0.48303917", "0.48235947", "0.48179394", "0.4809607", "0.48092568", "0.48092568", "0.4786...
0.48689753
13
Takes in one Beautiful Soup object. Returns a string for an OSMatch value.
def LJbo(KcEq): for MKlR in KcEq: UAj2 = MKlR.osmatch if UAj2 is not None: UAj2 = str(UAj2) return UAj2.split('"')[1].split('"')[0] else: return 'No OS version available.'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IPaH(kUBT, Dl0U):\n yvT9 = '?'\n if isinstance(kUBT, QGpr._Element):\n HsZS = r4NK(kUBT.tag, Dl0U)\n yvT9 = '<{0}>'.format(HsZS)\n elif isinstance(kUBT, QGpr._ElementStringResult):\n if kUBT.is_attribute:\n HsZS = r4NK(kUBT.attrname, Dl0U)\n yvT9 = '@{0}'.for...
[ "0.5779828", "0.54926515", "0.53518134", "0.51314497", "0.51309866", "0.512766", "0.51216316", "0.5099324", "0.5061958", "0.5041121", "0.49278864", "0.4874123", "0.48689753", "0.4835154", "0.48303917", "0.48235947", "0.48179394", "0.4809607", "0.48092568", "0.48092568", "0.47...
0.665678
0
Generate and return the publish path for the filename.
def WBPv(YKHO, Ux0P): if not YKHO.isRecognized(Ux0P): return None else: Ux0P = GSRe(laNn(YKHO.currentDataset, './/_:fileTemplate/text()', YKHO.currentDatasetNs)).substitute(YKHO.groupDict, hostname=YKHO.hostname, SCIFLO_ROOT=YKHO.scifloRoot) ORKh = laNn(YKHO.currentDataset, './/_:publish...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bOn4(YKHO, JYbx: str) -> str:\n return Hy7s.path.join(YKHO.publish_dir, Hy7s.path.basename(JYbx))", "def s1K1(KAOR, Ux0P):\n return '/'.join([str(KAOR.app.publisher.id), str(KAOR.app.id), Ux0P])", "def CaA9(YKHO, aPr_):\n return Hy7s.path.join(YKHO.output_folder, aPr_.format(YKHO.sample_name))", ...
[ "0.78686666", "0.6806541", "0.678487", "0.6558062", "0.65087223", "0.6498821", "0.64854246", "0.6419274", "0.6388602", "0.6381254", "0.63399154", "0.63327724", "0.62323785", "0.62271446", "0.62265354", "0.6225824", "0.6220859", "0.62181777", "0.6217056", "0.6212632", "0.62084...
0.80469763
0
Add edited `figure` tag in LaTeX file.
def QLbu(YKHO, ZGh_: str, wBvD: str) -> None: TZ9E = '\n \\begin{figure}[H]\n \\centering\n \\caption{' + wBvD + '}\n \\label{fig:' + ZGh_ + '}\n \\includegraphics[width=400px]{../plots/' + ZGh_ + '}\n \\end{figure}\n ' YKHO.figures[len(YKHO.figur...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QLbu(YKHO, bf9h, AVKj):\n YKHO.pytex.add_created(AVKj.file_name)\n YKHO._figure_registry[bf9h] = {'number': YKHO.fig_count, 'Figure': AVKj}\n YKHO.fig_count += 1", "def cmaP(YKHO, Q6kx):\n aXHR = {'class': 'figure'}\n if Q6kx.get('width'):\n aXHR['style'] = 'width: %s' % Q6kx['width']\n...
[ "0.71015304", "0.6809182", "0.6522407", "0.65177983", "0.6421814", "0.6398077", "0.61088103", "0.61007166", "0.60397273", "0.5953343", "0.58881736", "0.58272", "0.5762457", "0.57205206", "0.5690719", "0.5685603", "0.5677344", "0.5615165", "0.5596252", "0.558126", "0.55643487"...
0.7570416
0
Sets the token_type of this TokenEKey.
def sOU6(YKHO, sOU6: str): if sOU6 is None: raise ValueError('Invalid value for `token_type`, must not be `None`') YKHO._token_type = sOU6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sOU6(YKHO, sOU6):\n if YKHO.local_vars_configuration.client_side_validation and sOU6 is None:\n raise ValueError('Invalid value for `token_type`, must not be `None`')\n YKHO._token_type = sOU6", "def cFVy(YKHO, cFVy):\n YKHO._auth_token_validator_type = cFVy", "def sOU6(YKHO) -> str:\n r...
[ "0.7669944", "0.6953014", "0.6566452", "0.6566452", "0.63088703", "0.62989676", "0.62989676", "0.6281246", "0.6185639", "0.61686635", "0.6056397", "0.60024965", "0.59098184", "0.59027773", "0.59027773", "0.5885816", "0.5885816", "0.587023", "0.5866116", "0.58334637", "0.58327...
0.80253315
0
Gets the ekey of this TokenEKey.
def czp2(YKHO) -> W0o0: return YKHO._ekey
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mexE(YKHO):\n return YKHO.key", "def mexE(YKHO):\n return YKHO.key", "def H5ew(YKHO) -> pe5E:\n return YKHO._key", "def mexE(YKHO):\n return YKHO._key", "def Dn9U(YKHO):\n return YKHO.key", "def Dn9U(YKHO):\n return YKHO.key", "def Dn9U(YKHO):\n return YKHO.key", "def H5ew(YK...
[ "0.73664737", "0.73664737", "0.7362837", "0.72950524", "0.72490734", "0.72300774", "0.71911544", "0.71878904", "0.71878904", "0.71878904", "0.71878904", "0.7166014", "0.7147974", "0.7099349", "0.69946456", "0.69746834", "0.69493663", "0.6928506", "0.69208694", "0.68937224", "...
0.92793757
0
Returns default config for a single agent.
def Auw0(Tpgu: DefaultSupportedAgent, TXdh: Dict[str, Any]) -> Yjrd.AgentConfig: if Tpgu == DKaG.TD3: return xAqL.TD3Config(**TXdh) elif Tpgu == DKaG.SAC: return E3Qs.SACConfig(**TXdh) elif Tpgu == DKaG.PPO: return yckz.PPOConfig(**TXdh) else: raise ValueError(f'Unsupport...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDgW():\n from raylab.agents.sac import DEFAULT_CONFIG\n return DEFAULT_CONFIG", "def QIre(YKHO):\n return YKHO.antenny_config.load_default_config()", "def QpSQ(YKHO) -> b2ji:\n WV0Z = Xf33.from_configuration_type(fiTU.AGENT)\n with open(gZfW, 'r') as ytgA:\n lMVO = WV0Z.load(ytgA)\n ...
[ "0.74353015", "0.7216816", "0.7167045", "0.70767266", "0.7052453", "0.70471483", "0.6862385", "0.66981345", "0.6638491", "0.6519376", "0.644763", "0.6426028", "0.6421328", "0.6383621", "0.63776994", "0.634264", "0.634264", "0.6320514", "0.6320371", "0.63129973", "0.6310201", ...
0.73207176
1
EventualResult.stash() stores the object in the global ResultStore.
def vfrd(YKHO): HGCR = Uc7x(QYhp(), None) PObu = HGCR.stash() YKHO.assertIdentical(HGCR, Qit2.retrieve(PObu))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VUF1(YKHO, oCfW, Aofo):\n pass", "def okaO(YKHO, _TKD, Aofo, jGRS, wVCK=None, QePW=None):\n m5r4, INsr, Aofo = YKHO.encode_content(Aofo)\n bGrB, bGrB, e5kH = YKHO.encode_content({'children': YKHO.current_task_children(QePW), 'task_name': QePW.task})\n YKHO.TaskModel._default_manager.store_result(...
[ "0.58440447", "0.550813", "0.54409665", "0.5401808", "0.53143907", "0.52938", "0.5246258", "0.52180356", "0.520061", "0.52001745", "0.5166497", "0.5155301", "0.5155301", "0.51422745", "0.51207215", "0.5084851", "0.5084851", "0.5039193", "0.50363743", "0.50363743", "0.5024216"...
0.68448466
0
Boolean determining if a string str_input is a number, either a float or integer.
def IOzI(LGXO): if LGXO == '': return True if LGXO[0] not in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-', '.']: return False IbH3 = 0 for Npgh in LGXO[1:]: if Npgh == '.': IbH3 += 1 if IbH3 == 2: return False if Npgh not in ['0',...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ye72(str):\n try:\n float(str)\n return True\n except ValueError:\n return False", "def ye72(vIwR):\n try:\n float(vIwR)\n return True\n except ValueError:\n return False", "def QirG(Dhyu):\n return Myyj(Dhyu) or QpCZ(Dhyu)", "def ye72(vIwR):\n ...
[ "0.86268866", "0.8501345", "0.8496705", "0.84817076", "0.8404099", "0.8361767", "0.835624", "0.8337683", "0.8337683", "0.8337683", "0.8332271", "0.828113", "0.82664853", "0.8262334", "0.8261644", "0.81122655", "0.81122655", "0.80780333", "0.8005314", "0.79822546", "0.7967955"...
0.0
-1
Convert a COBOL or IDMS entity name to TitleCase.
def yCzD(mWFP: str, vOFK: bool=True) -> str: nI5u = mWFP.strip() if nI5u == '' or nI5u == '-': return nI5u Ylbp = '' MAdq = ZbWC.split(BAML, nI5u) if len(MAdq) > 1: for GIN8 in MAdq: Ylbp += GIN8.title() else: Ylbp = ZbWC.sub(BAML, '', nI5u).title() if vOF...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iegN(mWFP: str) -> str:\n return MRrt.sentencecase(MRrt.snakecase(mWFP)).lower()", "def tziC(mWFP: str) -> str:\n return MRrt.sentencecase(mWFP).lower()", "def YQ2w(KCHu):\n _hvG = ['the']", "def O3vd(mWFP):\n j93S = ZbWC.sub('(.)([A-Z][a-z]+)', '\\\\1_\\\\2', mWFP)\n return ZbWC.sub('([a-...
[ "0.70286536", "0.6862787", "0.6612666", "0.6580866", "0.65680367", "0.6444318", "0.6374823", "0.6329182", "0.6328612", "0.63208026", "0.6319576", "0.6286995", "0.62687755", "0.6258247", "0.62512946", "0.62457883", "0.6208132", "0.6198684", "0.6160146", "0.6153628", "0.6150577...
0.6677642
2
Convert a camelCase COBOL or IDMS entity name to the MySQL equivalent.
def hbsF(mWFP: str) -> str: JgKj = mWFP FoID = 'Ix' if JgKj.startswith(FoID): JgKj = JgKj.replace(FoID, '', 1) return PBJY.name_to_snake_case(JgKj) + '_view' return PBJY.name_to_snake_case(JgKj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K4rk(mWFP):\n return mWFP.replace('-', '_')", "def Ad29(GClg):\n V22M = GClg.lower().split('_')\n\n def Fd1k(GIN8):\n if GIN8.lower() == 'id':\n return GIN8.upper()\n else:\n return GIN8.capitalize()\n return V22M[0] + ''.join(map(Fd1k, V22M[1:]))", "def G2AI...
[ "0.61794657", "0.5870314", "0.5593582", "0.5586042", "0.5541682", "0.54808486", "0.54230803", "0.54230803", "0.54192376", "0.5406589", "0.5387062", "0.53805107", "0.53789353", "0.5357428", "0.53140527", "0.5306763", "0.5282525", "0.52736235", "0.52710086", "0.5259988", "0.524...
0.6715727
0
Remove "." line delineators.
def yx9V(OZKa: str) -> str: Ej8c = list() for vC9B in OZKa.splitlines(): zFiD = vC9B.rstrip().rstrip('.') Ej8c.append(zFiD) return '\n'.join(Ej8c)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jzG6(zFiD):\n if '@highlight' in zFiD:\n return zFiD\n if zFiD == '':\n return zFiD\n if zFiD[-1] in UDCC:\n return zFiD\n return zFiD + ' .'", "def jzG6(zFiD):\n if '@highlight' in zFiD:\n return zFiD\n if zFiD == '':\n return zFiD\n if zFiD[-1] in UDC...
[ "0.70102614", "0.69690907", "0.6858294", "0.63586795", "0.6284325", "0.62747204", "0.6173184", "0.61547244", "0.60653025", "0.6042226", "0.599786", "0.59475976", "0.59253037", "0.5905653", "0.5905653", "0.58861345", "0.58588314", "0.5854004", "0.58518565", "0.5831624", "0.582...
0.7284178
0
Returns a matplotlib figure containing the plotted confusion matrix.
def LwSz(Bcwd, tGDF): JI1i = QrM1.figure(figsize=(10, 10)) QrM1.imshow(Bcwd, interpolation='nearest', cmap=QrM1.cm.Blues) QrM1.title('Confusion matrix') QrM1.colorbar() wIWT = oyIN.arange(len(tGDF)) QrM1.xticks(wIWT, tGDF, rotation=45) QrM1.yticks(wIWT, tGDF) for YRbF, r845 in Hs6x.produ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LwSz(Bcwd, tGDF):\n JI1i = QrM1.figure(figsize=(8, 8))\n QrM1.imshow(Bcwd, interpolation='nearest', cmap=QrM1.cm.Blues)\n QrM1.title('Confusion matrix')\n QrM1.colorbar()\n wIWT = oyIN.arange(len(tGDF))\n QrM1.xticks(wIWT, tGDF, rotation=45)\n QrM1.yticks(wIWT, tGDF)\n Bcwd = oyIN.aroun...
[ "0.77491516", "0.7717752", "0.7664576", "0.76329076", "0.75771934", "0.75757915", "0.7523076", "0.75182974", "0.75016636", "0.74832636", "0.746719", "0.7453887", "0.7453294", "0.74216324", "0.74176985", "0.7395515", "0.7386801", "0.73838943", "0.7383021", "0.73677856", "0.736...
0.78412247
0
Basic 2frame conv model with stochastic tower.
def ZHNk(): QjBU = N8KZ.next_frame_basic_deterministic() QjBU.stochastic_model = True QjBU.add_hparam('latent_channels', 1) QjBU.add_hparam('latent_std_min', -5.0) QjBU.add_hparam('num_iterations_1st_stage', 15000) QjBU.add_hparam('num_iterations_2nd_stage', 15000) QjBU.add_hparam('latent_lo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dv6W():\n QjBU = xEBh.basic_params1()\n QjBU.add_hparam('d_model', 1024)\n QjBU.batch_size = 4\n QjBU.max_length = 1024\n QjBU.label_smoothing = 0.0\n QjBU.add_hparam('z_loss', 0.0001)\n QjBU.add_hparam('d_ff', 2048)\n QjBU.add_hparam('d_kv', 128)\n QjBU.add_hparam('attention_dropout...
[ "0.60819006", "0.5985282", "0.5972753", "0.59066945", "0.5890531", "0.58844554", "0.58621913", "0.57617784", "0.57308376", "0.57284033", "0.57281274", "0.5688421", "0.5675963", "0.564743", "0.5627439", "0.5621415", "0.55984205", "0.5592108", "0.5587884", "0.55827945", "0.5570...
0.59088784
3
Basic 2frame conv model with stochastic tower.
def Bsq5(): QjBU = N8KZ.next_frame_sampling() QjBU.stochastic_model = True QjBU.add_hparam('latent_channels', 1) QjBU.add_hparam('latent_std_min', -5.0) QjBU.add_hparam('num_iterations_1st_stage', 15000) QjBU.add_hparam('num_iterations_2nd_stage', 15000) QjBU.add_hparam('latent_loss_multipli...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dv6W():\n QjBU = xEBh.basic_params1()\n QjBU.add_hparam('d_model', 1024)\n QjBU.batch_size = 4\n QjBU.max_length = 1024\n QjBU.label_smoothing = 0.0\n QjBU.add_hparam('z_loss', 0.0001)\n QjBU.add_hparam('d_ff', 2048)\n QjBU.add_hparam('d_kv', 128)\n QjBU.add_hparam('attention_dropout...
[ "0.60819006", "0.5985282", "0.5972753", "0.59088784", "0.59066945", "0.5890531", "0.58844554", "0.58621913", "0.57617784", "0.57308376", "0.57284033", "0.57281274", "0.5688421", "0.5675963", "0.564743", "0.5627439", "0.5621415", "0.55984205", "0.5592108", "0.5587884", "0.5582...
0.0
-1
Basic 2frame conv model with stochastic discrete latent.
def uy9S(): QjBU = N8KZ.next_frame_sampling() QjBU.batch_size = 4 QjBU.video_num_target_frames = 6 QjBU.scheduled_sampling_mode = 'prob_inverse_lin' QjBU.scheduled_sampling_decay_steps = 40000 QjBU.scheduled_sampling_max_prob = 1.0 QjBU.dropout = 0.15 QjBU.filter_double_steps = 3 QjB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HMT_():\n QjBU = uy9S()\n QjBU.batch_size = 2\n QjBU.video_num_target_frames = 16\n return QjBU", "def ZHNk():\n QjBU = N8KZ.next_frame_basic_deterministic()\n QjBU.stochastic_model = True\n QjBU.add_hparam('latent_channels', 1)\n QjBU.add_hparam('latent_std_min', -5.0)\n QjBU.add_...
[ "0.65258604", "0.6234996", "0.60417783", "0.60259753", "0.60017264", "0.5918711", "0.5895798", "0.58825254", "0.5828666", "0.5819997", "0.58071244", "0.5805638", "0.57283384", "0.5706641", "0.570511", "0.5691769", "0.5680646", "0.56733453", "0.56467324", "0.5626544", "0.56150...
0.6748455
0
Releases the connection gracefully, reading all the content to the void.
async def release(YKHO) -> None: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DDI8(YKHO):\n YKHO.connection = None", "def DDI8(YKHO):\n YKHO.connection = None", "def Tl0b(YKHO):\n YKHO.stream.release()", "async def close_connection(YKHO):\n ...", "def ngVb(YKHO):\n YKHO.connection.close()", "def ngVb(YKHO):\n YKHO.connection.close()", "def DDI8(YKHO):\n ...
[ "0.73584926", "0.7323938", "0.7175219", "0.69321966", "0.69293207", "0.69293207", "0.69292086", "0.6904511", "0.69028425", "0.6892687", "0.68782365", "0.68696314", "0.6853989", "0.6835939", "0.6817997", "0.68085575", "0.67864615", "0.67794216", "0.677574", "0.67607325", "0.67...
0.66642946
34
Returns name specified in ContentDisposition header or None if missed or header is malformed.
def mWFP(YKHO) -> h8nf[str]: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bAZd(MOPg: Dict[str, str]) -> h8nf[str]:\n e9dW = MOPg.get('content-disposition', None)\n if e9dW:\n for yOAJ in e9dW.split(';'):\n gIsw = ZbWC.findall('filename=(.+)', yOAJ)\n if len(gIsw) > 0:\n return gIsw[0].strip()\n return None", "def p4Y0(KCHu):\n ...
[ "0.79825735", "0.7609921", "0.70833033", "0.70711124", "0.69753903", "0.68907946", "0.68156177", "0.67940754", "0.6565282", "0.6483395", "0.6356778", "0.6271695", "0.6093324", "0.6020027", "0.5954486", "0.5778702", "0.5773342", "0.57534546", "0.5728942", "0.5728942", "0.57289...
0.0
-1
Wrap boundary parameter value in quotes, if necessary. Reads self.boundary and returns a unicode sting.
def VvTc(YKHO) -> str: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d_km(YKHO) -> str:\n return '{}{}'.format(YKHO.value, ']' if YKHO.is_closed else ')')", "def zXil(YKHO):\n return YKHO._boundary", "def tcxd(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'regional_data_boundary')", "def tcxd(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'regional_dat...
[ "0.58573264", "0.5826272", "0.5813801", "0.5649454", "0.5453138", "0.53623796", "0.53404427", "0.5215131", "0.5104184", "0.5012146", "0.4991715", "0.4989953", "0.49837098", "0.49760097", "0.49714896", "0.4965049", "0.49544954", "0.49246007", "0.49156168", "0.48849088", "0.483...
0.7296312
0
Size of the payload.
def zNig(YKHO) -> h8nf[int]: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jiw9(YKHO):\n return len(YKHO.get_payload()) + 4", "def WWkV(YKHO):\n return YKHO._payload_length", "def WWkV(YKHO):\n return YKHO.total_length - YKHO.headers_length - j0iL - 4", "def Erm1(YKHO):\n return kWKo.ax25_udp_pdu_gen_sptr_payload_size(YKHO)", "def zNig(YKHO):\n return BlNT.calc...
[ "0.89249444", "0.8686395", "0.8238032", "0.82065785", "0.8151969", "0.81307334", "0.8091609", "0.8048538", "0.80406797", "0.7983456", "0.79015565", "0.79015565", "0.79015565", "0.79015565", "0.79015565", "0.7896302", "0.7873572", "0.7828828", "0.7817869", "0.78171325", "0.781...
0.0
-1
>>> list(take(5, xrange(3))) [0, 1, 2] >>> list(take(5, xrange(10))) [0, 1, 2, 3, 4]
def _iMd(mLGw, OxJJ): for YRbF, tTpl in enumerate(OxJJ): if YRbF >= mLGw: break yield tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _iMd(mLGw, OxJJ):\n return list(uOgj(OxJJ, mLGw))", "def _iMd(exwG, OxJJ):\n return list(uOgj(OxJJ, exwG))", "def _iMd(exwG, OxJJ):\n return list(uOgj(OxJJ, exwG))", "def _iMd(OxJJ, exwG):\n return list(Hs6x.islice(OxJJ, exwG))", "def _iMd(exwG, OxJJ):\n return list(Hs6x.islice(OxJJ, exw...
[ "0.80156595", "0.7818729", "0.7818729", "0.7749526", "0.7742026", "0.7742026", "0.72649163", "0.72211236", "0.7151945", "0.7109316", "0.69306463", "0.67910904", "0.66181654", "0.6386813", "0.62289554", "0.6173985", "0.61213857", "0.6097041", "0.60713893", "0.60713893", "0.603...
0.63826436
14
Positions image so that the middlepart of the image will be shown. Image will be cropped if neccessary
def ZcEJ(YKHO): aExT = YKHO._image.get_rect() if aExT.width > 720: YKHO.x = int((720 - aExT.width) / 2) if aExT.height > 720: YKHO.y = int((720 - aExT.height) / 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qm02(LNo8):\n LNo8.anchor_x = LNo8.width / 2\n LNo8.anchor_y = LNo8.height / 2", "def qm02(LNo8):\n LNo8.anchor_x = LNo8.width / 2\n LNo8.anchor_y = LNo8.height / 2", "def qm02(LNo8):\n LNo8.anchor_x = LNo8.width / 2\n LNo8.anchor_y = LNo8.height / 2", "def qRCk(LNo8):\n LNo8.anchor_...
[ "0.7276136", "0.7276136", "0.7189136", "0.67870843", "0.6773721", "0.6538899", "0.64968526", "0.64279526", "0.62736356", "0.6266219", "0.62435776", "0.62110037", "0.62105465", "0.6207385", "0.6139054", "0.61174464", "0.6078023", "0.60639554", "0.60586065", "0.6050629", "0.598...
0.6999423
3
determines this (self's) thread id
def SO8K(YKHO): if not YKHO.is_alive(): raise T6FA.ThreadError('the thread is not active') if hasattr(YKHO, '_thread_id'): return YKHO._thread_id for Huo2, U0ST in T6FA._active.items(): if U0ST is YKHO: YKHO._thread_id = Huo2 return Huo2 raise AssertionErr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tl1c(YKHO):\n return YKHO._thread_id", "def unpH(YKHO):\n if hasattr(YKHO, '_thread_id'):\n return YKHO._thread_id\n for id, MgeT in T6FA._active.items():\n if MgeT is YKHO:\n return id", "def unpH(YKHO):\n if hasattr(YKHO, '_thread_id'):\n return YKHO._thread_id...
[ "0.87604755", "0.855684", "0.855684", "0.84960526", "0.8430593", "0.806207", "0.79912037", "0.76469076", "0.7611317", "0.7069843", "0.70444417", "0.6986155", "0.6953767", "0.68797904", "0.68797904", "0.68797904", "0.68797904", "0.6876224", "0.6822325", "0.6800639", "0.6782105...
0.7944841
7
Create an initial unbalanced list of chunks.
def wzRq(YKHO, Sf5y): class Chunk(object): def FIMM(YKHO, ckRy, d6pt): """List of PathData objects that together form a single chunk of tests""" YKHO.paths = MUE7(ckRy) YKHO.time = sum((ZfUD.time for ZfUD in ckRy)) YKHO.index = d6pt ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VgfD(vC9B, exwG):\n return [vC9B[YRbF:YRbF + exwG] for YRbF in range(0, len(vC9B), exwG)]", "def Pxp_():\n DumB = list(range(0, 100))\n zNig = 3\n eHxA = RM0w(DumB, zNig)\n jvSB = next(eHxA)\n assert len(jvSB) == zNig\n assert jvSB == [0, 1, 2]\n jvSB = next(eHxA)\n assert jvSB == ...
[ "0.7447718", "0.7261814", "0.7082748", "0.7065405", "0.6992263", "0.6966495", "0.6953952", "0.6928679", "0.6919171", "0.69144195", "0.69018567", "0.68451905", "0.6831411", "0.68096125", "0.68022394", "0.6767131", "0.6765942", "0.67554605", "0.6748839", "0.6746829", "0.6744284...
0.0
-1
Construct a layernorm module in the TF style (epsilon inside the square root).
def FIMM(YKHO, wjbX, SGf8=1e-12): super(B9e_, YKHO).__init__() YKHO.weight = U78l.Parameter(ht2j.ones(wjbX)) YKHO.bias = U78l.Parameter(ht2j.zeros(wjbX)) YKHO.variance_epsilon = SGf8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D__v(uMfm, lGE9, ZylS, SGf8, IBR4, KMvS, nMvt):\n eHNT = lambda LVAh, a1PO: KMvS * LVAh * (1 - LVAh / nMvt)\n fuBA = _o7n(uMfm, lGE9, ZylS, SGf8, eHNT, IBR4)\n return fuBA", "def V0YA(uMfm, lGE9, ZylS, SGf8, IBR4, KMvS):\n eHNT = lambda LVAh, a1PO: KMvS * LVAh\n fuBA = _o7n(uMfm, lGE9, ZylS, S...
[ "0.62775403", "0.6016289", "0.57939583", "0.57408345", "0.55384517", "0.5519017", "0.5423246", "0.5412519", "0.53890854", "0.53680634", "0.5351635", "0.5287217", "0.5256671", "0.5233436", "0.5229289", "0.5225385", "0.5220274", "0.52193713", "0.51940197", "0.51940197", "0.5193...
0.0
-1
Initializes a new instance of UIViewer.
def FIMM(YKHO, **B2fa): super().__init__(**B2fa) YKHO.name = 'Pero' YKHO._view = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.view = v_Ps(YKHO)\n return", "def DmqA(YKHO):\n raise NotImplementedError", "def DmqA(YKHO):\n raise NotImplementedError", "def FIMM(YKHO, Fo4j: geoviewer.GeoGraphViewer) -> None:\n super().__init__()\n YKHO.viewer = Fo4j\n YKHO.logger = G9jH.getLogger(type(YKHO)._...
[ "0.709434", "0.6864556", "0.6864556", "0.68442494", "0.6805175", "0.67867404", "0.6786543", "0.6780052", "0.67337924", "0.6676671", "0.6642723", "0.6642723", "0.6637846", "0.6613744", "0.65641016", "0.65060073", "0.6503612", "0.64948964", "0.64841104", "0.6475031", "0.6448487...
0.0
-1
Determine whether a point is within a bounding box
def bWy3(QnmL, Swre, VrYd, f1MF, ZarI, lVg_): if QnmL is None or Swre is None: return False QnmL = float(QnmL) Swre = float(Swre) if (QnmL >= VrYd and QnmL <= f1MF) and (Swre >= ZarI and Swre <= lVg_): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CAJm(WKvO, LVAh, cviu):\n if WKvO < 200 and LVAh < 200:\n return True\n return False", "def IQ5w(AU8u, cviu):\n return cviu[0] < AU8u[0] < cviu[2] and cviu[1] < AU8u[1] < cviu[3]", "def yYHn(WKvO, LVAh, FlUN):\n tTpl = Ae8H(FlUN)\n return WKvO >= tTpl[0] and WKvO <= tTpl[2] and (LVAh ...
[ "0.8777382", "0.84752095", "0.8006039", "0.7970451", "0.79576534", "0.7925058", "0.7915042", "0.78511554", "0.77799624", "0.7778337", "0.7719331", "0.7696998", "0.7655951", "0.7579815", "0.7529728", "0.7528136", "0.7474669", "0.7474669", "0.743603", "0.7411609", "0.73976195",...
0.0
-1