text
string
label
int64
{'name': 'get_svg_size@make_bw_font.py', 'description': 'Takes a path to an SVG file and reads it.\nChecks for the existence of a \'viewBox\' property in the \'svg\' element.\nConfirms that the viewBox is square.\nReturns the viewBox dimension as an integer.\n\nThe regex match will contain 4 groups:\n 1. String from...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>ICMP_UNREACH_HOST = 1
0
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ...
0
{'name': 'vcmp@tests/test_fuzz.py', 'description': 'cmp()-style version comparison', 'signature': 'def vcmp(v1, v2):'}</s>{'name': 'get_afl_version@tests/test_fuzz.py', 'description': 'DOCSTRING', 'code': "def get_afl_version():\n require_commands('afl-fuzz')\n child = ipc.Popen(['afl-fuzz'], stdout=ipc.PIPE) # ...
0
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_type_specifier@ctypesgen/parser/cgram...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXDR_CONVERSION_FAILED = py23long(1)
0
{'name': 'test_validate_program@gplearn/tests/test_genetic.py', 'description': 'Check that valid programs are accepted & invalid ones raise error', 'signature': 'def test_validate_program():'}</s>{'name': 'test_execute@gplearn/tests/test_genetic.py', 'description': 'Check executing the program works', 'code': 'def test...
0
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli...
0
{'name': 'ToDoViews.__init__@todopyramid/views.py', 'description': 'Set some common variables needed for each view.\n ', 'signature': 'def __init__(self, context, request):'}</s>DBSession = scoped_session(sessionmaker(extension=ZopeTransactionExtension()))
1
{'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>_root = None
1
{'name': 'GTestJsonOutputUnitTest.testSuppressedJsonOutput@third-party/googletest/googletest/test/googletest-json-output-unittest.py', 'description': 'Verifies that no JSON output is generated.\n\nTests that no JSON file is generated if the default JSON listener is\nshut down before RUN_ALL_TESTS is invoked.', 'signatu...
0
{'name': 'convert_to_c3d@Pose2Sim/common.py', 'description': 'Make Visual3D compatible c3d files from a trc path\n\nINPUT:\n- trc_path: string, trc file to convert\n\nOUTPUT:\n- c3d file', 'signature': 'def convert_to_c3d(trc_path):'}</s>__credits__ = ["David Pagnon"]
0
{'name': 'format_pull@tools/changelog.py', 'description': 'Format pull request.', 'signature': 'def format_pull(pull):'}</s>PullRequest = collections.namedtuple('PullRequest', 'id author title merged_at labels')
0
{'name': 'check_mapping@zict/tests/test_zip.py', 'description': 'Shorter version of utils_test.check_mapping, as zip supports neither update nor\ndelete', 'signature': 'def check_mapping(z):'}</s>{'name': 'test_bytearray@zict/tests/test_zip.py', 'description': 'DOCSTRING', 'code': 'def test_bytearray(fn):\n data = b...
0
{'name': 'main_config_show@signac/__main__.py', 'description': 'Handle config show subcommand.', 'signature': 'def main_config_show(args):'}</s>{'name': '_main_import_interactive@signac/__main__.py', 'description': 'DOCSTRING', 'code': 'def _main_import_interactive(project, origin, args):\n from .import_export impor...
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': 'set_gef_setting@gef.py', 'description': 'DOCSTRING', ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQAT_USER = 25
0
{'name': '_save_graph_xml@osmnx/_osm_xml.py', 'description': "Save graph to disk as an OSM XML file.\n\nParameters\n----------\nG\n Unsimplified, unprojected graph to save as an OSM XML file.\nfilepath\n Path to the saved file including extension. If None, use default\n `settings.data_folder/graph.osm`.\nway_t...
0
{'name': 'convert_to_nii@dvn/utils.py', 'description': 'Convert image files to nifti image files.', 'signature': 'def convert_to_nii(filenames):'}</s>{'name': 'get_2d_images@dvn/utils.py', 'description': 'DOCSTRING', 'code': "def get_2d_images(inputfn,outfolder,ext):\n vol = get_itk_array(inputfn)\n import matplo...
0
{'name': 'refine_detections_graph@Mask_RCNN/mrcnn/model.py', 'description': 'Refine classified proposals and filter overlaps and return final\ndetections.\n\nInputs:\n rois: [N, (y1, x1, y2, x2)] in normalized coordinates\n probs: [N, num_classes]. Class probabilities.\n deltas: [N, num_classes, (dy, dx, log(d...
0
{'name': 'RIPPER._grow_ruleset@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset('}</s>{'name': '_get_class_feat_name@wittgenstein/preprocess.py', 'description': 'DOCSTRING', 'code': 'def _get_class_feat_name(class_feat, y):\n\n if class_feat is not Non...
0
{'name': 'SciQuery.get_constraint_names@py3/SciServer/SciQuery.py', 'description': 'Gets a list of the names of table constraints in a particular database belonging to an RDBComputeDomain.', 'signature': 'def get_constraint_names(self, table_name, database=None, rdb_compute_domain=None):'}</s>{'name': 'move@py2/SciServ...
0
{'name': 'BasicTestFaultTolerance.do_test_image_download_retry_timeout@tests/tests/test_fault_tolerance.py', 'description': "Install an update, and block storage connection when we detect it's\nbeing copied over to the inactive partition.\n\nThe test should result in a successful download retry.\n\nNOTE: storage and ga...
1
{'name': 'AltFS._write_block@AltFS.py', 'description': 'Writes the given Block instance to the given value_id.\n\nOverrides the existing one.\nReturns the value ID to which the block was written.\n\nNote: if the given value ID is None, a new value is created in the\ngiven bucket, and the block is written to it\n\nRaise...
0
{'name': 'main@lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test tree i...
0
{'name': 'CalculateTestLists@googletest/test/googletest-shuffle-test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>_flag_map = { 'source_dir': os.path.dirname(sys.argv[0]), 'build_dir': os.path.dirname(sys.argv[0]), }
0
{'name': '_loadedModules@snimpy/mib.py', 'description': 'Generates the list of loaded modules.\n\n:yield: The :class:`smi.SmiModule` of all currently loaded modules.', 'signature': 'def _loadedModules():'}</s>{'name': '_logError@snimpy/mib.py', 'description': 'DOCSTRING', 'code': 'def _logError(path, line, severity, ms...
0
{'name': 'info_file@module/save.py', 'description': 'gather course information. ', 'signature': 'def info_file(url, course_path):'}</s>{'name': 'colored_message@module/message.py', 'description': 'print colored line ', 'code': "def colored_message(color, message):\n ''' print colored line ''' \n print(color + mes...
0
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi...
1
{'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': 'traverse_yaml_tree@src/nitpick/blender.py', 'description': 'Traverse a YAML document recursively and change values, keeping its formatting and comments.', 'signature': 'def traverse_yaml_tree(yaml_obj: YamlObject, change: JsonDict):'}</s>{'name': 'flatten_quotes@src/nitpick/blender.py', 'description': 'Flatte...
0
{'name': 'NetworkDaemon.__init__@packages/python-google-compute-engine/google_compute_engine/networking/network_daemon.py', 'description': 'Constructor.\n\nArgs:\n ip_forwarding_enabled: bool, True if ip forwarding is enabled.\n proto_id: string, the routing protocol identifier for Google IP changes.\n ip_aliases: b...
1
{'name': 'WebLimitations.test_many_params@test/unit/test_web_limitations.py', 'description': 'Test that we warn on large numbers of parameters, which Web VMs\ndisallow.', 'signature': 'def test_many_params(self):'}</s>{'name': 'binary_format_check@scripts/test/shared.py', 'description': 'DOCSTRING', 'code': "def binary...
0
{'name': 'create_function@src/makefun/main.py', 'description': 'Creates a function with signature `func_signature` that will call `func_impl` when called. All arguments received\nby the generated function will be propagated as keyword-arguments to `func_impl` when it is possible (so all the\ntime, except for var-positi...
1
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': 'get_optimal_precision_recall@generate_figures_and_tables.py', 'description': 'Find precision and recall values that maximize f1 score.', 'signature': 'def get_optimal_precision_recall(y_true, y_score):'}</s>names_list = []
0
{'name': 'NonTokens.test6@Cheetah/Tests/SyntaxAndOutput.py', 'description': '1 dollar sign followed by EOL Slurp Token', 'signature': 'def test6(self):'}</s>{'name': 'BreakpointDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'BreakpointDirect...
0
{'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>{'name': 'bad_data_file@tests/model/test_ModelFromData.py', 'description': 'DOCSTRING', 'code': 'de...
0
{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>POSTGREST_BIN = shutil.which("postgrest")
0
{'name': 'main@src/build/__main__.py', 'description': 'Parse the CLI arguments and invoke the build process.\n\n:param cli_args: CLI arguments\n:param prog: Program name to show in help text', 'signature': 'def main(cli_args: Sequence[str], prog: str | None = None) -> None:'}</s>{'name': '_log_default@src/build/_ctx.py...
0
{'name': 'iterate_comports@serial/tools/list_ports_windows.py', 'description': 'Return a generator that yields descriptions for serial ports', 'signature': 'def iterate_comports():'}</s>PDWORD = ctypes.POINTER(DWORD)
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'TestSequences.test_increment_for_numbers_2@tests/test_recipes.py', 'description': 'This test is a repeated one but it is necessary to ensure Sequences atomicity', 'signature': 'def test_increment_for_numbers_2(self):'}</s>TEST_TIME = base_datetime.datetime(2014, 7, 21, 15, 39, 58, 457698)
0
{'name': 'CreateNewImage@goneng.py', 'description': '将指定图片转换颜色\n:param current_filename: 图片路径\n:param new_filename: 保存路径\n:param new_color: 转换颜色 []\n:return:', 'signature': 'def CreateNewImage(current_filename, new_filename, new_color):'}</s>Path_img = "data/img/"
0
{'name': 'make_block_entry@docs/doxygen/update_pydoc.py', 'description': 'Create class and function docstrings of a gnuradio block', 'signature': 'def make_block_entry(di, block):'}</s>{'name': 'copy_docstring_templates@docs/doxygen/update_pydoc.py', 'description': 'DOCSTRING', 'code': 'def copy_docstring_templates(pyd...
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': 'install@pyderman/__init__.py', 'description': "Downloads the given browser driver, and returns the path it was saved to.\n\n:param browser: The Driver to download. Pass as `pyderman.chrome/firefox/etc.`. Default Chrome.\n:param file_directory: The directory to save the driver.\n:param verbose: If printouts ar...
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': 'SequenceEnqueuer.stop@libs/cifar10_lib.py', 'description': 'Stops running threads and wait for them to exit, if necessary.\n\nShould be called by the same thread which called `start()`.\n\n# Arguments\n timeout: maximum time to wait on `thread.join()`', 'signature': 'def stop(self, timeout=None):'}</s>{'na...
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': 'parse_int_list@boltons/strutils.py', 'description': "Returns a sorted list of positive integers based on\n*range_string*. Reverse of :func:`format_int_list`.\n\nArgs:\n range_string (str): String of comma separated positive\n integers or ranges (e.g. '1,2,4-6,8'). Typical of a custom\n page r...
0
{'name': 'Server.__getitem__@python/couchdb-python/couchdb/client.py', 'description': 'Return a `Database` object representing the database with the\nspecified name.\n\n:param name: the name of the database\n:return: a `Database` object representing the database\n:rtype: `Database`\n:raise ResourceNotFound: if no datab...
1
{'name': 'Scheduler.subscribe@src/apscheduler/_schedulers/sync.py', 'description': 'Subscribe to events.\n\nTo unsubscribe, call the :meth:`~abc.Subscription.unsubscribe` method on the\nreturned object.\n\n:param callback: callable to be called with the event object when an event is\n published\n:param event_types: ...
0
{'name': 'BufferInterface.lookup_transform@tf2_ros_py/tf2_ros/buffer_interface.py', 'description': 'Get the transform from the source frame to the target frame.\n\nMust be implemented by a subclass of BufferInterface.\n\n:param target_frame: Name of the frame to transform into.\n:param source_frame: Name of the input f...
1
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFI_AFLAG_PEER = 4
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': 'CheckRedundantOverrideOrFinal@tools/cpplint.py', 'description': 'Check if line contains a redundant...
0
{'name': 'check_for_formatting_issues@tor/validation/formatting_validation.py', 'description': 'Check the transcription for common formatting issues.', 'signature': 'def check_for_formatting_issues(transcription: str) -> Set[FormattingIssue]:'}</s>{'name': 'check_for_heading_with_dashes@tor/validation/formatting_valida...
1
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\...
0
{'name': 'send_spoofed_arp@core/arp_spoofer.py', 'description': 'Sends out bidirectional ARP spoofing packets to the victim so that the host running Inspector appears to have the `dest_ip_addr` IP address.', 'signature': 'def send_spoofed_arp(victim_mac_addr, victim_ip_addr, dest_mac_addr, dest_ip_addr):'}</s>host_ip_a...
0
{'name': 'render_git_describe@rising/_version.py', 'description': "TAG[-DISTANCE-gHEX][-dirty].\n\nLike 'git describe --tags --dirty --always'.\n\nExceptions:\n1: no tags. HEX[-dirty] (note: no 'g' prefix)", 'signature': 'def render_git_describe(pieces):'}</s>{'name': 'git_get_keywords@rising/_version.py', 'descriptio...
0
{'name': 'RestoreOs._create_image@freezer/openstack/restore.py', 'description': ':param path:\n:param restore_from_timestamp:\n:type restore_from_timestamp: int\n:return:', 'signature': 'def _create_image(self, path, restore_from_timestamp):'}</s>{'name': 'S3ResponseStream@freezer/utils/utils.py', 'description': 'Reada...
1
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_LDAP_CLASS_LENGTH = 128
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>db = SQLAlchemy(app)
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': 'eval_one_epoch@sem_seg/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer):'}</s>{'name': 'placeholder_inputs@sem_seg/model.py', 'description': 'DOCSTRING', 'code': 'def placeholder_inputs(batch_size, num_point):\n pointclouds_pl = ...
0
{'name': 'nvstrings.replace_multi@python/nvstrings.py', 'description': 'Replace multiple strings (pats) in each string with corresponding\nstrings (repls).\n\nParameters\n----------\npats : list or nvstrings\n Strings to be replaced.\n These can also be a regex expressions patterns.\n If so, this must not be a...
0
{'name': 'handle_no_HAR_file_exception@website/web/genericapi.py', 'description': 'The capture has no HAR file, it failed for some reason.', 'signature': 'def handle_no_HAR_file_exception(error: Any) -> Response:'}</s>{'name': 'CaptureExport@website/web/genericapi.py', 'description': 'DOCSTRING', 'base_classes': ['Reso...
0
{'name': 'test_face_areas_compute_face_areas_geoflow_small@test/test_grid.py', 'description': 'Checks if the GeoFlow Small can generate a face areas output.', 'signature': 'def test_face_areas_compute_face_areas_geoflow_small():'}</s>f4_deg = [[65, -20], [75, -10], [70, 0], [55, 0], [45, -10], [55, -20]]
0
{'name': '_scan_toplevel@tasks/deps/_inspect/_inspect.py', 'description': 'Find toplevel packages\n\nParameters:\n req_files (list):\n Requirement file names\n\nReturns:\n tuple: {(normname, installed-version) -> [{line, requirement}]},\n [constraint]', 'signature': 'def _scan_toplevel(ctx, req_files):'}</...
1
{'name': 'get_discriminator@config/legacy.py', 'description': 'For a given module function, generate C++ code defining the discriminator struct. ', 'signature': 'def get_discriminator(variant_data, module_data):'}</s>{'name': 'check_compiles@config/cxx.py', 'description': 'Check whether the given body compiles as a val...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCHSSTATE_IN_CHADEXIT = 1200
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': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>lnurl_qr_2 = "ricevere"
1
{'name': 'vqt@librosa/core/constantq.py', 'description': 'Compute the variable-Q transform of an audio signal.\n\nThis implementation is based on the recursive sub-sampling method\ndescribed by [#]_.\n\n.. [#] Schörkhuber, Christian, Anssi Klapuri, Nicki Holighaus, and Monika Dörfler.\n "A Matlab toolbox for efficie...
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': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MATCH_FCVT_W_D = 3254779987
0
{'name': 'load_schemas@scripts/schema/loader.py', 'description': 'Loads ECS and custom schemas. They are returned deeply nested and merged.', 'signature': 'def load_schemas('}</s>{'name': 'nest_schema@scripts/schema/loader.py', 'description': "Raw schema files are an array of schema details: [{'name': 'base', ...}]\n\n...
0
{'name': 'process_fastq_plain@scripts/fastq_to_tsv.py', 'description': 'Combine metrics extracted from a fastq file.', 'signature': 'def process_fastq_plain(fastq):'}</s>{'name': 'extract_from_fastq@scripts/fastq_to_tsv.py', 'description': 'Extract metrics from a fastq file.\n\nReturn average quality and read length', ...
1
{'name': 'test_fail_if_model_outputs_do_not_match_shapes@tests/mlmc/test_MLMCSimulator.py', 'description': 'Ensures simulator throws an exception if inputs and outputs with differing\nnumbers of samples are provided.', 'signature': 'def test_fail_if_model_outputs_do_not_match_shapes(filename_2d_5_column_data,'}</s>{'na...
0
{'name': 'main._generate_dos@mcu/crystal/crystal.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 _ge...
0
{'name': '_NestingState.Update@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update nesting state with current line.\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: T...
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': 'validate_quiz_scores_df@scripts/quiz-score-sync/update_gradebook_quiz_score.py', 'description': 'Validates the structure of the quiz scores DataFrame.\nEnsures required columns are present and only one quiz score column exists.', 'signature': 'def validate_quiz_scores_df(df):'}</s>{'name': 'load_csv@scripts/q...
0
{'name': 'ConfigPathTest.test_list_out_of_range_get@ml_collections/config_flags/tests/config_path_test.py', 'description': 'Tries to access out-of-range value in list.', 'signature': 'def test_list_out_of_range_get(self):'}</s>{'name': 'get_config@ml_collections/config_flags/tests/mock_config.py', 'description': 'DOCST...
1
{'name': 'Connection.trailing_data@h11/_connection.py', 'description': "Data that has been received, but not yet processed, represented as\na tuple with two elements, where the first is a byte-string containing\nthe unprocessed data itself, and the second is a bool that is True if\nthe receive connection was closed.\n\...
0
{'name': 'is_block@tests/test_backbones/test_resnet.py', 'description': 'Check if is ResNet building block.', 'signature': 'def is_block(modules):'}</s>{'name': 'test_resnet@tests/test_backbones/test_resnet.py', 'description': 'Test resnet backbone.', 'code': 'def test_resnet():\n """Test resnet backbone."""\n wi...
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>MQSECITEM_MXNLIST = 8
0
{'name': 'ap_per_class@utils/utils.py', 'description': 'Compute the average precision, given the recall and precision curves.\nSource: https://github.com/rafaelpadilla/Object-Detection-Metrics.\n# Arguments\n tp: True positives (list).\n conf: Objectness value from 0-1 (list).\n pred_cls: Predicted object ...
0
{'name': 'get_status@tools/pydfu.py', 'description': 'Get the status of the last operation.', 'signature': 'def get_status():'}</s>{'name': 'exit_dfu@tools/pydfu.py', 'description': 'Exit DFU mode, and start running the program.', 'code': 'def exit_dfu():\n """Exit DFU mode, and start running the program."""\n\n ...
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': 'InvalidHeight@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidValue'], ...
0
{'name': 'delocate_wheel@delocate/delocating.py', 'description': 'Update wheel by copying required libraries to `lib_sdir` in wheel.\n\nCreate `lib_sdir` in wheel tree only if we are copying one or more\nlibraries.\n\nIf `out_wheel` is None (the default), overwrite the wheel `in_wheel`\nin-place.\n\nParameters\n-------...
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': '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': 'locked@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Decorator which locks self.lock.', 'signature': 'def locked(func):'}</s>WAIT_MESSAGE = 1
0
{'name': 'diff_many@peewee_migrate/auto.py', 'description': 'Calculate changes for migrations from models2 to models1.', 'signature': 'def diff_many('}</s>{'name': 'model_to_code@peewee_migrate/auto.py', 'description': 'Generate migrations for the given model.', 'code': 'def model_to_code(model_type: TModelType, **kwar...
0
{'name': 'Test.test_TS_Regions@tests/test_imagecollection.py', 'description': 'Test the Container Emulation Methods', 'signature': 'def test_TS_Regions(self):'}</s>{'name': 'Test@tests/test_imagecollection.py', 'description': 'Tests for `eemont` package.', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'Te...
1
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'get_desdr1_catalog@g...
0
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>thankyou_screen_2 = "neuen Satoshis!"
0