text
string
label
int64
{'name': '_install@ez_setup.py', 'description': 'Install Setuptools.', 'signature': 'def _install(archive_filename, install_args=()):'}</s>{'name': 'main@ez_setup.py', 'description': 'Install or upgrade setuptools and EasyInstall.', 'code': 'def main():\n """Install or upgrade setuptools and EasyInstall."""\n opt...
0
{'name': 'DescriptorField.__init__@pyfields/core.py', 'description': 'See help(field) for details', 'signature': 'def __init__(self,'}</s>{'name': 'UnsupportedOnNativeFieldError@pyfields/core.py', 'description': 'Exception raised whenever someone tries to perform an operation that is not supported on a "native" field.'...
0
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_constant_character@ctypesgen/parser/cgrammar.py', 'description': 'constant : CHARACTER_CONSTANT\n ', 'code': 'def p_co...
0
{'name': 'ranked_vaccine_peptides_with_metadata_from_parsed_args@vaxrank/cli.py', 'description': 'Computes all the data needed for report generation.\n\nParameters\n----------\nargs : Namespace\n Parsed user args from this run\n\nReturns a dictionary containing 3 items:\n- ranked variant/vaccine peptide list\n- a dict...
0
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>{'name': 'CheckRedundantVirtual@ament_cpplint/ament_cpplint/cpplint.py', '...
0
{'name': 'Connection.channel@amqp/connection.py', 'description': "Create new channel.\n\nFetch a Channel object identified by the numeric channel_id, or\ncreate that object if it doesn't already exist.", 'signature': 'def channel(self, channel_id=None, callback=None):'}</s>{'name': 'Queue@amqp/spec.py', 'description': ...
0
{'name': 'EVPTestCase.test_get_ec@tests/test_evp.py', 'description': 'Testing retrieving the EC key from the PKey instance.', 'signature': 'def test_get_ec(self):'}</s>{'name': 'load_key_string@src/M2Crypto/EC.py', 'description': 'Load an EC key pair from a string.\n\n:param string: String containing EC key pair in PEM...
0
{'name': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>_TYPE_MB = 7
0
{'name': 'calculate_final_inclusion@ctypesgen/processor/pipeline.py', 'description': 'Calculates which descriptions will be included in the output library.\n\nAn object with include_rule="never" is never included.\nAn object with include_rule="yes" is included if its requirements can be included.\nAn object with includ...
0
{'name': 'speed_camera@versions/speed-cam_8.87.py', 'description': 'Main speed camera processing function ', 'signature': 'def speed_camera():'}</s>WEB_PAGE_REFRESH_SEC = "900"
0
{'name': 'thanksgiving@src/convertdate/holidays.py', 'description': "In the United States, Thanksgiving is celebrated on the last Thursday\nof November. In Canada, on the second Monday of October.\n\nArguments:\n year (int): Gregorian year\n country (str): either ``'usa'`` (default) or ``'canada'``", 'signature':...
0
{'name': 'test_update_cve_reserved_state@test-http/src/test/cve_tests/cve.py', 'description': 'the cve record cannot be changed to the RESERVED state ', 'signature': 'def test_update_cve_reserved_state():'}</s>reserved_cve_id = "CVE-2017-5833"
0
{'name': 'arg_parse@detector/yolo/video_demo.py', 'description': 'Parse arguements to the detect module', 'signature': 'def arg_parse():'}</s>{'name': 'write_results@detector/yolo/util.py', 'description': 'DOCSTRING', 'code': "def write_results(prediction, confidence, num_classes, nms=True, nms_conf=0.4):\n conf_mas...
0
{'name': 'NonTokens.test6@Cheetah/Tests/SyntaxAndOutput.py', 'description': '1 dollar sign followed by EOL Slurp Token', 'signature': 'def test6(self):'}</s>{'name': 'TryDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'TryDirective.test1@Chee...
0
{'name': 'parse_status_update@slackcli/messaging.py', 'description': 'Parse "/status :emoji: sometext" messages. If there is a match, return a dict\ncontaining the profile attributes to be updated. Else return None.', 'signature': 'def parse_status_update(text):'}</s>{'name': 'hyperlink@slackcli/ui.py', 'description': ...
0
{'name': 'ProcessLine@scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ...
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': '_https_resolve@local/common/dns.py', 'description': '此函数功能实现仅限于解析为 A、AAAA 记录', 'signature': 'def _https_resolve(server, qname, qtype, query_data):'}</s>{'name': 'get_dnsserver_list@local/common/dns.py', 'description': 'DOCSTRING', 'code': 'def get_dnsserver_list():\n import os\n if os.name == \'nt\':\n ...
0
{'name': 'choose_provider@paper2remarkable/ui.py', 'description': 'Choose the provider to use for the given source\n\nThis function determines the appropriate provider based on the input and the\noptional source_type parameter. If source_type is specified, it overrides\nthe automatic detection. Otherwise, it first trie...
1
{'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': 'PreparedRequest.prepare_body@src/requests/models.py', 'description': 'Prepares the given HTTP body data.', 'signature': 'def prepare_body(self, data, files, json=None):'}</s>{'name': 'get_cookie_header@src/requests/cookies.py', 'description': 'Produce an appropriate Cookie header string to be sent with `reque...
0
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A...
0
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i...
0
{'name': 'ensure_tf_input@agents/bdq/common/tf_util.py', 'description': 'Takes either tf.placeholder of TfInput and outputs equivalent TfInput', 'signature': 'def ensure_tf_input(thing):'}</s>{'name': 'concatenate@agents/bdq/common/tf_util.py', 'description': 'DOCSTRING', 'code': 'def concatenate(arrs, axis=0):\n re...
0
{'name': 'Contest.status@contests/models.py', 'description': ':return: 1 --> Contest is live\n:return: -1 --> Contest has finished\n:return: 0 --> Contest has not started', 'signature': 'def status(self,user):'}</s>{'name': 'Question@practice/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], '...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>{'name': 'pfr_tstats@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'classify@filters/Lang_Identifier/langid.py', 'description': 'Convenience method using a global identifier instance with the default\nmodel included in langid.py. Identifies the language that a string is \nwritten in.\n\n@param instance a text string. Unicode strings will automatically be utf8-encoded\n@return...
0
{'name': 'BKLLoss.forward@torchbnn/modules/loss.py', 'description': 'Arguments:\n model (nn.Module): a model to be calculated for KL-divergence.', 'signature': 'def forward(self, model):'}</s>{'name': '_Loss@torchbnn/modules/loss.py', 'description': 'DOCSTRING', 'base_classes': ['Module'], 'methods': [{'name': '_Los...
0
{'name': 'FusionTranscript.predict_effect@agfusion/model.py', 'description': 'For all gene isoform combinations predict the effect of the fusion\n(e.g. in-frame, out-of-frame, etc...). Then if it has coding potential\nthen annotate with domains', 'signature': 'def predict_effect(self):'}</s>{'name': '_Gene@agfusion/mod...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'render_pep440_post_branch@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]+gHEX[....
0
{'name': 'test_bact_death_z_test@Project/SampleProjects/biolab_project/tests/test_bacteria.py', 'description': 'This test is a probabilistic test: It executes dies() N times.\nThe number n of "successes" (dies() returns True) should be\ndistributed according to the binomial distribution B(N, p),\nwhere p is short for p...
0
{'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': 'MempoolPackagesTest.run_test@test/functional/mempool_packages.py', 'description': 'Mine some blocks and have them mature. ', 'signature': 'def run_test(self):'}</s>{'name': 'get_auth_cookie@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def get_auth_cookie(datadir):\n user = ...
0
{'name': 'test_list_case_insensitive_other_collision@tests/test_cli.py', 'description': 'Test that the case-insensitive list name matching is used if a\ncollision exists that does not affect the queried list.', 'signature': 'def test_list_case_insensitive_other_collision('}</s>{'name': 'test_todo_new@tests/test_cli.py'...
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': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': '_none_or_positive_arg@venv/Lib/site-packages/numpy/core/arrayprint.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'Connection.next_event@h11/_connection.py', 'description': "Parse the next event out of our receive buffer, update our internal\nstate, and return it.\n\nThis is a mutating operation -- think of it like calling :func:`next`\non an iterator.\n\nReturns:\n : One of three things:\n\n 1) An event object -- s...
0
{'name': 'DistributedCheckpointSaver.restore_with_id@torchtnt/framework/callbacks/dcp_saver.py', 'description': 'Utility method to restore dcp checkpoint from a checkpoint_id.\n\nThere are additional flags offered should the user want to skip loading the train and eval progress.\nBy default, the train and eval progress...
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_PUBKEY = CScriptOp(0xfe)
0
{'name': 'CheckHeaderFileIncluded@tools/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'CleanseComments@tools/cpplint.py', 'description': 'Removes //-comments and single-line C-style /* *...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_MEDIA_IMAGE_LOG_LENGTH = 270
0
{'name': 'mach_o_change@bootstrap.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>user_dir = os.path.expanduser('~')
0
{'name': 'Launcher.__init__@pyppeteer/launcher.py', 'description': 'Make new launcher.', 'signature': 'def __init__(self, options: Dict[str, Any] = None, # noqa: C901'}</s>{'name': 'defaultArgs@pyppeteer/launcher.py', 'description': 'Get the default flags the chromium will be launched with.\n\n``options`` or keyword a...
1
{'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': 'AliasesRmCommand@gef.py', 'description': 'Command to ...
0
{'name': 'Cursor.getmulti@lmdb/cffi.py', 'description': "Returns an iterable of `(key, value)` 2-tuples containing results\nfor each key in the iterable `keys`.\n\n `keys`:\n Iterable to read keys from.\n\n `dupdata`:\n If ``True`` and database was opened with `dupsort=True`, read\n all dupli...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>{'name': 'calc_on_time@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the total t...
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': 'Muse._handle_control@muselsl/muse.py', 'description': "Handle the incoming messages from the 0x000e handle.\n\nEach message is 20 bytes\nThe first byte, call it n, is the length of the incoming string.\nThe rest of the bytes are in ASCII, and only n chars are useful\n\nMultiple messages together are a json ob...
0
{'name': 'run_similar_search@scripts/benchmarks/pysdk.py', 'description': 'vector search', 'signature': 'def run_similar_search('}</s>{'name': 'search@scripts/benchmarks/pysdk.py', 'description': 'DOCSTRING', 'code': 'def search(args: argparse.Namespace, xq: np.ndarray, gt: np.ndarray):\n pool = ThreadPoolExecutor(m...
1
{'name': 'RNNClassifier.forward_propagation@np_rnn_classifier.py', 'description': 'Parameters\n----------\nseq : list\n Variable length sequence of elements in the vocabulary.\n\nReturns\n----------\nh : np.array\n Each row is for a hidden representation. The first row\n is an all-0 initial state. The others c...
0
{'name': 'draw_pose@demo/demo.py', 'description': 'draw the keypoints and the skeletons.\n:params keypoints: the shape should be equal to [17,2]\n:params img:', 'signature': 'def draw_pose(keypoints,img):'}</s>{'name': 'main@demo/demo.py', 'description': 'DOCSTRING', 'code': 'def main():\n # cudnn related setting\n ...
0
{'name': 'CommandRunner._image_name@hokusai/services/command_runner.py', 'description': 'compose name for the docker image field in pod spec ', 'signature': 'def _image_name(self, tag_or_digest):'}</s>{'name': 'YamlSpec@hokusai/services/yaml_spec.py', 'description': 'manage Hokusai yaml template ', 'base_classes': [], ...
0
{'name': 'is_list_like@ankipandas/util/types.py', 'description': 'True if object type is similar to list, tuple etc.', 'signature': 'def is_list_like(obj):'}</s>{'name': 'is_list_list_like@ankipandas/util/types.py', 'description': 'True if object is like-like object of list-like objects', 'code': 'def is_list_list_like...
0
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>MODATTRIBUTEERROR = (AttributeError, re.MODULEHASNOATTRIBUTE_RE)
0
{'name': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>{'name': '...
0
{'name': 'ContentProcessor.add_markup@src/freetype/src/tools/docmaker/content.py', 'description': 'Add a new markup section.', 'signature': 'def add_markup(self):'}</s>{'name': 'SourceProcessor@src/freetype/src/tools/docmaker/sources.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'SourceProce...
0
{'name': 'parse_atom@classes/docopt.py', 'description': "atom ::= '(' expr ')' | '[' expr ']' | 'options'\n| long | shorts | argument | command ;", 'signature': 'def parse_atom(tokens, options):'}</s>{'name': 'Option@classes/docopt.py', 'description': 'DOCSTRING', 'base_classes': ['LeafPattern'], 'methods': [{'name': '...
0
{'name': 'euclidean_distance@examples/clustering/example_clustering_3.py', 'description': 'Calculate the euclidean distance between X and Y. It accepts:\n:X should be a matrix of size (N, f) where N is the number of samples and f is the number of features for each sample.\n:Y should be of size f. In other words, it is ...
0
{'name': '_value_owner_pair@skein/kv.py', 'description': 'Build a ValueOwnerPair from a KeyValue object', 'signature': 'def _value_owner_pair(kv):'}</s>{'name': 'EventFilter@skein/kv.py', 'description': "An event filter.\n\nSpecifies a subset of events to watch for. May specify one of ``key``,\n``prefix``, or ``start``...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_DYNAMIC_Q_NAME_ERROR = 2011
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'render_pep440@versioneer.py', 'description': 'Build up version string, with post-release "local version identifier".\n\nOur goal: TAG[+DISTANCE.gHEX[.dirty...
1
{'name': 'parse_shorts@classes/docopt.py', 'description': "shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;", 'signature': 'def parse_shorts(tokens, options):'}</s>{'name': 'formal_usage@classes/docopt.py', 'description': 'DOCSTRING', 'code': 'def formal_usage(section):\n _, _, section = section.partition(\':\') # dro...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP6_MEMBERSHIP_REPORT = 131
0
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
0
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/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, ...
0
{'name': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'round_trip_load_all@strictyaml/ruamel/main.py', 'description...
0
{'name': 'OpticalProduct._sun_earth_distance@eoreader/products/optical/optical_product.py', 'description': "Correction for the Sun-Earth distance variation\n\nUses ephem's function according to Maxar documentation:\nhttps://resources.maxar.com/white-papers/radiometric-use-of-worldview-legion-1-and-worldview-legion-2-im...
0
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
1
{'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': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'list_files_by_glob@src/python_scripts/afnipy/afni_util.py', 'description': "Input a list L of on...
0
{'name': 'fixture_repo_name@tests/conftest.py', 'description': 'Return a repository name.', 'signature': 'def fixture_repo_name() -> str:'}</s>{'name': 'fixture_mock_repo_info_error@tests/conftest.py', 'description': 'Patch the subprocess call to git remote get-url with an error.', 'code': 'def fixture_mock_repo_info_e...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'copy_to_clipboard@gef.py', 'description': 'Helper function to submit data to the clipboard', 'code': 'def copy_to_clipboard(data: bytes) -> None:\n "...
0
{'name': 'GoogleCenterMap.get_vardata@salem/datasets.py', 'description': 'Return and subset the image.', 'signature': 'def get_vardata(self, var_id=0):'}</s>{'name': 'geogrid_simulator@salem/wrftools.py', 'description': 'Emulates geogrid.exe, which is useful when defining new WRF domains.\n\nParameters\n----------\nfpa...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>_main_ctx = None
0
{'name': 'test_config_template_valid@mne_bids_pipeline/tests/test_documented.py', 'description': 'Ensure our config template is syntactically valid (importable).', 'signature': 'def test_config_template_valid(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:'}</s>{'name': '_ParseConfigSteps@mne_bids_pipeline/_d...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXT_PRECONNECT_EXIT = 23
0
{'name': 'Unit.__new__@unyt/unit_object.py', 'description': "Create a new unit. May be an atomic unit (like a gram) or combinations\nof atomic units (like g / cm**3).\n\nParameters\n----------\nunit_expr : Unit object, sympy.core.expr.Expr object, or str\n The symbolic unit expression.\nbase_value : float\n The u...
0
{'name': 'transliteration_cleaners@text/cleaners.py', 'description': 'Pipeline for non-English text that transliterates to ASCII.', 'signature': 'def transliteration_cleaners(text):'}</s>{'name': 'expand_abbreviations@text/cleaners.py', 'description': 'DOCSTRING', 'code': 'def expand_abbreviations(text):\n for regex, ...
0
{'name': 'time_delay_generator_conv@kfs/generators.py', 'description': 'A generator to make it easy to fit time-delay regression models,\ni.e. a model where the value of y depends on past values of x\n\n# Arguments\nx: input data, as a Numpy array\ny: targets, as a Numpy array or None for prediction generation\ndelays:...
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': 'get_source_htmlpage@scripts/Facebook_Scrapper/facebook_scraper.py', 'description': 'Start the program and handle command line options', 'signature': 'def get_source_htmlpage(options):'}</s>{'name': 'export_as_json@scripts/Facebook_Scrapper/facebook_scraper.py', 'description': "Export user's friend list in JSO...
0
{'name': 'main@spatialmedia/__main__.py', 'description': 'Main function for printing and injecting spatial media metadata.', 'signature': 'def main():'}</s>path = os.path.dirname(sys.modules[__name__].__file__)
0
{'name': 'error@paver/easy.py', 'description': 'Displays an error message to the user.', 'signature': 'def error(message, *args):'}</s>task = tasks.task
0
{'name': 'TestGenericUserToGroupSelf.test_add_user_to_himself_already_added@protector/tests.py', 'description': 'If user was already part of a group of his own without self role, we add self role.', 'signature': 'def test_add_user_to_himself_already_added(self):'}</s>{'name': 'GenericObjectRestrictionTest@protector/tes...
0
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>known_language...
0
{'name': 'get_signature_string@src/makefun/main.py', 'description': 'Returns the string to be used as signature.\nIf there is a non-native symbol in the defaults, it is created as a variable in the evaldict\n:param func_name:\n:param func_signature:\n:return:', 'signature': 'def get_signature_string(func_name, func_sig...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_ITEM_COUNT_ERROR = 2316
0
{'name': 'SimulateNARMAX.simulate@sysidentpy/simulation/_simulation.py', 'description': "Simulate the response of a NARMAX model based on user-defined parameters.\n\nThis method simulates the system's response using a predefined model structure\n(`model_code`) and estimated parameters (`theta`). It allows for both\ntra...
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': 'LiveServer.stop@test/integration/tests/live_server.py', 'description': 'Stop the server', 'signature': 'def stop(self):'}</s>{'name': 'live_server@test/integration/tests/live_server.py', 'description': 'Run a live Django Channels server in the background during tests\n\nThe host the server is started from is ...
0
{'name': 'mean@2DNet/src/tuils/loss_function.py', 'description': 'nanmean compatible with generators.', 'signature': 'def mean(l, ignore_nan=False, empty=0):'}</s>{'name': 'SoftDiceLoss_binary@2DNet/src/tuils/loss_function.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'SoftDiceLos...
0
{'name': 'OneVsAllAggregative.classify@quapy/method/aggregative.py', 'description': 'If the base quantifier is not probabilistic, returns a matrix of shape `(n,m,)` with `n` the number of\ninstances and `m` the number of classes. The entry `(i,j)` is a binary value indicating whether instance\n`i `belongs to class `j`....
0
{'name': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_USER_EXIT_NOT_AVAILABLE = 4039
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': 'GDAL2Tiles.generate_base_tiles@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generation of the base tiles (the lowest in the pyramid) directly from the input raster', 'signature': 'def generate_base_tiles(self) -> Tuple[TileJobInfo, List[TileDetail]]:'}</s>{'name': 'GDALError@auxiliary/gdal...
0
{'name': 'load_data@flask-sentiment-analysis-app/train.py', 'description': 'Load data from the IMDB dataset.', 'signature': 'def load_data(limit=0, split=0.8):'}</s>n_texts = 1000
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>REGION = os.environ['COS_REGION']
0
{'name': 'Launcher.__init__@pyppeteer/launcher.py', 'description': 'Make new launcher.', 'signature': 'def __init__(self, options: Dict[str, Any] = None, # noqa: C901'}</s>{'name': 'Connection@pyppeteer/connection.py', 'description': 'Connection management class.', 'base_classes': ['EventEmitter'], 'methods': [{'name'...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>{'name': '_is_valid_addr@pf/_utils.py', 'description': 'Return True is addr is a valid address in the address family specified', 'code':...
0