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 |
|---|---|---|---|---|---|---|
The actual size of Snapshot. | def PHBz(YKHO) -> str:
return qe4Y.get(YKHO, 'actual_bytes') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zNig(YKHO):\n return YKHO.blob.size",
"def jiw9(YKHO):\n return YKHO.size",
"def jiw9(YKHO):\n return YKHO.size",
"def jiw9(YKHO):\n return YKHO.size",
"def jiw9(YKHO):\n return YKHO.size",
"def jiw9(YKHO):\n return YKHO.size",
"def jiw9(YKHO):\n return YKHO.size",
"def jiw9(... | [
"0.8099129",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.80385387",
"0.79868084",
"0.7978763",
"0.79625463",
"0.79625463",
"0.79625463",
... | 0.0 | -1 |
The error message of recovery task execution. | def rhwM(YKHO) -> str:
return qe4Y.get(YKHO, 'error_message') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rhwM(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def rhwM(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'error_message')",
"def jv0C(YKHO):\n return YKHO.ask(':SYST:ERR?')",
"def YXxD(YKHO):\n return YKHO._err_msg",
"def s27M(YKHO, smSl, zEq3):\n return 'T... | [
"0.7174775",
"0.7174775",
"0.715967",
"0.7081541",
"0.69507307",
"0.6937913",
"0.68187827",
"0.6811665",
"0.6809493",
"0.67729276",
"0.6741945",
"0.6739618",
"0.6739618",
"0.6739618",
"0.6739618",
"0.6729256",
"0.6666598",
"0.6640811",
"0.66368645",
"0.6630219",
"0.6618552",
... | 0.697291 | 4 |
The expiration time of restore job. Unix Time in seconds. | def e2iN(YKHO) -> str:
return qe4Y.get(YKHO, 'expire_time') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NvZq(YKHO):\n return wzkt() - fCoM(minutes=gCuF.SHOP_CART_EXPIRY_MINUTES)",
"def OBx7(YKHO) -> float:\n return qe4Y.get(YKHO, 'expiration_time')",
"def NvZq(YKHO):\n return wzkt() - fCoM(minutes=gCuF.SHOP_CART_EXPIRY_MINUTES)",
"def OBx7(YKHO) -> str:\n return qe4Y.get(YKHO, 'expiration_time'... | [
"0.7432133",
"0.7417105",
"0.741645",
"0.7271326",
"0.7271326",
"0.7213138",
"0.7213138",
"0.71577173",
"0.7150933",
"0.71264243",
"0.70432645",
"0.692092",
"0.6909007",
"0.6909007",
"0.6897517",
"0.6893572",
"0.68018115",
"0.67986673",
"0.6714554",
"0.66998875",
"0.66727483"... | 0.67382145 | 18 |
The ID of the restore job. | def id(YKHO) -> str:
return qe4Y.get(YKHO, 'id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rAwn(YKHO) -> str:\n return qe4Y.get(YKHO, 'restore_job_id')",
"def orrc(YKHO) -> str:\n return qe4Y.get(YKHO, 'restore_id')",
"def rjee(YKHO) -> str:\n return YKHO._azure_job.id",
"def q3vm(YKHO):\n return YKHO.job_id",
"def rjee(YKHO) -> str:\n return qe4Y.get(YKHO, 'job_id')",
"def ... | [
"0.89384985",
"0.8043164",
"0.80137116",
"0.7977991",
"0.79623216",
"0.79623216",
"0.79538727",
"0.79538727",
"0.79538727",
"0.79538727",
"0.79538727",
"0.79538727",
"0.79538727",
"0.7878142",
"0.7849568",
"0.76672345",
"0.76672345",
"0.7651702",
"0.7585858",
"0.7446059",
"0.... | 0.0 | -1 |
The ID of restore job. | def rAwn(YKHO) -> str:
return qe4Y.get(YKHO, 'restore_job_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def orrc(YKHO) -> str:\n return qe4Y.get(YKHO, 'restore_id')",
"def rjee(YKHO) -> str:\n return YKHO._azure_job.id",
"def ozYs(YKHO) -> str:\n return qe4Y.get(YKHO, 'backup_job_id')",
"def q3vm(YKHO):\n return YKHO.job_id",
"def rjee(YKHO):\n return YKHO._job_id",
"def rjee(YKHO):\n ret... | [
"0.81254697",
"0.780448",
"0.77848303",
"0.7774483",
"0.77489996",
"0.77489996",
"0.77489996",
"0.77489996",
"0.77489996",
"0.77489996",
"0.77489996",
"0.77306116",
"0.77306116",
"0.7624399",
"0.7457322",
"0.7446983",
"0.7446983",
"0.73361295",
"0.72350603",
"0.723351",
"0.71... | 0.89924186 | 0 |
The ID of Snapshot. | def TpGz(YKHO) -> str:
return qe4Y.get(YKHO, 'snapshot_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TpGz(YKHO) -> str:\n return str(YKHO._json_dict['snapshot_id'])",
"def TpGz(YKHO) -> str:\n return str(YKHO._json_dict['snapshot_id'])",
"def TpGz(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YK... | [
"0.83888185",
"0.83888185",
"0.82604617",
"0.82604617",
"0.82604617",
"0.815058",
"0.8065151",
"0.78350794",
"0.78350794",
"0.78350794",
"0.72321546",
"0.7135124",
"0.70444065",
"0.70237046",
"0.6973473",
"0.6964316",
"0.6964316",
"0.6964316",
"0.6964316",
"0.6964316",
"0.696... | 0.872504 | 0 |
The start time of restore job. Unix Time in Seconds. | def SWox(YKHO) -> str:
return qe4Y.get(YKHO, 'start_time') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JJNR(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'start_restore_time')",
"def Kz78(YKHO) -> str:\n return qe4Y.get(YKHO, 'min_restore_time')",
"def R4lU(YKHO):\n return YKHO.start",
"def SWox(YKHO):\n return YKHO.start().time",
"def SWox(YKHO):\n return YKHO.start().time",
... | [
"0.80630225",
"0.75468004",
"0.7244983",
"0.71663016",
"0.71663016",
"0.7100991",
"0.70990807",
"0.70949453",
"0.7094641",
"0.7094323",
"0.7051094",
"0.7042893",
"0.7036489",
"0.7032223",
"0.7028093",
"0.7026514",
"0.6981335",
"0.6981335",
"0.6981335",
"0.6981335",
"0.6981335... | 0.69926304 | 18 |
The status of restore job. | def jGRS(YKHO) -> str:
return qe4Y.get(YKHO, 'status') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jGRS(YKHO):\n return YKHO._update_job()['executionStatus']['state']",
"def jGRS(YKHO) -> str:\n YKHO._azure_job.refresh()\n return YKHO._azure_job.details.status",
"def lGar(YKHO, Rwel):\n return Rwel.job and Rwel.job.status",
"def jGRS(YKHO):\n return YKHO.describe_job().get('status', 'N/... | [
"0.72988075",
"0.72848326",
"0.72638214",
"0.7256644",
"0.7047544",
"0.6939128",
"0.69168544",
"0.6871794",
"0.68419766",
"0.680248",
"0.67684734",
"0.66867495",
"0.6607563",
"0.6597913",
"0.6597913",
"0.65861297",
"0.6569356",
"0.65690595",
"0.6560972",
"0.65559596",
"0.6524... | 0.0 | -1 |
The ID of destination file system. | def I_7b(YKHO) -> str:
return qe4Y.get(YKHO, 'target_file_system_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QxCt(YKHO):\n return zZ1q(YKHO._my_map['destinationId'])",
"def aUdr(YKHO) -> str:\n return qe4Y.get(YKHO, 'file_system_id')",
"def aUdr(YKHO) -> str:\n return qe4Y.get(YKHO, 'file_system_id')",
"def aUdr(YKHO) -> str:\n return qe4Y.get(YKHO, 'file_system_id')",
"def aUdr(YKHO) -> str:\n ... | [
"0.7267446",
"0.71286803",
"0.71286803",
"0.71286803",
"0.71286803",
"0.6997948",
"0.69468945",
"0.6743801",
"0.67345876",
"0.66766834",
"0.66527134",
"0.66060096",
"0.65934074",
"0.65595305",
"0.65408856",
"0.6538369",
"0.6452549",
"0.63710415",
"0.63497573",
"0.6345893",
"0... | 0.7474676 | 0 |
The ID of backup vault. | def cohK(YKHO) -> str:
return qe4Y.get(YKHO, 'vault_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cohK(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'vault_id')",
"def RjST(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'backup_id')",
"def itQR(YKHO):\n return YKHO._catalog_id",
"def itQR(YKHO):\n return YKHO._catalog_id",
"def itQR(YKHO):\n return YKHO._catalog_id",
"def RjST(YK... | [
"0.78958625",
"0.769309",
"0.762307",
"0.762307",
"0.762307",
"0.74603426",
"0.7430875",
"0.72791296",
"0.72791296",
"0.7219695",
"0.7201187",
"0.69663745",
"0.6902928",
"0.68235433",
"0.68177325",
"0.6768301",
"0.6687197",
"0.66637236",
"0.6592789",
"0.6530483",
"0.6486823",... | 0.81943256 | 2 |
The ID of the server backup plan. | def rm41(YKHO) -> str:
return qe4Y.get(YKHO, 'ecs_server_backup_plan_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GhE3(YKHO) -> str:\n return qe4Y.get(YKHO, 'ots_backup_plan_id')",
"def yl8Q(YKHO) -> str:\n return qe4Y.get(YKHO, 'ecs_backup_plan_id')",
"def Cd_l(YKHO) -> str:\n return qe4Y.get(YKHO, 'nas_backup_plan_id')",
"def wERM(YKHO) -> str:\n return qe4Y.get(YKHO, 'plan_id')",
"def wERM(YKHO) -> ... | [
"0.8508896",
"0.8388988",
"0.82315445",
"0.80812246",
"0.80812246",
"0.80812246",
"0.80702114",
"0.77032965",
"0.73002356",
"0.71184283",
"0.70263755",
"0.6980217",
"0.6913313",
"0.6884286",
"0.68011713",
"0.67915285",
"0.6759847",
"0.6749724",
"0.6705915",
"0.66805726",
"0.6... | 0.8839908 | 0 |
The ID of the server backup plan. | def id(YKHO) -> str:
return qe4Y.get(YKHO, 'id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rm41(YKHO) -> str:\n return qe4Y.get(YKHO, 'ecs_server_backup_plan_id')",
"def GhE3(YKHO) -> str:\n return qe4Y.get(YKHO, 'ots_backup_plan_id')",
"def yl8Q(YKHO) -> str:\n return qe4Y.get(YKHO, 'ecs_backup_plan_id')",
"def Cd_l(YKHO) -> str:\n return qe4Y.get(YKHO, 'nas_backup_plan_id')",
"... | [
"0.8839908",
"0.8508896",
"0.8388988",
"0.82315445",
"0.80812246",
"0.80812246",
"0.80812246",
"0.80702114",
"0.77032965",
"0.73002356",
"0.71184283",
"0.70263755",
"0.6980217",
"0.6913313",
"0.6884286",
"0.68011713",
"0.67915285",
"0.6759847",
"0.6749724",
"0.6705915",
"0.66... | 0.0 | -1 |
The ID of ECS Instance. | def o_gm(YKHO) -> str:
return qe4Y.get(YKHO, 'instance_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o_gm(YKHO) -> int:\n return qe4Y.get(YKHO, 'instance_id')",
"def o_gm(YKHO) -> str:\n pass",
"def o_gm():\n return gP7g.utils.get_instance_metadata()['instance-id']",
"def o_gm():\n return qgI7.metadata.get('instance-id')",
"def Pl65(YKHO):\n return YKHO.__instanceId",
"def o_gm(YKHO) ... | [
"0.8264476",
"0.8196082",
"0.80639094",
"0.797742",
"0.7957752",
"0.7934613",
"0.7934613",
"0.7934613",
"0.7934613",
"0.7934613",
"0.7934613",
"0.7934613",
"0.7934613",
"0.79116106",
"0.7898568",
"0.78901297",
"0.78741425",
"0.78703415",
"0.78376573",
"0.7834076",
"0.7834076"... | 0.8340751 | 0 |
The name of OSS bucket. | def WE7e(YKHO) -> str:
return qe4Y.get(YKHO, 'bucket') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')",
"def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')",
"def l7rj(YKHO) -> str:\n return qe4Y.get(YKHO, 'bucket_name')",
"def w0UR(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'oss_bucket_name')",
"def w0UR(YKHO) -> ... | [
"0.851609",
"0.851609",
"0.851609",
"0.85140294",
"0.83759075",
"0.8318661",
"0.8299328",
"0.80549276",
"0.80324686",
"0.80083287",
"0.7947524",
"0.7936311",
"0.78916764",
"0.78916764",
"0.78916764",
"0.78916764",
"0.78916764",
"0.78916764",
"0.78916764",
"0.78916764",
"0.789... | 0.7897248 | 12 |
The ID of ECS backup client. | def zb3C(YKHO) -> str:
return qe4Y.get(YKHO, 'client_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tKHy(YKHO) -> str:\n return qe4Y.get(YKHO, 'ecs_backup_client_id')",
"def zb3C(YKHO) -> str:\n return YKHO.database.client.id",
"def zb3C(YKHO):\n return str(Nly5.client.get('pk', 'default_client'))",
"def zb3C(YKHO) -> str:\n return YKHO._client_id",
"def zb3C(YKHO) -> str:\n return YKH... | [
"0.90466493",
"0.79772973",
"0.79576725",
"0.76543546",
"0.76543546",
"0.75169545",
"0.7516265",
"0.7516265",
"0.7516265",
"0.7516265",
"0.74847376",
"0.7455931",
"0.745226",
"0.73998886",
"0.73472166",
"0.7346313",
"0.72905505",
"0.7270074",
"0.7171851",
"0.7149635",
"0.7149... | 0.76784784 | 3 |
The ID of the Snapshot. | def id(YKHO) -> str:
return qe4Y.get(YKHO, 'id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TpGz(YKHO) -> str:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YKHO) -> str:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YKHO) -> str:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YKHO) -> str:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YKHO) -> str:\n return ... | [
"0.8656825",
"0.8656825",
"0.8656825",
"0.8656825",
"0.8656825",
"0.831281",
"0.831281",
"0.8190814",
"0.8190814",
"0.8190814",
"0.8083611",
"0.8008023",
"0.7783014",
"0.7783014",
"0.7783014",
"0.7306992",
"0.7291165",
"0.7242227",
"0.724006",
"0.7222193",
"0.7212997",
"0.7... | 0.0 | -1 |
The ID of ECS instance. | def o_gm(YKHO) -> str:
return qe4Y.get(YKHO, 'instance_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o_gm(YKHO) -> int:\n return qe4Y.get(YKHO, 'instance_id')",
"def o_gm(YKHO) -> str:\n pass",
"def o_gm():\n return gP7g.utils.get_instance_metadata()['instance-id']",
"def o_gm():\n return qgI7.metadata.get('instance-id')",
"def o_gm(YKHO):\n return YKHO.fetch('id')",
"def Pl65(YKHO):\... | [
"0.82356375",
"0.81619793",
"0.80100095",
"0.79540586",
"0.7945895",
"0.79285085",
"0.7921631",
"0.7869439",
"0.7869439",
"0.7869439",
"0.7869439",
"0.7869439",
"0.7869439",
"0.7869439",
"0.7869439",
"0.78444594",
"0.7840084",
"0.7840084",
"0.7840084",
"0.7837425",
"0.7822481... | 0.8298123 | 1 |
The job ID of backup task. | def rjee(YKHO) -> str:
return qe4Y.get(YKHO, 'job_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ozYs(YKHO) -> str:\n return qe4Y.get(YKHO, 'backup_job_id')",
"def rjee(YKHO) -> str:\n return YKHO._azure_job.id",
"def q3vm(YKHO):\n return YKHO.job_id",
"def rjee(YKHO):\n return YKHO._job_id",
"def rjee(YKHO):\n return YKHO._job_id",
"def rjee(YKHO):\n return YKHO._job_id",
"d... | [
"0.909375",
"0.80943215",
"0.79849005",
"0.79696953",
"0.79696953",
"0.79696953",
"0.79696953",
"0.79696953",
"0.79696953",
"0.79696953",
"0.7872511",
"0.7819809",
"0.78140444",
"0.7717674",
"0.7717674",
"0.7660846",
"0.761802",
"0.75114393",
"0.7505372",
"0.74864125",
"0.743... | 0.8107167 | 2 |
The hashcode of parent backup snapshot. | def goBz(YKHO) -> str:
return qe4Y.get(YKHO, 'parent_snapshot_hash') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hNBQ(YKHO) -> bytes:\n return YKHO.parents[0]",
"def Pv7Z(YKHO):\n return CVtN(YKHO.uploader._tree_hashes)",
"def EsMw(YKHO):\n return YKHO._parent_snapshot_name",
"def yumv(YKHO) -> bytes:\n if YKHO.parent:\n s7Zb = YKHO.parent.fingerprint()\n else:\n s7Zb = YKHO.parsed_pare... | [
"0.7780678",
"0.7122855",
"0.7061095",
"0.69958895",
"0.6908033",
"0.6908033",
"0.6908033",
"0.6781865",
"0.6747821",
"0.66913474",
"0.66737944",
"0.6669148",
"0.6669148",
"0.6669148",
"0.6667116",
"0.66196656",
"0.6599339",
"0.65984446",
"0.6579678",
"0.6579636",
"0.65733373... | 0.8525812 | 1 |
The ID of the Snapshot. | def TpGz(YKHO) -> str:
return qe4Y.get(YKHO, 'snapshot_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TpGz(YKHO) -> str:\n return str(YKHO._json_dict['snapshot_id'])",
"def TpGz(YKHO) -> str:\n return str(YKHO._json_dict['snapshot_id'])",
"def TpGz(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'snapshot_id')",
"def TpGz(YK... | [
"0.831281",
"0.831281",
"0.8190814",
"0.8190814",
"0.8190814",
"0.8083611",
"0.8008023",
"0.7783014",
"0.7783014",
"0.7783014",
"0.7306992",
"0.7291165",
"0.7242227",
"0.724006",
"0.7222193",
"0.7212997",
"0.72123706",
"0.7190124",
"0.7190124",
"0.7190124",
"0.7190124",
"0.... | 0.8656825 | 2 |
The start time of the snapshot. UNIX time in seconds. | def SWox(YKHO) -> str:
return qe4Y.get(YKHO, 'start_time') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SWox(YKHO) -> float:\n return YKHO._start_time",
"def R4lU(YKHO):\n return YKHO.start",
"def SWox(YKHO):\n return YKHO.start().time",
"def SWox(YKHO):\n return YKHO.start().time",
"def SWox(YKHO):\n if YKHO.start():\n return YKHO.start().time\n else:\n return None",
"d... | [
"0.78807443",
"0.78770375",
"0.7873477",
"0.7873477",
"0.77867174",
"0.77707565",
"0.77163523",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.77001643",
"0.7686509",
... | 0.7492222 | 39 |
The name of the OSS bucket of the Vault. | def l7rj(YKHO) -> str:
return qe4Y.get(YKHO, 'bucket_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def w0UR(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'oss_bucket_name')",
"def w0UR(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'oss_bucket_name')",
"def w0UR(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'oss_bucket_name')",
"def WE7e(YKHO) -> str:\n return qe4Y.get(YKHO, ... | [
"0.81487757",
"0.8024964",
"0.79660994",
"0.7853317",
"0.7853317",
"0.7853317",
"0.7853317",
"0.7853317",
"0.7853317",
"0.7853317",
"0.7833931",
"0.7638535",
"0.7583516",
"0.7551019",
"0.755085",
"0.7519952",
"0.7519952",
"0.7519952",
"0.7519952",
"0.7519952",
"0.7519952",
... | 0.81234384 | 1 |
The ID of vault. | def id(YKHO) -> str:
return qe4Y.get(YKHO, 'id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKH... | [
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.922208",
"0.8738795",
"0.847846",
"0.8282789",
"0.8282789",
"0.8282789",
"0.8267996",
"0.78338695",
"0.7660955",
"0.7603509",
"0.7400428",
"0.7021287",... | 0.68988574 | 60 |
The time of the last remote backup synchronization. | def Po3f(YKHO) -> str:
return qe4Y.get(YKHO, 'latest_replication_time') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def b_5B(YKHO):\n if 'lastBackupTime' in YKHO._commonProperties:\n if YKHO._commonProperties['lastBackupTime'] != 0:\n fKN6 = ITS7.ctime(YKHO._commonProperties['lastBackupTime'])\n return fKN6\n return 0",
"def rURK(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_sync_time')",
... | [
"0.81646085",
"0.80003273",
"0.80003273",
"0.7817099",
"0.77591646",
"0.77591646",
"0.77591646",
"0.77591646",
"0.77591646",
"0.77591646",
"0.77591646",
"0.77591646",
"0.77591646",
"0.7717988",
"0.7523659",
"0.7511676",
"0.7493471",
"0.7483681",
"0.7383437",
"0.7383437",
"0.7... | 0.7372091 | 21 |
The source vault ID of the remote backup Vault. | def SSuh(YKHO) -> str:
return qe4Y.get(YKHO, 'replication_source_vault_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKH... | [
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.71563995",
"0.69911826",
"0.69557816",
"0.6922955",
"0.69205034",
"0.69205034",
"0.6851261",
"0.66738236",
"0.6626864",
"0.6626864",
... | 0.79881895 | 0 |
The ID of vault, same as `id`. | def cohK(YKHO) -> str:
return qe4Y.get(YKHO, 'vault_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cohK(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'vault_id')",
"def itQR(YKHO):\n return YKHO._catalog_id",
"def itQR(YKHO):\n ... | [
"0.8190747",
"0.8142394",
"0.79674405",
"0.7502038",
"0.7502038",
"0.7502038",
"0.7266862",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0.72360206",
"0... | 0.8603777 | 4 |
The name of vault. | def uNem(YKHO) -> str:
return qe4Y.get(YKHO, 'vault_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QpY_(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'target_vault_name')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n return qe4Y.get(YKHO, 'vault_id')",
"def cohK(YKHO) -> str:\n ... | [
"0.73918545",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.73399293",
"0.7276217",
"0.7124387",
"0.7070663",
"0.6943904",
"0.6896357",
"0.67875504",
"0.67678344",
"0.67255116",
"... | 0.92587763 | 1 |
Return all Student objects. | def D_5z(YKHO):
return YKHO.student_index.values() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KTMK():\n from soc.models.student import Student\n eK5b = lambda: Student.all().filter('status = ', 'active')\n return sXTW.deepFetch(eK5b)",
"def VLXD(YKHO):\n return G8qb.objects.filter(grade=YKHO.grade)",
"def ytm2(YKHO) -> x1iM[G8qb]:\n return YKHO._students",
"def Wam0(YKHO):\n YKH... | [
"0.8036447",
"0.7973258",
"0.794131",
"0.7935088",
"0.77214205",
"0.76976717",
"0.76572615",
"0.7591323",
"0.7418637",
"0.7379864",
"0.73721206",
"0.73014736",
"0.7290605",
"0.72827005",
"0.71179193",
"0.70312685",
"0.7018936",
"0.69601357",
"0.69508797",
"0.6945075",
"0.6942... | 0.72836 | 13 |
Sets the next_update of this X509Crl. | def fzBo(YKHO, fzBo):
YKHO._next_update = fzBo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HmT9(YKHO, HmT9):\n YKHO._next_update_on = HmT9",
"def JumH(YKHO, BWXx: datetime) -> None:\n YKHO._next = BWXx",
"def owwe(YKHO, lbA4):\n YKHO.__next = lbA4",
"def jM26(YKHO, next):\n YKHO.next = next",
"def JumH(YKHO, next):\n YKHO.next = next",
"def owwe(YKHO, lbA4):\n YKHO.next =... | [
"0.6571615",
"0.60753167",
"0.59701896",
"0.58487314",
"0.58480984",
"0.5799214",
"0.57895106",
"0.57762414",
"0.5723852",
"0.56925476",
"0.56925476",
"0.56424445",
"0.5565871",
"0.55493563",
"0.54612744",
"0.53945976",
"0.53886217",
"0.5371442",
"0.5293041",
"0.5271045",
"0.... | 0.77312505 | 0 |
Sets the version of this X509Crl. | def DpZH(YKHO, DpZH):
YKHO._version = DpZH | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kPSh(YKHO, kPSh):\n YKHO._cns_version = kPSh",
"def R2V2(YKHO, DpZH):\n YKHO._version = DpZH",
"def R2V2(YKHO, DpZH):\n YKHO.set_byte(0, DpZH[0])\n YKHO.set_byte(1, DpZH[1])",
"def R2V2(YKHO, DpZH):\n YKHO.set_byte(0, DpZH[0])\n YKHO.set_byte(1, DpZH[1])",
"def R2V2(YKHO, DpZH):\n ... | [
"0.67798126",
"0.6639735",
"0.65914387",
"0.65914387",
"0.65914387",
"0.65583146",
"0.6540744",
"0.6512865",
"0.64401555",
"0.63821024",
"0.63821024",
"0.63453597",
"0.6335658",
"0.63347554",
"0.63022447",
"0.62746304",
"0.62746304",
"0.61981225",
"0.61798704",
"0.6176926",
"... | 0.6319089 | 25 |
Returns the string representation of the model | def gTzM(YKHO):
return CgYo.pformat(YKHO.to_dict()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n return YKHO.text",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\... | [
"0.86418265",
"0.85103965",
"0.7853324",
"0.77442306",
"0.7712258",
"0.76979405",
"0.765959",
"0.7637644",
"0.76218504",
"0.7607561",
"0.7606604",
"0.7606604",
"0.7606604",
"0.75990754",
"0.7585653",
"0.758149",
"0.7570811",
"0.7567585",
"0.75392604",
"0.75392604",
"0.7527967... | 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 return not YKHO.__eq__(Elif)",
"def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif",
"def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True",
"def Vdqg(... | [
"0.8392633",
"0.8354901",
"0.82950056",
"0.8132309",
"0.81149805",
"0.8099986",
"0.809911",
"0.8097883",
"0.8097883",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8092252",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8085141",
"0.8066694",
"0.80594814",
"0.805757",
... | 0.0 | -1 |
Returns a parser to handle command line args. | def EryN():
wvEv = WDqQ()
wvEv.usage = 'benchmark [options]'
wvEv.add_argument('projects', metavar='project', nargs='*', help='project to benchmark (references a JSON file in the working directory)')
wvEv.add_argument('-f', '--force', action='store_true', dest='force', help='do the benchmark even if not... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yl6v():\n wvEv = WDqQ(prog=Hy7s.path.basename(HwRy.argv[0]), description='CLI for Amiga C Engine')\n wvEv.add_argument('-v', '--version', action='version', version=wx3I)\n wvEv.set_defaults()\n return wvEv",
"def fkZt(qIxc):\n wvEv = yl6v()\n return wvEv.parse_args(qIxc)",
"def EpPs():\n ... | [
"0.8189987",
"0.81015134",
"0.80409133",
"0.8035402",
"0.7971109",
"0.79336524",
"0.7900185",
"0.78889334",
"0.7886408",
"0.7871546",
"0.78624475",
"0.786151",
"0.7858294",
"0.78557456",
"0.784587",
"0.7844303",
"0.78412485",
"0.7830772",
"0.78304446",
"0.7828149",
"0.7815565... | 0.0 | -1 |
Convert an argument to tuple | def iubt(d7pR, WmM4=None):
if d7pR is None:
if WmM4 is None:
return None
else:
d7pR = WmM4
if isinstance(d7pR, tuple):
return d7pR
if isinstance(d7pR, int):
return (d7pR,)
return tuple(d7pR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XMpf(*qIxc):\n return tuple(qIxc)",
"def Cdjl(WKvO):\n if isinstance(WKvO, tuple):\n return WKvO\n return (WKvO,)",
"def D7r7(*qIxc):\n return ('tuple', [*qIxc])",
"def pTc2(YKHO, *qIxc, **B2fa):\n pass",
"def EV8W(YKHO, qIxc):\n return '(%s%s)' % (', '.join(qIxc), len(qIxc) ==... | [
"0.8156237",
"0.7728627",
"0.76737076",
"0.7623572",
"0.7548486",
"0.75156575",
"0.750784",
"0.74298006",
"0.740665",
"0.730452",
"0.7285465",
"0.7235017",
"0.7178735",
"0.711676",
"0.71090305",
"0.7070458",
"0.7059631",
"0.7049284",
"0.7037271",
"0.7012778",
"0.6983452",
"... | 0.6809856 | 32 |
For a vector theta ~ Dir(alpha), computes E[log(theta)] given alpha. | def MrxE(Cwt5):
if len(Cwt5.shape) == 1:
return nYlf(Cwt5) - nYlf(exwG.sum(Cwt5))
return nYlf(Cwt5) - nYlf(exwG.sum(Cwt5, 1))[:, exwG.newaxis] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def A06q(RHJb):\n q7In = XTiz.log(RHJb / (1.0 - RHJb))\n return q7In",
"def fd9e(vPp8, q7In, SGf8=BVxk):\n return vPp8 - oyIN.log(oyIN.square(q7In) + SGf8)",
"def zqck(WKvO, Cwt5):\n atCF = len(Cwt5)\n U5bT = IuOa(sum(Cwt5))\n for YRbF in range(atCF):\n U5bT += (Cwt5[YRbF] - 1.0) * RKD... | [
"0.695026",
"0.68975025",
"0.6826158",
"0.6628121",
"0.6581115",
"0.6534797",
"0.6435164",
"0.64005",
"0.6398618",
"0.6397418",
"0.63335705",
"0.6305799",
"0.62949693",
"0.6287434",
"0.6282033",
"0.62762207",
"0.62693757",
"0.6232473",
"0.62299204",
"0.6216438",
"0.6196048",
... | 0.0 | -1 |
Converts the input to a tuple of numbers or strings. | def i9Xz(_67D):
if isinstance(_67D, Ka32):
return _67D.labels
if isinstance(_67D, (KUXB, str)):
return (_67D,)
if hasattr(_67D, 'shape') and _67D.shape == tuple():
return (_67D.item(),)
if isinstance(_67D, iu5r):
if all((isinstance(yzQ0, Ka32) for yzQ0 in _67D)):
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AoUS(tTpl):\n if isinstance(tTpl, str):\n return (tTpl, '')\n return tTpl",
"def YElZ(WKvO):\n return WKvO if isinstance(WKvO, tuple) else (WKvO,)",
"def PiME(BWXx):\n BWXx = BWXx.strip().replace(',', ' ').replace('x', ' ')\n return tuple((plSv(aETf) for aETf in BWXx.split()))",
"de... | [
"0.7348387",
"0.7294595",
"0.715",
"0.70884836",
"0.70359075",
"0.70229083",
"0.69044495",
"0.6820708",
"0.67890924",
"0.6728736",
"0.671732",
"0.67153835",
"0.67108786",
"0.6695309",
"0.6695309",
"0.66790223",
"0.66724116",
"0.66633373",
"0.6628394",
"0.6623147",
"0.6600782"... | 0.0 | -1 |
Method defining the string representation of this class. | def wHJl(YKHO):
return '<Wires = {}>'.format(list(YKHO.labels)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return YKHO.tostring()",
"def zAg0(YKHO):\n return repr(YKHO)",
"def zAg0(YKHO):\n return repr(YKHO)",
"def zAg0(YKHO):\n return str(YKHO.__class__) + ': ' + str(YKHO.__dict__)",
"def zAg0(YKHO):\n return str(YKHO.__class__) + ': ' + str(YKHO.__dict__)",
"def zAg0(YKHO):\... | [
"0.83746433",
"0.83541906",
"0.83541906",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
"0.8342023",
... | 0.0 | -1 |
Defines the addition to return a Wires object containing all wires of the two terms. | def FOdN(YKHO, Elif):
Elif = Ka32(Elif)
return Ka32(Ka32.all_wires([YKHO, Elif])) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def K7GD(YKHO, Elif):\n Elif = Ka32(Elif)\n return Ka32(Ka32.all_wires([Elif, YKHO]))",
"def FOdN(YKHO, Elif):\n try:\n _67D = Elif.wires + YKHO.wires\n return YKHO._from_wires(_67D)\n except AttributeError:\n return NotImplemented",
"def FOdN(YKHO, Elif):\n return OXAZ(elmt... | [
"0.79301906",
"0.7175792",
"0.65241385",
"0.64775044",
"0.6342214",
"0.62929904",
"0.6251587",
"0.62102574",
"0.61993885",
"0.61513746",
"0.6146785",
"0.6137603",
"0.61212087",
"0.61129254",
"0.61129254",
"0.6099766",
"0.6099646",
"0.6088287",
"0.6056072",
"0.6041389",
"0.603... | 0.81922424 | 0 |
Get a tuple of the labels of this Wires object. | def Crrw(YKHO):
return YKHO._labels | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Crrw(Emd4):\n return tuple(map(lambda WKvO: WKvO.label, list(Emd4)))",
"def Crrw(Emd4) -> AzJI[str, ...]:\n return tuple((wEf2[1] for wEf2 in Emd4))",
"def Te1x(YKHO):\n return (YKHO.label_array, YKHO.number)",
"def Te1x(YKHO):\n return YKHO.label_list",
"def Te1x(YKHO):\n return YKHO.la... | [
"0.7956077",
"0.7913288",
"0.7662114",
"0.750436",
"0.7449551",
"0.7426784",
"0.7419861",
"0.7419861",
"0.7398664",
"0.73676944",
"0.7354848",
"0.73424715",
"0.73395157",
"0.73263913",
"0.7322378",
"0.7280396",
"0.7280396",
"0.72537553",
"0.72500193",
"0.72500193",
"0.7250019... | 0.73586065 | 10 |
Returns a numpy array representation of the Wires object. | def cxGG(YKHO):
return oyIN.array(YKHO.labels) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qw7D(YKHO):\n return XTiz.array(YKHO)",
"def iwLm(YKHO):\n return oyIN.array(YKHO.to_image())",
"def iwLm(YKHO) -> x1iM:\n return [YKHO.id, YKHO.inh_wealth, YKHO.w, YKHO.e]",
"def uzII(YKHO):\n return YKHO.numpy()",
"def uzII(YKHO):\n return YKHO.numpy()",
"def _67D(YKHO):\n return ... | [
"0.6925712",
"0.6691377",
"0.6688408",
"0.6656753",
"0.6656753",
"0.6584503",
"0.65677106",
"0.6549241",
"0.6544481",
"0.65441465",
"0.6506487",
"0.6496379",
"0.64911103",
"0.6467957",
"0.64624786",
"0.64249176",
"0.6373083",
"0.6353408",
"0.6341756",
"0.63348216",
"0.6330463... | 0.6200529 | 36 |
Return the indices of the wires in this Wires object. | def _0VL(YKHO, _67D):
if not isinstance(_67D, iu5r):
return [YKHO.index(_67D)]
return [YKHO.index(yzQ0) for yzQ0 in _67D] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SKvv(YKHO, UsS3):\n return [khtY.idx for khtY in YKHO._grid[UsS3]]",
"def _0VL(YKHO) -> XTiz.ndarray:\n return YKHO.__indices",
"def BJma(YKHO):\n return YKHO._indices",
"def twzD(YKHO):\n return YKHO.neighbors",
"def _0VL(YKHO):\n return YKHO._flat_store.get_array_filled('indices')",
... | [
"0.7672324",
"0.73993635",
"0.73009175",
"0.7246094",
"0.72120357",
"0.7095745",
"0.70913815",
"0.700421",
"0.70008695",
"0.6992845",
"0.6904155",
"0.6880056",
"0.6843092",
"0.68394125",
"0.6818412",
"0.68171203",
"0.6795096",
"0.6761164",
"0.6753316",
"0.6737751",
"0.6729594... | 0.8421953 | 0 |
Return only the wires that appear in each Wires object in the list. This is similar to a set intersection method, but keeps the order of wires as they appear in the list. | def IvTT(z_iV):
for _67D in z_iV:
if not isinstance(_67D, Ka32):
raise rIC1('Expected a Wires object; got {} of type {}.'.format(_67D, type(_67D)))
rKLW = []
for UsS3 in z_iV[0]:
if all((UsS3 in L82k for L82k in z_iV)):
rKLW.append(UsS3)
return Ka32(rKLW) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GGRr(z_iV):\n for _67D in z_iV:\n if not isinstance(_67D, Ka32):\n raise rIC1('Expected a Wires object; got {} of type {}.'.format(_67D, type(_67D)))\n kcwm = []\n for _67D in z_iV:\n for UsS3 in _67D:\n if sum([1 for L82k in z_iV if UsS3 in L82k]) == 1:\n ... | [
"0.7292782",
"0.6834543",
"0.63736916",
"0.6290823",
"0.5854853",
"0.5823183",
"0.57326627",
"0.5719169",
"0.56172377",
"0.54959404",
"0.54929066",
"0.5471429",
"0.5370487",
"0.5303744",
"0.5300812",
"0.52502525",
"0.52080554",
"0.5203795",
"0.51823616",
"0.5163365",
"0.51567... | 0.7372826 | 0 |
Return the wires that appear in any of the Wires objects in the list. This is similar to a set combine method, but keeps the order of wires as they appear in the list. | def S2E3(z_iV, BA9O=False):
TTm1 = []
for _67D in z_iV:
if not isinstance(_67D, Ka32):
raise rIC1('Expected a Wires object; got {} of type {}'.format(_67D, type(_67D)))
TTm1.extend((UsS3 for UsS3 in _67D.labels if UsS3 not in TTm1))
if BA9O:
if all([isinstance(yzQ0, int) ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GGRr(z_iV):\n for _67D in z_iV:\n if not isinstance(_67D, Ka32):\n raise rIC1('Expected a Wires object; got {} of type {}.'.format(_67D, type(_67D)))\n kcwm = []\n for _67D in z_iV:\n for UsS3 in _67D:\n if sum([1 for L82k in z_iV if UsS3 in L82k]) == 1:\n ... | [
"0.75341344",
"0.7516697",
"0.64494735",
"0.6105844",
"0.60136414",
"0.59742975",
"0.59223384",
"0.5857174",
"0.56755304",
"0.5618356",
"0.556925",
"0.55533254",
"0.54930234",
"0.54580075",
"0.544646",
"0.54016507",
"0.5400816",
"0.53800404",
"0.5372316",
"0.53571504",
"0.533... | 0.7011423 | 2 |
Return the name of the account type. | def W2Sn(YKHO):
return dict(YKHO.ACCOUNT_TYPE_CHOICES)[YKHO.account_type] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dhPZ(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'account_type')",
"def dhPZ(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'account_type')",
"def dhPZ(YKHO):\n return YKHO._account_type",
"def dhPZ(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'account_type')",
"def dhP... | [
"0.8211674",
"0.815662",
"0.80545485",
"0.7765041",
"0.7765041",
"0.75462276",
"0.74882996",
"0.7458681",
"0.7382907",
"0.736387",
"0.735123",
"0.7334118",
"0.72035277",
"0.71570677",
"0.7117278",
"0.7075199",
"0.7075199",
"0.7042846",
"0.7042846",
"0.7012312",
"0.69987535",
... | 0.8767591 | 0 |
Saves a specific dictionary to local directory as cache. | def RvUG(aBlN, pmON):
with open(pmON, 'w') as _RR0:
wyyA = qQXR.dump(aBlN, _RR0) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ff07(YKHO, xMbk):\n YKHO.model.save_dictionary_and_cache(xMbk)",
"def Cjr6(XKZC, wvbj):\n pass",
"def RvUG(wyyA):\n with open(EAxB, 'w+') as eHNT:\n qQXR.dump(wyyA, eHNT)",
"def ENF4(YKHO, NkkI: bool) -> None:\n with open(YKHO._cache_path(NkkI), 'wb') as LwUv:\n t2lc.dump(YKHO.u... | [
"0.7813577",
"0.72623175",
"0.7217992",
"0.71418077",
"0.70432657",
"0.7042203",
"0.7035795",
"0.70179194",
"0.7011282",
"0.697457",
"0.6937139",
"0.691952",
"0.6836006",
"0.6820492",
"0.6817353",
"0.6809846",
"0.6749573",
"0.6687848",
"0.6685043",
"0.6673575",
"0.6646814",
... | 0.8081186 | 0 |
Generates a list of skills based on a given attribute. | def vHuH(YKHO, qxCx):
H9J1 = []
if not YKHO.primary_attributes['pa']:
fM82 = tuKI.choice(['ST', 'DX', 'IQ'])
else:
fM82 = YKHO.primary_attributes['pa']
for F5FK in qxCx:
if fM82 in F5FK[1] and F5FK not in H9J1:
H9J1.append(F5FK)
return H9J1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def u_I0(Emd4):\n return cO1h(Mysp)",
"def UM5t(YKHO):\n if 'Skills' in YKHO.race:\n O5Y2 = YKHO.race['Skills']\n else:\n O5Y2 = []\n for F5FK in YKHO.char_class['Skill List']:\n if F5FK in O5Y2:\n YKHO.char_class['Skill List'].remove(F5FK)\n ewCu = YKHO.char_class[... | [
"0.6614487",
"0.6483515",
"0.6454437",
"0.6428704",
"0.6425071",
"0.6151071",
"0.61018276",
"0.6100361",
"0.6052988",
"0.60506135",
"0.5962196",
"0.5916794",
"0.59151685",
"0.5907544",
"0.59028137",
"0.5856949",
"0.5826978",
"0.581522",
"0.58129984",
"0.5807471",
"0.5753665",... | 0.5971207 | 10 |
Returns the title of the extracted article. | def lWRK(YKHO, ZfUD):
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Upwb(l3QS):\n return OfZp(l3QS.title)",
"def w4v2(YKHO):\n try:\n leAC = YKHO.soup.find('h1', class_='article_header_title').text\n except:\n raise Rwlq('Url may not be gunosy article page one.')\n return leAC",
"def Upwb(YKHO):\n return aP4s(YKHO._get_info_node(), 'title')",
... | [
"0.809056",
"0.80741304",
"0.78626025",
"0.77122426",
"0.7656166",
"0.7525051",
"0.74720854",
"0.741048",
"0.7408185",
"0.7397066",
"0.7376695",
"0.73742396",
"0.7343526",
"0.73141307",
"0.7297277",
"0.7297277",
"0.72740626",
"0.72630596",
"0.72630596",
"0.72630596",
"0.72611... | 0.0 | -1 |
Returns the publish date of the extracted article. | def kK3z(YKHO, ZfUD):
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def V7ia(MrT8, l3QS):\n if l3QS.publish_date:\n return wvEv.parse(l3QS.publish_date)\n else:\n return None",
"def n9bz(YKHO):\n return YKHO.__publish_date",
"def kIAV(YKHO):\n return YKHO._payload.get_published_date()",
"def U6Od(l3QS):\n if isinstance(l3QS.publish_date, qcWV.dat... | [
"0.8075978",
"0.7981103",
"0.7704067",
"0.75112444",
"0.74837565",
"0.7421786",
"0.7421786",
"0.74041647",
"0.7258678",
"0.72318524",
"0.7221033",
"0.7217796",
"0.72171444",
"0.72169715",
"0.7167642",
"0.7048573",
"0.70109326",
"0.70031446",
"0.6961787",
"0.6957453",
"0.69115... | 0.6993815 | 18 |
Excludes any questions that aren't published yet. | def k66M(YKHO):
return Y4Gy.objects.filter(pub_date__lte=rIAI.now()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U1Z_(YKHO):\n return YKHO.questions.filter(answers__isnull=True).exclude(T8ck(is_intent=True) | T8ck(mark_answered=True))",
"def wd1M(YKHO):\n cqqy = rIAI.now() + qcWV.timedelta(days=1)\n Os4s = rIAI.now() + qcWV.timedelta(days=5)\n yKGp = Y4Gy(pub_date=cqqy, end_date=Os4s)\n YKHO.assertIs(yKG... | [
"0.7141236",
"0.7005369",
"0.6689306",
"0.6570558",
"0.6237171",
"0.6230217",
"0.6227784",
"0.6227784",
"0.62168455",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.62100136",
"0.6... | 0.59898907 | 54 |
Initializes a ModifiedMADDPG algorithm that control the agents' learning. | def FIMM(YKHO, sEAN, rPzF=0.0):
YKHO._env = sEAN
YKHO._target_score = rPzF | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, vVLY, TcwO, yokr, _HQZ=None, w1P0=None, KMvS=0.99, jmzt=0.001, r5hI=False, yGTL=0.0, q7In=0.15, WTkW=0.1, CXwX=0.0002, mwLZ=0.0002, klGB=100000.0, Ep8u=128, XmES=1, Dmd6=-1, ba48=1, jyop=2, i9tr=0, aMN6=1, Ja1b=0):\n super(uqrb, YKHO).__init__()\n YKHO.state_size = vVLY\n YKHO.action_size =... | [
"0.6659091",
"0.665037",
"0.64303076",
"0.629943",
"0.6299143",
"0.6298879",
"0.6281414",
"0.62730104",
"0.6259699",
"0.62093323",
"0.61167437",
"0.61048776",
"0.61045074",
"0.6037845",
"0.6034019",
"0.60075736",
"0.59956485",
"0.59599483",
"0.5953145",
"0.593991",
"0.5928652... | 0.0 | -1 |
Plays an entire episode and returns the achieved max score. | def sLMe(YKHO, YWSi, EvQg=True):
YKHO._env.reset(train_mode=EvQg)
cCrA = oyIN.zeros(YKHO._env.num_agents)
while True:
wspz = YKHO._env.states
xASv = YWSi.act(wspz)
YKHO._env.step(xASv)
BKVD = YKHO._env.states
vwlo = YKHO._env.rewards
nQSc = YKHO._env.dones
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def u0if(YKHO) -> int:\n return YKHO._max_episode_timesteps",
"def MJXe(YKHO):\n yo7_ = _c1T.today()\n SGf8 = YKHO.season(YKHO.seasons).values()\n SGf8.reverse()\n for tTpl in SGf8:\n if tTpl.airdate != None and tTpl.airdate < yo7_:\n return tTpl",
"def sQgf(YKHO):\n if YKHO... | [
"0.6091895",
"0.6041002",
"0.6035334",
"0.60294497",
"0.6022559",
"0.6021259",
"0.60117817",
"0.6001156",
"0.59872335",
"0.59717333",
"0.59717333",
"0.59563404",
"0.5950529",
"0.5950529",
"0.5947494",
"0.59399635",
"0.59399635",
"0.5938916",
"0.58547455",
"0.58437955",
"0.583... | 0.6392698 | 0 |
Calculate prediction accuracy for input data. | def p1kx(YKHO, EcVT, LVAh):
EcVT = YKHO.format_input(EcVT)
LVAh = YKHO.format_target(LVAh)
return YKHO.functions.score(*pTc2(EcVT, LVAh)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ouiP(YKHO):\n YKHO.accuracy = sum([1 if aMgO == ibJh else 0 for aMgO, ibJh in zip(YKHO.preds, YKHO.y_test)]) / len(YKHO.preds)",
"def vjyh(Crrw: List[str], N6Z1: List[str]) -> float:\n gXXc = sum([1 if UXqs == o3Uj else 0 for UXqs, o3Uj in zip(Crrw, N6Z1)])\n return gXXc / len(Crrw)",
"def vjyh(N6... | [
"0.80897444",
"0.8024097",
"0.7982132",
"0.7966499",
"0.7946678",
"0.7946013",
"0.7943291",
"0.7928129",
"0.78913546",
"0.7876764",
"0.7863302",
"0.7843102",
"0.78407",
"0.7833978",
"0.7822109",
"0.7818517",
"0.77544695",
"0.7750482",
"0.77336866",
"0.7733319",
"0.7702452",
... | 0.0 | -1 |
Load the weights for a defined architecture. | def tyeH(YKHO, mWFP):
YKHO.model.load_weights(mWFP) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SUd8(YKHO, F0_w):\n raise NotImplementedError",
"def SUd8(YKHO, b_kJ=None):\n if YKHO.model:\n if b_kJ is None:\n b_kJ = '%s.conx' % YKHO.name\n if Hy7s.path.isfile('%s/model.h5' % b_kJ):\n YKHO.model.load_weights('%s/weights.h5' % b_kJ)",
"def SUd8(YKHO):\n gmR... | [
"0.79342175",
"0.7481564",
"0.7455537",
"0.7455537",
"0.7455537",
"0.73983645",
"0.7340686",
"0.7282473",
"0.7281997",
"0.7266434",
"0.7258637",
"0.7258637",
"0.7257581",
"0.7172933",
"0.7172933",
"0.7172933",
"0.71580136",
"0.71580136",
"0.71580136",
"0.7107577",
"0.7107577"... | 0.70456934 | 25 |
Adds a CPENTA6 card from ``BDF.add_card(...)`` | def lACn(YKHO, dxhl, aM_I=''):
yGdP = kAne(dxhl, 1, 'eid')
Ii1o = kAne(dxhl, 2, 'pid')
Htnw = [kAne(dxhl, 3, 'nid1'), kAne(dxhl, 4, 'nid2'), kAne(dxhl, 5, 'nid3'), kAne(dxhl, 6, 'nid4'), kAne(dxhl, 7, 'nid5'), kAne(dxhl, 8, 'nid6')]
assert len(dxhl) == 9, 'len(CPENTA6 card) = %i\ncard=%s' % (len(dxhl), ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lACn(Emd4, dxhl, aM_I=''):\n yGdP = kAne(dxhl, 1, 'eid')\n Ii1o = kAne(dxhl, 2, 'pid')\n Htnw = [kAne(dxhl, 3, 'nid1'), QYJc(dxhl, 4, 'nid2', 0), QYJc(dxhl, 5, 'nid3', 0), QYJc(dxhl, 6, 'nid4', 0)]\n assert len(dxhl) <= 7, f'len(CAABSF card) = {len(dxhl):d}\\ncard={dxhl}'\n return hNLg(yGdP, Ii1... | [
"0.71643597",
"0.7042305",
"0.7025634",
"0.70202285",
"0.69240904",
"0.6885502",
"0.68738645",
"0.68670595",
"0.68670595",
"0.6864191",
"0.6851371",
"0.68281466",
"0.6786552",
"0.6779013",
"0.67777866",
"0.677177",
"0.6738811",
"0.670263",
"0.6702545",
"0.66909176",
"0.667469... | 0.7622582 | 0 |
A wrapper to getPostcode so that it can be called using dataframe.apply | def p9VO(rdlD, iVRZ='address'):
return iiqE(rdlD[iVRZ]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q2_o(YKHO, iwSJ, NKcE='cpo'):\n return YKHO.geocode(iwSJ, 'postcode', method=NKcE)",
"def vPSk(jQ3Z: DataFrame) -> hxoQ:\n jQ3Z = jQ3Z.where(eHNT.col('postcode').isNotNull())\n jQ3Z = jQ3Z.withColumn('postcode', eHNT.udf(lambda Wxnj: Wxnj.strip().replace(' ', '').upper())(eHNT.col('postcode')))\n ... | [
"0.6933483",
"0.6315513",
"0.6234987",
"0.61935276",
"0.6180689",
"0.61760795",
"0.6073584",
"0.60599554",
"0.6046841",
"0.60074383",
"0.5950548",
"0.5897222",
"0.58855593",
"0.5804434",
"0.5784363",
"0.57800895",
"0.57761073",
"0.5736063",
"0.57170916",
"0.56532633",
"0.5595... | 0.75561523 | 0 |
A function to remove postcode from the string in column. | def b04o(rdlD, iVRZ='address', BQ5d='postcode'):
return rdlD[iVRZ].replace(rdlD[BQ5d], '') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fB6I(BQ5d):\n if BQ5d[:2] == 'NY':\n VMhS = BQ5d[2:].strip()\n elif '-' in BQ5d:\n VMhS = BQ5d.split('-')[0]\n return VMhS",
"def vPSk(jQ3Z: DataFrame) -> hxoQ:\n jQ3Z = jQ3Z.where(eHNT.col('postcode').isNotNull())\n jQ3Z = jQ3Z.withColumn('postcode', eHNT.udf(lambda Wxnj: Wxnj.s... | [
"0.710712",
"0.70201963",
"0.68491745",
"0.68398464",
"0.6790145",
"0.67672324",
"0.6569685",
"0.651989",
"0.6483865",
"0.63410324",
"0.63294685",
"0.63218963",
"0.621074",
"0.6208474",
"0.6107952",
"0.6101313",
"0.6087027",
"0.6082002",
"0.6040578",
"0.6024428",
"0.6016694",... | 0.87222546 | 0 |
Gets the name of the wrapped command. The interceptor can use this method to override the command name. Otherwise it shall just delegate the call to the wrapped command. | def W0tD(YKHO, oUZx):
raise NotImplementedError('Method from interface definition') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Asoz(YKHO):\n return YKHO._command_name",
"def UxLt(YKHO, Asoz: str) -> str:\n return f'{YKHO.handler_prefix}{Asoz}'",
"def Asoz(YKHO):\n return YKHO.__class__.__name__.replace('Command', '').upper()",
"def oPpw(YKHO):\n return YKHO._cmd_name",
"def mWFP(YKHO):\n return YKHO.__class__.__... | [
"0.75410354",
"0.7512082",
"0.733426",
"0.7320438",
"0.7284815",
"0.6839675",
"0.6762694",
"0.6636632",
"0.6509204",
"0.6461797",
"0.6381646",
"0.6306175",
"0.629779",
"0.6290822",
"0.6284446",
"0.6284446",
"0.625914",
"0.6252773",
"0.6249312",
"0.6225482",
"0.6209143",
"0.... | 0.78043956 | 0 |
Your implementation of HoughLines | def uvnC(pId6, w72b, eRp8, gwAu):
alQJ = oyIN.zeros((int(180 / eRp8), int(oyIN.linalg.norm(pId6.shape) / w72b)))
qtIN = oyIN.array(oyIN.nonzero(pId6))
for YRbF in range(qtIN.shape[1]):
for q7In in range(0, 180, eRp8):
Csk6 = int((qtIN[1][YRbF] * oyIN.cos(q7In * oyIN.pi / 180.0) + qtIN[0]... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def f3fX(YKHO, Nqlg):\n Dup8 = []\n for vC9B in Nqlg:\n o4D3, si3g, ajwV, skBL = vC9B[0]\n if abs(o4D3 - ajwV) > abs(si3g - skBL):\n Nm7P = QwlS\n else:\n Nm7P = IZvL\n Dup8.append(((o4D3, si3g), (ajwV, skBL), Nm7P))\n return Dup8",
"def ukXH(LNo8):\n ... | [
"0.8121919",
"0.8074395",
"0.8067675",
"0.7960121",
"0.79582566",
"0.78613883",
"0.77995586",
"0.7784598",
"0.7660376",
"0.7632814",
"0.76119363",
"0.7547511",
"0.7498049",
"0.7484442",
"0.74711084",
"0.7467789",
"0.74479395",
"0.74394226",
"0.7408207",
"0.7408207",
"0.740745... | 0.70721227 | 61 |
Save a PIL Image with name fname. | def oUI0(nPrm, IznC):
G9jH.info('Saving Texture: %s' % Hy7s.path.abspath(IznC))
K_4v = hnIv.fromarray(nPrm).transpose(hnIv.FLIP_TOP_BOTTOM)
K_4v.save(IznC) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t7Mi(VXjJ, IznC):\n VXjJ.save(IznC)",
"def t7Mi(Xn71, IznC):\n Xn71.save(IznC)",
"def xkzz(YKHO, IznC, Tuqy='PNG'):\n yvT9 = tvu7.new(mode='L', size=(YKHO.width, YKHO.height))\n yvT9.putdata(YKHO.pixels)\n if isinstance(IznC, str):\n yvT9.save(IznC)\n else:\n yvT9.save(IznC,... | [
"0.8498871",
"0.8467497",
"0.7975125",
"0.7606288",
"0.7584725",
"0.73741895",
"0.736642",
"0.72721386",
"0.7257354",
"0.72517765",
"0.72498953",
"0.724263",
"0.71072775",
"0.71046054",
"0.71024907",
"0.7099152",
"0.7046545",
"0.6992503",
"0.68545216",
"0.6823214",
"0.6815604... | 0.0 | -1 |
Save object to graph DB. | def ATrk(YKHO):
if not YKHO.id:
return
nPrm = YKHO.common_graph_data(YKHO.graph_data())
if YKHO.graph_exists():
azoT = [f'node.{G1Hx} = ${G1Hx}' for G1Hx in nPrm if G1Hx != 'id']
xDcj = f'\n MATCH (node:{YKHO.__class__.__name__} {{id: $id}})\n SET {', '.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xkzz(YKHO):\n sYeH.instance().put(YKHO)\n if hasattr(YKHO, 'save_relations'):\n YKHO.save_relations()",
"def xkzz(YKHO, YEnM):\n YKHO.__session.add(YEnM)\n YKHO.__session.commit()",
"def xkzz(YKHO, YEnM):\n YKHO.backend.save(YEnM)",
"def xkzz(YKHO):\n YKHO.dbsession.add(YKHO)\n ... | [
"0.76779586",
"0.7604762",
"0.75016767",
"0.74882454",
"0.7460605",
"0.74441093",
"0.74441093",
"0.74441093",
"0.74441093",
"0.74441093",
"0.74441093",
"0.74441093",
"0.74441093",
"0.74281394",
"0.73455083",
"0.7337892",
"0.7337892",
"0.7337892",
"0.7337892",
"0.7337892",
"0.... | 0.7646587 | 1 |
Check if the player has no items in their backpack | def LwKx(YKHO):
return len(YKHO._backpack) == 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IDlE(oyg0):\n if oyg0.place != TWTa:\n return False\n print()\n if len(oyg0.check_backpack()) != 3:\n print()\n print(\"Looks like you're missing some items. Can't go to the potluck yet!\")\n return False\n return True",
"def FBfn(YKHO):\n return len(YKHO.inventory)... | [
"0.71162146",
"0.7078923",
"0.6860924",
"0.6813143",
"0.67685723",
"0.6712558",
"0.65668124",
"0.6516709",
"0.65028226",
"0.6474518",
"0.6469817",
"0.64530045",
"0.6450185",
"0.6424404",
"0.63925934",
"0.6350244",
"0.6341702",
"0.63356286",
"0.6333055",
"0.63313097",
"0.63311... | 0.8250767 | 0 |
Sets the given enemy as defeated only if they have not been | def mj4X(YKHO, JjEH):
if YKHO._defeated.get(JjEH.name) is False:
YKHO._defeated[JjEH.name] = True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cMR9(YKHO):\n pass",
"def qXxR(YKHO, JjEH):\n if type(YKHO) == type(JjEH):\n JjEH._hp -= YKHO._power - JjEH._defence",
"def qXxR(YKHO, JjEH):\n vnnC = YKHO.characteristics.damage_taken(JjEH.characteristics.damage_output())\n lRCW = YKHO.characteristics.damage_taken(YKHO.characteristics.d... | [
"0.74120224",
"0.66499263",
"0.6457507",
"0.6437432",
"0.6295796",
"0.6289577",
"0.62451756",
"0.62451756",
"0.6176544",
"0.6152925",
"0.60973126",
"0.60513216",
"0.6042227",
"0.60069907",
"0.5974148",
"0.59304774",
"0.59224397",
"0.58927995",
"0.58387816",
"0.58258635",
"0.5... | 0.81466216 | 0 |
Decrease the allowance of another user | def TBKK(YKHO, e9YL: str, BWXx: int) -> str:
ZCRk = YKHO._contract.functions.decreaseAllowance(e9YL, BWXx)
return YKHO.__wallet.send_transaction(ZCRk) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oOIS(CBIr):\n PgWU(CBIr)",
"def evw6(YKHO):\n pass",
"def U1ZE(YKHO):\n pass",
"def FIrl(YKHO):\n YKHO.active = False\n YKHO.save()",
"def FIrl(YKHO, CBIr):\n if isinstance(CBIr, mv1M):\n P6bq = YKHO.get_user(CBIr.username)\n elif isinstance(CBIr, str) or isinstance(CBIr, QM... | [
"0.6439745",
"0.63728595",
"0.61772287",
"0.6165493",
"0.615662",
"0.6153281",
"0.6086746",
"0.6078205",
"0.6075325",
"0.60721505",
"0.6071815",
"0.6061008",
"0.6009461",
"0.5985741",
"0.5980391",
"0.59761035",
"0.596093",
"0.5905371",
"0.5894172",
"0.5861284",
"0.58475304",
... | 0.6240545 | 2 |
Pass in the slope and y intercept for the line | def FIMM(YKHO, VMex, Z9rn):
YKHO.slope = VMex
YKHO.c = Z9rn | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BlB8(zFiD):\n return zFiD.y1 - VMex(zFiD) * zFiD.x1",
"def BF4U(AU8u, VMex):\n o4D3 = AU8u[0]\n si3g = AU8u[1]\n if VMex == 0:\n return si3g\n elif VMex == 'inf':\n return o4D3\n else:\n LVAh = VMex * float(o4D3) * -1 + float(si3g)\n return round(LVAh, 8)",
"de... | [
"0.84408355",
"0.8350585",
"0.82949126",
"0.82353145",
"0.7987788",
"0.78432244",
"0.7759913",
"0.77068913",
"0.76998425",
"0.7692485",
"0.7692485",
"0.7683028",
"0.76813203",
"0.76733893",
"0.7635588",
"0.76049733",
"0.75793886",
"0.7550411",
"0.7550303",
"0.75111675",
"0.74... | 0.0 | -1 |
Creates a pickled trained model. | def EvQg(bPNP, I7pw='./miniglove_6B_50d_w2v.txt'):
YZmJ = cpHw.load_word2vec_format(I7pw, binary=False)
U5Q6 = Y0rt([('preprocessor', UPIm()), ('vectorizer', DL1a(embedding=YZmJ)), ('classifier', v9Rb(n_estimators=100, oob_score=True, random_state=1))])
Gjj5 = U5Q6.fit(bPNP.comment, [int(WKvO) for WKvO in b... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uyMl():\n with open('trained_model.pickle', 'rb') as pan_:\n ad8h = t2lc.load(pan_)\n return ad8h",
"def uyMl():\n with open('trained_model.pickle', 'rb') as pan_:\n ad8h = t2lc.load(pan_)\n return ad8h",
"def uyMl():\n with open('trained_model.pickle', 'rb') as pan_:\n ... | [
"0.7557204",
"0.7557204",
"0.7557204",
"0.73619187",
"0.72500014",
"0.7223186",
"0.7199885",
"0.71621144",
"0.71596617",
"0.708856",
"0.70838094",
"0.70261234",
"0.6971854",
"0.69565874",
"0.69544256",
"0.69538414",
"0.69372684",
"0.69127566",
"0.69068563",
"0.69056123",
"0.6... | 0.0 | -1 |
Returns True if the wire bounding volume does not intersect the segment. | def BpZQ(YKHO, *qIxc):
return Nhyh.BRepClass_FaceExplorer_RejectWire(YKHO, *qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TeKt(YKHO):\n UHFx = YKHO.__counts\n if UHFx >= 3:\n return True\n else:\n return False",
"def U0kq(YKHO):\n return len(YKHO) == len(set(YKHO))",
"def U4x1(YKHO):\n return YKHO.countActiveSides() >= 2",
"def vwNH(YKHO) -> bool:\n return not YKHO.vector",
"def UF9e(YKHO):... | [
"0.6944534",
"0.65865725",
"0.6363831",
"0.62397367",
"0.6220322",
"0.61901593",
"0.61086625",
"0.60853153",
"0.5984629",
"0.5951653",
"0.59168345",
"0.5908329",
"0.59037113",
"0.58931994",
"0.5814879",
"0.5807783",
"0.57914686",
"0.57789457",
"0.5778551",
"0.5773227",
"0.573... | 0.0 | -1 |
Returns True if there is a current edge. | def q7CB(YKHO, *qIxc):
return Nhyh.BRepClass_FaceExplorer_MoreEdges(YKHO, *qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IWu0(YKHO, yGdP):\n return YKHO.edges_used[yGdP] == 1",
"def HY_j(YKHO):\n return len(YKHO._edges) > 0",
"def nW4J(YKHO, *qIxc):\n return PZpo.TBPGraph_IsEdge(YKHO, *qIxc)",
"def nW4J(YKHO, *qIxc):\n return PZpo.PUNGraph_IsEdge(YKHO, *qIxc)",
"def iUgW(YKHO):\n YKHO.screen_rect = YKHO.sc... | [
"0.75889057",
"0.74185896",
"0.7396101",
"0.7370354",
"0.736122",
"0.73600894",
"0.7347147",
"0.73290825",
"0.73217535",
"0.7319614",
"0.73068607",
"0.73018086",
"0.73017126",
"0.7276432",
"0.7274304",
"0.72703487",
"0.72681296",
"0.722927",
"0.7229159",
"0.7219128",
"0.72167... | 0.0 | -1 |
Returns True if the edge bounding volume does not intersect the segment. | def aGlS(YKHO, *qIxc):
return Nhyh.BRepClass_FaceExplorer_RejectEdge(YKHO, *qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bCdU(YKHO, D70y):\n P6bq, Ty9i = D70y\n return YKHO.halfedge[Ty9i][P6bq] is None or YKHO.halfedge[P6bq][Ty9i] is None",
"def byAJ(YKHO):\n if YKHO.rect.x <= 0 or YKHO.rect.x + YKHO.rect.width >= rOQC or YKHO.rect.y <= 0 or (YKHO.rect.y + YKHO.rect.height >= i3re):\n return True\n return Fa... | [
"0.68755186",
"0.657043",
"0.65386933",
"0.6475434",
"0.6456062",
"0.643506",
"0.63913774",
"0.6312487",
"0.62907076",
"0.62815994",
"0.6269964",
"0.6267507",
"0.62642276",
"0.6226704",
"0.6150836",
"0.6122683",
"0.6121187",
"0.6120122",
"0.6044194",
"0.60283697",
"0.601961",... | 0.0 | -1 |
Return the latest version of the named package available for upgrade or installation. If more than one package name is specified, a dict of name/version pairs is returned. If the latest version of a given package is already installed, an empty string will be returned for that package. | def oJou(*ZWCE, **B2fa):
if not ZWCE:
return ''
U5bT = {}
for mWFP in ZWCE:
U5bT[mWFP] = ''
iz6W = B2fa.get('saltenv', 'base')
uUrB = NTfD.utils.data.is_true(B2fa.get('refresh', True))
JFwd = QjXi(versions_as_list=True, saltenv=iz6W, refresh=uUrB)
RKD7.trace('List of installe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oJou(*ZWCE, **B2fa):\n uUrB = NTfD.utils.data.is_true(B2fa.pop('refresh', True))\n if not ZWCE:\n return ''\n U5bT = {}\n for mWFP in ZWCE:\n U5bT[mWFP] = ''\n A37B = QjXi()\n if uUrB:\n pqkK()\n HCmI = ['apk', 'upgrade', '-s']\n yvT9 = PHIk['cmd.run_stdout'](HCmI, ... | [
"0.7894119",
"0.76748407",
"0.76020837",
"0.7567863",
"0.75167376",
"0.7479527",
"0.73808134",
"0.7358845",
"0.7313813",
"0.7298938",
"0.72626233",
"0.71892035",
"0.7062633",
"0.70228857",
"0.7020453",
"0.7014539",
"0.6912659",
"0.6890894",
"0.6883392",
"0.686398",
"0.6839022... | 0.75153553 | 5 |
Returns a string representing the package version or an empty string if not installed. If more than one package name is specified, a dict of name/version pairs is returned. | def DpZH(*ZWCE, **B2fa):
iz6W = B2fa.get('saltenv', 'base')
JFwd = QjXi(saltenv=iz6W, refresh=B2fa.get('refresh', False))
if len(ZWCE) == 1:
return JFwd.get(ZWCE[0], '')
U5bT = {}
for mWFP in ZWCE:
U5bT[mWFP] = JFwd.get(mWFP, '')
return U5bT | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kaPv(hxGQ: str) -> str:\n return RkCj.get_distribution(hxGQ).version",
"def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')",
"def eJy1(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'package_version')",
"def zvqz(YKHO, Oa1e, hxGQ: str) -> str:\n XP5J = YKHO._ru... | [
"0.7886809",
"0.76769507",
"0.76769507",
"0.7575415",
"0.75617975",
"0.7536202",
"0.7448642",
"0.7448642",
"0.7448642",
"0.7388797",
"0.7338234",
"0.73106563",
"0.7220759",
"0.71618646",
"0.7151288",
"0.7144998",
"0.7130356",
"0.7122586",
"0.7120197",
"0.7112427",
"0.7101482"... | 0.707878 | 21 |
Returns the existing package metadata db. Will create it, if it does not exist, however will not refresh it. | def ip9L(iz6W='base'):
mGq0 = QpvC(iz6W)
if mGq0.winrepo_age == -1:
RKD7.debug('No winrepo.p cache file. Refresh pkg db now.')
pqkK(saltenv=iz6W)
if 'winrepo.data' in UO8u:
RKD7.trace('get_repo_data returning results from __context__')
return UO8u['winrepo.data']
else:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NCls(YKHO):\n NCls = getattr(YKHO._local, 'db', None)\n if NCls is not None:\n return NCls\n if YKHO.metadata_db_path is None:\n return None\n if not Hy7s.path.exists(Hy7s.path.dirname(YKHO.metadata_db_path)):\n Hy7s.makedirs(Hy7s.path.dirname(YKHO.metadata_db_path))\n NCls ... | [
"0.7028663",
"0.6897975",
"0.6839255",
"0.6791056",
"0.6706462",
"0.67012274",
"0.6700878",
"0.6687391",
"0.66775954",
"0.6670568",
"0.66125816",
"0.66088694",
"0.6596157",
"0.65950245",
"0.656263",
"0.65443355",
"0.65427774",
"0.6535101",
"0.65190554",
"0.65051794",
"0.64940... | 0.0 | -1 |
Return a reverse map of full pkg names to the names recognized by winrepo. | def PxCU(iz6W='base'):
pSPJ = {}
Rr9Z = ip9L(iz6W).get('name_map', {})
return Rr9Z | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xv1b() -> cuzp[str, str]:\n c40a = n9ps()\n wg_p = {Ty9i: G1Hx for G1Hx, Ty9i in c40a.items()}\n return wg_p",
"def n9ps() -> cuzp[str, str]:\n c40a = {'amp': 'alphamatic/amp', 'lem': 'alphamatic/lemonade', 'dev_tools': 'alphamatic/dev_tools'}\n PCzT.dassert_no_duplicates(c40a.keys())\n PCz... | [
"0.7054553",
"0.6583997",
"0.61663634",
"0.6149018",
"0.60174966",
"0.5970651",
"0.5950099",
"0.5941274",
"0.5941274",
"0.59271103",
"0.59124416",
"0.57956684",
"0.5688628",
"0.56638104",
"0.5640697",
"0.5632575",
"0.56312305",
"0.5631041",
"0.5626319",
"0.5602348",
"0.559851... | 0.6514863 | 2 |
This test verifies that a menu is published, meaning it will be sent to the users added in the food group in Slack. | def n04b(YKHO):
D5gV = FWHr.apply(args=(1,)).get()
lxkz = x30U.objects.get(id=1)
YKHO.assertTrue(lxkz.is_published) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E_xV(YKHO):\n YKHO.leave.click_menu('Manage Reviews')\n YKHO.leave.click_menu('Manage Reviews')",
"def qSAC(YKHO, pNr2):\n lxkz = pNr2(available_date=_c1T.today())\n assert lxkz.is_available()",
"def A_u7(YKHO):\n Xlvd(is_published=False)\n geh0 = YKHO.tester.get('/')\n YKHO.assertNotI... | [
"0.66173655",
"0.65710264",
"0.65409213",
"0.6531386",
"0.652551",
"0.6451857",
"0.6367104",
"0.6345809",
"0.63278973",
"0.6318897",
"0.62140906",
"0.6213256",
"0.6204592",
"0.6182636",
"0.61814994",
"0.6169108",
"0.61599076",
"0.61526376",
"0.615095",
"0.6142469",
"0.613351"... | 0.7541324 | 0 |
Shows a contour plot on scattered data (x,y,z) and the plots the positions of the points (x,y) on top. | def y13e(WKvO, LVAh, epBp, BDbi=50, Ew8X=True, LZpg=None, aNZO=None, iMGt=None, _RR0=None):
if aNZO is None:
if LZpg is None:
aNZO = am1I.gca()
else:
aNZO = LZpg.gca()
LTIa = VEDo.hstack([WKvO[:, None], LVAh[:, None]])
Y7fn, O5iP = VEDo.mgrid[WKvO.min():WKvO.max():100... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def y13e(WKvO, LVAh, epBp, BDbi=50, Ew8X=True, LZpg=None, aNZO=None, iMGt=None, _RR0=None):\n aNZO = iLki(WKvO, LVAh, epBp, ncontours=BDbi, colorbar=Ew8X, fig=LZpg, ax=aNZO, cmap=iMGt)\n aNZO.scatter(WKvO, LVAh, marker='o', c='b', s=5)\n if _RR0 is not None:\n am1I.savefig(_RR0)\n return aNZO",
... | [
"0.73292947",
"0.71500707",
"0.70842844",
"0.6923346",
"0.6900229",
"0.685334",
"0.6818804",
"0.6725922",
"0.6705776",
"0.6675079",
"0.6651013",
"0.66352546",
"0.6524781",
"0.651423",
"0.65129125",
"0.6465778",
"0.6463694",
"0.645414",
"0.643877",
"0.6421772",
"0.64192754",
... | 0.7160097 | 1 |
String for representing the Model object. | def zAg0(YKHO):
return YKHO.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\t' + _2sc + ' instance\\n'\n oOUF += '--... | [
"0.81885296",
"0.8092215",
"0.79587615",
"0.7848622",
"0.7839469",
"0.76655394",
"0.75757945",
"0.75660306",
"0.7560155",
"0.7548143",
"0.7483473",
"0.7464744",
"0.74516714",
"0.74516714",
"0.74475425",
"0.74459755",
"0.74459755",
"0.74459755",
"0.74117213",
"0.74064744",
"0.... | 0.0 | -1 |
String for representing the Model object. | def zAg0(YKHO):
return YKHO.title | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return str(YKHO.__model)",
"def zAg0(YKHO):\n return str(YKHO.model)",
"def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\t' + _2sc + ' instance\\n'\n oOUF += '--... | [
"0.81885296",
"0.8092215",
"0.79587615",
"0.7848622",
"0.7839469",
"0.76655394",
"0.75757945",
"0.75660306",
"0.7560155",
"0.7548143",
"0.7483473",
"0.7464744",
"0.74516714",
"0.74516714",
"0.74475425",
"0.74459755",
"0.74459755",
"0.74459755",
"0.74117213",
"0.74064744",
"0.... | 0.0 | -1 |
Returns the url to access a detail record for this ticket. | def hlzF(YKHO):
return gxEw('ticket-detail', args=[str(YKHO.id)]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IxeK(YKHO):\n return gxEw(YKHO._meta.db_table + '-detail', args=[YKHO.pk])",
"def iLuo(YKHO):\n raise NotImplementedError('Please define a detail_url fixture')",
"def IxeK(YKHO, ehDb, _sei, *qIxc, **YSA3):\n return YKHO.plugin.build_plain_url('#', 'detail', ehDb.actor_id, str(_sei), *qIxc, **YSA3)... | [
"0.73913735",
"0.73456913",
"0.731084",
"0.7250477",
"0.6895593",
"0.66589874",
"0.66379327",
"0.6632433",
"0.66061985",
"0.65935",
"0.6547552",
"0.65085125",
"0.64984727",
"0.64726007",
"0.6461692",
"0.64571863",
"0.64571476",
"0.6436206",
"0.64303964",
"0.63944185",
"0.6393... | 0.7067629 | 4 |
Return the given string converted to a string that can be used for a clean filename (without extension). Remove leading and trailing spaces; convert other spaces and newlines to underscores; and remove anything that is not an alphanumeric, dash, underscore, or dot. | def XZ66(KCHu: str) -> str:
KCHu = str(KCHu).strip().lower().replace(' ', '_').replace('\n', '_')
return ZbWC.sub('(?u)[^-\\w.]', '', KCHu) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qDYF(YKHO, KCHu):\n KCHu = KCHu.replace('/', '_').replace('\\\\', '_').replace(':', '_').replace('<', '_').replace('>', '_')\n KCHu = KCHu.replace('nKeY', 'xxxx').replace('kKeY', 'xxxx').replace('cKeY', 'xxxx')\n return KCHu",
"def _H8I(KCHu):\n return ZbWC.sub('[^0-9a-zA-Z_]+', '', ZbWC.sub('\\\... | [
"0.8248441",
"0.82159156",
"0.8181698",
"0.78961027",
"0.78961027",
"0.7877443",
"0.78596234",
"0.78406346",
"0.7818479",
"0.77967453",
"0.77910715",
"0.7765192",
"0.7632405",
"0.76237607",
"0.74360585",
"0.74338144",
"0.74280065",
"0.7384832",
"0.73803014",
"0.7302388",
"0.7... | 0.7957777 | 3 |
Close MongoDB client if attached to `g`. | def yQE8(P1dF=None):
if getattr(Oa1e, '_mongo_client', None):
qmCR.release()
Oa1e._mongo_client = None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ssTe(P1dF):\n if hasattr(Oa1e, 'mongodb'):\n Oa1e.mongodb.close()",
"def DDI8(YKHO):\n if not YKHO.is_closed():\n YKHO._client.close()\n YKHO._collection = None",
"def ssTe(tTpl=None):\n NCls = Oa1e.pop('db', None)\n if NCls is not None:\n NCls.close_connection()",
... | [
"0.77873105",
"0.74432844",
"0.676915",
"0.6633053",
"0.6612079",
"0.66076565",
"0.65791774",
"0.6573598",
"0.6573598",
"0.6573598",
"0.65568715",
"0.65548366",
"0.65548366",
"0.6542472",
"0.65359473",
"0.65248674",
"0.651402",
"0.64819175",
"0.647564",
"0.6468638",
"0.642731... | 0.719165 | 2 |
Getter for `client` proxy. Return default client if no client attached to `g` or no request context. | def VtvR():
return p9rd() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def x0hE(YKHO):\n if not YKHO._client:\n YKHO._client = YKHO._get_client()\n YKHO._verify_client_validity()\n return YKHO._client",
"def x0hE(YKHO):\n if not YKHO._state['client']:\n try:\n YKHO.prepare_client()\n except NotImplementedError:\n return Non... | [
"0.7143767",
"0.704842",
"0.70437753",
"0.70429444",
"0.7007348",
"0.6984446",
"0.6984446",
"0.696972",
"0.6951866",
"0.69251746",
"0.6882274",
"0.6860215",
"0.6819082",
"0.675782",
"0.6740467",
"0.6724072",
"0.67117983",
"0.6703985",
"0.6703985",
"0.66918117",
"0.66485924",
... | 0.63439 | 41 |
Getter for `database` proxy. | def nlfk():
return VtvR()[gCuF.DB_NAME] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Y4mN(YKHO):\n return YKHO.__database",
"def u_OD(YKHO):\n return YKHO.database",
"def u_OD(YKHO):\n return YKHO.db",
"def LmBZ(YKHO):\n return YKHO.database",
"def p9bx(YKHO):\n return YKHO.__db",
"def p9bx(YKHO) -> xxXn:\n return YKHO._database",
"def p9bx(YKHO) -> xxXn:\n ret... | [
"0.8349835",
"0.8098212",
"0.80728847",
"0.78809226",
"0.77706033",
"0.7755176",
"0.7755176",
"0.77526397",
"0.77249306",
"0.7710857",
"0.7694197",
"0.7689355",
"0.76625943",
"0.76625943",
"0.76625943",
"0.765537",
"0.76429063",
"0.7641899",
"0.7640473",
"0.7608524",
"0.75614... | 0.71275973 | 41 |
Make a simple lineplot. | def ivSn(nPrm, Crrw, leAC=None, Sd0C=None, C37M=False, **B2fa):
LZpg, aNZO = QrM1.subplots()
if C37M:
qqgr = oyIN.mean(nPrm[1])
aNZO.axhline(y=qqgr, color='gray', label=f'avg: {qqgr:.3g}', ls='-', marker='')
aNZO.legend(loc='best')
aNZO.plot(*nPrm, **B2fa)
aNZO.set_xlabel(Crrw[0]... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Hx4M(WKvO):\n QrM1.plot(WKvO)",
"def DcAv(YKHO, **B2fa):\n return YKHO.plot(**roQF(dict(trace_kwargs=dict(mode='lines')), B2fa))",
"def HGhg(YKHO):\n if YKHO.herbivore_line is None:\n pIMi = YKHO.ax_line.plot(oyIN.arange(0, YKHO.final_year), oyIN.full(YKHO.final_year, oyIN.nan))\n YK... | [
"0.8216405",
"0.7829677",
"0.75031936",
"0.7478208",
"0.7382989",
"0.73717034",
"0.7365161",
"0.7306489",
"0.7295932",
"0.72775817",
"0.72533953",
"0.7252127",
"0.71937567",
"0.71775264",
"0.7158634",
"0.7087697",
"0.70296675",
"0.69457954",
"0.6935899",
"0.69168407",
"0.6914... | 0.0 | -1 |
Return a new DataFrame with categorical variables encoded as 0/1. | def BWlK(nPrm):
for Z9rn in nPrm.columns:
if 'cat' in Z9rn:
ZrDu = rLdf.get_dummies(nPrm[Z9rn])
ZrDu.columns = [Z9rn + '=' + str(Bc4p) for Bc4p in ZrDu.columns]
nPrm = nPrm.drop(Z9rn, axis=1).join(ZrDu)
return nPrm | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tVT8(YKHO):\n YKHO.df = rLdf.get_dummies(YKHO.df[[WKvO for WKvO in YKHO.df.columns]])",
"def JnB_(jQ3Z):\n Y2hU = jQ3Z.select_dtypes('category').columns\n Pjfu = {}\n for fvDH in Y2hU:\n Pjfu.update({fvDH: jQ3Z[fvDH].cat.categories})\n Nwha = rLdf.get_dummies(jQ3Z)\n return (Nwha, Pj... | [
"0.7976179",
"0.7535507",
"0.745549",
"0.73865414",
"0.7384445",
"0.7308632",
"0.7304006",
"0.72393346",
"0.7103643",
"0.7082028",
"0.7066713",
"0.70626533",
"0.70506793",
"0.7041493",
"0.6992761",
"0.698818",
"0.6981963",
"0.6896253",
"0.68154234",
"0.68137753",
"0.6800623",... | 0.6682587 | 31 |
Creates and saves a User with the given email and password. | def lYUQ(YKHO, c9ua, zp3f, ecw6, D3lj, jTXt, **wdCM):
if not D3lj:
raise ValueError('User must have an email')
D3lj = YKHO.normalize_email(D3lj)
CBIr = YKHO.model(first_name=c9ua, last_name=zp3f, phone_no=ecw6, email=D3lj, **wdCM)
CBIr.set_password(jTXt)
CBIr.save(using=YKHO._db)
return ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xWi2(YKHO, D3lj, jTXt, **wdCM):\n if not D3lj:\n raise ValueError('The email must be set')\n D3lj = YKHO.normalize_email(D3lj)\n CBIr = YKHO.model(email=D3lj, **wdCM)\n CBIr.set_password(jTXt)\n CBIr.save()",
"def lYUQ(YKHO, D3lj: str, jTXt: str, **wdCM: dict):\n if not D3lj:\n ... | [
"0.87186766",
"0.84698254",
"0.84610754",
"0.845156",
"0.84259224",
"0.84210205",
"0.8420248",
"0.8415423",
"0.84091556",
"0.84079087",
"0.84079087",
"0.84000343",
"0.840001",
"0.8389738",
"0.8388686",
"0.8388686",
"0.8388686",
"0.8388686",
"0.8388686",
"0.8388686",
"0.838868... | 0.0 | -1 |
Creates and saves superuser with given email and password. | def Zp54(YKHO, c9ua, zp3f, ecw6, D3lj, jTXt):
CBIr = YKHO.create_user(first_name=c9ua, last_name=zp3f, phone_no=ecw6, email=D3lj, password=jTXt)
CBIr.is_superuser = True
CBIr.is_staff = True
CBIr.save(using=YKHO._db)
return CBIr | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Zp54(YKHO, D3lj, jTXt=None, **dDGN):\n YKHO._create_user(D3lj, True, jTXt, **dDGN)",
"def Zp54(YKHO, D3lj, jTXt, **wdCM):\n if jTXt is None:\n raise TypeError('Superusers must have a password.')\n CBIr = YKHO.create_user(D3lj, password=jTXt, **wdCM)\n CBIr.is_superuser = True\n CBIr.is_... | [
"0.8532531",
"0.8377804",
"0.83317226",
"0.83084524",
"0.83064324",
"0.82995355",
"0.82913584",
"0.82696515",
"0.8264764",
"0.8259776",
"0.8258765",
"0.82564056",
"0.8239397",
"0.8233934",
"0.82286686",
"0.82191646",
"0.8215734",
"0.8194864",
"0.81929517",
"0.8189047",
"0.818... | 0.0 | -1 |
Returns the first_name plus the last_name, with a space in between. | def xpqj(YKHO):
eHMM = '%s %s' % (YKHO.first_name, YKHO.last_name)
return eHMM.strip() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def e1yb(c9ua, zp3f):\n eHMM = c9ua + ' ' + zp3f\n return eHMM",
"def xpqj(YKHO):\n return (YKHO.first_name + ' ' + YKHO.last_name).strip()",
"def zFMy(YKHO):\n return (YKHO.first_name or '') + (YKHO.first_name and ' ' or '') + (YKHO.last_name or '')",
"def e1yb(c9ua, zp3f):\n eHMM = c9ua.titl... | [
"0.82872856",
"0.8179012",
"0.81130326",
"0.80760396",
"0.8034134",
"0.8032392",
"0.8030516",
"0.80072623",
"0.8006718",
"0.8005418",
"0.8000916",
"0.7995176",
"0.79901665",
"0.79793483",
"0.79790914",
"0.79603624",
"0.7952844",
"0.7944558",
"0.7944558",
"0.79419315",
"0.7941... | 0.77470917 | 71 |
Invalid identifiers raise ValueError. | def iAZw(sjXb, hkxX):
with trZe.raises(ValueError):
bGrB = u7AR(dict(zip(sjXb, hkxX))) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lm_n(YKHO, Ilxn):\n if not Ilxn.replace(' ', '').isalnum():\n print(YKHO.message['not_alnum'])\n return True\n if not Ilxn[0].isalpha():\n print(YKHO.message['first_not_alpha'])\n return True\n return False",
"def Ihjf(YKHO, mWFP):\n if mWFP not in YKHO.__reserved_keyw... | [
"0.69021976",
"0.67477596",
"0.6654175",
"0.6653389",
"0.6636019",
"0.64948434",
"0.6492818",
"0.64362377",
"0.6430012",
"0.637406",
"0.6321807",
"0.62712026",
"0.6253623",
"0.6238801",
"0.6238801",
"0.62386346",
"0.6230776",
"0.61630857",
"0.6108458",
"0.6075269",
"0.6067316... | 0.651161 | 5 |
Loads up a json file and converts the data inside to python objects | def UlWi(yR_P, NCls, VqRE):
eHNT = open(VqRE)
nPrm = qQXR.loads(eHNT.read().encode('UTF-8'))
_2sc = nPrm.get('model', None)
ei4T = nPrm.get('objects', [])
rV9y = _2vT(yR_P, _2sc)
if rV9y:
for BdPz in ei4T:
afYC = BdPz.pop('children', [])
YEnM, jGRS = cDO8(NCls, rV... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lc9H():\n pass",
"def EBvf(Ux0P):\n with open(Ux0P, encoding='utf-8') as Vf_1:\n zFiD = Vf_1.readline()\n M_Yt = qQXR.loads(zFiD)\n return M_Yt",
"def WEhu(nUeQ):\n with open(nUeQ, 'rb') as input:\n YbAN = qQXR.load(input)\n return YbAN",
"def pktP(Emd4, jr0q):\n wi... | [
"0.78001297",
"0.7794648",
"0.7785026",
"0.775566",
"0.7736304",
"0.7634651",
"0.76110727",
"0.7535255",
"0.7496757",
"0.74964565",
"0.74896973",
"0.7483193",
"0.74803907",
"0.74764574",
"0.7469659",
"0.7458687",
"0.745223",
"0.7420954",
"0.7402556",
"0.73981315",
"0.7394916"... | 0.0 | -1 |
Get list of input labels associated with calibration products. | def wCb7(tTee):
try:
gOEa = tTee['antlist']
PBNH = tTee['pol_ordering']
except KeyError as err:
raise pwyQ(str(XObx))
return [ZMvH + E1Oi for E1Oi in PBNH for ZMvH in gOEa] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Te1x(YKHO):\n return list(YKHO.library.keys())",
"def Crrw(YKHO) -> oyIN.ndarray:\n return YKHO.ik_labels",
"def i59d() -> x1iM[str]:\n assert nunu is not None\n return nunu.get_model_labels()",
"def Te1x(YKHO):\n return []",
"def Te1x(YKHO):\n return []",
"def Te1x(YKHO) -> list:\n... | [
"0.669122",
"0.6500158",
"0.645836",
"0.6424167",
"0.6424167",
"0.64108276",
"0.63919264",
"0.63896084",
"0.63896084",
"0.63216925",
"0.632074",
"0.6319306",
"0.6319306",
"0.62504965",
"0.6221227",
"0.6165789",
"0.6148686",
"0.61446595",
"0.6144203",
"0.6142455",
"0.6131281",... | 0.0 | -1 |
accepts a base 10 number and base as a parameter, then returns a number of that base | def uGJL(mLGw, LDUZ):
bp7k = '0123456789ABCDEF'
if mLGw % LDUZ == mLGw:
return bp7k[mLGw]
else:
return uGJL(mLGw // LDUZ, LDUZ) + bp7k[mLGw % LDUZ] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xb3M(mLGw, P8oC):\n return int(mLGw, P8oC)",
"def lzma(mLGw, P8oC):\n C9yt = ''\n rJrZ = int(mLGw)\n if not mLGw:\n return '0'\n while rJrZ:\n VlDb = rJrZ % P8oC\n rJrZ = rJrZ // P8oC\n C9yt = chr(48 + VlDb + 7 * (VlDb > 10)) + C9yt\n Aofo = int(C9yt)\n return... | [
"0.8692532",
"0.81133467",
"0.8034437",
"0.80207247",
"0.7989443",
"0.79369575",
"0.7911846",
"0.788541",
"0.7880422",
"0.7880422",
"0.7880422",
"0.787271",
"0.78242624",
"0.77805316",
"0.7756639",
"0.77539515",
"0.77178633",
"0.7710643",
"0.77045816",
"0.76988953",
"0.769776... | 0.74041206 | 39 |
Return the state attributes. | def upgy(YKHO):
Aofo = {}
if YKHO.hide_customui_attributes:
Aofo[NICI] = True
if YKHO.hide_attributes:
Aofo[NIqe] = YKHO.hide_attributes
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def upgy(YKHO):\n return YKHO._state_attrs",
"def upgy(YKHO):\n nPrm = {}\n return nPrm",
"def upgy(YKHO):\n azoT = {}\n for H5ew in YKHO._attributes.keys():\n azoT[H5ew] = YKHO._item[YKHO._attributes[H5ew]]\n return azoT",
"def R1i3(YKHO):\n return YKHO.attr\n 'Return the stat... | [
"0.9143806",
"0.8802095",
"0.8796065",
"0.85617536",
"0.84979665",
"0.84979665",
"0.84034306",
"0.838496",
"0.8384177",
"0.836618",
"0.836618",
"0.836618",
"0.836618",
"0.836618",
"0.8365354",
"0.8365354",
"0.8365354",
"0.83578205",
"0.8335189",
"0.8335189",
"0.8335189",
"0... | 0.0 | -1 |
Gets the transaction_id of this PaymentData. | def vkFH(YKHO):
return YKHO._transaction_id | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VkEM(YKHO):\n return YKHO._transaction_id",
"def vkFH(YKHO):\n return YKHO._transaction_id",
"def q0JL(YKHO):\n return YKHO._payment_id",
"def q0JL(YKHO):\n return YKHO.__payment_id",
"def nj7J(YKHO, vkFH):\n return YKHO.http_get(OrYn.TRANSACTION_URL + vkFH).get('transaction')",
"def V... | [
"0.84760803",
"0.8455978",
"0.7129328",
"0.71069366",
"0.7081008",
"0.6941589",
"0.68870324",
"0.6537368",
"0.6512193",
"0.6436972",
"0.64093167",
"0.639502",
"0.6339682",
"0.6339682",
"0.6339682",
"0.6281387",
"0.62574273",
"0.6223998",
"0.6219024",
"0.62168175",
"0.62114996... | 0.83882445 | 2 |
Sets the transaction_id of this PaymentData. | def vkFH(YKHO, vkFH):
if vkFH is None:
raise ValueError('Invalid value for `transaction_id`, must not be `None`')
YKHO._transaction_id = vkFH | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH",
"def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH",
"def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH",
"def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH",
"def vkFH(YKHO, vkFH):\n YKHO._transaction_id = vkFH",
"def LUeP(YKHO, ... | [
"0.8266804",
"0.8266804",
"0.8266804",
"0.8266804",
"0.8135803",
"0.7199366",
"0.6838948",
"0.67555755",
"0.6666441",
"0.6666441",
"0.6660595",
"0.66542494",
"0.63861257",
"0.63861257",
"0.6278128",
"0.62464553",
"0.61372364",
"0.61208826",
"0.61077297",
"0.60918194",
"0.6091... | 0.7906853 | 5 |
Gets the credit_cart_number of this PaymentData. | def tam1(YKHO):
return YKHO._credit_cart_number | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVCJ(YKHO):\n return YKHO._cart_id",
"def tam1(YKHO, tam1):\n if tam1 is None:\n raise ValueError('Invalid value for `credit_cart_number`, must not be `None`')\n if tam1 is not None and (not ZbWC.search('[0-9]{16,16}', tam1)):\n raise ValueError('Invalid value for `credit_cart_number`,... | [
"0.6632681",
"0.62067693",
"0.61772054",
"0.611091",
"0.60539025",
"0.6049792",
"0.6049792",
"0.6048607",
"0.5885379",
"0.5885379",
"0.58023715",
"0.57775766",
"0.57775766",
"0.5669172",
"0.5667431",
"0.56360745",
"0.56360745",
"0.54849374",
"0.5429945",
"0.54098207",
"0.5401... | 0.8752002 | 0 |
Sets the credit_cart_number of this PaymentData. | def tam1(YKHO, tam1):
if tam1 is None:
raise ValueError('Invalid value for `credit_cart_number`, must not be `None`')
if tam1 is not None and (not ZbWC.search('[0-9]{16,16}', tam1)):
raise ValueError('Invalid value for `credit_cart_number`, must be a follow pattern or equal to `/[0-9]{16,16}/`')... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BX4Q(YKHO, BX4Q):\n YKHO._credit_card_number = BX4Q",
"def tam1(YKHO):\n return YKHO._credit_cart_number",
"def MGr7(YKHO, MGr7):\n YKHO._credit_note_number = MGr7",
"def lczG(YKHO, lczG):\n YKHO._credit_amount = lczG",
"def dDJO(YKHO, dDJO):\n YKHO._credit_card_info = dDJO",
"def kfnK... | [
"0.7280035",
"0.6816837",
"0.6648424",
"0.6576403",
"0.6329218",
"0.6177277",
"0.61598724",
"0.61297816",
"0.60489154",
"0.595305",
"0.595305",
"0.595305",
"0.5929392",
"0.5829366",
"0.57616824",
"0.57589847",
"0.57405657",
"0.5734844",
"0.5719703",
"0.56777245",
"0.56777245"... | 0.755892 | 0 |
Gets the cvv of this PaymentData. | def NAXR(YKHO):
return YKHO._cvv | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NAXR(YKHO):\n return YKHO.__cvv",
"def imOZ(YKHO):\n return YKHO._Cv",
"def qlw5(YKHO):\n SGvl = YKHO.df_cdf\n U7YL = YKHO.cp\n WKvO = SGvl.loc[SGvl['cdf'] > U7YL, 'data'].values\n if len(WKvO) > 0:\n jbYn = WKvO[0]\n else:\n jbYn = YKHO.data.max()\n return jbYn",
"d... | [
"0.8154363",
"0.68091077",
"0.6700413",
"0.6644476",
"0.6644476",
"0.6521737",
"0.6521737",
"0.6350097",
"0.6343149",
"0.6223763",
"0.6090215",
"0.6090215",
"0.60157466",
"0.59619856",
"0.5958926",
"0.59415007",
"0.5934497",
"0.5895212",
"0.5895212",
"0.58873546",
"0.5884548"... | 0.82005185 | 0 |
Gets the expiration_date of this PaymentData. | def ad72(YKHO):
return YKHO._expiration_date | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ad72(YKHO):\n return YKHO._get_field('expirationDate')",
"def ad72(YKHO) -> qcWV.datetime:\n return YKHO._expiration_date",
"def ycq0(YKHO):\n return YKHO.expirationdate",
"def ad72(YKHO):\n return YKHO._expires_at.date()",
"def ad72(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'expiratio... | [
"0.8095055",
"0.802485",
"0.7869523",
"0.7736142",
"0.76570123",
"0.76570123",
"0.72420424",
"0.7179225",
"0.7075894",
"0.7074815",
"0.6940979",
"0.6844538",
"0.68302006",
"0.67801744",
"0.67782706",
"0.6744211",
"0.6708145",
"0.6708145",
"0.6708145",
"0.67056906",
"0.6700745... | 0.80447197 | 1 |
Gets the owner_name of this PaymentData. | def yCF_(YKHO):
return YKHO._owner_name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yCF_(YKHO):\n return YKHO.__owner_name",
"def qsJ6(YKHO) -> str:\n return qe4Y.get(YKHO, 'owner')",
"def qsJ6(YKHO):\n return YKHO._data.get('owner', None)",
"def qsJ6(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'owner')",
"def yCF_(YKHO):\n return YKHO.__common_info.owner_name",
"def ... | [
"0.82203305",
"0.8125007",
"0.79825693",
"0.7945305",
"0.79299647",
"0.7899511",
"0.7819671",
"0.7819671",
"0.77993757",
"0.77993757",
"0.7787027",
"0.77773917",
"0.7763659",
"0.77524096",
"0.7732964",
"0.77131635",
"0.7676375",
"0.7676375",
"0.7676375",
"0.7676375",
"0.76763... | 0.8323051 | 0 |
Getter for the action execution result type | def VEOl(YKHO) -> UV1p:
return YKHO._executionresulttype | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HfXH(YKHO):\n return YKHO._result_type",
"def type(YKHO):\n return YKHO._result.type",
"def HfXH(YKHO) -> str:\n return YKHO._result_type",
"def FRul(YKHO) -> S2bQ:\n return YKHO._type",
"def PgMf(YKHO):\n type, J8oL = YKHO._mapping()\n return type",
"def PgMf(YKHO):\n return YKH... | [
"0.7785427",
"0.7779858",
"0.7565563",
"0.7333928",
"0.71100515",
"0.70970875",
"0.7051686",
"0.69913775",
"0.69553983",
"0.69336873",
"0.69336873",
"0.68541485",
"0.67172974",
"0.67172974",
"0.67172974",
"0.67172974",
"0.67172974",
"0.67172974",
"0.67172974",
"0.67172974",
"... | 0.79754406 | 0 |
Getter for the action execution response outputs | def o4Jx(YKHO) -> dict:
return YKHO._outputs | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o4Jx(YKHO) -> ImMB:\n return qe4Y.get(YKHO, 'outputs')",
"def o4Jx(YKHO) -> ImMB:\n return qe4Y.get(YKHO, 'outputs')",
"def o4Jx(YKHO):\n return YKHO['outputs']",
"def o4Jx(YKHO):\n return YKHO._outputs",
"def o4Jx(YKHO):\n return YKHO._outputs",
"def Nup1(YKHO):\n o4Jx = None\n ... | [
"0.7451219",
"0.7451219",
"0.73354083",
"0.7207179",
"0.7207179",
"0.72021085",
"0.7189414",
"0.71068376",
"0.7044751",
"0.70419234",
"0.70172095",
"0.70172095",
"0.70172095",
"0.70172095",
"0.70172095",
"0.70172095",
"0.70108056",
"0.6992061",
"0.6992061",
"0.6992061",
"0.69... | 0.6929842 | 36 |