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
Gets a ``CommentList`` containing the given comment record ``Type``.
def rngW(YKHO, Jrwp): return ei4T.CommentList([])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def po25(YKHO, VHcv):\n xUwc = zyrs('commenting', collection='Comment', runtime=YKHO._runtime)\n Aofo = xUwc.find(dict({'genusTypeId': str(VHcv)}, **YKHO._view_filter())).sort('_id', VoaI)\n return ei4T.CommentList(Aofo, runtime=YKHO._runtime, proxy=YKHO._proxy)", "def Ebkn(YKHO):\n return vuOs([])",...
[ "0.7270703", "0.68646073", "0.676033", "0.64582574", "0.634903", "0.614865", "0.61244595", "0.6021373", "0.58704853", "0.5869703", "0.5833812", "0.57910854", "0.56667525", "0.565118", "0.56449765", "0.55936635", "0.5426422", "0.5373219", "0.53415656", "0.53154033", "0.5276660...
0.8408125
0
Gets a list of all comments corresponding to a resource ``Id`` and effective during the entire given date range inclusive but not confined to the date range.
def GYJQ(YKHO, PcW4, ifCF, Br5Q): aN3A = [] for aM_I in YKHO.get_comments_for_commentor(): if yHH9(ifCF, Br5Q, aM_I.start_date, aM_I.end_date): aN3A.append(aM_I) return ei4T.CommentList(aN3A, runtime=YKHO._runtime)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H0oq(YKHO, kepv, KhBf):\n U5bT = []\n A07C = YKHO.get_post_ids(kepv, KhBf)\n for id in A07C:\n Tj1O = YKHO.reddit.submission(id).comments\n U5bT.append(YKHO.get_nested_comments(Tj1O))\n return U5bT", "def B6It(YKHO, ifCF, Br5Q):\n aN3A = []\n for aM_I in YKHO.get_comments():\n...
[ "0.7158561", "0.69310486", "0.67755306", "0.6633708", "0.6268268", "0.6017398", "0.5765618", "0.56689966", "0.5598511", "0.55958277", "0.5593436", "0.55545807", "0.5499906", "0.54898906", "0.5473202", "0.54611444", "0.54546434", "0.5454203", "0.5373503", "0.53721774", "0.5352...
0.75241077
0
Gets a list of all comments of the given genus type corresponding to a resource ``Id`` and effective during the entire given date range inclusive but not confined to the date range.
def rIIQ(YKHO, PcW4, VHcv, ifCF, Br5Q): raise UAju.Unimplemented()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UM7R(YKHO, OSJW, VHcv, ifCF, Br5Q):\n aN3A = []\n for aM_I in YKHO.get_comments_by_genus_type_for_reference():\n if yHH9(ifCF, Br5Q, aM_I.start_date, aM_I.end_date):\n aN3A.append(aM_I)\n return ei4T.CommentList(aN3A, runtime=YKHO._runtime)", "def cNJZ(YKHO, PcW4, OSJW, VHcv, ifCF,...
[ "0.6809972", "0.64708966", "0.64239943", "0.6186121", "0.609781", "0.6064781", "0.6030827", "0.6014355", "0.6002978", "0.58541834", "0.5788782", "0.5763983", "0.5589301", "0.55681354", "0.55553627", "0.53404146", "0.53301966", "0.52368593", "0.51902926", "0.51415366", "0.5123...
0.6662174
1
Gets a list of all comments corresponding to a reference ``Id`` and effective during the entire given date range inclusive but not confined to the date range.
def zIYR(YKHO, OSJW, ifCF, Br5Q): aN3A = [] for aM_I in YKHO.get_comments_for_reference(OSJW): if yHH9(ifCF, Br5Q, aM_I.start_date, aM_I.end_date): aN3A.append(aM_I) return ei4T.CommentList(aN3A, runtime=YKHO._runtime)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H0oq(YKHO, kepv, KhBf):\n U5bT = []\n A07C = YKHO.get_post_ids(kepv, KhBf)\n for id in A07C:\n Tj1O = YKHO.reddit.submission(id).comments\n U5bT.append(YKHO.get_nested_comments(Tj1O))\n return U5bT", "def GYJQ(YKHO, PcW4, ifCF, Br5Q):\n aN3A = []\n for aM_I in YKHO.get_comment...
[ "0.7234657", "0.70719373", "0.6991571", "0.68628234", "0.6430302", "0.6250021", "0.58757615", "0.58235896", "0.58179855", "0.5685607", "0.560133", "0.56004786", "0.5592098", "0.5574015", "0.5557389", "0.5522056", "0.5504479", "0.5312983", "0.5290305", "0.52881515", "0.5273492...
0.764671
0
Gets a list of all comments corresponding to a resource and reference ``Id`` and effective during the entire given date range inclusive but not confined to the date range.
def dzYn(YKHO, PcW4, OSJW, ifCF, Br5Q): raise UAju.Unimplemented()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GYJQ(YKHO, PcW4, ifCF, Br5Q):\n aN3A = []\n for aM_I in YKHO.get_comments_for_commentor():\n if yHH9(ifCF, Br5Q, aM_I.start_date, aM_I.end_date):\n aN3A.append(aM_I)\n return ei4T.CommentList(aN3A, runtime=YKHO._runtime)", "def zIYR(YKHO, OSJW, ifCF, Br5Q):\n aN3A = []\n for ...
[ "0.74694806", "0.72792614", "0.71093345", "0.6903956", "0.6266337", "0.6180936", "0.607888", "0.59575754", "0.5885219", "0.56007606", "0.55652887", "0.55269015", "0.5421804", "0.5407062", "0.5383751", "0.5369716", "0.5335828", "0.53321344", "0.53236073", "0.53147197", "0.5305...
0.7255787
2
Gets a list of all comments corresponding to a resource and reference ``Id`` and effective during the entire given date range inclusive but not confined to the date range.
def cNJZ(YKHO, PcW4, OSJW, VHcv, ifCF, Br5Q): raise UAju.Unimplemented()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GYJQ(YKHO, PcW4, ifCF, Br5Q):\n aN3A = []\n for aM_I in YKHO.get_comments_for_commentor():\n if yHH9(ifCF, Br5Q, aM_I.start_date, aM_I.end_date):\n aN3A.append(aM_I)\n return ei4T.CommentList(aN3A, runtime=YKHO._runtime)", "def zIYR(YKHO, OSJW, ifCF, Br5Q):\n aN3A = []\n for ...
[ "0.7469022", "0.72780234", "0.72545433", "0.71086013", "0.6903032", "0.62671906", "0.6181736", "0.60775185", "0.59565717", "0.5884894", "0.5565529", "0.55239505", "0.5419757", "0.5406539", "0.53827953", "0.5369887", "0.53349763", "0.5330268", "0.5323971", "0.5314115", "0.5306...
0.55996025
10
Gets the ``Book`` ``Id`` associated with this session.
def gUMh(YKHO): return YKHO._catalog_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mLJR(YKHO):\n return YKHO.session.request('id/')", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "de...
[ "0.6768813", "0.6590069", "0.6590069", "0.6590069", "0.6590069", "0.6590069", "0.6590069", "0.64731216", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0.64559823", "0....
0.7994723
2
Gets a comment query.
def GEXS(YKHO): return l633.CommentQuery(runtime=YKHO._runtime)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bm45(YKHO):\n raise e6xC()", "def Bm45(YKHO, kMyc=None):\n if kMyc is None:\n raise Mw1j()\n raise e6xC()", "def tu9Y(YKHO):\n return False", "def R8gt(YKHO, MPTR):\n WiO8 = list()\n RAvZ = list()\n for OXAZ in MPTR._query_terms:\n if '$in' in MPTR._query_terms[OXAZ] an...
[ "0.7160014", "0.6551286", "0.65420234", "0.64702123", "0.63903075", "0.62301564", "0.61268145", "0.60809445", "0.606229", "0.59921944", "0.59453064", "0.5915195", "0.58783895", "0.58536386", "0.5808951", "0.5767042", "0.5762327", "0.57604027", "0.5737071", "0.56959414", "0.56...
0.83252674
0
Gets the ``Book`` ``Id`` associated with this session.
def gUMh(YKHO): return YKHO._catalog_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mLJR(YKHO):\n return YKHO.session.request('id/')", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "def unpH(YKHO):\n return YKHO._id", "de...
[ "0.67711055", "0.6592667", "0.6592667", "0.6592667", "0.6592667", "0.6592667", "0.6592667", "0.64721787", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", "0.645847", ...
0.7994095
1
Tests if this user can update comments. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating a ``Comment`` will result in a ``PermissionDenied``. This is intended as a hint to an application that may not wish to offer update operations to unauthorized users...
def A8I3(YKHO): return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a1_c(YKHO):\n eOtH = YKHO.create_user(UtNi)\n geh0 = YKHO.create_article(C34k, eOtH)\n geh0 = YKHO.create_comment(token=eOtH, parentId=0, slug=geh0.data['article']['slug'])\n eOtH = YKHO.create_user(OOvw)\n rNHK = gxEw('crud-comment', kwargs={'id': geh0.data['comment']['id']})\n geh0 = YKHO.c...
[ "0.6664955", "0.6631961", "0.6614367", "0.6436579", "0.6378953", "0.63283336", "0.63095975", "0.62722355", "0.6244667", "0.6226579", "0.6162568", "0.6133568", "0.6123118", "0.6099221", "0.60988504", "0.60869426", "0.6049858", "0.6040769", "0.586258", "0.5847504", "0.5833176",...
0.7890379
0
Tests if this user can delete comments. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting an ``Comment`` will result in a ``PermissionDenied``. This is intended as a hint to an application that may not wish to offer delete operations to unauthorized user...
def tJc5(YKHO): return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MtzE(aM_I, CBIr):\n if CBIr.is_staff or CBIr.is_superuser:\n return True\n if hasattr(aM_I, 'user') and aM_I.user == CBIr:\n return True\n return False", "def pl9F(YKHO, CBIr):\n raise RXLT(False)", "def siZB(vmMD):\n if vmMD is not None and (not vmMD.is_left()):\n retur...
[ "0.7813405", "0.7048792", "0.6845166", "0.6832752", "0.6738561", "0.6678822", "0.66078484", "0.6585122", "0.6521498", "0.6507688", "0.6507688", "0.64436454", "0.64268845", "0.63643116", "0.631254", "0.6292842", "0.6282365", "0.6259496", "0.62067854", "0.6161284", "0.61329174"...
0.78848416
0
Adds an ``Id`` to a ``Comment`` for the purpose of creating compatibility. The primary ``Id`` of the ``Comment`` is determined by the provider. The new ``Id`` performs as an alias to the primary ``Id``. If the alias is a pointer to another comment, it is reassigned to the given comment ``Id``.
def mKlG(YKHO, pQGt, XiF4): YKHO._alias_id(primary_id=pQGt, equivalent_id=XiF4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CQCw(pQGt):\n with b64E.cursor() as DpUl:\n DpUl.execute('INSERT INTO comment_ids (comment_id, timestamp) VALUES (%s, NOW())', [pQGt])\n b64E.commit()", "def aM_I(YKHO, pQGt):\n return Z9rn.Comment(YKHO, pQGt)", "def psjw(YKHO, BZDx):\n YKHO.id = BZDx", "def wz71(YKHO, aM_I):\n aM_I...
[ "0.6189758", "0.56712806", "0.5639575", "0.5545899", "0.55393416", "0.553618", "0.55260956", "0.5363888", "0.5274192", "0.5274192", "0.5274192", "0.5274192", "0.5274192", "0.5274177", "0.52640754", "0.52533126", "0.52533126", "0.52533126", "0.52533126", "0.52533126", "0.52533...
0.67881006
0
Tests if this user can alter comment/book mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in a ``PermissionDenied``. This is intended as a hint to an application that may opt not to offer assignment operatio...
def n4xC(YKHO): return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QsRN(l3QS, CBIr):\n return _ij6(l3QS, CBIr)", "def otSk(YKHO):\n ZrNc = tHSi.current_user_account\n if ZrNc is None:\n return False\n return YKHO.user_can_edit(ZrNc.user)", "def n68o(l3QS):\n return wC2y() and l3QS.adder_id == cuiw['user_id']", "def Bb4E(YKHO, CBIr):\n if CBIr.id...
[ "0.6132092", "0.61024094", "0.5983884", "0.59715986", "0.5958646", "0.5949641", "0.594484", "0.5912866", "0.59046435", "0.58918923", "0.58815473", "0.58730465", "0.5865155", "0.5858243", "0.58538693", "0.5853447", "0.5786703", "0.5762909", "0.575044", "0.5719194", "0.5709206"...
0.60442424
2
Tests if this user can alter comment/book mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in a ``PermissionDenied``. This is intended as a hint to an application that may opt not to offer assignment operatio...
def HpWE(YKHO, ABua): if ABua.get_identifier() == '000000000000000000000000': return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QsRN(l3QS, CBIr):\n return _ij6(l3QS, CBIr)", "def otSk(YKHO):\n ZrNc = tHSi.current_user_account\n if ZrNc is None:\n return False\n return YKHO.user_can_edit(ZrNc.user)", "def n4xC(YKHO):\n return True", "def n68o(l3QS):\n return wC2y() and l3QS.adder_id == cuiw['user_id']", ...
[ "0.6133551", "0.6102446", "0.60465133", "0.59847903", "0.59713924", "0.59584904", "0.59494656", "0.5945789", "0.59141344", "0.59060436", "0.58932984", "0.5883722", "0.58732396", "0.58652955", "0.5859786", "0.58557105", "0.58542717", "0.5787939", "0.57653177", "0.5751438", "0....
0.0
-1
Adds an existing ``Comment`` to a ``Book``.
def W3IR(YKHO, pQGt, ABua): tFH4 = YKHO._get_provider_manager('COMMENTING', local=True) B9ib = tFH4.get_book_lookup_session(proxy=YKHO._proxy) B9ib.get_book(ABua) YKHO._assign_object_to_catalog(pQGt, ABua)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PU3S(YKHO, aM_I):\n assert isinstance(aM_I, jY1u)\n YKHO._comments.append(aM_I)\n return None", "def gyFW(YKHO, jI4j):\n YKHO._books[jI4j.getTitle()] = jI4j", "def E4mv(YKHO, jI4j):\n try:\n with YKHO._db as NCls:\n DpUl = NCls.cursor()\n DpUl.execute('INSERT INT...
[ "0.68614775", "0.67351884", "0.6727313", "0.6692883", "0.66474736", "0.65948236", "0.6580817", "0.6559012", "0.6434129", "0.6432361", "0.6322771", "0.6242738", "0.6084988", "0.59747404", "0.5932399", "0.58911943", "0.58363765", "0.5828485", "0.58213407", "0.5772805", "0.57456...
0.70033133
0
Removes a ``Comment`` from a ``Book``.
def p1nn(YKHO, pQGt, ABua): tFH4 = YKHO._get_provider_manager('COMMENTING', local=True) B9ib = tFH4.get_book_lookup_session(proxy=YKHO._proxy) B9ib.get_book(ABua) YKHO._unassign_object_from_catalog(pQGt, ABua)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def B1C1(YKHO, jI4j):\n if YKHO.has_book(jI4j):\n YKHO.books.remove(jI4j)\n return YKHO", "def B1C1(YKHO, jI4j):\n if YKHO.has_book(jI4j):\n YKHO.books.remove(jI4j)\n if YKHO.owner.lists_with_book_count(jI4j) <= 1:\n YKHO.owner.remove_book(jI4j)\n return YKHO",...
[ "0.6437799", "0.6337031", "0.63252395", "0.6280252", "0.6115586", "0.61083245", "0.5793936", "0.5739752", "0.56746423", "0.5647318", "0.5642754", "0.5625013", "0.5609605", "0.5605535", "0.5604428", "0.5573557", "0.5513995", "0.5508508", "0.54973406", "0.5466595", "0.54174936"...
0.76365703
0
Gets the book form for updating an existing book. A new book form should be requested for each update transaction.
def YPoT(YKHO, ABua): if YKHO._catalog_session is not None: return YKHO._catalog_session.get_catalog_form_for_update(catalog_id=ABua) xUwc = zyrs('commenting', collection='Book', runtime=YKHO._runtime) if not isinstance(ABua, m0DR): raise UAju.InvalidArgument('the argument is not a valid OSI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def S32i(YKHO, McE7):\n if YKHO._catalog_session is not None:\n return YKHO._catalog_session.update_catalog(catalog_form=McE7)\n xUwc = zyrs('commenting', collection='Book', runtime=YKHO._runtime)\n if not isinstance(McE7, z2i2):\n raise UAju.InvalidArgument('argument type is not an BookForm...
[ "0.70686907", "0.64310193", "0.6417475", "0.6145621", "0.6092993", "0.600895", "0.56368786", "0.5463859", "0.54370743", "0.54370743", "0.5416827", "0.5415673", "0.5397017", "0.537442", "0.5367763", "0.53390986", "0.53280944", "0.5295473", "0.5242788", "0.52189684", "0.5211637...
0.8189402
0
Updates an existing book.
def S32i(YKHO, McE7): if YKHO._catalog_session is not None: return YKHO._catalog_session.update_catalog(catalog_form=McE7) xUwc = zyrs('commenting', collection='Book', runtime=YKHO._runtime) if not isinstance(McE7, z2i2): raise UAju.InvalidArgument('argument type is not an BookForm') if ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NpNj(YKHO, ABua):\n lLwE = cfwo(ABua)\n if lLwE is None:\n return ('Book does not exit', 404)\n TBsA = QePW.get_json()\n lLwE.parse_body(TBsA)\n NCls.session.add(lLwE)\n NCls.session.commit()\n return (lLwE.serialize(), 200)", "def S32i(Z5r0):\n zSO2 = QePW.get_json()\n if n...
[ "0.7676922", "0.7666895", "0.7168757", "0.7109669", "0.69657815", "0.677769", "0.6690522", "0.6674828", "0.6565922", "0.647722", "0.6394583", "0.63716525", "0.6367317", "0.6144331", "0.5958954", "0.59474444", "0.5938662", "0.5936048", "0.59093595", "0.59084946", "0.5903671", ...
0.73040056
2
Adds an ``Id`` to a ``Book`` for the purpose of creating compatibility. The primary ``Id`` of the ``Book`` is determined by the provider. The new ``Id`` performs as an alias to the primary ``Id``. If the alias is a pointer to another book, it is reassigned to the given book ``Id``.
def wCUJ(YKHO, ABua, XiF4): if YKHO._catalog_session is not None: return YKHO._catalog_session.alias_catalog(catalog_id=ABua, alias_id=XiF4) YKHO._alias_id(primary_id=ABua, equivalent_id=XiF4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SFJl(Emd4, mWFP, inK4):\n jI4j = dl5x(mWFP, inK4)\n NCls.session.add(jI4j)\n NCls.session.commit()\n return jI4j.id", "def E4mv(jI4j):\n global book_list\n jI4j.id = Kn3U()\n mraa.append(jI4j)", "def mkiJ(YKHO, pkO_):\n YKHO.bookid = str(pkO_)\n YKHO.opf.bookid = str(pkO_)\n Y...
[ "0.6363523", "0.63182074", "0.5935182", "0.59338576", "0.5911424", "0.5827504", "0.57561815", "0.5713796", "0.56904376", "0.55907154", "0.5526623", "0.54667044", "0.53656644", "0.5339497", "0.533185", "0.53043044", "0.52461565", "0.5227103", "0.52260983", "0.5223143", "0.5208...
0.64784527
0
Gets the hierarchy ``Id`` associated with this session.
def ySFy(YKHO): if YKHO._catalog_session is not None: return YKHO._catalog_session.get_catalog_hierarchy_id() return YKHO._hierarchy_session.get_hierarchy_id()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HFvj(YKHO):\n return YKHO._get_provider_session('catalog_hierarchy_session').get_catalog_hierarchy_id()", "def UVlm(YKHO):\n if YKHO.Id is None:\n return YKHO.internalid\n else:\n return YKHO.Id", "def UVlm(YKHO):\n if YKHO.Id is None:\n return YKHO.internalid\n else:\n ...
[ "0.7125257", "0.6883268", "0.6883268", "0.6883268", "0.6883268", "0.6883268", "0.6883268", "0.682322", "0.682322", "0.6821485", "0.67925215", "0.67925215", "0.67925215", "0.67925215", "0.67925215", "0.67925215", "0.67796063", "0.67679566", "0.67633337", "0.6754055", "0.675405...
0.6621401
46
Tests if an ``Id`` is a direct parent of book.
def tTsV(YKHO, hbFX, ABua): if YKHO._catalog_session is not None: return YKHO._catalog_session.is_parent_of_catalog(id_=hbFX, catalog_id=ABua) return YKHO._hierarchy_session.is_parent(id_=ABua, parent_id=hbFX)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KQCH(YKHO, Ii1o):\n return Ii1o in YKHO._parent_ids", "def QHWn(YKHO, ABua):\n if YKHO._catalog_session is not None:\n return YKHO._catalog_session.has_parent_catalogs(catalog_id=ABua)\n return YKHO._hierarchy_session.has_parents(id_=ABua)", "def s7SL(YKHO, hbFX, ABua):\n if YKHO._catalo...
[ "0.7025028", "0.6787635", "0.6672986", "0.6672096", "0.654681", "0.63782734", "0.6361868", "0.62793577", "0.62684816", "0.6258171", "0.6227756", "0.62173504", "0.62032753", "0.62020123", "0.6027175", "0.5965511", "0.59467286", "0.5937843", "0.5936601", "0.5886084", "0.5882627...
0.7772851
0
Gets the hierarchy ``Id`` associated with this session.
def ySFy(YKHO): if YKHO._catalog_session is not None: return YKHO._catalog_session.get_catalog_hierarchy_id() return YKHO._hierarchy_session.get_hierarchy_id()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HFvj(YKHO):\n return YKHO._get_provider_session('catalog_hierarchy_session').get_catalog_hierarchy_id()", "def UVlm(YKHO):\n if YKHO.Id is None:\n return YKHO.internalid\n else:\n return YKHO.Id", "def UVlm(YKHO):\n if YKHO.Id is None:\n return YKHO.internalid\n else:\n ...
[ "0.71252793", "0.6884418", "0.6884418", "0.6884418", "0.6884418", "0.6884418", "0.6884418", "0.68236876", "0.68236876", "0.6821127", "0.6793428", "0.6793428", "0.6793428", "0.6793428", "0.6793428", "0.6793428", "0.67802054", "0.6768881", "0.67642903", "0.67549986", "0.6754998...
0.66201097
47
takes a graph and returns a list of the nodes in the graph in some random order.
def BB9o(pNZh): return tuKI.sample(pNZh, len(pNZh))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BB9o(F7Z0):\n Ziit = F7Z0.keys()\n za68 = []\n while len(Ziit) > 0:\n mrPm = range(0, len(Ziit))\n aOCf = Ziit.pop(tuKI.choice(mrPm))\n za68.append(aOCf)\n return za68", "def gjdY(pNZh):\n return pNZh.get_nodes()", "def z_cu(YKHO):\n return YKHO.graph", "def rj6f(GL...
[ "0.7912667", "0.74318504", "0.68449664", "0.6703933", "0.665076", "0.6630743", "0.65739506", "0.6539121", "0.64809346", "0.6460677", "0.6445434", "0.6405424", "0.6390778", "0.633043", "0.6284734", "0.6243805", "0.6232531", "0.6229891", "0.6227312", "0.62241834", "0.6212664", ...
0.7667206
1
Yield successive nsized chunks from l.
def eHxA(vC9B, exwG): for YRbF in Ni9Y(0, len(vC9B), exwG): yield vC9B[YRbF:YRbF + exwG]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xJ0H(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B) + 1, exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def eHxA(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def I7IE(vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield ...
[ "0.80373776", "0.7923372", "0.7921526", "0.78832066", "0.78758025", "0.78139895", "0.77639675", "0.7753964", "0.7742553", "0.7730092", "0.7727218", "0.7723365", "0.7701169", "0.76873696", "0.76873696", "0.7662493", "0.765539", "0.7654256", "0.7654256", "0.76442516", "0.764425...
0.0
-1
Return the GeoJSON representation of this Geometry.
def qQXR(YKHO): return ff6k.to_json(YKHO.ptr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DLi3(YKHO):\n return PX7E(slpE.ST_AsGeoJSON, YKHO)", "def wFOJ(YKHO):\n return {'type': 'FeatureCollection', 'features': [eHNT.geojson(YRbF) for YRbF, eHNT in YKHO._features.items()]}", "def hr5j(YKHO):\n W0Eb = YKHO.value\n if not W0Eb:\n return\n leAC = getattr(YKHO.context, 'title'...
[ "0.80208063", "0.7876602", "0.7625194", "0.74960536", "0.72676927", "0.7120832", "0.69572836", "0.6746896", "0.67437017", "0.6736589", "0.6736589", "0.6697058", "0.6697058", "0.66877997", "0.6661496", "0.66306347", "0.6581941", "0.6572714", "0.6551489", "0.6548034", "0.652402...
0.0
-1
returns set of all zones contained by this space's children does not include zones contained by this space
def ZR2V(YKHO): _j99 = set() if YKHO.children is not None: for n294 in YKHO.children: _j99 |= n294.zones | n294.get_child_zones() return _j99
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nJVS(YKHO):\n PwWw = set()\n return [vC9B.to_segment for vC9B in YKHO.edges_to_contained if id(vC9B) not in PwWw and (not PwWw.add(id(vC9B)))]", "def afYC(YKHO):\n u54L = len(YKHO.name)\n KCHu = '.%s' % YKHO.name\n return [epBp for epBp in ZyRS.objects.filter(name__iendswith=KCHu) if '.' not i...
[ "0.65747565", "0.6551856", "0.64756376", "0.63153553", "0.63094854", "0.6125579", "0.61235416", "0.6110253", "0.6086279", "0.60236365", "0.60236365", "0.5994792", "0.59797794", "0.5890198", "0.58322483", "0.58093905", "0.5795083", "0.5791707", "0.5785798", "0.57633424", "0.57...
0.8188812
0
Join endpoint at the end of url. Take care of considering the slashes at the end of ``url`` and at the beginning of ``endpoint``, each one with the proper semantics.
def LIzS(bD7m, w2IS): if not w2IS: return bD7m ys3h = KVWQ.urlsplit(bD7m) ddn9 = Hy7s.path.join(ys3h.path, w2IS) SQ3m = list(ys3h) SQ3m[2] = ddn9 return KVWQ.urlunsplit(SQ3m)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _WN8(w2IS, bD7m):\n P6bq = '%s/%s' % (w2IS.rstrip('/'), bD7m.strip('/'))\n return P6bq.rstrip('/')", "def jbbJ(X_Os, w2IS):\n X_Os = f'{X_Os}/'\n w2IS = w2IS.lstrip('/')\n return TDhU(X_Os, w2IS)", "def pMSL(w2IS):\n return TDhU(Dl76(), w2IS)", "def IzyR(YKHO, w2IS):\n return YKHO.ba...
[ "0.8435927", "0.789015", "0.72727895", "0.72349405", "0.722366", "0.6932529", "0.6927155", "0.6922635", "0.6849334", "0.67697203", "0.6740127", "0.6685301", "0.6685256", "0.66599375", "0.6640584", "0.66405165", "0.66367733", "0.6627729", "0.6620346", "0.6598339", "0.65968704"...
0.83496267
1
Compute the lowest common multiple of a and b
def lCyQ(jzdc, Fg_i): return jzdc * Fg_i / ML2l(jzdc, Fg_i)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def h9pL(jzdc, Fg_i):\n return jzdc * Fg_i // ML2l(jzdc, Fg_i)", "def vwzu(gdXy, DWMs):\n return gdXy * DWMs // epAf.gcd(gdXy, DWMs)", "def BsJX(jzdc, Fg_i):\n return jzdc * Fg_i // d9dQ(jzdc, Fg_i)", "def BsJX(jzdc, Fg_i):\n return jzdc * Fg_i // ML2l(jzdc, Fg_i)", "def BsJX(jzdc: int, Fg_i: i...
[ "0.8658008", "0.77002734", "0.7509026", "0.7464487", "0.74473906", "0.7433182", "0.7433182", "0.7405216", "0.73895484", "0.7384071", "0.7384071", "0.7384071", "0.7384071", "0.7384071", "0.7384071", "0.7384071", "0.7384071", "0.7384071", "0.73705244", "0.7366396", "0.73513204"...
0.7100332
33
Allows the team to set a team name.
def xKro(YKHO): return 'Team Name'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aKVM(YKHO, Vnf6: TeamType, xKro):\n YKHO._teams[Vnf6].team_name = xKro\n I45O.info('Set the name of team {0} to \"{1}\".'.format(Vnf6, xKro))", "def xKro(YKHO, xKro):\n YKHO._team_name = xKro", "def xKro(YKHO, xKro):\n YKHO.team_id = YKHO.get_team_id(xKro)\n na1r.debug('Mattermost team id: %...
[ "0.82993644", "0.8232561", "0.7640673", "0.76396996", "0.7634439", "0.76320326", "0.75327253", "0.750379", "0.750379", "0.750379", "0.750379", "0.7486884", "0.7486884", "0.7382823", "0.73561835", "0.7350724", "0.7350724", "0.7350724", "0.7350724", "0.7350724", "0.7331584", ...
0.6981331
37
wrap compute_features into a tensorflow function.
def L71D(mvm2, kKUt='{}', HgIb='sng_id', zXgc='song', v_Ey='seg_start', uIQP='seg_duration', CDp7='features', begE='/cpu:0'): with ZylS.device(begE): r_qn = [mvm2[HgIb], ZylS.constant(zXgc), (ZylS.cast(mvm2[v_Ey], ZylS.float64), ZylS.cast(mvm2[v_Ey], ZylS.float64) + ZylS.cast(mvm2[uIQP], ZylS.float64)), Zyl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CQ6c(YKHO):\n HHwN = {mWFP: ZylS.TensorSpec.from_spec(Cqok, name=mWFP) for mWFP, Cqok in YKHO.features_inputter.input_signature().items()}\n\n @ZylS.function(input_signature=(HHwN,))\n def zizW(bySB):\n bySB = YKHO.features_inputter.make_features(features=bySB.copy())\n bGrB, N6Z1 = YKHO...
[ "0.7315969", "0.67771196", "0.67448467", "0.6593886", "0.6494422", "0.6493531", "0.64284575", "0.63258106", "0.6306615", "0.62988156", "0.62900025", "0.628656", "0.62825507", "0.6244222", "0.6217006", "0.62039167", "0.6192268", "0.61838126", "0.61792636", "0.6168855", "0.6168...
0.6618527
3
entry2str(entry[, wrap_at[, endline]]) > a string. entry is a dict. Given an entry dict with string values for 'name' and 'sequence', will return a string in noninterleaved NEXUS format. 'endline's (default \\n) will be inserted into the sequence every 'wrap_at' characters (default 80).
def cWzn(bTKY, Nhkm, gz_F): KCHu = [] TorA = len(bTKY['name']) OAwr = Nhkm - TorA - 2 KCHu.append('%s %s%s' % (bTKY['name'], bTKY['sequence'][0:OAwr], gz_F)) if len(bTKY['sequence']) >= OAwr: wWln = list(bTKY['sequence'][OAwr:]) Zlwq = range(1, len(wWln), Nhkm - 8) Zlwq.reve...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HoA6(hTM0, zVh3, UD77, aWuw):\n return f'>{hTM0}|{zVh3}|{UD77}|{len(aWuw)}\\n{aWuw}'", "def BbPT(H5ew, BWXx, iK0n='>', u3tu='=', avzX='\\n'):\n dEzN = iK0n + ' '\n dEzN += str(H5ew)\n dEzN += ' ' + u3tu + ' '\n dEzN += str(BWXx)\n dEzN += avzX\n return dEzN", "def Lsrz(YKHO, bTKY, Nhkm...
[ "0.63064456", "0.6200705", "0.614405", "0.5769507", "0.5652572", "0.56045365", "0.55243444", "0.5392846", "0.5382213", "0.5361466", "0.5187714", "0.5175741", "0.5164723", "0.51061785", "0.50813454", "0.50515944", "0.5011364", "0.49644625", "0.49469957", "0.4935943", "0.491931...
0.8547553
0
Get a tf.function for training step.
def XRN9(C3ST, K0do, eh7H): @ZylS.function def OhA7(kGv_, JuXf, Cfy7): """A single training iteration. Args: image_tensors: A list of [1, height, width, 3] Tensor of type tf.float32. Note that the height and width can vary across images, as they are reshaped w...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SQf2(YKHO) -> YrBT:\n\n def GT2U(NArs: frozen_dict.FrozenDict, VLwa: Callable, Wc9F: Dict[str, jnp.ndarray]) -> AzJI[float, cuzp[str, float]]:\n \"\"\"Loss function.\"\"\"\n FtQR = VLwa({'params': NArs}, Wc9F['source'])\n OwNx = YKHO.fitting_loss(Wc9F['target'], FtQR)\n aRwM = YK...
[ "0.6815308", "0.672745", "0.66933054", "0.66277367", "0.66277367", "0.6619573", "0.66120225", "0.6545176", "0.6469862", "0.64594257", "0.6383388", "0.6319864", "0.62912625", "0.62912416", "0.61952096", "0.6148935", "0.61407393", "0.6134921", "0.6120006", "0.60841286", "0.6057...
0.6037665
22
Get a tf.function for detection.
def R3Jr(C3ST): @ZylS.function def b886(LNo8): """Detect objects in image.""" LNo8, N8OZ = C3ST.preprocess(LNo8) YC2x = C3ST.predict(LNo8, N8OZ) SVFM = C3ST.postprocess(YC2x, N8OZ) return (SVFM, YC2x, ZylS.reshape(N8OZ, [-1])) return b886
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R3Jr(C3ST):\n\n @ZylS.function\n def b886(LNo8):\n \"\"\"Detect objects in image.\"\"\"\n LNo8, N8OZ = C3ST.preprocess(LNo8)\n YC2x = C3ST.predict(LNo8, N8OZ)\n SVFM = C3ST.postprocess(YC2x, N8OZ)\n return (SVFM, YC2x, ZylS.reshape(N8OZ, [-1]))\n return b886", "def...
[ "0.7112774", "0.7107963", "0.71027005", "0.6684678", "0.65463984", "0.65268725", "0.6505286", "0.63129324", "0.61612254", "0.6149816", "0.6118471", "0.60945255", "0.6056584", "0.6024163", "0.5923366", "0.5874666", "0.57565945", "0.57503176", "0.5718735", "0.5704753", "0.56934...
0.71129197
0
Courses should not be listed on the index as they are page extensions.
def ZPXC(YKHO): CBIr = NqOl(is_staff=True, is_superuser=True) YKHO.client.login(username=CBIr.username, password='password') bD7m = gxEw('admin:index') geh0 = YKHO.client.get(bD7m, follow=True) YKHO.assertEqual(geh0.status_code, 200) EzIH = gxEw('admin:courses_course_changelist') YKHO.assert...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GgOq(YKHO):\n return None", "def GgOq(YKHO):\n return None", "def u7se(YKHO):\n _hkX = YKHO.client.get_html('/course/')\n YKHO.assertContains(_hkX, '<h1 class=\"page-header\">My Courses</h1>', status_code=200, html=True)\n lXn3(YKHO, _hkX)", "def cW_5(QePW):\n sDlr = OE_C('direct').get_...
[ "0.72362167", "0.72362167", "0.7036918", "0.6788231", "0.64986944", "0.6484739", "0.64390963", "0.6414259", "0.62774307", "0.62668973", "0.6215031", "0.6189906", "0.61536765", "0.6153099", "0.61501616", "0.6101253", "0.6074351", "0.6070899", "0.60614705", "0.6060615", "0.6030...
0.6414241
8
The admin list view of courses should display the title of the related page.
def DwuS(YKHO): CBIr = NqOl(is_staff=True, is_superuser=True) YKHO.client.login(username=CBIr.username, password='password') GQfX = W10k() bD7m = gxEw('admin:courses_course_changelist') geh0 = YKHO.client.get(bD7m, follow=True) YKHO.assertContains(geh0, GQfX.extended_object.get_title(), status_c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zi68(QePW):\n sDlr = U7iJ.all_courses(QePW)\n return _1tc(QePW, 'templates/browse.html', {'courses': sDlr})", "def sDlr(QePW):\n sDlr = k8nB(QePW.user, QePW.META.get('HTTP_HOST'))\n sDlr = VYCe(sDlr)\n return SGJU('courseware/courses.html', {'courses': sDlr})", "def PMxp(QePW):\n if yf6H(...
[ "0.6409403", "0.6300677", "0.6075833", "0.58664715", "0.5829079", "0.5826556", "0.5807848", "0.576743", "0.5746946", "0.5687991", "0.5687991", "0.5682303", "0.5662944", "0.56115544", "0.558111", "0.5562135", "0.5520698", "0.55202514", "0.54310596", "0.54298484", "0.54099524",...
0.7112943
0
Render the homepage template on the / route
def C_QL(): print(__name__ + ' invoked')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C_QL():\n return TvZl('home/index.html')", "def kZiy():\n return TvZl('homepage.html')", "def C_QL():\n return TvZl('homepage.html')", "def C_QL():\n return TvZl('home/index.html', title='Welcome')", "def bVaH():\n return TvZl('index.html')", "def vja_():\n return TvZl('index.html')...
[ "0.85974133", "0.8569391", "0.85273063", "0.8474367", "0.84740186", "0.8452618", "0.84243995", "0.84243995", "0.84209305", "0.8390326", "0.83126235", "0.82671976", "0.82671976", "0.82671976", "0.82671976", "0.82671976", "0.82671976", "0.8264297", "0.82602227", "0.82514256", "...
0.0
-1
Create dictionary of articles mapped to articles they reference, return dictionary Returns a dictionary representing the mappings of article to the citations it references.
def D9zS(Wo3y): Ac1E() G9jH.debug('============== IN get_citations_ids_map: ================') G9jH.debug('============== ID LIST: ================') G9jH.debug(Wo3y) CLkC = {} for YRbF in range(0, len(Wo3y)): nVrR = SmCS.elink(dbfrom='pubmed', id=Wo3y[YRbF], linkname='pubmed_pubmed_refs...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zBLb(BOjq):\n G9jH.debug('============== IN create_articles_map: ================')\n WunW = {}\n G9jH.debug(BOjq)\n for rt_r in BOjq['PubmedArticle']:\n BYHF = {}\n BYHF['pub_year'] = rt_r['PubmedData']['History'][0]['Year']\n BYHF['pub_lang'] = rt_r['MedlineCitation']['Articl...
[ "0.6525979", "0.65174156", "0.6425909", "0.6093133", "0.6089156", "0.600995", "0.5984705", "0.5902765", "0.5871173", "0.58456105", "0.5763512", "0.56984776", "0.5633719", "0.56330174", "0.5602053", "0.5593481", "0.5584784", "0.55710715", "0.5555471", "0.5548207", "0.5538598",...
0.645926
2
Create articles dictionary, return dictionary Returns a dictionary containing detailed data about query_result Entrez Parser object parsed to a regular Python dictionary.
def zBLb(BOjq): G9jH.debug('============== IN create_articles_map: ================') WunW = {} G9jH.debug(BOjq) for rt_r in BOjq['PubmedArticle']: BYHF = {} BYHF['pub_year'] = rt_r['PubmedData']['History'][0]['Year'] BYHF['pub_lang'] = rt_r['MedlineCitation']['Article']['Languag...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dixj(YKHO):\n yvT9 = []\n V_D6 = 'eid doi pii pubmed_id title subtype creator afid affilname affiliation_city affiliation_country author_count author_names author_ids author_afids coverDate coverDisplayDate publicationName issn source_id eIssn aggregationType volume issueIdentifier article_number pageRan...
[ "0.6377724", "0.6325229", "0.6153114", "0.61009747", "0.6092185", "0.5985947", "0.5911246", "0.5896268", "0.5801798", "0.5784512", "0.57692313", "0.5765684", "0.57631975", "0.5657191", "0.5612762", "0.55811036", "0.5571128", "0.5559934", "0.55520344", "0.55434465", "0.5529153...
0.7246906
0
The calculation of total charge wighted negative surface area It is the partial negative solventaccessible surface area multiplied by the total negative charge. >PNSA2
def nakg(zdgk): wQzQ = Zppu = 0.0 for YRbF in zdgk: if float(YRbF[1]) < 0: wQzQ = wQzQ + float(YRbF[1]) Zppu = Zppu + YRbF[2] Ylbp = wQzQ * Zppu return Ylbp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tGq1(YKHO):\n tGq1 = YKHO.sideLength ** 2 * 6\n return tGq1", "def B7Mv(YKHO) -> float:\n return 4 * oyIN.pi * YKHO.radius ** 2", "def cxVB(YKHO, DhFM, JXDU):\n _P6x = 6.0 / (JXDU * DhFM)\n return _P6x", "def ivpi(YKHO) -> float:\n return YKHO.area()", "def Re0Q(YKHO):\n return oyI...
[ "0.6572207", "0.6483994", "0.64113265", "0.6304656", "0.6274987", "0.6197511", "0.6170694", "0.61496115", "0.60861194", "0.60384613", "0.5866865", "0.58417004", "0.5827651", "0.5820602", "0.5819946", "0.58133954", "0.578421", "0.57838255", "0.57838255", "0.57829434", "0.57806...
0.0
-1
The calculation of relative negative charge surface area >RNCS
def AYjL(zdgk): WJkG = [] for YRbF in zdgk: WJkG.append(float(YRbF[1])) ycBG = [] for YRbF in zdgk: ycBG.append(YRbF[2]) try: j6q7 = min(WJkG) / sum([YRbF for YRbF in WJkG if YRbF < 0.0]) return ycBG[WJkG.index(min(WJkG))] / j6q7 except: return 0.0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cxVB(YKHO, DhFM, JXDU):\n _P6x = 6.0 / (JXDU * DhFM)\n return _P6x", "def ktyI(YKHO) -> oyIN.float64:\n return oyIN.sqrt(oyIN.sum(YKHO.ionic_fractions * YKHO.charge_numbers ** 2))", "def ihwf(YKHO, V_3E):\n return oyIN.abs(V_3E) ** 2", "def Z2T2(YKHO):\n sum = 0.0\n for xUfL in YKHO.sai...
[ "0.62063116", "0.59913546", "0.59450954", "0.5937972", "0.58566266", "0.5768656", "0.57380325", "0.57130086", "0.56735563", "0.566369", "0.56544626", "0.5648585", "0.56446475", "0.56446475", "0.56421643", "0.5639743", "0.5635388", "0.5630033", "0.56272554", "0.56222653", "0.5...
0.5410769
45
Create a new limit sell order with the amount we current have. The amount is total amount and price is determined according to our strategy (either fixed increase or increase depending on the signal).
async def new_limit_order(HEZd): o61b = Z33s.config['symbol'] BMeA = nOtw() Hro0 = Z33s.analyzer.get_last_kline(o61b) FkLV = uly6(Hro0[4]) if not FkLV: RKD7.error(f'Cannot determine last close price in order to create a market buy order.') return None Hw9n = Z33s.config['trader']...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cWg8(YKHO, hI0L=0, akib=0):\n Jpbe = WwoK(YKHO.api_key, YKHO.secret_key, YKHO.passphrase)\n nPrm = {'size': akib, 'price': hI0L, 'side': 'sell', 'product_id': YKHO.rate, 'type': 'limit'}\n ZBqQ = G4JS.post(YKHO.url + 'orders', data=qQXR.dumps(nPrm), auth=Jpbe).json()\n ZBqQ['txid'] = ZBqQ['id']\n ...
[ "0.7394044", "0.71938515", "0.7143917", "0.70112383", "0.6917509", "0.6835225", "0.6710877", "0.66911244", "0.66626763", "0.6604514", "0.6568868", "0.6497517", "0.64885277", "0.64592344", "0.64136094", "0.63963795", "0.6372615", "0.63533545", "0.635211", "0.6337911", "0.63336...
0.73623097
1
Sets the desired settings for the logger
def as6T(ABDL=G9jH.DEBUG, CfXJ='logfiles'): if not LR7z(CfXJ): eviw(CfXJ) G9jH.basicConfig(level=ABDL) B0Sd = Tlgs(gzes(CfXJ, 'NESSILog'), when='d') c1Wp = G9jH.Formatter('[%(asctime)s] %(filename)s:%(funcName)s - %(message)s') B0Sd.setLevel(ABDL) B0Sd.setFormatter(c1Wp) G9jH.getLogg...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uiBj(YKHO):\n vwn2['root']['handlers'].append(YKHO.logmode)\n uiZ5 = G9jH.getLogger(LaN0)\n uiZ5.setLevel(G9jH.ERROR)\n Ylj8(vwn2)\n YKHO.logger = G9jH.getLogger()", "def wmdW(YKHO, bo34):\n YKHO.logger = bo34", "def feK3(YKHO):\n pass", "def AVQu(YKHO, NX0m=G9jH.DEBUG):\n YKHO._l...
[ "0.74176", "0.7095895", "0.69282144", "0.6826923", "0.6799484", "0.67717457", "0.67717457", "0.6756394", "0.6730018", "0.667176", "0.6654869", "0.66297776", "0.66291296", "0.66231596", "0.66037333", "0.65955824", "0.6588919", "0.65835416", "0.6581818", "0.6550928", "0.6518791...
0.0
-1
Returns the ask price
def Tdiq(YKHO): return YKHO.data['ask']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def okLh(YKHO):\n return YKHO.price", "def N_Zi(YKHO):\n if YKHO.price:\n return YKHO.price\n hI0L = hp1l.get_price() or None\n if hI0L:\n YKHO.price = hI0L\n return hI0L\n if not hp1l.prompt('price'):\n return ''\n bAls = {'type': 'input', 'name': 'price', 'message'...
[ "0.7236827", "0.71251833", "0.71034354", "0.70678836", "0.7003833", "0.7003833", "0.7003833", "0.6989772", "0.69891036", "0.68701035", "0.68092954", "0.68092954", "0.6794345", "0.6791103", "0.6783598", "0.6697683", "0.6693055", "0.6669402", "0.6547017", "0.6547017", "0.652292...
0.59735787
78
Returns the bid price
def p_wW(YKHO): return YKHO.data['bid']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vqIG(I26_):\n print('Consultando BID')\n if I26_['marketData']['BI']:\n iVuN = I26_['marketData']['BI'][0]['price']\n print(f'Precio de BID: ${iVuN:,.2f}'.replace('.', ','))\n return iVuN\n print('No hay BIDs activos')\n return None", "def N_Zi(YKHO):\n return YKHO.price",...
[ "0.7482973", "0.7412234", "0.736694", "0.736694", "0.736694", "0.7346365", "0.73199034", "0.7270354", "0.7214473", "0.72128344", "0.7117554", "0.7093904", "0.7093904", "0.7022616", "0.70101255", "0.70031893", "0.6951215", "0.6925883", "0.6907203", "0.68987703", "0.6895927", ...
0.75416416
0
Returns the ask price
def Tdiq(YKHO): nPrm = YKHO.pair.data if nPrm['bid'] == None: return None return 1.0 / nPrm['bid']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def okLh(YKHO):\n return YKHO.price", "def N_Zi(YKHO):\n if YKHO.price:\n return YKHO.price\n hI0L = hp1l.get_price() or None\n if hI0L:\n YKHO.price = hI0L\n return hI0L\n if not hp1l.prompt('price'):\n return ''\n bAls = {'type': 'input', 'name': 'price', 'message'...
[ "0.7236827", "0.71251833", "0.71034354", "0.70678836", "0.7003833", "0.7003833", "0.7003833", "0.6989772", "0.68701035", "0.68092954", "0.68092954", "0.6794345", "0.6791103", "0.6783598", "0.6697683", "0.6693055", "0.6669402", "0.6547017", "0.6547017", "0.6522927", "0.6505204...
0.69891036
8
Returns the bid price
def p_wW(YKHO): nPrm = YKHO.pair.data if nPrm['ask'] == None: return None return 1.0 / nPrm['ask']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p_wW(YKHO):\n return YKHO.data['bid']", "def vqIG(I26_):\n print('Consultando BID')\n if I26_['marketData']['BI']:\n iVuN = I26_['marketData']['BI'][0]['price']\n print(f'Precio de BID: ${iVuN:,.2f}'.replace('.', ','))\n return iVuN\n print('No hay BIDs activos')\n return ...
[ "0.75416416", "0.7482973", "0.7412234", "0.736694", "0.736694", "0.736694", "0.7346365", "0.73199034", "0.7270354", "0.7214473", "0.72128344", "0.7117554", "0.7093904", "0.7093904", "0.70101255", "0.70031893", "0.6951215", "0.6925883", "0.6907203", "0.68987703", "0.6895927", ...
0.7022616
14
Add a set of lines (xys) to an existing image_array
def pm1U(VOC_, YB6i, TVTK=1, _mSQ=None): for YRbF, M_DK in enumerate(YB6i): LNo8 = hnIv.new('L', (VOC_.shape[1], VOC_.shape[0])) nuov.Draw(LNo8).line(M_DK, 200, width=TVTK) b5qK = oyIN.asarray(LNo8, dtype=oyIN.uint8).astype(float) if _mSQ is not None: b5qK *= _mSQ[YRbF] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T0L3(VXjJ, Nqlg):\n for vC9B in Nqlg:\n x6aZ, EqBn, wEf2 = U95l(vC9B[0][1], vC9B[0][0], vC9B[1][1], vC9B[1][0])\n VXjJ[x6aZ, EqBn] = 1\n return VXjJ", "def T0L3(LNo8, Nqlg, nhBs, xX1y, qtWj='last', qfpW=(0, 0, 255), dGrG=3, jrS6='output'):\n FAmd = LNo8.copy()\n for r845 in Nqlg:\n ...
[ "0.690091", "0.6317346", "0.62450397", "0.62330747", "0.6124536", "0.6010603", "0.59763986", "0.58471185", "0.5751895", "0.5740052", "0.5686163", "0.566128", "0.5639682", "0.56229615", "0.562011", "0.5598085", "0.55848616", "0.55842066", "0.5582656", "0.556634", "0.55624914",...
0.7832095
0
Get attribute of a class. It's a closure.
def IUGi(hkS8): mWFP = '_' + hkS8 @property def QWcs(YKHO): """Get the specific attribute.""" return getattr(YKHO, mWFP) @QWcs.setter def QWcs(YKHO, BWXx): """Set the attribute.""" setattr(YKHO, mWFP, BWXx) if wUhG(YKHO, Okue): YKHO.update_str() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JgjC(YKHO, hkS8):\n return getattr(YKHO.get_function(), hkS8)", "def NMoC(YKHO, AniK):\n return getattr(YKHO, AniK)", "def NMoC(YKHO, m2Zb):\n return getattr(m2Zb, YKHO.attribute, '')", "def JgjC(YKHO, hkS8):\n return YKHO.get(hkS8)", "def G7Ug(YKHO, mWFP: str):\n return YKHO.call(mWFP)"...
[ "0.6921349", "0.6904278", "0.6864582", "0.6826837", "0.68178976", "0.66380966", "0.6585605", "0.6490513", "0.6490513", "0.6485459", "0.64374954", "0.6427771", "0.63992226", "0.6391466", "0.6388201", "0.6388201", "0.63720715", "0.6357894", "0.6343627", "0.6327898", "0.6327873"...
0.0
-1
Append val to a list, not modifying the list.
def SStx(*hkxX): xFMF(hkxX, len(hkxX) >= 2) hkxX = list(hkxX) b25f = hkxX[0] raqa = hkxX[1:] aGue(wUhG(b25f, x1iM), 'the first parameter of append must be a list') XVAW = raqa.pop() DgAC = b25f.members + raqa Aofo = Okue(DgAC[-1], XVAW) for YRbF in reversed(DgAC[:-1]): Aofo =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SStx(YKHO, wEf2):\n YKHO.val.append(wEf2)", "def SStx(YKHO, wEf2):\n YKHO._values.push(wEf2)", "def SStx(YKHO, BWXx):\n YKHO.__list += [BWXx]\n return YKHO.__list", "def SStx(YKHO, BWXx):\n YKHO.list.append(BWXx)", "def oHxR(YKHO, wEf2):\n YKHO.nums.append(wEf2)", "def rwLV(YKHO, wE...
[ "0.8263389", "0.815401", "0.77408445", "0.7565862", "0.7408043", "0.7393479", "0.7327365", "0.72849405", "0.7255646", "0.71798116", "0.71175873", "0.71148044", "0.7043663", "0.70054513", "0.69894385", "0.69432247", "0.69418615", "0.6933613", "0.68866295", "0.68703604", "0.682...
0.0
-1
Return the ith element of the list.
def aYqM(b25f, YRbF): aGue(wUhG(b25f, x1iM), 'parameters of list-ref must be a list') return b25f[YRbF]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d6pt(JTgH, YRbF):\n try:\n return JTgH[int(YRbF)]\n except IndexError:\n return None", "def OP2O(YKHO, YRbF):\n return YKHO.get(YRbF, YRbF + 1)", "def Zmkp(qnba, kS1Y):\n if kS1Y >= len(qnba):\n return None\n return qnba[kS1Y]", "def Xz0g(YKHO):\n return YKHO.n", ...
[ "0.719207", "0.70659333", "0.6908586", "0.6724936", "0.6658127", "0.6657087", "0.66506124", "0.6627558", "0.6602421", "0.66007227", "0.6563245", "0.65589917", "0.655312", "0.6492846", "0.6445221", "0.643634", "0.6431621", "0.64178056", "0.6400806", "0.63927436", "0.6387883", ...
0.580982
89
Implementation of operator not.
def Hpqq(pan_): if not wUhG(pan_, bool): return False return not pan_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MYzc(YKHO) -> kJ7p:\n return YKHO.operate(jgEG)", "def xjdh(YKHO, Elif: Any) -> kJ7p:\n return YKHO.operate(xjdh, Elif)", "def QfCR(nPrm):\n return sfxH.logical_not(nPrm)", "def MYzc(nPrm):\n return sfxH.bitwise_not(nPrm)", "def QfCR(WKvO, eHNT=None):\n return iua2(WKvO, f=eHNT).logical_...
[ "0.8070129", "0.80260915", "0.78748524", "0.76537645", "0.76185334", "0.75478834", "0.738145", "0.7371726", "0.7267891", "0.72283626", "0.722463", "0.7192302", "0.7190629", "0.7161215", "0.7161215", "0.7161215", "0.7161215", "0.7145311", "0.7145311", "0.7145311", "0.7145311",...
0.0
-1
Judge whether the symbol is a number.
def ye72(o61b): return wUhG(o61b, complex) or KptB(o61b)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yz_j(YKHO, o61b):\n if o61b.type == YKHO.scanner.NUMBER:\n return True\n else:\n return False", "def A4Bo(YKHO, o61b: str) -> bool:\n return o61b in YKHO.numerals", "def yz_j(KCHu) -> bool:\n try:\n float(KCHu)\n except ValueError:\n return False\n else:\n ...
[ "0.88926446", "0.819002", "0.7540927", "0.74805933", "0.7447623", "0.7417299", "0.7417299", "0.7417299", "0.7403666", "0.7385745", "0.7363715", "0.73635525", "0.7360654", "0.7335066", "0.7332535", "0.7319016", "0.73090607", "0.73057145", "0.7302445", "0.72752583", "0.72616774...
0.820734
1
Compute the least common multiple for two numbers.
def BsJX(_1qI, zDMu): return _1qI * zDMu // nN76.gcd(_1qI, zDMu)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vwzu(gdXy, DWMs):\n return gdXy * DWMs // epAf.gcd(gdXy, DWMs)", "def h9pL(jzdc, Fg_i):\n return jzdc * Fg_i // ML2l(jzdc, Fg_i)", "def TVgX(gdXy, DWMs, fCee, uOLt):\n return vwzu(gdXy * DWMs // epAf.gcd(gdXy, DWMs), fCee * uOLt // epAf.gcd(fCee, uOLt))", "def BsJX(jzdc, Fg_i):\n return jzdc ...
[ "0.87592685", "0.8410335", "0.79616493", "0.7719885", "0.7687137", "0.7654425", "0.7617038", "0.7617038", "0.75916165", "0.75916165", "0.75916165", "0.75916165", "0.75916165", "0.75916165", "0.75916165", "0.75916165", "0.75916165", "0.7587978", "0.7565455", "0.754108", "0.754...
0.7318181
35
Return forced value in promise else raise exception.
def wnye(XCpI): aGue(wUhG(XCpI, sD2T), 'the parameter of promise_forced must be a Promise') if PnhF(XCpI): return XCpI.exprs.env.find(wZLS('result'))['result'] raise RuntimeError('the promise has not been forced')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BWXx(YKHO):\n YKHO.wait(0)\n try:\n BWXx = YKHO._value\n except AttributeError:\n raise AttributeError('Deferred value not available')\n if isinstance(BWXx, yGfr):\n raise BWXx\n return BWXx", "def BWXx(YKHO):\n YKHO.event.wait()\n if not YKHO.exc:\n return YK...
[ "0.66377974", "0.6448812", "0.6353991", "0.6314438", "0.59620595", "0.5945501", "0.59249043", "0.58996284", "0.57959", "0.5744193", "0.5641146", "0.5623533", "0.5600036", "0.5599646", "0.55961686", "0.55679035", "0.5533431", "0.5526598", "0.55179805", "0.55179805", "0.5493913...
0.71281993
0
Takes a labeled array as returned by scipy.ndimage.label and returns an intrafeature distance matrix. The functions calculates the distance between every two nonzero element of the input matrix. In order to accelerate the calculation type and avoid unnecessary calculation, the inner pixels within the coherent regions s...
def ndgj(zv7B, BlNT=oyIN.ones((3, 3))): hhT2 = ibBc(zv7B, structure=BlNT) zv7B[hhT2] = 0 pdhd, Oa10 = oyIN.nonzero(zv7B) Crrw = zv7B[pdhd, Oa10] jNOo = oyIN.column_stack((pdhd, Oa10)) eLty = oyIN.argsort(Crrw) Crrw = Crrw[eLty] jNOo = jNOo[eLty] pdhd = pdhd[eLty] Oa10 = Oa10[eLty...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QfEM(pG0V):\n Nq1b = pG0V.shape[0]\n Ylbp = oyIN.zeros_like(pG0V)\n for Z9rn in range(1, Nq1b):\n qF5g = pG0V[Z9rn].astype(oyIN.bool)\n if qF5g.any():\n s9UT = ~qF5g\n Ylbp[Z9rn] = Ayfi(s9UT) * s9UT - (Ayfi(qF5g) - 1) * qF5g\n return Ylbp", "def fuOl(WCPv, Crrw...
[ "0.6343657", "0.5941088", "0.5838073", "0.5836737", "0.56563336", "0.5553434", "0.55051297", "0.54339606", "0.5366263", "0.5346288", "0.5342138", "0.5333087", "0.5304407", "0.5301612", "0.529603", "0.526296", "0.52069753", "0.5197093", "0.51921463", "0.5187018", "0.51837975",...
0.6820051
0
quick unban command with reasons
async def unban(YKHO, OaeV, *, mS46): YLkF = await OaeV.guild.bans() gPn2, qhZO = mS46.split('#') for bvw7 in YLkF: CBIr = bvw7.user if (CBIr.name, CBIr.discriminator) == (gPn2, qhZO): await OaeV.guild.unban(CBIr) await OaeV.send(f'Unbanned {CBIr.name}#{CBIr.discrimin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def unban(YKHO, OaeV, mWFP: str):\n try:\n l_0t = await YKHO.bot.get_bans(OaeV.message.server)\n CBIr = ZOrr.utils.get(l_0t, name=mWFP)\n if CBIr is not None:\n await YKHO.bot.unban(OaeV.message.server, CBIr)\n except ZOrr.Forbidden:\n await YKHO.bot.say('I do not...
[ "0.77299154", "0.7625046", "0.72241914", "0.72019064", "0.67524964", "0.6746936", "0.6704349", "0.66777074", "0.6664596", "0.65164787", "0.6427737", "0.63570565", "0.63322943", "0.62869537", "0.62857884", "0.62845266", "0.62773", "0.62171733", "0.6209478", "0.61875534", "0.61...
0.6767483
4
Assert that URLs are dropped from the text.
def xHPw(): oVDR = mxie() assert oVDR.transform([['www.test.com']])['corpus'][0] == '' assert not oVDR.drops['url'].dropna().empty
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EGZf(l5Ny):\n pass", "def oCZC(YKHO):\n YKHO.assertEqual(YKHO.content.url_text(), '')\n YKHO.content.url = 'https://www.foobar.com/cool'\n YKHO.assertEqual(YKHO.content.url_text(), 'foobar.com/...')\n YKHO.content.url = 'www.foobar.com/cool'\n YKHO.assertEqual(YKHO.content.url_text(), 'foob...
[ "0.7155198", "0.7083242", "0.66406363", "0.6571516", "0.6547821", "0.654525", "0.64671475", "0.6452325", "0.6420016", "0.6394082", "0.6347634", "0.6253198", "0.6226735", "0.62151295", "0.6129695", "0.61156976", "0.6103276", "0.6096395", "0.6095377", "0.6092619", "0.6086321", ...
0.7633811
0
Assert that the gpu implementation calls the get method of matrix.
def tFj8(): KxLt = pmBR(device='gpu', engine='cuml') trZe.raises(ValueError, KxLt.fit_transform, e1GD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aBld(YKHO):\n zMIt = ogAU.create_matrix(5, 2)\n YKHO.assertEqual(0, zMIt[1][4])\n with YKHO.assertRaises(Exception):\n zMIt[2][5]", "def UF1o(YKHO):\n jzdc = SppC([[1.0, 2.0], [2.0, 1.0]])\n YKHO.do(jzdc, None)", "def v7qa(YKHO):\n YKHO.assertEqual(YKHO.empty_dms.DistanceMatrices, ...
[ "0.61742353", "0.5900925", "0.5863344", "0.5842674", "0.5817142", "0.57902217", "0.57811975", "0.57633656", "0.5718977", "0.56884605", "0.5688235", "0.5679555", "0.5651649", "0.5637121", "0.5635859", "0.5624651", "0.5623014", "0.56209016", "0.556423", "0.5537308", "0.5520254"...
0.0
-1
Compute the index of the min/max value and its distance from the sample mean.
def mFyf(YKHO, nPrm): d6pt = YKHO._get_index(nPrm) BWXx = nPrm[d6pt] return (d6pt, abs(BWXx - nPrm.mean()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mFyf(YKHO, nPrm):\n eZEb = abs(nPrm - nPrm.mean())\n d6pt = eZEb.idxmax()\n BWXx = eZEb[d6pt]\n return (d6pt, BWXx)", "def Aqe8(QOe9, TpoY):\n oWao = QOe9 - TpoY\n xy5z = oWao ** 2\n _u9S = xy5z.sum(axis=1)\n aZ1n = oyIN.sqrt(_u9S)\n return aZ1n.argmin()", "def yYYi(YKHO):\n C...
[ "0.6794804", "0.60125315", "0.59731704", "0.5933289", "0.5896697", "0.58446246", "0.5835186", "0.5784116", "0.5783468", "0.5758512", "0.57264084", "0.5714464", "0.5694405", "0.5683164", "0.56745577", "0.5672318", "0.5651434", "0.5631669", "0.5614416", "0.5609488", "0.5609264"...
0.6365683
1
Returns a humanreadable string representation of this object.
def zAg0(YKHO): return u'{} - {}'.format(YKHO.label, YKHO.message)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return '<%s: %s>' % (YKHO.__class__, YKHO.describe())", "def zAg0(YKHO):\n if YKHO.__description:\n return YKHO.__description\n return repr(YKHO)", "def yoaG(YKHO):\n return str(YKHO)", "def wHJl(YKHO):\n return str(YKHO)", "def wHJl(YKHO):\n return str(YKHO)", ...
[ "0.8249965", "0.8129905", "0.8112355", "0.80885434", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.8074016", "0.80593", "0.80593", "0.80593", "0.80593", "0.80561...
0.0
-1
Create CSV file for each dataframe.
def E3yi(nPrm, H5ew, BWXx): nPrm.to_csv('camelot/clean/nrld_{}_{}.csv'.format(H5ew, BWXx), index=False) return nPrm
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _FRv(YKHO):\n try:\n rLdf.DataFrame(YKHO.data, columns=YKHO.header).to_csv(Hy7s.path.join(YKHO.file_path, YKHO.file_name), index=False)\n YKHO.successful_run = True\n except:\n raise", "def A5ou(L9AY, qIxc):\n for jQ3Z in L9AY:\n sd77 = f'{qIxc.output_prefix}_{V04M(jQ3Z.i...
[ "0.752253", "0.73731476", "0.73102915", "0.7309827", "0.7158301", "0.7083257", "0.7064362", "0.70062345", "0.6988307", "0.6953233", "0.6895461", "0.6886018", "0.6857747", "0.68426746", "0.6804895", "0.6783859", "0.6770421", "0.67435", "0.6706146", "0.6694713", "0.6682821", ...
0.0
-1
Strip '\x00' from a buffer of bytes
def P60c(LaVg: bytes) -> bytes: if b'\x00' in LaVg: return LaVg[:LaVg.find(b'\x00')] else: return LaVg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VTG1(l5Ny):\n return l5Ny.replace('\\x00', '<NUL>')", "def U2KS(YKHO, bytes):\n try:\n Fg_i = bytes.index(b'\\x00')\n except ValueError:\n return bytes.decode('latin-1').strip()\n else:\n return bytes[:Fg_i].decode('latin-1').strip()", "def heBZ(Dhyu):\n b9co = Dhyu.find...
[ "0.70020413", "0.6938823", "0.67705655", "0.6426264", "0.6408555", "0.62753904", "0.6154169", "0.6065841", "0.60506994", "0.6011202", "0.6009207", "0.5808783", "0.5782977", "0.57821727", "0.5753728", "0.56938696", "0.5680717", "0.56625795", "0.56604236", "0.5659381", "0.56028...
0.8715432
0
Constructor for Abstract Message Takes in all args that were given to the concrete message and stores them to later be packed
def FIMM(YKHO, *qIxc: Any): YKHO.__args: x1iM[ImMB] = [WKvO.to_bytes() if isinstance(WKvO, ZJTO) else WKvO for WKvO in qIxc]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, Ol8d: str=None, **B2fa):\n YKHO.message = Ol8d\n YKHO.kwargs = B2fa\n YKHO.args = {}\n YKHO.args['message'] = YKHO.message\n YKHO.args['args'] = YKHO.kwargs", "def FIMM(YKHO, Ol8d, *qIxc, **B2fa):\n YKHO.message = Ol8d\n super().__init__(*qIxc, **B2fa)", "def FIMM(YKHO, nPrm...
[ "0.7705489", "0.73976827", "0.7141936", "0.7140957", "0.71113956", "0.7014315", "0.6975174", "0.6939228", "0.6907928", "0.69034564", "0.6871111", "0.6842526", "0.6842526", "0.6842526", "0.6833721", "0.6833721", "0.68244433", "0.6805947", "0.68031967", "0.6799859", "0.6799859"...
0.0
-1
Initializes self.chitchat_bot with some conversational model.
def CkZ8(YKHO): YKHO.chatbot = W8e4('skoochbot', trainer='chatterbot.trainers.ChatterBotCorpusTrainer') YKHO.chatbot.train('chatterbot.corpus.english') print('Extra training...') YKHO.chatbot.set_trainer(uJts) YKHO.chatbot.train(['Hello', 'Hello. How are you?', 'I am well.', 'Good to hear', 'So, wha...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, JyK9):\n YKHO.bot = JyK9", "def FIMM(YKHO, JyK9):\n YKHO.bot = JyK9", "def lC6i(YKHO):\n YKHO.conversation = C3ST.conversation.ConversationSystem()\n for mWFP in 'abcde':\n YKHO.conversation.addKnowledge(['{0}-alive'.format(mWFP)])\n YKHO.conversation.convertPresentToRequir...
[ "0.67929095", "0.67929095", "0.67672825", "0.67607635", "0.6641166", "0.6511156", "0.6511156", "0.6435355", "0.6302653", "0.62517583", "0.60971355", "0.60947114", "0.60165435", "0.5970731", "0.5947144", "0.5945499", "0.5942612", "0.5897279", "0.5893073", "0.5875649", "0.58617...
0.69043535
0
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
def e_63(K0do, qtWj): tspZ = qIxc.lr * 0.95 ** qtWj for Lwm5 in K0do.param_groups: Lwm5['lr'] = tspZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e_63(DJmW, K0do, qtWj, exwG=100):\n DJmW = DJmW * 0.1 ** (qtWj // exwG)\n print('learning rate : ', DJmW)\n for Lwm5 in K0do.param_groups:\n Lwm5['lr'] = DJmW", "def e_63(ouZy, K0do, qtWj, dLlC):\n tspZ = ouZy * 0.3 ** (qtWj // 5)\n if qtWj == dLlC:\n tspZ = tspZ * 0.3\n for L...
[ "0.79138637", "0.7907123", "0.78501725", "0.77759194", "0.77345806", "0.77311844", "0.7723001", "0.77227825", "0.772003", "0.7709925", "0.76942194", "0.7674993", "0.7666409", "0.7666409", "0.7666409", "0.7654975", "0.7642442", "0.764", "0.7638515", "0.7626761", "0.7625353", ...
0.73053
92
Computes the precision for the specified values of k
def vjyh(hlel, pan_, hz5a=(1,)): Gq8e = max(hz5a) Ep8u = pan_.size(0) bGrB, nvEb = hlel.topk(Gq8e, 1, True, True) nvEb = nvEb.t() gXXc = nvEb.eq(pan_.view(1, -1).expand_as(nvEb)) Ylbp = [] for G1Hx in hz5a: R2Dg = gXXc[:G1Hx].view(-1).float().sum(0) Ylbp.append(R2Dg.mul_(100....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rhd_(_ger, nvEb, G1Hx):\n G1Hx = min(len(nvEb), G1Hx)\n OCOs = min(len(_ger), G1Hx)\n return sum([int(nvEb[YRbF] in _ger) for YRbF in range(G1Hx)]) / OCOs", "def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx] != 0\n if Mkmy.size != G1Hx:\n raise ValueError('R...
[ "0.7642779", "0.74189687", "0.74181074", "0.727035", "0.72464293", "0.724466", "0.72376424", "0.72212404", "0.72101134", "0.70590943", "0.6852469", "0.67868036", "0.67830473", "0.6767807", "0.67266494", "0.6717419", "0.6717419", "0.6717419", "0.6717419", "0.6717419", "0.67174...
0.0
-1
Returns a dictionary containing the current environment variables augmented with the part specific overrides. The dictionary is an independent copy of ``os.environ`` and modifications will not be reflected in back in ``os.environ``.
def KW8w(YKHO): sEAN = Hy7s.environ.copy() sEAN.update(YKHO.environ) return sEAN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TSnC():\n return {'os.environ': Wd9F(('AUTH_DOMAIN', 'CURRENT_CONFIGURATION_VERSION', 'CURRENT_MODULE_ID', 'CURRENT_VERSION_ID', 'DEFAULT_VERSION_HOSTNAME', 'FEDERATED_IDENTITY', 'FEDERATED_PROVIDER', 'GAE_LOCAL_VM_RUNTIME', 'HTTP_HOST', 'HTTP_PROXY', 'HTTP_X_APPENGINE_HTTPS', 'HTTP_X_APPENGINE_QUEUENAME', ...
[ "0.7463404", "0.74135685", "0.73664194", "0.7339993", "0.7311293", "0.7131835", "0.71075463", "0.7003702", "0.6960859", "0.69417185", "0.69417185", "0.69417185", "0.6935614", "0.6922657", "0.6906943", "0.6906943", "0.68895435", "0.68584484", "0.6835128", "0.6827596", "0.68150...
0.7820573
0
sx + ty = gcd(x, y) = 1 x = p y = a in GF(p) t = a1 in GF(p)
def RHr8(jzdc: int) -> int: if jzdc == 0: raise ZeroDivisionError('Cannot compute the multiplicative inverse of 0 in a Galois field.') CYjz, J1b4 = (D9KB, jzdc) SpII, n2Q1 = (0, 1) while J1b4 != 0: vexM = CYjz // J1b4 CYjz, J1b4 = (J1b4, CYjz - vexM * J1b4) SpII, n2Q1 = (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oXf7(jzdc, Fg_i):\n nJ9F = 1\n o4D3 = 0\n nxyw = 0\n si3g = 1\n while Fg_i != 0:\n XP5J = jzdc // Fg_i\n epBp = jzdc % Fg_i\n jzdc = Fg_i\n Fg_i = epBp\n yzQ0 = o4D3\n o4D3 = nJ9F - XP5J * o4D3\n nJ9F = yzQ0\n Ty9i = si3g\n si3g = nx...
[ "0.69932866", "0.6588971", "0.6588971", "0.6588971", "0.6477707", "0.6461463", "0.6458131", "0.64495254", "0.64480007", "0.64464974", "0.6400425", "0.64003545", "0.6364798", "0.63362604", "0.6327832", "0.63026994", "0.62844914", "0.62665075", "0.62529624", "0.62496233", "0.62...
0.0
-1
This generator yields a sequence of 0/255 values for the 1bit pixels of the image. We extend the row to stride 8 pixels.
def tzE6(LNo8, _0fC): yzQ0, MKlR = LNo8.size for LVAh in range(MKlR): for WKvO in range(yzQ0): BWXx = LNo8.getpixel((WKvO, LVAh)) yield BWXx for WKvO in range(yzQ0, _0fC * 8): yield 0 raise StopIteration
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Poig(LNo8):\n yzQ0, MKlR = LNo8.size\n for LVAh in range(MKlR):\n for WKvO in range(yzQ0):\n BWXx = D2f5(LNo8.getpixel((WKvO, LVAh)))\n yield BWXx\n raise StopIteration", "def qYUU(JZXy):\n jvSB = 0\n UHFx = 0\n next = 0\n while True:\n while jvSB == n...
[ "0.70036536", "0.66047704", "0.6190772", "0.6107249", "0.6094838", "0.59324247", "0.5775729", "0.57321316", "0.5658611", "0.55954134", "0.55954134", "0.55538034", "0.55362445", "0.5535247", "0.5517691", "0.55102646", "0.5497774", "0.54790884", "0.5427604", "0.540152", "0.5393...
0.7854041
0
Returns the next value in the sequence. Returns 1 at the end of the sequence.
def oRw5(YKHO): if YKHO.si >= len(YKHO.str): return -1 ez2z = 0 Fg_i = ord(YKHO.str[YKHO.si]) if YKHO.zero_expands: VhLx = (1 << YKHO.n) - 1 ETK8 = Fg_i & VhLx << YKHO.bi - YKHO.n while ETK8 == 0: ez2z += 1 YKHO.bi -= YKHO.n if YKHO.bi ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def next(YKHO) -> int:\n BWXx = YKHO.inorder[YKHO.index]\n YKHO.index = YKHO.index + 1\n return BWXx", "def lnAX(YKHO):\n DpUl = YKHO._next_sequence_number\n YKHO._next_sequence_number += 1\n return DpUl", "def next(YKHO) -> int:\n YKHO.idx += 1\n return YKHO.m[YKHO.idx]", "def next(Y...
[ "0.74392724", "0.7390471", "0.7351171", "0.7351171", "0.71733165", "0.7155285", "0.7135788", "0.71176004", "0.70082283", "0.6929608", "0.6906658", "0.6890229", "0.6880099", "0.68420315", "0.68154716", "0.67666364", "0.665304", "0.66502506", "0.66109776", "0.65784675", "0.6569...
0.58909136
94
This function checks if there are any operators within quotation marks.
def sEoD(NPoT): RWSc = '\\&|\\||AND|OR|BUT\\sNOT|NOT|\\~|\\,|NEAR\\d{1,3}|WITHIN\\d{1,3}' Ljb5 = 0 p7Om = 0 EooD = 0 fgbP = 0 for hcXw in NPoT: if hcXw == '"': if Ljb5 == 1: fgbP = p7Om Ljb5 -= 1 else: Ljb5 += 1 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def olzg(NPoT):\n RWSc = '\\\\&|\\\\||AND|OR|BUT\\\\sNOT|NOT|\\\\~|\\\\,|NEAR\\\\d{1,3}|WITHIN\\\\d{1,3}'\n njyT = ZbWC.compile('(%s)\\\\s*(%s)' % (RWSc, RWSc))\n if ZbWC.search(njyT, NPoT) is None:\n return True\n else:\n return False", "def tpts(YKHO, vIwR):\n if vIwR in '+-/*^()':...
[ "0.6988757", "0.69684064", "0.6846374", "0.6846187", "0.68413997", "0.67898184", "0.6681477", "0.6637795", "0.6577902", "0.6570639", "0.6473884", "0.6448235", "0.6448054", "0.6439564", "0.6432807", "0.6394247", "0.63609624", "0.6310275", "0.6297373", "0.628184", "0.62500435",...
0.74937034
0
Captures the transitions in episodes and writes them to disk. Uses a random agent.
def b8V_(): wvEv = j1Jz.ArgumentParser(description=b8V_.__doc__) wvEv.add_argument('--maxsteps', type=int, default=100000) wvEv.add_argument('--seed', type=int, default=0) wvEv.add_argument('--savefile', type=str, required=True) jc_i = max(YmkY() - 1, 1) wvEv.add_argument('--maxprocs', type=int,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _8MJ(sEAN, YWSi, j7hk, gXgy, _1tc=False):\n yvT9 = XC5k.VideoWriter(gXgy, XC5k.VideoWriter_fourcc('M', 'J', 'P', 'G'), 15, (500, 500))\n for YRbF in range(j7hk):\n t9QS = 0\n W061 = sEAN.reset()\n Mkmy = 0\n _ins = False\n while True:\n VXjJ = sEAN.render(mod...
[ "0.68245167", "0.65842485", "0.62148046", "0.6206847", "0.6179304", "0.6106893", "0.60734475", "0.6056479", "0.60546553", "0.5975989", "0.59425837", "0.5942023", "0.592897", "0.5901999", "0.5887114", "0.5873243", "0.58605814", "0.5856597", "0.5855516", "0.58402133", "0.581937...
0.0
-1
returns whether an edge should be there according to the graph topology
def mjq9(pNZh, D70y): return gr9e(0.5)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IWu0(YKHO, kwf7):\n return kwf7 in YKHO.edges", "def GJ1X(YKHO, WKvO, LVAh):\n return LVAh in YKHO._dictOut[WKvO]", "def GJ1X(YKHO, WKvO, LVAh):\n return LVAh in YKHO._dict[WKvO]", "def GJ1X(YKHO, WKvO, LVAh):\n return YKHO._matr[WKvO][LVAh]", "def GJ1X(YKHO, WKvO, LVAh):\n return YKHO.m...
[ "0.7691869", "0.7482167", "0.73988265", "0.73176223", "0.73046106", "0.728305", "0.7260127", "0.7187203", "0.7179318", "0.70303434", "0.7025172", "0.70143557", "0.70051324", "0.6994433", "0.69447577", "0.6932793", "0.69206667", "0.68799204", "0.6814416", "0.6758651", "0.67447...
0.0
-1
Convert a NCEI CDO JSON to a pandas dataframe.
def mXIJ(LTOQ, e1c2, kepv=None, KhBf=None): eOtH = BfDw.read_api_key('ncei_cdo') D58_ = i9zE(eOtH, default_units='metric', default_limit=1000) D58_.verbose = False jQ3Z = D58_.get_data_by_station(datasetid=LTOQ, stationid=e1c2, startdate=rLdf.to_datetime(kepv), enddate=rLdf.to_datetime(KhBf), return_dat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def onUf(nPrm: str) -> CwDs.DataFrame:\n zZcM = qQXR.loads(nPrm)\n if isinstance(zZcM, list):\n return CwDs.DataFrame.from_records(zZcM)\n if 'instances' in zZcM:\n return CwDs.DataFrame.from_records(zZcM['instances'])\n if 'inputs' in zZcM:\n return CwDs.DataFrame.from_dict(zZcM['...
[ "0.62360793", "0.6071436", "0.59299934", "0.58233607", "0.5821907", "0.57932353", "0.57882094", "0.5759153", "0.5726504", "0.571789", "0.5648804", "0.56148946", "0.5606621", "0.559922", "0.55247587", "0.5447501", "0.5441097", "0.5416532", "0.5362113", "0.5341404", "0.5329207"...
0.6060098
2
Test making a Square from a dict
def s76E(YKHO): KrbB = {'id': 5, 'size': 3, 'x': 2, 'y': 1} jzdc = _UKz(3, 2, 1, 5) Fg_i = _UKz.create(**KrbB) YKHO.assertEqual(jzdc.id, Fg_i.id) YKHO.assertEqual(jzdc.width, Fg_i.width) YKHO.assertEqual(jzdc.height, Fg_i.height) YKHO.assertEqual(jzdc.x, Fg_i.x) YKHO.assertEqual(jzdc.y, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def njKs(YKHO):\n Csk6 = YKHO.s1.to_dictionary()\n pGmv = _UKz.create(**Csk6)\n YKHO.assertEqual(str(pGmv), str(YKHO.s1))", "def njKs(YKHO):\n PvC2 = _UKz(5, 5, 5, 4)\n U7k1 = PvC2.to_dictionary()\n HuaE = _UKz.create(**U7k1)\n YKHO.assertNotEqual(PvC2, HuaE)", "def Jov4(YKHO):\n _UKz.r...
[ "0.77072847", "0.766049", "0.69994026", "0.6979771", "0.6875616", "0.6786906", "0.6580285", "0.64699626", "0.6411378", "0.63095945", "0.628247", "0.6267928", "0.6200148", "0.6134323", "0.6117696", "0.60865325", "0.60275936", "0.60250145", "0.601296", "0.59937614", "0.59326184...
0.8085536
0
r"""__eq__(Connection self, Connection rhs) > bool
def xa14(YKHO, RKYb): return ED7W.Connection___eq__(YKHO, RKYb)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if not isinstance(Elif, vhjv):\n return False\n return YKHO.__dict__ == Elif.__dict__", "def xa14(YKHO, Elif):\n return YKHO.conn == Elif.conn and YKHO.p1 == Elif.p1 and (YKHO.p2 == Elif.p2)", "def xa14(YKHO, Elif):\n if not isinstance(Elif, L7XX):\n return Fal...
[ "0.8288482", "0.8121828", "0.7857973", "0.78404593", "0.7710206", "0.76408386", "0.7586854", "0.75410694", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "0.75184166", "...
0.87663716
0
r"""__lt__(Connection self, Connection rhs) > bool
def JWbp(YKHO, RKYb): return ED7W.Connection___lt__(YKHO, RKYb)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JWbp(YKHO, Elif):\n return True", "def JWbp(YKHO, Elif):\n return True", "def JWbp(YKHO, Elif):\n return YKHO <= Elif and YKHO != Elif", "def JWbp(YKHO, Elif):\n return YKHO <= Elif and YKHO != Elif", "def JWbp(YKHO, Elif):\n return YKHO.__le__(Elif) and YKHO.__ne__(Elif)", "def JWbp(Y...
[ "0.7596476", "0.7596476", "0.7458926", "0.7458926", "0.7458918", "0.7432387", "0.7299423", "0.7283935", "0.7282821", "0.7220784", "0.71652895", "0.715412", "0.7144389", "0.71166253", "0.71166253", "0.7110336", "0.70951635", "0.7084888", "0.7063386", "0.7063372", "0.70587766",...
0.8458936
0
r"""__init__(STable self, int dim, int connections_per_row=3) > STable
def FIMM(YKHO, tpio, cmw8=3): ED7W.STable_swiginit(YKHO, ED7W.new_STable(tpio, cmw8))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, *qIxc):\n ED7W.Table_swiginit(YKHO, ED7W.new_Table(*qIxc))", "def FIMM(YKHO, usx6=[]):\n YKHO._rows, YKHO._columns = (qJ6w(YKHO), mvUn(YKHO))\n YKHO._m = 0\n YKHO.extend(usx6)", "def FIMM(YKHO, usx6, WfCS, rb7a):\n YKHO.rows = usx6\n YKHO.cols = WfCS\n YKHO.depth = rb7a\n ...
[ "0.69283414", "0.69271743", "0.6822354", "0.681418", "0.66978014", "0.6686127", "0.6616789", "0.6599677", "0.65682334", "0.65662944", "0.6416784", "0.63747585", "0.63651276", "0.62946993", "0.6288352", "0.6272444", "0.622977", "0.62290984", "0.6190136", "0.61735165", "0.61441...
0.91892374
0
r"""NumberOfRows(DSTable self) > int
def GU5X(YKHO): return ED7W.DSTable_NumberOfRows(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SWGE(YKHO) -> int:\n ...", "def NwL4(YKHO):\n return len(YKHO.rows)", "def szAg(YKHO):\n return len(YKHO.rows)", "def NwL4(YKHO):\n return len(YKHO.rows)", "def DR2N(YKHO) -> int:\n return len(YKHO.rows)", "def DR2N(YKHO) -> int:\n return len(YKHO.rows)", "def szAg(YKHO):\n ret...
[ "0.73181444", "0.70509183", "0.70400465", "0.69242114", "0.6891161", "0.6891161", "0.6872741", "0.6805292", "0.6727057", "0.6682585", "0.6661005", "0.66498756", "0.6619065", "0.65826124", "0.6544138", "0.6476911", "0.64691174", "0.644389", "0.64086026", "0.6392717", "0.639241...
0.79213095
0
Fetches unique elements in a list.
def kcwm(Kt9y): vaOw = [] for WKvO in Kt9y: if WKvO not in vaOw: vaOw.append(WKvO) return vaOw
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ONhe(BDwY):\n return list(set(BDwY))", "def vaOw(uBiB):\n return set(uBiB)", "def kcwm(IqQl):\n try:\n vaOw = []\n for WKvO in IqQl:\n if WKvO not in vaOw:\n vaOw.append(WKvO)\n return vaOw\n except TypeError as detail:\n return 'int object ...
[ "0.75204873", "0.7417192", "0.7240101", "0.7172696", "0.71503067", "0.70646673", "0.70432264", "0.69681555", "0.6956914", "0.69495887", "0.6917237", "0.6915752", "0.6903149", "0.6890926", "0.6772238", "0.67101705", "0.6703569", "0.66854006", "0.66686225", "0.6667973", "0.6638...
0.6930155
10
Returns the count of variables for a line that has variable(s) in a Python script.
def HYYR(nUeQ): Tlca = [] with open(nUeQ, encoding='utf-8', errors='ignore') as eHNT: for r9Hf, zFiD in enumerate(eHNT): LHbU = ZbWC.search('^(?=.*=)(?!.*==)(?!.*-=)(?!.*\\+=)(?!.*\\*=)(?!.*import)(?!.*def)(?!.*;).*', zFiD) if LHbU: SRYB = zFiD.split('=', 1)[0] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hgYQ(__n6, XqmZ):\n BDYS = __n6[0].keys()\n mLGw = 0\n for Es0b in BDYS:\n if XqmZ in Es0b:\n mLGw += 1\n return mLGw", "def eOqM(YKHO):\n return len(YKHO.initializedVars['GF']) + len(YKHO.initializedVars['LF']) + len(YKHO.initializedVars['TF'])", "def ixCW(YKHO, r8JX):\n ...
[ "0.674192", "0.6577156", "0.6502371", "0.6275816", "0.625485", "0.61881924", "0.6179578", "0.61794853", "0.6167017", "0.6153191", "0.6119793", "0.6095014", "0.60789293", "0.60200053", "0.5940954", "0.58748287", "0.58090055", "0.58047014", "0.57693493", "0.57683784", "0.575009...
0.787804
0
creates a TensorVariable of the given shape and type
def k6QW(mWFP, ROpF, yDqo): ROpF = oyIN.atleast_1d(ROpF) SRYB = tIgR(str(yDqo), ROpF == 1)(mWFP) SRYB.dshape = tuple(ROpF) SRYB.dsize = int(oyIN.prod(ROpF)) return SRYB
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SRYB(KvM0, nQ5H=0, Bun1=None):\n from deepy.core.neural_var import NeuralVariable\n from deepy.core.env import env\n from theano.tensor.var import TensorVariable\n if isinstance(KvM0, NeuralVariable):\n SRYB = KvM0\n if nQ5H != 0:\n SRYB.output_dim = nQ5H\n elif isinstan...
[ "0.729683", "0.70468736", "0.69661313", "0.6814048", "0.66985804", "0.6653034", "0.66455615", "0.66404825", "0.6635486", "0.66089976", "0.657259", "0.65465534", "0.65037984", "0.64901954", "0.64866406", "0.6344335", "0.6308054", "0.6295618", "0.6288674", "0.6288674", "0.62886...
0.7838223
0
export the specified motif to a pandas dataframe
def Y7eq(YKHO, w3fG, eEe9): vq3N = YKHO.__get_motif_id(w3fG, eEe9) sCgS = YKHO.tables['motif_pssm_rows'] x0KM = sCgS[(sCgS.iteration == YKHO.iteration) & (sCgS.motif_info_id == vq3N)] x0KM.drop(['motif_info_id', 'iteration', 'row'], 1, inplace=True) return x0KM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cf3E(ykb1):\n ykb1.to_csv('reactors_pris_2016.csv', index=False, sep=',')", "def I2na(n80H: str):\n Cm1A = 'https://www.affarsvarlden.se/ipo-guiden/screener'\n E_qD = PZiI.get_chrome_driver_for_url(url=Cm1A)\n import time\n time.sleep(2)\n PZiI.remove_ad(chrome_driver=E_qD)\n E_qD.execut...
[ "0.5933712", "0.5891572", "0.57654464", "0.57008946", "0.56977654", "0.5687174", "0.56842023", "0.5602609", "0.5511893", "0.5511893", "0.5500696", "0.5449493", "0.5439807", "0.5419989", "0.5388766", "0.53855205", "0.5381732", "0.5373441", "0.53679895", "0.53585464", "0.534643...
0.0
-1
Predicate on whether number has an even number of set bits. Variant of kernighan's algorithm.
def UHq7(mLGw: int) -> int: qG84 = True while mLGw != 0: mLGw &= mLGw - 1 qG84 != qG84 return qG84
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ubP8(exwG):\n return not exwG & 1", "def ubP8(NeqB):\n if list(NeqB).count('1') % 2 == 0:\n return True\n else:\n return False", "def ubP8(WKvO):\n return WKvO & 1 == 0", "def lV5r(FGW3: int) -> bool:\n return FGW3 & 1 == 0", "def vf3I(exwG):\n return exwG % 2 == 0", "...
[ "0.778172", "0.76012075", "0.75431395", "0.72146493", "0.703786", "0.70363736", "0.6982985", "0.69545233", "0.6952043", "0.69456315", "0.6904122", "0.68976945", "0.68932724", "0.68591934", "0.68445736", "0.68411094", "0.68221337", "0.68099296", "0.67939466", "0.6790237", "0.6...
0.8118144
0
fill in dictionary with key walues from a txt file
def xGOE(): nPrm = open('words.txt') eUNp = dict() for GIN8 in nPrm: eUNp[GIN8] = '' return eUNp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bNFC():\n X9KB = open('data.txt')\n for zFiD in X9KB:\n H5ew, ycBG, j_Wg, By5j = zFiD.split()\n uubB[H5ew] = [ycBG, j_Wg.replace('_', ' '), By5j]", "def fvfw():\n nUeQ = open(HwRy.argv[1], 'r')\n sV3k = {}\n for zFiD in nUeQ:\n Ueki = zFiD.strip().split(', ')\n for ...
[ "0.7469321", "0.7359511", "0.7322702", "0.7100944", "0.70464045", "0.6970614", "0.6964565", "0.6949787", "0.6908787", "0.69036305", "0.68311906", "0.67684865", "0.67383885", "0.671733", "0.6706961", "0.6673144", "0.6663256", "0.6659219", "0.6658733", "0.6637288", "0.66335726"...
0.73288995
2
Test that unloading an entry works.
async def test_unload_entry(ajET: HomeAssistant) -> None: bTKY = Jaru(domain=Sugg, unique_id='0123456789', data=IYZS, options=UlR_) bTKY.add_to_hass(ajET) await ajET.config_entries.async_setup(bTKY.entry_id) await ajET.async_block_till_done() assert await ajET.config_entries.async_unload(bTKY.entry_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DB4Q(YKHO):\n YKHO.instance.load()\n YKHO.assertIsNotNone(YKHO.instance._author)\n YKHO.instance.unload()\n YKHO.assertIsNone(YKHO.instance._author)", "async def test_unload_entry(ajET):\n bTKY = await OSs1(ajET)\n assert len(ajET.config_entries.async_entries(Sugg)) == 1\n assert bTKY.st...
[ "0.745756", "0.72451824", "0.7212864", "0.71059227", "0.69350874", "0.68380535", "0.67400676", "0.6651979", "0.66275996", "0.66198164", "0.65616053", "0.64519477", "0.63797134", "0.6342953", "0.6335653", "0.6236239", "0.62268424", "0.62224346", "0.6191956", "0.6167702", "0.61...
0.6662962
7
Creates QueueSimulator object. Arguments
def FIMM(YKHO, gcqr, mVUw, uPyi, kCjO, xpqv, s6FJ): YKHO.rate = mVUw YKHO.numQueues = gcqr YKHO.start = qcWV.datetime.combine(qcWV.date.today(), qcWV.time(uPyi, 0, 0)) YKHO.end = qcWV.datetime.combine(qcWV.date.today(), qcWV.time(kCjO, 0, 0)) YKHO.appt_low = xpqv YKHO.appt_high = s6FJ dZYX =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nFDi(YKHO):\n gGq6 = dxPS.queue(verbose=not YKHO.quiet)\n if YKHO.q == 'ember':\n dr8x = 12\n npfx = dr8x if YKHO.cpus is None else min(YKHO.cpus, dr8x)\n ZWWE = YKHO.walltime if int(YKHO.walltime.split(':')[0]) < 72 else '72:00:00'\n gGq6.create(label=YKHO.label, nodes=YKHO.n...
[ "0.66447055", "0.64939517", "0.6092597", "0.6043892", "0.5924383", "0.5910528", "0.5907221", "0.5831699", "0.5823763", "0.5812082", "0.58109456", "0.58082455", "0.5735584", "0.57232714", "0.5722301", "0.572144", "0.5713813", "0.5700075", "0.5688309", "0.56702524", "0.56540143...
0.0
-1
Making onehot encoding and padding (optional) for a sequence of indices
def KLLm(xrUD, jXxl=None, hVLt=False, wzH_=None): if jXxl is None: raise Exception("'vocab_size' arg is required.") if hVLt: if wzH_ is None: raise Exception("If padding, 'max_len' arg is required.") SppC = oyIN.zeros([wzH_, jXxl]) else: SppC = oyIN.zeros([len(xrU...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KLLm(d6pt, Htse, yDqo=oyIN.uint8):\n tsWk = len(d6pt)\n U5bT = oyIN.zeros((tsWk, Htse), yDqo)\n for YRbF in range(tsWk):\n U5bT[YRbF][d6pt[YRbF]] = 1\n return U5bT", "def vzTG(aWuw):\n DmbV = {'A': oyIN.asarray([1, 0, 0, 0]), 'a': oyIN.asarray([1, 0, 0, 0]), 'C': oyIN.asarray([0, 1, 0, ...
[ "0.77902925", "0.7588166", "0.7505535", "0.74692816", "0.74303466", "0.74011946", "0.73511684", "0.7343085", "0.7343085", "0.7343085", "0.7343085", "0.7323562", "0.73203534", "0.72895473", "0.7286472", "0.7283403", "0.72781134", "0.72719824", "0.7267994", "0.7258156", "0.7257...
0.7521659
2
DCM from given quaternion
def lsfI(YKHO, vexM: np.ndarray) -> oyIN.ndarray: if vexM is None: return oyIN.identity(3) if vexM.shape[-1] != 4 or vexM.ndim > 2: raise ValueError('Quaternion must be of the form (4,) or (N, 4)') if vexM.ndim > 1: vexM /= oyIN.linalg.norm(vexM, axis=1)[:, None] A3Vt = oyIN....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def knb8(vexM):\n ZpMq = LM8i(vexM) @ YSKd(vexM).T\n ZpMq = ZpMq[1:, 1:]\n return ZpMq", "def rpNk(vexM):\n DOXr = vexM[0] * vexM[0]\n IzRF = vexM[0] * vexM[1]\n TOOg = vexM[0] * vexM[2]\n KseZ = vexM[0] * vexM[3]\n Awiz = vexM[1] * vexM[1]\n f7h3 = vexM[1] * vexM[2]\n eUox = vexM[1...
[ "0.8108216", "0.7622309", "0.761226", "0.69390064", "0.6903899", "0.6840777", "0.674344", "0.6624096", "0.65572655", "0.6093272", "0.6022374", "0.59967595", "0.5948338", "0.5892284", "0.58826536", "0.5831265", "0.57716954", "0.57505953", "0.571294", "0.571266", "0.5697808", ...
0.58295435
16
Synonym of method ``from_quaternion``
def c75V(YKHO, vexM: np.ndarray) -> oyIN.ndarray: return YKHO.from_quaternion(YKHO, vexM)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lsfI(YKHO, vexM: np.ndarray) -> oyIN.ndarray:\n if vexM is None:\n return oyIN.identity(3)\n if vexM.shape[-1] != 4 or vexM.ndim > 2:\n raise ValueError('Quaternion must be of the form (4,) or (N, 4)')\n if vexM.ndim > 1:\n vexM /= oyIN.linalg.norm(vexM, axis=1)[:, None]\n ...
[ "0.7389958", "0.7127332", "0.70689607", "0.7061809", "0.6956991", "0.6898827", "0.6897811", "0.6848875", "0.6773726", "0.67537975", "0.66988176", "0.6695084", "0.66732496", "0.66456074", "0.66350013", "0.6581842", "0.6566178", "0.6557515", "0.65510404", "0.65235966", "0.65183...
0.67563546
9
Quaternion from Direction Cosine Matrix. There are five methods available to obtain a quaternion from a
def Omrx(YKHO, NKcE: str='chiaverini', **YSA3) -> oyIN.ndarray: vexM = oyIN.array([1.0, 0.0, 0.0, 0.0]) if NKcE.lower() == 'hughes': vexM = TnG6(YKHO.A) if NKcE.lower() == 'chiaverini': vexM = O8qj(YKHO.A) if NKcE.lower() == 'shepperd': vexM = eZYo(YKHO.A) if NKcE.lower() == ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b4BA(YKHO, vexM):\n YKHO._normalise()\n return YKHO * vexM * YKHO.conjugate", "def DQ7T(YKHO, A3Vt):\n A2lD = ht2j.diagonal(A3Vt, dim1=-2, dim2=-1)\n a_8u, DpsT, X3WD = A2lD.unbind(-1)\n etQF = 0.5 * ht2j.sqrt(ht2j.abs(1 + ht2j.stack([a_8u - DpsT - X3WD, -a_8u + DpsT - X3WD, -a_8u - DpsT + X3W...
[ "0.72543365", "0.7028105", "0.7016137", "0.6891996", "0.6867333", "0.68475723", "0.6827582", "0.68257916", "0.6825129", "0.6823862", "0.6822986", "0.68202215", "0.6804415", "0.6747819", "0.6721418", "0.6716098", "0.66858435", "0.6677061", "0.66632396", "0.66587996", "0.665434...
0.6668296
18
Synonym of method ``to_quaternion``
def gfN7(YKHO, NKcE: str='chiaverini', **YSA3) -> oyIN.ndarray: return YKHO.to_quaternion(method=NKcE, **YSA3)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c0Qx(YylR):\n return R5H8(*ZylS.transformations.quaternion_from_euler(0, 0, YylR))", "def b4BA(YKHO, vexM):\n YKHO._normalise()\n return YKHO * vexM * YKHO.conjugate", "def c0Qx(YylR):\n return R5H8(*ZylS.transformations.quaternion_from_euler(0, 0, YylR))", "def jfIW(YKHO):\n A3Vt = oyIN.i...
[ "0.7773435", "0.7668176", "0.76124066", "0.75109637", "0.7509201", "0.74345905", "0.7248149", "0.72238505", "0.7182596", "0.7151042", "0.7130376", "0.71106046", "0.70890665", "0.70747155", "0.7050184", "0.7020826", "0.70203286", "0.7018202", "0.6969565", "0.69627476", "0.6947...
0.7214946
8
Ordinary Differential Equation of the DCM.
def iPGo(YKHO, yzQ0: np.ndarray) -> oyIN.ndarray: return YKHO.A @ uRwD(yzQ0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E9qe(YKHO):\n v5Ar = YKHO.theta_fid[0]\n _iQr = 0.001\n _Fu6, bGrB = MH_F(Omega_M=v5Ar + _iQr)\n nSi3 = (_Fu6 - YKHO.Cl_noiseless[oyIN.newaxis, :]) / _iQr\n return nSi3", "def zah1(YKHO):\n ONmd = YKHO.eTheta()\n XOOk = YKHO.a1().decompose()\n H8rT = oyIN.sin(YKHO.omega())\n IckY =...
[ "0.705143", "0.6744259", "0.65665555", "0.6540257", "0.6452997", "0.6349583", "0.61580443", "0.60617137", "0.59988195", "0.59753686", "0.5969434", "0.59147024", "0.59014565", "0.5901123", "0.58775634", "0.58582616", "0.5850622", "0.5843531", "0.5837406", "0.5821323", "0.58066...
0.0
-1
Set whether the input socket is enable or not.
def f59T(YKHO, zd3z): H_dn = [] for EpL5, Z9rn in YKHO.__taskobject.inputs.items(): if not Z9rn['optional']: H_dn.append(EpL5) qUGb = set(H_dn) LGQK = set(zd3z.keys()) Pkdj = LGQK - qUGb for EpL5 in Pkdj: YKHO.check_input_socketname(EpL5) TSMu = zd3z[EpL5] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uhV0(YKHO, TSMu):\n if TSMu == True:\n WjOp()\n else:\n tGK_()", "def TSMu(YKHO):\n if not YKHO.native.check_enable_mode():\n YKHO.native.enable()\n if YKHO.native.check_config_mode():\n YKHO.native.exit_config_mode()\n RKD7.debug('Host %s: Device enabled.', YKHO.ho...
[ "0.6328038", "0.6141934", "0.6140854", "0.6127846", "0.59765595", "0.5906767", "0.58990806", "0.58877736", "0.5856475", "0.5813778", "0.57914263", "0.5781425", "0.5776666", "0.572038", "0.5691975", "0.5688704", "0.56743896", "0.5673722", "0.56590647", "0.564134", "0.564134", ...
0.7006334
0
Takes a datetime.time() object and a string representing a timezone, and uses this information and the pytz library to convert time to UTC.
def WNac(qg4Y, yl4j): zbgu = FXGE.utc Aues = qcWV.utcnow().replace(tzinfo=zbgu) FEXa = FXGE.timezone(yl4j) uc22 = FEXa.normalize(Aues) z5iR = uc22.replace(hour=qg4Y.hour, minute=qg4Y.minute) xDX2 = zbgu.normalize(z5iR) return xDX2.time()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PVjx(j2fv, mz4v):\n if isinstance(mz4v, str):\n mz4v = d5IO.tz.gettz(mz4v)\n PV8J = j2fv.replace(tzinfo=mz4v)\n return PV8J.to('UTC').datetime", "def lVFF(ppPa):\n return FXGE.utc.localize(ppPa)", "def lVFF(ppPa):\n return FXGE.utc.localize(ppPa)", "def lVFF(ppPa):\n return FXGE....
[ "0.7613901", "0.7082771", "0.7082771", "0.7082771", "0.7075718", "0.7075718", "0.6980046", "0.6870693", "0.68344724", "0.67982554", "0.6707277", "0.66131246", "0.65021455", "0.64751524", "0.6459743", "0.64281934", "0.63901955", "0.6372665", "0.6360399", "0.6345804", "0.631377...
0.60448915
37
Takes a datetime.time() object and a string representing a timezone, and uses this information and the pytz library to convert this UTC time to a local time in the given timezone.
def IaVq(h25_, yl4j): zbgu = FXGE.utc Aues = qcWV.utcnow().replace(tzinfo=zbgu) xDX2 = Aues.replace(hour=h25_.hour, minute=h25_.minute) FEXa = FXGE.timezone(yl4j) z5iR = FEXa.normalize(xDX2) return z5iR.time()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def h_Xe(D63P: str, MK1i: datetime.time):\n return FXGE.timezone(D63P).localize(qcWV.datetime.combine(qcWV.datetime.now().date(), MK1i))", "def FPLx(ITS7):\n if ITS7 is None:\n return None\n SjQe = yl4j.tzutc()\n t79W = yl4j.tzlocal()\n try:\n h5YN = qcWV.strptime(ITS7, '%Y-%m-%dT%H:...
[ "0.7402427", "0.71077245", "0.7042963", "0.6925428", "0.6857159", "0.6776689", "0.67206216", "0.67206216", "0.66327685", "0.6607059", "0.6570549", "0.65419537", "0.64860797", "0.6458145", "0.6458145", "0.6458145", "0.6457394", "0.6417082", "0.63996595", "0.63705176", "0.63482...
0.70351917
3
Returns the location of the first blank in board
def hJnP(cuUy): UHFx = 0 for mLGw in cuUy: if mLGw == ' ': return UHFx else: UHFx += 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WswY(iBIi):\n for YRbF in range(9):\n for r845 in range(9):\n if iBIi[YRbF][r845] == 0:\n return (YRbF, r845)\n return None", "def anoq(YKHO):\n for rdlD in range(len(YKHO.grid)):\n for fvDH in range(len(YKHO.grid[0])):\n if YKHO.grid[rdlD][fvDH] ==...
[ "0.81882685", "0.7924884", "0.7682579", "0.75888264", "0.75666875", "0.7518079", "0.7350819", "0.71132505", "0.7102861", "0.7099499", "0.7046433", "0.69972974", "0.6964082", "0.6951179", "0.69497305", "0.679662", "0.67868096", "0.6778067", "0.6776477", "0.67696226", "0.675762...
0.0
-1
Returns True if all rows, cols, and squares of Board are valid
def DmGW(cuUy): return TTrU(cuUy) and iG05(cuUy) and oCju(cuUy)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DmGW(iBIi, usx6, WfCS):\n return all((all((kFFN(iBIi, Mkmy, Z9rn) for Z9rn in Ni9Y(WfCS))) for Mkmy in Ni9Y(usx6)))", "def tlst(YKHO):\n for (rdlD, fvDH), BWXx in oyIN.ndenumerate(YKHO.final_values):\n if not YKHO.__is_valid_value(rdlD, fvDH, BWXx):\n return False\n return True", ...
[ "0.821935", "0.78617334", "0.78427565", "0.7805896", "0.77616715", "0.7633204", "0.75650537", "0.7557985", "0.754972", "0.74979675", "0.7491603", "0.74663806", "0.74360687", "0.740403", "0.7403735", "0.7394343", "0.73941535", "0.7345891", "0.7337375", "0.7316177", "0.73031795...
0.84711677
0
Produce True if all the rows in board are valid
def TTrU(cuUy): for rdlD in usx6: PwWw = [] for mLGw in xYvp: if cuUy[rdlD[mLGw]] == ' ': continue elif cuUy[rdlD[mLGw]] not in PwWw: PwWw += [cuUy[rdlD[mLGw]]] else: return False else: continue ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GfdN(YKHO) -> bool:\n return all([all(rdlD) for rdlD in YKHO.board])", "def DmGW(iBIi, usx6, WfCS):\n return all((all((kFFN(iBIi, Mkmy, Z9rn) for Z9rn in Ni9Y(WfCS))) for Mkmy in Ni9Y(usx6)))", "def tlst(iBIi):\n deVW = len(iBIi) == 9\n deVW &= -1 <= sum(iBIi) <= 1\n deVW &= Pusg(lambda WKvO...
[ "0.8179805", "0.80350727", "0.7978894", "0.7978362", "0.78597134", "0.7831764", "0.78134537", "0.7753488", "0.75918406", "0.7590312", "0.75240564", "0.75107545", "0.745614", "0.7417445", "0.74046415", "0.73841214", "0.7380437", "0.7360972", "0.73237234", "0.73237234", "0.7322...
0.7173518
35
Produce True if all the columns in board are valid
def iG05(cuUy): for fvDH in WfCS: PwWw = [] for mLGw in xYvp: if cuUy[fvDH[mLGw]] == ' ': continue elif cuUy[fvDH[mLGw]] not in PwWw: PwWw += [cuUy[fvDH[mLGw]]] else: return False else: continue ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DmGW(cuUy):\n return TTrU(cuUy) and iG05(cuUy) and oCju(cuUy)", "def EPmj(YKHO):\n for rdlD in YKHO.board:\n for INHj in rdlD:\n if INHj == ' ':\n return False\n return True", "def DmGW(iBIi, usx6, WfCS):\n return all((all((kFFN(iBIi, Mkmy, Z9rn) for Z9rn in Ni9...
[ "0.8148822", "0.80394965", "0.78060925", "0.7766209", "0.77119875", "0.77030057", "0.7656814", "0.7634992", "0.76277673", "0.7621578", "0.7605814", "0.7538337", "0.7508653", "0.7489973", "0.7468745", "0.7451293", "0.7409968", "0.7409968", "0.7409277", "0.7405512", "0.73863757...
0.7621387
10