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
Asks the user whether they want to display the raw data or not. If yes, 5 rows od data is printed at a time and the user is asked to confirm to print next 5 rows.
def voXz(jQ3Z): geh0 = Uuo7('\nWould you like to display raw data of the filtered dataset?\n', ['Yes', 'No']) if geh0 == 'Yes': oeNL, DR2N = (0, len(jQ3Z)) mFeZ = Uuo7("\nWould you like to display all columns or to fit the number of columns to screen width? Please answer with 'All' or 'Fit':\n",...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hv4Q(jQ3Z):\n f8C1 = 5\n if str(input(\"Would You like to see the raw data? Type 'yes' if so: \")).lower() == 'yes':\n print('\\n', jQ3Z.iloc[0:f8C1, :], '\\n')\n while True:\n if str(input(\"Would You like to see 5 more rows of the raw data? Type 'yes' if so: \")).lower() == 'ye...
[ "0.8347795", "0.8167919", "0.8094571", "0.80773956", "0.8045984", "0.80356324", "0.8008391", "0.8005382", "0.79682696", "0.7952965", "0.7936546", "0.7933491", "0.79261965", "0.78995097", "0.7882061", "0.7862492", "0.7854122", "0.78322774", "0.782548", "0.7792044", "0.7784815"...
0.7816457
19
Displays statistics on the most frequent times of travel.
def dWJR(jQ3Z): print('\nCalculating The Most Frequent Times of Travel...\n') SWox = ITS7.time() print('Most common month: {}\n'.format(jQ3Z['Start Month'].mode()[0])) print('Most common day of week: {}\n'.format(jQ3Z['Start Day'].mode()[0])) print('Most common start hour: {}\n'.format(jQ3Z['Start H...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dWJR(jQ3Z):\n print('\\nCalculating The Most Frequent Times of Travel...\\n')\n SWox = ITS7.time()\n print('The most common month of travel is: {} '.format(jQ3Z.Month.mode()[0]))\n print('The most common day of travel is: {} '.format(jQ3Z.Day.mode()[0]))\n print('The most common hour of travel i...
[ "0.79996175", "0.7920857", "0.7891767", "0.78612196", "0.785926", "0.7838814", "0.779974", "0.77848285", "0.7735119", "0.7723049", "0.771342", "0.7708436", "0.770453", "0.77017164", "0.7685842", "0.7680146", "0.76788265", "0.76721054", "0.7661351", "0.7660023", "0.7657289", ...
0.7689714
14
Displays statistics on the most popular stations and trip.
def Huc_(jQ3Z): print('\nCalculating The Most Popular Stations and Trip...\n') SWox = ITS7.time() print('Most commonly used start station: {}\n'.format(jQ3Z['Start Station'].mode()[0])) print('Most commonly used end station: {}\n'.format(jQ3Z['End Station'].mode()[0])) print('Most frequent combinati...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations and Trip...\\n')\n SWox = ITS7.time()\n v6Be(jQ3Z)\n BeYU(jQ3Z)\n O6Ct(jQ3Z)\n print('\\nThis took %s seconds.' % (ITS7.time() - SWox))\n print('-' * 40)", "def Huc_(jQ3Z):\n print('\\nCalculating The Most Popular Stations ...
[ "0.7665365", "0.76264536", "0.7610902", "0.75852126", "0.7576492", "0.7567089", "0.75577486", "0.7538181", "0.75294757", "0.7502035", "0.74997437", "0.7496321", "0.74872565", "0.74840283", "0.7475714", "0.7472988", "0.7437631", "0.74366206", "0.7433223", "0.7428372", "0.74269...
0.71679795
87
Displays statistics on the total and average trip duration.
def kDMA(jQ3Z): print('\nCalculating Trip Duration...\n') SWox = ITS7.time() print('\nTotal travel time: {}'.format(fCoM(seconds=float(jQ3Z['Trip Duration'].sum())))) print('\nMean trip duration: {}'.format(fCoM(seconds=float(jQ3Z['Trip Duration'].mean())))) print('\nThis took %s seconds.' % (ITS7.t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kDMA(dMlt):\n print('\\nCalculating Trip Duration...\\n')\n SWox = ITS7.time()\n qZ1g = dMlt['Trip Duration'].sum()\n print('The total travel time is ', qZ1g, ' seconds.')\n NPSF = dMlt['Trip Duration'].mean()\n print('The average travel time is ', NPSF, ' seconds.')\n print('\\nThis took ...
[ "0.8251978", "0.81471264", "0.80965656", "0.80127156", "0.7987783", "0.79834235", "0.7978646", "0.79705906", "0.7965226", "0.79636025", "0.79616374", "0.79614663", "0.79523134", "0.7948989", "0.79445267", "0.7937707", "0.7923821", "0.792045", "0.79198813", "0.7918623", "0.791...
0.78943264
33
Removes the last element of the list and returns its value
def BEuN(YKHO) -> object: if YKHO.__isEmpty__(): return None elif YKHO.__isSingleton__(): Ylbp = YKHO.top.value YKHO.top = None return Ylbp else: VyRZ = YKHO.top Paff = YKHO.top while VyRZ.nxt is not None: Paff = VyRZ VyRZ = VyR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SBf0(qFa0):\n qFa0.pop(-1)", "def SBf0(aPd6):\n del aPd6[-1]", "def GD0i(BDwY):\n YRbF = len(BDwY)\n return BDwY[YRbF - 1]", "def WNBr(qFa0):\n return qFa0[:-1]", "def Qeks(YKHO):\n if YKHO.size == 0:\n return None\n XVAW = YKHO.last.val\n if YKHO.size == 1:\n YKHO...
[ "0.8238833", "0.81138957", "0.81129426", "0.799305", "0.79288256", "0.79197097", "0.7877946", "0.7865146", "0.7851983", "0.77660894", "0.76613253", "0.7585954", "0.74760586", "0.7419237", "0.73697454", "0.72657675", "0.7214079", "0.7180549", "0.71747476", "0.71328294", "0.712...
0.6587461
88
Transforms each text in texts in a sequence of integers.
def LADg(YKHO, z_aV): P8ux = [] for l5Ny in z_aV: i8WE = [] for YRbF in range(0, len(l5Ny)): BWXx = YKHO.word_index.get(l5Ny[YRbF].encode('utf-8')) if BWXx is not None: i8WE.append(BWXx) else: i8WE.append(0) P8ux.append(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SZFh(YKHO, z_aV):\n return YKHO.tonp([YKHO.__getitem__(WKvO) for WKvO in z_aV])", "def dRfP(nPrm, fTlR):\n Xtuq = []\n for Q6uT in nPrm:\n Xtuq.append(fTlR.transform_word2int(Q6uT))\n return Xtuq", "def lPyi(HeKR):\n l5Ny = []\n for Z9rn in HeKR:\n if Z9rn == 0:\n ...
[ "0.7099835", "0.65670425", "0.6333374", "0.6320379", "0.62275434", "0.62141633", "0.6194234", "0.61923844", "0.6183821", "0.6179817", "0.60827583", "0.6050534", "0.6050534", "0.6047215", "0.603302", "0.60242003", "0.60223544", "0.60223544", "0.60223544", "0.60223544", "0.6016...
0.65962714
1
pad sequence to the given length, with 0
def gc7n(YKHO, jWe2): Aofo = [] for aWuw in jWe2: u54L = min(YKHO.num_words, len(aWuw)) Q6uT = aWuw[0:u54L] SXLe = YKHO.num_words - len(Q6uT) for YRbF in range(0, SXLe): Q6uT.insert(0, 0) Aofo.append(Q6uT) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BVhq(YKHO, aWuw):\n FlGb = aWuw[0]\n if YKHO.sequence_length is not None:\n while len(aWuw) < YKHO.sequence_length:\n aWuw.insert(0, FlGb)\n return aWuw", "def gI2r(Q6uT):\n tsWk = len(Q6uT)\n oMWu = (DLMa - tsWk) // 2\n N8kD = DLMa - oMWu - tsWk\n Q6uT = oMWu * '-' + Q...
[ "0.84287626", "0.786501", "0.7766244", "0.76624537", "0.7660805", "0.76567096", "0.7612258", "0.75539434", "0.7533916", "0.751629", "0.736652", "0.73461497", "0.73410577", "0.73309726", "0.7330757", "0.7312366", "0.72964114", "0.72746533", "0.7266567", "0.71438485", "0.713643...
0.7098037
22
draw the detected lane lines back on the original image
def HUra(YKHO, LNo8): if len(YKHO.line_left.fitx) == 0: return LNo8 xZj9 = oyIN.zeros_like(LNo8).astype(oyIN.uint8) il5t = oyIN.linspace(0, LNo8.shape[0] - 1, LNo8.shape[0]) Kp3X = oyIN.array([oyIN.transpose(oyIN.vstack([YKHO.line_left.fitx, il5t]))]) KKAE = oyIN.array([oyIN.flipud(oyIN.tran...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PyvG(YKHO, LNo8):\n YKHO.set_frame(LNo8)\n YKHO.detect_line(is_left=True)\n YKHO.detect_line(is_left=False)\n if YKHO.left_line.detected & YKHO.right_line.detected:\n Qx_8 = oyIN.zeros_like(YKHO.warped).astype(oyIN.uint8)\n xZj9 = oyIN.dstack((Qx_8, Qx_8, Qx_8))\n il5t = oyIN.l...
[ "0.7765943", "0.7726252", "0.75558543", "0.7550842", "0.74992955", "0.74136525", "0.7409", "0.74041", "0.7340359", "0.7325104", "0.7283604", "0.7227475", "0.72046626", "0.7178885", "0.7155453", "0.7101783", "0.70705724", "0.7054868", "0.70309085", "0.6954036", "0.6916478", ...
0.78833675
0
This field is deprecated and will be removed from a future version of the API.
def ajCK(YKHO) -> str: qmLP.warn('This field is deprecated and will be removed from a future version of the API.', DeprecationWarning) qe4Y.log.warn('etag is deprecated: This field is deprecated and will be removed from a future version of the API.') return qe4Y.get(YKHO, 'etag')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PQy7(YKHO):\n return YKHO._deprecated", "def PQy7(YKHO) -> str:\n return qe4Y.get(YKHO, 'deprecated')", "def aktC(YKHO):\n return None", "def PQy7(YKHO, PQy7):\n YKHO._deprecated = PQy7", "def PQy7(YKHO, PQy7):\n YKHO._deprecated = PQy7", "def PQy7(YKHO, PQy7):\n YKHO._deprecated = ...
[ "0.7311943", "0.71867806", "0.69679546", "0.6341341", "0.6341341", "0.6341341", "0.6341341", "0.63372654", "0.61917144", "0.6184024", "0.6144731", "0.60894775", "0.60894775", "0.60464996", "0.59844404", "0.5894478", "0.57811606", "0.57372963", "0.5735433", "0.5735433", "0.573...
0.55622303
35
The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for `update` because it is already specified on the URL.
def KAOR(YKHO) -> str: return qe4Y.get(YKHO, 'instance')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO._client.project_name + '/instances/' + YKHO.instance_id", "def mWFP(YKHO):\n return YKHO._gcp_instance['name']", "def zeTD(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_name')", "def zeTD(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_name')", "def zeTD(YKHO) ->...
[ "0.7830086", "0.7587649", "0.7445086", "0.7445086", "0.7445086", "0.7344639", "0.7291295", "0.7241587", "0.6994486", "0.6976831", "0.69367915", "0.68676734", "0.67491513", "0.6691631", "0.6687135", "0.6646934", "0.6503666", "0.6503666", "0.650041", "0.64701915", "0.6456909", ...
0.0
-1
The password for the user.
def jTXt(YKHO) -> str: return qe4Y.get(YKHO, 'password')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jTXt(YKHO):\n return YKHO._get('password')", "def AuKh(YKHO):\n return YKHO.password", "def AuKh(YKHO):\n return YKHO.__password", "def jTXt(YKHO):\n return YKHO.__password", "def jTXt(YKHO):\n return YKHO._password", "def jTXt(YKHO):\n return YKHO._password", "def jTXt(YKHO):\n ...
[ "0.88038224", "0.8735371", "0.8664534", "0.86503905", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", "0.8648917", ...
0.8844129
2
The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for `update` because it is already specified on the URL.
def bNKA(YKHO) -> str: return qe4Y.get(YKHO, 'project')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ekCf(YKHO) -> str:\n return qe4Y.get(YKHO, 'project_id')", "def ekCf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'project_id')", "def ekCf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'project_id')", "def ekCf(YKHO):\n if YKHO._project_id is None:\n YKHO._project_id = LKHv._lookup(LKHv....
[ "0.7534866", "0.74357325", "0.74357325", "0.7380749", "0.73075044", "0.73075044", "0.73075044", "0.73075044", "0.73075044", "0.73075044", "0.73075044", "0.73075044", "0.73075044", "0.73075044", "0.7236979", "0.72072154", "0.72072154", "0.72072154", "0.72072154", "0.72072154", ...
0.68098855
29
Return the list of public photos from a given user. This function is used when user does not loggin. The public photos are access via 500px.com/user_name ( if the user was logged in, besides the public photos, we also access Unlisted, LimitedAccess photos, These photos are under 500px/manage and these pages have differ...
def omuK(E_qD, _ncY, ATvB, xgCJ): Mmj_ = [] nyyK, Ol8d = f9jx.open_user_home_page(E_qD, _ncY.user_name) if not nyyK: if Ol8d.find('Error reading') != -1: _ncY.user_name, _ncY.db_path = ('', '') return ([], Ol8d) WsGY = 30 try: zGKt = R3wq(E_qD, WsGY).until(i1TH.pr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LkGo(YKHO, uJjO=None):\n YKHO.log('Start get_photos method')\n if uJjO is None:\n uJjO = YKHO._token_owner_id\n NKcE = 'photos.get'\n GX9b = {'owner_id': YKHO._token_owner_id, 'extended': 1, 'album_id': 'profile'}\n if YKHO._dbg:\n YKHO.log('mock photo pesponse')\n with open...
[ "0.70417905", "0.69528925", "0.66510767", "0.65720385", "0.63576794", "0.6154481", "0.60920215", "0.6088645", "0.60235053", "0.6018913", "0.60153264", "0.60013795", "0.59548783", "0.594593", "0.59119105", "0.58043015", "0.5794278", "0.5760998", "0.5756385", "0.574663", "0.569...
0.64337784
4
reduce_noise is a function that filters all noisy columns.
def TYum(JVu5, VV5S): Z47_ = [] btcw = [] qIUN = VV5S.split('/')[-1] for YRbF in range(JVu5.get_alignment_length()): if not fB8A(JVu5[:, YRbF]): Z47_.append(JVu5[:, YRbF]) for YRbF in range(len(JVu5)): btcw.append(''.join([WKvO[YRbF] for WKvO in Z47_])) I1Dn = UK86.Mu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L3bJ(nPrm: np.ndarray, IwMu: XTable, QyVM: int, x19q: np.array, trTR: int) -> oyIN.ndarray:\n if 1 == trTR:\n UET8 = 2 * IwMu['stdv_modevalue'] * (x19q[QyVM] - x19q[QyVM - 1] - 1)\n nPrm = nPrm - UET8\n elif 2 == trTR:\n UET8 = IwMu['stdv_modevalue'] * (x19q[QyVM] - x19q[QyVM - 1] - ...
[ "0.6387755", "0.63661146", "0.6264164", "0.62596375", "0.6237378", "0.6181023", "0.61458063", "0.6096447", "0.60749376", "0.60534215", "0.6041594", "0.59777373", "0.59529155", "0.5952734", "0.5941835", "0.5937022", "0.59340465", "0.58931243", "0.58686733", "0.5864423", "0.584...
0.61117995
7
Return tuple (wasSuccess, newValue), where wasSuccess is True if different value was acquired successfully.
def kSv_(YKHO, property, CKog): l9p6 = YKHO.tc.GetValue() if property.UsesAutoUnspecified() and (not l9p6): return (None, True) Ylbp, BWXx = property.StringToValue(l9p6, NDON.PG_EDITABLE_VALUE) if not Ylbp and BWXx is None: Ylbp = True return (Ylbp, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DFxG(YKHO):\n if not YKHO.is_success():\n raise AttributeError(\"tag 'success' not set\")\n return YKHO._value", "def DFxG(YKHO):\n return YKHO.__success", "def DFxG(YKHO):\n return YKHO.__success", "def nyyK(YKHO):\n if YKHO._success_present:\n return YKHO._success_value\n ...
[ "0.6137627", "0.6130152", "0.6130152", "0.59790826", "0.59790826", "0.579799", "0.5740487", "0.57302475", "0.57302475", "0.57098484", "0.5685914", "0.5624172", "0.5616791", "0.56029826", "0.5594127", "0.55371404", "0.5517856", "0.55155325", "0.5505228", "0.5505228", "0.550522...
0.0
-1
Normalize data. Scale all data between 0 and 1 and multiply by a fixed value to make sure the graph looks great.
def l9RK(YKHO, nPrm): Y_Om = 0.1 PpIV = 100 oz31 = [nPrm['55DayLow'], nPrm['20DayLow'], nPrm['20DayHigh'], nPrm['55DayHigh']] s98c = nPrm['55DayHigh'] * Y_Om oz31.insert(0, nPrm['55DayLow'] - s98c) oz31.insert(len(oz31), oz31[len(oz31) - 1] + s98c) _Eo9 = [] aq_o = max(oz31) - oz31[0] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(YKHO):\n YKHO.scale(1 / YKHO.sum())", "def jnV4(YKHO, nPrm):\n if YKHO.clip:\n return nPrm.clip(0, 1)\n return oyIN.mod(nPrm, 1)", "def Q7gV(YKHO):\n YKHO.test_x = BfDw.scale(YKHO.test_x)\n YKHO.train_x = BfDw.scale(YKHO.train_x)\n YKHO.test_x = BfDw.normalize(YKHO.test_x)\n ...
[ "0.80938274", "0.7859978", "0.77054703", "0.7664389", "0.7663996", "0.76623565", "0.75518537", "0.7549845", "0.7540509", "0.7502671", "0.7498069", "0.743782", "0.743561", "0.7429627", "0.7415664", "0.7415209", "0.7414542", "0.7378843", "0.7297481", "0.7293589", "0.7282569", ...
0.0
-1
Create a ListedColorMap with `ncolors` randomlygenerated colors that can be used to color an IntegerFITSImage. The first color in the list is always black.
def HX90(i6Hb): from matplotlib import colors HTbS = oyIN.random.RandomState(B3Vi) MKlR = HTbS.uniform(low=0.0, high=1.0, size=i6Hb) KCHu = HTbS.uniform(low=0.2, high=0.7, size=i6Hb) Ty9i = HTbS.uniform(low=0.5, high=1.0, size=i6Hb) Cd_s = oyIN.dstack((MKlR, KCHu, Ty9i)) d7Eb = oyIN.squeeze(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vw9P(it_H=110):\n Jw9H = ['#' + ''.join([tuKI.choice('0123456789ABCDEF') for r845 in range(6)]) for YRbF in range(it_H)]\n lXH0 = {}\n for YRbF, P2GO in enumerate(Jw9H):\n lXH0[YRbF] = P2GO\n return lXH0", "def fRt4(ydh_):\n Jw9H = []\n vw9P = []\n for YRbF in XTiz.arange(0.0, 360...
[ "0.7134281", "0.7050112", "0.6900616", "0.6880792", "0.6829907", "0.6796887", "0.6791348", "0.67483443", "0.67208517", "0.6704849", "0.6681618", "0.66746414", "0.6650713", "0.66469896", "0.6637434", "0.66221666", "0.65901417", "0.658861", "0.658861", "0.65593326", "0.65464425...
0.7484088
0
Total number of samples in the dataset
def szAg(YKHO): return YKHO.len
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cDK5(YKHO, __n6):\n return YKHO.counts[__n6]", "def UHFx(YKHO):\n return len(YKHO.samples)", "def eAYh(YKHO):\n return sum((1 for bGrB in YKHO.sample_names))", "def szAg(YKHO):\n return YKHO.total_nr_samples", "def eAYh(YKHO):\n return len(YKHO._samples)", "def yU06(YKHO):\n return ...
[ "0.8664947", "0.84094137", "0.82501435", "0.8198463", "0.81492186", "0.8133565", "0.81227416", "0.81075686", "0.80852157", "0.8068288", "0.80667794", "0.8065804", "0.8065804", "0.8049487", "0.80481243", "0.8045352", "0.8024592", "0.8022202", "0.79540443", "0.7925293", "0.7880...
0.0
-1
Put `item` into the queue. If the queue is full, the oldest item is replaced by `item`.
def NpNj(YKHO, ZfUD: Any) -> None: with YKHO.condition: if YKHO.full(): super().get(block=False) super().put(ZfUD, block=False) YKHO.condition.notify()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NpNj(YKHO, ZfUD):\n if YKHO._size > 0 and len(YKHO._queue) >= YKHO._size:\n if YKHO._dispose_oldest:\n YKHO.get()\n else:\n raise nZ4M\n YKHO._queue.insert(0, ZfUD)", "def NpNj(YKHO, ZfUD):\n if YKHO.full():\n YKHO.get()\n g5js.Queue.put(YKHO, ZfUD)", ...
[ "0.876", "0.850371", "0.8276239", "0.8012029", "0.79772747", "0.7849365", "0.77997315", "0.7793555", "0.7788016", "0.77804506", "0.7777717", "0.77101773", "0.77101773", "0.77101773", "0.7705418", "0.77006704", "0.76975477", "0.7693174", "0.76827997", "0.76488113", "0.7639074"...
0.7359322
46
Remove and return an item from the queue.
def NMoC(YKHO, XkN1: bool=True, vYBr: Optional[float]=None) -> ImMB: with YKHO.condition: if XkN1 and YKHO.empty(): YKHO.condition.wait(vYBr) return super().get(block=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def he0F(YKHO, ZfUD):\n if YKHO.items:\n return YKHO.items.pop()\n return None", "def he0F(YKHO):\n if YKHO.is_empty():\n raise dSuY('Cannot Remove an item from empty Queue.')\n return YKHO.queue.pop()", "def he0F(YKHO) -> object:\n if not YKHO.items:\n raise IndexError('Que...
[ "0.80466497", "0.80323094", "0.80075556", "0.8007368", "0.8003683", "0.7999742", "0.7964993", "0.7964993", "0.7945027", "0.79448026", "0.7926034", "0.79243517", "0.78966415", "0.7883597", "0.78280556", "0.7804525", "0.7778412", "0.7771175", "0.7751883", "0.7731896", "0.771644...
0.0
-1
Tests label join missconfigured label is ignored
def C_YM(e88K, fKEd, jXDq, ryQO): GfdN = fKEd jXDq['namespace'] = 'ksm' jXDq['label_joins'] = {'kube_pod_info': {'label_to_match': 'pod', 'labels_to_get': ['node', 'not_existing']}} jXDq['metrics_mapper'] = {'kube_pod_status_ready': 'pod.ready'} GfdN.process(jXDq) GfdN.process(jXDq) e88K.ass...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kkmu(e88K, fKEd, jXDq, ryQO):\n GfdN = fKEd\n jXDq['namespace'] = 'ksm'\n jXDq['label_joins'] = {'kube_pod_info': {'label_to_match': 'not_existing', 'labels_to_get': ['node', 'pod_ip']}}\n jXDq['metrics_mapper'] = {'kube_pod_status_ready': 'pod.ready'}\n GfdN.process(jXDq)\n GfdN.process(jXDq...
[ "0.70694536", "0.6925554", "0.6716683", "0.6643816", "0.65593433", "0.6482774", "0.6420005", "0.63867414", "0.637135", "0.63512576", "0.62798685", "0.62535995", "0.6172101", "0.6105163", "0.6071906", "0.60384035", "0.6033899", "0.60236204", "0.6014877", "0.60083175", "0.59981...
0.6836864
2
Tests label join on non existing metric is ignored
def TYYR(e88K, fKEd, jXDq, ryQO): GfdN = fKEd jXDq['namespace'] = 'ksm' jXDq['label_joins'] = {'not_existing': {'label_to_match': 'pod', 'labels_to_get': ['node', 'pod_ip']}} jXDq['metrics_mapper'] = {'kube_pod_status_ready': 'pod.ready'} GfdN.process(jXDq) GfdN.process(jXDq) e88K.assert_met...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kkmu(e88K, fKEd, jXDq, ryQO):\n GfdN = fKEd\n jXDq['namespace'] = 'ksm'\n jXDq['label_joins'] = {'kube_pod_info': {'label_to_match': 'not_existing', 'labels_to_get': ['node', 'pod_ip']}}\n jXDq['metrics_mapper'] = {'kube_pod_status_ready': 'pod.ready'}\n GfdN.process(jXDq)\n GfdN.process(jXDq...
[ "0.7684412", "0.7259453", "0.6908659", "0.6685236", "0.6430283", "0.626894", "0.61312807", "0.59268874", "0.58605105", "0.58162785", "0.5810037", "0.5807267", "0.5748759", "0.57218796", "0.5718822", "0.5718719", "0.57049376", "0.56920767", "0.5685112", "0.5660545", "0.5655592...
0.76184183
1
Test that tags matching ignored tag patters with regex are properly discarded.
def kupY(e88K, fKEd, dxRa): GfdN = fKEd KAOR = jth9.deepcopy(ouhV) q2BR = ['foo', 'foobar', 'bar:baz', 'bar:bar'] jkye = ['^foo', '.+:bar$'] rlCj = ['bar:baz'] KAOR['tags'] = q2BR KAOR['ignore_tags'] = jkye GPtr = GfdN.get_scraper_config(KAOR) GPtr['_dry_run'] = False GfdN.proces...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sRM9(YKHO) -> None:\n ulrI = kEyY(\"['/um/']\", '')\n assert ulrI.filter('summary', 'description') is False", "def xI_7(YKHO) -> None:\n ulrI = kEyY(\"['/cript-./s']\", '')\n assert ulrI.filter('summary', 'descript-\\nion') is False", "def c8Bp(YKHO) -> None:\n ulrI = kEyY(\"['/um/']\", \"['...
[ "0.6805841", "0.6574391", "0.6498481", "0.6479015", "0.64140713", "0.6370275", "0.6301526", "0.6294825", "0.6244579", "0.6210714", "0.61890537", "0.6185348", "0.6177292", "0.6147019", "0.61392885", "0.61163366", "0.61076343", "0.60925025", "0.6091408", "0.6082164", "0.6079644...
0.69345784
0
Validates that the value is a valid string in the specified length range which matches the specified regular expression.
def H6OS(YKHO, object, mWFP, BWXx): try: BWXx = eyWC(BWXx) if YKHO.minlen <= len(BWXx) <= YKHO.maxlen and YKHO.match(BWXx) is not None: return BWXx except: pass YKHO.error(object, mWFP, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B9I6(Lx0h, BcCR):\n\n def ZuGZ(PCpl, BWXx):\n a__r = len(BWXx)\n if not a__r >= Lx0h or not a__r <= BcCR:\n raise ValueError('Must be between {min_length} and {max_length} characters'.format(min_length=Lx0h, max_length=BcCR))\n return BWXx\n return ZuGZ", "def tDh7(BWXx,...
[ "0.7368674", "0.6956473", "0.6930099", "0.688732", "0.67350465", "0.67255", "0.66669524", "0.6631263", "0.64878625", "0.6486369", "0.64730084", "0.64730084", "0.64217746", "0.6408107", "0.6408107", "0.63669294", "0.63520265", "0.63497806", "0.633757", "0.6317457", "0.63087326...
0.0
-1
Validates that the value is a valid string in the specified length range.
def LMLo(YKHO, object, mWFP, BWXx): try: BWXx = eyWC(BWXx) if YKHO.minlen <= len(BWXx) <= YKHO.maxlen: return BWXx except: pass YKHO.error(object, mWFP, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tDh7(BWXx, mWFP, Lx0h=0, BcCR=None):\n if not isinstance(BWXx, jKi7.string_types):\n tO9_ = bGrB('%s is not a string or unicode') % mWFP\n raise AJ5d.InvalidInput(message=tO9_)\n if len(BWXx) < Lx0h:\n tO9_ = bGrB('%(name)s has a minimum character requirement of %(min_length)s.') % {...
[ "0.8140697", "0.8090913", "0.79630566", "0.79483294", "0.79161805", "0.7566692", "0.7553967", "0.74843246", "0.74731827", "0.7334649", "0.73103714", "0.72647315", "0.7013892", "0.69928294", "0.6936459", "0.68699414", "0.6817444", "0.6817444", "0.67873126", "0.6723022", "0.672...
0.7496553
7
Validates that the value is a valid string which matches the specified regular expression.
def VHAQ(YKHO, object, mWFP, BWXx): try: BWXx = eyWC(BWXx) if YKHO.match(BWXx) is not None: return BWXx except: pass YKHO.error(object, mWFP, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wWOU(Emd4, BWXx):\n if not ZbWC.match('^[a-zA-Z0-9][a-zA-Z0-9 .:;=@_-]+$', BWXx):\n raise ValueError('must validate the regular expression /^[a-zA-Z0-9][a-zA-Z0-9 .:;=@_-]+$/')\n return BWXx", "def wWOU(Emd4, BWXx):\n if not ZbWC.match('^[a-zA-Z0-9][a-zA-Z0-9 .:;=@_-]+$', BWXx):\n rais...
[ "0.7807766", "0.7807766", "0.77333444", "0.7574783", "0.74992", "0.7482878", "0.72683483", "0.72683483", "0.7088355", "0.70223194", "0.6984928", "0.69634885", "0.6876542", "0.6816052", "0.67747825", "0.6719033", "0.66673005", "0.6663523", "0.65970224", "0.65968806", "0.659090...
0.7437228
6
Returns the current state of the trait.
def k8jS(YKHO): Aofo = YKHO.__dict__.copy() for mWFP in ['validate', 'match']: if mWFP in Aofo: del Aofo[mWFP] return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QTBn(YKHO):\n return YKHO.get_state()", "def QTBn(YKHO):\n return YKHO._get_state()", "def ja6o(YKHO):\n return YKHO.game.get_state()", "def ja6o(YKHO):\n return YKHO.state", "def ja6o(YKHO):\n raise NotImplementedError", "def vHkF(YKHO):\n return YKHO.current_state", "def ja6o(YK...
[ "0.76951104", "0.7627765", "0.7561118", "0.75588405", "0.75577337", "0.7501635", "0.746626", "0.74546504", "0.74546504", "0.74546504", "0.74546504", "0.74546504", "0.74546504", "0.74546504", "0.7441656", "0.7441656", "0.74271053", "0.7416306", "0.7416306", "0.7416306", "0.741...
0.0
-1
Validates that the value is a Python callable.
def xzCw(YKHO, object, mWFP, BWXx): if BWXx is None or callable(BWXx): return BWXx YKHO.error(object, mWFP, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VBj0():\n return JzSd()", "def s_9p(Ty9i: Any) -> y1LB:\n if callable(Ty9i):\n return Ty9i\n raise UAju.CallableError(value=Ty9i)", "def Zr0C(BWXx):\n return isinstance(BWXx, g760.Callable)", "def Vh7k(**B2fa):\n for H5ew, wEf2 in B2fa.items():\n if not callable(wEf2):\n ...
[ "0.79594815", "0.7884339", "0.7854093", "0.7410491", "0.735792", "0.73309445", "0.7202155", "0.693673", "0.6928212", "0.6856548", "0.6740239", "0.673068", "0.66206723", "0.66023296", "0.6593556", "0.65576667", "0.6555042", "0.65093863", "0.64643914", "0.63950944", "0.63782614...
0.61412346
33
Validates that the value is a Python callable.
def xzCw(YKHO, object, mWFP, BWXx): if isinstance(BWXx, YKHO.fast_validate[1:]): return BWXx YKHO.error(object, mWFP, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VBj0():\n return JzSd()", "def s_9p(Ty9i: Any) -> y1LB:\n if callable(Ty9i):\n return Ty9i\n raise UAju.CallableError(value=Ty9i)", "def Zr0C(BWXx):\n return isinstance(BWXx, g760.Callable)", "def Vh7k(**B2fa):\n for H5ew, wEf2 in B2fa.items():\n if not callable(wEf2):\n ...
[ "0.79594815", "0.7884339", "0.7854093", "0.7410491", "0.735792", "0.73309445", "0.7202155", "0.693673", "0.6928212", "0.6856548", "0.6740239", "0.673068", "0.66206723", "0.66023296", "0.6593556", "0.65576667", "0.6555042", "0.65093863", "0.64643914", "0.63950944", "0.63782614...
0.0
-1
Validates that the values is a valid set.
def xzCw(YKHO, object, mWFP, BWXx): if isinstance(BWXx, set): if object is None: return BWXx return jf7t(YKHO, object, mWFP, BWXx) YKHO.error(object, mWFP, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZJRH(YKHO):\n for ZfUD in YKHO.choices_for_values():\n if not (str(ZfUD.id) not in YKHO.values or ZfUD.id not in YKHO.values):\n return False\n return True", "def xzCw(YKHO, object, mWFP, BWXx):\n if not isinstance(BWXx, set):\n try:\n BWXx = set(BWXx)\n ex...
[ "0.76128954", "0.71696097", "0.7076545", "0.7072281", "0.70511276", "0.70287585", "0.68338037", "0.6798718", "0.67949015", "0.67920715", "0.67526066", "0.67490035", "0.67376053", "0.6688189", "0.66832525", "0.6679874", "0.66608393", "0.65966654", "0.65864694", "0.65681124", "...
0.6093448
61
Switch for using multiple CPUs, usually called at the beginning of an app. If nproc is Auto or None and we are running Windows, it will be reset to 1.
def pXNm(jc_i=RCyB, RKD7=None): if jc_i == 1 or jc_i == 0: return 1 if RKD7 is None: from libtbx.utils import null_out RKD7 = null_out() pGHf = vGUZ() if pGHf is not None and pGHf is not RCyB: if jc_i is RCyB or jc_i is None: return 1 else: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KaFL():\n if hasattr(Hy7s, 'sysconf'):\n if 'SC_NPROCESSORS_ONLN' in Hy7s.sysconf_names:\n S802 = Hy7s.sysconf('SC_NPROCESSORS_ONLN')\n if isinstance(S802, int) and S802 > 0:\n return S802\n else:\n return int(Hy7s.popen2('sysctl -n hw.ncpu')[1]....
[ "0.6872485", "0.6810543", "0.6601382", "0.6516747", "0.64797115", "0.64781773", "0.6463938", "0.6403279", "0.6402783", "0.63812226", "0.63812226", "0.63218105", "0.63114005", "0.63029236", "0.6230776", "0.61712074", "0.6163545", "0.61515605", "0.61180633", "0.6109326", "0.607...
0.681618
1
Calculates the normalized values of variables for each learner and adds to self.values.
def riEd(YKHO, kc1W=[], gAVE=1): if YKHO.values is None: YKHO.values = YKHO.get_data() if not isinstance(kc1W, list): raise ValueError('Input variable not a list.') QHTP = {} for id in YKHO.learner_ids: z53p = id + '_' + str(gAVE) if z53p in YKHO.values: QHTP[...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eUoB(YKHO):\n YCHL, FYHN = (YKHO.input_means, YKHO.input_vars)\n PnUn = ZylS.reduce_mean(YCHL, 0)\n FYHN += ZylS.exp(YKHO.lvar_noise)\n Zar0 = ZylS.reduce_mean(YCHL ** 2 + FYHN, 0) - PnUn ** 2\n PnUn = PnUn * YKHO.y_train_std + YKHO.y_train_mean\n Zar0 = Zar0 * YKHO.y_train_std ** 2\n retu...
[ "0.6319635", "0.6103333", "0.6080156", "0.60285467", "0.6006931", "0.5998806", "0.59234476", "0.59050566", "0.58453864", "0.57764554", "0.5773389", "0.57594395", "0.5722005", "0.5696142", "0.56961155", "0.5691381", "0.56797934", "0.5675377", "0.56558335", "0.56494296", "0.564...
0.7423406
0
Creates a DataFrame (learner_ids, number of iterations) where each row is the value of variable for a learner each iteration.
def MJT2(YKHO, Es0b): if YKHO.values is None: YKHO.values = YKHO.get_data() Eb4t = {} for id in YKHO.learner_ids: Eb4t[id] = [] for YRbF in range(1, YKHO.num_iter + 1): QVqR = id + '_' + str(YRbF) if QVqR not in YKHO.values: Eb4t[id].append(oyI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RBWB(YKHO, kc1W=[], pTnf=[]):\n if YKHO.values is None:\n YKHO.values = YKHO.get_data()\n jQ3Z = {'learner_id': []}\n for Es0b in kc1W:\n jQ3Z[Es0b] = []\n for id in YKHO.learner_ids:\n if pTnf == []:\n pTnf = list(range(1, YKHO.num_iter + 1))\n for YRbF in pT...
[ "0.74381685", "0.5853314", "0.57095486", "0.56537783", "0.55599535", "0.5510626", "0.5427484", "0.5387615", "0.538406", "0.5366508", "0.53315324", "0.5312921", "0.5311271", "0.5250429", "0.52277005", "0.5217158", "0.51549494", "0.515318", "0.5137446", "0.5106417", "0.5066962"...
0.4782467
69
Read a file into a string
def Nwr9(Ux0P): pmON = Hy7s.path.abspath(Hy7s.path.dirname(xAKo)) VqRE = Hy7s.path.join(pmON, Ux0P) try: return open(VqRE).read() except IOError: return ''
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wUEI(IznC):\n with open(IznC) as eHNT:\n return eHNT.read()", "def sklK(FYKK):\n with open(FYKK, 'r') as eHNT:\n return eHNT.read()", "def xas4(Ux0P):\n eHNT = open(Ux0P, 'r')\n KCHu = eHNT.read()\n eHNT.close()\n return KCHu", "def GPk7(Ux0P):\n with open(Ux0P, 'r') as...
[ "0.8449435", "0.8393844", "0.8363259", "0.8320634", "0.83050525", "0.82370526", "0.82078713", "0.8172665", "0.81539464", "0.8151594", "0.8118372", "0.81152004", "0.81049275", "0.80813825", "0.80778337", "0.80757785", "0.8044956", "0.8032362", "0.79885757", "0.798244", "0.7979...
0.74392
92
Updates the number of sign flips by comparing with the previously stored tensor. Returns
def e2pl(YKHO): Cc00 = yqoS(YKHO.param.data) if YKHO.prev_data is None: YKHO.prev_data = Cc00 AYRR = YKHO.count_sign_flips(Cc00, YKHO.prev_data) YKHO.prev_data = Cc00 return AYRR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mirh(Cc00, ZzYC):\n AYRR = (Cc00 * ZzYC < 0).sum().item()\n return AYRR", "def jBkM(YKHO):\n for khtY in ['abs', 'sign']:\n vhpA = YKHO._get_random_test_tensor(is_float=True)\n if khtY == 'sign':\n vhpA = vhpA + (vhpA == 0).float()\n LCyV = reUQ(vhpA)\n aC0l = ...
[ "0.69650495", "0.60757405", "0.57973415", "0.576272", "0.5641793", "0.56145895", "0.55799204", "0.55386007", "0.5505551", "0.550498", "0.5502565", "0.54904974", "0.5430504", "0.5387196", "0.5363015", "0.5346329", "0.53228015", "0.5322736", "0.53144693", "0.5305463", "0.529564...
0.6125176
1
Update the SNR, mean divided by std, of the model weights. If mean / std is large, the network is confident in which direction to "move". If mean / std is small, the network is making random walk.
def igF8(YKHO): if not YKHO._advanced_monitoring_level & evaE.WEIGHT_SNR_TRACE: return for mWFP, Kk8M in YKHO.param_records.items(): JBMS, M1Jx = Kk8M.variance.get_mean_std() oKTv = JBMS / M1Jx oKTv = oKTv[ht2j.isfinite(oKTv)] if oKTv.nelement() == 0: continue...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gsnZ(YKHO):\n if YKHO.std is None:\n return\n for YRbF in range(len(YKHO.R)):\n if YKHO.gaussian_updates:\n JBMS = YKHO.R[YRbF].mapper._mean + oyIN.random.normal(0.0, YKHO.rule_vec[YRbF])\n JBMS = oyIN.clip(JBMS, 0, 1)\n else:\n JBMS = YKHO.R[YRbF].ma...
[ "0.6465482", "0.6262052", "0.6171189", "0.61670834", "0.6155934", "0.61144346", "0.6044595", "0.603121", "0.6002945", "0.59750533", "0.5974755", "0.59650093", "0.5956613", "0.59231156", "0.59068114", "0.58840424", "0.5869165", "0.58567196", "0.5849851", "0.5841609", "0.582764...
0.59900033
9
Update the L1 normalized difference between the current and starting weights (before training).
def oiDd(YKHO): if not YKHO._advanced_monitoring_level & evaE.WEIGHT_INITIAL_DIFFERENCE: return Dy_V = [] W6s1 = [] for mWFP, DX7_ in YKHO.param_records.items(): Dy_V.append(mWFP) if DX7_.initial_data is None: DX7_.initial_data = DX7_.param.data.cpu().clone() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MyUA(YKHO):\n YKHO.model.W_1 = YKHO.model.W_1 - YKHO.learning_rate * YKHO.total_grad_1\n YKHO.model.W_2 = YKHO.model.W_2 - YKHO.learning_rate * YKHO.total_grad_2", "def QdZT(YKHO):\n YKHO.aanpassingWeights = []\n YKHO.calculate_deltaWeights()\n for YRbF in range(len(YKHO.aanpassingWeights)):\n...
[ "0.68706477", "0.6862533", "0.6757935", "0.6738783", "0.65711075", "0.6503811", "0.6461363", "0.64536047", "0.64420867", "0.63710856", "0.6346011", "0.6264845", "0.6263349", "0.6242055", "0.62379026", "0.6224929", "0.622096", "0.62089807", "0.62089807", "0.61928064", "0.61911...
0.66444606
4
Update the parameters gradient norm.
def Cnfv(YKHO): HD7g = [] Dy_V = [] for mWFP, Kk8M in YKHO.param_records.items(): Ro40 = Kk8M.param.grad if Ro40 is not None: HD7g.append(Ro40.norm(p=2).cpu()) Dy_V.append(mWFP) if len(HD7g) > 0: YKHO.viz.line_update(y=HD7g, opts=dict(xlabel='Epoch', ylabe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x2Fr(YKHO):\n c6SZ = 1\n if c6SZ > 1:\n YKHO._number_grad_accum = (YKHO._number_grad_accum + 1) % c6SZ\n if YKHO._number_grad_accum != 0:\n return\n if YKHO.opt['gradient_clip'] > 0:\n ht2j.nn.utils.clip_grad_norm_(YKHO.model_dis.parameters(), YKHO.opt['gradient_clip'])...
[ "0.78047836", "0.713391", "0.71307707", "0.6979032", "0.6925021", "0.68636036", "0.68215096", "0.6809521", "0.68044585", "0.6784332", "0.6774263", "0.67581296", "0.67568696", "0.6744772", "0.67420286", "0.67327505", "0.6732594", "0.6723902", "0.67212635", "0.6693836", "0.6661...
0.7603182
1
Get all open orders for a symbol.
def open(o61b): Ldtt = nNXP.fetch_open_orders(symbol=o61b) Aofo = list() if len(Ldtt): for Mkmy in Ldtt: del Mkmy['info'], Mkmy['lastTradeTimestamp'], Mkmy['fee'], Mkmy['symbol'], Mkmy['timestamp'] Mkmy['date'] = Mkmy.pop('datetime').replace('T', ' ').split('.')[0] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def puSU(YKHO, o61b: str=None):\n try:\n return YKHO.exchange.fetch_open_orders(symbol=o61b)\n except cxgh.BaseError as e:\n YKHO.log.exception('fetch_open_orders exception {}'.format(str(tTpl)))\n raise tTpl", "async def get_open_orders(YKHO, o61b):\n j8eK = '/api2/1/private/openOr...
[ "0.8750202", "0.84648573", "0.81599414", "0.80908525", "0.7982892", "0.7915634", "0.78287244", "0.78263885", "0.78263885", "0.7722738", "0.76991445", "0.769036", "0.75967973", "0.7523066", "0.74967253", "0.7415125", "0.7306869", "0.72615534", "0.71955466", "0.71516764", "0.71...
0.7537205
13
Get all open orders for a symbol.
def wMl7(ee8p=None, Lp5E='n'): ee8p = str(ee8p).upper() if not str(ee8p).isupper() else str(ee8p) Lp5E = str(Lp5E).lower() NArs = dict() if 'y' in Lp5E: NArs = dict(detailed=True) if ee8p not in 'NONE': NArs.update(coin=ee8p) wMl7 = nNXP.get_balances(**NArs) wMl7.index = rLdf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def puSU(YKHO, o61b: str=None):\n try:\n return YKHO.exchange.fetch_open_orders(symbol=o61b)\n except cxgh.BaseError as e:\n YKHO.log.exception('fetch_open_orders exception {}'.format(str(tTpl)))\n raise tTpl", "async def get_open_orders(YKHO, o61b):\n j8eK = '/api2/1/private/openOr...
[ "0.8750202", "0.84648573", "0.81599414", "0.80908525", "0.7982892", "0.7915634", "0.78287244", "0.78263885", "0.78263885", "0.7722738", "0.76991445", "0.769036", "0.75967973", "0.7537205", "0.7523066", "0.74967253", "0.7415125", "0.7306869", "0.72615534", "0.71955466", "0.715...
0.0
-1
Get order book data for a symbol.
def rb7a(o61b, qoqK=10): NZQz = nNXP.get_depth(o61b, limit=qoqK) P8oC, NCC9 = o61b.split('/') jCpO = '9.8f' if 'USD' in NCC9: jCpO = '9.3f' fZRN.update(floatfmt=jCpO) ltHt(W3a1(NZQz.values, headers=Ls4Q, disable_numparse=[1, 3], **fZRN))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CE9K(YKHO, o61b):\n return YKHO.market.get_orderbook(o61b)", "def cHvb(YKHO, o61b: str):\n try:\n return YKHO.exchange.fetch_order_book(symbol=o61b, limit=None)\n except cxgh.BaseError as e:\n YKHO.log.exception('fetch_order_book exception {}'.format(str(tTpl)))\n raise tTpl", ...
[ "0.83160454", "0.7583317", "0.71311164", "0.7087652", "0.7020006", "0.6963032", "0.69111365", "0.69015664", "0.6671682", "0.6658775", "0.6604503", "0.6537823", "0.6519027", "0.64956075", "0.6474424", "0.6430692", "0.6381076", "0.63810015", "0.63621074", "0.6337819", "0.631977...
0.0
-1
(object, str, lst(object)) > ()
def FIMM(YKHO, LCn1, GdPJ, YhPz, UTX6): super().__init__(UTX6) YKHO.corpus = LCn1 YKHO.address = GdPJ YKHO.classrooms = YhPz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Pav5(YEnM):\n if isinstance(YEnM, str):\n return (YEnM,)\n else:\n return YEnM", "def YYDj(YEnM):\n if YEnM is None:\n return []\n return YEnM if isinstance(YEnM, (list, tuple)) else [YEnM]", "def DKfr(YEnM):\n if not YEnM:\n return tuple()\n if isinstance(YEnM...
[ "0.73375636", "0.7044755", "0.687671", "0.68670195", "0.66572237", "0.66421854", "0.6618272", "0.6602268", "0.65582985", "0.64555454", "0.6454997", "0.6316944", "0.62626004", "0.62261164", "0.620605", "0.6189812", "0.61883026", "0.61739993", "0.6102769", "0.6101864", "0.60927...
0.0
-1
Return an iterator of (node, neighborhood_quality).
def igna(YKHO, hKCA, QnH0, tFjD): riYg = hKCA.successors if YKHO.value == YKHO.OUT else hKCA.predecessors ez0h = QnH0.successors if YKHO.value == YKHO.OUT else QnH0.predecessors for Q6kx in GMvc.static_graph.nodes: eZ8T = set(riYg(Q6kx)) ShM9 = set(ez0h(Q6kx)) yk4i = ShM9 - eZ8T if t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rcfW(pNZh, exwG):\n return iter([(U78l, pNZh.node[U78l]) for U78l in pNZh.neighbors_iter(exwG)])", "def Vs4Q(YKHO):\n return iter(YKHO._neighbors)", "def Vs4Q(YKHO):\n return iter(YKHO.neighbors.keys())", "def MthN(YKHO, n294, oi6k):\n rdlD, fvDH = n294\n for QSoX, dcyL in YKHO.BLOCK_NEIGH...
[ "0.62307996", "0.60848546", "0.5933474", "0.5886127", "0.5883412", "0.5853386", "0.5847484", "0.5719941", "0.56329656", "0.5570854", "0.5529867", "0.5521083", "0.5519872", "0.5505575", "0.5483475", "0.5418689", "0.5415584", "0.5377875", "0.5370037", "0.5359601", "0.5354477", ...
0.0
-1
Performs database connection using database settings from settings.py. Returns sqlalchemy engine instance.
def WyYT(): return y2U9(rOmR(**gCuF.DATABASE))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WyYT():\n return y2U9(rOmR(**GPtr.DATABASE))", "def WlyJ(YKHO):\n QO5h = YKHO.dbsettings\n YtR6 = QO5h['engine'] + '+mysqlconnector://' + QO5h['username'] + ':' + QO5h['password'] + '@' + QO5h['hostname'] + ':' + QO5h['port'] + '/' + QO5h['dbname'] + '?charset=utf8mb4'\n eHpk = y2U9(YtR6)\n re...
[ "0.81722087", "0.8171852", "0.81241375", "0.8122187", "0.8122187", "0.8122187", "0.8120031", "0.80750537", "0.80750537", "0.80750537", "0.80445606", "0.7942829", "0.7905105", "0.7873504", "0.785468", "0.7701475", "0.76930165", "0.7577557", "0.7569219", "0.7549526", "0.7541346...
0.7927259
12
Load a serialised model. If `f` is not specified then an attempt will be made to find a model corresponding to the current dataset name, `'model_' + self.dataset.name + '.pkl'`. If there is no current dataset then the most recent model will be loaded. This method is only intended to be used to deserialise models create...
def uyMl(YKHO, *qIxc, eHNT=None): if eHNT is None and YKHO.dataset is not None: eHNT = 'model_' + YKHO.dataset.name + '.pkl' elif eHNT is None: RRlC = list(filter(Hy7s.path.isfile, SC2F.glob('model_*.pkl'))) RRlC.sort(key=lambda WKvO: Hy7s.path.getmtime(WKvO)) RRlC.reverse() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tyeH(eHNT):\n print('Loading model from {}'.format(eHNT))\n Evga = oyIN.load(eHNT)\n return KcDH(matrix=Evga['matrix'], context_type=Evga['context_type'])", "def tyeH(YKHO, eHNT):\n YKHO.model.load(eHNT)", "def tyeH(YKHO, eHNT):\n YKHO.model.load(eHNT)", "def tyeH(YKHO, eHNT):\n YKHO.mo...
[ "0.6306715", "0.6304216", "0.6304216", "0.6304216", "0.6255016", "0.6021954", "0.5971813", "0.5962877", "0.58043575", "0.5798611", "0.57928914", "0.5789977", "0.5697056", "0.56831455", "0.5680241", "0.56770396", "0.56699806", "0.5645457", "0.56347525", "0.5629722", "0.5618160...
0.7889486
0
Format name to remove None name and & in name
def T37t(mWFP, aaKx): if mWFP is None: mWFP = aaKx mWFP = mWFP.replace('&', 'and') return mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eYfK(YKHO, mWFP):\n x863 = ';:@#-!,/'\n Dyj9 = \"'()\"\n for hcXw in x863:\n mWFP = mWFP.replace(hcXw, ' ')\n for hcXw in Dyj9:\n mWFP = mWFP.replace(hcXw, '')\n mWFP = ' '.join(mWFP.split())\n mWFP = mWFP.replace('&', 'and')\n return mWFP", "def dBuP(mWFP):\n if mWFP is...
[ "0.73703164", "0.7164212", "0.6935123", "0.6916668", "0.69112796", "0.6900764", "0.666714", "0.66490424", "0.6579399", "0.65603757", "0.6538818", "0.65339595", "0.6521545", "0.6482441", "0.6458092", "0.64395887", "0.643597", "0.6433153", "0.6432571", "0.6413916", "0.64106387"...
0.7678545
0
Check if the number provided is a valid PPS number. This checks the length, formatting and check digit.
def xzCw(FGW3): FGW3 = Xbam(FGW3) if not u2Hi.match(FGW3): raise v_rb() if len(FGW3) == 9 and FGW3[8] in 'AH': if FGW3[7] != LgWg.calc_check_digit(FGW3[:7] + FGW3[8:]): raise owCt() elif FGW3[7] != LgWg.calc_check_digit(FGW3[:7]): raise owCt() return FGW3
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DNJ0(YKHO, V6IE):\n if str.isdigit(V6IE) or V6IE == '':\n return True\n else:\n return False", "def Hpa0(KCHu):\n if '-' in KCHu:\n KCHu = KCHu.replace('-', '')\n KCHu = KCHu.strip()\n try:\n Aoz5 = int(KCHu)\n except:\n return False\n return len(KCHu) ...
[ "0.72844493", "0.67860246", "0.67636025", "0.6745165", "0.66602224", "0.66273314", "0.65863496", "0.657616", "0.653934", "0.65107024", "0.6506449", "0.64794326", "0.6467581", "0.6446244", "0.64379174", "0.63958263", "0.63738084", "0.63677377", "0.6350734", "0.63468224", "0.63...
0.6784884
2
Check if the number provided is a valid PPS number. This checks the length, formatting and check digit.
def SGVO(FGW3): try: return bool(xzCw(FGW3)) except sUXu: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DNJ0(YKHO, V6IE):\n if str.isdigit(V6IE) or V6IE == '':\n return True\n else:\n return False", "def xzCw(FGW3):\n FGW3 = Xbam(FGW3)\n if not u2Hi.match(FGW3):\n raise v_rb()\n if len(FGW3) == 9 and FGW3[8] in 'AH':\n if FGW3[7] != LgWg.calc_check_digit(FGW3[:7] + FG...
[ "0.7282824", "0.6785502", "0.6784788", "0.67622024", "0.67432815", "0.6658982", "0.66262496", "0.65844524", "0.6575229", "0.6537368", "0.6510804", "0.6506319", "0.6479109", "0.64685833", "0.6445567", "0.64373416", "0.6394435", "0.6373164", "0.63661987", "0.63492596", "0.63461...
0.5941472
72
Given an info dict, plot loss
def N77f(N8L0, H5ew='trn', GUBz=1000.0, leAC=''): WKvO = oyIN.array(N8L0[H5ew + '_iter']) LVAh = oyIN.array(N8L0[H5ew + '_val']) hFyM = oyIN.where(LVAh > GUBz)[0] if len(hFyM) > 0: print('warning: loss exceeds threshold of {:.2f} in total {} time(s); values will be clipped'.format(GUBz, len(hFyM...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sipy(tWPL, wytA=(5, 5)):\n QrM1.figure(figsize=wytA)\n QrM1.plot(tWPL.history['loss'])\n QrM1.plot(tWPL.history['val_loss'])\n QrM1.title('Model loss')\n QrM1.ylabel('Loss')\n QrM1.xlabel('Epoch')\n QrM1.legend(['train', 'validation'], loc='upper right')\n QrM1.show()", "def mBbd(YKHO...
[ "0.7568937", "0.7194341", "0.7054489", "0.70420045", "0.70229805", "0.6957972", "0.6917137", "0.69113773", "0.69050276", "0.6887185", "0.6881171", "0.6879454", "0.68494093", "0.68314505", "0.68208003", "0.6751429", "0.67205614", "0.66974217", "0.6661675", "0.6656253", "0.6629...
0.0
-1
saves the geojson to a folder
def AE1l(YKHO, rDXp): with open(rDXp, 'w') as _RR0: qQXR.dump({'type': 'geojson', 'data': YKHO.geoJson}, _RR0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xkzz(YKHO):\n with open('mapdata.json', 'w') as eHNT:\n eHNT.write(YKHO.export_json())", "def BkBU(nPrm, mWFP):\n Hy7s.chdir(Hy7s.getcwd())\n Hy7s.chdir('res')\n with open(mWFP, 'w+') as eHNT:\n wFOJ.dump(nPrm, eHNT)\n Hy7s.chdir('../')", "def FGN8(YKHO):\n hz11 = qQXR.dumps...
[ "0.77069443", "0.7166191", "0.7058799", "0.7035979", "0.70282114", "0.7020898", "0.6986607", "0.69762874", "0.68797237", "0.6862779", "0.6840747", "0.67928284", "0.6747018", "0.67314136", "0.6660765", "0.6586476", "0.6576032", "0.6565477", "0.6551662", "0.65101933", "0.649768...
0.78740233
0
Converts this python object into a dictionary
def b0L1(YKHO): cmPJ = {'item_type': YKHO._item_type, 'item_category': YKHO._item_category, 'item_name': YKHO._item_name, 'average_review_rating': YKHO._average_review_rating, 'number_of_reviews': YKHO._number_of_reviews} return cmPJ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MNRr(YKHO) -> cuzp:\n return SLdk.asdict(YKHO)", "def MNRr(YKHO):\n return dict(YKHO)", "def MNRr(YKHO) -> dict:\n return lKKu(YKHO)", "def OL85(YKHO):\n return YKHO.to_dict()", "def MNRr(YKHO) -> cuzp:\n return YKHO.__dict__", "def MNRr(YKHO) -> cuzp:\n return YKHO.__dict__", "de...
[ "0.84377164", "0.8434079", "0.84294194", "0.84163666", "0.83955455", "0.83955455", "0.8387349", "0.8365647", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296", "0.8350296"...
0.0
-1
Test that the expectation for the generalized quadrature observable yields the correct result
def Txd2(YKHO, yJiH): ZXy9 = 10 jzdc = 0.312 M4N3 = B2Ja.device('strawberryfields.tf', wires=2, cutoff_dim=ZXy9) khtY = B2Ja.QuadOperator FS3L = 'QuadOperator' assert M4N3.supports_observable(FS3L) ixLr = M4N3._observable_map[FS3L] _67D = [0] @B2Ja.qnode(M4N3, interface='tf', diff_m...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z3hF(YaLC, yGTL, SRYB):\n NzrI, LVAh = (YaLC.likelihood, YaLC.Y)\n if isinstance(NzrI, rrDS):\n trZe.skip('Test fails due to issue with ndiagquad (github issue #1091)')\n nK5p = NzrI.variational_expectations(yGTL, SRYB, LVAh)\n Xf5Z = bF8_(NzrI.log_prob, NzrI.num_gauss_hermite_points, yGTL, ...
[ "0.6958749", "0.6863892", "0.66685486", "0.66197795", "0.65684235", "0.6542711", "0.65379274", "0.65218586", "0.6415195", "0.6349034", "0.63031155", "0.62575454", "0.6237764", "0.62308496", "0.6218021", "0.6204191", "0.6194089", "0.6179642", "0.6178174", "0.61734", "0.6170555...
0.6488965
8
Test that the jacobian of the probability for a coherent states is approximated well with finite differences
def Y3oo(YKHO, yJiH): tAX0 = 10 M4N3 = B2Ja.device('strawberryfields.tf', wires=1, cutoff_dim=tAX0) @B2Ja.qnode(M4N3, interface='tf', diff_method='backprop') def DPNn(jzdc, rVnq): B2Ja.Displacement(jzdc, rVnq, wires=0) return B2Ja.probs(wires=[0]) jzdc = ZylS.Variable(0.4) rVnq ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NIuD(YKHO):\n Jov4 = YKHO.wf.gradients_jacobi(YKHO.pos)\n PHo_ = YKHO.wf.gradients_autograd(YKHO.pos)\n assert ht2j.allclose(Jov4, PHo_.sum(-1))", "def VKpO():\n ywwl = 10\n m8s3 = dzkP()\n y10E = m8s3.jacobian(states=ht2j.zeros((ywwl, IFSb)))\n for YRbF in range(ywwl):\n ht2j.tes...
[ "0.68944484", "0.6891434", "0.6820739", "0.680658", "0.6751707", "0.6680774", "0.6575454", "0.65544736", "0.651666", "0.6515895", "0.64934355", "0.64625347", "0.64258856", "0.63693297", "0.63603544", "0.63534737", "0.6335459", "0.6332869", "0.63198155", "0.63097286", "0.63042...
0.0
-1
Test that the jacobian of the probability for a squeezed states is approximated well with finite differences
def pxgg(YKHO, yJiH): tAX0 = 5 M4N3 = B2Ja.device('strawberryfields.tf', wires=1, cutoff_dim=tAX0) @B2Ja.qnode(M4N3, interface='tf', diff_method='backprop') def DPNn(Mkmy, rVnq): B2Ja.Squeezing(Mkmy, rVnq, wires=0) return B2Ja.probs(wires=[0]) Mkmy = ZylS.Variable(0.4) rVnq = Zy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FbxW():\n Csk6 = OYZ_([1 / 2, 1 / 4, 1 / 8, 1 / 16, 1 / 16])\n r845 = Oa10(Csk6)\n MKlR = C7Ls(Csk6)\n KCHu = sum((C7Ls(XP5J) for XP5J in Csk6.pmf))\n assert r845 == trZe.approx(KCHu - MKlR)", "def Czlg(YKHO):\n vH04 = YKHO.wf.ordered_jastrow(YKHO.pos)\n obHk = YKHO.wf.ordered_jastrow(YK...
[ "0.6479608", "0.6463848", "0.6439619", "0.6382499", "0.6367966", "0.63071156", "0.62834513", "0.6237966", "0.6212034", "0.6208671", "0.61815673", "0.6181448", "0.6161573", "0.61595434", "0.6153783", "0.6138552", "0.6138257", "0.6131414", "0.6128422", "0.61235565", "0.61213976...
0.608293
24
Construct single residual block of two convolutional layers.
def QufS(Ilxn, vHnr, _CfQ, pt4o, MLfn): KPVy = 'norm_' + Ilxn DtdJ = GVKG(name=KPVy)(vHnr) ou2Y = 'dropout_a_' + Ilxn lvEE = lARV(_CfQ, name=ou2Y)(DtdJ) Ahj0 = yHwh(pt4o, (MLfn, MLfn), strides=(1, 1), name='agg_conv_a_' + Ilxn, padding='same', activation=ybb1())(lvEE) xvJJ = 'agg_conv_a_{}_norm'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jdfz(g4y1, QjBU):\n WZcn = (QjBU.res_kernel_size, QjBU.res_kernel_size)\n WKvO = g4y1\n for YRbF in range(QjBU.num_res_layers):\n with ZylS.variable_scope('res_conv_%d' % YRbF):\n LVAh = espr.conv_block(espr.layer_norm(WKvO, QjBU.hidden_size, name='lnorm'), QjBU.hidden_size, [((1, 1)...
[ "0.748361", "0.7465938", "0.74623173", "0.74623173", "0.7454038", "0.7451685", "0.74191767", "0.73567146", "0.72650427", "0.7223744", "0.7205576", "0.7193099", "0.7066639", "0.70540947", "0.7026975", "0.69737726", "0.6961076", "0.6955616", "0.6917818", "0.6905", "0.6893319", ...
0.66609716
43
The Amazon Resource Name (ARN) of the principal. This can be one of the
def AQnM(YKHO) -> str: return qe4Y.get(YKHO, 'principal')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Dc29(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'principal_arn')", "def klNU(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'principal_name')", "def axXk(YKHO) -> str:\n return qe4Y.get(YKHO, 'role_arn')", "def axXk(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'role_arn')", ...
[ "0.83423984", "0.7322311", "0.7072625", "0.6931956", "0.6931956", "0.6931956", "0.6931956", "0.6931956", "0.6931956", "0.6929662", "0.6929662", "0.6929662", "0.6906093", "0.69060624", "0.6832236", "0.6828447", "0.6828447", "0.6828447", "0.6828447", "0.6828447", "0.6828447", ...
0.7267457
2
The rowlevel security configuration for the dataset.
def FIMM(Ro_8, *, hMqs: str, LB0G: 'DataSetRowLevelPermissionPolicy', VGJm: Optional['DataSetRowLevelPermissionFormatVersion']=None, _63S: Optional[str]=None, jGRS: Optional['DataSetStatus']=None): qe4Y.set(Ro_8, 'arn', hMqs) qe4Y.set(Ro_8, 'permission_policy', LB0G) if VGJm is not None: qe4Y.set(Ro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y2rC(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'bypass_row_level_security')", "def KQxy(YKHO):\n return YKHO._security_level", "def Y2rC(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'bypass_row_level_security')", "def Y2rC(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return ...
[ "0.6335882", "0.6333905", "0.6254565", "0.6254565", "0.5992076", "0.5941228", "0.5941228", "0.5910605", "0.58474594", "0.5803739", "0.5803739", "0.5769785", "0.5769785", "0.5769785", "0.57256067", "0.57007164", "0.5645695", "0.5604649", "0.5592757", "0.5592757", "0.5590507", ...
0.0
-1
The Amazon Resource Name (ARN) of the permission dataset.
def hMqs(YKHO) -> str: return qe4Y.get(YKHO, 'arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qqr8(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'dataset_arn')", "def vJRv(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'data_access_role_arn')", "def vJRv(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'data_access_role_arn')", "def vJRv(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(...
[ "0.74558556", "0.7162311", "0.6966374", "0.6966374", "0.6903475", "0.6599011", "0.65301335", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "0.64863265", "...
0.64526
45
The column name that a tag key is assigned to.
def z0q4(YKHO) -> str: return qe4Y.get(YKHO, 'column_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z0q4(YKHO):\n return YKHO._column_name", "def z0q4(YKHO):\n return YKHO._column_name", "def mWFP(YKHO):\n return YKHO.colname", "def nrF0(YKHO) -> str:\n return YKHO._column_name", "def z0q4(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'column_name')", "def z0q4(YKHO) -> h8n...
[ "0.8004224", "0.8004224", "0.78445864", "0.78174347", "0.76037616", "0.76037616", "0.76037616", "0.7355804", "0.73544633", "0.7343901", "0.7288674", "0.7036297", "0.70187986", "0.70142967", "0.69757354", "0.68509775", "0.6763115", "0.67018354", "0.66946185", "0.6683525", "0.6...
0.8366296
0
The Amazon Elasticsearch Service domain.
def zrIJ(YKHO) -> str: return qe4Y.get(YKHO, 'domain')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Iy6M(L94H=None):\n pass", "def eMqk(L94H=None):\n pass", "def zrIJ(YKHO):\n pass", "def zrIJ(YKHO):\n return YKHO['domain']", "def zrIJ(YKHO):\n return YKHO['domain']", "def zrIJ(YKHO):\n return YKHO._domain", "def zrIJ(YKHO):\n return YKHO._domain", "def BfLc(YKHO):\n ret...
[ "0.7333658", "0.6928319", "0.65717995", "0.64874184", "0.64874184", "0.6431621", "0.6431621", "0.6419001", "0.64158535", "0.64158535", "0.64053833", "0.64022964", "0.63882315", "0.63688487", "0.63639796", "0.63639796", "0.63639796", "0.63639796", "0.63639796", "0.63639796", "...
0.632064
28
The Amazon OpenSearch Service domain.
def zrIJ(YKHO) -> str: return qe4Y.get(YKHO, 'domain')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zrIJ(YKHO):\n pass", "def zrIJ(YKHO):\n return YKHO['domain']", "def zrIJ(YKHO):\n return YKHO['domain']", "def zrIJ(YKHO):\n return YKHO._domain", "def zrIJ(YKHO):\n return YKHO._domain", "def vK05(YKHO):\n pass", "def zrIJ(YKHO):\n return YKHO._domain", "def zrIJ(YKHO):\n ...
[ "0.67191166", "0.66616243", "0.66616243", "0.66491014", "0.66491014", "0.6619054", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.65671915", "0.6556234", ...
0.6610183
7
Use the RoleArn structure to override an accountwide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an accountwide role. The administrator can then use RoleArn to bypass the accountwide role and allow Athena access for the single Athena data sourc...
def axXk(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'role_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OGLe(paqq=None):\n pass", "def hMQz(x0hE, h1Ur, wS5P):\n gEw5 = {'Statement': [{'Effect': 'Allow', 'Action': 'sts:AssumeRole', 'Principal': {'AWS': wS5P}}]}\n x0hE.update_assume_role_policy(RoleName=h1Ur, PolicyDocument=qQXR.dumps(gEw5, indent=4))", "def LmAn(YKHO, LmAn):\n BbPm = ['AGENT', 'CU...
[ "0.6804873", "0.65018", "0.5942427", "0.5921552", "0.5748995", "0.56837976", "0.5665871", "0.56563365", "0.56347203", "0.5634188", "0.5580994", "0.55438274", "0.54329324", "0.54329324", "0.54329324", "0.54329324", "0.54329324", "0.54329324", "0.54329324", "0.54329324", "0.543...
0.5250597
75
The workgroup that Amazon Athena uses.
def cWas(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'work_group')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cWas(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'work_group')", "def cWas(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'work_group')", "def KJsL(YKHO) -> str:\n return qe4Y.get(YKHO, 'workgroup_id')", "def HHPU(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'workgroup_na...
[ "0.8175255", "0.80426145", "0.7636597", "0.74407434", "0.68695736", "0.68695736", "0.6628794", "0.64769244", "0.64329505", "0.6390911", "0.6385487", "0.6384803", "0.6345659", "0.63374615", "0.63374615", "0.63374615", "0.63374615", "0.63374615", "0.63369095", "0.6336019", "0.6...
0.82813936
0
Amazon Aurora with PostgreSQL compatibility parameters.
def FIMM(Ro_8, *, p9bx: str, KcEq: str, bIwZ: float): qe4Y.set(Ro_8, 'database', p9bx) qe4Y.set(Ro_8, 'host', KcEq) qe4Y.set(Ro_8, 'port', bIwZ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bVnb():\n pass", "def HYtu(YKHO):\n assert YKHO.db_connection.vendor == 'postgresql'", "def wAWF():\n if 'postgresql_psycopg2' in JOsV.get_database_engine_name():\n import psycopg2\n DpZH = psycopg2.__version__.split(' ')[0].split('.')\n if DpZH == ['2', '4', '2']:\n ...
[ "0.717567", "0.6353091", "0.6322817", "0.61853", "0.6082646", "0.6038205", "0.5997546", "0.5904942", "0.58652055", "0.5711672", "0.5678818", "0.56736684", "0.5654876", "0.5636813", "0.56209934", "0.5620784", "0.5603727", "0.55917925", "0.55905646", "0.5589318", "0.55804443", ...
0.0
-1
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.
def BEkR(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'copy_source_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wS5P(YKHO) -> laHg.Optional[str]:\n return YKHO._values.get('source_arn')", "def Zgk0(YKHO) -> str:\n return YKHO._values.get('event_source_arn')", "def Zgk0(YKHO) -> str:\n return YKHO._values.get('event_source_arn')", "def EMgc(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'source_endpoint_ar...
[ "0.60836685", "0.58314687", "0.58314687", "0.57809937", "0.5694789", "0.56217283", "0.5500756", "0.54800904", "0.54800904", "0.54800904", "0.54800904", "0.54409236", "0.5432015", "0.5415477", "0.54138005", "0.5398044", "0.53428763", "0.53145754", "0.52674145", "0.5258806", "0...
0.73461086
0
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
def fFcV(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'secret_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tmJ8(YKHO) -> str:\n return qe4Y.get(YKHO, 'aws_secret_name')", "def Qvqm(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'secrets_manager_arn')", "def Qvqm(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'secrets_manager_arn')", "def Qvqm(YKHO) -> h8nf[qe4Y.Input[str]]:\n re...
[ "0.7697688", "0.7242225", "0.7152747", "0.7152747", "0.6909614", "0.6813679", "0.6813679", "0.6790316", "0.6725045", "0.6725045", "0.6725045", "0.6715686", "0.67149055", "0.6693894", "0.6676344", "0.6675904", "0.6637572", "0.65994346", "0.6590468", "0.6590468", "0.6584322", ...
0.7625663
1
Amazon Redshift parameters. The ClusterId field can be blank if Host and Port are both set. The Host and Port fields can be blank if the ClusterId field is set.
def FIMM(Ro_8, *, p9bx: str, JvOq: Optional[str]=None, KcEq: Optional[str]=None, bIwZ: Optional[float]=None): qe4Y.set(Ro_8, 'database', p9bx) if JvOq is not None: qe4Y.set(Ro_8, 'cluster_id', JvOq) if KcEq is not None: qe4Y.set(Ro_8, 'host', KcEq) if bIwZ is not None: qe4Y.set(R...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vnJH(YKHO, ncbJ):\n return '-o Port=%s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' % ncbJ.ssh.port", "def vnJH(YKHO, ncbJ):\n return '-o Port=%s -o LogLevel=quiet -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' % ncbJ.ssh.port", "def FD5x(Emd4):\n XP5J = super(I5Mu, E...
[ "0.5762288", "0.55848813", "0.5508338", "0.549951", "0.5498156", "0.53840464", "0.5330296", "0.5325749", "0.53154516", "0.52957183", "0.52744156", "0.52698934", "0.52587795", "0.5251485", "0.52399033", "0.5188212", "0.51763606", "0.516657", "0.5150902", "0.5149231", "0.514569...
0.5158447
18
Port. This field can be blank if the ClusterId is provided.
def bIwZ(YKHO) -> h8nf[float]: return qe4Y.get(YKHO, 'port')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bIwZ(YKHO):\n return YKHO.maybe('portId', 'value')", "def bIwZ(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'port')", "def bIwZ(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'port')", "def bIwZ(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'port')", "def bIwZ(...
[ "0.7477048", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7310122", "0.7309302", "0.7276054", "0.7274299", "0.7274299", "0.7274299", "0.7274299", "0.7274299", "...
0.70836616
56
The Amazon Resource Name (ARN) of the principal. This can be one of the
def AQnM(YKHO) -> str: return qe4Y.get(YKHO, 'principal')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Dc29(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'principal_arn')", "def klNU(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'principal_name')", "def axXk(YKHO) -> str:\n return qe4Y.get(YKHO, 'role_arn')", "def axXk(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'role_arn')", ...
[ "0.83423984", "0.7322311", "0.7072625", "0.6931956", "0.6931956", "0.6931956", "0.6931956", "0.6931956", "0.6931956", "0.6929662", "0.6929662", "0.6929662", "0.6906093", "0.69060624", "0.6832236", "0.6828447", "0.6828447", "0.6828447", "0.6828447", "0.6828447", "0.6828447", ...
0.7267457
3
Use the RoleArn structure to override an accountwide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an accountwide role. The administrator can then use RoleArn to bypass the accountwide role and allow S3 access for the single S3 data source that is specif...
def axXk(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'role_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OGLe(paqq=None):\n pass", "def hMQz(x0hE, h1Ur, wS5P):\n gEw5 = {'Statement': [{'Effect': 'Allow', 'Action': 'sts:AssumeRole', 'Principal': {'AWS': wS5P}}]}\n x0hE.update_assume_role_policy(RoleName=h1Ur, PolicyDocument=qQXR.dumps(gEw5, indent=4))", "def j8Iw(h1Ur):\n try:\n print('1.2 A...
[ "0.6677757", "0.6438741", "0.61565554", "0.5918607", "0.584683", "0.58324707", "0.58228225", "0.5781476", "0.5743351", "0.5653873", "0.5640181", "0.5601667", "0.5590493", "0.55422074", "0.55167663", "0.55139613", "0.5499685", "0.546421", "0.54049194", "0.54023457", "0.5401135...
0.5260293
89
The Amazon Resource Name (ARN) for the VPC connection.
def BqTF(YKHO) -> str: return qe4Y.get(YKHO, 'vpc_connection_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LrB3(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'vpc_ingress_connection_arn')", "def XRAN(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'vpc_ingress_connection_name')", "def bNqJ(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'connection_arn')", "def XRAN(YKHO) -> h8n...
[ "0.7808136", "0.7384227", "0.71727455", "0.7056653", "0.6821417", "0.67638505", "0.6687842", "0.6640704", "0.66162866", "0.6364065", "0.63522476", "0.6263904", "0.6238633", "0.62305933", "0.6214243", "0.61882323", "0.61882323", "0.6140105", "0.6140105", "0.6140105", "0.614010...
0.8441284
0
gets the project's root directory
def LIOs(): jNha = Hy7s.path.dirname(Hy7s.path.abspath(xAKo)) return Hy7s.path.split(jNha)[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L59w():\n return Hy7s.path.dirname(Hy7s.path.dirname(xAKo))", "def phdL():\n return Hy7s.path.dirname(Hy7s.path.abspath(xAKo))", "def L59w(YKHO):\n return Hy7s.path.dirname(xAKo)", "def phdL():\n return GkAb(xAKo).parent.parent", "def Rip8():\n return Hy7s.path.dirname(xAKo)", "def phd...
[ "0.8866697", "0.8804771", "0.8762125", "0.86536366", "0.86348754", "0.8558877", "0.8544351", "0.8537727", "0.8492394", "0.84908754", "0.84908754", "0.84908754", "0.84908754", "0.84897006", "0.8488894", "0.8488894", "0.84379464", "0.84379464", "0.8437546", "0.84302187", "0.841...
0.8304257
29
gets the module's current directory
def B6Nz(yR_P): return Hy7s.path.dirname(Hy7s.path.abspath(yR_P))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bicb():\n return Hy7s.path.dirname(Hy7s.path.abspath(xAKo))", "def soL1():\n return Hy7s.getcwd()", "def cAr5():\n SWUC = Hy7s.path.normpath(Hy7s.path.dirname(tq_1.getfile(tq_1.currentframe())))\n return SWUC", "def soL1():\n U1Qf = Hy7s.getcwd()\n return U1Qf", "def HaTT():\n retu...
[ "0.8453238", "0.8240194", "0.8130326", "0.81120294", "0.8078892", "0.80604047", "0.80046827", "0.79399365", "0.79259485", "0.7865646", "0.7863512", "0.7861674", "0.7861674", "0.7827213", "0.77908623", "0.77703214", "0.7765047", "0.7710403", "0.77041006", "0.76965356", "0.7691...
0.76141906
25
Convert the name of the register to the name of the environment variable that assigns it. >>> get_environment_variable_name("m.motor.inductance_dq") 'M__MOTOR__INDUCTANCE_DQ'
def dgpx(lLLa: str) -> str: return lLLa.upper().replace('.', '__')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jvnp(YKHO):\n return f'AIRFLOW_VAR_{YKHO.name.upper()}'", "def maTs(XuY2: str) -> str:\n try:\n return Hy7s.environ[XuY2]\n except KeyError:\n raise BybI(f'Misconfigured! {XuY2} is not set.')", "def FdMu(XuY2: str) -> str:\n wEf2 = Hy7s.getenv(XuY2, '')\n if wEf2 == '':\n ...
[ "0.67636555", "0.66908306", "0.6565405", "0.6433382", "0.6342139", "0.631184", "0.6305009", "0.62917477", "0.62850046", "0.6236079", "0.6224411", "0.6177982", "0.61771834", "0.6169295", "0.6165364", "0.61650354", "0.61646", "0.615671", "0.61324054", "0.6109222", "0.6104683", ...
0.82413054
0
Create an instance of the ModelThread class and set their attributes.
def FIMM(YKHO, Lcqa: np.ndarray, Z79m: np.ndarray, C3ST: BaseEstimator, jbYn: int, SrUS: dict, **B2fa): super().__init__(**B2fa) YKHO.X_train = Lcqa YKHO.t_train = Z79m YKHO.model = C3ST YKHO.cv = jbYn YKHO.scoring = SrUS YKHO.scores = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ONtt(YKHO):\n pass", "def FIMM(YKHO, C3ST):\n YKHO._model: Q571 = C3ST", "def XRD4(leAC='Test Thread', d8PD=qcWV.datetime.now(), wh_5=qcWV.datetime.now()):\n a1PO = Esm4()\n a1PO.title_plain, a1PO.title_html = (leAC, leAC)\n a1PO.creation_date = d8PD\n a1PO.latest_reply_date = wh_5\n a...
[ "0.67225015", "0.66006213", "0.65703607", "0.64819145", "0.6377715", "0.616404", "0.6057008", "0.6057008", "0.6057008", "0.6054427", "0.6014388", "0.60098404", "0.6004825", "0.60025334", "0.5999008", "0.5992687", "0.5967255", "0.59444803", "0.5935142", "0.5930109", "0.5922553...
0.0
-1
Set the optimizer to the appropriate Keras optimizer function based on the input string and learning rate. Other required values are set to the Keras default values
def mHsN(K0do, tspZ, jQv0): if K0do == 'sgd': return KES0.SGD(lr=tspZ, decay=jQv0['decay_lr'], momentum=jQv0['momentum_sgd'], nesterov=jQv0['nesterov_sgd']) elif K0do == 'rmsprop': return KES0.RMSprop(lr=tspZ, rho=jQv0['rho'], epsilon=jQv0['epsilon'], decay=jQv0['decay_lr']) elif K0do == 'ad...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iaft(b0Ix):\n if qIxc.optimizer == 'adadelta':\n K0do = ZylS.keras.optimizers.Adadelta(b0Ix, rho=qIxc.adadelta_rho, epsilon=qIxc.opt_epsilon, clipvalue=qIxc.clipvalue)\n elif qIxc.optimizer == 'adagrad':\n K0do = ZylS.keras.optimizers.Adagrad(b0Ix, initial_accumulator_value=qIxc.adagrad_ini...
[ "0.7847839", "0.7769577", "0.7511595", "0.75006527", "0.7461653", "0.7402722", "0.7386697", "0.7340542", "0.730303", "0.719055", "0.7113584", "0.70942956", "0.7052301", "0.7052052", "0.69847524", "0.697982", "0.69683146", "0.6936334", "0.6889856", "0.6889856", "0.68885595", ...
0.67818546
38
Load a pretrained model if specified.
def O5RJ(YKHO) -> wOed: return uyMl('models/' + YKHO._model_name, custom_objects={})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(YKHO, OKf9=None, FNZv=None):\n if OKf9 is None:\n if FNZv is None:\n FNZv = YKHO.ckpt_dir\n YKHO.model = ht2j.load(Hy7s.path.join(FNZv, 'best_model_forward.pt'))\n print('You have successfully loaded the model from ', FNZv)\n else:\n print('You have successfull...
[ "0.80144393", "0.791128", "0.78737974", "0.7870716", "0.7851082", "0.781093", "0.7729355", "0.77166057", "0.76960397", "0.7664125", "0.76616657", "0.76232624", "0.762272", "0.7609082", "0.7590917", "0.7590917", "0.7580442", "0.755146", "0.7544533", "0.7539672", "0.7539672", ...
0.0
-1
Gets the whole collection of registered game servers.
def FzsH(YKHO): return YKHO.__game_servers
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m9sv():\n return A4Vx", "def aJYt(YKHO):\n with YKHO.servers_lock:\n return sorted(YKHO.servers.values(), key=lambda WKvO: WKvO.name)", "def th34(YKHO):\n VT3I = 'SELECT * FROM server'\n return YKHO.fetchAll(VT3I)", "def FzsH(YKHO):\n return YKHO.request('servers', method='get').jso...
[ "0.8043801", "0.7659061", "0.7650911", "0.760369", "0.75732523", "0.754167", "0.74906075", "0.7489317", "0.7489317", "0.73881876", "0.73497", "0.7335829", "0.732341", "0.73041815", "0.7286837", "0.72164077", "0.7209536", "0.7209069", "0.71514976", "0.7134648", "0.7133404", ...
0.8403748
0
Return equality with config values that instantiate this.
def cIT_(YKHO, Elif): return hasattr(YKHO, 'id') and YKHO.id == Elif or id(YKHO) == id(Elif)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def azpz(YKHO):\n U5bT = azpz(self=YKHO)\n return U5bT", "def xa14(YKHO, Elif):\n if isinstance(Elif, PSrQ):\n return YKHO.__dict__ == Elif.__dict__\n return False", "def xa14(YKHO, Elif):\n if type(Elif) is type(YKHO):\n return YKHO._config == Elif._config\n return False", "d...
[ "0.7595569", "0.7562238", "0.74265015", "0.7339043", "0.71718794", "0.7159082", "0.7095606", "0.7086663", "0.70305836", "0.70086414", "0.69369227", "0.693609", "0.69346124", "0.6891272", "0.6877071", "0.6871727", "0.6862924", "0.6860052", "0.6859719", "0.68163276", "0.6814191...
0.0
-1
cmp() for debug levels, returns True if ``level1`` is higher than ``level2``.
def rVFG(EVDx, Sk01): YVMV = {False: 0, 'merge': 1, True: 2} try: eHkp = lambda jzdc, Fg_i: (jzdc > Fg_i) - (jzdc < Fg_i) return eHkp(YVMV[EVDx], YVMV[Sk01]) except KeyError as e: raise uEfw('Invalid debug value: %s' % tTpl)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iOjC(cq_d, _hdL):\n wNuL = cq_d[LegL]\n Mlb1 = _hdL[LegL]\n return wNuL > Mlb1", "def iOjC(cq_d, _hdL):\n if cq_d[0] > _hdL[0]:\n return True\n return False", "def jmxi(LFlW, _tIi):\n return LFlW >= _tIi and LFlW != _tIi", "def fd_O(OqI1, ZdHp):\n\n def NkkI(Ty9i):\n re...
[ "0.58806455", "0.56468433", "0.5619726", "0.5608521", "0.5580166", "0.55709916", "0.5551635", "0.55294377", "0.5527719", "0.5526746", "0.55215687", "0.55191374", "0.5505613", "0.5501289", "0.54559004", "0.5419421", "0.54090685", "0.53665376", "0.53653914", "0.5359444", "0.535...
0.8562178
0
Calls the fresh_tomatoes module to create and open the movie catalog web page
def Vr_O(sV3k): o6yt(sV3k)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_():\n sV3k = []\n for LHvA in TKDP.values():\n sV3k.append(H4Ej(LHvA['title'], LHvA['genre'], LHvA['poster_url'], LHvA['trailer_url'], LHvA['box_office_earnings'], LHvA['date_in_theaters']))\n k9sD = sorted(sV3k, key=lambda r8hN: r8hN.title.lower())\n AbuK.open_movies_page(k9sD)", "def...
[ "0.74370605", "0.73251575", "0.7278929", "0.70747745", "0.7023337", "0.6952014", "0.67536867", "0.67381316", "0.6635635", "0.65136206", "0.64826155", "0.6468452", "0.60942256", "0.60321206", "0.59731627", "0.5955566", "0.5936451", "0.5928045", "0.5880452", "0.58131754", "0.57...
0.65101326
10
Converts few storage IDs to SQL WHERE clause and dict with values for binding. List of ids must be nonempty (it's better to catch this situation at higher level). The clause returned is build as short as it is possible in this implementation. But it resolves all conflicts with the samenamed fields with differently valu...
def dTca(YKHO, A07C): y8bC = [] hkxX = [] z3LN = {} for d6pt, id in enumerate(A07C): YPGK = [] PK_L = [] for Jyyj, BWXx in dict(AO38(id)).items(): aC0l = z3LN.setdefault(Jyyj, {}).setdefault(BWXx, '%s%s' % (Jyyj, d6pt)) YPGK.append((Jyyj, aC0l)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NIM8(J_RZ, JSyk):\n if not isinstance(J_RZ, (list, tuple)):\n J_RZ = [J_RZ]\n if not isinstance(JSyk, (list, tuple)):\n JSyk = [JSyk]\n if len(J_RZ) != len(JSyk):\n raise ValueError(f'Error: unable to build a primary key query due to mismatch in number of fields {len(J_RZ)} vs {le...
[ "0.61195457", "0.60041225", "0.5973512", "0.5908867", "0.57811993", "0.5744384", "0.5684801", "0.5605927", "0.5603631", "0.55764556", "0.5572487", "0.5560084", "0.5542922", "0.5514668", "0.5505802", "0.5476002", "0.54558414", "0.5433466", "0.54295534", "0.5397813", "0.5396573...
0.7903804
0
Predict the scores of all stages in states. This is the breakdown version of `predict`.
def oK0h(YKHO, D5gV, wspz): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YEmv(YKHO, g4y1, wspz=dict()):\n nPrm = dict(inputs=g4y1, states=wspz)\n YKHO.comm.put_prediction_data(nPrm, 1)\n U5bT = YKHO.comm.get_prediction_return()\n return U5bT", "def IYbP(YKHO, wspz):\n return YKHO._model.predict(wspz)", "def a5dg(YKHO, pR3T, wspz):\n pass", "def YEmv(YKHO, QT...
[ "0.6968602", "0.6961573", "0.695817", "0.6945566", "0.6868956", "0.6850483", "0.68428713", "0.67575926", "0.6747499", "0.6724246", "0.6720703", "0.6712424", "0.6709337", "0.67091423", "0.66924024", "0.65570766", "0.65367085", "0.65355414", "0.6525879", "0.6513254", "0.6499956...
0.7088995
0
returns the how many edges are there
def n8F9(): return len(mC4V())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n8F9(YKHO):\n return len(tuple(YKHO.edges()))", "def n8F9(YKHO):\n return len(tuple(YKHO.edges()))", "def vi4d(YKHO):\n return YKHO._n", "def St5B(YKHO):\n mC4V = YKHO.get_edges()\n return len(mC4V) / 2", "def fOCg(YKHO) -> int:\n pass", "def fOCg(YKHO) -> int:\n pass", "def fO...
[ "0.88206035", "0.88206035", "0.88028646", "0.8751772", "0.8749916", "0.8749916", "0.87278384", "0.8688396", "0.86387676", "0.86387676", "0.86167216", "0.85626155", "0.8533853", "0.8527031", "0.85123533", "0.8499321", "0.8496977", "0.8487935", "0.8485966", "0.8464215", "0.8457...
0.8962593
0
returns the how many edges are there
def ihW8(): return len(Ym2h())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n8F9():\n return len(mC4V())", "def n8F9(YKHO):\n return len(tuple(YKHO.edges()))", "def n8F9(YKHO):\n return len(tuple(YKHO.edges()))", "def vi4d(YKHO):\n return YKHO._n", "def St5B(YKHO):\n mC4V = YKHO.get_edges()\n return len(mC4V) / 2", "def fOCg(YKHO) -> int:\n pass", "def...
[ "0.8962051", "0.8820293", "0.8820293", "0.88027513", "0.8751256", "0.87498456", "0.87498456", "0.87276083", "0.8688062", "0.863857", "0.863857", "0.861707", "0.85626006", "0.8533752", "0.85267776", "0.85124063", "0.84987855", "0.84967756", "0.848778", "0.8485982", "0.8464174"...
0.8359387
27
train KerasRegressor model to predict PHI with 2D CNN
def F42i(HasU, Wc9F, ppBc, TnHC, _sHw, FhF9): apZK = ppBc.shape oyIN.random.seed(7) BHCt = NCY5(build_fn=GAQ3.model_cnn, dim=apZK, epochs=HasU, batch_size=Wc9F, verbose=2) uMzy(BHCt, ppBc, _sHw, TnHC, FhF9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQs7(YKHO):\n C3ST = ileL()\n C3ST.add(yHwh(32, (3, 3), activation='relu', input_shape=(28, 28, 1)))\n C3ST.add(yHwh(32, (3, 3), activation='relu'))\n C3ST.add(BzBX(pool_size=(2, 2)))\n C3ST.add(lARV(0.4))\n C3ST.add(yHwh(25, (3, 3), activation='relu'))\n C3ST.add(yHwh(25, (3, 3), activati...
[ "0.6834439", "0.67513657", "0.66832775", "0.66289896", "0.66225624", "0.6592799", "0.65789723", "0.6560195", "0.65454495", "0.65438086", "0.654374", "0.6542554", "0.6541727", "0.65162134", "0.64974964", "0.64531547", "0.6440683", "0.64195544", "0.63880146", "0.6386135", "0.63...
0.6128422
63
Compute the surface area of the meash.
def Re0Q(iXlf, y_PJ): tjC2 = 0.0 for RpU_ in y_PJ: T8d8 = iXlf[RpU_[0], :] hQHm = iXlf[RpU_[1], :] jlSq = iXlf[RpU_[2], :] WOpi = 0.5 * oyIN.linalg.norm(oyIN.cross(hQHm - T8d8, jlSq - T8d8)) tjC2 += WOpi return tjC2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Re0Q(YKHO):\n return oyIN.sum(YKHO._find_triangle_areas())", "def B7Mv(YKHO):\n if YKHO.surface_area_ is None:\n f0tD = 0.0\n for nXnc in YKHO.triangles:\n huCq = YKHO._area_of_tri(nXnc)\n f0tD += huCq\n YKHO.surface_area_ = f0tD\n return YKHO.surface_area_...
[ "0.8008108", "0.77348477", "0.7428564", "0.71760136", "0.71748245", "0.7131331", "0.7063582", "0.7038037", "0.7024495", "0.70229197", "0.70039773", "0.6999193", "0.6998754", "0.69704705", "0.69615144", "0.69402766", "0.6910487", "0.68909097", "0.6856333", "0.68378025", "0.682...
0.6584731
41
Compute the centroid of the mesh.
def uXnH(iXlf, y_PJ): tjC2 = 0 e6ux = oyIN.zeros(3) for RpU_ in y_PJ: T8d8 = iXlf[RpU_[0], :] hQHm = iXlf[RpU_[1], :] jlSq = iXlf[RpU_[2], :] WOpi = 0.5 * oyIN.linalg.norm(oyIN.cross(hQHm - T8d8, jlSq - T8d8)) e6ux += T8d8 * WOpi e6ux += hQHm * WOpi e6...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eEap(YKHO):\n return oyIN.mean(YKHO.vertices_, axis=0)", "def q0W5(rR8k):\n UHFx = len(rR8k.vertices)\n if UHFx == 0:\n return\n o0ZM = BhJz = Rv0k = 0\n for XP5J in rR8k.vertices:\n o0ZM += XP5J.x\n BhJz += XP5J.y\n Rv0k += XP5J.z\n UV8M = o0ZM / UHFx\n vHO5 ...
[ "0.83042336", "0.8245966", "0.81235915", "0.81007075", "0.8005714", "0.7938566", "0.79032815", "0.7852581", "0.78115815", "0.780636", "0.780636", "0.77972245", "0.7777327", "0.7757529", "0.77210873", "0.7717707", "0.7706918", "0.7667893", "0.7600436", "0.75346744", "0.7507955...
0.7250623
38
Guess platform from config Possible NILS integration?
def XM_e(YKHO): return 'xr'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KwMM():\n return WU2G[a9EH.system()]", "def h1o9(YKHO, a9EH):\n if a9EH in ('wsn430v13', 'wsn430v14'):\n return 'wsn430'\n return a9EH", "def LPWL():\n if bool(a9EH.mac_ver()[0]):\n return fTPW\n elif bool(a9EH.dist()[0]):\n return aMBU\n RKD7.Error('Error: Unknown pl...
[ "0.75104094", "0.7496676", "0.7465338", "0.7396552", "0.7364234", "0.7311936", "0.72975284", "0.727527", "0.72735626", "0.7188243", "0.71280503", "0.7123559", "0.7116893", "0.71153", "0.7111733", "0.7107509", "0.7073017", "0.7072972", "0.70593107", "0.70537007", "0.70523757",...
0.740267
3
Parse interfaces from an XR config!
def nHOi(Emd4, GPtr): Ylbp = [] for zFiD in GPtr.splitlines(): r8hN = ZbWC.match('interface (?!preconfigure)(.*)$', zFiD) if r8hN is not None: Ylbp.append(yF2U._parse_xr_interface(GPtr, r8hN.group(1))) return Ylbp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZoJ4(YKHO):\n N5Pj = OnNL(ZyaP)\n for nuPx in N5Pj.parse_interfaces():\n nuPx.validateAll()", "def uJlo(YKHO):\n ZI8o = GbG_.parse(YKHO._lib_path + '/uwsim/xml/interfaces.xml')\n NVC4 = ZI8o.getroot()\n Ziit = list(NVC4)\n return Ziit", "def qRNK(YKHO, GPtr):\n kUBT = ZbWC.searc...
[ "0.69434947", "0.6544278", "0.6408263", "0.6280807", "0.62348723", "0.62259173", "0.6078302", "0.5923064", "0.5884711", "0.5812168", "0.5787612", "0.57611734", "0.5752598", "0.5749957", "0.5745497", "0.56944525", "0.566562", "0.56454784", "0.5628323", "0.56267273", "0.5612847...
0.77069026
0
Check that serve.run() with an app returns the ingress.
def Zb1Y(YvEi): @kxW1.deployment(route_prefix='/g') def Oa1e(): return 'got g' P4t4 = XBrx([Oa1e], 'g') X_C1 = kxW1.run(P4t4) assert spHt.get(X_C1.remote()) == 'got g' YvEi.delete_apps([pJ_v])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Uxlw(YKHO):\n RBVb = YKHO.utils.deploy_manifest_file(Hqwi.KUBECTL_APPLY, YKHO._ingress_file)\n YKHO._set_results_namespace_admin(Hqwi.PERM_INGRESS, RBVb)", "def EFhR(YvEi):\n\n @kxW1.deployment\n class Driver:\n\n def FIMM(YKHO, aUfT: RayServeDAGHandle):\n YKHO.dag = aUfT\n\n ...
[ "0.5736247", "0.5498605", "0.5496851", "0.54868966", "0.54521793", "0.5430635", "0.53795093", "0.5366514", "0.5354289", "0.53337187", "0.53090715", "0.5283915", "0.5238081", "0.5236522", "0.52303666", "0.5215509", "0.51774406", "0.51722187", "0.5171633", "0.5153174", "0.51395...
0.7311424
0
Test route_prefix conflicts with different apps.
def L7LP(YvEi): @kxW1.deployment class Model: def nrOS(YKHO): return 'got model' nVrR = kxW1.run(wOed.bind(), name='app') assert spHt.get(nVrR.remote()) == 'got model' assert G4JS.get('http://127.0.0.1:8000/').text == 'got model' @kxW1.deployment class Model1: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FC8c(YvEi, lBdQ, rUBD):\n\n @kxW1.deployment\n def eHNT():\n return 'hello'\n Q6kx = eHNT.options(route_prefix=lBdQ).bind()\n kxW1.run(Q6kx, route_prefix=rUBD)\n if rUBD is None:\n iAwL = G4JS.get('http://localhost:8000/-/routes').json()\n assert len(iAwL) == 0\n else:\n ...
[ "0.7464", "0.7296482", "0.650848", "0.63908553", "0.6261849", "0.60057795", "0.59063745", "0.5881116", "0.5823214", "0.5789045", "0.5782894", "0.57710993", "0.5742122", "0.5736367", "0.5714526", "0.5714526", "0.5701094", "0.56568897", "0.5645297", "0.5634965", "0.56016284", ...
0.68343455
2
Don't set route prefix in serve.run, check it always uses the ingress deployment route.
def AmFE(YvEi, lBdQ): @kxW1.deployment def eHNT(): return 'hello' Q6kx = eHNT.options(route_prefix=lBdQ).bind() kxW1.run(Q6kx) if lBdQ is None: iAwL = G4JS.get('http://localhost:8000/-/routes').json() assert len(iAwL) == 0 else: assert G4JS.get(f'http://localhost...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FC8c(YvEi, lBdQ, rUBD):\n\n @kxW1.deployment\n def eHNT():\n return 'hello'\n Q6kx = eHNT.options(route_prefix=lBdQ).bind()\n kxW1.run(Q6kx, route_prefix=rUBD)\n if rUBD is None:\n iAwL = G4JS.get('http://localhost:8000/-/routes').json()\n assert len(iAwL) == 0\n else:\n ...
[ "0.795079", "0.7109127", "0.6722777", "0.6537926", "0.63185656", "0.6032478", "0.59185207", "0.5830744", "0.5818717", "0.57250965", "0.5681527", "0.5659011", "0.5577108", "0.5577108", "0.5465067", "0.54612887", "0.5458647", "0.54303837", "0.541451", "0.5363877", "0.53149146",...
0.8074436
0
Test serve run with no slash route_prefix. This test ensure when serve runs with no prefix slash in route_prefix, it will throw good error message.
def hbm8(YvEi): @kxW1.deployment def eHNT(): pass with trZe.raises(ValueError, match="The route_prefix must start with a forward slash \\('/'\\)"): kxW1.run(eHNT.bind(), route_prefix='no_slash')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FC8c(YvEi, lBdQ, rUBD):\n\n @kxW1.deployment\n def eHNT():\n return 'hello'\n Q6kx = eHNT.options(route_prefix=lBdQ).bind()\n kxW1.run(Q6kx, route_prefix=rUBD)\n if rUBD is None:\n iAwL = G4JS.get('http://localhost:8000/-/routes').json()\n assert len(iAwL) == 0\n else:\n ...
[ "0.71370643", "0.71296746", "0.6636932", "0.63653386", "0.6286964", "0.62280047", "0.61674446", "0.6137579", "0.6109682", "0.6096846", "0.6091302", "0.60787404", "0.6067747", "0.6064518", "0.606405", "0.6032875", "0.60106504", "0.59874004", "0.59699965", "0.5968125", "0.59397...
0.85058254
0
Returns project root folder.
def phdL() -> GkAb: return GkAb(xAKo).parent.parent
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L59w(YKHO):\n return Hy7s.path.dirname(xAKo)", "def mSqg(YKHO):\n return YKHO._project_dir", "def phdL() -> GkAb:\n KfRp = GkAb(xAKo).parent.resolve().parent\n return KfRp", "def L59w():\n return Hy7s.path.dirname(Hy7s.path.dirname(xAKo))", "def phdL() -> str:\n pmON = GkAb(xAKo).pare...
[ "0.87526774", "0.86910444", "0.86703354", "0.85556895", "0.8523378", "0.8464311", "0.84612876", "0.8456025", "0.84495723", "0.8444034", "0.8444034", "0.8439751", "0.8432916", "0.8425679", "0.841197", "0.8390091", "0.8390091", "0.8339866", "0.82881594", "0.8249048", "0.8242476...
0.8485956
5
Get the current time in milliseconds since epoch
def MaIc(): return int(round(vnE3.time() * 1000))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nXiN():\n return int(ITS7.time() * 1000)", "def Qe9l():\n return int(round(ITS7.time() * 1000))", "def z_3P():\n return int(round(ITS7.time() * 1000))", "def NP7G():\n return ITS7.time() * 1000", "def DT8T():\n TexU: int = ITS7.time()\n TexU *= 1000\n return TexU", "def LIpY():\n...
[ "0.83808", "0.83662313", "0.82424915", "0.8208033", "0.81928205", "0.818071", "0.8081666", "0.8042645", "0.8036219", "0.8036219", "0.7993253", "0.79564834", "0.79564834", "0.7949657", "0.79232943", "0.78970426", "0.7863832", "0.7854367", "0.77939004", "0.7790718", "0.77893573...
0.7265154
73
update_with_template_state_err method should raise error when update task is done but the nested stack is in (UPDATE, FAILED) state.
def jCRn(YKHO): dIZd = YKHO.parent_resource.create_with_template(YKHO.simple_template, {}) dIZd.run_to_completion() YKHO.stack = YKHO.parent_resource.nested() Hz95 = YKHO.simple_template.copy() DCtD = Hz95['Resources']['WebServer'].copy() Hz95['Resources']['WebServer2'] = DCtD def zkur(): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LUSl(YKHO):\n nUtV = YKHO.parent_resource.create_with_template(YKHO.simple_template, {})\n while not nUtV.step():\n pass\n rPXJ = YKHO.simple_template.copy()\n rPXJ['Parameters']['WebServer'] = {'Type': 'String'}\n YKHO.assertRaises(AJ5d.StackValidationFailed, YKHO.parent_resource.update_...
[ "0.6394534", "0.62974876", "0.62736917", "0.6197809", "0.61872005", "0.6106968", "0.59463674", "0.5938495", "0.57957995", "0.5793696", "0.5759513", "0.56841177", "0.5681524", "0.56778365", "0.5668028", "0.5668028", "0.5668028", "0.5668028", "0.5668028", "0.5651792", "0.564957...
0.8211548
0
Compute loss for model. If both `labels` and `mask` are None,
def KVH6(YKHO, bySB, Crrw=None, ZHfW=None): begE = ht2j.device('cuda') if bySB.is_cuda else ht2j.device('cpu') if len(bySB.shape) < 3: raise ValueError('`features` needs to be [bsz, n_views, ...],at least 3 dimensions are required') if len(bySB.shape) > 3: bySB = bySB.view(bySB.shape[0], byS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pBxC(GPtr, vT2H, tSw9, YBkW, FpBn):\n if (tSw9 > 0).sum() > 0:\n iIRD = ht2j.nonzero(tSw9 > 0)[:, 0]\n Khov = tSw9[iIRD.data].long()\n _0VL = ht2j.stack((iIRD, Khov), dim=1)\n Y8eF = vT2H[_0VL[:, 0].data, :, :]\n if GPtr.GLOBAL_MASK:\n aMgO = FpBn[_0VL[:, 0], 0,...
[ "0.7329488", "0.72307736", "0.7044707", "0.70306396", "0.69531035", "0.69361484", "0.678308", "0.6758537", "0.67518306", "0.6744268", "0.6732295", "0.67305654", "0.6721974", "0.6707832", "0.67076623", "0.6645691", "0.6615347", "0.6610278", "0.66081554", "0.65899426", "0.65781...
0.0
-1
Compute loss for model. If both `labels` and `mask` are None,
def KVH6(YKHO, bySB, Crrw=None, ZHfW=None, _mSQ=None): begE = ht2j.device('cuda') if bySB.is_cuda else ht2j.device('cpu') if len(bySB.shape) < 3: raise ValueError('`features` needs to be [bsz, n_views, ...],at least 3 dimensions are required') if len(bySB.shape) > 3: bySB = bySB.view(bySB.sh...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pBxC(GPtr, vT2H, tSw9, YBkW, FpBn):\n if (tSw9 > 0).sum() > 0:\n iIRD = ht2j.nonzero(tSw9 > 0)[:, 0]\n Khov = tSw9[iIRD.data].long()\n _0VL = ht2j.stack((iIRD, Khov), dim=1)\n Y8eF = vT2H[_0VL[:, 0].data, :, :]\n if GPtr.GLOBAL_MASK:\n aMgO = FpBn[_0VL[:, 0], 0,...
[ "0.7329488", "0.72307736", "0.7044707", "0.70306396", "0.69531035", "0.69361484", "0.678308", "0.6758537", "0.67518306", "0.6744268", "0.6732295", "0.67305654", "0.6721974", "0.6707832", "0.67076623", "0.6645691", "0.6615347", "0.6610278", "0.66081554", "0.65899426", "0.65781...
0.0
-1
Gets "Other" of Guest
def NTTb(YKHO): try: return YKHO.session.xenapi.VM_guest_metrics.get_other(YKHO.guest) except Exception as e: print('Exception: GuestMetrics.get_others:', tTpl) return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wNmq(YKHO):\n return YKHO.get_others_in_group()[0]", "def wNmq(YKHO):\n return YKHO.get_others_in_group()[0]", "def m9f3(oyg0):\n return 'X' if oyg0 == 'O' else 'O'", "def wNmq(YKHO):\n return YKHO.get_others_in_group()", "def p2JE(NCls, g_7i, uqrU):\n return gd9n.create(host=g_7i, host_...
[ "0.6127636", "0.6127636", "0.59974", "0.59434134", "0.588758", "0.5819668", "0.58178127", "0.5785984", "0.5594012", "0.5572075", "0.5466291", "0.54013646", "0.5385453", "0.5375324", "0.5372608", "0.53646564", "0.5350559", "0.53141534", "0.5263284", "0.5255392", "0.5243644", ...
0.7179518
0