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 |
|---|---|---|---|---|---|---|
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif):
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.86511236",
"0.8642601",
"0.85641104",
"0.85641104",
"0.85408515",
"0.8455601",
"0.84398836",
"0.84398836"
] | 0.0 | -1 |
Return a `str` version of this ClassifiedClass object. | def zAg0(YKHO):
return qQXR.dumps(YKHO._to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yLCI(YKHO):\n return VAZI.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__kn_classifier.get_params()))",
"def yLCI(YKHO):\n return VAZI.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__extra_trees_classifier.get_params()))",
"def zAg0(YKHO) -... | [
"0.83084744",
"0.81357753",
"0.79906195",
"0.7985103",
"0.7643645",
"0.7628108",
"0.7560374",
"0.7549277",
"0.75138307",
"0.74994165",
"0.74815845",
"0.7469381",
"0.74660087",
"0.7438525",
"0.74115074",
"0.74097097",
"0.74090654",
"0.74090654",
"0.7360921",
"0.7360921",
"0.73... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif):
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.8738641",
"0.8500916",
"0.8475683",
"0.8460317",
"0.84538317",
"0.8351018",
"0.8338301",
"0.8322018",
"0.8310472",
"0.83085877",
"0.8285557",
"0.8285557",
"0.827926",
"0.827926",
"0.82772404",
"0.82772404",
"0.8277126",
"0.82756776",
"0.82674134",
"0.82674134",
"0.82569563... | 0.0 | -1 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif):
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.8650175",
"0.86424744",
"0.856196",
"0.856196",
"0.8539785",
"0.84545946",
"0.84390664",
"0.84390664"
] | 0.0 | -1 |
Return a `str` version of this Classifier object. | def zAg0(YKHO):
return qQXR.dumps(YKHO._to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yLCI(YKHO):\n return VAZI.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__kn_classifier.get_params()))",
"def yLCI(YKHO):\n return VAZI.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__extra_trees_classifier.get_params()))",
"def HRRg(YKHO):\... | [
"0.83803505",
"0.8179528",
"0.7842639",
"0.7737956",
"0.77095217",
"0.7397675",
"0.7293342",
"0.72795856",
"0.72794443",
"0.7269558",
"0.7259613",
"0.7186589",
"0.71685535",
"0.71337837",
"0.7121276",
"0.7118022",
"0.7111867",
"0.7111867",
"0.7058626",
"0.705619",
"0.705525",... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif):
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.87372637",
"0.85013497",
"0.84751153",
"0.8460018",
"0.8453634",
"0.8351786",
"0.83384866",
"0.8322394",
"0.8310281",
"0.8309107",
"0.8285674",
"0.8285674",
"0.82787365",
"0.82787365",
"0.8276745",
"0.8276745",
"0.8276232",
"0.8274811",
"0.82679266",
"0.82679266",
"0.82568... | 0.8171772 | 75 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif):
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.86511236",
"0.8642601",
"0.85641104",
"0.85641104",
"0.85408515",
"0.8455601",
"0.84398836",
"0.84398836"
] | 0.0 | -1 |
Return a `str` version of this ClassifierList object. | def zAg0(YKHO):
return qQXR.dumps(YKHO._to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yLCI(YKHO):\n return VAZI.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__kn_classifier.get_params()))",
"def yLCI(YKHO):\n return VAZI.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__extra_trees_classifier.get_params()))",
"def wHJl(YKHO) -... | [
"0.766696",
"0.75711113",
"0.7568381",
"0.7508738",
"0.7419189",
"0.7403213",
"0.7391806",
"0.7366461",
"0.7359626",
"0.7354095",
"0.7348169",
"0.7322502",
"0.7322502",
"0.73171955",
"0.7316502",
"0.7315822",
"0.7312888",
"0.7284198",
"0.7214205",
"0.72086334",
"0.71987313",
... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif):
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.8738641",
"0.8500916",
"0.8475683",
"0.8460317",
"0.84538317",
"0.8351018",
"0.8338301",
"0.8322018",
"0.8310472",
"0.83085877",
"0.8285557",
"0.8285557",
"0.827926",
"0.827926",
"0.82772404",
"0.82772404",
"0.8277126",
"0.82756776",
"0.82674134",
"0.82674134",
"0.82569563... | 0.81717426 | 76 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif):
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.8650175",
"0.86424744",
"0.856196",
"0.856196",
"0.8539785",
"0.84545946",
"0.84390664",
"0.84390664"
] | 0.0 | -1 |
Return a `str` version of this ClassifyInput object. | def zAg0(YKHO):
return qQXR.dumps(YKHO._to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yLCI(YKHO):\n return VAZI.to_string(YKHO).format(name=YKHO.Name, args=YKHO._parameters_to_string(YKHO.__kn_classifier.get_params()))",
"def zAg0(YKHO):\n _2sc = type(YKHO).__name__\n g4y1 = ','.join(map(lambda WKvO: WKvO.name, YKHO.inputs))\n return f'{YKHO.scoped_name}::{_2sc}({YKHO.n_units},{YK... | [
"0.77548665",
"0.72830856",
"0.7245553",
"0.7171505",
"0.7122493",
"0.6978691",
"0.6953485",
"0.68931276",
"0.6880406",
"0.6873862",
"0.6763273",
"0.67052287",
"0.66607356",
"0.6604804",
"0.6594907",
"0.65858084",
"0.65765643",
"0.6570472",
"0.6558725",
"0.6554655",
"0.655296... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif):
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.87372637",
"0.85013497",
"0.84751153",
"0.8460018",
"0.8453634",
"0.8351786",
"0.83384866",
"0.8322394",
"0.8310281",
"0.8309107",
"0.8285674",
"0.8285674",
"0.82787365",
"0.82787365",
"0.8276745",
"0.8276745",
"0.8276232",
"0.8274811",
"0.82679266",
"0.82679266",
"0.82568... | 0.8171772 | 77 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif):
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.86511236",
"0.8642601",
"0.85641104",
"0.85641104",
"0.85408515",
"0.8455601",
"0.84398836",
"0.84398836"
] | 0.0 | -1 |
Return a `str` version of this CollectionItem object. | def zAg0(YKHO):
return qQXR.dumps(YKHO._to_dict(), indent=2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.collection)",
"def str(YKHO):\n return str(YKHO.items)",
"def zAg0(YKHO) -> str:\n return str(YKHO.__items)",
"def zAg0(YKHO):\n return str(YKHO._items)",
"def zAg0(YKHO):\n return str(YKHO._items)",
"def zAg0(YKHO):\n return str(YKHO._items)",
"def z... | [
"0.81790644",
"0.81611717",
"0.8159233",
"0.8100656",
"0.8100656",
"0.8100656",
"0.8100656",
"0.8100656",
"0.8100656",
"0.8100656",
"0.8100656",
"0.8100656",
"0.80400276",
"0.8033441",
"0.7895785",
"0.78585166",
"0.7820046",
"0.7820046",
"0.7780179",
"0.77346474",
"0.7696141"... | 0.0 | -1 |
Return `true` when self and other are equal, false otherwise. | def xa14(YKHO, Elif):
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.8738641",
"0.8500916",
"0.8475683",
"0.8460317",
"0.84538317",
"0.8351018",
"0.8338301",
"0.8322018",
"0.8310472",
"0.83085877",
"0.8285557",
"0.8285557",
"0.827926",
"0.827926",
"0.82772404",
"0.82772404",
"0.8277126",
"0.82756776",
"0.82674134",
"0.82674134",
"0.82569563... | 0.81717426 | 74 |
Return `true` when self and other are not equal, false otherwise. | def Vdqg(YKHO, Elif):
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.8650175",
"0.86424744",
"0.856196",
"0.856196",
"0.8539785",
"0.84545946",
"0.84390664",
"0.84390664"
] | 0.0 | -1 |
Gets the incident end datetime within the reporting window. | def yA1z(xDh8, ZsYj=ZlX6, MbZJ=fAIS):
if xDh8.status == 'resolved':
Os4s = xDh8.last_status_change_at
else:
Os4s = ZsYj
return cKEZ(d5IO.parser.parse(Os4s), MbZJ) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X85E(YKHO):\n return YKHO.end_datetime.get_data_file_time_value_eifc()",
"def yA1z(YKHO):\n return YKHO._end_datetime",
"def mjdP(YKHO):\n return",
"def I8y8(YKHO):\n return YKHO.end_datetime.get_data_file_time_value()",
"def neRo(YKHO):\n return YKHO._reportingEndDate",
"def A_2I(YKHO... | [
"0.7591718",
"0.73910767",
"0.7367943",
"0.7258592",
"0.72237533",
"0.7071243",
"0.7034122",
"0.7016634",
"0.7016634",
"0.7016634",
"0.7016634",
"0.69713235",
"0.6946633",
"0.6933162",
"0.6890141",
"0.6890141",
"0.68656844",
"0.6861533",
"0.68612605",
"0.68612605",
"0.6861260... | 0.6486469 | 61 |
Gets the duration of an incident within the reporting window. | def WbTE(xDh8, ZsYj=ZlX6):
yKcO = d5IO.parser.parse(xDh8.created_at)
Os4s = yA1z(xDh8, ZsYj)
return Os4s - yKcO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EdTY(YKHO):\n A97Q = YKHO._request('track.getInfo', True)\n return pL5w(aP4s(A97Q, 'duration'))",
"def EdTY(YKHO):\n return pL5w(aP4s(YKHO._get_info_node(), 'duration'))",
"def WbTE(YKHO) -> str:\n return qe4Y.get(YKHO, 'duration')",
"def WbTE(YKHO) -> str:\n return qe4Y.get(YKHO, 'duratio... | [
"0.6907061",
"0.6639336",
"0.64889413",
"0.64889413",
"0.64889413",
"0.64889413",
"0.64889413",
"0.64889413",
"0.64889413",
"0.64298725",
"0.6415293",
"0.6415037",
"0.6390314",
"0.638809",
"0.63509923",
"0.6314493",
"0.6291636",
"0.62556267",
"0.6225615",
"0.6214759",
"0.6194... | 0.6935887 | 0 |
Return (but do not remove) the element at the front of the queue. Raise Empty exception if the queue is empty. | def cntZ(YKHO):
if YKHO.is_empty():
raise Exception('Queue is empty')
return YKHO._data[YKHO._front] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XL7A(YKHO):\n if YKHO.is_empty():\n raise nKJm\n return YKHO.queue[YKHO.front]",
"def qnv3(YKHO) -> Kt_s:\n if YKHO.size == 0:\n return None\n return YKHO.queue[YKHO.front]",
"def VnzS(gGq6):\n if FBfn(gGq6):\n raise IndexError('front on empty queue')\n return gGq6.fr... | [
"0.87136126",
"0.86091924",
"0.84041405",
"0.82205456",
"0.821781",
"0.82091874",
"0.81739694",
"0.81125134",
"0.80583495",
"0.80493313",
"0.8016352",
"0.80102235",
"0.80102235",
"0.80102235",
"0.8007833",
"0.80001205",
"0.793775",
"0.79173565",
"0.7916868",
"0.79151",
"0.789... | 0.82140315 | 5 |
Remove and return the first element of the queue (i.e., FIFO). Raise Empty exception if the queue is empty. | def he0F(YKHO):
if YKHO.is_empty():
raise Exception('Queue is empty')
ANfV = YKHO._data[YKHO._front]
YKHO._data[YKHO._front] = None
YKHO._front = (YKHO._front + 1) % len(YKHO._data)
YKHO._size -= 1
return ANfV | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def he0F(YKHO):\n try:\n cntZ = YKHO._deque.popleft()\n except IndexError:\n raise rWmY('The queue is empty!')\n return cntZ",
"def BEuN(YKHO):\n if len(YKHO._queue) <= 0:\n raise ValueError('Queue is empty. Cannot call remove')\n U6D_ = YKHO._queue[0]\n del YKHO._queue[0]\... | [
"0.8374627",
"0.81717825",
"0.8168305",
"0.8166127",
"0.8044921",
"0.79887944",
"0.79817325",
"0.79570484",
"0.7953828",
"0.79427046",
"0.79347277",
"0.7928176",
"0.79263437",
"0.79229456",
"0.7878836",
"0.7873892",
"0.78717256",
"0.7858641",
"0.7828634",
"0.78261656",
"0.780... | 0.74838364 | 67 |
Return the currently running interpreter. | def R4Lq():
id = FjGO.get_current()
return LftB(id) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mh5P(YKHO):\n return YKHO._interpreter",
"def B6Jl(YKHO):\n return YKHO.interpreter",
"def B6Jl():\n eHNT = lYrb().f_back.f_code.co_filename\n if ZbWC.match('<pyshell#\\\\d*>', eHNT):\n return 'idle'\n elif ZbWC.match('<ipython-', eHNT):\n EmyI = lYrb().f_back.f_back\n i... | [
"0.80178505",
"0.8012346",
"0.7641461",
"0.7554996",
"0.72439826",
"0.72439826",
"0.72439826",
"0.72439826",
"0.72439826",
"0.72439826",
"0.69690907",
"0.6933864",
"0.68245435",
"0.6778192",
"0.6710314",
"0.6529631",
"0.6492382",
"0.6332836",
"0.6318593",
"0.62697035",
"0.623... | 0.80585593 | 0 |
Class constructor for the connector to TusDatos.co webservice with API REST. This connector implements all the available API methods. In case of a Validation Error with data or the call itself, the schema to be expected | def FIMM(YKHO, Jpbe):
YKHO.url = 'https://dash-board.tusdatos.co'
YKHO.session = G4JS.Session()
YKHO.session.headers = {'Content-Type': 'application/json', 'accept': 'application/json'}
YKHO.session.auth = Jpbe | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n w2IS = YKHO.ENDPOINT.format()\n super(Ne9U, YKHO).__init__(w2IS, method=YKHO.METHOD)",
"def FIMM(YKHO, PQBk='127.0.0.1', V4q6='8443', sbnj='wsdl/cucm/axl/10.5/AXLAPI.wsdl', NtEF='', jTXt=''):\n YKHO.wsdl = 'file://' + Hy7s.path.join(DiYg, sbnj)\n YKHO.cucm = PQBk\n YKHO.cmport = ... | [
"0.6210609",
"0.61512154",
"0.60770166",
"0.6000203",
"0.59496427",
"0.59212226",
"0.59137297",
"0.5911496",
"0.5894571",
"0.58405167",
"0.58128333",
"0.579604",
"0.578664",
"0.578664",
"0.5716255",
"0.5706291",
"0.5706291",
"0.5706291",
"0.5705662",
"0.5705662",
"0.5705662",... | 0.0 | -1 |
Consultation of the status of the task currently running. This endpoint returns the status | def dixj(YKHO, U7VB):
return YKHO.api_get(f'/api/results/{U7VB}') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vO4G():\n return N2qU.task.all_task_statuses()",
"def jGRS(YKHO, nNXP, _TKD=None):\n D5gV = nNXP.task.get(task_id=_TKD)\n print('Task %(task_id)s: %(status)s' % {'task_id': _TKD, 'status': D5gV['status']})",
"def jGRS(YKHO, _TKD):\n D5gV = NCls.task_get(_TKD)\n print(bGrB('Task %(task_id)s i... | [
"0.81688106",
"0.80074346",
"0.77554286",
"0.7630939",
"0.75710386",
"0.75500214",
"0.7518046",
"0.7425249",
"0.7416527",
"0.74092096",
"0.7395639",
"0.7394542",
"0.7388821",
"0.73625225",
"0.736178",
"0.73393905",
"0.73229194",
"0.73197675",
"0.7315806",
"0.73036104",
"0.728... | 0.0 | -1 |
This endpoint generates the html of the business report. To receive the html you must send a get request with the id of the desired report. The id of the report is obtained from the result of the consultation in the endpoint /api/results/{jobid}. | def WNLu(YKHO, U7VB):
return YKHO.api_get(f'/api/report_nit/{U7VB}') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f149(YKHO, *bGrB, **IaaG):\n return YKHO.report()",
"def NMoC(YKHO, rjee=None):\n Twxx = UBD4().load(QePW.args)\n if len(Twxx.errors) > 0:\n bo34.debug('Validation error: {}'.format(Twxx.errors))\n return (Twxx.errors, 500)\n else:\n qIxc = Twxx.data\n if 'job_id' not in q... | [
"0.6972835",
"0.6958547",
"0.67443115",
"0.6691492",
"0.66872376",
"0.66779363",
"0.6558536",
"0.65522885",
"0.6474007",
"0.6416687",
"0.63816446",
"0.63693744",
"0.63685876",
"0.6322666",
"0.6295974",
"0.6220133",
"0.61773914",
"0.6103312",
"0.6083618",
"0.6079924",
"0.60633... | 0.5524703 | 78 |
In this endpoint the report json is generated. To receive the json, you must send a get request with the id of the desired report. The id of the report is obtained from the result of the query in the endpoint /api/results/{jobid}. | def HPmh(YKHO, U7VB):
return YKHO.api_get(f'/api/report_json/{U7VB}') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(YKHO, rjee=None):\n Twxx = UBD4().load(QePW.args)\n if len(Twxx.errors) > 0:\n bo34.debug('Validation error: {}'.format(Twxx.errors))\n return (Twxx.errors, 500)\n else:\n qIxc = Twxx.data\n if 'job_id' not in qIxc:\n bo34.debug('Reports queue requested')\n _... | [
"0.79690564",
"0.763369",
"0.7512368",
"0.6792834",
"0.67855257",
"0.67841893",
"0.67546844",
"0.6726738",
"0.6691089",
"0.66653574",
"0.6629204",
"0.6618153",
"0.658464",
"0.657047",
"0.6539959",
"0.6526715",
"0.6470689",
"0.64533967",
"0.64508516",
"0.6449517",
"0.6365333",... | 0.7616782 | 2 |
Depthwise separable 2D Convolution. | def FIMM(YKHO, DYuh: int, tYiq: int, Ot1W: Union[int, Tuple[int, int], MutableSequence[int]], _0fC: Optional[int]=1, dvgN: Optional[int]=0, ivFb: Optional[int]=1, oug5: Optional[bool]=True, ktt2: Optional[str]='zeros', Nnds: Optional[Union[int, Tuple[int, int], MutableSequence[int]]]=1, y3Gf: Optional[int]=1, Zhlb: Opt... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def j1xt(g4y1, WZcn, FEri, dvgN):\n return yOcR.lax.conv_general_dilated(g4y1, WZcn, FEri, dvgN, feature_group_count=g4y1.shape[-1], dimension_numbers=('NHWC', 'HWIO', 'NHWC'))",
"def fN14(YKHO, *qIxc, **B2fa):\n FYKK, ZI14 = YKHO._get_function_and_suffix('separable_conv2d')\n Fxgs = YKHO._get_num_outpu... | [
"0.7330952",
"0.7124884",
"0.70583516",
"0.70313716",
"0.7020854",
"0.6928901",
"0.6861738",
"0.68469703",
"0.6844958",
"0.668237",
"0.66674584",
"0.66478777",
"0.6464632",
"0.6423427",
"0.6408105",
"0.6408105",
"0.6347444",
"0.6343445",
"0.63402",
"0.63343287",
"0.629423",
... | 0.6291064 | 21 |
Finds the deepest directory which ends with one of the given sequence of suffixes, or returns ``None`` if no directories end with any of the suffixes. | def jX7z(pmON, iRsl):
pmON = pmON.strip()
if pmON in (khtY.sep, ''):
return None
pmON = pmON.rstrip(khtY.sep)
if any((pmON.endswith(KCHu) for KCHu in iRsl)):
return pmON
return jX7z(khtY.dirname(pmON), iRsl) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jX7z(pmON, iRsl):\n pmON = pmON.strip()\n if pmON == khtY.sep or pmON == '':\n return None\n pmON = pmON.rstrip(khtY.sep)\n if any([pmON.endswith(KCHu) for KCHu in iRsl]):\n return pmON\n return jX7z(khtY.dirname(pmON), iRsl)",
"def A99F(ZI14, pmON):\n if len(ZI14) == 0 or len... | [
"0.7505686",
"0.68141705",
"0.63617647",
"0.5992697",
"0.5962751",
"0.58974576",
"0.58956563",
"0.5867214",
"0.5866806",
"0.5832805",
"0.57169497",
"0.56875473",
"0.56800866",
"0.5642557",
"0.5639742",
"0.5610994",
"0.5573906",
"0.55737054",
"0.5556278",
"0.5541178",
"0.55213... | 0.7481874 | 1 |
Returns the base name and the extension from the given file name. If ``allowedExts`` is ``None`` and ``firstDot`` is ``False``, this | def KYxy(Ux0P: PathLike, Ih62: Sequence[str]=None, aFCQ: bool=False) -> AzJI[str, str]:
Ux0P = str(Ux0P)
if Ih62 is None:
if not aFCQ:
return khtY.splitext(Ux0P)
else:
or8S = Ux0P.find('.')
if or8S == -1:
return (Ux0P, '')
else:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pECp(uRP3, Ih62=None):\n if Ih62 is None:\n return khtY.splitext(uRP3)[1]\n chFZ = [uRP3.endswith(YBcr) for YBcr in Ih62]\n if not any(chFZ):\n return ''\n Lki3 = chFZ.index(True)\n return Ih62[Lki3]",
"def HIHh(YKHO, gIsw):\n return YKHO.__dot_split(gIsw)[1]",
"def oEsG(YKH... | [
"0.71922123",
"0.7004107",
"0.6802383",
"0.6700562",
"0.66752744",
"0.66551584",
"0.6639748",
"0.6590826",
"0.65869635",
"0.6577051",
"0.6568053",
"0.6547571",
"0.6529942",
"0.65273345",
"0.6502737",
"0.65016675",
"0.64998454",
"0.6495663",
"0.64839983",
"0.6481133",
"0.64754... | 0.75781846 | 0 |
Return the longest prefix for the given file name which unambiguously identifies it, relative to the other files in the same directory. | def uluA(pmON):
TLI7, Ux0P = khtY.split(pmON)
or8S = 0
y0cW = khtY.join(TLI7, Ux0P[0])
yht1 = SC2F.glob('{}*'.format(y0cW))
while True:
if len(yht1) == 1:
break
if len(yht1) == 0 or or8S >= len(Ux0P) - 1:
raise ko11('No unique prefix for {}'.format(Ux0P))
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wIDk(YKHO):\n tX49 = YKHO.prefixes\n if not tX49:\n return ''\n bKPk = max(range(len(tX49)), key=lambda YRbF: tX49[YRbF])\n return tX49[bKPk]",
"def CDAW(KouY):\n ZWFA = [' '.join(KCHu.split()[::-1]) for KCHu in KouY]\n ErDx = Hy7s.path.commonprefix(ZWFA)\n FOO1 = ' '.join(ErDx.sp... | [
"0.7205331",
"0.6987901",
"0.6868386",
"0.68506724",
"0.67962456",
"0.6777841",
"0.677741",
"0.67726064",
"0.66629523",
"0.6651085",
"0.6617403",
"0.6583753",
"0.6561973",
"0.6541578",
"0.6450514",
"0.6434907",
"0.6387664",
"0.6306307",
"0.62973946",
"0.62752235",
"0.62698907... | 0.57161814 | 73 |
Convert Windows path (or a command line argument containing a Windows | def MbGj(pmON):
kUBT = ZbWC.match('^(--[\\w-]+=)?\\\\\\\\wsl\\$[\\\\\\/][^\\\\^\\/]+(.*)$', pmON)
if kUBT:
d7pR, pmON = kUBT.group(1, 2)
if d7pR is None:
d7pR = ''
return d7pR + pmON.replace('\\', '/')
kUBT = ZbWC.match('^(--[\\w-]+=)?([a-zA-z]):(.+)$', pmON)
if kUBT:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UjiR(*qIxc):\n return Hy7s.path.normpath(Hy7s.path.join(*qIxc))",
"def UjiR(*qIxc):\n return Hy7s.path.normpath(Hy7s.path.join(*qIxc))",
"def zR6r(U0tv):\n return str(U0tv.replace('\\\\', '/'))",
"def fToG(GTK5):\n return str(GTK5.replace('/', '\\\\'))",
"def FIA4(pmON):\n return Yn3K.ch... | [
"0.7426974",
"0.7426974",
"0.7299068",
"0.7272864",
"0.7166921",
"0.6887881",
"0.6845205",
"0.6775541",
"0.6726575",
"0.6666116",
"0.66427076",
"0.65890944",
"0.6532128",
"0.6504597",
"0.6485304",
"0.6484664",
"0.64198107",
"0.6406618",
"0.6402282",
"0.6356534",
"0.63400894",... | 0.5827933 | 53 |
Returns the bounding boxes (left, up, right, bottom) of each mask in the given tensor. | def waKj(ZHfW: Union[torch.Tensor, np.ndarray]) -> uLKX[ht2j.Tensor, oyIN.ndarray]:
if not isinstance(ZHfW, (ht2j.Tensor, oyIN.ndarray)):
raise TypeError(f'Cannot handle type of mask: {type(ZHfW)}')
GuMb = ZHfW.shape
MD8Z = isinstance(ZHfW, ht2j.Tensor)
usx6, WfCS = (ZHfW.any(-1), ZHfW.any(-2))
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def D2so(oGem):\n ywwl = oGem.shape[0]\n c8oy = oGem.new_zeros((ywwl, 4), dtype=ht2j.float32)\n BG9C = ht2j.any(oGem, dim=1)\n xknR = ht2j.any(oGem, dim=2)\n for YRbF in range(ywwl):\n WKvO = ht2j.where(BG9C[YRbF, :])[0]\n LVAh = ht2j.where(xknR[YRbF, :])[0]\n if len(WKvO) > 0 a... | [
"0.73879427",
"0.7311094",
"0.7311094",
"0.7311094",
"0.7311094",
"0.7311094",
"0.7311094",
"0.7311094",
"0.7309206",
"0.73065615",
"0.7289219",
"0.7256069",
"0.71575373",
"0.7135315",
"0.70513487",
"0.7047714",
"0.6956205",
"0.6945569",
"0.693467",
"0.6902243",
"0.68975663",... | 0.7624495 | 0 |
Test case for create_authorization_openshift_io_v1_policy_binding_for_all_namespaces | def oGe6(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ub0u(YKHO):\n pass",
"def pmtC(YKHO):\n pass",
"def LrpI(YKHO):\n pass",
"def b49N(YKHO):\n pass",
"def KZdl(YKHO):\n pass",
"def Y1pf(YKHO):\n pass",
"def HK0h(YKHO):\n pass",
"def H7zZ(YKHO):\n pass",
"def rvNJ(YKHO):\n pass",
"def vj4c(YKHO):\n pass",
"def A... | [
"0.8724775",
"0.8656872",
"0.84773976",
"0.8322323",
"0.82453316",
"0.80282056",
"0.79793924",
"0.7899091",
"0.77673453",
"0.77052253",
"0.7647946",
"0.75784874",
"0.7365039",
"0.72428495",
"0.7180024",
"0.71215403",
"0.71154815",
"0.71044767",
"0.7035881",
"0.6988509",
"0.69... | 0.9599218 | 0 |
Test case for create_authorization_openshift_io_v1_policy_for_all_namespaces | def pmtC(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oGe6(YKHO):\n pass",
"def rvNJ(YKHO):\n pass",
"def O8cY(YKHO):\n pass",
"def vor_(YKHO):\n pass",
"def Ub0u(YKHO):\n pass",
"def LrpI(YKHO):\n pass",
"def B0eB(YKHO):\n pass",
"def KZRu(YKHO):\n pass",
"def hY2y(YKHO):\n pass",
"def b49N(YKHO):\n pass",
"def E... | [
"0.887518",
"0.8593284",
"0.8464924",
"0.80594003",
"0.79688483",
"0.7878575",
"0.7759921",
"0.77574116",
"0.76699126",
"0.75045335",
"0.7483171",
"0.7470407",
"0.7412536",
"0.7369874",
"0.7344264",
"0.7240338",
"0.7222649",
"0.7146794",
"0.7143752",
"0.7119367",
"0.70641744"... | 0.95975083 | 0 |
Test case for create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces | def Em8g(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iby7(YKHO):\n pass",
"def LfyN(YKHO):\n pass",
"def PKj9(YKHO):\n pass",
"def MCoF(YKHO):\n pass",
"def CwY4(YKHO):\n pass",
"def GzrD(YKHO):\n pass",
"def tIJn(YKHO):\n pass",
"def fzhV(YKHO):\n pass",
"def Dk7i(YKHO):\n pass",
"def vor_(YKHO):\n pass",
"def p... | [
"0.88900286",
"0.86981523",
"0.8572651",
"0.8147613",
"0.80071056",
"0.7695897",
"0.76771104",
"0.7512621",
"0.7312373",
"0.70244426",
"0.69141865",
"0.6862566",
"0.657807",
"0.65598685",
"0.6500937",
"0.64564556",
"0.64534885",
"0.6367953",
"0.6352885",
"0.63292277",
"0.6323... | 0.9444008 | 0 |
Test case for create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces | def b49N(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vo8R(YKHO):\n pass",
"def KZdl(YKHO):\n pass",
"def _aM0(YKHO):\n pass",
"def PI03(YKHO):\n pass",
"def adNG(YKHO):\n pass",
"def w6a0(YKHO):\n pass",
"def uOL_(YKHO):\n pass",
"def EkEw(YKHO):\n pass",
"def oGe6(YKHO):\n pass",
"def gzjN(YKHO):\n pass",
"def v... | [
"0.8979696",
"0.8967423",
"0.866481",
"0.84769315",
"0.84081846",
"0.82903844",
"0.8198565",
"0.81658113",
"0.8063586",
"0.8026353",
"0.79265845",
"0.77158755",
"0.7674971",
"0.7540027",
"0.7453413",
"0.7391448",
"0.7355846",
"0.73239106",
"0.72878003",
"0.72667265",
"0.72344... | 0.9587448 | 0 |
Test case for create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces | def GzrD(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fzhV(YKHO):\n pass",
"def zlFi(YKHO):\n pass",
"def PKj9(YKHO):\n pass",
"def WJ7c(YKHO):\n pass",
"def MCoF(YKHO):\n pass",
"def tIJn(YKHO):\n pass",
"def Em8g(YKHO):\n pass",
"def Dk7i(YKHO):\n pass",
"def iby7(YKHO):\n pass",
"def LfyN(YKHO):\n pass",
"def p... | [
"0.9134765",
"0.88899064",
"0.8555877",
"0.8298731",
"0.8203928",
"0.78937566",
"0.74340045",
"0.73995066",
"0.68798894",
"0.65432537",
"0.6322303",
"0.62824136",
"0.5938467",
"0.59205896",
"0.5830329",
"0.5809102",
"0.5764257",
"0.5714747",
"0.5674871",
"0.5653563",
"0.56440... | 0.95152706 | 0 |
Test case for delete_authorization_openshift_io_v1_collection_namespaced_policy | def uqEv(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CfJj(YKHO):\n pass",
"def MgW1(YKHO):\n pass",
"def JEYW(YKHO):\n pass",
"def wJdv(YKHO):\n pass",
"def IJIt(YKHO):\n pass",
"def odJg(YKHO):\n pass",
"def sG1w(YKHO):\n pass",
"def kHhg(YKHO):\n pass",
"def y6HQ(YKHO):\n pass",
"def ihTu(YKHO):\n pass",
"def B... | [
"0.92854315",
"0.88635325",
"0.8451668",
"0.82240146",
"0.8160838",
"0.81590265",
"0.7858533",
"0.77140474",
"0.7681155",
"0.7539779",
"0.74455345",
"0.7390007",
"0.7387522",
"0.73236144",
"0.72479516",
"0.7217843",
"0.71885294",
"0.71178263",
"0.7108281",
"0.70454556",
"0.70... | 0.95967394 | 0 |
Test case for delete_authorization_openshift_io_v1_collection_namespaced_policy_binding | def CfJj(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uqEv(YKHO):\n pass",
"def JEYW(YKHO):\n pass",
"def IJIt(YKHO):\n pass",
"def MgW1(YKHO):\n pass",
"def odJg(YKHO):\n pass",
"def tYWX(YKHO):\n pass",
"def ihTu(YKHO):\n pass",
"def JJN9(YKHO):\n pass",
"def kHhg(YKHO):\n pass",
"def wJdv(YKHO):\n pass",
"def H... | [
"0.9043064",
"0.89482105",
"0.85511076",
"0.8387663",
"0.8378913",
"0.79342794",
"0.7900284",
"0.78796357",
"0.7576653",
"0.75262237",
"0.7429583",
"0.7360925",
"0.73223406",
"0.72293645",
"0.7207487",
"0.7040221",
"0.69971955",
"0.69337046",
"0.69210577",
"0.6917473",
"0.691... | 0.96023613 | 0 |
Test case for patch_authorization_openshift_io_v1_cluster_policy_binding | def tO3E(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UhX2(YKHO):\n pass",
"def olQf(YKHO):\n pass",
"def AbRP(YKHO):\n pass",
"def XGJ_(YKHO):\n pass",
"def wFd0(YKHO):\n pass",
"def Q9fo(YKHO):\n pass",
"def FDcE(YKHO):\n pass",
"def ihTu(YKHO):\n pass",
"def Y1pf(YKHO):\n pass",
"def KV6d(YKHO):\n pass",
"def o... | [
"0.91410065",
"0.88297904",
"0.8760521",
"0.8471295",
"0.8205396",
"0.8101213",
"0.8046559",
"0.80420303",
"0.79395354",
"0.77992904",
"0.7608228",
"0.7583753",
"0.7517653",
"0.75055164",
"0.72623634",
"0.7254828",
"0.7226258",
"0.7156569",
"0.71367764",
"0.71136856",
"0.6976... | 0.9618166 | 0 |
Test case for patch_authorization_openshift_io_v1_namespaced_policy | def KZRu(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hY2y(YKHO):\n pass",
"def Y1pf(YKHO):\n pass",
"def rvNJ(YKHO):\n pass",
"def HK0h(YKHO):\n pass",
"def FO5S(YKHO):\n pass",
"def XUEP(YKHO):\n pass",
"def Ub0u(YKHO):\n pass",
"def MgW1(YKHO):\n pass",
"def olQf(YKHO):\n pass",
"def vj4c(YKHO):\n pass",
"def p... | [
"0.90864825",
"0.89760655",
"0.8575681",
"0.8520157",
"0.81513995",
"0.8088874",
"0.80580306",
"0.79311967",
"0.78248686",
"0.780999",
"0.7741713",
"0.77141404",
"0.7677021",
"0.75930166",
"0.7585796",
"0.75780153",
"0.7421877",
"0.73741955",
"0.7371768",
"0.7365814",
"0.7314... | 0.9591883 | 0 |
Test case for patch_authorization_openshift_io_v1_namespaced_policy_binding | def Y1pf(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HK0h(YKHO):\n pass",
"def KZRu(YKHO):\n pass",
"def Ub0u(YKHO):\n pass",
"def hY2y(YKHO):\n pass",
"def vj4c(YKHO):\n pass",
"def tO3E(YKHO):\n pass",
"def JEYW(YKHO):\n pass",
"def rvNJ(YKHO):\n pass",
"def adNG(YKHO):\n pass",
"def H7zZ(YKHO):\n pass",
"def T... | [
"0.917141",
"0.9008042",
"0.86945444",
"0.84498566",
"0.8347459",
"0.8045114",
"0.8043271",
"0.7955671",
"0.7884319",
"0.78440297",
"0.78211606",
"0.78154206",
"0.7783012",
"0.7624436",
"0.7459559",
"0.74582535",
"0.74367577",
"0.7435045",
"0.7406448",
"0.7295979",
"0.7258783... | 0.9619338 | 0 |
Test case for read_authorization_openshift_io_v1_cluster_policy_binding | def XGJ_(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U2sv(YKHO):\n pass",
"def FDcE(YKHO):\n pass",
"def AbRP(YKHO):\n pass",
"def UhX2(YKHO):\n pass",
"def tO3E(YKHO):\n pass",
"def ZVR9(YKHO):\n pass",
"def dkbm(YKHO):\n pass",
"def KV6d(YKHO):\n pass",
"def vj4c(YKHO):\n pass",
"def ihTu(YKHO):\n pass",
"def o... | [
"0.85792166",
"0.8549424",
"0.8391066",
"0.8190748",
"0.8176876",
"0.79234576",
"0.79176915",
"0.7701995",
"0.7632134",
"0.75863975",
"0.7552643",
"0.74805766",
"0.7323448",
"0.7322378",
"0.72954226",
"0.72695065",
"0.7201712",
"0.70193684",
"0.70181525",
"0.69362116",
"0.689... | 0.9426751 | 0 |
Test case for replace_authorization_openshift_io_v1_cluster_policy_binding | def UhX2(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tO3E(YKHO):\n pass",
"def AbRP(YKHO):\n pass",
"def wFd0(YKHO):\n pass",
"def XGJ_(YKHO):\n pass",
"def olQf(YKHO):\n pass",
"def Ii2p(YKHO):\n pass",
"def ihTu(YKHO):\n pass",
"def FDcE(YKHO):\n pass",
"def Q9fo(YKHO):\n pass",
"def HK0h(YKHO):\n pass",
"def Y... | [
"0.9186782",
"0.87500274",
"0.8450397",
"0.8446506",
"0.83058375",
"0.8171561",
"0.81561804",
"0.7963166",
"0.7935032",
"0.79269946",
"0.7804056",
"0.7690601",
"0.76330507",
"0.74773276",
"0.73275983",
"0.7327504",
"0.7324187",
"0.73089105",
"0.7255727",
"0.72210896",
"0.7190... | 0.94774526 | 0 |
Test case for replace_authorization_openshift_io_v1_namespaced_policy | def hY2y(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KZRu(YKHO):\n pass",
"def HK0h(YKHO):\n pass",
"def rvNJ(YKHO):\n pass",
"def Y1pf(YKHO):\n pass",
"def z1KO(YKHO):\n pass",
"def XUEP(YKHO):\n pass",
"def Ub0u(YKHO):\n pass",
"def MgW1(YKHO):\n pass",
"def vj4c(YKHO):\n pass",
"def FO5S(YKHO):\n pass",
"def w... | [
"0.90499383",
"0.8855566",
"0.85533863",
"0.844094",
"0.8219294",
"0.8061585",
"0.80218595",
"0.79963464",
"0.7763497",
"0.7720165",
"0.7704863",
"0.76227677",
"0.7580514",
"0.7576115",
"0.7476356",
"0.74404544",
"0.7349462",
"0.73072356",
"0.7253558",
"0.72406685",
"0.711045... | 0.94699144 | 0 |
Test case for replace_authorization_openshift_io_v1_namespaced_policy_binding | def HK0h(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Y1pf(YKHO):\n pass",
"def hY2y(YKHO):\n pass",
"def Ub0u(YKHO):\n pass",
"def KZRu(YKHO):\n pass",
"def vj4c(YKHO):\n pass",
"def JEYW(YKHO):\n pass",
"def PI03(YKHO):\n pass",
"def gSuF(YKHO):\n pass",
"def UhX2(YKHO):\n pass",
"def rvNJ(YKHO):\n pass",
"def H... | [
"0.9092467",
"0.87225854",
"0.868736",
"0.8407917",
"0.8313469",
"0.811839",
"0.8026446",
"0.80063814",
"0.7932898",
"0.7870702",
"0.7749833",
"0.7641219",
"0.7599496",
"0.75792706",
"0.74535805",
"0.74477494",
"0.739406",
"0.73842305",
"0.73444897",
"0.7297659",
"0.7258476",... | 0.94983596 | 0 |
A method to fill gaps in data and preserve data noise characteristics. | def FHlJ(ehj4, sYYb='NaN', uW2u=True):
LVAh = []
WKvO = oyIN.array([])
if ehj4[-4:] == '.csv':
with open(ehj4, 'r') as eHNT:
Nqlg = eHNT.readline()
while Nqlg:
T6S7 = Nqlg.split(',')
WKvO = oyIN.append(WKvO, float(T6S7[0]))
try:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def x7Dv(nPrm):\n deiY = oyIN.ravel(oyIN.mean(nPrm, 0))\n i5Qt = oyIN.ravel(oyIN.std(nPrm, 0))\n JBMS = oyIN.mean(deiY[vJpS(oyIN.isnan(deiY))])\n M1Jx = oyIN.mean(i5Qt[vJpS(oyIN.isnan(i5Qt))])\n JBMS = 0\n for YRbF in range(nPrm[0].shape[1]):\n for r845 in range(nPrm[0].shape[0]):\n ... | [
"0.7105952",
"0.6650607",
"0.66136247",
"0.65367836",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
"0.6389462",
... | 0.0 | -1 |
Takes a set of data with gaps and applies the filter to each continuous block of data within the dataset | def gDMP(nPrm):
exAh = [list(Ty9i) for G1Hx, Ty9i in wk71(nPrm, oyIN.isfinite) if G1Hx]
Wbv_ = [r3Kb(Ty9i) for Ty9i in exAh]
if oyIN.any(oyIN.isnan(nPrm)):
D9YH = oyIN.where(oyIN.isnan(nPrm))[0]
rqYB = []
AYNj = []
for G1Hx, Oa1e in wk71(enumerate(D9YH), lambda p6S0: p6S0[1] ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yBmC(nPrm, ZY4h, Wlo5, dYWU=0, ZHfW=False):\n try:\n assert isinstance(ZY4h, int)\n assert isinstance(Wlo5, int)\n except AssertionError:\n raise TypeError('min_gap_size & min_chunk_size need to be of type integer.')\n deVW = nPrm > dYWU\n PpnV = deVW.groupby((deVW != deVW.shif... | [
"0.6680356",
"0.62117463",
"0.60158205",
"0.5951672",
"0.5922802",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
"0.5918607",
... | 0.8424803 | 0 |
Return a dict without specified keys. | def Z87h(Csk6, *sjXb):
for G1Hx in sjXb:
Csk6.pop(G1Hx)
return Csk6 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tVok(YKHO, *sjXb):\n return HGG_(**{G1Hx: Ty9i for G1Hx, Ty9i in list(YKHO.items()) if G1Hx not in sjXb})",
"def Aie8(Csk6, sjXb):\n return dict([(G1Hx, Ty9i) for G1Hx, Ty9i in Csk6.iteritems() if G1Hx not in sjXb])",
"def hPSZ(DumB: Dict[str, Any], Pi2M: Set[str]) -> cuzp[str, ImMB]:\n return {G1... | [
"0.8015958",
"0.74994785",
"0.73594767",
"0.71943104",
"0.71671396",
"0.6982721",
"0.69424576",
"0.6861174",
"0.6842052",
"0.68365854",
"0.6836418",
"0.6836316",
"0.6822545",
"0.68168217",
"0.68018466",
"0.6762594",
"0.6747461",
"0.6717893",
"0.6685759",
"0.66845125",
"0.6625... | 0.7180441 | 4 |
Check validity of target. Target is expected to be categorical including only two values, either 'bad' and 'good', or 0 and 1. 'bad' or 1 indicates a bad case while 'good' or 0 a good case. | def C6K6(fuBA, LpaZ=False):
if fuBA.nunique() != 2:
raise jvjd('unique count of labels expects to be 2')
sHi5 = sorted(fuBA.unique())
if sHi5 != ['bad', 'good'] and sHi5 != [0, 1]:
raise pamT("label values are either in ['bad', 'good'] or in [0, 1]")
if sHi5 == ['bad', 'good']:
r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def w4ZF(LVAh):\n if LVAh is None:\n return\n Q1aP = wvc0(LVAh)\n if Q1aP not in ('binary', 'multiclass'):\n raise TypeError(\"'{}' target type not supported, only binary and multiclass\".format(Q1aP))",
"def Fl9F(pan_):\n Aofo = True\n try:\n float(pan_[0])\n Aofo = Fa... | [
"0.7580235",
"0.6940114",
"0.6816887",
"0.6640927",
"0.64992964",
"0.61755776",
"0.6148174",
"0.613315",
"0.606604",
"0.6042621",
"0.60314167",
"0.6017094",
"0.59905064",
"0.597058",
"0.59664106",
"0.5926087",
"0.5908485",
"0.59010375",
"0.58698815",
"0.5859544",
"0.585934",
... | 0.7322585 | 1 |
Returns a dataclass containing config for this pipeline | def YRxQ(Emd4):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GPtr(Emd4):\n return viqz(nf7Q.dataclass(eq=True, init=True)(Emd4))",
"def _Fei(YKHO) -> PSrQ:\n return PSrQ({'pipeline': list(YKHO.pipe_names), 'components': {H5ew: UksD for H5ew, UksD in YKHO._components}, 'disabled': list(YKHO.disabled)})",
"def Dhbr(YKHO):\n return YKHO.config",
"def tgzD(YK... | [
"0.7246041",
"0.7195619",
"0.7178676",
"0.7091073",
"0.70509964",
"0.6991553",
"0.6985371",
"0.69647986",
"0.6957861",
"0.69509697",
"0.6926422",
"0.6916061",
"0.6912654",
"0.6907886",
"0.6899147",
"0.6895506",
"0.6895506",
"0.6895506",
"0.6895506",
"0.6895506",
"0.6895506",
... | 0.0 | -1 |
Test api can register new user | def bt2G(YKHO):
geh0 = YKHO.client().post('/api/v1/auth/register', data=qQXR.dumps(YKHO.test1_user), content_type='application/json')
YKHO.assertEqual(geh0.status_code, 201)
YKHO.assertIn('User registered successfully', str(geh0.data)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bt2G(YKHO):\n geh0 = YKHO.client.post(YKHO.user_url, YKHO.user_data, format='json')\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_201_CREATED)",
"def iBFl(YKHO):\n geh0 = YKHO.client.post('/api/v2/accounts/registration/', {'username': 'robley', 'password1': '0@qwer687', 'password2': '0@qwer687', 'e... | [
"0.8591682",
"0.84654236",
"0.8454838",
"0.8442999",
"0.8379563",
"0.83792007",
"0.83738863",
"0.8329344",
"0.829855",
"0.8274682",
"0.8274371",
"0.82680535",
"0.8257185",
"0.8235001",
"0.818901",
"0.8187351",
"0.817347",
"0.8156506",
"0.8151355",
"0.81475294",
"0.812333",
... | 0.853608 | 1 |
Test api can reset user password | def c30e(YKHO):
YKHO.client().post('/api/v1/auth/register', data=qQXR.dumps(YKHO.login_user), headers={'content-type': 'application/json'})
YKHO.client().post('/api/v1/auth/login', data=qQXR.dumps(YKHO.login_user), content_type='application/json')
geh0 = YKHO.client().post('/api/v1/auth/reset-password', dat... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hBBL(YKHO):\n pass",
"def OAOs(YKHO):\n pass",
"def xqh2(YKHO):\n CBIr = lYUQ()\n eOtH = SVG3.make_token(CBIr)\n dND5 = {'reset_data': {'token': eOtH, 'email': CBIr.email, 'new_password': 'newpassword'}}\n geh0 = YKHO.client.put(gxEw('authentication:reset_password'), dND5, format='json')\... | [
"0.84721166",
"0.8395401",
"0.8378245",
"0.83396524",
"0.8252263",
"0.8237997",
"0.82359135",
"0.81503224",
"0.8103739",
"0.8101041",
"0.8049512",
"0.8006557",
"0.7994468",
"0.7931476",
"0.7868025",
"0.7808202",
"0.7799917",
"0.77973604",
"0.7773706",
"0.77724797",
"0.7763199... | 0.8420155 | 1 |
Test api can register new business | def yzrV(YKHO):
YKHO.client().post('/api/v1/auth/register', data=qQXR.dumps(YKHO.login_user), headers={'content-type': 'application/json'})
vi8a = YKHO.client().post('/api/v1/auth/login', data=qQXR.dumps(YKHO.login_user), content_type='application/json')
nPrm = qQXR.loads(vi8a.data.decode())
eOtH = nPrm... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def npPx(YKHO):\n pass",
"def tAgj(YKHO):\n geh0 = YKHO.app.post('/api/business', data=qQXR.dumps(dict(userid=1, business_name='testbusiness_name', country='test_country')), content_type='application/json')\n YKHO.assertEqual(geh0.status_code, 201)\n _6Yp = qQXR.loads(geh0.data.decode('UTF-8'))\n ... | [
"0.83987534",
"0.8149218",
"0.7955099",
"0.77058506",
"0.76529396",
"0.76330495",
"0.7596018",
"0.740013",
"0.73306376",
"0.73306376",
"0.731691",
"0.72673494",
"0.7181746",
"0.7159769",
"0.70538205",
"0.7019131",
"0.700729",
"0.6976576",
"0.6939034",
"0.6925753",
"0.6911011"... | 0.81305945 | 2 |
Test api can update a business | def yzTf(YKHO):
aiqN = {'name': 'Andela Kenya', 'user_id': '1', 'location': 'Nairobi, Kenya', 'web_address': 'www.andela.com', 'category': 'IT'}
YKHO.client().post('/api/v1/businesses', data=qQXR.dumps(aiqN), headers={'content-type': 'application/json', 'x-access-token': YKHO.token})
YKHO.client().put('/api... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dUZs(YKHO):\n YKHO.app.post('/api/business', data=qQXR.dumps(dict(userid=1, business_name='testbusiness_name', country='test_country')), content_type='application/json')\n geh0 = YKHO.app.put('/api/businesses/1', data=qQXR.dumps(dict(business_name='testbusiness', country='rwanda', userid=1)), content_typ... | [
"0.8353684",
"0.8065203",
"0.80394334",
"0.79313993",
"0.78560287",
"0.76677716",
"0.7629514",
"0.75551367",
"0.73942006",
"0.7359029",
"0.73551553",
"0.7254498",
"0.72170365",
"0.72170365",
"0.7166197",
"0.7164003",
"0.71486765",
"0.71328473",
"0.71275485",
"0.7122723",
"0.7... | 0.8099553 | 1 |
Test api cannot update business with duplicate business name | def qGvN(YKHO):
aiqN = {'name': 'Andela Kenya', 'user_id': '1', 'location': 'Nairobi, Kenya', 'web_address': 'www.andela.com', 'category': 'IT'}
YKHO.client().post('/api/v1/businesses', data=qQXR.dumps(aiqN), headers={'content-type': 'application/json', 'x-access-token': YKHO.token})
geh0 = YKHO.client().pu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VeBv(YKHO):\n YKHO.client.post(YKHO.prefix + 'businesses', headers={'Authorization': 'Bearer {}'.format(YKHO.access_token)}, content_type='application/json', data=qQXR.dumps(YKHO.businesses['one']))\n YKHO.client.post(YKHO.prefix + 'businesses', headers={'Authorization': 'Bearer {}'.format(YKHO.access_to... | [
"0.79064626",
"0.7763533",
"0.7721038",
"0.7677105",
"0.7608373",
"0.75780076",
"0.7520499",
"0.74444294",
"0.7395393",
"0.7377694",
"0.7307225",
"0.72191256",
"0.7151236",
"0.7098461",
"0.7095645",
"0.70869875",
"0.70857126",
"0.70248336",
"0.69158524",
"0.68769133",
"0.6828... | 0.8502461 | 0 |
Test api cannot update business with duplicate business web address | def bLha(YKHO):
aiqN = {'name': 'Armco Kenya', 'user_id': '1', 'location': 'Nakuru, Kenya', 'web_address': 'www.andela.com', 'category': 'Insurance'}
YKHO.client().post('/api/v1/businesses', data=qQXR.dumps(aiqN), headers={'content-type': 'application/json', 'x-access-token': YKHO.token})
geh0 = YKHO.client... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qGvN(YKHO):\n aiqN = {'name': 'Andela Kenya', 'user_id': '1', 'location': 'Nairobi, Kenya', 'web_address': 'www.andela.com', 'category': 'IT'}\n YKHO.client().post('/api/v1/businesses', data=qQXR.dumps(aiqN), headers={'content-type': 'application/json', 'x-access-token': YKHO.token})\n geh0 = YKHO.cli... | [
"0.79967815",
"0.771467",
"0.7637516",
"0.76036054",
"0.75426376",
"0.75099057",
"0.74792767",
"0.74693525",
"0.7426501",
"0.7259793",
"0.72494155",
"0.7249246",
"0.7184425",
"0.70856386",
"0.7085392",
"0.7066387",
"0.697326",
"0.69440943",
"0.6765884",
"0.67558044",
"0.67038... | 0.8488778 | 0 |
Returns model of the device | def YrZb(YKHO):
DpZH = YKHO.handle.rpc.get_software_information()
ndZe = DpZH.findall('multi-routing-engine-item')
if len(ndZe) > 0:
C3ST = ndZe[0].find('software-information/product-model').text
if ZbWC.search('MX\\d+', C3ST, ZbWC.I):
return 'MX'
elif ZbWC.search('VSRX',... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tVNt(YKHO):\n return YKHO.device_model",
"def C3ST(YKHO) -> str:\n return YKHO._device_information['deviceModel']",
"def YrZb(YKHO) -> str:\n return YKHO.get_hardware_state()['model']",
"def YrZb():\n ZGE9 = KMdf('SPHardwareDataType', 'mini', 'Model Name: ')\n UmGN = KMdf('SPHardwareDataTy... | [
"0.8750929",
"0.8604293",
"0.83385587",
"0.81819636",
"0.8073488",
"0.79876685",
"0.788478",
"0.788478",
"0.7855534",
"0.7837192",
"0.7790607",
"0.76834434",
"0.7629308",
"0.7602957",
"0.74831074",
"0.74467504",
"0.7364226",
"0.73539",
"0.7341382",
"0.7285218",
"0.7277133",
... | 0.7186703 | 25 |
Fires when button to complete todo is clicked | def iQ3I(YKHO):
if len(YKHO.todo_list.curselection()) < 1:
AI9e.showerror('Error', 'Select todo to complete')
return
YKHO.tddao.remove_todo(YKHO.selected_todo().id)
YKHO.actualize_todo_list() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KnEV(QePW, jttg):\n pPvV = Iofl(gx9E, id=jttg)\n pPvV.completed = True\n pPvV.save()\n return jnRN('marked as completed', safe=False)",
"def Fd4y(QePW, _sei):\n pPvV = gx9E.objects.get(pk=_sei)\n pPvV.complete = True\n pPvV.save()\n yEHD.success(QePW, f'Таск {pPvV.title}, выполнен!')\... | [
"0.7245969",
"0.7207403",
"0.67584205",
"0.6721981",
"0.6598752",
"0.6564101",
"0.642984",
"0.6411033",
"0.6332039",
"0.6325236",
"0.6309182",
"0.63027275",
"0.6300763",
"0.62957877",
"0.62898797",
"0.6286576",
"0.6272988",
"0.6252391",
"0.6173301",
"0.6145405",
"0.61175513",... | 0.7667336 | 0 |
Function calculates the time since last major merger, mm, for the halos given the halo z and scale, a, of last mm | def tMAK(hKx3, dyxF, Ulhm):
ujoQ = 1 / oyIN.array([dyxF]) - 1
qKem = hKx3.lookback_time(ujoQ)
vHj7 = hKx3.lookback_time(Ulhm)
v2d1 = qKem - vHj7
return v2d1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def i5sp(epBp):\n\n def R9Vg(epBp):\n return 1.0 / (bKYe(epBp) * (1.0 + epBp)) * (sMyU * h4Ci)\n a1PO, heTk = gmTb(R9Vg, 0, epBp)\n return a1PO",
"def nohw(mZhA, X1_A, eEaw, QJ_N, jvtF, AF6q=0.0):\n nBOv = 3.086e+19\n wbvt = 31570000.0\n yIp6 = nBOv / wbvt / 1000000000.0\n a2T2 = oyIN... | [
"0.5842568",
"0.5745977",
"0.57106525",
"0.56471574",
"0.5644086",
"0.5644086",
"0.56050456",
"0.55149853",
"0.5510718",
"0.5501047",
"0.54890245",
"0.5478441",
"0.5469316",
"0.5467434",
"0.5455624",
"0.5447937",
"0.54282725",
"0.5425807",
"0.5409112",
"0.53945297",
"0.536511... | 0.6392936 | 0 |
Function calculates the mean z between the pairs | def Icub(kgDL, wP03):
Rtnc, mPai = (wP03[int(kgDL[0])], wP03[int(kgDL[1])])
return (Rtnc + mPai) / 2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Icub(YKHO):\n if YKHO.z is None:\n return -1\n return (YKHO.z * YKHO.Nz).sum() / YKHO.Nz.sum()",
"def zWg2(PQUL):\n TsMh = JBMS(PQUL)\n return TsMh",
"def he8d(P6bq):\n if not len(P6bq.shape) == 3:\n raise ValueError('Fields must be three-dimensional')\n elif oyIN.array_equa... | [
"0.7279006",
"0.7076421",
"0.6980681",
"0.6918379",
"0.6780338",
"0.6763489",
"0.67423874",
"0.67317843",
"0.666907",
"0.66642463",
"0.665711",
"0.66274774",
"0.65622616",
"0.64861715",
"0.6484041",
"0.638307",
"0.6346368",
"0.6325823",
"0.6319431",
"0.6307425",
"0.6295663",
... | 0.852599 | 0 |
Function to select halos that pass the tmm/xoff criteria or both | def Ajhp(u1u1, BM0C, fRgA=0.2, Dolg=0.3, OE80=1, pOi7=3):
if Dolg is not None:
XGML = (u1u1['HALO_Xoff'] / u1u1['HALO_Rvir'] > fRgA) & (u1u1['HALO_Xoff'] / u1u1['HALO_Rvir'] < Dolg)
if pOi7 is not None:
lf_s = (BM0C > OE80) & (BM0C < pOi7)
nkZ8 = XGML & lf_s
return nkZ8 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YgzL(vC9B, Fg_i, xATD, Tp3V=None, z95I=None, WS8H=None, VwW0=None, Dx_k=None, L16r=None, ZMVk=None, Dn0d=None, BlNT=(), lqnU=8, pN4j=0.525):\n if Tp3V is None and VwW0 is None and (z95I is None) and (WS8H is None) and (len(BlNT) == 0) and (Dx_k is None) and (L16r is None) and (ZMVk is None) and (Dn0d is Non... | [
"0.58720815",
"0.559774",
"0.51753104",
"0.51482683",
"0.49754888",
"0.49723506",
"0.4943175",
"0.49379915",
"0.49070585",
"0.48643905",
"0.48620412",
"0.48565334",
"0.4834413",
"0.48339042",
"0.48318064",
"0.48232853",
"0.48152128",
"0.48100418",
"0.48082468",
"0.48080415",
... | 0.7053647 | 0 |
Return an exponential random variable with the given mean. | def tggs(JBMS):
return ZQNu(1 / JBMS) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VBX1(ormZ, uBsB, JBMS, LY6W=gCKv):\n\n def Wwi1():\n return tuKI.expovariate(1.0 / JBMS)\n return LY6W(ormZ, uBsB)(Wwi1)",
"def VBX1(YKHO, UqYS):\n return -1.0 * UqYS * epAf.log(tuKI.random())",
"def IAWS(WKvO, JBMS, SRYB):\n return oyIN.exp(-0.5 * (oyIN.asarray(WKvO) - JBMS) ** 2 / SRYB... | [
"0.7407209",
"0.657317",
"0.65691274",
"0.65691274",
"0.65565753",
"0.6512746",
"0.63213474",
"0.6292296",
"0.62670624",
"0.624417",
"0.61799085",
"0.61731154",
"0.61545086",
"0.61477375",
"0.6144198",
"0.61324245",
"0.6109352",
"0.61084425",
"0.6084719",
"0.60816103",
"0.608... | 0.76533717 | 0 |
Set up bot commands. | def FIMM(YKHO, x0hE, VUF1, GPtr, Unmg, oUZx, abiq, tvqc):
YKHO.client = x0hE
YKHO.store = VUF1
YKHO.config = GPtr
YKHO.command_dict = Unmg
YKHO.command = oUZx
YKHO.room = abiq
YKHO.event = tvqc
YKHO.args = ZbWC.findall('(?:[^\\s,"]|"(?:\\\\.|[^"])*")+', YKHO.command)[1:]
YKHO.command... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eCGt(JyK9):\n JyK9.add_cog(TpQh())",
"def eCGt(JyK9: commands.Bot):\n JyK9.add_cog(cu8T())",
"async def setup(YKHO) -> None:\n if YKHO.playing_title is not None:\n await YKHO.change_presence(activity=ZOrr.Game(name=YKHO.playing_title))\n YKHO.tree.clear_commands(guild=None)\n for lSCo... | [
"0.8051755",
"0.7671956",
"0.7256369",
"0.72135985",
"0.7147514",
"0.7138436",
"0.7105591",
"0.70307493",
"0.69379246",
"0.6937284",
"0.6933417",
"0.68623894",
"0.6859223",
"0.68574363",
"0.6854486",
"0.6854042",
"0.6791379",
"0.67731017",
"0.67098397",
"0.67079574",
"0.67063... | 0.0 | -1 |
Test that it can sort a list of numbers with the quick algorithm. | def ITVr(YKHO):
nPrm = [4, 78, 2, 33, 0, 99, 86, 4, 21, 3]
aEqx = [0, 2, 3, 4, 4, 21, 33, 78, 86, 99]
hlel = lguw(nPrm, 0, len(nPrm) - 1)
YKHO.assertEqual(hlel, aEqx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dW50():\n from quick_sort import quick_sort\n JTgH = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]\n assert quick_sort(JTgH) == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]",
"def ITVr(X4O_):\n n5sN = lguw(X4O_, 0, len(X4O_) - 1)\n aEqx = [1, 3, 8, 9, 10, 33]\n assert n5sN == aEqx",
"def ITVr():\n assert SoD9.quic... | [
"0.8323282",
"0.8313812",
"0.81929374",
"0.8183148",
"0.81722087",
"0.8138237",
"0.8073663",
"0.7963261",
"0.7958059",
"0.7920522",
"0.76243234",
"0.7596646",
"0.7553263",
"0.75266665",
"0.75080943",
"0.7449812",
"0.7447682",
"0.7389962",
"0.7387739",
"0.73385304",
"0.7268602... | 0.81870556 | 3 |
Test for successful creation of a bucketlist. | def AObX(YKHO):
pB3N = {'title': 'Visit Kenya'}
geh0 = YKHO.client.post(YKHO.URL, data=qQXR.dumps(pB3N), headers=YKHO.set_header(), content_type='application/json')
YKHO.assertEqual(geh0.status_code, 201)
Gow4 = qQXR.loads(geh0.data.decode('utf8'))
YKHO.assertEqual('Bucketlist Visit Kenya has been a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vdnj(YKHO):\n geh0 = YKHO.client().post('/bucketlist_api/v1.0/bucketlists/', data=YKHO.bucketlist, headers={'Authorization': YKHO.token})\n YKHO.assertEqual(geh0.status_code, 201)\n YKHO.assertIn('Dance in the moonlight', str(geh0.data), msg='Bucketlist not created')",
"def HHzF(YKHO):\n YKHO.ass... | [
"0.87449723",
"0.8270994",
"0.8270994",
"0.8270994",
"0.81679744",
"0.80722344",
"0.8063649",
"0.8058446",
"0.78948003",
"0.7744082",
"0.7647931",
"0.76017815",
"0.7442235",
"0.7428532",
"0.7212915",
"0.71861684",
"0.71793616",
"0.71179825",
"0.70693284",
"0.70180357",
"0.699... | 0.79326165 | 8 |
Test for updating a bucketlists by id. | def Uc5s(YKHO):
pB3N = {'title': 'Visit Israel'}
geh0 = YKHO.client.put('/api/v1/bucketlists/1/', data=qQXR.dumps(pB3N), headers=YKHO.set_header(), content_type='application/json')
YKHO.assertEqual(geh0.status_code, 200)
Gow4 = qQXR.loads(geh0.data.decode('utf8'))
YKHO.assertEqual('Visit Israel', Go... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def acAl(YKHO):\n _hkX = YKHO.client.post('/bucketlists', data=qQXR.dumps(YKHO.bucketlist), content_type='application/json', headers={'Authorization': YKHO.token})\n YKHO.assertEqual(_hkX.status_code, 201)\n geh0 = YKHO.client.get('/bucketlists/1', headers={'Authorization': YKHO.token})\n _hkX = YKHO.c... | [
"0.8536095",
"0.78836024",
"0.7565449",
"0.7561812",
"0.7526054",
"0.74069333",
"0.73592335",
"0.73001546",
"0.7254654",
"0.7215759",
"0.7209657",
"0.71393347",
"0.7127649",
"0.71115184",
"0.7069181",
"0.7058418",
"0.7026216",
"0.7017711",
"0.6905262",
"0.69030607",
"0.666016... | 0.6645772 | 21 |
Test for updating a bucketlist that does not exist. | def qCAm(YKHO):
pB3N = {'title': 'Visit Israel'}
geh0 = YKHO.client.put('/api/v1/bucketlists/15/', data=qQXR.dumps(pB3N), headers=YKHO.set_header(), content_type='application/json')
YKHO.assertEqual(geh0.status_code, 404)
Gow4 = qQXR.loads(geh0.data.decode('utf8'))
YKHO.assertEqual('Bucketlist does ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def w2f2(YKHO):\n pB3N = {'title': 'Visit Paris'}\n geh0 = YKHO.client.put('/api/v1/bucketlists/1/', data=qQXR.dumps(pB3N), headers=YKHO.set_header(), content_type='application/json')\n YKHO.assertEqual(geh0.status_code, 409)\n Gow4 = qQXR.loads(geh0.data.decode('utf8'))\n YKHO.assertEqual('No updat... | [
"0.7788289",
"0.72598183",
"0.72538584",
"0.7239876",
"0.7150873",
"0.71323895",
"0.70175517",
"0.70059556",
"0.69764405",
"0.69400454",
"0.6915999",
"0.68738174",
"0.68610144",
"0.6860307",
"0.6848544",
"0.6796164",
"0.676923",
"0.67633796",
"0.67093706",
"0.6669978",
"0.666... | 0.8051686 | 0 |
Test for updating a bucketlist with the same data. | def w2f2(YKHO):
pB3N = {'title': 'Visit Paris'}
geh0 = YKHO.client.put('/api/v1/bucketlists/1/', data=qQXR.dumps(pB3N), headers=YKHO.set_header(), content_type='application/json')
YKHO.assertEqual(geh0.status_code, 409)
Gow4 = qQXR.loads(geh0.data.decode('utf8'))
YKHO.assertEqual('No updates detecte... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def abel(YKHO):\n ZoOm = MRlh.objects.get()\n cX3b = {'name': 'changedname'}\n geh0 = YKHO.client.put(gxEw('details', kwargs={'pk': ZoOm.id}), cX3b, format='json')\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_200_OK)\n ZoOm = MRlh.objects.get()\n YKHO.assertEqual(ZoOm.name, 'changedname')",
"... | [
"0.78833133",
"0.78193676",
"0.77272695",
"0.76053417",
"0.75588155",
"0.7494601",
"0.7392016",
"0.7339633",
"0.7306812",
"0.7205638",
"0.6983907",
"0.6957511",
"0.6870558",
"0.6749045",
"0.6722403",
"0.6716842",
"0.67137486",
"0.6690201",
"0.6679053",
"0.663925",
"0.66211545... | 0.80659395 | 0 |
given an array a = [a_1, .. a_k], compute the softmax distribution p = [p_1, .. , p_k] where p_i \propto exp(a_i) | def N93T(jzdc):
XOOk = jzdc - oyIN.max(jzdc)
XP5J = oyIN.exp(XOOk)
if type(jzdc) is list:
XP5J = XP5J / oyIN.sum(XP5J)
else:
JEs7 = oyIN.sum(XP5J, axis=1)
XP5J = XP5J / JEs7[:, oyIN.newaxis]
return XP5J | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N93T(jzdc):\n tTpl = oyIN.exp(jzdc)\n return oyIN.transpose(oyIN.transpose(tTpl) / tTpl.sum(axis=1))",
"def h0uz(WKvO, jzdc=1):\n return XTiz.exp(jzdc * WKvO) / XTiz.sum(XTiz.exp(jzdc * WKvO), axis=0)",
"def N93T(k0lF, G1Hx=1.0):\n k0lF = oyIN.array(k0lF) if not isinstance(k0lF, oyIN.ndarray) e... | [
"0.8513665",
"0.81011146",
"0.79902476",
"0.7864699",
"0.78528064",
"0.7843831",
"0.7842127",
"0.783351",
"0.78321695",
"0.78252393",
"0.78224546",
"0.781881",
"0.781881",
"0.781881",
"0.781881",
"0.781881",
"0.7803338",
"0.7798362",
"0.7797346",
"0.7791947",
"0.77896637",
... | 0.8457111 | 1 |
Creates a `EventFileWriter` and an event file to write to. On construction the summary writer creates a new event file in `logdir`. This event file will contain `Event` protocol buffers, which are written to disk via the add_event method. The other arguments to the constructor control the asynchronous writes to | def FIMM(YKHO, CfXJ, _S6Y=10, tFVL=120, GKFw=''):
YKHO._logdir = CfXJ
ZylS.io.gfile.makedirs(CfXJ)
YKHO._file_name = Hy7s.path.join(CfXJ, 'events.out.tfevents.%010d.%s.%s.%s' % (ITS7.time(), GGmw.gethostname(), Hy7s.getpid(), z_qj.get())) + GKFw
YKHO._general_file_writer = ZylS.io.gfile.GFile(YKHO._file... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XEKF(YKHO, AGPF):\n B2mP = 0\n lDkc = YKHO._fetch_events_files_on_disk()\n for gIsw in lDkc:\n qaEx = Hy7s.path.join(YKHO._events_directory, gIsw)\n B2mP += ZylS.gfile.Stat(qaEx).length\n if B2mP >= YKHO.total_file_size_cap_bytes:\n for gIsw in lDkc:\n if B2mP < YKHO... | [
"0.63053256",
"0.6262062",
"0.6151606",
"0.6145405",
"0.6145405",
"0.6145405",
"0.6145405",
"0.6145405",
"0.6145405",
"0.60994744",
"0.60994744",
"0.60933334",
"0.5878359",
"0.5865899",
"0.5808143",
"0.57914037",
"0.57877624",
"0.57366997",
"0.5728272",
"0.5673184",
"0.565911... | 0.6808823 | 0 |
Performs a final flush of the event file to disk, stops the write/flush worker and closes the file. Call this method when you do not need the summary writer anymore. | def DDI8(YKHO):
YKHO._async_writer.close() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DDI8(YKHO):\n YKHO.flush()\n YKHO.event_writer.Shut()",
"def DDI8(YKHO):\n YKHO._close_file()\n YKHO.log.info('FileWriter has written a total of %d events to %d file(s)' % (YKHO.data_counter, YKHO.file_counter))",
"def upVe(YKHO):\n YKHO.log.info('Closing file %s' % YKHO.filename)\n YKHO.... | [
"0.72451",
"0.71276766",
"0.6994784",
"0.698203",
"0.6916861",
"0.68925226",
"0.68772006",
"0.6822077",
"0.6822077",
"0.6777985",
"0.67387587",
"0.6710523",
"0.668571",
"0.6661135",
"0.6645974",
"0.66412824",
"0.6544722",
"0.6491616",
"0.64912504",
"0.64891845",
"0.6464678",
... | 0.62600416 | 44 |
Tests accessing the ride endpoint without a token | def uOZn(YKHO):
geh0 = YKHO.client.get('/api/v2/rides/')
YKHO.assertEqual(geh0.status_code, 401) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t08O(YKHO):\n geh0 = YKHO.app.post('{}rides/1/requests'.format(zDeW), content_type=m5r4)\n YKHO.assertEqual(geh0.json, {'message': 'Token missing'})\n YKHO.assertEqual(geh0.status_code, 401)",
"def ydZk(YKHO):\n geh0 = YKHO.app.get('{}rides'.format(zDeW), content_type=m5r4)\n YKHO.assertEqual(... | [
"0.81097203",
"0.79394025",
"0.7882487",
"0.7861494",
"0.7854069",
"0.78538656",
"0.7769927",
"0.77354074",
"0.76824373",
"0.76561636",
"0.7647428",
"0.76024336",
"0.7594902",
"0.73753256",
"0.7360288",
"0.73508245",
"0.73178697",
"0.72971505",
"0.72501755",
"0.7198542",
"0.7... | 0.845824 | 0 |
Tests accessing the ride endpoint with an invalid or expired token | def W333(YKHO):
geh0 = YKHO.client.get('/api/v2/rides/', headers={'Authorization': 'XBA5567SJ2K119'})
YKHO.assertEqual(geh0.status_code, 401) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uOZn(YKHO):\n geh0 = YKHO.client.get('/api/v2/rides/')\n YKHO.assertEqual(geh0.status_code, 401)",
"def uU4b(YKHO):\n with YKHO.client:\n YKHO.register_user('jau', 'j@gmail.com', '123456789')\n eOtH = 'zxcvb'\n YKHO.add_ride('Easter offer', 'Get an offer of 30% of this', 'Huza',... | [
"0.84365624",
"0.80222875",
"0.8015694",
"0.7981386",
"0.7956471",
"0.79312",
"0.7916024",
"0.7892761",
"0.77477366",
"0.7687768",
"0.76606053",
"0.761369",
"0.75828797",
"0.74956",
"0.72269535",
"0.72024935",
"0.7184175",
"0.7165988",
"0.70656383",
"0.70348024",
"0.7031219",... | 0.87482226 | 0 |
Tests adding a ride with valid details | def eEwM(YKHO):
geh0 = YKHO.create_post_ride()
YKHO.assertEqual(geh0.status_code, 201)
YKHO.assertIn('You offered a ride successfully.', str(geh0.data)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tE_d(YKHO):\n YKHO.create_valid_ride()\n geh0 = YKHO.create_valid_ride()\n YKHO.assertEqual(geh0.status_code, 409)",
"def dDz2(YKHO):\n YKHO.client().post('/api/v1/auth/signup', data=YKHO.user_data)\n V9Rh = YKHO.client().post('/api/v1/auth/login', data=YKHO.user_data)\n NT__ = qQXR.loads(V... | [
"0.76161826",
"0.7496224",
"0.742909",
"0.7423776",
"0.7317746",
"0.72706574",
"0.7237035",
"0.7226621",
"0.721444",
"0.7107662",
"0.70933235",
"0.70815533",
"0.70463264",
"0.70447034",
"0.7017122",
"0.694748",
"0.6938882",
"0.69098103",
"0.6903571",
"0.6895242",
"0.68818223"... | 0.85028356 | 0 |
Tests creating a ride with a blank origin or destination | def kBcF(YKHO):
fBlC = {'origin': '', 'destination': '', 'date': ''}
geh0 = YKHO.client.post('/api/v2/users/rides/', data=qQXR.dumps(fBlC), content_type='application/json', headers={'Authorization': YKHO.get_token()})
YKHO.assertEqual(geh0.status_code, 406) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eEwM(YKHO):\n geh0 = YKHO.create_post_ride()\n YKHO.assertEqual(geh0.status_code, 201)\n YKHO.assertIn('You offered a ride successfully.', str(geh0.data))",
"def g_mP(DvXa):\n geh0 = DvXa.request_ride(product_id=VmlG, start_latitude=lBxA, start_longitude=Z236)\n assert geh0.status_code == cwhV... | [
"0.77009255",
"0.73776263",
"0.7306974",
"0.7282829",
"0.72068405",
"0.6991596",
"0.69360036",
"0.6888221",
"0.68744665",
"0.68666005",
"0.6838249",
"0.67896026",
"0.67497987",
"0.6721855",
"0.6717944",
"0.6682826",
"0.6661696",
"0.6590569",
"0.6554663",
"0.65271723",
"0.6525... | 0.83347493 | 0 |
Tests creating a ride with a blank origin or destination | def ZKNG(YKHO):
fBlC = {'origin': '@#$%', 'destination': '@#$%', 'date': '!@#$'}
geh0 = YKHO.client.post('/api/v2/users/rides/', data=qQXR.dumps(fBlC), content_type='application/json', headers={'Authorization': YKHO.get_token()})
YKHO.assertEqual(geh0.status_code, 406) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kBcF(YKHO):\n fBlC = {'origin': '', 'destination': '', 'date': ''}\n geh0 = YKHO.client.post('/api/v2/users/rides/', data=qQXR.dumps(fBlC), content_type='application/json', headers={'Authorization': YKHO.get_token()})\n YKHO.assertEqual(geh0.status_code, 406)",
"def eEwM(YKHO):\n geh0 = YKHO.crea... | [
"0.83336484",
"0.77006376",
"0.73775244",
"0.7306839",
"0.7206133",
"0.6991028",
"0.6935531",
"0.6887748",
"0.68744594",
"0.6866465",
"0.6838252",
"0.6787964",
"0.67493415",
"0.6720997",
"0.6717533",
"0.66823095",
"0.66605073",
"0.6590661",
"0.65538013",
"0.6526965",
"0.65253... | 0.72819746 | 4 |
Perform a group by/count on all issue types. | def ExVQ(Emd4):
return dKht._group_and_count(jf8m, jf8m.status) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def upxy(U34r):\n return dict(U34r.groupby('type')['type'].count())",
"def KP96(W5Ak) -> g760.Counter():\n ewCu = g760.Counter()\n for rfQU in W5Ak:\n _c1T = rfQU['created_at']\n H5ew = (_c1T.year, _c1T.month)\n ewCu.update([H5ew])\n return ewCu",
"def fJrP():\n Tbwi = ['CT'... | [
"0.6140276",
"0.6080936",
"0.5986387",
"0.5962363",
"0.5847065",
"0.58060455",
"0.5604682",
"0.5583853",
"0.5481326",
"0.5474873",
"0.5474873",
"0.5423207",
"0.5392413",
"0.53697884",
"0.5349005",
"0.52758044",
"0.52556413",
"0.52380675",
"0.52281505",
"0.5195986",
"0.5164729... | 0.71104735 | 0 |
Perform a group by/count on all issue types. | def B_yo(Emd4):
return dKht._group_and_count(RyWp, RyWp.type) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ExVQ(Emd4):\n return dKht._group_and_count(jf8m, jf8m.status)",
"def upxy(U34r):\n return dict(U34r.groupby('type')['type'].count())",
"def KP96(W5Ak) -> g760.Counter():\n ewCu = g760.Counter()\n for rfQU in W5Ak:\n _c1T = rfQU['created_at']\n H5ew = (_c1T.year, _c1T.month)\n ... | [
"0.7113772",
"0.61402893",
"0.60836536",
"0.5987135",
"0.5961509",
"0.5851932",
"0.5803252",
"0.5604137",
"0.55838656",
"0.5482894",
"0.5478091",
"0.5478091",
"0.5426622",
"0.5397859",
"0.5371261",
"0.5349185",
"0.52760655",
"0.5250895",
"0.5235958",
"0.5227155",
"0.5192346",... | 0.0 | -1 |
Remove the next element from the global responses list and return. A "continuation" header is added automatically if more responses are waiting. | def GkmR(YKHO, *qIxc):
_hkX = ERrj.responses.popleft()
hTSb = Mlrp(*_hkX)
if len(_hkX):
hTSb.headers['x-ms-continuation'] = 'yes'
return hTSb | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def next(YKHO):\n return YKHO.res.pop(0)",
"def next(YKHO):\n return YKHO.messages.pop(0)",
"def gcmr(geh0):\n YKHO.requests.remove(geh0.request)\n YKHO.app.set_future_result(KS9L, geh0)",
"def next(YKHO) -> any:\n if YKHO.queue:\n return YKHO.queue.pop(0)",
"def MXL9(YKHO):\n YKHO... | [
"0.6551826",
"0.60276246",
"0.58649254",
"0.5788866",
"0.56852984",
"0.5648834",
"0.54996157",
"0.54293925",
"0.54293925",
"0.5422882",
"0.5364543",
"0.53361386",
"0.5313528",
"0.53067255",
"0.5297759",
"0.5295655",
"0.52804357",
"0.5270017",
"0.5266513",
"0.52382696",
"0.523... | 0.49850786 | 53 |
Return response, but with 'Documents' array truncated to the element at position `index`. >>> RateTest._document_at(RateTest.two_document_response, 1) | def eZAf(geh0, d6pt):
U5bT = {}
for G1Hx, Ty9i in geh0.items():
if G1Hx == 'Documents':
Ty9i = [Ty9i[d6pt]]
U5bT[G1Hx] = Ty9i
return U5bT | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WjZY(YKHO, d6pt: int):\n return YKHO.load(YKHO.document_ids[d6pt])",
"def zqW3(dixj, d6pt):\n return dixj[d6pt]",
"def J7BI(uXjx):\n geh0 = uXjx().get_documents()\n assert isinstance(geh0, list)\n assert len(geh0) == 20",
"def eIE0(YKHO):\n ERrj.add_response(200, 'OK', qQXR.dumps(YKHO._... | [
"0.62375987",
"0.6236278",
"0.61442804",
"0.60131955",
"0.6009239",
"0.5974568",
"0.59718597",
"0.5967955",
"0.589506",
"0.5812021",
"0.57432824",
"0.5613041",
"0.5497151",
"0.5482874",
"0.54815304",
"0.5475828",
"0.54357463",
"0.5417122",
"0.5417122",
"0.5417122",
"0.5381090... | 0.73900104 | 0 |
Calculate the positive words ratio per text. | def iIw4(l5Ny):
s2mk = dFss(l5Ny)
gAov = 0
for GIN8 in s2mk:
if GIN8 in xaWb:
gAov += 1
return gAov / len(s2mk) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q8Hc(l5Ny):\n QnO9 = 0\n sum = 0\n QPxx = yTXi(Cry4(MTT8(l5Ny)))\n for V22M in QPxx:\n if QPxx[V22M] == 1:\n QnO9 += 1\n sum = sum + QPxx[V22M]\n Aofo = QnO9 / sum\n return Aofo",
"def j0ET(l5Ny):\n V22M = Dhdw.word_tokenize(l5Ny)\n LHwe = len(set(V22M))\n ... | [
"0.74955904",
"0.7276831",
"0.71594477",
"0.71099645",
"0.70597935",
"0.6956457",
"0.6913331",
"0.6865217",
"0.6864308",
"0.6863327",
"0.68501794",
"0.68406713",
"0.6781807",
"0.6724174",
"0.6712354",
"0.6621846",
"0.6616033",
"0.65787315",
"0.6546881",
"0.6541072",
"0.654004... | 0.6891057 | 7 |
Identifies red lights in the incoming camera image and publishes the index of the waypoint closest to the red light's stop line to /traffic_waypoint | def u69M(YKHO, tO9_):
YKHO.has_image = True
YKHO.camera_image = tO9_
VJLJ = YKHO.last_wp
QTBn = YKHO.state
zhpB, QTBn = YKHO.process_traffic_lights()
'\n Publish upcoming red lights at camera frequency.\n Each predicted state has to occur `STATE_COUNT_THRESHOLD` number\n of ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X83s(YKHO):\n agxD = None\n v8uu = GPtr.light_positions\n if YKHO.pose is not None and YKHO.waypoints is not None:\n zhpB = YKHO.get_closest_waypoint(YKHO.pose.pose)\n pImw = -1\n VXjJ = YKHO.bridge.imgmsg_to_cv2(YKHO.camera_image, 'passthrough')\n ZHfW = YKHO.red_select(VXjJ)\n WfT... | [
"0.782805",
"0.7262128",
"0.69890815",
"0.6981706",
"0.6980065",
"0.6900591",
"0.6825096",
"0.6824151",
"0.6809363",
"0.6778344",
"0.67634004",
"0.6716712",
"0.66468376",
"0.6646052",
"0.6621187",
"0.66198653",
"0.65953094",
"0.6569965",
"0.65675944",
"0.64806",
"0.6441052",
... | 0.5325325 | 72 |
Identifies the closest path waypoint to the referenced light's stop line | def fl7m(YKHO, pi4s):
Cqm5 = YKHO.config['stop_line_positions'][pi4s]
DQb7 = None
if YKHO.waypoints:
uYq_ = 100000.0
fciZ = YKHO.cur_wp_idx
for YRbF in range(YKHO.cur_wp_idx, YKHO.cur_wp_idx + len(YKHO.waypoints.waypoints)):
or8S = YRbF % len(YKHO.waypoints.waypoints)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X83s(YKHO):\n uYq_ = 80\n QpcC = -1\n QTBn = NX1Q.UNKNOWN\n fmgs = YKHO.config['stop_line_positions']\n if YKHO.waypoints is None or YKHO.pose is None:\n return (QpcC, QTBn)\n if YKHO.pose:\n zoN7 = YKHO.get_closest_waypoint(YKHO.pose.pose.position.x, YKHO.pose.pose.position.y)\... | [
"0.7183461",
"0.70401174",
"0.68530023",
"0.6844318",
"0.68148327",
"0.6801555",
"0.6726559",
"0.663553",
"0.6623716",
"0.66182727",
"0.65330195",
"0.6511832",
"0.64715",
"0.6470359",
"0.63840026",
"0.63763",
"0.63740206",
"0.63658154",
"0.6365385",
"0.6323456",
"0.6312274",
... | 0.754559 | 0 |
Randomly split the data into train and test set | def Qb89():
EvQg = pmON + 'train.txt'
QOe9 = pmON + 'test.txt'
with open(mWFP) as eHNT:
kGys = []
for zFiD in eHNT.readlines():
H4yH = zFiD.strip().split()
kGys.append(H4yH)
eHNT.close()
tuKI.shuffle(kGys)
d6pt = int(len(kGys) * 0.9)
Dyub = open(EvQg, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lpha(YKHO, nPrm):\n TmjN = int(len(nPrm) * 0.8)\n fVgT = nPrm.sample(frac=1).reset_index(drop=True)\n EvQg = fVgT[:TmjN]\n QOe9 = fVgT[TmjN:]\n return (EvQg, QOe9)",
"def bHtP(nPrm, STQp=0.3):\n zNig = len(nPrm)\n lpha = zNig - int(zNig * STQp)\n tuKI.seed(66)\n tuKI.shuffle(nPrm)\... | [
"0.84717214",
"0.8432225",
"0.82361525",
"0.82089657",
"0.8192627",
"0.81612587",
"0.8126159",
"0.8070789",
"0.80428",
"0.8042012",
"0.7976414",
"0.79123837",
"0.7888348",
"0.78881496",
"0.7837579",
"0.7824061",
"0.7819005",
"0.7805273",
"0.7788489",
"0.77849895",
"0.77619636... | 0.0 | -1 |
Converts the primitive representation as produced by `toPrimitive()` back into a MemberAssignment. | def dJej(xdbn) -> h8nf['MemberAssignment']:
deVW = True
deVW = xdbn is not None and 'memberId' in xdbn and ('topics' in xdbn) and isinstance(xdbn['topics'], dict) and isinstance(xdbn['memberId'], int)
if deVW:
for a1PO, xRAU in xdbn['topics'].items():
if not deVW:
break
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ibrC(YKHO, J6q7, mS46) -> jZ4I.Attribute:\n [pan_, mS46] = YKHO.to_python([J6q7, mS46])\n return jZ4I.Attribute(value=pan_, attr=mS46)",
"def TMbP(YKHO, PAnw, f1k3) -> jZ4I.Assign:\n LFlW = YKHO.to_python(PAnw)\n _tIi = YKHO.to_python(f1k3)\n if isinstance(f1k3, iQnE):\n _tIi = YKHO.set... | [
"0.55639595",
"0.55186945",
"0.53190297",
"0.5295881",
"0.51018703",
"0.49519202",
"0.49127293",
"0.48344216",
"0.47575533",
"0.4706407",
"0.4679796",
"0.46783975",
"0.46609682",
"0.46492335",
"0.4638636",
"0.46291628",
"0.46214354",
"0.46175128",
"0.45972085",
"0.4564348",
"... | 0.67496 | 0 |
Calculate the loss. The shapes of the tensors in model_output are [B, unroll_steps+1, ...] | def sjTf(YKHO, Xdzc: ModelOutput, pan_: ModelTarget) -> coj4:
Ep8u = pan_.value.shape[0]
Wfs8 = pan_.value.shape[1] - 1
Vpyj = ht2j.ones((Wfs8 + 1,)) / Wfs8
if YKHO._initial_loss_weight is not None:
Vpyj[0] = YKHO._initial_loss_weight
if YKHO._apply_partial_trajectory_mask:
zXLG = ~(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N77f(YKHO, Xdzc, *uHvJ):\n CIXe = 0.0\n for YRbF in Xdzc.values():\n YRbF[YKHO.torch.isnan(YRbF)] = 0.0\n YRbF[YKHO.torch.isinf(YRbF)] = 0.0\n CIXe += YRbF\n return CIXe",
"def FE_f(Y8eF, aMgO):\n zpSW = la1o(Y8eF, aMgO)\n PqME = JGjR * QwNM() + KpIQ * Wr83() + zpSW\n r... | [
"0.71818244",
"0.6523953",
"0.6468717",
"0.6458262",
"0.6415536",
"0.64096737",
"0.6398844",
"0.6382116",
"0.63792676",
"0.6373252",
"0.63531035",
"0.63382053",
"0.6331252",
"0.6330547",
"0.63231355",
"0.6318566",
"0.6291446",
"0.6285841",
"0.6281403",
"0.62739784",
"0.626709... | 0.7669106 | 0 |
Calculate the loss given the predicted representation and target representation. | def us7e(YKHO, repr, d5ze):
raise NotImplementedError | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FE_f(Y8eF, aMgO):\n zpSW = la1o(Y8eF, aMgO)\n PqME = JGjR * QwNM() + KpIQ * Wr83() + zpSW\n return PqME",
"def xBoL(YKHO, Y8eF, aMgO):\n JxUf = YKHO.localization(Y8eF, aMgO)\n W9_1 = YKHO.positive_classification(Y8eF, aMgO)\n w1lc = YKHO.negative_classification(Y8eF, aMgO)\n return JxUf ... | [
"0.7391553",
"0.7221966",
"0.72217125",
"0.71864927",
"0.71641546",
"0.7139473",
"0.7125735",
"0.7110015",
"0.7074576",
"0.7064819",
"0.705712",
"0.70360374",
"0.70360374",
"0.70360374",
"0.7029404",
"0.702093",
"0.70162225",
"0.70162225",
"0.70162225",
"0.699531",
"0.6967047... | 0.7837836 | 0 |
Split the name into a tuple (I{prefix}, I{name}). The first element in the tuple is I{None} when the name does't have a prefix. | def eiVH(mWFP):
if isinstance(mWFP, str) and ':' in mWFP:
return tuple(mWFP.split(':', 1))
else:
return (None, mWFP) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eiVH(YKHO, uRP3, y0cW=None):\n if y0cW is None:\n return (None, None)\n if uRP3 is None:\n return (None, None)\n if len(y0cW) <= 0:\n return (None, None)\n if len(uRP3) <= 0:\n return (None, None)\n if not uRP3.lower().startswith(y0cW.lower()):\n return (None, ... | [
"0.73997927",
"0.71457213",
"0.7034432",
"0.6900541",
"0.6835171",
"0.6745037",
"0.6684913",
"0.667977",
"0.66356504",
"0.65646666",
"0.6548117",
"0.6538752",
"0.64757854",
"0.64573395",
"0.6447304",
"0.6351895",
"0.6341661",
"0.63351285",
"0.63281",
"0.63115793",
"0.62520385... | 0.8295714 | 0 |
Calculates the population standard deviation by default; specify ddof=1 to compute the sample standard deviation. | def z2bo(nPrm, P_MT=0):
exwG = len(nPrm)
if exwG < 2:
raise ValueError('variance requires at least two data points')
KG9w = SMor(nPrm)
gTsj = KG9w / (exwG - P_MT)
return gTsj ** 0.5 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def z2bo(nPrm, P_MT, wocy):\n exwG = len(nPrm)\n if exwG < 2:\n return 0\n KG9w = SMor(nPrm, wocy)\n gTsj = KG9w / (exwG - P_MT)\n return gTsj ** 0.5",
"def z2bo(nPrm, P_MT=0.0):\n exwG = len(nPrm)\n if exwG < 2:\n return 0.0\n KG9w = SMor(nPrm)\n gTsj = KG9w / (exwG - P_... | [
"0.77684987",
"0.7670793",
"0.73890835",
"0.73222846",
"0.7160721",
"0.70745355",
"0.69466645",
"0.6912304",
"0.68286186",
"0.67790794",
"0.6764957",
"0.6752036",
"0.67000127",
"0.669449",
"0.6675982",
"0.66516423",
"0.66470206",
"0.6638583",
"0.6624514",
"0.6620366",
"0.6617... | 0.74119174 | 2 |
Return value at the front of the list. | def VnzS(YKHO):
if not YKHO._head:
raise M0CU('Cannot return front value.')
return YKHO._head.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VnzS(YKHO):\n if len(YKHO.linked_list) > 0:\n return YKHO.linked_list.head.val",
"def VnzS(YKHO):\n if YKHO.is_empty():\n return None\n return YKHO.list.head.data",
"def VnzS(YKHO):\n if YKHO.is_empty() == True:\n return None\n return YKHO.list.head.data",
"def VnzS(YK... | [
"0.8116249",
"0.789655",
"0.7871479",
"0.7859553",
"0.75851506",
"0.7549051",
"0.7485117",
"0.7399475",
"0.7379749",
"0.73699313",
"0.73422503",
"0.7228456",
"0.7218268",
"0.7188687",
"0.71885335",
"0.7166461",
"0.7157981",
"0.7151585",
"0.71495295",
"0.7128472",
"0.7113992",... | 0.8228782 | 0 |
View function for home page of this site | def d6pt(QePW):
LOJ7 = 'UCHZqZf6nbTu3hnRtOJwUtkA'
DYeJ = 'N7ENYEdP90w'
UZD4 = 'https://www.youtube.com/embed/' + DYeJ + '?&autoplay=1'
QpfX = {'channel_id': LOJ7, 'video_id': DYeJ, 'embed_link': UZD4}
return _1tc(QePW, 'index.html', context=QpfX) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kZiy(QePW):\n return _1tc(QePW, 'base/home.html')",
"def kZiy(QePW):\n return _1tc(QePW, 'core/home.html')",
"def nspo(QePW):\n return _1tc(QePW, 'generic/home.html')",
"def nspo(QePW):\n return _1tc(QePW, 'generic/home.html')",
"def kZiy(QePW):\n return _1tc(QePW, 'welcome.html')",
"d... | [
"0.8473693",
"0.831462",
"0.82823014",
"0.82823014",
"0.82785964",
"0.8271871",
"0.82275444",
"0.8213197",
"0.82052267",
"0.81888205",
"0.8181096",
"0.8173957",
"0.81657135",
"0.81586134",
"0.8126534",
"0.8126534",
"0.81109333",
"0.8107965",
"0.8100268",
"0.8093946",
"0.80926... | 0.0 | -1 |
Pack states from the flattened state using ``indices``. The ``indices`` is a list or a tuple which must have the equal length to the ``flat_state``. | def tMMy(xIDq, _0VL):
HNC5 = []
jbXL = 0
for d6pt in _0VL:
hObQ = xBlr.reduce(lambda jzdc, Fg_i: jzdc * Fg_i, d6pt)
HNC5.append(xIDq[jbXL:jbXL + hObQ].reshape(d6pt))
jbXL += hObQ
return HNC5 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rRbV(K43E, _0VL):\n return ht2j.cat([KG9w[P2GO].unsqueeze(0) for KG9w, P2GO in zip(K43E, _0VL)])",
"def ZxHf(_0VL, A0tv):\n return oyIN.arange(2 * A0tv).reshape((A0tv, 2))[_0VL].flatten()",
"def hwXI(g8x2, TLbF, d6pt):\n HNC5 = []\n for KCHu in cNBl(g8x2):\n if FDfP(KCHu):\n A... | [
"0.6252511",
"0.6081269",
"0.5863123",
"0.58184934",
"0.5814666",
"0.58120644",
"0.58120644",
"0.5779776",
"0.5694703",
"0.56600446",
"0.55560225",
"0.55235946",
"0.5447737",
"0.5447737",
"0.5442764",
"0.54094946",
"0.53729355",
"0.5341638",
"0.52486366",
"0.5225441",
"0.5211... | 0.81188506 | 0 |
Return Api url by platform name. | def up9T(a9EH: str):
if a9EH in ['igor', 'sbpla', 'default']:
return 'https://api.sbgenomics.com/v2'
elif a9EH == 'cgc':
return 'https://cgc-api.sbgenomics.com/v2'
elif a9EH == 'eu':
return 'https://eu-api.sbgenomics.com/v2'
elif a9EH == 'cn':
return 'https://cn-api.sbgen... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ifn1():\n return pzVU[gnPz.get_host_platform()]",
"def hKhs(YKHO) -> str:\n return YKHO.urls[gLkd._PLATFORM]",
"def F5bL():\n return gxEw('api-build-list')",
"def hKhs(FMLJ='json'):\n return '/api/mo/sys.' + FMLJ",
"def hKhs() -> str:\n return DO5v.get_setting('iscore_url') + '/api/v1/'"... | [
"0.73115706",
"0.6588354",
"0.6502797",
"0.64442307",
"0.6412102",
"0.63487375",
"0.6315309",
"0.62699276",
"0.6218044",
"0.62070173",
"0.61611474",
"0.615401",
"0.61355203",
"0.61276853",
"0.611723",
"0.611237",
"0.6043138",
"0.60329044",
"0.6017229",
"0.5993648",
"0.5990675... | 0.6989298 | 1 |
Proximal Gradient Descent (PGD) and Accelerated PDG. This reduces to ISTA and FISTA when the loss function is the l2 loss and the proximal operator is the softthresholding. | def yEij(rjPX, Iu0i, JgoD, Rf07, nJ9F, SYxB, PJWX=0, H0zq=False, SGf8=None, Sj8i=False, dsE5=False, bZTZ=True, mWFP='ISTA', kMkg=False):
x3U5 = rjPX(nJ9F)
_neV = None
if dsE5 or kMkg:
_neV = [x3U5]
if kMkg:
WXkz = [0]
yKcO = ITS7.time()
if Rf07 is None:
Rf07 = 1.0
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OqqC(nJ9F, SiYi, WVZI, Vgft, D6Er, FCoK, yJiH=1e-06, SYxB=1000, PJWX=False):\n WKvO = nJ9F.copy()\n LVAh = nJ9F.copy()\n Oa1e = Vgft(LVAh)\n a1PO = 1.0\n Rf07 = 1.0 / FCoK\n VKGZ = oyIN.zeros(SYxB)\n lXHZ = oyIN.zeros(SYxB)\n ZVEO = 0\n XObx = yJiH + 1.0\n while XObx >= yJiH:\n ... | [
"0.6693528",
"0.63802093",
"0.62358874",
"0.6139344",
"0.6032119",
"0.6030167",
"0.5980561",
"0.596666",
"0.59442097",
"0.5915619",
"0.5910447",
"0.58787143",
"0.5843049",
"0.58425814",
"0.5841653",
"0.584048",
"0.58398604",
"0.58229524",
"0.5814124",
"0.58116084",
"0.5802105... | 0.0 | -1 |
Tokenization/string cleaning for all datasets | def LNLQ(vIwR):
vIwR = ZbWC.sub("[^A-Za-z0-9(),!?\\'\\`]", ' ', vIwR)
vIwR = ZbWC.sub("\\'s", " 's", vIwR)
vIwR = ZbWC.sub("\\'ve", " 've", vIwR)
vIwR = ZbWC.sub("n\\'t", " n't", vIwR)
vIwR = ZbWC.sub("\\'re", " 're", vIwR)
vIwR = ZbWC.sub("\\'d", " 'd", vIwR)
vIwR = ZbWC.sub("\\'ll", " 'll"... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TfmK(__n6, xhP4):\n b0j5 = Dhdw.tokenize.RegexpTokenizer('[a-zA-Z]+')\n T61I = b0j5.tokenize(__n6)\n CnUS = CcRD(xhP4, T61I)\n return CnUS",
"def KElI(__n6):\n if isinstance(__n6, list):\n return [str.lower(YRbF.replace(' ', '')) for YRbF in __n6]\n elif isinstance(__n6, str):\n ... | [
"0.7217552",
"0.697722",
"0.69137365",
"0.68657225",
"0.68393105",
"0.67983323",
"0.67930084",
"0.6677992",
"0.66650945",
"0.6640589",
"0.6631181",
"0.6586902",
"0.65399563",
"0.65399563",
"0.65319",
"0.6496337",
"0.6456395",
"0.64393824",
"0.6409343",
"0.640487",
"0.63965636... | 0.0 | -1 |
Return a dictionary of a department's properties. | def MNRr(YKHO):
return {'department_id': YKHO.department_id, 'department_name': YKHO.department_name} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X5CZ(YKHO):\n return YKHO._department",
"def ehYw(YKHO):\n return {'domains': YKHO.__domains, 'meshDegree': YKHO.__meshDegree, 'fatTreeDegrees': YKHO.__fatTreeDegrees, 'foreignPods': YKHO.__foreignPods, 'meshLnkRes': YKHO.__meshLnkRes, 'fatLnkRes': YKHO.__fatLnkRes, 'servRes': YKHO.__servRes}",
"def ... | [
"0.6612662",
"0.6579791",
"0.64146894",
"0.626722",
"0.6182344",
"0.6177392",
"0.615321",
"0.6138278",
"0.6121154",
"0.6053043",
"0.60491455",
"0.60293967",
"0.5983167",
"0.59757894",
"0.59672904",
"0.5959053",
"0.59532666",
"0.59377533",
"0.592768",
"0.5912048",
"0.5912048",... | 0.72440886 | 0 |
If ``True``, the broker was asked to exclude the publisher from receiving the event. | def HFFo(YKHO):
if YKHO._exclude_me is None and YKHO._from_fbs:
YKHO._exclude_me = YKHO._from_fbs.ExcludeMe()
return YKHO._exclude_me | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vWcB(YKHO):\n SjMt(YKHO._default_event.skip_publishers, False)",
"def M4rM(YKHO) -> bool:\n if super().is_ignoring_events:\n return True\n return not YKHO.enabled and YKHO.ignores_events_when_disabled",
"def RyYj(YKHO):\n JfyU = FM6F()\n mouR = SLWC(FM6F(), JfyU, event_filter=YKHO.fil... | [
"0.680162",
"0.66482294",
"0.65331936",
"0.6442161",
"0.63446367",
"0.6222825",
"0.6207248",
"0.60974616",
"0.60964406",
"0.604704",
"0.6024971",
"0.5982794",
"0.59676176",
"0.5962956",
"0.59389275",
"0.5924526",
"0.59176475",
"0.58912027",
"0.58727324",
"0.58339554",
"0.5833... | 0.0 | -1 |
List of WAMP session IDs eligible to receive this event. | def KiOp(YKHO):
if YKHO._eligible is None and YKHO._from_fbs:
if YKHO._from_fbs.EligibleLength():
KiOp = []
for r845 in range(YKHO._from_fbs.EligibleLength()):
KiOp.append(YKHO._from_fbs.Eligible(r845))
YKHO._eligible = KiOp
return YKHO._eligible | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Hxr0(YKHO) -> list:\n return [KCHu for KCHu in YKHO._libts.list_sessions() if KCHu.name not in YKHO._config['ignored_sessions']]",
"def LZWb(YKHO):\n return YKHO._get_attribute('discoveredSessionIds')",
"def dcCf(YKHO) -> list:\n return YKHO._session_keys",
"def Aing(YKHO):\n return list(YKHO... | [
"0.69500947",
"0.69434226",
"0.67578423",
"0.6723621",
"0.6547497",
"0.65308154",
"0.63294977",
"0.6315627",
"0.6296965",
"0.6286629",
"0.6283329",
"0.6234118",
"0.6234118",
"0.61623174",
"0.6144197",
"0.6140574",
"0.61288625",
"0.60732836",
"0.60682356",
"0.606648",
"0.60482... | 0.0 | -1 |
Extract version number from emojihistory.py. | def kaPv():
with open(Hy7s.path.join(Hy7s.path.dirname(xAKo), 'emojihistory.py')) as eHNT:
for zFiD in map(lambda vC9B: vC9B.strip().split(), eHNT):
if zFiD and '__version__' in zFiD[0]:
return zFiD[-1].strip('\'"') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kaPv():\n b3ab = [zFiD for zFiD in Ueki('CHANGES.txt').split('\\n') if zFiD][-1]\n DpZH = b3ab.split(',')[0]\n return DpZH[1:]",
"def kaPv(YKHO):\n EV1I, ntLm = YKHO._get_field_indices('VERSION')\n return YKHO.lines[EV1I[0]][12:].split()[0]",
"def o58j(YKHO) -> str:\n DpZH = ''\n for Q... | [
"0.67575616",
"0.66856414",
"0.6638506",
"0.64759177",
"0.64498174",
"0.6446808",
"0.6398246",
"0.6353165",
"0.6348487",
"0.63426065",
"0.63426065",
"0.6334837",
"0.63332653",
"0.6290998",
"0.62860304",
"0.62688464",
"0.62436473",
"0.6238538",
"0.62343913",
"0.62275857",
"0.6... | 0.80791247 | 0 |
Return random value between 1 and sides | def rKSe(YKHO):
return ajWY(1, YKHO.num_sides) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ADdS(YKHO, BA7i=False):\n return ajWY(1, BA7i or YKHO.sides)",
"def Csk6(BA7i: int) -> int:\n return tuKI.randint(1, BA7i)",
"def rKSe(YKHO):\n return tuKI.randint(1, YKHO.sides)",
"def rKSe(YKHO):\n return ajWY(1, YKHO.sides)",
"def rKSe(YKHO):\n Ylbp = ajWY(1, YKHO.numsides)\n retur... | [
"0.83026034",
"0.8218204",
"0.80436456",
"0.7996935",
"0.79776776",
"0.79737943",
"0.79737943",
"0.7969865",
"0.7969865",
"0.78290755",
"0.7618288",
"0.750702",
"0.74134636",
"0.74134636",
"0.7366991",
"0.7366991",
"0.7366991",
"0.73320067",
"0.7291885",
"0.72272265",
"0.7218... | 0.7920511 | 9 |