text
string
label
int64
{'name': 'clean_data@models/data_cleaning.py', 'description': 'Clean and preprocess the news and market data for training then merge \nthem, to create a train set or test set.\n\nParameters\n----------\nmarket_df : dataframe\n See https://www.kaggle.com/c/two-sigma-financial-news/data for full \n description of t...
0
{'name': 'LinearExpression.size@linopy/expressions.py', 'description': 'Get the total size of the linear expression.', 'signature': 'def size(self) -> int:'}</s>FILL_VALUE = {"vars": -1, "coeffs": np.nan, "const": np.nan}
0
{'name': 'Message.from_dict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n--...
0
{'name': 'AcousticCorpusMixin.load_reference_alignments@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Load reference alignments to use in alignment evaluation from a directory\n\nParameters\n----------\nreference_directory: :class:`~pathlib.Path`\n Directory containing reference alignments', 's...
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': 'Dataset._get_records@qcportal/collections/dataset.py', 'description': 'Runs a query based on an indexer which is index : molecule_id\n\nParameters\n----------\nindexer : Dict[str, ObjectId]\n A key/value index of molecules to query\nquery : Dict[str, Any]\n A results query\ninclude : Optional[List[str]]...
1
{'name': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft...
0
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ...
0
{'name': 'IMAP._fetch_emails_info@imapy/imap.py', 'description': 'Fetches email info from server and returns as parsed email\nobjects', 'signature': 'def _fetch_emails_info(self, email_uids: List[str]) -> List[EmailMessage]:'}</s>{'name': 'IMAP@imapy/imap.py', 'description': 'Class used for interfacing between', 'base_...
1
{'name': 'ParseArguments@scripts/cpplint.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(args):'}</s>_C_SYS_HEADER...
0
{'name': 'map_mandiant_indicator_to_zeek@shared/bin/zeek_threat_feed_utils.py', 'description': 'Maps a Mandiant threat intelligence indicator object to Zeek intel items\n@see https://docs.zeek.org/en/current/scripts/base/frameworks/intel/main.zeek.html#type-Intel::Type\n@param indicator The indicator object (mandiant_t...
0
{'name': '_remove_bom_from_list@meza/io.py', 'description': 'Remove a byte order marker (BOM) from a list', 'signature': 'def _remove_bom_from_list(row, bom):'}</s>{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of...
0
{'name': 'Asizer._sizer@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Size an object, recursively.\n ', 'signature': 'def _sizer(self, obj, deep, sized):'}</s>{'name': '_len_iter@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Length (hint) of an iterator.\n ', ...
0
{'name': 'Nifti1Extensions.get_codes@src/pkundu/meica.libs/nibabel/nifti1.py', 'description': 'Return a list of the extension code of all available extensions', 'signature': 'def get_codes(self):'}</s>{'name': 'load@src/pkundu/meica.libs/nibabel/nifti1.py', 'description': "Load nifti1 single or pair from `filename`\n\n...
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': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac...
0
{'name': 'basicConfig@Monika After Story/game/python-packages/logging/__init__.py', 'description': "Do basic configuration for the logging system.\n\nThis function does nothing if the root logger already has handlers\nconfigured. It is a convenience method intended for use by simple scripts\nto do one-shot configuratio...
0
{'name': 'BaseAddon.set_lite_plugin_settings@py/jupyterlite-core/jupyterlite_core/addons/base.py', 'description': 'Overwrite the plugin settings for a single plugin in a config path.', 'signature': 'def set_lite_plugin_settings('}</s>MOD_FILE = 420
0
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJ_tmSYSTIMERHIGH = 11
0
{'name': 'TPUEstimator._augment_model_fn@baselines/models/xlnet/tpu_estimator.py', 'description': 'Returns a new model_fn, which wraps the TPU support.', 'signature': 'def _augment_model_fn(self, model_fn, train_cache_fn, eval_cache_fn, batch_axis):'}</s>{'name': 'generate_per_host_enqueue_ops_fn_for_host@baselines/mod...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQACTP_FORWARD = 1
0
{'name': 'ZWaveDeviceEntityValues._check_entity_ready@custom_components/zwave_mqtt/entity.py', 'description': 'Check if all required values are discovered and create entity.', 'signature': 'def _check_entity_ready(self):'}</s>DISC_COMMAND_CLASS = "command_class"
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZAO_PASS_IDENTITY_CONTEXT = 64
0
{'name': 'LinuxSCSI.find_multipath_device@os_brick/initiator/linuxscsi.py', 'description': "Discover multipath devices for a mpath device.\n\nThis uses the slow multipath -l command to find a\nmultipath device description, then screen scrapes\nthe output to discover the multipath device name\nand it's devices.", 'signa...
0
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': '_match_decorator_propert...
0
{'name': 'download@gdown/download.py', 'description': "Download file from URL.\n\nParameters\n----------\nurl: str\n URL. Google Drive URL is also supported.\noutput: str\n Output filename/directory. Default is basename of URL.\n If output ends with separator '/' basename will be kept and the\n parameter wi...
1
{'name': 'name2test_func@multichecklist/generate_test_utils.py', 'description': 'Maps from the test name to the respective function to generate tests.', 'signature': 'def name2test_func(name):'}</s>NUM_TEST_SAMPLES = 200
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQQSIE_OK = 2
0
{'name': 'BaseLiteApp.flags@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'Get CLI flags, including ones provided by addons.', 'signature': 'def flags(self):'}</s>{'name': 'LiteDoitApp@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'Run the doit command', 'base_classes': ['ManagedApp'], 'me...
0
{'name': 'LedgerBalances@capone/models.py', 'description': 'Make a relation from an evidence model to its LedgerBalance entries.', 'signature': 'def LedgerBalances():'}</s>{'name': 'get_or_create_manual_transaction_type@capone/models.py', 'description': 'Callable for getting or creating the default `TransactionType`.',...
0
{'name': 'main._generate_dos@mcu/qe/qe.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _generate_dos...
0
{'name': '_proximal_map@spmimage/linear_model/hmlasso.py', 'description': 'Proximal mapping.\n\nParameters\n----------\nx : np.ndarray, shape = (n, )\n\nReturns\n-------\n: np.ndarray, shape = (n, )', 'signature': 'def _proximal_map(x: np.ndarray, alpha: float) -> np.ndarray:'}</s>{'name': '_symm@spmimage/linear_model/...
0
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ...
0
{'name': 'parse_field@modeltranslation/utils.py', 'description': 'Extract result from single-value or dict-type setting like fallback_values.', 'signature': 'def parse_field(setting: Any | dict[str, Any], field_name: str, default: Any) -> Any:'}</s>build_localized_verbose_name = lazy(_build_localized_verbose_name, str)
0
{'name': 'ParseArguments@tools/cpplint.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(args):'}</s>{'name': '_Clas...
0
{'name': 'message_passing_fast@src/mbi/marginal_oracles.py', 'description': 'Compute marginals from (log-space) potentials using the message passing algorithm.\n\nThis implementation leverages the "einsum" primitve to compute clique marginals\nwithout materializing marginals over the super cliques first (nodes in the\n...
1
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>amount_screen_3 = "= "
0
{'name': 'RobustFileHandler.stream_emit@logSetup.py', 'description': "Emit a record.\n\nIf a formatter is specified, it is used to format the record.\nThe record is then written to the stream with a trailing newline. If\nexception information is present, it is formatted using\ntraceback.print_exception and appended to...
0
{'name': 'StalinWorks.download@ruts/datasets/stalin_works.py', 'description': 'Загрузка набора данных из сети и извлечение файлов\n\nАргументы:\n force (bool): Загрузить набор данных, даже если он уже загружен', 'signature': 'def download(self, force: bool = False):'}</s>{'name': 'StalinWorks@ruts/datasets/stalin_wo...
1
{'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': '_parse_array@pygdbmi/gdbmiparser.py', 'description': 'Parse an array, stream should be passed the initial [\nreturns:\n Parsed array', 'signature': 'def _parse_array(stream: StringStream) -> list:'}</s>_PARSER_FUNCTION = Callable[[Match, StringStream], Dict]
0
{'name': 'EntriesMaintainer.update_statistics@code/maintenance_entries.py', 'description': 'Generates the statistics page.\n\nShould be done every time the entries change.', 'signature': 'def update_statistics(self):'}</s>{'name': 'handleRemoveReadonly@code/utils/utils.py', 'description': 'Necessary on Windows. See htt...
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'UseOfExtensionAttr@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], 'meth...
0
{'name': 'PVPCData.process_state_and_attributes@aiopvpc/pvpc_data.py', 'description': 'Generate the current state and sensor attributes.\n\nThe data source provides prices in 0 to 24h sets, with correspondence\nwith the main timezone in Spain. They are stored with UTC datetimes.\n\nInput `now: datetime` is assumed tz-a...
1
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'DuplicateValue@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Inval...
0
{'name': 'vae_append@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_append(latent_shape, gen_net, rec_net, obs_append, prior_prec=8,'}</s>{'name': 'gaussian_latent_ppf@util.py', 'description': 'DOCSTRING', 'code': ...
1
{'name': 'TrafficManager.spawn_one_actor@tools/modules.py', 'description': 'Spawn an actor on the main road based on the frenet s and d values', 'signature': 'def spawn_one_actor(self, s, lane, targetSpeed):'}</s>{'name': 'FadingText@tools/modules.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name'...
0
{'name': 'IREP.fit@build/lib/wittgenstein/irep.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding to t...
0
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::...
0
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar...
0
{'name': 'id_generator@custom_components/thermal_comfort/sensor.py', 'description': 'Generate id based on unique_id and sensor type.\n\n:param unique_id: str: common part of id for all entities, device unique_id, as a rule\n:param sensor_type: str: different part of id, sensor type, as s rule\n:returns: str: unique_id+...
0
{'name': 'retry_blob_databireck_split@databricks-adx-integration/src/code/functions/databrickserrorhandler/__app__/dbserrorhandler/__init__.py', 'description': 'Move blob from source to destination container ', 'signature': 'def retry_blob_databireck_split('}</s>RETRY_END_IN_FAIL_EVENT_NAME = "DATABRICKS_SPLIT_RETRY_EN...
0
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
0
{'name': 'IB.cancelOrder@ib_insync/ib.py', 'description': 'Cancel the order and return the Trade it belongs to.\n\nArgs:\n order: The order to be canceled.\n manualCancelOrderTime: For audit trail.', 'signature': "def cancelOrder(self, order: Order, manualCancelOrderTime: str = '') \\"}</s>{'name': 'OrderState@ib...
0
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>INFO_VAL_NOT_IN_OPTIONS = "Error: response is not part of the following accepted answers: %s"
0
{'name': '__get_version_info@!src-dist/build.py', 'description': 'Get version information', 'signature': 'def __get_version_info(diff_ver):'}</s>TIME_TAG = time.strftime('%Y%m%d%H%M%S', time.localtime())
0
{'name': 'draw_water_mix_ratio@pymeteo/skewt.py', 'description': 'Plot lines of constant water vapor mixing ratio on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates isolines of constant water vapor\nmixing ratio and plots these lines. Values of w calcul...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQBACF_ALTERNATE_SECURITYID = 7019
0
{'name': 'uses_docker@test/utilities.py', 'description': "Decorate test to be skipped on platforms that don't have Docker for testing.", 'signature': 'def uses_docker(func):'}</s>PipelineStageOptions = NamedTuple( 'PipelineStageOptions', [ ('skip_rosdep_keys', List[str]), ('custom_script', Optio...
0
{'name': 'disabled_train@ldm/models/diffusion/ddpm.py', 'description': 'Overwrite model.train with this function to make sure train/eval mode\ndoes not change anymore.', 'signature': 'def disabled_train(self, mode=True):'}</s>{'name': 'extract_into_tensor@ldm/modules/diffusionmodules/util.py', 'description': 'DOCSTRING...
0
{'name': 'annotate_residues_from_sequence@vermouth/dssp/dssp.py', 'description': "Sets the attribute `attribute` to a value from `sequence` for every node in\n`molecule`. Nodes in the n'th residue of `molecule` are given the n'th\nvalue of `sequence`.\n\nParameters\n----------\nmolecule: networkx.Graph\n The molecul...
0
{'name': 'DataProcessor._read_tsv@run_snli_predict.py', 'description': 'Reads a tab separated value file.', 'signature': 'def _read_tsv(cls, input_file, quotechar=None):'}</s>{'name': 'transform_tag_features@run_snli_predict.py', 'description': 'DOCSTRING', 'code': 'def transform_tag_features(max_num_aspect, features, ...
0
{'name': 'TestSearchQuery.test_iter@ads/tests/test_search.py', 'description': 'the iteration method should handle pagination automatically\nbased on rows and max_rows; use the mock solr server to query\ndata row by row and ensure that the data return as expected', 'signature': 'def test_iter(self):'}</s>EXPORT_URL = '{...
0
{'name': 'QtTreeViewItem._default_view@enamlx/qt/qt_tree_view.py', 'description': "If this is the root item, return the parent\nwhich must be a TreeView, otherwise return the\nparent Item's view.", 'signature': 'def _default_view(self):'}</s>{'name': 'ProxyTreeView@enamlx/widgets/tree_view.py', 'description': 'DOCSTRIN...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSP_AVAILABLE = 1
0
{'name': 'test_image_upgrade_01150@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\nInvalid value for ``options.package.install``.\n\n### Setup\n\n- ``devices`` is s...
0
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>cvRed = (0, 0, 255)
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': 'TestLongGf.test_parse_mouse@test/test_parsers.py', 'description': 'Test basic parsing.', 'signature': 'def test_parse_mouse(self):'}</s>{'name': '_Parser@agfusion/parsers.py', 'description': 'Base parser.', 'base_classes': [], 'methods': [{'name': '_Parser.__init__@agfusion/parsers.py', 'description': 'DOCSTR...
0
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': 'validate_ip@packstack/installer/validators.py', 'description': 'Rai...
0
{'name': 'civis_file_to_table@src/civis/io/_tables.py', 'description': 'Upload the contents of one or more Civis files to a Civis table.\nAll provided files will be loaded as an atomic unit in parallel, and\nshould share the same columns in the same order, and be in the same\nformat.\n\n.. note::\n The input Civis f...
1
{'name': 'test_docker_build_fails@test/test_utils.py', 'description': 'Test for expected failure when a recipe fails to build', 'signature': 'def test_docker_build_fails(recipes_fixture, config_fixture):'}</s>{'name': 'get_latest_recipes@bioconda_utils/utils.py', 'description': 'Generator of recipes.\n\nFinds (possibly...
0
{'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': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r...
0
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>CONF_SEQUENCE_ZONES = "sequence_zones"
0
{'name': 'isi_schema_to_swagger_object@components/create_swagger_config.py', 'description': 'Convert isi_schema to Swagger object definition.', 'signature': 'def isi_schema_to_swagger_object(isi_obj_name_space, isi_obj_name,'}</s>{'name': 'end_point_path_to_api_obj_name@components/create_swagger_config.py', 'descriptio...
0
{'name': 'CSSParser.parse_pseudo_class_custom@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse custom pseudo class alias.\n\nCompile custom selectors as we need them. When compiling a custom selector,\nset it to `None` in the dictionary so we can avoid an infinite loop.',...
0
{'name': 'test_rollup_10000@tests/system_tests/test_brew_rollup.py', 'description': 'Test that basic cli works.', 'signature': 'def test_rollup_10000(rollup_src_dirs, suffix, tmp_path):'}</s>{'name': 'estimate_abs_int@tests/helpers/math.py', 'description': 'Estimate the normalized absolute difference between two curves...
1
{'name': 'process_extra_commands@heudiconv/main.py', 'description': "Perform custom command instead of regular operations. Supported commands:\n['treat-json', 'ls', 'populate-templates', 'populate-intended-for']\n\nParameters\n----------\noutdir : str\n Output directory\ncommand : {'treat-json', 'ls', 'populate-temp...
0
{'name': 'GTestFilterUnitTest.testShardStatusFileIsCreated@security/nss/external_tests/google_test/gtest/test/gtest_filter_unittest.py', 'description': 'Tests that the shard file is created if specified in the environment.', 'signature': 'def testShardStatusFileIsCreated(self):'}</s>TEST_CASE_REGEX = re.compile(r'^\[\-...
0
{'name': 'main@tw_cli.py', 'description': 'Parses command line options and calls the function to test the arrays/drives', 'signature': 'def main():'}</s>METRICS = {}
0
{'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': 'get_version@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def get_version():\n if git_version():\n version = __version__+'-'+git_...
0
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ...
0
{'name': 'steerable_filters@src/pyrtools/pyramids/filters.py', 'description': 'Steerable pyramid filters.\n\nTransform described in [1]_, filter kernel design described in [2]_.\n\nReferences\n----------\n.. [1] E P Simoncelli and W T Freeman, "The Steerable Pyramid: A Flexible Architecture for\n Multi-Scale Derivati...
0
{'name': 'RMLAttribute.get@src/z3c/rml/attr.py', 'description': 'See zope.schema.interfaces.IField', 'signature': 'def get(self):'}</s>{'name': 'ObjectRef@src/z3c/rml/attr.py', 'description': 'This field will return a Python object.\n\nThe value is a Python path to the object which is being resolved. The\nsysntax is ex...
0
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv...
0
{'name': 'get_addr_line_str@scourgify/normalize.py', 'description': "Get address 'line' elements as a single string.\n\nCombines 'address_line_1' and 'address_line_2' elements as a single string\nto ensure no data is lost and line_2 can be processed according to a\nstandard set of rules.\n\n:param addr_dict: dict conta...
0
{'name': 'layout.hierarchical@py2cytoscape/cyrest/layout.py', 'description': 'Execute the Hierarchical Layout on a network.\n\n:param bandGap (string, optional): Band gap, in numeric value\n:param componentSpacing (string, optional): Component spacing, in numeric v\n alue\n:param EdgeAttribute (string, optional)...
1
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ...
0
{'name': '_draw_text_bbox@src/mplhep/plot.py', 'description': "Draw legend() and fetch it's bbox", 'signature': 'def _draw_text_bbox(ax):'}</s>{'name': 'RemainderFixed@src/mplhep/plot.py', 'description': 'DOCSTRING', 'base_classes': ['axes_size.Scaled'], 'methods': [{'name': 'RemainderFixed.__init__@src/mplhep/plot.py'...
0
{'name': 'map_zones@pymultimatic/model/mapper.py', 'description': 'Map *zones*.', 'signature': 'def map_zones(json) -> List[Zone]:'}</s>{'name': 'map_rooms@pymultimatic/model/mapper.py', 'description': 'Map *rooms*.', 'code': 'def map_rooms(raw_rooms) -> List[Room]:\n """Map *rooms*."""\n\n rooms: List[Room] = []...
0
{'name': 'RequirementCommand._build_package_finder@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/cli/base_command.py', 'description': 'Create a package finder appropriate to this requirement command.', 'signature': 'def _build_package_finder('}</s>{'name': 'Config@config.py', 'description': 'DOCSTRING', 'ba...
0
{'name': 'bottleneck_block@resnet.py', 'description': 'Bottleneck block variant for residual networks with BN after convolutions.\n\nArgs:\n inputs: `Tensor` of size `[batch, channels, height, width]`.\n filters: `int` number of filters for the first two convolutions. Note that\n the third and final convolution ...
1
{'name': 'language_check@libscanbuild/analyze.py', 'description': 'Find out the language from command line parameters or file name\nextension. The decision also influenced by the compiler invocation. ', 'signature': 'def language_check(opts, continuation=filter_debug_flags):'}</s>{'name': 'scan_build@libscanbuild/analy...
0
{'name': 'run_normal@scripts/benchmarks/restful.py', 'description': 'crud and search for specify dataset', 'signature': 'def run_normal(args: argparse.Namespace):'}</s>{'name': 'create_db_and_space@scripts/benchmarks/restful.py', 'description': 'DOCSTRING', 'code': 'def create_db_and_space(args: argparse.Namespace):\n ...
1
{'name': 'SCPreferences.Save@gmacpyutil/gmacpyutil/systemconfig.py', 'description': 'Commits changes to permanent store, applies to running config.', 'signature': 'def Save(self):'}</s>NETWORK_PROFILE_ID = "com.megacorp.networkprofile"
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>{'name': 'raise_helper@code/html/generate_static_website.py', 'description': 'Helper, because raise...
0
{'name': 'cubic_spline@manifold_flow/transforms/splines/cubic.py', 'description': 'References:\n> Blinn, J. F. (2007). How to solve a cubic equation, part 5: Back to numerics. IEEE Computer\nGraphics and Applications, 27(3):78–89.', 'signature': 'def cubic_spline('}</s>DEFAULT_MIN_BIN_WIDTH = 0.001
1
{'name': 'ParseCodeLine@vimdoc/parser.py', 'description': 'Parses one line of code and creates the appropriate CodeLine.', 'signature': 'def ParseCodeLine(line):'}</s>backmatter_args = re.compile(r'([a-zA-Z_-][a-zA-Z0-9_-]*)')
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0