text
string
label
int64
{'name': '_requests_retry_session@test/common.py', 'description': 'create a retry session for HTTP/HTTPS requests\n@param: retries (num of retry time)\n@param: backoff_factor\n@param: status_forcelist (list of error status code to trigger retry)\n@param: session\nreturns: session', 'signature': 'def _requests_retry_ses...
0
{'name': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'MetricTest@verif/tests/test_metric.py', 'description': 'DOCSTRING', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'MetricTest.te...
0
{'name': 'test_hframe_rw_pb@tests/bundles/test_hframe.py', 'description': 'Write HyperFrame PBs to disk and back.\n:return:', 'signature': 'def test_hframe_rw_pb():'}</s>{'name': 'parse_return_val@disdat/hyperframe.py', 'description': 'Interpret the return values and create an HFrame to wrap them.\nThis means setting t...
0
{'name': 'populate_objects@tests/functional/common.py', 'description': 'Create a disdat context with count bundles.\nReturn the list of UUIDs and the list of objects\n(list[uuid], list[paths])', 'signature': 'def populate_objects(run_module_test, moto_boto, count: int) -> dict:'}</s>PROC_ID_TRUNCATE_HASH = 10
0
{'name': 'bbox_iou@utils.py', 'description': 'Returns the IoU of two bounding boxes', 'signature': 'def bbox_iou(box1, box2, x1y1x2y2=True, get_areas = False):'}</s>{'name': 'iou_all_to_all@utils.py', 'description': 'DOCSTRING', 'code': 'def iou_all_to_all(a, b):\n area = (b[:, 2] - b[:, 0]) * (b[:, 3] - b[:, 1])\n\...
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': 'PartialOrder@src/api/python/z3/z3.py...
0
{'name': 'trapz@src/utils.py', 'description': 'Integrate [y(x1), y(x2), ...] or [[y1(x1), y1(x2), ...], [y2(x1), y2(x2), ...], ...]\nusing the composite trapezoidal rule.\n\nReturn: [I1(x1)=0, I1(x2), ...] or [[I1(x1)=0, I1(x2), ...], [I2(x1)=0, I2(x2), ...], ...]', 'signature': 'def trapz(y, dx):'}</s>{'name': 'eig@sr...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_GET_MIN_BYTES = 724
0
{'name': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru...
0
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'read_options@src/python_scripts/afnipy/option_list.py', 'description': 'Input an OptionList el...
1
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan t...
0
{'name': 'thrust@proptools/nozzle.py', 'description': 'Nozzle thrust force.\n\nArguments:\n A_t (scalar): Nozzle throat area [units: meter**2].\n p_c (scalar): Nozzle stagnation chamber pressure [units: pascal].\n p_e (scalar): Nozzle exit static pressure [units: pascal].\n gamma (scalar): Exhaust gas ratio...
0
{'name': 'cmr@icesat2_toolkit/utilities.py', 'description': "Query the NASA Common Metadata Repository (CMR) for ICESat-2 data\n\nParameters\n----------\nproduct: str or NoneType, default None\n ICESat-2 data product to query\nrelease: str or NoneType, default None\n ICESat-2 data release to query\ncycles: str, l...
0
{'name': 'create_model@supervized_partition/supervized_partition.py', 'description': 'Creates model ', 'signature': 'def create_model(args):'}</s>{'name': 'get_sema3d_info@supervized_partition/graph_processing.py', 'description': 'DOCSTRING', 'code': "def get_sema3d_info(args):\n #for now, no edge attributes\n re...
0
{'name': 'Web3Service.__init__@django_ethereum_events/web3_service.py', 'description': 'Initializes the `web3` object.\n\nArgs:\n rpc_provider (HTTPProvider): Valid `web3` HTTPProvider instance (optional)', 'signature': 'def __init__(self, *args, **kwargs):'}</s>{'name': 'Web3Service@django_ethereum_events/web3_serv...
1
{'name': 'EntriesMaintainer.update_readme_tocs@code/maintenance_entries.py', 'description': 'Recounts entries in sub categories and writes them to the readme.\nAlso updates the _toc files in the categories directories.\n\nNote: The Readme must have a specific structure at the beginning, starting with "# Open Source Gam...
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': 'preprocess_jittable@pydsge/engine.py', 'description': 'jitted preprocessing of system matrices until (l_max, k_max)', 'signature': 'def preprocess_jittable(S, T, V, W, h, fq1, fp1, fq0, omg, lam, x_bar, l_max, k_max):'}</s>{'name': 'preprocess_tmats_jit@pydsge/engine.py', 'description': 'jitted preprocessing ...
0
{'name': 'TrinoDialect.get_foreign_keys@trino/sqlalchemy/dialect.py', 'description': 'Trino has no support for foreign keys. Returns an empty list.', 'signature': 'def get_foreign_keys('}</s>{'name': 'TrinoIdentifierPreparer@trino/sqlalchemy/compiler.py', 'description': 'DOCSTRING', 'base_classes': ['compiler.Identifie...
0
{'name': 'AndroidDriver.get_control@qt4a/androiddriver/androiddriver.py', 'description': '获取控件hashcode\n ', 'signature': 'def get_control(self, activity, parent, locator, get_position=False):'}</s>{'name': 'DirectAndroidSpyClient@qt4a/androiddriver/clientsocket.py', 'description': '走直连方式的AndroidSpy客户端\n ', 'b...
0
{'name': 'Linter.lint_one@bioconda_utils/lint/__init__.py', 'description': 'Run the linter on a single recipe\n\nArgs:\n recipe_name: Mames of recipe to lint\n fix: Whether checks should attempt to fix detected issues\n\nReturns:\n List of collected messages', 'signature': 'def lint_one(self, recipe_name: str, fix: ...
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': 'PerfectModelEnsemble.verify@src/climpred/classes.py', 'description': 'Verify initialized predictions against a configuration of its members.\n\n.. note::\n The configuration of the other ensemble members is based off of the\n ``comparison`` keyword argument.\n\nArgs:\n metric: Metric to apply for ver...
0
{'name': 'AGraph.to_string@pygraphviz/agraph.py', 'description': 'Return a string representation of graph in dot format.\n\n`to_string()` uses "agwrite" to produce "dot" format w/o rendering.\nThe function `string_nop()` layouts with "nop" and renders to "dot".', 'signature': 'def to_string(self):'}</s>{'name': 'gvRend...
0
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>ATTR_ACTIONS = "actions"
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': 'localhost@jupyter_client/localinterfaces.py', 'description': 'return ip for localhost (almost always 127.0.0.1)', 'signature': 'def localhost() -> str:'}</s>{'name': '_load_ips_ifconfig@jupyter_client/localinterfaces.py', 'description': 'load ip addresses from `ifconfig` output (posix)', 'code': 'def _load_ip...
0
{'name': 'stream_decode_response_unicode@src/requests/utils.py', 'description': 'Stream decodes an iterator.', 'signature': 'def stream_decode_response_unicode(iterator, r):'}</s>UNRESERVED_SET = frozenset( "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789-._~" )
0
{'name': 'api_probes_avail@GeoHealthCheck/app.py', 'description': 'Get available (configured) Probes for this\ninstallation, optional for resource type', 'signature': 'def api_probes_avail(resource_type=None, resource_id=None):'}</s>{'name': 'db_commit@GeoHealthCheck/app.py', 'description': 'DOCSTRING', 'code': 'def db...
0
{'name': 'vae_pop@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_pop('}</s>{'name': 'categorical_cdf@util.py', 'description': 'DOCSTRING', 'code': 'def categorical_cdf(probs, precision):\n def cdf(s):\n c...
0
{'name': 'changing_dataset2d@tests/conftest.py', 'description': 'Creates a dataset containing data with different baselines.\n\nUseful for comparing results where issues repeatedly fitting a baseline are possible.\n\nParameters\n----------\ndata_size : Container(int, int), optional\n The number of data points to use...
0
{'name': 'BitcoinTestFramework._initialize_chain@test/functional/test_framework/test_framework.py', 'description': 'Initialize a pre-mined blockchain for use by the test.\n\nCreate a cache of a 200-block-long chain (with wallet) for MAX_NODES\nAfterward, create num_nodes copies from the cache.', 'signature': 'def _init...
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': 'AdamsBashforthMoulton._has_converged@torchdiffeq/_impl/fixed_adams.py', 'description': 'Checks that each element is within the error tolerance.', 'signature': 'def _has_converged(self, y0, y1):'}</s>_MAX_ORDER = 12
0
{'name': 'setup_remote@src/showyourwork/overleaf.py', 'description': "Set up the bridge between the git repo and the Overleaf project for an\nempty Overleaf project with a given ID.\n\nArgs:\n project_id (str): The Overleaf project ID.\n path (str, optional): The path to the top level of the user's repo\n ...
1
{'name': 'InWordsTestCase.testCommon@pytils/test/test_numeral.py', 'description': 'Unit-test for general in_words', 'signature': 'def testCommon(self):'}</s>{'name': 'GetPluralTestCase@pytils/test/test_numeral.py', 'description': 'Test case for get_plural', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'G...
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': '_insert_newlines@n26/cli.py', 'description': 'Inserts a newline into the given text every n characters.\n:param text: the text to break\n:param n:\n:return:', 'signature': 'def _insert_newlines(text: str, n=40):'}</s>{'name': 'statistics@n26/cli.py', 'description': 'Show your n26 statistics', 'code': 'def sta...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_CLUSTER_WORKLOAD_DATA = 2034
0
{'name': '_main@contrib/ci_deploy_doc.py', 'description': 'Entry point.', 'signature': 'def _main():'}</s>DOCS_COMMIT_MESSAGE = "BIN: built documentation files committed by GitHub Actions. "
0
{'name': 'pump_efficiency@proptools/turbopump.py', 'description': 'Pump efficiency estimate.\n\nBased on figure 6-23 in Huzel and Huang.\n\nArguments:\n dp: Pump pressure rise [units: pascal].\n m_dot: Pump mass flow [units: kilogram second**-1].\n rho: Density of pumped fluid [units: kilogram meter**-3].\n ...
1
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>LOG_IS_WRITE_TO_FILE = False
0
{'name': '_profileHistory@python/DisplayTests.py', 'description': 'Show runtimes for the last n profile builds.', 'signature': 'def _profileHistory(req, n=20, buildTypes=None):'}</s>{'name': '_checkWinBuildFailure@python/DisplayTests.py', 'description': 'Variant of _checkBuildFailure for Windows builds.', 'code': 'def ...
0
{'name': 'temp_tree@tests/test_ignore.py', 'description': 'fixture used by all tests in this file.\nsets up a static file tree in a temp dir for each test, then deletes after test.', 'signature': 'def temp_tree():'}</s>{'name': 'commit_session@ascmhl/commands.py', 'description': 'DOCSTRING', 'code': 'def commit_session...
0
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'getProvidersDoc@BlendNet/providers/__init__.py', 'description': 'Return map with {ident: (name, desc), ...} of the providers', 'code': "...
0
{'name': 'MinMaxScaler@pytorch/lab-12-5-stock_prediction.py', 'description': 'Min Max Normalization\n\nParameters\n----------\ndata : numpy.ndarray\n input data to be normalized\n shape: [Batch size, dimension]\n\nReturns\n----------\ndata : numpy.ndarry\n normalized data\n shape: [Batch size, dimension]\n\...
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': '_GetTextInside@tools/caffe-sphereface/scripts/cpp_lint.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 {, ...
0
{'name': 'tmp_chdir@dependencies/pybind11/pybind11/setup_helpers.py', 'description': 'Prepare and enter a temporary directory, cleanup when done', 'signature': 'def tmp_chdir() -> Iterator[str]:'}</s>STD_TMPL = "/std:c++{}" if WIN else "-std=c++{}"
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': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>STATUS_PAUSED = "paused"
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>{'name': 'DefinitionRecord@tessera-server/tessera/database.py', 'description': 'DOCSTRING', 'base_classes': ['db.Model'], 'methods': [{'name': 'Defin...
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': 'switch@agents/bdq/common/tf_util.py', 'description': 'Switches between two operations depending on a scalar value (int or bool).\nNote that both `then_expression` and `else_expression`\nshould be symbolic tensors of the *same shape*.\n\n# Arguments\n condition: scalar tensor.\n then_expression: TensorFl...
0
{'name': 'find_output@test/functional/test_framework/util.py', 'description': 'Return index to output of txid with value amount\nRaises exception if there is none.', 'signature': 'def find_output(node, txid, amount):'}</s>{'name': 'write_all_rpc_commands@test/functional/test_framework/coverage.py', 'description': 'Writ...
0
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>is_inspecting = True
0
{'name': 'Context.add_const@onnx_chainer/context.py', 'description': 'Add a constant array as an ONNX Constant node.\n\nReturns:\n str: registered name.', 'signature': 'def add_const(self, array, name):'}</s>{'name': 'GraphBuilder@onnx_chainer/onnx_helper.py', 'description': 'A helper class to build consecutive ONNX...
0
{'name': 'Downsampling.forward@models/blocks.py', 'description': ':param pos: (B, N, 3)\n:param x: (B, N, d)\n:return (B, rN, d)', 'signature': 'def forward(self, pos, x):'}</s>{'name': 'RandomPool@models/pool.py', 'description': 'DOCSTRING', 'base_classes': ['Module'], 'methods': [{'name': 'RandomPool.__init...
0
{'name': 'TLP.pack@fpga/lib/pcie/tb/pcie.py', 'description': 'Pack TLP as DWORD array', 'signature': 'def pack(self):'}</s>TLP_PREFIX_VENDOR_E1 = (FMT_TLP_PREFIX, 0x1F)
0
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot...
0
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the ...
0
{'name': 'BertPreTrainedModel.from_pretrained@pytorch_pretrained_bert/modeling.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 w...
0
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': 'save_slice@dill/_dill.py', 'description': 'DOCSTRING', 'code': 'def save_slice(pickler, obj):\n logger.trace(pickler, "Sl: %s", ...
0
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'code': 'def test_marker...
0
{'name': 'Client.connect@skein/core.py', 'description': "Connect to a running application.\n\nParameters\n----------\napp_id : str\n The id of the application.\nwait : bool, optional\n If true [default], blocks until the application starts. If False,\n will raise a ``ApplicationNotRunningError`` immediately if...
0
{'name': 'SpliceComments@tools/yapf/yapf/yapflib/comment_splicer.py', 'description': 'Given a pytree, splice comments into nodes of their own right.\n\nExtract comments from the prefixes where they are housed after parsing.\nThe prefixes that previously housed the comments become empty.\n\nArgs:\n tree: a pytree.Node ...
1
{'name': 'serial@nordicsemi/__main__.py', 'description': 'Program a device with bootloader that support serial DFU', 'signature': 'def serial(package, port, baudrate, flowcontrol, singlebank, touch):'}</s>{'name': 'DfuTransportSerial@nordicsemi/dfu/dfu_transport_serial.py', 'description': 'DOCSTRING', 'base_classes': [...
1
{'name': 'TestFem.test_bp@tests/test_eit.py', 'description': 'test back projection', 'signature': 'def test_bp(self):'}</s>__all__ = [ "BP", "JAC", "SVD", "GREIT", ]
0
{'name': 'catch_nb_assignment@papermill/engines.py', 'description': 'Wrapper to catch `nb` keyword arguments\n\nThis helps catch `nb` keyword arguments and assign onto self when passed to\nthe wrapped function.\n\nUsed for callback methods when the caller may optionally have a new copy\nof the originally wrapped `nb` o...
0
{'name': 'PollingFuture._invoke_callbacks@stream/clients/python/bookkeeper/common/future/polling.py', 'description': 'Invoke all done callbacks.', 'signature': 'def _invoke_callbacks(self, *args, **kwargs):'}</s>{'name': 'TableError@stream/clients/python/bookkeeper/common/exceptions.py', 'description': 'DOCSTRING', 'ba...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>ATTR_SWITCH_ENTITIES = "switch_entity_id"
0
{'name': 'get_known_heuristic_names@heudiconv/utils.py', 'description': 'Return a list of heuristic names present under heudiconv/heuristics', 'signature': 'def get_known_heuristic_names() -> list[str]:'}</s>{'name': 'get_datetime@heudiconv/utils.py', 'description': "Combine date and time from dicom to isoformat.\n\nPa...
0
{'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': 'PythonModuleSourceFileGenerator._GetSequenceType@yaldevtools/source_generators/python_module.py', 'description': 'Determines if the function prototype implies a sequence type.\n\nArgs:\n python_function_prototype (PythonTypeObjectFunctionPrototype): Python\n type object function prototype.\n\nReturns:\n...
1
{'name': 'grab_image_from_env@self_organising_systems/biomakerca/environments.py', 'description': 'Create a visualization of the environment.\n\nResulting values are floats ranging from [0,1].\n\nIf color_by_id is True, we blend the agent cell colors with unique per id\ncolors with a mix of id_color_intensity.', 'signa...
0
{'name': 'requeue_job@ss_baselines/savi/ddppo/algo/ddp_utils.py', 'description': 'Requeues the job by calling ``scontrol requeue ${SLURM_JOBID}``\n ', 'signature': 'def requeue_job():'}</s>{'name': 'load_interrupted_state@ss_baselines/savi/ddppo/algo/ddp_utils.py', 'description': 'Loads the saved interrupted state\n...
0
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is...
0
{'name': 'CheckStyle@tools/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 lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
1
{'name': 'LinuxSCSI.find_multipath_device@os_brick/initiator/linuxscsi.py', 'description': "Discover multipath devices for a mpath device.\n\nThis uses the slow multipath -l command to find a\nmultipath device description, then screen scrapes\nthe output to discover the multipath device name\nand it's devices.", 'signa...
0
{'name': 'HTTP2Connection._receive_events@httpcore/_sync/http2.py', 'description': 'Read some data from the network until we see one or more events\nfor a given stream ID.', 'signature': 'def _receive_events('}</s>{'name': 'Lock@httpcore/_synchronization.py', 'description': 'This is a standard lock.\n\nIn the sync case...
0
{'name': 'read_feed@feeds/utils.py', 'description': 'Fetches a specific feed and stores the output.\n\n:param source_feed: The Source object to fetch.\n:type source_feed: Source\n\n:param output: A file-like object where logging messages will be written (default stdout).\n:type output: TextIO', 'signature': 'def read_f...
1
{'name': 'csrgraph.read_input_data@csrgraph/graph.py', 'description': 'Convert from whatever input data format to our format \ndata : The graph data. Can be one of:\n **NetworkX Graph**\n **Numpy dense matrix**\n **CSR Matrix**\n **(data, indices, indptr)**\n **CSRGraph object**\n\nnodenames (array of st...
0
{'name': 'stream_decode_response_unicode@src/requests/utils.py', 'description': 'Stream decodes an iterator.', 'signature': 'def stream_decode_response_unicode(iterator, r):'}</s>{'name': 'dotted_netmask@src/requests/utils.py', 'description': 'Converts mask from /xx format to xxx.xxx.xxx.xxx\n\nExample: if mask is 24 f...
0
{'name': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQBACF_MQCBC_STRUCT = 7023
0
{'name': 'ClusterRecord.read_record@module/ClusterFile.py', 'description': 'Read a cluster record from the file handle\n\nArgs:\n handle (file): The file handle\n version (int): The cluster record version (from header)\n\nReturns:\n ClusterRecord: Result will not be populated with either address or scores (rea...
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>MQCMD_COPY_COMM_INFO = 193
0
{'name': 'main@tools/otsdb-dump-restore/src/kilda/tsdb_dump_restore/dump.py', 'description': 'This tool dumps the data from an OpenTSDB\n\nOPENTSDB_ENDPOINT openTSDB endpoint\n\nTIME_START time since the data is dumped\n\nExample:\nkilda-otsdb-dump http://example.com:4242 2023-03-08', 'signature': 'def main(opentsdb_en...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>shutdown_screen_2 = "Veuillez contacter"
0
{'name': 'genScenarioDistribution@apim-traffic-tool/lib/traffic-tool/src/python/gen_scenario_yaml.py', 'description': 'This function will generate a random invoke scenario and write output to the invoke_scenario.yaml file\n:return: None', 'signature': 'def genScenarioDistribution():'}</s>{'name': 'genUserApps@apim-traf...
0
{'name': 'NHC2HassThermostat.__init__@custom_components/nhc2/climate.py', 'description': 'Initialize a thermostat.', 'signature': 'def __init__(self, nhc2thermostat: CoCoThermostat):'}</s>NHC2_TO_HA_CURRENT_STATE = { "Cooling": CURRENT_HVAC_COOL, "Heating": CURRENT_HVAC_HEAT, "None": CURRENT_HVAC_IDLE }
0
{'name': 'Path.add@furl/furl.py', 'description': 'Add <path> to the existing path. <path> can either be a Path instance,\na list of segments, or a path string to append to the existing path.\n\nReturns: <self>.', 'signature': 'def add(self, path):'}</s>{'name': 'FragmentCompositionInterface@furl/furl.py', 'description'...
0
{'name': 'Section.__setitem__@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Correctly set a value.\n\nMaking dictionary values Section instances.\n(We have to special case 'Section' instances - which are also dicts)\n\nKeys must be strings.\nValues need only be strings (or lists of strings) if\n``main.stringify...
0
{'name': 'ImportPlanner.add_json@wagtail_transfer/operations.py', 'description': "Add JSON data to the import plan. The data is a dict consisting of:\n'ids_for_import': a list of [model_classname, source_id] pairs for the set of objects\n explicitly requested to be imported. (For example, in a page import, this is t...
1
{'name': 'delete_data@example_app/views.py', 'description': 'Clear database.', 'signature': 'def delete_data():'}</s>{'name': 'StringsDemoModel@example_app/strings_demo.py', 'description': 'Documentation example model.', 'base_classes': ['db.Document'], 'methods': []}
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_CREATE_PROCESS = 5
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': 'Chunk.stream_blocks@anvil/chunk.py', 'description': 'Returns a generator for all the blocks in given section\n\nParameters\n----------\nindex\n At what block to start from.\n\n To get an index from (x, y, z), simply do:\n\n ``y * 256 + z * 16 + x``\nsection\n Either a Y index or a section NBT tag....
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...
1