text
string
label
int64
{'name': 'BuildModel.set_device@argus/model/build.py', 'description': 'Move nn_module and loss to the specified device.\n\nIf a list of devices is passed, :class:`torch.nn.DataParallel` will be\nused. Batch tensors will be scattered on dim 0. The first device in the\nlist is the location of the output. By default, devi...
1
{'name': '_start_sound_stream@jupylet/audio/device.py', 'description': 'Start the sound device output stream handler.', 'signature': 'def _start_sound_stream():'}</s>{'name': 'is_sphinx_build@jupylet/env.py', 'description': 'DOCSTRING', 'code': "def is_sphinx_build():\n return 'SPHINXBUILD' in os.environ"}
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'ValidatingClientMixin.challenge_response_valid@xled/auth.py', 'description': "Verifies server with hardware address returned correct challenge response\n\nCreates challenge-response for server's hardware address, challenge and\nshared password and compares it with stored challenge-response.\n\n:param str hw_a...
0
{'name': 'fixture_mock_list_labels_paginated@tests/conftest.py', 'description': 'Mock requests for list labels with pagination.', 'signature': 'def fixture_mock_list_labels_paginated('}</s>{'name': 'fixture_label@tests/conftest.py', 'description': 'Return a single Label instance.', 'code': 'def fixture_label() -> Label...
0
{'name': 'DataContext.rebuild_db@disdat/data_context.py', 'description': "For this context, read in all pb's and rebuild tables.\nAll state is immutable.\n1.) Read in all HFrame PBs\n2.) Ensure that each HFrame PB is WEAKLY consistent -- file names corresponding to the\nframes are on disk (but we do not check their con...
0
{'name': 'cli@toggl/cli/commands.py', 'description': 'CLI interface to interact with Toggl tracking application.\n\nMany of the options can be set through Environmental variables. The names of the variables\nare denoted in the option\'s helps with format "(ENV: <name of variable>)".\n\nThe authentication credentials ca...
0
{'name': 'FacebookMiddleware.process_request@fandjango/middleware.py', 'description': 'Process the signed request.', 'signature': 'def process_request(self, request):'}</s>{'name': 'BaseMiddleware@fandjango/middleware.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'BaseMiddleware.is_valid_pat...
0
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>{'name': 'UpdateList@shingetsu/cache.py', 'description': 'Save update information.\n\nGet update if the system does not have the update.', 'base_classes': [], 'methods': [{'name': 'UpdateLi...
0
{'name': 'preprocess@preprocess.py', 'description': 'Construct the train data indexed by session id and mode id jointly. Convert all the raw features (user profile,\nod pair, req time, click time, eta, price, distance, transport mode) to one-hot ids used for\nembedding. We split the one-hot features into two categories...
0
{'name': 'open_rasterio@rioxarray/_io.py', 'description': 'Open a file with rasterio (experimental).\n\nThis should work with any file that rasterio can open (most often:\ngeoTIFF). The x and y coordinates are generated automatically from the\nfile\'s geoinformation and refer to the center of the pixel.\n\n.. versionad...
1
{'name': 'DebPkgToolsTestCase.test_collect_packages@deb_pkg_tools/tests.py', 'description': 'Test the command line interface for collection of related packages.', 'signature': 'def test_collect_packages(self):'}</s>{'name': 'is_binary_file@deb_pkg_tools/package.py', 'description': 'Check whether a file appears to conta...
0
{'name': 'InverseCompton._iso_ic_on_monochromatic@src/naima/radiative.py', 'description': 'IC cross-section for an isotropic interaction with a monochromatic\nphoton spectrum following Eq. 22 of Aharonian & Atoyan 1981, Ap&SS 79,\n321 (`http://adsabs.harvard.edu/abs/1981Ap%26SS..79..321A`_)', 'signature': 'def _iso_ic_...
0
{'name': 'CqlType.parse@pylib/cqlshlib/formatting.py', 'description': 'Parse the typestring by looking at this pattern: *<*>. If there is no match then the type\nis either a simple type or a user type, otherwise it must be a composite type\nfor which we need to look-up the sub-types. For user types the sub types can be...
0
{'name': 'HappyPathUser._get_order_request@shared/tests/perf/perf_happy_path.py', 'description': 'Generate an order request', 'signature': 'def _get_order_request(self) -> dict:'}</s>{'name': 'on_test_stop@shared/tests/perf/perf_happy_path.py', 'description': 'DOCSTRING', 'code': 'def on_test_stop(**kwargs):\n delet...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_TOPIC = 3031
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQQDT_PREDEFINED = 1
0
{'name': 'TestSettings.test_force_lowercase_tags@tagging/tests/tests.py', 'description': 'Test forcing tags to lowercase. ', 'signature': 'def test_force_lowercase_tags(self):'}</s>{'name': 'TestTagCloudForModel@tagging/tests/tests.py', 'description': 'DOCSTRING', 'base_classes': ['TestCase'], 'methods': [{'name': 'Tes...
0
{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'signature': 'def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False,'}</s>{'name': 'VersioneerBadRootError@versioneer.py', 'description': 'The project root directory is unknown or missing key files.', 'base_classes':...
0
{'name': 'add_packet_to_queue@core/packet_collector.py', 'description': 'Adds a packet to the packet queue.', 'signature': 'def add_packet_to_queue(pkt):'}</s>DELETE_DATA_URL = INSPECTOR_DATA_DONATION_SERVER + '/delete_donated_data'
0
{'name': '_adjust_scheme_to_bounds@ipsolver/_numdiff.py', 'description': "Adjust final difference scheme to the presence of bounds.\n\nParameters\n----------\nx0 : ndarray, shape (n,)\n Point at which we wish to estimate derivative.\nh : ndarray, shape (n,)\n Desired finite difference steps.\nnum_steps : int\n ...
0
{'name': 'parse@ext_libs/xmltodict.py', 'description': 'Parse the given XML input and convert it into a dictionary.\n\n`xml_input` can either be a `string` or a file-like object.\n\nIf `xml_attribs` is `True`, element attributes are put in the dictionary\namong regular child elements, using `@` as a prefix to avoid col...
1
{'name': 'TestCachingAndCascading.test_sync_all_optimal_queries@entity/tests/sync_tests.py', 'description': 'Tests optimal queries of syncing all entities.', 'signature': 'def test_sync_all_optimal_queries(self):'}</s>{'name': 'EntityRegistry@entity/config.py', 'description': 'Maintains all registered entities and prov...
1
{'name': '_infer_parameters@papermill/inspection.py', 'description': 'Infer the notebook parameters.\n\nParameters\n----------\nnb : nbformat.NotebookNode\n Notebook\n\nReturns\n-------\nList[Parameter]\n List of parameters (name, inferred_type_name, default, help)', 'signature': 'def _infer_parameters(nb, name=No...
0
{'name': 'BQProcessor._create_examples@baselines/models/xlnet/run_classifier.py', 'description': 'Creates examples for the training and dev sets.', 'signature': 'def _create_examples(self, lines, set_type):'}</s>{'name': 'TnewsProcessor@baselines/models/xlnet/run_classifier.py', 'description': 'Processor for the MRPC d...
0
{'name': 'predict_SMILES_with_confidence@DECIMER/Predictor_usingCheckpoints.py', 'description': 'This function takes an image path (str) and returns a list of tuples\nthat contain each token of the predicted SMILES string and the confidence\nlevel from the last layer of the Transformer decoder.\n\nArgs:\n image_path...
0
{'name': 'CScript.raw_iter@test/functional/test_framework/script.py', 'description': 'Raw iteration\n\nYields tuples of (opcode, data, sop_idx) so that the different possible\nPUSHDATA encodings can be accurately distinguished, as well as\ndetermining the exact opcode byte indexes. (sop_idx)', 'signature': 'def raw_ite...
0
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>{'name': 'ZipManifests@blockchain-env/li...
0
{'name': 'train_node@ExplanationEvaluation/tasks/training.py', 'description': 'Train a explainer to explain node classifications\n:param _dataset: the dataset we wish to use for training\n:param _paper: the paper we whish to follow, chose from "GNN" or "PG"\n:param args: a dict containing the relevant model arguements'...
0
{'name': '_AppHandler.build@jupyterlab/commands.py', 'description': 'Build the application.', 'signature': 'def build('}</s>{'name': 'gte@jupyterlab/semver.py', 'description': 'DOCSTRING', 'code': 'def gte(a, b, loose):\n return compare(a, b, loose) >= 0'}
0
{'name': 'ShapeTrainer.set_optimization_variables@experiments/smal_shape.py', 'description': 'Sets as optimization variables those obtained as prediction from the network', 'signature': 'def set_optimization_variables(self):'}</s>{'name': 'Trainer@nnutils/train_utils.py', 'description': 'DOCSTRING', 'base_classes': [],...
0
{'name': '_get_delocate_generator_header@delocate/delocating.py', 'description': "Return Delocate's version info to be appended to the WHEEL metadata.", 'signature': 'def _get_delocate_generator_header() -> tuple[str, str]:'}</s>{'name': 'delocate_wheel@delocate/delocating.py', 'description': 'Update wheel by copying r...
0
{'name': 'add_input_output_information_deeppoly@tf_verify/deeppoly_nodes.py', 'description': 'sets for an object the three fields:\n - self.output_length\n - self.input_names\n - self.output_name\nwhich will mainly be used by the Optimizer, but can also be used by the Nodes itself\n\nArguments\n---------\nself...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>CURRENT_EXECUTABLE_SET = "Current executable set successfully"
0
{'name': 'Processing._build_ua_file@bin/background_processing.py', 'description': 'Build a file in a format compatible with the capture page', 'signature': 'def _build_ua_file(self) -> None:'}</s>{'name': 'Processing@bin/background_processing.py', 'description': 'DOCSTRING', 'base_classes': ['AbstractManager'], 'method...
1
{'name': 'force_use_of_google_mail@tests/alertlib_test.py', 'description': 'Takes advantage of the fact email tries sendgrid, then gae.', 'signature': 'def force_use_of_google_mail():'}</s>fake_secrets = types.ModuleType('secrets')
0
{'name': 'prepare_prior@bambi/model_components.py', 'description': 'Helper function to correctly set default priors and auto scaling\n\nParameters\n----------\nprior : Prior or None\n The prior.\nkind : string\n Accepted values are: `"intercept"`, `"common"`, or `"group_specific"`.\nauto_scale : bool\n Whether...
0
{'name': 'INFO@lib/charliecloud.py', 'description': 'Note: Use print() for output; this function is for logging.', 'signature': 'def INFO(msg, hint=None, **kwargs):'}</s>{'name': 'now_utc_iso8601@lib/charliecloud.py', 'description': 'DOCSTRING', 'code': 'def now_utc_iso8601():\n return datetime.datetime.utcnow().isof...
0
{'name': 'get_attn_pad_mask@models/common_layers.py', 'description': 'mask position is set to 1', 'signature': 'def get_attn_pad_mask(padded_input, input_lengths, expand_length):'}</s>args = parser.parse_args()
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
0
{'name': '_profileHistory@python/DisplayTests.py', 'description': 'Show runtimes for the last n profile builds.', 'signature': 'def _profileHistory(req, n=20, buildTypes=None):'}</s>{'name': '_test_suite_name_aliases@python/DisplayTests.py', 'description': 'Cope with the test result naming convention change in #2195.\n...
0
{'name': 'gen_forest@lleaves/compiler/codegen/codegen.py', 'description': "Populate the passed IR module with code for the forest.\n\nOverview of generated IR\n---------------------------\nThe forest is represented by the @forest_root function, which is called from Python.\nThis function loops over every row of the inp...
0
{'name': 'GTestFilterUnitTest.testUniversalFilters@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Tests filters that match everything.', 'signature': 'def testUniversalFilters(self):'}</s>SUPPORTS_DEATH_TESTS = 'HasDeathTest' in gtest_test_utils.Subprocess( [COMMAND, LIS...
0
{'name': 'PPOTrainer._eval_checkpoint@ss_baselines/savi/ppo/ppo_trainer.py', 'description': 'Evaluates a single checkpoint.\n\nArgs:\n checkpoint_path: path of checkpoint\n writer: tensorboard writer object for logging to tensorboard\n checkpoint_index: index of cur checkpoint for logging\n\nReturns:\n None...
1
{'name': 'speed_camera@versions/speed-cam_11.26.py', 'description': 'Main speed camera processing function', 'signature': 'def speed_camera():'}</s>{'name': 'show_settings@versions/speed-cam_11.26.py', 'description': 'Initialize and Display program variable settings from config.py', 'code': 'def show_settings():\n "...
0
{'name': 'encodeLength@src/mqtt/pdu.py', 'description': 'Encodes value into a multibyte sequence defined by MQTT protocol.\nUsed to encode packet length fields.', 'signature': 'def encodeLength(value):'}</s>v311 = {'level': 4, 'tag': 'MQTT'}
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PF_POOL_RDR = 2
0
{'name': 'DebPkgToolsTestCase.test_update_conffiles_exclude@deb_pkg_tools/tests.py', 'description': 'Test ``build_package(update_conffiles=True)`` with an exclude.', 'signature': 'def test_update_conffiles_exclude(self):'}</s>__all__ = ( "ALLOW_CHOWN", "ALLOW_FAKEROOT_OR_SUDO", "ALLOW_HARD_LINKS", "ALLO...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACH_DISPS_MAX = 1586
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_memorytype_vec_new_uninitialized@language-bindings/python/src/w...
0
{'name': 'JDETracker.update@tracker/multitracker.py', 'description': 'Processes the image frame and finds bounding box(detections).\n\nAssociates the detection with corresponding tracklets and also handles lost, removed, refound and active tracklets\n\nParameters\n----------\nim_blob : torch.float32\n Tensor o...
1
{'name': 'OtpErlangAtom.binary@src/api/python/erlang.py', 'description': 'return encoded representation', 'signature': 'def binary(self):'}</s>{'name': 'OtpErlangFunction@src/api/python/erlang.py', 'description': 'OtpErlangFunction', 'base_classes': ['object'], 'methods': [{'name': 'OtpErlangFunction.__init__@src/api/p...
0
{'name': 'NormalMappedMaterial.shade@pyrt/material/normalmappedmaterial.py', 'description': 'Shade method: Texture\n\ntexture shader', 'signature': 'def shade(self, camera: Camera, ray: Ray, hitrecord: HitRecord, lights: list) -> Vec3:'}</s>{'name': 'dot3@pyrt/math/vecops.py', 'description': 'calculates the dot product...
0
{'name': 'kronecker_product@src/utils/torch_utils.py', 'description': 'Computes the Kronecker product between two tensors.\nSee https://en.wikipedia.org/wiki/Kronecker_product', 'signature': 'def kronecker_product(t1, t2):'}</s>{'name': 'normal_like@src/utils/torch_utils.py', 'description': 'DOCSTRING', 'code': 'def no...
0
{'name': 'run_experiments@onnxruntime/python/tools/transformers/models/longformer/benchmark_longformer.py', 'description': 'Run experiments to compare different algorithms on one batch size', 'signature': 'def run_experiments(use_fp16, batch_size, is_baseline=False):'}</s>{'name': 'find_onnx_model@onnxruntime/python/to...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(...
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'SearchPatternCommand@gef.py', 'description': 'SearchPatternCommand: sear...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
0
{'name': 'SamplerMixin.fit@src/upgini/sampler/base.py', 'description': 'Check inputs and statistics of the sampler.\n\nYou should use ``fit_resample`` in all cases.\n\nParameters\n----------\nX : {array-like, dataframe, sparse matrix} of shape (n_samples, n_features)\n Data array.\n\ny : array-like o...
0
{'name': '_iterate_object@voluptuous/schema_builder.py', 'description': 'Return iterator over object attributes. Respect objects with\ndefined __slots__.', 'signature': 'def _iterate_object(obj):'}</s>{'name': 'DatetimeInvalid@voluptuous/error.py', 'description': 'The value is not a formatted datetime string.', 'base_c...
0
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>friend_net = _get_value(_extconf, 'Gateway', 'friend_net', '::1, 127.0.0.1')
0
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>local_config_file = root_path / 'local-config.ini'
0
{'name': 'AsyncHTTPProxy.__init__@httpcore/_async/http_proxy.py', 'description': 'A connection pool for making HTTP requests.\n\nParameters:\n proxy_url: The URL to use when connecting to the proxy server.\n For example `"http://127.0.0.1:8080/"`.\n proxy_auth: Any proxy authentication as a two-tuple of\n ...
0
{'name': 'get_ard_reg@torch_ard/torch_ard.py', 'description': ':param module: model to evaluate ard regularization for\n:param reg: auxilary cumulative variable for recursion\n:return: total regularization for module', 'signature': 'def get_ard_reg(module):'}</s>{'name': '_get_dropped_params_cnt@torch_ard/torch_ard.py'...
0
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_FALSE = OP_0
0
{'name': 'suggest_attribute_alternative@didyoumean/didyoumean_internal.py', 'description': 'Suggest alternative to the non-found attribute.', 'signature': 'def suggest_attribute_alternative(attribute, type_str, attributes):'}</s>{'name': 'suggest_attribute_is_other_obj@didyoumean/didyoumean_internal.py', 'description':...
0
{'name': 'test_raising_failed_validation@tests/test_models.py', 'description': 'Test validating valid receipts.', 'signature': 'def test_raising_failed_validation(populated_db: None) -> None:'}</s>{'name': 'DjangoAfipException@django_afip/exceptions.py', 'description': 'Superclass for exceptions thrown by `django_afip`...
0
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>{'name': 'get_FPRs@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'desc...
0
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>KEY_KP_...
0
{'name': 'match_resolution@macrodensity/tools.py', 'description': 'Match the resolutions of two datasets by cubic spline interpolation.\n\nParameters:\n A (:obj:`numpy.ndarray`): The first dataset containing potential values in the format (x, potential).\n\n B (:obj:`numpy.ndarray`): The second dataset containing...
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>borderlands_science_levels = [ (5, "Claptrap"), (10, "Brick"), (15, "Mordecai"), (20, "Torgue"...
0
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Grid@infoblox_client/objects.py', 'description': 'Grid: Grid object.\nCorresp...
0
{'name': 'ScalableBloomFilter.check_filter_capacity@spider/dedup/bloomfilter.py', 'description': '检测filter状态,如果已满,加载新的filter\n@return:', 'signature': 'def check_filter_capacity(self):'}</s>{'name': 'make_hashfuncs@spider/dedup/bloomfilter.py', 'description': 'DOCSTRING', 'code': 'def make_hashfuncs(num_slices, num_bits...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'dashboard_get@tessera-server/tessera/views_api.py', 'description': 'Get the metadata for a single dashboard.\n\n ', 'signature': 'def dashboard_get(id):'}</s>{'name': 'dashboard_list@tessera-server/tessera/views_api.py', 'description': 'Listing for all dashboards. Returns just the metadata, not the\ndefini...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': '_single_conversion@convert.py', 'description': "THIS WON'T WORK RIGHT NOW, USE THE WORLD CONVERSION LOOP IN MAIN\n\nCall only from __main__ section in this module. Generates sample converted\ninto each emotion.\n\n(str) filename - name.wav file to be converted\n(StarGAN-emo-VC1) model - pretrained model to pe...
0
{'name': 'count_velocity_smartseq3@kb_python/count.py', 'description': 'Generates count matrices for Smartseq3 (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n out_dir: Path to output directory\n fastqs: List of FASTQ file paths\n whitelist_path...
0
{'name': 'test_wrap_nested_expr@tests/test_models.py', 'description': 'Test conversion of Expressions with embedded non-HyObjects.', 'signature': 'def test_wrap_nested_expr():'}</s>{'name': 'test_wrap_tuple@tests/test_models.py', 'description': 'DOCSTRING', 'code': 'def test_wrap_tuple():\n wrapped = as_model((Integ...
0
{'name': 'H3LIS331DL.select_datarate@grove/grove_3_axis_digital_accelerometer.py', 'description': 'Select the data rate of the accelerometer from the given provided values', 'signature': 'def select_datarate(self):'}</s>H3LIS331DL_ACCL_PM_5 = 160
0
{'name': 'VecEnv.close_extras@vec_env/__init__.py', 'description': "Clean up the extra resources, beyond what's in this base class.\nOnly runs when not self.closed.", 'signature': 'def close_extras(self):'}</s>{'name': 'NotSteppingError@vec_env/__init__.py', 'description': 'Raised when an asynchronous step is not runn...
0
{'name': 'TestSanitizeTxData.test_no_combine_with_fee@tests/test_transaction.py', 'description': 'Verify that unused unspents do not increase fee.', 'signature': 'def test_no_combine_with_fee(self):'}</s>RETURN_ADDRESS_MAIN = "1ELReFsTCUY2mfaDTy32qxYiT49z786eFg"
0
{'name': 'test_main_no_glyphs_in_common@tests/fonts2svg_test.py', 'description': 'The fonts have no glyphs in common; the default is intersection of names,\nso no SVGs should be saved.', 'signature': 'def test_main_no_glyphs_in_common(fixtures_dir, capsys, tmp_path):'}</s>{'name': 'test_main_u_opt_one_glyph_in_common@t...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCOPY_ALL = 1
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>mi_base_info_search_dataset_name = "ci-sdk-base-info-search"
0
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'ValidAtomLinkRel@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['ValidValue'],...
0
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>{'name': 'Setting@vimdoc/docline.py', 'description': 'DOCSTRING', 'base_classes': ['BlockDirective'], 'methods': [{'name': 'Setting.Ass...
0
{'name': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset...
0
{'name': 'DebPkgToolsTestCase.test_repository_creation@deb_pkg_tools/tests.py', 'description': 'Test the creation of trivial repositories.', 'signature': 'def test_repository_creation(self, preserve=False):'}</s>{'name': 'DebPkgToolsTestCase@deb_pkg_tools/tests.py', 'description': 'Container for the `deb-pkg-tools` tes...
1
{'name': 'test_evaluate_1d_data@tests/model/test_ModelFromData.py', 'description': 'Test ability to evaluate one dimensional data.', 'signature': 'def test_evaluate_1d_data(input_data_file, output_data_file, index):'}</s>my_path = os.path.dirname(os.path.abspath(__file__))
0
{'name': 'run_trial@benchmarks/hyperparamopt.py', 'description': 'Evaluate the model loss using the hyperparams in args\n\n:args: A dictionary containing all hyperparameters\n:returns: Dict with status and loss from cross-validation', 'signature': 'def run_trial(args):'}</s>{'name': 'PySRRegressor@pysr/sr.py', 'descrip...
1
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0