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 |
|---|---|---|---|---|---|---|
Retrieves an account by name. | def QQYO(YKHO, mWFP):
return next((ZrNc for ZrNc in YKHO.accounts if ZrNc.name.lower() == mWFP.lower()), None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AmjW(YKHO, mWFP):\n return YKHO._accounts[mWFP]",
"def QQYO(YKHO, n8Ek):\n L8Py = YKHO.service_old.management().accounts().list().execute()\n ZrNc = None\n if L8Py.get('items'):\n ZrNc = next((WIq2 for WIq2 in L8Py.get('items') if WIq2['name'] == n8Ek))\n if ZrNc is None:\n GoSj ... | [
"0.8830579",
"0.83270174",
"0.8000892",
"0.74607736",
"0.72932994",
"0.726804",
"0.72573507",
"0.708148",
"0.7037133",
"0.70253366",
"0.6971171",
"0.69506",
"0.68968415",
"0.68394804",
"0.6815473",
"0.6803944",
"0.6693384",
"0.66860455",
"0.6655099",
"0.66455233",
"0.6634644"... | 0.7981468 | 3 |
Retrieves an account by id. | def x1xU(YKHO, hbFX):
return next((ZrNc for ZrNc in YKHO.accounts if ZrNc.id == hbFX), None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NMoC(YKHO, Z31E):\n YKHO.client.get_account(Z31E)",
"def ZrNc(YKHO, Z31E: str):\n return _mmD(YKHO.accounts, 'id', Z31E)",
"def jRq6(YKHO, id):\n TD4W = [MBgB for MBgB in YKHO.accounts if S7kj(MBgB.uuid) == S7kj(id)]\n assert len(TD4W) <= 1\n if len(TD4W) == 0:\n raise KeyError('accou... | [
"0.85057026",
"0.8046133",
"0.80159926",
"0.77092636",
"0.7441431",
"0.7214885",
"0.71825635",
"0.695807",
"0.6862477",
"0.6851463",
"0.68424577",
"0.6825068",
"0.6781716",
"0.67680484",
"0.67679286",
"0.67388105",
"0.67003375",
"0.66639",
"0.6656039",
"0.6594905",
"0.6594905... | 0.8205475 | 1 |
Perform checks on the input to verify if it is a 2D array. | def IRVn(EcVT, _qtx=True):
EcVT = feHo(EcVT)
if EcVT.ndim != 2:
raise ValueError('If passed as a np.array, X must be a 2-dimensional array, but found shape: {}'.format(EcVT.shape))
if EcVT.size == 0:
raise ValueError('Input is empty or have a dimension of size 0, found shape: {}'.format(EcVT... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LE2z(Jyyj):\n assert len(oyIN.shape(Jyyj)) == 2, 'Variable fields must be a 2D array'",
"def iWjx(ezWE):\n return len(ezWE.shape) < 2 or ezWE.shape[1] == 1",
"def vtM7(YKHO, nPrm):\n if oyIN.ndim(nPrm) != 2:\n raise ValueError('Input data must be a two dimensional numpy array. Data received... | [
"0.71005905",
"0.69650626",
"0.6703832",
"0.6625217",
"0.65377355",
"0.6529872",
"0.649487",
"0.6482053",
"0.64297146",
"0.6396857",
"0.63929975",
"0.6344132",
"0.63248277",
"0.6323379",
"0.62511396",
"0.6244798",
"0.6239556",
"0.6223183",
"0.62096924",
"0.6197312",
"0.612994... | 0.676687 | 2 |
Perform checks on the input to verify if it is a 1D array. | def PeKl(EcVT):
EcVT = FubL(EcVT)
if EcVT.ndim != 1:
raise ValueError('If passed as a np.array, X must be a 1-dimensional array, but found shape: {}'.format(EcVT.shape))
if EcVT.size == 0:
raise ValueError('Input is empty or have a dimension of size 0, found shape: {}'.format(EcVT.shape))
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iWjx(ezWE):\n return len(ezWE.shape) < 2 or ezWE.shape[1] == 1",
"def jKKV(ezWE):\n if oyIN.ndim(ezWE) != 1:\n return False\n if len(ezWE) == 0:\n return True\n if oyIN.any(oyIN.vectorize(oyIN.ndim)(ezWE)):\n return False\n return True",
"def UpNN(ezWE):\n return len(... | [
"0.7698546",
"0.7488992",
"0.72062767",
"0.71607864",
"0.6909689",
"0.6903243",
"0.68705815",
"0.6850124",
"0.679779",
"0.67955005",
"0.679077",
"0.6640027",
"0.65919256",
"0.655836",
"0.65150076",
"0.64964354",
"0.6397969",
"0.63680977",
"0.6367404",
"0.6340364",
"0.6299828"... | 0.77224666 | 0 |
Check if the input is a numpy array or a pandas DataFrame, else raise an error | def feHo(EcVT):
if isinstance(EcVT, list):
return oyIN.asarray(EcVT)
if isinstance(EcVT, rLdf.DataFrame):
return EcVT
if isinstance(EcVT, oyIN.ndarray):
return EcVT
raise ValueError('Expected an pandas DataFrame or numpy array or python list as input but got {}'.format(str(type(E... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def C_vL(EcVT):\n if not isinstance(EcVT, rLdf.DataFrame):\n raise ValueError('X should be a dataframe.')",
"def C_vL(EcVT):\n return EcVT if not isinstance(EcVT, rLdf.DataFrame) else EcVT.as_matrix()",
"def TSw_(jQ3Z: pd.DataFrame, sT2Z='') -> AzJI[bool, str]:\n isRP = 'should be DataFrame: Th... | [
"0.71408993",
"0.7072828",
"0.69458216",
"0.68126386",
"0.6798002",
"0.67935014",
"0.6777558",
"0.67514414",
"0.67275465",
"0.6705296",
"0.65898836",
"0.6583079",
"0.65720433",
"0.6562569",
"0.65579855",
"0.65548074",
"0.65045965",
"0.6502233",
"0.64237076",
"0.63909084",
"0.... | 0.79942846 | 0 |
Creates (if needed) and returns the Client's requests Session. | def aRDv(YKHO):
if YKHO.session is None:
YKHO.session = gte4(YKHO.config, YKHO.auth)
return YKHO.session | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E3zR():\n return G4JS.Session()",
"def ytXY(YKHO):\n if not hasattr(YKHO, '_request_session'):\n Slew = YKHO.shared_vars.pop('rqsid', '')\n jBuw = YKHO.request_session_manager.pop_request_session(Slew)\n if not jBuw:\n if YKHO.is_action():\n del cuiw['VDOM... | [
"0.76924175",
"0.76241237",
"0.7604195",
"0.7571882",
"0.73913896",
"0.7379866",
"0.7373015",
"0.73705524",
"0.73639715",
"0.72817045",
"0.7156619",
"0.71295357",
"0.7121416",
"0.71112204",
"0.7110887",
"0.7092519",
"0.70909566",
"0.70793873",
"0.70648867",
"0.7033782",
"0.69... | 0.70735246 | 18 |
Retrieve a job's final json output. Harmony jobs' output is built as the job is processed and this method fetches the complete and final output. | def Ctiz(YKHO, rjee: str, OyNt: bool=False) -> str:
YKHO.wait_for_processing(rjee, OyNt)
geh0 = YKHO._session().get(YKHO._status_url(rjee))
return geh0.json() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _8Dp(YKHO, rjee):\n bD7m = YKHO.base_url + '/ml-service/phoenix-ml/output/findBy?jobId={0}'.format(rjee)\n MOPg = {'ApiKey': YKHO.api_key}\n geh0 = G4JS.get(url=bD7m, headers=MOPg)\n return geh0.json()",
"def TnD7(YKHO, OEYZ=None, hlel=False):\n YKHO.check_all_jobs()\n if OEYZ is None:\n ... | [
"0.71807855",
"0.690143",
"0.68356824",
"0.6665369",
"0.6648154",
"0.6619585",
"0.6507131",
"0.64307845",
"0.6260368",
"0.62071764",
"0.6182991",
"0.61760044",
"0.60485405",
"0.604751",
"0.59525454",
"0.59492403",
"0.58878434",
"0.5886178",
"0.5851134",
"0.5847965",
"0.584644... | 0.6154007 | 12 |
Return the image, label pair at index `idx` from `self.df_obs` | def OP2O(YKHO, or8S):
S5QK = YKHO.df_obs.loc[or8S, 'fpath_image']
LNo8 = hiw8.imread(S5QK)
if LNo8.ndim == 2:
LNo8 = oyIN.expand_dims(LNo8, -1)
LNo8 = oyIN.concatenate((LNo8, LNo8, LNo8), axis=-1)
YDR7 = LNo8.shape[-1]
u5Om = (YKHO.config['height'], YKHO.config['width'], YDR7)
LN... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OP2O(YKHO, or8S):\n VXjJ = YKHO.images[or8S]\n UXqs = YKHO.labels[or8S]\n return (VXjJ, UXqs)",
"def OP2O(YKHO, or8S):\n VXjJ = YKHO.images[or8S]\n UXqs = YKHO.labels[or8S].split(' ')[-1]\n VXjJ = hnIv.open(VXjJ)\n VXjJ = VXjJ.convert('RGB')\n VXjJ = YKHO.transform(VXjJ)\n return (... | [
"0.76747495",
"0.7579456",
"0.753019",
"0.732403",
"0.7305971",
"0.72952896",
"0.7277243",
"0.71600974",
"0.7156724",
"0.7089107",
"0.7054086",
"0.704039",
"0.6995185",
"0.67779094",
"0.6774318",
"0.6745292",
"0.6636264",
"0.6594403",
"0.65527",
"0.6536372",
"0.6517548",
"0... | 0.74330467 | 3 |
This function returns the examples in the raw (text) form. | def zDiL(YKHO, gY90, YB6w):
with C99U.Path(gY90).open() as eHNT:
MVfE = eHNT.read().split('\n')
with C99U.Path(YB6w).open() as eHNT:
MJfz = eHNT.read().split('\n')
assert len(MJfz) == len(MVfE), 'Sizes do not match: %d vs %d for %s vs %s.' % (len(MVfE), len(MJfz), gY90, YB6w)
JZXy, pan_ ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X2wT():\n _73Q = Kf9k(dqLT).read()\n _73Q = ZbWC.sub('^#.*\\\\n?', '', _73Q.decode(), flags=ZbWC.MULTILINE)\n TDw3 = ZbWC.escape(bkIO)\n m2Ws = ZbWC.compile(TDw3 + '(.*?)' + TDw3, ZbWC.S)\n lpha = ZbWC.findall(m2Ws, _73Q)\n return [ZT_w(PU1l) for PU1l in lpha]",
"def _73Q(YKHO):\n return... | [
"0.6475851",
"0.64643687",
"0.6314795",
"0.6241491",
"0.61601883",
"0.5979994",
"0.59604007",
"0.59122866",
"0.5801395",
"0.57639563",
"0.5722876",
"0.57057697",
"0.5699199",
"0.56715703",
"0.56442004",
"0.56433356",
"0.56305236",
"0.56274277",
"0.56175506",
"0.5615394",
"0.5... | 0.0 | -1 |
Creates a `NessieDemoIcebergSpark` instance for respectively using the given `NessieDemo` instance. | def FIMM(YKHO: 'NessieDemoIcebergSpark', RQDI: NessieDemo) -> None:
super().__init__(RQDI) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EMQo(RQDI: NessieDemo, NCQ3: str='main', pdYU: str='nessie') -> AzJI:\n global __NESSIE_ICEBERG_SPARK_DEMO__\n irEU()\n eLYx = RG_n(RQDI)\n kwUR = eLYx\n ujem, Sa_m, p_Cb = eLYx.get_or_create_spark_context(nessie_ref=NCQ3, catalog_name=pdYU)\n return (ujem, Sa_m, p_Cb, eLYx)",
"def xT1v(YKH... | [
"0.78666717",
"0.7046439",
"0.5975695",
"0.5418034",
"0.5336136",
"0.5267122",
"0.5163858",
"0.51562774",
"0.501861",
"0.5007134",
"0.4962615",
"0.48744845",
"0.48500746",
"0.4811485",
"0.48107082",
"0.47964728",
"0.47869912",
"0.47869912",
"0.47869912",
"0.47869912",
"0.4773... | 0.7504118 | 1 |
Retrieve a new `SparkSession` ready to use against the given Nessie reference. | def fOCu(YKHO: 'NessieDemoIcebergSpark', NCQ3: str, pdYU: str='nessie') -> lBG2:
xlyK = YKHO._get_spark().newSession()
xlyK.conf.set('spark.sql.catalog.{}.ref'.format(pdYU), NCQ3)
YKHO._get_jvm().SparkSession.setActiveSession(xlyK._jsparkSession)
return xlyK | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Hv6k():\n return lBG2.builder.appName('Transforming the historical parking occupancy and blockface datasets').getOrCreate()",
"def x189(YKHO) -> 'SparkSession':\n return lBG2(connectionString=YKHO._options['spark.connect.location'])",
"def Yu9h():\n return lBG2.builder.appName('Dataframe Reader').... | [
"0.76935613",
"0.7513328",
"0.74954414",
"0.7109321",
"0.6974677",
"0.6918301",
"0.6772764",
"0.67663306",
"0.67663306",
"0.67663306",
"0.67663306",
"0.67663306",
"0.67663306",
"0.67663306",
"0.67663306",
"0.67663306",
"0.67654485",
"0.67136145",
"0.6672373",
"0.6672373",
"0.... | 0.83516836 | 0 |
Get the size of the file in bytes. | def mfF2(YKHO, WpAY: int):
qaEx = YKHO._path_to_file(WpAY)
return Hy7s.path.getsize(qaEx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mfF2():\n return Hy7s.path.getsize(bkJI)",
"def cZkV(YKHO) -> int:\n return YKHO.get_main_information()['FileSize']",
"def cZkV(YKHO):\n try:\n return Hy7s.path.getsize(YKHO.get_full_path())\n except Exception as e:\n raise SystemExit(f'Could not complete operation: {tTpl}')",
"... | [
"0.8713398",
"0.86759555",
"0.84889144",
"0.8453805",
"0.84355533",
"0.84318584",
"0.8421155",
"0.8421155",
"0.8421155",
"0.839718",
"0.83593726",
"0.8343795",
"0.83044547",
"0.82076555",
"0.8176371",
"0.81734616",
"0.8157777",
"0.81293523",
"0.81271386",
"0.8096446",
"0.8096... | 0.8317091 | 12 |
Compute the padding necessary to ensure that convolving `X` with a 2D kernel of shape `kernel_shape` and stride `stride` produces outputs with dimension `out_dim`. | def NdS3(WNSx, Fmaf, RndV, _0fC, ivFb=0):
if not isinstance(WNSx, tuple):
raise ValueError('`X_shape` must be of type tuple')
if not isinstance(Fmaf, tuple):
raise ValueError('`out_dim` must be of type tuple')
if not isinstance(RndV, tuple):
raise ValueError('`kernel_shape` must be o... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NdS3(WNSx, Fmaf, RndV, _0fC, ivFb=0):\n if not isinstance(WNSx, tuple):\n raise ValueError('X_shape must be of type tuple')\n if not isinstance(Fmaf, tuple):\n raise ValueError('out_dim must be of type tuple')\n if not isinstance(RndV, tuple):\n raise ValueError('kernel_shape must... | [
"0.81986886",
"0.7532539",
"0.74973726",
"0.7388001",
"0.729293",
"0.72401816",
"0.723601",
"0.7220916",
"0.7214507",
"0.7152324",
"0.71220547",
"0.7115546",
"0.71074986",
"0.70821416",
"0.70644873",
"0.7061221",
"0.7060554",
"0.6974441",
"0.69609404",
"0.6775567",
"0.6756186... | 0.82422155 | 0 |
Returns new trie node (initialized to NULLs) | def c0_7(YKHO, Npgh=None):
return ep_x.TrieNode(Npgh) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lLBP(YKHO):\n return ep_x()",
"def IyQV():\n return ep_x()",
"def FIMM(YKHO):\n YKHO.root = YKHO.TrieNode(None)",
"def FIMM(YKHO):\n YKHO.root = YKHO.TrieNode(0)",
"def FIMM(YKHO):\n YKHO.root = ep_x(None)",
"def FIMM(YKHO):\n YKHO.root = ep_x(None)",
"def _Cha():\n ZOCz = etby... | [
"0.81809986",
"0.7551495",
"0.7275593",
"0.7268437",
"0.7243274",
"0.7243274",
"0.71221846",
"0.71181005",
"0.7102078",
"0.7102078",
"0.70563614",
"0.704127",
"0.702135",
"0.70054436",
"0.70054436",
"0.70054436",
"0.70054436",
"0.70054436",
"0.70054436",
"0.70054436",
"0.7005... | 0.68762463 | 37 |
If not present, inserts key into trie. If the key is prefix of trie node, just marks leaf node | def JPHp(YKHO, H5ew):
kMLo = YKHO.root
u54L = len(H5ew)
for ABDL in range(u54L):
d6pt = YKHO._charToIndex(H5ew[ABDL])
if not kMLo.children[d6pt]:
kMLo.children[d6pt] = YKHO.getNode(H5ew[ABDL])
kMLo = kMLo.children[d6pt]
kMLo.isEndOfWord = True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JPHp(YKHO, y0cW: str):\n kjp6 = YKHO.root\n for ABDL in range(len(y0cW)):\n sZqf = y0cW[ABDL]\n if sZqf not in kjp6.children:\n kjp6.children[sZqf] = YKHO.get_node()\n kjp6 = kjp6.children[sZqf]\n kjp6.word_count += 1",
"def JPHp(YKHO, GIN8):\n if GIN8 == '':\n ... | [
"0.71453977",
"0.7064039",
"0.68622494",
"0.67446196",
"0.67431754",
"0.6725342",
"0.6699936",
"0.669589",
"0.66851294",
"0.6589957",
"0.6575593",
"0.6560076",
"0.6551769",
"0.6535079",
"0.65027606",
"0.64681464",
"0.64571095",
"0.6438825",
"0.64115334",
"0.63948715",
"0.6371... | 0.7433289 | 0 |
Intersect two gensim word2vec models, m1 and m2. Only the shared vocabulary between them is kept. If 'words' is set (as list or set), then the vocabulary is intersected with this list as well. Indices are reorganized from 0..N in order of descending frequency (=sum of counts from both m1 and m2). | def Q8j8(gpRq, E43s, V22M=None):
MdmL = set(gpRq.wv.vocab.keys())
q9W_ = set(E43s.wv.vocab.keys())
ejlB = MdmL & q9W_
if V22M:
ejlB &= set(V22M)
if not MdmL - ejlB and (not q9W_ - ejlB):
return (gpRq, E43s)
ejlB = list(ejlB)
ejlB.sort(key=lambda yzQ0: gpRq.wv.vocab[yzQ0].coun... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jIAx(CLhQ, dAmW):\n \"\"\"\n filename1 = tokenize(text1)\n filename2 = tokenize(text2)\n\n list3 = set(filename1) & set(filename2)\n\n return list3\n\n \"\"\"\n with open(CLhQ, encoding='utf8') as Dyub, open(dAmW, encoding='utf8') as EmyI:\n eis5 = []\n uIEd = []\n Aof... | [
"0.6246066",
"0.6141584",
"0.61194766",
"0.6065606",
"0.6046039",
"0.5986322",
"0.59663814",
"0.59586346",
"0.58720237",
"0.5860314",
"0.5829514",
"0.58064556",
"0.57751614",
"0.5772775",
"0.5762234",
"0.5758061",
"0.5658297",
"0.565061",
"0.5599733",
"0.55901426",
"0.5572634... | 0.8189434 | 0 |
Set the numeric values ready so they won't be calculated at each call. | def W4Kw(JunX):
global _COMPILED_PALETTE
FTLQ = {}
for qfpW in JunX:
hjOc = epAf.fabs(qfpW[0] ** C4Gt)
h4Ve = epAf.fabs(qfpW[1] ** C4Gt)
gLow = epAf.fabs(qfpW[2] ** C4Gt)
FTLQ[qfpW] = [hjOc, h4Ve, gLow] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TUZL(YKHO, Uraj=0, n3T8=0, XkN1=0):\n YKHO.num_iter = Uraj\n YKHO.notify = n3T8\n YKHO.block = XkN1",
"def TUZL(YKHO, *qIxc, **B2fa):\n pass",
"def RHQ9(YKHO):\n YKHO.r_Vm = [0.0] * YKHO.mirror.dataPoints\n YKHO.r_Va = [0.0] * YKHO.mirror.dataPoints",
"def IACx(YKHO, mSrU):\n YKHO.nu... | [
"0.6365631",
"0.632594",
"0.61898035",
"0.61163193",
"0.60714287",
"0.6035595",
"0.6035595",
"0.6035595",
"0.6035595",
"0.6035595",
"0.6035595",
"0.59274584",
"0.5804162",
"0.57950246",
"0.57915634",
"0.57725346",
"0.5768607",
"0.57199395",
"0.57097894",
"0.57049644",
"0.5685... | 0.0 | -1 |
Return the leg length associated with coordinates. | def xBY4(YKHO, *qIxc):
YRbF, r845 = qIxc
return gftJ(list(YKHO)).leg_length(YRbF - 1, r845 - 1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yall(YKHO):\n return epAf.sqrt(YKHO.x ** 2 + YKHO.y ** 2)",
"def pCBL(YKHO):\n return YKHO.geometry.length",
"def RrrS(YKHO):\n YKHO.__do_essential_memebers_exist__()\n if YKHO.element_type == 'line':\n jNOo = YKHO.points[YKHO.elements[:, :2], :]\n Fbjb = oyIN.linalg.norm(jNOo[:, ... | [
"0.7222639",
"0.7089205",
"0.70779127",
"0.6912638",
"0.69035447",
"0.68838316",
"0.68726116",
"0.6866607",
"0.68432814",
"0.6822645",
"0.6799953",
"0.6777075",
"0.6772758",
"0.6734626",
"0.6650385",
"0.6633613",
"0.66294783",
"0.66228837",
"0.6619804",
"0.6573648",
"0.657311... | 0.73972917 | 0 |
Compare the dominance ordering on two partitions. | def ysbh(bK7J, PmHe):
if list(bK7J) == list(PmHe):
return '=='
if bK7J.degree() != PmHe.degree():
return 'Non-comparable'
else:
yvT9 = RnRa(tuple(bK7J), tuple(PmHe))
return yvT9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ysbh(LFlW, _tIi):\n rQpG = LFlW._partition_pair\n tMW6 = _tIi._partition_pair\n if list(LFlW) == list(_tIi):\n yvT9 = '=='\n elif LFlW.sector() == _tIi.sector():\n if all([WKvO >= LVAh for WKvO, LVAh in zip(rQpG, tMW6)]):\n yvT9 = '>'\n elif all([WKvO <= LVAh for WKv... | [
"0.7113481",
"0.61792016",
"0.6103742",
"0.60673255",
"0.5988337",
"0.57884496",
"0.5781072",
"0.5717397",
"0.5668712",
"0.5632318",
"0.5632074",
"0.5627496",
"0.5609088",
"0.56011724",
"0.5592674",
"0.5575235",
"0.5536712",
"0.5522756",
"0.5517537",
"0.5507234",
"0.5503065",... | 0.7000569 | 1 |
If there is a change in the field, this method assures that if the field is type of TenantForeignKey and db_constraint does not exist, adds the foreign key constraint. | def Z2Oc(YKHO, C3ST, O0Cx, nAB6, nk6U, b6vv, W8dz, XlXa, U3Fm=False):
super()._alter_field(C3ST, O0Cx, nAB6, nk6U, b6vv, W8dz, XlXa, U3Fm)
if isinstance(nAB6, aKbU) and nAB6.db_constraint:
K2kL = KD1x(C3ST._meta.db_table)
Yt2p = YKHO._constraint_names(C3ST, [nAB6.column], foreign_key=True) + YKH... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AXcK(YKHO, C3ST, Jyyj, ZI14):\n if isinstance(Jyyj, aKbU):\n try:\n K2kL = KD1x(C3ST._meta.db_table)\n ZpWk = KD1x(Jyyj.target_field.model._meta.db_table)\n except ValueError:\n return None\n FFzb = (Jyyj.column, fwde(K2kL))\n nkwW = (Jyyj.target_... | [
"0.5806441",
"0.57861465",
"0.5465204",
"0.542271",
"0.5379888",
"0.5236703",
"0.51606286",
"0.5093874",
"0.5053542",
"0.50442356",
"0.5035095",
"0.49990463",
"0.49948144",
"0.49032623",
"0.4878623",
"0.48716143",
"0.48655212",
"0.48591134",
"0.48537186",
"0.4823321",
"0.4755... | 0.6515081 | 0 |
Set this entity from a dictionary | def jG8h(YKHO, cmPJ: dict):
raise NotImplementedError() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jG8h(Emd4: T, JZXy: dict[str, Any], UzPC: Connection) -> Kt_s:\n return super(ahCL, Emd4).from_dict(source=JZXy, connection=UzPC)",
"def QkSu(YKHO, fGC9):\n for H5ew, BWXx in jKi7.iteritems(fGC9):\n setattr(YKHO, gnPz.as_attr(H5ew), BWXx)\n YKHO._check_against_schema()",
"def jG8h(YKHO, fGC... | [
"0.73082095",
"0.7287774",
"0.69010705",
"0.6888975",
"0.68440866",
"0.6806164",
"0.67045105",
"0.6625885",
"0.6621233",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",
"0.6570255",... | 0.67995626 | 6 |
Return data array as dask DataFrame and calculate temperature bins. Thins property will yield a dask.dataframe that contain the `self.data_array` data with the temperature bining and latitudinal grid areas per each row. The bining can be either daily, by default, or use a window set by `self.moving_window_size`. This p... | def rd87(YKHO):
e5kH = rLdf.DataFrame({'time': rLdf.Series([], dtype='<M8[ns]'), 'lat': rLdf.Series([], dtype='float'), 'lon': rLdf.Series([], dtype='float'), 't2m': rLdf.Series([], dtype='float'), 'area_grid': rLdf.Series([], dtype='float'), 'temp_bucket': rLdf.Series([], dtype='float')})
YKHO.data_array['area... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WYC6(YKHO, velP):\n IDI3 = oyIN.vectorize(lambda WKvO: WKvO.left)\n kpLf = oyIN.floor(velP[YKHO.temp_var].min())\n JCoA = oyIN.ceil(velP[YKHO.temp_var].max())\n aNsj = JCoA + 2\n gSR0 = oyIN.arange(kpLf, JCoA + aNsj, YKHO.temp_interval_size)\n weg1 = rLdf.cut(velP[YKHO.temp_var], bins=gSR0, p... | [
"0.6105765",
"0.58133256",
"0.56154",
"0.5490922",
"0.5263622",
"0.5171621",
"0.511683",
"0.508883",
"0.5064058",
"0.4987925",
"0.49770904",
"0.4965427",
"0.49502873",
"0.49261674",
"0.4914605",
"0.49137223",
"0.48912856",
"0.48788884",
"0.48759356",
"0.4872126",
"0.48355904"... | 0.7132676 | 0 |
Yield n number of striped chunks from l. | def eHxA(vC9B, exwG):
for YRbF in range(0, exwG):
yield vC9B[YRbF::exwG] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xJ0H(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B) + 1, exwG):\n yield vC9B[YRbF:YRbF + exwG]",
"def I7IE(vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield vC9B[YRbF:YRbF + exwG]",
"def eHxA(YKHO, vC9B, exwG):\n yield vC9B[:exwG - 1]\n for YRbF in range(exwG - 1,... | [
"0.8433824",
"0.83154076",
"0.824434",
"0.82421774",
"0.8219455",
"0.82187474",
"0.82034206",
"0.8176609",
"0.81680846",
"0.8159051",
"0.8158373",
"0.8140583",
"0.8138037",
"0.8138037",
"0.8126006",
"0.81255215",
"0.8124897",
"0.8124897",
"0.8124897",
"0.81104285",
"0.8110428... | 0.83030415 | 2 |
Test to verify ``GET /v2.0//flavors/details`` returns consistent data on mutiple list calls | def UrW1(YKHO):
b2u5 = YKHO.get_server_flavor('/flavors/detail')
wb9T = YKHO.get_server_flavor('/flavors/detail')
YKHO.assertEqual(b2u5, wb9T) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SEAY(YKHO):\n geh0 = YKHO.flavors_client.list_flavors_with_detail()\n XfNb = geh0.entity\n YKHO.assertTrue(len(XfNb) > 0)\n geh0 = YKHO.flavors_client.get_flavor_details(YKHO.flavor_ref)\n k3Zu = geh0.entity\n YKHO.assertIn(k3Zu, XfNb)",
"def D_3q(YKHO):\n geh0 = YKHO.flavors_client.list... | [
"0.8270098",
"0.7830099",
"0.7594357",
"0.73318124",
"0.7186425",
"0.7034954",
"0.69893026",
"0.6637412",
"0.6546028",
"0.65092885",
"0.6347391",
"0.6345013",
"0.63160855",
"0.6220414",
"0.6207176",
"0.61758065",
"0.6172498",
"0.6148137",
"0.6130457",
"0.61295813",
"0.6110632... | 0.8313561 | 0 |
Returns if the word is in the trie. | def TgwQ(YKHO, GIN8: str) -> bool:
Q6kx = YKHO.root
for hcXw in GIN8:
if hcXw in Q6kx.child:
Q6kx = Q6kx.child.get(hcXw)
else:
return False
return Q6kx.isWord | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DUe0(YKHO, ZOCz, GIN8):\n TXkI = ZOCz\n for sZqf in GIN8:\n if sZqf in TXkI:\n TXkI = TXkI[sZqf]\n else:\n return False\n else:\n if '_end_' in TXkI:\n return TXkI['_end_']\n else:\n return False\n return False",
"def Gtm1(ZO... | [
"0.8386823",
"0.81510955",
"0.81230164",
"0.7856358",
"0.7830011",
"0.77931386",
"0.7792269",
"0.7764405",
"0.7752762",
"0.7746937",
"0.7710187",
"0.7681166",
"0.76761425",
"0.76636624",
"0.7649853",
"0.7633719",
"0.7627433",
"0.7610955",
"0.7568698",
"0.7561647",
"0.7559332"... | 0.75764817 | 18 |
Calculates a normal that occurs on the given world point. | def qvqi(YKHO, RCOG: Point) -> lNLu:
Z4N3 = YKHO.world_to_object(RCOG)
kQyJ = YKHO.local_normal_at(Z4N3)
return YKHO.normal_to_world(kQyJ) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mhAC(YKHO, AU8u):\n AU8u = YKHO._center - oyIN.array(AU8u)\n return NkkI(AU8u / YKHO._radius)",
"def mhAC(YKHO, AU8u):\n return YKHO._normal.dup()",
"def qvqi(YKHO, P6bq, Ty9i, EmUK=True):\n P6bq = P6bq * mM0K\n Ty9i = Ty9i * KiGg\n WKvO = YhSR(P6bq) * YUNn(Ty9i)\n LVAh = YUNn(P6bq) * ... | [
"0.74461645",
"0.7301533",
"0.7081921",
"0.6956634",
"0.6826198",
"0.67930174",
"0.6699974",
"0.66936934",
"0.6618894",
"0.65768117",
"0.6562253",
"0.65425366",
"0.6524042",
"0.6434071",
"0.6426089",
"0.6412149",
"0.63797605",
"0.63491946",
"0.6303255",
"0.6284604",
"0.623368... | 0.8551858 | 0 |
Checks if the cellphone number format is followed (PH cellphone number format) | def sXPh(YKHO, Jyyj, BWXx):
if not YKHO._is_valid_cp_format(BWXx):
YKHO._error(Jyyj, 'Invalid cellphone number format.') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DWGO(FGW3):\n JxOv = ZbWC.compile('^(\\\\d{3})-(\\\\d{3})-(\\\\d{4})$')\n if JxOv.match(FGW3) is None:\n return False\n else:\n return True",
"def PPyA(bWtk):\n try:\n bWtk = str(bWtk)\n except UnicodeEncodeError:\n return False\n TR_U = bWtk.strip()\n if len(... | [
"0.7052887",
"0.6900616",
"0.6753916",
"0.6724298",
"0.6689213",
"0.6641046",
"0.6425795",
"0.6347832",
"0.6340494",
"0.6310554",
"0.629106",
"0.6277518",
"0.62692577",
"0.6226981",
"0.62143904",
"0.6192978",
"0.6181709",
"0.616418",
"0.61340564",
"0.61099076",
"0.61007357",
... | 0.6497339 | 6 |
adds a unique id as a column to the original csv file and return a new csv file | def r_qx(Ux0P, LGaa, S1_y):
with open(Ux0P, 'rb') as apum, open(LGaa, 'wb') as _RR0:
N5Pj = m6_J.reader(apum)
WJI9 = m6_J.writer(_RR0, delimiter=',')
WJI9.writerow([S1_y] + next(N5Pj))
WJI9.writerows(([YRbF] + rdlD for YRbF, rdlD in enumerate(N5Pj, 1))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zVhy(Ux0P, ZLJ_, rDXp):\n FusX = ITS7.time()\n print(f'read file: {Ux0P}')\n jQ3Z = rLdf.read_csv(Ux0P)\n print(f'timer - read file: {ITS7.time() - FusX}')\n FusX = ITS7.time()\n print(f'add uid to columns {ZLJ_}')\n jQ3Z['uid'] = jQ3Z[ZLJ_].apply(PObu, axis=1)\n print(f'timer - add uid... | [
"0.6706085",
"0.65950257",
"0.65024155",
"0.6336273",
"0.62371033",
"0.6219642",
"0.6199829",
"0.6147044",
"0.6139055",
"0.608688",
"0.60177755",
"0.59496105",
"0.5949507",
"0.59152555",
"0.5910327",
"0.5909538",
"0.58658284",
"0.5864545",
"0.5861242",
"0.5843343",
"0.5826584... | 0.8212342 | 0 |
Computes the Chamfer distance for the given two point sets. | def b7La(ASpM: type_alias.TensorLike, VHuH: type_alias.TensorLike, mWFP: str='chamfer_distance_evaluate') -> ZylS.Tensor:
with ZylS.name_scope(mWFP):
ASpM = ZylS.convert_to_tensor(value=ASpM)
VHuH = ZylS.convert_to_tensor(value=VHuH)
ROpF.compare_batch_dimensions(tensors=(ASpM, VHuH), tensor... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Prct(lCHq, ANJu):\n return oyIN.arccosh(-UV9I(lCHq, ANJu))",
"def P9Al(AvSC: np.ndarray, h6hZ: np.ndarray) -> oyIN.ndarray:\n jzdc = AvSC[:, oyIN.newaxis, :]\n Fg_i = h6hZ[oyIN.newaxis, :, :]\n return oyIN.linalg.norm(jzdc - Fg_i, axis=-1)",
"def R1q2(o4D3, si3g, Rtnc, ajwV, skBL, mPai):\n C... | [
"0.67041564",
"0.6690448",
"0.66194475",
"0.66113436",
"0.66110134",
"0.66077584",
"0.6577685",
"0.65673256",
"0.6541298",
"0.6540993",
"0.6537351",
"0.65239114",
"0.64973307",
"0.6476015",
"0.6464559",
"0.645655",
"0.6442572",
"0.64412594",
"0.64304644",
"0.6427276",
"0.6424... | 0.0 | -1 |
Return a readonly object of the current cubic parameters. These parameters are intended to be used for debug/troubleshooting purposes. These object is a readonly snapshot and cannot be used to modify the behavior of the CUBIC calculations. New parameters may be added to this object in the future. | def TR54(YKHO):
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VB_d(Emd4, jzdc):\n return Emd4.from_parameters(jzdc, jzdc, jzdc, 90, 90, 90)",
"def mI5I(YKHO):\n VrTm = {'taux': YKHO.taux, 'mu': YKHO.mu, 'G': YKHO.G, 'alpha_0': YKHO.alpha_0, 'delta': YKHO.delta, 'p': YKHO.p, 'I0': YKHO.I0, 'kparam': YKHO.kparam}\n return VrTm",
"def K7D_(YKHO):\n NArs = {'... | [
"0.6433062",
"0.5811996",
"0.5800347",
"0.57966",
"0.5780582",
"0.57785934",
"0.576293",
"0.5752096",
"0.5696679",
"0.5689174",
"0.5689174",
"0.5685849",
"0.5653319",
"0.5574322",
"0.5557703",
"0.553191",
"0.55106175",
"0.5483999",
"0.5473618",
"0.54625386",
"0.54334885",
"... | 0.0 | -1 |
This function takes in a person's name, returns the person's initials (uppercase) | def NPVu(jeLr):
yj5f = jeLr
_wIR = yj5f.split()
xWjI = ''
for mWFP in _wIR:
xWjI += mWFP[0].upper()
return xWjI | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NPVu(mWFP, Lrae=True):\n if Lrae:\n return mWFP[0:1].upper()\n return mWFP[0:1]",
"def xWjI(eHMM):\n if eHMM is not None and len(eHMM) > 0:\n return ''.join([KCHu[0] for KCHu in eHMM.split(' ')]).upper()\n else:\n return ''",
"def NPVu(jeLr):\n ZWCE = jeLr.split()\n R... | [
"0.85246766",
"0.84204197",
"0.7988124",
"0.7863779",
"0.7846544",
"0.7661179",
"0.7313029",
"0.72950846",
"0.72880816",
"0.7186876",
"0.71575546",
"0.71150285",
"0.70367134",
"0.7011519",
"0.7001904",
"0.69537735",
"0.69357294",
"0.693159",
"0.6917566",
"0.6882198",
"0.68794... | 0.77550954 | 5 |
Returns hexstring representation of current UNIX timestamp. If no timestamp is give, the current time is used. | def HPjs(E3oo=None):
if not E3oo:
E3oo = azw4()
return WmtN(E3oo, width=8) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fPWr():\n yo7_ = ITS7.time()\n return BlNT.pack(b'=L', int(yo7_))",
"def jHdZ(YKHO):\n return str(ITS7.mktime(qcWV.datetime.now().timetuple()))",
"def _5Ea(YKHO):\n ZGkS = int(ITS7.time() * 10 ** 5)\n return hex(ZGkS)[2:]",
"def E3oo():\n return qcWV.now().strftime('%Y%m%dT%H%M%S')",
... | [
"0.8117221",
"0.76759094",
"0.7576215",
"0.7488471",
"0.7411012",
"0.7401723",
"0.73744756",
"0.72493863",
"0.724354",
"0.7204689",
"0.71766853",
"0.71554315",
"0.71410435",
"0.71080047",
"0.7104206",
"0.7081689",
"0.7062623",
"0.7062388",
"0.7057909",
"0.70528424",
"0.70502"... | 0.79782987 | 1 |
Test default product price == 10. | def MBCD(YKHO):
QRFO = msfn('Test Product')
YKHO.assertEqual(QRFO.price, 10) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MBCD(YKHO):\n QRFO = msfn('Test Product')\n YKHO.assertEqual(QRFO.price, 10)",
"def MBCD(YKHO):\n QRFO = Lx3t('Test Product')\n YKHO.assertEqual(QRFO.price, 10)\n YKHO.assertEqual(QRFO.weight, 20)",
"def MBCD(YKHO):\n QRFO = msfn('Test Product')\n YKHO.assertEqual(QRFO.price, 10)\n ... | [
"0.8686024",
"0.8598475",
"0.8564952",
"0.7544509",
"0.72902745",
"0.72873276",
"0.72873276",
"0.72873276",
"0.72873276",
"0.72873276",
"0.72873276",
"0.71904963",
"0.70281",
"0.70005506",
"0.69696474",
"0.6928504",
"0.69180405",
"0.69154555",
"0.69154555",
"0.68813854",
"0.6... | 0.868516 | 7 |
Get logger with the specified name. | def fZx2(YKHO, mWFP):
if not isinstance(mWFP, jKi7.string_types):
mWFP = '{}.{}'.format(mWFP.__class__.__module__, mWFP.__class__.__name__)
return YKHO.logger_store.setdefault(mWFP, Few0(name=mWFP, threshold=Few0.LOG_LEVELS[YKHO.config.log[0].level])) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fZx2(mWFP):\n return G9jH.getLogger(mWFP)",
"def fZx2(mWFP):\n return G9jH.getLogger(mWFP)",
"def fZx2(mWFP: str) -> G9jH.Logger:\n return G9jH.getLogger(mWFP)",
"def fZx2(mWFP: str) -> G9jH.Logger:\n if mWFP in xnLy:\n return xnLy[mWFP]\n bo34 = G9jH.getLogger(mWFP)\n bo34.setLe... | [
"0.88141036",
"0.87537223",
"0.86959535",
"0.8299673",
"0.8161971",
"0.81472385",
"0.8085568",
"0.79919595",
"0.79589564",
"0.7904583",
"0.78923213",
"0.7887824",
"0.78692627",
"0.7862782",
"0.78515685",
"0.7847677",
"0.7836671",
"0.78191763",
"0.7804547",
"0.7797446",
"0.778... | 0.8309426 | 3 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, OT3m):
return False
return YKHO.__dict__ == Elif.__dict__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.8088132",
"0.8088132",
"0.8054589",
"0.7982687",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
return not YKHO == Elif | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.8456063",
"0.83918154",
"0.8144437",
"0.8140196",
"0.8132038",
"0.8093834",
"0.80918837",
"0.80918837",
"0.80918837",
"0.80852824",
"0.80852824",
"0.807626",
"0.807626",
"0.80657643"
] | 0.0 | -1 |
GET for a directory with an existing index.html file | def glpu(YKHO):
QePW = I_ZY.message.Request()
QePW.method = 'GET'
QePW.uri = '/test/'
QePW.set_header('Host', 'localhost:{}'.format(MRXx))
QePW.set_header('Connection', 'close')
YKHO.client_socket.send(str(QePW).encode())
Ol8d = YKHO.client_socket.recv(1024)
geh0 = YKHO.parser.parse_resp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def d6pt(YKHO):\n xuug = Hy7s.path.join(Hy7s.path.dirname(Hy7s.path.abspath(xAKo)), 'index.html')\n return UbvO(xuug)",
"def NMoC(YKHO):\n return cs4A('', 'index.html')",
"def d6pt():\n pmON = Hy7s.path.abspath(Hy7s.path.join(Hy7s.path.dirname(Hy7s.path.realpath(xAKo))))\n return WsL5.send_from_... | [
"0.7235336",
"0.71264994",
"0.70389146",
"0.7010655",
"0.70105517",
"0.6980362",
"0.6897175",
"0.6873219",
"0.6870453",
"0.6684015",
"0.6673348",
"0.6672399",
"0.6642104",
"0.6602078",
"0.65783787",
"0.65744257",
"0.65153927",
"0.6489955",
"0.64833975",
"0.6475116",
"0.646765... | 0.0 | -1 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx):
YKHO.queue = [0] * G1Hx
YKHO.headIndex = 0
YKHO.count = 0
YKHO.capacity = G1Hx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capa... | [
"0.8515974",
"0.84414554",
"0.84083885",
"0.836347",
"0.83003247",
"0.8066098",
"0.8065758",
"0.7867472",
"0.7859428",
"0.7747034",
"0.7680982",
"0.76676327",
"0.76025206",
"0.7503039",
"0.7386881",
"0.7196421",
"0.7128313",
"0.6977173",
"0.691416",
"0.69105595",
"0.68898535"... | 0.84718597 | 1 |
Get the front item from the queue. | def y9BR(YKHO):
if YKHO.count == 0:
return -1
return YKHO.queue[YKHO.headIndex] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.9038855",
"0.89436394",
"0.8464059",
"0.84272945",
"0.8357966",
"0.8332022",
"0.8332022",
"0.8322763",
"0.8322763",
"0.8300125",
"0.82786024",
"0.821795",
"0.8214888",
"0.8210065",
"0.82068515",
"0.8168327",
"0.81299424",
"0.81290627",
"0.80782723",
"0.7994594",
"0.7991425... | 0.8214248 | 13 |
Get the last item from the queue. | def kITm(YKHO):
if YKHO.count == 0:
return -1
return YKHO.queue[(YKHO.headIndex + YKHO.count - 1) % YKHO.capacity] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.76055205",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.737336... | 0.6884677 | 93 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO):
return YKHO.count == 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def A4KR(YKHO):\n return 0 == len(YKHO.qu... | [
"0.84918785",
"0.84607804",
"0.8429387",
"0.8429387",
"0.83951026",
"0.82831895",
"0.8246613",
"0.82329935",
"0.8193397",
"0.8184179",
"0.81770307",
"0.8163974",
"0.81180215",
"0.8102001",
"0.80947953",
"0.8042463",
"0.79564434",
"0.7913296",
"0.7909012",
"0.7909012",
"0.7901... | 0.0 | -1 |
Checks whether the circular queue is full or not. | def Yykn(YKHO):
return YKHO.count == YKHO.capacity | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n return len(YKHO.queue) == YKHO.size",
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n retu... | [
"0.8474649",
"0.82988197",
"0.78824",
"0.7835387",
"0.7824154",
"0.7823803",
"0.7823803",
"0.76284957",
"0.7610079",
"0.7609874",
"0.7586084",
"0.75775087",
"0.7530568",
"0.7525677",
"0.74904674",
"0.7479177",
"0.74726564",
"0.7450254",
"0.74485844",
"0.7435313",
"0.7421137",... | 0.71919906 | 37 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx):
YKHO.capacity = G1Hx
YKHO.head = None
YKHO.tail = None
YKHO.count = 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity ... | [
"0.85158086",
"0.8471613",
"0.8441174",
"0.8407862",
"0.83635837",
"0.8300639",
"0.8066356",
"0.806578",
"0.7867966",
"0.7860277",
"0.7680682",
"0.7668274",
"0.7602642",
"0.75033516",
"0.73869616",
"0.71954906",
"0.7129148",
"0.6975911",
"0.69134945",
"0.6910839",
"0.6890201"... | 0.77467805 | 10 |
Get the front item from the queue. | def y9BR(YKHO):
if YKHO.count == 0:
return -1
return YKHO.head.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.9038855",
"0.89436394",
"0.8464059",
"0.84272945",
"0.8357966",
"0.8332022",
"0.8332022",
"0.8322763",
"0.8322763",
"0.8300125",
"0.82786024",
"0.821795",
"0.8214888",
"0.8214248",
"0.8210065",
"0.82068515",
"0.8168327",
"0.81299424",
"0.81290627",
"0.80782723",
"0.7994594... | 0.0 | -1 |
Get the last item from the queue. | def kITm(YKHO):
if YKHO.count == 0:
return -1
return YKHO.tail.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.76055205",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.737336... | 0.7040789 | 67 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO):
return YKHO.count == 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def A4KR(YKHO):\n return 0 == len(YKHO.qu... | [
"0.84918785",
"0.84607804",
"0.8429387",
"0.8429387",
"0.83951026",
"0.82831895",
"0.8246613",
"0.82329935",
"0.8193397",
"0.8184179",
"0.81770307",
"0.8163974",
"0.81180215",
"0.8102001",
"0.80947953",
"0.8042463",
"0.79564434",
"0.7913296",
"0.7909012",
"0.7909012",
"0.7901... | 0.0 | -1 |
Checks whether the circular queue is full or not. | def Yykn(YKHO):
return YKHO.count == YKHO.capacity | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n return len(YKHO.queue) == YKHO.size",
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n retu... | [
"0.84751034",
"0.8299797",
"0.78827924",
"0.78358734",
"0.782498",
"0.782426",
"0.782426",
"0.7629194",
"0.76109856",
"0.76109785",
"0.75850576",
"0.7578127",
"0.7531097",
"0.7526271",
"0.7490314",
"0.7479896",
"0.747371",
"0.74505204",
"0.7448315",
"0.7435628",
"0.7421604",
... | 0.71926147 | 38 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx: int):
YKHO.queue = [0] * G1Hx
YKHO.headIndex = 0
YKHO.count = 0
YKHO.capacity = G1Hx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity ... | [
"0.85158086",
"0.8471613",
"0.8407862",
"0.83635837",
"0.8300639",
"0.8066356",
"0.806578",
"0.7867966",
"0.7860277",
"0.77467805",
"0.7680682",
"0.7668274",
"0.7602642",
"0.75033516",
"0.73869616",
"0.71954906",
"0.7129148",
"0.6975911",
"0.69134945",
"0.6910839",
"0.6890201... | 0.8441174 | 2 |
Get the front item from the queue. | def y9BR(YKHO) -> int:
if YKHO.count == 0:
return -1
return YKHO.queue[YKHO.headIndex] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.90385115",
"0.89434814",
"0.846308",
"0.8426328",
"0.8357853",
"0.83309764",
"0.83309764",
"0.83211964",
"0.83211964",
"0.82988536",
"0.8279939",
"0.8216258",
"0.8213497",
"0.8213348",
"0.8209029",
"0.8205413",
"0.81683636",
"0.812805",
"0.81277895",
"0.8076473",
"0.799508... | 0.76550514 | 37 |
Get the last item from the queue. | def kITm(YKHO) -> int:
if YKHO.count == 0:
return -1
return YKHO.queue[(YKHO.headIndex + YKHO.count - 1) % YKHO.capacity] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.76055205",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.737336... | 0.0 | -1 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO) -> bool:
return YKHO.count == 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def A4KR(YKHO):\n return 0 == len(YKHO.qu... | [
"0.84921926",
"0.846136",
"0.84301",
"0.84301",
"0.8395741",
"0.8283515",
"0.8247131",
"0.8233042",
"0.81939346",
"0.818437",
"0.81774354",
"0.8164895",
"0.811857",
"0.81024665",
"0.8095394",
"0.804304",
"0.7957086",
"0.7912862",
"0.79094785",
"0.79094785",
"0.7901324",
"0.... | 0.0 | -1 |
Checks whether the circular queue is full or not. | def Yykn(YKHO) -> bool:
return YKHO.count == YKHO.capacity | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n return len(YKHO.queue) == YKHO.size",
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n retu... | [
"0.84751034",
"0.8299797",
"0.78827924",
"0.78358734",
"0.782498",
"0.782426",
"0.782426",
"0.7629194",
"0.76109856",
"0.76109785",
"0.75850576",
"0.7578127",
"0.7531097",
"0.7526271",
"0.7490314",
"0.7479896",
"0.747371",
"0.74505204",
"0.7448315",
"0.7435628",
"0.7421604",
... | 0.7319979 | 27 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx: int):
YKHO.queue = [0] * G1Hx
YKHO.headIndex = 0
YKHO.count = 0
YKHO.capacity = G1Hx
YKHO.queueLock = RQ1O() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity ... | [
"0.8515974",
"0.84718597",
"0.84414554",
"0.836347",
"0.83003247",
"0.8066098",
"0.8065758",
"0.7867472",
"0.7859428",
"0.7747034",
"0.7680982",
"0.76676327",
"0.76025206",
"0.7503039",
"0.7386881",
"0.7196421",
"0.7128313",
"0.6977173",
"0.691416",
"0.69105595",
"0.68898535"... | 0.84083885 | 3 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx: int):
YKHO.capacity = G1Hx
YKHO.head = None
YKHO.tail = None
YKHO.count = 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity ... | [
"0.85158086",
"0.8471613",
"0.8441174",
"0.8407862",
"0.83635837",
"0.8300639",
"0.8066356",
"0.806578",
"0.7867966",
"0.7860277",
"0.77467805",
"0.7668274",
"0.7602642",
"0.75033516",
"0.73869616",
"0.71954906",
"0.7129148",
"0.6975911",
"0.69134945",
"0.6910839",
"0.6890201... | 0.7680682 | 11 |
Get the front item from the queue. | def y9BR(YKHO) -> int:
if YKHO.count == 0:
return -1
return YKHO.head.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.9038855",
"0.89436394",
"0.8464059",
"0.84272945",
"0.8357966",
"0.8332022",
"0.8332022",
"0.8322763",
"0.8322763",
"0.8300125",
"0.82786024",
"0.821795",
"0.8214888",
"0.8214248",
"0.8210065",
"0.82068515",
"0.8168327",
"0.81299424",
"0.81290627",
"0.80782723",
"0.7994594... | 0.0 | -1 |
Get the last item from the queue. | def kITm(YKHO) -> int:
if YKHO.count == 0:
return -1
return YKHO.tail.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.76055205",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.737336... | 0.0 | -1 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO) -> bool:
return YKHO.count == 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def A4KR(YKHO):\n return 0 == len(YKHO.qu... | [
"0.84918785",
"0.84607804",
"0.8429387",
"0.8429387",
"0.83951026",
"0.82831895",
"0.8246613",
"0.82329935",
"0.8193397",
"0.8184179",
"0.81770307",
"0.8163974",
"0.81180215",
"0.8102001",
"0.80947953",
"0.8042463",
"0.79564434",
"0.7913296",
"0.7909012",
"0.7909012",
"0.7901... | 0.0 | -1 |
Checks whether the circular queue is full or not. | def Yykn(YKHO) -> bool:
return YKHO.count == YKHO.capacity | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n return len(YKHO.queue) == YKHO.size",
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n retu... | [
"0.84751034",
"0.8299797",
"0.78827924",
"0.78358734",
"0.782498",
"0.782426",
"0.782426",
"0.7629194",
"0.76109856",
"0.76109785",
"0.75850576",
"0.7578127",
"0.7531097",
"0.7526271",
"0.7490314",
"0.7479896",
"0.747371",
"0.74505204",
"0.7448315",
"0.7435628",
"0.7421604",
... | 0.7319979 | 26 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx):
YKHO.queue = [''] * G1Hx
YKHO.max_length = G1Hx
YKHO.start = -1
YKHO.end = -1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity ... | [
"0.85158086",
"0.8471613",
"0.8441174",
"0.8407862",
"0.83635837",
"0.8300639",
"0.8066356",
"0.7867966",
"0.7860277",
"0.77467805",
"0.7680682",
"0.7668274",
"0.7602642",
"0.75033516",
"0.73869616",
"0.71954906",
"0.7129148",
"0.6975911",
"0.69134945",
"0.6910839",
"0.689020... | 0.806578 | 7 |
Get the front item from the queue. | def y9BR(YKHO):
return -1 if YKHO.isEmpty() else YKHO.queue[YKHO.start] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.90385115",
"0.89434814",
"0.846308",
"0.8426328",
"0.8357853",
"0.83309764",
"0.83309764",
"0.83211964",
"0.83211964",
"0.82988536",
"0.8279939",
"0.8216258",
"0.8213497",
"0.8213348",
"0.8209029",
"0.8205413",
"0.81683636",
"0.81277895",
"0.8076473",
"0.7995084",
"0.79901... | 0.812805 | 17 |
Get the last item from the queue. | def kITm(YKHO):
return -1 if YKHO.isEmpty() else YKHO.queue[YKHO.end] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.76055205",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.737336... | 0.7131449 | 58 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO):
return YKHO.start == -1 and YKHO.end == -1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def A4KR(YKHO):\n return 0 == len(YKHO.qu... | [
"0.84921926",
"0.846136",
"0.84301",
"0.84301",
"0.8395741",
"0.8283515",
"0.8247131",
"0.8233042",
"0.81939346",
"0.818437",
"0.81774354",
"0.8164895",
"0.811857",
"0.81024665",
"0.8095394",
"0.804304",
"0.7957086",
"0.7912862",
"0.79094785",
"0.79094785",
"0.7901324",
"0.... | 0.0 | -1 |
Checks whether the circular queue is full or not. | def Yykn(YKHO):
return (YKHO.end + 1) % YKHO.max_length == YKHO.start | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n return len(YKHO.queue) == YKHO.size",
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n retu... | [
"0.84751034",
"0.8299797",
"0.78827924",
"0.78358734",
"0.782498",
"0.782426",
"0.782426",
"0.7629194",
"0.76109856",
"0.76109785",
"0.75850576",
"0.7578127",
"0.7531097",
"0.7526271",
"0.7490314",
"0.7479896",
"0.747371",
"0.74505204",
"0.7448315",
"0.7435628",
"0.7421604",
... | 0.0 | -1 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx):
YKHO.queue = []
YKHO.size = G1Hx
YKHO.front = 0
YKHO.rear = 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity ... | [
"0.8515974",
"0.84718597",
"0.84414554",
"0.84083885",
"0.836347",
"0.8066098",
"0.8065758",
"0.7867472",
"0.7859428",
"0.7747034",
"0.7680982",
"0.76676327",
"0.76025206",
"0.7503039",
"0.7386881",
"0.7196421",
"0.7128313",
"0.6977173",
"0.691416",
"0.69105595",
"0.68898535"... | 0.83003247 | 5 |
Get the front item from the queue. | def y9BR(YKHO):
if YKHO.isEmpty():
return -1
else:
return YKHO.queue[YKHO.front] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.90385115",
"0.89434814",
"0.846308",
"0.8426328",
"0.8357853",
"0.83309764",
"0.83309764",
"0.83211964",
"0.83211964",
"0.82988536",
"0.8279939",
"0.8216258",
"0.8213497",
"0.8213348",
"0.8205413",
"0.81683636",
"0.812805",
"0.81277895",
"0.8076473",
"0.7995084",
"0.799010... | 0.8209029 | 14 |
Get the last item from the queue. | def kITm(YKHO):
if YKHO.isEmpty():
return -1
else:
return YKHO.queue[YKHO.rear - 1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.76055205",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.737336... | 0.71529734 | 53 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO):
return YKHO.front == YKHO.rear | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def A4KR(YKHO):\n return 0 == len(YKHO.qu... | [
"0.84921926",
"0.846136",
"0.84301",
"0.84301",
"0.8395741",
"0.8283515",
"0.8247131",
"0.8233042",
"0.81939346",
"0.818437",
"0.81774354",
"0.8164895",
"0.811857",
"0.81024665",
"0.8095394",
"0.804304",
"0.7957086",
"0.7912862",
"0.79094785",
"0.79094785",
"0.7901324",
"0.... | 0.7412234 | 90 |
Checks whether the circular queue is full or not. | def Yykn(YKHO):
return YKHO.rear - YKHO.front == YKHO.size | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n return len(YKHO.queue) == YKHO.size",
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n retu... | [
"0.8474649",
"0.82988197",
"0.78824",
"0.7835387",
"0.7824154",
"0.7823803",
"0.7823803",
"0.76284957",
"0.7610079",
"0.7609874",
"0.7586084",
"0.75775087",
"0.7530568",
"0.7525677",
"0.74904674",
"0.7479177",
"0.74726564",
"0.7450254",
"0.7435313",
"0.7421137",
"0.73919505",... | 0.74485844 | 18 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx):
YKHO.queue = []
YKHO.size = G1Hx
YKHO.rear = 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = []\n YKHO.size = G1Hx",
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity ... | [
"0.8515974",
"0.84718597",
"0.84414554",
"0.84083885",
"0.83003247",
"0.8066098",
"0.8065758",
"0.7867472",
"0.7859428",
"0.7747034",
"0.7680982",
"0.76676327",
"0.76025206",
"0.7503039",
"0.7386881",
"0.7196421",
"0.7128313",
"0.6977173",
"0.691416",
"0.69105595",
"0.6889853... | 0.836347 | 4 |
Get the front item from the queue. | def y9BR(YKHO):
if YKHO.isEmpty():
return -1
else:
return YKHO.queue[0] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.9038855",
"0.89436394",
"0.8464059",
"0.84272945",
"0.8357966",
"0.8322763",
"0.8322763",
"0.8300125",
"0.82786024",
"0.821795",
"0.8214888",
"0.8214248",
"0.8210065",
"0.82068515",
"0.8168327",
"0.81299424",
"0.81290627",
"0.80782723",
"0.7994594",
"0.79914254",
"0.795706... | 0.8332022 | 5 |
Get the last item from the queue. | def kITm(YKHO):
if YKHO.isEmpty():
return -1
else:
return YKHO.queue[YKHO.rear - 1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.76055205",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.737336... | 0.71529734 | 54 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO):
return 0 == YKHO.rear | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def A4KR(YKHO):\n return 0 == len(YKHO.qu... | [
"0.84918785",
"0.84607804",
"0.8429387",
"0.8429387",
"0.83951026",
"0.82831895",
"0.8246613",
"0.82329935",
"0.8193397",
"0.8184179",
"0.81770307",
"0.8163974",
"0.81180215",
"0.8102001",
"0.80947953",
"0.8042463",
"0.79564434",
"0.7913296",
"0.7909012",
"0.7909012",
"0.7901... | 0.0 | -1 |
Checks whether the circular queue is full or not. | def Yykn(YKHO):
return YKHO.rear == YKHO.size | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n return len(YKHO.queue) == YKHO.size",
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n retu... | [
"0.8474649",
"0.82988197",
"0.78824",
"0.7835387",
"0.7824154",
"0.7823803",
"0.7823803",
"0.76284957",
"0.7610079",
"0.7609874",
"0.7586084",
"0.75775087",
"0.7530568",
"0.7525677",
"0.74904674",
"0.7479177",
"0.74726564",
"0.7450254",
"0.74485844",
"0.7435313",
"0.7421137",... | 0.7180057 | 39 |
Initialize your data structure here. Set the size of the queue to be k. | def FIMM(YKHO, G1Hx):
YKHO.queue = []
YKHO.size = G1Hx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, G1Hx):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n YKHO.headIndex = 0\n YKHO.count = 0\n YKHO.capacity = G1Hx",
"def FIMM(YKHO, G1Hx: int):\n YKHO.queue = [0] * G1Hx\n ... | [
"0.8471613",
"0.8441174",
"0.8407862",
"0.83635837",
"0.8300639",
"0.8066356",
"0.806578",
"0.7867966",
"0.7860277",
"0.77467805",
"0.7680682",
"0.7668274",
"0.7602642",
"0.75033516",
"0.73869616",
"0.71954906",
"0.7129148",
"0.6975911",
"0.69134945",
"0.6910839",
"0.6890201"... | 0.85158086 | 0 |
Get the front item from the queue. | def y9BR(YKHO):
if YKHO.isEmpty():
return -1
else:
return YKHO.queue[0] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uW34(YKHO):\n VnzS = YKHO.queue[YKHO.front]\n return VnzS\n pass",
"def VnzS(YKHO):\n return YKHO.queue[0] if not YKHO.empty() else None",
"def y9BR(YKHO):\n if len(YKHO.queue) >= 1:\n return YKHO.queue[0]\n else:\n return -1",
"def VnzS(gGq6):\n if _OiT(gGq6):\n ... | [
"0.9038855",
"0.89436394",
"0.8464059",
"0.84272945",
"0.8357966",
"0.8322763",
"0.8322763",
"0.8300125",
"0.82786024",
"0.821795",
"0.8214888",
"0.8214248",
"0.8210065",
"0.82068515",
"0.8168327",
"0.81299424",
"0.81290627",
"0.80782723",
"0.7994594",
"0.79914254",
"0.795706... | 0.8332022 | 6 |
Get the last item from the queue. | def kITm(YKHO):
if YKHO.isEmpty():
return -1
else:
return YKHO.queue[-1] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVAW(YKHO):\n if YKHO.is_empty():\n raise ValueError('Queue is empty!')\n return YKHO.last_node().element().value()",
"def XVAW(YKHO):\n return YKHO.deque[-1]",
"def ScHw(YKHO):\n return YKHO.container[YKHO.length - 1]",
"def kITm(YKHO):\n if len(YKHO.queue) >= 1:\n return YK... | [
"0.82451856",
"0.80613",
"0.8023248",
"0.77849776",
"0.7629952",
"0.7628782",
"0.75932163",
"0.7584632",
"0.75637347",
"0.7543559",
"0.75429386",
"0.7518005",
"0.7494505",
"0.746898",
"0.7461607",
"0.74455327",
"0.73941535",
"0.73889613",
"0.73865324",
"0.7373363",
"0.7349888... | 0.76055205 | 6 |
Checks whether the circular queue is empty or not. | def A4KR(YKHO):
return 0 == len(YKHO.queue) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.queue) == 0",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return YKHO._queue_item... | [
"0.84918785",
"0.84607804",
"0.8429387",
"0.8429387",
"0.83951026",
"0.8246613",
"0.82329935",
"0.8193397",
"0.8184179",
"0.81770307",
"0.8163974",
"0.81180215",
"0.8102001",
"0.80947953",
"0.8042463",
"0.79564434",
"0.7913296",
"0.7909012",
"0.7909012",
"0.79010254",
"0.7897... | 0.82831895 | 5 |
Checks whether the circular queue is full or not. | def Yykn(YKHO):
return len(YKHO.queue) == YKHO.size | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yykn(YKHO):\n if len(YKHO.queue) == YKHO.maxlen:\n return True\n else:\n return False",
"def FBfn(YKHO):\n return len(YKHO.__queue) > 0",
"def FBfn(YKHO):\n return len(YKHO.the_queue) == 0",
"def FBfn(YKHO):\n return YKHO.queue == []",
"def FBfn(YKHO):\n return len(YKHO.... | [
"0.8299797",
"0.78827924",
"0.78358734",
"0.782498",
"0.782426",
"0.782426",
"0.7629194",
"0.76109856",
"0.76109785",
"0.75850576",
"0.7578127",
"0.7531097",
"0.7526271",
"0.7490314",
"0.7479896",
"0.747371",
"0.74505204",
"0.7448315",
"0.7435628",
"0.7421604",
"0.7392218",
... | 0.84751034 | 0 |
Get ContactNoticeEnum from api messages. | def D6Sg(RHYd):
return RHYd.ConfigureContactSettingsRequest.ContactNoticesValueListEntryValuesEnum | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ldq2(RHYd):\n return RHYd.ContactSettings.PrivacyValueValuesEnum",
"def uOtJ(QePW):\n yEHD = QePW.GET.get('messages', 'false').lower() == 'true'\n hkxX = Q52A(QePW.issue, yEHD, QePW)\n return hkxX",
"def uOtJ(QePW):\n yEHD = QePW.GET.get('messages', 'false').lower() == 'true'\n hkxX = Q52... | [
"0.6752551",
"0.52335626",
"0.52335626",
"0.521562",
"0.520374",
"0.51513165",
"0.5018183",
"0.48284",
"0.47611585",
"0.4741907",
"0.47088912",
"0.46194834",
"0.45675215",
"0.45632452",
"0.4559596",
"0.45542246",
"0.4524476",
"0.45194757",
"0.44948968",
"0.44839627",
"0.44754... | 0.79956263 | 0 |
This function prints and plots the confusion matrix. Normalization can be applied by setting `normalize=True`. | def LwSz(Bcwd, KndY, NkkI=False, leAC='', iMGt=QrM1.cm.Blues):
QrM1.imshow(Bcwd, interpolation='nearest', cmap=iMGt)
QrM1.title(leAC + 'Confusion matrix')
QrM1.colorbar()
wIWT = oyIN.arange(len(KndY))
QrM1.xticks(wIWT, KndY, rotation=45)
QrM1.yticks(wIWT, KndY)
if NkkI:
Bcwd = Bcwd.a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LwSz(Bcwd, KndY=[0, 1], NkkI=False, leAC='Confusion matrix', RMso=False):\n if NkkI:\n Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]\n print('Normalized confusion matrix')\n else:\n print('Confusion matrix, without normalization')\n if RMso:\n print(Bcwd)"... | [
"0.8194366",
"0.8095442",
"0.8029135",
"0.8019134",
"0.7993755",
"0.7991176",
"0.79808146",
"0.79755133",
"0.79609716",
"0.7956584",
"0.79375756",
"0.79346216",
"0.79343396",
"0.7931212",
"0.7926087",
"0.7924503",
"0.7923946",
"0.79228765",
"0.79227114",
"0.7921956",
"0.79178... | 0.7876922 | 37 |
Build and cache a dataframe from query results | def bOBl(YKHO):
if YKHO._dataframe is None:
try:
import pandas as rLdf
except ImportError:
raise RuntimeError("To enable dataframe support, run 'pip install datadotworld[pandas]'")
YKHO._dataframe = rLdf.DataFrame.from_records(YKHO._iter_rows(), coerce_float=True)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def p1qr(xDcj):\n NCls.query(xDcj)\n dMjI = NCls.store_result()\n zKys = dMjI.fetch_row(maxrows=0, how=2)\n jQ3Z = rLdf.DataFrame.from_records(zKys)\n return jQ3Z",
"def aCdZ(YKHO) -> rLdf.DataFrame:\n if YKHO.resultSize > YKHO.step:\n xDcj: str = YKHO.query + f' LIMIT {YKHO.step}'\n ... | [
"0.75055",
"0.73289883",
"0.7260965",
"0.7219419",
"0.717175",
"0.7145276",
"0.71114534",
"0.71014774",
"0.70736",
"0.7020373",
"0.6978312",
"0.6975145",
"0.69552976",
"0.6938427",
"0.69212353",
"0.69134206",
"0.6867651",
"0.6854342",
"0.67930543",
"0.67796284",
"0.6775143",
... | 0.0 | -1 |
Gets labels as cornerpoints (8 points in 3D space) Assumes that the copies of the originals are named e.g. mackerel.001, whiting.001 etc. Blender 2.83 does this automatically at least Returns boxes_list = [(class, box), (class, box), ...] | def KTab(F6jf: 'Scenemaker') -> x1iM[AzJI[int, oyIN.ndarray]]:
ei4T = BfDw.select_collection(F6jf.target_collection)
RQCu = []
for YEnM in ei4T:
gjda = YEnM.name.split('.')[0]
ATPT = oyIN.empty((8, 3))
for r845, oM1k in enumerate(YEnM.bound_box):
ATPT[r845] = oM1k
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RwW0(F6jf: 'Scenemaker') -> x1iM[AzJI[int, oyIN.ndarray]]:\n ei4T = BfDw.select_collection(F6jf.target_collection)\n RQCu = []\n for YEnM in ei4T:\n gjda = YEnM.name.split('.')[0]\n tpio = YEnM.dimensions\n XyWv = DcDz(oyIN.array(YEnM.rotation_euler))\n hksT = slPs(oyIN.arr... | [
"0.6809832",
"0.66156995",
"0.6436885",
"0.6371332",
"0.6304836",
"0.6274672",
"0.619588",
"0.6189613",
"0.61156124",
"0.6065631",
"0.59921324",
"0.59508187",
"0.5918962",
"0.59108883",
"0.5879028",
"0.58305705",
"0.5830434",
"0.5751634",
"0.57430255",
"0.57291096",
"0.570597... | 0.7578062 | 0 |
Convert class labels from scalars to onehot vectors. | def SyH0(YKHO, lexL, jTqs=10):
svPB = lexL.shape[0]
whV7 = oyIN.arange(svPB) * jTqs
xZkh = oyIN.zeros((svPB, jTqs))
xZkh.flat[whV7 + lexL.ravel()] = 1
return xZkh | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KLLm(Crrw, KndY=None):\n return nMvt.utils.to_categorical(Crrw, KndY)",
"def KLLm(Crrw, KndY=None):\n PnsN = nMvt.utils.to_categorical(Crrw, KndY)\n return PnsN",
"def LQDo(Crrw: torch.Tensor, jTqs: int) -> ht2j.Tensor:\n if len(Crrw.size()) == 1:\n return vuvg.one_hot(Crrw, jTqs).float(... | [
"0.8250402",
"0.807683",
"0.80523187",
"0.7977843",
"0.7908335",
"0.7900327",
"0.7892233",
"0.7869711",
"0.7849721",
"0.7849721",
"0.7826951",
"0.7826122",
"0.77677035",
"0.7765413",
"0.77540547",
"0.77540547",
"0.77540547",
"0.77489346",
"0.7742955",
"0.7737176",
"0.77226317... | 0.7478094 | 48 |
Generate anchor (reference) windows by enumerating aspect ratios X scales wrt a reference (0, 0, base_size 1, base_size 1) window. | def j672(AU8u, maxY, i_sL, LAOT, UqYS, GzrC):
Ayfi = AU8u[2]
xu65 = maxY[0]
m_03 = maxY[1:] / xu65
m_03 = UqYS / Ayfi * m_03
hgjH = (AU8u[0], AU8u[1])
DNwW = oyIN.array([hgjH[0] - xu65 / 2.0, hgjH[1] - xu65 / 2.0, hgjH[0] + xu65 / 2.0, hgjH[1] + xu65 / 2.0], dtype=oyIN.float)
qvIa = srdr(DNw... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QCoC(m_03=(32,), i_sL=(0.5, 1, 2), yDqo=oyIN.float32):\n m_03 = oyIN.array(m_03)\n i_sL = oyIN.array(i_sL, dtype=yDqo)\n gnIy = oyIN.sqrt(i_sL)\n fOSb = 1 / gnIy\n VTcd = (fOSb[:, None] * m_03[None, :]).reshape(-1)\n ObL9 = (gnIy[:, None] * m_03[None, :]).reshape(-1)\n VhWl = oyIN.stack([-... | [
"0.674699",
"0.67246497",
"0.6567522",
"0.6496679",
"0.6481266",
"0.6481266",
"0.6378313",
"0.636886",
"0.636552",
"0.6184632",
"0.61386836",
"0.61331654",
"0.6106534",
"0.6017496",
"0.5911568",
"0.58159727",
"0.5798179",
"0.5796079",
"0.57649875",
"0.5740484",
"0.57395923",
... | 0.5973359 | 14 |
Instantiate some variables prior to calling the __enter__() method. | def FIMM(YKHO, KcEq='192.168.45.45', NtEF='admin', jTXt='Admin123', PM9U=True):
G9jH.debug('In the FMC __init__() class method.')
YKHO.host = KcEq
YKHO.username = NtEF
YKHO.password = jTXt
YKHO.autodeploy = PM9U | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DMw_(YKHO):\n YKHO.__within_context = True\n if not YKHO.__initialized:\n YKHO.__initialization__()\n return YKHO",
"def DMw_(YKHO):\n YKHO._logger.debug('__enter__()')\n YKHO.install('PRE')",
"def DMw_(YKHO):\n YKHO.initialize()\n return YKHO",
"def DMw_(YKHO):\n YKHO.__in... | [
"0.71459186",
"0.71210116",
"0.70791554",
"0.70147693",
"0.68209755",
"0.68209755",
"0.67988455",
"0.6741203",
"0.6738641",
"0.66676384",
"0.66464",
"0.6494947",
"0.6384495",
"0.6303259",
"0.6281594",
"0.6181052",
"0.61705554",
"0.616486",
"0.6160946",
"0.6152318",
"0.6143899... | 0.0 | -1 |
Returns the area of the Rectangle object. | def f0tD(YKHO):
return YKHO.width * YKHO.height | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f0tD(YKHO):\n cviu = YKHO.bbox\n f0tD = rh6a.calculate_bbox_area(cviu, bbox_type=YKHO.bbox_type)\n return f0tD",
"def f0tD(YKHO):\n f0tD = YKHO.__width * YKHO.__height\n return f0tD",
"def f0tD(YKHO):\n f0tD = YKHO.__length * YKHO.__width\n return f0tD",
"def f0tD(YKHO):\n f0tD = ... | [
"0.8224758",
"0.815816",
"0.7988173",
"0.78995395",
"0.78747696",
"0.78747696",
"0.78747696",
"0.78314096",
"0.7826703",
"0.7820832",
"0.7820832",
"0.7799044",
"0.7792251",
"0.7792251",
"0.7792251",
"0.7792035",
"0.77880317",
"0.77880317",
"0.77880317",
"0.77880317",
"0.77880... | 0.76826286 | 30 |
Returns the dictionary representation of a Rectangle object. | def SRkh(YKHO):
cK_b = U8Lr()
cK_b['id'] = YKHO.id
cK_b['width'] = YKHO.width
cK_b['height'] = YKHO.height
cK_b['x'] = YKHO.x
cK_b['y'] = YKHO.y
return dict(cK_b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yjUt(YKHO):\n return yjUt(YKHO.rectangles)",
"def SRkh(YKHO):\n mawX = {'x': YKHO.x, 'y': YKHO.y, 'id': YKHO.id, 'height': YKHO.height, 'width': YKHO.width}\n return mawX",
"def SRkh(YKHO):\n PxHz = {'x': YKHO.x, 'y': YKHO.y, 'id': YKHO.id, 'height': YKHO.height, 'width': YKHO.width}\n retur... | [
"0.82359874",
"0.8139956",
"0.80738163",
"0.7909286",
"0.78587335",
"0.7716369",
"0.76925933",
"0.71382874",
"0.6998955",
"0.6950656",
"0.6861835",
"0.67516065",
"0.674933",
"0.6684003",
"0.6625112",
"0.6625112",
"0.66044647",
"0.66042393",
"0.6600509",
"0.65932345",
"0.65715... | 0.6570964 | 21 |
Getter of the Rectangle's width value. | def TVTK(YKHO):
return YKHO.__width | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xiCJ(YKHO):\n return YKHO._width",
"def V8C_(YKHO):\n return YKHO.width",
"def V8C_(YKHO):\n return YKHO._width",
"def V8C_(YKHO):\n return YKHO._width",
"def V8C_(YKHO):\n return YKHO._width",
"def V8C_(YKHO):\n return YKHO._width",
"def V8C_(YKHO):\n return YKHO.__width",
"... | [
"0.8233175",
"0.82132363",
"0.82016337",
"0.82016337",
"0.82016337",
"0.82016337",
"0.81843126",
"0.81789076",
"0.81789076",
"0.81789076",
"0.81697214",
"0.81066436",
"0.8093248",
"0.8093248",
"0.8087137",
"0.8087137",
"0.80587417",
"0.80162007",
"0.79713136",
"0.7947834",
"0... | 0.78319687 | 40 |
Getter of the Rectangle's x value. | def WKvO(YKHO):
return YKHO.__x | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YH9x(YKHO):\n return YKHO.rect.x",
"def jSnl(YKHO):\n return _VfD.BoundingBox_getX(YKHO)",
"def nIKw(YKHO):\n return YKHO.posX",
"def vAgg(YKHO):\n return YKHO.position.x",
"def p5xg(YKHO):\n return YKHO.x_coord",
"def nIKw(YKHO) -> int:\n return YKHO.__x",
"def jSnl(YKHO):\n r... | [
"0.83179927",
"0.8063379",
"0.7989825",
"0.795449",
"0.78923875",
"0.7880331",
"0.7839584",
"0.7823092",
"0.7795686",
"0.77781326",
"0.77545893",
"0.7718183",
"0.7650797",
"0.7578626",
"0.75706786",
"0.75478595",
"0.75065285",
"0.749551",
"0.74643195",
"0.7438765",
"0.7279109... | 0.7097929 | 47 |
Getter of the Rectangle's y value. | def LVAh(YKHO):
return YKHO.__y | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bDS1(YKHO):\n return _VfD.BoundingBox_getY(YKHO)",
"def bDS1(YKHO):\n return YKHO.__y",
"def bDS1(YKHO):\n return YKHO._y",
"def bDS1(YKHO):\n return YKHO.y",
"def bDS1(YKHO):\n return YKHO.y",
"def BBTF(YKHO):\n return YKHO.position.y",
"def xdjK(YKHO):\n return YKHO._y",
"d... | [
"0.82528615",
"0.82525015",
"0.8163997",
"0.81583303",
"0.81583303",
"0.8109312",
"0.810847",
"0.8088943",
"0.8047962",
"0.7996797",
"0.7971566",
"0.79197246",
"0.78648555",
"0.7858608",
"0.7803153",
"0.77946854",
"0.7794031",
"0.77800745",
"0.7766345",
"0.7759042",
"0.775451... | 0.7329039 | 47 |
Setter of the Rectangle's y value. | def LVAh(YKHO, FGW3):
YKHO.validate_int('y', FGW3)
if FGW3 < 0:
raise ValueError('y must be >= 0')
YKHO.__y = FGW3 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def z9NM(YKHO, LVAh):\n YKHO._y = LVAh",
"def z9NM(YKHO, LVAh):\n YKHO.y = LVAh\n pass",
"def QEd2(YKHO, LVAh):\n YKHO._y = LVAh",
"def lcEV(YKHO, LVAh):\n YKHO._y = LVAh",
"def lcEV(YKHO, LVAh: float):\n YKHO.y = LVAh",
"def lcEV(YKHO, eLqP):\n YKHO.y = eLqP",
"def z9NM(YKHO, LVAh... | [
"0.83687454",
"0.8361568",
"0.8339199",
"0.8333172",
"0.81836766",
"0.8055658",
"0.7952201",
"0.7948843",
"0.7874834",
"0.78124815",
"0.77986413",
"0.7726136",
"0.76541656",
"0.7615408",
"0.7615408",
"0.75526625",
"0.7445898",
"0.73857665",
"0.73857665",
"0.73717856",
"0.7308... | 0.6762778 | 34 |
r"""Returns all workspaces belonging to a repo. | def x1iM(YKHO, QePW, jMd6=None):
GPtr = YKHO.GetMethodConfig('List')
return YKHO._RunMethod(GPtr, QePW, global_params=jMd6) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qWwU(YKHO):\n return Rops(client=YKHO)",
"def list(YKHO):\n return YKHO.rpc.call(OMwV.DbWorkspaces)['workspaces']",
"def rFRb(YKHO, NArs={}, **xAU6):\n return YKHO.client.get_collection('/workspaces', NArs, **xAU6)",
"def az61(x0hE):\n return x0hE._creoson_post('windchill', 'list_workspaces',... | [
"0.70669395",
"0.68496996",
"0.657306",
"0.6508706",
"0.613411",
"0.6058504",
"0.6006513",
"0.5855024",
"0.57285273",
"0.57278657",
"0.56856924",
"0.56500983",
"0.5595036",
"0.5497893",
"0.54730886",
"0.54632324",
"0.54611075",
"0.5459534",
"0.54272574",
"0.5402718",
"0.53954... | 0.0 | -1 |
function return left son of root in binary tree | def LFlW(a1PO):
return a1PO(1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gEGd(YKHO):\n return bBBw.or_none(YKHO.left)",
"def NsVL(YKHO):\n if YKHO.left_child == None:\n SWAg = YKHO.get_lowest_right_parent()\n if SWAg.parent == None:\n return ieC3(frac=(0, 1))\n else:\n return SWAg.parent\n else:\n return YKHO.left_child.g... | [
"0.7345953",
"0.7260732",
"0.7110122",
"0.7103753",
"0.69501144",
"0.6934904",
"0.6916423",
"0.69109064",
"0.6798808",
"0.67089784",
"0.66743076",
"0.66373247",
"0.66236436",
"0.66223264",
"0.659061",
"0.6573866",
"0.651677",
"0.651677",
"0.64390534",
"0.6436019",
"0.6415343"... | 0.58956563 | 97 |
Sets the id of this TypesUserProject. | def id(YKHO, id):
YKHO._id = id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def r2U1(YKHO, r2U1):\n YKHO._id_user = r2U1",
"def psjw(YKHO, id):\n YKHO.id = int(id)",
"def V_9M(YKHO, hbFX):\n YKHO.id_ = hbFX",
"def V_9M(YKHO, id):\n YKHO.__id = id",
"def V_9M(YKHO, id):\n YKHO.data['id'] = id",
"def KAKp(YKHO, ekCf):\n YKHO._project_id = ekCf",
"def V_9M(YKHO,... | [
"0.6500529",
"0.6352681",
"0.6339276",
"0.6319639",
"0.6221762",
"0.6206974",
"0.5985643",
"0.5937511",
"0.5915891"
] | 0.5891401 | 78 |
Sets the connected of this TypesUserProject. | def gela(YKHO, gela):
YKHO._connected = gela | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lYMA(YKHO):\n YKHO.connected = True",
"def gela(YKHO, gela):\n YKHO._connected = gela",
"def lYMA(YKHO, oRFJ):\n gTEQ('PrlVmDev_SetConnected', YKHO.handle, oRFJ)",
"def pcM0(YKHO):\n YKHO.update_connected_users_list()",
"async def on_connected(YKHO):\n YKHO._connected = True",
"def Djb... | [
"0.65114254",
"0.63306546",
"0.61642313",
"0.58125794",
"0.5230474",
"0.5117098",
"0.511702",
"0.511702",
"0.50815463",
"0.50558823",
"0.50558823",
"0.50361633",
"0.49616674",
"0.49408835",
"0.4928108",
"0.48644245",
"0.4848451",
"0.48207507",
"0.48207507",
"0.4811522",
"0.48... | 0.61835384 | 2 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, BRDs):
return False
return YKHO.to_dict() == Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)",
"def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False",
"def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c... | [
"0.8088132",
"0.8088132",
"0.8054589",
"0.7982687",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
"0.79670393",
... | 0.0 | -1 |
Returns true if both objects are not equal | def Vdqg(YKHO, Elif):
if not isinstance(Elif, BRDs):
return True
return YKHO.to_dict() != Elif.to_dict() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)",
"def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)",
... | [
"0.845611",
"0.8391477",
"0.8144138",
"0.81410587",
"0.8132492",
"0.8093973",
"0.80920255",
"0.80920255",
"0.80920255",
"0.8085325",
"0.8085325",
"0.8076365",
"0.8076365",
"0.8065748",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
"0.8042487",
... | 0.0 | -1 |
Add a vertex to the graph. | def ohmD(YKHO, oqUi, AQSv):
YKHO.vertices[oqUi] = {YRbF: '?' for YRbF in AQSv} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohmD(YKHO, SLBp):\n raise NotImplementedError",
"def ohmD(YKHO, SLBp):\n if isinstance(SLBp, Yegm):\n YKHO.vertices.append(SLBp)\n return\n raise TypeError('Is not vertex instance!')",
"def ohmD(YKHO, niHF: n):\n rJkO = Yegm(niHF)\n YKHO._graph[rJkO.name] = rJkO",
"def ohmD(Y... | [
"0.87033486",
"0.8434105",
"0.8422719",
"0.8410191",
"0.83653563",
"0.8317094",
"0.82547307",
"0.8086536",
"0.80824524",
"0.80383134",
"0.8035328",
"0.78831893",
"0.78724676",
"0.7840278",
"0.7840278",
"0.7762692",
"0.775697",
"0.77169126",
"0.7713996",
"0.76683915",
"0.76628... | 0.65892863 | 72 |
Get all neighbors (edges) of a vertex. | def BTfj(YKHO, oqUi):
return YKHO.vertices[oqUi] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o3gy(YKHO, SLBp):\n return list(YKHO.neighbor_in_iterator(SLBp))",
"def YHRb(YKHO, SLBp):\n return list(YKHO.neighbor_out_iterator(SLBp))",
"def qIRx(YKHO, SLBp):\n hlel = []\n if SLBp in YKHO.adjacency_list:\n for _Wdu in YKHO.adjacency_list[SLBp]:\n hlel.append([_Wdu.vertex.... | [
"0.8146008",
"0.78266084",
"0.78112674",
"0.7634123",
"0.76183206",
"0.7559868",
"0.7391218",
"0.73596346",
"0.73310196",
"0.7279731",
"0.71649474",
"0.7128683",
"0.7083494",
"0.7077735",
"0.7033856",
"0.69887614",
"0.69749075",
"0.6923719",
"0.68615776",
"0.6847223",
"0.6838... | 0.729323 | 12 |
Extract decimal numbers from a string. This function handles text such as '2 point 5'. | def SsUO(s2mk, DAyo, Ld9C):
for Z9rn in El9P:
XOh9 = _qYm(s2mk, lambda a1PO: a1PO.word == Z9rn)
if len(XOh9) == 3:
svKS = wYrt(XOh9[0], DAyo, Ld9C, fractional_numbers=False)
lPyZ = wYrt(XOh9[2], DAyo, Ld9C, fractional_numbers=False)
if not svKS or not lPyZ:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WU8O(KCHu):\n KG9w = BfDw.unclump(KCHu)\n gL_5 = ZbWC.match('^\\\\d+$', KG9w)\n if gL_5 is not None:\n return SOnQ.Decimal(round(float(KG9w), 2))\n gpRq = ZbWC.match('(\\\\d+)\\\\s+(\\\\d)/(\\\\d)', KG9w)\n if gpRq is not None:\n mLGw = int(gpRq.group(1)) + float(gpRq.group(2)) / f... | [
"0.74877256",
"0.6806575",
"0.6772915",
"0.6722399",
"0.66642714",
"0.6604073",
"0.6577167",
"0.65498704",
"0.6463148",
"0.6402769",
"0.63766545",
"0.63435113",
"0.63405293",
"0.63052595",
"0.62363774",
"0.61921525",
"0.615599",
"0.6122159",
"0.6096509",
"0.6091078",
"0.60814... | 0.62038374 | 15 |