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
Deletes a deployment resource pool using v1beta1 API.
def zDJ6(YKHO, Bdtx): qv1X = YKHO.messages.AiplatformProjectsLocationsDeploymentResourcePoolsDeleteRequest(name=Bdtx.RelativeName()) oPhP = YKHO.client.projects_locations_deploymentResourcePools.Delete(qv1X) return oPhP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rxHr(YKHO, QpfX, dBuj):\n JFat = '%s/%s/%s' % (VlRa, ZEk9, dBuj.id)\n tO9_ = bGrB('NetScaler driver pool removal: %s') % dBuj.id\n na1r.debug(tO9_)\n YKHO.client.remove_resource(QpfX.tenant_id, JFat)", "def PTpj(YKHO, QePW, F3PV):\n w2B8 = vLo3(QePW)\n F1dG(w2B8, w2B8.load_balancer.delete_p...
[ "0.6397726", "0.6235195", "0.6207189", "0.61801", "0.6021349", "0.58845013", "0.57817644", "0.56008065", "0.55686426", "0.5542121", "0.55001605", "0.5479599", "0.5396984", "0.53380674", "0.5324077", "0.53164047", "0.52782357", "0.5266646", "0.51605874", "0.5125277", "0.510422...
0.6869241
0
Specifies whether to activate the backup plan.
def WZHJ(YKHO) -> bool: return qe4Y.get(YKHO, 'active')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O9vX(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'aof_backup_enabled')", "def K_r6(YKHO, BWXx: bool) -> None:\n if not isinstance(BWXx, bool):\n raise TypeError(f'<value> should be {bool}, {type(BWXx)} given.')\n YKHO._activated = BWXx", "def WZHJ(YKHO, b27A):\n YKHO.is_active = b27A", ...
[ "0.6316651", "0.57911307", "0.5771789", "0.57309693", "0.5646848", "0.56428057", "0.5619663", "0.560108", "0.5594688", "0.5497581", "0.54954314", "0.54880285", "0.54880285", "0.5417547", "0.5384169", "0.5376494", "0.5362499", "0.5359052", "0.5334825", "0.5325092", "0.52808934...
0.0
-1
The start time of the backup task each day. The time is displayed in UTC and denoted by Z.
def IZlk(YKHO) -> str: return qe4Y.get(YKHO, 'backup_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aJ2e(YKHO):\n return YKHO._backup_started", "def SWox(YKHO) -> str:\n return qe4Y.get(YKHO, 'start_time')", "def SWox(YKHO) -> str:\n return qe4Y.get(YKHO, 'start_time')", "def XZql(YKHO):\n return YKHO.__starting_time", "def SWox(YKHO):\n return YKHO._meta['start_time']", "def B6Zs(YK...
[ "0.6906189", "0.6876964", "0.6876964", "0.6751362", "0.6705184", "0.6700239", "0.6675997", "0.66491383", "0.6636427", "0.6608807", "0.65648144", "0.65372765", "0.65337044", "0.64779794", "0.6471189", "0.6471189", "0.6471189", "0.6471189", "0.6471189", "0.6471189", "0.6471189"...
0.70103383
0
The ID of the cluster for the backup.
def JvOq(YKHO) -> str: return qe4Y.get(YKHO, 'cluster_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JvOq(YKHO):\n return YKHO._cluster_id", "def JvOq(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> q...
[ "0.8324291", "0.83017325", "0.83017325", "0.83017325", "0.83017325", "0.78913355", "0.78295934", "0.78295934", "0.78185", "0.7675357", "0.7599599", "0.7599599", "0.7599599", "0.74121255", "0.72488075", "0.72488075", "0.7064709", "0.7005663", "0.6984249", "0.69754153", "0.6965...
0.86262465
3
The time when the backup plan was created.
def x7vo(YKHO) -> str: return qe4Y.get(YKHO, 'create_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m7L9(YKHO):\n return YKHO.block.create_time", "def x7vo(YKHO):\n return YKHO._create_time", "def x7vo(YKHO):\n return YKHO._create_time", "def x7vo(YKHO):\n return YKHO._create_time", "def IZlk(YKHO) -> str:\n return qe4Y.get(YKHO, 'backup_time')", "def QT9s(YKHO) -> str:\n return q...
[ "0.774873", "0.77068156", "0.77068156", "0.77068156", "0.75858915", "0.7539437", "0.7539437", "0.7539437", "0.75389504", "0.75389504", "0.75389504", "0.74214196", "0.7391315", "0.7391315", "0.7375951", "0.73642474", "0.73277897", "0.73277897", "0.73277897", "0.73277897", "0.7...
0.77322423
19
The ID of the data center for the backup in the cluster.
def Y2ju(YKHO) -> str: return qe4Y.get(YKHO, 'data_center_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def JvOq(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluste...
[ "0.75936496", "0.75936496", "0.75936496", "0.72891676", "0.72891676", "0.72891676", "0.72891676", "0.72891676", "0.7177754", "0.70222944", "0.70222944", "0.70222944", "0.70222944", "0.6964489", "0.6889661", "0.6805223", "0.6769623", "0.67540145", "0.666994", "0.66475", "0.664...
0.8123032
1
The ID of the Backup Plan.
def id(YKHO) -> str: return qe4Y.get(YKHO, 'id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wERM(YKHO) -> str:\n return YKHO._plan_id", "def dHL0(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'commitment_plan_id')", "def nM4b(YKHO) -> str:\n return qe4Y.get(YKHO, 'backup_vswitch_id')", "def Ved8(YKHO):\n finE = YKHO.get_subscription()\n return finE.plan", "def qCUP(YKHO):\n re...
[ "0.83166516", "0.6909116", "0.6622178", "0.6565557", "0.64491695", "0.6357899", "0.6278412", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.6250278", "0.62241125", ...
0.0
-1
The ID of the Cassandra cluster.
def JvOq(YKHO) -> str: return qe4Y.get(YKHO, 'cluster_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JvOq(YKHO):\n return YKHO._cluster_id", "def JvOq(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> q...
[ "0.85668415", "0.83511966", "0.83511966", "0.83511966", "0.83511966", "0.79461145", "0.79461145", "0.786888", "0.7778931", "0.7778931", "0.7778931", "0.7450845", "0.7417899", "0.72796464", "0.7111069", "0.7053002", "0.7053002", "0.7007788", "0.6981728", "0.6818104", "0.676628...
0.8827646
4
The name of the Cassandra cluster.
def c0yN(YKHO) -> str: return qe4Y.get(YKHO, 'cluster_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c0yN(YKHO):\n return YKHO.name", "def c0yN(YKHO):\n return YKHO._data['cluster_name']", "def c0yN(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'cluster_name')", "def c0yN(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'cluster_name')", "def c0yN(YKHO) -> qe4Y.Input[str]:\n ...
[ "0.8315744", "0.8262142", "0.7975982", "0.7804748", "0.7804748", "0.76993036", "0.76993036", "0.76993036", "0.76993036", "0.76993036", "0.72726065", "0.722773", "0.722773", "0.722773", "0.722773", "0.722773", "0.72105026", "0.6832422", "0.6832422", "0.6832422", "0.6832422", ...
0.8575841
1
The expire time of the cluster.
def e2iN(YKHO) -> str: return qe4Y.get(YKHO, 'expire_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e2iN(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'expire_time')", "def e2iN(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'expire_time')", "def pg_u(YKHO):\n return YKHO._expire", "def OBx7(YKHO) -> str:\n return qe4Y.get(YKHO, 'expiration_time')", "def pg_u(YKHO):\n return Y...
[ "0.77707666", "0.77707666", "0.74485", "0.7417755", "0.7395604", "0.73494434", "0.7277013", "0.7277013", "0.70217264", "0.70065075", "0.6910934", "0.6791802", "0.6741217", "0.67259383", "0.6724482", "0.6653676", "0.6580373", "0.65588254", "0.6522548", "0.6499184", "0.64698774...
0.8033372
2
The ID of the Cassandra cluster.
def id(YKHO) -> str: return qe4Y.get(YKHO, 'id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JvOq(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluster_id')", "def JvOq(YKHO) -> str:\n return qe4Y...
[ "0.8827646", "0.8827646", "0.8827646", "0.8827646", "0.8827646", "0.85668415", "0.83511966", "0.83511966", "0.83511966", "0.83511966", "0.79461145", "0.79461145", "0.786888", "0.7778931", "0.7778931", "0.7778931", "0.7450845", "0.7417899", "0.72796464", "0.7111069", "0.705300...
0.0
-1
The commodity ID of the Cassandra dataCenter.
def Ojbq(YKHO) -> str: return qe4Y.get(YKHO, 'commodity_instance')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y2ju(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_center_id')", "def Y2ju(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_center_id')", "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def kEfz(YKHO) -> str:\n return YKHO.__d...
[ "0.7966492", "0.7966492", "0.7446487", "0.7446487", "0.7446487", "0.7082337", "0.7082337", "0.7082337", "0.7082337", "0.7082337", "0.6901986", "0.67025644", "0.6670091", "0.6655425", "0.6655425", "0.6655425", "0.6655425", "0.65772194", "0.64615285", "0.6424082", "0.63754654",...
0.60675263
33
The id of the Cassandra dataCenter.
def Y2ju(YKHO) -> str: return qe4Y.get(YKHO, 'data_center_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def kEfz(YKHO) -> str:\n return YKHO.__datacenter_uuid", "def Ly2y(xAU6):\n nJ8O = tQff(xAU6)\n return nJ8O._GetMoId()", "def Ly2y():\n BT13 = GPtr.get_cloud_config_value('d...
[ "0.793135", "0.793135", "0.793135", "0.7317481", "0.7270138", "0.7231726", "0.7231726", "0.7231726", "0.7231726", "0.7231726", "0.7115778", "0.67727906", "0.67239213", "0.67239213", "0.67239213", "0.67239213", "0.671187", "0.66127026", "0.65455854", "0.65146637", "0.64771473"...
0.849744
0
The name of the Cassandra dataCenter.
def G3oR(YKHO) -> str: return qe4Y.get(YKHO, 'data_center_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G3oR(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'data_center_name')", "def G3oR(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'data_center_name')", "def G3oR(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'data_center_name')", "def vr_G(YKHO):\n return YKHO.co...
[ "0.7717032", "0.75523645", "0.75523645", "0.7114478", "0.7084735", "0.7084735", "0.7084735", "0.7064304", "0.7064304", "0.6781281", "0.6699482", "0.66600573", "0.66600573", "0.6552748", "0.65065336", "0.6225733", "0.6187941", "0.614879", "0.60645205", "0.6057441", "0.6017646"...
0.82598627
0
The expire time of the dataCenter.
def e2iN(YKHO) -> str: return qe4Y.get(YKHO, 'expire_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e2iN(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'expire_time')", "def e2iN(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'expire_time')", "def pg_u(YKHO):\n return YKHO._expire", "def pg_u(YKHO):\n return YKHO._expire", "def b2y6(YKHO) -> qcWV:\n return YKHO.timeEnd", "def...
[ "0.8030801", "0.8030801", "0.79645157", "0.78908944", "0.781718", "0.77083594", "0.76692665", "0.76692665", "0.76260203", "0.7556715", "0.73039216", "0.71991795", "0.7176995", "0.7171221", "0.71636665", "0.7147248", "0.710315", "0.70974517", "0.7070578", "0.7015195", "0.69594...
0.830514
1
The node count of dataCenter.
def kRap(YKHO) -> int: return qe4Y.get(YKHO, 'node_count')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def moTC(YKHO):\n return int(YKHO._data['number_of_data_nodes'])", "def OtzW(YKHO):\n return int(YKHO._data['number_of_nodes'])", "def ukla(YKHO) -> int:\n return qe4Y.get(YKHO, 'data_center_count')", "def kRap(YKHO):\n return YKHO._node_count", "def kRap(YKHO) -> qe4Y.Output[int]:\n return ...
[ "0.8293622", "0.80982393", "0.7909831", "0.78947747", "0.7831935", "0.7831935", "0.7796765", "0.77736795", "0.7773148", "0.765432", "0.765432", "0.7646884", "0.7646884", "0.7644536", "0.76318556", "0.7598447", "0.7584228", "0.7541496", "0.7504654", "0.7447203", "0.74332774", ...
0.8053879
2
VPC ID the dataCenter belongs to.
def xOeT(YKHO) -> str: return qe4Y.get(YKHO, 'vpc_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y2ju(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_center_id')", "def Y2ju(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_center_id')", "def xOeT(YKHO):\n return YKHO._vpc_id", "def xOeT(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'vpc_id')", "def xOeT(YKHO) -> qe4Y.Output[str]:\n retu...
[ "0.72342485", "0.72342485", "0.7168097", "0.7076468", "0.7076468", "0.7076468", "0.7076468", "0.7076468", "0.7076468", "0.7076468", "0.7076468", "0.7076468", "0.7066202", "0.700287", "0.700287", "0.700287", "0.69876367", "0.69876367", "0.69876367", "0.69876367", "0.69876367",...
0.7411766
5
Zone ID the dataCenter belongs to.
def DVVB(YKHO) -> str: return qe4Y.get(YKHO, 'zone_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def t__D(YKHO):\n return YKHO.zoneId", "def t__D(YKHO):\n if YKHO.zoneId:\n return YKHO.zoneId\n else:\n YKHO.notify.warning('no zone id available')", "def Y2ju(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_center_id')", "def Y2ju(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_center_...
[ "0.7796656", "0.76367396", "0.75492495", "0.75492495", "0.73584664", "0.727942", "0.7275768", "0.7275768", "0.7275768", "0.7275768", "0.72696096", "0.72696096", "0.71350515", "0.71350515", "0.71350515", "0.71350515", "0.71350515", "0.71350515", "0.7121717", "0.68806756", "0.6...
0.76764053
4
ID of the zone.
def id(YKHO) -> str: return qe4Y.get(YKHO, 'id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DVVB(YKHO) -> str:\n return qe4Y.get(YKHO, 'zone_id')", "def DVVB(YKHO) -> str:\n return qe4Y.get(YKHO, 'zone_id')", "def DVVB(YKHO) -> str:\n return qe4Y.get(YKHO, 'zone_id')", "def DVVB(YKHO) -> str:\n return qe4Y.get(YKHO, 'zone_id')", "def DVVB(YKHO) -> str:\n return qe4Y.get(YKHO, '...
[ "0.88910013", "0.88910013", "0.88910013", "0.88910013", "0.88910013", "0.83657324", "0.8352945", "0.8327081", "0.83053726", "0.83053726", "0.83053726", "0.83053726", "0.82069296", "0.82069296", "0.81045425", "0.8086331", "0.7999527", "0.7999527", "0.7999527", "0.7999527", "0....
0.0
-1
Insertar o actualizar los mensajes de los clientes del especialista.
def aTIw(eKbg, scn9, jGRS, zb3C, hoLm, WhHl=None): ZOua = eKbg[0] hzUo = FD5x.PREFIX['specialist'] + str(hoLm) XL1c = FD5x.PREFIX['client'] + str(zb3C) if jGRS >= 4: ZOua['isQueryActive'] = False else: ZOua['isQueryActive'] = True ZOua['queries'] = WhHl JTrw = qIXs(specialist...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W6hn(YKHO, Ol8d, x0hE):\n na1r.debug(f'Разбираем сообщение: {Ol8d}')\n if KCHu.KEY_ACTION in Ol8d and Ol8d[KCHu.KEY_ACTION] == KCHu.ACTION_PRESENCE and (KCHu.KEY_TIME in Ol8d) and (KCHu.KEY_USER in Ol8d):\n if Ol8d[KCHu.KEY_USER][KCHu.KEY_ACCOUNT_NAME] not in YKHO.names.keys():\n YKHO.n...
[ "0.697522", "0.61951756", "0.60226417", "0.6015432", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", "0.59364384", ...
0.5505214
85
Reads a json file and returns a python dictionary
def Nw5e(qaEx): NVsf = open(qaEx, 'r') ik35 = '' for zFiD in NVsf: ik35 += zFiD NVsf.close() ik35.strip() Q_vh = qQXR.loads(ik35) return Q_vh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dftL(gIsw: str) -> cuzp[str, ImMB]:\n with open(gIsw) as nUeQ:\n return qQXR.load(nUeQ)", "def Nw5e(wM3v: str) -> dict:\n zgjV = {}\n if not Hy7s.path.isfile(wM3v):\n UtPW(Hy7s.path.basename(wM3v) + ' does not exist.')\n HwRy.exit(1)\n with open(wM3v) as eHNT:\n zgjV =...
[ "0.83751154", "0.82943267", "0.8181353", "0.81426877", "0.81300277", "0.81067675", "0.80700076", "0.80605334", "0.80577844", "0.8057042", "0.8025316", "0.80008763", "0.79561824", "0.7943055", "0.79373014", "0.79176295", "0.7911409", "0.7909934", "0.790651", "0.78981483", "0.7...
0.0
-1
Calculates the distance in km between two points on earth
def OXb1(Fg_i, tTpl): L4rr = 6371 gMt4 = D9Us(tTpl[0] - Fg_i[0]) A4fg = D9Us(tTpl[1] - Fg_i[1]) igSk = D9Us(Fg_i[0]) TGuP = D9Us(tTpl[0]) jzdc = epAf.sin(gMt4 / 2) * epAf.sin(gMt4 / 2) + epAf.sin(A4fg / 2) * epAf.sin(A4fg / 2) * epAf.cos(igSk) * epAf.cos(TGuP) Z9rn = 2 * epAf.atan2(epAf.sqrt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fv48(OZyw, vrGf, BcHw, AV9l):\n C4B3 = GeVo((OZyw, vrGf), (BcHw, AV9l), unit='km')\n return C4B3", "def Ayfi(jzdc, Fg_i):\n return CgaZ((float(jzdc.longitude), float(jzdc.latitude)), (float(Fg_i.longitude), float(Fg_i.latitude))).km", "def FPeg(GgQG, igSk, tk0B, TGuP):\n GgQG, igSk, tk0B, TGuP ...
[ "0.78748363", "0.78427213", "0.78095484", "0.78079325", "0.7805469", "0.7804685", "0.7778978", "0.7766998", "0.77342445", "0.77335966", "0.7731504", "0.7721754", "0.76798177", "0.7678994", "0.7660769", "0.7640602", "0.7595491", "0.7577478", "0.7556357", "0.7552912", "0.754586...
0.73595625
48
Return whether listeners should shut down.
def A5Zf() -> bool: return pAF4.is_set()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SXbL(YKHO):\n return YKHO._shutdown.is_set()", "def gH0U(YKHO):\n return YKHO._in_shutdown", "def Bne0(YKHO) -> bool:\n return YKHO._stop_event.is_set()", "def oyWu(YKHO):\n return YKHO._server is not None", "def eRwN(YKHO):\n return not YKHO._stopped", "def kfCM(YKHO):\n return YKH...
[ "0.71930873", "0.65985596", "0.6496513", "0.640543", "0.63423336", "0.632255", "0.62850827", "0.6222253", "0.6222253", "0.6222253", "0.6222253", "0.6214357", "0.6212531", "0.61657184", "0.61601216", "0.61282474", "0.6040775", "0.6025888", "0.6025464", "0.60035336", "0.5999837...
0.0
-1
Should create market sell order.
async def test_create_market_sell_order(YKHO): Fafz = {'error': 10009, 'description': 'TRADE_RETCODE_DONE', 'orderId': 46870472} x0hE.trade = zrRO(return_value=Fafz) n5sN = await nNXP.create_market_sell_order('GBPUSD', 0.07, 0.9, 2.0, {'comment': 'comment', 'clientId': 'TE_GBPUSD_7hyINWqAlE'}) assert n5...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dRts(YKHO):\n CBIr = YKHO.set_auth_token_header()\n OgIB = {'account': CBIr.account, 'quantity': 15, 'total_value': 18.75, 'stock': okPj.objects.get(code='GOOG')}\n ahMN.objects.create(**OgIB)\n nPrm = {'stock': 'GOOG', 'quantity': 10, 'price': 1.25, 'order_type': 'SELL'}\n bD7m = gxEw('orders-l...
[ "0.7068008", "0.7000044", "0.6864859", "0.6863436", "0.682368", "0.6712586", "0.66141903", "0.66066027", "0.66000926", "0.6578752", "0.65568084", "0.65430164", "0.6420616", "0.640372", "0.6368696", "0.6353988", "0.6336104", "0.63300925", "0.6303567", "0.6290725", "0.6244863",...
0.762105
0
sort on one specific quantile or on weighted value of all quants
def BA9O(YKHO, _Nd4=None): if _Nd4 is None: YKHO.__sortlist = [H5ew for H5ew, hkxX in sorted(YKHO.__quantile.items(), key=lambda DumB: sum((10 ^ apjS * UHFx for apjS, UHFx in enumerate(DumB[1].values()))))] elif isinstance(_Nd4, int): YKHO.__sortlist = [H5ew for H5ew, hkxX in sorted(YKHO.__quant...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nCuH(hkxX):\n hkxX.sort()\n ywwl = len(hkxX)\n return (hkxX[0], hkxX[ywwl / 4], hkxX[ywwl / 2], hkxX[3 * ywwl / 4], hkxX[ywwl - 1])", "def aM62(fUYa: List[float], XP5J: float) -> float:\n yac5 = int(XP5J * len(fUYa))\n return sorted(fUYa)[yac5]", "def o7bE(WKvO, zOYc=[2.5, 25, 50, 75, 97.5])...
[ "0.65836", "0.63719434", "0.62195444", "0.613708", "0.60903734", "0.60849154", "0.60336405", "0.6032706", "0.6016141", "0.60125804", "0.60125804", "0.60125804", "0.59731907", "0.596046", "0.59544873", "0.59407675", "0.59395736", "0.59302515", "0.5869384", "0.5869122", "0.5869...
0.7503818
0
From when to display data. SignalFx time syntax (e.g. `"5m"`, `"1h"`). Conflicts with `start_time` and `end_time`.
def iBFX(YKHO) -> h8nf[qe4Y.Input[int]]: return qe4Y.get(YKHO, 'time_range')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gp4f(YKHO, nPrm):\n return nPrm", "def ZpyY(YKHO):\n FEXa = rIAI.get_default_timezone()\n mRWS = YKHO.start_time.astimezone(FEXa)\n hSpm = YKHO.end_time.astimezone(FEXa)\n yKcO = ' '.join([mRWS.strftime('%b %d'), mRWS.strftime('%-I:%M')])\n aulT = mRWS.strftime('%p')\n if aulT != hSpm.st...
[ "0.68199307", "0.67264014", "0.6341061", "0.62402517", "0.6164807", "0.6099881", "0.5911759", "0.58654535", "0.58589", "0.58582175", "0.58326566", "0.58098036", "0.57810104", "0.57702386", "0.5760508", "0.57278013", "0.57128453", "0.56838477", "0.56676024", "0.5665087", "0.56...
0.52812326
86
From when to display data. SignalFx time syntax (e.g. `"5m"`, `"1h"`). Conflicts with `start_time` and `end_time`.
def iBFX(YKHO) -> h8nf[qe4Y.Input[int]]: return qe4Y.get(YKHO, 'time_range')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gp4f(YKHO, nPrm):\n return nPrm", "def ZpyY(YKHO):\n FEXa = rIAI.get_default_timezone()\n mRWS = YKHO.start_time.astimezone(FEXa)\n hSpm = YKHO.end_time.astimezone(FEXa)\n yKcO = ' '.join([mRWS.strftime('%b %d'), mRWS.strftime('%-I:%M')])\n aulT = mRWS.strftime('%p')\n if aulT != hSpm.st...
[ "0.6821052", "0.6727981", "0.634113", "0.6243241", "0.61676466", "0.6100328", "0.59146667", "0.58679175", "0.5859595", "0.5856528", "0.5834439", "0.58088434", "0.57855153", "0.5770551", "0.5761752", "0.5725982", "0.5714083", "0.5686509", "0.566807", "0.5664983", "0.5660046", ...
0.5280889
85
Get an existing EventFeedChart resource's state with the given name, id, and optional extra properties used to qualify the lookup.
def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None, JBZA: Optional[pulumi.Input[str]]=None, C7pn: Optional[pulumi.Input[int]]=None, mWFP: Optional[pulumi.Input[str]]=None, h9ei: Optional[pulumi.Input[str]]=None, SWox: Optional[pulumi.Input[int]]=None, iBFX: Optional[pulumi.Input[int]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zQUt(YKHO, id):\n YKHO._build_series_cache()\n if id in YKHO._series_cache:\n return YKHO._series_cache[id]", "def Q_BA(ZuB6):\n for H5ew, BWXx in S8SU.all('State').items():\n if ZuB6 == BWXx.id:\n return pz3A(BWXx.to_dict())\n eTsH(404)", "def jO92(ZuB6):\n QTBn = S...
[ "0.53145844", "0.50874305", "0.5078806", "0.5046663", "0.5029745", "0.502753", "0.49664393", "0.49062055", "0.49021143", "0.4900839", "0.48005772", "0.4794655", "0.4792962", "0.479037", "0.47875798", "0.47856343", "0.47844377", "0.47707763", "0.4770655", "0.46882266", "0.4637...
0.65315497
0
From when to display data. SignalFx time syntax (e.g. `"5m"`, `"1h"`). Conflicts with `start_time` and `end_time`.
def iBFX(YKHO) -> qe4Y.Output[h8nf[int]]: return qe4Y.get(YKHO, 'time_range')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gp4f(YKHO, nPrm):\n return nPrm", "def ZpyY(YKHO):\n FEXa = rIAI.get_default_timezone()\n mRWS = YKHO.start_time.astimezone(FEXa)\n hSpm = YKHO.end_time.astimezone(FEXa)\n yKcO = ' '.join([mRWS.strftime('%b %d'), mRWS.strftime('%-I:%M')])\n aulT = mRWS.strftime('%p')\n if aulT != hSpm.st...
[ "0.6820327", "0.6726006", "0.63390404", "0.6241191", "0.6164628", "0.6096878", "0.5911829", "0.58658826", "0.58584917", "0.58584636", "0.58323044", "0.5809129", "0.5781418", "0.5770613", "0.57604176", "0.572559", "0.5713567", "0.5682391", "0.5667646", "0.5664351", "0.56596935...
0.0
-1
Blur an input image
def jUwU(LNo8): return XC5k.blur(LNo8, (5, 5))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UWj5(LNo8):\n return XC5k.GaussianBlur(LNo8, (7, 7), 0)", "def hsOe(YKHO, UXnq):\n [H2v2, TVTK, xMux] = UXnq.shape\n uB9b = TVTK\n if TVTK > YKHO.kernelSZ and H2v2 > YKHO.kernelSZ:\n uB9b = YKHO.kernelSZ\n elif uB9b > H2v2:\n uB9b = H2v2\n hklD = XC5k.blur(UXnq, (uB9b, uB9b))\...
[ "0.780616", "0.7742639", "0.768763", "0.76191336", "0.76191336", "0.75785464", "0.72787505", "0.72261965", "0.72219086", "0.71253014", "0.71067184", "0.7066512", "0.7017929", "0.699321", "0.69844586", "0.69631493", "0.6934541", "0.6886775", "0.6874224", "0.6806872", "0.676873...
0.76212716
3
Utility function to exclude text present inside html tags
def nBPn(U6D_): if U6D_.parent.name in ['style', 'script', 'head', 'title', 'meta', '[document]']: return False if isinstance(U6D_, jY1u): return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aAsi(l5Ny):\n if l5Ny is oyIN.nan:\n return l5Ny\n njyT = ZbWC.compile('<.*?>')\n return ZbWC.sub(njyT, '', l5Ny)", "def JZhs(YKHO, l5Ny):\n x0SS = ZbWC.compile('<.*?>')\n return ZbWC.sub(x0SS, '', l5Ny)", "def JZhs(l5Ny: str) -> str:\n return ZbWC.sub('<.*?>', '', l5Ny).strip()", ...
[ "0.7488058", "0.7462756", "0.73301125", "0.7325959", "0.7317411", "0.7255343", "0.72506577", "0.72472817", "0.72137594", "0.7210438", "0.7210438", "0.7171452", "0.7155941", "0.7155941", "0.714868", "0.714868", "0.7147311", "0.7134879", "0.7085192", "0.7043476", "0.70416874", ...
0.0
-1
Constructor. address the adjusted address where the resource exists name the name of the resource size the size of the resource
def FIMM(YKHO, UTX6: int, mWFP: unicode, zNig: int): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, qsJ6, qTWw):\n YKHO.checksum = GkAb(qTWw).md5\n fji0.__init__(YKHO, qsJ6, qTWw)\n if YKHO._idevice:\n YKHO._idevice.userResources.append(YKHO)", "def FIMM(Ro_8, kFeU: str, VKhi: Optional[pulumi.ResourceOptions]=None, G0Vx: Optional[pulumi.Input[str]]=None, o9ap: Optional[pulumi.Inp...
[ "0.6703524", "0.66375357", "0.65862215", "0.6464372", "0.63966644", "0.63885355", "0.63847905", "0.63403594", "0.63277406", "0.63110715", "0.6306028", "0.621923", "0.62104845", "0.61895126", "0.6185376", "0.61687636", "0.61616343", "0.6160726", "0.61132133", "0.6111263", "0.6...
0.6911514
0
Nondivisible subset length is the size of maximal subset of the iterable where sum of any two numbers in the subset is not evenly divisible by key
def tZMD(OxJJ, H5ew): if type(OxJJ) == list or type(OxJJ) == tuple: pass else: raise TypeError('Iterable should be of either list or tuple') for ZfUD in OxJJ: if not isinstance(ZfUD, int): raise ValueError('Only numbers are accepted in the iterable') if not isinstance...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UCda(YKHO, xYvp):\n if not xYvp:\n return 0\n Jy4W = [1]\n BcCR = 1\n for YRbF in range(1, len(xYvp)):\n Pqlf = 1\n for r845 in range(YRbF - 1, -1, -1):\n if xYvp[YRbF] % xYvp[r845] == 0:\n Pqlf = max(Pqlf, 1 + Jy4W[r845])\n Jy4W.append(Pqlf)\n ...
[ "0.65000314", "0.63650805", "0.6202835", "0.6035759", "0.6025423", "0.59914047", "0.5984323", "0.594293", "0.58675486", "0.5857546", "0.58171254", "0.5811228", "0.57724315", "0.57679975", "0.57505786", "0.57505786", "0.57312775", "0.5694013", "0.5674147", "0.5672041", "0.5669...
0.85606617
0
returns rendered main page of news app
def d6pt(QePW): qIxc = {} JM6C = [] Ouop = [] Sjlt = K5aj.objects.all() for bJqe in Sjlt: JM6C += bJqe.team_set.all() for dZPi in JM6C: Ouop += dZPi.news_set.all() Ouop = reversed(sorted(Ouop, key=lambda d_5N: d_5N.date)) Ouop = list(Ouop)[:50] qIxc['news'] = Ouop ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d6pt():\n LOS_ = UEmZ()\n print(LOS_)\n leAC = 'Welcome to the Best News Website for latest and current news'\n return TvZl('index.html', title=leAC, current_news=LOS_)", "def Ozko():\n return TvZl('index.html')", "def Ozko():\n return TvZl('main_page.html')", "def C_QL():\n RUSI = a...
[ "0.7881827", "0.74604833", "0.7357598", "0.7292849", "0.72538286", "0.7123321", "0.70983034", "0.70856285", "0.7077613", "0.70492625", "0.70282114", "0.70263565", "0.70055544", "0.69556427", "0.69554543", "0.6943113", "0.68972445", "0.68901527", "0.68893063", "0.68782455", "0...
0.0
-1
Generate random string with chosen length
def GLL2(u54L: int) -> str: return ''.join(tuKI.choices(vIwR.ascii_letters + vIwR.digits, k=u54L))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YzjY(u54L: int):\n FLLz = vIwR.ascii_letters + vIwR.digits\n return ''.join(tuKI.choices(FLLz, k=u54L))", "def e7Tf(u54L):\n return ''.join((tuKI.choice(vIwR.ascii_uppercase + vIwR.digits) for bGrB in range(u54L)))", "def e7Tf(u54L=30):\n dLKT = C1SZ + BHGE\n return ''.join((Acvy(dLKT) for b...
[ "0.885544", "0.86519516", "0.8612974", "0.86097294", "0.85827047", "0.8537869", "0.8521892", "0.84903014", "0.8473161", "0.8468432", "0.84646994", "0.844271", "0.8438942", "0.84097034", "0.83754665", "0.83658725", "0.8352147", "0.8332587", "0.83171433", "0.83063155", "0.83030...
0.8603864
4
Function that creates the training operation for a NN in tensorflow using the Adam optimization algorithm
def bt4h(N77f, Cwt5, dgWh, znmT, _hZ2): K0do = ZylS.train.AdamOptimizer(learning_rate=Cwt5, beta1=dgWh, beta2=znmT, epsilon=_hZ2) EvQg = K0do.minimize(N77f) return EvQg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pPbi(N77f, Cwt5):\n K0do = ZylS.train.GradientDescentOptimizer(Cwt5)\n return K0do.minimize(N77f)", "def Ilro(YKHO):\n if YKHO.optim_type == 'adagrad':\n YKHO.optimizer = ZylS.train.AdagradOptimizer(YKHO.learning_rate)\n elif YKHO.optim_type == 'adam':\n YKHO.optimizer = ZylS.train....
[ "0.8000554", "0.7739397", "0.7739397", "0.77335525", "0.7721804", "0.77060217", "0.76269305", "0.7608947", "0.75470567", "0.7534111", "0.75064814", "0.7485893", "0.7402933", "0.73693746", "0.7366791", "0.73281384", "0.73243046", "0.7302641", "0.7206792", "0.7204228", "0.71760...
0.7728143
4
Function that creates a learning rate decay operation in tensorflow using inverse time decay
def TfYV(Cwt5, f9Ey, Aak1, BkRq): tspZ = ZylS.train.inverse_time_decay(Cwt5, Aak1, BkRq, f9Ey, staircase=True) return tspZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TfYV(jzdc, xn5m, u4rt, t_kc):\n return ZylS.train.inverse_time_decay(jzdc, u4rt, t_kc, xn5m, True)", "def TfYV(Cwt5, f9Ey, Aak1, BkRq):\n aden = ZylS.train.inverse_time_decay(Cwt5, Aak1, BkRq, f9Ey, staircase=True)\n return aden", "def TfYV(Cwt5, f9Ey, Aak1, BkRq):\n \"\"\"if staircase == True\...
[ "0.8348887", "0.8344214", "0.8271942", "0.8199409", "0.81873596", "0.8178199", "0.7447817", "0.73112005", "0.72336626", "0.72265005", "0.72177935", "0.70590556", "0.7026295", "0.70120716", "0.6945354", "0.68953574", "0.68319166", "0.6818437", "0.67819655", "0.67788035", "0.67...
0.8101124
6
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): if NkkI: Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis] print('Confusion matrix') else: print('Confusion matrix') print(Bcwd) QrM1.imshow(Bcwd, interpolation='nearest', cmap=iMGt) ...
{ "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.8192804", "0.8094402", "0.80277497", "0.80176693", "0.7992383", "0.7989708", "0.7979215", "0.79741204", "0.7959607", "0.7955097", "0.79358983", "0.79329205", "0.7932711", "0.79295874", "0.79247147", "0.79228914", "0.792216", "0.79215133", "0.7921201", "0.7920765", "0.79161...
0.78515416
43
Initializes the Example, performing tokenization and truncation to produce the encoder, decoder and target sequences, which are stored in self.
def FIMM(YKHO, Slbv, upAO, p1kx, vOGg, CtWL, zkG9): YKHO.hps = zkG9 cacN = Slbv.split() if len(cacN) > zkG9.max_enc_steps: cacN = cacN[:zkG9.max_enc_steps] YKHO.original_review_input = Slbv if len(Slbv.split()) > 20 or vOGg < 0.8: YKHO.weight = oyIN.zeros(zkG9.max_enc_steps, dtype=oy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, AUCK, zkG9, CtWL):\n YKHO.pad_id = CtWL.word2id(nPrm.PAD_TOKEN)\n YKHO.init_encoder_seq(AUCK, zkG9)\n YKHO.store_orig_strings(AUCK)", "def FIMM(YKHO, AUCK, zkG9, CtWL):\n YKHO.pad_id = CtWL.word2id(nPrm.PAD_TOKEN)\n YKHO.init_encoder_seq(AUCK, zkG9)\n if zkG9.query_encoder:\n ...
[ "0.69515765", "0.6916645", "0.67878175", "0.67015415", "0.6489591", "0.64766383", "0.645522", "0.6449766", "0.6438438", "0.6434035", "0.63779473", "0.635099", "0.63470536", "0.63246804", "0.63197947", "0.6310289", "0.6284663", "0.62830025", "0.6243862", "0.62066483", "0.61896...
0.0
-1
Returns filtered queryset. Sadly djangofilters doesn't support AND syntax in queries (for CharFilter). ModelMultipleChoiceFilter behaves buggy when e.g. filtering by one tag. Also, it would require writing custom form to 'accept' invalid tag names and return empty queryset. Filtering by tag is done in a view to spare t...
def fRXs(YKHO, SR0I): dJ1p = YKHO.request.GET.getlist('tag') if dJ1p: for TZ9E in dJ1p: SR0I = SR0I.filter(tag__tag=TZ9E) return super().filter_queryset(SR0I)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fRXs(YKHO, QePW, SR0I, tTee):\n dJ1p = QePW.query_params.get('tags', None)\n if dJ1p and isinstance(dJ1p, jKi7.string_types):\n dJ1p = dJ1p.split(',')\n return SR0I.filter(tags__name__in=dJ1p)\n return SR0I", "def fRXs(YKHO, SR0I):\n for mWFP, BWXx in YKHO.form.cleaned_data.items():...
[ "0.7716958", "0.7571407", "0.72090757", "0.71030664", "0.7098294", "0.70832247", "0.70791626", "0.70630354", "0.69474465", "0.69337475", "0.6802946", "0.66790587", "0.66692173", "0.66156983", "0.66017294", "0.65914786", "0.6588451", "0.657991", "0.6549821", "0.6456907", "0.64...
0.71294606
3
Return a human readable representation of the model instance.
def zAg0(YKHO): return '{}'.format(YKHO.name)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return super().__str__() + YKHO.model.__str__()", "def zAg0(YKHO):\n C3ST = YKHO._meta.verbose_name.title()\n return f'{C3ST:s}: {YKHO.name:s}'", "def zAg0(YKHO):\n C3ST = YKHO._meta.verbose_name.title()\n return f'{C3ST:s}: {YKHO.name:s}'", "def zAg0(YKHO):\n return '%s%s...
[ "0.79865694", "0.778825", "0.778825", "0.7578485", "0.7573961", "0.7508439", "0.73869205", "0.725669", "0.725669", "0.72521317", "0.7250976", "0.72447103", "0.72447103", "0.7238946", "0.72377145", "0.72135806", "0.7196659", "0.71778005", "0.7177506", "0.7173099", "0.7172897",...
0.0
-1
Gets an Element attribute. For compatibility with the ElementTree API.
def NMoC(YKHO, H5ew: str, WmM4: Any=None) -> ImMB: return YKHO.attributes.get(H5ew, WmM4)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GTRl(YKHO, mWFP):\n return YKHO.element.get_attribute(mWFP)", "def GTRl(YKHO, PKko, xC3W):\n geyT = YKHO.locate_element(PKko)\n return geyT.get_attribute(xC3W)", "def GTRl(YKHO, r7Tv: str) -> laHg.Union[OVEI.Attributes]:\n return YKHO._parent_node.get_attribute(r7Tv)", "def GTRl(YKHO, PKko, x...
[ "0.7939182", "0.73955345", "0.7309951", "0.7282812", "0.7020946", "0.6984788", "0.6954993", "0.69361854", "0.6882368", "0.6822557", "0.6817597", "0.6811324", "0.67305714", "0.6707654", "0.6690454", "0.6639524", "0.6633164", "0.6581988", "0.65467", "0.65281224", "0.6429144", ...
0.0
-1
Returns an XPath node for applying selectors on XSD schema/component.
def KCjl(YKHO) -> uLKX[rPRU, xMaH]: raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def laNn(YKHO, VN2L=''):\n from xml.dom.ext import GetAllNs\n from xml import laNn\n Mf7r = YKHO.get_dom(YKHO(method='xml'))\n QpfX = laNn.Context.Context(Mf7r, processorNss=GetAllNs(Mf7r.documentElement))\n return laNn.Evaluate(VN2L, context=QpfX)", "def eju9(YKHO) -> JJyO:\n raise NotImplemen...
[ "0.54756564", "0.53884596", "0.5173115", "0.51697695", "0.51697695", "0.513531", "0.5025182", "0.49852687", "0.4879712", "0.48566383", "0.4844469", "0.47911754", "0.47664222", "0.4744899", "0.4715904", "0.47050932", "0.46934196", "0.46802264", "0.46683142", "0.4604508", "0.45...
0.54965353
0
Finds the first XSD subelement matching the path.
def neBz(YKHO, pmON: str, Dl0U: Optional[NamespacesType]=None) -> h8nf[ut5U]: pmON = pOBt.sub('', pmON.strip()) Dl0U = YKHO._get_xpath_namespaces(Dl0U) wvEv = ezUZ(Dl0U, strict=False) QpfX = BX05(YKHO.xpath_node) return YWvJ(h8nf[ut5U], next(wvEv.parse(pmON).select_results(QpfX), None))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def neBz(LihS, laNn):\n if LihS is None:\n return None\n return next(iter(LihS.xpath(laNn)), None)", "def cntZ(YKHO, mWFP: str) -> QGpr.Element:\n return YKHO.from_name(mWFP)[0]", "def BWO0(pmON, tk5Y):\n UqER = pmON.split('.')\n _AKB = tk5Y\n for U6D_ in UqER[:-1]:\n _AKB = get...
[ "0.6375278", "0.6189466", "0.60962236", "0.60354835", "0.5939342", "0.5885597", "0.5812591", "0.5812591", "0.5799033", "0.57528913", "0.5741127", "0.5718633", "0.56454307", "0.56394386", "0.56075835", "0.5579324", "0.5513418", "0.5511328", "0.5508914", "0.5490768", "0.543213"...
0.60481274
3
Creates and iterator for all XSD subelements matching the path.
def zBo7(YKHO, pmON: str, Dl0U: Optional[NamespacesType]=None) -> bDy6[ut5U]: pmON = pOBt.sub('', pmON.strip()) Dl0U = YKHO._get_xpath_namespaces(Dl0U) wvEv = ezUZ(Dl0U, strict=False) QpfX = BX05(YKHO.xpath_node) return YWvJ(bDy6[ut5U], wvEv.parse(pmON).select_results(QpfX))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vs4Q(YKHO):\n U6D_ = YKHO\n while U6D_.HasField('pathtype'):\n yield U6D_\n if U6D_.HasField('nested_path'):\n U6D_ = U6D_.nested_path\n else:\n break", "def IeSx(LihS, yKcO=0):\n ewCu = 0\n for aUGN in LihS:\n if aUGN.tag == lcYX:\n if...
[ "0.6006369", "0.5786637", "0.5745477", "0.55744034", "0.5486291", "0.5456796", "0.54349524", "0.54349524", "0.54299873", "0.5246323", "0.523898", "0.52027196", "0.5192182", "0.51908624", "0.5186748", "0.51849234", "0.51726466", "0.514867", "0.5096463", "0.50591964", "0.505141...
0.5686315
3
Creates an iterator for the XSD element and its subelements. If tag is not `None` or '', only XSD elements whose matches tag are returned from the iterator. Local elements are expanded without repetitions. Element references are not expanded because the global elements are not descendants of other elements.
def iter(YKHO, TZ9E: Optional[str]=None) -> bDy6[ut5U]: def SsoZ(LihS: Any) -> bDy6[ut5U]: if TZ9E is None or LihS.is_matching(TZ9E): yield LihS for aUGN in LihS: if aUGN.parent is None: yield from SsoZ(aUGN) elif getattr(aUGN, 'ref', None) is not...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JsrQ(YKHO, TZ9E: Optional[str]=None) -> bDy6[ut5U]:\n if TZ9E == '*':\n TZ9E = None\n for aUGN in YKHO:\n if TZ9E is None or aUGN.is_matching(TZ9E):\n yield aUGN", "def IeSx(LihS, yKcO=0):\n ewCu = 0\n for aUGN in LihS:\n if aUGN.tag == lcYX:\n if ewCu >...
[ "0.57244277", "0.55467594", "0.54912657", "0.53314024", "0.51527023", "0.51527023", "0.51076376", "0.5094536", "0.50437206", "0.50437206", "0.50437206", "0.50437206", "0.50437206", "0.50437206", "0.50437206", "0.502445", "0.502445", "0.502445", "0.5023664", "0.49797943", "0.4...
0.7338833
0
Creates an iterator for the child elements of the XSD component. If tag is not `None` or '', only XSD elements whose name matches tag are returned from the iterator.
def JsrQ(YKHO, TZ9E: Optional[str]=None) -> bDy6[ut5U]: if TZ9E == '*': TZ9E = None for aUGN in YKHO: if TZ9E is None or aUGN.is_matching(TZ9E): yield aUGN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iter(YKHO, TZ9E: Optional[str]=None) -> bDy6[ut5U]:\n\n def SsoZ(LihS: Any) -> bDy6[ut5U]:\n if TZ9E is None or LihS.is_matching(TZ9E):\n yield LihS\n for aUGN in LihS:\n if aUGN.parent is None:\n yield from SsoZ(aUGN)\n elif getattr(aUGN, 'ref',...
[ "0.7357695", "0.614868", "0.5988141", "0.5920626", "0.56678975", "0.56479853", "0.5637801", "0.5637801", "0.5619553", "0.5590479", "0.557138", "0.557138", "0.55427253", "0.5399226", "0.53812325", "0.5371278", "0.5337766", "0.5332808", "0.52959484", "0.5264564", "0.5233588", ...
0.7396138
0
Returns a new instance of the collection with the given organizations.
def yh9W(YKHO, mUrV): return YKHO.__class__(YKHO.session, state=YKHO.state, term=YKHO.term, order=YKHO.order, direction=YKHO.direction, issues=YKHO.issues, categories=YKHO.categories, organizations=mUrV, user_ids=YKHO.user_ids, group_ids=YKHO.group_ids)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mUrV(YKHO):\n return HdyR(YKHO)", "def mUrV(YKHO):\n return mUrV.Organizations(YKHO)", "def wbiw(YKHO, I4cP):\n return zvVu(YKHO, I4cP)", "def mUrV(YKHO):\n YKHO.elements('organizations')", "def wbiw(YKHO):\n return zvVu(YKHO)", "def wbiw(YKHO):\n return zvVu(YKHO)", "def wbiw(YKH...
[ "0.74378234", "0.6760645", "0.61181533", "0.59568536", "0.59443873", "0.59443873", "0.59443873", "0.592083", "0.5690632", "0.5593542", "0.5578716", "0.5358783", "0.52849287", "0.5226263", "0.5206419", "0.5165867", "0.5146548", "0.5114389", "0.50956005", "0.50931937", "0.50738...
0.7296705
1
Returns a new instance of the collection with the given categories.
def yUKc(YKHO, LeZt): return YKHO.__class__(YKHO.session, state=YKHO.state, term=YKHO.term, order=YKHO.order, direction=YKHO.direction, issues=YKHO.issues, categories=LeZt, organizations=YKHO.organizations, user_ids=YKHO.user_ids, group_ids=YKHO.group_ids)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQuW(YKHO, LeZt):\n Ghho, _EYN = eorc.objects.get_or_create(name=LeZt)\n Ghho.save()", "def FIMM(YKHO, LeZt, **B2fa):\n with ux5v(B2fa) as G1Hx:\n yIVm = G1Hx.optional('metadata')\n xAU6 = G1Hx.options(growth=False)\n if xAU6 == {'growth'}:\n YKHO._ax = ZLSD.category_str_grow...
[ "0.6957448", "0.61840683", "0.6041799", "0.6003293", "0.59911835", "0.59630954", "0.5941857", "0.59269565", "0.59262526", "0.5878812", "0.5878812", "0.5878812", "0.5856799", "0.5821118", "0.5821118", "0.5821118", "0.5821118", "0.5749909", "0.5749631", "0.5748209", "0.57361764...
0.7146387
0
Return a relative version of a path
def PsRC(pmON, yKcO=Hy7s.path.curdir): if not pmON: raise ValueError('no path specified') W8qs = Hy7s.path.abspath(yKcO).split(Hy7s.path.sep) BTLB = Hy7s.path.abspath(pmON).split(Hy7s.path.sep) if W8qs[0].lower() != BTLB[0].lower(): uHSV, wOmD = Hy7s.path.splitunc(pmON) TNUy, wOm...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qth0(YKHO, pmON):\n return ZbWC.sub(YKHO.path_regex, '', pmON).lstrip(Hy7s.sep)", "def sueC(pmON: str):\n return gzes('.', pmON)", "def vT7J(pmON):\n iQZE = ToLc(pmON)\n return iQZE[-1]", "def NE63(pmON: str):\n return Hy7s.path.relpath(pmON, phdL())", "def PsRC(pmON):\n return Hy7s.p...
[ "0.7916205", "0.77834916", "0.77383643", "0.765349", "0.7530642", "0.7522436", "0.7415771", "0.7404095", "0.729165", "0.72837", "0.7279967", "0.723366", "0.7217335", "0.71864855", "0.7178365", "0.7105353", "0.7092798", "0.70900303", "0.70873284", "0.70858437", "0.70681816", ...
0.64848906
99
Return a relative version of a path
def PsRC(pmON, yKcO=Hy7s.path.curdir): if not pmON: raise ValueError('no path specified') W8qs = Hy7s.path.abspath(yKcO).split(Hy7s.path.sep) BTLB = Hy7s.path.abspath(pmON).split(Hy7s.path.sep) YRbF = len(Hy7s.path.commonprefix([W8qs, BTLB])) a4wQ = [Hy7s.path.pardir] * (len(W8qs) - YRbF) + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qth0(YKHO, pmON):\n return ZbWC.sub(YKHO.path_regex, '', pmON).lstrip(Hy7s.sep)", "def sueC(pmON: str):\n return gzes('.', pmON)", "def vT7J(pmON):\n iQZE = ToLc(pmON)\n return iQZE[-1]", "def NE63(pmON: str):\n return Hy7s.path.relpath(pmON, phdL())", "def PsRC(pmON):\n return Hy7s.p...
[ "0.7916205", "0.77834916", "0.77383643", "0.765349", "0.7530642", "0.7522436", "0.7415771", "0.7404095", "0.729165", "0.72837", "0.7279967", "0.723366", "0.7217335", "0.71864855", "0.7178365", "0.7105353", "0.7092798", "0.70900303", "0.70873284", "0.70858437", "0.70681816", ...
0.67741203
51
Returns stopping policy function that stops after the first positive result
def yxVx(nnVk=1): def Qabx(C3ST, QzFq): return C3ST.lastPositive >= 0 and C3ST.lastPositive + nnVk <= C3ST.t return Qabx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VxE8(eQSh, jK6o, XUzY):\n RySp = eQSh[-1][1]\n if RySp > XUzY:\n jK6o += 1\n else:\n XUzY = RySp\n jK6o = 0\n return (jK6o, XUzY)", "def m8Ff(YKHO, QTBn):\n return JCyR(fB0B, QTBn, VAZT, yH90, DM1L)", "def UNJf(Uraj):\n\n def SDAL(*qIxc):\n UHFx = qIxc[3]\n ...
[ "0.59165436", "0.5888314", "0.5854395", "0.5854152", "0.5776123", "0.5749691", "0.5729605", "0.5707932", "0.5645517", "0.56339544", "0.5606294", "0.56059587", "0.5591644", "0.55859965", "0.55793047", "0.55564517", "0.55279166", "0.55258447", "0.55114996", "0.549019", "0.54717...
0.6552366
0
Return string representation of the object
def wHJl(YKHO): return f'<Tutor {YKHO.first_name.title()} {YKHO.last_name.title()}>'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__dict__['_obj'])", "def zAg0(YKHO):\n return str(YKHO.obj)", "def zAg0(YKHO):\n return str(YKHO.serialize())", "def yLCI(YKHO):\n return YKHO.__str__()", "def zAg0(YKHO):\n return str(YKHO.__dict__)", "def zAg0(YKHO):\n return str(YKHO.__dict__)", "d...
[ "0.85371095", "0.84460175", "0.8383993", "0.831346", "0.82501984", "0.82501984", "0.8201213", "0.81846005", "0.81846005", "0.81846005", "0.81846005", "0.81846005", "0.81579655", "0.8119125", "0.8119125", "0.8119125", "0.8119125", "0.8119125", "0.8119125", "0.8119125", "0.8119...
0.0
-1
Profile has a `full_name` property that returns the full name.
def Uve4(YKHO): YKHO.assertEqual(YKHO.john.full_name, 'John Doe') YKHO.assertEqual(YKHO.solar.full_name, 'Nathan Graule')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eHMM(YKHO):\n return YKHO.user.get_full_name() or None", "def eHMM(YKHO, YEnM: User) -> str:\n return YEnM.get_full_name()", "def Q1ao(YKHO):\n return YKHO.applicant.userprofile.display_name()", "def xpqj(YKHO):\n return YKHO.name", "def xpqj(YKHO):\n eHMM = '%s %s' % (YKHO.first_name, Y...
[ "0.756111", "0.7542265", "0.75405496", "0.7434465", "0.742376", "0.74092025", "0.73869056", "0.7369854", "0.7363648", "0.73261255", "0.73246175", "0.73246175", "0.7319643", "0.7305715", "0.73012435", "0.72977847", "0.7294285", "0.7270271", "0.72686267", "0.7257439", "0.725393...
0.0
-1
Profile has a `short_full_name` property that returns the first letter of the first name, and the complete last name.
def CFLc(YKHO): YKHO.assertEqual(YKHO.john.full_name_short, 'J. Doe') YKHO.assertEqual(YKHO.solar.full_name_short, 'N. Graule')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InTh(YKHO):\n return '{}. {}'.format(str(YKHO.user.first_name)[:1], YKHO.user.last_name)", "def dsRp(YKHO):\n return f'{YKHO.first_name} {YKHO.last_name[:1]}' if YKHO.first_name else YKHO.username", "def dsRp(YKHO):\n return YKHO.first_name", "def xpqj(YKHO):\n return YKHO.last_name + YKHO.fi...
[ "0.80181855", "0.7944475", "0.78361714", "0.7801183", "0.7789934", "0.7780193", "0.77766067", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", "0.77278566", ...
0.0
-1
Initialize the Flask application, and get a client for testing.
def FCbF(YKHO) -> None: YKHO.workdir = gbPf.mkdtemp() YKHO.server_name = 'fooserver.localdomain' YKHO.app = phHg() YKHO.app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:' YKHO.app.config['SERVER_NAME'] = YKHO.server_name YKHO.app.config['STORAGE_BASE_PATH'] = YKHO.workdir Hy7s.envi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x0hE(P4t4: Flask) -> QRbk:\n return P4t4.test_client()", "def gTqx():\n P4t4 = LUif('test')\n x0hE = P4t4.test_client()\n OaeV = P4t4.app_context()\n OaeV.push()\n yield x0hE\n OaeV.pop()", "def DbxN():\n N5z6 = L2w0(__name__)\n return N5z6", "def IlA1(H6Ho):\n H6Ho.test_cli...
[ "0.80622804", "0.77956086", "0.7759904", "0.77279", "0.769529", "0.7677219", "0.76159257", "0.75982946", "0.7410409", "0.7410409", "0.7410409", "0.7410409", "0.7410409", "0.7410409", "0.7410409", "0.7410409", "0.7410409", "0.7398664", "0.7398664", "0.7397032", "0.73912126", ...
0.0
-1
Test default product price being 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.87333673", "0.8610413", "0.8580199", "0.7287374", "0.72686666", "0.72686666", "0.72686666", "0.72686666", "0.72686666", "0.72686666", "0.7263497", "0.717852", "0.6858057", "0.6813622", "0.67408824", "0.67408824", "0.6709257", "0.6688696", "0.66599596", "0.6654696", "0.6654...
0.8738257
8
Sets the day of this LolStatsTeamGame.
def CjKC(YKHO, CjKC): YKHO._day = CjKC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p33c(YKHO, *qIxc):\n return _VfD.Date_setDay(YKHO, *qIxc)", "def uNbF(YKHO, BWXx):\n YKHO.time_of_day_value = BWXx", "def Wk_B(YKHO, CjKC):\n if CjKC not in range(1, 31):\n raise ValueError('Day value must be in range [1..12] but is {}'.format(CjKC))\n YuSI, Ko6S = divmod(int(CjKC), 10)\...
[ "0.6518521", "0.6135051", "0.58721066", "0.5782818", "0.5665717", "0.55951923", "0.55936617", "0.5545432", "0.5542327", "0.5506331", "0.5506331", "0.5506331", "0.5506331", "0.54740775", "0.54513425", "0.54499567", "0.54499567", "0.53745043", "0.52961206", "0.5266401", "0.5262...
0.6581926
1
Sets the team of this LolStatsTeamGame.
def dZPi(YKHO, dZPi): YKHO._team = dZPi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AX_2(YKHO, dZPi):\n YKHO.team_id = dZPi.instance_id\n YKHO.team_id_friendlyname = dZPi.friendlyname\n YKHO.team_name = dZPi.name", "def AX_2(YKHO, dZPi):\n YKHO.team = dZPi.upper()", "def twqB(YKHO, dZPi) -> None:\n if isinstance(dZPi, UneN):\n YKHO._team = dZPi\n elif isinstance(d...
[ "0.77588046", "0.7652695", "0.69294953", "0.6736916", "0.6736916", "0.6736916", "0.6736916", "0.66429216", "0.6458542", "0.6455996", "0.6438936", "0.63592076", "0.62245816", "0.61351424", "0.6038031", "0.59396523", "0.5926341", "0.58712506", "0.5841081", "0.58276004", "0.5725...
0.77363896
4
Sets the name of this LolStatsTeamGame.
def mWFP(YKHO, mWFP): YKHO._name = mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xKro(YKHO, xKro):\n YKHO._team_name = xKro", "def aKVM(YKHO, Vnf6: TeamType, xKro):\n YKHO._teams[Vnf6].team_name = xKro\n I45O.info('Set the name of team {0} to \"{1}\".'.format(Vnf6, xKro))", "def xKro(YKHO, xKro):\n YKHO.team_id = YKHO.get_team_id(xKro)\n na1r.debug('Mattermost team id: %...
[ "0.74090815", "0.7287277", "0.6649303", "0.6546097", "0.6546097", "0.6546097", "0.6546097", "0.6546097", "0.6510221", "0.64759827", "0.6452662", "0.6452662", "0.64489734", "0.64489734", "0.6441549", "0.6435629", "0.6428267", "0.64254165", "0.6411401", "0.6358878", "0.6357884"...
0.0
-1
Sets the match_name of this LolStatsTeamGame.
def xE2t(YKHO, xE2t): YKHO._match_name = xE2t
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xKro(YKHO, xKro):\n YKHO._team_name = xKro", "def psUJ(YKHO, psUJ):\n YKHO._name_match_mode = psUJ", "def aKVM(YKHO, Vnf6: TeamType, xKro):\n YKHO._teams[Vnf6].team_name = xKro\n I45O.info('Set the name of team {0} to \"{1}\".'.format(Vnf6, xKro))", "def xKro(YKHO, xKro):\n YKHO.team_id = ...
[ "0.6923743", "0.655273", "0.6378976", "0.61955917", "0.5840895", "0.5827799", "0.57469743", "0.56654584", "0.56654584", "0.5659704", "0.56302327", "0.56202686", "0.5605257", "0.55775946", "0.55341536", "0.55341536", "0.55341536", "0.55341536", "0.55341536", "0.5526221", "0.54...
0.72310615
0
Sets the largest_killing_spree of this LolStatsTeamGame.
def qbyi(YKHO, qbyi): YKHO._largest_killing_spree = qbyi
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def t_ui(YKHO, t_ui):\n YKHO._largest_multi_kill = t_ui", "def Qal4(YKHO, Qal4):\n YKHO._killing_spree = Qal4", "def Dvrj(YKHO, Dvrj):\n YKHO._max_players = Dvrj", "def NnR0(YKHO, NnR0):\n YKHO._non_heap_max = NnR0", "def G4Hq(YKHO, TEdI, DKxu):\n YKHO.greatest = DKxu\n YKHO.queue_draw()"...
[ "0.65692127", "0.53181964", "0.52813274", "0.5276609", "0.5275508", "0.5251135", "0.5197423", "0.51495624", "0.5118947", "0.5096044", "0.50922614", "0.5016843", "0.4986851", "0.49683028", "0.49173167", "0.49140057", "0.49015263", "0.48865104", "0.48515078", "0.48463422", "0.4...
0.84863275
0
Sets the killing_spree of this LolStatsTeamGame.
def Qal4(YKHO, Qal4): YKHO._killing_spree = Qal4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qbyi(YKHO, qbyi):\n YKHO._largest_killing_spree = qbyi", "def AS6E(YKHO, AS6E):\n YKHO._kills = AS6E", "def Ljrw(YKHO, Ljrw):\n YKHO._kills_per_min = Ljrw", "def GQwF(YKHO):\n YKHO.ships_left = YKHO.settings.ship_limit\n YKHO.fleets_left = YKHO.settings.fleet_waves\n YKHO.target_miss = ...
[ "0.5694161", "0.5281896", "0.50363606", "0.46707574", "0.45807952", "0.45727634", "0.4480516", "0.44682366", "0.445877", "0.44495645", "0.4447208", "0.4408213", "0.4360382", "0.4304683", "0.42538884", "0.42424124", "0.42357534", "0.4232889", "0.4232889", "0.42328736", "0.4228...
0.788167
0
Sets the longest_time_spent_living of this LolStatsTeamGame.
def j8Hp(YKHO, j8Hp): YKHO._longest_time_spent_living = j8Hp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gNly(YKHO, gNly: str):\n YKHO._max_time = gNly", "def SLm6(YKHO):\n YKHO.clear_console()\n YKHO.back_to_menu_info()\n print('\\n MY LONGEST STREAK OF ALL HABITS\\n ________________________________________________\\n ')\n pK_n = YKHO.analytics.habits_tr...
[ "0.5565934", "0.5539412", "0.5406828", "0.5274039", "0.526848", "0.5264393", "0.5185174", "0.51711977", "0.5163331", "0.51369023", "0.51352847", "0.50807106", "0.49935538", "0.4863525", "0.4849407", "0.48348057", "0.48304814", "0.48255908", "0.48129472", "0.48070338", "0.4792...
0.8304441
0
Sets the total_damage_dealt of this LolStatsTeamGame.
def yEeZ(YKHO, yEeZ): YKHO._total_damage_dealt = yEeZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WFo_(YKHO, WFo_):\n YKHO._total_damage_dealt_to_champions = WFo_", "def YQGH(YKHO, YQGH):\n YKHO._magic_damage_dealt = YQGH", "def L1lt(YKHO, L1lt):\n YKHO._total_damage_taken = L1lt", "def n21H(YKHO, n21H):\n YKHO._true_damage_dealt = n21H", "def dnME(YKHO, dnME):\n YKHO._physical_damag...
[ "0.7313242", "0.6736841", "0.6493701", "0.6435351", "0.6412331", "0.57087266", "0.5696347", "0.5684266", "0.56547225", "0.56327397", "0.55974543", "0.55639935", "0.5557575", "0.55346996", "0.5521134", "0.5498188", "0.54901236", "0.54693204", "0.54049015", "0.5348864", "0.5335...
0.84173554
0
Sets the magic_damage_dealt of this LolStatsTeamGame.
def YQGH(YKHO, YQGH): YKHO._magic_damage_dealt = YQGH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q3X8(YKHO, Q3X8):\n YKHO._magic_damage_dealt_to_champions = Q3X8", "def n21H(YKHO, n21H):\n YKHO._true_damage_dealt = n21H", "def dnME(YKHO, dnME):\n YKHO._physical_damage_dealt = dnME", "def yEeZ(YKHO, yEeZ):\n YKHO._total_damage_dealt = yEeZ", "def IZSN(YKHO, IZSN):\n YKHO._magic_damag...
[ "0.696661", "0.67270285", "0.6476713", "0.6390807", "0.6226219", "0.5870502", "0.5628375", "0.5625828", "0.5503729", "0.5500713", "0.5447467", "0.5419171", "0.5341729", "0.5324876", "0.5247896", "0.52377033", "0.5202111", "0.5166766", "0.5155306", "0.5124192", "0.5081432", ...
0.81532514
0
Sets the physical_damage_dealt of this LolStatsTeamGame.
def dnME(YKHO, dnME): YKHO._physical_damage_dealt = dnME
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YQGH(YKHO, YQGH):\n YKHO._magic_damage_dealt = YQGH", "def yEeZ(YKHO, yEeZ):\n YKHO._total_damage_dealt = yEeZ", "def n21H(YKHO, n21H):\n YKHO._true_damage_dealt = n21H", "def lMGH(YKHO, lMGH):\n YKHO._physical_damage_dealt_to_champions = lMGH", "def D59_(YKHO, D59_):\n YKHO._tower_damag...
[ "0.7148835", "0.681263", "0.6801736", "0.67789346", "0.6089281", "0.5985767", "0.596009", "0.5894784", "0.566056", "0.5613205", "0.54890746", "0.5480143", "0.54429024", "0.5409357", "0.5385092", "0.53787917", "0.534559", "0.5323002", "0.52887297", "0.52422076", "0.5195981", ...
0.81182486
0
Sets the true_damage_dealt of this LolStatsTeamGame.
def n21H(YKHO, n21H): YKHO._true_damage_dealt = n21H
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YQGH(YKHO, YQGH):\n YKHO._magic_damage_dealt = YQGH", "def NwmE(YKHO, NwmE):\n YKHO._true_damage_dealt_to_champions = NwmE", "def yEeZ(YKHO, yEeZ):\n YKHO._total_damage_dealt = yEeZ", "def dnME(YKHO, dnME):\n YKHO._physical_damage_dealt = dnME", "def u0x5(YKHO, u0x5):\n if YKHO.local_var...
[ "0.7024237", "0.6772881", "0.6640434", "0.64330626", "0.60908115", "0.599867", "0.59184337", "0.59171736", "0.5891586", "0.5867376", "0.5703856", "0.56503475", "0.5590954", "0.55486196", "0.55426043", "0.55410355", "0.53986585", "0.5387495", "0.5367935", "0.5281027", "0.52732...
0.82996035
0
Sets the largest_critical_strike of this LolStatsTeamGame.
def SL4T(YKHO, SL4T): YKHO._largest_critical_strike = SL4T
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xeoM(YKHO, xeoM):\n YKHO._clan_chest_max_level = xeoM", "def tCmS(YKHO, a_pm, Y4bG):\n if YKHO.__suitIsLured(a_pm):\n YKHO.currentlyLuredSuits[a_pm][1] = Y4bG", "def Dvrj(YKHO, Dvrj):\n YKHO._max_players = Dvrj", "def rnIZ(YKHO, rnIZ):\n YKHO._away_team_score = rnIZ", "def DMy0(YKHO,...
[ "0.569888", "0.5676793", "0.5458749", "0.53790236", "0.5321908", "0.52146226", "0.51754504", "0.5058571", "0.5019249", "0.50134516", "0.49489745", "0.49489745", "0.49400276", "0.49245152", "0.49181187", "0.4880492", "0.48750713", "0.48703313", "0.4828774", "0.4818368", "0.481...
0.8311558
0
Sets the total_damage_dealt_to_champions of this LolStatsTeamGame.
def WFo_(YKHO, WFo_): YKHO._total_damage_dealt_to_champions = WFo_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yEeZ(YKHO, yEeZ):\n YKHO._total_damage_dealt = yEeZ", "def Q3X8(YKHO, Q3X8):\n YKHO._magic_damage_dealt_to_champions = Q3X8", "def NwmE(YKHO, NwmE):\n YKHO._true_damage_dealt_to_champions = NwmE", "def lMGH(YKHO, lMGH):\n YKHO._physical_damage_dealt_to_champions = lMGH", "def YQGH(YKHO, YQG...
[ "0.73679274", "0.70976293", "0.6694231", "0.6605472", "0.6058799", "0.58941954", "0.5876487", "0.57978076", "0.55502486", "0.5424441", "0.5418691", "0.5391538", "0.53550494", "0.5319113", "0.5283111", "0.5268654", "0.5243026", "0.5221057", "0.5201682", "0.51904607", "0.517316...
0.8478791
0
Sets the magic_damage_dealt_to_champions of this LolStatsTeamGame.
def Q3X8(YKHO, Q3X8): YKHO._magic_damage_dealt_to_champions = Q3X8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NwmE(YKHO, NwmE):\n YKHO._true_damage_dealt_to_champions = NwmE", "def YQGH(YKHO, YQGH):\n YKHO._magic_damage_dealt = YQGH", "def lMGH(YKHO, lMGH):\n YKHO._physical_damage_dealt_to_champions = lMGH", "def WFo_(YKHO, WFo_):\n YKHO._total_damage_dealt_to_champions = WFo_", "def n21H(YKHO, n21...
[ "0.71770644", "0.7071609", "0.6858378", "0.6697823", "0.60695034", "0.5647399", "0.5357546", "0.5354944", "0.52696556", "0.52458304", "0.5212171", "0.50096923", "0.49551123", "0.49399656", "0.48440322", "0.47519198", "0.4750016", "0.4746898", "0.47460318", "0.4726286", "0.471...
0.8479353
0
Sets the physical_damage_dealt_to_champions of this LolStatsTeamGame.
def lMGH(YKHO, lMGH): YKHO._physical_damage_dealt_to_champions = lMGH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q3X8(YKHO, Q3X8):\n YKHO._magic_damage_dealt_to_champions = Q3X8", "def NwmE(YKHO, NwmE):\n YKHO._true_damage_dealt_to_champions = NwmE", "def WFo_(YKHO, WFo_):\n YKHO._total_damage_dealt_to_champions = WFo_", "def dnME(YKHO, dnME):\n YKHO._physical_damage_dealt = dnME", "def YQGH(YKHO, YQG...
[ "0.78034467", "0.74359363", "0.72061217", "0.6874971", "0.62328494", "0.6100102", "0.5631323", "0.5463596", "0.5377505", "0.53587437", "0.5346134", "0.5165128", "0.5061283", "0.4992109", "0.49337628", "0.4901481", "0.4866304", "0.4861426", "0.48062065", "0.4783141", "0.476101...
0.8226858
0
Sets the true_damage_dealt_to_champions of this LolStatsTeamGame.
def NwmE(YKHO, NwmE): YKHO._true_damage_dealt_to_champions = NwmE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q3X8(YKHO, Q3X8):\n YKHO._magic_damage_dealt_to_champions = Q3X8", "def n21H(YKHO, n21H):\n YKHO._true_damage_dealt = n21H", "def WFo_(YKHO, WFo_):\n YKHO._total_damage_dealt_to_champions = WFo_", "def lMGH(YKHO, lMGH):\n YKHO._physical_damage_dealt_to_champions = lMGH", "def YQGH(YKHO, YQG...
[ "0.77198553", "0.71025556", "0.69968516", "0.68976027", "0.5956086", "0.55418825", "0.55248135", "0.53897387", "0.5361901", "0.5154018", "0.5123562", "0.5119237", "0.5081986", "0.5000916", "0.49964744", "0.49580693", "0.4956659", "0.4931309", "0.4926352", "0.4913904", "0.4913...
0.84636974
0
Sets the total_heal of this LolStatsTeamGame.
def bSzL(YKHO, bSzL): YKHO._total_heal = bSzL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QjY0(YKHO, QjY0):\n YKHO._total_units_healed = QjY0", "def wi7K(YKHO, iVzp):\n if YKHO.hp + iVzp < YKHO.max_hp:\n YKHO.hp += iVzp\n else:\n YKHO.hp = YKHO.max_hp", "def iVzp(YKHO, Z5kt: int) -> str:\n if YKHO.hp + Z5kt > C0Gu:\n Z5kt = C0Gu - YKHO.hp\n aynx = YKHO.hp + Z...
[ "0.6859413", "0.6516858", "0.5804191", "0.5692934", "0.5684895", "0.5650968", "0.5642232", "0.56063056", "0.55835277", "0.5534968", "0.5482959", "0.5463433", "0.53949636", "0.52674735", "0.52674735", "0.52674735", "0.52674735", "0.52674735", "0.52674735", "0.52674735", "0.526...
0.8385051
0
Sets the total_units_healed of this LolStatsTeamGame.
def QjY0(YKHO, QjY0): YKHO._total_units_healed = QjY0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bSzL(YKHO, bSzL):\n YKHO._total_heal = bSzL", "def L1lt(YKHO, L1lt):\n YKHO._total_damage_taken = L1lt", "def hkJx(YKHO, hkJx):\n YKHO._total_minions_killed = hkJx", "def KzYI(YKHO):\n bcP8 = YKHO.get_standard_stats()\n dZPi = YKHO.get_team_stats()\n Zed7 = YKHO.get_opp_team_stats()\n ...
[ "0.6235971", "0.5814958", "0.5421527", "0.53700215", "0.53576297", "0.5270323", "0.52530295", "0.5174288", "0.5163912", "0.5069691", "0.50659233", "0.50348693", "0.5032647", "0.500087", "0.500087", "0.500087", "0.49982315", "0.49738336", "0.49677417", "0.495717", "0.49380636"...
0.8190873
0
Sets the total_damage_taken of this LolStatsTeamGame.
def L1lt(YKHO, L1lt): YKHO._total_damage_taken = L1lt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IZSN(YKHO, IZSN):\n YKHO._magic_damage_taken = IZSN", "def yEeZ(YKHO, yEeZ):\n YKHO._total_damage_dealt = yEeZ", "def SBPK(YKHO, SBPK):\n YKHO._physical_damage_taken = SBPK", "def WFo_(YKHO, WFo_):\n YKHO._total_damage_dealt_to_champions = WFo_", "def yXTF(YKHO, yXTF):\n YKHO._total_play...
[ "0.62446934", "0.6203283", "0.61898994", "0.5937868", "0.5892759", "0.5673338", "0.56026864", "0.559628", "0.55156296", "0.5492688", "0.5474528", "0.5439922", "0.5419961", "0.54167867", "0.54162794", "0.5409217", "0.5390327", "0.53783405", "0.530492", "0.5302419", "0.5236356"...
0.82404226
0
Sets the magic_damage_taken of this LolStatsTeamGame.
def IZSN(YKHO, IZSN): YKHO._magic_damage_taken = IZSN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SBPK(YKHO, SBPK):\n YKHO._physical_damage_taken = SBPK", "def D59_(YKHO, D59_):\n YKHO._tower_damage = D59_", "def L1lt(YKHO, L1lt):\n YKHO._total_damage_taken = L1lt", "def lmKN(YKHO, lmKN):\n YKHO._true_damage_taken = lmKN", "def YQGH(YKHO, YQGH):\n YKHO._magic_damage_dealt = YQGH", ...
[ "0.6174807", "0.60939455", "0.59983486", "0.59941757", "0.5745691", "0.5504919", "0.5385688", "0.5276123", "0.511665", "0.5091942", "0.5036372", "0.49585813", "0.49102408", "0.4897023", "0.4846867", "0.48235705", "0.48113322", "0.48077172", "0.48073667", "0.47667962", "0.4734...
0.7991215
0
Sets the physical_damage_taken of this LolStatsTeamGame.
def SBPK(YKHO, SBPK): YKHO._physical_damage_taken = SBPK
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IZSN(YKHO, IZSN):\n YKHO._magic_damage_taken = IZSN", "def L1lt(YKHO, L1lt):\n YKHO._total_damage_taken = L1lt", "def lmKN(YKHO, lmKN):\n YKHO._true_damage_taken = lmKN", "def D59_(YKHO, D59_):\n YKHO._tower_damage = D59_", "def dnME(YKHO, dnME):\n YKHO._physical_damage_dealt = dnME", ...
[ "0.6574391", "0.65474355", "0.61154944", "0.59185237", "0.5788378", "0.5305879", "0.5178843", "0.49910167", "0.49444208", "0.49372658", "0.4935728", "0.49147326", "0.49014795", "0.4697341", "0.4690042", "0.4688112", "0.4652797", "0.46511847", "0.46285853", "0.46170166", "0.45...
0.79949605
0
Sets the true_damage_taken of this LolStatsTeamGame.
def lmKN(YKHO, lmKN): YKHO._true_damage_taken = lmKN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IZSN(YKHO, IZSN):\n YKHO._magic_damage_taken = IZSN", "def SBPK(YKHO, SBPK):\n YKHO._physical_damage_taken = SBPK", "def L1lt(YKHO, L1lt):\n YKHO._total_damage_taken = L1lt", "def n21H(YKHO, n21H):\n YKHO._true_damage_dealt = n21H", "def D59_(YKHO, D59_):\n YKHO._tower_damage = D59_", ...
[ "0.65282154", "0.6153268", "0.6125436", "0.56721234", "0.5500364", "0.53191286", "0.5243601", "0.5230803", "0.51747876", "0.5144253", "0.5113401", "0.5034283", "0.50069904", "0.49398163", "0.49328092", "0.49173892", "0.49171838", "0.48811084", "0.48163986", "0.48125765", "0.4...
0.7987169
0
Sets the gold_earned of this LolStatsTeamGame.
def POBR(YKHO, POBR): YKHO._gold_earned = POBR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uEus(YKHO, uEus):\n YKHO._gold_per_min = uEus", "def Qhla(YKHO, Qhla):\n YKHO._gold_spent = Qhla", "def sqob(YKHO, T4t1):\n YKHO.gold += T4t1", "def rnIZ(YKHO, rnIZ):\n YKHO._away_team_score = rnIZ", "def DWJE(YKHO, DWJE):\n YKHO._away_team = DWJE", "def Z2JZ(YKHO, Ya3Q):\n YKHO.con...
[ "0.5876666", "0.5759119", "0.5597268", "0.53021246", "0.5249182", "0.5228388", "0.5150372", "0.49752992", "0.49687976", "0.48658228", "0.48658228", "0.480704", "0.4781503", "0.47633094", "0.47567323", "0.47361478", "0.46834096", "0.4667335", "0.4636213", "0.46275184", "0.4620...
0.8619108
0
Sets the gold_spent of this LolStatsTeamGame.
def Qhla(YKHO, Qhla): YKHO._gold_spent = Qhla
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def POBR(YKHO, POBR):\n YKHO._gold_earned = POBR", "def uEus(YKHO, uEus):\n YKHO._gold_per_min = uEus", "def sqob(YKHO, T4t1):\n YKHO.gold += T4t1", "def KzYI(YKHO):\n bcP8 = YKHO.get_standard_stats()\n dZPi = YKHO.get_team_stats()\n Zed7 = YKHO.get_opp_team_stats()\n pO1V = YKHO.get_tea...
[ "0.6016059", "0.5768287", "0.56278276", "0.5453209", "0.50542057", "0.4923472", "0.49074647", "0.49031663", "0.48927873", "0.48701409", "0.48511133", "0.48511133", "0.48511133", "0.48511133", "0.47921133", "0.47768274", "0.4773867", "0.4742378", "0.47230792", "0.47146136", "0...
0.80748326
0
Sets the neutral_minions_k_illed of this LolStatsTeamGame.
def kMUD(YKHO, kMUD): YKHO._neutral_minions_k_illed = kMUD
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LIfv(YKHO, LIfv):\n YKHO._neutral_minions_k_illed_team_jungle = LIfv", "def hTVp(YKHO, hTVp):\n YKHO._neutral_minions_killed_enemy_jungle = hTVp", "def AS6E(YKHO, AS6E):\n YKHO._kills = AS6E", "def Ljrw(YKHO, Ljrw):\n YKHO._kills_per_min = Ljrw", "def hkJx(YKHO, hkJx):\n YKHO._total_mini...
[ "0.7553893", "0.6149367", "0.57203025", "0.5538771", "0.5398704", "0.51978314", "0.5167784", "0.51533484", "0.50103396", "0.5001333", "0.49726048", "0.4972335", "0.4954755", "0.49495584", "0.4938061", "0.4896305", "0.4835171", "0.48207647", "0.4799806", "0.4767198", "0.474412...
0.87231857
0
Sets the vision_wards_bought_in_game of this LolStatsTeamGame.
def Y2UN(YKHO, Y2UN): YKHO._vision_wards_bought_in_game = Y2UN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W5Am(YKHO, W5Am):\n YKHO._sight_wards_bought_in_game = W5Am", "def eKG5(YKHO, eKG5):\n YKHO._face_offs_won = eKG5", "def tumZ(YKHO, tumZ):\n YKHO._wards_killed = tumZ", "def vCkk(YKHO, vCkk):\n YKHO._win_outshoot_opp = vCkk", "def UTqo(YKHO, UTqo):\n YKHO._wards_placed = UTqo", "def Vt...
[ "0.81113505", "0.5307163", "0.5200903", "0.51131237", "0.5112352", "0.50623137", "0.5056586", "0.5056586", "0.5018464", "0.48356545", "0.47582802", "0.4750072", "0.47407368", "0.471592", "0.471592", "0.46656686", "0.4663999", "0.4583661", "0.4579174", "0.45683786", "0.4559659...
0.8872322
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, Izsl): 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
Quickly identify whether a series contains more than 1 distinct value
def Akqa(dy_H: np.ndarray) -> bool: if len(dy_H) <= 1: return False E_TU = None for YRbF in range(1, len(dy_H)): if dy_H[YRbF] != E_TU: if E_TU is None: E_TU = dy_H.data[YRbF] else: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aApz(KCHu):\n jzdc = KCHu.to_numpy()\n return (jzdc[0] == jzdc).all()", "def aApz(WKvO):\n return len(set(WKvO)) == len(WKvO)", "def kcmw(Q6uT):\n return len(Q6uT) == len(set(Q6uT))", "def BDoq(exwG):\n ovg3 = str(exwG)\n return len(ovg3) == len(set(ovg3))", "def obGi(YKHO, xYvp: List...
[ "0.72403795", "0.7142758", "0.7075137", "0.6542755", "0.6509165", "0.6453014", "0.64200115", "0.6415636", "0.6378587", "0.63772196", "0.6277589", "0.6229018", "0.6221599", "0.6202743", "0.61545104", "0.6130351", "0.61030966", "0.60994184", "0.6088143", "0.6078976", "0.6076169...
0.5658421
56
Choose a variable at random from the set of splittable variables Returns str a variable name that can be split on
def oE_J(YKHO) -> str: if YKHO.is_at_least_one_splittable_variable(): hlel = oyIN.random.choice(oyIN.array(YKHO.splittable_variables()), 1)[0] return hlel else: raise I_hr()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q0Ir(XuY2):\n return tuKI.choice(XuY2)", "def KO7m():\n return tuKI.choice(['concatenate', 'concatenate', 'concatenate'])", "def HvHm():\n return tuKI.choice(UBS5) + '_' + tuKI.choice(CmUS)", "def Xg5v():\n SRYB = tuKI.choice(DUii)\n DUii.remove(SRYB)\n return SRYB", "def gmBl(YKHO, g...
[ "0.74896026", "0.6250718", "0.60365015", "0.60270375", "0.59313554", "0.58190274", "0.57919014", "0.5783276", "0.5778537", "0.57704556", "0.57559144", "0.5751686", "0.572386", "0.5720365", "0.5696701", "0.5687411", "0.56764585", "0.56683105", "0.56631017", "0.5653476", "0.564...
0.6739524
1
Identify whether feature contains only unique values, i.e. it has no duplicated values Useful to provide a faster way to calculate the probability of a value being selected in a variable Returns List[int]
def vpKm(YKHO, YRbF: int) -> bool: if YKHO._unique_columns[YRbF] is None: YKHO._unique_columns[YRbF] = len(oyIN.unique(YKHO.get_column(YRbF))) == YKHO._n_obsv hlel = YKHO._unique_columns[YRbF] return hlel
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D4eB(YKHO):\n return GIfl", "def DV61(YKHO):\n AtJO = len(YKHO.df[YKHO.col_name].unique())\n return AtJO", "def EYJp(YKHO) -> fHNa[int]:\n return {WKvO for WKvO in ONqV.UNIVERSE_OF_TILE_VALUES if WKvO not in YKHO._row and WKvO not in YKHO._column and (WKvO not in YKHO._box)}", "def vaOw(SRYB)...
[ "0.6628855", "0.66232497", "0.6540773", "0.6333208", "0.63077545", "0.62661034", "0.6220957", "0.6186206", "0.61564434", "0.6133004", "0.6071856", "0.6038317", "0.60283816", "0.6012944", "0.59706634", "0.59513456", "0.5923223", "0.5910306", "0.5903488", "0.5901066", "0.589573...
0.0
-1
Normalize y into the range (0.5, 0.5) Useful for allowing the leaf parameter prior to be 0, and to standardize the sigma prior
def XTtp(LVAh: np.ndarray) -> oyIN.ndarray: KDmU, rwK9 = (oyIN.min(LVAh), oyIN.max(LVAh)) hlel = -0.5 + (LVAh - KDmU) / (rwK9 - KDmU) return hlel
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def suH_(LVAh, THQL, FlKN, BGiU=False):\n if not BGiU:\n return LVAh * FlKN + THQL\n else:\n return LVAh * FlKN", "def rS4L(LVAh):\n LVAh = LVAh.copy()\n LVAh -= LVAh.mean()\n LVAh /= LVAh.std()\n return LVAh", "def NkkI(YKHO, vNEp=None) -> oyIN.array:\n return YKHO.y / oyIN....
[ "0.6827259", "0.6463445", "0.6302323", "0.61126107", "0.6048823", "0.5970111", "0.595618", "0.5891516", "0.58850604", "0.588391", "0.5829071", "0.5821494", "0.58209383", "0.5802048", "0.57533073", "0.5744013", "0.57303196", "0.5723295", "0.571871", "0.569827", "0.56949353", ...
0.77289015
0
Returns ``True`` if credentials can be updated directly.
def vL6O(Vt89: Credentials) -> bool: if Vt89.base_url == EnVA: return True if Vt89.base_url in (FMYV, swqY, O9Je): if Vt89.base_url == Vt89.url: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vt89(YKHO):\n return True", "def sp3H(YKHO):\n return YKHO.username and YKHO.password and YKHO.url and YKHO.xml_rpc", "def v2bi(geh0):\n Vt89 = getattr(WsL5.g, '_credentials', None)\n if Vt89 is not None:\n GPtr = rtio()\n c5Uj = Vt89.to_json()\n if GPtr.credentials != c5Uj...
[ "0.68011355", "0.6657057", "0.658802", "0.6474138", "0.6389873", "0.63276404", "0.6202337", "0.6151516", "0.61509186", "0.615052", "0.613814", "0.61256343", "0.6118167", "0.61124957", "0.61108917", "0.61013114", "0.60943335", "0.6092022", "0.60357577", "0.6023789", "0.6023065...
0.7435469
0
a valid API key.
def thd8(wOGa): wOGa.api_key['apiKeyAuth'] = Hy7s.getenv('DD_TEST_CLIENT_API_KEY', 'fake')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "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 WXSU(YKHO):\n return 1", "def WXSU(YKHO):\n raise NotImplementedError()", "def WXSU(YKHO):\n return 0", "def crB6(YKHO):\n try:\n YKHO.maps.p...
[ "0.77320856", "0.7329465", "0.73283625", "0.7297513", "0.72794944", "0.72751987", "0.72751987", "0.72604114", "0.72593576", "0.7259319", "0.7256968", "0.7256968", "0.7256968", "0.7256968", "0.7219383", "0.71990776", "0.71948904", "0.71811813", "0.71619415", "0.71541786", "0.7...
0.7471092
1
Sets up the window and widgets
def FIMM(YKHO): LQRw.__init__(YKHO) YKHO.master.title('GUIs drawing geometric shapes') YKHO.grid() YKHO.canvas = _EyF(YKHO, width=300, height=400) YKHO.canvas.grid(row=0, column=0) YKHO.canvas.create_rectangle(100, 50, 200, 350) YKHO.canvas.create_oval(100, 50, 200, 150, fill='white', tags='...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eCGt(YKHO):\n YKHO.ui.setup_window()", "def edgV(YKHO):\n YKHO.setGeometry(100, 100, 300, 200)\n YKHO.setWindowTitle('Event Handling Example')\n YKHO.show()", "def zvL6(YKHO):\n YKHO.main_menu_window = hSph.MainMenuFrame(YKHO.uiCoordinator)\n YKHO.menu_window = YKHO.main_menu_window._mf\n...
[ "0.7984563", "0.78484935", "0.7847476", "0.77687436", "0.7732784", "0.7595309", "0.7557653", "0.7533957", "0.75149214", "0.74836224", "0.7482231", "0.74538517", "0.7432631", "0.7411249", "0.7396162", "0.73926765", "0.73749506", "0.7368309", "0.7357083", "0.72914", "0.7177986"...
0.0
-1
Sets the name of this WrappedChannel.
def mWFP(YKHO, mWFP): if mWFP is None: raise ValueError('Invalid value for `name`, must not be `None`') YKHO._name = mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WZrJ(YKHO, mWFP):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP: str):\n YKHO._name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.__name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.__name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.__name = mWFP", "def WZrJ(YKHO, XWXe):\n YKHO.name = XWXe", "def WZrJ...
[ "0.7494786", "0.7471239", "0.74514264", "0.74514264", "0.7433107", "0.7410956", "0.7410835", "0.7410835", "0.7410835", "0.7410835", "0.7410835", "0.73097545", "0.7303638", "0.72507864", "0.72257775", "0.72257775", "0.72257775", "0.72257775", "0.72002596", "0.7189781", "0.7165...
0.0
-1
Sets the id of this WrappedChannel.
def id(YKHO, id): if id is None: raise ValueError('Invalid value for `id`, must not be `None`') YKHO._id = id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V_9M(YKHO, id):\n YKHO.__id = id", "def ekm0(YKHO, id):\n YKHO._id = id\n return YKHO.callRemote('setID', id)", "def V_9M(YKHO, hbFX):\n YKHO.id_ = hbFX", "def LOJ7(YKHO, LOJ7):\n YKHO._channel_id = LOJ7", "def V_9M(YKHO, id):\n YKHO.data['id'] = id", "def id(YKHO, id):\n YKHO._i...
[ "0.74098694", "0.7301882", "0.7287525", "0.7189487", "0.7168606", "0.7142267", "0.7142267", "0.7142267", "0.7142267", "0.7142267", "0.7077602", "0.7040367", "0.7040367", "0.7040367", "0.7040367", "0.7040367", "0.7040367", "0.7040367", "0.7040367", "0.7040367", "0.7040367", ...
0.0
-1
Sets the created_at of this WrappedChannel.
def aJ2e(YKHO, aJ2e): if aJ2e is None: raise ValueError('Invalid value for `created_at`, must not be `None`') YKHO._created_at = aJ2e
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aJ2e(YKHO, aJ2e):\n YKHO._created_at = aJ2e", "def aJ2e(YKHO, aJ2e):\n YKHO._created_at = aJ2e", "def aJ2e(YKHO, aJ2e):\n YKHO._created_at = aJ2e", "def aJ2e(YKHO, aJ2e):\n YKHO._created_at = aJ2e", "def aJ2e(YKHO, aJ2e):\n YKHO._created_at = aJ2e", "def aJ2e(YKHO, aJ2e):\n YKHO._cr...
[ "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.768672", "0.7664982", "0.7358558", "0.7358558", "0.7358558", "0.72273546", "0...
0.7165128
23
Sets the package_id of this WrappedChannel.
def oldI(YKHO, oldI): if oldI is None: raise ValueError('Invalid value for `package_id`, must not be `None`') YKHO._package_id = oldI
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oldI(YKHO, oldI):\n YKHO._package_id = oldI", "def LOJ7(YKHO, LOJ7):\n YKHO._channel_id = LOJ7", "def B5hb(YKHO, B5hb):\n YKHO._package = B5hb", "def Qxfe(YKHO, sKYw):\n YKHO.pkg = sKYw", "def hE03(YKHO, hE03):\n YKHO._group_id = hE03", "def hE03(YKHO, hE03):\n YKHO._group_id = hE03...
[ "0.83073866", "0.67015165", "0.6464246", "0.61539716", "0.61365527", "0.61365527", "0.61365527", "0.61365527", "0.61365527", "0.61365527", "0.58245933", "0.5779983", "0.56672245", "0.56574917", "0.5638053", "0.55306524", "0.5522576", "0.5514647", "0.5504797", "0.5493545", "0....
0.72573835
1
Sets the start of this WrappedChannel.
def yKcO(YKHO, yKcO): if yKcO is None: raise ValueError('Invalid value for `start`, must not be `None`') YKHO._start = yKcO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yKcO(YKHO, yKcO):\n YKHO._start = yKcO", "def yKcO(YKHO, yKcO):\n YKHO._start = yKcO", "def yKcO(YKHO, yKcO):\n YKHO._start = yKcO", "def yKcO(YKHO, yKcO):\n YKHO._start = yKcO", "def AVeu(YKHO, JtoP):\n YKHO.__start_line = JtoP", "def yKcO(YKHO, yKcO: pos.Pos) -> None:\n YKHO.__sta...
[ "0.7564249", "0.7564249", "0.7564249", "0.7564249", "0.7237652", "0.70537776", "0.67805624", "0.65911055", "0.649068", "0.63010246", "0.6282839", "0.6269031", "0.6192287", "0.6165483", "0.6107638", "0.6087088", "0.6083288", "0.6034127", "0.60201997", "0.6020192", "0.59895307"...
0.64424855
9
Sets the group of this WrappedChannel.
def uOe2(YKHO, uOe2): YKHO._group = uOe2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def scR9(YKHO, uOe2):\n YKHO._group = uOe2", "def scR9(YKHO, uOe2: str) -> None:\n YKHO.group = uOe2", "def uOe2(YKHO, uOe2):\n YKHO._group = uOe2", "def QYWb(YKHO, uOe2):\n YKHO.config.GROUP = uOe2", "def scR9(YKHO, uOe2):\n if YKHO.get_group_metadata().is_read_only():\n raise UAju.N...
[ "0.8350777", "0.8117652", "0.80235726", "0.77244765", "0.748948", "0.74617624", "0.7366963", "0.72867996", "0.7190034", "0.6983952", "0.69735223", "0.6876415", "0.68388975", "0.68388975", "0.68388975", "0.68388975", "0.68388975", "0.68388975", "0.6808673", "0.65321106", "0.64...
0.7982403
5
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, DzNb): 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