text
string
label
int64
{'name': 'BatchUtilTest.test_batch_expectation@tensorflow_quantum/core/ops/batch_util_test.py', 'description': 'Test expectation.', 'signature': 'def test_batch_expectation(self, sim):'}</s>{'name': 'exponential@tensorflow_quantum/python/util.py', 'description': 'Return a Cirq circuit with exponential operator forms.\n...
0
{'name': 'BrowserModBrowser.update_entities@custom_components/browser_mod/browser.py', 'description': 'Create all entities associated with the browser.', 'signature': 'def update_entities(self, hass):'}</s>{'name': 'ActivityBinarySensor@custom_components/browser_mod/binary_sensor.py', 'description': 'DOCSTRING', 'base_...
1
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'SimpleExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Expression'], 'methods': [{'name': 'SimpleExpr.__init...
0
{'name': 'KeycloakOpenID.introspect@ansible/roles/keycloak-deploy/files/python-keycloak-0.12.0/keycloak/keycloak_openid.py', 'description': 'The introspection endpoint is used to retrieve the active state of a token. It is can only be\ninvoked by confidential clients.\n\nhttps://tools.ietf.org/html/rfc7662\n\n:param to...
0
{'name': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche...
0
{'name': 'Race.is_battlegrounds_pool@hearthstone/enums.py', 'description': 'Whether this Race appears as a minion pool in Battlegrounds matches.', 'signature': 'def is_battlegrounds_pool(self):'}</s>{'name': 'TournamentType@hearthstone/enums.py', 'description': 'PegasusUtilTournament.TournamentType', 'base_classes': ['...
0
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>{'name': 'PluginError@src/back/kite/bottle.py', 'descript...
0
{'name': 'test_when_inheriting_a_singleton_instance@tests/test_scoped_resolution.py', 'description': 'In this test, we have a FancyDbMessageWriter in the parent\nBoth scopes should resolve, with the same connection string.', 'signature': 'def test_when_inheriting_a_singleton_instance():'}</s>{'name': 'MissingDependency...
0
{'name': 'eval_map@mmdet/core/evaluation/mean_ap.py', 'description': 'Evaluate mAP of a dataset.\n\nArgs:\n det_results (list[list]): [[cls1_det, cls2_det, ...], ...].\n The outer list indicates images, and the inner list indicates\n per-class detected bboxes.\n annotations (list[dict]): Ground trut...
1
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJE_DEVICE_ALREADY_OPEN = 1010
0
{'name': 'CreateTimeTemplate.create@vulfocus-api/dockerapi/views.py', 'description': '创建计时模式模版', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'create_run_container_task@vulfocus-api/tasks/tasks.py', 'description': '创建运行容器任务\n:param container_vul: 漏洞容器对象\n:param user_info: 用户信息', 'code': 'def ...
0
{'name': 'b_index@tksheet/functions.py', 'description': 'Designed to be a faster way of finding the index of an int\nin a sorted list of ints than list.index()', 'signature': 'def b_index(sorted_seq: Sequence[int], num_to_index: int) -> int:'}</s>{'name': 'tksheet_type_error@tksheet/functions.py', 'description': 'DOCST...
0
{'name': 'BMP3XX._read@python3/samples/bmp390.py', 'description': 'Returns a tuple for temperature and pressure.', 'signature': 'def _read(self):'}</s>{'name': 'BMP3XX@python3/samples/bmp390.py', 'description': 'Base class for BMP3XX sensor.', 'base_classes': [], 'methods': [{'name': 'BMP3XX.__init__@python3/samples/bm...
1
{'name': 'plot_sounding_data_csv@pymeteo/skewt.py', 'description': 'Plot SkewT from a CSV sounding data file\n\n:param filename: The name of the file to open.\n:type filename: str\n:param output: The name of the file to output plot\n:type output: str\n\nThe datafile format is CSV with the following columns: \n\n- press...
0
{'name': 'WebSocketApp.run_forever@vertx-web/src/test/sockjs-protocol/websocket/_app.py', 'description': 'run event loop for WebSocket framework.\nThis loop is infinite loop and is alive during websocket is available.\nsockopt: values for socket.setsockopt.\n sockopt must be tuple\n and each element is argument o...
1
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>ICMP6_DST_UNREACH_NOPORT = 4
0
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh...
0
{'name': '_TestResult.complete_output@util/HTMLTestRunner.py', 'description': 'Disconnect output redirection and return buffer.\nSafe to call multiple times.', 'signature': 'def complete_output(self):'}</s>main = TestProgram
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': 'get_foreign_accounts@aws-inventory/lambda/common.py', 'description': 'Returns an array of all active AWS accounts as AWSAccount objects', 'signature': 'def get_foreign_accounts():'}</s>{'name': 'save_resource_to_s3@aws-inventory/lambda/common.py', 'description': 'Saves the resource to S3 in prefix with the ob...
0
{'name': '_spectrogram@librosa/core/spectrum.py', 'description': 'Retrieve a magnitude spectrogram.\n\nThis is primarily used in feature extraction functions that can operate on\neither audio time-series or spectrogram input.\n\nParameters\n----------\ny : None or np.ndarray\n If provided, an audio time series\n\nS ...
0
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'ResettingOrde...
0
{'name': 'count_enabled_printers@processors/ARM/gdb-8.3.1/gdb/python/lib/gdb/command/pretty_printers.py', 'description': 'Return a 2-tuple of number of enabled and total printers.', 'signature': 'def count_enabled_printers(pretty_printers):'}</s>{'name': 'show_pretty_printer_enabled_summary@processors/ARM/gdb-8.3.1/gdb...
0
{'name': 'release_segmentation_id@kuryr/lib/segmentation_type_drivers/__init__.py', 'description': 'Releases the segmentation ID.', 'signature': 'def release_segmentation_id(id):'}</s>_driver = ""
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': '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': '_resplit@transformer/python.py', 'description': "Given a list of strings, returns a list of lines, by splitting each string\ninto multiple lines where it contains newlines.\n\n>>> _resplit([])\n[]\n>>> _resplit(['a', 'b'])\n['a', 'b']\n>>> _resplit(['a', 'b\\nc\\nd'])\n['a', 'b', 'c', 'd']", 'signature': 'def...
0
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s...
0
{'name': 'TCam.shutdown@ESP32/python/tcam.py', 'description': "shutdown()\n\nUse this to not only disconnect the socket, but also shut down the manager thread. If you are using\nthis object in an ipython session, you may find that the session won't exit until you ctrl+c. This is\nbecause the manager thread is still a...
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': 'StateWithCDMTest.setUp@tests/lib/state.py', 'description': 'Registers the dummy modules and recipe to be used in tests.', 'signature': 'def setUp(self):'}</s>{'name': 'URL@dftimewolf/lib/containers/containers.py', 'description': 'Attribute container definition for a Uniform Resource Locator.\n\nAttributes:\n ...
0
{'name': 'fit_smpl_batch@src/SMPL/fit_smpl.py', 'description': 'fit smpl model with 3d keypoints data', 'signature': 'def fit_smpl_batch(data):'}</s>parser = argparse.ArgumentParser()
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': 'ShapeTrainer.set_optimization_variables@experiments/smal_shape.py', 'description': 'Sets as optimization variables those obtained as prediction from the network', 'signature': 'def set_optimization_variables(self):'}</s>{'name': 'tensor2im@utils/visutil.py', 'description': 'DOCSTRING', 'code': 'def tensor2im(...
0
{'name': 'AXMLFile.parse@qt4a/apktool/axml.py', 'description': ' ', 'signature': 'def parse(self):'}</s>{'name': 'StructHeaderBase@qt4a/apktool/header.py', 'description': '结构体头基类\n ', 'base_classes': ['with_metaclass(HeaderMetaClass, object)'], 'methods': [{'name': 'StructHeaderBase.__init__@qt4a/apktool/head...
0
{'name': 'StdCmd@MRT_FUNC_PY4_influxDB.py', 'description': 'Use instead of writing ser.write all the time', 'signature': 'def StdCmd(ser,cmd):'}</s>eloff = 0.0
0
{'name': '_export_region@contrib/xml/xmlio.py', 'description': '@return:\n `None` (if `parent` is not `None`), or\n an xml tree', 'signature': 'def _export_region('}</s>{'name': '_export_fts@contrib/xml/xmlio.py', 'description': 'DOCSTRING', 'code': "def _export_fts(fts, parent, tag, type_str=T_OFTS):\n if tag...
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>{'name': 'with_metaclass@strictyaml/ruamel/compat.py', 'description': 'Create a base class with a metac...
0
{'name': 'provider.__send_data@dataset/inria_person.py', 'description': 'a single thread which send a data to the data queue\n ', 'signature': 'def __send_data(self):'}</s>{'name': 'imgaugboxes_2_corner_bboxes@utils/test_tools.py', 'description': 'DOCSTRING', 'code': 'def imgaugboxes_2_corner_bboxes(imgaugboxes)...
0
{'name': 'PIVX_FakeStakeTest.get_prevouts@test/functional/fake_stake/base_test.py', 'description': 'get prevouts (map) for each utxo in a list\n:param utxo_list: <if zpos=False> (JSON list) utxos returned from listunspent used as input\n <if zpos=True> (JSON list) mints returned from listmintedzer...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
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': 'CurrentNotSelfInCompleteFeed@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Error'...
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': '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': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'find_setmems@panoramix/simplify.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'TreeData.__init__@src/data.py', 'description': 'Args:\n config: optional config file to override\n data_dir: override data location, defaults to ROOT \n regenerate: Whether to recreate raw data\n debug: a test mode for small samples', 'signature': 'def __init__(self, csv_file, config, HSI=True, ...
0
{'name': 'to_jd@src/convertdate/gregorian.py', 'description': 'Convert gregorian date to julian day count.', 'signature': 'def to_jd(year, month, day):'}</s>{'name': 'monthcalendar@src/convertdate/gregorian.py', 'description': 'Return a list of lists that describe the calender for one month. Each inner\nlist have 7 ite...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>{'name': '_is_valid_addr@pf/_utils.py', 'description': 'Return True is addr is a valid address in the address family specified', 'code': 'def _is_valid_addr(af, addr):\n...
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': 'get_pid@gef.py', 'description': 'DOCSTRING', 'code': 'def get_pid() -> int:\n return gef.session.pid'}
0
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p...
0
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature...
0
{'name': 'LossModel._apply_consequence_scaling@pelicun/model/loss_model.py', 'description': 'Apply a scale factor to selected loss sample columns.\n\nThe scaling conditions are passed as a dictionary mapping\nlevel names with their required value for the condition to be\nmet. It has to contain `dv` as one of its keys, ...
0
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_INVALIDOPCODE = CScriptOp(0xff)
0
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0...
0
{'name': 'BotocoreTestResourceFactory.patch_botocore@pytest_localstack/contrib/botocore.py', 'description': 'Context manager that will patch botocore to use Localstack.\n\nSince boto3 relies on botocore to perform API calls, this method\nalso effectively patches boto3.', 'signature': 'def patch_botocore(self):'}</s>DEF...
0
{'name': 'Serial.open@serial/rfc2217.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>GA = b'\xf9'
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>SHOWLINES = True
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: bool = False) -> Dict[str, Any]:'}</s>CONFIG_ERROR = " setup.cfg is missing the necessary Versioneer configurat...
0
{'name': '_RDIReader.read_nocode@mhkit/dolfyn/io/rdi.py', 'description': 'Identify filler or unknown bytes and bypass them', 'signature': 'def read_nocode(self, id):'}</s>{'name': 'skip_Nbyte@mhkit/dolfyn/io/rdi_defs.py', 'description': 'Skip specified number of bytes. For non-profile measurements.', 'code': 'def skip_...
1
{'name': 'csrgraph.ggvec@csrgraph/graph.py', 'description': 'GGVec: Fast global first (and higher) order local embeddings.\n\nThis algorithm directly minimizes related nodes\' distances.\nIt uses a relaxation pass (negative sample) + contraction pass (loss minimization)\nTo find stable embeddings based on the minimal d...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACH_LISTENER_STATUS = 1599
0
{'name': 'main@lib/fontline/app.py', 'description': 'Defines the logic for the `font-line` command line executable', 'signature': 'def main():'}</s>minor_version = "1"
0
{'name': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start s...
0
{'name': 'Stocks.get_instant_detail@src/tehran_stocks/models/stocks.py', 'description': 'get instant detail of stock\nlast_price, last_close, last_open, last_high, last_low, last_vol, trade_count, trade_value,market_cap\ninstantly from the website\n\nReturns:\n dict: { last_price, last_close, last_open, last_high, l...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CFSL_TOTAL_LENGTH_ERROR = 3067
0
{'name': 'partial@src/makefun/main.py', 'description': 'Equivalent of `functools.partial` but relies on a dynamically-created function. As a result the function\nlooks nicer to users in terms of apparent documentation, name, etc.\n\nSee [documentation](./index.md#removing-parameters-easily) for details.\n\n:param prese...
0
{'name': 'bustools_count@kb_python/count.py', 'description': 'Runs `bustools count`.\n\nArgs:\n bus_path: Path to BUS file to correct\n out_prefix: Prefix of the output files to generate\n t2g_path: Path to output transcript-to-gene mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n ...
0
{'name': 'inject_trainable_lora_extended@lora_diffusion/lora.py', 'description': 'inject lora into model, and returns lora parameter groups.', 'signature': 'def inject_trainable_lora_extended('}</s>{'name': 'convert_loras_to_safeloras@lora_diffusion/lora.py', 'description': 'DOCSTRING', 'code': 'def convert_loras_to_sa...
0
{'name': 'linear@ldm/modules/diffusionmodules/util.py', 'description': 'Create a linear module.', 'signature': 'def linear(*args, **kwargs):'}</s>{'name': 'mean_flat@ldm/modules/diffusionmodules/util.py', 'description': 'Take the mean over all non-batch dimensions.', 'code': 'def mean_flat(tensor):\n """\n Take t...
0
{'name': 'universal_accelerated_method@src/mbi/estimation.py', 'description': 'Optimization using the Universal Accelerated MD algorithm.', 'signature': 'def universal_accelerated_method('}</s>{'name': '_universal_accelerated_method_step_init@src/mbi/estimation.py', 'description': 'Accelerated first order method adapte...
1
{'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...
1
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_274 = Badge("mush...
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': 'hfsc_pktcntr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'DonutModel.train@loudml/donut.py', 'description': 'Train model', 'signature': 'def train('}</s>{'name': 'Url@loudml/schemas.py', 'description': 'Validate an URL.', 'base_classes': [], 'methods': [{'name': 'Url.__init__@loudml/schemas.py', 'description': 'DOCSTRING', 'code': 'def __init__(self, **kwargs):\n ...
0
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>NON_UNICODE_ESCAPES = DEFAULT_ESCAPES.copy()
0
{'name': '_GetEstate@PyBioMed/PyMolecule/estate.py', 'description': '#################################################################\nObtain all Estate descriptors except Estate fingerprints .\n\nUsage:\n\n result=_GetEstate(mol)\n\n Input: mol is a molecule object.\n\n Output: result is a dict form containi...
1
{'name': 'main@baselines/seq2seq_attention_copy/bin/tools/profile.py', 'description': 'Main functions. Runs all anaylses.', 'signature': 'def main(_argv):'}</s>{'name': 'merge_default_with_oplog@baselines/seq2seq_attention_copy/bin/tools/profile.py', 'description': 'Monkeypatch. There currently is a bug in tfprof_logge...
1
{'name': 'meshProcessingPipeline@dicom2stl/Dicom2STL.py', 'description': 'Apply a series of filters to the mesh', 'signature': 'def meshProcessingPipeline('}</s>{'name': 'testDicomFile@dicom2stl/utils/dicomutils.py', 'description': 'Test if given file is in DICOM format.', 'code': 'def testDicomFile(file_path):\n ""...
0
{'name': 'invalidate_posts@post.py', 'description': 'Invalidates the respective cache pages after a post has been created.', 'signature': 'def invalidate_posts(thread: Thread, replies: List[Reply]):'}</s>{'name': 'Thread@model/Thread.py', 'description': 'DOCSTRING', 'base_classes': ['db.Model'], 'methods': [{'name': 'T...
1
{'name': 'run@slim/datasets/download_and_convert_mnist.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>HEATMAP_OUTPUT_DATA_DIR = HEATMAP_DATA_DIR + "output/"
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': 'pytest_pyfunc_call@pytest_asyncio/plugin.py', 'description': 'Pytest hook called before a test case is run.\n\nWraps marked tests in a synchronous function\nwhere the wrapped test coroutine is executed in an event loop.', 'signature': 'def pytest_pyfunc_call(pyfuncitem: Function) -> object | None:'}</s>{'name...
0
{'name': 'PelotonObject.serialize@src/fitly/api/pelotonApi.py', 'description': 'Ensures that everything has a .serialize() method so that all data is serializable\n\nArgs:\n depth: level of nesting to include when serializing\n load_all: whether or not to include lazy loaded data (eg: NotLoaded() instances)', 'si...
0
{'name': 'ProcessFileData@third_party/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, each rep...
0
{'name': 'git_versions_from_keywords@versioneer.py', 'description': 'Get version information from git keywords.', 'signature': 'def git_versions_from_keywords(keywords, tag_prefix, verbose):'}</s>{'name': 'render_git_describe_long@versioneer.py', 'description': "TAG-DISTANCE-gHEX[-dirty].\n\nLike 'git describe --tags -...
0
{'name': 'TestForms.test_one_day_leave@tests/test_forms.py', 'description': 'Test application for one day leave.', 'signature': 'def test_one_day_leave(self):'}</s>{'name': 'ApplyLeaveForm@small_small_hr/forms.py', 'description': 'Form used when applying for Leave.', 'base_classes': ['LeaveForm'], 'methods': [{'name': ...
1
{'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': 'InvalidAddrSpec@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidContact...
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': 'LossModel._apply_consequence_scaling@pelicun/model/loss_model.py', 'description': 'Apply a scale factor to selected loss sample columns.\n\nThe scaling conditions are passed as a dictionary mapping\nlevel names with their required value for the condition to be\nmet. It has to contain `dv` as one of its keys, ...
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'safe_hasattr@fairseq/utils.py', 'description': 'Returns True if the given key exists and is not None.', 'code': 'def safe_hasattr(obj, k):\n """Returns True if ...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
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': 'Data._apply_axis@verif/data.py', 'description': 'Slice an array along a certain axis and return an extract array\n\nArguments:\narray 3D numpy array\naxis Of type verif.axis.Axis\naxis_index Index along the axis to slice', 'signature': 'def _apply_axis(self, array, axis, axis_index):'}</s>{'name...
0
{'name': 'to_cartesian@icesat2_toolkit/spatial.py', 'description': 'Converts geodetic coordinates to Cartesian coordinates\n\nParameters\n----------\nlon: np.ndarray\n longitude (degrees east)\nlat: np.ndarray\n latitude (degrees north)\nh: float or np.ndarray, default 0.0\n height above ellipsoid (or sphere)\...
0
{'name': 'get_random_string@reno/utils.py', 'description': 'Return a fixed-length random string\n\n:rtype: str', 'signature': 'def get_random_string(nbytes=8):'}</s>LOG = logging.getLogger(__name__)
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'FeedHistoryRelInEntry@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_c...
0
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi...
0