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
Asserts that all the templates from the submitted proposals list were used and all contexts were passed.
def Af77(YKHO, geh0): YKHO.assertIn('base_layout', geh0.context) YKHO.assertGSoCTemplatesUsed(geh0) YKHO.assertEqual(geh0.context['base_layout'], 'modules/gsoc/base.html') YKHO.assertTemplateUsed(geh0, 'modules/gsoc/admin/list.html') YKHO.assertTemplateUsed(geh0, 'modules/gsoc/admin/_proposals_list....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TEYN(YKHO):\n hlel = YKHO.t(('list',))[1]\n YKHO.assertIn('work task', hlel)\n YKHO.assertIn('home task', hlel)\n YKHO.assertIn('work today task', hlel)\n YKHO.assertIn('home today task', hlel)\n YKHO.t(('context', 'home'))\n hlel = YKHO.t(('list',))[1]\n YKHO.assertNotIn('work task', h...
[ "0.634069", "0.6156606", "0.6036634", "0.59501463", "0.58748966", "0.5861147", "0.58529246", "0.58358586", "0.5787121", "0.5768011", "0.57671654", "0.57652843", "0.57574266", "0.57236546", "0.5719808", "0.5691743", "0.5680413", "0.56727433", "0.5667195", "0.56543654", "0.5597...
0.67086536
0
tests that calling is_solved() on a solved puzzle returns True
def djRx(YKHO): oUMO = YKHO.ps3._is_solved() YKHO.assertTrue(oUMO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fwfe(YKHO):\n oUMO = YKHO.ps4._is_solved()\n YKHO.assertTrue(oUMO)", "def Yprr(YKHO):\n pass", "def WSRp(YKHO):\n YKHO.assertFalse(YKHO.p.is_solved())\n Ty9i = YKHO.s.get(0, 0)\n YKHO.s.clear(0, 0)\n YKHO.assertFalse(YKHO.s.is_solved())\n YKHO.s.set(0, 0, Ty9i)\n YKHO.assertTrue(...
[ "0.8104841", "0.80400676", "0.7947502", "0.78833693", "0.78833693", "0.78734756", "0.78572863", "0.7738559", "0.7645787", "0.7455962", "0.7379743", "0.7293436", "0.71928656", "0.7169597", "0.7156899", "0.7156609", "0.7127052", "0.7120226", "0.7067623", "0.7060326", "0.7056544...
0.7728691
8
tests that calling is_solved() on a solved puzzle returns True
def fwfe(YKHO): oUMO = YKHO.ps4._is_solved() YKHO.assertTrue(oUMO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yprr(YKHO):\n pass", "def WSRp(YKHO):\n YKHO.assertFalse(YKHO.p.is_solved())\n Ty9i = YKHO.s.get(0, 0)\n YKHO.s.clear(0, 0)\n YKHO.assertFalse(YKHO.s.is_solved())\n YKHO.s.set(0, 0, Ty9i)\n YKHO.assertTrue(YKHO.s.is_solved())\n return", "def dCQg(eZzF):\n return eZzF.all()", "d...
[ "0.80400676", "0.7947502", "0.78833693", "0.78833693", "0.78734756", "0.78572863", "0.7738559", "0.7728691", "0.7645787", "0.7455962", "0.7379743", "0.7293436", "0.71928656", "0.7169597", "0.7156899", "0.7156609", "0.7127052", "0.7120226", "0.7067623", "0.7060326", "0.7056544...
0.8104841
0
tests that calling is_solved() on a solved puzzle returns True
def qSrj(YKHO): oUMO = YKHO.ps5._is_solved() YKHO.assertTrue(oUMO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fwfe(YKHO):\n oUMO = YKHO.ps4._is_solved()\n YKHO.assertTrue(oUMO)", "def Yprr(YKHO):\n pass", "def WSRp(YKHO):\n YKHO.assertFalse(YKHO.p.is_solved())\n Ty9i = YKHO.s.get(0, 0)\n YKHO.s.clear(0, 0)\n YKHO.assertFalse(YKHO.s.is_solved())\n YKHO.s.set(0, 0, Ty9i)\n YKHO.assertTrue(...
[ "0.8104841", "0.80400676", "0.7947502", "0.78833693", "0.78833693", "0.78734756", "0.7738559", "0.7728691", "0.7645787", "0.7455962", "0.7379743", "0.7293436", "0.71928656", "0.7169597", "0.7156899", "0.7156609", "0.7127052", "0.7120226", "0.7067623", "0.7060326", "0.70565444...
0.78572863
6
tests that calling is_solved() on a solved puzzle returns True
def aW8y(YKHO): oUMO = YKHO.psEmpty._is_solved() YKHO.assertFalse(oUMO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fwfe(YKHO):\n oUMO = YKHO.ps4._is_solved()\n YKHO.assertTrue(oUMO)", "def Yprr(YKHO):\n pass", "def WSRp(YKHO):\n YKHO.assertFalse(YKHO.p.is_solved())\n Ty9i = YKHO.s.get(0, 0)\n YKHO.s.clear(0, 0)\n YKHO.assertFalse(YKHO.s.is_solved())\n YKHO.s.set(0, 0, Ty9i)\n YKHO.assertTrue(...
[ "0.8104841", "0.80400676", "0.7947502", "0.78833693", "0.78833693", "0.78734756", "0.78572863", "0.7738559", "0.7728691", "0.7645787", "0.7379743", "0.7293436", "0.71928656", "0.7169597", "0.7156899", "0.7156609", "0.7127052", "0.7120226", "0.7067623", "0.7060326", "0.7056544...
0.7455962
10
Obtains sentiment for a single text
def pZ5p(YKHO, l5Ny: str, r6VR: str='en') -> tuple: geh0 = YKHO.client.detect_sentiment(Text=l5Ny, LanguageCode=r6VR) El7S = geh0['Sentiment'] LJyK = geh0['SentimentScore'][El7S.title()] return (El7S, LJyK)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q1_y(l5Ny):\n b65H = Gpii()\n b65H.lexicon.update(VQTW)\n RyuO = b65H.polarity_scores(l5Ny)\n return RyuO['compound']", "def qTlV(l5Ny):\n Aofo = K9NE(l5Ny)\n _dZy = ''\n if Aofo[0]['label'] == '1 star':\n _dZy = 'very negative'\n elif Aofo[0]['label'] == '2 star':\n _dZ...
[ "0.84716874", "0.8432145", "0.824763", "0.8240763", "0.8240763", "0.8240763", "0.8234028", "0.82153124", "0.81702906", "0.81412023", "0.8126097", "0.81160855", "0.8093333", "0.80597484", "0.80017793", "0.79967594", "0.79651374", "0.7944874", "0.79287827", "0.7884604", "0.7874...
0.0
-1
Get a threadlocal mutable configuration. If the configuration does not exist, copy the default global configuration.
def RvhN(): if not hasattr(N2CZ, 'global_config'): N2CZ.global_config = fLwH.copy() return N2CZ.global_config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tgzD(YKHO, GPtr):\n Z9rn = jth9.copy(YKHO.default)\n Z9rn.update(GPtr)\n return Z9rn", "def tgzD():\n if len(doKp.config_stack) == 0:\n return fLwH\n else:\n return doKp.config_stack[-1]", "def LgIG():\n try:\n return Xlri\n except UnboundLocalError as e:\n ...
[ "0.6444478", "0.6432774", "0.6392319", "0.63750273", "0.6287417", "0.6248948", "0.6213951", "0.6209628", "0.6150653", "0.6099643", "0.6087712", "0.60683686", "0.60597956", "0.6046485", "0.6020529", "0.60061884", "0.59863377", "0.59734195", "0.59560543", "0.5931889", "0.592967...
0.82603514
0
See super class method satosa.backends.base.BackendModuleregister_endpoints
def ebLW(YKHO): iVbT = [] EOtK = YKHO.sp.config.getattr('endpoints', 'sp') for Sbdt, nA5M in EOtK['assertion_consumer_service']: I42Y = KVWQ(Sbdt) iVbT.append(('^%s?(.*)$' % I42Y.path[1:], (YKHO.authn_response, nA5M))) iVbT.append(('^%s$' % I42Y.path[1:], (YKHO.authn_response, nA5M))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KwXu(YKHO):\n YKHO.ezDiscovery.register_endpoint('foo', 'bar', 'localhost', 8000)\n YKHO.ezDiscovery.register_endpoint('foo', 'bar', 'localhost', 8888)\n YKHO.ezDiscovery.unregister_endpoint('foo', 'bar', 'localhost', 8000)\n wnQ_ = YKHO.ezDiscovery.get_endpoints('foo', 'bar')\n YKHO.assertEqual...
[ "0.72769934", "0.70525724", "0.6821538", "0.6616027", "0.6557804", "0.6486701", "0.6440367", "0.64119095", "0.639728", "0.6384584", "0.6339092", "0.62278026", "0.62102884", "0.6097803", "0.6064451", "0.6041082", "0.60391635", "0.59961545", "0.5967566", "0.5964806", "0.5956476...
0.62150043
12
Sort the array and return the kth largest element in the array Naive solution
def _Tyu(YKHO, mSrU, G1Hx): mSrU.sort(reverse=True) return mSrU[:G1Hx]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Otpg(jzdc, G1Hx):\n H42b = oyIN.argpartition(jzdc, -G1Hx)[-G1Hx:]\n return sorted(zip(jzdc[H42b], H42b))[::-1]", "def nwFd(YKHO, xYvp, G1Hx):\n return sorted(xYvp)[len(xYvp) - G1Hx]", "def OVih(Uqbu: list, G1Hx: int) -> int:\n if len(Uqbu) < 1:\n raise Exception('List cannot be empty')\n...
[ "0.79945844", "0.7870013", "0.7495184", "0.7411907", "0.74106777", "0.73664373", "0.7225633", "0.7174072", "0.7129463", "0.7051512", "0.7020059", "0.7019411", "0.700988", "0.6951379", "0.69451", "0.68827385", "0.6816586", "0.6798069", "0.6757654", "0.67294985", "0.67236906", ...
0.7650393
2
Create a base class with a metaclass.
def rSS7(e5kH, *gitN): class metaclass(e5kH): def fwuD(Emd4, mWFP, ZTce, Csk6): print('metaclass __new__: ', locals()) KjNF = e5kH(mWFP, gitN, Csk6) print('new class: ', KjNF) return KjNF print('with_metaclass locals: ', e5kH) return type.__new__(y4v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rSS7(e5kH, P8oC=object):\n return e5kH('NewBase', (P8oC,), {})", "def rSS7(e5kH, P8oC=object):\n return e5kH('NewBase', (P8oC,), {})", "def rSS7(e5kH, P8oC=object):\n return e5kH('NewBase', (P8oC,), {})", "def rSS7(e5kH, P8oC=object):\n return e5kH('NewBase', (P8oC,), {})", "def rSS7(e5kH, ...
[ "0.82980454", "0.82980454", "0.82980454", "0.82980454", "0.82980454", "0.82980454", "0.82321227", "0.82321227", "0.82321227", "0.82321227", "0.8203042", "0.80391204", "0.80391204", "0.80391204", "0.8017039", "0.8017039", "0.78227603", "0.77492", "0.7551718", "0.7547112", "0.7...
0.72642124
31
Generate a random string to be used as identifier for saved genes.
def BWvy(u54L, gZgG='0123456789abcdefghijklmnopqrstuvwxyz'): return ''.join((Acvy(gZgG) for bGrB in range(u54L)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nj6L():\n Aofo = Gmzq.rand_uuid()\n return Aofo", "def eTqN():\n return str(qxeD.uuid4())[:10]", "def tuKI():\n return str(qxeD.uuid4())", "def Kn3U() -> str:\n gLiZ = list('0123456789')\n KCHu = ''\n for WKvO in range(16):\n KCHu += tuKI.choice(gLiZ)\n return KCHu", "def...
[ "0.8521233", "0.8211884", "0.81736094", "0.8158911", "0.81357265", "0.8000929", "0.7897286", "0.786662", "0.78622633", "0.78506577", "0.7807554", "0.7796903", "0.7785476", "0.7781912", "0.7756388", "0.7704662", "0.7693994", "0.76895344", "0.7640034", "0.7638732", "0.7631265",...
0.0
-1
Returns the feature label, or None if it doesn't exist.
def uc5K(RDhP, WmM4=None): try: return RDhP.qualifiers['label'][0] except: return WmM4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UXqs(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'label')", "def UXqs(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'label')", "def UXqs(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'label')", "def UXqs(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'label')", "def UXqs(YKHO) -> h8nf[str]:\n r...
[ "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "0.7201151", "...
0.8355726
0
This example custom artifact generates and saves a scatter plot to ``artifacts_dir`` that visualizes the relationship between the predictions and targets for the given model to a file as an image artifact.
def YaHW(gSCy, ev_V, sMtG): QrM1.scatter(gSCy['prediction'], gSCy['target']) QrM1.xlabel('Targets') QrM1.ylabel('Predictions') QrM1.title('Targets vs. Predictions') YUcY = Hy7s.path.join(sMtG, 'example_scatter_plot.png') QrM1.savefig(YUcY) return {'example_scatter_plot_artifact': YUcY}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zSkD(G_if):\n for dIeA in G_if:\n H5on = AsWn.get_registry().get_visualization(dIeA.type_name)\n if H5on:\n H5on.display(dIeA)", "def Sna6(C3ST, xvDN, D8Lu, a1PO=0):\n o3Uj = C3ST(xvDN)\n MFo1 = [oyIN.squeeze(xvDN[:, :, :, 0]), oyIN.squeeze(D8Lu[:, :, :, 0]), oyIN.squeeze(o3...
[ "0.6122244", "0.6051737", "0.60305667", "0.5835344", "0.5718495", "0.57109076", "0.5702011", "0.5680304", "0.5649884", "0.5638911", "0.561125", "0.5572034", "0.5564629", "0.5546894", "0.55384153", "0.5522822", "0.5509903", "0.55092514", "0.54863065", "0.5486115", "0.5483724",...
0.6597864
0
Sets the uid of this JobPartExtendedDto.
def PObu(YKHO, PObu): YKHO._uid = PObu
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PObu(YKHO, PObu):\n if PObu is None:\n raise ValueError('Invalid value for `uid`, must not be `None`')\n YKHO._uid = PObu", "def PObu(YKHO, PObu):\n if PObu is None:\n raise ValueError('Invalid value for `uid`, must not be `None`')\n YKHO._uid = PObu", "def PObu(YKHO, PObu):\n ...
[ "0.6581612", "0.6581612", "0.6532059", "0.6532059", "0.64241004", "0.6380036", "0.6380036", "0.62119895", "0.60635203", "0.5959918", "0.5952221", "0.5585457", "0.5563446", "0.5558589", "0.55445063", "0.54810345", "0.5470415", "0.5434794", "0.5274624", "0.5274624", "0.51444846...
0.6489857
4
Sets the date_due of this JobPartExtendedDto.
def uKC7(YKHO, uKC7): YKHO._date_due = uKC7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YzvF(YKHO, YzvF):\n YKHO._due_date = YzvF", "def YzvF(YKHO, YzvF):\n YKHO._due_date = YzvF", "def YzvF(YKHO, YzvF):\n YKHO._due_date = YzvF", "def YzvF(YKHO, YzvF):\n YKHO._due_date = YzvF", "def RpPh(YKHO, iJAg):\n YKHO.__due_date = iJAg", "def YzvF(YKHO, YzvF):\n if YzvF and (not ...
[ "0.751753", "0.751753", "0.751753", "0.751753", "0.74855894", "0.74158794", "0.73434556", "0.67688876", "0.66858196", "0.646263", "0.6322742", "0.6322742", "0.6286362", "0.6270937", "0.6270937", "0.6242709", "0.6239566", "0.6180272", "0.6044483", "0.5977109", "0.59554976", ...
0.797083
1
Sets the work_unit of this JobPartExtendedDto.
def KOqy(YKHO, KOqy): YKHO._work_unit = KOqy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nyUT(YKHO, nyUT: Sector):\n YKHO._work_sector = nyUT", "def Q5yx(YKHO, Q5yx):\n if Q5yx is None:\n raise ValueError('Invalid value for `work`, must not be `None`')\n YKHO._work = Q5yx", "def Q5yx(YKHO, Q5yx):\n if Q5yx is None:\n raise ValueError('Invalid value for `work`, must no...
[ "0.62051713", "0.59330624", "0.59330624", "0.5583174", "0.5468971", "0.53712404", "0.5356202", "0.5328891", "0.53180456", "0.5312086", "0.5296697", "0.52286214", "0.52286214", "0.51922065", "0.51922065", "0.51922065", "0.5185206", "0.50900394", "0.5045798", "0.5037314", "0.49...
0.74466574
0
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Equivalent to django.forms.models.model_to_dict Return a dict containing the data in ``instance`` ``fields`` is an optional list of field names. If provided, return only the named. ``exclude`` is an optional list of field names. If provided, exclude the named from the returned dict, even if they are listed in the ``fie...
def FZ5p(KAOR, V_D6=None, DNHh=None): if KAOR is None: return {} VKhi = KAOR._meta nPrm = {} for eHNT in VKhi.get_fields(): if V_D6 and eHNT.name not in V_D6: continue if DNHh and eHNT.name in DNHh: continue if isinstance(eHNT, vAcT): i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FZ5p(KAOR, V_D6=None, DNHh=None):\n return {Jyyj.name: ZRZj(Jyyj, KAOR) for Jyyj in KAOR._meta.concrete_fields if not oXCP(Jyyj, V_D6, DNHh)}", "def FZ5p(KAOR, V_D6=None, DNHh=None, hZ49=False):\n VKhi = KAOR._meta\n nPrm = {}\n for eHNT in eNCK(VKhi.concrete_fields, VKhi.private_fields, VKhi.man...
[ "0.82595265", "0.79577726", "0.726384", "0.6919331", "0.68939435", "0.68551", "0.67764926", "0.6661318", "0.6552189", "0.6491412", "0.64774585", "0.64318067", "0.6411009", "0.6392201", "0.6289586", "0.6263596", "0.6253575", "0.61763144", "0.61560935", "0.6107694", "0.6045109"...
0.7893387
2
This function takes a matrix k and makes sure that all of its values are bounded between the input limits
def COoJ(G1Hx, c5uu): HkMT = oyIN.where(G1Hx < c5uu[0]) G1Hx[HkMT] = c5uu[0] lmNR = oyIN.where(G1Hx > c5uu[1]) G1Hx[lmNR] = c5uu[1] return G1Hx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _Ddg(G1Hx):\n BmtJ = 150 * XTiz.log(2)\n try:\n G1Hx = XTiz.float64(G1Hx)\n except ValueError:\n raise NIWX('%s: not a valid cardinality')\n if G1Hx.ndim:\n if G1Hx.ndim > 1:\n raise NIWX('k must be a scalar or 1D array')\n psIP = XTiz.sum((XTiz.log(WKvO) for ...
[ "0.64611816", "0.6158496", "0.6096183", "0.5947174", "0.5909922", "0.5858131", "0.57923084", "0.57669014", "0.57662666", "0.5759077", "0.5693433", "0.56904393", "0.5675873", "0.56706727", "0.5613872", "0.5601715", "0.5597449", "0.5592453", "0.5589547", "0.5587101", "0.5582379...
0.5980421
3
This function computes the real iFFT along columns
def EjkD(EcVT): return oyIN.fft.irfft(EcVT, axis=0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Maw7(jzdc):\n if len(jzdc.shape) == 1:\n return XTiz.fft.fftshift(XTiz.fft.ifft(XTiz.fft.ifftshift(jzdc)))\n elif len(jzdc.shape) == 2:\n return XTiz.fft.fftshift(XTiz.fft.ifft2(XTiz.fft.ifftshift(jzdc)))\n assert False, 'Unsupported grid shape for iFFT!'", "def gbhA(WKvO):\n WKvO =...
[ "0.67147094", "0.63299173", "0.6309947", "0.6297541", "0.6295694", "0.6215914", "0.61955094", "0.617422", "0.6171062", "0.6168564", "0.6154245", "0.6143845", "0.6126015", "0.61218065", "0.6116307", "0.61063397", "0.6096647", "0.60825443", "0.6076698", "0.6069476", "0.6068797"...
0.6665482
1
This function computes the real FFT along columns
def My0s(WKvO, jhpg=None, Vb5F=None): REV8, exwG = WKvO.shape EcVT = oyIN.fft.rfft(WKvO, axis=0) if Vb5F is not None: vuvg = oyIN.fft.rfftfreq(REV8, 1.0 / Vb5F) Kt_s = oyIN.linspace(0, exwG - 1, exwG) * jhpg / Vb5F return (EcVT, vuvg, Kt_s) else: return EcVT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gqWX(YKHO):\n r8vH = YKHO.df_rawcurves.shape[1]\n YKHO.df_fft = rLdf.DataFrame()\n for YRbF in range(r8vH):\n iDtE = YKHO.df_rawcurves[YRbF].tolist()\n HSWR = oyIN.fft.fft(iDtE) / (len(iDtE) / 2)\n YKHO.df_fft[YRbF] = HSWR", "def MRlR(nPrm):\n nPrm = hVLt(nPrm)\n nPrm = oy...
[ "0.7108289", "0.68519276", "0.67973924", "0.67059916", "0.6698699", "0.6666935", "0.6604377", "0.65865785", "0.6583561", "0.6573627", "0.6567126", "0.6555273", "0.6535449", "0.650959", "0.64936835", "0.6435857", "0.64335144", "0.64148754", "0.63348085", "0.6297614", "0.624757...
0.0
-1
Site ID of the Alarm instance.
def COo8(YKHO): return YKHO._site_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def COo8(YKHO):\n return YKHO.properties.get('SiteId', None)", "def COo8(YKHO) -> str:\n return qe4Y.get(YKHO, 'site_id')", "def COo8(YKHO) -> int:\n return YKHO._site_id", "def COo8(YKHO) -> int:\n if YKHO.app_id is None:\n raise ValueError('Cannot fetch by app ID; is None')\n wgjp = n...
[ "0.797339", "0.7966795", "0.7910785", "0.78122956", "0.7477518", "0.7477518", "0.7477518", "0.728819", "0.7245031", "0.7245031", "0.71818995", "0.71818995", "0.70914817", "0.70051163", "0.70051163", "0.70051163", "0.67949367", "0.67949367", "0.6684237", "0.6650986", "0.656868...
0.8030079
0
Site UUID of the Alarm instance.
def KjRc(YKHO): return YKHO._site_uuid
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ShR8(YKHO):\n return f'{YKHO.device.alarm_panel.id}-{YKHO.device.id}'", "def ShR8(YKHO):\n return f'{YKHO.device.alarm_panel.id}-{YKHO.device.id}'", "def COo8(YKHO) -> str:\n return qe4Y.get(YKHO, 'site_id')", "def VyW9(YKHO):\n return YKHO.instance.id", "def aeDF(YKHO):\n return YKHO._u...
[ "0.67035246", "0.67035246", "0.6653952", "0.66429067", "0.6583007", "0.64715046", "0.6468092", "0.64275014", "0.6419112", "0.64188105", "0.6414813", "0.64102536", "0.64102536", "0.64102536", "0.64102536", "0.64102536", "0.64102536", "0.64102536", "0.64102536", "0.63980085", "...
0.7791107
0
Remove extreme values, filter based on site (if site is not None) Purpose of function is just to have a common place where all this is hardcoded. if df is a list, return the list of filtered dfs
def ozwD(jQ3Z, TybK, wqhz, qpDA=None): ghw2 = 'similarity' fJhL = 'pc1_proj_on_dec' EcVT = TybK[ghw2] fuBA = abs(wqhz[fJhL]) PLPk = (EcVT > F8Q5) & (EcVT < lRLB) & (fuBA < pQfm) & (TybK['dprime'] > 0) & (TybK['dprime'] < 15) if 'sound_sound' in TybK['category'].values: PLPk = PLPk & (Tyb...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def filter(jQ3Z, n6rX):\n jQ3Z = jQ3Z[jQ3Z['Radial (asec)'] <= oyIN.percentile(jQ3Z['Radial (asec)'].values, 99)]\n P7a9 = YFfX(jQ3Z, n6rX)\n jQ3Z.drop(P7a9)\n jQ3Z = jQ3Z[jQ3Z['AR'] > 0]\n return jQ3Z", "def LoVQ(jQ3Z):\n for fvDH in jQ3Z.columns.drop('zip'):\n _kx1, BuV4 = jQ3Z[fvDH].q...
[ "0.60555345", "0.58744246", "0.58041215", "0.5716708", "0.5709165", "0.57087386", "0.56180704", "0.55930793", "0.5584999", "0.55830806", "0.55828005", "0.5567113", "0.55429155", "0.5502755", "0.5492234", "0.54676217", "0.5465158", "0.5430779", "0.5428682", "0.5406075", "0.539...
0.63839406
0
Return df masked for quad 1, 2, 3, or 4
def DJ9T(jQ3Z, TybK, wqhz, MW8s): ghw2 = 'similarity' fJhL = 'pc1_proj_on_dec' EcVT = TybK[ghw2] fuBA = abs(wqhz[fJhL]) oz6M = oyIN.median([0, pQfm]) Kz1H = oyIN.median([F8Q5, lRLB]) JKM7 = (EcVT > Kz1H) & (fuBA > oz6M) GB3a = (EcVT < Kz1H) & (fuBA > oz6M) tsbB = (EcVT < Kz1H) & (fuB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z2a2(TybK, wqhz, MW8s):\n ghw2 = 'similarity'\n fJhL = 'pc1_proj_on_dec'\n EcVT = TybK[ghw2]\n fuBA = abs(wqhz[fJhL])\n oz6M = oyIN.median([0, pQfm])\n Kz1H = oyIN.median([F8Q5, lRLB])\n JKM7 = (EcVT > Kz1H) & (fuBA > oz6M)\n GB3a = (EcVT < Kz1H) & (fuBA > oz6M)\n tsbB = (EcVT < Kz1H...
[ "0.641943", "0.5899478", "0.5762549", "0.5669382", "0.564964", "0.53475016", "0.53229964", "0.53146166", "0.5295723", "0.52175075", "0.5165827", "0.516446", "0.5161468", "0.5157923", "0.51543444", "0.5093594", "0.5057272", "0.5041564", "0.50399625", "0.50238985", "0.5014511",...
0.66222286
0
Recursively extract all text from element.
def gFHi(YKHO, U6D_): NRcB = '' if U6D_.text is not None: NRcB += U6D_.text for aUGN in U6D_: if aUGN.tag == YKHO.ns('text:tab'): NRcB += '\t' if aUGN.tail is not None: NRcB += aUGN.tail elif aUGN.tag == YKHO.ns('text:s'): NRcB += '...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GfQH(U6D_):\n AtuR = []\n if U6D_.getchildren() == []:\n AtuR += WyRY(U6D_, level=0)\n else:\n for LihS in U6D_.getchildren():\n AtuR += WyRY(LihS, level=0)\n if LihS.tag in w73V:\n AtuR.append('\\n\\n')\n return AtuR", "def tH6R(U6D_: etree._Ele...
[ "0.7991825", "0.7944601", "0.78101015", "0.7807977", "0.77792895", "0.7648845", "0.7461526", "0.74299264", "0.7341354", "0.7281941", "0.72158736", "0.7213142", "0.70197374", "0.68729794", "0.6856733", "0.6844618", "0.6787152", "0.67520505", "0.67255634", "0.6720722", "0.66937...
0.6923532
13
Calculate the lexical probability of a phrase given phrase in the second language .
def dmuV(mjRA, uHG6, jnAm, l1DD): nHCz = {} P2dO = {} for oiBd, QTg7 in mjRA.iteritems(): cZn8 = oiBd[0].split() rrIw = oiBd[1].split() AxGE = l1DD[oiBd] Aofo = 1 for UrE_ in cZn8: uU0q = 0 OnWS = 0 for MP_r in rrIw: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V6IE(GIN8, ywwl=sum(hRXf.values())):\n return 1.0 * hRXf[GIN8] / ywwl", "def JxU2(GIN8):\n return 1.0", "def pupp(YKHO):\n XP5J = 1\n for o61b in YKHO.word:\n XP5J *= o61b.p\n return round(XP5J, 12)", "def G03P(YKHO):\n XP5J = 1\n for o61b in YKHO.word:\n XP5J *= o61b.p...
[ "0.7119095", "0.711372", "0.70381665", "0.7011478", "0.6956595", "0.69232655", "0.69031245", "0.6873676", "0.6870396", "0.685777", "0.6798641", "0.67942023", "0.67828417", "0.67814183", "0.67369455", "0.6736939", "0.67145556", "0.6660979", "0.66575915", "0.66439545", "0.66435...
0.7072438
2
Returns the portfolio of the user.
def F0NY(): with open('user.txt', 'r') as bpNo: nUeQ = qQXR.load(bpNo) return nUeQ['portfolio']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def get_portfolio(CBIr: UserResponse=JHvC(lzK3)) -> x1iM[JtPz]:\n geh0 = IqIt(user_data=t4wm(**CBIr))\n return geh0", "def F0NY(CBIr):\n NCls = iHv3.connect(YkUy)\n Z9rn = NCls.cursor()\n nPrm = Z9rn.execute(\"SELECT * FROM portfolio WHERE username = '{}'\".format(CBIr))\n for mAB6 in nPr...
[ "0.80930734", "0.8007497", "0.7488446", "0.7247016", "0.70268834", "0.6889083", "0.6838637", "0.6766859", "0.67613906", "0.6759939", "0.64572424", "0.63502824", "0.6348804", "0.62758595", "0.62419355", "0.62312293", "0.62167215", "0.6199873", "0.6178029", "0.60735476", "0.607...
0.7195677
4
The Name of the Resource Group in which this VPN Gateway should be created. Changing this forces a new resource to be created.
def TRLE(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'resource_group_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TRLE(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(Y...
[ "0.7654669", "0.7654669", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", "0.72129905", ...
0.7395952
3
Is BGP route translation for NAT on this VPN Gateway enabled? Defaults to `false`.
def B3Jy(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'bgp_route_translation_for_nat_enabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B3Jy(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'bgp_route_translation_for_nat_enabled')", "def Tpoz(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'disable_bgp_route_propagation')", "def inl4(YKHO):\n return YKHO._state == YKHO.STATE_ROUTING", "def Tpoz(YKHO) -> h8nf[qe4Y.Input[boo...
[ "0.8380132", "0.6627679", "0.659416", "0.6576306", "0.6500658", "0.6252136", "0.62383527", "0.6195829", "0.6058274", "0.59767216", "0.58730745", "0.57688755", "0.5710579", "0.5661564", "0.56561077", "0.56153274", "0.55690444", "0.55360305", "0.553438", "0.5489112", "0.5489112...
0.83067423
1
The Azure location where this VPN Gateway should be created. Changing this forces a new resource to be created.
def Rci7(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'location')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j8Ng(YKHO) -> qe4Y.Input[uLKX[str, 'AzureLocation']]:\n return qe4Y.get(YKHO, 'azure_location')", "def j8Ng():\n wvEv = EpPs()\n W9Z7.autocomplete(wvEv)\n bGrB = wvEv.parse_args()\n print(ZxN9())", "def Rci7(YKHO) -> str:\n pass", "def haZm():\n return RvYX.ResourceParameterAttribute...
[ "0.67297137", "0.5925873", "0.5782674", "0.5760403", "0.57589257", "0.57306784", "0.5724678", "0.57244885", "0.5717567", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759", "0.566759...
0.0
-1
The Name which should be used for this VPN Gateway. Changing this forces a new resource to be created.
def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return f'{YKHO._device.name} MyQ Gateway'", "def nlNK(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'gateway_resource_name')", "def mWFP(YKHO):\n return YKHO._network_name", "def mWFP(YKHO):\n return YKHO._resource_name", "def mWFP(YKHO) -> h8nf[qe4Y.Input[uLKX[str, ...
[ "0.6952074", "0.69271934", "0.6847234", "0.68113244", "0.67880183", "0.67325735", "0.6732375", "0.6732375", "0.6732375", "0.6732375", "0.6732375", "0.6732375", "0.6732375", "0.6732375", "0.6699984", "0.6699984", "0.6699984", "0.6699984", "0.6699984", "0.6699984", "0.6699984",...
0.0
-1
A mapping of tags to assign to the VPN Gateway.
def dJ1p(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'tags')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kw0Q(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'ip_tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -...
[ "0.68808764", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.64000803", "0.63720465", "0.62778294", "0.62636465", "0.6174457", "0.61427546...
0.0
-1
Is BGP route translation for NAT on this VPN Gateway enabled? Defaults to `false`.
def B3Jy(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'bgp_route_translation_for_nat_enabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B3Jy(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'bgp_route_translation_for_nat_enabled')", "def Tpoz(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'disable_bgp_route_propagation')", "def inl4(YKHO):\n return YKHO._state == YKHO.STATE_ROUTING", "def Tpoz(YKHO) -> h8nf[qe4Y.Input[boo...
[ "0.8380132", "0.6627679", "0.659416", "0.6576306", "0.6500658", "0.6252136", "0.62383527", "0.6195829", "0.6058274", "0.59767216", "0.58730745", "0.57688755", "0.5710579", "0.5661564", "0.56561077", "0.56153274", "0.55690444", "0.55360305", "0.553438", "0.5489112", "0.5489112...
0.83067423
2
The Azure location where this VPN Gateway should be created. Changing this forces a new resource to be created.
def Rci7(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'location')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j8Ng(YKHO) -> qe4Y.Input[uLKX[str, 'AzureLocation']]:\n return qe4Y.get(YKHO, 'azure_location')", "def j8Ng():\n wvEv = EpPs()\n W9Z7.autocomplete(wvEv)\n bGrB = wvEv.parse_args()\n print(ZxN9())", "def Rci7(YKHO) -> str:\n pass", "def haZm():\n return RvYX.ResourceParameterAttribute...
[ "0.67313635", "0.59264034", "0.57836235", "0.5760261", "0.5758958", "0.5728981", "0.57269526", "0.57237077", "0.5718313", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611", "0.5669611"...
0.0
-1
The Name which should be used for this VPN Gateway. Changing this forces a new resource to be created.
def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return f'{YKHO._device.name} MyQ Gateway'", "def nlNK(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'gateway_resource_name')", "def mWFP(YKHO):\n return YKHO._network_name", "def mWFP(YKHO):\n return YKHO._resource_name", "def mWFP(YKHO) -> h8nf[qe4Y.Input[uLKX[str, ...
[ "0.69512665", "0.6928623", "0.68457997", "0.6812288", "0.6787192", "0.6732218", "0.6731739", "0.6731739", "0.6731739", "0.6731739", "0.6731739", "0.6731739", "0.6731739", "0.6731739", "0.66993874", "0.66993874", "0.66993874", "0.66993874", "0.66993874", "0.66993874", "0.66993...
0.0
-1
The Name of the Resource Group in which this VPN Gateway should be created. Changing this forces a new resource to be created.
def TRLE(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'resource_group_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TRLE(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resour...
[ "0.7655089", "0.7655089", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "0.7395835", "...
0.721286
74
A mapping of tags to assign to the VPN Gateway.
def dJ1p(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'tags')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kw0Q(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'ip_tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -...
[ "0.68808764", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.64000803", "0.63720465", "0.62778294", "0.62636465", "0.6174457", "0.61427546...
0.0
-1
Is BGP route translation for NAT on this VPN Gateway enabled? Defaults to `false`.
def B3Jy(YKHO) -> qe4Y.Output[h8nf[bool]]: return qe4Y.get(YKHO, 'bgp_route_translation_for_nat_enabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B3Jy(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'bgp_route_translation_for_nat_enabled')", "def B3Jy(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'bgp_route_translation_for_nat_enabled')", "def Tpoz(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'disable_bgp_route_propagati...
[ "0.83067423", "0.83067423", "0.6627679", "0.659416", "0.6576306", "0.6500658", "0.6252136", "0.62383527", "0.6195829", "0.6058274", "0.59767216", "0.58730745", "0.57688755", "0.5710579", "0.5661564", "0.56561077", "0.56153274", "0.55690444", "0.55360305", "0.553438", "0.54891...
0.8380132
0
The Azure location where this VPN Gateway should be created. Changing this forces a new resource to be created.
def Rci7(YKHO) -> qe4Y.Output[str]: return qe4Y.get(YKHO, 'location')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j8Ng(YKHO) -> qe4Y.Input[uLKX[str, 'AzureLocation']]:\n return qe4Y.get(YKHO, 'azure_location')", "def j8Ng():\n wvEv = EpPs()\n W9Z7.autocomplete(wvEv)\n bGrB = wvEv.parse_args()\n print(ZxN9())", "def Rci7(YKHO) -> str:\n pass", "def haZm():\n return RvYX.ResourceParameterAttribute...
[ "0.6729718", "0.5925721", "0.57839596", "0.57602197", "0.5757979", "0.5731214", "0.57263696", "0.57253236", "0.5718595", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888", "0.566888...
0.5204906
98
The Name which should be used for this VPN Gateway. Changing this forces a new resource to be created.
def mWFP(YKHO) -> qe4Y.Output[str]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return f'{YKHO._device.name} MyQ Gateway'", "def nlNK(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'gateway_resource_name')", "def mWFP(YKHO):\n return YKHO._network_name", "def mWFP(YKHO):\n return YKHO._resource_name", "def mWFP(YKHO) -> h8nf[qe4Y.Input[uLKX[str, ...
[ "0.69530076", "0.6929487", "0.6846115", "0.6813315", "0.67879444", "0.6733076", "0.673292", "0.673292", "0.673292", "0.673292", "0.673292", "0.673292", "0.673292", "0.673292", "0.6700424", "0.6700424", "0.6700424", "0.6700424", "0.6700424", "0.6700424", "0.6700424", "0.6700...
0.0
-1
The Name of the Resource Group in which this VPN Gateway should be created. Changing this forces a new resource to be created.
def TRLE(YKHO) -> qe4Y.Output[str]: return qe4Y.get(YKHO, 'resource_group_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TRLE(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_group_name')", "def TRLE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resour...
[ "0.7654669", "0.7654669", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "0.7395952", "...
0.0
-1
A mapping of tags to assign to the VPN Gateway.
def dJ1p(YKHO) -> qe4Y.Output[h8nf[GySg[str, str]]]: return qe4Y.get(YKHO, 'tags')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kw0Q(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'ip_tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -...
[ "0.68808764", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.6739197", "0.64000803", "0.63720465", "0.62778294", "0.62636465", "0.6174457", "0.61427546...
0.5731835
56
Load a model, either on the GPU or CPU.
def O5RJ(CtWL, t9eR, qIxc): C3ST = wOed.from_params(params=t9eR, vocab=CtWL) if qIxc.nocuda: C3ST = C3ST.cpu() if qIxc.random_init: return C3ST with open('%s/best.th' % qIxc.model_path, 'rb') as Ga6V: VGCm = ht2j.device('cpu') C3ST.load_state_dict(ht2j...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(C3ST, pmON, begE):\n if begE.type == 'cpu':\n C3ST.load_state_dict(ht2j.load(pmON, map_location=ht2j.device('cpu')), strict=False)\n else:\n C3ST.load_state_dict(ht2j.load(pmON), strict=False)\n return C3ST", "def uyMl(uqvc):\n C3ST = Zgf_()\n C3ST.load_state_dict(ht2j.load(...
[ "0.8042615", "0.78250414", "0.7795556", "0.7673657", "0.76577556", "0.76494896", "0.7608727", "0.75762033", "0.7572723", "0.7562414", "0.7562414", "0.74888855", "0.7484072", "0.7480153", "0.74387395", "0.74385136", "0.7437197", "0.73990935", "0.73656625", "0.73618984", "0.735...
0.80061847
1
Get an example humidity value.
def IvGW(YKHO): return (YKHO.get_value(), 'rel_hum', 'p')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JxEH(YKHO):\n return YKHO.__dht22Hum.getHumidity()", "def xPSE(YKHO):\n print('*** MOCK HUMIDITY READING MOCK ***')\n return float(33.3)", "def JxEH(YKHO):\n return YKHO.humid", "def dU0H(YKHO):\n dU0H = YKHO._dht22.humidity()\n bo34.info('humidity reading = {0:0.1f} %'.format(dU0H))\n ...
[ "0.7824388", "0.77455604", "0.77306616", "0.77136767", "0.7666526", "0.76251584", "0.7555833", "0.75318706", "0.7521813", "0.7500809", "0.7474402", "0.7432187", "0.7430282", "0.7413802", "0.7400434", "0.73829865", "0.7381697", "0.7338983", "0.7330557", "0.732381", "0.7290623"...
0.70032626
34
Get the example actuator value.
def Ueki(YKHO): if YKHO.digital: return (YKHO.value, 'digital_actuator') else: return (YKHO.value, 'analog_actuator')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PU1l(YKHO) -> str:\n return qe4Y.get(YKHO, 'example')", "def PU1l(YKHO) -> str:\n return qe4Y.get(YKHO, 'example')", "def PU1l(YKHO) -> str:\n return qe4Y.get(YKHO, 'example')", "def Zmkp(YKHO):\n return YKHO.obs_val", "def BWXx(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'value')...
[ "0.6381268", "0.6381268", "0.6381268", "0.6240798", "0.62227273", "0.6218793", "0.6218793", "0.60833514", "0.6081043", "0.6065102", "0.6065102", "0.6060789", "0.6047235", "0.604265", "0.6036072", "0.6032349", "0.6032349", "0.6032349", "0.6032349", "0.6032349", "0.6032349", ...
0.0
-1
Given a callable that accepts an integer and returns the nth entry, iterate over it until it starts to throw some exception.
def Nli9(OGH1: tp.Callable[[int], V], XvLv: int=0, neDi=(IndexError, ValueError)) -> HRJ_.Iterator[cAlv]: for YRbF in Hs6x.count(XvLv): try: yield OGH1(YRbF) except neDi: return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NI2i(exwG, c2Yh):\n for WKvO in range(exwG):\n next(c2Yh)\n return next(c2Yh)", "def RErc(FYKK, exwG):\n for YRbF in range(exwG):\n FYKK(YRbF)", "def _J4B(OxJJ, exwG, WmM4=...):\n ...", "def _J4B(oHE7, exwG):\n return next(uOgj(oHE7, exwG, None))", "def NMoC(exwG, Q6uT):\n ...
[ "0.6596502", "0.65586346", "0.64070547", "0.62808186", "0.61832935", "0.61624885", "0.6150415", "0.6106066", "0.60892564", "0.60521436", "0.60222137", "0.6012545", "0.597033", "0.59363014", "0.5935848", "0.59247637", "0.59105974", "0.5908146", "0.58994424", "0.58994424", "0.5...
0.60210085
11
Return each element from lst, but return every element only once. Take care for elements of T to be __eq__able and hashable! This will keep internally a set of elements encountered, and skip them if same element appears twice
def kcwm(yv6U: Iteratable) -> HRJ_.Iterator[Kt_s]: OOFy = set() for LihS in yv6U: if LihS not in OOFy: OOFy.add(LihS) yield LihS
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fdj9(yv6U: List[TypeVar('T')], QyFf: Callable[[TypeVar('T')], Hashable]=None) -> x1iM[tnwy('T')]:\n Aofo = []\n PwWw = set()\n for geyT in yv6U:\n lNLE = QyFf(geyT) if QyFf else geyT\n if lNLE not in PwWw:\n Aofo.append(geyT)\n PwWw.add(lNLE)\n return Aofo", "d...
[ "0.71973807", "0.7017102", "0.69809985", "0.67934966", "0.674837", "0.67274624", "0.67211455", "0.66214305", "0.6610323", "0.6594425", "0.65913427", "0.6577789", "0.6544576", "0.6525156", "0.6520753", "0.64938205", "0.64915234", "0.6458866", "0.64504325", "0.642212", "0.64063...
0.7184255
1
Return only elements with even indices in this iterable (first element will be returned, as indices are counted from 0)
def vf3I(MuIv: Iteratable) -> HRJ_.Iterator[Kt_s]: while True: try: yield next(MuIv) next(MuIv) except StopIteration: return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAY9(OxJJ):\n hkxX = []\n for d6pt, BWXx in enumerate(OxJJ, start=1):\n if not d6pt % 2:\n hkxX.append(BWXx)\n return hkxX", "def zAY9(OxJJ):\n hkxX = []\n for d6pt, BWXx in enumerate(OxJJ, start=1):\n if not d6pt % 2:\n hkxX.append(BWXx)\n return hkxX", ...
[ "0.77874285", "0.77778953", "0.6840987", "0.6517552", "0.64762557", "0.6395671", "0.63660884", "0.6339499", "0.6308229", "0.62932646", "0.628068", "0.6265353", "0.62512046", "0.62342536", "0.62012285", "0.6195014", "0.6151859", "0.61368436", "0.61300313", "0.6127217", "0.6092...
0.667472
3
Return only elements with odd indices in this iterable.
def C_CQ(MuIv: Iteratable) -> HRJ_.Iterator[Kt_s]: while True: try: next(MuIv) yield next(MuIv) except StopIteration: return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAY9(OxJJ):\n hkxX = []\n for d6pt, BWXx in enumerate(OxJJ, start=1):\n if not d6pt % 2:\n hkxX.append(BWXx)\n return hkxX", "def zAY9(OxJJ):\n hkxX = []\n for d6pt, BWXx in enumerate(OxJJ, start=1):\n if not d6pt % 2:\n hkxX.append(BWXx)\n return hkxX", ...
[ "0.701883", "0.7003509", "0.64579076", "0.64100915", "0.63898087", "0.61951023", "0.6187234", "0.6126736", "0.612373", "0.6113099", "0.6082343", "0.6060282", "0.6049473", "0.60205626", "0.6008547", "0.5985585", "0.59835374", "0.5929476", "0.5920743", "0.5903122", "0.5870528",...
0.6558186
2
Skip first n elements from given iterator. Returned iterator may be empty, if source iterator is shorter or equal to n.
def UdHb(oHE7: Iteratable, exwG: int) -> HRJ_.Iterator[Kt_s]: qmLP.warn('This is deprecated and will be removed in Satella 3.0. Please use itertools.islice instead', DeprecationWarning) for YRbF in range(exwG): next(oHE7) yield from oHE7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EdbX(exwG, OxJJ):\n oHE7 = iter(OxJJ)\n if exwG == 1:\n next(oHE7, None)\n else:\n next(uOgj(oHE7, exwG, exwG), None)\n return oHE7", "def EdbX(exwG, OxJJ):\n WhY1 = iter(OxJJ)\n if exwG is None:\n MUE7(WhY1, maxlen=0)\n else:\n next(uOgj(WhY1, exwG, exwG), No...
[ "0.8321363", "0.8297964", "0.76077396", "0.740754", "0.71294385", "0.71034557", "0.7088932", "0.6847074", "0.68120074", "0.6764926", "0.66528904", "0.6638171", "0.6622715", "0.66171426", "0.6528598", "0.6527522", "0.64921063", "0.648539", "0.64554584", "0.64286506", "0.639215...
0.80519277
2
Checks whether an iterator is empty. This will exhaust the iterator if exhaust is left at default, or True
def FBfn(OxJJ: Iteratable, tj_t: bool=True) -> bool: oHE7 = iter(OxJJ) if tj_t: YRbF = 0 for bGrB in oHE7: YRbF += 1 return YRbF == 0 else: next(oHE7) return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBfn(OxJJ):\n return next(iter(OxJJ), RA38) is RA38", "def GtN5(vhpA) -> bool:\n from collections.abc import Iterable\n if isinstance(vhpA, Iterable):\n if len(vhpA) == 0:\n return True\n return False", "def FBfn(YKHO):\n try:\n next(YKHO.documents)\n return F...
[ "0.7682621", "0.7258317", "0.704555", "0.69921887", "0.6987562", "0.6870882", "0.6736819", "0.67308915", "0.6717196", "0.67056835", "0.66661525", "0.66423726", "0.66423726", "0.66423726", "0.66423726", "0.66423726", "0.66423726", "0.66423726", "0.66286564", "0.66286564", "0.6...
0.8107203
0
A syntactic sugar for >>> list(map(fun, iterable))
def M10L(MCGS: tp.Callable, OxJJ: Iteratable) -> HRJ_.List: return list(map(MCGS, OxJJ))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M_t2(sJLK, bCES):\n return [sJLK(ZfUD) for ZfUD in bCES]", "def saog(JfyU, OxJJ):\n return list(map(JfyU, OxJJ))", "def XpMX(m2Zb, OxJJ):\n Aofo = []\n for GfdN in OxJJ:\n Aofo.append(m2Zb(GfdN))\n return Aofo", "def XqC_(eHNT: Callable, *fUYa) -> list:\n return list(map(eHNT, *f...
[ "0.82626724", "0.8233325", "0.81309456", "0.7902524", "0.7902524", "0.7814479", "0.7729307", "0.7615226", "0.7566434", "0.7536483", "0.74749756", "0.74716055", "0.74615747", "0.74485606", "0.7343841", "0.73033726", "0.7299881", "0.72944725", "0.7226977", "0.72046053", "0.7202...
0.8947634
0
Function to redirect user to add recipe form
def U0zJ(): XFu2 = ['1', '2', '3', '4', '5', '6+'] TdJL = ['African', 'American', 'British', 'Carribean', 'Chinese', 'East European', 'French', 'Greek', 'Indian', 'Irish', 'Italian', 'Japanese', 'Korean', 'Mexican', 'Middle Eastern and Persian', 'Nordic', 'Spanish', 'Thai', 'Other'] dXrM = ['0-15 min', '15-...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sbfB():\n if 'user_id' not in cuiw:\n return vKnz('/login')\n L03z = KYG4()\n if L03z.validate_on_submit():\n leAC = L03z.title.data\n TBsA = L03z.body.data\n YSCM = LC16(user_id=cuiw['user_id'], title=leAC, body=TBsA)\n NCls.session.add(YSCM)\n NCls.session.c...
[ "0.7648841", "0.75462645", "0.7449948", "0.7323129", "0.71562433", "0.7043796", "0.69546014", "0.6863975", "0.68513286", "0.68006116", "0.66920954", "0.6670818", "0.660935", "0.6547868", "0.65151346", "0.6476683", "0.64308727", "0.6392829", "0.63473094", "0.63363147", "0.6327...
0.6690873
11
Function to change booleans from form to True or False
def Kcj0(RA76): try: if RA76['contain_gluten'] == 'on' or RA76['contain_gluten'] == 'true': RA76['contain_gluten'] = True except: RA76['contain_gluten'] = None try: if RA76['contain_lactose'] == 'on' or RA76['contain_lactose'] == 'true': RA76['contain_lactose'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TfvV(BWXx):\n if BWXx:\n return '.true.'\n else:\n return '.false.'", "def DUUG(BWXx):\n if BWXx == 'True':\n return True\n elif BWXx == 'False':\n return False\n else:\n return BWXx", "def _J6_(Fg_i):\n return '1' if Fg_i else '0'", "def JiQe(BWXx):\n...
[ "0.7380216", "0.7294849", "0.7179601", "0.7134623", "0.7107231", "0.7100502", "0.7086296", "0.7086047", "0.70557743", "0.7055091", "0.7030569", "0.70148134", "0.6990853", "0.6988722", "0.698631", "0.69787693", "0.6949183", "0.6947498", "0.69407636", "0.69379187", "0.6934453",...
0.0
-1
Hashes the raw input password and returns it
def TDEB(jTXt): return jf1V.encrypt(jTXt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a2tF(jTXt):\n return B8ni.hashpw(jTXt.encode('utf-8'), B8ni.gensalt())", "def qzFd(jTXt: str):\n return jf1V.hash(jTXt)", "def qzFd(jTXt):\n return CJ0I(jTXt)", "def a2tF(jTXt):\n return ogP4.django_pbkdf2_sha256.hash(jTXt)", "def R6Hp(jTXt):\n return B2KD(jTXt.encode('utf-8')).hexdigest...
[ "0.78833973", "0.78593487", "0.7797129", "0.77381366", "0.773649", "0.77087903", "0.7693753", "0.7693753", "0.76613516", "0.76600903", "0.7600838", "0.7552056", "0.75512", "0.7534659", "0.7534413", "0.7533212", "0.7526868", "0.75258195", "0.7525326", "0.7520216", "0.7506057",...
0.0
-1
Returns a compact representation of message 'm'.
def PLmv(r8hN): KCHu = repr(r8hN).replace('\n', ' ') while ' ' in KCHu: KCHu = KCHu.replace(' ', ' ') return KCHu.strip()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wf7L(r8hN):\n return e9f_(r8hN, False, True, False)", "def CFN4(r8hN):\n exwG = int(MRxC.hexlify(r8hN).ljust(TFhu * 2, b'0'), 16)\n ERVO = [-1 if Fg_i == '0' else 1 for Fg_i in bin(exwG)[2:].rjust(CvLw, '0')]\n assert rXBt(ERVO) == r8hN\n return ERVO", "def _Hnj(r8hN):\n X7sa = r8hN.split...
[ "0.64711946", "0.6111002", "0.6093372", "0.6079117", "0.59703916", "0.58335125", "0.5824984", "0.57950675", "0.57908046", "0.5770183", "0.57417405", "0.57368666", "0.57234496", "0.5711534", "0.57111984", "0.5697246", "0.56834304", "0.56721306", "0.56676817", "0.56676817", "0....
0.60167795
4
Get normalizer for activation. by default return mean and std.
def VcSW(mH4a): return (mH4a.mean(axis=0, keepdims=True), mH4a.std(axis=0, keepdims=True))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WuUW(nPrm, JBMS, M1Jx):\n return (nPrm - JBMS) / M1Jx", "def cPnY(YKHO):\n return YKHO.__STD", "def umpk(Emd4, bySB: np.ndarray):\n return (bySB - Emd4.NORM_PARAMS['mean']) / Emd4.NORM_PARAMS['std']", "def zTRM(YKHO):\n return YKHO.__MEAN", "def b12q(mvm2, WuUW):\n BWXx = mvm2[WuUW['feat...
[ "0.7287855", "0.70286214", "0.6974852", "0.6949484", "0.6916875", "0.68012655", "0.67874897", "0.6688", "0.6675203", "0.6595008", "0.6560902", "0.6552591", "0.6529619", "0.64437544", "0.6442756", "0.64403677", "0.6427708", "0.6411485", "0.6410222", "0.63786024", "0.63710606",...
0.7029866
1
Given a glide vector, get the GA component and nonGA component. 'G' stands for amplitude while 'g' for vector
def dyu0(GfDA, S68m): q9Dm = ZsRQ(1.0, 266.4, -28.9) zJSf = oyIN.dot(GfDA, q9Dm) KZkd = oyIN.dot(S68m, q9Dm) HAEn = GfDA - zJSf * q9Dm Kt5Y = S68m - KZkd * q9Dm [uqpz, UJvF, STQN, EOlZ, bzGc, dRaj] = FIgB(HAEn, Kt5Y) return [zJSf, KZkd, uqpz, UJvF, STQN, EOlZ, bzGc, dRaj]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ATaO() -> Sa_m.Variable:\n return Sa_m.vector(value=[0, -1, 0]) * Oa1e", "def dloF(GfDA, XdG6, iSjc):\n IZ6w, E0Gw, f_gp = GfDA\n LgMP = -IZ6w * YUNn(XdG6) + E0Gw * YhSR(XdG6)\n aUsp = -IZ6w * YhSR(XdG6) * YUNn(iSjc) - E0Gw * YUNn(XdG6) * YUNn(iSjc) + f_gp * YhSR(iSjc)\n return (LgMP, aUsp)", ...
[ "0.6885515", "0.64047974", "0.6292124", "0.6208616", "0.62029845", "0.61557496", "0.615567", "0.61374825", "0.61119664", "0.61054265", "0.6092595", "0.60157925", "0.59864396", "0.5895079", "0.5833244", "0.5824485", "0.58100575", "0.580207", "0.57911974", "0.57911974", "0.5785...
0.7061084
0
Plot a scatter plot of both time series for the provided DataFrames.
def VE_a(nPrm, uXXF, Dp6h): QrM1.figure(figsize=(12, 6)) QrM1.xlabel('%s Price ($)' % nPrm[Dp6h].name) QrM1.ylabel('%s Price ($)' % nPrm[uXXF].name) QrM1.title('%s and %s Price Scatterplot' % (nPrm[uXXF].name, nPrm[Dp6h].name)) QrM1.scatter(nPrm[Dp6h], nPrm[uXXF]) QrM1.show()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oQfi(w38M):\n aNZO = w38M[0].plot()\n for jQ3Z in w38M[1:]:\n jQ3Z.plot(ax=aNZO, kind='line')\n QrM1.show()", "def EF93(jQ3Z, iIDh, C0Wu, leAC, Cwt5=0.3):\n LZpg, hh7H = QrM1.subplots(figsize=(12, 5))\n fTVC = hh7H.twinx()\n hh7H.plot(jQ3Z.index, jQ3Z[iIDh], 'k-')\n fTVC.plot(jQ3Z...
[ "0.6607088", "0.6396703", "0.6380476", "0.6234115", "0.6226249", "0.6187054", "0.61133033", "0.61125964", "0.60955", "0.60941434", "0.6018919", "0.60121316", "0.59946114", "0.5960086", "0.5953224", "0.5924523", "0.5917784", "0.5884294", "0.5880442", "0.5876151", "0.5871506", ...
0.6287773
3
During validation of entries > prod_name should contain chaaracters not exceeding ?? prod_category should contain chaaracters not exceeding ?? e_prod_low_date should be formatted according to calendar entry (thus, it should be validated in this regard, or should not be editable at all) e_prod_hi_date should be formatte...
def Wv1K(YKHO): try: if YKHO.hi_date > YKHO.lo_date: YKHO.category = YKHO.e_prod_category.get() YKHO.add_name = YKHO.e_prod_name.get() if len(YKHO.category) > 0 and len(YKHO.add_name) == 0 or (len(YKHO.category) == 0 and len(YKHO.add_name) > 0): print('Car...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xzCw(YKHO, nPrm):\n if nPrm.get('category_name') and nPrm.get('cid'):\n raise IyFz.ValidationError({'category_cid': ['Cannot give both id and name in product category']})\n elif nPrm.get('category_name'):\n poOH = eorc.objects.filter(name__iexact=nPrm.get('category_name'))\n if len(p...
[ "0.5783649", "0.576088", "0.5742211", "0.55290186", "0.53812414", "0.52954876", "0.52897346", "0.5258224", "0.52287734", "0.52006507", "0.51861846", "0.5180975", "0.51570493", "0.5146442", "0.51313764", "0.5086349", "0.50586545", "0.50452405", "0.5010618", "0.49923268", "0.49...
0.4780714
49
During validation of entries > prod_name should contain chaaracters not exceeding ?? prod_category should contain chaaracters not exceeding ?? e_prod_low_date should be formatted according to calendar entry (thus, it should be validated in this regard, or should not be editable at all) e_prod_hi_date should be formatte...
def fDKA(YKHO): try: if YKHO.hi_date > YKHO.lo_date: YKHO.category = YKHO.e_prod_category.get() YKHO.add_name = YKHO.e_prod_name.get() if len(YKHO.category) > 0 and len(YKHO.add_name) == 0 or (len(YKHO.category) == 0 and len(YKHO.add_name) > 0): print('Car...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xzCw(YKHO, nPrm):\n if nPrm.get('category_name') and nPrm.get('cid'):\n raise IyFz.ValidationError({'category_cid': ['Cannot give both id and name in product category']})\n elif nPrm.get('category_name'):\n poOH = eorc.objects.filter(name__iexact=nPrm.get('category_name'))\n if len(p...
[ "0.5786342", "0.5762531", "0.57446706", "0.5530394", "0.538345", "0.5296984", "0.5291107", "0.52590144", "0.52297735", "0.520366", "0.5187137", "0.51835644", "0.5159615", "0.51458174", "0.51337415", "0.5088458", "0.50608903", "0.50458217", "0.5011566", "0.49942833", "0.498456...
0.46933374
74
During validation of entries > prod_name should contain chaaracters not exceeding ?? prod_category should contain chaaracters not exceeding ?? e_prod_low_date should be formatted according to calendar entry (thus, it should be validated in this regard, or should not be editable at all) e_prod_hi_date should be formatte...
def jrFu(YKHO): try: if YKHO.hi_date > YKHO.lo_date: print('Carry on') else: oDXv.pop_up_window('Invalid date constrains!', 'PRODUCT MANAGEMENT EXCEPTION', 'PRODUCT MANAGEMENT EXCEPTION') except: oDXv.pop_up_window('Invalid date constrains! or entries', 'PRODUCT M...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xzCw(YKHO, nPrm):\n if nPrm.get('category_name') and nPrm.get('cid'):\n raise IyFz.ValidationError({'category_cid': ['Cannot give both id and name in product category']})\n elif nPrm.get('category_name'):\n poOH = eorc.objects.filter(name__iexact=nPrm.get('category_name'))\n if len(p...
[ "0.5786342", "0.5762531", "0.57446706", "0.5530394", "0.538345", "0.5296984", "0.5291107", "0.52590144", "0.52297735", "0.520366", "0.5187137", "0.51835644", "0.5159615", "0.51458174", "0.51337415", "0.5088458", "0.50608903", "0.50458217", "0.5011566", "0.49942833", "0.498456...
0.0
-1
test that distances can be created from quantities and that cartesian representations come out right
def SnNp(): XdG6 = dVyQ('4:08:15.162342', unit=P6bq.hour) iSjc = Tv8f('-41:08:15.162342', unit=P6bq.degree) fG81 = p3nN(XdG6, iSjc, distance=2 * P6bq.kpc) xryH = fG81.cartesian assert isinstance(xryH.xyz, P6bq.Quantity)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ndm_(YKHO):\n tux7 = SYHL(4 * oyIN.eye(3))\n vvCZ = k3IH('He', [0, 0, 0], lattice=tux7)\n AzcL = k3IH('He', [1, 0, 0], lattice=tux7)\n YKHO.assertEqual(_aBm(vvCZ, AzcL), 4.0)", "def K1c9():\n ILZY(2 * P6bq.kpc)\n Csk6 = ILZY([2, 3.1], P6bq.kpc)\n assert Csk6.shape == (2,)\n jzdc = Csk...
[ "0.67518264", "0.6741338", "0.6482456", "0.63878036", "0.6290227", "0.62316114", "0.6184228", "0.6155109", "0.6155109", "0.6155109", "0.6155109", "0.6155109", "0.6155109", "0.6155109", "0.6155109", "0.6155109", "0.6155109", "0.61448675", "0.61120576", "0.6110847", "0.60981566...
0.6798327
0
Are we in a good state (ingriedients less than or equal to the desired amounts)
def cpe_(YKHO, J1ea=False): xhPL = False for aQqx, YSCM in xi3E.iteritems(): P1Dz = YKHO.cups_state[aQqx] for uBMr, Z5kt in YSCM.iteritems(): if uBMr not in P1Dz: xhPL = True continue if P1Dz[uBMr] > Z5kt: return False ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SGVO(YKHO):\n return YKHO.qty * YKHO.rate == YKHO.amount", "def fmbZ(YKHO):\n gcZW = YKHO.benefit_num * 0.8\n if gcZW == 0:\n return False\n elif YKHO.reas_red_num >= gcZW:\n return True\n else:\n return False", "def fmbZ(YKHO):\n gcZW = YKHO.benefit_num * 0.8\n if...
[ "0.7251766", "0.7239018", "0.7239018", "0.702412", "0.69161266", "0.6800655", "0.6769285", "0.6738779", "0.6738265", "0.6738265", "0.67283523", "0.6721622", "0.66953784", "0.66804045", "0.6669801", "0.66493845", "0.6648993", "0.66000986", "0.6572229", "0.65654826", "0.6563452...
0.6638335
17
Return full path to file in input directory
def TLbF(d3Bs, QePW): pmON = Hy7s.path.join(d3Bs, QePW.param) if Hy7s.path.exists(pmON): return pmON raise FileNotFoundError(pmON)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F28p(eZ_W, _jRX):\n Qeo_ = Hy7s.path.dirname(Hy7s.path.abspath(xAKo))\n Mmyt = Hy7s.path.join(Qeo_, _jRX)\n pmON = Hy7s.path.join(Mmyt, eZ_W)\n return pmON", "def kuRl(gIsw):\n ee9X = Hy7s.path.join(Hy7s.path.abspath(''), 'data')\n if Hy7s.path.isdir(ee9X):\n return Hy7s.path.join(Hy...
[ "0.8181769", "0.74514097", "0.7445331", "0.7434998", "0.7342575", "0.72701323", "0.7244552", "0.7229147", "0.7215017", "0.72002226", "0.71983725", "0.71843064", "0.7164641", "0.7117594", "0.7066953", "0.70386934", "0.70280826", "0.699895", "0.69934773", "0.6982043", "0.697029...
0.0
-1
Performs a circular padding on a batch of images (for circular convolution).
def KVH6(YKHO, Wc9F): MKlR = Wc9F.size()[1] yzQ0 = Wc9F.size()[2] epBp = ht2j.cat((Wc9F[:, :, :, yzQ0 - YKHO.pad_size:yzQ0], Wc9F, Wc9F[:, :, :, 0:YKHO.pad_size]), 3) epBp = ht2j.cat((epBp[:, :, MKlR - YKHO.pad_size:MKlR, :], epBp, epBp[:, :, 0:YKHO.pad_size, :]), 2) return iQnE(epBp)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gAFe(Yw_3, WZcn, dvgN):\n r8hN, MKlR, yzQ0 = Yw_3.shape\n TKQ0, BQsO = WZcn.shape\n KZ_l = dvgN[0]\n RBFf = dvgN[1]\n y_8R = MKlR - TKQ0 + 2 * KZ_l + 1\n f8G1 = yzQ0 - BQsO + 2 * RBFf + 1\n YZ0a = oyIN.zeros((r8hN, y_8R, f8G1))\n Yw_3 = oyIN.pad(Yw_3, [(0, 0), (KZ_l, KZ_l), (RBFf, RBFf)...
[ "0.7253312", "0.7124717", "0.7084859", "0.69488144", "0.67620707", "0.66491216", "0.6455707", "0.6412954", "0.6408148", "0.63854116", "0.6376107", "0.63682777", "0.6352857", "0.632551", "0.6286262", "0.6286054", "0.6280978", "0.6265525", "0.62378824", "0.62311816", "0.6217294...
0.0
-1
test the ability to receive a batch of queued messages.
def Qr4q(): X4XU = 'send to ring msg: %d' jER5(tOCV, X4XU) ITS7.sleep(1) wHSX = XN37.rmr_rcvall_msgs(W3Vg) assert len(wHSX) == 13 for YRbF, NmYP in enumerate(wHSX): NmYP = wHSX[YRbF] assert NmYP['message state'] == 0 yl9e = bytes(X4XU % YRbF, 'UTF-8') assert NmYP[...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DJud(YKHO, UzPC):\n T4cS = CFMy(payload={'type': 'echo', 'body': '1'})\n Khj7 = CFMy(payload={'type': 'echo', 'body': '2'})\n DHPG = CFMy(payload={'type': 'echo', 'body': '3'})\n PtoX = CFMy(side_effect=[T4cS, Khj7, g5js.Empty])\n UzPC.return_value.__enter__.return_value.SimpleQueue.return_value...
[ "0.7536296", "0.7135221", "0.71080744", "0.7063611", "0.7007195", "0.7005163", "0.6985869", "0.69692236", "0.69328356", "0.6915369", "0.6860914", "0.6845077", "0.6832389", "0.6828642", "0.68120784", "0.6805025", "0.6804322", "0.6725237", "0.6715432", "0.67094576", "0.6625682"...
0.61792916
59
Compute the AUC for pair classification. See `tf.metrics.auc` for more details about this metric.
def zUeS(cCrA, Crrw, **v7n3): iBlc = ZylS.reduce_max(cCrA) FleN = ZylS.reduce_min(cCrA) cCrA = (cCrA - FleN) / (iBlc - FleN + 1e-08) Crrw = (Crrw + 1) / 2 bGrB, BWXx = ZylS.metrics.auc(Crrw, cCrA, **v7n3) return BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1kx(YKHO, kgDL, LVAh):\n return Qq_d(LVAh, YKHO.decision_function(kgDL))", "def zUeS(Y8eF, aMgO):\n zUeS = ZylS.metrics.auc(Y8eF, aMgO)[1]\n nMvt.get_session().run(ZylS.local_variables_initializer())\n return zUeS", "def GvK6(YKHO) -> llWB:\n OS6F, Wbxj = YKHO._compute()\n nLAl = zUeS(OS...
[ "0.74590003", "0.7174436", "0.70461106", "0.7012195", "0.70043534", "0.69795096", "0.6932199", "0.689979", "0.6856424", "0.6823094", "0.6823094", "0.6800791", "0.6790587", "0.6757703", "0.6741634", "0.6739407", "0.673703", "0.67280173", "0.6713094", "0.671296", "0.6699394", ...
0.69115704
7
The function that generates the InfixOperator nodes for the different operators (will be used for all infix operators)
def mjyQ(YKHO, afYC): BWXx, *wOmD = afYC Maem = wOmD[::2] Lw3l = wOmD[1::2] assert len(Lw3l) == len(Lw3l) for DjxU, hTj7 in zip(Maem, Lw3l): BWXx = oNng(DjxU.value, BWXx, hTj7) return BWXx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jwtf(YKHO, LFlW, khtY):\n YKHO.match(khtY)\n _tIi = YKHO.expression()\n return QRFO.InfixExpr(LFlW, khtY, _tIi)", "def _v_4(WKvO):\n for khtY in LyZl:\n WKvO = WKvO.replace(khtY, '|' + repr(khtY) + '|')\n return WKvO", "def _v_4(WKvO):\n for khtY in LyZl:\n WKvO = WKvO.repla...
[ "0.7191411", "0.71175086", "0.71175086", "0.7023176", "0.69436383", "0.6678044", "0.66510594", "0.6604112", "0.6584481", "0.65658253", "0.6525073", "0.6499341", "0.64962137", "0.64879805", "0.64770204", "0.64370793", "0.6423899", "0.64001405", "0.6384197", "0.63837236", "0.63...
0.74800366
0
Normalizes the given string trim deletes (most) special characters at the begin and end of the string (with some exceptions).
def cTe9(LEXu: str) -> str: LEXu = LEXu.strip() if LEXu.startswith('<end-'): return LEXu if LEXu.startswith('<root-'): return LEXu if LEXu == '--': return LEXu while True: LEXu = LEXu.strip() if len(LEXu) == 0: break Cj0e = LEXu[0] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(vIwR):\n vIwR = vIwR.lower()\n vIwR = zVCt.normalize('NFKD', vIwR).encode('ascii', 'ignore').decode('utf-8', 'ignore')\n vIwR = ZbWC.sub('[^a-z]', ' ', vIwR)\n vIwR = ZbWC.sub('\\\\b[a-z]{,2}\\\\b', '', vIwR)\n vIwR = ZbWC.sub('[\\\\r|\\\\n|\\\\r\\\\n]+', ' ', vIwR)\n vIwR = vIwR.strip()...
[ "0.78870815", "0.78767604", "0.7831408", "0.7809145", "0.7757588", "0.7558256", "0.7544633", "0.7455895", "0.7448903", "0.7434322", "0.7434322", "0.7421881", "0.74157906", "0.7407312", "0.7401025", "0.73959255", "0.73940134", "0.737786", "0.7374806", "0.7370315", "0.7370315",...
0.0
-1
Calculates the area of a trapezoid with given measurements.
def _wDu(jzdc, Fg_i, MKlR): return (float(jzdc) + float(Fg_i)) * float(MKlR) / 2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zNvr(s0Ej, Ntf7, H2v2):\n f0tD = (s0Ej + Ntf7) / 2 * H2v2\n return f0tD", "def y8H4(o4D3, si3g, ajwV, skBL):\n H2v2 = max(ajwV, o4D3) - min(ajwV, o4D3)\n jzdc = si3g\n Fg_i = skBL\n StRI = (jzdc + Fg_i) / 2.0\n f0tD = StRI * H2v2\n return f0tD", "def y8H4(UqpO):\n Csk6 = Zxt2.spa...
[ "0.7593095", "0.74061006", "0.69841987", "0.68832433", "0.68712956", "0.6851154", "0.6804333", "0.6796464", "0.67911243", "0.67886955", "0.67717236", "0.6723484", "0.6693302", "0.6665606", "0.6663658", "0.66607696", "0.6641301", "0.66081595", "0.6595489", "0.6578907", "0.6566...
0.733548
2
Calculates the area of a rectangle with given sides.
def Rqyz(jzdc, Fg_i): return float(jzdc) * float(Fg_i)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rqyz(y0Wo, MyLe):\n return y0Wo * MyLe", "def Rqyz(q1iG, iv9J):\n return q1iG * iv9J", "def Y1Xt(YKHO, Q7UY, Gdpj):\n qEJV = oyIN.clip(Gdpj - Q7UY, 0.0, None)\n return qEJV[..., 0] * qEJV[..., 1]", "def Y1Xt(Q7UY, Gdpj):\n qEJV = oyIN.clip(Gdpj - Q7UY, 0.0, None)\n return qEJV[..., 0] *...
[ "0.7806591", "0.78023636", "0.7294556", "0.72613925", "0.72613925", "0.72613925", "0.72508305", "0.7150554", "0.7033842", "0.695306", "0.6937177", "0.69070053", "0.6870613", "0.67963845", "0.67900336", "0.67850226", "0.6770936", "0.67589563", "0.674758", "0.6725443", "0.66949...
0.68208617
13
Calculates the area of a circle with given radius.
def yX2h(Mkmy): return float(Mkmy) ** 2 * epAf.pi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UdRN(r1VO):\n f0tD = epAf.pi * r1VO ** 2\n return f0tD", "def yX2h(r1VO):\n return Lr0q.pi * r1VO * r1VO", "def yX2h(r1VO):\n return epAf.pow(r1VO, 2) * epAf.pi", "def yX2h(r1VO):\n return epAf.pi * epAf.pow(r1VO, 2)", "def yX2h(r1VO):\n return mM0K * r1VO * r1VO", "def yX2h(r1VO):\...
[ "0.9083791", "0.8844096", "0.8815667", "0.8726841", "0.86816555", "0.8668051", "0.8657377", "0.85783565", "0.8286214", "0.8160733", "0.81585604", "0.79928154", "0.79851145", "0.79584056", "0.7903008", "0.78897345", "0.78701544", "0.7860429", "0.7689357", "0.76678634", "0.7637...
0.8047508
11
Compares the list of columns supplied in the metadata spreadsheet with the list of valid columns in the corresponding metadata schema.
def euoC(VcqG, uPxI): j_CH = set([Z9rn.name for Z9rn in uPxI.columns]) UxPN = set(VcqG.columns.tolist()) H13S = list(UxPN.difference(j_CH)) Y0N0 = list(j_CH.difference(UxPN)) return [H13S, Y0N0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V0OA(YKHO):\n print('COLUMN NAMES:')\n print(YKHO.col_names)\n YKHO.shared_cols, YKHO.new_cols, YKHO.miss_cols = YKHO.compare_column_names(YKHO.col_names)\n print('Columns shared with the reference:')\n print(YKHO.shared_cols)\n print('Columns that are new:')\n print(YKHO.new_cols)\n pr...
[ "0.7165561", "0.7091573", "0.69620633", "0.6961476", "0.667542", "0.6662318", "0.6645593", "0.6628706", "0.6599972", "0.65998745", "0.65562993", "0.654759", "0.6540698", "0.65272266", "0.64920336", "0.6478373", "0.6476646", "0.64606756", "0.64394045", "0.643897", "0.64378005"...
0.6550887
11
Verifies whether or not the provided file path contains any malicious characters (i.e. '') or attemps to traverse outside of the desired directories (using relative paths)
def NOcA(gIsw, RrEj): g_Ic = Hy7s.path.relpath(gIsw, start=RrEj) g_Ic = Hy7s.path.abspath(g_Ic) uzU3 = Hy7s.path.commonprefix([g_Ic, RrEj]) return uzU3 != RrEj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UULU(pmON):\n if IqHB(pmON):\n pmON = lErl(pmON)\n if any((KCHu in pmON for KCHu in G_n7)) or '..' in pmON.split('/') or oAb3.PureWindowsPath(pmON).is_absolute() or oAb3.PurePosixPath(pmON).is_absolute():\n raise fokw(f'Invalid path: {pmON}', error_code=tKts)", "def dfT3(YKHO, qaEx):\n ...
[ "0.7294951", "0.71802676", "0.707956", "0.69782597", "0.6747306", "0.6622016", "0.6620417", "0.65997237", "0.6544214", "0.64697605", "0.6447488", "0.6436649", "0.6414186", "0.6394998", "0.63904583", "0.6376691", "0.63716954", "0.6343237", "0.626893", "0.62494195", "0.6243215"...
0.5713276
95
Returns system CPU and memory resources.
def NMoC() -> dict: return {'proc': AUqK(), 'mem': lqZb()}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zPVn():\n YQ8T = a9EH.system().lower()\n if YQ8T == 'linux':\n return RJEn()\n else:\n return {'total': None, 'used': None, 'free': None}", "def F9FJ():\n N0De = a9EH.machine()\n ioKq = UyIK('machdep.cpu.brand_string')\n wokg = int(UyIK('hw.physicalcpu'))\n vCPL = int(UyIK(...
[ "0.7114325", "0.6931152", "0.6808304", "0.669254", "0.66752", "0.6670589", "0.66676104", "0.65612805", "0.65567404", "0.65403235", "0.6528852", "0.64943916", "0.6494249", "0.64903307", "0.6488959", "0.6449761", "0.644291", "0.644115", "0.64404404", "0.64330417", "0.64305496",...
0.0
-1
Start a BigQuery job and return the job id
def l8AY(QePW): rjee = QePW.args.get('job_id') NCls = J5qB.Client(project=ekCf) A97Q = NCls.collection('jobs').document(rjee) D5tn = A97Q.get(['job_type']) ucry = SE_W(int(D5tn.get('job_type'))) if ucry == SE_W.LOAD_JOB: try: rjee = ZQYf(rjee) if rjee is not None:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SSqL(fZya):\n x0hE = slhS.Client(project=ekCf)\n try:\n NCls = J5qB.Client(project=ekCf)\n A97Q = NCls.collection('jobs').document(fZya)\n Kh6j = NCls.transaction()\n TpT4 = A97Q.get(['qs', 'region'])\n zn0c = TpT4.get('region')\n lSqT = TpT4.get('qs')\n r...
[ "0.75694656", "0.67088157", "0.6661056", "0.6642696", "0.6642696", "0.6632007", "0.65125155", "0.64220023", "0.6348913", "0.6321061", "0.61724854", "0.6142073", "0.6124776", "0.6096986", "0.60663223", "0.60018814", "0.5985511", "0.59814876", "0.59787285", "0.59345114", "0.593...
0.74656034
1
Determine if this document has already expired. We need this because MongoDB TTL indexes are culled once per minute on an asable basis, meaning records might be available for up to 60 seconds after their expiry time normally and that if there are many records to cull, may be present even longer.
def CJbn(YKHO): if not YKHO.expires: return None return YKHO.expires <= wj6w()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XTIS(YKHO) -> bool:\n return ITS7.monotonic() > YKHO._time + YKHO.ttl", "def CJbn(YKHO):\n N8Pq = ITS7.time() - YKHO._last_ts\n return N8Pq > YKHO._interval", "def CJbn(YKHO) -> bool:\n if YKHO.expiry is not None and YKHO.expiry < ITS7.time():\n YKHO.hit = False\n return True\n ...
[ "0.83246684", "0.82418096", "0.8223839", "0.82123655", "0.81859905", "0.815786", "0.81527996", "0.8133419", "0.8125212", "0.8121102", "0.81091136", "0.8090441", "0.8067823", "0.8060587", "0.804078", "0.80281454", "0.798356", "0.7977081", "0.7971989", "0.79615366", "0.7948178"...
0.8060219
14
Returns the folder path ``data_dir/data_sub_dir``. If ``data_dir`` is None returns the internal data directory. By default the Greykite data dir is set to a folder named 'data' in the project source code. Alternatively, it can be set programmatically by giving an explicit folder path.
def Oh5_(h_xa=None, pmEr=None): if h_xa is None: h_xa = GkAb(xAKo).parents[1].joinpath('data') if pmEr is None: nUtl = Hy7s.path.abspath(h_xa) else: nUtl = Hy7s.path.abspath(Hy7s.path.join(h_xa, pmEr)) if not Hy7s.path.exists(nUtl): raise ValueError(f"Requested data direc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wR32() -> GkAb:\n return oAb3.Path(xAKo).parent.parent / 'data'", "def XZbG(YKHO) -> str:\n return YKHO._data_dir if YKHO._data_dir is not None else Hy7s.getcwd()", "def h_xa():\n _AKB = Hy7s.path.dirname(xAKo)\n return Hy7s.path.join(_AKB, 'data')", "def ZSVW(YKHO) -> str:\n if not YKHO.m...
[ "0.7713635", "0.74018914", "0.7279931", "0.7226305", "0.720585", "0.7203792", "0.7195361", "0.7190245", "0.71728396", "0.71320754", "0.70299846", "0.7009328", "0.70052284", "0.7004828", "0.6995671", "0.6985295", "0.69354963", "0.69137144", "0.68911123", "0.68831056", "0.68402...
0.7321646
2
Build BasicBlock. INPUT | in_channels (int) number of input channels to the block. | out_channels (int) number of output channels to the block. | stride (int) the stride to apply on the first convolution to downscale feature map. OUTPUT | BasicBlock (nn.Module)
def FIMM(YKHO, DYuh, tYiq, _0fC=1): super(em1m, YKHO).__init__() YKHO.conv1 = U78l.Conv2d(DYuh, tYiq, kernel_size=3, stride=_0fC, padding=1, bias=False) YKHO.bn1 = U78l.BatchNorm2d(tYiq) YKHO.conv2 = U78l.Conv2d(tYiq, tYiq, kernel_size=3, stride=1, padding=1, bias=False) YKHO.bn2 = U78l.BatchNorm2d(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, DYuh, tYiq, _0fC=1, myXy=None):\n super(em1m, YKHO).__init__()\n YKHO.conv1 = Myly(DYuh, tYiq, _0fC)\n YKHO.bn1 = U78l.BatchNorm2d(num_features=tYiq)\n YKHO.relu = U78l.ReLU(inplace=True)\n YKHO.conv2 = Myly(tYiq, tYiq)\n YKHO.bn2 = U78l.BatchNorm2d(num_features=tYiq)\n YKHO.dow...
[ "0.79611593", "0.7352585", "0.73078245", "0.7204039", "0.72035193", "0.71143645", "0.6992767", "0.69731855", "0.6956802", "0.6942696", "0.69417536", "0.689126", "0.68859106", "0.68796545", "0.68796545", "0.68774533", "0.68661404", "0.68135226", "0.68099284", "0.680817", "0.68...
0.769566
1
Build Bottelneck block. INPUT | in_channels (int) number of input channels to the block. | out_channels (int) number of output channels to the block. | stride (int) the stride to apply on the first convolution to downscale feature map. OUTPUT | Bottelneck (nn.Module)
def FIMM(YKHO, DYuh, tYiq, _0fC=1): super(MF6R, YKHO).__init__() YKHO.conv1 = U78l.Conv2d(DYuh, tYiq, kernel_size=1, bias=False) YKHO.bn1 = U78l.BatchNorm2d(tYiq) YKHO.conv2 = U78l.Conv2d(tYiq, tYiq, kernel_size=3, stride=_0fC, padding=1, bias=False) YKHO.bn2 = U78l.BatchNorm2d(tYiq) YKHO.conv3 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XkN1(YKHO, mWFP, DYuh, tYiq, gGyQ=2):\n XkN1 = U78l.Sequential()\n for RzcG in range(YKHO.block_depth):\n LO7q = '%s_bottleneck_%d' % (mWFP, RzcG)\n if RzcG == 0:\n XkN1.add_module(LO7q, dFzk(DYuh, tYiq, gGyQ, YKHO.cardinality, YKHO.base_width, YKHO.widen_factor))\n else:\...
[ "0.74564517", "0.7398007", "0.739728", "0.73460984", "0.7107601", "0.70801747", "0.70733416", "0.70593196", "0.69640905", "0.6915252", "0.6871442", "0.6856422", "0.6792506", "0.67778075", "0.67296654", "0.6723822", "0.66973495", "0.6668709", "0.6668254", "0.6667691", "0.66318...
0.66941404
17
Build a layer by combining multiple blocks. INPUT | block (nn.Module) the block to use (Basic or Bottleneck). | out_channels (int) number of channels in output. | num_blocks (int) number of block to stack. | stride (int) the stride to use on the first block. OUTPUT | layer (nn.Module) a sequence of blocks.
def OxUo(YKHO, XkN1, tYiq, YIPF, _0fC): FEri = [_0fC] + [1] * (YIPF - 1) fhcK = [] for _0fC in FEri: fhcK.append(XkN1(YKHO.in_channels, tYiq, _0fC)) YKHO.in_channels = tYiq * XkN1.expansion return U78l.Sequential(*fhcK)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OxUo(YKHO, XkN1, tYiq, YIPF, _0fC):\n FEri = [_0fC] + [1] * (YIPF - 1)\n fhcK = []\n for _0fC in FEri:\n fhcK.append(XkN1(YKHO.state, YKHO.in_channels, tYiq, _0fC))\n YKHO.in_channels = tYiq * XkN1.expansion\n return U78l.Sequential(*fhcK)", "def OxUo(YKHO, XkN1, tYiq, YIPF, _0fC):\...
[ "0.7835021", "0.783281", "0.78056717", "0.78056717", "0.7586341", "0.7508313", "0.7508313", "0.7457901", "0.74516034", "0.7447713", "0.7424279", "0.73658866", "0.73504984", "0.7279425", "0.7225175", "0.7182247", "0.7111765", "0.70878744", "0.70681447", "0.69997925", "0.696619...
0.77244556
4
Forward pass of the ResNet. INPUT | x (torch.tensor) input with shape [B, Input_channels, H, W] OUTPUT | out (torch.tensor) output with shape [B, num_classes]
def KVH6(YKHO, WKvO): yvT9 = YKHO.relu(YKHO.bn1(YKHO.conv1(WKvO))) yvT9 = YKHO.maxpool(yvT9) yvT9 = YKHO.layer1(yvT9) yvT9 = YKHO.layer2(yvT9) yvT9 = YKHO.layer3(yvT9) yvT9 = YKHO.layer4(yvT9) yvT9 = YKHO.avgpool(yvT9) yvT9 = ht2j.flatten(yvT9, 1) yvT9 = YKHO.linear(yvT9) return ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, WKvO):\n M4re = YKHO.cnn_model(WKvO)\n M4re = M4re.view(M4re.shape[0], -1)\n yvT9 = YKHO.fc_model(M4re)\n return yvT9", "def KVH6(YKHO, WKvO):\n Gzv5 = WKvO.size()[2:]\n WKvO = YKHO.resnet.conv1(WKvO)\n WKvO = YKHO.resnet.bn1(WKvO)\n WKvO = YKHO.resnet.relu(WKvO)\n WKvO ...
[ "0.7591249", "0.75580865", "0.7458535", "0.73410404", "0.7314485", "0.73102343", "0.7301925", "0.7300058", "0.72994184", "0.725579", "0.7254645", "0.72474396", "0.7245823", "0.7229052", "0.7209516", "0.7203534", "0.7200501", "0.7190294", "0.7186747", "0.7184993", "0.71595234"...
0.6961936
60
Configure and initialize spark context and spark session.
def P7xb(YKHO): GPtr = atdS.SparkConf().setAll([('spark.dynamicAllocation.enabled', 'True'), ('spark.executor.cores', str(YKHO.n_spark_workers))]) YKHO.sc = XYQe(conf=GPtr) YKHO.ss = lBG2(YKHO.sc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eOfA(Emd4):\n Emd4.spark = lBG2.builder.appName('ALS Recommendation Engine').master('local').getOrCreate()", "def EZVI():\n Fv2L = Mwml().setAppName('FeatureConstruction').set('spark.hadoop.validateOutputSpecs', 'false')\n return XYQe(conf=Fv2L)", "def nr89(YKHO):\n if not YKHO._spark_context a...
[ "0.78747666", "0.78220844", "0.7609665", "0.7478921", "0.739481", "0.7319545", "0.7245997", "0.71280086", "0.71104825", "0.71063125", "0.70792764", "0.7078732", "0.7060148", "0.7041085", "0.70362896", "0.7019234", "0.7005826", "0.698662", "0.6982787", "0.6982787", "0.69735676...
0.7700868
2
Split a pathname into components (the opposite of os.path.join) in a platformneutral way.
def c6pt(pmON, Aofo=None): if Aofo is None: Aofo = [] sdCG, J3uN = Hy7s.path.split(pmON) if sdCG == '': return [J3uN] + Aofo if sdCG == pmON: return Aofo return c6pt(sdCG, [J3uN] + Aofo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lpha(YKHO, pmON):\n raise NotImplementedError", "def eQ8x(pmON):\n return Hy7s.path.split(pmON)", "def KkWy(pmON):\n return Hy7s.path.normpath(pmON).strip('/').split('/')", "def eQ8x(pmON):\n return pmON.lstrip(Hy7s.sep).rstrip(Hy7s.sep).split(Hy7s.sep)", "def KkWy(pmON):\n pmON = Hy7s.p...
[ "0.731871", "0.7279669", "0.7227417", "0.7203109", "0.71589935", "0.7153627", "0.70472276", "0.70412683", "0.6969088", "0.69598806", "0.69113326", "0.69101", "0.6884037", "0.6875503", "0.6852763", "0.6852763", "0.68166643", "0.67810327", "0.6761554", "0.67368156", "0.6713497"...
0.61365026
64
Test that the user is not notified of their own posts to a thread.
def fDia(v8dU): assert k1TJ(v8dU).isdisjoint({'Post 11', 'Post 21', 'Post 2121', 'Post 41'})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rz7l(v8dU):\n assert k1TJ(v8dU).isdisjoint({'Post 41', 'Post 42'})", "def gwGr(oBPy, v8dU):\n assert 'Post 212' not in k1TJ(oBPy) | k1TJ(v8dU)", "def MF_g(YKHO):\n YKHO.reply_thread()\n TSvT.make_read_aware(YKHO.user, YKHO.thread)\n YKHO.assertFalse(YKHO.thread.is_read)", "def aQJI(YKHO, Y...
[ "0.71800464", "0.69023633", "0.68698233", "0.6746708", "0.6561522", "0.64639795", "0.6339195", "0.6277584", "0.6263822", "0.6238016", "0.6221933", "0.6219935", "0.62184715", "0.61901635", "0.61854196", "0.6178322", "0.6170789", "0.6161816", "0.61250895", "0.6096429", "0.60866...
0.7014784
1
Normalize and scale the generated perturbations with norm mag_in fixed norm type "inf"
def e5he(YKHO, inhh, JBMS, M1Jx): inhh.data += 1 inhh.data *= 0.5 for Z9rn in range(YKHO.ncInput): inhh.data[:, Z9rn, :, :] = (inhh.data[:, Z9rn, :, :] - JBMS[Z9rn]) / M1Jx[Z9rn] lHmx = inhh.size(0) for YRbF in range(lHmx): for yuVB in range(YKHO.ncInput): wBxr = inhh[YRb...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jnV4(YKHO):\n NUHp = oyIN.max(oyIN.median(YKHO.templates, axis=1))\n YKHO.waveform /= NUHp\n YKHO.filtered /= NUHp\n YKHO.templates /= NUHp", "def kwsU(YKHO, Byr5=1):\n r8hN = YKHO.mag()\n UH90 = r8hN / Byr5\n YKHO.div(UH90, UH90)", "def kwsU(YKHO, Byr5=1):\n r8hN = YKHO.mag()\n ...
[ "0.674882", "0.66954076", "0.66903937", "0.66840667", "0.6360344", "0.6319982", "0.6290843", "0.6288482", "0.62312335", "0.6211744", "0.62117165", "0.6210425", "0.6200522", "0.61828417", "0.61755925", "0.6154062", "0.6137048", "0.6128818", "0.6104027", "0.60785735", "0.607658...
0.64641505
4
Determine all prime and composite factors of number.
def z0ke(FGW3): uBVK = tuple(dhbw(FGW3)) ypit = xxUt((1,) + uBVK) return tuple(sorted(ypit))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uBVK(FGW3: int, vBWh=True):\n T2gm = []\n vJhl = FGW3\n while FGW3 % 2 == 0:\n T2gm.append(2)\n FGW3 /= 2\n for YRbF in range(3, lO1m(PZyS(vJhl)) + 2, 2):\n while FGW3 % YRbF == 0:\n T2gm.append(YRbF)\n FGW3 /= YRbF\n return T2gm if vBWh else set(T2gm)"...
[ "0.77407557", "0.77208024", "0.7686527", "0.7679558", "0.75730747", "0.75322604", "0.7514512", "0.74969685", "0.7480279", "0.7436837", "0.7427525", "0.7415821", "0.74155974", "0.7412284", "0.7399", "0.7398351", "0.73517257", "0.7347574", "0.7343946", "0.7339367", "0.7338903",...
0.8003745
0
r""" The Frobenius Norm of the difference between the target and the aligned source.
def zr_C(YKHO): return oyIN.linalg.norm(YKHO.target.points - YKHO.aligned_source.points)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zn0E(YKHO) -> 'long double':\n return hBPC.vnl_matrixLD_frobenius_norm(YKHO)", "def zn0E(YKHO) -> 'double':\n return hBPC.vnl_matrixD_frobenius_norm(YKHO)", "def zn0E(YKHO) -> 'float':\n return hBPC.vnl_matrixF_frobenius_norm(YKHO)", "def zn0E(YKHO):\n if Zxt2.sparse.issparse(YKHO.data):\n ...
[ "0.71308154", "0.7095664", "0.7049167", "0.7048052", "0.7041022", "0.69864386", "0.6977912", "0.69708306", "0.6965846", "0.69605476", "0.6950035", "0.69273055", "0.69022226", "0.68844557", "0.68688154", "0.68562067", "0.68369585", "0.68337256", "0.67931676", "0.67656124", "0....
0.6168608
54
Returns set of all possible actions (i, j) available on the board.
def xASv(iBIi): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xASv(iBIi):\n Ylbp = set()\n for YRbF in range(len(iBIi)):\n for r845 in range(len(iBIi[0])):\n if iBIi[YRbF][r845] == KAvf:\n Ylbp.add((YRbF, r845))\n return Ylbp", "def xASv(YKHO):\n hksT = YKHO.locs[YKHO.player()]\n if hksT is None:\n return YKHO.libe...
[ "0.8078164", "0.7935423", "0.7917879", "0.7912585", "0.78729856", "0.7766741", "0.77509874", "0.77447766", "0.7738995", "0.7731153", "0.7730132", "0.7709082", "0.77006704", "0.76862395", "0.7676969", "0.76713663", "0.7665846", "0.7654127", "0.7642262", "0.7634384", "0.7632887...
0.6881041
95
Returns the degree point on the circumference of a circle
def AGNU(tjON: int, hgjH: Coord, r1VO: int) -> mb3R: tjON %= 360 WKvO = hgjH[0] + r1VO * epAf.cos((tjON - 90) * epAf.pi / 180) LVAh = hgjH[1] + r1VO * epAf.sin((tjON - 90) * epAf.pi / 180) return (WKvO, LVAh)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Stx3(r1VO):\n return 2 * XTiz.pi * r1VO", "def Stx3(Mkmy):\n return 2 * mM0K * Mkmy", "def CCto(WKvO, LVAh):\n if not oyIN.isscalar(WKvO):\n WKvO = oyIN.asarray(WKvO)\n if not oyIN.isscalar(LVAh):\n LVAh = oyIN.asarray(LVAh)\n r1VO = oyIN.sqrt(WKvO ** 2 + LVAh ** 2)\n yYoP =...
[ "0.7806603", "0.77281046", "0.76735586", "0.76397747", "0.7608014", "0.7429698", "0.7333815", "0.73179907", "0.7181881", "0.7137916", "0.71284467", "0.70961607", "0.70711064", "0.7046567", "0.70306265", "0.7030594", "0.7005075", "0.69382185", "0.69313914", "0.6872445", "0.686...
0.7329053
7
Small utility to fix length of input string
def cv6a(KCHu: str, exwG: int=5): assert exwG > 0, 'ZeroDivisionError - n must be greater than 0!' QyVM = epAf.ceil(len(KCHu) / exwG) return KCHu[::QyVM]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fZSQ(Emd4, vIwR, L35y=20):\n if Emd4.check_if_string_has_proper_length(vIwR, L35y) is False:\n MvT2 = vIwR[:L35y]\n return MvT2\n return vIwR", "def G34s(KCHu, u54L=1, B6O7='...'):\n if len(KCHu) < u54L:\n return KCHu\n else:\n return KCHu[:u54L] + B6O7", "def lrHk(K...
[ "0.72881544", "0.7158123", "0.7081488", "0.6989182", "0.6963669", "0.69631726", "0.6910691", "0.6910691", "0.6896727", "0.6883119", "0.68731683", "0.68680876", "0.6867223", "0.6851776", "0.68190384", "0.68164426", "0.68098354", "0.6793258", "0.67436165", "0.67286754", "0.6688...
0.7320313
0
clean sentence list, return new column
def RO_a(rdlD, gacu): bRUz = [] for yAmx in rdlD[gacu]: bRUz.append(xAzW(yAmx.text)) return bRUz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vl6w(l_7H):\n Kn32 = l_7H.where(l_7H['NewsText'].isNotNull()).withColumn('NewsTextClean', eHNT.regexp_replace('NewsText', '[^0-9a-zA-Z ]', ' '))\n jX5b = Kn32.select(eHNT.split(Kn32['NewsTextClean'], ' ').alias('NewsTextClean'))\n ohQD = gId1(inputCol='NewsTextClean', outputCol='NoStopWords')\n Dn4...
[ "0.66411257", "0.6567011", "0.65145504", "0.64436543", "0.6372272", "0.634334", "0.6327096", "0.6264052", "0.6263012", "0.61942935", "0.6150511", "0.6140661", "0.6067067", "0.603703", "0.6023188", "0.60206664", "0.6014889", "0.5965792", "0.5948044", "0.5941696", "0.5896375", ...
0.7514039
0
Returns the string representation of the model
def gTzM(YKHO): import simplejson as qQXR if jKi7.PY2: import sys U3hF(sys) sys.setdefaultencoding('utf-8') return qQXR.dumps(yInN(YKHO), ensure_ascii=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.8043786
30
Clones the embedded field(s) of the documents in this collection.
def RCDF(Emd4, NSNj, QN2v, _435): if not NSNj: return Emd4._clone_fields_collection(NSNj, QN2v, _435)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i3ak(YKHO):\n return YKHO.clone_into(YKHO.__class__(YKHO._document, YKHO._collection_obj))", "def h7wm(YKHO):\n\n class Number(yQaM):\n exwG = rr2W()\n KUXB.drop_collection()\n for YRbF in Ni9Y(1, 101):\n a1PO = KUXB(n=YRbF)\n a1PO.save()\n QOe9 = KUXB.objects\n wY1Q = ...
[ "0.6648609", "0.5895803", "0.58662623", "0.5778184", "0.5705903", "0.56895804", "0.5667923", "0.5577399", "0.55373347", "0.54336995", "0.5433459", "0.5427352", "0.5417144", "0.5387495", "0.53845245", "0.5333248", "0.53273493", "0.5322493", "0.5312345", "0.5306156", "0.5278721...
0.6635082
1
Check if is one of the norms.
def GGwy(KZ52): if isinstance(KZ52, (lxnG, _bh1)): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GGwy(KZ52):\n if isinstance(KZ52, (lxnG, _bh1)):\n return True\n return False", "def GGwy(KZ52):\n if isinstance(KZ52, (lxnG, _bh1)):\n return True\n return False", "def VlIo(Emd4):\n return 'Norm' in Emd4.__name__", "def dPu6(YKHO):\n YKHO.assertEqual(pLcG.norm([0 for YRb...
[ "0.70591986", "0.70591986", "0.69423366", "0.6682114", "0.6581134", "0.6396519", "0.63847077", "0.63474846", "0.61689806", "0.616665", "0.61491287", "0.6145652", "0.608684", "0.6044161", "0.6031274", "0.60274243", "0.60203975", "0.59878695", "0.59831625", "0.5974968", "0.5969...
0.7012284
2
Creates an instance of this client using the provided credentials file.
def eWUZ(Emd4, Ux0P: str, *qIxc, **B2fa): return Ynks.from_service_account_file.__func__(w0gp, Ux0P, *qIxc, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def adK6(Emd4, *, bD7m: str, NtEF: Union[str, StrStorage], jTXt: Union[str, StrStorage], emKz: Optional[FileTransfer]=None) -> i9zE:\n return i9zE(client=WX3b.from_credentials(url=bD7m, username=NtEF, password=jTXt), file_transfer=emKz)", "def vuB2(Nu1S=None, QpfX=None, mwuo=None, MYjm=None, QDug=None, NtEF=N...
[ "0.7249915", "0.7053171", "0.68975395", "0.68081045", "0.6802571", "0.6738844", "0.67199385", "0.6675532", "0.6666354", "0.6666354", "0.6666354", "0.6666354", "0.6666354", "0.6660721", "0.6660721", "0.6660721", "0.6660721", "0.6660721", "0.6646984", "0.6643617", "0.66432035",...
0.6062561
61