text
string
label
int64
{'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>PHOENIX_TEFF_FULL = [400.0, 42...
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': 'QueryXpathCommand.cache_context_nodes@xpath.py', 'description': 'Cache context nodes to allow live mode to work with them.', 'signature': 'def cache_context_nodes(self):'}</s>previous_first_selection = {}
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'user_prop_eq@src/api/python/z3/z3.py...
0
{'name': 'EC_pub.get_der@src/M2Crypto/EC.py', 'description': 'Returns the public key in DER format as a buffer object.', 'signature': 'def get_der(self):'}</s>NID_X9_62_prime239v3 = NID_prime239v3
0
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>__LICENSE__ = """ Copyright (c) 2004-2016, %s All rights reserved. Redistribution and use in source and binary forms, with or without modification, ...
0
{'name': 'test_dotted_name_import_from@tests/test_module.py', 'description': "Test dotted-name 'import from'.", 'signature': 'def test_dotted_name_import_from():'}</s>{'name': 'test_module_type_abuse@tests/test_module.py', 'description': 'Test handling of attempts to break the module type.', 'code': 'def test_module_ty...
0
{'name': 'validation_region@MWAA/verify_env/verify_env.py', 'description': "verify environment name doesn't have path to files or unexpected input\nREGION: example is us-east-1", 'signature': 'def validation_region(input_region):'}</s>{'name': 'validation_profile@MWAA/verify_env/verify_env.py', 'description': "verify p...
0
{'name': 'delta@py_vollib/ref_python/black_scholes_merton/greeks/analytical.py', 'description': "Returns the Black-Scholes-Merton delta of an option.\n\n:param flag: 'c' or 'p' for call or put.\n:type flag: str\n:param S: underlying asset price\n:type S: float\n:param K: strike price\n:type K: float\n:param t: time to ...
0
{'name': 'friends@twitter_to_sqlite/cli.py', 'description': 'Save friends for specified users (defaults to authenticated user)', 'signature': 'def friends(db_path, identifiers, attach, sql, auth, ids, silent):'}</s>source_re = re.compile('<a href="(?P<url>.*?)".*?>(?P<name>.*?)</a>')
0
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_IFDUP = CScriptOp(0x73)
0
{'name': 'expanduser@pioinstaller/util.py', 'description': 'Be compatible with Python 3.8, on Windows skip HOME and check for USERPROFILE', 'signature': 'def expanduser(path):'}</s>{'name': 'where_is_program@pioinstaller/util.py', 'description': 'DOCSTRING', 'code': 'def where_is_program(program, envpath=None):\n en...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'get_glibc_arena@gef.py', 'description': 'DOCSTRING', 'code': 'def get_glibc_arena() -> GlibcArena | None:\n return gef.heap.main_arena'}
0
{'name': 'TLP.pack@fpga/lib/pcie/tb/pcie.py', 'description': 'Pack TLP as DWORD array', 'signature': 'def pack(self):'}</s>TLP_PREFIX_VENDOR_E0 = (FMT_TLP_PREFIX, 0x1E)
0
{'name': 'load_excel@src/attributecode/util.py', 'description': 'Read XLSX at `location`, return a list of ordered dictionaries, one\nfor each row.', 'signature': 'def load_excel(location, worksheet=None):'}</s>{'name': 'resource_name@src/attributecode/util.py', 'description': 'Return the file or directory name from a ...
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': 'HTTPConnectionPool._make_request@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Perform a request on a given urllib connection object taken from our\npool.\n\n:param conn:\n a connection from one of our connection pools\n\n:param ti...
0
{'name': 'App.set_midi_sound@jupylet/app.py', 'description': 'Start the default MIDI handler with given sound object as its intrument.\n\nArgs:\n s (jupylet.audio.sound.Sound): The sound object to use as MIDI \n instrument.', 'signature': 'def set_midi_sound(self, s):'}</s>{'name': 'App@jupylet/app.py', 'desc...
1
{'name': 'update_price_figure@dash-stock-pricing/app.py', 'description': 'Create a plot of stock prices\n\nArgs:\n tickers: ticker symbols from the dropdown select\n price: the radio button price selection\nReturns:\n a graph `figure` dict containing the specificed\n price data points per stock', 'signature...
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>shutdown_screen_2 = "Contatta"
0
{'name': 'pi@diffcp/cones.py', 'description': 'Projects x onto product of cones (or their duals)\nArgs:\n x: NumPy array (with PSD data formatted in SCS convention)\n cones: list of (cone name, size)\n dual: whether to project onto the dual cone\nReturns:\n NumPy array that is the projection of `x` onto the...
0
{'name': 'info@ascmhl/commands.py', 'description': 'Prints information from the ASC MHL history\n\n\x08', 'signature': 'def info(verbose, single_file, root_path):'}</s>{'name': 'bytes_for_hash_string@ascmhl/hasher.py', 'description': "wraps the different Hasher string to byte conversions\n\narguments:\nhash_string -- s...
0
{'name': 'Reader.__init__@tools/gfx/png.py', 'description': 'Create a PNG decoder object.\n\nThe constructor expects exactly one keyword argument. If you\nsupply a positional argument instead, it will guess the input\ntype. You can choose among the following keyword arguments:\n\nfilename\n Name of input file (a PNG f...
0
{'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': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta...
0
{'name': 'on_config_inited@docs/source/conf.py', 'description': 'rebuild', 'signature': 'def on_config_inited(*args):'}</s>nb_execution_mode = "cache"
0
{'name': 'test_topic@tests/unit/test_unpack.py', 'description': 'TOPIC command ', 'signature': 'def test_topic():'}</s>{'name': 'test_nick@tests/unit/test_unpack.py', 'description': 'NICK command ', 'code': 'def test_nick():\n """ NICK command """\n command = "NICK"\n message = ":n!u@h NICK new_user_nick"\n ...
0
{'name': 'CalrissianCommandLineJob.report@calrissian/job.py', 'description': 'Convert the k8s-specific completion result into a report and submit it\n:param completion_result: calrissian.k8s.CompletionResult', 'signature': 'def report(self, completion_result: CompletionResult, disk_bytes):'}</s>{'name': 'VolumeBuilderE...
0
{'name': '_net_interface_type@kayobe/plugins/filter/networks.py', 'description': "Return a string describing the network interface type.\n\nPossible types include 'ether', 'bridge', 'bond'.", 'signature': 'def _net_interface_type(context, name, inventory_hostname):'}</s>net_bond_mode = _make_attr_filter('bond_mode')
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': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'choose@src/python_scripts/afnipy/afni_util.py', 'description': 'return n choose m = n! / (m! * (n-m)!)', 'code': '...
0
{'name': 'render_git_describe@versioneer.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>OLD_SNIPPET = " from ._version import get_versions __version__ =...
0
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No...
0
{'name': 'create_reduced_sets@datasets/make_files/generate_datasets.py', 'description': 'Create reduced single-label train/validation/test sets.', 'signature': 'def create_reduced_sets(save: bool = False) -> None:'}</s>DATASETS_DIR = os.path.join(ROOT_DIR, 'datasets/')
1
{'name': 'test_clockwise_rotation@tests/test_traffic_scheduling_problem.py', 'description': 'A simple loop of 4 locations, where 3 loads need to move\nclockwise. ', 'signature': 'def test_clockwise_rotation():'}</s>{'name': 'is_sequence_valid@tests/test_traffic_scheduling_problem.py', 'description': 'helper to verify t...
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': 'plot_slopes@bambi/interpret/plotting.py', 'description': 'Plot Conditional Adjusted Slopes\n\nParameters\n----------\nmodel : bambi.Model\n The model for which we want to plot the predictions.\nidata : arviz.InferenceData\n The InferenceData object that contains the samples from the posterior distributi...
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': 'trim@ytmdl/core.py', 'description': 'Trim the song of unwanted noise by making calls to the\ninternal functions.', 'signature': 'def trim(name: str, args) -> None:'}</s>{'name': 'get_from_deezer@ytmdl/metadata.py', 'description': 'Get some tags from deezer.', 'code': 'def get_from_deezer(SONG_NAME):\n """G...
0
{'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': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>KEY_A = 65
0
{'name': 'FancyPage.draw_background@rst2pdf/createpdf.py', 'description': 'Draws a background and/or foreground image\non each page which uses the template.\n\nCalculates the image one time, and caches\nit for reuse on every page in the template.\n\nHow the background is drawn depends on the\n--fit-background-mode opti...
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': 'CqlType.parse@pylib/cqlshlib/formatting.py', 'description': 'Parse the typestring by looking at this pattern: *<*>. If there is no match then the type\nis either a simple type or a user type, otherwise it must be a composite type\nfor which we need to look-up the sub-types. For user types the sub types can be...
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>STOPPED_DUE_TO_STEP_IN = "Process state is stopped du...
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': 'etag_stream@third_party/qiniu/utils.py', 'description': '计算输入流的etag:\n\netag规格参考 https://developer.qiniu.com/kodo/manual/1231/appendix#3\n\nArgs:\n input_stream: 待计算etag的二进制流\n\nReturns:\n 输入流的etag值', 'signature': 'def etag_stream(input_stream):'}</s>{'name': 'urlsafe_base64_encode@third_party/qiniu/uti...
1
{'name': 'gate2zx@discopy/quantum/zx.py', 'description': 'Turns gates into ZX diagrams. ', 'signature': 'def gate2zx(box):'}</s>{'name': 'Swap@discopy/quantum/zx.py', 'description': 'Swap in a ZX diagram. ', 'base_classes': ['tensor.Swap', 'Box'], 'methods': [{'name': 'Swap.__repr__@discopy/quantum/zx.py', 'description...
0
{'name': 'key_to_span@tksheet/functions.py', 'description': 'Convert various input types to a Span object representing a 2D range.\n\nArgs:\n key: The input to convert (str, int, slice, sequence, or None).\n spans: A dictionary of named spans (e.g., {"<name>": Span(...)}).\n widget: Optional widget context for...
0
{'name': 'xldate_as_datetime@IDE/src/main/resources/Lib/xlrd/xldate.py', 'description': 'Convert an Excel date/time number into a :class:`datetime.datetime` object.\n\n:param xldate: The Excel number\n:param datemode: 0: 1900-based, 1: 1904-based.\n\n:returns: A :class:`datetime.datetime` object.', 'signature': 'def xl...
0
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': 'ChangeFOV@picasso/gui/render.py', ...
0
{'name': '_word_to_index@models/utils/language_utils.py', 'description': 'Returns index of given word based on given lookup dictionary\n\nreturns the length of the lookup dictionary if word not found\n\nArgs:\n word: string\n indd: dictionary with string words as keys and int indices as values', 'signature': 'def...
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': 'version_tnf@strictyaml/ruamel/compat.py', 'description': 'return True if strictyaml.ruamel version_info < t1, None if t2 is specified and bigger else False', 'signature': 'def version_tnf(t1, t2=None):'}</s>UNICODE_SIZE = 4 if sys.maxunicode > 65535 else 2
0
{'name': 'net_bond_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bond interface.\n\nThe returned dict is compatible with the interfaces_bond_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bond_obj(context, name, inventory_hostname=...
0
{'name': 'get_test_file@django_afip/factories.py', 'description': 'Helper to get test files.', 'signature': 'def get_test_file(filename: str, mode: str = "r") -> Path:'}</s>{'name': 'ReceiptWithVatAndTaxFactory@django_afip/factories.py', 'description': 'Receipt with a valid Vat and Tax, ready to validate.', 'base_class...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'gef_on_unload_objfile_hook@gef.py', 'description': 'DOCSTRING', 'code': 'def gef_on_unload_objfile_hook(func: Callable[["gdb.Cl...
0
{'name': 'RetrievalSquadProcessor.get_train_examples@third_party/processors/lareqa.py', 'description': 'Returns the training examples from the data directory.\n\nArgs:\n data_dir: Directory containing the data files used for training and evaluating.\n filename: None by default, specify this if the training file h...
0
{'name': 'run_pelicun@pelicun/tools/DL_calculation.py', 'description': "Use settings in the config JSON to prepare and run a Pelicun calculation.\n\nParameters\n----------\nconfig_path: string\n Path pointing to the location of the JSON configuration file.\ndemand_file: string\n Path pointing to the location of a...
1
{'name': 'test_socketutils_netstring@tests/test_socketutils.py', 'description': 'A holistic feature test of BufferedSocket via the NetstringSocket\nwrapper. Runs', 'signature': 'def test_socketutils_netstring():'}</s>{'name': 'netstring_server_timeout_override@tests/test_socketutils.py', 'description': 'Netstring socke...
0
{'name': 'Discretized_GRU.__init__@gru_ode_bayes/models.py', 'description': 'The smoother variable computes the classification loss as a weighted average of the projection of the latents at each observation.', 'signature': 'def __init__(self, input_size, hidden_size, p_hidden, prep_hidden, bias=True, cov_size=1, cov_hi...
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': 'BaseHubConnection.stream@signalrcore/hub/base_hub_connection.py', 'description': 'Starts server streaming\n connection.stream(\n "Counter",\n [len(self.items), 500]) .subscribe({\n "next": self.on_next,\n "complete": self.on_complete,\n "error": self.on_error\n })\n...
0
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_DESCRIBE...
0
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line leng...
0
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce...
1
{'name': 'IRML2PDF.parseString@src/z3c/rml/interfaces.py', 'description': 'Parse an XML string and convert it to PDF.\n\nThe output is a ``StringIO`` object.', 'signature': 'def parseString(xml):'}</s>{'name': 'ICanvasManager@src/z3c/rml/interfaces.py', 'description': 'A manager for the canvas.', 'base_classes': ['zope...
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': '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': 'PrintUsage@tools/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally wit...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0
{'name': 'test_directory_content@test/test_read_data.py', 'description': 'Test that read_csv_data function reads content correctly from a directory', 'signature': 'def test_directory_content(csv_data_dir):'}</s>{'name': 'test_read_to_fit_memory_dangling_element@test/test_read_data.py', 'description': 'Test that data is...
0
{'name': 'get_hostname_from_ip_addr@core/friendly_organizer.py', 'description': 'Returns the hostname associated with an IP address.\n\nReturns an empty string if the hostname is not found.', 'signature': 'def get_hostname_from_ip_addr(ip_addr: str, in_memory_only=False) -> str:'}</s>tracker_json_list = [ os.path.j...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_schema_empty_list@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema_empty_list():\n s = Schema([])\n s([])\n\n try:\n s([123...
0
{'name': 'AnkiDataFrame._constructor@ankipandas/ankidf.py', 'description': 'This needs to be overridden so that any DataFrame operations do not\nreturn a :class:`pandas.DataFrame` but a :class:`AnkiDataFrame`.', 'signature': 'def _constructor(self):'}</s>{'name': '_consolidate_tables@ankipandas/raw.py', 'description': ...
0
{'name': 'VectorWind.gradient@windspharm/xarray.py', 'description': 'Computes the vector gradient of a scalar field on the sphere.\n\n**Argument:**\n\n*chi*\n A scalar field. It must be a `~xarray.DataArray` with the\n same latitude and longitude dimensions as the vector wind\n components that initialized the ...
1
{'name': 'Bundle.from_elsewhere@floweaver/sankey_definition.py', 'description': 'True if the source of the Bundle is Elsewhere (outside the system\nboundary).', 'signature': 'def from_elsewhere(self):'}</s>{'name': 'Waypoint@floweaver/sankey_definition.py', 'description': "A Waypoint represents a control point along a ...
0
{'name': 'ShmemVecEnv.__init__@vec_env/shmem_vec_env.py', 'description': "If you don't specify observation_space, we'll have to create a dummy\nenvironment to get it.", 'signature': 'def __init__(self, env_fns, spaces=None):'}</s>{'name': 'ShmemVecEnv@vec_env/shmem_vec_env.py', 'description': 'Optimized version of Subp...
1
{'name': 'write_recipe@bioconda_utils/bioconductor_skeleton.py', 'description': 'Write the meta.yaml and build.sh files. If the package is detected to be\na data package (bsed on the detected URL from Bioconductor), then also\ncreate a post-link.sh and pre-unlink.sh script that will download and\ninstall the package. I...
0
{'name': 'descriptor_loss_sparse@notebooks/test_sparse_loss.py', 'description': 'consider batches of descriptors\n:param descriptors:\n Output from descriptor head\n tensor [descriptors, Hc, Wc]\n:param descriptors_warped:\n Output from descriptor head of warped image\n tensor [descriptors, Hc, Wc]', 'signa...
1
{'name': 'Differ._report_dir_diffs@tests/integration/differ.py', 'description': 'Returns a string listing the paths that exist in folder 1 but not in 2,\nand vice-versa.', 'signature': 'def _report_dir_diffs(self, all_paths1, all_paths2):'}</s>BIN_MODE = "bin"
0
{'name': 'amalgamate_source@lib/openxr/src/external/jsoncpp/amalgamate.py', 'description': 'Produces amalgamated source.\nParameters:\n source_top_dir: top-directory\n target_source_path: output .cpp path\n header_include_path: generated header path relative to target_source_path.', 'signature': 'def amalgamat...
1
{'name': 'Imputer.__transform_and_compute_metrics_mxnet_iter@datawig/imputer.py', 'description': 'Returns predictions and metrics (average and per class)\n\n:param mxnet_iter:\n:param metrics_path: if not None and exists, metrics are serialized as json to this path.\n:return: predictions and metrics', 'signature': 'def...
0
{'name': 'update_notice_box_ui@addon_updater_ops.py', 'description': 'Update notice draw, to add to the end or beginning of a panel.\n\nAfter a check for update has occurred, this function will draw a box\nsaying an update is ready, and give a button for: update now, open website,\nor ignore popup. Ideal to be placed a...
1
{'name': 'SincConv.forward@ASR/neural_networks.py', 'description': 'Parameters\n----------\nwaveforms : `torch.Tensor` (batch_size, 1, n_samples)\n Batch of waveforms.\nReturns\n-------\nfeatures : `torch.Tensor` (batch_size, out_channels, n_samples_out)\n Batch of sinc filters activations.', 'signature': 'def fo...
0
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'NoBlink@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['UndefinedEle...
0
{'name': 'Window.at@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'Returns (window, offset) for given handle on window', 'signature': 'def at(self, handle):'}</s>{'name': 'Screen@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Screen.__init__@te...
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'skipIfFreeBSD@llvm-12.0.0-project/lldb/pack...
0
{'name': 'test_admin_works_with_host_special_values@test/io/test_io.py', 'description': 'Should get a success from the admin live and ready endpoints when using special host values for the main app', 'signature': 'def test_admin_works_with_host_special_values(specialhostvalue, defaultenv):'}</s>{'name': 'test_read_dbur...
0
{'name': 'MHLHistory.load_from_path@ascmhl/history.py', 'description': 'finds all MHL files in the asc-mhl folder, returns the mhl_history instance with all mhl_hashlists', 'signature': 'def load_from_path(cls, root_path):'}</s>{'name': 'SHA1@ascmhl/hasher.py', 'description': 'sha1 checksum generator.', 'base_classes':...
0
{'name': 'visualize_boxes_and_labels_on_image_array@utils/test_tools.py', 'description': 'Overlay labeled boxes on an image with formatted scores and label names.\nThis function groups boxes that correspond to the same location\nand creates a display string for each detection and overlays these\non the image. Note that...
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': 'find_all_arns@verify_security_groups.py', 'description': "@Description: This function will find the arns in the account (and region) so that QA can validate they've covered all resources expected.\n Resource Types covered thus far:\n - EC2\n - Lambda\n - ECS...
0
{'name': 'create_and_add_event_emitters@custom_components/hubitat/entities.py', 'description': 'Create event emitters.', 'signature': 'def create_and_add_event_emitters('}</s>{'name': 'Device@custom_components/hubitat/hubitatmaker/types.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Device._...
1
{'name': 'build_pspnet50_prior_on_resnet_stem@model_util/pspnet/layers_builder.py', 'description': 'Build PSPNet.', 'signature': "def build_pspnet50_prior_on_resnet_stem(nb_classes, inputs, activation='softmax', is_training=True):"}</s>{'name': 'pspnet_top_cls_v2@model_util/pspnet/layers_builder.py', 'description': 'DO...
0
{'name': '_get_delocate_generator_header@delocate/delocating.py', 'description': "Return Delocate's version info to be appended to the WHEEL metadata.", 'signature': 'def _get_delocate_generator_header() -> tuple[str, str]:'}</s>{'name': '_update_install_names@delocate/delocating.py', 'description': 'Update the install...
0
{'name': 'stix_pattern_from_str@shared/bin/zeek_threat_feed_utils.py', 'description': 'Creates a stix2patterns.v20.pattern.Pattern (STIX_Pattern_v20) or a\nstix2patterns.v21.pattern.Pattern (STIX_Pattern_v21) based on the given\npattern string depending on the type of the indicator (v2.0 or v2.1).\nReturns None if the ...
0
{'name': '_read_esmf@uxarray/io/_esmf.py', 'description': 'Reads in an Xarray dataset containing an ESMF formatted Grid dataset and\nencodes it in the UGRID conventions.\n\nAdheres to the ESMF Unstructrued Grid Format (ESMFMESH) outlined in the ESMF documentation:\nhttps://earthsystemmodeling.org/docs/release/latest/ES...
1
{'name': '_ConfigFlagTestCase.assert_equal_configs@ml_collections/config_flags/tests/config_overriding_test.py', 'description': 'Checks if two configs are identical.', 'signature': 'def assert_equal_configs(self, config1, config2):'}</s>{'name': '_LiteralParser@ml_collections/config_flags/config_flags.py', 'description...
0
{'name': 'pkt_switch_test@examples/pkt_switch/tests/test_pkt_switch.py', 'description': 'PKT_SWITCH Test ', 'signature': 'def pkt_switch_test(dut):'}</s>{'name': 'clock_gen@examples/pkt_switch/tests/test_pkt_switch.py', 'description': 'DOCSTRING', 'code': 'def clock_gen(signal, period=10000):\n while True:\n ...
1
{'name': 'BertPreTrainedModel.from_pretrained@purifier/modeling_purifier.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str with th...
1