query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Returns the value to which the specified key is mapped, or 1 if this map contains no mapping for the key
def NMoC(YKHO, H5ew: int) -> int: or8S = H5ew % YKHO.size if YKHO.mp[or8S]: for YRbF in range(len(YKHO.mp[or8S])): if YKHO.mp[or8S][YRbF][0] == H5ew: return YKHO.mp[or8S][YRbF][1] return -1 else: return -1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(YKHO, H5ew: int) -> int:\n if H5ew not in YKHO.map:\n return -1\n return YKHO.map[H5ew]", "def NMoC(YKHO, H5ew: int) -> int:\n if H5ew in YKHO.hashmap.keys():\n return YKHO.hashmap[H5ew]\n else:\n return -1", "def NMoC(YKHO, H5ew: int) -> int:\n lWrn = H5ew % 37\n ...
[ "0.8004181", "0.79102916", "0.7629919", "0.756535", "0.7556953", "0.75304717", "0.7526158", "0.7493195", "0.7374779", "0.72952664", "0.72940034", "0.72176445", "0.71817064", "0.717828", "0.71625984", "0.69816315", "0.69285554", "0.6785937", "0.67571914", "0.6733915", "0.66132...
0.7222593
11
Returns the value to which the specified key is mapped, or 1 if this map contains no mapping for the key
def NMoC(YKHO, H5ew): DMRb = H5ew % YKHO.key_space return YKHO.hash_table[DMRb].get(H5ew)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(YKHO, H5ew: int) -> int:\n if H5ew not in YKHO.map:\n return -1\n return YKHO.map[H5ew]", "def NMoC(YKHO, H5ew: int) -> int:\n if H5ew in YKHO.hashmap.keys():\n return YKHO.hashmap[H5ew]\n else:\n return -1", "def NMoC(YKHO, H5ew: int) -> int:\n lWrn = H5ew % 37\n ...
[ "0.8004181", "0.79102916", "0.7629919", "0.756535", "0.7556953", "0.75304717", "0.7526158", "0.7493195", "0.7374779", "0.72952664", "0.72940034", "0.7222593", "0.72176445", "0.71817064", "0.717828", "0.71625984", "0.69816315", "0.69285554", "0.6785937", "0.67571914", "0.67339...
0.5840598
65
Returns the canonical URL for this instance. References `get_absolute_url()`_
def hlzF(YKHO) -> str: return gxEw('accounts:user-detail', args=[str(YKHO.user.id)])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hlzF(YKHO):\n return YKHO.slug", "def uS6i(YKHO):\n if YKHO.article.final_url:\n B2fa = {'tag': 'link', 'attr': 'rel', 'value': 'canonical'}\n e5kH = YKHO.parser.getElementsByTag(YKHO.article.doc, **B2fa)\n if e5kH is not None and len(e5kH) > 0:\n qvey = YKHO.parser.getA...
[ "0.79397535", "0.7904348", "0.75072145", "0.75039196", "0.736469", "0.7239944", "0.7187903", "0.717445", "0.70453185", "0.70269036", "0.70269036", "0.699991", "0.69523066", "0.6882423", "0.6881941", "0.6869155", "0.6835402", "0.6807677", "0.68027925", "0.67201734", "0.6674523...
0.0
-1
Draw on an image the bounding boxes on frame_tracks, with a different color for each track
def pTa2(LNo8, bZMM, Jw9H, W8mS=False, Ykx4=False, Tmv3='test.png'): for id in bZMM.keys(): cviu = bZMM[id] tfZ6, QymI, tVN0, nkgu = cviu['bbox'] XC5k.rectangle(LNo8, (tfZ6, QymI), (tVN0, nkgu), Jw9H[id] * 255, 20) XC5k.putText(LNo8, str(id), (tfZ6, QymI), XC5k.FONT_HERSHEY_SIMPLEX, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ercj(LNo8, bZMM, Jw9H, W8mS=False, Ykx4=False, Tmv3='test.png'):\n LZpg, aNZO = QrM1.subplots()\n aNZO.imshow(XC5k.cvtColor(LNo8, XC5k.COLOR_BGR2RGB), cmap='gray')\n (QrM1.xticks([]), QrM1.yticks([]))\n for id in bZMM.keys():\n cviu = bZMM[id]\n tfZ6, QymI, tVN0, nkgu = cviu['bbox']\n...
[ "0.7231601", "0.69444764", "0.62043005", "0.5989387", "0.59423065", "0.59415907", "0.5906465", "0.58898765", "0.5884432", "0.58801574", "0.5865228", "0.58565754", "0.5842156", "0.58415973", "0.58323175", "0.5824195", "0.5804158", "0.58015215", "0.5799903", "0.57890046", "0.57...
0.7106114
1
Return True if obj is a string or non iterable
def JJww(YEnM): return hasattr(YEnM, 'rstrip') or not (hasattr(YEnM, '__getitem__') or hasattr(YEnM, '__iter__'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XNOR(YEnM: object) -> bool:\n return not (isinstance(YEnM, str) or isinstance(YEnM, bytes)) and isinstance(YEnM, iu5r)", "def AVNT(YEnM):\n return not isinstance(YEnM, jUrF) and isinstance(YEnM, iu5r)", "def kUz6(YEnM, _CS_=False, isinstance=isinstance, iu5r=iu5r):\n return isinstance(YEnM, iu5r) ...
[ "0.84285563", "0.83334494", "0.8150007", "0.8097691", "0.8062227", "0.80372655", "0.7920058", "0.78959554", "0.7860199", "0.7822824", "0.781209", "0.7809038", "0.7802446", "0.77585155", "0.7600159", "0.7517114", "0.75018835", "0.7474328", "0.7434571", "0.7407439", "0.73216915...
0.73294985
20
Add headers to both force latest IE rendering engine or Chrome Frame, and also to cache the rendered page for 10 minutes.
def PYz4(Mkmy): Mkmy.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate' Mkmy.headers['Pragma'] = 'no-cache' Mkmy.headers['Expires'] = '0' Mkmy.headers['Cache-Control'] = 'public, max-age=0' return Mkmy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PYz4(geh0):\n geh0.headers['X-UA-Compatible'] = 'IE=Edge,chrome=1'\n geh0.headers['Cache-Control'] = 'public, max-age=60'\n return geh0", "def PYz4(geh0):\n geh0.headers['X-UA-Compatible'] = 'IE=Edge,chrome=1'\n geh0.headers['Cache-Control'] = 'public, max-age=600'\n return geh0", "def PY...
[ "0.8223418", "0.8222592", "0.8222592", "0.8222592", "0.8222592", "0.8195761", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "0.8163386", "...
0.7141783
44
(list of int, int) > NoneType The funtion mutates the deck by swapping the card at given index with the following card. >>> swap_cards([5, 8, 1, 3, 2, 4, 7, 6], 2) >>> swap_cards([5, 6, 7, 1, 3, 2, 4], 3)
def yyPz(nf_0, d6pt): if d6pt == len(nf_0) - 1: nf_0[0], nf_0[-1] = (nf_0[-1], nf_0[0]) else: nf_0[d6pt], nf_0[d6pt + 1] = (nf_0[d6pt + 1], nf_0[d6pt])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yyPz(nf_0: List[int], d6pt: int) -> None:\n if d6pt == len(nf_0) - 1:\n b3SJ = nf_0[d6pt]\n nf_0[d6pt] = nf_0[0]\n nf_0[0] = b3SJ\n else:\n b3SJ = nf_0[d6pt]\n nf_0[d6pt] = nf_0[d6pt + 1]\n nf_0[d6pt + 1] = b3SJ", "def yyPz(Bv_7, d6pt):\n if d6pt != len(Bv_7...
[ "0.83169466", "0.77344364", "0.71126163", "0.7112253", "0.69378555", "0.68194324", "0.6512175", "0.6503032", "0.6424223", "0.6130206", "0.61106616", "0.607789", "0.6077389", "0.60530096", "0.5961425", "0.59474367", "0.58971065", "0.58907413", "0.585749", "0.5852532", "0.58459...
0.7821934
1
(list of int) > int The function returns the value of the top card as an index, and returns the card at that index. If the top is the big joker, use the small joker as an index. >>> get_card_at_top_index([1, 7, 6, 2, 3, 4, 5]) 7 >>> get_card_at_top_index([4, 7, 6, 3, 5, 1, 2]) 5
def bZH4(nf_0): N_By = CcVf(nf_0) if nf_0[0] == yw7D(nf_0): return nf_0[CcVf(nf_0)] else: return nf_0[nf_0[0]]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bZH4(Bv_7):\n D_Dn = yw7D(Bv_7)\n N_By = CcVf(Bv_7)\n ZXfF = Bv_7[0]\n if ZXfF == D_Dn:\n return Bv_7[N_By]\n else:\n return Bv_7[ZXfF]", "def bZH4(nf_0: List[int]) -> int:\n o3Pd = nf_0[0]\n if o3Pd == max(nf_0):\n o3Pd = CcVf(nf_0)\n oY58 = nf_0[o3Pd]\n e...
[ "0.8430752", "0.8368957", "0.65628237", "0.6508303", "0.6480749", "0.62888247", "0.6132346", "0.61089146", "0.6069625", "0.6052614", "0.6019172", "0.5985446", "0.5959198", "0.59510815", "0.5919342", "0.5912086", "0.5903366", "0.57885253", "0.57684875", "0.5756766", "0.5699034...
0.8284063
2
Check if block_hash is valid hash of block and satisfies the difficulty criteria.
def _idp(YKHO, XkN1, c8ok): return c8ok.startswith('0' * pNHx.difficulty) and c8ok == XkN1.compute_hash()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _idp(YKHO, XkN1, c8ok):\n return c8ok.startswith('0' * pNHx.difficulty) and c8ok == Sfmh()", "def _idp(Emd4, XkN1, c8ok):\n return c8ok.startswith('0' * pNHx.difficulty) and c8ok == XkN1.compute_hash()", "def _idp(Emd4, XkN1, c8ok):\n return c8ok.startswith('0' * pNHx.difficulty) and c8ok == XkN1....
[ "0.8461188", "0.7979075", "0.7979075", "0.78142095", "0.74190104", "0.7335974", "0.70439756", "0.6898661", "0.6725774", "0.65993714", "0.6548844", "0.6510162", "0.64781404", "0.6453064", "0.64419734", "0.6414622", "0.63950735", "0.639226", "0.63585657", "0.63573205", "0.63508...
0.7990994
1
Set the value of the future. This may only be done once.
def set(YKHO, BWXx): assert not YKHO.event.is_set() YKHO.value = BWXx YKHO.event.set()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Kiag(YKHO, KS9L):\n YKHO._future = KS9L", "async def set(YKHO, BWXx: Any) -> None:\n async with YKHO.condition:\n YKHO.value = BWXx\n YKHO.condition.notify_all()", "def h_S5(YKHO, BWXx):\n YKHO._local._value = BWXx\n if T6FA.current_thread() is YKHO._root_thread:\n YKHO._ro...
[ "0.81511164", "0.71869475", "0.7174392", "0.70301986", "0.68746793", "0.67708147", "0.6714509", "0.6695727", "0.6605135", "0.65473336", "0.6526545", "0.65242565", "0.6518479", "0.6483149", "0.6483149", "0.6450734", "0.6445864", "0.6445864", "0.6445864", "0.6445864", "0.644586...
0.6778289
5
Return a version string of the latest APK version.
def DpZH(YKHO): if not YKHO._version: YKHO._version = YKHO._get_version() return YKHO._version
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jAkX(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'latest_version_number')", "def kaPv(YKHO) -> str:\n return fsDn.get_version()", "def kaPv():\n return '0.0.1 (prerelease prototype)'", "def kaPv():\n iw9k = ['%(major)i.%(minor)i' % RoPu]\n if RoPu['micro']:\n iw9k.append('.%(...
[ "0.74020886", "0.7350751", "0.73266", "0.73018694", "0.7233651", "0.72319394", "0.71115315", "0.7107694", "0.7101634", "0.7068449", "0.70358557", "0.7023338", "0.7007341", "0.70070773", "0.7002844", "0.6999086", "0.6997078", "0.69772154", "0.69648534", "0.695762", "0.6950873"...
0.0
-1
A query for an unknown user must return a 404 status code.
def EmYe(YKHO): YKHO.sign_in() geh0 = YKHO.client.get(gxEw('backend:user_details', args=(0,))) YKHO.assertEqual(geh0.status_code, 404)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bF6V(YKHO):\n _hkX = YKHO.app.get('/users/thisuserdoesntexist')\n assert _hkX.status_code == 404", "def vEH7(YKHO):\n geh0 = YKHO.client.get('/api/v2/projects/queries/non_existent/touched/')\n YKHO.assertEqual(geh0.status_code, 404)", "def kvUW(YKHO, Vqeh):\n Vqeh.get.return_value = None\n ...
[ "0.757701", "0.75699514", "0.72638494", "0.72149855", "0.7197626", "0.70950204", "0.7090081", "0.701981", "0.6964456", "0.6901627", "0.6834508", "0.68176764", "0.6771068", "0.67408645", "0.66560835", "0.66472983", "0.66286045", "0.6618836", "0.6605758", "0.6582285", "0.652114...
0.71590006
5
Sending a request without a `password` request parameter must return a 400 error.
def pQNQ(YKHO): geh0 = YKHO.register({'first_name': 'David', 'last_name': 'Smith', 'email': 'david.smith@mom.com', 'phone_number': '012-345-6789'}) YKHO.assertEqual(geh0.status_code, 400) YKHO.assertDictContainsSubset({'message': 'Missing parameters'}, geh0.json())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_post_password_recoveries__bad_request(x0hE):\n geh0 = await x0hE.post('/password_recoveries/', json={'some-useless-field': 'foo'})\n assert geh0.status == 400", "def _ef9():\n return c1Bu(400)", "def ytql(YKHO):\n geh0 = YKHO.client.post('/api/v2/auth/login', data=qQXR.dumps(DW23[7])...
[ "0.720546", "0.7150178", "0.6913645", "0.6832836", "0.67685163", "0.6767013", "0.6714813", "0.67040884", "0.66772753", "0.6676721", "0.6659586", "0.6649965", "0.6638357", "0.6633523", "0.65945655", "0.6587868", "0.65782994", "0.6569439", "0.65271235", "0.65045196", "0.6450718...
0.6762625
6
Sending a request without an `email` request parameter must return a 400 error.
def ZGiz(YKHO): geh0 = YKHO.register({'first_name': 'David', 'last_name': 'Smith', 'password': '******', 'phone_number': '012-345-6789'}) YKHO.assertEqual(geh0.status_code, 400) YKHO.assertDictContainsSubset({'message': 'Missing parameters'}, geh0.json())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Thqr(x0hE, FYrf):\n geh0 = x0hE.post('/password/reset-request', json={'email': 'not-a-real@email.com'})\n assert geh0.status_code == 404", "def _ef9():\n return c1Bu(400)", "def sZPp(YKHO):\n nPrm = YKHO.user_data.copy()\n nPrm.pop('email')\n geh0 = YKHO.client.post(YKHO.url, nPrm, format...
[ "0.70593774", "0.69336706", "0.6843372", "0.67586035", "0.67586035", "0.67536", "0.67361397", "0.6720486", "0.66924226", "0.6682856", "0.66822046", "0.66598594", "0.6640234", "0.6634708", "0.6623896", "0.6588158", "0.6578471", "0.6502052", "0.6498784", "0.6494061", "0.6466241...
0.6560098
17
Sending a request with a blank `email` request parameter must return a 400 error.
def hdC2(YKHO): geh0 = YKHO.register({'first_name': 'David', 'last_name': 'Smith', 'password': '******', 'email': '', 'phone_number': '012-345-6789'}) YKHO.assertEqual(geh0.status_code, 400) YKHO.assertDictContainsSubset({'message': 'Password/Email cannot be empty'}, geh0.json())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Thqr(x0hE, FYrf):\n geh0 = x0hE.post('/password/reset-request', json={'email': 'not-a-real@email.com'})\n assert geh0.status_code == 404", "def RQB3(YKHO):\n nPrm = qQXR.dumps({'email': '', 'password': '123456'})\n geh0 = YKHO.client().post('/api/v1/login', data=nPrm, content_type='application/js...
[ "0.70741844", "0.70335484", "0.69518155", "0.6880298", "0.6880298", "0.6874552", "0.68134874", "0.67650694", "0.67627984", "0.67539746", "0.67415833", "0.67401016", "0.67192286", "0.6704304", "0.66925204", "0.6691991", "0.66717935", "0.6663471", "0.65430593", "0.6505024", "0....
0.65211767
19
Sending a request with an already existing `email` request parameter must return a 400 error.
def wiRp(YKHO): NArs = {'first_name': 'David', 'last_name': 'Smith', 'password': '******', 'email': 'david.smith@mom.com', 'phone_number': '012-345-6789'} YKHO.register(NArs) geh0 = YKHO.register(NArs) YKHO.assertEqual(geh0.status_code, 400) YKHO.assertDictContainsSubset({'message': 'Phone number/em...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Thqr(x0hE, FYrf):\n geh0 = x0hE.post('/password/reset-request', json={'email': 'not-a-real@email.com'})\n assert geh0.status_code == 404", "def MWAh(YKHO):\n nPrm = YKHO.user_data.copy()\n nPrm['email'] = 'test2@test.com'\n geh0 = YKHO.client.post(YKHO.url, nPrm, format='json')\n YKHO.asser...
[ "0.69400656", "0.6847345", "0.67115164", "0.67015976", "0.6696879", "0.6612051", "0.658267", "0.6580306", "0.6547056", "0.6547056", "0.6532874", "0.65083736", "0.65083736", "0.6466007", "0.6431288", "0.63779557", "0.6377067", "0.6371997", "0.63108176", "0.62978464", "0.629709...
0.6163088
29
Sending a sign in request without an `email` request parameter must return a 400 error.
def wOaB(YKHO): geh0 = YKHO.client.post(gxEw('backend:sign_in'), {'password': '******'}) YKHO.assertEqual(geh0.status_code, 400) YKHO.assertDictContainsSubset({'status': 'failure'}, geh0.json()) YKHO.assertDictContainsSubset({'message': 'Missing parameters'}, geh0.json())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R6lD(YKHO):\n geh0 = YKHO.client.post('/api/v2/auth/login', data=qQXR.dumps(DW23[6]), content_type='application/json')\n YKHO.assertEqual(geh0.status_code, 400)\n YKHO.assertIn('Missing required parameter ', str(geh0.data))", "def Hhyy(nPrm):\n if 'email' in nPrm:\n if V7zm(nPrm['email']):...
[ "0.67451", "0.67221314", "0.67154175", "0.662729", "0.65787643", "0.65474606", "0.6453221", "0.6356258", "0.6352138", "0.63146853", "0.63018894", "0.6240601", "0.622584", "0.62224513", "0.6141697", "0.61063814", "0.60809183", "0.6054309", "0.6053659", "0.60360426", "0.6035620...
0.72418934
0
Sending a sign in request with an invalid `email` request parameter must return a 401 error.
def Ak2p(YKHO): CBIr = mv1M.objects.create(email='david.smith@mom.com', password='******') geh0 = YKHO.client.post(gxEw('backend:sign_in'), {'email': 'wrong@email.com', 'password': CBIr.password}) YKHO.assertEqual(geh0.status_code, 401) YKHO.assertDictContainsSubset({'status': 'failure'}, geh0.json()) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def awmw(D3lj, jTXt):\n CBIr = mv1M.get_byemail(D3lj)\n if not CBIr:\n return (\"Account doesn't exists, please register\", 401)\n iJPz = 'email${}'.format(CBIr.id)\n JL98 = HpJT.exists(iJPz)\n if not JL98:\n return ('Existing user with google or facebook account, not email', 401)\n ...
[ "0.7110344", "0.6856103", "0.6817743", "0.67419046", "0.67022127", "0.6634645", "0.6614103", "0.65519", "0.64859724", "0.6420294", "0.63928956", "0.6360221", "0.6352962", "0.6345161", "0.6318314", "0.6288452", "0.62824947", "0.6233794", "0.6192361", "0.6176929", "0.6170488", ...
0.69257593
1
Sending a sign in request with an invalid `email` request parameter must return a 401 error.
def wlrF(YKHO): CBIr = mv1M.objects.create(email='david.smith@mom.com', password='******') geh0 = YKHO.client.post(gxEw('backend:sign_in'), {'email': CBIr.email, 'password': 'wrong_password'}) YKHO.assertEqual(geh0.status_code, 401) YKHO.assertDictContainsSubset({'status': 'failure'}, geh0.json()) Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def awmw(D3lj, jTXt):\n CBIr = mv1M.get_byemail(D3lj)\n if not CBIr:\n return (\"Account doesn't exists, please register\", 401)\n iJPz = 'email${}'.format(CBIr.id)\n JL98 = HpJT.exists(iJPz)\n if not JL98:\n return ('Existing user with google or facebook account, not email', 401)\n ...
[ "0.71108764", "0.6927691", "0.6858432", "0.6819163", "0.67433053", "0.67028", "0.66368735", "0.66166484", "0.65511245", "0.6488245", "0.6422437", "0.6392444", "0.6361529", "0.6352191", "0.63476765", "0.6320803", "0.6290245", "0.62832296", "0.62329906", "0.61942", "0.61792386"...
0.58817714
50
Return the LandauLifshitz torque m moment unit vector heff effective magnetic field alpha Gilbert damping parameter
def nLTY(r8hN, wlXC, Cwt5): abbc = oyIN.cross(wlXC, r8hN) return abbc + Cwt5 * oyIN.cross(r8hN, abbc)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TqFH(YKHO):\n\n def bwXI(r8hN):\n wlXC = YKHO.field(r8hN)\n r6TB = H_4W.landau_lifshitz(r8hN, wlXC, YKHO.damping)\n if YKHO.stt != 0:\n r6TB += H_4W.slonczewski(r8hN, YKHO.Jc, YKHO.stt)\n return r6TB\n YKHO.torque = bwXI", "def cm_V(epBp, a1PO=1.0):\n q7Di = 2 ...
[ "0.6267058", "0.60297215", "0.5872876", "0.58271825", "0.581367", "0.5790903", "0.5741664", "0.5741664", "0.5721938", "0.5720839", "0.5716535", "0.56928045", "0.56830835", "0.56767845", "0.56408024", "0.56408024", "0.56180066", "0.5581955", "0.5571666", "0.5570663", "0.556670...
0.59770703
2
Return the Slonczewski spintransfer torque m moment unit vector Jc current density vector stt torque prefactor (precalculated)
def kNOj(r8hN, DABj, begv): XP5J = -DABj * begv return oyIN.cross(r8hN, oyIN.cross(XP5J, r8hN))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WsEX(YKHO):\n return YKHO.node.sdo[24695].phys", "def Q9G1(YKHO):\n pass", "def WsEX(YKHO, q7In, jDtP):\n return YKHO.get_k(jDtP) * q7In", "def TqFH(YKHO):\n\n def bwXI(r8hN):\n wlXC = YKHO.field(r8hN)\n r6TB = H_4W.landau_lifshitz(r8hN, wlXC, YKHO.damping)\n if YKHO.stt ...
[ "0.66428894", "0.6471683", "0.6231447", "0.6156875", "0.5988345", "0.5988345", "0.59550995", "0.5905779", "0.58930105", "0.58844227", "0.5866877", "0.58215475", "0.5798129", "0.5789564", "0.569655", "0.5666042", "0.5585717", "0.5583017", "0.557717", "0.55695283", "0.5438054",...
0.0
-1
Returns whether all elements of sequence are the same
def tMyo(fUYa): assert len(fUYa) > 0 return all((WKvO == fUYa[0] for WKvO in fUYa[1:]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ac8g(aWuw):\n return all((WKvO == aWuw[0] for WKvO in aWuw))", "def g057(Q6uT: typing.Iterable[typing.Any]) -> bool:\n Q6uT = iter(Q6uT)\n cntZ = type(next(Q6uT))\n return all((isinstance(YRbF, cntZ) for YRbF in Q6uT))", "def qqkn(DumB):\n return all((WKvO == DumB[0] for WKvO in DumB))", "...
[ "0.8690832", "0.7782505", "0.7672542", "0.7458347", "0.7458347", "0.740885", "0.7356207", "0.73302054", "0.7281289", "0.7078206", "0.7050159", "0.6911079", "0.6902018", "0.6872127", "0.6834911", "0.68009186", "0.6800209", "0.6784766", "0.670457", "0.667601", "0.66593885", "...
0.7814995
1
Get the plugin config status and settings from QSettings
def hosy(): KCHu = V3XX() if KCHu.contains('APIS/config_ini'): if Hy7s.path.isfile(KCHu.value('APIS/config_ini')): return E7sL(KCHu.value('APIS/config_ini')) else: return (False, yKIT(u'Ausgewählte APIS INI Datei ({0}) ist nicht vorhanden!').format(KCHu.value('APIS/config...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def get_plugin_config(YKHO, **B2fa) -> ImMB:\n _63S = YKHO._get_namespace(**B2fa)\n return await YKHO.AD.plugins.get_plugin_meta(_63S)", "def v083():\n o5Dc, _Fei = GPtr.get_self_config(YASN, PBLf.SettingsCfg, store_last_good=True)\n _Fei = _Fei or PBLf.SettingsCfg()\n return (o5Dc, _Fei)", ...
[ "0.6948694", "0.68398756", "0.68317646", "0.6797159", "0.6774139", "0.66477865", "0.6565564", "0.65460765", "0.65072894", "0.6349131", "0.6328165", "0.6302951", "0.6302951", "0.6254989", "0.62194836", "0.62096786", "0.62076133", "0.6199631", "0.6188538", "0.617836", "0.617516...
0.6569709
6
Helper function to convert the GPS coordinates stored in the EXIF to degress in float format
def JOT5(BWXx): return float(BWXx.values[0].num) / float(BWXx.values[0].den) + float(BWXx.values[1].num) / float(BWXx.values[1].den) / 60.0 + float(BWXx.values[2].num) / float(BWXx.values[2].den) / 3600.0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BaYm(EGpH):\n LTIa = oyIN.empty([EGpH.get_points_no(), 2])\n yzQA = oyIN.empty([EGpH.get_points_no(), 1])\n exwG = 0\n for hTWD in EGpH.segments:\n for AU8u in hTWD.points:\n LTIa[exwG, 0] = AU8u.longitude\n LTIa[exwG, 1] = AU8u.latitude\n yzQA[exwG] = AU8u.e...
[ "0.6406841", "0.6318658", "0.6221846", "0.6213082", "0.61686385", "0.61533195", "0.6113347", "0.60742605", "0.5935368", "0.5931068", "0.5846192", "0.58205545", "0.5800774", "0.57275814", "0.57250226", "0.57180613", "0.5695942", "0.56818783", "0.56557953", "0.56557953", "0.564...
0.59942853
8
Get a graph from the stored edges.
def HHfS(YKHO, c2Eo=True, LG9a=None): from .graph import Graph Crrw = None if LG9a is None: Crrw = sorted(YKHO.labels, reverse=True) if c2Eo else YKHO.labels else: Crrw = sorted(map(str, LG9a), reverse=True) if c2Eo else LG9a exwG = len(Crrw) IsuF = rLdf.Series({UXqs: d6pt for d6...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V9Eo(tTpl):\n yvY1 = Q1Kq()\n for WKvO, LVAh in tTpl:\n yvY1.add_vertex(WKvO)\n yvY1.add_vertex(LVAh)\n yvY1.add_edge((WKvO, LVAh))\n return yvY1", "def ttR2(pNZh):\n return pNZh.get_edges()", "def Wlps(YKHO):\n return jth9.deepcopy(YKHO.graph)", "def Wlps(pmON: str) -...
[ "0.71540546", "0.68345946", "0.6592369", "0.6582886", "0.6550074", "0.6549306", "0.6536619", "0.65175766", "0.6496022", "0.64897263", "0.644948", "0.6431618", "0.63834697", "0.63332695", "0.63277715", "0.63277715", "0.63171583", "0.6313049", "0.62819433", "0.62556446", "0.623...
0.0
-1
Get a dictionary to represent the edge list.
def W0_h(YKHO, gwAu=None): return YKHO.df[oyIN.abs(YKHO.df['intensity']) > gwAu].to_dict() if gwAu else YKHO.df.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mC4V(YKHO):\n return [(G1Hx, wEf2) for G1Hx, Ty9i in YKHO.dict.iteritems() for wEf2 in Ty9i]", "def s2zA(YKHO):\n return YKHO.__edgeMap", "def mC4V(YKHO):\n l25F = []\n for i4Va in YKHO.node_dict:\n for rUTj in YKHO.node_dict[i4Va]:\n l25F.append((i4Va, rUTj, YKHO.node_dict[i4...
[ "0.7460863", "0.73529005", "0.7271635", "0.7156048", "0.7121664", "0.70994216", "0.70223427", "0.6956359", "0.6945023", "0.69388175", "0.6910567", "0.6894074", "0.683775", "0.68029237", "0.6754493", "0.6727433", "0.6725324", "0.6718698", "0.6693398", "0.66924065", "0.66875005...
0.0
-1
String representation for an InteractionTable.
def zAg0(YKHO): return 'cosifer.collections.interactions_table.' + 'InteractionsTable\n{}\n{}'.format(YKHO.labels, YKHO.df)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n D6Z9 = [YKHO.headers]\n for rdlD in YKHO.data:\n D6Z9.append([rdlD[fvDH] or '' for fvDH in YKHO.headers])\n return OaA6(D6Z9)", "def wHJl(YKHO):\n return '[' + ', '.join([str(mS46) for mS46 in YKHO.table]).rstrip(',') + ']'", "def zAg0(YKHO):\n jbXL = ''\n for mWFP, B...
[ "0.7173547", "0.7085337", "0.6919677", "0.6833411", "0.6788228", "0.6715547", "0.6651445", "0.6640299", "0.66123414", "0.6569657", "0.6562555", "0.6556305", "0.6556305", "0.6521573", "0.6507041", "0.6507041", "0.6451217", "0.64381516", "0.6436835", "0.64301604", "0.6425686", ...
0.8108659
0
Construct an InteractionTable from a dictionary.
def n2XD(Qu4U): return NWKw(df=rLdf.DataFrame(Qu4U['interactions']), labels=Qu4U['labels'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, chwN):\n fq8K = set(['row_start', 'row_end', 'col_start', 'col_end'])\n YmpK.verify_type(chwN, dict, 'input must be dict')\n YmpK.verify_value(set(chwN.keys()) == fq8K, 'expected keys: {0}'.format(fq8K))\n return Emd4(chwN['row_start'], chwN['row_end'], chwN['col_start'], chwN['col_end']...
[ "0.6193479", "0.5979516", "0.5877095", "0.5827393", "0.5818396", "0.5736301", "0.5728961", "0.5725682", "0.5724076", "0.5680048", "0.5662759", "0.5644166", "0.5643065", "0.56002575", "0.55820495", "0.55820495", "0.5582038", "0.5578741", "0.5531663", "0.55216545", "0.55064416"...
0.8523352
0
Instantiate from a dict
def jG8h(Emd4, ioID, **B2fa): keYJ = Emd4(UJNH(ra=ioID['RA'], dec=ioID['DEC'], unit='deg'), zem=ioID['zem'], name=ioID['name'], **B2fa) for H5ew in ioID.keys(): if H5ew in ['RA', 'DEC', 'zem', 'name', 'components']: continue else: setattr(keYJ, H5ew, ioID[H5ew]) TGpR(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CCiu(Emd4, tbx9):\n return Emd4.from_dict(tbx9)", "def CCiu(Emd4, tbx9):\n return Emd4.from_dict(tbx9)", "def CCiu(Emd4, tbx9):\n return Emd4.from_dict(tbx9)", "def CCiu(Emd4, tbx9):\n return Emd4.from_dict(tbx9)", "def CCiu(Emd4, tbx9):\n return Emd4.from_dict(tbx9)", "def CCiu(Emd4, ...
[ "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906", "0.84858906"...
0.0
-1
Returns an sqlalchemy session, and after the test tears down everything properly.
def Nchc(eHpk, xU0C): DMju = FJ3D(bind=eHpk) cuiw = DMju() yield cuiw for OAaG in cuiw.query(XJn0).all(): cuiw.delete(OAaG) for JZXy in cuiw.query(LSFv).all(): cuiw.delete(JZXy) cuiw.commit()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ouvA(wOGa, QePW):\n eO9i = wOGa.registry['dbsession_factory']\n cuiw = eO9i()\n eHpk = cuiw.bind\n i_Aq.metadata.drop_all(eHpk)\n i_Aq.metadata.create_all(eHpk)\n\n def mTtn():\n cuiw.transaction.rollback()\n i_Aq.metadata.drop_all(eHpk)\n QePW.addfinalizer(mTtn)\n return ...
[ "0.7709301", "0.7646407", "0.75536275", "0.754508", "0.74127966", "0.7384151", "0.7337394", "0.7337288", "0.7309262", "0.71998763", "0.7175955", "0.71282077", "0.71282077", "0.7122699", "0.71180487", "0.7070358", "0.7050763", "0.70484364", "0.7016291", "0.70106256", "0.698541...
0.0
-1
Emit a message to the specified stream (default `sys.stderr`).
def DimG(Ol8d, wOb_=None): if wOb_ is None: wOb_ = HwRy.stderr wOb_.write('%(message)s\n' % vars()) wOb_.flush()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Lsrz(YKHO, tO9_):\n HwRy.stderr.write(tO9_)", "def Lsrz(YKHO, tO9_):\n HwRy.stderr.write(tO9_)", "def rwjO(Ol8d):\n (print >> HwRy.stderr, Ol8d)", "def N7Dk(tO9_):\n HwRy.stderr.write(tO9_)", "def P1dF(Ol8d):\n print(Ol8d, file=HwRy.stderr)", "def pMXh(Ol8d):\n HwRy.stderr.write('%s...
[ "0.68711364", "0.6829964", "0.681114", "0.6739621", "0.6470576", "0.6445075", "0.6374977", "0.63438404", "0.6340822", "0.63338846", "0.6276301", "0.6261263", "0.6124463", "0.6102289", "0.60573477", "0.6034428", "0.6029426", "0.60064465", "0.5998845", "0.5976955", "0.59517", ...
0.84494895
0
Return list of prime numbers less than equal to n
def KwQv(exwG): dixj = [1 for bGrB in range(exwG + 1)] dixj[0], dixj[1] = (0, 0) dixj = [0, 0] + [1] * (exwG - 1) len(dixj) hFiK = 2 for YRbF, mLGw in enumerate(dixj): if mLGw: G1Hx = YRbF * 2 while G1Hx <= exwG: ESY5[G1Hx] = 0 G1Hx...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rPed(exwG):\n return [YRbF for YRbF in Ni9Y(1, exwG + 1) if kU5Q(YRbF)]", "def VntY(exwG):\n if exwG <= 1:\n return []\n OMrD = [2]\n for YRbF in range(3, exwG, 2):\n T1qg = True\n for r845 in OMrD:\n if YRbF % r845 == 0:\n T1qg = False\n ...
[ "0.85212415", "0.8498636", "0.84208864", "0.84084016", "0.81956875", "0.8144652", "0.8068942", "0.80118805", "0.7967104", "0.7945543", "0.7938975", "0.79361534", "0.7927065", "0.78900254", "0.7853399", "0.78142273", "0.7801944", "0.7781685", "0.7774308", "0.7729891", "0.77257...
0.0
-1
Returns the key of the file with the given config.context
def mexE(YKHO, gIsw, GPtr) -> str: YKHO.validate_correct_operation(op_name=YKHO.name, key_type=GPtr[Dne9.key_type]) return YKHO._get_key(gIsw, GPtr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sBrm(YKHO, gIsw, GPtr) -> str:\n pass", "def jYva(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'file_key')", "def jYva(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'file_key')", "def jYva(Ux0P):\n return PmyT + Ux0P", "def LtJP(YKHO):\n return YKHO._get('key_file')", "def _xy...
[ "0.7825358", "0.65962696", "0.65962696", "0.6478777", "0.6415051", "0.6351035", "0.62190413", "0.6098302", "0.60659033", "0.60595864", "0.6059109", "0.59660876", "0.5946941", "0.5883707", "0.58818763", "0.58517313", "0.58515346", "0.5785396", "0.5774071", "0.575473", "0.57434...
0.6990027
1
Returns the key of the file with the given config.context
def sBrm(YKHO, gIsw, GPtr) -> str: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mexE(YKHO, gIsw, GPtr) -> str:\n YKHO.validate_correct_operation(op_name=YKHO.name, key_type=GPtr[Dne9.key_type])\n return YKHO._get_key(gIsw, GPtr)", "def jYva(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'file_key')", "def jYva(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'file_key'...
[ "0.6990027", "0.65962696", "0.65962696", "0.6478777", "0.6415051", "0.6351035", "0.62190413", "0.6098302", "0.60659033", "0.60595864", "0.6059109", "0.59660876", "0.5946941", "0.5883707", "0.58818763", "0.58517313", "0.58515346", "0.5785396", "0.5774071", "0.575473", "0.57434...
0.7825358
0
Fakes `date`. Sets day to `1`.
def wZoB(BWXx): return _c1T(year=BWXx[0], month=BWXx[1], day=1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __4e(_c1T):\n lO87, x0eS, CjKC = (_c1T.year, _c1T.month, _c1T.day)\n try:\n CjKC += 1\n return qcWV.date(lO87, x0eS, CjKC)\n except ValueError:\n try:\n x0eS += 1\n CjKC = 1\n return qcWV.date(lO87, x0eS, CjKC)\n except ValueError:\n ...
[ "0.7199576", "0.6836182", "0.6836182", "0.64389855", "0.62450105", "0.6209069", "0.6159879", "0.61415374", "0.61415374", "0.608314", "0.5967545", "0.59614974", "0.5904009", "0.5872342", "0.5864313", "0.5855805", "0.5843234", "0.57852036", "0.57852036", "0.57852036", "0.578520...
0.6513064
3
Should return http status 400 when task name has a exceeded amount of char.
def DsrZ(YKHO): im04 = g6r9.post('/tasks/list-tasks', json={'filters': {'name': 'LoremipsumdolorsitametconsecteturadipiscingelitInteerelitexauc'}}) Aofo = im04.json() aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'} YKHO.assertEqual(Aofo, aEqx) YKHO.a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w8RQ(YKHO):\n im04 = g6r9.post(Hmao, json={'name': 'LoremipsumdolorsitametconsecteturadipiscingelitInteerelitexauc'})\n Aofo = im04.json()\n aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'}\n YKHO.assertEqual(Aofo, aEqx)\n YKHO.assertEqual(im04.st...
[ "0.7812788", "0.7385697", "0.7271345", "0.71459967", "0.6906761", "0.6700208", "0.6528484", "0.6349938", "0.633722", "0.62562716", "0.6213755", "0.6122487", "0.6091234", "0.6086678", "0.6082462", "0.6025023", "0.5978479", "0.59350413", "0.5927258", "0.58082324", "0.57244265",...
0.7531851
1
Should return http status 400 when task name has a exceeded amount of char.
def w8RQ(YKHO): im04 = g6r9.post(Hmao, json={'name': 'LoremipsumdolorsitametconsecteturadipiscingelitInteerelitexauc'}) Aofo = im04.json() aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'} YKHO.assertEqual(Aofo, aEqx) YKHO.assertEqual(im04.status_code,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DsrZ(YKHO):\n im04 = g6r9.post('/tasks/list-tasks', json={'filters': {'name': 'LoremipsumdolorsitametconsecteturadipiscingelitInteerelitexauc'}})\n Aofo = im04.json()\n aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'}\n YKHO.assertEqual(Aofo, aEqx)\n...
[ "0.7531851", "0.7385697", "0.7271345", "0.71459967", "0.6906761", "0.6700208", "0.6528484", "0.6349938", "0.633722", "0.62562716", "0.6213755", "0.6122487", "0.6091234", "0.6086678", "0.6082462", "0.6025023", "0.5978479", "0.59350413", "0.5927258", "0.58082324", "0.57244265",...
0.7812788
0
Should return http status 400 when task data_in has a exceeded amount of char.
def ekYz(YKHO): im04 = g6r9.post(Hmao, json={'dataIn': bu3R}) Aofo = im04.json() aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'} YKHO.assertEqual(Aofo, aEqx) YKHO.assertEqual(im04.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MjuR(YKHO):\n im04 = g6r9.post(Hmao, json={'dataIn': bu3R})\n Aofo = im04.json()\n aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'}\n YKHO.assertEqual(Aofo, aEqx)\n YKHO.assertEqual(im04.status_code, 400)", "def qWy_(YKHO):\n _TKD = gnPz.MOCK...
[ "0.7594554", "0.74093795", "0.7249633", "0.70895064", "0.70603883", "0.6846049", "0.6700865", "0.6425223", "0.58832693", "0.58751744", "0.5873143", "0.5795467", "0.5769055", "0.5768104", "0.5738529", "0.56816626", "0.5634966", "0.56095386", "0.5501887", "0.5490004", "0.544051...
0.77867115
0
Should return http status 400 when task tag has any forbidden char.
def Pd0f(YKHO): im04 = g6r9.post(Hmao, json={'tags': ['tag1', 'tag2', 'tag3', 'tag4', 'tag@']}) Aofo = im04.json() aEqx = {'code': 'NotAllowedChar', 'message': 'Character not Allowed'} YKHO.assertEqual(Aofo, aEqx) YKHO.assertEqual(im04.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y7rH(YKHO):\n _TKD = gnPz.MOCK_UUID_5\n im04 = g6r9.patch(f'/tasks/{_TKD}', json={'tags': ['tag1', 'tag2', 'tag3', 'tag4', 'tag@']})\n Aofo = im04.json()\n aEqx = {'code': 'NotAllowedChar', 'message': 'Character not Allowed'}\n YKHO.assertEqual(Aofo, aEqx)\n YKHO.assertEqual(im04.status_code,...
[ "0.75851053", "0.6844821", "0.6629892", "0.65474415", "0.6419741", "0.6363458", "0.6196935", "0.6169127", "0.616309", "0.6162857", "0.61517495", "0.6124134", "0.60712373", "0.6017188", "0.5958713", "0.59209335", "0.59144604", "0.58707035", "0.57603335", "0.5719665", "0.569893...
0.8001675
0
Should return http status 400 and a message 'invalid docker image name'.
def dtLL(YKHO): otTm = 'unk' im04 = g6r9.post(Hmao, json={'image': otTm}) Aofo = im04.json() aEqx = {'message': 'invalid docker image name', 'code': 'InvalidDockerImageName'} YKHO.assertDictEqual(aEqx, Aofo) YKHO.assertEqual(im04.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j3fd(YKHO):\n O98x = ':baz'\n GPtr = dict(version=1, applications={'mysql-hybridcluster': dict(image=O98x)})\n wvEv = y8cn()\n AJ5d = YKHO.assertRaises(KpxQ, wvEv._applications_from_configuration, GPtr)\n YKHO.assertEqual(\"Application 'mysql-hybridcluster' has a config error. Invalid Docker ima...
[ "0.68951213", "0.6534", "0.64682156", "0.64259684", "0.6418903", "0.6415244", "0.6381294", "0.63677245", "0.6347496", "0.6329139", "0.62480223", "0.62257606", "0.62043345", "0.6201926", "0.6146025", "0.6045508", "0.6043042", "0.60330194", "0.5987971", "0.59359145", "0.5917924...
0.7976879
0
Should return a http error 404 and a message 'specified task does not exist'.
def tT3e(YKHO): _TKD = 'foo' im04 = g6r9.get(f'/tasks/{_TKD}') Aofo = im04.json() aEqx = {'message': 'The specified task does not exist', 'code': 'TaskNotFound'} YKHO.assertDictEqual(aEqx, Aofo) YKHO.assertEqual(im04.status_code, 404)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wotV(YKHO):\n Ylbp = YKHO.app.get('/app/noapp/task', follow_redirects=True)\n assert Ylbp.status == '404 NOT FOUND', Ylbp.status\n Ylbp = YKHO.app.get('/app/noapp/task/25', follow_redirects=True)\n assert Ylbp.status == '404 NOT FOUND', Ylbp.status", "def Thcp(YKHO):\n _TKD = 'unk'\n im04 =...
[ "0.7835368", "0.76944184", "0.76746774", "0.7659655", "0.7204364", "0.7147904", "0.7107935", "0.70461804", "0.7005151", "0.69685316", "0.69601434", "0.69439447", "0.6942516", "0.6915237", "0.6901413", "0.68565905", "0.6814928", "0.68060994", "0.67951113", "0.67771405", "0.673...
0.8576574
0
Should return a http error 404 and a message 'The specified task does not exist'.
def aSY7(YKHO): im04 = g6r9.patch('/tasks/foo', json={'name': 'foo 2'}) Aofo = im04.json() aEqx = {'message': 'The specified task does not exist', 'code': 'TaskNotFound'} YKHO.assertDictEqual(aEqx, Aofo) YKHO.assertEqual(im04.status_code, 404)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tT3e(YKHO):\n _TKD = 'foo'\n im04 = g6r9.get(f'/tasks/{_TKD}')\n Aofo = im04.json()\n aEqx = {'message': 'The specified task does not exist', 'code': 'TaskNotFound'}\n YKHO.assertDictEqual(aEqx, Aofo)\n YKHO.assertEqual(im04.status_code, 404)", "def wotV(YKHO):\n Ylbp = YKHO.app.get('/ap...
[ "0.85842264", "0.7769934", "0.7731954", "0.764185", "0.760977", "0.7114625", "0.70919275", "0.699508", "0.69752306", "0.6959012", "0.6941566", "0.6926577", "0.6921741", "0.68800676", "0.68740827", "0.68003154", "0.67798793", "0.67158145", "0.66920793", "0.66819364", "0.664373...
0.7019205
7
Should return a http error 400 and a message 'Invalid category. Choose any of {valid_str}'.
def Sbng(YKHO): _TKD = gnPz.MOCK_UUID_4 Ghho = 'unk' im04 = g6r9.patch(f'/tasks/{_TKD}', json={'category': Ghho}) Aofo = im04.json() E5an = 'DEFAULT,DATASETS,DESCRIPTIVE_STATISTICS,FEATURE_ENGINEERING,PREDICTOR,COMPUTER_VISION,NLP,MONITORING' aEqx = {'message': f'Invalid category. Choose any of ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pxcG(YKHO, nPrm):\n try:\n if nPrm['category_name'] == '':\n return 'Category_name cannot be blank'\n if 'category_name' not in nPrm.keys():\n return 'Enter category_name'\n if not ZbWC.match('^[a-zA-Z0-9 _]*$', nPrm['category_name']):\n return 'category...
[ "0.70289874", "0.6699313", "0.66132545", "0.649449", "0.638027", "0.6287617", "0.6163031", "0.6071611", "0.6071006", "0.6032324", "0.6014144", "0.59745026", "0.5943954", "0.5904474", "0.5893927", "0.5858132", "0.5858021", "0.5835313", "0.58172923", "0.57886434", "0.57827604",...
0.69926435
1
Should return a http error 404 and a message 'The specified task does not exist'.
def Thcp(YKHO): _TKD = 'unk' im04 = g6r9.delete(f'/tasks/{_TKD}') Aofo = im04.json() aEqx = {'message': 'The specified task does not exist', 'code': 'TaskNotFound'} YKHO.assertDictEqual(aEqx, Aofo) YKHO.assertEqual(im04.status_code, 404)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tT3e(YKHO):\n _TKD = 'foo'\n im04 = g6r9.get(f'/tasks/{_TKD}')\n Aofo = im04.json()\n aEqx = {'message': 'The specified task does not exist', 'code': 'TaskNotFound'}\n YKHO.assertDictEqual(aEqx, Aofo)\n YKHO.assertEqual(im04.status_code, 404)", "def wotV(YKHO):\n Ylbp = YKHO.app.get('/ap...
[ "0.85842264", "0.7769934", "0.764185", "0.760977", "0.7114625", "0.70919275", "0.7019205", "0.699508", "0.69752306", "0.6959012", "0.6941566", "0.6926577", "0.6921741", "0.68800676", "0.68740827", "0.68003154", "0.67798793", "0.67158145", "0.66920793", "0.66819364", "0.664373...
0.7731954
2
Should return http status 400 when task data_in has a exceeded amount of char.
def qWy_(YKHO): _TKD = gnPz.MOCK_UUID_5 im04 = g6r9.patch(f'/tasks/{_TKD}', json={'dataIn': bu3R}) Aofo = im04.json() aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'} YKHO.assertEqual(Aofo, aEqx) YKHO.assertEqual(im04.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ekYz(YKHO):\n im04 = g6r9.post(Hmao, json={'dataIn': bu3R})\n Aofo = im04.json()\n aEqx = {'code': 'ExceededCharQuantity', 'message': 'Exceeded maximum character quantity allowed'}\n YKHO.assertEqual(Aofo, aEqx)\n YKHO.assertEqual(im04.status_code, 400)", "def MjuR(YKHO):\n im04 = g6r9.post...
[ "0.7787049", "0.75947297", "0.72499067", "0.7089931", "0.70613617", "0.6846448", "0.67015785", "0.6425751", "0.5883493", "0.5874909", "0.58717924", "0.5794927", "0.57684433", "0.5767928", "0.5738096", "0.5680652", "0.56366986", "0.56092316", "0.55014384", "0.54902273", "0.544...
0.7409815
2
Should return http status 200.
def OZtk(YKHO, ud61, CitO, ISRV): _TKD = gnPz.MOCK_UUID_5 im04 = g6r9.patch(f'/tasks/{_TKD}', json={'dataIn': 'description'}) YKHO.assertEqual(im04.status_code, 200)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def us5f(YKHO):\n pass", "def Z5ZI(YKHO):\n YKHO.assertEquals(YKHO.response.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code...
[ "0.80502963", "0.77810353", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", ...
0.0
-1
Should return http status 200.
def M4oR(YKHO, ud61, CitO, ISRV): _TKD = gnPz.MOCK_UUID_5 im04 = g6r9.patch(f'/tasks/{_TKD}', json={'dataOut': 'description'}) YKHO.assertEqual(im04.status_code, 200)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def us5f(YKHO):\n pass", "def Z5ZI(YKHO):\n YKHO.assertEquals(YKHO.response.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code...
[ "0.80502963", "0.77810353", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", ...
0.0
-1
Should return http status 400 when task tag has any forbidden char.
def y7rH(YKHO): _TKD = gnPz.MOCK_UUID_5 im04 = g6r9.patch(f'/tasks/{_TKD}', json={'tags': ['tag1', 'tag2', 'tag3', 'tag4', 'tag@']}) Aofo = im04.json() aEqx = {'code': 'NotAllowedChar', 'message': 'Character not Allowed'} YKHO.assertEqual(Aofo, aEqx) YKHO.assertEqual(im04.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Pd0f(YKHO):\n im04 = g6r9.post(Hmao, json={'tags': ['tag1', 'tag2', 'tag3', 'tag4', 'tag@']})\n Aofo = im04.json()\n aEqx = {'code': 'NotAllowedChar', 'message': 'Character not Allowed'}\n YKHO.assertEqual(Aofo, aEqx)\n YKHO.assertEqual(im04.status_code, 400)", "def u5Ta(YKHO):\n im04 = g6r...
[ "0.8001675", "0.6844821", "0.6629892", "0.65474415", "0.6419741", "0.6363458", "0.6196935", "0.6169127", "0.616309", "0.6162857", "0.61517495", "0.6124134", "0.60712373", "0.6017188", "0.5958713", "0.59209335", "0.59144604", "0.58707035", "0.57603335", "0.5719665", "0.5698933...
0.75851053
1
Should return http status 200.
def kyoE(YKHO, ud61, CitO, ISRV): _TKD = gnPz.MOCK_UUID_5 im04 = g6r9.patch(f'/tasks/{_TKD}', json={'tags': ['tag1', 'tag2', 'tag3', 'tag4']}) YKHO.assertEqual(im04.status_code, 200)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def us5f(YKHO):\n pass", "def Z5ZI(YKHO):\n YKHO.assertEquals(YKHO.response.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code...
[ "0.80502963", "0.77810353", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", ...
0.0
-1
Should return http status 200.
def uUzo(YKHO, ud61, CitO, ISRV): _TKD = gnPz.MOCK_UUID_5 im04 = g6r9.patch(f'/tasks/{_TKD}', json={'docs': 'https://www.google.com.br'}) YKHO.assertEqual(im04.status_code, 200)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def us5f(YKHO):\n pass", "def Z5ZI(YKHO):\n YKHO.assertEquals(YKHO.response.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code, 200)", "def Vof7(YKHO):\n geh0 = YKHO.client.get(YKHO.get_url())\n YKHO.assertEqual(geh0.status_code...
[ "0.80502963", "0.77810353", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", "0.7715312", ...
0.0
-1
Return a tuple (u, v, d); they are the greatest common divisor d of two integers x and y and u, v such that d = x u + y v.
def gS3s(WKvO, LVAh): jzdc, Fg_i, Oa1e, P6bq, Ty9i, yzQ0 = (1, 0, WKvO, 0, 1, LVAh) while yzQ0: vexM, a1PO = divmod(Oa1e, yzQ0) jzdc, Fg_i, Oa1e, P6bq, Ty9i, yzQ0 = (P6bq, Ty9i, yzQ0, jzdc - vexM * P6bq, Fg_i - vexM * Ty9i, a1PO) if Oa1e >= 0: return (jzdc, Fg_i, Oa1e) else: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LMj4(WKvO: int, LVAh: int) -> int:\n while LVAh != 0:\n WKvO, LVAh = (LVAh, WKvO % LVAh)\n return WKvO", "def ML2l(WKvO, LVAh):\n if WKvO < LVAh:\n WKvO, LVAh = (LVAh, WKvO)\n while LVAh:\n WKvO, LVAh = (LVAh, WKvO % LVAh)\n return WKvO", "def ML2l(WKvO, LVAh):\n WKvO...
[ "0.6941031", "0.6888487", "0.68209743", "0.6819619", "0.67412305", "0.6729684", "0.6711755", "0.67072856", "0.66960275", "0.6642795", "0.6635084", "0.6618099", "0.6562939", "0.6539578", "0.6539578", "0.6537952", "0.6537885", "0.6525528", "0.6521369", "0.6516852", "0.65057194"...
0.63107663
57
Convert Rotation Matrices to Quaternions
def Exkn(vb7U, AS8t='proper'): j6Vr = DkFx(vb7U, AS8t) cJsZ = oyIN.cos(j6Vr[3, :] / 2) hbUd = j6Vr[0, :] * oyIN.sin(j6Vr[3, :] / 2) BzON = j6Vr[1, :] * oyIN.sin(j6Vr[3, :] / 2) iv7Q = j6Vr[2, :] * oyIN.sin(j6Vr[3, :] / 2) UaAr = j6Vr[4, :] return _Jov.Quaternion(cJsZ, hbUd, BzON, iv7Q, UaAr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ghyj(A3Vt, vexM):\n vexM[0] = oyIN.sqrt(A3Vt[0] + A3Vt[4] + A3Vt[8]) / 2\n vexM[1] = (A3Vt[7] - A3Vt[5]) / (4.0 * vexM[0])\n vexM[2] = (A3Vt[2] - A3Vt[6]) / (4.0 * vexM[0])\n vexM[3] = (A3Vt[3] - A3Vt[1]) / (4.0 * vexM[0])", "def E9zH(cJsZ, hbUd, BzON, iv7Q) -> oyIN:\n CYO9 = 2 * (cJsZ * cJsZ ...
[ "0.7195342", "0.71134377", "0.7092584", "0.70420396", "0.7008543", "0.7004162", "0.69914675", "0.69645756", "0.6957282", "0.6919714", "0.6898155", "0.68469375", "0.6843546", "0.6839718", "0.68340373", "0.6831574", "0.6829084", "0.67991596", "0.6792751", "0.67809165", "0.67612...
0.6375884
36
Create a quaternion corresponding to the rotation specified by an axis and an angle
def tzeJ(j6Vr): if j6Vr.ndim == 1: if oyIN.size(j6Vr) == 5: j6Vr = oyIN.reshape(j6Vr, (5, 1)) hxbC = 1 elif oyIN.size(j6Vr) == 4: j6Vr = oyIN.reshape(oyIN.hstack((j6Vr, oyIN.array([1]))), (5, 1)) hxbC = 1 else: raise Exception('Wron...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tguD(YylR, jDK_):\n vexM = XTiz.array([0.0, jDK_[0], jDK_[1], jDK_[2]])\n t2JV = u5Ow(vexM)\n if t2JV > BuE3:\n vexM *= epAf.sin(YylR / 2.0) / t2JV\n vexM[0] = epAf.cos(YylR / 2.0)\n return vexM", "def pWrA(ZZft: torch.Tensor) -> ht2j.Tensor:\n if not ht2j.is_tensor(ZZft):\n r...
[ "0.8622127", "0.8261001", "0.8101002", "0.7772343", "0.77266437", "0.7613964", "0.74365413", "0.7385388", "0.72055", "0.71809655", "0.7173881", "0.71556646", "0.7138661", "0.7086025", "0.6977137", "0.6967763", "0.6925111", "0.6887898", "0.6812898", "0.681024", "0.6798782", ...
0.7443052
6
Get proper GPU indices form `gpu` arguments. Given `gpus` argument, exclude inappropriate indices and transform to list of int format.
def sZXQ(EpYW: str) -> x1iM[int]: oBsc = ht2j.cuda.device_count() wJyI = [] for EHBZ in EpYW.split(','): if not EHBZ.isnumeric(): raise ValueError("--gpus argument should be numbers separated by ','.") wJyI.append(int(EHBZ)) KncF = [] for nUT9 in wJyI: if nUT9 >= ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uwyI():\n try:\n ZbWC = Yn3K.check_output(['nvidia-smi', '-L'], universal_newlines=True)\n except OSError:\n return []\n return range(len([YRbF for YRbF in ZbWC.split('\\n') if 'GPU' in YRbF]))", "def W58p(kzsY: int, Za1e: int, ZQ_l: Optional[List[int]]=None) -> x1iM[int]:\n REbG = ...
[ "0.66485584", "0.63633764", "0.6355843", "0.628668", "0.58854395", "0.588046", "0.5709567", "0.56861997", "0.56650585", "0.56650585", "0.5663565", "0.565623", "0.5641231", "0.5614819", "0.5614819", "0.56133384", "0.5599287", "0.5587114", "0.5578608", "0.5541125", "0.551105", ...
0.7979022
0
Implement vitis 8bit transforms. Currently this means the following. 1. Pull activations into layers, and apply fuse activations. (TODO) 2. Modify range in incoming layers for Concat. (TODO) 3. Fuse Conv2D/DepthwiseConv2D + BN into single layer.
def dRO0(YKHO, C3ST, CxFz, CbuE, Tuqy): Ymkf = [LG5k.InputLayerQuantize(CbuE.get_input_quantizer(), Tuqy), LG5k.ConvActivationQuantize(), LG5k.AddActivationQuantize()] return GTOd.ModelTransformer(C3ST, Ymkf, set(CxFz.keys()), CxFz).transform()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GXGC(g4y1, jTqs):\n FIuZ = jO9g(g4y1, num_filters=64, kernel_size=3, stride=2)\n FIuZ = jO9g(FIuZ, num_filters=128, kernel_size=3, stride=2)\n FIuZ = jO9g(FIuZ, num_filters=256, kernel_size=3, stride=2)\n C3ST = S1Vm(is_test=False)\n GjF4, cz_i = C3ST.net(g4y1)\n SBYu = AtGJ(GjF4, num_filters...
[ "0.63503504", "0.6127692", "0.6025885", "0.60222787", "0.59774333", "0.594558", "0.5910501", "0.590765", "0.5900788", "0.5892498", "0.5868209", "0.58656496", "0.5856557", "0.5853635", "0.5847782", "0.58004177", "0.57956475", "0.5786369", "0.57799613", "0.5778847", "0.5776057"...
0.6095659
2
Determines if a given numpy.arraylike is sorted in ascending order.
def mwCj(WKvO, EySs=True): return oyIN.all(oyIN.diff(WKvO) * (1.0 if EySs else -1.0) >= 0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mwCj(qw7D):\n if all((qw7D[YRbF] <= qw7D[YRbF + 1] for YRbF in range(len(qw7D) - 1))) or all((qw7D[YRbF] >= qw7D[YRbF + 1] for YRbF in range(len(qw7D) - 1))):\n return True\n return False", "def ynxl(ezWE, U4Ag=True):\n if len(ezWE) == 0:\n return True\n if U4Ag:\n return oyI...
[ "0.7452085", "0.7424731", "0.7403294", "0.7395038", "0.69357103", "0.6907829", "0.68330723", "0.67261463", "0.6645373", "0.6591744", "0.6349577", "0.6340224", "0.6266757", "0.6195723", "0.6119161", "0.6103929", "0.6103734", "0.61012983", "0.6094735", "0.6042103", "0.6035387",...
0.75576997
0
Return the day number for the specified date.
def Jff2(lO87, x0eS, CjKC): UdTY = WD5m(lO87, x0eS, CjKC) RWyG = lO87 < 2000 if RWyG: qE0M = o_hw(lO87) - UdTY + 1 yKcO, YPaw = (1999, -1) else: qE0M = UdTY - 1 yKcO, YPaw = (2000, 1) for MkP1 in range(yKcO, lO87, YPaw): qE0M += o_hw(MkP1) if RWyG: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fDD5(_c1T):\n return g6xZ(_c1T).day", "def BgU3(_c1T):\n return gLAx(_c1T)", "def Ulgw(CjKC):\n Qz6G = {'Sunday': 0, 'Monday': 1, 'Tuesday': 2, 'Wednesday': 3, 'Thursday': 4, 'Friday': 5, 'Saturday': 6}\n return Qz6G[CjKC]", "def ofjd(_c1T):\n WEW5 = _c1T.split('-')\n return WEW5[2]", ...
[ "0.86250085", "0.75476384", "0.7441019", "0.7320909", "0.7268337", "0.70647323", "0.69726527", "0.6885271", "0.68764955", "0.6828292", "0.6812784", "0.66739595", "0.66662306", "0.66520184", "0.6628792", "0.65757203", "0.657275", "0.6484293", "0.6484293", "0.6482385", "0.64816...
0.0
-1
Implement dot product of the two vectors.
def uYbU(ENWa, ZoT5): yvT9 = None yvT9 = oyIN.dot(ENWa, ZoT5) return yvT9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BJ1H(ENWa, ZoT5):\n return sum((XOOk * pHXX for XOOk, pHXX in zip(ENWa, ZoT5)))", "def yYJc(hQHm, jlSq):\n return oyIN.dot(hQHm, jlSq)", "def BJ1H(jzdc, Fg_i):\n if len(jzdc) != len(Fg_i):\n raise Exception('Input vectors must be of same length, not %d and %d' % (len(jzdc), len(Fg_i)))\n ...
[ "0.8607755", "0.86047083", "0.8601358", "0.8597061", "0.8551729", "0.85287976", "0.8492116", "0.8485161", "0.8447833", "0.839337", "0.836711", "0.83544147", "0.83447236", "0.83015573", "0.8261457", "0.82280064", "0.8205515", "0.82047594", "0.8188006", "0.8170715", "0.81460476...
0.8075297
24
Serving main page template
def kZiy(QePW): return _1tc(QePW, 'KIT_test/home.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ozko():\n return TvZl('main_page.html')", "def Ozko():\n return TvZl('index.html')", "def kZiy():\n return TvZl('Main_Page.html')", "def NMoC(YKHO):\n rPXJ = Byma.JINJA_ENVIRONMENT.get_template('homepage.html')\n YKHO.response.headers['Content-Type'] = 'text/html'\n YKHO.response.write(...
[ "0.83166534", "0.8316629", "0.78862184", "0.7817113", "0.78051394", "0.7804739", "0.7800497", "0.7800497", "0.7705164", "0.7705164", "0.77051634", "0.77051634", "0.77051634", "0.7703439", "0.7628041", "0.7584006", "0.7580053", "0.7580053", "0.7579556", "0.75691783", "0.756399...
0.0
-1
r"""Returns the state vector of a (PNR postselected) Gaussian state. The resulting density matrix will have shape
def evpx(yGTL, PFC2, z0eb=None, NkkI=False, tAX0=5, enxe=2, oAPd=True, **B2fa): if oAPd: if not u_l1(PFC2, hbar=enxe, rtol=1e-05, atol=1e-08): raise ValueError('The covariance matrix does not correspond to a pure state') UqYS = mXt4(yGTL, hbar=enxe) k0lF = CKEK(PFC2, hbar=enxe) T8ck ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fMWL(YKHO, QTBn: np.array) -> oyIN.array:\n return YKHO.model.predict(oyIN.array(QTBn).reshape(-1, *QTBn.shape))[0]", "def mvm2(YKHO):\n WKvO = YKHO.state\n Jw7X = YKHO.theta * (YKHO.mu - WKvO) + YKHO.sigma * oyIN.random.standard_normal(YKHO.size)\n YKHO.state = WKvO + Jw7X\n return YKHO.state...
[ "0.619603", "0.61448866", "0.6117619", "0.60878146", "0.6044878", "0.59666985", "0.5966666", "0.59231615", "0.5917071", "0.586096", "0.5854712", "0.5833994", "0.5833994", "0.5833994", "0.5833994", "0.5833994", "0.5833959", "0.5830407", "0.5827027", "0.5807288", "0.5795444", ...
0.0
-1
r"""Returns the density matrix of a (PNR postselected) Gaussian state. The resulting density matrix will have shape
def PuH0(yGTL, PFC2, z0eb=None, NkkI=False, tAX0=5, enxe=2): ywwl = len(yGTL) // 2 SeW3 = i9Ol(yGTL, PFC2, hbar=enxe) if z0eb is None: k0lF = CKEK(PFC2, hbar=enxe).conj() WLjp = tuple(eNCK.from_iterable([[YRbF, YRbF + ywwl] for YRbF in range(ywwl)])) if oyIN.allclose(yGTL, oyIN.zeros...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b9PO(wspz=None, DbyF=None):\n if wspz is None:\n eRWf = oyIN.prod(DbyF)\n XmUR = oyIN.eye(eRWf) / eRWf\n return XmUR\n XmUR = oyIN.eye(1, dtype=oyIN.complex128)\n for YRbF, KCHu in enumerate(wspz):\n if not hasattr(KCHu, '__len__'):\n Csk6 = DbyF[YRbF]\n ...
[ "0.6856901", "0.64004314", "0.61535126", "0.6066098", "0.5938987", "0.5869517", "0.58543664", "0.58440024", "0.5802672", "0.57732296", "0.57327724", "0.57204974", "0.568061", "0.56769615", "0.5617186", "0.5597178", "0.5572593", "0.5561574", "0.5560677", "0.5536515", "0.553187...
0.0
-1
calculates distance between two rows of data (based on Euclidean distance)
def D0Sn(mSn1, IP77): Ayfi = 0 u54L = len(mSn1) for YRbF in range(u54L): Ayfi += (mSn1[YRbF] - IP77[YRbF]) ** 2 Ayfi = epAf.sqrt(Ayfi) return Ayfi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FYdX(ecEc, znzI):\n pImw = 0.0\n for YRbF in range(len(ecEc) - 1):\n pImw += (ecEc[YRbF] - znzI[YRbF]) ** 2\n return PZyS(pImw)", "def usGr(o4D3: np.ndarray, ajwV: np.ndarray) -> float:\n return oyIN.sqrt(oyIN.square(o4D3 - ajwV).sum())", "def usGr(o4D3, ajwV):\n return oyIN.sqrt(oyIN...
[ "0.83121836", "0.76971805", "0.7605502", "0.75328237", "0.75137174", "0.7477755", "0.74260134", "0.74136573", "0.74110717", "0.73677295", "0.7353811", "0.7268839", "0.7264", "0.7260089", "0.7257254", "0.7247142", "0.7241579", "0.7208455", "0.7201493", "0.7187903", "0.71878755...
0.7223828
17
Gets the URL that users can connect to.
def Y3Ig(): return 'http://10.45.4.98:8001/'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def negx(YKHO):\n return 'http://{}:{}'.format(YKHO.host, YKHO.port)", "def bD7m(YKHO) -> str:\n return getattr(YKHO.auth_accounts[-1], 'url')", "def drt6(YKHO):\n return YKHO._realm_url", "def hKhs(YKHO):\n return YKHO.url", "def hKhs(YKHO):\n return YKHO.url", "def YGrY(YKHO):\n retur...
[ "0.6919182", "0.6801329", "0.6716512", "0.66797656", "0.66797656", "0.66634417", "0.6644857", "0.66420376", "0.6617643", "0.6617643", "0.6584805", "0.65595955", "0.6547548", "0.6545267", "0.65123135", "0.649547", "0.6487731", "0.6470337", "0.6439944", "0.6412081", "0.64087665...
0.0
-1
Gets the MySQL database containing the Katana builds.
def dgp5(): return aL7g
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p9bx():\n return Fv2L().database", "def GGod():\n if not hasattr(Oa1e, 'mysql_db'):\n Oa1e.mysql_db = _uJw()\n return Oa1e.mysql_db", "def iJxr():\n iQG7 = {'db_url': 'mysql+pymysql://{user}:{password}@{host}/{database}?max_idle=300'.format(user=Edpv, password=bky0, database=aL7g, host=E...
[ "0.6966115", "0.6642892", "0.65372956", "0.6479584", "0.63967866", "0.6389546", "0.6382224", "0.6318427", "0.62686557", "0.62686557", "0.6256003", "0.6188696", "0.6178963", "0.6154603", "0.61518985", "0.6123795", "0.6122082", "0.6119133", "0.6066906", "0.60609365", "0.6057985...
0.6699401
1
Node groups specification as Python dictionary.
def mL0M(YKHO): return {'name': 'nodes', 'source': 'tree', 'transform': [{'type': 'filter', 'expr': 'datum.type == "node"'}]}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MvIi(YKHO) -> dict:\n return dict(YKHO._groups)", "def moMn(YKHO):\n FOIH = {}\n for G1Hx, Ty9i in list(YKHO.config.items()):\n if isinstance(Ty9i, g760.Mapping):\n FOIH[G1Hx] = Ty9i\n for uA_x in YKHO.config.get('groups', []):\n FOIH[uA_x['name']] = uA_x\n return FOIH...
[ "0.6479059", "0.61204326", "0.60906076", "0.6084806", "0.6062145", "0.59498376", "0.5933085", "0.58731025", "0.5867287", "0.5853941", "0.58485425", "0.5844727", "0.5822661", "0.5807974", "0.5782158", "0.57697874", "0.5714147", "0.56695104", "0.5650857", "0.5641814", "0.563127...
0.71175516
0
Impute zeros to numerical and None to categorical variables.
def uWKN(jQ3Z): for mWFP in jQ3Z.select_dtypes('number'): jQ3Z[mWFP] = jQ3Z[mWFP].fillna(0) for mWFP in jQ3Z.select_dtypes('category'): jQ3Z[mWFP] = jQ3Z[mWFP].fillna('None') return jQ3Z
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v3bk(nPrm):\n for iVRZ in nPrm:\n Wa56 = nPrm[iVRZ]\n if Wa56.dtype in (oyIN.int, oyIN.float):\n xgWT = Wa56.mean()\n else:\n xgWT = Wa56.mode()[0]\n nPrm[iVRZ] = nPrm[iVRZ].fillna(xgWT)\n return nPrm", "def gQq4(bOBl, aMUi, qraU='Missing', LpaZ=False):...
[ "0.67325103", "0.64714456", "0.59937066", "0.58828056", "0.58579534", "0.58238924", "0.5715457", "0.5553143", "0.5529767", "0.54620004", "0.544266", "0.5415945", "0.53676474", "0.5362321", "0.5353347", "0.5339118", "0.5333088", "0.53308725", "0.52324456", "0.5210814", "0.5203...
0.7055178
0
Get history of user's transactions.
def RqaR(YKHO): return YKHO.__history[:]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FLXQ():\n gQVK = NCls.execute('SELECT * FROM transactions WHERE user_id = :user_id', user_id=cuiw['user_id'])\n return TvZl('history.html', transactions=gQVK, usd=guPQ)", "def r4J0(uJjO):\n ZaUd.submit(SvZv)\n uJjO = sGQh['user_id']\n KayO = T74E.query.filter_by(done=True).filter_by(user_id=uJ...
[ "0.772964", "0.7554498", "0.75097245", "0.7305745", "0.72252274", "0.71561676", "0.7116203", "0.70987314", "0.7096675", "0.7068022", "0.70482033", "0.7027512", "0.7026951", "0.7000245", "0.697927", "0.697555", "0.69637173", "0.6946666", "0.69108146", "0.69066197", "0.68843794...
0.67064756
31
Return how many 100dollar bill can be printed from this amount of cash.
def Laxi(YKHO, Z5kt): return Z5kt // 100
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VoIp(YKHO) -> float:\n return YKHO._cash", "def KWPq(YKHO) -> int:\n return YKHO.state[QICY]", "def LLny(YKHO):\n return YKHO.cash / YKHO.current_liabilities", "def Mf40(YKHO):\n Z2w4 = YKHO.max_loss / (YKHO.buy_price - YKHO.stop_loss)\n _vj9 = YKHO.max_loss / (YKHO.buy_price - YKHO.stop_l...
[ "0.6649561", "0.6621992", "0.6601195", "0.65391403", "0.6486688", "0.6445053", "0.64083564", "0.63718146", "0.63159233", "0.62961155", "0.62943304", "0.6285521", "0.6281661", "0.626485", "0.62531626", "0.6228579", "0.62118506", "0.61849105", "0.61722094", "0.6142209", "0.6106...
0.6555071
3
Return how many 50dollar bill can be printed from this amount of cash.
def yEfk(YKHO, Z5kt): return Z5kt // 50
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FyJW(YKHO, Z5kt):\n return Z5kt % 50", "def Mf40(YKHO):\n Z2w4 = YKHO.max_loss / (YKHO.buy_price - YKHO.stop_loss)\n _vj9 = YKHO.max_loss / (YKHO.buy_price - YKHO.stop_loss) * YKHO.buy_price\n if _vj9 > YKHO.capital:\n return round(YKHO.capital / YKHO.buy_price, 9)\n else:\n retu...
[ "0.6839984", "0.65893066", "0.6517756", "0.6482814", "0.64510983", "0.642632", "0.6400921", "0.6387949", "0.6336911", "0.6330796", "0.62974346", "0.6231293", "0.62299055", "0.6222049", "0.6188447", "0.6175398", "0.61228955", "0.61224926", "0.6074375", "0.60437423", "0.60349",...
0.6810906
1
Return how many 20dollar bill can be printed from this amount of cash.
def TqTi(YKHO, Z5kt): return Z5kt // 20
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LLny(YKHO):\n return YKHO.cash / YKHO.current_liabilities", "def wjRY(YKHO):\n for dxhl in YKHO.cards:\n if not dxhl.value:\n return 0\n a1PO = 0\n for dxhl in YKHO.cards:\n a1PO += dxhl.value\n vTJk = False\n for dxhl in YKHO.cards:\n if dxhl.value == pChD.A...
[ "0.66276145", "0.6596256", "0.65281093", "0.6518528", "0.6508884", "0.6474759", "0.6370006", "0.63635004", "0.6303712", "0.6300608", "0.6235348", "0.622084", "0.6209585", "0.6168031", "0.6150687", "0.6114566", "0.61100656", "0.6104596", "0.60977983", "0.6072506", "0.60391116"...
0.61938983
13
Find the smallest multiple of all numbers from 1 to the given number.
def hMLk(YKHO, mLGw): Aofo = dict() for exwG in range(1, mLGw + 1): ycBG = YKHO.find_prime_divisors(exwG) Aofo.update({G1Hx: Ty9i for G1Hx, Ty9i in ycBG.items() if G1Hx not in Aofo or Aofo[G1Hx] < Ty9i}) return Pusg(seET.mul, (pow(G1Hx, Ty9i) for G1Hx, Ty9i in Aofo.items()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bFjT(exwG):\n return Pusg(h9pL, range(1, exwG + 1))", "def b4Ic(WKvO):\n TK2h = 1\n for ffYW in JtcJ(WKvO):\n TK2h *= ffYW ** int(RKD7(WKvO, ffYW))\n return TK2h", "def bFjT(exwG):\n if exwG == 1:\n return 1\n Ylbp = 1\n rPed = zdaV(exwG)\n for XP5J in rPed:\n Y...
[ "0.81792176", "0.81649256", "0.7750031", "0.77447075", "0.7664004", "0.7534783", "0.7335728", "0.73217124", "0.7319336", "0.71423554", "0.69448835", "0.69352186", "0.67931837", "0.67191017", "0.6665189", "0.66469055", "0.66291827", "0.66180444", "0.65898067", "0.6506504", "0....
0.62049127
33
Checks if num is evenly divisible by n.
def tOVI(mLGw, exwG): return mLGw % exwG == 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jUvx(exwG: int, oCcr: Iterable) -> bool:\n for YRbF in oCcr:\n if exwG % YRbF != 0:\n return False\n return True", "def QgH1(exwG, lTTm):\n for mLGw in lTTm:\n if not exwG % mLGw:\n return True\n return False", "def NXYx(exwG):\n eHNT = True\n for r845 ...
[ "0.78296596", "0.7816904", "0.77420396", "0.7642597", "0.7620788", "0.7599114", "0.7599114", "0.7526802", "0.7450844", "0.73770326", "0.73770326", "0.7355424", "0.72856253", "0.7196798", "0.7194723", "0.7166605", "0.7157876", "0.7094404", "0.70826745", "0.70661384", "0.703626...
0.8853613
0
Get duration from file as number of seconds
def afjN(YKHO, zFiD): cOxs = zFiD.split('=')[1] return int(cOxs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EdTY(nUeQ):\n HCmI = 'ffprobe -i \"{}\" -show_entries format=duration -v quiet -of csv=\"p=0\"'.format(nUeQ)\n try:\n hlel = Yn3K.check_output(HCmI, shell=True, stderr=Yn3K.STDOUT)\n except Yn3K.CalledProcessError as e:\n print(tTpl.output)\n hlel = 0\n return float(hlel)", "...
[ "0.7898523", "0.7786872", "0.7725611", "0.7610942", "0.7273601", "0.7043183", "0.7038639", "0.70121634", "0.68542045", "0.6832816", "0.6745789", "0.670392", "0.66651106", "0.66560686", "0.66041857", "0.6596064", "0.6593739", "0.6537936", "0.6503092", "0.64249146", "0.63836765...
0.6859132
8
Get Engine hours from line as float number
def jb36(YKHO, zFiD): J_gn = zFiD.split('engine_hours')[1] if J_gn.startswith('='): J_gn = J_gn[1:] J_gn = J_gn.split(';')[0] return float(J_gn)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qdal(YKHO):\n XBsB = YKHO.f.readline()\n while XBsB:\n WJWc = YKHO.solvphre.match(XBsB)\n if WJWc:\n return float(WJWc.groups()[0])\n XBsB = YKHO.f.readline()", "def J41M(vpR1: list) -> oyIN.ndarray:\n ITS7 = [Dbtb(zFiD.split()[1]) for zFiD in vpR1]\n return oyIN.a...
[ "0.6649436", "0.6612638", "0.6277559", "0.62514144", "0.6202356", "0.6185711", "0.60339004", "0.59633267", "0.5953654", "0.5864964", "0.58508605", "0.5747257", "0.5724702", "0.57240283", "0.57002425", "0.5692755", "0.5669807", "0.56350726", "0.56348675", "0.5618601", "0.56079...
0.8523258
0
Method to get relative path of loaded page
def NE63(YKHO): return KVWQ(YKHO.browser.current_url).path
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pmON(YKHO):\n return YKHO._selenium.current_url.replace('http://{}'.format(YKHO._address), '')", "def OFuf(QePW):\n return QePW.rootpage.getPagePath('pages')", "def GFDX(YKHO, gdFG):\n return YKHO.ctx.depot_path(gdFG.depot_path).to_gwt()", "def HG6f():\n jA2G.ctx.path_url = jA2G.ctx.home + jA...
[ "0.70092595", "0.69462067", "0.68127006", "0.67637193", "0.6665196", "0.66468495", "0.6579726", "0.65442705", "0.6541777", "0.6541775", "0.6532035", "0.6511223", "0.6508869", "0.64980835", "0.6496541", "0.6487011", "0.6458795", "0.64568484", "0.64523655", "0.6451513", "0.6437...
0.84251916
0
close the connection to the database.
def f06n(YKHO): try: super(XDxO, YKHO).disconnect() finally: YKHO.lateloadr._client = None YKHO.relloadr._db = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yZlT(Emd4):\n NCls.close()", "def YzkT(YKHO):\n if YKHO._conn is not None:\n YKHO._conn.close()\n YKHO._conn = None", "def DDI8(YKHO):\n RdPg.debug('DB -> close')\n YKHO.conn.close()", "def DDI8(YKHO):\n if YKHO._dbopen:\n YKHO._dbcon.close()", "def DDI8(YKHO):\n ...
[ "0.8670051", "0.8501116", "0.8410733", "0.8270201", "0.8187021", "0.8160223", "0.8117305", "0.8107972", "0.8058615", "0.80055964", "0.8005287", "0.7950234", "0.7933582", "0.79324245", "0.79264647", "0.7842355", "0.7806763", "0.77820516", "0.7747405", "0.7747405", "0.7747405",...
0.0
-1
Sets the description of this Product.
def JBZA(YKHO, JBZA): YKHO._description = JBZA
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO.description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO._description = JBZA", "def prlj(YKHO, JBZA):\n YKHO.description = str(JBZA)", "def JBZA(YKHO, JBZA):\n ...
[ "0.8383204", "0.8376429", "0.83712584", "0.8350903", "0.82433724", "0.80381507", "0.80381507", "0.80381507", "0.80381507", "0.7970083", "0.7970083", "0.7970083", "0.7970083", "0.79369473", "0.7909474", "0.7785794", "0.7777406", "0.7696617", "0.7664708", "0.76456475", "0.75812...
0.80425024
29
Sets the epid of this Product.
def AbyK(YKHO, AbyK): YKHO._epid = AbyK
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mc9N(YKHO, Mc9N):\n YKHO._product_id = Mc9N", "def Mc9N(YKHO, Mc9N):\n YKHO._product_id = Mc9N", "def Mc9N(YKHO, Mc9N):\n YKHO._product_id = Mc9N", "def yGdP(YKHO, yGdP):\n YKHO._eid = yGdP", "def g2g3(YKHO, g2g3):\n YKHO._entity_id = g2g3", "def Lkiz(YKHO):\n if not YKHO.product_id...
[ "0.7221626", "0.7139267", "0.7139267", "0.70915365", "0.6269724", "0.6258747", "0.62039185", "0.62039185", "0.6120413", "0.6106977", "0.5937478", "0.5937478", "0.59024143", "0.5849628", "0.5849628", "0.58250904", "0.5817866", "0.5817866", "0.5817866", "0.5817866", "0.5817639"...
0.8224006
1
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, msfn): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748" ]
0.0
-1
Read text file in reversed direction, return iteration of lines
def G_ND(Emd4, rVmU: object, pGkw: str='\n', hve6: bool=True, JdEs: bool=True): eHNT = open(Ux0P, 'w') def zX71(xv2r, mmqU): """ Divides given numbers with ceiling. """ return -(-xv2r // mmqU) def lpha(vIwR, g8rx, mACm): """ Splits given string by given separator. """ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ks0r(Ux0P: Union[str, Path]) -> jd6F[str, str, None]:\n try:\n with JH_E(Ux0P, 'rb') as eHNT:\n if isinstance(eHNT, (lGU7.GzipFile, FNO7.BZ2File)):\n for zFiD in reversed(eHNT.readlines()):\n yield zFiD.decode('utf-8').rstrip()\n else:\n ...
[ "0.69842607", "0.6357434", "0.623254", "0.6231467", "0.6222857", "0.6221075", "0.6157578", "0.6034899", "0.5929396", "0.590962", "0.5858264", "0.5783795", "0.5774172", "0.5766958", "0.57479566", "0.5744451", "0.5699199", "0.5691955", "0.5573952", "0.55698323", "0.55641776", ...
0.5500751
24
Inspects a custom lambda function and tries to determine whether it is symbolically commutative (disregarding data type).
def yG_o(OKsI): if OKsI == '' or OKsI is None: return None kysj = eval(OKsI) jzdc = FCE9.Symbol('a') Fg_i = FCE9.Symbol('b') try: xRJo = kysj(jzdc, Fg_i) ITPY = kysj(Fg_i, jzdc) except (TypeError, AttributeError): return None return xRJo == ITPY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p5Co(MCGS):\n return isinstance(MCGS, type(_Qec)) and MCGS.__name__ == _Qec.__name__", "def U8bL(JfyU):\n return getattr(JfyU, 'func_name', False) == '<lambda>'", "def FeU5(J_Es, FlLF=[]):\n return eBBa(['curry'], J_Es, FlLF)", "def hKBp(OKsI):\n if OKsI == '' or OKsI is None:\n return...
[ "0.666805", "0.652953", "0.58758575", "0.57659847", "0.562268", "0.55440086", "0.5533249", "0.5432047", "0.54275006", "0.53410333", "0.53028214", "0.5295937", "0.52474564", "0.5220733", "0.52181447", "0.5149709", "0.5084852", "0.5077263", "0.5054437", "0.503736", "0.50239503"...
0.6301599
2
Accumulate for a single datapoint. This call can only be made when the adaptation state is ACCUMULATING
def dK8W(YKHO, VAJu, KMvS, Tpka, f4IJ): YKHO._verify_index_for_accum(VAJu) YKHO._require_state('ACCUMULATING') YKHO._accums[VAJu].accum_one_frame(KMvS, Tpka, f4IJ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iDSU():\n YKHO.__xdata = oyIN.array([])\n YKHO.__ydata = oyIN.array([])\n for YAq3 in YKHO.signal_accumulators:\n YKHO.__xdata = ndJ1(YKHO.__xdata, YAq3.attempt)\n YKHO.__ydata = ndJ1(YKHO.__ydata, YAq3.count)\n YKHO.__applied = True", "def ZwBF(YKHO, d6pt, Ro40):\n YKHO.accumula...
[ "0.6104166", "0.6088561", "0.60841966", "0.59880704", "0.5932588", "0.5918114", "0.58795935", "0.58363545", "0.5765449", "0.5757558", "0.5710376", "0.56825674", "0.56786096", "0.5663558", "0.5631574", "0.56124437", "0.5593801", "0.5590369", "0.5547484", "0.5543528", "0.553291...
0.5291486
45
Given a float returns a rounded int. Should give the same result on both Py2/3
def mbbq(BWXx): return int(SOnQ.Decimal.from_float(BWXx).to_integral_value(SOnQ.ROUND_HALF_EVEN))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w0Kp(eHNT):\n return int(oyIN.round(eHNT))", "def clzY(xDpu: float) -> int | float:\n return int(SalD) if (SalD := round(xDpu, 2)).is_integer() else SalD", "def PLNm(WKvO: float) -> int:\n return round(WKvO * 100)", "def khhC(mLGw):\n try:\n float(mLGw)\n except TypeError:\n ...
[ "0.7796194", "0.7791462", "0.7602636", "0.7363093", "0.70661354", "0.70631975", "0.70404613", "0.70381194", "0.7027889", "0.68660855", "0.68584484", "0.681991", "0.68141717", "0.6800256", "0.6791723", "0.67634344", "0.6759591", "0.67321956", "0.67298174", "0.66592366", "0.661...
0.75691056
3
Like fileobj.seek(offset, 2), but will not try to go beyond the start Needed since file objects from BytesIO will not raise IOError and file objects from open() will raise IOError if going to a negative offset. To make things easier for custom implementations, instead of allowing both behaviors, we just don't do it.
def GOeO(J1UY, vgXP): if vgXP < 0: raise ValueError if jiw9(J1UY) < vgXP: J1UY.seek(0, 0) else: J1UY.seek(-vgXP, 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TYp4(YKHO, vgXP):\n assert vgXP % YKHO.recordsize == 0\n ro4G, luHh = divmod(vgXP, YKHO.filesize - YKHO.header_size)\n YKHO.open(ro4G)\n YKHO.fh_raw.seek(luHh + YKHO.header_size)\n YKHO.offset = vgXP", "def DLcv(YKHO, XdrQ):\n if YKHO.is_open:\n try:\n YKHO.fd.seek(XdrQ)\n...
[ "0.74189854", "0.7154907", "0.7124377", "0.69461596", "0.6881851", "0.6881851", "0.6593302", "0.6579465", "0.6480783", "0.6409056", "0.6319345", "0.6310804", "0.62028414", "0.6186576", "0.6177191", "0.6131797", "0.6117652", "0.60831636", "0.6053595", "0.60344887", "0.5975833"...
0.72395414
1
Insert size bytes of empty space starting at offset. fobj must be an open file object, open rb+ or equivalent. Mutagen tries to use mmap to resize the file, but falls back to a significantly slower method if mmap fails.
def l7mT(Vu7S, zNig, vgXP, TyFG=2 ** 16): if zNig < 0 or vgXP < 0: raise ValueError Vu7S.seek(0, 2) JAMD = Vu7S.tell() Hepi = JAMD - vgXP if Hepi < 0: raise ValueError wDWJ(Vu7S, zNig, TyFG) if clzx is not None: try: UoHC(Vu7S, vgXP + zNig, vgXP, Hepi) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l7mT(YKHO, Vu7S, zNig, vgXP, TyFG=2 ** 16):\n if zNig < 0 or vgXP < 0:\n raise ValueError\n Vu7S.seek(0, 2)\n JAMD = Vu7S.tell()\n Hepi = JAMD - vgXP\n if Hepi < 0:\n raise ValueError\n YKHO.resize_file(Vu7S, zNig, TyFG)\n YKHO.mmap_move(Vu7S, vgXP + zNig, vgXP, Hepi)", "de...
[ "0.74079037", "0.6687683", "0.6400288", "0.62285495", "0.61452436", "0.6054007", "0.5927422", "0.5602", "0.55221754", "0.5474256", "0.5411046", "0.5408975", "0.5326317", "0.5261175", "0.5242342", "0.5188048", "0.50676775", "0.50609404", "0.5048499", "0.5041186", "0.5021386", ...
0.7578306
0
Returns a bytearray of length `count`. Works unaligned.
def bytes(YKHO, UHFx): if UHFx < 0: raise ValueError if YKHO._bits == 0: nPrm = YKHO._fileobj.read(UHFx) if len(nPrm) != UHFx: raise DHvl('not enough data') return nPrm return bytes(bytearray((YKHO.bits(8) for bGrB in Ni9Y(UHFx))))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lZCv(YKHO, UHFx):\n Itdd = YKHO.b_form[YKHO._ip:YKHO._ip + UHFx]\n YKHO._ip += UHFx\n return Itdd", "def Ueki(YKHO, dIcB: int=-1) -> bytes:\n if not dIcB or dIcB < 0:\n return YKHO.read1()\n iFdi = bytearray(dIcB)\n vgXP = 0\n while vgXP < dIcB:\n jbXL = YKHO.read1(dIcB - v...
[ "0.6723796", "0.6040334", "0.5972829", "0.5927453", "0.581622", "0.580186", "0.56533235", "0.5587902", "0.55379736", "0.54010576", "0.5392472", "0.52283037", "0.5226907", "0.5203962", "0.5203649", "0.5199864", "0.5190235", "0.5170492", "0.5166892", "0.5092369", "0.5053942", ...
0.64359
1
Skip `count` bits. Might raise BitReaderError if there wasn't enough data to skip, but might also fail on the next bits() instead.
def EdbX(YKHO, UHFx): if UHFx < 0: raise ValueError if UHFx <= YKHO._bits: YKHO.bits(UHFx) else: UHFx -= YKHO.align() _VAm = UHFx // 8 YKHO._fileobj.seek(_VAm, 1) UHFx -= _VAm * 8 YKHO.bits(UHFx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EdbX(YKHO, UHFx):\n YKHO.bytepos += UHFx", "def EdbX(YKHO):\n u54L = YKHO.next_byte()\n while u54L != b'\\x00' and u54L:\n YKHO.next_bytes(OZOv(u54L, 'big'))\n u54L = YKHO.next_byte()", "def UOVU(YKHO, UHFx):\n if UHFx < 0:\n raise ValueError\n if UHFx > YKHO._bits:\n ...
[ "0.7157496", "0.6450507", "0.6301046", "0.6167968", "0.60330373", "0.5777534", "0.568266", "0.56792724", "0.5585285", "0.5526355", "0.5513701", "0.5349103", "0.5309461", "0.5309461", "0.52333885", "0.51825273", "0.51682067", "0.514723", "0.513244", "0.5101181", "0.50879747", ...
0.83949655
0
Checks that fname has one of the provided extensions.
def XUa6(IznC, CBZq): if IznC is None: return assert isinstance(CBZq, tuple), "The 'extensions' must be a tuple." if not IznC.endswith(CBZq): raise ValueError('Invalid file extension (%s). Must be one of %s' % CBZq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DVFM(Ux0P, CBZq):\n return Ux0P.lower().endswith(CBZq)", "def DVFM(Ux0P, CBZq):\n return Ux0P.lower().endswith(CBZq)", "def DVFM(Ux0P: Union[Path, str], CBZq: tuple[str, ...]) -> bool:\n return Ux0P.lower().endswith(CBZq)", "def qdVJ(IznC):\n YBcr = pmON.splitext(IznC)[1]\n return YBcr in ...
[ "0.82834345", "0.82834345", "0.8100357", "0.80992466", "0.8026359", "0.79824466", "0.79824466", "0.79754186", "0.7952315", "0.79121125", "0.7896674", "0.78304005", "0.77155715", "0.76968277", "0.7648792", "0.7646323", "0.760212", "0.7586791", "0.7574435", "0.75537294", "0.754...
0.85929507
0
Dumps dictionary as a json object to a file with file_name name.
def uP8n(IznC, nPrm, hGfQ=False): if IznC is None: raise ValueError('File name is None') if hGfQ: L_Tl.check_file_extensions(IznC, ('.json', '.json.gz')) L_Tl.mkdirf(IznC) with TdZD(IznC, 'w') as Vu7S: qQXR.dump(nPrm, Vu7S, indent=4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gk4j(cmPJ, gIsw):\n if gIsw is not None:\n L_Tl.mkdirf(gIsw)\n with open(gIsw, 'w') as o1P6:\n qQXR.dump(cmPJ, o1P6, indent=4)", "def W1Sa(YKHO, gIsw: str) -> None:\n with open(gIsw, 'w') as o36Q:\n qQXR.dump(YKHO.to_dict(), o36Q, indent=1)", "def uP8n(X4Oj, pmON, gIsw...
[ "0.8462733", "0.8026518", "0.79208636", "0.7748574", "0.7739286", "0.77206194", "0.7711347", "0.7698838", "0.762147", "0.76008123", "0.7582553", "0.7537253", "0.7525442", "0.74622864", "0.7459011", "0.7440289", "0.7421963", "0.7416847", "0.7416149", "0.74134", "0.7409963", ...
0.66713727
100
Creates new dictionary with items which keys start with prefix. Creates new dictionary with items from dictionary which keys names starts with prefix. If remove_prefix is True, keys in new dictionary will not contain this prefix. The dictionary dictionary is not modified.
def G7xa(cmPJ, y0cW, JpJy=True): aT8L = {} for H5ew in cmPJ: if H5ew.startswith(y0cW): p2iT = H5ew[len(y0cW):] if JpJy else H5ew aT8L[p2iT] = jth9.deepcopy(cmPJ[H5ew]) return aT8L
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vwTA(Op6c, VDNT):\n g6kh = {}\n for H5ew in Op6c:\n TZZQ = True\n for y0cW in VDNT:\n if H5ew.startswith(y0cW):\n TZZQ = False\n if TZZQ:\n g6kh[H5ew] = Op6c[H5ew]\n return g6kh", "def yvKr(Csk6, y0cW):\n if Csk6 is None or isinstance(Csk6...
[ "0.75500476", "0.70344096", "0.7015549", "0.69922745", "0.6979635", "0.68354994", "0.67461884", "0.67389077", "0.6662732", "0.6609951", "0.633804", "0.63246626", "0.6315697", "0.6255116", "0.6130498", "0.6104047", "0.6064955", "0.6031019", "0.5999914", "0.5916186", "0.591303"...
0.83424884
0
Dumps dictionary as a json object to a file with file_name name.
def gk4j(cmPJ, gIsw): if gIsw is not None: L_Tl.mkdirf(gIsw) with open(gIsw, 'w') as o1P6: qQXR.dump(cmPJ, o1P6, indent=4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W1Sa(YKHO, gIsw: str) -> None:\n with open(gIsw, 'w') as o36Q:\n qQXR.dump(YKHO.to_dict(), o36Q, indent=1)", "def uP8n(X4Oj, pmON, gIsw):\n with open(pmON + '/' + gIsw + '.json', 'w') as ytgA:\n qQXR.dump(X4Oj, ytgA)\n return None", "def U1ai(ix6T, pmON, mWFP):\n if 'txt' not in m...
[ "0.80241674", "0.7920995", "0.77489483", "0.7739289", "0.7722602", "0.77131873", "0.7699249", "0.7622183", "0.7602195", "0.7584451", "0.75363094", "0.75245875", "0.74621475", "0.7460464", "0.7441086", "0.7421572", "0.7418366", "0.7415917", "0.74134827", "0.74121016", "0.73513...
0.84623295
0
Updates dictionary with items from iterable object. This method modifies/updates dictionary with items from iterable object. This object must support ``for something in iterable`` (list, opened file etc). Only those items in iterable are considered, that match pattern (it's a regexp epression). If a particular item doe...
def H2v5(cmPJ, OxJJ, mXDZ, TPLq=True, KfDM=None, ZqaC=False): D9Ga = ZbWC.compile(mXDZ) for zFiD in OxJJ: kUBT = D9Ga.match(zFiD) if not kUBT: if TPLq: raise KpxQ("Cannot match key-value from '%s' with pattern '%s'. Must match is set to true" % (zFiD, mXDZ)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aIlg(cmPJ: Dict, D__j: List[Any], BWXx: Any) -> cuzp:\n H5ew = D__j[0]\n cmPJ[H5ew] = BWXx if len(D__j) == 1 else aIlg(cmPJ[H5ew] if H5ew in cmPJ else dict(), D__j[1:], BWXx)\n return cmPJ", "def QdZT(YKHO, YGN2: None | _DictLike[str, npt.DTypeLike]=None, **V_D6: npt.DTypeLike) -> None:\n if YGN2...
[ "0.5341071", "0.5220354", "0.51635385", "0.5031238", "0.49762875", "0.49528491", "0.49510676", "0.49048623", "0.48874095", "0.48242366", "0.47714472", "0.47378278", "0.47348964", "0.47133338", "0.46789774", "0.46522626", "0.46491906", "0.46448138", "0.4625679", "0.45685178", ...
0.7991692
0
Closes queue and waits for resource monitor to finish.
def JCyR(YKHO): with open(YKHO.pid_file, 'w') as PzCc: PzCc.write('exit') YKHO.queue.close() YKHO.queue.join_thread() YKHO.monitor_process.join() YKHO.remove_pid_file()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sJDd(YKHO):\n YKHO.queue.join()", "def sJDd(YKHO):\n YKHO.drain_call_queue()", "def EcAv(YKHO):\n YKHO.queue.join()", "def gfza(gGq6):\n while not gGq6.is_empty():\n gGq6.remove()", "def U4F2(YKHO, vEqo, t41g, Tobl):\n YKHO.queue.channel.rpc(YKHO._basic_cancel)\n YKHO.queue.con...
[ "0.6702483", "0.6387367", "0.6360253", "0.62603915", "0.6229616", "0.62126917", "0.6211487", "0.6183273", "0.6176807", "0.6167198", "0.61511976", "0.6119246", "0.6066761", "0.6044037", "0.5995759", "0.5991034", "0.5958489", "0.5948596", "0.5929895", "0.59128755", "0.59125113"...
0.0
-1
Sets the current value of the togglebox to `value`.
def feVD(YKHO, BWXx, *dGo9): feVD(YKHO.checkbox, BWXx[0]) feVD(YKHO.widget, BWXx[1], *dGo9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n YKHO.value = BWXx", "def j6Nn(YKHO, BWXx):\n if YKHO.notebook:\n YKHO.widget.value = BWXx\n elif hasattr(YKHO.widget, 'setValue'):\n YKHO.widget.setValue(BWXx)\n e...
[ "0.742062", "0.742062", "0.742062", "0.7210438", "0.7157633", "0.70544916", "0.69965965", "0.6993335", "0.6970577", "0.69340783", "0.6906684", "0.6864974", "0.6864974", "0.6767598", "0.67285585", "0.66552883", "0.6585132", "0.65805554", "0.65805554", "0.65805554", "0.65805554...
0.68269217
13
Creates a transposedconvolutional layer, with optional batch normalization.
def RzIw(DYuh, tYiq, Ot1W, _0fC=2, dvgN=1, idFg=True): fhcK = [] fhcK.append(U78l.ConvTranspose2d(DYuh, tYiq, Ot1W, _0fC, dvgN, bias=False)) if idFg: fhcK.append(U78l.BatchNorm2d(tYiq)) return U78l.Sequential(*fhcK)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l7uB(Fi_Q, yIp6, Kz5H, *qIxc, **B2fa):\n return nhQi(Fi_Q, yIp6.input_shape[1], yIp6.filter_size, *qIxc, stride=yIp6.stride, crop=yIp6.pad, W=yIp6.W, flip_filters=not yIp6.flip_filters, nonlinearity=Kz5H, **B2fa)", "def OOwo(YKHO, oLRV, UU6M):\n return YKHO.add_layer(OOwo, oLRV, UU6M)", "def n6bv(dqx...
[ "0.7040915", "0.6893093", "0.67176014", "0.6710079", "0.6708082", "0.6663472", "0.6663338", "0.66571265", "0.6606713", "0.65221524", "0.65110224", "0.6509939", "0.64646214", "0.6452036", "0.6451129", "0.6449012", "0.6433785", "0.6417472", "0.63981646", "0.6397703", "0.6380099...
0.5603751
89
Check if the input is a string, if so, converts it to a list
def n0SL(input): if isinstance(input, str): return [input] else: return input
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OE6J(fruk):\n if isinstance(fruk, str):\n return [fruk]\n else:\n return list(fruk)", "def mFWN(BWXx):\n if hasattr(BWXx, '__iter__') and (not isinstance(BWXx, str)):\n return list(BWXx)\n return [BWXx]", "def mFWN(WKvO):\n import collections\n if not isinstance(WKvO,...
[ "0.7878537", "0.7787954", "0.7741449", "0.7717572", "0.76445377", "0.74994344", "0.74705714", "0.74636996", "0.7382013", "0.73511875", "0.73296595", "0.72797275", "0.71756727", "0.71564317", "0.71372485", "0.71317095", "0.71272564", "0.7113769", "0.71094614", "0.7108431", "0....
0.89611244
0
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
def e_63(K0do, qtWj, YPaw, y7GR): qQdu = [int(4 / 8 * y7GR.n_epochs), int(6 / 8 * y7GR.n_epochs), int(7 / 8 * y7GR.n_epochs), y7GR.n_epochs] if qtWj in qQdu and YPaw == 0: for Lwm5 in K0do.param_groups: Lwm5['lr'] = Lwm5['lr'] * y7GR._lr_decay
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e_63(DJmW, K0do, qtWj, exwG=100):\n DJmW = DJmW * 0.1 ** (qtWj // exwG)\n print('learning rate : ', DJmW)\n for Lwm5 in K0do.param_groups:\n Lwm5['lr'] = DJmW", "def e_63(ouZy, K0do, qtWj, dLlC):\n tspZ = ouZy * 0.3 ** (qtWj // 5)\n if qtWj == dLlC:\n tspZ = tspZ * 0.3\n for L...
[ "0.7913037", "0.79065263", "0.7850287", "0.7775244", "0.77343005", "0.7730824", "0.7723519", "0.77228487", "0.772005", "0.77095324", "0.7694036", "0.7674953", "0.76661867", "0.76661867", "0.76661867", "0.76546687", "0.764281", "0.7640212", "0.7638316", "0.76263756", "0.762475...
0.0
-1
Returns the string representation of the object
def zAg0(YKHO): return '[{}] ({}) {}'.format(YKHO.__class__.__name__, YKHO.id, YKHO.__dict__)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__dict__['_obj'])", "def zAg0(YKHO):\n return str(YKHO.obj)", "def zAg0(YKHO):\n return str(YKHO.serialize())", "def yLCI(YKHO):\n return YKHO.__str__()", "def zAg0(YKHO):\n return str(YKHO.__dict__)", "def zAg0(YKHO):\n return str(YKHO.__dict__)", "d...
[ "0.855347", "0.8476072", "0.83733624", "0.8325834", "0.81988674", "0.81988674", "0.8109982", "0.8106969", "0.80935043", "0.80935043", "0.80935043", "0.80935043", "0.80935043", "0.80895895", "0.8087514", "0.80274796", "0.8025889", "0.8025212", "0.80183464", "0.80128413", "0.80...
0.0
-1
Updates the attribute updated_at with the current datetime
def xkzz(YKHO): YKHO.updated_at = qcWV.today() FYrf.storage.save()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zB0d(YKHO, zB0d: 'datetime'):\n YKHO._attrs['updatedAt'] = zB0d", "def zB0d(YKHO, zB0d: 'datetime'):\n YKHO._attrs['updatedAt'] = zB0d", "def zB0d(YKHO, zB0d: 'datetime'):\n YKHO._attrs['updatedAt'] = zB0d", "def xkzz(YKHO):\n YKHO.updated_at = qcWV.now()", "def zB0d(YKHO, zB0d):\n YKHO....
[ "0.8296416", "0.8296416", "0.8296416", "0.77210957", "0.76277566", "0.76277566", "0.76277566", "0.76277566", "0.76277566", "0.76277566", "0.76277566", "0.76277566", "0.76277566", "0.76277566", "0.7403463", "0.7403463", "0.7403463", "0.72503334", "0.7243401", "0.712834", "0.70...
0.6322648
55