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
Initialize a QueryAggregationQueryHistogramAggregation object.
def FIMM(YKHO, Jyyj: str, VOlW: int, *, type: str=None, mWFP: str=None, dixj: List['QueryHistogramAggregationResult']=None) -> None: YKHO.type = type YKHO.field = Jyyj YKHO.interval = VOlW YKHO.name = mWFP YKHO.results = dixj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryHistogramAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'field' in tbx9:\n qIxc['field'] = tbx9.get('field')\n else:\n raise ValueError(\"Required property 'field' not present in QueryAggrega...
[ "0.71456575", "0.7010221", "0.6563741", "0.6467569", "0.6300933", "0.61615455", "0.61615455", "0.61615455", "0.6143592", "0.60258234", "0.6001205", "0.59674203", "0.5815224", "0.5810629", "0.5763079", "0.572084", "0.5714401", "0.56980735", "0.5655682", "0.5652798", "0.5607869...
0.64432657
4
Return a `str` version of this QueryAggregationQueryHistogramAggregation object.
def zAg0(YKHO) -> str: return qQXR.dumps(YKHO.to_dict(), indent=2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n if len(YKHO.bins):\n vIwR = 'Mean\\tCount\\n----\\t-----\\n'\n for Fg_i in YKHO.bins:\n vIwR += '%d\\t%i\\n' % (Fg_i.value, Fg_i.count)\n vIwR += '----\\t-----\\n'\n vIwR += 'Missing values: %s\\n' % YKHO.missing_count\n vIwR += 'Total count: %s' %...
[ "0.7080409", "0.6677959", "0.6450982", "0.6376772", "0.6364828", "0.63251907", "0.6320602", "0.6320602", "0.6320602", "0.62899446", "0.6204116", "0.62021935", "0.6196988", "0.61705065", "0.61586744", "0.6151754", "0.61321056", "0.61247015", "0.6065183", "0.6044144", "0.604060...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryHistogramAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryHistogramAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Initialize a QueryAggregationQueryNestedAggregation object.
def FIMM(YKHO, pmON: str, XsVB: int, *, type: str=None, n7y3: List[dict]=None) -> None: YKHO.type = type YKHO.path = pmON YKHO.matching_results = XsVB YKHO.aggregations = n7y3
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryNestedAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'path' in tbx9:\n qIxc['path'] = tbx9.get('path')\n else:\n raise ValueError(\"Required property 'path' not present in QueryAggregationQue...
[ "0.6831567", "0.6807274", "0.61269885", "0.602408", "0.5935809", "0.5909931", "0.58356404", "0.57407314", "0.57305735", "0.5654162", "0.56473494", "0.5621949", "0.5601324", "0.55890846", "0.5573656", "0.55552405", "0.55464554", "0.5491814", "0.54555905", "0.54509306", "0.5443...
0.494997
68
Initialize a QueryAggregationQueryNestedAggregation object from a json dictionary.
def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryNestedAggregation': qIxc = {} if 'type' in tbx9: qIxc['type'] = tbx9.get('type') if 'path' in tbx9: qIxc['path'] = tbx9.get('path') else: raise ValueError("Required property 'path' not present in QueryAggregationQueryNestedAggre...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryNestedAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n else:\n raise ValueError(\"Required property 'type' not present in QueryNestedAggregation JSON\")\n if 'path' in tbx9:\n qIxc['path'] = tbx9.get('path')\n ...
[ "0.8431752", "0.74372584", "0.7433734", "0.73880935", "0.73602253", "0.73561484", "0.7334145", "0.7333889", "0.72861624", "0.72341335", "0.7214991", "0.7092002", "0.70316017", "0.70103574", "0.6954678", "0.69493896", "0.694208", "0.68785274", "0.6850005", "0.6803113", "0.6800...
0.84414816
0
Initialize a QueryAggregationQueryNestedAggregation object from a json dictionary.
def CCiu(Emd4, tbx9): return Emd4.from_dict(tbx9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryNestedAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'path' in tbx9:\n qIxc['path'] = tbx9.get('path')\n else:\n raise ValueError(\"Required property 'path' not present in QueryAggregationQue...
[ "0.8441782", "0.8431997", "0.7435855", "0.74322945", "0.7386428", "0.73586047", "0.7355454", "0.7332852", "0.7332675", "0.7284297", "0.7234001", "0.7214589", "0.7091473", "0.7030477", "0.70100236", "0.6953868", "0.6948879", "0.69412714", "0.6877723", "0.68489826", "0.6803067"...
0.0
-1
Return a `str` version of this QueryAggregationQueryNestedAggregation object.
def zAg0(YKHO) -> str: return qQXR.dumps(YKHO.to_dict(), indent=2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ddrW(YKHO, xDcj):\n KCHu = YKHO._do_stringify(xDcj.query_as_tree)\n return KCHu[1:-1] if KCHu.startswith('(') else KCHu", "def gTzM(YKHO) -> str:\n return CgYo.pformat(YKHO.dict(by_alias=True))", "def gTzM(YKHO) -> str:\n return CgYo.pformat(YKHO.dict(by_alias=True))", "def gTzM(YKHO) -> str:...
[ "0.6748445", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "0.6671401", "...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryNestedAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryNestedAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Initialize a QueryAggregationQueryPairAggregation object.
def FIMM(YKHO, *, type: str=None, cntZ: str=None, CsFy: str=None, dbED: bool=None, zVop: bool=None, dixj: List['QueryPairAggregationResult']=None) -> None: YKHO.type = type YKHO.first = cntZ YKHO.second = CsFy YKHO.show_estimated_matching_results = dbED YKHO.show_total_matching_documents = zVop ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryPairAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'first' in tbx9:\n qIxc['first'] = tbx9.get('first')\n if 'second' in tbx9:\n qIxc['second'] = tbx9.get('second')\n if 'show_estimated_ma...
[ "0.6683417", "0.63508457", "0.58367455", "0.57616407", "0.5714317", "0.5632954", "0.561611", "0.55938154", "0.558574", "0.5581332", "0.556824", "0.555839", "0.55433834", "0.55419403", "0.54332066", "0.53961825", "0.5395775", "0.5388368", "0.53879935", "0.5386911", "0.5366727"...
0.48768452
72
Initialize a QueryAggregationQueryPairAggregation object from a json dictionary.
def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryPairAggregation': qIxc = {} if 'type' in tbx9: qIxc['type'] = tbx9.get('type') if 'first' in tbx9: qIxc['first'] = tbx9.get('first') if 'second' in tbx9: qIxc['second'] = tbx9.get('second') if 'show_estimated_matching_result...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryPairAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIxc['aggregations'] = tbx9.get('aggregations')\n return Emd4(**qIxc)", "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryNestedAggregation':\n qIxc = {}\n if 'type' in tbx9:\n q...
[ "0.8233087", "0.7733799", "0.7628826", "0.756812", "0.7563226", "0.75169593", "0.7477636", "0.7450154", "0.74381316", "0.74237067", "0.73920894", "0.7369551", "0.7364726", "0.7299828", "0.7262557", "0.72458094", "0.7242108", "0.7213639", "0.71917576", "0.7162501", "0.7159359"...
0.82105744
1
Initialize a QueryAggregationQueryPairAggregation object from a json dictionary.
def CCiu(Emd4, tbx9): return Emd4.from_dict(tbx9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryPairAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIxc['aggregations'] = tbx9.get('aggregations')\n return Emd4(**qIxc)", "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryPairAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIx...
[ "0.8232269", "0.8210085", "0.7733945", "0.7629033", "0.75688285", "0.75639373", "0.7517781", "0.74775815", "0.745086", "0.74388635", "0.7423575", "0.7392136", "0.73700726", "0.7365606", "0.72998095", "0.7263023", "0.72462696", "0.7242239", "0.7213508", "0.7191783", "0.7162562...
0.0
-1
Return a `str` version of this QueryAggregationQueryPairAggregation object.
def zAg0(YKHO) -> str: return qQXR.dumps(YKHO.to_dict(), indent=2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yLCI(YKHO):\n return '(' + str(YKHO.key) + ', ' + YKHO.element + ')'", "def gTzM(YKHO) -> str:\n return CgYo.pformat(YKHO.dict(by_alias=True))", "def gTzM(YKHO) -> str:\n return CgYo.pformat(YKHO.dict(by_alias=True))", "def gTzM(YKHO) -> str:\n return CgYo.pformat(YKHO.dict(by_alias=True))", ...
[ "0.7188574", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096", "0.69365096",...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryPairAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryPairAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Initialize a QueryAggregationQueryTermAggregation object.
def FIMM(YKHO, *, type: str=None, Jyyj: str=None, UHFx: int=None, mWFP: str=None, dixj: List['QueryTermAggregationResult']=None) -> None: YKHO.type = type YKHO.field = Jyyj YKHO.count = UHFx YKHO.name = mWFP YKHO.results = dixj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTermAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'field' in tbx9:\n qIxc['field'] = tbx9.get('field')\n if 'count' in tbx9:\n qIxc['count'] = tbx9.get('count')\n if 'name' in tbx9:\n ...
[ "0.6777759", "0.6557616", "0.62832886", "0.62829894", "0.6104927", "0.608322", "0.60555464", "0.590653", "0.5871477", "0.5859788", "0.5810254", "0.5789457", "0.5715108", "0.5624288", "0.5618012", "0.56072587", "0.56072587", "0.56072587", "0.56026834", "0.5602071", "0.5599982"...
0.61128384
4
Initialize a QueryAggregationQueryTermAggregation object from a json dictionary.
def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTermAggregation': qIxc = {} if 'type' in tbx9: qIxc['type'] = tbx9.get('type') if 'field' in tbx9: qIxc['field'] = tbx9.get('field') if 'count' in tbx9: qIxc['count'] = tbx9.get('count') if 'name' in tbx9: qIxc['name...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTermAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n else:\n raise ValueError(\"Required property 'type' not present in QueryTermAggregation JSON\")\n if 'field' in tbx9:\n qIxc['field'] = tbx9.get('field')\n ...
[ "0.83757114", "0.79632974", "0.780839", "0.7768386", "0.7406205", "0.73985624", "0.73732156", "0.7318325", "0.72928137", "0.718678", "0.7146932", "0.71344227", "0.7119154", "0.7102067", "0.70988387", "0.7098637", "0.7028998", "0.70160484", "0.70014846", "0.6995951", "0.697014...
0.83664286
1
Initialize a QueryAggregationQueryTermAggregation object from a json dictionary.
def CCiu(Emd4, tbx9): return Emd4.from_dict(tbx9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTermAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n else:\n raise ValueError(\"Required property 'type' not present in QueryTermAggregation JSON\")\n if 'field' in tbx9:\n qIxc['field'] = tbx9.get('field')\n ...
[ "0.83764917", "0.83675855", "0.796475", "0.7809676", "0.77697545", "0.74061686", "0.739835", "0.7375034", "0.7319501", "0.7293646", "0.7186445", "0.71468544", "0.7134216", "0.71197295", "0.7102689", "0.70992595", "0.7099109", "0.70302874", "0.7017359", "0.7001662", "0.6996901...
0.0
-1
Return a `str` version of this QueryAggregationQueryTermAggregation object.
def zAg0(YKHO) -> str: return qQXR.dumps(YKHO.to_dict(), indent=2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def str(YKHO):\n return str(YKHO.term) + ' ' + str(YKHO.docID) + ' ' + str(YKHO.doc_position)", "def zAg0(YKHO):\n if not YKHO.terms:\n return '0'\n BWj8 = ''\n for OXAZ in YKHO.terms:\n Souc = '{} ['.format(YKHO.terms[OXAZ])\n for seET in OXAZ:\n if seET[1] == 1:\n ...
[ "0.761358", "0.6928189", "0.671464", "0.65351355", "0.6476937", "0.63577634", "0.6326083", "0.6299199", "0.62891465", "0.6273997", "0.62686586", "0.62618667", "0.623509", "0.6234645", "0.62064964", "0.6206237", "0.6192657", "0.6175965", "0.61757296", "0.6174698", "0.616088", ...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryTermAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryTermAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Initialize a QueryAggregationQueryTimesliceAggregation object.
def FIMM(YKHO, Jyyj: str, VOlW: str, *, type: str=None, mWFP: str=None, dixj: List['QueryTimesliceAggregationResult']=None) -> None: YKHO.type = type YKHO.field = Jyyj YKHO.interval = VOlW YKHO.name = mWFP YKHO.results = dixj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTimesliceAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'field' in tbx9:\n qIxc['field'] = tbx9.get('field')\n else:\n raise ValueError(\"Required property 'field' not present in QueryAggrega...
[ "0.6700146", "0.6597861", "0.61224765", "0.5931854", "0.5887351", "0.58798224", "0.5643517", "0.5585347", "0.550946", "0.5481229", "0.5438287", "0.5399549", "0.53667563", "0.53248435", "0.5311445", "0.53012663", "0.5254878", "0.524005", "0.52172625", "0.5211337", "0.51997477"...
0.6007725
3
Return a `str` version of this QueryAggregationQueryTimesliceAggregation object.
def zAg0(YKHO) -> str: return qQXR.dumps(YKHO.to_dict(), indent=2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return '(%s, %sh, %s)' % (YKHO.id, YKHO.creationTime, YKHO.endTime)", "def zAg0(YKHO):\n return YKHO._kind + '(' + str(YKHO._slices) + ')'", "def HZks(YKHO):\n HyCw = []\n if YKHO.StartTime is not None:\n HyCw.append(u'StartTime %.2f (%s)\\n' % (YKHO.StartTime, UyvE.timetop...
[ "0.6527692", "0.6459292", "0.6380452", "0.63698107", "0.63610756", "0.6360717", "0.6356354", "0.6353052", "0.62925303", "0.6263651", "0.62186503", "0.62147063", "0.6213095", "0.6143988", "0.613578", "0.612844", "0.6114872", "0.61110574", "0.61110574", "0.6073935", "0.60731494...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryTimesliceAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryTimesliceAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Initialize a QueryAggregationQueryTopHitsAggregation object.
def FIMM(YKHO, zNig: int, *, type: str=None, mWFP: str=None, yht1: 'QueryTopHitsAggregationResult'=None) -> None: YKHO.type = type YKHO.size = zNig YKHO.name = mWFP YKHO.hits = yht1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTopHitsAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'size' in tbx9:\n qIxc['size'] = tbx9.get('size')\n else:\n raise ValueError(\"Required property 'size' not present in QueryAggregationQu...
[ "0.6860378", "0.67278886", "0.6526772", "0.6526772", "0.6072001", "0.60614175", "0.59212726", "0.59212726", "0.59212726", "0.5890352", "0.58445525", "0.58053267", "0.58049816", "0.58023125", "0.56420606", "0.5641775", "0.5622423", "0.56091976", "0.560738", "0.5607353", "0.560...
0.6035142
6
Initialize a QueryAggregationQueryTopHitsAggregation object from a json dictionary.
def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTopHitsAggregation': qIxc = {} if 'type' in tbx9: qIxc['type'] = tbx9.get('type') if 'size' in tbx9: qIxc['size'] = tbx9.get('size') else: raise ValueError("Required property 'size' not present in QueryAggregationQueryTopHitsAgg...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTopHitsAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n else:\n raise ValueError(\"Required property 'type' not present in QueryTopHitsAggregation JSON\")\n if 'size' in tbx9:\n qIxc['size'] = tbx9.get('size')\n ...
[ "0.839363", "0.80370677", "0.80370677", "0.7317205", "0.7156978", "0.71343875", "0.70060533", "0.6752537", "0.6748162", "0.67364883", "0.6730334", "0.6683299", "0.667965", "0.6678206", "0.66662097", "0.6585372", "0.65234715", "0.65018433", "0.6500626", "0.6477253", "0.6474955...
0.84369004
0
Initialize a QueryAggregationQueryTopHitsAggregation object from a json dictionary.
def CCiu(Emd4, tbx9): return Emd4.from_dict(tbx9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTopHitsAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'size' in tbx9:\n qIxc['size'] = tbx9.get('size')\n else:\n raise ValueError(\"Required property 'size' not present in QueryAggregationQu...
[ "0.84372944", "0.8393574", "0.80361575", "0.80361575", "0.73172265", "0.71572536", "0.7133912", "0.7003439", "0.6752402", "0.67464757", "0.67340046", "0.6730171", "0.668153", "0.66794723", "0.6678758", "0.66667855", "0.6585706", "0.65223944", "0.6500797", "0.6500655", "0.6478...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryTopHitsAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryTopHitsAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Initialize a QueryAggregationQueryTopicAggregation object.
def FIMM(YKHO, *, type: str=None, VkqI: str=None, ZeHf: str=None, dbED: bool=None, zVop: bool=None, dixj: List['QueryTopicAggregationResult']=None) -> None: YKHO.type = type YKHO.facet = VkqI YKHO.time_segments = ZeHf YKHO.show_estimated_matching_results = dbED YKHO.show_total_matching_documents = z...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTopicAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx9.get('type')\n if 'facet' in tbx9:\n qIxc['facet'] = tbx9.get('facet')\n if 'time_segments' in tbx9:\n qIxc['time_segments'] = tbx9.get('time_segments')\n ...
[ "0.69437194", "0.67636466", "0.6106395", "0.6079086", "0.5969648", "0.5769318", "0.5735808", "0.570855", "0.57073355", "0.5677447", "0.5651936", "0.56322795", "0.56322795", "0.56322795", "0.5623738", "0.55609685", "0.555", "0.5511156", "0.5510654", "0.5506864", "0.5487372", ...
0.5871692
5
Initialize a QueryAggregationQueryTopicAggregation object from a json dictionary.
def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTopicAggregation': qIxc = {} if 'type' in tbx9: qIxc['type'] = tbx9.get('type') if 'facet' in tbx9: qIxc['facet'] = tbx9.get('facet') if 'time_segments' in tbx9: qIxc['time_segments'] = tbx9.get('time_segments') if 'show_est...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTopicAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIxc['aggregations'] = tbx9.get('aggregations')\n return Emd4(**qIxc)", "def jG8h(Emd4, tbx9: Dict) -> 'QueryTrendAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIx...
[ "0.8380179", "0.733758", "0.7290458", "0.7280675", "0.7278497", "0.7230305", "0.71730185", "0.7136561", "0.70908755", "0.7070086", "0.70544684", "0.70297396", "0.7017869", "0.6960014", "0.69421357", "0.6940548", "0.69333774", "0.68896806", "0.6883923", "0.6878401", "0.6849487...
0.8295768
1
Initialize a QueryAggregationQueryTopicAggregation object from a json dictionary.
def CCiu(Emd4, tbx9): return Emd4.from_dict(tbx9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTopicAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIxc['aggregations'] = tbx9.get('aggregations')\n return Emd4(**qIxc)", "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTopicAggregation':\n qIxc = {}\n if 'type' in tbx9:\n q...
[ "0.8380539", "0.82966244", "0.7337524", "0.72900385", "0.7280804", "0.72780174", "0.72303444", "0.7173026", "0.7137055", "0.7090961", "0.70695484", "0.70551205", "0.7029412", "0.7017913", "0.6960357", "0.6942527", "0.694009", "0.69337285", "0.68897986", "0.68834543", "0.68786...
0.56343234
88
Return a `str` version of this QueryAggregationQueryTopicAggregation object.
def zAg0(YKHO) -> str: return qQXR.dumps(YKHO.to_dict(), indent=2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return '{}'.format(YKHO.topic)", "def zAg0(YKHO):\n return f'{YKHO.class_id}, {YKHO.topic}'", "def Z3Tg(YKHO):\n return '{wSummary:{n %s' % YKHO.topic", "def _1DY(YKHO) -> str:\n return '{}:{}'.format(YKHO.q, YKHO.r)", "def zAg0(YKHO):\n vIwR = ''\n vIwR += 'id: ' + str(...
[ "0.7245316", "0.6609729", "0.64567083", "0.63491005", "0.6274427", "0.6263706", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", "0.6240569", ...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryTopicAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryTopicAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Initialize a QueryAggregationQueryTrendAggregation object.
def FIMM(YKHO, *, type: str=None, VkqI: str=None, ZeHf: str=None, dbED: bool=None, zVop: bool=None, dixj: List['QueryTrendAggregationResult']=None) -> None: YKHO.type = type YKHO.facet = VkqI YKHO.time_segments = ZeHf YKHO.show_estimated_matching_results = dbED YKHO.show_total_matching_documents = z...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTrendAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIxc['aggregations'] = tbx9.get('aggregations')\n return Emd4(**qIxc)", "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTrendAggregation':\n qIxc = {}\n if 'type' in tbx9:\n q...
[ "0.66197854", "0.65552145", "0.6174136", "0.6126534", "0.6087487", "0.5999444", "0.5993556", "0.59635586", "0.59355485", "0.59355485", "0.59355485", "0.5914043", "0.58870393", "0.5870425", "0.58504426", "0.5820028", "0.575526", "0.5734374", "0.5734374", "0.57192904", "0.57075...
0.5512493
34
Initialize a QueryAggregationQueryTrendAggregation object from a json dictionary.
def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTrendAggregation': qIxc = {} if 'type' in tbx9: qIxc['type'] = tbx9.get('type') if 'facet' in tbx9: qIxc['facet'] = tbx9.get('facet') if 'time_segments' in tbx9: qIxc['time_segments'] = tbx9.get('time_segments') if 'show_est...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTrendAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIxc['aggregations'] = tbx9.get('aggregations')\n return Emd4(**qIxc)", "def jG8h(Emd4, tbx9: Dict) -> 'QueryTermAggregation':\n qIxc = {}\n if 'type' in tbx9:\n qIxc['type'] = tbx...
[ "0.839339", "0.77627826", "0.7748866", "0.7517005", "0.75034124", "0.74398214", "0.73997253", "0.737495", "0.733676", "0.733531", "0.7330526", "0.732989", "0.7328317", "0.7282357", "0.72440094", "0.7222111", "0.72013754", "0.7187848", "0.7180175", "0.7108382", "0.7099273", ...
0.80975085
1
Initialize a QueryAggregationQueryTrendAggregation object from a json dictionary.
def CCiu(Emd4, tbx9): return Emd4.from_dict(tbx9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'QueryTrendAggregationResult':\n qIxc = {}\n if 'aggregations' in tbx9:\n qIxc['aggregations'] = tbx9.get('aggregations')\n return Emd4(**qIxc)", "def jG8h(Emd4, tbx9: Dict) -> 'QueryAggregationQueryTrendAggregation':\n qIxc = {}\n if 'type' in tbx9:\n q...
[ "0.83942556", "0.8098521", "0.7763993", "0.77498686", "0.75180995", "0.7504631", "0.7441509", "0.74001825", "0.7376733", "0.7337021", "0.7336777", "0.7332325", "0.733045", "0.73283654", "0.728402", "0.7245338", "0.722353", "0.7202502", "0.7189321", "0.71816325", "0.7110301", ...
0.6070892
76
Return a `str` version of this QueryAggregationQueryTrendAggregation object.
def zAg0(YKHO) -> str: return qQXR.dumps(YKHO.to_dict(), indent=2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return YKHO._query", "def str(YKHO):\n return str(YKHO.term) + ' ' + str(YKHO.docID) + ' ' + str(YKHO.doc_position)", "def zAg0(YKHO):\n return YKHO.summarize()", "def ddrW(YKHO, xDcj):\n KCHu = YKHO._do_stringify(xDcj.query_as_tree)\n return KCHu[1:-1] if KCHu.startswith('('...
[ "0.6866185", "0.6757934", "0.67434865", "0.67392963", "0.66949683", "0.6651868", "0.65931123", "0.65905625", "0.65809643", "0.6521024", "0.64787275", "0.64710397", "0.646413", "0.64542735", "0.6419244", "0.641526", "0.64140505", "0.63781536", "0.63531715", "0.6352935", "0.635...
0.0
-1
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'QueryAggregationQueryTrendAggregation') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.87372863", "0.8501031", "0.8474569", "0.8459411", "0.8452895", "0.83512336", "0.8337787", "0.83215106", "0.83093995", "0.8308897", "0.828482", "0.828482", "0.82778937", "0.82778937", "0.8276531", "0.8276531", "0.82754195", "0.82747275", "0.8267117", "0.8267117", "0.8255918...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'QueryAggregationQueryTrendAggregation') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86502963", "0.8642514", "0.85632336", "0.85632336", "0.85401344", "0.84545434", "0.84390897", "0.84390897", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.8403289", "0.840328...
0.0
-1
Calculate the percentage of words that were solved.
def nyyK(ewCu) -> float: NXAT = sum((BWXx for H5ew, BWXx in ewCu.items() if isinstance(H5ew, int))) wjRY = sum(ewCu.values()) return NXAT / wjRY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GPPN(WKvO):\n return QS0f(WKvO) / rO3W(WKvO)", "def QBe1(hENS, GIN8):\n zWTy = t7hl(hENS, GIN8)\n return 100 * zWTy / len(hENS)", "def VeKK(YKHO):\n return 100 * YKHO.num_correct / YKHO.num_words", "def MLfW(WKvO):\n return VZIS(WKvO) / rO3W(WKvO)", "def j0ET(l5Ny):\n V22M = Dhdw.word...
[ "0.75325847", "0.73959386", "0.7385643", "0.7300432", "0.7280798", "0.72289747", "0.7119223", "0.7084654", "0.7084003", "0.70706207", "0.69096637", "0.68647385", "0.6861559", "0.6839126", "0.68118435", "0.6786423", "0.67664343", "0.6765635", "0.6725568", "0.6716747", "0.66723...
0.0
-1
Calculate the average solve speed.
def iBLD(YKHO, ewCu) -> float: return sum((H5ew * BWXx for H5ew, BWXx in ewCu.items() if isinstance(H5ew, int))) / len(YKHO.allowed)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P40K(YKHO):\n return YKHO.distance / (YKHO.last_seen - YKHO.first_seen)", "def P40K(YKHO):\n return YKHO.distance / (YKHO.duration.total_seconds() / 3600)", "def WeAL(YKHO):\n uw_V = 0\n ewCu = 0\n while ewCu < YKHO.get_number_days():\n uw_V = uw_V + YKHO._ndays_weather[ewCu].get_aver...
[ "0.67495364", "0.66864496", "0.6149206", "0.6149206", "0.6121705", "0.60349435", "0.59750396", "0.59594584", "0.5950739", "0.59360343", "0.59212923", "0.5908181", "0.59056526", "0.5885172", "0.58816487", "0.58771694", "0.58478767", "0.5824964", "0.58208966", "0.580156", "0.57...
0.0
-1
Checks if span overlaps with self. Complete containment will return False.
def AHCt(YKHO, uvMl: 'Span') -> bool: return uvMl.start < YKHO.start < uvMl.stop < YKHO.stop or YKHO.start < uvMl.start < YKHO.stop < uvMl.stop
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LS0d(YKHO, uvMl: Tuple[int, int]) -> bool:\n for JATz in YKHO.spans:\n if JATz[0] == JATz[1] or uvMl[0] == uvMl[1]:\n continue\n if JATz[0] < uvMl[1] and JATz[1] > uvMl[0] or (JATz[1] > uvMl[0] and uvMl[1] > JATz[0]):\n return True\n return False", "def QsJG(YKHO, Xv...
[ "0.7908394", "0.77320707", "0.73244363", "0.7238966", "0.7185463", "0.7113046", "0.70985925", "0.7088472", "0.70512635", "0.6995157", "0.69475156", "0.69116014", "0.6806397", "0.67955536", "0.67921233", "0.6779354", "0.67647374", "0.67372775", "0.6727335", "0.6693581", "0.668...
0.67743754
16
Returns a data frame containing one sentence per row with its BILOU tags. Can be used for training/evaluation
def GgbJ(A97Q: spacy.tokens.doc.Doc, nUeQ: str=None) -> rLdf.DataFrame: nPrm = {'text_org': [], 'text': [], 'labels': [], 'file': [], 'sentence_offset': [], 'entity_text': []} for yAmx in A97Q.sents: nPrm['text_org'].append(yAmx.text) nPrm['text'].append([eOtH.text for eOtH in yAmx]) nPr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w34L(nPrm):\n Tudk = []\n for yAmx in nPrm:\n Tudk.append(mBkc(zolT(yAmx)))\n jQ3Z = rLdf.DataFrame.from_records(Tudk)\n jQ3Z = jQ3Z.fillna(0).astype(int)\n return jQ3Z", "def qmbM(__n6):\n Jrt9 = []\n for AIu6 in __n6:\n l1t2 = AIu6['ote_raw_tags']\n J6XL = AIu6['ts...
[ "0.6150049", "0.6126358", "0.6093317", "0.6062568", "0.59726334", "0.59706134", "0.5932752", "0.58369726", "0.5822178", "0.57520914", "0.57401043", "0.5712335", "0.57019806", "0.5700213", "0.569426", "0.5675324", "0.56588316", "0.56577164", "0.565656", "0.5624198", "0.5621983...
0.0
-1
Function that gives a numpy array of the times when a beat occurred by \ using normalized autocorrelation.
def kfxr(YKHO): YKHO.logger.info('Begin Function beat_times') try: YKHO.logger.info('Try to import') import pandas as rLdf import numpy as oyIN import peakutils except ImportError: print('Cannot import pandas, numpy, or peakutils') YKHO.logger.debug('Make sure...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CLWo(KIsG):\n Ut4k = 0\n for a1PO in range(len(KIsG)):\n if KIsG[a1PO] > 0:\n Ut4k += KIsG[a1PO] / KIsG[0]\n else:\n return Ut4k\n return Ut4k", "def fSQ5(WKvO):\n fsgT = (WKvO - oyIN.mean(WKvO)) / oyIN.std(WKvO)\n Aofo = oyIN.correlate(fsgT, fsgT, mode='ful...
[ "0.6866262", "0.68605626", "0.6853643", "0.65859133", "0.6540581", "0.6498045", "0.64813673", "0.64561474", "0.6453468", "0.63674384", "0.6361324", "0.62595165", "0.62493277", "0.61996657", "0.6176824", "0.61388415", "0.6117191", "0.6113299", "0.6109689", "0.6109584", "0.6076...
0.6225348
13
Function that estimates average BPM within self.interval
def BXrw(YKHO): YKHO.logger.info('Begin Function mean_bpm') cntZ = YKHO.interval[0] XVAW = YKHO.interval[1] YzQK = XVAW - cntZ UHFx = 0 YKHO.logger.info('Count number of beats in interval') for ITS7 in YKHO.beats: if ITS7 >= cntZ and ITS7 <= XVAW: UHFx += 1 YKHO.mean_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qqgr(YKHO):\n return sum(YKHO.times) / len(YKHO.times)", "def BcVA(YKHO, *qIxc) -> float:\n return YKHO._proba('averageduration', *qIxc)", "def qqgr(YKHO):\n return sum(YKHO.times) / len(YKHO.times)", "def qqgr(YKHO):\n return YKHO.__total_elapsed__ / YKHO.__laps__", "def Q9oh(YKHO):\n Y...
[ "0.64425224", "0.64086634", "0.63448745", "0.62870103", "0.6155347", "0.61200726", "0.61200726", "0.6116885", "0.6094807", "0.6082867", "0.6010792", "0.5980364", "0.5969154", "0.5968495", "0.5945401", "0.59288", "0.592308", "0.592308", "0.59067696", "0.59042865", "0.58956915"...
0.77540755
0
Construct tensorflow symbolic graph.
def aJBW(YKHO, AC2z, QMxg, EvQg=True): if not YKHO.is_trained or EvQg != YKHO.train: YKHO._construct_graph(AC2z, QMxg, train=EvQg) if YKHO._load_from_file: YKHO._load_finetuned_model() elif not YKHO.is_trained: YKHO._load_base_model() if EvQg: YKHO.train_writer = ZylS.sum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GsUR(YKHO):\n with YKHO.graph.as_default():\n with ZylS.device(YKHO.device):\n with ZylS.variable_scope('placeholder'):\n YKHO.X = ZylS.placeholder(ZylS.float32, [None, YKHO.num_time_steps, YKHO.num_inputs], name='inputs')\n YKHO.y = ZylS.placeholder(ZylS.floa...
[ "0.6783841", "0.6742495", "0.6687392", "0.6666288", "0.66434216", "0.6556862", "0.6525985", "0.6520122", "0.6509526", "0.6467447", "0.6413632", "0.6377281", "0.6377201", "0.63501513", "0.6318032", "0.6315399", "0.6297098", "0.6296843", "0.62856704", "0.6282968", "0.627846", ...
0.0
-1
Load a saved finetuned model from disk.
def tyeH(Emd4, pmON): if not pmON.endswith('.pkl'): pmON += '.pkl' C3ST = t2lc.load(open(pmON, 'rb')) C3ST._initialize() ZylS.reset_default_graph() return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl():\n with open(GPtr.root + '/main/model.bin', 'rb') as vJOV:\n C3ST = t2lc.load(vJOV)\n return C3ST", "def k8jE(pmON):\n C3ST = w4hD.load_pickle(pmON)\n return C3ST", "def uyMl(YKHO, WJHQ):\n raise NotImplementedError", "def uyMl(Ux0P):\n pass", "def O5RJ(YKHO):\n pmON ...
[ "0.79643464", "0.7794708", "0.7791041", "0.7746726", "0.7740621", "0.7727096", "0.76588196", "0.7647293", "0.7647293", "0.7647293", "0.76470447", "0.76470447", "0.76470447", "0.7618752", "0.7618752", "0.76160085", "0.7615232", "0.7603711", "0.7591466", "0.7571738", "0.7569405...
0.75704247
20
Converts an atomic symbol to an atomic number.
def lC58(o61b): o61b = o61b[:1].upper() + o61b[1:].lower() try: return uJWE.index(o61b) + 1 except ValueError: raise _HWm('atomic symbol', o61b, 'a valid 1 or 2 letter atomic symbol') from None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SNbY(o61b):\n return jhVV[o61b.lower().capitalize()]", "def lC58(o61b):\n o61b = o61b[:1].upper() + o61b[1:].lower()\n try:\n return uJWE.index(o61b) + 1\n except ValueError:\n raise ValueError('{} is not a recognized atomic symbol'.format(o61b))", "def v_hY(o61b: str):\n retur...
[ "0.8499003", "0.8080001", "0.750161", "0.7457675", "0.7375721", "0.7235835", "0.7117892", "0.6868338", "0.65557337", "0.6474874", "0.6426499", "0.61884993", "0.61562407", "0.61478984", "0.61207974", "0.61150193", "0.6059223", "0.6014896", "0.59863025", "0.5976776", "0.5898990...
0.79966784
2
Converts an atomic number to an atomic symbol.
def TpG0(FGW3): if FGW3 < 1: raise _HWm('atomic number', FGW3, 'greater than 0') try: return uJWE[FGW3 - 1] except IndexError: raise _HWm('atomic number', FGW3, 'less than {}'.format(len(uJWE))) from None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _9eC(FGW3):\n return CWwb[FGW3]", "def ve6G(FGW3):\n e9Nk = {0: 'A', 1: 'C', 2: 'G', 3: 'T'}\n o61b = e9Nk[FGW3]\n return o61b", "def ve6G(mLGw):\n if mLGw == 0:\n WKvO = 'A'\n elif mLGw == 1:\n WKvO = 'C'\n elif mLGw == 2:\n WKvO = 'G'\n elif mLGw == 3:\n ...
[ "0.8559297", "0.7570201", "0.72484636", "0.71968466", "0.70060533", "0.6984187", "0.68929905", "0.6839881", "0.6559626", "0.6398077", "0.63970304", "0.62979275", "0.6281628", "0.62142056", "0.62023777", "0.6186904", "0.6130477", "0.6093557", "0.6067057", "0.60449", "0.6042042...
0.77131075
1
Finds the atomic radius of the atom with a given atomic symbol in angstroms.
def L93q(o61b): return c3nL[lC58(o61b) - 1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M6Gc(o61b: str) -> float:\n if not isinstance(o61b, str):\n raise TypeError(f'The symbol argument must be string, got {o61b} which is a {type(o61b)}')\n try:\n Mkmy = XCJK.covalentradii.get(o61b, units='angstrom')\n except XCJK.exceptions.NotAnElementError:\n Mkmy = None\n retu...
[ "0.81826156", "0.73992395", "0.7004639", "0.677359", "0.6655661", "0.6143833", "0.60836446", "0.6006445", "0.5940986", "0.588903", "0.5851519", "0.56860036", "0.5678425", "0.5677218", "0.5637701", "0.5581954", "0.5575909", "0.5575527", "0.5571256", "0.55646664", "0.5546927", ...
0.82270986
0
Finds the covalent radius of the atom with a given atomic symbol in angstroms. Covalent radius is half the distance between 2 singly bonded atoms of the same type.
def D62W(o61b): return VpQ5[lC58(o61b) - 1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M6Gc(o61b: str) -> float:\n if not isinstance(o61b, str):\n raise TypeError(f'The symbol argument must be string, got {o61b} which is a {type(o61b)}')\n try:\n Mkmy = XCJK.covalentradii.get(o61b, units='angstrom')\n except XCJK.exceptions.NotAnElementError:\n Mkmy = None\n retu...
[ "0.76482844", "0.7638774", "0.68536794", "0.66205156", "0.62387216", "0.61714613", "0.6116857", "0.5981376", "0.59535044", "0.5932196", "0.58958113", "0.5862624", "0.585194", "0.581085", "0.5808293", "0.5795652", "0.57800424", "0.5767886", "0.57269484", "0.5725185", "0.572151...
0.81561995
0
Return the device_info of the device.
def GWuV(YKHO): GWuV = {'identifiers': {(Sugg, YKHO._device.device_id)}, 'name': YKHO.name, 'manufacturer': YhHo, 'sw_version': YKHO._device.firmware_version} C3ST = CZrR.get(YKHO._device.device_id[2:4]) if C3ST: GWuV['model'] = C3ST return GWuV
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GWuV(YKHO):\n return YKHO._device.device_info", "def GWuV(YKHO) -> cGD3:\n return YKHO._device_info.device_info", "def GWuV(YKHO):\n return YKHO._device.device_info()", "def GWuV(YKHO):\n return YKHO._device.device_info()", "def GWuV(YKHO):\n return YKHO._api.device_info", "def GWuV(YK...
[ "0.9024091", "0.90063703", "0.8958946", "0.8958946", "0.8929926", "0.89147055", "0.88988376", "0.88988376", "0.88988376", "0.88988376", "0.88988376", "0.88108945", "0.86698455", "0.86680305", "0.83437973", "0.8301325", "0.81869537", "0.8180895", "0.81644964", "0.81605065", "0...
0.7685285
71
Draws a card from a deck of cards and add to player hand.
def yWAB(YKHO, nf_0): YKHO.hand.append(nf_0.draw_card())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JmFt(YKHO):\n YKHO.cards.append(YKHO.deck.draw())", "def JmFt(YKHO, nf_0):\n YRTH = nf_0.draw()\n YKHO.hand.append(YRTH)", "def JmFt(YKHO, nf_0):\n YKHO.hand.append(nf_0.drawCard())\n return YKHO", "def BDDi(YKHO, e_9f, nf_0):\n dxhl = nf_0.draw_card()\n YKHO.hands[e_9f].addCard(dxhl...
[ "0.8513709", "0.84370387", "0.83966494", "0.8306771", "0.8306247", "0.81997865", "0.8176066", "0.800146", "0.7958892", "0.7896965", "0.7892623", "0.7889476", "0.7850486", "0.7797136", "0.7740239", "0.7739741", "0.7650653", "0.7639416", "0.7616162", "0.7606439", "0.7584673", ...
0.87969446
0
Resets the player's score to empty zero.
def NLKW(YKHO): YKHO.score = 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jMKS(YKHO):\n YKHO._player1score = 0\n YKHO._player2score = 0", "def SiRx(YKHO):\n YKHO.totalscore = 0", "def SiRx(YKHO):\n YKHO.score = 0\n YKHO.count_obstacles = 0\n YKHO.count_moves = 0", "def SiRx(YKHO):\n YKHO.score = 0\n YKHO.reRender()", "def SiRx(YKHO):\n YKHO.leftsco...
[ "0.8256859", "0.81555617", "0.7755648", "0.77106065", "0.7694641", "0.75343543", "0.7402495", "0.71731937", "0.71086776", "0.7103873", "0.7068273", "0.70468545", "0.70180994", "0.7008482", "0.6999646", "0.69954437", "0.6977809", "0.69722503", "0.69652545", "0.6960522", "0.695...
0.85505414
0
Convert package name to base package name and package format string
def hfK9(Emd4, wn95: str) -> AzJI[str, str]: def hEvr(xqoZ, u2uq=True): nonlocal package_string if u2uq: if wn95.endswith(xqoZ): wn95 = wn95[:-len(xqoZ)] return True elif wn95.startswith(xqoZ): wn95 = wn95[len(xqoZ):] retur...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IQyT(hxGQ):\n return hxGQ.lower().replace('_', '-')", "def hxGQ(YKHO):\n return YKHO.name.replace('-', '_').replace(' ', '_')", "def bFHh(mWFP, B5hb=''):\n mWFP = mWFP.replace('/', '.')\n if mWFP.startswith('java.lang.'):\n return mWFP[len('java.lang.'):]\n YRbF = mWFP.rfind('.')\n ...
[ "0.731596", "0.7004273", "0.6814988", "0.6814141", "0.6728313", "0.6711896", "0.67070293", "0.6597469", "0.6595456", "0.659186", "0.6585856", "0.6484674", "0.6458598", "0.6457547", "0.6446116", "0.64352185", "0.64228266", "0.641797", "0.6360809", "0.6349846", "0.63447297", ...
0.0
-1
Return list of licenses
def Z6xm(Ykn_): import re from mwlib import utils RI88 = [] for vC9B in Ykn_.licenses: qlv4 = '' if vC9B.get('mw_license_url'): bD7m = vC9B['mw_license_url'] if re.match('^.*/index\\.php.*action=raw', bD7m) and 'templates=expand' not in bD7m: bD7m ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KbHS(YKHO):\n bD7m = YKHO._url + '/licenses'\n NArs = {'f': 'json'}\n return YKHO._con.get(path=bD7m, postdata=NArs)", "async def licenses(YKHO):\n return await YKHO._get('licenses')", "def KbHS(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'licenses')", "def KbHS(YKHO) -> bdIy[str]:\n re...
[ "0.8766809", "0.856026", "0.8402255", "0.8402255", "0.8402255", "0.8301168", "0.8256408", "0.80845", "0.789874", "0.7705303", "0.762206", "0.7527717", "0.7137167", "0.71346635", "0.7123348", "0.7095472", "0.6997646", "0.6872948", "0.6842255", "0.6802238", "0.6670158", "0.66...
0.7754453
9
Remove intersecting paths. returns list of one [(frame, label)] per trajectory
def eYjc(sSN_, pmON, gwAu=35): kRap = mBkc(sum(pmON.values(), [])) IMwm = set((G1Hx for G1Hx, Ty9i in kRap.items() if Ty9i > 1)) print('bad', len(IMwm), len(kRap)) ba9_ = [G1Hx for G1Hx, Ty9i in sSN_.items() if Ty9i > gwAu] IMwm = IMwm | set(ba9_) koBJ = [Ty9i for Ty9i in pmON.values() if not se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ape1(YKHO):\n if not YKHO.closed:\n raise 'Can only remove overlap on closed paths'\n JHcA = []\n cGP_ = {}\n\n def Z14l(AU8u):\n return (int(AU8u.x * 1), int(AU8u.y * 1))\n for YRbF in YKHO.getSelfIntersections():\n JHcA.append((YRbF.seg1, YRbF.t1))\n JHcA.append((YR...
[ "0.613399", "0.5968185", "0.5624029", "0.55881006", "0.5583811", "0.5503674", "0.54490286", "0.5438644", "0.54030144", "0.53656596", "0.53595185", "0.5334712", "0.53281283", "0.52758104", "0.52621484", "0.52530146", "0.5248713", "0.5240897", "0.5239259", "0.5229947", "0.52108...
0.5179161
25
Create a API formatted error response. Async friendly.
def RIJx(QePW, wfRC='INTERNAL_ERROR', rhwM=''): pB3N = {'type': wfRC, 'message': rhwM} return CXUr(QePW, name='ErrorResponse', payload=pB3N)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G3KB(P1dF: errors.Error) -> str:\n jsO8 = {'status': d2m_.ERROR, 'message': str(P1dF)}\n return pz3A(jsO8)", "def G3KB(tO9_, JBvl: int):\n Ylbp = (pz3A({'msg': tO9_}), JBvl)\n return Ylbp", "def isYT(Ol8d, VrDF='ValidationError', Wxnj=cwhV['ERROR']):\n XObx = {}\n XObx['data'] = {}\n X...
[ "0.69519246", "0.67642075", "0.6704465", "0.6683541", "0.6631985", "0.6625705", "0.6616124", "0.65525", "0.65153766", "0.6478666", "0.64654934", "0.6446176", "0.64417374", "0.6432341", "0.64309573", "0.6417134", "0.6390802", "0.63563806", "0.6322323", "0.6272509", "0.6262615"...
0.0
-1
Get the current roster for each team. Gets the roster for every team from the league object. Places the roster information into a dictionary.
def vu8G(bJqe, e3u6): z_WG = bJqe.get_rosters() YzBE = dict() for XFez in z_WG: gPmJ = XFez['owner_id'] yCF_ = e3u6[gPmJ] wlDC = XFez['roster_id'] Bwa6 = XFez['players'] print('Roster: {}'.format(EyO9(XFez))) YzBE[yCF_] = dict() YzBE[yCF_]['owner_id'] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XFez(b2mu):\n nPrm = Ab3T.data.get_roster(b2mu)\n U5Jc = qQXR.loads(nPrm.read().decode('utf-8'))\n Bwa6 = U5Jc['roster_40']['queryResults']['row']\n return {'players': Bwa6, 'team_id': b2mu}", "def XFez(b2mu):\n nPrm = Ab3T.data.get_roster(b2mu)\n U5Jc = qQXR.loads(nPrm.read().decode('utf-8...
[ "0.7266297", "0.7266297", "0.6689297", "0.65690225", "0.6505256", "0.6321565", "0.6271203", "0.61478764", "0.61172575", "0.59243727", "0.59058565", "0.5900828", "0.5880275", "0.5847508", "0.58196616", "0.5797795", "0.57960474", "0.57839423", "0.57749045", "0.57577467", "0.575...
0.74875075
0
Read the test data from excel sheets.
def mI5I(YKHO, eR0y, _ClJ): RKD7 = G9jH.getLogger('melange_functional_actions') RKD7.setLevel(G9jH.DEBUG) G9jH.basicConfig() try: hFFO = bN3T.open_workbook(eR0y) except IOError as e: RKD7.debug('Workbook %s not found' % eR0y) raise tTpl OGYo = hFFO.sheet_by_name(_ClJ) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZJ6D(YKHO):\n eHKs = YKHO.base_path + '/excel/'\n nPrm = L77v.xls(eHKs, sep=None, encoding=None)\n YKHO.assertEqual(len(nPrm['prueba_excel.xls']), 4)\n YKHO.assertEqual(len(nPrm['excel_prueba.xls']), 4)\n YKHO.assertEqual(type(nPrm['prueba_excel.xls']['Hoja1']), rLdf.core.frame.DataFrame)\n Y...
[ "0.73575765", "0.7313711", "0.72367465", "0.6936185", "0.69155693", "0.69082254", "0.69007576", "0.68868", "0.68441534", "0.6840684", "0.6795151", "0.6763428", "0.6762383", "0.6707855", "0.6701306", "0.66831684", "0.66642857", "0.66478205", "0.6634729", "0.6620931", "0.660864...
0.0
-1
Create a Browser Instance. Populate test configuration details.
def eCGt(YKHO): YKHO.Browser = cSpz.Firefox()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xxjo(YKHO):\n HCmI = 'setup_module(sys.modules[__name__])'\n YKHO.do_command(HCmI)\n HCmI = 'wd = sys.modules[__name__].windmill_dict'\n YKHO.do_command(HCmI)\n HCmI = 'httpd = wd[\"httpd\"]'\n YKHO.do_command(HCmI)\n HCmI = 'httpd_thread = wd[\"httpd_thread\"]'\n YKHO.do_command(HCmI)\...
[ "0.74175286", "0.67567635", "0.6731084", "0.67222685", "0.6555811", "0.6554441", "0.65480644", "0.6541372", "0.65360415", "0.65059704", "0.63980067", "0.6367836", "0.626476", "0.62513435", "0.624938", "0.62089545", "0.6163935", "0.6147122", "0.6136002", "0.61299235", "0.61239...
0.70373017
1
Check to see if an Attendee already exists in Guidebook that matches on email. Return Attendee id if matched.
def QLbF(YKHO, D3lj): for xXrp in YKHO.attendees: if xXrp['email'] == D3lj: return xXrp['id'] return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hS4X(YKHO, **B2fa):\n pyQ6 = YKHO.find_attendee_by_email(B2fa['email'])\n if pyQ6 is None:\n return YKHO.create_attendee(**B2fa).get('id')\n else:\n return pyQ6", "def NMoC(YKHO, D3lj):\n xXrp = EVdN.query.filter_by(email=D3lj).first()\n if xXrp is None:\n eTsH(404, messag...
[ "0.6894033", "0.6315847", "0.6130939", "0.6075263", "0.5984057", "0.5923889", "0.58657277", "0.5843943", "0.57687724", "0.5756116", "0.5708876", "0.5695385", "0.5658819", "0.56350434", "0.55830705", "0.556348", "0.5558255", "0.55549896", "0.5544304", "0.5530482", "0.55208087"...
0.74992913
0
Return the string representation of self.
def wHJl(YKHO): return '%s + %s i' % (YKHO.real, YKHO.imaginary)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yLCI(YKHO):\n return str(YKHO)", "def yLCI(YKHO):\n return str(YKHO)", "def yLCI(YKHO) -> str:\n return str(YKHO)", "def yLCI(YKHO):\n return YKHO.__str__()", "def yLCI(YKHO):\n return YKHO.__str__()", "def gTzM(YKHO):\n return str(YKHO)", "def yLCI(YKHO) -> str:\n return YKHO....
[ "0.88821965", "0.88821965", "0.88742423", "0.8865851", "0.88566387", "0.8828935", "0.88206327", "0.8811935", "0.8753304", "0.8679437", "0.8601745", "0.8551406", "0.8543879", "0.8502481", "0.8498594", "0.8496037", "0.8496037", "0.8496037", "0.8452035", "0.8452035", "0.8452035"...
0.0
-1
Test if ``self`` equals ``other``. Two complex numbers are equal if their real parts are equal and their imaginary parts are equal.
def xa14(YKHO, Elif): return YKHO.real == Elif.real and YKHO.imaginary == Elif.imaginary
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if type(Elif) is KUXB:\n if YKHO.real == Elif.real and YKHO.imag == Elif.imag:\n return True\n else:\n return False\n else:\n return False", "def xa14(YKHO, Elif):\n if isinstance(Elif, int) or isinstance(Elif, float):\n if YKHO.i...
[ "0.7979479", "0.79375076", "0.78959805", "0.76380944", "0.7546919", "0.754254", "0.75335085", "0.7514558", "0.749869", "0.74698126", "0.744238", "0.7437042", "0.74024546", "0.7396562", "0.7386314", "0.7364255", "0.73624825", "0.73352134", "0.7299926", "0.7278721", "0.7278721"...
0.82681865
0
Return the sum of ``self`` and ``other``.
def sum(YKHO, Elif): return mPYi(YKHO.real + Elif.real, YKHO.imaginary + Elif.imaginary)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FOdN(YKHO, Elif):\n return YKHO.value + Elif.value", "def FOdN(YKHO, Elif):\n return zDdG(YKHO.value + Elif.value)", "def FOdN(YKHO, Elif):\n return YKHO.__arithmetic(Elif, 1)", "def H2v5(YKHO, Elif):\n return YKHO.__add__(Elif)", "def FOdN(YKHO, Elif):\n return YKHO.value + Elif", "de...
[ "0.81038547", "0.8085667", "0.8058702", "0.7902412", "0.7844916", "0.78404313", "0.7795653", "0.77366155", "0.772357", "0.7664328", "0.7664328", "0.7664328", "0.7648665", "0.76280564", "0.7620995", "0.7603367", "0.757974", "0.757819", "0.7557949", "0.7546789", "0.75386304", ...
0.7919366
3
The name of this channel
def mWFP(YKHO) -> str: return YKHO._name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO._channel.display_name", "def R5yJ(YKHO) -> str:\n return YKHO._values.get('channel_name')", "def mWFP(YKHO, YwkQ):\n return None", "def R5yJ(YKHO):\n return YKHO.name.partition('_')[2]", "def R5yJ(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'channel...
[ "0.89198923", "0.8823311", "0.8696341", "0.86636245", "0.8355173", "0.8321919", "0.8146581", "0.8146581", "0.8100504", "0.7947656", "0.79115623", "0.78324544", "0.77839446", "0.7718423", "0.77051336", "0.7678167", "0.75439316", "0.75389504", "0.74557114", "0.7319147", "0.7294...
0.7063149
46
The length of the dataset
def u54L(YKHO) -> int: return YKHO._dataset.shape[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def szAg(YKHO):\n return YKHO.dataset_size", "def szAg(YKHO):\n return YKHO.dataset_size", "def szAg(YKHO):\n return YKHO.dataset_size", "def szAg(YKHO):\n return YKHO.dataset_size", "def szAg(YKHO):\n return YKHO.dataset_size", "def szAg(YKHO):\n return YKHO.dataset_size", "def szAg(...
[ "0.8887828", "0.8887828", "0.8887828", "0.8887828", "0.8887828", "0.88814116", "0.87562335", "0.86713076", "0.8604631", "0.85806406", "0.85306084", "0.85306084", "0.85306084", "0.848915", "0.84609866", "0.84488255", "0.8446246", "0.8407854", "0.839168", "0.83902645", "0.83372...
0.8639394
8
The observation start time as a unix epoch in milliseconds
def SWox(YKHO): return G7Ug(YKHO._hdf5, EjAd)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SWox(YKHO):\n SWox = YKHO.data.get('start_time')\n if SWox:\n return Ed9_(SWox)", "def SWox(YKHO):\n return hA3p(YKHO.data.get('start_ms')) if YKHO.data.get('start_ms') != 0 else 0", "def nPac(YKHO) -> float:\n return YKHO.start_time().timestamp()", "def SWox(YKHO):\n return YKHO.ti...
[ "0.7321988", "0.7207712", "0.7184535", "0.71555823", "0.7139581", "0.71302235", "0.70956963", "0.70843", "0.7046727", "0.70313054", "0.7028341", "0.6973965", "0.6973965", "0.6971991", "0.6959048", "0.69475895", "0.69441634", "0.6941886", "0.6941886", "0.6905391", "0.6905391",...
0.7100976
6
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix inorder arguments and keyword arguments.
def FIMM(YKHO, *qIxc, **c_sp): if qIxc or c_sp: super(WFGN, YKHO).__init__(*qIxc, **c_sp) if YKHO.x_r0 is None: YKHO.x_r0 = 0 if YKHO.y_r0 is None: YKHO.y_r0 = 0 if YKHO.z_r0 is None: YKHO.z_r0 = 0 if YKHO.x_r1 is None: YKHO.x_r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, Ol8d=None):\n if Ol8d is not None:\n YKHO.message = Ol8d", "def FIMM(YKHO, Ol8d=None):\n YKHO.message = Ol8d", "def FIMM(YKHO, Ol8d=None):\n YKHO.message = Ol8d", "def FIMM(YKHO, Ol8d=None):\n super().__init__()\n YKHO.message = Ol8d", "def FIMM(YKHO, *qIxc, **c_sp):\n ...
[ "0.8165781", "0.7719894", "0.7719894", "0.7652554", "0.7572749", "0.75438637", "0.7485099", "0.7470329", "0.74580103", "0.74460536", "0.74451977", "0.74333984", "0.74150074", "0.7407784", "0.7391572", "0.73750585", "0.7362762", "0.7325153", "0.7323882", "0.7323882", "0.732388...
0.0
-1
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix inorder arguments and keyword arguments.
def FIMM(YKHO, *qIxc, **c_sp): if qIxc or c_sp: super(MDEp, YKHO).__init__(*qIxc, **c_sp) if YKHO.odor_r0 is None: YKHO.odor_r0 = 0.0 if YKHO.odor_r1 is None: YKHO.odor_r1 = 0.0 if YKHO.odor_r2 is None: YKHO.odor_r2 = 0.0 if YKHO.odor_r3 is...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, Ol8d=None):\n if Ol8d is not None:\n YKHO.message = Ol8d", "def FIMM(YKHO, Ol8d=None):\n YKHO.message = Ol8d", "def FIMM(YKHO, Ol8d=None):\n YKHO.message = Ol8d", "def FIMM(YKHO, Ol8d=None):\n super().__init__()\n YKHO.message = Ol8d", "def FIMM(YKHO, *qIxc, **c_sp):\n ...
[ "0.81645745", "0.7718656", "0.7718656", "0.76512235", "0.75726247", "0.7542752", "0.7484152", "0.74688715", "0.74572617", "0.7444701", "0.74434286", "0.7432273", "0.741445", "0.740745", "0.73911446", "0.7374251", "0.7361524", "0.7323566", "0.73224604", "0.73224604", "0.732246...
0.0
-1
Get the inputs of the specified cells from the notebook.
def TdQt(JnVq): gQBW = Zboo().user_ns['In'] JnVq = rYWu(JnVq, len(gQBW)) return [gQBW[WKvO] for WKvO in JnVq]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CRas(K_hV):\n return K_hV['worksheets'][0]['cells'] if 'worksheets' in K_hV else K_hV['cells']", "def g4y1(YKHO):\n return YKHO._inputs.get(id(HUs2.get_workspace()), None)", "def Zo7w(YKHO):\n return YKHO.inputs", "def Zo7w(YKHO):\n return YKHO.inputs", "def pfU3(YKHO):\n return YKHO.__i...
[ "0.6728883", "0.66096324", "0.65630037", "0.6533316", "0.6428848", "0.6428848", "0.6428848", "0.6387931", "0.63409495", "0.62788653", "0.626003", "0.6218359", "0.6216989", "0.6209093", "0.6172353", "0.617042", "0.6149958", "0.61343724", "0.6130329", "0.6085864", "0.6052751", ...
0.6775829
0
Returns an independent copy of this BlockGrid.
def jth9(YKHO): return jth9.deepcopy(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i3ak(YKHO):\n P5uO = rApN(list(YKHO._grid))\n return P5uO", "def i3ak(YKHO):\n gYvv = rApN()\n gYvv.map = _qLf(YKHO.map)\n gYvv.size = YKHO.size\n return gYvv", "def CenV(YKHO):\n return YKHO._raw_grid[:]", "def HR94(Emd4, Cs6h):\n return jth9.deepcopy(Cs6h)", "def jth9(YKHO):\n...
[ "0.81040156", "0.78396285", "0.77989316", "0.7623134", "0.73188776", "0.7306866", "0.72494596", "0.71885884", "0.7022944", "0.7008312", "0.6990471", "0.6974025", "0.69446063", "0.6915396", "0.6896117", "0.68437475", "0.6799474", "0.6753585", "0.6753585", "0.6753585", "0.67535...
0.63704073
75
Embed grid in the notebook as a PNG image.
def i5J1(YKHO): if HwRy.version_info[0] == 2: from StringIO import StringIO as aKaX elif HwRy.version_info[0] == 3: from io import aKaX Xn71 = aKaX() YKHO._write_image(Xn71) W8mS(L4d8(data=Xn71.getvalue(), format='png'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s5WW(Cs6h):\n QrM1.figure(figsize=(10, 5))\n QrM1.imshow(Cs6h, cmap=QrM1.cm.binary, interpolation='nearest')\n (QrM1.xticks([]), QrM1.yticks([]))\n QrM1.show()", "def RUQs():\n Ty9i = oyIN.zeros((10, 10))\n Ty9i[5, 5] = 1\n import pylab as cf3u\n FlME(Ty9i, mode='single')\n cf3u.sa...
[ "0.7658119", "0.6706551", "0.6689303", "0.6623943", "0.6613811", "0.6609591", "0.6543273", "0.64854884", "0.6474323", "0.64562273", "0.6386323", "0.63232327", "0.6313623", "0.6250662", "0.620678", "0.6200556", "0.61775255", "0.61717224", "0.6158552", "0.6087785", "0.6070184",...
0.6205022
15
Filter filename. Only allow some basic characters and shorten to 50 characters.
def DBCz(Emd4, YRbF): return Emd4._filename_re.sub('', YRbF)[:50]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NVCy(Ux0P, KXwX=xydG, qx_G=' '):\n for sZqf in qx_G:\n Ux0P = Ux0P.replace(sZqf, '_')\n LS1r = zVCt.normalize('NFKD', Ux0P).encode('ASCII', 'ignore').decode()\n LS1r = ''.join((x0SS for x0SS in LS1r if x0SS in KXwX))\n return LS1r[:IALD]", "def pu6R(YKHO, gIsw):\n jUwZ = '-_.() abcdefgh...
[ "0.72547674", "0.7089439", "0.6781778", "0.6645692", "0.6579201", "0.654903", "0.6534159", "0.65177065", "0.65177065", "0.6507563", "0.6507515", "0.6435344", "0.6420414", "0.64137536", "0.6371257", "0.636511", "0.63297725", "0.6326694", "0.63037944", "0.62931144", "0.62876797...
0.75225806
0
Get a numpy array of an image so that one can access values[x][y].
def cMYb(QMAG): LNo8 = hnIv.open(QMAG, 'r') TVTK, H2v2 = LNo8.size LNo8 = LNo8.crop((TVTK // 2 - 500, H2v2 // 2 - 325, TVTK // 2 + 500, H2v2 // 2 + 325)) zNig = (500, 325) LNo8 = LNo8.resize(zNig, hnIv.ANTIALIAS) IKaI = list(LNo8.getdata()) if LNo8.mode == 'RGB': xMux = 3 elif LN...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bs4U(LNo8):\n mLGw = LNo8.shape[0]\n vEPh = LNo8.shape[-1]\n jzdc = ht2j.arange(0, vEPh, 1)\n qJvq, btha = ht2j.meshgrid(jzdc, jzdc, indexing='xy')\n EZRN = ht2j.cat(mLGw * [qJvq.flatten().unsqueeze(0)])\n xKOr = ht2j.cat(mLGw * [btha.flatten().unsqueeze(0)])\n BWXx = LNo8.reshape(-1, vEPh...
[ "0.7960859", "0.73573494", "0.73158026", "0.7199141", "0.7153261", "0.71135104", "0.7097304", "0.7070287", "0.6992168", "0.6964249", "0.69457287", "0.6905532", "0.68914455", "0.6872309", "0.68623567", "0.6858437", "0.6845491", "0.68089855", "0.6807523", "0.6772004", "0.676882...
0.0
-1
r"""[Copy of original botorch function] Heuristic for selecting initial conditions for candidate generation. This heuristic selects points from `X` (without replacement) with probability proportional to `exp(eta Z)`, where `Z = (Y mean(Y)) / std(Y)` and `eta` is a temperature parameter. When using an acquisiton functio...
def sNBf(EcVT, fuBA, exwG, RHJb=1.0): cDK5 = EcVT.shape[0] if exwG > cDK5: raise RuntimeError(f'n ({exwG}) cannot be larger than the number of provided samples ({cDK5})') elif exwG == cDK5: return EcVT AOnB = fuBA.std() if AOnB == 0: qmLP.warn('All acqusition values for raw s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def laea(T8ck, _hZ2, BJo2):\n\n def q13q(rNYq):\n k0lF = oyIN.ones(BJo2, dtype=float) * _hZ2 / BJo2\n r8IL = oyIN.random.choice(oyIN.flatnonzero(T8ck[rNYq] == T8ck[rNYq].max()))\n k0lF[r8IL] += 1.0 - _hZ2\n return k0lF\n return q13q", "def eCGt(YKHO):\n YKHO.coin_counter = CU...
[ "0.60311115", "0.5950413", "0.5904948", "0.58820367", "0.58181137", "0.58153886", "0.5791429", "0.5759861", "0.5739275", "0.57329273", "0.5712415", "0.56946766", "0.56946766", "0.56901646", "0.567858", "0.56740826", "0.566316", "0.565404", "0.56205785", "0.5605301", "0.559481...
0.6905135
0
Utility to convert list of grids to list of 2d grids
def USUf(xjKT, ROpF, L4bz): AjXI = [] for YRbF, xNr2 in enumerate(xjKT): xNr2 = xNr2.reshape((ROpF[2], ROpF[0], ROpF[1], L4bz)) xNr2 = oyIN.moveaxis(xNr2, 0, 2) xNr2 = oyIN.moveaxis(xNr2, 3, 0) AjXI.append(xNr2) return AjXI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wA7_(IqQl, BAMb, uznx, Cs6h):\n WKvO = 0\n LVAh = 0\n qatX = iter(IqQl)\n for YRbF in range(16):\n WKvO = YRbF % 4\n if WKvO == 0 and YRbF != 0:\n LVAh += 1\n if Cs6h[BAMb + WKvO, uznx + LVAh] == -1:\n Cs6h[BAMb + WKvO, uznx + LVAh] = next(qatX)\n e...
[ "0.7472404", "0.74711317", "0.7091599", "0.70904195", "0.70823604", "0.70663744", "0.70508504", "0.704245", "0.6969428", "0.6961014", "0.69307554", "0.69101757", "0.69090825", "0.68840784", "0.6884007", "0.6857823", "0.6829167", "0.68136704", "0.68011284", "0.67845005", "0.67...
0.6551086
37
return printable latex string corresponding to the expression
def hlel(YKHO): return ' '.join([a1PO.output() for a1PO in YKHO.terms])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ykcg(VN2L):\n return _svw(VN2L)", "def aWcy(YKHO):\n return '\\n'.join(['\\\\begin{equation}', YKHO.latex.get(), '\\\\end{equation}'])", "def Ne1c(YKHO):\n return YKHO._str", "def eMsG(YKHO):\n return 'Element of ' + _svw(YKHO.space)", "def eMsG(YKHO):\n from sage.misc.latex import latex...
[ "0.7818305", "0.77075917", "0.77050656", "0.7621477", "0.75153005", "0.7510409", "0.7480741", "0.7480741", "0.7474337", "0.7442346", "0.7403987", "0.7333198", "0.73151106", "0.72917926", "0.7281557", "0.72693455", "0.7268052", "0.7251335", "0.72413063", "0.71774364", "0.71618...
0.0
-1
Returns a list of tensors with the allreduce product across `tensors`. The computation is done with an allreduce operation, so if only some of the returned tensors are evaluated then the computation will hang.
def ntfE(cRc2): return AC6O('prod', cRc2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AC6O(gH2v, cRc2):\n if not cRc2:\n raise ValueError('Must pass >0 tensors to all reduce operations')\n R8s1()\n olqs = Cp1h()\n Ylbp = []\n for a1PO in cRc2:\n X5S4(a1PO)\n with IPme.device(a1PO.device):\n Ylbp.append(_EV0.nccl_all_reduce(input=a1PO, reduction=gH2...
[ "0.7877433", "0.7475563", "0.7362559", "0.7272674", "0.6903125", "0.68092567", "0.67294616", "0.6714304", "0.6623726", "0.6601368", "0.65500087", "0.6353243", "0.62453854", "0.6234478", "0.6234478", "0.62190324", "0.6201163", "0.61996883", "0.6195053", "0.61281276", "0.611276...
0.8523336
0
Returns a list of tensors with the allreduce min across `tensors`. The computation is done with an allreduce operation, so if only some of the returned tensors are evaluated then the computation will hang.
def Bq3i(cRc2): return AC6O('min', cRc2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NtK2(cRc2, S8vG=True):\n for vhpA in cRc2:\n pImw.all_reduce(vhpA, async_op=False)\n if S8vG:\n aDYX = pImw.get_world_size()\n for vhpA in cRc2:\n vhpA.mul_(1.0 / aDYX)\n return cRc2", "def sSO3(cRc2, OzDw=1000000.0):\n with ZylS.compat.v1.train.SingularMonitoredSe...
[ "0.68762946", "0.64313877", "0.6383085", "0.6364385", "0.6279984", "0.6279092", "0.6212241", "0.61626494", "0.61255574", "0.6035081", "0.601454", "0.5965226", "0.59135735", "0.59004015", "0.58126855", "0.57994854", "0.5785349", "0.5761782", "0.57521665", "0.5734454", "0.57074...
0.9047798
0
Returns a list of tensors with the allreduce max across `tensors`. The computation is done with an allreduce operation, so if only some of the returned tensors are evaluated then the computation will hang.
def z0v6(cRc2): return AC6O('max', cRc2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ntfE(cRc2):\n return AC6O('prod', cRc2)", "def NtK2(cRc2, S8vG=True):\n for vhpA in cRc2:\n pImw.all_reduce(vhpA, async_op=False)\n if S8vG:\n aDYX = pImw.get_world_size()\n for vhpA in cRc2:\n vhpA.mul_(1.0 / aDYX)\n return cRc2", "def dBuj(cRc2, mWFP):\n M6v...
[ "0.6895184", "0.68100333", "0.67117625", "0.64532703", "0.63676465", "0.6350422", "0.6255774", "0.6174701", "0.6155765", "0.61266565", "0.61069906", "0.6085324", "0.60602343", "0.5998998", "0.59915835", "0.59872437", "0.59730065", "0.5905535", "0.5883875", "0.5877611", "0.587...
0.90509063
0
Returns the CDF at the value. Returns the cumulative density/mass function evaluated at `value` on the underlying normal distribution.
def YzER(YKHO, BWXx): return YKHO._normal.cdf(BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YzER(YKHO, BWXx):\n if YKHO.cond_dist is not None:\n return YKHO.cond_dist.cdf(BWXx, YKHO.params)\n return ht2j.tensor(oyIN.nan).float().expand_as(BWXx)", "def YzER(YKHO, BWXx: torch.Tensor, NArs: Dict[str, torch.Tensor]):\n if YKHO.distribution is not None:\n return YKHO.distribution....
[ "0.82624954", "0.7830465", "0.7312707", "0.72292", "0.7085559", "0.70483905", "0.6980416", "0.6977134", "0.6865763", "0.6769113", "0.67350715", "0.67185485", "0.6699397", "0.6690479", "0.66884947", "0.6669665", "0.6665971", "0.6663679", "0.6650771", "0.6649899", "0.6647724", ...
0.85686594
0
Returns the icdf function evaluated at `value`. Returns the icdf function evaluated at `value` on the underlying normal distribution.
def lYVX(YKHO, BWXx): return YKHO._normal.icdf(BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lYVX(YKHO, BWXx):\n if YKHO.cond_dist is not None:\n return YKHO.cond_dist.icdf(BWXx, YKHO.params)\n return ht2j.tensor(oyIN.nan).float().expand_as(BWXx)", "def lYVX(YKHO, BWXx: torch.Tensor, NArs: Dict[str, torch.Tensor]):\n if YKHO.distribution is not None:\n return YKHO.distribution...
[ "0.7777479", "0.7495027", "0.7329496", "0.7232514", "0.69251156", "0.6625391", "0.64154595", "0.6406167", "0.62537295", "0.6247447", "0.6168908", "0.60956955", "0.60624164", "0.59798014", "0.59550375", "0.5919804", "0.5914206", "0.5833721", "0.5825543", "0.58025265", "0.57875...
0.8000584
0
Construct a new TanhNormal distribution from a normal distribution.
def aFK1(Emd4, NEhl): BdN0 = Emd4(ht2j.zeros(1), ht2j.zeros(1)) BdN0._normal = NEhl return BdN0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s81J(xlLU):\n k9oh = PkBR(mean=0, sigma=1, rng=xlLU)\n return k9oh", "def FIMM(YKHO, yGTL: float, WTkW: float, gqRb: float, ODP9: float):\n SG1Q.__init__(YKHO, 'Normal')\n YKHO._mu = yGTL\n YKHO._sigma = WTkW\n YKHO._low = gqRb\n YKHO._high = ODP9", "def WGTe(mWFP, JBMS, M1Jx):\n if...
[ "0.68020713", "0.6769603", "0.6471508", "0.6459485", "0.64166856", "0.6404184", "0.6276991", "0.62004215", "0.61014694", "0.6078882", "0.60626453", "0.6053448", "0.6032695", "0.6018191", "0.60052013", "0.59916174", "0.5926971", "0.5915509", "0.5902288", "0.5838493", "0.583817...
0.68525404
0
Returns a new TanhNormal distribution. (or populates an existing instance provided by a derived class) with batch dimensions expanded to `batch_shape`. This method calls
def lHli(YKHO, ooTa, _1IC=None): NEhl = YKHO._normal.expand(ooTa, _1IC) BdN0 = YKHO._from_distribution(NEhl) return BdN0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wn5L(YKHO, ROpF, mWFP=None):\n return DbxN.normal(shape=ROpF, scale=1 / oyIN.sqrt(YKHO._emb_dim), name=mWFP)", "def FIMM(YKHO, EDoJ, ltwO=1.0, L1Lp=False, e5sz=True, fSL4=0.0, Re7N=1.0):\n super().__init__(output_dim=EDoJ, prior_std=ltwO, learn_prior=L1Lp, full=False, use_bias=e5sz)\n YKHO.f_prior =...
[ "0.6215371", "0.61992824", "0.6187086", "0.612918", "0.6054337", "0.6048903", "0.6028298", "0.59082776", "0.5869134", "0.58506024", "0.5808363", "0.57997054", "0.5762688", "0.57488763", "0.5734618", "0.5712505", "0.5696658", "0.56950116", "0.56880736", "0.5682136", "0.5661405...
0.684956
0
Returns entropy of the underlying normal distribution.
def oqGu(YKHO): return YKHO._normal.entropy()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oqGu(YKHO):\n try:\n return YKHO._entropy()\n except AttributeError:\n return YKHO.dist.entropy()", "def oqGu(YKHO) -> float:\n return YKHO._distribution.entropy()[0]", "def D6ZT(M1Jx):\n SRYB = M1Jx.pow(2)\n oqGu = 0.5 + 0.5 * ht2j.log(2 * SRYB * oyIN.pi)\n return oqGu.sum(...
[ "0.791061", "0.78780156", "0.77574956", "0.751122", "0.74345785", "0.7430402", "0.73581564", "0.7353467", "0.7347993", "0.72096556", "0.71892947", "0.71892947", "0.71438813", "0.714316", "0.71051645", "0.7101816", "0.70966697", "0.70728076", "0.7068067", "0.7068067", "0.70471...
0.84373933
0
Return a dictionary of static values that all objects of this model have. This applies only to kubernetes resources where ``kind`` and ``apiVersion`` are statically determined by the resource. See the `Kubernetes OpenAPI Spec Readme`__. For example for a v1 Deployment we return
def uaUe(SD0o): if 'x-kubernetes-group-version-kind' in SD0o: hkxX = SD0o['x-kubernetes-group-version-kind'] if len(hkxX) == 1: uOe2 = hkxX[0].get('group', '') if uOe2: uOe2 = uOe2 + '/' return {'kind': hkxX[0]['kind'], 'apiVersion': uOe2 + hkxX[0]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e5kH(YKHO):\n Csk6 = {'resourceType': YKHO.resource_type, 'created': YKHO.obj.create_ts.isoformat(timespec='milliseconds'), 'lastModified': YKHO.obj.update_ts.isoformat(timespec='milliseconds'), 'location': YKHO.location}\n return Csk6", "def hZ_t():\n return xG90({'apiVersion': HAPf(['v1', 'v1beta1...
[ "0.6520111", "0.6338016", "0.6155107", "0.6144147", "0.60750335", "0.60179186", "0.5909617", "0.59018964", "0.58529174", "0.58516836", "0.58402574", "0.58314145", "0.57868135", "0.5778812", "0.5746067", "0.57422173", "0.57380605", "0.57231915", "0.5708979", "0.56988555", "0.5...
0.6441508
1
Split sequence into fragments no longer than n
def xBvs(aWuw, exwG): for YRbF in range(0, len(aWuw), exwG): yield str(aWuw[YRbF:YRbF + exwG])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GZDs(Q6uT, exwG):\n while Q6uT:\n yield Q6uT[:exwG]\n Q6uT = Q6uT[exwG:]", "def Z0az(Q6uT, exwG):\n while Q6uT:\n yield Q6uT[:exwG]\n Q6uT = Q6uT[exwG:]", "def Z0az(Q6uT, exwG):\n while Q6uT:\n yield Q6uT[:exwG]\n Q6uT = Q6uT[exwG:]", "def Z0az(Q6uT, exw...
[ "0.83496374", "0.82086974", "0.8193208", "0.8193208", "0.79791987", "0.7848249", "0.7711712", "0.7688291", "0.76367617", "0.7557952", "0.7502293", "0.7484895", "0.74346197", "0.74181825", "0.7398566", "0.7382931", "0.7382451", "0.73655623", "0.73542774", "0.73352766", "0.7316...
0.7906916
5
Split sequence into fragments no longer than n (with overlap)
def NQRZ(aWuw, exwG, yHH9): for YRbF in range(0, len(aWuw), round(exwG / yHH9)): yield str(aWuw[YRbF:YRbF + exwG])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GZDs(Q6uT, exwG):\n while Q6uT:\n yield Q6uT[:exwG]\n Q6uT = Q6uT[exwG:]", "def Z0az(Q6uT, exwG):\n while Q6uT:\n yield Q6uT[:exwG]\n Q6uT = Q6uT[exwG:]", "def Z0az(Q6uT, exwG):\n while Q6uT:\n yield Q6uT[:exwG]\n Q6uT = Q6uT[exwG:]", "def Z0az(Q6uT, exw...
[ "0.7738993", "0.76468897", "0.7643796", "0.7643796", "0.75072944", "0.74993265", "0.7395606", "0.73008454", "0.7243081", "0.7166145", "0.7147781", "0.7085224", "0.70605975", "0.7006072", "0.6999789", "0.697379", "0.6912937", "0.6867833", "0.68297565", "0.6823842", "0.6813546"...
0.7538618
4
Assert that get_count_with_limits returns the right number for given input
def IZ__(YKHO): YKHO.assertEqual(wYDr(Zwka), 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pTVs(YKHO):\n aEqx = YKHO.PyCount(YKHO.MaxStepData, 0.0, YKHO.MaxStep)\n dY4s.count(YKHO.MaxStepData, 0.0, YKHO.MaxStep)\n for e3e9, _mQC in zip(list(YKHO.MaxStepData), aEqx):\n YKHO.assertEqual(e3e9, _mQC)", "def pTVs(YKHO):\n aEqx = YKHO.PyCount(YKHO.MaxStepData, 0.0, YKHO.MaxStep)\n ...
[ "0.6563142", "0.6563142", "0.65439194", "0.65439194", "0.65439194", "0.65439194", "0.65439194", "0.65439194", "0.65439194", "0.65439194", "0.65419763", "0.65402657", "0.6534192", "0.6534192", "0.6534192", "0.6534192", "0.6534192", "0.6534192", "0.6534192", "0.6534192", "0.653...
0.68005145
0
Assert that get_count_with_limits returns the right number for given input
def OmO0(YKHO): YKHO.assertEqual(O47B(Zwka), 1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IZ__(YKHO):\n YKHO.assertEqual(wYDr(Zwka), 2)", "def pTVs(YKHO):\n aEqx = YKHO.PyCount(YKHO.MaxStepData, 0.0, YKHO.MaxStep)\n dY4s.count(YKHO.MaxStepData, 0.0, YKHO.MaxStep)\n for e3e9, _mQC in zip(list(YKHO.MaxStepData), aEqx):\n YKHO.assertEqual(e3e9, _mQC)", "def pTVs(YKHO):\n aEqx...
[ "0.6801488", "0.6563613", "0.6563613", "0.6543624", "0.6543624", "0.6543624", "0.6543624", "0.6543624", "0.6543624", "0.6543624", "0.6543624", "0.6541782", "0.6539967", "0.65346205", "0.65346205", "0.65346205", "0.65346205", "0.65346205", "0.65346205", "0.65346205", "0.653462...
0.0
-1
Return the spot for this node that matches a parent spot. Return None if not found.
def mUiU(YKHO, KYiz): for j5sR in YKHO.spotRefs: if j5sR.parentSpot is KYiz: return j5sR return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _AKB(YKHO):\n if len(YKHO._parents) == 1:\n return YKHO._parents[0]\n elif len(YKHO._parents) == 0:\n return None\n else:\n raise Exception(\"The node has '\" + str(len(YKHO._parents)) + \"' parents.\")", "def PAwq(Q6kx: ast.AST) -> h8nf[jZ4I.AST]:\n return getattr(Q6kx, 'wps...
[ "0.6658572", "0.66485816", "0.66331244", "0.662243", "0.65898097", "0.6517976", "0.6516152", "0.6483685", "0.63914084", "0.63914084", "0.63914084", "0.6381704", "0.6373458", "0.63666433", "0.6342352", "0.63296777", "0.6320925", "0.6297749", "0.6265937", "0.6262771", "0.625212...
0.827427
0
Return a set of parent nodes for this node. Returns an empty set if called from the tree structure.
def ACnF(YKHO): try: return {j5sR.parentSpot.nodeRef for j5sR in YKHO.spotRefs} except AttributeError: return set()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ACnF(YKHO):\n ACnF = []\n PwWw = set()\n for Z9rn in YKHO.children:\n XP5J = Z9rn.parent\n if XP5J is not None:\n if XP5J not in PwWw:\n ACnF.append(XP5J)\n PwWw.add(XP5J)\n elif Z9rn not in PwWw:\n ACnF.append(Z9rn)\n ...
[ "0.7864858", "0.76547164", "0.75666386", "0.75426406", "0.7463758", "0.7461236", "0.7455593", "0.731206", "0.7292832", "0.7240142", "0.7213664", "0.7200248", "0.716863", "0.71580505", "0.7136827", "0.7095103", "0.7095103", "0.7095103", "0.7084641", "0.70703095", "0.70702285",...
0.7677581
1
Return a generator to step through all nodes in this branch. Includes self and closed nodes.
def aDXR(YKHO): yield YKHO for aUGN in YKHO.childList: for Q6kx in aUGN.descendantGen(): yield Q6kx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CmcM(YKHO):\n while 1:\n if YKHO.edge_function == 'node_slider':\n yield OyxN(YKHO.tree)\n elif YKHO.edge_function == 'poisson':\n raise NotImplementedError('Not yet supported')\n else:\n yield YKHO.tree", "def v0Bt(YKHO):\n for exwG in YKHO.child_l...
[ "0.7396388", "0.7335929", "0.7287388", "0.72870624", "0.72870624", "0.72809666", "0.72356397", "0.7230298", "0.722977", "0.7208001", "0.72059613", "0.71743524", "0.71619403", "0.711988", "0.7100341", "0.7096373", "0.7092252", "0.7062878", "0.7011999", "0.7005041", "0.70025426...
0.64746803
67
Return a set of all ancestor nodes (including self).
def JZlq(YKHO): Meuz = set() for j5sR in YKHO.spotRefs: Meuz.update(j5sR.spotChain()) return {j5sR.nodeRef for j5sR in Meuz}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JZlq(YKHO):\n U5bT = []\n for Q6kx in aM69.get_ancestors(YKHO._cursor, YKHO.id, sort=True):\n Q6kx = o7DN(YKHO._transaction, Q6kx.id)\n U5bT.append(Q6kx)\n return BfDw.vectorize_nodes(U5bT)[::-1]", "def TMRN(YKHO):\n\n def hF0A(Q6kx, JZlq):\n JZlq.extend(Q6kx.parents)\n ...
[ "0.8312423", "0.82163155", "0.8179098", "0.8172834", "0.79456204", "0.7862136", "0.7803934", "0.7738116", "0.76917124", "0.7680666", "0.7669513", "0.7459139", "0.7402271", "0.7402271", "0.7402271", "0.7402271", "0.7402271", "0.74010825", "0.7339401", "0.73217714", "0.73191303...
0.76312906
11
Return True if the regular expression is found in this node's data.
def HcsT(YKHO, aCst, H8od=False, UF8M=None): yJeS = YKHO.title(UF8M) if not H8od: yJeS = '{0}\x00{1}'.format(yJeS, '\x00'.join(YKHO.data.values())) for KVO7 in aCst: if not KVO7.search(yJeS): return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HlGW(YKHO, nPrm, njyT, JbyC=0):\n njyT = ZbWC.compile(njyT, JbyC)\n if njyT.match(nPrm):\n return True\n return False", "def hHld(YKHO, HlGW):\n return ZbWC.fullmatch(HlGW, YKHO) is not None", "def kUBT(YKHO, mXDZ):\n return YKHO.search(mXDZ) is not None", "def hHld(YKHO, mXDZ):\n ...
[ "0.7732491", "0.70915806", "0.6880077", "0.67674875", "0.67674875", "0.66074", "0.652678", "0.6392328", "0.6389752", "0.6389206", "0.6385355", "0.63685465", "0.6358284", "0.6321087", "0.6311909", "0.63089085", "0.6304415", "0.6232489", "0.6229619", "0.6192993", "0.617564", ...
0.0
-1