query stringlengths 9 9.05k | document stringlengths 10 222k | metadata dict | negatives listlengths 30 30 | negative_scores listlengths 30 30 | document_score stringlengths 4 10 | document_rank stringclasses 2
values |
|---|---|---|---|---|---|---|
Test case for remove_trusted_project3 | def test_remove_trusted_project3(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_remove_trusted_project4(self):\n pass",
"def test_remove_trusted_project1(self):\n pass",
"def test_remove_trusted_project6(self):\n pass",
"def test_remove_trusted_project2(self):\n pass",
"def test_remove_trusted_project5(self):\n pass",
"def test_remove_trus... | [
"0.9278655",
"0.9246258",
"0.9157412",
"0.9134749",
"0.91201967",
"0.91039425",
"0.9036883",
"0.77507776",
"0.7569032",
"0.7497728",
"0.7471733",
"0.73709375",
"0.7319566",
"0.72512436",
"0.724262",
"0.720237",
"0.69951224",
"0.67084503",
"0.6693837",
"0.6693837",
"0.6288508"... | 0.9546932 | 0 |
Test case for remove_trusted_project4 | def test_remove_trusted_project4(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_remove_trusted_project3(self):\n pass",
"def test_remove_trusted_project6(self):\n pass",
"def test_remove_trusted_project5(self):\n pass",
"def test_remove_trusted_project1(self):\n pass",
"def test_remove_trusted_project7(self):\n pass",
"def test_remove_trus... | [
"0.93665326",
"0.9304083",
"0.9278743",
"0.9268719",
"0.92684174",
"0.91731745",
"0.91634226",
"0.76994747",
"0.75663847",
"0.7544348",
"0.7483998",
"0.7455191",
"0.74047047",
"0.7276416",
"0.7209261",
"0.7208959",
"0.70610076",
"0.6924763",
"0.6703152",
"0.6703152",
"0.63288... | 0.9543273 | 0 |
Test case for remove_trusted_project5 | def test_remove_trusted_project5(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_remove_trusted_project4(self):\n pass",
"def test_remove_trusted_project6(self):\n pass",
"def test_remove_trusted_project3(self):\n pass",
"def test_remove_trusted_project7(self):\n pass",
"def test_remove_trusted_project1(self):\n pass",
"def test_remove_trus... | [
"0.9409422",
"0.9379898",
"0.93444204",
"0.9290754",
"0.9269168",
"0.9133459",
"0.9105442",
"0.77310395",
"0.76480186",
"0.75851285",
"0.7489856",
"0.7451729",
"0.74309206",
"0.7246543",
"0.7209722",
"0.7162757",
"0.7043448",
"0.6806125",
"0.64220196",
"0.64220196",
"0.622314... | 0.95118666 | 0 |
Test case for remove_trusted_project6 | def test_remove_trusted_project6(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_remove_trusted_project7(self):\n pass",
"def test_remove_trusted_project4(self):\n pass",
"def test_remove_trusted_project5(self):\n pass",
"def test_remove_trusted_project3(self):\n pass",
"def test_remove_trusted_project1(self):\n pass",
"def test_remove_trus... | [
"0.939581",
"0.9384906",
"0.93368316",
"0.93177885",
"0.9211896",
"0.9105562",
"0.9033085",
"0.77461016",
"0.7496969",
"0.749646",
"0.7483712",
"0.7463693",
"0.7402155",
"0.7266633",
"0.7123273",
"0.71190715",
"0.69215924",
"0.68984663",
"0.6431791",
"0.6431791",
"0.6286845",... | 0.95322406 | 0 |
Test case for remove_trusted_project7 | def test_remove_trusted_project7(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_remove_trusted_project6(self):\n pass",
"def test_remove_trusted_project4(self):\n pass",
"def test_remove_trusted_project3(self):\n pass",
"def test_remove_trusted_project5(self):\n pass",
"def test_remove_trusted_project1(self):\n pass",
"def test_remove_trus... | [
"0.9398824",
"0.9376049",
"0.93200684",
"0.9272902",
"0.92145514",
"0.91305655",
"0.9100401",
"0.76087683",
"0.75870156",
"0.75179636",
"0.74906707",
"0.74203193",
"0.7412438",
"0.7254135",
"0.71347374",
"0.71240234",
"0.7028174",
"0.7005196",
"0.6525979",
"0.6525979",
"0.628... | 0.94799876 | 0 |
Test case for remove_virt_realm | def test_remove_virt_realm(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_deallocate_virt_realm(self):\n pass",
"def test_update_virt_realm(self):\n pass",
"def test_update_virtualization_realm(self):\n pass",
"def test_disable_virt_realm_remote_access(self):\n pass",
"def test_get_virtualization_realm(self):\n pass",
"def test_regis... | [
"0.8415829",
"0.76790386",
"0.6977621",
"0.6968231",
"0.6649399",
"0.6488709",
"0.6478052",
"0.64243895",
"0.63384175",
"0.63369054",
"0.60204786",
"0.596914",
"0.5958203",
"0.5943352",
"0.5852323",
"0.58489937",
"0.58290774",
"0.58160895",
"0.5814261",
"0.5807215",
"0.579635... | 0.95876104 | 0 |
Test case for replace_software_asset_for_software_component | def test_replace_software_asset_for_software_component(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_asset(self):\n pass",
"def test_update_software_asset_content(self):\n pass",
"def test_update_software_asset_bundle(self):\n pass",
"def test_import_software_asset(self):\n pass",
"def test_update_software_asset_install_script(self):\n pass",
"... | [
"0.81310123",
"0.8055666",
"0.804227",
"0.7302746",
"0.72951823",
"0.7087468",
"0.69891983",
"0.69518346",
"0.6941114",
"0.69226784",
"0.6725317",
"0.66894275",
"0.6558504",
"0.65035266",
"0.6500949",
"0.6385505",
"0.6357382",
"0.63551706",
"0.6257513",
"0.6034613",
"0.602653... | 0.94514245 | 0 |
Test case for request_project_invitation | def test_request_project_invitation(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_meeting_invitation(self):\n pass",
"def test_new_invitation(self):\n (approval_user_id,\n joining_user_id,\n conversation_id,\n _) = self.setup_invites()\n uri = '/status/{}/{}'.format(conversation_id, approval_user_id)\n self.set_user_cookie(approval_... | [
"0.72965556",
"0.697636",
"0.6641643",
"0.6631371",
"0.6587696",
"0.6527494",
"0.65196896",
"0.65032",
"0.64932173",
"0.649059",
"0.6410881",
"0.63772416",
"0.63487726",
"0.6341639",
"0.6314764",
"0.6272159",
"0.62623215",
"0.6262167",
"0.62577415",
"0.61963934",
"0.6161806",... | 0.9356486 | 0 |
Test case for retest_deployment_run | def test_retest_deployment_run(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_relaunch_deployment_run(self):\n pass",
"def test_get_deployment_run(self):\n pass",
"def test_redeploy(self):\n pass",
"def test_execute_deployment(self):\n pass",
"def test_release_deployment_run(self):\n pass",
"def test_get_deployment_runs1(self):\n ... | [
"0.88667893",
"0.81965613",
"0.8175889",
"0.8149607",
"0.8062848",
"0.80277836",
"0.7990167",
"0.79841083",
"0.7932639",
"0.79243463",
"0.76463956",
"0.731711",
"0.73113394",
"0.7272583",
"0.7163515",
"0.7129374",
"0.7129374",
"0.71230775",
"0.7115689",
"0.6957425",
"0.674332... | 0.94023836 | 0 |
Test case for retrieve_system_asset | def test_retrieve_system_asset(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_create_system_asset(self):\n pass",
"def test_get_test_asset(self):\n pass",
"def test_import_system_asset(self):\n pass",
"def test_list_system_assets(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_delete_system_asset(self):\n p... | [
"0.77519137",
"0.7707771",
"0.7535579",
"0.7114247",
"0.70973",
"0.6749351",
"0.6716273",
"0.6668374",
"0.6478854",
"0.64206934",
"0.63568413",
"0.6275273",
"0.6256317",
"0.6254281",
"0.6108569",
"0.597755",
"0.5956065",
"0.5931337",
"0.5883109",
"0.58797544",
"0.58766145",
... | 0.9224318 | 0 |
Test case for retrieve_team | def test_retrieve_team(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_get_teams(self):\n pass",
"def test_get_teams(self):\n pass",
"def test_teams_get_team_v1(self):\n pass",
"def test_teams_get_teams_v2(self):\n pass",
"def test_basketballteams_get(self):\n pass",
"def test_get_individual_team(self):\n args = {\n ... | [
"0.8301532",
"0.8301532",
"0.81889266",
"0.8013086",
"0.79963243",
"0.79211015",
"0.7728024",
"0.7666184",
"0.7615079",
"0.75721085",
"0.7569918",
"0.7486092",
"0.74240667",
"0.7385046",
"0.73560196",
"0.7339386",
"0.7335217",
"0.73301536",
"0.7326118",
"0.72554547",
"0.72166... | 0.92021567 | 0 |
Test case for retrieve_template_registration | def test_retrieve_template_registration(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_list_template_registrations(self):\n pass",
"def test_update_template_registration(self):\n pass",
"def test_register_template(self):\n pass",
"def test_share_template_registration(self):\n pass",
"def test_get_template_subscription(self):\n pass",
"def test_ge... | [
"0.80948377",
"0.7862938",
"0.7847954",
"0.7625288",
"0.75809413",
"0.7120092",
"0.6964303",
"0.68536776",
"0.68428296",
"0.68417454",
"0.68230385",
"0.6750946",
"0.67507726",
"0.6680093",
"0.66776",
"0.66391975",
"0.6622713",
"0.65810066",
"0.6524386",
"0.6482459",
"0.644694... | 0.94213057 | 0 |
Test case for set_category_parent | def test_set_category_parent(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_get_parents_category(self):\n self.assertEqual(self.category.get_parents(), [])",
"def set_CategoryParent(self, value):\n super(GetCategoriesInputSet, self)._set_input('CategoryParent', value)",
"def test_append_children_category(self):\n category = Category(catname='olympic games... | [
"0.75247896",
"0.72576463",
"0.7246697",
"0.7068522",
"0.69167084",
"0.6779439",
"0.6769781",
"0.6745938",
"0.6740783",
"0.6740783",
"0.6687409",
"0.6687409",
"0.6642051",
"0.6603109",
"0.6516998",
"0.65052515",
"0.6504711",
"0.65035063",
"0.6463029",
"0.6449206",
"0.63634056... | 0.9430129 | 0 |
Test case for set_deployment_run_lock | def test_set_deployment_run_lock(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_lock_unlock(self):\n my_thing_id = str(uuid.uuid4())\n dweepy.lock(my_thing_id, test_lock, test_key)\n dweepy.unlock(my_thing_id, test_key)",
"def test_remove_lock_locked(self):\n my_thing_id = str(uuid.uuid4())\n dweepy.lock(my_thing_id, test_lock, test_key)\n ... | [
"0.65398216",
"0.65217364",
"0.6492108",
"0.6301887",
"0.62380147",
"0.6139231",
"0.6107046",
"0.60549664",
"0.60303235",
"0.5951123",
"0.5924364",
"0.59068596",
"0.5851768",
"0.5823863",
"0.58238256",
"0.5823738",
"0.5815837",
"0.5814343",
"0.5811986",
"0.57598376",
"0.57338... | 0.9452139 | 0 |
Test case for set_power_schedule_for_deployment_run | def test_set_power_schedule_for_deployment_run(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_set_project_default_power_schedule(self):\n pass",
"def test_relaunch_deployment_run(self):\n pass",
"async def test_modify_schedule_type(self):\n await self.populate_test_data() # Populate data in foglamp.scheduled_processes\n\n scheduler = Scheduler(_address, _m_port)\n ... | [
"0.7180433",
"0.65632725",
"0.64348245",
"0.6323346",
"0.6287594",
"0.62824196",
"0.61665934",
"0.6153059",
"0.61351377",
"0.610851",
"0.60932255",
"0.609056",
"0.6041572",
"0.6008032",
"0.59638983",
"0.592223",
"0.5913363",
"0.5907483",
"0.5869108",
"0.58620614",
"0.58414155... | 0.96088576 | 0 |
Test case for set_project_default_power_schedule | def test_set_project_default_power_schedule(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_set_power_schedule_for_deployment_run(self):\n pass",
"def _use_default_schedule(self):\n def gen_day():\n dl = []\n ll = [-1, '', -1, '', '']\n for i in range(8):\n dl.append(ll[:])\n rl = []\n for i in range(4):\n ... | [
"0.77880347",
"0.6669773",
"0.6062775",
"0.5974395",
"0.5895277",
"0.58823246",
"0.5771874",
"0.5720453",
"0.5702882",
"0.56914073",
"0.5675972",
"0.5662644",
"0.5597221",
"0.55601764",
"0.5552833",
"0.5542259",
"0.5505154",
"0.548294",
"0.5466301",
"0.54607344",
"0.54607344"... | 0.963989 | 0 |
Test case for set_project_default_virtualization_realm | def test_set_project_default_virtualization_realm(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_set_virtualization_realm_active(self):\n pass",
"def test_get_virtualization_realm(self):\n pass",
"def test_register_virtualization_realm(self):\n pass",
"def test_update_virtualization_realm(self):\n pass",
"def test_allocate_virtualization_realm(self):\n pass"... | [
"0.79450065",
"0.7679045",
"0.75553143",
"0.74943614",
"0.7327702",
"0.6558012",
"0.6478745",
"0.6472373",
"0.6440592",
"0.6253826",
"0.6249005",
"0.6163103",
"0.61597",
"0.60134804",
"0.58656627",
"0.5804564",
"0.5803319",
"0.5653255",
"0.56303865",
"0.56241554",
"0.55969036... | 0.9590921 | 0 |
Test case for set_project_itar_information | def test_set_project_itar_information(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_project(self):\n pass",
"def test_update_project(self):\n pass",
"def test_get_project(self):\n pass",
"def test_patch_project(self):\n pass",
"def test_read_project(self):\n pass",
"def test_read_project(self):\n pass",
"def test_replace_projec... | [
"0.65574634",
"0.65574634",
"0.64233893",
"0.64083505",
"0.6405177",
"0.6405177",
"0.62742543",
"0.6071113",
"0.5999955",
"0.5993673",
"0.5983071",
"0.5961538",
"0.5895411",
"0.58645904",
"0.585192",
"0.585192",
"0.585192",
"0.5847521",
"0.5784457",
"0.57828516",
"0.5772661",... | 0.9294886 | 0 |
Test case for set_project_limits | def test_set_project_limits(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_deploy_more_vms_than_limit_allows(self):\n self.test_limits(vm_limit=2)",
"def test_limit(self):\n\t\tfor lim in [1, '234', -100, '-200']:\n\t\t\tself.filter.set_limit(lim)\n\t\t\tself.assertEqual(int(lim), self.filter.get_limit(), \"Limit mismatch: %s!=%s\" % (lim, self.filter.get_limit()))\n\t\... | [
"0.64873147",
"0.64516187",
"0.6388095",
"0.6365517",
"0.61912036",
"0.6153099",
"0.61436015",
"0.6053346",
"0.6042491",
"0.601646",
"0.5969472",
"0.59587514",
"0.5958157",
"0.5952138",
"0.59172004",
"0.5898083",
"0.5892134",
"0.5890774",
"0.5870673",
"0.5806265",
"0.5777135"... | 0.95085496 | 0 |
Test case for set_virtualization_realm_active | def test_set_virtualization_realm_active(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_virtualization_realm(self):\n pass",
"def test_register_virtualization_realm(self):\n pass",
"def test_get_virtualization_realm(self):\n pass",
"def test_allocate_virtualization_realm(self):\n pass",
"def test_set_project_default_virtualization_realm(self):\n ... | [
"0.80295473",
"0.78152186",
"0.7771694",
"0.77008396",
"0.72018975",
"0.70542246",
"0.6944395",
"0.6893473",
"0.6855249",
"0.68041956",
"0.65922964",
"0.6319137",
"0.6224216",
"0.61792886",
"0.6141512",
"0.5971205",
"0.58212847",
"0.5810792",
"0.57516867",
"0.57303715",
"0.55... | 0.9532621 | 0 |
Test case for share_template_registration | def test_share_template_registration(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_unshare_template_registration(self):\n pass",
"def test_retrieve_template_registration(self):\n pass",
"def test_register_template(self):\n pass",
"def test_update_template_registration(self):\n pass",
"def test_create_template_subsciption(self):\n pass",
"def ... | [
"0.81283075",
"0.79852206",
"0.784368",
"0.78152233",
"0.70685333",
"0.70141304",
"0.6897447",
"0.6868497",
"0.6802155",
"0.66807735",
"0.66322416",
"0.65081495",
"0.64922345",
"0.64888346",
"0.64753515",
"0.6442192",
"0.6432612",
"0.6390854",
"0.63531464",
"0.63472337",
"0.6... | 0.94731945 | 0 |
Test case for submit_asset_to_submission_service | def test_submit_asset_to_submission_service(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_submission_service(self):\n pass",
"def test_submit_report(self):\n from .test.encrypted_blob_generator import ReportEncryptor\n url = submit_report_ep;\n test_post_sample_submission = copy.copy(self.post_sample_submission)\n test_post_sample_submission['encrypt... | [
"0.6690172",
"0.66271394",
"0.6500486",
"0.64511997",
"0.63678914",
"0.61843795",
"0.6177509",
"0.6070321",
"0.60634094",
"0.6015269",
"0.6006148",
"0.597104",
"0.59475404",
"0.59474057",
"0.59460247",
"0.5938888",
"0.5933266",
"0.59007806",
"0.58934855",
"0.5891681",
"0.5877... | 0.9587426 | 0 |
Test case for unassign_managing_team | def test_unassign_managing_team(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_remove_team_manager_from_team(self):\n pass",
"def test_handle_unassign_as_team_lead(self):\r\n def facade_retrieve_side_effect(*args, **kwargs):\r\n \"\"\"Return a side effect for the mock facade.\"\"\"\r\n if args[0] == Project:\r\n return Project(\"G... | [
"0.74560046",
"0.7446941",
"0.71779084",
"0.6980405",
"0.6945563",
"0.683937",
"0.68131936",
"0.680543",
"0.666881",
"0.65452445",
"0.65035367",
"0.64305186",
"0.63904566",
"0.6305872",
"0.6301154",
"0.6292395",
"0.6246176",
"0.6204388",
"0.6099144",
"0.6093116",
"0.6054029",... | 0.9542753 | 0 |
Test case for unregister_template | def test_unregister_template(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_unshare_template_registration(self):\n pass",
"def test_list_unregistered_templates(self):\n pass",
"def test_delete_template_subscription(self):\n pass",
"def test_delete_namespaced_template(self):\n pass",
"def test_register_template(self):\n pass",
"def test... | [
"0.8266894",
"0.75216526",
"0.72108436",
"0.70623195",
"0.7020946",
"0.689085",
"0.6745585",
"0.6614777",
"0.6574184",
"0.652842",
"0.6404528",
"0.62667716",
"0.6230103",
"0.61180145",
"0.60583645",
"0.60513514",
"0.60434884",
"0.60297287",
"0.59873724",
"0.59873724",
"0.5941... | 0.9313844 | 0 |
Test case for unshare_template_registration | def test_unshare_template_registration(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_unregister_template(self):\n pass",
"def test_share_template_registration(self):\n pass",
"def test_list_unregistered_templates(self):\n pass",
"def test_delete_template_subscription(self):\n pass",
"def test_update_template_registration(self):\n pass",
"def te... | [
"0.8519667",
"0.79101807",
"0.73495406",
"0.70867145",
"0.69696724",
"0.68918645",
"0.68361384",
"0.68302506",
"0.6418135",
"0.6403143",
"0.62631977",
"0.6220697",
"0.62183076",
"0.620692",
"0.6064587",
"0.60095567",
"0.5959378",
"0.5951477",
"0.59085053",
"0.58501303",
"0.58... | 0.9629609 | 0 |
Test case for update_asset | def test_update_asset(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_test_asset(self):\n pass",
"def test_update_asset_content(self):\n pass",
"def test_update_test_asset_content(self):\n pass",
"def test_update_asset_state(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_update_software_asset(self)... | [
"0.9143298",
"0.8754931",
"0.85765153",
"0.84248626",
"0.8293034",
"0.82076514",
"0.79654044",
"0.7586861",
"0.75134826",
"0.74644655",
"0.73476195",
"0.7059753",
"0.70486987",
"0.69465137",
"0.6925012",
"0.6866125",
"0.6836165",
"0.6777377",
"0.67356104",
"0.6722325",
"0.672... | 0.93774635 | 0 |
Test case for update_asset_content | def test_update_asset_content(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_test_asset_content(self):\n pass",
"def test_update_asset(self):\n pass",
"def test_update_software_asset_content(self):\n pass",
"def test_update_test_asset(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_update_software_asset(se... | [
"0.9216964",
"0.8613375",
"0.85233027",
"0.8422238",
"0.77063775",
"0.7631445",
"0.7557946",
"0.7261228",
"0.71722364",
"0.7138799",
"0.70724344",
"0.6819154",
"0.666328",
"0.6620676",
"0.65834427",
"0.6485968",
"0.647259",
"0.6469849",
"0.64016527",
"0.6347597",
"0.633786",
... | 0.94159484 | 0 |
Test case for update_asset_state | def test_update_asset_state(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_asset(self):\n pass",
"def test_update_test_asset(self):\n pass",
"def test_update_state(self):\n pass",
"def test_update_state3(self):\n pass",
"def test_update_asset_content(self):\n pass",
"def test_update_state2(self):\n pass",
"def test_upd... | [
"0.80782825",
"0.78780204",
"0.7578399",
"0.742401",
"0.74090177",
"0.7325714",
"0.7273254",
"0.7257175",
"0.72393346",
"0.7206092",
"0.71312016",
"0.7070647",
"0.6897969",
"0.674873",
"0.66741043",
"0.66584134",
"0.6597938",
"0.6551835",
"0.65515196",
"0.64148074",
"0.638313... | 0.9406183 | 0 |
Test case for update_asset_visibility_query | def test_update_asset_visibility_query(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_visibility_query(self):\n pass",
"def test_update_visibility_query2(self):\n pass",
"def test_update_visibility_query3(self):\n pass",
"def test_update_visibility_query1(self):\n pass",
"def test_update_visibility_query4(self):\n pass",
"def test_update_... | [
"0.8186437",
"0.81362695",
"0.81230724",
"0.8075404",
"0.80016315",
"0.7795965",
"0.6261526",
"0.6221363",
"0.61021906",
"0.60756254",
"0.6004977",
"0.59099925",
"0.5834948",
"0.5724236",
"0.5715103",
"0.562968",
"0.5584751",
"0.54838",
"0.54498",
"0.54482436",
"0.5418662",
... | 0.9468239 | 0 |
Test case for update_category | def test_update_category(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_category(self):\n self.update_success(self.test_data['pants'], self.test_data['shirts'])",
"def test_category_update(self):\n login = self.autheniticate()\n token = json.loads(login.data.decode()).get('token')\n self.app.post(category_url,\n data=j... | [
"0.86986804",
"0.82034546",
"0.8127593",
"0.81214726",
"0.8116833",
"0.77859855",
"0.7695535",
"0.76880234",
"0.7634107",
"0.75649005",
"0.75559545",
"0.7522682",
"0.73546076",
"0.73352194",
"0.7146677",
"0.71418315",
"0.71250314",
"0.6967468",
"0.6949111",
"0.69295293",
"0.6... | 0.93830985 | 0 |
Test case for update_cloud | def test_update_cloud(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_get_cloud(self):\n pass",
"def test_update_case(self):\n pass",
"def test_update(self):\n pass",
"def test_update(self):\n pass",
"def test_update(self):\n pass",
"def test_cloud_api(tmp_path, is_cloud):\n config = mk_tmp_file(\n tmp_path, key_to_upda... | [
"0.7099971",
"0.70921254",
"0.7071093",
"0.7071093",
"0.7071093",
"0.69353676",
"0.6912366",
"0.68711144",
"0.6801207",
"0.67395914",
"0.6733072",
"0.67293656",
"0.6703742",
"0.6690799",
"0.6664624",
"0.6664624",
"0.6492792",
"0.6480173",
"0.64646196",
"0.6428826",
"0.6390208... | 0.941336 | 0 |
Test case for update_composition | def test_update_composition(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_composition(self):",
"def test_update(self):\n # this is tested graphically, as it is UI\n pass",
"def test_get_composition(self):\n pass",
"def test_launch_composition(self):\n pass",
"def test_composition_adds_to_100_percent(self):",
"def test_update_collection(self... | [
"0.7167518",
"0.7037734",
"0.69457155",
"0.68069243",
"0.6690189",
"0.668691",
"0.6638788",
"0.6638788",
"0.6638788",
"0.65686834",
"0.6405884",
"0.63726896",
"0.63652927",
"0.6346053",
"0.63192606",
"0.62668085",
"0.6254495",
"0.62431693",
"0.6226514",
"0.6187013",
"0.612742... | 0.93948174 | 0 |
Test case for update_deployment | def test_update_deployment(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_deployment_state(self):\n pass",
"def test_retest_deployment_run(self):\n pass",
"def test_execute_deployment(self):\n pass",
"def test_create_deployment(self):\n pass",
"def test_release_deployment_run(self):\n pass",
"def test_publish_deployment_run(se... | [
"0.86214006",
"0.7897574",
"0.77938586",
"0.74998325",
"0.7491759",
"0.7470526",
"0.73979163",
"0.7376222",
"0.7376222",
"0.7341087",
"0.7328213",
"0.73271334",
"0.73019856",
"0.72808087",
"0.7272297",
"0.7238414",
"0.71365225",
"0.7043166",
"0.6964594",
"0.69216716",
"0.6857... | 0.9462699 | 0 |
Test case for update_deployment_state | def test_update_deployment_state(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_deployment(self):\n pass",
"def test_update_state(self):\n pass",
"def test_update_state1(self):\n pass",
"def test_update_state2(self):\n pass",
"def test_update_state4(self):\n pass",
"def test_update_state3(self):\n pass",
"def test_update_ap... | [
"0.8097301",
"0.7649791",
"0.74259627",
"0.739222",
"0.7294069",
"0.7267434",
"0.71443653",
"0.7071182",
"0.68353486",
"0.67738706",
"0.6750318",
"0.6656775",
"0.66130435",
"0.65754175",
"0.65620977",
"0.65335715",
"0.6463222",
"0.6454027",
"0.6409663",
"0.63748467",
"0.63576... | 0.9399369 | 0 |
Test case for update_deployment_visibility_query | def test_update_deployment_visibility_query(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_visibility_query(self):\n pass",
"def test_update_visibility_query2(self):\n pass",
"def test_update_visibility_query1(self):\n pass",
"def test_update_visibility_query4(self):\n pass",
"def test_update_visibility_query3(self):\n pass",
"def test_update_... | [
"0.8173803",
"0.8062232",
"0.8044011",
"0.7952982",
"0.7947686",
"0.78972185",
"0.59307784",
"0.5796152",
"0.5660492",
"0.5593931",
"0.55589646",
"0.54316604",
"0.54103506",
"0.53888404",
"0.5297964",
"0.5226097",
"0.52231145",
"0.52171427",
"0.5216443",
"0.5186348",
"0.51708... | 0.95018893 | 0 |
Test case for update_impact_level | def test_update_impact_level(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_test_asset_impact_level(self):\n pass",
"def test_update_software_asset_impact_level(self):\n pass",
"def test_update_virtualization_realm_maximum_impact_level(self):\n pass",
"def test_update_scenario(self):\n pass",
"def test_update_case(self):\n pass",
... | [
"0.84757",
"0.8180517",
"0.6904667",
"0.6527928",
"0.63468087",
"0.6327154",
"0.6299115",
"0.6278013",
"0.62684965",
"0.61658657",
"0.61547214",
"0.6081237",
"0.6079794",
"0.605033",
"0.6037451",
"0.6036785",
"0.60179037",
"0.6013135",
"0.5981305",
"0.59558624",
"0.59506905",... | 0.94299084 | 0 |
Test case for update_instance_limit | def test_update_instance_limit(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_instance_limit1(self):\n pass",
"def test_update_hyperflex_feature_limit_internal(self):\n pass",
"def test_update(self):\n\n # Test that instances without application information cannot be started\n incomplete_instance = Instance(self.client, 'foo')\n with se... | [
"0.89634675",
"0.69365686",
"0.67566144",
"0.6548813",
"0.6407262",
"0.63972616",
"0.6323105",
"0.6290356",
"0.6200288",
"0.6181754",
"0.6152498",
"0.61242133",
"0.60993487",
"0.60549104",
"0.60436743",
"0.60218275",
"0.60065717",
"0.60033876",
"0.59989065",
"0.5996914",
"0.5... | 0.94088084 | 0 |
Test case for update_instance_limit1 | def test_update_instance_limit1(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_instance_limit(self):\n pass",
"def test_update(self):\n\n # Test that instances without application information cannot be started\n incomplete_instance = Instance(self.client, 'foo')\n with self.assertRaises(ValueError):\n incomplete_instance.update()\n\n ... | [
"0.90392417",
"0.72254086",
"0.664209",
"0.6522369",
"0.6504876",
"0.64205045",
"0.6413986",
"0.64058137",
"0.63731486",
"0.63731486",
"0.63731486",
"0.6229071",
"0.6178786",
"0.6153487",
"0.6126983",
"0.6108289",
"0.61072",
"0.6079496",
"0.6018102",
"0.60180384",
"0.59937835... | 0.9368797 | 0 |
Test case for update_offline_status | def test_update_offline_status(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def refresh_status() -> None:\n ...",
"def take_server_offline(self, server):\n server.status = 0\n print(f\"Server {server.server_name} is offline\")",
"def is_offline(self):\n return not self.is_online",
"def test_get_status(self):\n pass",
"def test_get_status(self):\n ... | [
"0.68435526",
"0.6768095",
"0.6515803",
"0.6448386",
"0.6448386",
"0.63707757",
"0.63168746",
"0.6233449",
"0.6192555",
"0.61632586",
"0.61563146",
"0.61377037",
"0.6125013",
"0.6087687",
"0.6074899",
"0.60706824",
"0.605092",
"0.60194963",
"0.59912175",
"0.597738",
"0.595986... | 0.9403645 | 0 |
Test case for update_project | def test_update_project(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_patch_project(self):\n pass",
"def test_replace_project(self):\n pass",
"def test_patch_project(self):\n self.assertEqual(Project.objects.count(), 2)\n\n url = reverse(\n 'projectroles:api_project_update',\n kwargs={'project': self.project.sodar_uuid},... | [
"0.82712364",
"0.7873975",
"0.7442448",
"0.74199355",
"0.7384629",
"0.7369599",
"0.73155415",
"0.7272609",
"0.7195377",
"0.7130262",
"0.7127845",
"0.7127845",
"0.7127845",
"0.7080842",
"0.7078068",
"0.7027116",
"0.7027116",
"0.7027116",
"0.7019853",
"0.7015513",
"0.700853",
... | 0.94864285 | 1 |
Test case for update_scenario | def test_update_scenario(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_case(self):\n pass",
"def test_update(self):\n pass",
"def test_update(self):\n pass",
"def test_update(self):\n pass",
"def test_update(self):\n # this is tested graphically, as it is UI\n pass",
"def test_update_one(self):\n pass",
"def... | [
"0.8633607",
"0.8184428",
"0.8184428",
"0.8184428",
"0.79896855",
"0.7689423",
"0.7678988",
"0.7498525",
"0.74358207",
"0.73994005",
"0.7351109",
"0.7314285",
"0.72363174",
"0.72361696",
"0.72323847",
"0.72033507",
"0.72013026",
"0.715421",
"0.7147391",
"0.7114819",
"0.706377... | 0.9363554 | 0 |
Test case for update_software_asset | def test_update_software_asset(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_asset_content(self):\n pass",
"def test_update_software_asset_bundle(self):\n pass",
"def test_update_software_asset_install_script(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_update_asset(self):\n pass",
"def test_up... | [
"0.90097904",
"0.88216394",
"0.84057766",
"0.8372628",
"0.82926196",
"0.81492966",
"0.79494447",
"0.77838933",
"0.77556676",
"0.76564956",
"0.7455382",
"0.74485105",
"0.70124674",
"0.6892675",
"0.6845004",
"0.67140436",
"0.66513544",
"0.66512203",
"0.66395545",
"0.66260374",
... | 0.9420912 | 0 |
Test case for update_software_asset_bundle | def test_update_software_asset_bundle(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_asset(self):\n pass",
"def test_update_software_asset_content(self):\n pass",
"def test_update_software_asset_install_script(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_update_asset(self):\n pass",
"def test_replace_s... | [
"0.87701994",
"0.8455163",
"0.82160974",
"0.8140121",
"0.7851298",
"0.781395",
"0.77796733",
"0.7751182",
"0.75031376",
"0.7462378",
"0.7409722",
"0.7196904",
"0.712641",
"0.709311",
"0.70342386",
"0.6997318",
"0.6971441",
"0.6736863",
"0.6725377",
"0.6657159",
"0.6550591",
... | 0.9494568 | 0 |
Test case for update_software_asset_content | def test_update_software_asset_content(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_asset(self):\n pass",
"def test_update_asset_content(self):\n pass",
"def test_update_test_asset_content(self):\n pass",
"def test_update_software_asset_bundle(self):\n pass",
"def test_update_asset(self):\n pass",
"def test_update_system_asset(... | [
"0.8799268",
"0.8617799",
"0.84500706",
"0.8301085",
"0.79783267",
"0.7929388",
"0.787803",
"0.78279155",
"0.7656188",
"0.7133955",
"0.7055889",
"0.69850993",
"0.69302255",
"0.67347336",
"0.66582596",
"0.6600296",
"0.64972675",
"0.6450786",
"0.64347553",
"0.6350145",
"0.63473... | 0.942054 | 0 |
Test case for update_software_asset_impact_level | def test_update_software_asset_impact_level(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_test_asset_impact_level(self):\n pass",
"def test_update_impact_level(self):\n pass",
"def test_update_software_asset(self):\n pass",
"def test_update_virtualization_realm_maximum_impact_level(self):\n pass",
"def test_update_software_asset_content(self):\n ... | [
"0.9056089",
"0.8565206",
"0.70213765",
"0.66773397",
"0.66148573",
"0.6394925",
"0.63873",
"0.63491744",
"0.6302349",
"0.62323797",
"0.61223865",
"0.5888726",
"0.5873419",
"0.58609945",
"0.5777155",
"0.5771139",
"0.575647",
"0.5701396",
"0.5689409",
"0.56543475",
"0.5647792"... | 0.9490574 | 0 |
Test case for update_software_asset_install_script | def test_update_software_asset_install_script(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_asset(self):\n pass",
"def test_update_software_asset_bundle(self):\n pass",
"def test_update_software_asset_content(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_import_software_asset(self):\n pass",
"def test_replace_... | [
"0.83913547",
"0.8184054",
"0.8025467",
"0.7466697",
"0.7389904",
"0.71649176",
"0.7088116",
"0.69908977",
"0.6915503",
"0.6860652",
"0.66807467",
"0.6628598",
"0.6353948",
"0.6325582",
"0.62891716",
"0.62386537",
"0.6202956",
"0.61861473",
"0.6186",
"0.61837184",
"0.615646",... | 0.9479009 | 0 |
Test case for update_software_component_for_system_module | def test_update_software_component_for_system_module(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_components_for_system_module(self):\n pass",
"def test_update_software_configuration_for_system_module(self):\n pass",
"def test_update_system(self):\n pass",
"def test_get_software(self):\n pass",
"def test_replace_software_asset_for_software_component(... | [
"0.9378847",
"0.8261632",
"0.73587364",
"0.70133525",
"0.7002387",
"0.69219327",
"0.68841183",
"0.6825436",
"0.67245394",
"0.66946787",
"0.6648212",
"0.659147",
"0.6586715",
"0.65491015",
"0.6407388",
"0.63306653",
"0.6315472",
"0.6305889",
"0.63046604",
"0.6295179",
"0.62912... | 0.9578852 | 0 |
Test case for update_software_components_for_system_module | def test_update_software_components_for_system_module(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_component_for_system_module(self):\n pass",
"def test_update_software_configuration_for_system_module(self):\n pass",
"def test_update_system(self):\n pass",
"def test_create_software_bundle_from_system_module(self):\n pass",
"def test_get_software(self)... | [
"0.94248444",
"0.8288344",
"0.7360887",
"0.6953799",
"0.6945915",
"0.67524755",
"0.6744062",
"0.67024505",
"0.6653616",
"0.65795577",
"0.65515274",
"0.6533397",
"0.63919365",
"0.63894856",
"0.6340409",
"0.63366187",
"0.6326915",
"0.6287757",
"0.6284077",
"0.6283095",
"0.62538... | 0.95613813 | 0 |
Test case for update_software_configuration_for_system_module | def test_update_software_configuration_for_system_module(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_components_for_system_module(self):\n pass",
"def test_update_software_component_for_system_module(self):\n pass",
"def test_update_system(self):\n pass",
"def test_update_hyperflex_sys_config_policy(self):\n pass",
"def test_get_software(self):\n ... | [
"0.85446596",
"0.8518756",
"0.7423729",
"0.68361396",
"0.6770421",
"0.6716852",
"0.67028815",
"0.66129404",
"0.6603769",
"0.6377524",
"0.6371242",
"0.6350365",
"0.6344052",
"0.6289237",
"0.6274943",
"0.622654",
"0.62143934",
"0.62125593",
"0.61739755",
"0.6142919",
"0.6093235... | 0.9527486 | 0 |
Test case for update_state | def test_update_state(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_state2(self):\n pass",
"def test_update_state1(self):\n pass",
"def test_update_state4(self):\n pass",
"def test_update_state3(self):\n pass",
"def _update_state(self) -> None:\n raise NotImplementedError(\"\")",
"def test_update_state(self):\n # ... | [
"0.90650016",
"0.8994204",
"0.8882347",
"0.88507277",
"0.7840166",
"0.7732111",
"0.77048653",
"0.7547397",
"0.75329256",
"0.7501524",
"0.74654764",
"0.7379991",
"0.7304678",
"0.7224549",
"0.7195168",
"0.7174975",
"0.7174975",
"0.7174975",
"0.7053789",
"0.70275736",
"0.7019611... | 0.92860615 | 0 |
Test case for update_state1 | def test_update_state1(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_state2(self):\n pass",
"def test_update_state3(self):\n pass",
"def test_update_state4(self):\n pass",
"def test_update_state(self):\n pass",
"def test_update_team_state(self):\n pass",
"def test_update_case(self):\n pass",
"def test_update_stat... | [
"0.9220482",
"0.90468025",
"0.8997684",
"0.89022136",
"0.7444404",
"0.7378123",
"0.73367244",
"0.73064166",
"0.72740257",
"0.71150786",
"0.71029127",
"0.7085263",
"0.7074055",
"0.70731896",
"0.70468974",
"0.70468974",
"0.70468974",
"0.6989267",
"0.69715285",
"0.69641393",
"0.... | 0.94308144 | 0 |
Test case for update_state2 | def test_update_state2(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_state1(self):\n pass",
"def test_update_state3(self):\n pass",
"def test_update_state4(self):\n pass",
"def test_update_state(self):\n pass",
"def test_update_team_state(self):\n pass",
"def test_update_with_target_state(self):\n self.switch._targ... | [
"0.91473377",
"0.89780223",
"0.8873793",
"0.87756175",
"0.74923503",
"0.73244196",
"0.7199641",
"0.7134783",
"0.70961064",
"0.70937085",
"0.7061208",
"0.7052283",
"0.6953614",
"0.69286966",
"0.6883234",
"0.68626595",
"0.68626595",
"0.68626595",
"0.68593365",
"0.68404084",
"0.... | 0.9339467 | 0 |
Test case for update_state3 | def test_update_state3(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_state4(self):\n pass",
"def test_update_state1(self):\n pass",
"def test_update_state2(self):\n pass",
"def test_update_state(self):\n pass",
"def test_update_team_state(self):\n pass",
"def test_update_with_target_state(self):\n self.switch._targ... | [
"0.8868809",
"0.87086105",
"0.8690531",
"0.84261096",
"0.7308455",
"0.6883479",
"0.6845802",
"0.6839111",
"0.6818367",
"0.68052644",
"0.67649287",
"0.6679476",
"0.66562235",
"0.66383916",
"0.6637185",
"0.6608426",
"0.6582253",
"0.65740657",
"0.6563326",
"0.65477777",
"0.65477... | 0.94126165 | 0 |
Test case for update_state4 | def test_update_state4(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_state3(self):\n pass",
"def test_update_state1(self):\n pass",
"def test_update_state2(self):\n pass",
"def test_update_state(self):\n pass",
"def test_update_team_state(self):\n pass",
"def _update_state(self) -> None:\n raise NotImplementedError... | [
"0.9059846",
"0.88674414",
"0.88480985",
"0.8702609",
"0.7379894",
"0.7227429",
"0.7169814",
"0.716223",
"0.69861054",
"0.6944493",
"0.6881959",
"0.6878889",
"0.68730235",
"0.68730235",
"0.68730235",
"0.6799802",
"0.67940295",
"0.67679036",
"0.6767171",
"0.6751696",
"0.672925... | 0.93870157 | 0 |
Test case for update_submission_service | def test_update_submission_service(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_submission(self):\n sub_response_register = register_ok_submission(self, self.token)\n response_data = json.loads(sub_response_register.data.decode())\n self.assertTrue(response_data['status']=='success')\n\n sub = [sub for sub in Submission.query(hash_key=self.new_user.... | [
"0.7986529",
"0.7391966",
"0.72174513",
"0.67534065",
"0.6728488",
"0.67201805",
"0.6701196",
"0.662485",
"0.662485",
"0.662485",
"0.6623543",
"0.656298",
"0.6560935",
"0.64342374",
"0.6423602",
"0.6408815",
"0.62988925",
"0.6281675",
"0.6247902",
"0.6242018",
"0.6235286",
... | 0.9418527 | 0 |
Test case for update_system | def test_update_system(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_components_for_system_module(self):\n pass",
"def test_update_software_component_for_system_module(self):\n pass",
"def test_update(self):\n pass",
"def test_update(self):\n pass",
"def test_update(self):\n pass",
"def test_update_software_confi... | [
"0.7573081",
"0.75620997",
"0.7388021",
"0.7388021",
"0.7388021",
"0.7367651",
"0.73206335",
"0.7276517",
"0.72452503",
"0.72151643",
"0.7154748",
"0.7105684",
"0.70866823",
"0.7051622",
"0.69976836",
"0.6959212",
"0.69474953",
"0.69256157",
"0.6844956",
"0.6821314",
"0.68142... | 0.93254966 | 0 |
Test case for update_system_asset | def test_update_system_asset(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_asset(self):\n pass",
"def test_update_asset(self):\n pass",
"def test_update_test_asset(self):\n pass",
"def test_update_software_asset_content(self):\n pass",
"def test_update_software_asset_bundle(self):\n pass",
"def test_update_asset_conten... | [
"0.8627617",
"0.86174226",
"0.847632",
"0.83158314",
"0.8198396",
"0.8134645",
"0.8015189",
"0.78182375",
"0.7675692",
"0.7624564",
"0.7601504",
"0.7267885",
"0.720338",
"0.7172237",
"0.7145844",
"0.69633514",
"0.6903347",
"0.68385565",
"0.6721758",
"0.6652686",
"0.6607123",
... | 0.9345082 | 0 |
Test case for update_team | def test_update_team(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_team_state(self):\n pass",
"def test_teams_partial_update(self):\n pass",
"def test_assign_managing_team(self):\n pass",
"def test_owners_can_edit_team_data(self):\n\n data = {\n 'description': 'Edited description',\n 'name': 'Edited Name'\n ... | [
"0.85192895",
"0.8296829",
"0.77149934",
"0.7379314",
"0.7291607",
"0.7266206",
"0.72539693",
"0.7237011",
"0.7220214",
"0.71904546",
"0.71381044",
"0.71381044",
"0.71381044",
"0.705516",
"0.70339763",
"0.7015948",
"0.69919944",
"0.6967077",
"0.69559014",
"0.68977255",
"0.689... | 0.93950874 | 0 |
Test case for update_team_state | def test_update_team_state(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_team(self):\n pass",
"def test_update_state(self):\n pass",
"def test_update_state2(self):\n pass",
"def test_update_state1(self):\n pass",
"def test_update_state4(self):\n pass",
"def test_update_state3(self):\n pass",
"def test_teams_partial_u... | [
"0.81864196",
"0.8020687",
"0.7968662",
"0.7889632",
"0.7888545",
"0.7871952",
"0.7234962",
"0.71040696",
"0.67417157",
"0.67114717",
"0.66611534",
"0.6657386",
"0.66307276",
"0.6600209",
"0.65888625",
"0.6569521",
"0.65363485",
"0.6495709",
"0.64642227",
"0.64642227",
"0.646... | 0.94142497 | 0 |
Test case for update_template_profile_for_system_module | def test_update_template_profile_for_system_module(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_template_registration(self):\n pass",
"def test_update_device_template(self):\n pass",
"def test_update_software_configuration_for_system_module(self):\n pass",
"def test_update_hyperflex_node_profile(self):\n pass",
"def test_update_system(self):\n pass",... | [
"0.6785579",
"0.6356617",
"0.62918997",
"0.6184703",
"0.6153149",
"0.6130606",
"0.612474",
"0.6082451",
"0.6069823",
"0.60412025",
"0.58541983",
"0.58381355",
"0.58368003",
"0.5815376",
"0.5805497",
"0.5766707",
"0.57287014",
"0.56950647",
"0.56297696",
"0.5629228",
"0.560505... | 0.94910216 | 0 |
Test case for update_template_registration | def test_update_template_registration(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_template_subscription(self):\n pass",
"def test_retrieve_template_registration(self):\n pass",
"def test_register_template(self):\n pass",
"def test_update_device_template(self):\n pass",
"def test_share_template_registration(self):\n pass",
"def test_up... | [
"0.8083718",
"0.79749024",
"0.7708383",
"0.7686474",
"0.7682151",
"0.753326",
"0.7352316",
"0.72988415",
"0.70525295",
"0.7021686",
"0.6982262",
"0.6621553",
"0.6618101",
"0.658619",
"0.6572706",
"0.6557499",
"0.6534021",
"0.6534021",
"0.6345299",
"0.6320398",
"0.6245217",
... | 0.9445199 | 0 |
Test case for update_template_subscription | def test_update_template_subscription(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_subscription_template(self):\n pass",
"def test_update_subscription(self):\n pass",
"def test_get_template_subscription(self):\n pass",
"def test_create_subscription_template(self):\n pass",
"def test_delete_template_subscription(self):\n pass",
"def tes... | [
"0.93085617",
"0.81070775",
"0.79437876",
"0.7854699",
"0.75393814",
"0.750173",
"0.7486028",
"0.73872113",
"0.73769885",
"0.71420544",
"0.70529866",
"0.6996687",
"0.68146324",
"0.671821",
"0.6618665",
"0.6602217",
"0.6570982",
"0.6490833",
"0.64818263",
"0.640444",
"0.636651... | 0.9456401 | 0 |
Test case for update_test_asset | def test_update_test_asset(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_asset(self):\n pass",
"def test_update_test_asset_content(self):\n pass",
"def test_update_asset_content(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_update_software_asset(self):\n pass",
"def test_update_asset_state(self):\n ... | [
"0.9405167",
"0.8970323",
"0.8844878",
"0.8524712",
"0.8446598",
"0.8428697",
"0.81937164",
"0.7833235",
"0.75604",
"0.7455418",
"0.74237746",
"0.7359769",
"0.7320598",
"0.72027475",
"0.71906775",
"0.71747935",
"0.70215386",
"0.70215386",
"0.70215386",
"0.69742155",
"0.693540... | 0.95299613 | 0 |
Test case for update_test_asset_content | def test_update_test_asset_content(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_asset_content(self):\n pass",
"def test_update_test_asset(self):\n pass",
"def test_update_asset(self):\n pass",
"def test_update_software_asset_content(self):\n pass",
"def test_update_system_asset(self):\n pass",
"def test_update_software_asset(self):\... | [
"0.9501882",
"0.87986636",
"0.87571913",
"0.87021345",
"0.79243267",
"0.7862141",
"0.76514953",
"0.7385671",
"0.7317416",
"0.72261894",
"0.6899784",
"0.6894357",
"0.6863201",
"0.68026686",
"0.67575234",
"0.66775644",
"0.6651309",
"0.6642442",
"0.6635494",
"0.660337",
"0.65713... | 0.9525743 | 0 |
Test case for update_test_asset_impact_level | def test_update_test_asset_impact_level(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_software_asset_impact_level(self):\n pass",
"def test_update_impact_level(self):\n pass",
"def test_update_asset_state(self):\n pass",
"def test_update_test_asset(self):\n pass",
"def test_update_asset(self):\n pass",
"def test_update_virtualization_real... | [
"0.90864426",
"0.88729835",
"0.673349",
"0.6672863",
"0.66703254",
"0.6534632",
"0.6362856",
"0.6294142",
"0.6159111",
"0.61350924",
"0.6133756",
"0.61003006",
"0.6054757",
"0.6051059",
"0.59986806",
"0.59780127",
"0.5968827",
"0.5818764",
"0.58010066",
"0.5774684",
"0.575733... | 0.94940317 | 0 |
Test case for update_virt_realm | def test_update_virt_realm(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_virtualization_realm(self):\n pass",
"def test_update_virt_realm_remote_access_config(self):\n pass",
"def test_remove_virt_realm(self):\n pass",
"def test_enable_virt_realm_remote_access(self):\n pass",
"def test_deallocate_virt_realm(self):\n pass",
"d... | [
"0.8676987",
"0.7930964",
"0.77614",
"0.70606196",
"0.6879447",
"0.686318",
"0.68215346",
"0.6770379",
"0.66104203",
"0.6395189",
"0.6332107",
"0.6267194",
"0.6243547",
"0.6209109",
"0.6196717",
"0.6183286",
"0.6130521",
"0.6086439",
"0.5971164",
"0.59483135",
"0.5940871",
... | 0.9600858 | 0 |
Test case for update_virt_realm_remote_access_config | def test_update_virt_realm_remote_access_config(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_enable_virt_realm_remote_access(self):\n pass",
"def test_update_virt_realm(self):\n pass",
"def test_disable_virt_realm_remote_access(self):\n pass",
"def test_update_virtualization_realm(self):\n pass",
"def test_remove_virt_realm(self):\n pass",
"def test_up... | [
"0.78669727",
"0.7865796",
"0.72010916",
"0.71079874",
"0.63052976",
"0.61185884",
"0.606297",
"0.60460615",
"0.60045266",
"0.59853214",
"0.5889328",
"0.58515453",
"0.58470666",
"0.5844665",
"0.58144546",
"0.58085984",
"0.5804732",
"0.5778759",
"0.5767351",
"0.57399875",
"0.5... | 0.95664346 | 0 |
Test case for update_virtualization_realm | def test_update_virtualization_realm(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_virt_realm(self):\n pass",
"def test_set_virtualization_realm_active(self):\n pass",
"def test_register_virtualization_realm(self):\n pass",
"def test_get_virtualization_realm(self):\n pass",
"def test_allocate_virtualization_realm(self):\n pass",
"def t... | [
"0.87042093",
"0.7929986",
"0.7839932",
"0.7683304",
"0.7411108",
"0.7224155",
"0.7057522",
"0.6883899",
"0.68807685",
"0.6845209",
"0.6744579",
"0.6676983",
"0.66720814",
"0.66179353",
"0.6586227",
"0.6571328",
"0.6536677",
"0.6480477",
"0.6478711",
"0.6407935",
"0.6303377",... | 0.95131004 | 0 |
Test case for update_virtualization_realm_maximum_impact_level | def test_update_virtualization_realm_maximum_impact_level(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_impact_level(self):\n pass",
"def test_update_hyperflex_feature_limit_internal(self):\n pass",
"def test_update_software_asset_impact_level(self):\n pass",
"def test_update_test_asset_impact_level(self):\n pass",
"def test_update_hyperflex_feature_limit_external(... | [
"0.6894916",
"0.64250696",
"0.6368963",
"0.62384456",
"0.6109848",
"0.58428806",
"0.5751304",
"0.5743156",
"0.56969416",
"0.56509143",
"0.559787",
"0.55536795",
"0.5535449",
"0.55049676",
"0.54743236",
"0.54658407",
"0.54521674",
"0.54473025",
"0.54327923",
"0.54280585",
"0.5... | 0.95279 | 0 |
Test case for update_visibility_query | def test_update_visibility_query(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_visibility_query2(self):\n pass",
"def test_update_visibility_query1(self):\n pass",
"def test_update_visibility_query4(self):\n pass",
"def test_update_visibility_query3(self):\n pass",
"def test_update_asset_visibility_query(self):\n pass",
"def test_u... | [
"0.9338",
"0.9300291",
"0.92219377",
"0.9215671",
"0.8477806",
"0.8302129",
"0.5916474",
"0.5878879",
"0.582108",
"0.5800395",
"0.5718068",
"0.56690055",
"0.5650589",
"0.5625769",
"0.55971676",
"0.5532673",
"0.5529284",
"0.55100787",
"0.55096596",
"0.54805464",
"0.5469038",
... | 0.9467312 | 0 |
Test case for update_visibility_query1 | def test_update_visibility_query1(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_visibility_query2(self):\n pass",
"def test_update_visibility_query3(self):\n pass",
"def test_update_visibility_query(self):\n pass",
"def test_update_visibility_query4(self):\n pass",
"def test_update_asset_visibility_query(self):\n pass",
"def test_up... | [
"0.937762",
"0.93267894",
"0.9324084",
"0.9290966",
"0.835963",
"0.824345",
"0.6060144",
"0.596832",
"0.5955842",
"0.59169525",
"0.5877949",
"0.58511436",
"0.5710895",
"0.5647203",
"0.5517191",
"0.5514228",
"0.5498384",
"0.54875207",
"0.5476975",
"0.5461666",
"0.54572135",
... | 0.9444555 | 0 |
Test case for update_visibility_query2 | def test_update_visibility_query2(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_visibility_query1(self):\n pass",
"def test_update_visibility_query3(self):\n pass",
"def test_update_visibility_query(self):\n pass",
"def test_update_visibility_query4(self):\n pass",
"def test_update_asset_visibility_query(self):\n pass",
"def test_up... | [
"0.9375693",
"0.92956054",
"0.928914",
"0.9252121",
"0.8373007",
"0.81762373",
"0.6068012",
"0.59162986",
"0.5861192",
"0.58495826",
"0.5846796",
"0.58382684",
"0.5765924",
"0.56569463",
"0.5589683",
"0.556219",
"0.553944",
"0.55303895",
"0.54985386",
"0.5469862",
"0.5469862"... | 0.94485813 | 0 |
Test case for update_visibility_query3 | def test_update_visibility_query3(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_visibility_query4(self):\n pass",
"def test_update_visibility_query1(self):\n pass",
"def test_update_visibility_query2(self):\n pass",
"def test_update_visibility_query(self):\n pass",
"def test_update_asset_visibility_query(self):\n pass",
"def test_up... | [
"0.92220104",
"0.91974825",
"0.91601187",
"0.91086525",
"0.83378476",
"0.8022144",
"0.60569686",
"0.5969384",
"0.5952087",
"0.58775544",
"0.57781094",
"0.5748466",
"0.55692554",
"0.5544237",
"0.55263317",
"0.550208",
"0.5493266",
"0.5482827",
"0.5482148",
"0.5479119",
"0.5479... | 0.9428289 | 0 |
Test case for update_visibility_query4 | def test_update_visibility_query4(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_update_visibility_query3(self):\n pass",
"def test_update_visibility_query1(self):\n pass",
"def test_update_visibility_query(self):\n pass",
"def test_update_visibility_query2(self):\n pass",
"def test_update_asset_visibility_query(self):\n pass",
"def test_up... | [
"0.93174714",
"0.9263223",
"0.9257318",
"0.9255275",
"0.83029866",
"0.8144092",
"0.6182312",
"0.58731127",
"0.58637685",
"0.58312774",
"0.575975",
"0.57541287",
"0.56747186",
"0.5560299",
"0.55397314",
"0.5516548",
"0.54876906",
"0.54816324",
"0.5463897",
"0.5455646",
"0.5455... | 0.9397431 | 0 |
Test case for upload_file | def test_upload_file(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_upload_file1(self):\n pass",
"def test_upload(self):\n with self.client:\n file = dict(\n file=(BytesIO(b'my file contents'), \"foto.jpg\"),\n )\n response = self.client.post('/upload',\n content_type='m... | [
"0.8654897",
"0.83011705",
"0.8254178",
"0.7827278",
"0.7787636",
"0.7720736",
"0.7510016",
"0.7478717",
"0.74171174",
"0.741625",
"0.73933595",
"0.7335599",
"0.7333242",
"0.73178065",
"0.73138374",
"0.72533",
"0.72144806",
"0.7214282",
"0.7207461",
"0.71678394",
"0.7156008",... | 0.90826064 | 0 |
Test case for upload_file1 | def test_upload_file1(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_upload_file(self):\n pass",
"def test_upload_dir_contents_one_file(self):\n self._test_upload_dir_contents(filenames=['file1'])",
"def test_upload_file(self):\n data = dict(additional_metadata='additional_metadata_example',\n file='file_example')\n response =... | [
"0.8374572",
"0.80956906",
"0.7675646",
"0.7519246",
"0.7453362",
"0.745179",
"0.7296041",
"0.7186259",
"0.71607894",
"0.71505725",
"0.7089428",
"0.70805234",
"0.7062851",
"0.70404625",
"0.70201254",
"0.69955754",
"0.6981875",
"0.693843",
"0.6902441",
"0.68695647",
"0.6860993... | 0.9006532 | 0 |
Test case for validate_credentials | def test_validate_credentials(self):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_credentials(self):\r\n data = self._deep_clean('zekebarge@gmail.com')\r\n error = data.get(ERROR_CODE, None)\r\n if error in (1,2):\r\n raise InvalidCredentialsError(\"Credentials are invalid for user '{}'\".format(self._username))\r\n return True",
"def test_user1... | [
"0.79102504",
"0.72926986",
"0.7287409",
"0.7267114",
"0.7098882",
"0.70336324",
"0.7020181",
"0.7004465",
"0.6962174",
"0.6867665",
"0.6861228",
"0.6837545",
"0.68326384",
"0.6817637",
"0.67701995",
"0.6745321",
"0.67394525",
"0.6719857",
"0.66962415",
"0.6694112",
"0.669375... | 0.93079054 | 0 |
insert fictions into database | def to_db(self):
bulk = conn_db().initialize_ordered_bulk_op()
for fiction in self.fictions:
bulk.find({'id': fiction.id}).upsert().update({'$set': fiction.__dict__})
bulk.execute() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def db_insert(self, table_name: str, data: dict):\n \n query = 'INSERT OR IGNORE INTO {0} ({1}) VALUES ({2})'.format(\n table_name, ', '.join(data.keys()), ', '.join('?'*len(data)))\n self.db.execute(query, list(data.values()))",
"def db_insert(db_in, table, dict_in):\n connection = db_in.... | [
"0.7035051",
"0.6983024",
"0.6933141",
"0.69023114",
"0.68670267",
"0.6790983",
"0.6777337",
"0.6773737",
"0.673298",
"0.65766793",
"0.6556748",
"0.64888746",
"0.648687",
"0.6472251",
"0.6463803",
"0.64130276",
"0.64077246",
"0.6368387",
"0.63239247",
"0.6321916",
"0.63211185... | 0.70036274 | 1 |
get fictions from db | def from_db(self, if_print=True):
for fiction in conn_db().find():
if if_print:
print(fiction)
self.fictions.append(QdFictionInfo(fiction)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def getDict(name):\n df = Dictionary.objects.select_related().get(name=name)\n return df",
"def get_all():\n all = {}\n for k, v in DB.MUSIC.iteritems():\n all[k] = v.__dict__\n for k, v in DB.VIDEOS.iteritems():\n all[k] = v.__dict__\n for k, v in ... | [
"0.6867659",
"0.6352403",
"0.61903954",
"0.6165739",
"0.6163699",
"0.61169934",
"0.60999084",
"0.60981524",
"0.60294837",
"0.6003415",
"0.5990331",
"0.5963921",
"0.59552884",
"0.59165853",
"0.5881678",
"0.5866133",
"0.58506846",
"0.58490765",
"0.5799774",
"0.5777243",
"0.5760... | 0.6969962 | 0 |
print all fiction brief info | def print(self):
for fiction in self.fictions:
print(fiction.__dict__) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def run_print_dict_examples():\n print()\n print_dict_keys(NAME_DICT)\n print()\n print_dict_items(NAME_DICT)",
"def run_print_dict_examples():\n print()\n print_dict_keys(NAME_DICT)\n print()\n print_dict_items(NAME_DICT)",
"def printDict(myDict):\n for key in myDict:\n print... | [
"0.689096",
"0.689096",
"0.6777161",
"0.6774963",
"0.6760851",
"0.67451143",
"0.6715383",
"0.65789264",
"0.65494156",
"0.65452164",
"0.6516783",
"0.6516783",
"0.6511981",
"0.64922225",
"0.6485285",
"0.6480634",
"0.64678776",
"0.6416992",
"0.6409101",
"0.6396959",
"0.63939697"... | 0.7619195 | 0 |
test if QdPageHandler working | def test():
page_handler = QdHandler(order_id=5, style=2)
page_handler.set_page_range(1, 2)
page_handler.take_shortcut()
page_handler.handle() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setup_page(self):\r\n raise NotImplementedError",
"def _check_ready(self, _widget, __event=None, __page=0):\r\n\r\n if self.cmbHardware.get_active() > 0:\r\n self.assistant.set_page_complete(self.fxdPageGeneral, True)\r\n else:\r\n self.assistant.set_page_complete(s... | [
"0.6118105",
"0.6037043",
"0.6025137",
"0.6019778",
"0.5941908",
"0.5930006",
"0.5732747",
"0.57003534",
"0.5554986",
"0.55528724",
"0.5485152",
"0.5485152",
"0.5485152",
"0.54748863",
"0.5464814",
"0.54115254",
"0.5389929",
"0.5387075",
"0.5340214",
"0.5308082",
"0.5297789",... | 0.72151715 | 0 |
Checks whether the code is running in a build environment. | def in_build(self):
return self.is_valid_platform() and not self['ENVIRONMENT'] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def checkBuildStatus(self):\n pass",
"def is_devel(self):\r\n\r\n return self.is_debug()",
"def _IsBuildRunning(build_data):\n current_step = build_data.get('currentStep')\n if (current_step and current_step.get('isStarted') and\n current_step.get('results') is None):\n return True\n r... | [
"0.7263732",
"0.6854827",
"0.68405396",
"0.67520434",
"0.65567434",
"0.6506505",
"0.6453986",
"0.6399513",
"0.63529325",
"0.6346068",
"0.633142",
"0.6297582",
"0.629469",
"0.6252214",
"0.62071383",
"0.6195085",
"0.6168373",
"0.61623913",
"0.61273426",
"0.607173",
"0.60236305"... | 0.7952058 | 0 |
Checks whether the code is running in a runtime environment. | def in_runtime(self):
return self.is_valid_platform() and self['ENVIRONMENT'] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def is_runtime_phase():\n return os.getenv('FAIRING_RUNTIME', None) != None",
"def exists(_env):\n detector = DetectCompiler()\n if detector['icx'] is None:\n return False\n return True",
"def is_debug_environment():\n return find_loader('cli') is None",
"def check(self, runtime):\n ... | [
"0.7346108",
"0.68984044",
"0.687593",
"0.6638651",
"0.6591511",
"0.6528236",
"0.6488509",
"0.64428127",
"0.6350121",
"0.62396896",
"0.62145877",
"0.6193956",
"0.6167281",
"0.61381817",
"0.61291146",
"0.6126704",
"0.6126704",
"0.61229163",
"0.6114886",
"0.6100531",
"0.6083196... | 0.7856098 | 0 |
Return the routes definition. | def routes(self):
if self.in_build():
raise BuildTimeVariableAccessException(
'Routes are not available during the build phase.'
)
if not self._routesDef:
raise NotValidPlatformException(
'No routes are defined. Are you sure you are ru... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def getRoutes(self):\n pass",
"def routes(self):\n return self._routes",
"def get_routes():\n output = [f'{\"S. No.\":6}\\t{\"Endpoint\":50}\\t{\"Method\":8}\\n']\n\n for index, rule in enumerate(app.url_map.iter_rules()):\n for i, method in enumerate(rule.methods):\n outp... | [
"0.7470069",
"0.71484",
"0.70910865",
"0.70422316",
"0.7021956",
"0.6939264",
"0.69363356",
"0.69363356",
"0.6816645",
"0.6773322",
"0.6649526",
"0.6649526",
"0.65506256",
"0.64129853",
"0.634352",
"0.6330275",
"0.6308447",
"0.6307612",
"0.6283916",
"0.6283713",
"0.62551844",... | 0.7488494 | 0 |
Returns the primary route. The primary route is the one marked primary in `routes.yaml`, or else the first nondirect route in that file if none are marked. | def get_primary_route(self):
for (url, route) in self.routes().items():
if route["primary"]:
return route
raise KeyError("No primary route found. This isn't supposed to happen.") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def primary(self) -> Optional['outputs.GetTrafficPolicyDocumentRulePrimaryResult']:\n return pulumi.get(self, \"primary\")",
"def route(self, route):\n return self._routes.get(route, None)",
"def get_route(self, endpoint: str):\n for route in self.tree_routes:\n if route.get_end... | [
"0.6220994",
"0.6125105",
"0.61188316",
"0.59157336",
"0.5758306",
"0.5748899",
"0.5729264",
"0.5714864",
"0.57052",
"0.56843084",
"0.56525487",
"0.5616904",
"0.5484802",
"0.54736876",
"0.54260397",
"0.54205555",
"0.53271264",
"0.53102225",
"0.5299336",
"0.5258867",
"0.522881... | 0.83614963 | 0 |
Returns just those routes that point to a valid upstream. The method is similar to routes(), but filters out redirect routes that are rarely useful for app configuration. If desired it can also filter to just those routes whose upstream is a given application name. To retrieve routes that point to the | def get_upstream_routes(self, app_name=None):
if app_name:
# On Dedicated, the upstream name sometimes is `app:http` instead of just `app`.
# If no name is specified then don't bother checking.
return {
url: route
for url, route in self.routes(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GatewayApiRouteArgs']]]]:\n return pulumi.get(self, \"routes\")",
"def web_app_routing(self) -> Optional[pulumi.Input['ManagedClusterIngressProfileWebAppRoutingArgs']]:\n return pulumi.get(self, \"web_app_routing\")",
"def get_self_... | [
"0.55596536",
"0.54866225",
"0.54663724",
"0.53465295",
"0.53465295",
"0.52618855",
"0.5247886",
"0.5211618",
"0.51734406",
"0.5159288",
"0.51349944",
"0.5096475",
"0.5084896",
"0.5080969",
"0.5080969",
"0.5061923",
"0.50489724",
"0.5036067",
"0.50321364",
"0.4956283",
"0.492... | 0.7827612 | 0 |
Get route definition by route ID. | def get_route(self, route_id):
if not self._routesDef:
raise NotValidPlatformException(
'No routes are defined. Are you sure you are running on Platform.sh?'
)
for (url, route) in self.routes().items():
if route['id'] == route_id:
ro... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_route_by_id(self, route_id):\n route = self.admin_repository.get_route_by_id(route_id)\n if route:\n print('''Route Id: {}\\nRoute: {}\\n\n '''.format(route[0], route[1]))\n return route\n else:\n print(\"Invalid Route Id\")\n ... | [
"0.7411168",
"0.65180796",
"0.6465488",
"0.5850693",
"0.5827747",
"0.5811879",
"0.5733956",
"0.5733195",
"0.5618994",
"0.55915236",
"0.5536313",
"0.5516131",
"0.5510666",
"0.5475697",
"0.5438743",
"0.54354966",
"0.5373029",
"0.53698295",
"0.5353349",
"0.53527266",
"0.53224456... | 0.73067266 | 1 |
Returns the application definition dict. This is, approximately, the .platform.app.yaml file as a nested dict. However, it also has other information added by Platform.sh as part of the build and deploy process. | def application(self):
if not self._applicationDef:
raise NotValidPlatformException(
'No application definition is available. Are you sure you are running on Platform.sh?'
)
return self._applicationDef | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def map_to_app_environment_infos(self, app):\n app['environment_infos'] = {}\n app['environment_infos']['security_groups'] = []\n for form_security_group in self.environment_infos.form.security_groups:\n if form_security_group.data:\n security_group = form_security_gr... | [
"0.65810484",
"0.65566224",
"0.6500841",
"0.6466886",
"0.6352461",
"0.63500255",
"0.6347475",
"0.626704",
"0.59420925",
"0.59143335",
"0.59136295",
"0.5895054",
"0.5882706",
"0.5813377",
"0.5798433",
"0.5792468",
"0.57485384",
"0.574315",
"0.57396924",
"0.5672397",
"0.565449"... | 0.6894871 | 0 |
Adds a credential formatter to the configuration. A credential formatter is responsible for formatting the credentials for a relationship in a way expected by a particular client library. For instance, it can take the credentials from Platform.sh for a MongoDB database and format them into a URL string expected by pymo... | def register_formatter(self, name, formatter):
self._credentialFormatters[name] = formatter
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def formatted_credentials(self, relationship, formatter):\n if formatter not in self._credentialFormatters:\n raise NoCredentialFormatterFoundException(\n 'There is no credential formatter named {0} registered. Did you remember to call register_formatter()?'\n .forma... | [
"0.7578857",
"0.5838164",
"0.573238",
"0.5614809",
"0.5313772",
"0.52097976",
"0.5193559",
"0.5052433",
"0.49889576",
"0.4981685",
"0.49690244",
"0.4948941",
"0.49288505",
"0.49056",
"0.48717806",
"0.48604256",
"0.47441703",
"0.46400562",
"0.46297708",
"0.4581356",
"0.4579013... | 0.71008307 | 1 |
Returns credentials for the specified relationship as formatted by the specified formatter. | def formatted_credentials(self, relationship, formatter):
if formatter not in self._credentialFormatters:
raise NoCredentialFormatterFoundException(
'There is no credential formatter named {0} registered. Did you remember to call register_formatter()?'
.format(formatt... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_credentials_format(cls):\n raise NotImplementedError",
"def credentials(self, rel_id=None):\n rel = self.framework.model.get_relation(self.relation_name, rel_id)\n\n relation_data = rel.data[rel.app]\n creds_json = relation_data.get(\"credentials\")\n return json.loads(... | [
"0.6246171",
"0.55523694",
"0.5385444",
"0.5299462",
"0.5156621",
"0.51410604",
"0.49873176",
"0.49873176",
"0.49505085",
"0.49480554",
"0.49477988",
"0.49305084",
"0.4880686",
"0.4880686",
"0.4880686",
"0.4846417",
"0.47463864",
"0.47260103",
"0.46766758",
"0.46693823",
"0.4... | 0.87677866 | 0 |
Returns formatted Posgresql credentials as DSN. | def posgresql_dsn_formatter(credentials):
return "postgresql://{0}:{1}@{2}:{3}/{4}".format(credentials["username"],
credentials["password"],
credentials["host"],
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_pg_str(host, port, user, dbname, password):\n return 'PG:host={} port={} user={} dbname={} password={}'.format(\n host, port, user, dbname, password\n )",
"def get_connection_string(self):\n auth = ''\n if self.user:\n auth = self.user\n if self.password:\n ... | [
"0.67622787",
"0.67376924",
"0.67143553",
"0.64170873",
"0.632588",
"0.63191694",
"0.63169056",
"0.6244294",
"0.59022504",
"0.5898417",
"0.589464",
"0.5890298",
"0.5859012",
"0.5762957",
"0.5742873",
"0.5584011",
"0.5552785",
"0.5513872",
"0.549809",
"0.54919595",
"0.54588574... | 0.84027815 | 0 |
Bibliographic reference to the portrayal catalogue cited. | def portrayalCatalogueCitation(self) -> Sequence[Citation]:
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def reference(self):\n licence = self.context\n if IEnvironmentBase.providedBy(licence):\n return licence.reference\n to_shore = queryAdapter(licence, IShore)\n ref = '{} {}'.format(licence.reference, to_shore.display())\n return ref",
"def get_reference(self):\t\t\n... | [
"0.60247076",
"0.5914841",
"0.5735147",
"0.5714687",
"0.57077384",
"0.56788075",
"0.56788075",
"0.55938745",
"0.5560254",
"0.5541559",
"0.5455756",
"0.54168093",
"0.53956026",
"0.5360822",
"0.5344456",
"0.53180736",
"0.5306963",
"0.5287715",
"0.5272013",
"0.5257117",
"0.52460... | 0.6322485 | 0 |
Citation for the standards to which the metadata conforms. | def metadataStandard(self) -> Sequence[Citation]:
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def make_citation(meta):\n pass",
"def portrayalCatalogueCitation(self) -> Sequence[Citation]:\n pass",
"def collect_citation_metadata(\n metadata: dict, references: List[pybtex.database.Entry]\n) -> dict:\n # Author list\n citation_authors = []\n for author_tier in [\"Core\", \"Developers\... | [
"0.6560424",
"0.63728225",
"0.6298377",
"0.62302023",
"0.6112516",
"0.5896945",
"0.5736574",
"0.57289135",
"0.5602861",
"0.5523079",
"0.55127895",
"0.5486311",
"0.5477174",
"0.5460558",
"0.5376419",
"0.5359614",
"0.5359592",
"0.53399044",
"0.52923423",
"0.52919734",
"0.528096... | 0.7456293 | 0 |
Checks the rules for each registered style see the checked program. | def test_all_styles() -> None:
with tempfile.NamedTemporaryFile(suffix='.f90', mode='wt') as handle:
print('module teapot\nend module teapot\n', file=handle)
handle.seek(0)
styles = [_StyleHarness(), _StyleHarness()]
unit_under_test = CheckEngine(styles)
unit_under_test.chec... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def validate(self):\n for rule in self.get_rules():\n rule.validate(self.get_val())",
"def style(command, checkonly=False):\n black(command, checkonly=checkonly)\n isort(command, checkonly=checkonly)\n lint(command)\n # Only prints if doesn't exit from the above not failing out\n ... | [
"0.63099915",
"0.62471724",
"0.61242145",
"0.6110035",
"0.6045199",
"0.5876749",
"0.5856414",
"0.57824194",
"0.573222",
"0.57175714",
"0.5628307",
"0.5610072",
"0.55852497",
"0.55773956",
"0.5566077",
"0.5560245",
"0.55477786",
"0.5546691",
"0.5544556",
"0.55175143",
"0.55173... | 0.63328475 | 0 |
Recursive function to determine all valid combinations of numbers in the 'values' array that sum to the 'desiredNum' target number. This is a combinatoric function that essentially checks combinations of values from the array 'values' to see if they sum to the 'desiredNum', so some changes have been made to only see ea... | def recursiveSums(desiredNum, values, depth=0, max_depth=5):
depth+=1
if(depth>max_depth):
return
if(len(values)==1):
if(values[0]==desiredNum):
return values[0]
else:
arr = []
removals = []
for i, value in enumerate(values):
thisDesiredNum... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def challenge1(data, num_values=2, target_value=2020):\n data_array = [data for _ in range(num_values)]\n for values in product(*data_array):\n if np.sum(values) == target_value:\n print(\"Solution found.\")\n return np.product(values)",
"def recursion(self, size, target, start... | [
"0.6217983",
"0.57935846",
"0.57762575",
"0.574159",
"0.56296545",
"0.5558328",
"0.55192983",
"0.5499441",
"0.546985",
"0.5435398",
"0.5432282",
"0.5407435",
"0.5388396",
"0.5349023",
"0.53418314",
"0.5290699",
"0.5256048",
"0.5246714",
"0.5219322",
"0.5185486",
"0.51835936",... | 0.79681623 | 0 |
Creates a map from the output of 'recursiveSums' with the numbers in its parameter 'values' as the keys, using the helper function 'setFromValues' | def convertSumsToMap(arr, values):
num_map = {}
for item in values:
num_map[item] = []
for i in range(len(arr)):
num_map[i+1] = setFromValues(arr[i])
return num_map | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sum_values(values):\n return (sum(values))",
"def __valuesToIndices(self, mappings, values):\n indices = np.empty(0, dtype=np.int_)\n\n for key, _ in mappings.items():\n # Lookup the index of the value of the values in the map.\n index = mappings[key](values[key])\n\n ... | [
"0.59756285",
"0.58839905",
"0.5788393",
"0.57338154",
"0.5684472",
"0.56488043",
"0.5573895",
"0.54984564",
"0.54971635",
"0.54934275",
"0.54745364",
"0.54526776",
"0.5443377",
"0.5410857",
"0.54092413",
"0.5406314",
"0.54035735",
"0.53682464",
"0.53666186",
"0.5336206",
"0.... | 0.77104384 | 0 |
creates a new entry for each chromosome holding an array with counts for each afs bin 50.0/perc bins are created | def create_af_histo(snp_dict,perc):
for i in snp_dict.keys():
hist=np.histogram(snp_dict[i]['afs'], bins=np.ceil(100.0/perc), range=(0.0,1.0))
# get rid of bins with afs == 0 in the spectrum
vals=[]
bins=[]
for j,x in enumerate(hist[0]):
if x > 0:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def populate_grid(self):\n from cemc_cpp_code import hoshen_kopelman\n self.bins[:, :, :] = 0\n for atom in self.atoms:\n if atom.symbol in self.track_elements:\n n = self.get_bin(atom.index)\n self.bins[n[0], n[1], n[2]] += 1\n\n # Run the Hoshe... | [
"0.6291447",
"0.6064143",
"0.6035484",
"0.60193425",
"0.59708476",
"0.59208965",
"0.59045327",
"0.58342344",
"0.5824317",
"0.5811913",
"0.5811913",
"0.5807041",
"0.5800794",
"0.57974356",
"0.57807654",
"0.5760431",
"0.57553273",
"0.57453716",
"0.5717335",
"0.5683787",
"0.5647... | 0.6163611 | 1 |
creates dictionary of the bin index positions in the AF histogram for each chromosome with np arrays of the indeces of all SNPs in that frequency bin for sampling. | def create_bin_indeces(snp_dict,sig_snp):
for i in sig_snp.keys():
dig=np.digitize(snp_dict[i]['afs'],sig_snp[i]['afs_hist']['bins'])
# bin indeces are shifted +1 against histogram count indeces
dig -= 1
indx_bins=defaultdict(list)
for j,x in enumerate(dig):
indx_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setup_bins(self):\n width = int((self.max - self.min) / self.bin_size)\n bins = {\n i * width + self.min: (idx, idx + self.bin_size)\n for i, idx in enumerate(range(0, len(self.nums), self.bin_size))\n }\n return bins",
"def create_af_histo(snp_dict,perc):\n ... | [
"0.6426293",
"0.63538736",
"0.6245193",
"0.5960386",
"0.595216",
"0.592225",
"0.5840666",
"0.58318233",
"0.5806224",
"0.5802384",
"0.577433",
"0.5734818",
"0.5723627",
"0.5722175",
"0.5704723",
"0.57046944",
"0.5703294",
"0.5689904",
"0.5680895",
"0.5678474",
"0.5669681",
"... | 0.77047056 | 0 |
uses np.random.choice to sample SNP indeces from the bin index structure according to a , around a 100 times slower than self created way. the replace=False creates the performance hit | def create_random_sample(idx_bins,count_array):
idxs=[]
for i,x in enumerate(count_array):
if x > 0:
idxs.extend(np.random.choice(idx_bins[i],size=x,replace=False))
return idxs | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _choose_sample(self):\n\n \t #periodically generate a new reconstruction for the purposes of sampling",
"def choice(array, size, replace):\n indices = np.random.choice(len(array), size=size, replace=replace)\n sample = array[indices]\n return sample",
"def create_random_sample_alt(idx_bins,co... | [
"0.658136",
"0.6326986",
"0.63266313",
"0.62573075",
"0.62280476",
"0.621461",
"0.6199276",
"0.61707175",
"0.6155235",
"0.6087847",
"0.6087402",
"0.60716915",
"0.60477567",
"0.6047303",
"0.6019673",
"0.6011627",
"0.60087085",
"0.59920645",
"0.59877354",
"0.5935229",
"0.591946... | 0.68804896 | 0 |
uses unique_sample_of_int to sample SNP indeces from the bin index structure according to a | def create_random_sample_alt(idx_bins,count_array):
idxs=[]
for i,x in enumerate(count_array):
if x > 0:
idxs.extend([ idx_bins[i][ind] for ind in unique_sample_of_int(len(idx_bins[i])-1,x) ] )
return idxs | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def create_random_sample(idx_bins,count_array):\n idxs=[]\n for i,x in enumerate(count_array):\n if x > 0:\n idxs.extend(np.random.choice(idx_bins[i],size=x,replace=False))\n return idxs",
"def unique_sample_of_int(max,size):\n idxs=set()\n num_left = size - len(idxs)\n while ... | [
"0.6870971",
"0.62472403",
"0.620097",
"0.6074846",
"0.58651906",
"0.5833519",
"0.5804097",
"0.5745069",
"0.5745069",
"0.5739732",
"0.5676855",
"0.56738466",
"0.5668472",
"0.5629761",
"0.5609549",
"0.5605954",
"0.5604341",
"0.559622",
"0.5593045",
"0.5586711",
"0.5555854",
... | 0.69555473 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.