text
string
label
int64
{'name': 'DefinitionInitializer.initialize@behave_restful/_definitions.py', 'description': 'Initializes the specified definition, if exists, into the execution\ncontext.\n\n:param context:\n Context object to initialize.', 'signature': 'def initialize(self, context):'}</s>_NO_NEXT_VAR = None
0
{'name': 'main@bin/test_model.py', 'description': 'Main block of code, which runs the tests', 'signature': 'def main():'}</s>{'name': 'CNN@bff_positioning/models/cnn.py', 'description': 'Convolutional Neural Network class\n\n:param model_settings: a dictionary containing the model settings', 'base_classes': ['BaseModel...
1
{'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>label_batches = np.concatenate(label_batch_list, 0)
0
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co...
1
{'name': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>KEYSRULES = ErrorDefinition(0x83, 'keysrules')
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': 'load_locs@picasso/io.py', 'descrip...
0
{'name': 'byte_list_to_u16le_list@pyocd/utility/conversion.py', 'description': '! @brief Convert a byte array into a halfword array', 'signature': 'def byte_list_to_u16le_list(byteData):'}</s>{'name': 'u32_to_float32@pyocd/utility/conversion.py', 'description': '! @brief Convert a 32-bit int to an IEEE754 float', 'code...
0
{'name': 'Praetorian.init_app@flask_praetorian/base.py', 'description': 'Initializes the Praetorian extension\n\n:param: app: The flask app to bind this\n extension to\n:param: user_class: The class used to interact with\n user...
1
{'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': 'CombinedMultiblockFunction.step@parsimony/functions/multiblock/losses.py', 'description': 'The step size to use in descent methods.\n\nFrom the interface "StepSize".\n\nParameters\n----------\nw : list of numpy arrays\n The point at which to determine the step size.\n\nindex : int\n Non-negative integer...
1
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'classproperty@gef.py', 'description': 'Make the attribute a `classproperty`.', 'base_classes': ['property'],...
0
{'name': 'decrypt_stream@plugin.image.premiumizer/resources/lib/modules/pyaes/blockfeeder.py', 'description': 'Decrypts a stream of bytes from in_stream to out_stream using mode.', 'signature': 'def decrypt_stream(mode, in_stream, out_stream, block_size = BLOCK_SIZE):'}</s>{'name': '_segment_final_decrypt@plugin.image....
0
{'name': 'AioHttpFigmaPy.__init__@figmapy/session/figma_aiohttp.py', 'description': 'client (optional): An asynchronous web session/client. Defaults to aiohttp.ClientSession().\n Can be custom Python object that exposes methods for all HTTP verbs.', 'signature': 'def __init__(self, client=None, *args, **kwargs):...
0
{'name': 'ding_user.update_user@dingding/ding_model.py', 'description': '更新用户信息', 'signature': 'def update_user(self, vals):'}</s>{'name': 'ExamineApprove@dingding/ding_model.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': []}
0
{'name': 'create_patches@csbdeep/data/generate.py', 'description': "Create normalized training data to be used for neural network training.\n\nParameters\n----------\nraw_data : :class:`RawData`\n Object that yields matching pairs of raw images.\npatch_size : tuple\n Shape of the patches to be extraced from raw i...
0
{'name': 'get_choices@blockchain-env/lib/python3.7/site-packages/click/_bashcomplete.py', 'description': ':param cli: command definition\n:param prog_name: the program that is running\n:param args: full list of args\n:param incomplete: the incomplete text to autocomplete\n:return: all the possible completions for the i...
1
{'name': 'Host.parse@raccoon_src/lib/host.py', 'description': 'Try to extract domain (full, naked, sub-domain), IP and port.', 'signature': 'def parse(self):'}</s>{'name': 'HostHandlerException@raccoon_src/utils/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['RaccoonException'], 'methods': [{'name': 'Host...
1
{'name': 'parse@docstring_parser/parser.py', 'description': 'Parse the docstring into its components.\n\n:param text: docstring text to parse\n:param style: docstring style\n:returns: parsed docstring representation', 'signature': 'def parse(text: str, style: DocstringStyle = DocstringStyle.AUTO) -> Docstring:'}</s>PAR...
0
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
0
{'name': '_makeTags@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'And@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Re...
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'GaussianPyramid._build_pyr@src/pyrtools/pyramids/GaussianPyramid.py', 'description': "build the pyramid\n\nThis should not be called directly by users, it's a helper function for constructing the\npyramid\n\nwe do this in a separate method for a bit of class wizardry: by over-writing this method in\nthe Lapla...
1
{'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': 'Cdf.__init__@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Initializes.\n\nIf ps is provided, obj must be the corresponding list of values.\n\nobj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs\nps: list of cumulative probabilities\nlabel: string label', 'signature': 'def __init__(self, o...
0
{'name': 'findpeaks.preprocessing@findpeaks/findpeaks.py', 'description': 'Preprocessing steps of the 2D array (image).\n\nThe pre-processing has 4 (optional) steps.\n 1. Resizing (to reduce computation time).\n 2. Scaling color pixels between [0-255].\n 3. Conversion to gray-scale. This is required for some a...
0
{'name': 'test_kitti_3d_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': "def test_kitti_3d_kalman_boxes(dataset_test, net, rpn_conf, bbox_measure_val, p2s, p2_invs, scales, results_path, test_path, dataset_type='validation', fast=False, report_stats=Fals...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_number_when_invalid_precision_n_scale_none_yield_decimal_true@voluptuous/tests/tests.py', 'description': 'Test with Number with no precision and invalid scale', 'code': 'd...
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': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': '_frommethod@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Define functions from existing Mask...
0
{'name': 'TransformerModel.build_model@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'transformer_iwslt_de_en@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'DOCSTRING', 'code': "def transfo...
0
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_put_object_non_exist_bucket@ut/test.py', 'description': '文件上传至不存在bucket', 'code': 'def test_put_object_non_exist_bucket():\n """文件上传至不存在bucket"""\n try:...
0
{'name': 'ResponseBody.application_json@agithub/base.py', 'description': 'Handler for application/json media-type', 'signature': 'def application_json(self):'}</s>{'name': 'IncompleteRequest@agithub/base.py', 'description': 'IncompleteRequests are partially-built HTTP requests.\nThey can be built via an HTTP-idiomatic ...
0
{'name': 'verify_database@oaiharvest/registry.py', 'description': 'Verify that a suitable database exists, create it if not.', 'signature': 'def verify_database(path):'}</s>parser_add = subparsers.add_parser("add", help="Add a new OAI-PMH provider")
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': 'get_1m_tencent@test/common.py', 'description': 'Change time index to 1-minute interval', 'signature': 'def get_1m_tencent(hour_offset: int = 0) -> DataFrame:'}</s>names = "abcdef"
0
{'name': 'TestDateTimeField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'TestEmailField@tests/test_d...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQQA_GET_ALLOWED = 0
0
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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.', 'sign...
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': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
0
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
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>MQCNO_HANDLE_SHARE_NO_BLOCK = 128
0
{'name': 'CrawlResource.render_POST@scrapyrt/resources.py', 'description': ':param request:\n body should contain JSON\n\nRequired keys in JSON posted:\n\n:spider_name: string\n name of spider to be scheduled.\n\n:request: json object\n request to be scheduled with spider.\n Note: request must contain url f...
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': 'Program.parse@mando/core.py', 'description': 'Parse the given arguments and return a tuple ``(command, args)``,\nwhere ``args`` is a list consisting of all arguments. The command can\nthen be called as ``command(*args)``.\n\n:param args: The arguments to parse.', 'signature': 'def parse(self, args):'}</s>{'na...
0
{'name': 'IREP._grow_ruleset_cn@wittgenstein/irep.py', 'description': 'Grow a Ruleset with (optional) pruning.', 'signature': 'def _grow_ruleset_cn(self, pos_df, neg_df, initial_model=None):'}</s>{'name': 'Cond@wittgenstein/base.py', 'description': 'Conditional', 'base_classes': [], 'methods': [{'name': 'Cond.__init__@...
0
{'name': '_JS.__updatestate@ros_ws/src/crazyswarm/scripts/pycrazyswarm/linuxjsdev.py', 'description': 'Update the internal absolute state of buttons and axes', 'signature': 'def __updatestate(self, jsdata):'}</s>__author__ = "Bitcraze AB"
0
{'name': 'is_rfc2822@notifiers/utils/schema/formats.py', 'description': 'Validates RFC2822 format', 'signature': 'def is_rfc2822(instance: str):'}</s>format_checker = jsonschema.FormatChecker()
0
{'name': 'ToysCalculator.ntoysnull@src/hepstats/hypotests/calculators/basecalculator.py', 'description': 'Set the number of toys generated for the null hypothesis.\n\nArgs:\n n: number of toys', 'signature': 'def ntoysnull(self, n: int):'}</s>{'name': 'BaseToysCalculator@src/hepstats/hypotests/calculators/basecalcul...
0
{'name': 'PostgresNode.default_conf@testgres/node.py', 'description': "Apply default settings to this node.\n\nArgs:\n fsync: should this node use fsync to keep data safe?\n unix_sockets: should we enable UNIX sockets?\n allow_streaming: should this node add a hba entry for replication?\n allow_logical: can...
0
{'name': 'get_symmetry_from_database@python/spglib/spglib.py', 'description': 'Return symmetry operations corresponding to a Hall symbol. If fails, return None.\n\nParameters\n----------\nhall_number : int\n The Hall symbol is given by the serial number in between 1 and 530.\n The definition of ``hall_number`` is...
0
{'name': 'analyze_build@libscanbuild/analyze.py', 'description': 'Entry point for analyze-build command. ', 'signature': 'def analyze_build():'}</s>{'name': 'setup_environment@libscanbuild/analyze.py', 'description': 'Set up environment for build command to interpose compiler wrapper. ', 'code': 'def setup_environment(...
0
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_datetime@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_datetime():\n schema = Schema({"datetime": Datetime()})\n sc...
0
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': '_execProviderFunc@BlendNet/providers/__init__.py', 'description': 'DOCSTRING', 'code': 'def _execProviderFunc...
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': 'ImageTitleDoesntMatch@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ...
0
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>{'name': 'BalanceToName@bl3save/datalib.py', 'description': 'Little wrapper to provide access to a mapping from Balance names ...
0
{'name': 'Leopard.sample_rate@binding/python/_leopard.py', 'description': 'Audio sample rate accepted by `.process`.', 'signature': 'def sample_rate(self) -> int:'}</s>{'name': 'LeopardActivationRefusedError@binding/python/_leopard.py', 'description': 'DOCSTRING', 'base_classes': ['LeopardError'], 'methods': []}
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_functype_vec_new_empty@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': ...
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': 'FixedTablot.compute_s@torchlaplace/inverse_laplace.py', 'description': 'Computes :math:`\\mathbf{s}` to evaluate the Laplace representation :math:`\\mathbf{F}(\\mathbf{s})` at, from the input time points :math:`t`, using the selected ILT algorithm.\n\nArgs:\n ti (Tensor): time points to reconstruct traject...
0
{'name': 'MeCab.__parse_tonodes@natto/mecab.py', 'description': 'Builds and returns the MeCab function for parsing to nodes using\nmorpheme boundary constraints.\n\nArgs:\n format_feature: flag indicating whether or not to format the feature\n value for each node yielded.\n\nReturns:\n A function which ret...
1
{'name': 'Printer.__init__@tools/hadb.py', 'description': 'Initialize printer.', 'signature': 'def __init__('}</s>{'name': 'convert_items@tools/hadb.py', 'description': 'Coonvert items JSON string to Items dictionary.', 'code': 'def convert_items(val: bytes) -> Items:\n """Coonvert items JSON string to Items diction...
0
{'name': 'test_create@tests/test_class.py', 'description': 'test create', 'signature': 'def test_create():'}</s>{'name': 'test_create_not_supported_type@tests/test_class.py', 'description': 'test for internal class check', 'code': 'def test_create_not_supported_type():\n """test for internal class check"""\n\n de...
0
{'name': '_makeTags@venv/Lib/site-packages/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>__doc__ = " pyparsing module - Classes and methods to define and execute parsing grammars =============...
0
{'name': 'BasicTokenizer._clean_text@pytorch_pretrained_bert/tokenization.py', 'description': 'Performs invalid character removal and whitespace cleanup on text.', 'signature': 'def _clean_text(self, text):'}</s>{'name': 'whitespace_tokenize@pytorch_pretrained_bert/tokenization.py', 'description': 'Runs basic whitespac...
0
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>_connector_mapping_linux...
1
{'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': 'ServerAdapter@src/back/kite/bottle.py', 'descri...
0
{'name': 'main_shell@signac/__main__.py', 'description': 'Handle shell subcommand.', 'signature': 'def main_shell(args):'}</s>{'name': 'main_sync@signac/__main__.py', 'description': 'Handle sync subcommand.', 'code': 'def main_sync(args):\n """Handle sync subcommand."""\n # Validate provided argument combinations...
0
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR...
0
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>{'name': 'n_segments@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def n_segments(info, segmentation):\n n_frames = info[0]["Frames"]\...
0
{'name': 'train_tree@chapter4/decision_tree_implementation.py', 'description': 'Construction of a tree starts here\n@param X_train: list of training samples (feature)\n@param y_train: list of training samples (target)\n@param max_depth: int, maximal depth of the tree\n@param min_size: int, minimal samples required to f...
0
{'name': 'get_client@rdk/template/runtime/python3.7/rule_code.py', 'description': 'Return the service boto client. It should be used instead of directly calling the client.\n\nKeyword arguments:\nservice -- the service name used for calling the boto.client()\nevent -- the event variable given in the lambda handler\nreg...
0
{'name': 'environmental_contours@mhkit/wave/contours.py', 'description': "Returns a Dictionary of x1 and x2 components for each contour\nmethod passed. A method may be one of the following:\nPrincipal Component Analysis, Gaussian, Gumbel, Clayton, Rosenblatt,\nnonparametric Gaussian, nonparametric Clayton,\nnonparamet...
0
{'name': 'PrePostChange.get_change_raw_sql@operations.py', 'description': "Generates PrePost-adjusted values for PercentChange computation.\n\nThis function generates subqueries like\nWITH PrePostRaw AS (SELECT\n split_by,\n stratified_by,\n condition_column,\n child_metric,\n covariate\nFROM T\nGROUP BY split_by,...
0
{'name': 'Merger.__init__@dictdiffer/merge.py', 'description': 'Initialize the Merger object.\n\n:param lca: latest common ancestor of the two diverging data structures\n:param first: first data structure\n:param second: second data structure\n:param path_limits: list of paths, utilized to instantiate a\n ...
1
{'name': 'graph_search@aimacode/search.py', 'description': 'Search through the successors of a problem to find a goal.\nThe argument frontier should be an empty queue.\nIf two paths reach a state, only use the first one. [Figure 3.7]', 'signature': 'def graph_search(problem, frontier):'}</s>{'name': 'best_first_graph_s...
0
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'RISCV@gef.py', 'description': 'DOCSTRING', 'base_classes': ['Architecture'], 'methods': [{'name': 'RISCV.instruction_length@gef.py', 'description': 'DOCSTRING', 'code': 'def instructio...
0
{'name': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>{'name': 'Http504Error@trino/exceptions.py', 'description': 'DOCST...
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': 'squad_convert_examples_to_features@third_party/processors/squad.py', 'description': "Converts a list of examples into a list of features that can be directly given as input to a model.\nIt is model-dependant and takes advantage of many of the tokenizer's features to create the model's inputs.\n\nArgs:\n ex...
0
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': '_serialize_control_vals@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Helper to serialize con...
0
{'name': 'Lookyloo.get_crawled_tree@lookyloo/lookyloo.py', 'description': 'Get the generated tree in ETE Toolkit format.\nLoads the pickle if it exists, creates it otherwise.', 'signature': 'def get_crawled_tree(self, capture_uuid: str, /) -> CrawledTree:'}</s>{'name': 'get_captures_dir@lookyloo/helpers.py', 'descripti...
0
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 cl...
0
{'name': 'Board.get_moves_for_square@rts/src/Board.py', 'description': 'Returns all valid actions for specific tile\n:param x: x coordinate of tile\n:param y: y coordinate of tile\n:param config: additional config that is separate for each player\n:return: array of valid actions', 'signature': 'def get_moves_for_square...
1
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>SETXOFF = 1
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': 'tabulate@misc/tabulate.py', 'description': 'Format a fixed width table for pretty printing.\n\n>>> print(tabulate([[1, 2.34], [-56, "8.999"], ["2", "10001"]]))\n--- ---------\n 1 2.34\n-56 8.999\n 2 10001\n--- ---------\n\nThe first required argument (`tabular_data`) can be a\nlist-of-lists (or...
1
{'name': 'ResourceViewCase.test_resource_list_contains_accepted_only@python-in-edu/resources/tests.py', 'description': 'The resource list contains only accepted resources.', 'signature': 'def test_resource_list_contains_accepted_only(self):'}</s>{'name': 'ResourceViewCase@python-in-edu/resources/tests.py', 'description...
1
{'name': 'Compound.write@nbtlib/tag.py', 'description': 'Override :meth:`Base.write` for compound tags.', 'signature': 'def write(self, fileobj, byteorder="big"):'}</s>{'name': 'IncompatibleItemType@nbtlib/tag.py', 'description': 'Raised when a list item is incompatible with the subtype of the list.\n\nUnlike builtin p...
0
{'name': 'Neo4jTest.get_type_of_neo_test@tests/run_all_tests.py', 'description': 'Determines the type of Neo4j test based on the test name.\n\nThis method uses regular expressions to match the test name against\npredefined patterns to determine the type of Neo4j test.\n\nParameters:\n- test_name (str): The name of the ...
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': '_to_goal@src/api/python/z3/z3.py', '...
0
{'name': 'RedWebUi.continue_test@redbot/webui/__init__.py', 'description': 'Preliminary checks are done; actually run the test.', 'signature': 'def continue_test('}</s>ratelimiter = RateLimiter()
0
{'name': 'StdCmd@MRT_FUNC_PY4_influxDB.py', 'description': 'Use instead of writing ser.write all the time', 'signature': 'def StdCmd(ser,cmd):'}</s>{'name': 'ScanSouthSky@MRT_FUNC_PY4_influxDB.py', 'description': 'Scan the entire south sky, except between 80 and 90 degrees for elevation limited by telescope design', 'c...
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': 'Resolver.manual_resolve_conflicts@dictdiffer/resolve.py', 'description': "Resolve manually the conflicts.\n\nThis method resolves conflicts that could not be resolved in an\nautomatic way. The picks parameter utilized the *take* attribute of the\nConflict objects.\n\n:param picks: list of 'f' or 's' strings, ...
0
{'name': 'AzureRMClusters.exec_module@library/azure_rm_hdinsightcluster.py', 'description': 'Main module execution method', 'signature': 'def exec_module(self, **kwargs):'}</s>{'name': 'dict_camelize@library/azure_rm_hdinsightcluster.py', 'description': 'DOCSTRING', 'code': 'def dict_camelize(d, path, camelize_first):\...
1
{'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