query stringlengths 10 3.6k | document stringlengths 19 61.4k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
Gets the minimum_subtotal of this Customer. Minimum subtotal | def az6G(YKHO):
return YKHO._minimum_subtotal | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def az6G(YKHO, az6G):\n YKHO._minimum_subtotal = az6G",
"def cW8p(YKHO):\n return YKHO._min_qty",
"def FVUc(YKHO):\n return YKHO._min_sale_qty",
"def VmUT(YKHO):\n return YKHO._minimum",
"def min(YKHO):\n return YKHO._reduce_for_stat_function(vuvg.min, only_numeric=False)",
"def xk6Q(YKHO)... | [
"0.762988",
"0.63574404",
"0.62578213",
"0.6119958",
"0.609414",
"0.6035749",
"0.6033182",
"0.5990075",
"0.59808767",
"0.59447646",
"0.593769",
"0.5923251",
"0.5911233",
"0.5893297",
"0.5893297",
"0.58926266",
"0.5891071",
"0.5867106",
"0.5867106",
"0.58617187",
"0.5806587",
... | 0.8682387 | 0 |
Sets the minimum_subtotal of this Customer. Minimum subtotal | def az6G(YKHO, az6G):
YKHO._minimum_subtotal = az6G | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def az6G(YKHO):\n return YKHO._minimum_subtotal",
"def dgIT(YKHO, dgIT):\n YKHO._min_value = dgIT",
"def dgIT(YKHO, dgIT):\n YKHO._min_value = dgIT",
"def dgIT(YKHO, dgIT):\n YKHO._min_value = dgIT",
"def FVUc(YKHO, FVUc):\n if FVUc is None:\n raise ValueError('Invalid value for `min_... | [
"0.75220066",
"0.6253324",
"0.6253324",
"0.6253324",
"0.62453973",
"0.619761",
"0.6030935",
"0.59983313",
"0.5970749",
"0.59042466",
"0.59042466",
"0.59038216",
"0.59038216",
"0.58876675",
"0.58567154",
"0.5769353",
"0.56948346",
"0.5668504",
"0.5617014",
"0.5616412",
"0.5605... | 0.91217035 | 0 |
Gets the no_coupons of this Customer. No coupons | def YK4t(YKHO):
return YKHO._no_coupons | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YK4t(YKHO, YK4t):\n YKHO._no_coupons = YK4t",
"def _PZC(YKHO):\n return YKHO._df_invoice_original.CustomerID.unique().shape[0]",
"def qNRc(YKHO):\n return mBkc(list(YKHO))",
"def GnEW(YKHO):\n return YagB.Coupons(YKHO)",
"def GnEW(YKHO):\n return Cj2a(YKHO)",
"def mkfz(YKHO) -> int:\n ... | [
"0.6109418",
"0.6065169",
"0.600353",
"0.5981188",
"0.59681046",
"0.58282405",
"0.58179194",
"0.5759666",
"0.5717092",
"0.56691134",
"0.5622092",
"0.55998003",
"0.559923",
"0.55969113",
"0.5569218",
"0.5562735",
"0.5544317",
"0.5513898",
"0.5458888",
"0.5443288",
"0.5426624",... | 0.76301444 | 0 |
Sets the no_coupons of this Customer. No coupons | def YK4t(YKHO, YK4t):
YKHO._no_coupons = YK4t | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YK4t(YKHO):\n return YKHO._no_coupons",
"def s_9J(YKHO, s_9J):\n YKHO._nic_num_not = s_9J",
"def mx8i(YKHO, mx8i):\n YKHO._nics_none = mx8i",
"def K9u0(YKHO) -> None:\n ...",
"def CtR8(YKHO, wEf2):\n YKHO.swift_obj.BeneficiaryCustomer = wEf2\n YKHO.swift_obj.BeneficiaryCustomer.swiftT... | [
"0.6798268",
"0.56734955",
"0.5639737",
"0.56070703",
"0.5552857",
"0.5457696",
"0.543087",
"0.5282103",
"0.5178031",
"0.5104693",
"0.50901735",
"0.504551",
"0.498055",
"0.49425092",
"0.4910478",
"0.4806957",
"0.47794423",
"0.47633263",
"0.47601724",
"0.47454318",
"0.47357714... | 0.8192381 | 0 |
Sets the orders of this Customer. Orders associated with this customer profile | def BgK2(YKHO, BgK2):
YKHO._orders = BgK2 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def on_orders_replaced(YKHO, BgK2: List[MetatraderOrder]):\n YKHO._orders = BgK2",
"def zQbk(YKHO, T4Wy):\n YKHO.orderInData = T4Wy",
"def q09K(YKHO, T4Wy):\n YKHO.order = T4Wy",
"def q09K(YKHO, T4Wy):\n YKHO.order = T4Wy",
"def HorV(YKHO, HorV):\n if YKHO.local_vars_configuration.clie... | [
"0.6170456",
"0.60221905",
"0.6002594",
"0.6002594",
"0.59244764",
"0.5896776",
"0.5889775",
"0.57909524",
"0.57447034",
"0.57447034",
"0.57447034",
"0.5681902",
"0.5602448",
"0.55998385",
"0.5557742",
"0.5378232",
"0.53428847",
"0.53143555",
"0.53033465",
"0.5286973",
"0.526... | 0.7560337 | 1 |
Sets the password of this Customer. Password (may only be set, never read) | def jTXt(YKHO, jTXt):
if jTXt is not None and len(jTXt) > 30:
raise ValueError('Invalid value for `password`, length must be less than or equal to `30`')
YKHO._password = jTXt | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def G3s8(YKHO, jTXt):\n YKHO.password = jTXt",
"def G3s8(YKHO, jTXt):\n YKHO.PASSWORD = jTXt",
"def zZft(YKHO, zN5h):\n pass",
"def G3s8(YKHO, jTXt):\n YKHO.PASS = jTXt",
"def G3s8(YKHO, jTXt):\n YKHO.cloudserver.change_password(jTXt)",
"def G3s8(YKHO, jTXt):\n YKHO.password = B8ni.gene... | [
"0.8232579",
"0.8111093",
"0.80999184",
"0.7986677",
"0.794187",
"0.7928852",
"0.79287934",
"0.7916805",
"0.79127324",
"0.7889815",
"0.7847484",
"0.78387654",
"0.78387654",
"0.78387654",
"0.78387654",
"0.77690464",
"0.77282506",
"0.77282506",
"0.77240914",
"0.7717393",
"0.770... | 0.7228913 | 36 |
Gets the qb_class of this Customer. QuickBooks class to import this customer as | def hukP(YKHO):
return YKHO._qb_class | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GesF(YKHO):\n assert YKHO.query_builder_class is not None, \"'%s' should either include a `query_builder_class` attribute, or override the `get_query_builder_class()` method.\" % YKHO.__class__.__name__\n return YKHO.query_builder_class",
"def ZvYj(YKHO):\n return YKHO.CLASS",
"def ZvYj(YKHO):\n ... | [
"0.61396956",
"0.5806494",
"0.57493824",
"0.5713907",
"0.5713612",
"0.5540221",
"0.5487067",
"0.5426593",
"0.5388942",
"0.5372061",
"0.5346787",
"0.533198",
"0.5316744",
"0.5269363",
"0.5269363",
"0.51829964",
"0.5177156",
"0.51753557",
"0.51194644",
"0.5113043",
"0.5076741",... | 0.7880745 | 0 |
Gets the qb_code of this Customer. QuickBooks name to import this customer as | def tAJL(YKHO):
return YKHO._qb_code | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CtKK(YKHO):\n return YKHO._customer_name",
"def iz2e(YKHO):\n p9bx = ZsBx()\n Pe9W = 'Select short_name from companies where id =' + str(YKHO.company_id)\n jQ3Z = p9bx.get_query_df(Pe9W)\n Wxnj = jQ3Z.iloc[0, 0]\n return Wxnj",
"def di0Y(YKHO) -> str:\n return YKHO._customer_id",
"de... | [
"0.6488982",
"0.607789",
"0.60215694",
"0.57430094",
"0.55977136",
"0.5554987",
"0.5529009",
"0.5529009",
"0.55076325",
"0.54610777",
"0.54610777",
"0.54303706",
"0.54169154",
"0.54012626",
"0.5359292",
"0.535751",
"0.535751",
"0.5312546",
"0.53049797",
"0.53049797",
"0.53049... | 0.71089536 | 0 |
Sets the qb_code of this Customer. QuickBooks name to import this customer as | def tAJL(YKHO, tAJL):
YKHO._qb_code = tAJL | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tAJL(YKHO):\n return YKHO._qb_code",
"def CtKK(YKHO, CtKK):\n YKHO._customer_name = CtKK",
"def NFqa(YKHO, chXy):\n global vendor_name\n YKHO.vendor_unique_id = YKHO.random_string_generator(6)\n Kkd2 = chXy + YKHO.vendor_unique_id\n YKHO.set_value_into_input_field(YKHO.vendor_name_textbox... | [
"0.61895883",
"0.5890012",
"0.57990825",
"0.56052274",
"0.55832756",
"0.5481956",
"0.5417983",
"0.54019964",
"0.53624874",
"0.5277678",
"0.52601445",
"0.52298826",
"0.52298826",
"0.52252555",
"0.5164064",
"0.5092281",
"0.5086345",
"0.5085653",
"0.5085653",
"0.50834346",
"0.50... | 0.7676602 | 0 |
Sets the quotes of this Customer. Quotes associated with this customer profile | def PenU(YKHO, PenU):
YKHO._quotes = PenU | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PenU(YKHO):\n return YKHO._quotes",
"def PenU(YKHO):\n return YKHO._quotes",
"async def quotes(YKHO, OaeV):\n await YKHO.message_leaderboard(OaeV, 'quotes')",
"def OnTz(YKHO, JzPW='nsl1opvkj'):\n YKHO.cur_quotes_property_str = JzPW",
"def FCbF(YKHO):\n YKHO.random_quote = LX6y('Natasha C... | [
"0.5903956",
"0.5903956",
"0.58998775",
"0.58332413",
"0.5320316",
"0.51927716",
"0.51484543",
"0.51184916",
"0.49805704",
"0.49743798",
"0.49639794",
"0.49601328",
"0.49334046",
"0.49334046",
"0.48992035",
"0.4794737",
"0.4780808",
"0.4745896",
"0.47412536",
"0.47398895",
"0... | 0.77030873 | 0 |
Sets the referral_source of this Customer. Referral Source | def LmuP(YKHO, LmuP):
if LmuP is not None and len(LmuP) > 50:
raise ValueError('Invalid value for `referral_source`, length must be less than or equal to `50`')
YKHO._referral_source = LmuP | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def T6c0(YKHO, T6c0):\n YKHO._source_contact = T6c0",
"def LmuP(YKHO):\n return YKHO._referral_source",
"def bBsv(YKHO, aYjo):\n YKHO._validator.validate_one('source', iyhn['source'], aYjo)\n YKHO._ifAttributes['source'] = aYjo",
"def xUuB(YKHO, JZXy):\n YKHO.data['source'] = JZXy",
"def KGW... | [
"0.67669284",
"0.6725081",
"0.61584383",
"0.6062122",
"0.60146266",
"0.5965083",
"0.5965083",
"0.59629184",
"0.5939816",
"0.5939816",
"0.5939816",
"0.5939816",
"0.5939816",
"0.5939816",
"0.5939816",
"0.5845459",
"0.5810408",
"0.5809826",
"0.5802448",
"0.57876754",
"0.5769534"... | 0.7728845 | 0 |
Gets the shipping of this Customer. Shipping addresses for this customer | def WUJJ(YKHO):
return YKHO._shipping | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vllj(YKHO) -> 'outputs.ShippingAddressResponse':\n return qe4Y.get(YKHO, 'shipping_address')",
"def vllj(YKHO) -> 'outputs.ShippingAddressResponse':\n return qe4Y.get(YKHO, 'shipping_address')",
"def vllj(YKHO) -> 'outputs.ShippingAddressResponse':\n return qe4Y.get(YKHO, 'shipping_address')",
"... | [
"0.7763449",
"0.7763449",
"0.7763449",
"0.767562",
"0.67779243",
"0.6644838",
"0.64475065",
"0.6420661",
"0.6348562",
"0.59039724",
"0.5735479",
"0.5734318",
"0.5546499",
"0.55390173",
"0.54865503",
"0.548645",
"0.5476888",
"0.5474502",
"0.54233736",
"0.54111916",
"0.5390986"... | 0.7878591 | 0 |
Gets the signup_dts of this Customer. Signup date | def Pqvs(YKHO):
return YKHO._signup_dts | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pqvs(YKHO, Pqvs):\n YKHO._signup_dts = Pqvs",
"def DlWd(YKHO):\n FpOe = YKHO.getUserInfo()\n E3oo = int(float(FpOe['signupTimeSec']))\n return ITS7.strftime('%m/%d/%Y %H:%M', ITS7.gmtime(E3oo))",
"def o1cz(YKHO):\n return YKHO.account_created_date",
"def AHia(YKHO):\n return YKHO._regis... | [
"0.65081435",
"0.63510865",
"0.59054834",
"0.5811228",
"0.5504573",
"0.53848994",
"0.5384413",
"0.53592855",
"0.52790797",
"0.52790797",
"0.52790797",
"0.52769595",
"0.52705914",
"0.5242916",
"0.5242916",
"0.5242916",
"0.51934034",
"0.5191108",
"0.51809996",
"0.51764023",
"0.... | 0.80204034 | 0 |
Gets the suppress_buysafe of this Customer. Suppress buySAFE | def skXn(YKHO):
return YKHO._suppress_buysafe | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def skXn(YKHO, skXn):\n YKHO._suppress_buysafe = skXn",
"def htTT(YKHO):\n return kDme(YKHO)",
"def RPgW(YKHO):\n return YKHO._tax_exempt",
"def JEvR(YKHO):\n return YKHO.__silence",
"def htTT(YKHO):\n return YKHO",
"def lMgI(YKHO):\n return YKHO._exempt_shipping_handling_charge",
"de... | [
"0.7212473",
"0.59909064",
"0.5460177",
"0.5459144",
"0.5428537",
"0.53602356",
"0.5354851",
"0.5318312",
"0.5275436",
"0.5254636",
"0.52455634",
"0.5209804",
"0.52009916",
"0.51474416",
"0.509824",
"0.5074139",
"0.5060088",
"0.5060088",
"0.5060088",
"0.5019574",
"0.501508",
... | 0.77869606 | 0 |
Gets the tax_exempt of this Customer. True if the customer is tax exempt | def RPgW(YKHO):
return YKHO._tax_exempt | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RPgW(YKHO, RPgW):\n YKHO._tax_exempt = RPgW",
"def uZGL(YKHO):\n return YKHO._tax_included",
"def Tych(YKHO) -> bool:\n if YKHO.exempt_when:\n return YKHO.exempt_when()\n return False",
"def Nc_r(YKHO) -> bool:\n return YKHO._is_taxable",
"def tl59(YKHO):\n return YKHO.total_ex... | [
"0.6794746",
"0.66627544",
"0.63433504",
"0.6306556",
"0.6255803",
"0.5895082",
"0.58804166",
"0.5858941",
"0.5854297",
"0.5771094",
"0.5757708",
"0.5583154",
"0.5568775",
"0.5542933",
"0.5397456",
"0.53434366",
"0.5254393",
"0.52244526",
"0.5212916",
"0.52091277",
"0.5167711... | 0.8298218 | 0 |
Sets the tax_exempt of this Customer. True if the customer is tax exempt | def RPgW(YKHO, RPgW):
YKHO._tax_exempt = RPgW | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RPgW(YKHO):\n return YKHO._tax_exempt",
"def uZGL(YKHO, uZGL):\n YKHO._tax_included = uZGL",
"def VMoV(YKHO, VMoV):\n YKHO._tax_override = VMoV",
"def DOhr(YKHO, DOhr):\n YKHO._tax_amount = DOhr",
"def DOhr(YKHO, DOhr):\n YKHO._tax_amount = DOhr",
"def G6vq(YKHO, G6vq):\n YKHO._with... | [
"0.74209034",
"0.595756",
"0.59306157",
"0.592274",
"0.592274",
"0.57438374",
"0.56471366",
"0.5608581",
"0.5532864",
"0.5427848",
"0.5369421",
"0.53670645",
"0.5366274",
"0.53470767",
"0.5332247",
"0.532157",
"0.51891",
"0.5170744",
"0.51624745",
"0.5158186",
"0.51524717",
... | 0.8613695 | 0 |
Sets the tax_id of this Customer. Tax ID | def HjOA(YKHO, HjOA):
if HjOA is not None and len(HjOA) > 15:
raise ValueError('Invalid value for `tax_id`, length must be less than or equal to `15`')
YKHO._tax_id = HjOA | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HjOA(YKHO, HjOA):\n YKHO._tax_id = HjOA",
"def HjOA(YKHO, HjOA: str):\n YKHO._tax_id = HjOA",
"def maR8(YKHO, Qz0i):\n YKHO.tax_id_value = Qz0i",
"def Ci1y(YKHO, nf12):\n YKHO.tax_id_label = nf12",
"def DOhr(YKHO, DOhr):\n YKHO._tax_amount = DOhr",
"def DOhr(YKHO, DOhr):\n YKHO._tax... | [
"0.87590045",
"0.8662352",
"0.80013734",
"0.74551654",
"0.7168562",
"0.7168562",
"0.70510966",
"0.7036523",
"0.69102764",
"0.6771935",
"0.63606834",
"0.63157976",
"0.6217136",
"0.62159896",
"0.617953",
"0.6139053",
"0.6138699",
"0.6069116",
"0.6018205",
"0.59747994",
"0.59716... | 0.78828615 | 3 |
Gets the track_separately of this Customer. True if the customer should be tracked separately in QuickBooks | def k_KU(YKHO):
return YKHO._track_separately | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Un9T(YKHO):\n for ZrNc in YKHO.accounts:\n if not ZrNc.on_track:\n return False\n return True",
"def Un9T(YKHO):\n for ZrNc in YKHO.accounts.all():\n if not ZrNc.on_track:\n return False\n return True",
"def W5nj(YKHO):\n return YKHO._also_track",
"def k... | [
"0.5785258",
"0.57484245",
"0.5503403",
"0.54018587",
"0.53501976",
"0.5269997",
"0.5265373",
"0.5162521",
"0.51327646",
"0.5125616",
"0.5111509",
"0.49465573",
"0.49465573",
"0.49436694",
"0.49197856",
"0.49194705",
"0.4916178",
"0.49089986",
"0.4897925",
"0.48731837",
"0.48... | 0.7027527 | 0 |
Gets the unapproved of this Customer. Unapproved | def jeBE(YKHO):
return YKHO._unapproved | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def get_unapproved(YKHO, LRlk, CBIr):\n A97Q = await YKHO.db[str(LRlk)].find_one({'id': CBIr.id})\n if A97Q is None or len(A97Q['unapproved']) == 0:\n return -1\n else:\n return A97Q['unapproved']",
"def jeBE(YKHO, jeBE):\n YKHO._unapproved = jeBE",
"def jeBE(Ol8d):\n CVOT.qu... | [
"0.68862796",
"0.6682904",
"0.6192706",
"0.55028456",
"0.5488881",
"0.5446353",
"0.53884095",
"0.53799593",
"0.53354764",
"0.53019124",
"0.5245403",
"0.51704144",
"0.51652676",
"0.5092612",
"0.50110024",
"0.50084156",
"0.50083715",
"0.50002396",
"0.4994726",
"0.49889553",
"0.... | 0.82201564 | 0 |
Sets the unapproved of this Customer. Unapproved | def jeBE(YKHO, jeBE):
YKHO._unapproved = jeBE | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jeBE(YKHO):\n return YKHO._unapproved",
"def cVpV(p_Hn):\n AG6g._UNAUTHORIZED = p_Hn",
"def roQF(YKHO, roQF):\n BbPm = ['Allow', 'Disallow', 'AdminReview']\n if roQF.lower() not in map(str.lower, BbPm):\n YKHO._unequal_paid = 'outdated_sdk_version'\n else:\n YKHO._unequal_paid ... | [
"0.6685284",
"0.58883953",
"0.57462066",
"0.566149",
"0.566149",
"0.562006",
"0.550862",
"0.5459612",
"0.5207823",
"0.51709485",
"0.5163259",
"0.50850445",
"0.505899",
"0.505744",
"0.5033902",
"0.50197905",
"0.49518418",
"0.49372715",
"0.49184358",
"0.49184358",
"0.49184358",... | 0.8636987 | 0 |
Gets the ups_account_number of this Customer. UPS account number | def DOpq(YKHO):
return YKHO._ups_account_number | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lb7m(YKHO):\n return YKHO.__account_number",
"def Z31E(YKHO) -> qe4Y.Output[int]:\n return qe4Y.get(YKHO, 'account_id')",
"def ao0w(YKHO):\n return YKHO._fedex_account_number",
"def n3lg(YKHO):\n return YKHO._dhl_account_number",
"def DOpq(YKHO, DOpq):\n if DOpq is not None and len(DOpq)... | [
"0.72434944",
"0.63800204",
"0.63280016",
"0.62756574",
"0.6243746",
"0.6039854",
"0.6039854",
"0.6039854",
"0.6039854",
"0.6039854",
"0.6039854",
"0.6039854",
"0.6039854",
"0.6014761",
"0.6014761",
"0.6014761",
"0.5931466",
"0.5894432",
"0.58716",
"0.58716",
"0.58613265",
... | 0.87114334 | 0 |
Gets the website_url of this Customer. Website url | def lOKC(YKHO):
return YKHO._website_url | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q1Ua(YKHO):\n if YKHO.website:\n return YKHO.website.get_absolute_url()\n elif YKHO.external_url:\n return YKHO.external_url.url\n elif YKHO.parent:\n return YKHO.parent.get_website_url()\n else:\n return XXMN.get_website",
"def _7Xf(YKHO):\n return YKHO._siteurl",
... | [
"0.7666433",
"0.7439449",
"0.7200491",
"0.709269",
"0.709269",
"0.7063683",
"0.6974808",
"0.6974808",
"0.6973805",
"0.6973805",
"0.6923577",
"0.6919077",
"0.6878103",
"0.68396145",
"0.6757848",
"0.67456084",
"0.6742248",
"0.67288554",
"0.6726163",
"0.67114943",
"0.6692765",
... | 0.82670254 | 0 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, xp_p):
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.8457179",
"0.8393067",
"0.81457263",
"0.8140635",
"0.8133462",
"0.8094992",
"0.8093376",
"0.8093376",
"0.8093376",
"0.80863357",
"0.80863357",
"0.8077303",
"0.8077303",
"0.8066831"
] | 0.0 | -1 |
In the constructor we instantiate two nn.Linear modules and assign them as member variables. | def FIMM(YKHO, PhLZ):
super(Pwdr, YKHO).__init__()
YKHO.in_features = PhLZ
YKHO.bias = XDS4(ht2j.Tensor(PhLZ)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, *qIxc):\n super(byfJ, YKHO).__init__()\n YKHO.fc = U78l.Linear(*qIxc)",
"def FIMM(YKHO, Ce0Y, Q9YM, N93T=False):\n super(zSGR, YKHO).__init__()\n assert len(Q9YM) == len(Ce0Y) - 1\n G1Hx = len(Ce0Y)\n assert all([Ce0Y[r845][1] == Ce0Y[r845 + 1][0] for r845 in range(G1Hx - 1)])\n ... | [
"0.7740845",
"0.75491226",
"0.7507384",
"0.74351764",
"0.7366187",
"0.7335458",
"0.7315035",
"0.72868973",
"0.7273689",
"0.72728837",
"0.72728837",
"0.72682863",
"0.7243211",
"0.7221085",
"0.7202836",
"0.7167876",
"0.71118164",
"0.70775396",
"0.7065539",
"0.7063421",
"0.70532... | 0.0 | -1 |
Override save to set the expire_date field. | def xkzz(YKHO, *qIxc, **B2fa):
YKHO.expire_date = YKHO.sent_date + fCoM(days=YKHO.period)
super(D7LL, YKHO).save(*qIxc, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PiTA(YKHO, PiTA):\n YKHO._expire_date = PiTA",
"def xkzz(YKHO, *qIxc, **B2fa):\n YKHO.modify_ts = qcWV.now()\n super(M45m, YKHO).save(*qIxc, **B2fa)",
"def pg_u(YKHO, pg_u):\n YKHO._expire = pg_u",
"def xkzz(YKHO, *qIxc, **B2fa):\n if not YKHO.id:\n YKHO.create_date = rIAI.now()\n ... | [
"0.72531503",
"0.6751157",
"0.6709668",
"0.67068225",
"0.66698235",
"0.6593257",
"0.6593257",
"0.6570706",
"0.65098894",
"0.64543635",
"0.64344317",
"0.64227086",
"0.6394009",
"0.6288463",
"0.6288463",
"0.62290776",
"0.62290776",
"0.62101007",
"0.616072",
"0.616072",
"0.61278... | 0.7848873 | 0 |
p, n = planeFit(points) Given an array, points, of shape (d,...) representing points in ddimensional space, fit an ddimensional plane to the points. Return a point, p, on the plane (the pointcloud centroid), and the normal, n. | def GUm1(LTIa):
LTIa = oyIN.reshape(LTIa, (oyIN.shape(LTIa)[0], -1))
assert LTIa.shape[0] <= LTIa.shape[1], 'There are only {} points in {} dimensions.'.format(LTIa.shape[1], LTIa.shape[0])
We7B = LTIa.mean(axis=1)
WKvO = LTIa - We7B[:, oyIN.newaxis]
E3D9 = oyIN.dot(WKvO, WKvO.T)
return (We7B, P... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def T1w3(LTIa):\n import numpy as oyIN\n from numpy.linalg import svd\n LTIa = oyIN.reshape(LTIa, (oyIN.shape(LTIa)[0], -1))\n assert LTIa.shape[0] <= LTIa.shape[1], 'There are only {} points in {} dimensions.'.format(LTIa.shape[1], LTIa.shape[0])\n We7B = LTIa.mean(axis=1)\n WKvO = LTIa - We7B[:... | [
"0.74842775",
"0.7459086",
"0.7351473",
"0.7334644",
"0.71488965",
"0.69940245",
"0.67285067",
"0.67285067",
"0.65457124",
"0.6474771",
"0.6442741",
"0.6409273",
"0.63591313",
"0.6330643",
"0.626703",
"0.626703",
"0.626103",
"0.6156615",
"0.61215425",
"0.6113213",
"0.6098571"... | 0.74275154 | 2 |
Return current syringe position in ml. | async def get_current_volume(YKHO) -> R29p.Quantity:
BnDJ = await YKHO.send_command_and_read_reply(hWCo(command='YQP'))
NYs0 = (int(BnDJ) - YKHO._offset_steps) * g_7g.step
return NYs0 / YKHO._steps_per_ml | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E8eW(YKHO):\n raise NotImplementedError",
"def HOyC(YKHO):\n return YKHO.__current_pos",
"def Dq5Q(YKHO):\n return YKHO.handle.pos().toPoint()",
"def rPtd(YKHO):\n Z9rn = 0\n while Z9rn <= DzmL - 1:\n YRbF = 0\n for jzdc in range(CLlp):\n if YKHO._aliens[jzdc][Z9rn... | [
"0.6802213",
"0.6498631",
"0.6412411",
"0.640127",
"0.63590926",
"0.62950504",
"0.6248771",
"0.62295616",
"0.6217019",
"0.6196817",
"0.6167762",
"0.61197615",
"0.611496",
"0.61082417",
"0.60912526",
"0.6080588",
"0.6080588",
"0.60716474",
"0.6068857",
"0.60621226",
"0.6046875... | 0.0 | -1 |
Return the current firmware version reported by the pump. | async def version(YKHO) -> str:
return await YKHO.send_command_and_read_reply(hWCo(command='U')) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uCIf(YKHO):\n return YKHO._get_system_status()['firmware']",
"def uCIf(YKHO):\n return YKHO.data.get('fw_ver')",
"def uCIf(YKHO):\n return YKHO._read(kw_2)",
"def uCIf(YKHO) -> str:\n return YKHO._firmware_version",
"def MONY():\n return BfDw.run('crossystem fwid').stdout.strip()",
"de... | [
"0.85099614",
"0.8340618",
"0.8138581",
"0.7956162",
"0.7860083",
"0.78461266",
"0.7817271",
"0.77458894",
"0.7622092",
"0.7555154",
"0.7525543",
"0.7479105",
"0.74680084",
"0.74258685",
"0.7408459",
"0.7353371",
"0.73360205",
"0.7335943",
"0.7322615",
"0.730427",
"0.7304198"... | 0.0 | -1 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, Qwt_):
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.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.0 | -1 |
Tests getting a missing study. | def Fs9W(YKHO):
YKHO.assertIsNone(YKHO.storage.get_study('missing')) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yhwf(YKHO):\n LLRK = w6EX()\n with YKHO.assertRaises(ValueError):\n YKHO.storage.update_study(LLRK)",
"def qyPj(YKHO):\n bD7m = YKHO.get_url()\n geh0 = YKHO.client.get(bD7m)\n LCgR = SPLs(geh0)\n YKHO.assertEqual(sorted([KgVA.pk for KgVA in YKHO.studies]), sorted(LCgR))",
"def qyPj... | [
"0.71964467",
"0.68617964",
"0.68617964",
"0.68524545",
"0.67670447",
"0.6757489",
"0.6757489",
"0.6757489",
"0.6757489",
"0.6753798",
"0.67430204",
"0.66788816",
"0.6668998",
"0.6668998",
"0.6660492",
"0.66139245",
"0.6612867",
"0.66102505",
"0.6548558",
"0.6548558",
"0.6522... | 0.81518245 | 0 |
Tests updating the state of a study. | def eV5s(YKHO):
LLRK = w6EX()
V6BW = YKHO.storage.create_study(LLRK)
YKHO.assertEqual(BTwp.StudySpec.STATE_ENABLED, LLRK.state)
YKHO.storage.update_study_state(V6BW, BTwp.StudySpec.STATE_DISABLED)
LLRK = YKHO.storage.get_study(V6BW)
YKHO.assertIsNotNone(LLRK)
YKHO.assertEqual(BTwp.StudySpec.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LESH(YKHO):\n LLRK = w6EX()\n V6BW = YKHO.storage.create_study(LLRK)\n YKHO.assertEqual(BTwp.StudySpec.STATE_ENABLED, LLRK.state)\n YKHO.assertEqual('test', LLRK.name)\n bZt2 = LLRK.creation_time.ToDatetime()\n LLRK.name = 'changed test'\n LLRK.state = BTwp.StudySpec.STATE_DISABLED\n LL... | [
"0.78230596",
"0.7498204",
"0.7435541",
"0.7234746",
"0.71625173",
"0.70140386",
"0.681868",
"0.66858053",
"0.662168",
"0.6595936",
"0.6593869",
"0.6506648",
"0.6506648",
"0.6506648",
"0.6370141",
"0.6320166",
"0.6292186",
"0.6292186",
"0.6262718",
"0.6188326",
"0.61799145",
... | 0.7922583 | 0 |
Tests updating the state of a missing study. | def Um8Z(YKHO):
with YKHO.assertRaises(ValueError):
YKHO.storage.update_study_state('missing', BTwp.StudySpec.STATE_ENABLED) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Yhwf(YKHO):\n LLRK = w6EX()\n with YKHO.assertRaises(ValueError):\n YKHO.storage.update_study(LLRK)",
"def eV5s(YKHO):\n LLRK = w6EX()\n V6BW = YKHO.storage.create_study(LLRK)\n YKHO.assertEqual(BTwp.StudySpec.STATE_ENABLED, LLRK.state)\n YKHO.storage.update_study_state(V6BW, BTwp.St... | [
"0.7876338",
"0.756133",
"0.74866223",
"0.68596566",
"0.67913425",
"0.6691316",
"0.66512007",
"0.66417116",
"0.6551547",
"0.6285016",
"0.6227183",
"0.618581",
"0.6152985",
"0.6152985",
"0.61153185",
"0.610636",
"0.6090624",
"0.6064854",
"0.60633194",
"0.60519874",
"0.59716755... | 0.8176927 | 0 |
Tests updating a missing study. | def Yhwf(YKHO):
LLRK = w6EX()
with YKHO.assertRaises(ValueError):
YKHO.storage.update_study(LLRK) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LESH(YKHO):\n LLRK = w6EX()\n V6BW = YKHO.storage.create_study(LLRK)\n YKHO.assertEqual(BTwp.StudySpec.STATE_ENABLED, LLRK.state)\n YKHO.assertEqual('test', LLRK.name)\n bZt2 = LLRK.creation_time.ToDatetime()\n LLRK.name = 'changed test'\n LLRK.state = BTwp.StudySpec.STATE_DISABLED\n LL... | [
"0.7637461",
"0.7224611",
"0.6900326",
"0.6744525",
"0.6623599",
"0.6599874",
"0.64857274",
"0.6452709",
"0.6452709",
"0.6424584",
"0.6424584",
"0.6424584",
"0.6419779",
"0.638175",
"0.6346849",
"0.6325708",
"0.6312447",
"0.625581",
"0.62455684",
"0.6214897",
"0.6214801",
"... | 0.8167678 | 0 |
Tests creating an episode with missing fields. | def Ha_9(YKHO, vXX7):
V6BW, JkXK = YKHO.init_session()
xgXB = Canq(study_id=V6BW, session_id=JkXK)
xgXB.ClearField(vXX7)
with YKHO.assertRaises(ValueError):
YKHO.storage.create_episode(xgXB) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EOaV(YKHO):\n xgXB = YKHO._create_sample_episode()\n with YKHO.assertRaises(ValueError, msg='Episode already exists.'):\n YKHO.storage.create_episode(xgXB)",
"def SYHF(YKHO):\n bGrB, JkXK = YKHO.init_session()\n xgXB = Canq(study_id='missing', session_id=JkXK)\n with YKHO.assertRaises(V... | [
"0.7780633",
"0.75854033",
"0.7560356",
"0.7390913",
"0.68898857",
"0.682119",
"0.6709671",
"0.66966206",
"0.6624257",
"0.6579809",
"0.6525769",
"0.64436567",
"0.6408738",
"0.63982606",
"0.639607",
"0.6393368",
"0.6376112",
"0.6350394",
"0.63224113",
"0.63161665",
"0.629348",... | 0.73737454 | 4 |
Tests creating an episode for a missing session. | def Govq(YKHO):
V6BW = YKHO.storage.create_study(w6EX())
xgXB = Canq(study_id=V6BW, session_id='missing')
with YKHO.assertRaises(ValueError):
YKHO.storage.create_episode(xgXB) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SYHF(YKHO):\n bGrB, JkXK = YKHO.init_session()\n xgXB = Canq(study_id='missing', session_id=JkXK)\n with YKHO.assertRaises(ValueError):\n YKHO.storage.create_episode(xgXB)",
"def EOaV(YKHO):\n xgXB = YKHO._create_sample_episode()\n with YKHO.assertRaises(ValueError, msg='Episode already... | [
"0.81493276",
"0.76721245",
"0.75123125",
"0.7170817",
"0.68798655",
"0.68144184",
"0.6751232",
"0.6561961",
"0.65390486",
"0.65072423",
"0.6253223",
"0.6202442",
"0.61001486",
"0.6073128",
"0.6072587",
"0.5989172",
"0.59625196",
"0.5948455",
"0.59400785",
"0.59313756",
"0.59... | 0.85375804 | 0 |
Tests creating an episode for a missing study. | def SYHF(YKHO):
bGrB, JkXK = YKHO.init_session()
xgXB = Canq(study_id='missing', session_id=JkXK)
with YKHO.assertRaises(ValueError):
YKHO.storage.create_episode(xgXB) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Govq(YKHO):\n V6BW = YKHO.storage.create_study(w6EX())\n xgXB = Canq(study_id=V6BW, session_id='missing')\n with YKHO.assertRaises(ValueError):\n YKHO.storage.create_episode(xgXB)",
"def EOaV(YKHO):\n xgXB = YKHO._create_sample_episode()\n with YKHO.assertRaises(ValueError, msg='Episode... | [
"0.8137882",
"0.78032833",
"0.75689256",
"0.6792931",
"0.67500323",
"0.6686436",
"0.66267246",
"0.6594826",
"0.6574101",
"0.65016884",
"0.64614993",
"0.645196",
"0.640829",
"0.6402761",
"0.63559407",
"0.6352517",
"0.6350069",
"0.6259453",
"0.6259453",
"0.6259453",
"0.6259453"... | 0.8455071 | 0 |
Tests atomic update of an episode without any changes. | def qwET(YKHO):
xgXB = YKHO._create_sample_episode()
V6BW, JkXK, FW7i = (xgXB.study_id, xgXB.session_id, xgXB.id)
def db6b(PQHS):
PQHS.num_steps = 200
return False
YKHO.assertFalse(YKHO.storage.atomic_update_episode(V6BW, JkXK, FW7i, db6b))
YKHO.assertEqual(YKHO.storage.get_episode(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LVdp(YKHO):\n xgXB = YKHO._create_sample_episode()\n V6BW, JkXK, FW7i = (xgXB.study_id, xgXB.session_id, xgXB.id)\n\n def db6b(PQHS):\n YKHO.assertEqual(PQHS, xgXB)\n YKHO.assertEqual(PQHS.num_steps, 100)\n PQHS.num_steps = 200\n return True\n YKHO.assertTrue(YKHO.storag... | [
"0.84660435",
"0.7890779",
"0.71040875",
"0.6888165",
"0.6645462",
"0.664114",
"0.664114",
"0.664114",
"0.65186656",
"0.6496286",
"0.6428055",
"0.64232314",
"0.6407289",
"0.63487357",
"0.6339075",
"0.63161963",
"0.624167",
"0.62241834",
"0.61784154",
"0.61751306",
"0.6154144"... | 0.89119446 | 0 |
Tests atomic update of a missing episode. | def OV4K(YKHO):
def db6b(qyGJ):
assert False
YKHO.assertFalse(YKHO.storage.atomic_update_episode('study', 'session', 'missing', db6b)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qwET(YKHO):\n xgXB = YKHO._create_sample_episode()\n V6BW, JkXK, FW7i = (xgXB.study_id, xgXB.session_id, xgXB.id)\n\n def db6b(PQHS):\n PQHS.num_steps = 200\n return False\n YKHO.assertFalse(YKHO.storage.atomic_update_episode(V6BW, JkXK, FW7i, db6b))\n YKHO.assertEqual(YKHO.storage... | [
"0.8667964",
"0.7754999",
"0.693362",
"0.65994745",
"0.6509191",
"0.64592224",
"0.64587677",
"0.64382136",
"0.63946396",
"0.62582344",
"0.6234301",
"0.622272",
"0.6222256",
"0.61955893",
"0.61854947",
"0.6182698",
"0.61460924",
"0.61211073",
"0.60616493",
"0.6056387",
"0.6053... | 0.85606474 | 1 |
Returns the default collector settings | def yDgW(YKHO):
GPtr = super(UrVS, YKHO).get_default_config()
GPtr.update({'path': 'diskspace', 'filesystems': 'ext2, ext3, ext4, xfs, glusterfs, nfs, nfs4, ' + ' ntfs, hfs, fat32, fat16, btrfs', 'exclude_filters': ['^/export/home'], 'byte_unit': ['byte']})
return GPtr | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yDgW(YKHO):\n GPtr = super(leyK, YKHO).get_default_config()\n GPtr.update({'enabled': 'True', 'fs': ',', 'timeout': 300})\n return GPtr",
"def qimH():\n return {}",
"def yDgW(YKHO):\n GPtr = super(iwOa, YKHO).get_default_config()\n GPtr.update({'url': lMln, 'path': 'dropwizard'})\n ret... | [
"0.70514023",
"0.7008024",
"0.69490683",
"0.6713433",
"0.65743333",
"0.65309024",
"0.6521635",
"0.6466526",
"0.6447688",
"0.641337",
"0.6397818",
"0.6380512",
"0.63683224",
"0.6357208",
"0.63517016",
"0.6331759",
"0.63120294",
"0.62353724",
"0.6231899",
"0.62074906",
"0.62016... | 0.6515402 | 7 |
Take file path as string; return text as string. Takes a string that is a file path, opens the file, and turns the file's contents as one string of text. | def OcVp(Tv_S, rklQ):
KZz6 = open(Tv_S)
XijY = open(rklQ)
kGys = KZz6.read() + ' ' + XijY.read()
KZz6.close()
XijY.close()
return kGys | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OcVp(qaEx):\n OwN0 = open(qaEx)\n LFxn = OwN0.read()\n OwN0.close()\n return LFxn",
"def OcVp(qaEx):\n OwN0 = open(qaEx)\n SFw1 = OwN0.read()\n return SFw1",
"def cHUw(VqRE):\n assert JC7M(VqRE), 'filepath does not exist'\n with open(VqRE, 'r', encoding='utf-8') as eHNT:\n ... | [
"0.80701673",
"0.8048426",
"0.80146885",
"0.79927737",
"0.7922294",
"0.7866254",
"0.7800041",
"0.76798844",
"0.7659898",
"0.7614667",
"0.7608646",
"0.7570947",
"0.75405455",
"0.7529626",
"0.75042224",
"0.75037545",
"0.74999714",
"0.7412953",
"0.7371709",
"0.73616654",
"0.7330... | 0.0 | -1 |
Find part in control and add to end of its list of parts. Update the control with the new parts otherwise error. | def W3Jk(YKHO, z5su: cat.Control, hbFX: str, GzYO: List[common.Part]) -> None:
for Q7me in z5su.parts:
if YKHO._add_to_part(Q7me, hbFX, GzYO):
return True
raise pFHp(f'Unable to add parts for control {z5su.id} and part {hbFX}') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qa1L(YKHO, SQ3m):\n YKHO.board.insert_parts(SQ3m)\n YKHO.set_changed(SQ3m)",
"def QUuP(YKHO, Q7me: dict, Jl8O: int) -> bool:\n if 'var' in Q7me and YKHO.pdf:\n Q7me['text'] = str(YKHO.pdf.context.get(Q7me['var'], ''))\n V22M = Q7me.get('text')\n if not isinstance(V22M, (str, list, tuple... | [
"0.62499577",
"0.59578145",
"0.58590984",
"0.5846495",
"0.5685902",
"0.55897236",
"0.55784607",
"0.5573609",
"0.5350638",
"0.53003",
"0.5275361",
"0.5239615",
"0.5175999",
"0.51183426",
"0.5102686",
"0.5068479",
"0.5031264",
"0.49884614",
"0.4970463",
"0.4953555",
"0.49500462... | 0.7302594 | 0 |
Find application's Info.plist and read it | def Vblv(YKHO):
aSYb = None
for nPrm in YKHO.filelist:
if ZbWC.match(YKHO.info_plist_regex, nPrm.filename):
aSYb = nPrm
if not aSYb:
YKHO._raise_ipa_error()
aSYb = YKHO.read(aSYb)
YKHO.app_info = qQHu(aSYb)
return YKHO.app_info | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gD_G():\n try:\n with Te59.open() as pOSB:\n xvlk = qQXR.load(pOSB)\n except FileNotFoundError:\n return None\n return xvlk",
"def TLpW(B7c0):\n try:\n assert len(B7c0), 'Empty string'\n OEMe = 'https://itunes.apple.com/lookup?id='\n WTO6 = OEMe + B7c... | [
"0.67179626",
"0.61157334",
"0.6103222",
"0.6021488",
"0.59885883",
"0.58451647",
"0.5811156",
"0.5763978",
"0.5756686",
"0.57552415",
"0.5709742",
"0.5630683",
"0.56235945",
"0.560948",
"0.55377525",
"0.54912055",
"0.54805106",
"0.54598397",
"0.54539883",
"0.5452242",
"0.543... | 0.7715055 | 0 |
This function prints and plots the confusion matrix. Normalization can be applied by setting `normalize=True`. | def LwSz(Bcwd, KndY, NkkI=False, leAC='Confusion matrix', iMGt=QrM1.cm.Blues):
import itertools
if NkkI:
Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]
print('Normalized confusion matrix')
else:
print('Confusion matrix, without normalization')
print(Bcwd)
QrM... | {
"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.81920755",
"0.8093736",
"0.8028212",
"0.8017333",
"0.79923165",
"0.7989431",
"0.79789335",
"0.7974398",
"0.795948",
"0.79555666",
"0.7935652",
"0.7932704",
"0.7932632",
"0.7929465",
"0.7924336",
"0.7922666",
"0.79221356",
"0.7921299",
"0.79209703",
"0.7920307",
"0.7916008"... | 0.0 | -1 |
Initializes a serialized data timestamp table. | def FIMM(YKHO, lNdu, kgZu):
super(lcnN, YKHO).__init__()
YKHO._stream_name = kgZu
YKHO._timestamps = []
YKHO._zip_file = lNdu | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, *qIxc):\n PZpo.TTable_swiginit(YKHO, PZpo.new_TTable(*qIxc))",
"def euOf(YKHO, tyNF: 'Table'):\n if not YKHO.columns:\n YKHO.columns = tyNF.columns\n YKHO._data = tyNF.data",
"def FIMM(YKHO, lNdu, kgZu):\n super(s03E, YKHO).__init__()\n YKHO._offsets = []\n YKHO._stream_... | [
"0.66112685",
"0.6446181",
"0.63456225",
"0.6272627",
"0.6269339",
"0.6222892",
"0.62099767",
"0.6158057",
"0.6113965",
"0.60865355",
"0.6086482",
"0.6065679",
"0.6065679",
"0.6065679",
"0.6065679",
"0.6065679",
"0.6065679",
"0.6065679",
"0.6065679",
"0.6065679",
"0.6065679",... | 0.72924495 | 0 |
Retrieves a specific timestamp. | def YXPw(YKHO, YgwB):
return YKHO._timestamps[YgwB] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nEIe(YKHO):\n return YKHO.__public_request('GET', '/api/v1/timestamp')",
"def kMp9(YKHO, H5ew, ITS7):\n return YKHO.get('timestamp', H5ew, ITS7)",
"def GgQQ(YKHO, E3oo):\n return YKHO._connection.get(YKHO._dbname + '/' + E3oo).json()",
"def ItX3(YKHO):\n XP5J = YKHO._get_sub_text('timestamp')... | [
"0.7596311",
"0.7222062",
"0.6904715",
"0.6886559",
"0.6774648",
"0.67623913",
"0.6716956",
"0.6696896",
"0.6628128",
"0.6593423",
"0.6579199",
"0.6577597",
"0.65765285",
"0.65704864",
"0.646979",
"0.6456953",
"0.6449899",
"0.6442099",
"0.63960296",
"0.63704973",
"0.63336766"... | 0.68944854 | 3 |
Retrieves a value from the config parser. | def ASJs(YKHO, xCu_, M8YW, SQJw):
try:
return xCu_.get(M8YW, SQJw).decode('utf-8')
except (enR0.NoOptionError, enR0.NoSectionError):
return | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ASJs(YKHO, xCu_, M8YW, SQJw):\n try:\n return xCu_.get(M8YW, SQJw).decode('utf-8')\n except enR0.NoOptionError:\n return",
"def ZR0i(YKHO, mWFP):\n if mWFP in YKHO.config_values:\n return YKHO.config_values[mWFP]",
"def ge7L(YKHO, XLMv, H5ew):\n return GPtr.get(XLMv, H5ew)"... | [
"0.7828994",
"0.72632587",
"0.72562516",
"0.7231387",
"0.7180348",
"0.7152527",
"0.7135673",
"0.70670396",
"0.6819385",
"0.68079066",
"0.6805623",
"0.6791728",
"0.6755313",
"0.6745314",
"0.6717178",
"0.67007136",
"0.6682381",
"0.66780645",
"0.66668546",
"0.6644024",
"0.663696... | 0.7771524 | 1 |
Retrieves a specific attribute container. | def PkpW(YKHO, QAE8, d6pt):
cUlS = YKHO._last_stream_numbers[QAE8]
hgl4 = 1
while hgl4 < cUlS:
if hgl4 <= len(YKHO._event_sources_in_stream):
mtOn = YKHO._event_sources_in_stream[hgl4 - 1]
else:
CFEn = YKHO._GetSerializedDataOffsetTable(QAE8, hgl4)
mtOn = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wh51(YKHO, QAE8, Ilxn):\n return YKHO._storage_file.GetAttributeContainerByIdentifier(QAE8, Ilxn)",
"def ol8_(YKHO, QAE8, hgl4, YgwB=Kg0r):\n Q5RD, YgwB = YKHO._GetSerializedAttributeContainerData(QAE8, hgl4, entry_index=YgwB)\n if not Q5RD:\n return\n qxI8 = YKHO._DeserializeAttributeCont... | [
"0.7201345",
"0.69232327",
"0.6458138",
"0.63092786",
"0.63070136",
"0.62809426",
"0.6199895",
"0.6087409",
"0.6054785",
"0.6012052",
"0.5990689",
"0.5985078",
"0.5973306",
"0.5963387",
"0.59299284",
"0.59262854",
"0.59101933",
"0.58990765",
"0.589869",
"0.58899254",
"0.58855... | 0.56452686 | 45 |
Returns a cardinal direction (``'NORTH'``, ``'WEST'``, ``'SOUTH'``, and ``'EAST'``) that corresponds to a cartesian point `pt1 (tuple), pointing TOWARDS a second point `pt2` | def IShi(X3qZ, ZYCo):
Jw7X, eUWA = (ZYCo[0] - X3qZ[0], ZYCo[1] - X3qZ[1])
if abs(Jw7X) <= vLde and eUWA > 0:
return 'NORTH'
elif abs(eUWA) <= vLde and Jw7X < 0:
return 'WEST'
elif abs(Jw7X) <= vLde and eUWA < 0:
return 'SOUTH'
else:
return 'EAST' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IShi(YKHO, dg7v, iYf1):\n if iYf1[0] == dg7v[0] + 1:\n return SNOE\n elif iYf1[1] == dg7v[1] + 1:\n return iGhJ\n elif iYf1[0] == dg7v[0] - 1:\n return jENy\n elif iYf1[1] == dg7v[1] - 1:\n return vsJu\n raise ValueError",
"def XSoh(zJAg, lCHq):\n Csk6 = [0, 0, 0... | [
"0.67694086",
"0.6562339",
"0.6437842",
"0.6371046",
"0.63692033",
"0.6339243",
"0.610926",
"0.60857844",
"0.6046521",
"0.6014199",
"0.5969566",
"0.59546286",
"0.5938745",
"0.5931146",
"0.5860227",
"0.583957",
"0.58263224",
"0.58075404",
"0.57712764",
"0.5770579",
"0.576815",... | 0.76247746 | 0 |
Returns the opposite of `direction`, where each direction is either ``'NORTH'``, ``'WEST'``, ``'SOUTH'``, or ``'EAST'`` | def N0AV(XSoh):
if XSoh == 'NORTH':
return 'SOUTH'
if XSoh == 'SOUTH':
return 'NORTH'
if XSoh == 'WEST':
return 'EAST'
if XSoh == 'EAST':
return 'WEST'
elif isinstance(XSoh, float):
return (XSoh + oyIN.pi) % (2 * oyIN.pi) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RGK4(YKHO):\n if YKHO == YKHO.EAST:\n return YKHO.WEST\n elif YKHO == YKHO.WEST:\n return YKHO.EAST\n elif YKHO == YKHO.NORTH:\n return YKHO.SOUTH\n elif YKHO == YKHO.SOUTH:\n return YKHO.NORTH",
"def RGK4(YKHO):\n if YKHO.direction == 8:\n return LgK1(8)\n ... | [
"0.74402463",
"0.7385512",
"0.7021604",
"0.6977132",
"0.6633077",
"0.63618517",
"0.6056636",
"0.5993679",
"0.5988896",
"0.5988611",
"0.5957516",
"0.59094435",
"0.5907862",
"0.5899518",
"0.5866495",
"0.58596176",
"0.58256704",
"0.5760609",
"0.57241213",
"0.57189405",
"0.567944... | 0.71970755 | 2 |
Returns the point (tuple) corresponding to `pt` translated by distance `length` in direction `direction` where each direction is either ``'NORTH'``, ``'WEST'``, ``'SOUTH'``, or ``'EAST'`` | def kP0G(Xf84, u54L, XSoh):
if isinstance(XSoh, float):
return (Xf84[0] + u54L * oyIN.cos(XSoh), Xf84[1] + u54L * oyIN.sin(XSoh))
elif str(XSoh) == 'NORTH':
return (Xf84[0], Xf84[1] + u54L)
elif str(XSoh) == 'SOUTH':
return (Xf84[0], Xf84[1] - u54L)
elif str(XSoh) == 'WEST':
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AU8u(XP5J, XSoh: str):\n\n def GDMi(YXbZ: int):\n nZuS = qN8b[XSoh]\n return (XP5J[0] + nZuS[0] * YXbZ, XP5J[1] + nZuS[1] * YXbZ)\n return GDMi",
"def AU8u(Xf84, YylR, pImw):\n WKvO, LVAh = Xf84\n return (pImw * YhSR(YylR) + WKvO, pImw * YUNn(YylR) + LVAh)",
"def muvj(XP5J, XSoh, ... | [
"0.61325675",
"0.5985042",
"0.57694566",
"0.56129307",
"0.55129373",
"0.5511356",
"0.5483419",
"0.5347633",
"0.5319454",
"0.52783155",
"0.526859",
"0.5253147",
"0.52256113",
"0.52186066",
"0.5215894",
"0.5181785",
"0.5146408",
"0.5129545",
"0.5102451",
"0.5100147",
"0.5081336... | 0.8260877 | 0 |
Initilize duration predictor module. | def FIMM(YKHO, Ym5V, hUTg=2, VAjL=384, Ot1W=3, lo24=0.1, vgXP=1.0, dvgN='SAME', JQHs='mse'):
super(TwF9, YKHO).__init__()
YKHO.offset = vgXP
YKHO.conv = ht2j.nn.ModuleList()
YKHO.kernel_size = Ot1W
YKHO.padding = dvgN
YKHO.dur_loss = JQHs
for or8S in range(hUTg):
mNnu = Ym5V if or8S ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n super().__init__()\n YKHO.dynamic = True\n YKHO.numBins = None\n YKHO.targets = None",
"def FIMM(YKHO, **B2fa):\n YKHO.is_initialized = False\n YKHO.delta = 1",
"def FIMM(Ro_8, *, WbTE: Optional[pulumi.Input[str]]=None):\n if WbTE is not None:\n qe4Y.set(Ro_8, 'dur... | [
"0.69986475",
"0.61163104",
"0.60729116",
"0.6063754",
"0.6039804",
"0.6020458",
"0.60147893",
"0.5951327",
"0.5939011",
"0.5933372",
"0.5922974",
"0.59147674",
"0.59132683",
"0.59078056",
"0.58097047",
"0.58097047",
"0.57952625",
"0.57948214",
"0.57569635",
"0.57538295",
"0.... | 0.59932846 | 8 |
shortcut for pipeline to Prep, Tokenize, and get Word Vectors for a single column of text | def oA1n(Csk6, gpwd=OcT2):
return Y0rt([('prep', xphR()), ('tknzr', Swg1(dFss, rejoin_angle=True)), ('wordvec', Wotb(topdir=gpwd + '/' + str(Csk6) + 'd', d=Csk6))]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GMXA(YKHO):\n vS_S = qR6U.Preprocess()\n KSfM = vS_S.clean_data(YKHO.text)\n YKHO.vec1 = YKHO.vec.transform(rLdf.Series(KSfM))",
"def JE4J(rrSk):\n wxGR = LM0n()\n gDl4 = wxGR.fit_transform(rrSk).todense()\n OE96 = rLdf.DataFrame(gDl4)\n OE96.columns = sorted(wxGR.vocabulary_)\n retur... | [
"0.6909709",
"0.65117645",
"0.63968825",
"0.6382087",
"0.63247985",
"0.6266119",
"0.6254178",
"0.61925185",
"0.6192102",
"0.6191083",
"0.6181551",
"0.61075115",
"0.60965115",
"0.6076338",
"0.60326713",
"0.60187006",
"0.5990371",
"0.598479",
"0.5983527",
"0.59766054",
"0.59602... | 0.60152495 | 16 |
Computes the euclidean distance between two points. | def usGr(jzdc: Tuple[float, ...], Fg_i: Tuple[float, ...]) -> float:
assert len(jzdc) == len(Fg_i)
return PZyS(sum((pow(WKvO[0] - WKvO[1], 2) for WKvO in zip(jzdc, Fg_i)))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def usGr(lCHq, ANJu):\n return epAf.sqrt(sum([(WKvO - LVAh) ** 2 for WKvO, LVAh in zip(lCHq, ANJu)]))",
"def usGr(QxIi, Mo0Q):\n return oyIN.linalg.norm(QxIi - Mo0Q)",
"def usGr(lCHq, ANJu):\n return oyIN.linalg.norm(oyIN.array(lCHq) - oyIN.array(ANJu))",
"def usGr(o4D3, ajwV):\n return oyIN.sqrt... | [
"0.861983",
"0.8555233",
"0.85458523",
"0.85220337",
"0.8513014",
"0.8377946",
"0.8369024",
"0.83560175",
"0.8286742",
"0.8283353",
"0.82787377",
"0.8255781",
"0.8241966",
"0.8237065",
"0.81821513",
"0.80594367",
"0.8045384",
"0.8037021",
"0.80301577",
"0.80163467",
"0.800762... | 0.7754808 | 35 |
Initializes a new instance of the TokenizedMarkdown class. | def FIMM(YKHO, JFat=None):
YKHO.tokenized_document, YKHO.stack, YKHO.source_provider, YKHO.__parse_properties = (None, None, None, None)
if not JFat:
JFat = Hy7s.path.join(Hy7s.path.split(xAKo)[0], 'resources')
COrG.initialize(JFat) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AzaJ(YKHO):\n pFW3 = EjJ9()\n J87D = xjMs.Markdown(renderer=pFW3)\n J87D.render(YKHO._markdown_text)\n YKHO._bash_commands = pFW3._bash_commands",
"def FIMM(YKHO, l5Ny: str='', pmON: Optional[pathlib.Path]=None, **B2fa):\n if l5Ny == '' and pmON:\n l5Ny = pmON.read_text()\n BuiM = '\... | [
"0.69312423",
"0.67770624",
"0.67398816",
"0.6627868",
"0.66079646",
"0.6607169",
"0.6452785",
"0.6346775",
"0.62703085",
"0.6140011",
"0.6094223",
"0.6062648",
"0.60566396",
"0.6042024",
"0.6013433",
"0.6013433",
"0.6013433",
"0.5973729",
"0.58815753",
"0.5855892",
"0.579477... | 0.5813889 | 20 |
Returns whether front matter parsing is enabled. | def OK3E(YKHO):
return YKHO.__front_matter_enabled | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pBZW(YKHO):\n return Fv2L.lib.clang_isPreprocessing(YKHO)",
"def oZTz():\n _6zM = FNw4('ENABLE_COMPREHENSIVE_THEMING', default=False)\n if _6zM.is_enabled() and dVq3():\n return True\n return _6zM.is_enabled()",
"def gJBM(YKHO):\n return YKHO.isMarkdown() or YKHO.hasMetadata()",
"de... | [
"0.62514204",
"0.5768051",
"0.57448626",
"0.5679302",
"0.55469245",
"0.5536452",
"0.552237",
"0.55181825",
"0.5471888",
"0.54673195",
"0.546557",
"0.54616",
"0.5419903",
"0.5361117",
"0.53372157",
"0.5282104",
"0.5276461",
"0.5269326",
"0.52571386",
"0.5195801",
"0.5194547",
... | 0.80138654 | 0 |
Returns whether pragma parsing is enabled. | def glHn(YKHO):
return YKHO.__pragmas_enabled | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iJbF(YKHO):\n gCE_ = YKHO.pos\n try:\n YKHO.match_value(vd32, 'pragma')\n VN2L = YKHO.tokens[YKHO.pos:]\n YKHO.pos = len(YKHO.tokens)\n return iPSb(VN2L)\n except _OuM:\n YKHO.pos = gCE_\n raise _OuM('Invalid pragma directive.')",
"def zMeE(YKHO):\n retur... | [
"0.5830434",
"0.54803693",
"0.53693527",
"0.5305556",
"0.51940244",
"0.51645476",
"0.50622195",
"0.5047295",
"0.5031789",
"0.5024937",
"0.49353558",
"0.4871321",
"0.48240516",
"0.4808786",
"0.47958007",
"0.4747869",
"0.47380838",
"0.47360966",
"0.47341162",
"0.47271025",
"0.4... | 0.6409369 | 0 |
updates the sprite to match the camera position | def QdZT(YKHO, JRYC):
WKvO, LVAh = YKHO.pos
UV8M, vHO5 = YKHO.camera.pos
UShr, Yrvv = YKHO.camera.target
YKHO.sprite.x = (WKvO - UShr) * YKHO.camera.zoom + UV8M * YKHO.dist + UShr
YKHO.sprite.y = (LVAh - Yrvv) * YKHO.camera.zoom + vHO5 * YKHO.dist + Yrvv
YKHO.sprite.scale = YKHO.camera.zoom * YK... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QdZT(YKHO):\n YKHO.moving_sprites.update()\n YKHO.static_sprites.update()\n YKHO.camera.update(YKHO.player)",
"def QdZT(YKHO):\n YKHO.syncSpriteCoordinates()\n YKHO.moveBasedOnCurrentMomentum()\n YKHO.checkCanvasBoundsAndWrap()",
"def QdZT(YKHO):\n if YKHO.state == 'shot':\n YKH... | [
"0.77708364",
"0.7135605",
"0.6989129",
"0.6885165",
"0.6780152",
"0.67463005",
"0.67295384",
"0.6697945",
"0.6697789",
"0.667911",
"0.6638797",
"0.6618048",
"0.66064084",
"0.65962285",
"0.6586995",
"0.656958",
"0.6563384",
"0.6524323",
"0.65242493",
"0.65108246",
"0.650665",... | 0.76551634 | 1 |
Get the coordinates of the cell that pt = (x,y) falls in. | def tiUd(YKHO, Xf84):
return (int(Xf84[0] // YKHO.a), int(Xf84[1] // YKHO.a)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tiUd(Xf84):\n return (int(Xf84[0] // jzdc), int(Xf84[1] // jzdc))",
"def uDxK(YKHO, WKvO, LVAh):\n return YKHO.grid[LVAh, WKvO]",
"def wHeb(YKHO, BHsk):\n for WKvO in range(len(YKHO.cell_x)):\n if BHsk[0] >= YKHO.cell_x[WKvO] and BHsk[0] <= YKHO.cell_x[WKvO] + YKHO.cell_size:\n Y... | [
"0.8011303",
"0.7618935",
"0.75055915",
"0.7366091",
"0.7238822",
"0.71133727",
"0.7108227",
"0.6990128",
"0.6972853",
"0.69670075",
"0.69417137",
"0.68902224",
"0.6863175",
"0.68588525",
"0.68542373",
"0.6847495",
"0.68400073",
"0.68253475",
"0.6804576",
"0.6797296",
"0.6751... | 0.82759666 | 0 |
Convert (list of )+ tokens to a padded LongTensor. | def zt74(BVyk, Ep8u, Rdw3=si3H.PAD_ID):
maxY = []
WKvO = BVyk
while isinstance(WKvO[0], list):
maxY.append(max((len(LVAh) for LVAh in WKvO)))
WKvO = [epBp for LVAh in WKvO for epBp in LVAh]
s2mk = ht2j.LongTensor(Ep8u, *maxY).fill_(Rdw3)
for YRbF, KCHu in enumerate(BVyk):
s2m... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zt74(BVyk, Ep8u, Rdw3=gRUF):\n maxY = []\n WKvO = BVyk\n while isinstance(WKvO[0], list):\n maxY.append(max((len(LVAh) for LVAh in WKvO)))\n WKvO = [epBp for LVAh in WKvO for epBp in LVAh]\n s2mk = ht2j.LongTensor(Ep8u, *maxY).fill_(Rdw3)\n for YRbF, KCHu in enumerate(BVyk):\n ... | [
"0.8210955",
"0.8012064",
"0.741115",
"0.645929",
"0.6339111",
"0.6146659",
"0.6094179",
"0.60548025",
"0.5995981",
"0.5975593",
"0.59623677",
"0.59397143",
"0.59219885",
"0.5850022",
"0.575946",
"0.57324886",
"0.5686426",
"0.5680188",
"0.56618726",
"0.563921",
"0.5634147",
... | 0.8199274 | 1 |
Convert (list of )+ tokens to a padded LongTensor. | def SOMn(BVyk, Ep8u, Rdw3=si3H.PAD_ID):
maxY = []
WKvO = BVyk
while isinstance(WKvO[0], list):
maxY.append(max((len(LVAh) for LVAh in WKvO)))
WKvO = [epBp for LVAh in WKvO for epBp in LVAh]
s2mk = ht2j.cuda.LongTensor(Ep8u, *maxY).fill_(Rdw3)
for YRbF, KCHu in enumerate(BVyk):
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zt74(BVyk, Ep8u, Rdw3=gRUF):\n maxY = []\n WKvO = BVyk\n while isinstance(WKvO[0], list):\n maxY.append(max((len(LVAh) for LVAh in WKvO)))\n WKvO = [epBp for LVAh in WKvO for epBp in LVAh]\n s2mk = ht2j.LongTensor(Ep8u, *maxY).fill_(Rdw3)\n for YRbF, KCHu in enumerate(BVyk):\n ... | [
"0.8211459",
"0.81998223",
"0.80128103",
"0.64573216",
"0.63375175",
"0.6145874",
"0.60938615",
"0.605486",
"0.5994699",
"0.59761363",
"0.5959464",
"0.5938784",
"0.59210825",
"0.5847328",
"0.57590795",
"0.5733154",
"0.568618",
"0.56813693",
"0.5661387",
"0.56379473",
"0.56366... | 0.7411618 | 3 |
Join components of url into a relative url Use to prevent double slash when joining subpath. This will leave the initial and final / in place | def yTbG(*Zoh6):
RqgG = Zoh6[0].startswith('/')
lXgg = Zoh6[-1].endswith('/')
EESs = [KCHu.strip('/') for KCHu in Zoh6]
Aofo = '/'.join((KCHu for KCHu in EESs if KCHu))
if RqgG:
Aofo = '/' + Aofo
if lXgg:
Aofo = Aofo + '/'
if Aofo == '//':
Aofo = '/'
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TDhU(P8oC, *pmON):\n return Pusg(LIzS, pmON, P8oC)",
"def UUxs(YKHO, *SQ3m):\n return '/'.join(map(lambda vBtp: vBtp.rstrip('/'), SQ3m))",
"def D3T3(YKHO, pmON):\n if pmON[0] == '/':\n pmON = pmON[1:]\n return TDhU(YKHO.absolute_root, pmON)",
"def yTbG(*Zoh6):\n RqgG = Zoh6[0].start... | [
"0.750273",
"0.74749786",
"0.7463351",
"0.7461864",
"0.74336535",
"0.73645765",
"0.73354805",
"0.73094445",
"0.73057014",
"0.72956157",
"0.7289869",
"0.71865994",
"0.7186508",
"0.7176108",
"0.71693957",
"0.7166752",
"0.71409905",
"0.70767",
"0.70707947",
"0.7021509",
"0.70210... | 0.7498108 | 1 |
Set up sensors for a Nexia device. | async def async_setup_entry(ajET: HomeAssistant, PhL6: ConfigEntry, QEEk: AddEntitiesCallback) -> None:
S3vU: WPOk = ajET.data[Sugg][PhL6.entry_id]
SWTL = S3vU.nexia_home
MMe4 = []
for koTe in SWTL.get_thermostat_ids():
heKV = SWTL.get_thermostat_by_id(koTe)
MMe4.append(FJTh(S3vU, heKV, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _kZf(YKHO, b32v):\n YKHO.__sensors = YKHO.setup_components(b32v, 'scale_client.sensors')",
"def _kZf(YKHO):\n super(Wcd4, YKHO).setup_sensors()\n YKHO._firmware_server_sensor = XTqt.string('firmware-server', description='The address of the firmware server started by this product', default='', initia... | [
"0.71166885",
"0.68951654",
"0.6810018",
"0.66295713",
"0.6500889",
"0.64948434",
"0.6445575",
"0.64080334",
"0.6401887",
"0.63890195",
"0.6367999",
"0.6366648",
"0.63163877",
"0.62818736",
"0.6257839",
"0.60829073",
"0.60514086",
"0.6047544",
"0.60457945",
"0.60385656",
"0.6... | 0.0 | -1 |
Initialize the nexia sensor. | def FIMM(YKHO, S3vU, heKV, _GDR, sA15):
super().__init__(S3vU, heKV, unique_id=f'{heKV.thermostat_id}_{_GDR}')
YKHO._call = _GDR
YKHO._state = None
YKHO._attr_translation_key = sA15 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OM8D(YKHO):\n YKHO.flush()\n print('Initializing sensor...')\n try:\n YKHO.get_sample()\n print('Initialization successful')\n except:\n print('Initialization failed. Please disconnect and reconnect sensor.')",
"def FIMM(YKHO):\n YKHO._read_calibration_data()\n YKHO.con... | [
"0.6737987",
"0.67229134",
"0.6640202",
"0.64845777",
"0.63069576",
"0.63032186",
"0.624056",
"0.6221448",
"0.6213541",
"0.61965877",
"0.61783564",
"0.6168396",
"0.6148784",
"0.61420655",
"0.6123758",
"0.61189204",
"0.6106654",
"0.61001",
"0.6032134",
"0.6030373",
"0.6017771"... | 0.0 | -1 |
Mock config file with erroneous data. | def f4vg():
nPrm = '\nLOGIN = 06501234567\nPASSWD = MySecre3tPassw0rd\n'
with TMAJ.patch('configparser.open', TMAJ.mock_open(read_data=nPrm)):
yield | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def z9wP(YKHO):\n evq0 = qQXR.dumps(YKHO.config_dict_with_features)\n JENY = TMAJ.Mock()\n bYwb = TMAJ.Mock()\n with TMAJ.patch('optimizely.config_manager.BaseConfigManager._validate_instantiation_options'):\n p7Qn = N6qM.StaticConfigManager(datafile=evq0, logger=JENY, notification_center=bYwb)\... | [
"0.7730992",
"0.7496227",
"0.7395642",
"0.7386029",
"0.7376061",
"0.7355063",
"0.7342643",
"0.7338819",
"0.7295874",
"0.72808695",
"0.72607595",
"0.72263473",
"0.72111607",
"0.7208132",
"0.71791977",
"0.7141326",
"0.7137899",
"0.7129651",
"0.71215516",
"0.71083426",
"0.710012... | 0.7843521 | 0 |
Test error handling of faulty login. | def nIsn(GPtr):
with sisH.Mocker() as r8hN:
hTnp = Qo_p.YesssSMS('0000000000', '2d4faa0ea6f55813')
r8hN.register_uri('POST', hTnp._login_url, status_code=200, text='<strong>Login nicht erfolgreich')
r8hN.register_uri('GET', hTnp._logout_url, status_code=200)
with trZe.raises(hTnp.Log... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _oVR(YKHO):\n pass",
"def fvEC(YKHO):\n MC83 = '/login?user_name=nobody&password=wrong&login=Login'\n geh0 = YKHO.app.get(MC83)\n assert '<title>Login</title>' in geh0\n assert 'session cookies' in geh0\n zatQ = ', '.join(map(str, geh0.cookies_set.values()))\n geh0 = YKHO.app.get(MC83, h... | [
"0.7903521",
"0.78291804",
"0.778343",
"0.7679951",
"0.7656635",
"0.76280516",
"0.75250405",
"0.74581337",
"0.74570626",
"0.74407774",
"0.7414321",
"0.74062663",
"0.7405083",
"0.7393456",
"0.7388761",
"0.73611295",
"0.7312414",
"0.7262598",
"0.72426337",
"0.7237841",
"0.71794... | 0.0 | -1 |
Test error handling of empty login. | def QqBY(Bak1):
hTnp = Qo_p.YesssSMS('', '2d4faa0ea6f55813')
with trZe.raises(hTnp.LoginError):
hTnp.send(OYtt, 'test') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ImCN(YKHO):\n nPrm = {'username': 'nonexistentuser', 'password': 'nopasswordlol'}\n geh0 = YKHO.login(nPrm)\n lYY4 = 'Unable to log in with provided credentials.'\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_400_BAD_REQUEST)\n try:\n if lYY4 not in geh0.data['non_field_errors']:\n ... | [
"0.7879435",
"0.7876575",
"0.7859142",
"0.7782351",
"0.7629133",
"0.7611455",
"0.7567672",
"0.75102794",
"0.7459506",
"0.74534845",
"0.74365264",
"0.7414557",
"0.740338",
"0.73842686",
"0.73816365",
"0.7376297",
"0.73733264",
"0.7367449",
"0.7332835",
"0.7282413",
"0.72754437... | 0.719064 | 35 |
Test error handling of no recipient. | def NsoI(GPtr):
hTnp = Qo_p.YesssSMS('0000000000', '2d4faa0ea6f55813')
with trZe.raises(hTnp.NoRecipientError):
hTnp.send('', 'test') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Mjn8(nG3o, vC92, RWpT):\n if nG3o in ['', None]:\n return True\n try:\n xqoZ = rSLZ(nG3o)\n assert xqoZ['message_id'] != ''\n assert xqoZ['domain'] != ''\n try:\n Wwkb = uCNW.objects.get(id=RWpT).mailobject()\n oy0_ = Wwkb.get('X-Failed-Recipients'... | [
"0.66603416",
"0.63928294",
"0.63049114",
"0.6230597",
"0.618594",
"0.61749613",
"0.60234547",
"0.5970546",
"0.59641874",
"0.5958361",
"0.5920763",
"0.5877465",
"0.58457184",
"0.5845083",
"0.5776097",
"0.57675093",
"0.57137966",
"0.5700097",
"0.56931126",
"0.5679962",
"0.5643... | 0.7460001 | 0 |
Test default config file paths. | def FnAZ(GPtr):
assert '~/.config/yessssms.conf' in KDcB
assert '/etc/yessssms.conf' in KDcB | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ev7R():\n mSqg = SQhM.get_pyrin_main_package_path()\n ljus = Hy7s.path.abspath(Hy7s.path.join(mSqg, 'settings', 'default'))\n assert SQhM.get_default_settings_path() == ljus",
"def JEyV():\n Ux0P = Hy7s.path.join(Hy7s.path.expanduser('~'), '.gfail_defaults')\n if Hy7s.path.exists(Ux0P):\n ... | [
"0.73817647",
"0.7176939",
"0.7159993",
"0.71310896",
"0.7041495",
"0.7004619",
"0.69044274",
"0.6887526",
"0.6828872",
"0.68284243",
"0.67880553",
"0.6772448",
"0.6759647",
"0.67325926",
"0.67237264",
"0.6695618",
"0.6694504",
"0.6691137",
"0.6690136",
"0.6688755",
"0.668745... | 0.87389934 | 0 |
Load the rendered YAML which is passed in to the `check` method. | def Z3a9(YKHO, HeNO: str) -> dict:
return [Csk6 for Csk6 in eJb6.safe_load_all(HeNO)] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f9B0(hGN5):\n from yaml import load, FullLoader\n return load(hGN5, Loader=FullLoader)",
"def lTuL(SGPW):\n with xDSY.open(SGPW, 'r', encoding='utf-8') as wOb_:\n _WvM = eJb6.load(wOb_)\n VMxB._check_format(SGPW, _WvM)",
"def cO1h(YKHO, l5Ny):\n return eJb6.safe_load(l5Ny)",
"de... | [
"0.65524626",
"0.6546556",
"0.6523975",
"0.64938307",
"0.6391137",
"0.63572615",
"0.62872785",
"0.6274688",
"0.6263665",
"0.6245961",
"0.6244714",
"0.62390745",
"0.6223321",
"0.6193768",
"0.6176689",
"0.6162097",
"0.61616564",
"0.61478096",
"0.6135383",
"0.6125504",
"0.611504... | 0.68567806 | 0 |
Check for resource constraints in nested Helm values. | def tpdM(YKHO, ol4k: list) -> str:
if len(ol4k) > 1:
return 'We only support flat Helm values! Please provide a single YAML document.' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wR36(YKHO, NRgP):\n if len(NRgP) == 0 or 'resources' not in NRgP.keys():\n YKHO.status = 'na: no resource in stack'\n YKHO.logger.warning('non-applicable to valet: no resource in stack')\n return {}\n E5BI = {}\n for y_A8, Mkmy in NRgP['resources'].items():\n if 'type' not ... | [
"0.6248823",
"0.580413",
"0.5796752",
"0.5781491",
"0.5767138",
"0.57460046",
"0.56416166",
"0.5641036",
"0.5636497",
"0.5636497",
"0.55847204",
"0.55157745",
"0.5513028",
"0.5465535",
"0.54504126",
"0.544074",
"0.54362106",
"0.5421874",
"0.54103893",
"0.5409143",
"0.54001695... | 0.5802061 | 2 |
Ensures a valid API key returns True, and an invalid key returns False. | def xLmS(P4t4, jIlO, H5ew, Aofo):
uJjO, rJDA = jIlO
if H5ew == 'use-valid-key':
H5ew = rJDA
with P4t4.app_context():
assert Jpbe.validate_api_key(uJjO, H5ew) == Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def B47_(YKHO):\n if YKHO.apikey is None:\n return False\n else:\n return True",
"def t5ys(H5ew):\n return True",
"def V7R4(R_du: str=LvNm(iK6s)):\n if R_du != WXSU:\n raise pgG1(status_code=jGRS.HTTP_401_UNAUTHORIZED, detail='Invalid API Key')",
"def wm8V(M_eK, RdJZ):\n i... | [
"0.80504006",
"0.7674221",
"0.7524238",
"0.7414995",
"0.7326697",
"0.71604687",
"0.7145435",
"0.7134343",
"0.7029839",
"0.6960646",
"0.6953446",
"0.6754927",
"0.6754927",
"0.6735039",
"0.67219913",
"0.66981936",
"0.66935235",
"0.6690072",
"0.6686523",
"0.6626834",
"0.6624551"... | 0.7356187 | 4 |
Return True if given n is already the biggest number possible to be formed of n's digits. | def zc9I(exwG):
return True if int(''.join(sorted([Csk6 for Csk6 in str(exwG)], reverse=True))) == exwG else False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U_a5(exwG, MWZg):\n BHGE = [int(mLGw) for mLGw in str(exwG)]\n return all([mLGw <= MWZg for mLGw in BHGE])",
"def fS7N(exwG):\n if exwG % 10 == 0:\n return False\n KCHu = exwG + DcXp(exwG)\n while KCHu > 0:\n Ko6S = KCHu % 10\n if not Ko6S in [1, 3, 5, 7, 9]:\n ... | [
"0.71942073",
"0.6877328",
"0.6774127",
"0.65988797",
"0.6590628",
"0.65312386",
"0.6525664",
"0.6517685",
"0.6496512",
"0.64802724",
"0.6467701",
"0.6457774",
"0.6432592",
"0.6403123",
"0.62918633",
"0.6277351",
"0.62575203",
"0.62530875",
"0.6212425",
"0.6211562",
"0.618213... | 0.8055396 | 0 |
Restores model and optimizer checkpoints and ensures global step is in sync. | def DLIU(YKHO):
xH5R = JoTO = 0
if YKHO.netD_ckpt_file:
assert Hy7s.path.exists(YKHO.netD_ckpt_file)
print('INFO: Restoring checkpoint for D...')
xH5R = YKHO.netD.restore_checkpoint(ckpt_file=YKHO.netD_ckpt_file, optimizer=YKHO.optD)
if YKHO.netG_ckpt_file:
assert Hy7s.path.e... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wBIE(YKHO):\n if YKHO._model._in_multi_worker_mode() and (not tXR8.should_load_checkpoint()):\n return\n YKHO.read_checkpoint_manager.restore_or_initialize()",
"def wBIE(YKHO):\n if YKHO._restored_model:\n return\n with YKHO.eval_graph.graph.as_default():\n x8fl = YKHO._find_... | [
"0.7332104",
"0.7265741",
"0.711985",
"0.68864655",
"0.68834347",
"0.6876512",
"0.68629396",
"0.68622905",
"0.68423074",
"0.682174",
"0.6775043",
"0.6742713",
"0.6707705",
"0.669616",
"0.6691548",
"0.6646148",
"0.65750563",
"0.6553457",
"0.6545299",
"0.6536125",
"0.6514447",
... | 0.7249277 | 2 |
Convert excel file to the regular list in python. | def X2Hq(I8GB: str, khdS: str) -> list:
hFFO = bN3T.open_workbook(I8GB)
OGYo = hFFO.sheet_by_name(khdS)
mraa = []
for rdlD in range(1, OGYo.nrows):
i8RB = U8Lr()
n9Zv = OGYo.row_values(rdlD)
i8RB['author'] = n9Zv[0]
i8RB['title'] = n9Zv[1]
i8RB['publisher'] = n9Zv... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f99L(YKHO):\n YPa5 = uJdr(filename=YKHO.file_path)\n VTcd = YPa5.active\n nPrm = []\n for YRbF, rdlD in enumerate(VTcd.rows):\n if len(rdlD) != YKHO.max_columns:\n print(len(rdlD))\n return []\n if YRbF == 0:\n continue\n try:\n Csk6 ... | [
"0.68098074",
"0.67064244",
"0.6490532",
"0.6436667",
"0.6356518",
"0.6334197",
"0.6322425",
"0.624131",
"0.620288",
"0.6183244",
"0.61808234",
"0.6175971",
"0.61544317",
"0.6123336",
"0.6112346",
"0.5990437",
"0.59709984",
"0.591867",
"0.5908782",
"0.58885264",
"0.58105695",... | 0.73590165 | 0 |
Randomly chooses trump color from cards of own hand | def bfVy(YKHO):
return tuKI.choice(F1Hz.colors[1:]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pph3():\n return tuKI.choice(Jw9H)",
"def bfVy(YKHO):\n YKVW = g760.Counter()\n for dxhl in YKHO.hand:\n qfpW = dxhl.color\n if qfpW == 'White':\n continue\n YKVW[qfpW] += 1\n if not YKVW.most_common(1):\n return super().get_trump_color()\n else:\n ... | [
"0.7180077",
"0.692395",
"0.6867298",
"0.6762564",
"0.66311836",
"0.6629565",
"0.66207784",
"0.65926397",
"0.6585948",
"0.65722585",
"0.65379435",
"0.65024084",
"0.65023965",
"0.6496322",
"0.64912546",
"0.64856356",
"0.64598596",
"0.6437486",
"0.6437164",
"0.64346325",
"0.641... | 0.7728462 | 0 |
Given user_id, return the associated User object. | def GYAu(uJjO):
return mv1M.query.get(uJjO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bt8D(uJjO):\n return mv1M.query.get(uJjO)",
"def NMoC(YKHO, uJjO):\n return mv1M.get(uJjO)",
"def B9ST(uJjO):\n return YJv1.query.filter_by(id=uJjO).first()",
"def TKWP(YKHO, uJjO):\n mv1M = egNl()\n try:\n return mv1M.objects.get(pk=uJjO)\n except mv1M.DoesNotExist:\n ret... | [
"0.84723973",
"0.8393383",
"0.83698905",
"0.8285045",
"0.8247994",
"0.8244847",
"0.82433355",
"0.82264954",
"0.8179295",
"0.8178196",
"0.8178196",
"0.8151988",
"0.8151988",
"0.8151988",
"0.8151988",
"0.7943583",
"0.7909672",
"0.787124",
"0.78475416",
"0.78186816",
"0.77860373... | 0.0 | -1 |
Convert a sorted iterable into lower/upper values of batches of size n. | def IyKJ(OxJJ, exwG):
vC9B = len(OxJJ)
for cXyw in range(0, vC9B, exwG):
yOAJ = OxJJ[cXyw:min(cXyw + exwG, vC9B)]
yield (yOAJ[0], yOAJ[-1] + 1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KtkT(OxJJ, exwG=1):\n vC9B = len(OxJJ)\n for cXyw in range(0, vC9B, exwG):\n yield OxJJ[cXyw:min(cXyw + exwG, vC9B)]",
"def nJ0e(vC9B, exwG):\n for YRbF in range(0, vC9B, exwG):\n yield range(YRbF, min(vC9B, YRbF + exwG))",
"def yOAJ(OxJJ, exwG):\n OxJJ = [tTpl for tTpl in OxJJ]\n... | [
"0.7196513",
"0.7016247",
"0.6730679",
"0.66578823",
"0.66578823",
"0.66578823",
"0.661883",
"0.6568515",
"0.6491408",
"0.6399317",
"0.6300084",
"0.629686",
"0.62917894",
"0.62872493",
"0.6286754",
"0.625501",
"0.625501",
"0.625501",
"0.625501",
"0.625501",
"0.6254961",
"0.... | 0.7059446 | 1 |
View function for home page of the site. | def d6pt(QePW):
z3Eu = dl5x.objects.all().count()
nM65 = o763.objects.count()
DP2T = N89S.objects.all().count()
RTwz = QePW.session.get('num_visits', 0)
QePW.session['num_visits'] = RTwz + 1
return _1tc(QePW, 'index.html', context={'num_books': z3Eu, 'num_authors': nM65, 'num_publishers': DP2T, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kZiy(QePW):\n return _1tc(QePW, 'compta/home.html')",
"def vja_(QePW):\n return _1tc(QePW, 'ez_main/home_page.html')",
"def kZiy(QePW):\n return _1tc(QePW, 'home.html')",
"def C_QL(QePW):\n return _1tc(QePW, 'core/homepage.html')",
"def kZiy():\n return TvZl('home_page.html')",
"def kZ... | [
"0.85341",
"0.8428982",
"0.8375485",
"0.8352984",
"0.8350206",
"0.83421737",
"0.83094066",
"0.8286094",
"0.8243959",
"0.82330734",
"0.822364",
"0.8212744",
"0.81851834",
"0.81851834",
"0.81851834",
"0.81851834",
"0.81851834",
"0.81851834",
"0.81851834",
"0.81851834",
"0.81851... | 0.0 | -1 |
Initialize the media player. | def FIMM(YKHO, B9Z8, PObu, mWFP, U34r):
YKHO._volumio = B9Z8
YKHO._uid = PObu
YKHO._name = mWFP
YKHO._info = U34r
YKHO._state = {}
YKHO._playlists = []
YKHO._currentplaylist = None
YKHO.thumbnail_cache = {} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, DCgT: mediaHandler):\n YKHO.handler = DCgT",
"def FIMM(YKHO, D1wa):\n YKHO._media_session = EvGH(D1wa)\n YKHO._signals = []\n YKHO._signals.append(YKHO._media_session.connect('prepared', YKHO.on_media_session_prepared))\n YKHO._signals.append(YKHO._media_session.connect('ready', YKH... | [
"0.6440089",
"0.6396291",
"0.63616276",
"0.63616276",
"0.63549334",
"0.63490015",
"0.625473",
"0.6210626",
"0.6193414",
"0.6107897",
"0.6090716",
"0.60669965",
"0.6059084",
"0.59884375",
"0.5985775",
"0.59350544",
"0.59149337",
"0.58745784",
"0.5859796",
"0.5834392",
"0.58286... | 0.0 | -1 |
Return the unique id for the entity. | def ShR8(YKHO):
return YKHO._uid | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def g2g3(YKHO) -> str:\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def g2g3(YKHO):\n return YKHO._entity_id",
"def ShR8(YKHO)... | [
"0.8107885",
"0.78878474",
"0.78878474",
"0.78878474",
"0.78878474",
"0.78878474",
"0.78051823",
"0.78051823",
"0.7799596",
"0.7792595",
"0.7754964",
"0.7754964",
"0.7754964",
"0.7754964",
"0.7754964",
"0.7754964",
"0.7754964",
"0.7754964",
"0.76560926",
"0.76560926",
"0.7652... | 0.7497616 | 54 |
Artist of current playing media (Music track only). | def wBza(YKHO):
return YKHO._state.get('artist', None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wBza(YKHO):\n return YKHO.coordinator.data.nowplaying[YKHO.zone.SourceID].CurrSong.Artists",
"def wBza(YKHO):\n AXRM = YKHO._media_status()[0]\n return AXRM.artist if AXRM else None",
"def wBza(YKHO):\n return YKHO._media_artist",
"def wBza(YKHO):\n return YKHO._media_artist",
"def SRvf(... | [
"0.85988027",
"0.85100645",
"0.8364579",
"0.8364579",
"0.8197227",
"0.81845474",
"0.7796168",
"0.7759904",
"0.7709477",
"0.7638341",
"0.76134145",
"0.7604214",
"0.7216594",
"0.70622",
"0.69644237",
"0.664528",
"0.6623426",
"0.6593583",
"0.6548443",
"0.6520028",
"0.6481482",
... | 0.86874646 | 0 |
Artist of current playing media (Music track only). | def COOc(YKHO):
return YKHO._state.get('album', None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wBza(YKHO):\n return YKHO._state.get('artist', None)",
"def wBza(YKHO):\n return YKHO.coordinator.data.nowplaying[YKHO.zone.SourceID].CurrSong.Artists",
"def wBza(YKHO):\n AXRM = YKHO._media_status()[0]\n return AXRM.artist if AXRM else None",
"def wBza(YKHO):\n return YKHO._media_artist",... | [
"0.8687323",
"0.85988134",
"0.8509157",
"0.83637434",
"0.83637434",
"0.8196336",
"0.8183605",
"0.77955586",
"0.7759012",
"0.7709448",
"0.7638554",
"0.76132107",
"0.7603828",
"0.7216902",
"0.70617723",
"0.6964165",
"0.664448",
"0.6623835",
"0.65933233",
"0.6547524",
"0.6482023... | 0.6519635 | 20 |
Time in seconds of current song duration. | def AR9O(YKHO):
return YKHO._state.get('duration', None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m3XP(YKHO):\n \"\"\"Should not set track length\"\"\"\n return YKHO.duration / float(YKHO.samplerate)",
"def WbTE(YKHO):\n YKHO._current_duration = ITS7.perf_counter() - YKHO._duration_start\n return round(YKHO._current_duration, 4)",
"def m3XP(YKHO):\n return YKHO.get_data('duration_in_seco... | [
"0.81876254",
"0.7938716",
"0.78988636",
"0.78473353",
"0.7823681",
"0.77341574",
"0.7634641",
"0.7622908",
"0.7622372",
"0.7618472",
"0.75984764",
"0.75961554",
"0.7574814",
"0.7574814",
"0.7574814",
"0.7574814",
"0.7574814",
"0.7574814",
"0.7574814",
"0.7574814",
"0.7517420... | 0.7100783 | 61 |
Boolean if volume is currently muted. | def qHHI(YKHO):
return YKHO._state.get('mute', None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qHHI(YKHO):\n return YKHO._isMuted",
"def qHHI(YKHO):\n return YKHO._muted",
"def qHHI(YKHO):\n return YKHO._muted",
"def qHHI(YKHO):\n return YKHO._muted",
"def qHHI(YKHO) -> bool:\n return int(YKHO._state.get('playback_mute', 0)) == 1",
"def qHHI(YKHO):\n return YKHO._mute",
"de... | [
"0.88940346",
"0.88759947",
"0.88759947",
"0.88759947",
"0.8814027",
"0.87869483",
"0.8236034",
"0.8190068",
"0.7936686",
"0.78640896",
"0.7704961",
"0.76758885",
"0.6825323",
"0.6755305",
"0.65662944",
"0.65392035",
"0.64557403",
"0.6447418",
"0.64046997",
"0.63986605",
"0.6... | 0.88506025 | 4 |
Send mute command to media player. | async def async_mute_volume(YKHO, KkzS: bool) -> None:
if KkzS:
await YKHO._volumio.mute()
else:
await YKHO._volumio.unmute() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KkzS():\n pyJd(tv_command=Lle2.mute)",
"async def async_mute_volume(YKHO, KkzS: bool) -> None:\n await YKHO._projector.send_command(DTWB)",
"def YAvG(YKHO, KkzS):\n g7yF = '1' if KkzS else '0'\n YKHO._lms.query(YKHO._id, 'mixer', 'muting', g7yF)\n YKHO.update_ha_state()",
"def KkzS(YKHO) -... | [
"0.8351864",
"0.7610174",
"0.73645294",
"0.72703284",
"0.72499573",
"0.7218573",
"0.72066677",
"0.71777207",
"0.71752316",
"0.71414465",
"0.7125538",
"0.70837677",
"0.708093",
"0.70565724",
"0.70256376",
"0.7021446",
"0.70199054",
"0.6984963",
"0.6965777",
"0.67242646",
"0.66... | 0.6908538 | 19 |
Choose an available playlist and play it. | async def async_select_source(YKHO, JZXy: str) -> None:
await YKHO._volumio.play_playlist(JZXy)
YKHO._currentplaylist = JZXy | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eIGz(uv6v, Acvy, m8z6=''):\n if Oa1e.browse_mode == 'ytpl':\n if Acvy.isdigit():\n return c39q(Oa1e.ytpls[int(Acvy) - 1]['link'])\n else:\n Oa1e.message = 'Invalid playlist selection: %s' % Z9rn.y + Acvy + Z9rn.w\n Oa1e.content = bUd7()\n return\n ... | [
"0.72042555",
"0.6966726",
"0.6878524",
"0.67394876",
"0.6735221",
"0.67186755",
"0.6657361",
"0.65717185",
"0.6561803",
"0.6560952",
"0.655475",
"0.653221",
"0.6528147",
"0.6426419",
"0.64082843",
"0.6353288",
"0.6352037",
"0.63145936",
"0.62931883",
"0.627785",
"0.6275521",... | 0.6530211 | 12 |
Send the play_media command to the media player. | async def async_play_media(YKHO, tGci: MediaType | str, tQOT: str, **B2fa: Any) -> None:
await YKHO._volumio.replace_and_play(qQXR.loads(tQOT)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def async_media_play(YKHO) -> None:\n await YKHO._projector.send_command(DnLY)",
"def eLmn(YKHO, qoQs=None, **B2fa):\n tO9_ = HaEw(qoQs, requestiId=YKHO._inc_request(), **B2fa)\n YKHO.logger.debug('Create command: \\n%r\\n', qQXR.dumps(tO9_, indent=4))\n YKHO._last_play_msg = tO9_\n YKHO._se... | [
"0.8395478",
"0.7840275",
"0.7768703",
"0.7667638",
"0.75681293",
"0.7500104",
"0.7500104",
"0.7420948",
"0.740788",
"0.7272308",
"0.70983255",
"0.70977795",
"0.707564",
"0.7057172",
"0.7050097",
"0.69550174",
"0.6920429",
"0.68830705",
"0.6785371",
"0.6701337",
"0.6699859",
... | 0.7307245 | 9 |
Given a filename like 'dirA/dirB/filename.ext', returns 'dirA/dirB/$prefixfilename.ext' | def hRQ6(y0cW, uvd8):
VLdg = Hy7s.path.join(Hy7s.path.dirname(uvd8), y0cW + Hy7s.path.basename(uvd8))
return VLdg | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HOME(Ux0P, y0cW):\n pmON, fVS8 = Hy7s.path.split(Ux0P)\n yGsg = Hy7s.path.join(pmON, y0cW + fVS8)\n Hy7s.rename(Ux0P, yGsg)",
"def Ytkq(YKHO, Ux0P):\n assert Ux0P.startswith(YKHO.subdir), (Ux0P, YKHO.subdir)\n return Ux0P[len(YKHO.subdir):].lstrip('\\\\/')",
"def rB7B(Ux0P, IBYl=None):\n ... | [
"0.73172355",
"0.6754017",
"0.6481695",
"0.636711",
"0.62931895",
"0.6269986",
"0.6253476",
"0.6196698",
"0.61768484",
"0.6157078",
"0.6145018",
"0.6067755",
"0.60424834",
"0.6041382",
"0.60332406",
"0.6012091",
"0.6002487",
"0.5995359",
"0.599438",
"0.5990542",
"0.5963619",
... | 0.67522657 | 2 |
The `(left, right)` padding required for the IFFT | def dvgN(YKHO):
hVLt = YKHO.ntiles - YKHO.windowsize
return (int((hVLt - 1) / 2.0), int((hVLt + 1) / 2.0)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dvgN(YKHO) -> AzJI[int, int, int, int]:\n return (YKHO.ipadding[0].to_pixels(YKHO.width), YKHO.ipadding[1].to_pixels(YKHO.width), YKHO.ipadding[2].to_pixels(YKHO.height), YKHO.ipadding[3].to_pixels(YKHO.height))",
"def dvgN(YKHO):\n return YKHO.paddings_shape_param('W')",
"def WtCT(Ot1W, _0fC, ivFb):... | [
"0.6507085",
"0.6441506",
"0.63539886",
"0.61706245",
"0.61002773",
"0.5890281",
"0.58514357",
"0.5795316",
"0.57882065",
"0.5773338",
"0.5708867",
"0.5700763",
"0.5682644",
"0.5667075",
"0.5655253",
"0.5635127",
"0.5617207",
"0.55957866",
"0.5593418",
"0.5590209",
"0.5564513... | 0.6638898 | 0 |
Return (batch) action embedding which is the concatenation of the embeddings of the traversed edge and the target node. | def YMFN(YKHO, XeOP: Action, Nuw4: KnowledgeGraph):
DcGJ = Nuw4.get_relation_embeddings(XeOP.rel)
if YKHO.relation_only:
k3AZ = DcGJ
else:
rAC7 = Nuw4.get_entity_embeddings(XeOP.ent)
k3AZ = ht2j.cat([DcGJ, rAC7], dim=-1)
return k3AZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oQTH(YKHO) -> llWB:\n return YKHO._combined_emb",
"def U8ZT(VuJa: tf.Operation) -> ZylS.Tensor:\n assert VuJa.type == 'AddV2'\n H2v5 = VuJa.inputs[0].op\n assert H2v5.type == 'AddV2'\n _E99 = H2v5.inputs[0].op\n assert _E99.type == 'Identity'\n v6ln = _E99.inputs[0].op\n assert v6ln.t... | [
"0.60153514",
"0.5904948",
"0.58927727",
"0.5781083",
"0.5692151",
"0.5674533",
"0.56136405",
"0.55874205",
"0.55434144",
"0.5531833",
"0.55285585",
"0.55158997",
"0.5508879",
"0.54888654",
"0.548679",
"0.54677886",
"0.5460174",
"0.5394147",
"0.53601515",
"0.5356663",
"0.5355... | 0.7001667 | 0 |
Randomly generates a 1dimensional NumPy array containing nonnegative real numbers which add up to exactly 1, of the given size. The marginal probability distribution of each item in the array is beta(1, size 1). | def SY9R(zNig):
jzdc = oyIN.random.random(zNig - 1)
jzdc.sort()
return oyIN.diff(oyIN.concatenate(((0,), jzdc, (1,)))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DhET():\n Fg_i = oyIN.random.uniform(0.0, 1.0, size=[1, bV1g])\n return Fg_i / oyIN.sum(Fg_i, 1)[:, None]",
"def DhET():\n Fg_i = oyIN.random.uniform(0.0, 1.0, size=[1, bV1g])\n return Fg_i / oyIN.sum(Fg_i, 1)[:, None]",
"def DhET():\n Fg_i = oyIN.random.uniform(0.0, 1.0, size=[1, bV1g])\n ... | [
"0.6513029",
"0.64537627",
"0.64537627",
"0.6272509",
"0.61719406",
"0.6130689",
"0.61090344",
"0.6055923",
"0.60308003",
"0.60234123",
"0.59978753",
"0.59184915",
"0.5840195",
"0.5822725",
"0.5779461",
"0.57785386",
"0.5757625",
"0.57511437",
"0.5704598",
"0.5691803",
"0.567... | 0.6186031 | 4 |
Returns the left edge of the rect | def WKvO(YKHO):
return YKHO.left | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PqXs(YKHO):\n return min(YKHO.x, YKHO.x + YKHO.w)",
"def LFlW(YKHO):\n WKvO, LVAh = (YKHO.loc[0] - 1, YKHO.loc[1])\n if WKvO < 0:\n return None\n return YKHO.garden.cells[LVAh][WKvO]",
"def yX3E(YKHO):\n return YKHO.left",
"def NPsH(YKHO):\n return (YKHO.rect.x, YKHO.rect.y)",
... | [
"0.86006856",
"0.7585846",
"0.7440086",
"0.741373",
"0.74052733",
"0.74052733",
"0.7383918",
"0.73120195",
"0.72417325",
"0.7221223",
"0.7174246",
"0.71672237",
"0.71672237",
"0.71617967",
"0.7129328",
"0.7064332",
"0.7043794",
"0.7042532",
"0.70215225",
"0.70016",
"0.6995689... | 0.65466636 | 53 |
Returns the top edge of the rect | def LVAh(YKHO):
return YKHO.top | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cp3Z(YKHO):\n return max(YKHO.y, YKHO.y + YKHO.h)",
"def NPsH(YKHO):\n return (YKHO.rect.x, YKHO.rect.y)",
"def tlxW(YKHO):\n return YKHO.points['topRight'].y",
"def tlxW(YKHO):\n return YKHO.points['topRight'].y",
"def JA5w(YKHO):\n return YKHO._top_cell",
"def Oe84(YKHO):\n YKHO._... | [
"0.8270514",
"0.7256896",
"0.72479004",
"0.72479004",
"0.7077",
"0.6969833",
"0.69664925",
"0.6937057",
"0.6929643",
"0.68851054",
"0.6822272",
"0.6769056",
"0.6763707",
"0.6726194",
"0.6667652",
"0.66243327",
"0.6619696",
"0.6589319",
"0.65376157",
"0.6529901",
"0.65111667",... | 0.6294161 | 32 |
Returns the x value which is the right edge of the rect | def _tIi(YKHO):
return YKHO.left + YKHO.width | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eqr8(YKHO):\n return max(YKHO.x, YKHO.x + YKHO.w)",
"def PqXs(YKHO):\n return min(YKHO.x, YKHO.x + YKHO.w)",
"def _tIi(YKHO):\n return YKHO.points['topRight'].x",
"def _tIi(YKHO):\n return YKHO.points['topRight'].x",
"def NPsH(YKHO):\n return (YKHO.rect.x, YKHO.rect.y)",
"def YJQD(YKHO... | [
"0.84452915",
"0.79230076",
"0.787274",
"0.787274",
"0.750614",
"0.71870947",
"0.7092904",
"0.699564",
"0.696628",
"0.6911899",
"0.6898351",
"0.6881939",
"0.6881939",
"0.68396276",
"0.6811167",
"0.67940587",
"0.67750615",
"0.67750615",
"0.67601407",
"0.67491525",
"0.67350435"... | 0.75660396 | 4 |
Returns the y value of the bottom edge of the rect | def es2x(YKHO):
return YKHO.top + YKHO.height | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Nzkc(YKHO):\n return min(YKHO.y, YKHO.y + YKHO.h)",
"def RBuK(YKHO):\n return YKHO.position.y - YKHO.size.y - YKHO.bulk",
"def es2x(YKHO):\n return YKHO.points['bottomRight'].y",
"def es2x(YKHO):\n return YKHO.points['bottomRight'].y",
"def cp3Z(YKHO):\n return max(YKHO.y, YKHO.y + YKHO.... | [
"0.8805093",
"0.8051866",
"0.79904914",
"0.79904914",
"0.79467046",
"0.7712718",
"0.74993527",
"0.74695987",
"0.735016",
"0.7347175",
"0.72841567",
"0.7186302",
"0.7104309",
"0.71026164",
"0.7064471",
"0.6959684",
"0.6943852",
"0.6942228",
"0.69254243",
"0.6912166",
"0.691216... | 0.7736985 | 5 |
Returns a point (x, y) which is the top, left corner of the rect. | def hd3f(YKHO):
return (YKHO.left, YKHO.top) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ShLW(YKHO):\n return PvyL(YKHO.left, YKHO.top)",
"def hd3f(YKHO, WKvO=0, LVAh=0):\n hd3f = YKHO.rect.topleft\n if WKvO or LVAh:\n return (hd3f[0] + WKvO, hd3f[1] + LVAh)\n return hd3f",
"def TwAD(YKHO) -> tuple:\n return YKHO.rect.center",
"def TwAD(YKHO):\n return YKHO.rect.midt... | [
"0.7615435",
"0.73522216",
"0.7328254",
"0.7280965",
"0.7234981",
"0.7155766",
"0.7029561",
"0.70282614",
"0.7008412",
"0.690158",
"0.6862395",
"0.6836018",
"0.6780747",
"0.6679095",
"0.66712946",
"0.66573036",
"0.6583718",
"0.6580749",
"0.6580749",
"0.6565925",
"0.65483946",... | 0.6531546 | 21 |
Returns a point (x, y) which is the bottom, left corner of the rect. | def mdQq(YKHO):
return (YKHO.left, YKHO.bottom) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yH9b(YKHO):\n YKHO._updateExtents()\n return (YKHO._mMinX, YKHO._mMaxY)",
"def NPsH(YKHO):\n return (YKHO.rect.x, YKHO.rect.y)",
"def XOP0(YKHO):\n return PvyL(YKHO.right, YKHO.bottom)",
"def PqXs(YKHO):\n return min(YKHO.x, YKHO.x + YKHO.w)",
"def TwAD(YKHO):\n return YKHO.rect.midto... | [
"0.76496786",
"0.7357598",
"0.71578914",
"0.70442766",
"0.6905601",
"0.6887942",
"0.6774521",
"0.6761503",
"0.6718211",
"0.6691041",
"0.6682143",
"0.6613044",
"0.6594628",
"0.65572333",
"0.65572333",
"0.6500128",
"0.647712",
"0.6408398",
"0.64050466",
"0.6383551",
"0.63834256... | 0.68953097 | 5 |
Returns a point (x, y) which is the top, right corner of the rect. | def mUXd(YKHO):
return (YKHO.right, YKHO.top) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Oe84(YKHO):\n YKHO._updateExtents()\n return (YKHO._mMaxX, YKHO._mMinY)",
"def eqr8(YKHO):\n return max(YKHO.x, YKHO.x + YKHO.w)",
"def _tIi(YKHO):\n return YKHO.points['topRight'].x",
"def _tIi(YKHO):\n return YKHO.points['topRight'].x",
"def NPsH(YKHO):\n return (YKHO.rect.x, YKHO.r... | [
"0.7436057",
"0.7358436",
"0.7146118",
"0.7146118",
"0.6997922",
"0.68999165",
"0.68880117",
"0.6833478",
"0.6721036",
"0.6704991",
"0.6647245",
"0.6591932",
"0.64858204",
"0.64475834",
"0.6435427",
"0.64032483",
"0.6401734",
"0.6401734",
"0.63608927",
"0.6354798",
"0.6303522... | 0.62258637 | 22 |