text
string
label
int64
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'ImputationKernel.mice@miceforest/imputation_kernel.py', 'description': "Perform MICE on a given dataset.\n\nMultiple Imputation by Chained Equations (MICE) is an\niterative method which fills in (imputes) missing data\npoints in a dataset by modeling each column using the\nother columns, and then inferring th...
0
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa...
0
{'name': 'make_game@reversibility/pycolab/pycolab/examples/better_scrolly_maze.py', 'description': 'Builds and returns a Better Scrolly Maze game for the selected level.', 'signature': 'def make_game(level):'}</s>{'name': 'CursesUi@reversibility/pycolab/pycolab/human_ui.py', 'description': 'A terminal-based UI for pyco...
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'git_versions_from_keywords@versioneer.py', 'description': 'Get version information from git keywords.', 'code': 'def git_versions_from_keywords(keywords, t...
0
{'name': 'test_nar_step_ahead_insufficient_initial_conditions@sysidentpy/tests/test_narmax_base.py', 'description': 'Test that _nar_step_ahead raises an error if input is too short.', 'signature': 'def test_nar_step_ahead_insufficient_initial_conditions():'}</s>X_test = x[split_data::, 0]
0
{'name': 'GoogleCenterMap.get_vardata@salem/datasets.py', 'description': 'Return and subset the image.', 'signature': 'def get_vardata(self, var_id=0):'}</s>{'name': 'dummy_func@salem/wrftools.py', 'description': 'DOCSTRING', 'code': 'def dummy_func(*args):\n pass'}
0
{'name': 'get_default_func_arg_map@object_detection/core/preprocessor.py', 'description': 'Returns the default mapping from a preprocessor function to its args.\n\nArgs:\n include_label_weights: If True, preprocessing functions will modify the\n label weights, too.\n include_label_confidences: If True, preprocessi...
0
{'name': 'edit_department@app/admin/views.py', 'description': 'Edit a department', 'signature': 'def edit_department(id):'}</s>db = SQLAlchemy()
1
{'name': 'CountMinSketch.hashes@probables/countminsketch/countminsketch.py', 'description': 'Return the hashes based on the provided key\n\nArgs:\n key (str): Description of arg1\n depth (int): Number of permutations of the hash to generate; if None, generate `number_hashes`\n\nReturns:\n List(int): A list of ...
0
{'name': 'DebuggerValue.to_hex@folly/coro/scripts/co_bt.py', 'description': 'Returns the value in hex padded with leading zeroes.', 'signature': 'def to_hex(self) -> str:'}</s>{'name': 'load@folly/coro/scripts/co_bt.py', 'description': 'This debugger script is meant to work with both lldb and gdb. Use\nconditional impo...
0
{'name': 'Authentication.get_desktopsso_token@roadlib/roadtools/roadlib/auth.py', 'description': 'Get desktop SSO token either with plain username and password, or with a Kerberos auth token', 'signature': 'def get_desktopsso_token(self, username=None, password=None, krbtoken=None):'}</s>WELLKNOWN_CLIENTS = { "aadp...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': 'LiquidityHintMgr.badness_penalty@lndmanage/lib/liquidityhints.py', 'description': 'The badness penalty indicates how close a node was to the failing hop of\npayment routes in units of a fee rate. This fee rate can accumulate and may\nlead to complete ignoring of the node, which is why we let the badness penal...
1
{'name': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>{'name': 'checkfastqsize@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def checkfastqsize(input):\n filesize = os.path.getsize(input)\n return ...
0
{'name': 'MetalAPI.get_position@uarm/wrapper/metal_api.py', 'description': "Get the position\n:param wait: True/False, default is True\n:param timeout: timeout, default is use the default cmd timeout\n:param callback: callback, default is None\n:return: [x, y, z] or 'TIMEOUT' if wait is True else None", 'signature': 'd...
0
{'name': 'LCSAlgorithm.new_model@xcs/framework.py', 'description': 'Create and return a new classifier set initialized for handling\nthe given scenario.\n\nUsage:\n scenario = MUXProblem()\n model = algorithm.new_model(scenario)\n model.run(scenario, learn=True)\n\nArguments:\n scenario: A Scenario instance...
0
{'name': 'indentedBlock@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining space-delimited indentation blocks, such as\nthose used to define block statements in Python source code.\n\nParameters:\n - blockStatementExpr - expression defining syntax of statement that\n ...
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'Printer.__init__@tools/hadb.py', 'description': 'Initialize printer.', 'signature': 'def __init__('}</s>COLORS_USER_EVENT = ("black", "on_yellow")
0
{'name': 'test_use_multiple_databases@tenant_schemas_celery/integration_test.py', 'description': 'Test the case where a setting to have multiple database search path to be changed\nwas put for a task', 'signature': 'def test_use_multiple_databases(setup_tenant_test):'}</s>{'name': 'setup_tenant_test@tenant_schemas_cele...
1
{'name': 'merge@pairtools/cli/merge.py', 'description': 'Merge .pairs/.pairsam files.\nBy default, assumes that the files are sorted and maintains the sorting.\n\nMerge triu-flipped sorted pairs/pairsam files. If present, the @SQ records\nof the SAM header must be identical; the sorting order of\nthese lines is taken f...
0
{'name': 'ConTextMarkup.getXML@pyConTextNLP/ConTextMarkup.py', 'description': 'return an XML representation of the markup', 'signature': 'def getXML(self):'}</s>CONTEXT_MARKUP_XML_SKEL = " <ConTextMarkup> <rawText> {0} </rawText> <cleanText> {1} </cleanText> <nodes> {2} </nodes> <edges> {3} </edges> </ConTextMarkup> "
1
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>{'name': 'assertCountEqual@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/six.py', 'de...
0
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ...
0
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any ...
0
{'name': 'Results.update@wobble/results.py', 'description': 'Update the attributes of a component from the current values of Model.\n\nParameters\n----------\nc : a wobble.Model.Component object', 'signature': 'def update(self, c, **kwargs):'}</s>T = tf.float64
0
{'name': 'QEMURunner._check_qemu_install@tracer/qemu_runner.py', 'description': 'Check the install location of QEMU.', 'signature': 'def _check_qemu_install(self):'}</s>{'name': 'TracerPoV@tracer/tracerpov.py', 'description': 'Simple PoV parser for Tracer.', 'base_classes': ['object'], 'methods': [{'name': 'TracerPoV._...
0
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'MultipleInvalid@voluptuous/error.py', 'description': 'DOCSTRING', 'base_classes': ['Invalid'], 'methods': [{'name': 'Multip...
0
{'name': 'SciQuery.get_rdb_compute_domain@py3/SciServer/SciQuery.py', 'description': "Returns an object of class RDBComputeDomain, either defined by the input name or identifiers, or that\nwhich is set in the SciQuery instance.\n\n:param rdb_compute_domain: defines a domain or environment of multiple databases where us...
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'get_one_thread_stopped_at_breakp...
0
{'name': 'FletcherBaseArray.__array_ufunc__@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the ExtensionArray.', 'signature': 'def __array_ufunc__(self, ufunc, method: str, *inputs, **kwargs):'}</s>{'name': 'all_true@fletcher/algorithms/bool.py', 'description': 'Return a boolean array with all-True, all-vali...
0
{'name': 'Client.connect@skein/core.py', 'description': "Connect to a running application.\n\nParameters\n----------\napp_id : str\n The id of the application.\nwait : bool, optional\n If true [default], blocks until the application starts. If False,\n will raise a ``ApplicationNotRunningError`` immediately if...
0
{'name': 'normalize_data@3DLabelGen/Left2Right/data_utils.py', 'description': 'Normalizes a dictionary of poses\n\nArgs\n data: dictionary where values are\n data_mean: np vector with the mean of the data\n data_std: np vector with the standard deviation of the data\n dim_to_use: list of dimensions to keep in the d...
0
{'name': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>{'name': ...
1
{'name': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ...
0
{'name': 'EventListener.save_events@django_ethereum_events/event_listener.py', 'description': 'Fires the appropriate event receivers for every given log.\n\nArgs:\n decoded_logs (:obj:`list` of :obj:`dict`): The decoded logs.', 'signature': 'def save_events(self, decoded_logs):'}</s>{'name': 'UnknownBlock@django_eth...
0
{'name': 'jsd_between_point_cloud_sets@metrics/evaluation_metrics.py', 'description': 'Computes the JSD between two sets of point-clouds, as introduced in the paper\n```Learning Representations And Generative Models For 3D Point Clouds```.\nArgs:\n sample_pcs: (np.ndarray S1xR2x3) S1 point-clouds, each of R1 points....
0
{'name': 'mptt_before_update@sqlalchemy_mptt/events.py', 'description': 'Based on this example:\nhttp://stackoverflow.com/questions/889527/move-node-in-nested-set', 'signature': 'def mptt_before_update(mapper, connection, instance):'}</s>{'name': 'mptt_before_delete@sqlalchemy_mptt/events.py', 'description': 'DOCSTRING...
1
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>KIDS...
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': 'parse_args_mat_plot@src/python_scripts/afnipy/lib_mat2d_plot.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args_mat_plot(full_argv):'}</s>{'name': 'PrintIndexedList@src/python_scripts/afnipy/afni_base.p...
0
{'name': 'check_mp_ver@utils/nb_check.py', 'description': 'Check and optionally update the current version of msticpy.\n\nParameters\n----------\nmin_py_ver : Tuple[int, int]\n Minimum MSTICPy version\n\nRaises\n------\nRuntimeError\n If the MSTICPy version does not support the notebook\n and the user chose no...
0
{'name': 'make_eularian@chinesepostman/eularian.py', 'description': 'Add necessary paths to the graph such that it becomes Eularian.', 'signature': 'def make_eularian(graph):'}</s>{'name': 'build_min_set@chinesepostman/eularian.py', 'description': 'Order pairs by cheapest first and build a set by pulling pairs until ev...
0
{'name': 'SyncAllEntitiesTest.test_sync_all_accounts_teams_deleted_account_during_sync@entity/tests/sync_tests.py', 'description': 'Tests the scenario of an account being deleted after account ids are fetched but before the super\nentities are fetched', 'signature': 'def test_sync_all_accounts_teams_deleted_account_dur...
0
{'name': 'unzip@code/utils/utils.py', 'description': 'Unzips and keeps the original modified date.\n\n:param zip_file:\n:param destination_directory:\n:return:', 'signature': 'def unzip(zip_file, destination_directory):'}</s>{'name': 'recreate_directory@code/utils/utils.py', 'description': 'Recreates a directory (delet...
0
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(a...
0
{'name': 'phenotypic_phase_plane@cameo/flux_analysis/analysis.py', 'description': "Phenotypic phase plane analysis [1].\n\nImplements a phenotypic phase plan analysis with interpretation same as\nthat presented in [1] but calculated by optimizing the model for all\nsteps of the indicated variables (instead of using sha...
0
{'name': '_get_reviewer_names_and_emails@marge/job.py', 'description': "Return a list ['A. Prover <a.prover@example.com', ...]` for `merge_request.`", 'signature': 'def _get_reviewer_names_and_emails(commits, approvals, api):'}</s>{'name': 'NotAcceptable@marge/gitlab.py', 'description': 'DOCSTRING', 'base_classes': ['A...
0
{'name': 'KnownServers.add_single@connectrum/svr_info.py', 'description': 'Explicitly add a single entry.\nHostname is a FQDN and ports is either a single int (assumed to be TCP port)\nor Electrum protocol/port number specification with spaces in between.', 'signature': 'def add_single(self, hostname, ports, nickname=N...
1
{'name': 'train_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def train_one_epoch(sess, ops, train_writer):'}</s>DATA = FLAGS.data
0
{'name': 'RedisPubSubChannelLayer.serialize@channels_redis/pubsub.py', 'description': 'Serializes message to a byte string.', 'signature': 'def serialize(self, message):'}</s>{'name': '_wrap_close@channels_redis/utils.py', 'description': 'DOCSTRING', 'code': 'def _wrap_close(proxy, loop):\n original_impl = loop.clos...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCAMO_CONN_TIME = 2704
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'main.get_info@mcu/qe/qe.py', 'description': 'Extract basis information from the vasprun.xml', 'signature': 'def get_info(self, filename=None): '}</s>kpts_MATCH = re.compile(r''' [\w\W]* cart. [ ]* coord. [ ]* in [ ]* units [ ]* 2pi/alat (?P<content> [\s\S]*?(?=\n.*?[ ] $|\n\n) # match everything until...
0
{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'signature': 'def extcap_interfaces():'}</s>CTRL_KEY_TYPE_IRK = 5
1
{'name': 'test_kitti_3d_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': "def test_kitti_3d_kalman_boxes(dataset_test, net, rpn_conf, bbox_measure_val, p2s, p2_invs, scales, results_path, test_path, dataset_type='validation', fast=False, report_stats=Fals...
0
{'name': 'make_river_map@src/Utility/Grid_Scripts/Compound_flooding/RiverMapper/RiverMapper/make_river_map.py', 'description': '[Core routine for making river maps]\n\ntif_fnames: a list of TIF file names. These TIFs should cover the area of interest and be arranged by priority (higher priority ones in front)\n\nthalwe...
1
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'got_results@nova/nova.py', 'description': 'Results callback once a provider found all its results, or not\n\nArgs:\n provider (str): The provider ID\n results (list): The list of results', 'signature': 'def got_results(provider, results):'}</s>{'name': 'extract_torrents@nova/nova.py', 'description': 'Ma...
0
{'name': 'download@Data/rda.ucar/rdams_client.py', 'description': 'Download files given request Index\n\nArgs:\n request_idx (str): Request Index, typically a 6-digit integer.\n\nReturns:\n None', 'signature': "def download(request_idx, out_dir='./'):"}</s>{'name': 'add_ds_str@Data/rda.ucar/rdams_client.py', 'des...
0
{'name': 'AbstractResolver.load_locations@carmen/resolver.py', 'description': 'Load locations into this resolver from the given\n*location_file*, which should contain one JSON object per line\nrepresenting a location. If *location_file* is not specified,\nan internal location database is used.', 'signature': 'def load...
0
{'name': 'TestHttpHandler.test_read@papermill/tests/test_iorw.py', 'description': 'Tests that the `read` function performs a request to the giving path\nand returns the response.', 'signature': 'def test_read(self):'}</s>{'name': 'ADLHandler@papermill/iorw.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods':...
0
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d...
0
{'name': 'ydump_metrics@classification/metrics/compute_vessel_metrics.py', 'description': 'dump metrics for `results` to html using yatag\n\nArgs:\n doc: yatag Doc instance\n results: InferenceResults instance', 'signature': 'def ydump_metrics(doc, results, weights_map):'}</s>{'name': 'weights@classification/metr...
1
{'name': 'AlarmoBaseEntity.device_info@custom_components/alarmo/alarm_control_panel.py', 'description': 'Return info for device registry.', 'signature': 'def device_info(self) -> dict:'}</s>ATTR_DISARM_AFTER_TRIGGER = "disarm_after_trigger"
0
{'name': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>{'name': 'parse_help_text_for_opts@src/python_scripts/afnipy/afni_base.py', 'description': "Input: help string H (likely, a multilined one).\n\n...
0
{'name': 'main@lookatme/__main__.py', 'description': 'lookatme - An interactive, terminal-based markdown presentation tool.\n\nSee https://lookatme.readthedocs.io/en/v{{VERSION}} for documentation', 'signature': 'def main(tutorial, debug, log_path, theme, code_style, dump_styles,'}</s>{'name': 'text@lookatme/tui.py', '...
0
{'name': 'BehaveRestfulApp.initialize_context@behave_restful/app.py', 'description': 'Initializes the provide context object exposing through it relevant\ndirectories and services. \n\n:param context:\n A behave context object.\n:param test_dir:\n Directory where the tests are located. This is, usually, the \n ...
1
{'name': 'test_factory_import_directory_correct_arguments@elpis/transformer/test_transformer.py', 'description': 'Test if the import_directory decorator raises an error when the arguments of\nthe decorated function are not correct.', 'signature': 'def test_factory_import_directory_correct_arguments(tdtaf):'}</s>{'name'...
0
{'name': 'get_reference_reconstructor@dival/reference_reconstructors.py', 'description': "Return a reference reconstructor.\n\nParameters\n----------\nreconstructor_key_name_or_type : str or type\n Key name of configuration or reconstructor type.\ndataset_name : str\n Standard dataset name.\npretrained : bool, op...
0
{'name': 'griffinlim_cqt@librosa/core/constantq.py', 'description': 'Approximate constant-Q magnitude spectrogram inversion using the "fast" Griffin-Lim\nalgorithm.\n\nGiven the magnitude of a constant-Q spectrogram (``C``), the algorithm randomly initializes\nphase estimates, and then alternates forward- and inverse-C...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQEC_WAIT_CANCELED = 4
0
{'name': 'speed_camera@versions/speed-camera 13.2/speed-cam.py', 'description': 'Main speed camera loop processing function', 'signature': 'def speed_camera():'}</s>{'name': 'get_image_name@versions/speed-camera 13.2/speed-cam.py', 'description': 'build image file names by number sequence or\ndate/time Added tenth of s...
1
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'MovieAdmin.unpublish@movies/admin.py', 'description': 'Снять с публикации', 'signature': 'def unpublish(self, request, queryset):'}</s>{'name': 'MovieAdminForm@movies/admin.py', 'description': 'Форма с виджетом ckeditor', 'base_classes': ['forms.ModelForm'], 'methods': []}
0
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>{'name': 'check_collapsed_pairs@metric_learn/_util.py', 'description': 'DOCSTRING', 'c...
0
{'name': 'cleanup_conds@panoramix/simplify.py', 'description': 'removes ifs/whiles with conditions that are obviously true\nand replace variables that need to be equal to a constant by that constant', 'signature': 'def cleanup_conds(trace):'}</s>{'name': 'rewrite_trace_multiline@panoramix/utils/helpers.py', 'descriptio...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'test_topoplotFast@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test topoplotFast on a single component.', 'signature': 'def test_topoplotFast(file, eeglab_result_file):'}</s>epo_topo1_path = dataset_path / "topo/topo1-epo.mat"
0
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi...
1
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ...
0
{'name': 'test_DockerLogTailer@tests/unit/test_container.py', 'description': 'Test pytest_localstack.container.DockerLogTailer.', 'signature': 'def test_DockerLogTailer(caplog):'}</s>{'name': 'make_mock_docker_client@tests/utils.py', 'description': 'Make a mock docker-py Client object.', 'code': 'def make_mock_docker_c...
0
{'name': 'tikhonov_inverse@solvers/image_reconstruction.py', 'description': 'Compute Laplacian-regularized Tiknov inverse. This function solves\n argmin_x || y - sum_{k} G_k x_k ||^2 + beta sum_{k} || S x_k ||^2 + eps || x ||^2\nS: 2D Laplacian operator\nx_k: k-th 2D slice of a 3D volume x\n\neps || x ||^2 seems to ...
0
{'name': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>AWS_REGION = os.environ.get("AWS_IOTCORE_REGION")
1
{'name': 'read_html@meza/io.py', 'description': "Reads tables from an html file\n\nTODO: convert to lxml.etree.iterparse\nhttp://lxml.de/parsing.html#iterparse-and-iterwalk\n\nArgs:\n filepath (str): The html file path or file like object.\n If you have a url, use the following pattern:\n\n r = request...
0
{'name': 'group@STNNet/pointconv.py', 'description': 'Input:\n npoint:\n nsample:\n xyz: input points position data, [B, N, C]\n points: input points data, [B, N, D]\nReturn:\n new_xyz: sampled points position data, [B, 1, C]\n new_points: sampled points data, [B, 1, N, C+D]', 'signature': 'def group(...
0
{'name': 'fullMammoPreprocess@src/modules/imagePreprocessing/imagePreprocessing.py', 'description': 'This function chains and executes all the preprocessing\nsteps for a full mammogram, in the following order:\n\nStep 1 - Initial crop\nStep 2 - Min-max normalise\nStep 3 - Remove artefacts\nStep 4 - Horizontal flip (if ...
1
{'name': 'createInstanceAgent@BlendNet/providers/aws/__init__.py', 'description': 'Creating a new instance for BlendNet Agent', 'signature': 'def createInstanceAgent(cfg):'}</s>{'name': 'Processor@BlendNet/providers/aws/Processor.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
0
{'name': 'temporary_clone@src/oca_github_bot/github.py', 'description': 'context manager that clones a git branch into a tremporary directory,\nand yields the temp dir name, with cache', 'signature': 'def temporary_clone(org, repo, branch):'}</s>{'name': 'gh_datetime@src/oca_github_bot/github.py', 'description': 'DOCST...
0
{'name': 'SubstationFormat.from_file@pysubs2/formats/substation.py', 'description': 'See :meth:`pysubs2.formats.FormatBase.from_file()`', 'signature': 'def from_file(cls, subs: "SSAFile", fp: TextIO, format_: str, **kwargs: Any) -> None:'}</s>{'name': 'Color@pysubs2/common.py', 'description': '8-bit RGB color with alph...
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'GenericCommand@gef.py', 'description': 'This is an ab...
0
{'name': 'isiterable@pymarketstore/params.py', 'description': 'check if something is a list, tuple or set\n:param something: any object\n:return: bool. true if something is a list, tuple or set', 'signature': 'def isiterable(something: Any) -> bool:'}</s>{'name': 'ListSymbolsFormat@pymarketstore/params.py', 'descriptio...
0
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
0
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>{'name': 'find_output@test/functional/test_framework/util.py', 'description': 'Return index to output of txid with value amount\nRaises excep...
0
{'name': 'SshSpawn.read_nonblocking@pexpect_connection.py', 'description': 'See parent. This actually may or may not block based on timeout.', 'signature': 'def read_nonblocking(self, size=1, timeout=None):'}</s>{'name': 'Error@pexpect_connection.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods...
0
{'name': 'cube_decode@zigate/clusters.py', 'description': 'Special decoder for XIAOMI CUBE', 'signature': 'def cube_decode(value):'}</s>{'name': 'CFC00@zigate/clusters.py', 'description': 'DOCSTRING', 'base_classes': ['Cluster'], 'methods': []}
0
{'name': '_test_core@ci/weekly/test_all_sat_end_to_end_on_disk.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dirs (Union[str, list]): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_...
0
{'name': 'Command.check_next_arg@sievelib/commands.py', 'description': 'Argument validity checking\n\nThis method is usually used by the parser to check if detected\nargument is allowed for this command.\n\nWe make a distinction between required and optional\narguments. Optional (or tagged) arguments can be provided\nu...
0
{'name': 'do_vcs_install@versioneer.py', 'description': 'Git-specific installation logic for Versioneer.\n\nFor Git, this means creating/changing .gitattributes to mark _version.py\nfor export-subst keyword substitution.', 'signature': 'def do_vcs_install(versionfile_source: str, ipy: Optional[str]) -> None:'}</s>{'nam...
0