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
Determine whether an event is in the range. Does not handle weird GMT boundaries. Says that virtual events are false. Consumes an event (with no ID)
def mFM_(GPtr, tvqc): id = fHdY(tvqc['url']) if not 'location' in tvqc: G9jH.debug('{}: no location field!'.format(id)) return False elif not 'geo' in tvqc['location']: G9jH.debug('{}: no lat/long location!'.format(id)) return False else: TuoA = tvqc['location']['...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Sk_I(YKHO, pmp7):\n pass", "def ivGM(tvqc):\n if tvqc.y // 64 < 0.0:\n return False\n if tvqc.y // 64 >= 9.0:\n return False\n if tvqc.x // 64 < 0.0:\n return False\n if tvqc.x // 64 >= 16.0:\n return False\n return True", "def ugjp(YKHO, rRzo: int) -> bool:\n ...
[ "0.6810328", "0.6686627", "0.6506567", "0.64323163", "0.64237523", "0.62855923", "0.6248966", "0.62457156", "0.6224886", "0.62235075", "0.61967385", "0.6194592", "0.6187699", "0.61652696", "0.6162595", "0.61579245", "0.6140545", "0.61328304", "0.61298716", "0.61258024", "0.60...
0.6101786
20
Unlike everything else, take a DATETIME and produce a string representing the datetime as UTC.
def JCru(Csk6): AU5l = Csk6.astimezone(FXGE.timezone('UTC')) return AU5l.strftime('%FT%H:%M:%SZ')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tAsL(JRYC):\n JRYC = JRYC.astimezone(FXGE.timezone('UTC'))\n return '-'.join(['%d' % Ty9i for Ty9i in JRYC.timetuple()[:6]])", "def _RwM(JRYC):\n if JRYC.utcoffset() is not None:\n Kzzc = JRYC.isoformat()\n else:\n Kzzc = '{}Z'.format(JRYC.isoformat())\n return Kzzc", "def Zb98...
[ "0.7375329", "0.7113106", "0.7100733", "0.7073982", "0.70508033", "0.70149696", "0.6982298", "0.69640243", "0.68983006", "0.68672544", "0.68414545", "0.68301034", "0.6814065", "0.6796255", "0.6790629", "0.67770946", "0.67592406", "0.67550635", "0.6692439", "0.668756", "0.6678...
0.7230702
1
Converts a date string into a datetime object.
def DSF0(X4jK, TDw3='_'): BHGE = X4jK.split(TDw3) lO87, x0eS, CjKC = [int(rOzm) for rOzm in BHGE] _c1T = qcWV.date(lO87, x0eS, CjKC) return _c1T
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R8Xh(mbyn: str) -> qcWV:\n fBin = feVn.parse(mbyn)\n return fBin", "def feVn(mbyn: str) -> qcWV:\n lO87, x0eS, CjKC = mbyn.split('-')\n return _c1T(int(lO87), int(x0eS), int(CjKC))", "def dDPx(mbyn):\n try:\n return qcWV.datetime.strptime(mbyn, '%Y-%m-%d %H:%M:%S')\n except Excepti...
[ "0.8518698", "0.8089428", "0.80746335", "0.7971799", "0.7894952", "0.786215", "0.78557414", "0.78547317", "0.7817316", "0.7814493", "0.7801057", "0.7782238", "0.7779882", "0.77768475", "0.774996", "0.77486855", "0.77461416", "0.774032", "0.77075684", "0.770306", "0.77005976",...
0.7290581
73
Returns a DataFrame which contains NaN data in the specified column.
def NLaP(YKHO, fvDH): return YKHO.data[YKHO.data[fvDH].isnull()]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RGlT(YKHO, iVRZ, BWXx):\n YKHO.df[iVRZ] = YKHO.df[iVRZ].fillna(BWXx)\n return YKHO.df", "def Uose(jQ3Z, iVRZ: str):\n return jQ3Z[rLdf.isnull(jQ3Z[iVRZ])]", "def rMBo(jQ3Z):\n d6pt, WfCS, ROpF = (jQ3Z.index, jQ3Z.columns, jQ3Z.shape)\n NX_1 = oyIN.empty(ROpF).fill(oyIN.nan)\n FXpm = rLdf....
[ "0.6631351", "0.63998175", "0.628572", "0.6236924", "0.61516076", "0.6107526", "0.6076457", "0.6036819", "0.59960824", "0.5987368", "0.5978604", "0.5977851", "0.5977851", "0.59324753", "0.5915566", "0.5881899", "0.582448", "0.57815486", "0.5765015", "0.5759172", "0.5748626", ...
0.6145764
5
AWS Lambda action handler
def DCgT(tvqc, QpfX): bo34 = G9jH.getLogger() bo34.setLevel(G9jH.INFO) bo34.info('event is: %s', str(tvqc)) SGPK = tvqc['queryStringParameters'] if SGPK is None: bo34.info('Received no arguments. Returning documentation.') TBsA = 'I convert Roman numerals to Arabic integers. To invok...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cfQO(tvqc, QpfX):\n return", "def cfQO(tvqc, QpfX):\n return ypeQ(tvqc)", "def cfQO(tvqc, QpfX):\n return ypeQ(tvqc)", "def cfQO(tvqc, QpfX):\n return ypeQ(tvqc)", "def cfQO(tvqc: dict, QpfX) -> dict:\n pass", "def cfQO(tvqc, QpfX):\n nPrm = uRlK.urlencode(tvqc)\n VJtT(tvqc)\n ...
[ "0.8081903", "0.79693305", "0.79693305", "0.79693305", "0.77923816", "0.775178", "0.75856847", "0.7527774", "0.75268227", "0.75235426", "0.75156486", "0.7512371", "0.75063914", "0.7478905", "0.74718434", "0.7471256", "0.7436832", "0.7410954", "0.73890394", "0.7349313", "0.732...
0.0
-1
Shorttime Fourier transform for real 1D inputs Arguments
def My0s(WKvO, FxOY, TOGf, yHH9=4): jbYB = FxOY / yHH9 yzQ0 = Zxt2.hanning(FxOY + 2)[1:-1] iaAY = oyIN.array([oyIN.fft.rfft(yzQ0 * WKvO[YRbF:YRbF + FxOY], n=TOGf) for YRbF in range(0, len(WKvO) - FxOY, jbYB)]) return iaAY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D8MD(YKHO):\n a1PO = YKHO.axis\n LVAh = YKHO.data\n if isinstance(a1PO, qupb):\n yzQ0 = a1PO.get_FrequencyAxis()\n if a1PO.atype == 'complete':\n fuBA = a1PO.length * XTiz.fft.fftshift(XTiz.fft.ifft(XTiz.fft.fftshift(LVAh))) * a1PO.step\n elif a1PO.atype == 'upper-half'...
[ "0.6831346", "0.6791062", "0.6632927", "0.6489206", "0.64811796", "0.6473994", "0.64631444", "0.6397104", "0.63502574", "0.6327687", "0.63059", "0.6208909", "0.6179364", "0.6170901", "0.61540955", "0.6153092", "0.61494094", "0.6144957", "0.6123023", "0.6076835", "0.60634", ...
0.0
-1
Preprocess the Corpus List. Provides some simple preprocessing steps that could be beneficial for training purposes. This includes an option to lowercase all words in the corpus list and to remove stopwords.
def okCT(YKHO, uzkY, cKm3=False, vlVk=None): if cKm3: uzkY = [yzQ0.lower() for yzQ0 in uzkY] if vlVk is not None: uzkY = [yzQ0 for yzQ0 in uzkY if yzQ0 not in vlVk] return uzkY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yfiX(YKHO, rrSk):\n Dhdw.download('wordnet')\n Mol0 = []\n for A97Q in rrSk:\n Mol0.append(YKHO.doc_preproc(A97Q))\n return Mol0", "def biH0(YKHO):\n Er7Z = YKHO.documents\n Er7Z = [A97Q.lower() for A97Q in Er7Z]\n Er7Z = [A97Q.translate(str.maketrans(vIwR.punctuation, ' ' * len(v...
[ "0.72857356", "0.7019115", "0.6987702", "0.6905504", "0.68315053", "0.6812526", "0.67013276", "0.668813", "0.66848457", "0.6674275", "0.6672186", "0.66484386", "0.66445416", "0.663435", "0.6632048", "0.66267735", "0.66168875", "0.6610068", "0.6596659", "0.65638256", "0.656284...
0.8217308
0
Test if the p_value returned by target_real_feature_binary_test is large enough for highly unsignificant features.
def LSWo(YKHO): WKvO = rLdf.Series(oyIN.random.binomial(1, 0.5, 250), name='TEST') LVAh = rLdf.Series(oyIN.random.normal(0, 1, 250)) qpV3 = LeGY.feature_selection.significance_tests.target_real_feature_binary_test(WKvO, LVAh) YKHO.assertGreater(qpV3, YKHO.minimal_p_value_for_unsignificant_features) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WhPA(YKHO):\n WKvO = rLdf.Series(oyIN.random.normal(0, 1, 250), name='TEST')\n LVAh = rLdf.Series(oyIN.random.binomial(1, 0.5, 250))\n qpV3 = LeGY.feature_selection.significance_tests.target_binary_feature_real_test(WKvO, LVAh, YKHO.settings)\n YKHO.assertGreater(qpV3, YKHO.minimal_p_value_for_unsi...
[ "0.7414519", "0.7297628", "0.71030605", "0.7026155", "0.69699246", "0.6719623", "0.6600413", "0.6380044", "0.6329546", "0.59866506", "0.5781225", "0.57508516", "0.56858", "0.56762135", "0.56387943", "0.5637621", "0.5606266", "0.5583597", "0.5582211", "0.55779815", "0.557235",...
0.7484806
0
Test if the p_value returned by target_binary_feature_real_test is low enough for highly significant features.
def cBlA(YKHO): WKvO = rLdf.Series(oyIN.random.normal(0, 1, 250), name='TEST') LVAh = rLdf.Series(oyIN.ndarray(250)) LVAh[WKvO >= 0.3] = 1 LVAh[WKvO < 0.3] = 0 LVAh -= rLdf.Series(oyIN.random.binomial(1, 0.1, 250)) LVAh[LVAh == -1] = 0 LVAh[LVAh == 2] = 1 qpV3 = LeGY.feature_selection.si...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WhPA(YKHO):\n WKvO = rLdf.Series(oyIN.random.normal(0, 1, 250), name='TEST')\n LVAh = rLdf.Series(oyIN.random.binomial(1, 0.5, 250))\n qpV3 = LeGY.feature_selection.significance_tests.target_binary_feature_real_test(WKvO, LVAh, YKHO.settings)\n YKHO.assertGreater(qpV3, YKHO.minimal_p_value_for_unsi...
[ "0.7616894", "0.7598381", "0.75909257", "0.7180006", "0.7097906", "0.7065786", "0.70575356", "0.69347906", "0.614038", "0.6080971", "0.6073236", "0.60493016", "0.5997103", "0.5993211", "0.5963411", "0.5953759", "0.5912825", "0.59040594", "0.588779", "0.5874655", "0.58690333",...
0.7402989
3
Test if the p_value returned by target_binary_feature_real_test is low enough for highly significant features.
def cXOz(YKHO): QaCi = YKHO.settings QaCi.test_for_binary_target_real_feature = 'smir' WKvO = rLdf.Series(oyIN.random.normal(0, 1, 250), name='TEST') LVAh = rLdf.Series(oyIN.ndarray(250)) LVAh[WKvO >= 0.3] = 1 LVAh[WKvO < 0.3] = 0 LVAh -= rLdf.Series(oyIN.random.binomial(1, 0.2, 250)) LV...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WhPA(YKHO):\n WKvO = rLdf.Series(oyIN.random.normal(0, 1, 250), name='TEST')\n LVAh = rLdf.Series(oyIN.random.binomial(1, 0.5, 250))\n qpV3 = LeGY.feature_selection.significance_tests.target_binary_feature_real_test(WKvO, LVAh, YKHO.settings)\n YKHO.assertGreater(qpV3, YKHO.minimal_p_value_for_unsi...
[ "0.76163596", "0.7597653", "0.75905716", "0.7402322", "0.7180075", "0.70983243", "0.7056818", "0.69337255", "0.61401844", "0.60807234", "0.6073269", "0.6048975", "0.5996929", "0.5992708", "0.59634036", "0.59541184", "0.591414", "0.59040457", "0.5887169", "0.58738124", "0.5869...
0.70649606
6
Test if the p_value returned by target_real_feature_binary_test is low enough for highly significant features.
def LGNB(YKHO): WKvO = rLdf.Series(oyIN.random.binomial(1, 0.5, 250), name='TEST') LVAh = WKvO * rLdf.Series(oyIN.random.normal(0, 1, 250)) + rLdf.Series(oyIN.random.normal(0, 0.25, 250)) qpV3 = LeGY.feature_selection.significance_tests.target_real_feature_binary_test(WKvO, LVAh) YKHO.assertLess(qpV3, Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WhPA(YKHO):\n WKvO = rLdf.Series(oyIN.random.normal(0, 1, 250), name='TEST')\n LVAh = rLdf.Series(oyIN.random.binomial(1, 0.5, 250))\n qpV3 = LeGY.feature_selection.significance_tests.target_binary_feature_real_test(WKvO, LVAh, YKHO.settings)\n YKHO.assertGreater(qpV3, YKHO.minimal_p_value_for_unsi...
[ "0.76875883", "0.76839226", "0.7468806", "0.7321852", "0.72416186", "0.7138459", "0.70370466", "0.6893664", "0.62397516", "0.6181812", "0.6158983", "0.6145497", "0.60849136", "0.60549825", "0.6049574", "0.6018631", "0.59601575", "0.5953728", "0.595232", "0.5939737", "0.588155...
0.76735646
2
Convert given column number into a column letters. Right shifts the column index by 26 to find column letters in reverse order. These numbers are 1based, and can be converted to ASCII ordinals by adding 64.
def jDhy(FGW3: int) -> str: lt_w(1 <= FGW3 <= 18278, f'Column number {FGW3} must be in range [1, 18278]!') KoG3 = [] while FGW3 > 0: FGW3, K0A_ = divmod(FGW3, 26) if K0A_ == 0: K0A_ = 26 FGW3 -= 1 KoG3.append(chr(K0A_ + 64)) return ''.join(reversed(KoG3))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JglO(YKHO, exwG):\n hFiK = exwG\n vIwR = ''\n while hFiK > 0:\n VlDb = (hFiK - 1) % 26\n vIwR = chr(65 + VlDb) + vIwR\n hFiK = int((hFiK - VlDb) / 26)\n return vIwR", "def jDhy(FGW3):\n assert 1 <= FGW3 <= 18278, 'Column number {0} must be in range [1, 18278]!'.format(FGW3...
[ "0.8326403", "0.81873673", "0.81461686", "0.80899817", "0.7896036", "0.7776532", "0.77116597", "0.75771475", "0.73575026", "0.7322308", "0.7259445", "0.725533", "0.72540957", "0.72481966", "0.7209459", "0.7200129", "0.69778806", "0.67569", "0.67284155", "0.6698711", "0.663391...
0.81401277
3
Check that neighbours are found correctly.
def lNA7(YKHO): YKHO.assertRaises(AssertionError, Yq9l.get_pairwise_distances, YKHO.nacl, num_neighbours=50, cutoff=5) bdGm = Yq9l.get_pairwise_distances(YKHO.nacl, num_neighbours=50) YKHO.assertEqual(len(bdGm), len(YKHO.nacl)) YKHO.assertListEqual([len(YRbF) for YRbF in bdGm], [50] * len(YKHO.nacl)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sBZg(YKHO):\n LTIa = []\n for WKvO in range(0, 10):\n for LVAh in range(0, 10):\n LTIa.append(osS0.Point2D(WKvO, LVAh))\n A_IW = []\n for AU8u in LTIa:\n FGVX = []\n for BZN_ in osS0.MOVES:\n FGVX.append(AU8u + BZN_)\n A_IW.append(FGVX)\n xAYB = ...
[ "0.8010048", "0.77862346", "0.7768161", "0.7661812", "0.7476236", "0.74552387", "0.73663455", "0.73587966", "0.7316111", "0.72715825", "0.7204841", "0.72042966", "0.71679157", "0.7120764", "0.7117308", "0.71092725", "0.7045264", "0.7036276", "0.703568", "0.7002855", "0.696103...
0.7471522
5
Check if any asteroids have reached the bottom of the screen.
def wqjc(YKHO): VXOZ = YKHO.screen.get_rect() for O6AE in YKHO.asteroids.sprites(): if O6AE.rect.top >= O6AE.y_target: YKHO.asteroids.remove(O6AE) YKHO.asteroids_destroyed += 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B2LI(YKHO):\n VXOZ = YKHO.screen.get_rect()\n for x0Pt in YKHO.eggs.sprites():\n if x0Pt.rect.bottom >= VXOZ.bottom:\n YKHO._owl_hit\n break", "def FXP0(YKHO):\n VXOZ = YKHO.screen.get_rect()\n for yrRd in YKHO.zombies.sprites():\n if yrRd.rect.bottom >= VXOZ.b...
[ "0.762113", "0.75832313", "0.7537843", "0.7422783", "0.7386691", "0.7379187", "0.7369397", "0.7346263", "0.7302579", "0.7252804", "0.6960048", "0.69124025", "0.68697226", "0.68610615", "0.6858131", "0.6765864", "0.67592895", "0.675902", "0.6731589", "0.6704942", "0.6691498", ...
0.76968855
0
Check for and manage collisions between asteroids and the player ship.
def t3fL(YKHO): YKHO.asteroids.update() YKHO.ships.add(YKHO.ship) if a9eO.sprite.spritecollideany(YKHO.ship, YKHO.asteroids): YKHO._ship_hit() if YKHO.game_over_explosion == True: YKHO.this_asteroid = YKHO.ship YKHO.centerX, YKHO.centerY = YKHO.this_asteroid.rect.midt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def txKg(YKHO):\n for YBnT in YKHO.bullets:\n for O6AE in YKHO.asteroids:\n if YBnT.alive and O6AE.alive:\n eLr0 = YBnT.radius + O6AE.radius\n if abs(YBnT.center.x - O6AE.center.x) < eLr0 and abs(YBnT.center.y - O6AE.center.y) < eLr0:\n YBnT.ali...
[ "0.75115573", "0.74631804", "0.7203887", "0.7083789", "0.70480746", "0.694373", "0.69191337", "0.691588", "0.68672436", "0.68059665", "0.6658945", "0.659414", "0.65300465", "0.6474855", "0.6468398", "0.64400035", "0.64201695", "0.6418303", "0.6408934", "0.6403463", "0.6388961...
0.7072598
4
Update images on the screen, and flip to the new screen.
def khpC(YKHO): YKHO.screen.blit(YKHO.background, [0, 0]) YKHO.ship.blitme() for YBnT in YKHO.bullets.sprites(): YBnT.draw_bullet() YKHO.asteroids.draw(YKHO.screen) YKHO.explosions.draw(YKHO.screen) YKHO.screen.blit(YKHO.user_interface, [149, 802]) YKHO.shipai.update() YKHO.ui._u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aZ12(YKHO):\n G9jH.info('Refreshing Screen')\n Mtfr = YKHO.screen.copy()\n if s7Ie:\n Mtfr = Mtfr.transpose(uGYG.Image.ROTATE_180)\n Mtfr.thumbnail((YKHO.inky.WIDTH, YKHO.inky.HEIGHT), hnIv.ANTIALIAS)\n YKHO.inky.set_image(Mtfr)\n YKHO.inky.show()", "def udoe(YKHO) -> None:\n a9eO...
[ "0.7721734", "0.7474674", "0.7259857", "0.7219347", "0.7203659", "0.72005016", "0.716287", "0.7147809", "0.7118931", "0.71051186", "0.709692", "0.7079717", "0.7041941", "0.7039826", "0.701613", "0.70066273", "0.6984236", "0.696934", "0.69648916", "0.69626033", "0.6936296", ...
0.72472686
3
Returns True if obj is an instance of a class that inherited from a_class, or False otherwise.
def b_gB(YEnM, J9Xy): if issubclass(type(YEnM), J9Xy) and type(YEnM) is not J9Xy: return True else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bk6c(YEnM, J9Xy):\n return True if isinstance(YEnM, J9Xy) else False", "def b_gB(YEnM, J9Xy):\n if isinstance(YEnM, J9Xy) and type(YEnM) is J9Xy:\n return False\n else:\n return True", "def Bk6c(YEnM, J9Xy):\n if isinstance(YEnM, J9Xy):\n return True\n return False", "...
[ "0.85544753", "0.8530573", "0.84400743", "0.8440051", "0.8439081", "0.8437363", "0.8437363", "0.8437363", "0.8437363", "0.8385234", "0.8385234", "0.83733195", "0.8363948", "0.83634263", "0.8362237", "0.8356421", "0.83530265", "0.83530265", "0.83530265", "0.83530265", "0.83530...
0.82061565
44
Returns name of the first action=View Activity that can handle http.
def cFur(YKHO): HxWT = YKHO._GetManifest() for rxHD in fmvY(HxWT): if 'android.intent.action.VIEW' in rxHD.actions and 'http' in rxHD.schemes: return YKHO._ResolveName(rxHD.name) return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cFur(YKHO):\n HxWT = YKHO._GetManifest()\n for rxHD in fmvY(HxWT):\n if 'android.intent.action.VIEW' in rxHD.actions and 'http' in rxHD.schemes:\n return YKHO._ResolveName(rxHD.name)\n return None", "def GvWW(YKHO, PNq_: Dict[str, Any]) -> str:\n k_Wc = PNq_.get('wsgiorg.routing...
[ "0.7728709", "0.7014752", "0.6597986", "0.6580004", "0.6524981", "0.6510032", "0.6385955", "0.6343784", "0.63231057", "0.631618", "0.6306934", "0.6231503", "0.619449", "0.61930317", "0.6135191", "0.61149067", "0.60910225", "0.6001581", "0.5998828", "0.59805536", "0.59646434",...
0.7721881
1
Returns the name of the split of the apk.
def qlvO(YKHO): HxWT = YKHO._GetManifest() try: return HxWT['manifest'][0]['split'] except KeyError: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q0Ee(YKHO):\n return YKHO._apk_name", "def mWFP(YKHO):\n return YKHO._splited[0]", "def U5Yk() -> str:\n if not NGuA:\n return SRgZ\n else:\n return 'split'", "def AQhi(YKHO):\n ...", "def viso(YKHO):\n w0ZH = YKHO.RepositoryName()\n bNKA, wOmD = Hy7s.path.split(w0ZH)...
[ "0.67068017", "0.64856356", "0.6420724", "0.62199396", "0.6199652", "0.61272717", "0.61143404", "0.60339695", "0.60292673", "0.6016104", "0.6001729", "0.5990348", "0.5984295", "0.59683895", "0.59665084", "0.5962809", "0.58850914", "0.58688176", "0.5847827", "0.5826503", "0.58...
0.7798064
0
Returns the targetSdkVersion as a string, or None if not available.
def QNtv(YKHO): HxWT = YKHO._GetManifest() try: QtUR = HxWT['manifest'][0]['uses-sdk'][0] Go1O = QtUR['android:targetSdkVersion'] try: return str(int(Go1O, 16)) except ValueError: return Go1O except KeyError: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def djKO(YKHO):\n HxWT = YKHO._GetManifest()\n try:\n QtUR = HxWT['manifest'][0]['uses-sdk'][0]\n Mf10 = QtUR['android:minSdkVersion']\n try:\n return str(int(Mf10, 16))\n except ValueError:\n return Mf10\n except KeyError:\n return None", "def dj...
[ "0.690862", "0.690862", "0.678981", "0.67643005", "0.6700221", "0.6532598", "0.6529564", "0.6515258", "0.65066254", "0.6501396", "0.64663625", "0.6447715", "0.64050174", "0.63751864", "0.63737303", "0.63605136", "0.633914", "0.633811", "0.63313615", "0.6327871", "0.6326813", ...
0.83695203
0
Gets the updated weights from the server It tries MAX_RETRY times till it succesfully gets
def Xtyv(YKHO): JZ6E = 0 nPrm = {'id': YKHO.client_id, 'send': False} while JZ6E < JqmV: print('Trying to get the server model weights!') nyyK = YKHO.sender.send(data=nPrm, request='post') if nyyK and YKHO.__validate_data(): print('Successfully got the weights') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aejE(YKHO):\n JZ6E = 0\n nPrm = {'id': YKHO.client_id, 'send': True, 'datasets': YKHO.datasets, 'weights': PjZe(B0gN.arrays_tolist(YKHO.weights))}\n YKHO.sent = False\n while JZ6E < JqmV:\n print('Trying to send newly updated model weights!')\n nyyK = YKHO.sender.send(data=nPrm, reque...
[ "0.6899299", "0.6192144", "0.6169899", "0.6142292", "0.6129614", "0.5940216", "0.58648205", "0.58633024", "0.5839472", "0.578185", "0.5779624", "0.5734277", "0.57204443", "0.56858313", "0.5652406", "0.56523126", "0.5624165", "0.56198364", "0.56068754", "0.56056905", "0.559041...
0.7713311
0
Obtains the password from user input or password cache.
def AuKh(GPtr: ClusterConfig, jTXt: Optional[str]=None) -> str: if QJo9().password is not None: return QJo9().password if jTXt is not None: return jTXt return AOO4.getpass('Password for {host_string}: '.format(host_string=wius(config=GPtr)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QVq7():\n return YvUC().password or AOO4.getpass(u'Input your password: ')", "def gPLX():\n return AOO4()", "def QVq7(YKHO):\n return YKHO.password", "def AuKh(YKHO, idDS='Password: ') -> str:\n return AOO4(idDS)", "def AuKh(YKHO):\n while True:\n jTXt = AOO4.getpass(prompt='Enter...
[ "0.81604683", "0.77403235", "0.7665938", "0.7655122", "0.76290137", "0.7601338", "0.75886256", "0.75376064", "0.7504077", "0.7500193", "0.7500193", "0.7500193", "0.7498377", "0.7449549", "0.7403722", "0.73999625", "0.73999625", "0.73999625", "0.73999625", "0.73999625", "0.739...
0.73072356
59
Return the unit of measurement of this entity, if any.
def b82i(YKHO) -> str: return YKHO._currency
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b82i(YKHO):\n if YKHO._unit_of_measurement == None:\n return\n return YKHO._unit_of_measurement", "def b82i(YKHO):\n return YKHO._unit", "def b82i(YKHO):\n return YKHO._unit", "def b82i(YKHO):\n return YKHO._unit", "def b82i(YKHO):\n return YKHO._unit", "def b82i(YKHO):\n ...
[ "0.85003275", "0.84792274", "0.84792274", "0.84792274", "0.84792274", "0.84792274", "0.84792274", "0.84792274", "0.84792274", "0.84792274", "0.84792274", "0.84639055", "0.8454762", "0.8454762", "0.8454762", "0.8454762", "0.8454762", "0.8454762", "0.8454762", "0.8454762", "0.8...
0.0
-1
Return the state attributes.
def R1i3(YKHO): return YKHO._attributes
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def upgy(YKHO):\n return YKHO._state_attrs", "def upgy(YKHO):\n nPrm = {}\n return nPrm", "def upgy(YKHO):\n azoT = {}\n for H5ew in YKHO._attributes.keys():\n azoT[H5ew] = YKHO._item[YKHO._attributes[H5ew]]\n return azoT", "def R1i3(YKHO):\n return YKHO.attr\n 'Return the stat...
[ "0.9143806", "0.8802095", "0.8796065", "0.85617536", "0.84979665", "0.84979665", "0.84034306", "0.838496", "0.8384177", "0.836618", "0.836618", "0.836618", "0.836618", "0.836618", "0.83578205", "0.8335189", "0.8335189", "0.8335189", "0.82891315", "0.82891315", "0.82891315", ...
0.8365354
14
removes all unicodes and chars only valid in pathnames on Linux/Windows OS
def cVX3(leAC): if leAC is not None: return ZbWC.sub('(?u)[^-\\w.#]', '', leAC.strip().replace(' ', '_')) return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Saub(SkC9):\n return XKrx(SkC9)", "def beR0(pmON):\n return B3X0(pmON, '<>\"/|?*' + ''.join(map(chr, range(0, 31))))", "def mav0(pUgv):\n NSXU = '<>:|?*'\n if isinstance(pUgv, str):\n pUgv = pUgv.translate({ord(Z9rn): '_' for Z9rn in NSXU})\n elif isinstance(pUgv, str):\n FuXg ...
[ "0.7618658", "0.72928786", "0.71992505", "0.71033144", "0.70480317", "0.70207024", "0.701003", "0.68733215", "0.6853293", "0.68007356", "0.67889494", "0.6765203", "0.6765203", "0.675345", "0.6748006", "0.6706284", "0.6694532", "0.66867113", "0.6686462", "0.66803586", "0.66779...
0.0
-1
Check if class is one the packet types.
def zEfV(YKHO): lfdS = [(ZNSX, True), (l9bV, True), (NoPm, True), (FnGY, True), (str, False), (list, False), (int, False)] for mBOY, aEqx in lfdS: YKHO.assertEqual(iGSr(mBOY), aEqx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TiPX(YKHO, YEnM, KndY):\n return YEnM.type in KndY", "def zXUJ(YKHO, vOsx: Type[Element]):\n return isinstance(YKHO, vOsx)", "def niv3(Emd4):\n return isinstance(Emd4, type)", "def hnDn(YKHO, PWg9):\n return PWg9 in YKHO.attrs.get('class', '').split()", "def Vsdi(YKHO, a8bD: type) -> bool:\...
[ "0.71474594", "0.6879622", "0.66165376", "0.656774", "0.6368561", "0.6341453", "0.63370514", "0.6318324", "0.6307369", "0.6307369", "0.6263375", "0.6263375", "0.6263013", "0.6227893", "0.6227893", "0.6227893", "0.6227893", "0.6227893", "0.6227893", "0.6227893", "0.6227893", ...
0.71455425
1
Get column names from query
def ToWh(YKHO): if YKHO._query is not None: return jth9.copy(YKHO._query.colnames)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZLJ_(YKHO):\n Aofo = YKHO.query.result()\n return [Jyyj.name for Jyyj in Aofo.schema]", "def ZLJ_(YKHO):\n return YKHO.query.columns", "def NKcn(YKHO) -> x1iM[str]:\n return YKHO.result_set.colnames()", "def SsaV(YKHO, xDcj, *SGPK, **FHzj):\n N1p7 = YKHO._cursor()\n try:\n YKHO._...
[ "0.79416776", "0.7818823", "0.7486959", "0.73100334", "0.7282057", "0.7261479", "0.7202492", "0.7138049", "0.70964277", "0.70842385", "0.7083003", "0.7079346", "0.7067158", "0.7061324", "0.7055777", "0.7055777", "0.7055777", "0.7055777", "0.7055777", "0.7055777", "0.7050973",...
0.83628136
0
Returns a successful response.
def KV5F(YKHO, nyyK): Bv0m = {'success': nyyK} return oGir(Bv0m)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nyyK():\n return RpFU(UZug)", "def nyyK(YKHO):\n return xbdE()", "def raTX(MOPg, TBsA=''):\n return oGir('200 OK', MOPg, TBsA)", "def T0o4(YKHO, geh0):\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_200_OK)", "def NMoC(YKHO):\n return ('OK', 200)", "def NMoC(YKHO):\n return ('OK', 2...
[ "0.79713446", "0.77870846", "0.75286794", "0.7437137", "0.73792565", "0.73792565", "0.72935116", "0.7135335", "0.7119112", "0.7082444", "0.7045149", "0.70411474", "0.70338255", "0.70317024", "0.7011213", "0.6936456", "0.6906314", "0.68944085", "0.6866478", "0.6842118", "0.684...
0.67154986
25
Change the current profile's password. REQUIRES AUTH Change password Body {
def faAE(YKHO, QePW): ZMzz = LA_J(data=QePW.data, context={'request': QePW}) ZMzz.is_valid(raise_exception=True) return YKHO.success_response('Password changed')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YxCE(YKHO) -> None:\n rn8m = AOO4.getpass('Current password: ')\n uGpu = YKHO.enter_password('New password: ', confirm=True)\n YKHO.client.change_user_password(rn8m, uGpu)\n print(\"Password changed. Next, use 'avn user login' to log in again using your new password.\")", "def faAE(QePW):\n VK...
[ "0.7879527", "0.78460634", "0.773331", "0.7693559", "0.76684123", "0.76641554", "0.76265657", "0.7613465", "0.75518566", "0.7530394", "0.7506094", "0.7499723", "0.74895287", "0.7454246", "0.74235404", "0.7395352", "0.7390136", "0.7384635", "0.7383037", "0.7373099", "0.737004"...
0.7511237
10
Send the profile a passwordreset email. Used when profile forgot his password. `email` can be email or username. Reset password Body {
def rjh8(YKHO, QePW): ZMzz = yBFo(data=QePW.data, context={'request': QePW}) ZMzz.is_valid(raise_exception=True) ZMzz.instance.reset_password() return YKHO.success_response(bGrB('Password reset email will be sent soon'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def doc2():\n iQG7 = QePW.get_json()\n D3lj = iQG7['email']\n if not xxbx(D3lj):\n return nvUx(400, 'Invalid Email Format!')\n CBIr = CEKW().get_user_by_email(D3lj)\n if CBIr:\n D3lj = CBIr['email']\n fcCO = CBIr['firstname']\n eOtH = tMWI(D3lj, salt='recover-key')\n ...
[ "0.8093303", "0.8083744", "0.77428585", "0.7670507", "0.7623698", "0.7573582", "0.7478692", "0.7457699", "0.7421273", "0.733445", "0.73098654", "0.7287742", "0.7272974", "0.7230769", "0.72281194", "0.72118247", "0.71923465", "0.71855634", "0.7183405", "0.71813923", "0.7167388...
0.63730824
94
Return a string representation of an ASN.1 class.
def YH5j(Ilxn): if Ilxn in VP2Y: return VP2Y[Ilxn] raise ValueError('Illegal class: {:#02x}'.format(Ilxn))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yLCI(YKHO) -> str:\n return YKHO._name + ';' + str(YKHO._type) + ';' + str(YKHO._class) + ';' + str(YKHO._ttl) + ';' + YKHO._rdata", "def wHJl(YKHO):\n jFH4 = f'{YKHO.__module__}.{YKHO.__class__.__name__}'\n OYqn = dg0L.get(YKHO.apduType, None)\n cCim = OYqn.__name__ if OYqn else '?'\n if YKHO...
[ "0.6383265", "0.6218889", "0.6216654", "0.61829376", "0.6163515", "0.615329", "0.6118745", "0.6114577", "0.60984355", "0.6060557", "0.6058989", "0.60332036", "0.6011311", "0.60053563", "0.6001728", "0.5997318", "0.5990473", "0.59886515", "0.59779227", "0.5952553", "0.5951051"...
0.0
-1
Produces the set difference between two Queryable collections
def CkJT(YKHO, x1zE, JfyU=lambda WKvO: WKvO): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def by6d(YKHO, twyM):\n u2im = Mlfa()\n for U6D_ in YKHO.items:\n if twyM.contains(U6D_) == False:\n u2im.add(U6D_)\n return u2im", "def by6d(YKHO, Elif):\n return [ZfUD for ZfUD in YKHO._set if ZfUD not in Elif]", "def by6d(YKHO, twyM):\n by6d = fHNa()\n for U6D_ in YKHO.da...
[ "0.75916976", "0.7517843", "0.7484187", "0.7405138", "0.7350267", "0.7301599", "0.7151184", "0.71399856", "0.7135825", "0.71236414", "0.7113044", "0.7058519", "0.6939538", "0.6866432", "0.68592066", "0.6857512", "0.68574584", "0.6849846", "0.6849177", "0.6805191", "0.6744438"...
0.0
-1
Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements
def F5Ws(YKHO, lgNN): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xlLH(Q6uT, XEri):\n ewf4, XNmQ = y54_(((XEri(ZfUD), ZfUD) for ZfUD in Q6uT))\n return ((YRbF for XP5J, YRbF in ewf4 if XP5J), (YRbF for XP5J, YRbF in XNmQ if not XP5J))", "def cmRv(lgNN: Callable, eK5b: Iterable) -> jd6F:\n for YRbF in eK5b:\n if lgNN(YRbF):\n break\n for YRbF i...
[ "0.699792", "0.6848347", "0.6724875", "0.6567298", "0.65230346", "0.6497184", "0.64533484", "0.6252202", "0.62318724", "0.619296", "0.6163547", "0.6148252", "0.61101097", "0.61088055", "0.6028788", "0.6003934", "0.5999696", "0.5850407", "0.5841484", "0.5818192", "0.5803012", ...
0.5982785
17
Produces the set union of two sequences by using a specified lambda function to evaluate equality
def b65I(YKHO, xUwc, JfyU=None): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b65I(KG9w, FYKK=set):\n return FYKK().union(*KG9w)", "def b65I(neQZ, ywKv):\n return neQZ + filter(lambda WKvO: WKvO not in neQZ, ywKv)", "def b65I(jzdc, Fg_i):\n return set(jzdc) | set(Fg_i)", "def PDuv(YVv6, rA0f):\n return YVv6 | rA0f", "def Amd7():\n pKvt = set([2, 3])\n qIxc = [3...
[ "0.6890626", "0.67729074", "0.66827327", "0.65636593", "0.65572375", "0.6495555", "0.64857197", "0.6461233", "0.6461233", "0.6461233", "0.6461233", "0.6461233", "0.6461233", "0.644622", "0.64361346", "0.6402795", "0.6366649", "0.6272214", "0.6262189", "0.62473845", "0.6222946...
0.61818826
22
function to return RGB values for a dataset along a specified colormap, normalizing to the max and min values of the data.
def MYQr(nPrm, map='bwr'): iMGt = I8kJ.cm.get_cmap(map) CkYf = I8kJ.colors.Normalize(vmin=nPrm.min(), vmax=nPrm.max()) Iv3_ = [] for Csk6 in nPrm: Iv3_.append(iMGt(CkYf(Csk6))) return Iv3_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T6jB(nPrm, max, min):\n PyQH = [[int((mLGw - min) / (max - min) * 255) for mLGw in rdlD] for rdlD in nPrm]\n return PyQH", "def fRt4(jQ3Z, MYQr=None, MynD=None, n4wC=None, jDK_=1):\n if MYQr is None:\n MYQr = QrM1.cm.RdBu\n if jDK_ == 0:\n hkxX = jQ3Z.index\n elif jDK_ == 1:\n ...
[ "0.7231471", "0.6853914", "0.6836706", "0.68194884", "0.6764545", "0.67587465", "0.67434657", "0.6694763", "0.66656345", "0.6618158", "0.66178524", "0.6617442", "0.6585577", "0.653177", "0.6497317", "0.6491062", "0.64620537", "0.64324343", "0.64269376", "0.6406545", "0.639745...
0.77794826
0
Create a `Record` from the given `DataForge` file, `forge_file` using the given `RecordDefinition`, `definition` A `Record`'s attributes are dynamically generated based on the `definition` and are lazyloaded unless `preload` is `True`.
def FIMM(YKHO, zEIl, q_DO, ijht=False): YKHO.forge_file = zEIl YKHO.definition = q_DO if ijht: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zwC2(NCls, UMjS):\n\n def ph78(Bmg9, nPrm=None, Rdxx=True, PXN3=False):\n lOM7 = {'lit': 'records-hep', 'aut': 'records-authors'}\n qtme = tuKI.randint(1, 2147483647)\n AIu6 = IEBb(record_type=Bmg9, data=nPrm, control_number=qtme)\n if Rdxx:\n AIu6._persistent_identifi...
[ "0.5965567", "0.56958914", "0.5617089", "0.5569822", "0.5521834", "0.5468087", "0.5467735", "0.5466864", "0.546467", "0.5435083", "0.538661", "0.5383772", "0.5370302", "0.5334114", "0.5285647", "0.52283734", "0.52239776", "0.521974", "0.5212", "0.5203096", "0.51955503", "0....
0.7034779
0
Apply gradient descent to the network.
def EWqU(YKHO, pKvt, aEqx, RHJb: float) -> None: ElwK = [oyIN.zeros(yzQ0.shape) for yzQ0 in YKHO.weights] Ruav = YKHO.backprop(pKvt, aEqx) ElwK = [IVJu + pXJx for IVJu, pXJx in zip(ElwK, Ruav)] YKHO.weights = [yzQ0 - RHJb * IVJu for yzQ0, IVJu in zip(YKHO.weights, ElwK)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EWqU(YKHO):\n for gEmA in reversed(YKHO.layers[:-1]):\n gEmA.gradient_descent()", "def EWqU(YKHO, b0Ix=1):\n for YRbF in range(len(YKHO.weights)):\n _mSQ = YKHO.weights[YRbF]\n Fi7w = YKHO.derivatives[YRbF]\n _mSQ += Fi7w * b0Ix", "def KAID():\n upAO, NsIy, input = (0.0...
[ "0.7847367", "0.73241836", "0.7317768", "0.72844565", "0.71657676", "0.7129308", "0.7117029", "0.7097933", "0.7010943", "0.69652927", "0.69441503", "0.69406855", "0.6930333", "0.6898525", "0.6822081", "0.6815735", "0.67981404", "0.67886525", "0.67848486", "0.677354", "0.67671...
0.6822857
14
Test that the view with the form for editing posts is available
def cxj8(YKHO): geh0 = YKHO.client.get(YKHO.url) YKHO.assertEqual(geh0.status_code, 200) YKHO.assertTemplateUsed(geh0, 'blog/edit_post.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hNQT(YKHO):\n geh0 = YKHO.tester.get('/dummy_post/edit_post')\n YKHO.assertEqual(geh0.status_code, 200)", "def KDvv(YKHO):\n Z9rn = i9zE()\n geh0 = Z9rn.get('/edit_post')\n YKHO.assertRedirects(geh0, '/')", "def hNQT(YKHO):\n with P4t4.test_client() as x0hE:\n _hkX = x0hE.get(f'/po...
[ "0.8282044", "0.8076549", "0.8064423", "0.7987992", "0.79082286", "0.78949594", "0.78215605", "0.76635647", "0.75648934", "0.7538558", "0.7488112", "0.74663717", "0.74351084", "0.74285233", "0.73989767", "0.7348525", "0.73286986", "0.72767466", "0.72729725", "0.7266671", "0.7...
0.85442543
0
Indicates type of action rule Expected value is 'ActionGroup'.
def type(YKHO) -> str: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PgMf(YKHO):\n return YKHO._action_type", "def mmh7(YKHO) -> h8nf[bdIy[str]]:\n return qe4Y.get(YKHO, 'action_group')", "def PgMf(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'action_type')", "def PgMf(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'action_type')", "def PgMf(YKHO) ->...
[ "0.67763937", "0.6723704", "0.6663589", "0.6663589", "0.6663589", "0.6663589", "0.6663589", "0.6663589", "0.6663589", "0.6663589", "0.65266937", "0.65175456", "0.64725757", "0.64364624", "0.63879204", "0.6194361", "0.616598", "0.616598", "0.616598", "0.616598", "0.6130812", ...
0.0
-1
The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector
def iXTm(YKHO) -> h8nf[bdIy[str]]: return qe4Y.get(YKHO, 'image_paths')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IYFY(YKHO):\n import enthought.tvtk.pyface.api\n return TLI7(KT8G.tvtk.pyface.api.__file__)", "def IYFY(YKHO):\n import tvtk.pyface.api\n return TLI7(YZpu.pyface.api.__file__)", "def IYFY(YKHO):\n import tvtk.pyface.api\n return TLI7(YZpu.pyface.api.__file__)", "def QMAG(YKHO):\n pas...
[ "0.67052186", "0.66730464", "0.66730464", "0.6490332", "0.6417416", "0.63495046", "0.6322303", "0.6268015", "0.61905944", "0.6078733", "0.6071252", "0.60146785", "0.5984748", "0.59740824", "0.5948217", "0.59388053", "0.5916462", "0.5916462", "0.59144574", "0.5913068", "0.5900...
0.0
-1
the id of the action group to use.
def e8FJ(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'action_group_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e8FJ(YKHO) -> str:\n return qe4Y.get(YKHO, 'action_group_id')", "def e8FJ(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'action_group_id')", "def e8FJ(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'action_group_id')", "def mmh7(YKHO) -> h8nf[bdIy[str]]:\n return qe4Y.get(YKHO, '...
[ "0.8899403", "0.8564757", "0.82848233", "0.711621", "0.69741917", "0.69741917", "0.6953033", "0.6944156", "0.689086", "0.6820964", "0.68154126", "0.68154126", "0.68154126", "0.68154126", "0.68154126", "0.68154126", "0.67846984", "0.677174", "0.6717439", "0.6711337", "0.666493...
0.84646416
2
End date for suppression
def KhBf(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'end_date')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eiFi(YKHO) -> _c1T:\n eiFi = YKHO.startdate() + fCoM(days=6)\n return eiFi", "def lt5v(Emd4, nPrm: Restaurant) -> bool:\n Ylbp = not nPrm.end_date\n if not Ylbp:\n print(f'end date: {nPrm.end_date}, pnr: {nPrm.pnr}')\n Emd4.LOGGER['end_date'] += 1\n return Ylbp", "def QZjw(YKHO...
[ "0.7271083", "0.7242092", "0.7205972", "0.7165469", "0.70057076", "0.70057076", "0.70057076", "0.70057076", "0.70057076", "0.70057076", "0.70039564", "0.70030886", "0.70030886", "0.70030886", "0.70030886", "0.6939145", "0.68724483", "0.6857083", "0.68499833", "0.6849529", "0....
0.6698543
28
End date for suppression
def C7pn(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'end_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eiFi(YKHO) -> _c1T:\n eiFi = YKHO.startdate() + fCoM(days=6)\n return eiFi", "def lt5v(Emd4, nPrm: Restaurant) -> bool:\n Ylbp = not nPrm.end_date\n if not Ylbp:\n print(f'end date: {nPrm.end_date}, pnr: {nPrm.pnr}')\n Emd4.LOGGER['end_date'] += 1\n return Ylbp", "def QZjw(YKHO...
[ "0.7271083", "0.7242092", "0.7205972", "0.7165469", "0.70057076", "0.70057076", "0.70057076", "0.70057076", "0.70057076", "0.70057076", "0.70039564", "0.70030886", "0.70030886", "0.70030886", "0.70030886", "0.6939145", "0.68724483", "0.6857083", "0.68499833", "0.6849529", "0....
0.0
-1
Specifies the values for recurrence pattern
def lTma(YKHO) -> h8nf[bdIy[int]]: return qe4Y.get(YKHO, 'recurrence_values')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, lJf5, uqVt, b6Gq):\n YKHO.step = 0.0\n YKHO.initial_value = lJf5\n YKHO.nvalues = uqVt\n YKHO.schedule = h1yS[b6Gq]", "def SdbH(YKHO, KWm2):\n _NR2 = KWm2.get('job_interval', 30)\n KWm2['freq_interval'] = 30 if not isinstance(_NR2, int) else _NR2\n KWm2['freq_type'] = 4096\n ...
[ "0.5967561", "0.5828818", "0.5609036", "0.5589819", "0.55748427", "0.5551905", "0.5512366", "0.55113524", "0.54562783", "0.5441994", "0.5436376", "0.536582", "0.5363222", "0.5238506", "0.5238506", "0.52247584", "0.52227", "0.51921993", "0.518538", "0.5164962", "0.51585937", ...
0.5524551
6
Start time for suppression
def SWox(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'start_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R4lU(YKHO):\n pass", "def SWox(YKHO) -> int:\n pass", "def SWox(YKHO):\n raise NotImplementedError()", "def QF4h(YKHO) -> None:\n YKHO.start_time = gwnn()", "def jSV8(YKHO):\n raise NotImplementedError", "def jSV8(YKHO):\n raise NotImplementedError", "def WEpS():\n return onpT....
[ "0.760377", "0.759168", "0.72348106", "0.6626679", "0.6601658", "0.6601658", "0.6566207", "0.6559646", "0.6500063", "0.6479469", "0.64779186", "0.64471316", "0.6402707", "0.63925916", "0.63724923", "0.6337507", "0.63320756", "0.6329315", "0.6316681", "0.6312986", "0.63077366"...
0.0
-1
Random text generator. NOT crypto safe. Generates random text with specified length and alphabet.
def TeUK(u54L, ASFv=vIwR.ascii_letters + vIwR.digits): return ''.join((tuKI.choice(ASFv) for bGrB in range(u54L)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvKB(YKHO, gZgb=NABo, u54L=TnKs):\n import random\n random.seed()\n return ''.join((random.choice(gZgb) for bGrB in range(u54L)))", "def a2Ud(u54L=10):\n SuXy = vIwR.ascii_letters + vIwR.digits\n dEzN = ''.join((tuKI.choice(SuXy) for YRbF in range(u54L)))\n return dEzN", "def eQ3c(u54L):\...
[ "0.78059685", "0.77796423", "0.768914", "0.7654161", "0.75412744", "0.75076216", "0.7498817", "0.7498195", "0.74880797", "0.74811536", "0.7471813", "0.7471813", "0.7459184", "0.7444068", "0.74197686", "0.7408494", "0.7400299", "0.7372909", "0.73686", "0.7367125", "0.7349187",...
0.81871337
0
Random text generator. NOT crypto safe. Generates random text with specified length and alphabet.
def tBwt(u54L, ASFv=vIwR.digits): bIwZ = ''.join((tuKI.choice(ASFv) for bGrB in range(u54L))) if bIwZ.startswith('0'): bIwZ = '1' + bIwZ[1:] return bIwZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TeUK(u54L, ASFv=vIwR.ascii_letters + vIwR.digits):\n return ''.join((tuKI.choice(ASFv) for bGrB in range(u54L)))", "def mvKB(YKHO, gZgb=NABo, u54L=TnKs):\n import random\n random.seed()\n return ''.join((random.choice(gZgb) for bGrB in range(u54L)))", "def a2Ud(u54L=10):\n SuXy = vIwR.ascii_...
[ "0.81859064", "0.7804675", "0.7778136", "0.76878005", "0.7652427", "0.753984", "0.7505702", "0.74969083", "0.7496629", "0.7486386", "0.74793553", "0.74711895", "0.74711895", "0.7457897", "0.74426454", "0.74183416", "0.74072164", "0.73986787", "0.73712724", "0.7367485", "0.736...
0.0
-1
This function finds the closest centroid to each ligand. It then assigns that centroid number as the cluster for that ligand
def RI3P(YKHO): d050 = XTiz.zeros((YKHO.total_objects, YKHO.cluster_number)) for YRbF in range(YKHO.total_objects): for r845 in range(YKHO.cluster_number): d050[YRbF, r845] = YKHO.distance(YKHO.similarity_matrix[YRbF, :], YKHO.centroids[r845, :]) YKHO.cluster_assignments[YRbF] = XTiz...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IvFO(VX1z, yHxN, G1Hx):\n onIm = [[] for YRbF in range(G1Hx)]\n for AU8u in VX1z:\n mp07 = 0\n YRbF = 0\n XQ0l = -1\n for e6ux in yHxN:\n Ayfi = epAf.sqrt((AU8u[0] - e6ux[0]) ** 2 + (AU8u[1] - e6ux[1]) ** 2)\n if Ayfi <= XQ0l or XQ0l == -1:\n ...
[ "0.7062302", "0.69102955", "0.68183386", "0.6737841", "0.6678501", "0.66575664", "0.66054624", "0.6594383", "0.65823144", "0.65749705", "0.6555945", "0.6552536", "0.65505356", "0.6493", "0.6457225", "0.6441029", "0.6438647", "0.6438386", "0.6416488", "0.6410994", "0.6403715",...
0.61717325
40
This function finds the cluster that is closest to the given ligand that is not contained within the ligands home cluster
def Anah(yfx6, lG_k, ud3I): QWqD = yfx6.shape[0] LZzZ = lG_k[ud3I] EAct = QWqD Er7y = -1 for YRbF in range(QWqD): ULUx = yfx6[ud3I, YRbF] if ULUx < EAct and lG_k[YRbF] != LZzZ: EAct = ULUx Er7y = lG_k[YRbF] return Er7y
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def q0S6(YKHO):\n kZIt, q2Xo = min(((YKHO.cluster_distance(dg7v, iYf1), (dg7v, iYf1)) for dg7v, iYf1 in E6VQ(YKHO.clusters, 2) if YKHO.cluster_distance(dg7v, iYf1) > 0))\n return (kZIt, q2Xo)", "def q0S6(YKHO):\n min = YKHO.cluster_distance(YKHO.clusters[0], YKHO.clusters[1])\n dg7v = YKHO.clusters[0...
[ "0.690164", "0.65107465", "0.6330235", "0.6315685", "0.6270441", "0.6250983", "0.62509704", "0.6244886", "0.6216847", "0.61507875", "0.6117287", "0.6106752", "0.60712546", "0.6069946", "0.6069534", "0.60631365", "0.60606813", "0.60583466", "0.6047009", "0.60357195", "0.603555...
0.6812689
1
The AWS Lambda function handler. See
async def _lambda_function(YKHO, tvqc: RequestEnvelope, QpfX: Any) -> cuzp[str, ImMB]: RYKJ = YKHO._skill.serializer.deserialize(payload=qQXR.dumps(tvqc), obj_type=dK2J) Cmq8 = jWwE(logger=bo34, request_id=RYKJ.request.request_id) Cmq8.info('Session ID: %s', RYKJ.session.session_id) kxK2 = YKHO._skill.i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cfQO(tvqc, QpfX):\n return", "def cfQO(tvqc: dict, QpfX) -> dict:\n pass", "def cfQO(tvqc, QpfX):\n return ypeQ(tvqc)", "def cfQO(tvqc, QpfX):\n return ypeQ(tvqc)", "def cfQO(tvqc, QpfX):\n return ypeQ(tvqc)", "def cfQO(tvqc, QpfX):\n try:\n return AnCg(tvqc, QpfX)\n excep...
[ "0.8191231", "0.8072944", "0.7701269", "0.7701269", "0.7701269", "0.7647167", "0.7510597", "0.75105965", "0.7501085", "0.749694", "0.74806505", "0.74671215", "0.7460509", "0.7389126", "0.7383489", "0.7373577", "0.7368246", "0.7338703", "0.7337083", "0.7328928", "0.7325367", ...
0.736363
17
Retrieve a list of all Event Producers for a specified Tenant
def czKq(YKHO, qv1X, _hkX, mLXZ): ehIZ = osfm.find_tenant(tenant_id=mLXZ) if not ehIZ: QO4w() _hkX.status = aazL.HTTP_200 _hkX.body = nNXP.format_response_body({'event_producers': [XP5J.format() for XP5J in ehIZ.event_producers]})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KjS6(YKHO, JsOY):\n pPNr = YKHO._callServiceMethod('getAllProducersForTable', vdbName=YKHO.vdbName, tableName=JsOY, canForward='true')\n fmUM = []\n for vznG in pPNr.getData():\n w2IS = acPn(vznG.getString(0), vznG.getInt(1))\n akoV = Rv9T(w2IS, vznG.getBool(2), vznG.getBool(3), vznG.get...
[ "0.5915211", "0.5755243", "0.5364274", "0.52638465", "0.52111894", "0.5209757", "0.51916295", "0.51809925", "0.51009893", "0.50817424", "0.49974602", "0.49974602", "0.49596527", "0.49365455", "0.49200872", "0.49152267", "0.49034667", "0.4892585", "0.48832482", "0.48573285", "...
0.683046
0
Assert that the given screen (as a NumPy vector) is not empty.
def nqHU(YKHO, Vjhr): YKHO.assertNotEqual(0, Vjhr.sum())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBfn(YKHO):\n return YKHO.w > 0 and YKHO.h > 0", "def LWCs(iBIi):\n DMLD = oyIN.array(iBIi)\n YtUh = oyIN.count_nonzero(DMLD == KAvf)\n if YtUh == 0:\n return True\n return False", "def ZOBW(YKHO):\n iTym = YKHO.board.shape[0]\n e8HV = YKHO.board.shape[1]\n for rdlD in range(...
[ "0.64490056", "0.6346647", "0.6309233", "0.62773407", "0.6242225", "0.62265426", "0.61870664", "0.6134471", "0.61043894", "0.60743994", "0.6066487", "0.60567766", "0.60444677", "0.6040767", "0.60384864", "0.60269827", "0.60168177", "0.60108453", "0.5989222", "0.5989222", "0.5...
0.71725255
0
Returns the profileimage plane image of the list of galaxies of the plane's subgrid, by summing the individual images of each galaxy's light profile. If the `operated_only` input is included, the function omits light profiles which are parents of the `LightProfileOperated` object, which signifies that the light profile...
def Yrb8(YKHO, Cs6h: aa.type.Grid2DLike, nkCv: Optional[bool]=None) -> D9cM.Array2D: if YKHO.galaxies: return sum(YKHO.image_2d_list_from(grid=Cs6h, operated_only=nkCv)) return oyIN.zeros((Cs6h.shape[0],))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k8_1(YKHO) -> oyIN.ndarray:\n z39Z = oyIN.zeros(len(YKHO._multi_x_locations[0]))\n for r1VO, WKvO, LVAh in zip(YKHO._radii, YKHO._multi_x_locations, YKHO._multi_y_locations):\n z39Z += V2fX.map_coordinates(YKHO.image_array, [LVAh, WKvO], order=0)\n z39Z /= YKHO.num_profiles\n return z39Z", ...
[ "0.49180996", "0.47958657", "0.44742194", "0.43732533", "0.43165118", "0.43128067", "0.43100128", "0.42950022", "0.42392838", "0.42305544", "0.42207545", "0.42026597", "0.4197824", "0.41932553", "0.41891", "0.41722745", "0.41696256", "0.4167649", "0.41367", "0.4112416", "0.41...
0.53236294
0
Returns the potential of the list of galaxies of the plane's subgrid, by summing the individual potentials \ of each galaxy's mass profile. The potential is calculated on the subgrid and binnedup to the original grid by taking the mean value of every set of subpixels, provided the returned_binned_sub_grid bool is `True...
def SxQc(YKHO, Cs6h: aa.type.Grid2DLike) -> oyIN.ndarray: if YKHO.galaxies: return sum(map(lambda Oa1e: Oa1e.potential_2d_from(grid=Cs6h), YKHO.galaxies)) return oyIN.zeros((Cs6h.shape[0],))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u5pZ(WZcn, mafd, C_CQ=False):\n v5FS = len(WZcn)\n dqxq = oyIN.linspace(0, 1, v5FS)\n rfVO = v5FS * mafd\n if C_CQ is True:\n if rfVO % 2 == 0:\n rfVO -= 1\n BF4L = oyIN.linspace(0, 1, rfVO)\n uF1Q = oGZp(dqxq, dqxq, WZcn, BF4L, BF4L)\n i31o = uF1Q\n i31o = BB2m(i31o)\...
[ "0.5517746", "0.5324441", "0.52595925", "0.51537585", "0.49897444", "0.49735817", "0.49427652", "0.49247742", "0.4914164", "0.4899254", "0.48856476", "0.487383", "0.48133767", "0.47322664", "0.47110516", "0.47091368", "0.4697219", "0.46830553", "0.4659199", "0.46538705", "0.4...
0.5747098
0
Converts the integer class label to str.
def RVdy(yv1q): return {0: 'disagrees', 1: 'neutral', 2: 'agrees'}[yv1q]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Of4o(YKHO, V8Gh):\n return YKHO.id_to_class_info[V8Gh]['name']", "def dbg7(YKHO, _2sc):\n return YKHO.name_to_class_info[_2sc]['id']", "def E13_(tVdE):\n return REer.RANK_CLASS_TO_STRING[tVdE]", "def zAg0(YKHO):\n return str(YKHO._label)", "def O64w(V8Gh, KndY=B1Zt):\n return KndY[V8Gh -...
[ "0.7654189", "0.74087554", "0.7198551", "0.71976596", "0.7175173", "0.70470285", "0.70074093", "0.7006969", "0.7003496", "0.6994966", "0.6985621", "0.68086076", "0.67817986", "0.67734563", "0.6766924", "0.67390376", "0.67390376", "0.67282534", "0.6688796", "0.6675638", "0.667...
0.7444917
1
Function calculated hessian/2. Helper functions to be used for covariance calculation for curve fit.
def IrHh(eHNT, WKvO): with ZylS.GradientTape(persistent=True) as M5VO: with ZylS.GradientTape() as LKYY: LVAh = eHNT(WKvO) Ro40 = LKYY.gradient(LVAh, WKvO) VrwH = [M5VO.gradient(Oa1e, WKvO) for Oa1e in Ro40] s2vc = [ZylS.stack(Vhfa)[ZylS.newaxis, ...] for Vhfa in VrwH] e_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PUxS(amiz, Pnha):\n LVAh = Pnha.get_label()\n return 1.0 / oyIN.power(oyIN.cosh(amiz - LVAh), 2)", "def PUxS(EcVT=None, XcU5=None):\n return -oyIN.dot(EcVT.T, oyIN.dot(XcU5, EcVT))", "def DrDs(JfyU, WKvO, MKlR):\n ZqWh = JG20(JfyU, WKvO, MKlR)\n print('HESSIAN:', ZqWh)\n PFC2 = -aJJu.inv(...
[ "0.7435311", "0.74288386", "0.73724073", "0.7355705", "0.73370093", "0.72065836", "0.7083692", "0.69971967", "0.69585544", "0.69084287", "0.6882258", "0.6882258", "0.6871082", "0.68673486", "0.68660325", "0.68420696", "0.6835945", "0.6813308", "0.6802236", "0.6773858", "0.677...
0.6197296
72
Load a previously training model from disk.
def tyeH(lfCk, Ux0P): if lfCk == 'xgboost': C3ST = v4_w.Booster({'nthread': 16}, model_file=Ux0P) else: SkYi = open(Ux0P, 'rb') C3ST = t2lc.load(SkYi) SkYi.close() return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(YKHO, pmON):\n if Hy7s.path.exists(pmON):\n YKHO.model.load_state_dict(ht2j.load(pmON))\n YKHO.model.train()\n else:\n print('[Error]: The path to saved model does not exists')", "def uyMl(YKHO, V1C0):\n YKHO.checkpoint.restore(ZylS.train.latest_checkpoint(V1C0))", "def u...
[ "0.8114894", "0.80985475", "0.80985475", "0.8094672", "0.80832905", "0.80501455", "0.8049246", "0.8034139", "0.8032601", "0.8032601", "0.8032601", "0.80166465", "0.7992934", "0.79531056", "0.789324", "0.7875317", "0.78696334", "0.78607285", "0.7849253", "0.78428787", "0.78279...
0.0
-1
Calcuates average progress from a list of values
def DHCA(JraA): if JraA: ksUf = float(sum(JraA)) / float(len(JraA)) ksUf = float(ZjSO(ksUf).quantize(ZjSO('.00'))) else: ksUf = 0.0 return ksUf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NgYo(T6S7):\n wjRY = 0.0\n for wEf2 in T6S7:\n wjRY += wEf2\n return wjRY / len(T6S7)", "def S8vG(hkxX):\n return sum(hkxX) / len(hkxX)", "def V_SC(hkxX):\n return float(sum(hkxX)) / len(hkxX)", "def S8vG(hkxX):\n return sum(hkxX) / len(hkxX)", "def S8vG(hkxX):\n return sum(...
[ "0.7674077", "0.76204777", "0.76137966", "0.761284", "0.75927085", "0.75611705", "0.75611705", "0.75611705", "0.75611705", "0.754378", "0.754378", "0.754378", "0.754378", "0.754378", "0.75045675", "0.74296594", "0.7394234", "0.7344183", "0.73117816", "0.72978234", "0.7295374"...
0.6904646
48
return the intersection of two lists
def XMlP(jzdc, Fg_i): return list(set(jzdc) & set(Fg_i))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RIsH(jzdc, Fg_i):\n return list(set(jzdc) & set(Fg_i))", "def W9Po(jzdc, Fg_i):\n return list(set(jzdc) & set(Fg_i))", "def iov8(jzdc, Fg_i):\n return list(set(jzdc) & set(Fg_i))", "def iQin(jzdc, Fg_i):\n return [geyT for geyT in jzdc if geyT in Fg_i]", "def zVQj(iHrl, X1zw):\n return l...
[ "0.8570015", "0.84798545", "0.8403263", "0.83952814", "0.83949125", "0.83179665", "0.82960325", "0.82456136", "0.82246155", "0.82246155", "0.8213562", "0.8211338", "0.81867516", "0.81649923", "0.8138381", "0.8046444", "0.80192876", "0.799895", "0.7997496", "0.79829687", "0.79...
0.8179091
13
return the union of two lists
def b65I(jzdc, Fg_i): return list(set(jzdc) | set(Fg_i))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zk73(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(w_3R, XxT4):\n return dDv2(w_3R + XxT4)", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg...
[ "0.87579453", "0.86029536", "0.859923", "0.8588517", "0.85150754", "0.8497468", "0.8485949", "0.8464023", "0.84628814", "0.8451098", "0.8246892", "0.8200105", "0.8185488", "0.81647533", "0.81404", "0.8090162", "0.80833423", "0.8051473", "0.7934182", "0.77234006", "0.7698081",...
0.8507195
5
Returns True if iterable is monotonic increasing (sorted). This function works outofcore with time complexity O(N), and a very modest
def o6Ki(OxJJ, H5ew=lambda jzdc, Fg_i: jzdc <= Fg_i): return all((H5ew(jzdc, Fg_i) for jzdc, Fg_i in Zu14(OxJJ)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hcel(OxJJ):\n kgDL = Zu14(OxJJ)\n while True:\n WKvO, LVAh = next(kgDL, (zX5L, zX5L))\n if WKvO is zX5L:\n return True\n elif WKvO != LVAh:\n break\n if WKvO < LVAh:\n return all((WKvO <= LVAh for WKvO, LVAh in kgDL))\n else:\n return all((WK...
[ "0.83823985", "0.79575884", "0.79303396", "0.78804505", "0.77884924", "0.7757008", "0.7713137", "0.75309914", "0.75309914", "0.74654514", "0.7417858", "0.74074304", "0.7319854", "0.7283653", "0.72593015", "0.7172728", "0.71486026", "0.71365124", "0.7127015", "0.7121802", "0.7...
0.71583664
16
Returns True if iterable is monotonic increasing (sorted).
def mwCj(WKvO, ztRo=None): if isinstance(WKvO, oyIN.ndarray): if ztRo is None: ztRo = 500000 JCyR = WKvO.size for wlvj in range(0, JCyR, ztRo): sQzX = int(min(JCyR, wlvj + ztRo + 1)) yOAJ = WKvO[wlvj:sQzX] if not oyIN.all(yOAJ[:-1] <= yOAJ[1:])...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hcel(OxJJ):\n kgDL = Zu14(OxJJ)\n while True:\n WKvO, LVAh = next(kgDL, (zX5L, zX5L))\n if WKvO is zX5L:\n return True\n elif WKvO != LVAh:\n break\n if WKvO < LVAh:\n return all((WKvO <= LVAh for WKvO, LVAh in kgDL))\n else:\n return all((WK...
[ "0.8142003", "0.808654", "0.80389214", "0.7760246", "0.76729363", "0.76398873", "0.7501268", "0.745741", "0.74285233", "0.73847586", "0.7326396", "0.7294516", "0.72609425", "0.72268605", "0.72268605", "0.72032845", "0.70649916", "0.70158243", "0.70041776", "0.69971377", "0.69...
0.0
-1
Display a single profile by ID.
def xuug(QePW, O4Fb): xj6k, NArs, MOPg = SYRW.build_request(QePW.get_host(), O4Fb, access_token=QePW.access_token) QePW.view_requests.append(z6B1.get(xj6k, params=NArs, headers=MOPg)) wfmA = 'type:conversation type:event type:huddle type:comment authorId:%s' % O4Fb SpZw = {'limit': 10, 'q': wfmA, 'sort'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z39Z(id):\n CBIr = mv1M.query.get(id)\n return TvZl('profile.html', user=CBIr)", "def z39Z(uJjO):\n CBIr = mv1M.query.get(uJjO)\n return TvZl('profile.html', user=CBIr)", "def nUHY(YKHO, qv1X, O4Fb):\n z39Z = YKHO.rpc_client.show_profile(qv1X.context, O4Fb)\n if not z39Z:\n raise B...
[ "0.85713893", "0.79340506", "0.77884024", "0.77554286", "0.76306635", "0.74920976", "0.74044454", "0.7360864", "0.73449504", "0.7334588", "0.73093224", "0.7274384", "0.7258262", "0.72283924", "0.72049814", "0.7177985", "0.71701914", "0.71455836", "0.7123157", "0.70977485", "0...
0.67199576
43
Encode all columns containing strings with unique numbers for every category type
def VX61(YKHO, WKvO): WKvO = WKvO.to_numpy(dtype=str) for DO5D in range(WKvO.shape[1]): try: float(WKvO[0, DO5D]) except ValueError: hkxX = WKvO[:, DO5D] lfRF = nu0g() Czbp = lfRF.fit_transform(hkxX) WKvO[:, DO5D] = Czbp return WKvO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A1Ep(YKHO, jQ3Z) -> rLdf.DataFrame:\n VHFj = [fvDH for fvDH in jQ3Z.columns if jQ3Z[fvDH].dtype == 'O']\n for SMAj in VHFj:\n jQ3Z[SMAj] = jQ3Z[SMAj].astype('category').cat.codes\n return (jQ3Z, VHFj)", "def lfRF(jQ3Z, ZH6t=None):\n if not ZH6t:\n ZH6t = [fvDH for fvDH in jQ3Z.colum...
[ "0.6808883", "0.678472", "0.6583982", "0.6573141", "0.6533984", "0.64564884", "0.6444898", "0.64191663", "0.6412364", "0.64110893", "0.63877153", "0.6356915", "0.6346095", "0.63100743", "0.630118", "0.6277452", "0.6246005", "0.6232949", "0.61880374", "0.61817586", "0.6172002"...
0.5749102
55
Scope that replaces trainable variables with their exponential moving averages We capture only trainable variables. There's no reason we couldn't support other types of variables, but the assumed use case is for trainable variables.
def X2pM(qQb8, m2gN, WMj5=0.999, NbXG=False, CJGY=None): with ZylS.name_scope(qQb8 + '/ema_variables'): if NbXG: with ZylS.variable_scope(ZylS.get_variable_scope(), reuse=CJGY): n8zn = ZylS.get_variable(name='zero_debias_num', shape=[], initializer=ZylS.zeros_initializer(), dtype...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M3Fq():\n FwwX = ZylS.train.ExponentialMovingAverage(decay=0.0, name='EMA')\n FwwX.apply(ZylS.trainable_variables())\n NpFH = [ZylS.assign(SRYB, FwwX.average(SRYB)) for SRYB in ZylS.trainable_variables()]\n return ZylS.control_dependencies(NpFH)", "def rIP3(YKHO, SRYB, _qMg=None, WMj5=0.999, AlZ7...
[ "0.7434698", "0.69268084", "0.6393307", "0.62112296", "0.60823375", "0.6053716", "0.6009336", "0.5980881", "0.5963152", "0.5921346", "0.58741254", "0.5861832", "0.5830082", "0.5819266", "0.5812739", "0.5800529", "0.5720324", "0.5709745", "0.57093203", "0.56884974", "0.5683474...
0.6682464
2
This is a custom converter which converts a decimal into a string that constains a number of the desired system. It could even be used for other projects as well.
def PGez(mLGw, Oz1B, BcCR): lXgg = '' QAki = mLGw for YRbF in range(0, BcCR).__reversed__(): kLQb = Oz1B ** YRbF FGW3 = QAki // kLQb wOmD = QAki % kLQb QAki = wOmD lXgg += str(FGW3) return lXgg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wjfd(BWXx):\n return str(BWXx)", "def c_2X(BWXx, VIXL):\n if VIXL == 'euro':\n return I9WQ(BWXx)\n elif VIXL == 'gbp':\n return YZ6I(BWXx)\n return zYgq(BWXx)", "def c_2X(BWXx, VIXL):\n if VIXL == 'euro':\n return I9WQ(BWXx)\n elif VIXL == 'gbp':\n return YZ6I(...
[ "0.7490641", "0.666179", "0.6614546", "0.65487224", "0.65048134", "0.64443094", "0.64173424", "0.6409784", "0.6406201", "0.63422984", "0.62745214", "0.6250456", "0.622048", "0.6206053", "0.6195962", "0.61867905", "0.61529434", "0.61251587", "0.612081", "0.6115422", "0.6113722...
0.62178904
13
This function converts a string number e.g '000031'(quintential) to decimal e.g (16)
def fj5P(mLGw: str, Oz1B: int): QAki = 0 for YRbF in range(len(mLGw)): QAki += Oz1B ** YRbF * int(mLGw[len(mLGw) - YRbF - 1]) return QAki
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tHJg(vIwR):\n try:\n BWXx = int(vIwR)\n except ValueError:\n try:\n BWXx = float(vIwR)\n except ValueError:\n BWXx = vIwR\n return BWXx", "def tHJg(vIwR):\n try:\n BWXx = int(vIwR)\n except ValueError:\n try:\n BWXx = float(vI...
[ "0.6902251", "0.6877988", "0.6869219", "0.6842395", "0.6842395", "0.6826687", "0.6826132", "0.6807356", "0.67774886", "0.6771079", "0.6694763", "0.66947114", "0.66661847", "0.6648182", "0.661877", "0.6617965", "0.6609132", "0.6579501", "0.6575929", "0.6545809", "0.6538944", ...
0.6305783
47
This is the encoder, which converts the index of the letter into a quintential number system to index in the 'digits' list. Unknown characters are converted to an empty line.
def kLcZ(pKvt, ftIh, BHGE): lXgg = [] for YRbF in pKvt: if YRbF in ftIh: zFiD = '' FGW3 = PGez(ftIh.index(YRbF), 5, 6) for YRbF in FGW3: zFiD += BHGE[int(YRbF)] lXgg.append(zFiD) else: lXgg.append('______') return lX...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _FhB(YKHO):\n YKHO._control_number()\n YKHO.value = YKHO.data[:]\n yKcO = '0000'\n JCyR = '100'\n ewCu = 0\n JvSc = ''\n while ewCu < len(YKHO.data):\n for _1qI, zDMu in zip(tp0w[YKHO.data[ewCu]], tp0w[YKHO.data[ewCu + 1]]):\n JvSc += ''.join(_1qI + zDMu)\n ewCu +=...
[ "0.64339995", "0.62265664", "0.61849415", "0.61629766", "0.60857975", "0.5976551", "0.5968415", "0.5967181", "0.5946362", "0.59239787", "0.5914813", "0.5900736", "0.5895854", "0.5894912", "0.5886887", "0.58649635", "0.5827856", "0.5827856", "0.5820683", "0.5803223", "0.579452...
0.69910604
0
Returns the external player number for a given player.
def YqNG(YKHO, dZPi, mLGw): assert dZPi == YKHO._offenseTeamName or dZPi == YKHO._defenseTeamName, 'Invalid team name %s. Valid choices: %s, %s.' % (dZPi, YKHO._offenseTeamName, YKHO._defenseTeamName) if dZPi == YKHO._offenseTeamName: return YKHO._offenseOrder[mLGw] else: return YKHO._defens...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nAM4(YKHO) -> int:\n return YKHO.player", "def nAM4(YKHO, _ym3):\n return YKHO.players[_ym3]", "def yztK(oyg0):\n return mVZ4.query.filter_by(username=oyg0).first().id", "def JoU3(oyg0):\n qMX7 = NCls.players.find_one({'Player': oyg0})\n if not qMX7:\n raise ValueError('Enter a vali...
[ "0.6975085", "0.6883766", "0.68784666", "0.68541884", "0.6839688", "0.6722241", "0.6551822", "0.6523886", "0.6520703", "0.6510171", "0.6460304", "0.6407996", "0.6397215", "0.6383646", "0.6373025", "0.6344588", "0.633479", "0.6333601", "0.6327495", "0.63263255", "0.62759805", ...
0.0
-1
Returns a random point inside of the box defined by xBounds, yBounds. Where xBounds=[x_min, x_max] and yBounds=[y_min, y_max]. Defaults to the xybounds of the playable HFO area.
def CUCx(YKHO, gWyA=None, VVLk=None): if gWyA is None: gWyA = YKHO.allowedBallX if VVLk is None: VVLk = YKHO.allowedBallY oeNL = XTiz.zeros(2) X7zS = [gWyA, VVLk] for YRbF in range(2): oeNL[YRbF] = YKHO._rng.rand() * (X7zS[YRbF][1] - X7zS[YRbF][0]) + X7zS[YRbF][0] return ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XrLm(X7zS, htN0, Ylkb):\n if htN0 == 'True':\n return {'x': oyIN.random.uniform(float(X7zS['x']), float(X7zS['x']) + float(X7zS['width']) - Ylkb[0]), 'y': oyIN.random.uniform(float(X7zS['y']), float(X7zS['y']) + float(X7zS['height']) - Ylkb[1])}\n else:\n return {'x': oyIN.random.uniform(0,...
[ "0.7261445", "0.67826366", "0.6638882", "0.66273165", "0.63594043", "0.63233995", "0.6273221", "0.6217499", "0.6176306", "0.61730605", "0.6097796", "0.6091604", "0.5983069", "0.5973522", "0.59492964", "0.59481657", "0.59265906", "0.5920791", "0.5888353", "0.5885267", "0.58654...
0.8384908
0
Resets the HFO domain by moving the ball and players.
def SiRx(YKHO): YKHO.resetBallPosition() YKHO.resetPlayerPositions() YKHO.send('(recover)') YKHO.send('(change_mode play_on)')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SiRx(YKHO):\n KiC7 = int(YKHO.field_size[1] / 2)\n YKHO.player0 = KiC7\n YKHO.player1 = KiC7\n YKHO.ball = [int(YKHO.field_size[0] / 2), KiC7]\n YKHO.ball_v = [YKHO._rand_v_dir(YKHO.ball_base_v), 0]\n YKHO.scores = [0, 0]", "def SiRx(YKHO):\n YKHO.player_halo.reset()\n YKHO.boss_dispo...
[ "0.764523", "0.72106606", "0.6781912", "0.6696178", "0.66557264", "0.66043437", "0.65896803", "0.65232193", "0.64829", "0.6455829", "0.64544296", "0.6447008", "0.64155316", "0.6390803", "0.63875335", "0.63866794", "0.63851804", "0.63815004", "0.63782763", "0.63598907", "0.634...
0.6568706
7
Reset the positions of the players. This is called after a trial ends to setup for the next trial.
def tlnO(YKHO): YKHO.movePlayer(YKHO._offenseTeamName, 0, [-0.5 * YKHO.PITCH_LENGTH, 0]) for YRbF in Ni9Y(1, YKHO._numOffense + 1): YKHO.movePlayer(YKHO._offenseTeamName, YRbF, YKHO.getOffensiveResetPosition()) if YKHO._agentOnBall and YKHO._offenseAgents > 0: YKHO.movePlayer(YKHO._offenseTe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SiRx(YKHO):\n for _ym3 in range(len(YKHO.players)):\n YKHO.players[_ym3].reset()", "def g_07(gCuF, oyg0):\n oyg0.player_location = [gCuF.grid_size - 1, int(gCuF.grid_size / 2) - 1]", "def cc16():\n del Bwa6[0:len(Bwa6)]\n usUl.clear()", "def eBCr(YKHO):\n YKHO.player_location = [YKH...
[ "0.7716632", "0.7442358", "0.738604", "0.732684", "0.72866654", "0.726033", "0.72460526", "0.7113787", "0.69433707", "0.69404274", "0.69191724", "0.6918968", "0.6902616", "0.67344874", "0.67258024", "0.6718569", "0.67036414", "0.6700956", "0.66754216", "0.6631442", "0.6628936...
0.7601373
1
Calculates the intersection point between itself and a ray and returns the hitdistance.
def YOVY(YKHO, spHt): SCpB = YKHO.center - spHt.origin Ty9i = SCpB.dot(spHt.direction) Xk7A = Ty9i * Ty9i - SCpB.dot(SCpB) + YKHO.radius * YKHO.radius if Xk7A < 0: return None else: return Ty9i - PZyS(Xk7A)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u7xn(YKHO, spHt):\n exwG = YKHO._normal\n XP5J = YKHO.point\n Csk6 = spHt.direction\n z1Rg = spHt.origin\n ciZM = lNLu.dot(exwG, Csk6)\n if not ciZM:\n return None\n return (lNLu.dot(exwG, lNLu.make_vec(XP5J, z1Rg)) / ciZM, YKHO)", "def XMlP(YKHO, spHt):\n jbXL = spHt.position ...
[ "0.79434246", "0.7915818", "0.7895604", "0.7882577", "0.774043", "0.75057477", "0.746363", "0.6980066", "0.6598235", "0.65006024", "0.6497191", "0.6474717", "0.6420632", "0.64020914", "0.6373812", "0.6329725", "0.6311338", "0.62362415", "0.62034136", "0.6194145", "0.61865306"...
0.6729891
8
Returns the normal vector at a given point.
def YIX9(YKHO, XP5J): return (XP5J - YKHO.center).normalized()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mhAC(YKHO, AU8u):\n return YKHO._normal", "def mhAC(YKHO, Tgni):\n return (Tgni - YKHO.position).normalization()", "def vj0b(WKvO, LVAh):\n rDXN = WKvO - LVAh\n mhAC = oyIN.array([-rDXN[1], rDXN[0]])\n mhAC = mhAC / oyIN.linalg.norm(mhAC, 2)\n return mhAC", "def mhAC(YKHO, hksT):\n r...
[ "0.8470859", "0.8055565", "0.7919649", "0.769511", "0.7686686", "0.7620321", "0.7573764", "0.75373477", "0.7532668", "0.74702305", "0.7462868", "0.7430851", "0.7373247", "0.73515403", "0.73400515", "0.7210583", "0.7060475", "0.7053329", "0.6940481", "0.68478376", "0.6818566",...
0.78282416
3
Wrapper for a list of Materials.
def FIMM(YKHO, LSZ7=None, **B2fa): if LSZ7 is None: YKHO.materials = [] else: YKHO.materials = LSZ7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LSZ7(YKHO):\n return Jc_e(YKHO)", "def LSZ7(YKHO):\n yield from (YEnM for YEnM in YKHO.objects if YEnM.SORT == 'Material')", "def GFNQ(YKHO):\n uPqz = [dict() for YRbF in range(len(YKHO.columns))]\n for (lziW, QJCc), ww2c in YKHO.iterrows():\n jwwx = '{0:s}{1:d}'.format(w7v4.name(lziW), ...
[ "0.7185518", "0.69943345", "0.68014336", "0.67615885", "0.6748788", "0.6737844", "0.66935563", "0.6666142", "0.66033596", "0.656938", "0.65073", "0.64754486", "0.63546354", "0.6287601", "0.6267632", "0.61024034", "0.60329294", "0.60235", "0.60016197", "0.5999798", "0.59987277...
0.6328366
13
Get a copy of the current PBR material as a simple material. Returns
def lrTy(YKHO): return TvAi(image=YKHO.baseColorTexture, diffuse=YKHO.baseColorFactor)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PoVH(YKHO):\n return YKHO.material", "def mk1M(YKHO):\n return YKHO.m", "def Mx95(YKHO):\n return YKHO._material", "def PoVH(YKHO):\n return YKHO.get('primitive.material')", "def h9jv(YKHO, bsGN: bool) -> qvHP:\n ...", "def Mx95(YKHO) -> str:\n return YKHO._material", "def VYcw(YK...
[ "0.72796696", "0.7251578", "0.71600705", "0.70792586", "0.68265814", "0.66484606", "0.65123487", "0.6385531", "0.63046885", "0.61603165", "0.60863644", "0.60836697", "0.5966212", "0.59608555", "0.59384906", "0.5931823", "0.59282136", "0.58833843", "0.58801323", "0.5879907", "...
0.7184672
2
Returns the relative path to this object folder
def MOb5(YKHO): if YKHO.BASE_FOLDER_NAME is None: raise sHTo('BASE_FOLDER_NAME was not implemented in concrete class %s.' % YKHO.__class__.__name__) return '%s%s/' % (YKHO.BASE_FOLDER_NAME, eIIt(YKHO.folder_name))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vT7J(YKHO):\n return Hy7s.path.join(YKHO.type(), YKHO.name())", "def Qth0(YKHO):\n return YKHO.cwd().rel_path_to(YKHO)", "def OyQC(YKHO):\n return Hy7s.path.join(str(YKHO.path), YKHO.get_folder_name())", "def t_yv(YKHO):\n pmON = GkAb(YKHO.interface.relative_path)\n if YKHO.image:\n ...
[ "0.8101523", "0.8023764", "0.78927344", "0.7851852", "0.7767422", "0.7753774", "0.7694752", "0.76151776", "0.7610638", "0.7597868", "0.75939745", "0.75670093", "0.7517656", "0.74825114", "0.74810976", "0.7458024", "0.7457539", "0.74544007", "0.74322146", "0.74009156", "0.7385...
0.0
-1
Returns the absolute path to this object folder
def xmtK(YKHO): yvT9 = '%s%s' % (gCuF.MEDIA_ROOT, YKHO.home_folder_rel) if not LR7z(yvT9): Hy7s.makedirs(yvT9) return yvT9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OyQC(YKHO):\n return Hy7s.path.join(str(YKHO.path), YKHO.get_folder_name())", "def pmON(YKHO) -> str:\n return Hy7s.path.join(YKHO._dir, YKHO._name)", "def pmON(YKHO):\n return GkAb(YKHO.dir) / YKHO.basename()", "def NVxF(YKHO):\n xtX7 = YKHO.get_folder()\n Ux0P = YKHO.get_filename()\n ...
[ "0.80839443", "0.77877796", "0.7781234", "0.77775776", "0.7772008", "0.77160877", "0.76790744", "0.76071316", "0.759073", "0.7577409", "0.7571699", "0.7564601", "0.7561468", "0.7489947", "0.7462784", "0.745489", "0.745134", "0.7434993", "0.74306905", "0.7418722", "0.7417527",...
0.712739
45
return the list with duplicate elements removed
def kcwm(YKHO): return HApI(set(YKHO))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c9nX(BDwY):\n return list(set(BDwY))", "def cXrt(e5Mv):\n bDFL = set(e5Mv)\n SIKZ = list(bDFL)\n return SIKZ", "def dDv2(WKvO):\n return list(set(WKvO))", "def uY6T(yv6U):\n return list(set([YRbF for YRbF in yv6U]))", "def LKC1(IqQl):\n return list(set(IqQl))", "def MOT_(yv6U):\n...
[ "0.85619754", "0.8411747", "0.8221287", "0.81371474", "0.8041725", "0.8036284", "0.803097", "0.80194837", "0.8001262", "0.7952505", "0.7890933", "0.78805566", "0.7845293", "0.784342", "0.78291535", "0.7822098", "0.78135127", "0.78078485", "0.7795279", "0.77810246", "0.7777206...
0.0
-1
return the intersection of two lists
def XMlP(YKHO, Fg_i): return HApI(set(YKHO) & set(Fg_i))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RIsH(jzdc, Fg_i):\n return list(set(jzdc) & set(Fg_i))", "def W9Po(jzdc, Fg_i):\n return list(set(jzdc) & set(Fg_i))", "def iov8(jzdc, Fg_i):\n return list(set(jzdc) & set(Fg_i))", "def iQin(jzdc, Fg_i):\n return [geyT for geyT in jzdc if geyT in Fg_i]", "def zVQj(iHrl, X1zw):\n return l...
[ "0.8570015", "0.84798545", "0.8403263", "0.83952814", "0.83949125", "0.83179665", "0.82960325", "0.82456136", "0.82246155", "0.82246155", "0.8213562", "0.8211338", "0.81867516", "0.8179091", "0.8179091", "0.8179091", "0.8179091", "0.8179091", "0.81649923", "0.8138381", "0.804...
0.7153201
69
return the union of two lists
def b65I(YKHO, Fg_i): return HApI(set(YKHO) | set(Fg_i))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zk73(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg_i))", "def b65I(w_3R, XxT4):\n return dDv2(w_3R + XxT4)", "def b65I(jzdc, Fg_i):\n return list(set(jzdc) | set(Fg...
[ "0.8757085", "0.8602506", "0.85986483", "0.8587767", "0.8514491", "0.85064125", "0.85064125", "0.85064125", "0.85064125", "0.85064125", "0.85064125", "0.84972835", "0.84852284", "0.84633243", "0.84617287", "0.84510076", "0.82461816", "0.8199441", "0.8185011", "0.8165106", "0....
0.76707214
28
Returns 2D coordinates for a square grid of equally spaced nodes.
def yddv(HEZd): E3D9 = HEZd ** 2 WKvO = oyIN.linspace(0, 1, HEZd, dtype=oyIN.float32) LVAh = oyIN.linspace(0, 1, HEZd, dtype=oyIN.float32) CAzz, Jd40 = oyIN.meshgrid(WKvO, LVAh) epBp = oyIN.empty((E3D9, 2), oyIN.float32) epBp[:, 0] = CAzz.reshape(E3D9) epBp[:, 1] = Jd40.reshape(E3D9) ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lONB(jHsn, pvd3):\n WKvO = oyIN.arange(0, jHsn, 1)\n LVAh = oyIN.arange(0, pvd3, 1)\n Oi4q, pdNf = oyIN.meshgrid(WKvO, LVAh)\n X3hi = Oi4q.reshape(-1)\n ZDfp = pdNf.reshape(-1)\n return (X3hi, ZDfp)", "def jNOo(YKHO):\n return (YKHO.grid.node_x, YKHO.grid.node_y)", "def jNOo(YKHO):\n ...
[ "0.71031296", "0.6939701", "0.6939701", "0.6920827", "0.6906784", "0.69010746", "0.68942994", "0.6860293", "0.68570864", "0.6839197", "0.6808102", "0.6805216", "0.6800406", "0.6780831", "0.67499185", "0.67499185", "0.67499185", "0.6733378", "0.66903555", "0.6644745", "0.66221...
0.6637664
20
Get the adjacency matrix for the KNN graph.
def IHfF(G1Hx): EcVT = yddv(PYW0) k0lF = SP5q(EcVT, G1Hx, mode='connectivity', metric='euclidean', include_self=False) return k0lF
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AVje(YKHO):\n return jHsn.to_numpy_array(YKHO.G)", "def LLlG(YKHO):\n return LLlG(graph=YKHO)", "def I0pP(YKHO):\n if len(YKHO.node_id_to_num) < len(YKHO.nodes):\n YKHO.build_node_id_to_num()\n bKPk = len(YKHO.node_id_to_num)\n LLlG = oyIN.zeros((bKPk, bKPk))\n for MLZm in YKHO.edg...
[ "0.78356916", "0.7761373", "0.7596837", "0.75775015", "0.74399984", "0.7367409", "0.7292447", "0.728385", "0.7260135", "0.72588325", "0.72588325", "0.71535414", "0.7148102", "0.7092685", "0.7088394", "0.7065497", "0.7054626", "0.7048575", "0.70165455", "0.69924396", "0.696146...
0.6144098
58
Reduce dicts of dicts to dot separated keys.
def uXml(YKHO, Jyyj, uPxI, pmON): TLbF = {} for _H3b, V_D6, pmON in a_EL(Jyyj, uPxI, pmON): mWFP = _H3b['name'] cM24 = _H3b['type'] UXqs = _H3b['label'] BWXx = V_D6[mWFP] if mWFP in V_D6 else None TLbF[pmON] = {'name': mWFP, 'value': BWXx, 'type': cM24, 'label': UXqs} ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cWkN(YKHO, Ylbp):\n for H5ew, BWXx in Ylbp.items():\n if isinstance(BWXx, dict):\n YKHO._deDotKeys(BWXx)\n hU8D = H5ew.replace('.', '_')\n if hU8D != H5ew:\n Ylbp[hU8D] = Ylbp.pop(H5ew)\n return Ylbp", "def fE84(DmbV, eI0z=lambda jzdc, Fg_i: '.'.join([jzdc, Fg...
[ "0.6831276", "0.6792752", "0.67316633", "0.64198315", "0.6405234", "0.63377106", "0.6311949", "0.61948025", "0.6185623", "0.6168622", "0.6164611", "0.6139902", "0.613176", "0.6126578", "0.60788256", "0.60440147", "0.60221094", "0.60114014", "0.5944348", "0.593958", "0.5938193...
0.0
-1
Get list of all downloadable fields
def USui(YKHO): aNS8 = [] for pmON, uFSR in YKHO.annotation.items(): if pmON.startswith('output') and uFSR['type'] == 'basic:file:' and (uFSR['value'] is not None): aNS8.append((YKHO.id, uFSR['value']['file'], pmON, YKHO.process_type)) return aNS8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CqJY():\n return ['id_binary', 'id_type', 'customer_binary', 'customer_type', 'user_binary', 'user_type', 'item_binary', 'item_type', 'type_name', 'type_value', 'url', 'url_raw', 'is_referral', 'create_date', 'ip', 'is_processed_ip', 'last_click_date', 'device_family', 'device_is_spider', 'os_family', 'brow...
[ "0.6794282", "0.6715148", "0.6715148", "0.66730887", "0.66438603", "0.65424925", "0.64483553", "0.6421357", "0.63656336", "0.6359991", "0.6350739", "0.6334408", "0.63121474", "0.63121474", "0.62937033", "0.62937033", "0.62843716", "0.626151", "0.62149125", "0.62144285", "0.61...
0.6085375
31
Format cents to euros, |safe filter is not needed
def AZIe(Q0uV, xig_=False): AZIe = z2SU(Q0uV, force_decimals=xig_) return DfCi(AZIe.replace(' ', '&nbsp;'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YreJ(BWXx):\n hI0L = str(BWXx)\n if hI0L.find('.') != -1:\n MhF4, Q0uV = hI0L.split('.')\n if len(Q0uV) == 1:\n Q0uV += '0'\n else:\n MhF4, Q0uV = (hI0L, '00')\n return '%s,%s' % (MhF4, Q0uV)", "def I9WQ(BWXx):\n return RVdM(BWXx, ',')", "def iXAx(Emd4, BWXx, ...
[ "0.7366211", "0.70875245", "0.6836024", "0.68223464", "0.68135166", "0.68029624", "0.6797362", "0.6767368", "0.6764618", "0.6752296", "0.6705865", "0.6700388", "0.66911745", "0.668823", "0.6628713", "0.65097815", "0.6473904", "0.64680165", "0.6466322", "0.6442544", "0.6437232...
0.68794894
2
MakeRandomSequence() produces a random sequence of length L from
def AtFM(u54L, zn3J): SEcf = zn3J / 2 FfOW = (1 - SEcf) / 2 x02i = [FfOW, SEcf, SEcf, FfOW] return ''.join(tuKI.choices(eF61, k=u54L, weights=x02i))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IK2L(YKHO, u54L, Wr3E):\n YKHO.sequence = [tuKI.randint(1, Wr3E) for exwG in range(u54L)]\n return YKHO.sequence", "def c3yu(u54L):\n Jtd8 = []\n for YRbF in range(u54L):\n Jtd8.append(sZqf[ADdS(0, 3)])\n return ''.join(Jtd8)", "def QlYg(u54L):\n gitN = {1: 'A', 2: 'G', 3: 'C', 4: ...
[ "0.75259167", "0.7268274", "0.72465044", "0.7151694", "0.7090635", "0.7082552", "0.69840986", "0.6951432", "0.6925526", "0.68300116", "0.6829597", "0.68095493", "0.67425543", "0.67180383", "0.6702255", "0.6684331", "0.6659087", "0.6638696", "0.6637881", "0.6623287", "0.660477...
0.670462
14
MakeRandomSequenceDf() produces a pandas df of N random sequences of legnth lower to upper
def W0UJ(exwG, LSh8, CN9P, gyOy, UXqs, S3vs): usx6 = [] for YRbF, uZ96 in PRqg(enumerate(gyOy)): u54L = tuKI.choice(range(LSh8, CN9P)) aWuw = AtFM(u54L, uZ96) rdlD = {'GI': 'RSID_{}'.format(YRbF), 'Identifier_Type': 'RSID', 'Identifier_Value': 'RSID_{}'.format(YRbF), 'Description': 'Rand...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W6wq(MCob, G8d9):\n gktT = oyIN.random.randint(G8d9, size=MCob) + 1\n Wqkv = []\n Wo3y = []\n for KCHu in Ni9Y(MCob):\n Q_Y4 = oyIN.sort(oyIN.random.choice(gktT[KCHu], 1, replace=False)) + 1\n a1PO = oyIN.sort(oyIN.random.choice(gktT[KCHu], Q_Y4, replace=False))\n if gktT[KCHu]...
[ "0.6844677", "0.683564", "0.667852", "0.66765165", "0.6560931", "0.6540483", "0.6473338", "0.64568156", "0.6380005", "0.6322359", "0.6197526", "0.6188013", "0.61599904", "0.6151653", "0.6080031", "0.60207343", "0.6003838", "0.59930277", "0.5988816", "0.5951854", "0.59487283",...
0.80356497
0
Create a bias variable with appropriate initialization.
def Y7ph(ROpF): RqgG = ZylS.constant(0.1, shape=ROpF) return ZylS.Variable(RqgG)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n1Xm(ROpF, MuED=ZylS.zeros_initializer()):\n return ZylS.get_variable(name='b', shape=ROpF, initializer=MuED)", "def Y7ph(ROpF, ECSy=0.025):\n RqgG = ZylS.constant(ECSy, shape=ROpF)\n return ZylS.Variable(RqgG)", "def KR18(YKHO, ROpF):\n return ZylS.Variable(ZylS.constant(0.0, shape=ROpF, dtype...
[ "0.79854137", "0.7919872", "0.78153163", "0.77997965", "0.7707531", "0.7609511", "0.7564187", "0.75639236", "0.75618184", "0.7560381", "0.75576246", "0.75442547", "0.75442547", "0.7534106", "0.7529888", "0.7529888", "0.7529888", "0.7529888", "0.7529888", "0.7529888", "0.75298...
0.7520013
29
Convert any passed integer into given base as string.
def Hr7C(P8oC: t.Literal[2, 8, 16], FGW3: int) -> str: if P8oC == 2: return bin(FGW3).replace('0b', '') elif P8oC == 8: return oct(FGW3).replace('0o', '') elif P8oC == 16: return hex(FGW3).replace('0x', '')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def r6I9(exwG, P8oC):\n i8_y = '0123456789ABCDEF'\n if exwG < P8oC:\n return i8_y[exwG]\n else:\n return r6I9(exwG // P8oC, P8oC) + i8_y[exwG % P8oC]", "def npVH(mLGw, P8oC):\n if mLGw <= 0:\n return '0'\n BHGE = []\n for YRbF in range(13, -1, -1):\n naF9 = P8oC ** Y...
[ "0.8179671", "0.8085593", "0.7984982", "0.79815364", "0.7902018", "0.7795292", "0.7789172", "0.778577", "0.7775294", "0.7765898", "0.7754733", "0.77431923", "0.77421904", "0.7737325", "0.76458526", "0.7623291", "0.75970346", "0.7576969", "0.75741214", "0.75602806", "0.7556915...
0.8129279
1
Start processing pending flows.
async def _async_start(YKHO, tvqc: Event) -> None: VxUV = YKHO.pending_flows YKHO.pending_flows = {} YKHO.started = True XjL2 = [RvPs(YKHO.hass, Ufs5.domain, vTFV.context, vTFV.data) for Ufs5, SKxV in VxUV.items() for vTFV in SKxV] await nJl4(PAIG, *[uirM for uirM in XjL2 if uirM is not None])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yKcO(YKHO):\n print(f'{jvSB._flow_name} is starting. Grabbing data from {YKHO.start_date} to {YKHO.end_date}')\n YKHO.next(YKHO.get_submissions)", "def yKcO(YKHO):\n BVdi.LOGGER.info('starting the flow manager')\n YKHO._start_actions()\n YKHO._start_message_fetcher()\n BVdi.LOGGER.debug('fl...
[ "0.696089", "0.6914141", "0.6397771", "0.63095963", "0.6174316", "0.6130905", "0.61247814", "0.61238194", "0.6115184", "0.60576576", "0.604142", "0.6023562", "0.6019014", "0.5991779", "0.5959616", "0.59305215", "0.5928037", "0.5906511", "0.59042656", "0.59001493", "0.587232",...
0.62203175
4
Gets the Plink binary, if required.
def ygr3(z_es): zmE3 = 'plink' if a9EH.system() == 'Windows': zmE3 += '.exe' if lr1t(zmE3) is None: print('Downloading Plink', file=HwRy.stderr) bD7m = 'http://statgen.org/wp-content/uploads/Softwares/plink-1.0.7/{filename}' Ux0P = '' if a9EH.system() == 'Windows': ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vew9(YKHO):\n mWFP = 'git'\n if Hy7s.name == 'nt':\n mWFP += '.exe'\n neaT = YKHO.find_binary(mWFP)\n if neaT and Hy7s.path.isdir(neaT):\n Zg0d = Hy7s.path.join(neaT, mWFP)\n if Hy7s.path.exists(Zg0d):\n neaT = Zg0d\n if not neaT:\n UTD3((u'Unable to find %...
[ "0.60925174", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.607782", "0.59279937", "0.5831277", "0.58156", "0.5681064", "0....
0.6535651
0
Tests invalid mode when PyPlink as context manager.
def NMaj(YKHO): with YKHO.assertRaises(ValueError) as Bcwd: gSVI.PyPlink(YKHO.prefix, 'u') YKHO.assertEqual("invalid mode: 'u'", str(Bcwd.exception))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vIhs(YKHO):\n with YKHO.assertRaises(STYL) as Bcwd:\n y0cW = Hy7s.path.join(YKHO.tmp_dir, 'test_error')\n with gSVI.PyPlink(y0cW, 'w') as XP5J:\n XP5J.next()\n YKHO.assertEqual(\"not available in 'w' mode\", str(Bcwd.exception))", "def JEm8(YKHO):\n with YKHO.assertRaises(ST...
[ "0.64820457", "0.6287167", "0.6093059", "0.6005102", "0.58589655", "0.57897484", "0.57113165", "0.57086617", "0.56654406", "0.55662006", "0.5496022", "0.5478113", "0.54484135", "0.5409119", "0.53803176", "0.5378378", "0.53620964", "0.531791", "0.5292941", "0.5289925", "0.5266...
0.69689023
0
The questions to show for this task, in order.
def WlEx(YKHO) -> FYrf.QuerySet[Y4Gy]: return YKHO.question_set.all()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kL3o(YKHO):\n return YKHO.question", "def Ab75(YKHO):\n return []", "def u7No(YKHO) -> x1iM[dict]:\n pass", "def u7No(YKHO):\n kPzY = 'asthma_question'\n return YKHO.context.portal_catalog(portal_type=kPzY, sort_on='id', sort_order='ascending')", "def NSJu(YKHO):\n return YKHO.questio...
[ "0.769204", "0.7673022", "0.7531155", "0.73162806", "0.72676134", "0.71782595", "0.71208745", "0.70308334", "0.7012396", "0.7011132", "0.70027536", "0.6991298", "0.6909785", "0.6884603", "0.6863635", "0.6840741", "0.68215317", "0.6790008", "0.6749394", "0.6749394", "0.6749394...
0.6603719
28
Get or create the set of answers for this task submission.
def rRTz(YKHO) -> x1iM[X4qQ]: Fpdc: x1iM[AzJI[X4qQ, bool]] = [YKHO.answer_set.get_or_create(question=bAls) for bAls in YKHO.task.questions()] return [ANfV for ANfV, _EYN in Fpdc]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aFY5(YKHO):\n Aofo = YKHO.answers\n YKHO.answers = []\n return Aofo", "def rRTz(YKHO):\n return YKHO._answers", "def rRTz(YKHO):\n return YKHO.__answers", "def ytD6(YKHO):\n DUgn = {}\n for eQSh in YKHO.question_stats:\n for ANfV in eQSh.answers:\n if ANfV.uuid in D...
[ "0.6884492", "0.6562457", "0.6506306", "0.6414601", "0.63465846", "0.6156256", "0.6134361", "0.6124336", "0.601265", "0.5996727", "0.5984664", "0.5981415", "0.5970344", "0.5957016", "0.5957016", "0.590411", "0.58463764", "0.5824151", "0.58181894", "0.5796784", "0.57753724", ...
0.7077372
0
Get the URL for this submission's task.
def ml0v(YKHO) -> str: syr6 = YKHO.task.get_absolute_url() return f'{syr6}?completed' if YKHO.is_completed() else syr6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gEJq(YKHO, NWvE):\n if NWvE[0] == '/':\n if NWvE[-1] == '/':\n bD7m = YKHO.base_url + NWvE[1:-1]\n else:\n bD7m = YKHO.base_url + NWvE[1:]\n elif NWvE[-1] == '/':\n bD7m = YKHO.base_url + NWvE[1:-1]\n else:\n bD7m = YKHO.base_url + NWvE\n return bD7...
[ "0.7471175", "0.741677", "0.7276888", "0.727309", "0.72409", "0.72409", "0.7240109", "0.7205912", "0.7187979", "0.71835834", "0.7180826", "0.717656", "0.7168827", "0.7115625", "0.70802", "0.703199", "0.703199", "0.703199", "0.703199", "0.703199", "0.703199", "0.703199", "...
0.8531321
0
Define a collate_fn to convert the variable length sequences into a batch of torch tensors. token ids and mask should be padded with zeros. Labels for classification should be padded with 1. This takes in a list of outputs from the dataset's __getitem__ method. You can use the `pad_sequences` helper function to pad a l...
def QxcP(YKHO, Wc9F: List[Tuple[Any, ...]]) -> cuzp[str, ht2j.Tensor]: Pha6, qV0r, BKA0 = tuple(zip(*Wc9F)) Pha6 = ht2j.from_numpy(S5Za(Pha6, 0)) qV0r = ht2j.from_numpy(S5Za(qV0r, 0)) BKA0 = ht2j.LongTensor(BKA0) hlel = {'input_ids': Pha6, 'input_mask': qV0r, 'targets': BKA0} return hlel
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QxcP(Wc9F):\n tjUW = len(Wc9F)\n EcVT, fuBA = zip(*Wc9F)\n EcVT = gc7n(EcVT, batch_first=True, padding_value=Rdw3)\n aPd6 = EcVT.size(1)\n Fbjb = ht2j.tensor([len(WKvO) for WKvO in EcVT], dtype=ht2j.long)\n Crrw = ht2j.zeros(tjUW, aPd6, dtype=ht2j.long)\n Crrw.fill_(Fg0y)\n TwT_ = ht2j....
[ "0.71139395", "0.69238156", "0.6910381", "0.68966925", "0.6814537", "0.67302877", "0.67293316", "0.65683913", "0.65421027", "0.65159965", "0.6462559", "0.6440512", "0.64370316", "0.6430231", "0.6415795", "0.6379267", "0.63580346", "0.63570493", "0.63431364", "0.63404536", "0....
0.5721288
84
find the deepest node; i.e. farthest from root
def Y0bM(J_Es, rb7a=0): if not J_Es: return (None, rb7a) aPd6 = Mkmy = J_Es squt = gTJx = 0 if J_Es.left: aPd6, squt = Y0bM(J_Es.left, rb7a) if J_Es.right: Mkmy, gTJx = Y0bM(J_Es.right, rb7a) Q6kx, rb7a = (aPd6, squt) if squt >= gTJx else (Mkmy, gTJx) return (Q6kx, rb...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jX7z(YKHO):\n return IfcR().visit(YKHO.root)", "def NjDY(YKHO, pmON=None):\n Aofo = YKHO._htraverse(pmON, returnLastMatch=True)\n if hasattr(Aofo[0], '_htraverse'):\n return (Aofo[0].getNode(Aofo[1]), '')\n return Aofo", "def ipPO(YKHO) -> i8DB:\n Q6kx = YKHO.root\n while True:\n ...
[ "0.73569274", "0.6978656", "0.68480325", "0.6753594", "0.6631926", "0.66260225", "0.65978503", "0.6551352", "0.648986", "0.63741595", "0.6361948", "0.6345264", "0.6329602", "0.63212204", "0.631985", "0.62862307", "0.62775844", "0.6274771", "0.6260282", "0.62344825", "0.623215...
0.67100793
4
Returns a justified stringed bonus. eg '3' returns ' +3' by default
def nup0(wEf2, Ltx0=3): if wEf2 >= 0: si2z = '+%s' % wEf2 else: si2z = str(wEf2) return si2z.rjust(Ltx0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def S4tA(YKHO):\n try:\n return VIXL(YKHO.bonus())\n except:\n return VIXL(None)", "def si2z(LTIa: int) -> str:\n if LTIa == 0:\n return 'Wow you got the answer on your first try!'\n else:\n return 'Dang it took you a few tries!'", "def jp16(YKHO):\n if YKHO.low.num_y...
[ "0.68442166", "0.6575725", "0.62899774", "0.6202383", "0.6031513", "0.59694976", "0.5922162", "0.5909609", "0.58573467", "0.58435494", "0.58325255", "0.5813416", "0.5799425", "0.5764423", "0.57198715", "0.57130224", "0.57118344", "0.57090634", "0.5686506", "0.5620447", "0.559...
0.7928735
0
Initialize game. self.board must be present.
def jggO(YKHO): def aEgW(ByNG, ipP0): cqUI = {} cqUI[0, 0] = Zoh6.Piece(Zoh6.TypeRook, ByNG, ipP0 + 'r1') cqUI[7, 0] = Zoh6.Piece(Zoh6.TypeRook, ByNG, ipP0 + 'r2') cqUI[1, 0] = Zoh6.Piece(Zoh6.TypeKnight, ByNG, ipP0 + 'k1') cqUI[6, 0] = Zoh6.Piece(Zoh6.TypeKnight, ByNG, ipP0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xpFp(YKHO):\n JnVq = YKHO.create_raw_board()\n YKHO.set_values_for_cells(JnVq)\n YKHO.cells = JnVq", "def XnEd(YKHO):\n YKHO._gen_board()\n YKHO._place_player()", "def FIMM(YKHO):\n YKHO.__board = YKHO.create_board()", "def FIMM(YKHO):\n YKHO.board = yELo()\n YKHO.game()", "def ...
[ "0.8489319", "0.7872788", "0.78326786", "0.77586716", "0.7597061", "0.75755244", "0.7550776", "0.7526215", "0.75231975", "0.74442565", "0.74096143", "0.736658", "0.73508734", "0.7336856", "0.72935367", "0.72842014", "0.7273956", "0.72533363", "0.72502357", "0.7244752", "0.724...
0.0
-1